{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/javascript/config/constants.js","webpack:///./node_modules/tslib/tslib.es6.js","webpack:///./node_modules/apollo-utilities/lib/bundle.esm.js","webpack:///./node_modules/@babel/runtime/regenerator/index.js","webpack:///./node_modules/ts-invariant/lib/invariant.esm.js","webpack:///./node_modules/date-fns/esm/toDate/index.js","webpack:///./node_modules/ramda/es/internal/_curry2.js","webpack:///./node_modules/graphql/language/kinds.mjs","webpack:///./node_modules/element-ui/src/utils/dom.js","webpack:///./node_modules/@sentry/utils/esm/worldwide.js","webpack:///./node_modules/element-ui/lib/element-ui.common.js","webpack:///./node_modules/@sentry/core/esm/debug-build.js","webpack:///./node_modules/element-ui/packages/table/src/util.js","webpack:///./node_modules/@sentry/core/esm/hub.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js","webpack:///./node_modules/@sentry/utils/esm/is.js","webpack:///./node_modules/ramda/es/internal/_curry1.js","webpack:///./node_modules/date-fns/esm/_lib/toInteger/index.js","webpack:///./node_modules/@sentry/utils/esm/logger.js","webpack:///./node_modules/@sentry/utils/esm/object.js","webpack:///./node_modules/ramda/es/internal/_isPlaceholder.js","webpack:///./node_modules/@sentry/utils/esm/misc.js","webpack:///./app/javascript/lib/formConfigHelpers.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js","webpack:///./node_modules/axios/lib/utils.js","webpack:///./app/javascript/ui-library/money/utils.js","webpack:///./node_modules/vue-i18n/dist/vue-i18n.esm.js","webpack:///./app/javascript/i18n.js","webpack:///./node_modules/vuex-map-fields/dist/index.esm.js","webpack:///./node_modules/@sentry/core/esm/exports.js","webpack:///./node_modules/ramda/es/hasPath.js","webpack:///./app/javascript/lib/validators/formValidators.js","webpack:///./app/javascript/config/formConfig.js","webpack:///./node_modules/element-ui/src/utils/types.js","webpack:///./node_modules/element-ui/src/utils/util.js","webpack:///./app/javascript/router.js","webpack:///./node_modules/graphql/language/visitor.mjs","webpack:///./node_modules/element-ui/lib/utils/util.js","webpack:///./node_modules/@sentry/utils/esm/debug-build.js","webpack:///./node_modules/@sentry/core/esm/session.js","webpack:///./node_modules/@sentry/core/esm/utils/spanUtils.js","webpack:///./node_modules/graphql/language/ast.mjs","webpack:///./node_modules/throttle-debounce/debounce.js","webpack:///./node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js","webpack:///./node_modules/ramda/es/internal/_isArrayLike.js","webpack:///./node_modules/ramda/es/internal/_xwrap.js","webpack:///./node_modules/ramda/es/bind.js","webpack:///./node_modules/ramda/es/internal/_reduce.js","webpack:///./node_modules/babel-runtime/helpers/typeof.js","webpack:///./node_modules/@sentry/utils/esm/string.js","webpack:///./node_modules/graphql/language/characterClasses.mjs","webpack:///./node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js","webpack:///./node_modules/@sentry/utils/esm/time.js","webpack:///./node_modules/vuex/dist/vuex.esm.js","webpack:///./node_modules/element-ui/lib/utils/dom.js","webpack:///./node_modules/ramda/es/internal/_has.js","webpack:///./node_modules/ramda/es/keys.js","webpack:///./node_modules/ramda/es/internal/_curryN.js","webpack:///./node_modules/ramda/es/curryN.js","webpack:///./node_modules/ramda/es/internal/_curry3.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js","webpack:///./node_modules/element-ui/lib/locale/index.js","webpack:///./node_modules/axios/index.js","webpack:///./node_modules/@sentry/core/esm/constants.js","webpack:///./node_modules/ramda/es/internal/_isArray.js","webpack:///./node_modules/ramda/es/internal/_arity.js","webpack:///./app/javascript/ui-library/selectDialog/events.js","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox.vue?fab3","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox.vue?2e27","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox.vue?55bb","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox.vue","webpack:///./node_modules/element-ui/packages/checkbox/index.js","webpack:///./node_modules/@sentry/core/esm/eventProcessors.js","webpack:///./node_modules/element-ui/src/utils/merge.js","webpack:///./node_modules/element-ui/src/utils/popup/popup-manager.js","webpack:///./node_modules/element-ui/src/utils/popup/index.js","webpack:///./node_modules/@sentry/utils/esm/normalize.js","webpack:///./node_modules/element-ui/lib/mixins/emitter.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_descriptors.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_has.js","webpack:///./app/javascript/ui-library/Button.vue?0e41","webpack:///./app/javascript/ui-library/Button.vue?41fb","webpack:///./app/javascript/ui-library/Button.vue?4683","webpack:///./app/javascript/ui-library/Button.vue","webpack:///./app/javascript/ui-library/Select.vue?fa35","webpack:///./app/javascript/ui-library/Select.vue?517f","webpack:///./app/javascript/ui-library/Select.vue","webpack:///./app/javascript/lib/extractCountryCode.js","webpack:///./node_modules/uuid-random/index.js","webpack:///./node_modules/@sentry/core/esm/scope.js","webpack:///./node_modules/babel-runtime/helpers/extends.js","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_hide.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dp.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-iobject.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js","webpack:///./app/javascript/ui-library/money/options.js","webpack:///./app/javascript/ui-library/selectDialog/index.js","webpack:///./node_modules/element-ui/src/utils/vdom.js","webpack:///./app/javascript/ui-library/notification/index.js","webpack:///./app/javascript/lib/validators/dateIsAfterDate.js","webpack:///./node_modules/date-fns/esm/isSameDay/index.js","webpack:///./node_modules/graphql/jsutils/inspect.mjs","webpack:///./node_modules/graphql/jsutils/devAssert.mjs","webpack:///./node_modules/@sentry/core/esm/utils/applyScopeDataToEvent.js","webpack:///./node_modules/date-fns/esm/startOfDay/index.js","webpack:///./node_modules/ramda/es/internal/_xfBase.js","webpack:///./node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.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/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:///./app/javascript/ui-library/index.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_core.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-object.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js","webpack:///./app/javascript/ui-library/TextInput.vue?848d","webpack:///./app/javascript/ui-library/TextInput.vue?0967","webpack:///./app/javascript/ui-library/TextInput.vue?4594","webpack:///./app/javascript/ui-library/TextInput.vue","webpack:///./app/javascript/ui-library/ColorPickerCustom.vue?a8af","webpack:///./app/javascript/ui-library/ColorPickerCustom.vue?9f60","webpack:///./app/javascript/ui-library/ColorPickerCustom.vue","webpack:///./node_modules/deepmerge/dist/cjs.js","webpack:///./app/javascript/ui-library/DateSelect.vue?d493","webpack:///./node_modules/date-fns/esm/startOfYear/index.js","webpack:///./node_modules/date-fns/esm/endOfYear/index.js","webpack:///./node_modules/date-fns/esm/subYears/index.js","webpack:///./app/javascript/lib/formatedDateRange.js","webpack:///./node_modules/date-fns/esm/subDays/index.js","webpack:///./node_modules/date-fns/esm/subMonths/index.js","webpack:///./app/javascript/ui-library/DateSelect.vue?7ef7","webpack:///./app/javascript/ui-library/DateSelect.vue?1728","webpack:///./app/javascript/ui-library/DateSelect.vue","webpack:///./app/javascript/ui-library/FormGroup.vue?b670","webpack:///./node_modules/ramda/es/and.js","webpack:///./node_modules/ramda/es/both.js","webpack:///./node_modules/ramda/es/not.js","webpack:///./node_modules/ramda/es/complement.js","webpack:///./app/javascript/ui-library/FormGroup.vue?a567","webpack:///./app/javascript/ui-library/FormGroup.vue?8cb6","webpack:///./app/javascript/ui-library/FormGroup.vue","webpack:///./app/javascript/ui-library/Anchor.vue?24de","webpack:///./app/javascript/ui-library/Anchor.vue?a02b","webpack:///./app/javascript/ui-library/Anchor.vue?2b6a","webpack:///./app/javascript/ui-library/Anchor.vue","webpack:///./app/javascript/ui-library/DropdownItem.vue?379d","webpack:///./app/javascript/ui-library/DropdownItem.vue?2e7f","webpack:///./app/javascript/ui-library/DropdownItem.vue?dd98","webpack:///./app/javascript/ui-library/DropdownItem.vue","webpack:///./app/javascript/ui-library/Heading.vue?8c47","webpack:///./app/javascript/ui-library/Heading.vue?25a5","webpack:///./app/javascript/ui-library/Heading.vue?7ffe","webpack:///./app/javascript/ui-library/Heading.vue","webpack:///./app/javascript/ui-library/NumericInputCustom.vue?8e6a","webpack:///./app/javascript/ui-library/NumericInputCustom.vue?1825","webpack:///./app/javascript/ui-library/NumericInputCustom.vue?d4b2","webpack:///./app/javascript/ui-library/NumericInputCustom.vue","webpack:///./app/javascript/ui-library/Row.vue?6f33","webpack:///./app/javascript/ui-library/Row.vue?32d1","webpack:///./app/javascript/ui-library/Row.vue?8e0e","webpack:///./app/javascript/ui-library/Row.vue","webpack:///./app/javascript/ui-library/WhiteContainer.vue?3f78","webpack:///./app/javascript/ui-library/WhiteContainer.vue?05fd","webpack:///./app/javascript/ui-library/WhiteContainer.vue?52ac","webpack:///./app/javascript/ui-library/WhiteContainer.vue","webpack:///./app/javascript/ui-library/notification/main.vue?e3c4","webpack:///./app/javascript/ui-library/notification/main.vue?d4cb","webpack:///./app/javascript/ui-library/notification/main.vue","webpack:///./app/javascript/ui-library/notification/main.vue?8328","webpack:///./app/javascript/ui-library/FormItem.vue?c6b3","webpack:///./app/javascript/ui-library/FormItem.vue?25ee","webpack:///./app/javascript/ui-library/FormItem.vue?ddc5","webpack:///./app/javascript/ui-library/FormItem.vue","webpack:///./app/javascript/ui-library/selectDialog/SelectDialog.vue?64da","webpack:///./app/javascript/ui-library/selectDialog/SelectDialog.vue?06be","webpack:///./app/javascript/ui-library/selectDialog/SelectDialog.vue?9841","webpack:///./app/javascript/ui-library/selectDialog/SelectDialog.vue","webpack:///./app/javascript/ui-library/Column.vue?1895","webpack:///./app/javascript/ui-library/Column.vue?ca54","webpack:///./app/javascript/ui-library/Column.vue","webpack:///./app/javascript/ui-library/Dropdown.vue?6459","webpack:///./app/javascript/ui-library/Dropdown.vue?d61f","webpack:///./app/javascript/ui-library/Dropdown.vue","webpack:///./app/javascript/ui-library/DropdownMenu.vue?4ce8","webpack:///./app/javascript/ui-library/DropdownMenu.vue?d09e","webpack:///./app/javascript/ui-library/DropdownMenu.vue","webpack:///./app/javascript/ui-library/Form.vue?5323","webpack:///./app/javascript/ui-library/Form.vue?09dd","webpack:///./app/javascript/ui-library/Form.vue","webpack:///./app/javascript/ui-library/Option.vue?2c66","webpack:///./app/javascript/ui-library/Option.vue?7766","webpack:///./app/javascript/ui-library/Option.vue","webpack:///./app/javascript/ui-library/Popover.vue?eb1c","webpack:///./app/javascript/ui-library/Popover.vue?1d56","webpack:///./app/javascript/ui-library/Popover.vue","webpack:///./app/javascript/ui-library/Radio.vue?0225","webpack:///./app/javascript/ui-library/Radio.vue?93d8","webpack:///./app/javascript/ui-library/Radio.vue","webpack:///./app/javascript/ui-library/RadioGroup.vue?f2e3","webpack:///./app/javascript/ui-library/RadioGroup.vue?20c4","webpack:///./app/javascript/ui-library/RadioGroup.vue","webpack:///./app/javascript/ui-library/Table.vue?45fb","webpack:///./app/javascript/ui-library/Table.vue?90b8","webpack:///./app/javascript/ui-library/Table.vue","webpack:///./app/javascript/ui-library/TableColumn.vue?1100","webpack:///./app/javascript/ui-library/TableColumn.vue?b0ed","webpack:///./app/javascript/ui-library/TableColumn.vue","webpack:///./app/javascript/ui-library/Tooltip.vue?84ac","webpack:///./app/javascript/ui-library/Tooltip.vue?44ed","webpack:///./app/javascript/ui-library/Tooltip.vue","webpack:///./app/javascript/ui-library/Drawer.vue?b235","webpack:///./app/javascript/ui-library/Drawer.vue?1d69","webpack:///./app/javascript/ui-library/Drawer.vue","webpack:///./app/javascript/ui-library/table/row.js","webpack:///./node_modules/@sentry/core/esm/version.js","webpack:///./node_modules/symbol-observable/es/index.js","webpack:///./node_modules/@sentry/utils/esm/syncpromise.js","webpack:///./node_modules/graphql-tag/node_modules/tslib/tslib.es6.js","webpack:///./node_modules/graphql/jsutils/isObjectLike.mjs","webpack:///./node_modules/graphql/jsutils/invariant.mjs","webpack:///./node_modules/graphql/language/location.mjs","webpack:///./node_modules/graphql/language/printLocation.mjs","webpack:///./node_modules/graphql/error/GraphQLError.mjs","webpack:///./node_modules/graphql/error/syntaxError.mjs","webpack:///./node_modules/graphql/language/directiveLocation.mjs","webpack:///./node_modules/graphql/language/tokenKind.mjs","webpack:///./node_modules/graphql/language/lexer.mjs","webpack:///./node_modules/graphql/jsutils/instanceOf.mjs","webpack:///./node_modules/graphql/language/source.mjs","webpack:///./node_modules/graphql/language/parser.mjs","webpack:///./node_modules/graphql-tag/lib/index.js","webpack:///./node_modules/ramda/es/internal/_indexOf.js","webpack:///./node_modules/ramda/es/internal/_includes.js","webpack:///./app/javascript/lib/analytics.js","webpack:///./node_modules/element-ui/src/mixins/emitter.js","webpack:///./node_modules/ramda/es/ap.js","webpack:///./node_modules/ramda/es/internal/_concat.js","webpack:///./node_modules/ramda/es/liftN.js","webpack:///./node_modules/ramda/es/lift.js","webpack:///./node_modules/date-fns/esm/addMonths/index.js","webpack:///./node_modules/date-fns/esm/getDaysInMonth/index.js","webpack:///./app/javascript/ui-library/money/directive.js","webpack:///./node_modules/element-ui/lib/utils/types.js","webpack:///(webpack)/buildin/amd-options.js","webpack:///./node_modules/vue-content-placeholders/dist/vue-content-placeholders.common.js","webpack:///./node_modules/date-fns/locale/_lib/buildFormatLongFn/index.js","webpack:///./node_modules/date-fns/locale/_lib/buildLocalizeFn/index.js","webpack:///./node_modules/date-fns/locale/_lib/buildMatchPatternFn/index.js","webpack:///./node_modules/date-fns/locale/_lib/buildMatchFn/index.js","webpack:///./node_modules/ramda/es/internal/_isObject.js","webpack:///./node_modules/element-ui/lib/utils/vue-popper.js","webpack:///./node_modules/element-ui/lib/utils/merge.js","webpack:///./node_modules/element-ui/lib/utils/shared.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_an-object.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_property-desc.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-keys.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_library.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_uid.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-pie.js","webpack:///./node_modules/element-ui/src/utils/vue-popper.js","webpack:///./node_modules/throttle-debounce/index.js","webpack:///./app/javascript/ui-library/money/assign.js","webpack:///./node_modules/element-ui/src/utils/clickoutside.js","webpack:///./node_modules/element-ui/packages/table/src/dropdown.js","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox-group.vue?fbfa","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox-group.vue?6310","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox-group.vue","webpack:///./node_modules/element-ui/packages/checkbox/src/checkbox-group.vue?d348","webpack:///./node_modules/element-ui/packages/checkbox-group/index.js","webpack:///./node_modules/element-ui/packages/table/src/filter-panel.vue?64e0","webpack:///./node_modules/element-ui/packages/table/src/filter-panel.vue?d47e","webpack:///./node_modules/element-ui/packages/table/src/filter-panel.vue","webpack:///./node_modules/element-ui/packages/table/src/filter-panel.vue?0633","webpack:///./app/javascript/ui-library/table/header.js","webpack:///./node_modules/element-ui/packages/tooltip/src/main.js","webpack:///./node_modules/element-ui/packages/tooltip/index.js","webpack:///./app/javascript/ui-library/table/body.js","webpack:///./node_modules/graphql/language/blockString.mjs","webpack:///./node_modules/@sentry/core/esm/utils/getRootSpan.js","webpack:///./node_modules/@sentry/core/esm/tracing/dynamicSamplingContext.js","webpack:///./node_modules/@sentry/core/esm/utils/prepareEvent.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/match/index.js","webpack:///./app/javascript/lib/dateFnsLocale.js","webpack:///./node_modules/date-fns/esm/differenceInMilliseconds/index.js","webpack:///./node_modules/ramda/es/internal/_isArguments.js","webpack:///./node_modules/ramda/es/internal/_isString.js","webpack:///./node_modules/element-ui/src/utils/scrollbar-width.js","webpack:///./node_modules/element-ui/packages/table/src/layout-observer.js","webpack:///./node_modules/ramda/es/internal/_arrayFromIterator.js","webpack:///./node_modules/ramda/es/internal/_includesWith.js","webpack:///./node_modules/ramda/es/internal/_objectIs.js","webpack:///./node_modules/ramda/es/type.js","webpack:///./node_modules/ramda/es/internal/_equals.js","webpack:///./node_modules/ramda/es/internal/_functionName.js","webpack:///./node_modules/ramda/es/equals.js","webpack:///./node_modules/element-ui/packages/table/src/store/expand.js","webpack:///./node_modules/element-ui/packages/table/src/store/current.js","webpack:///./node_modules/element-ui/packages/table/src/store/tree.js","webpack:///./node_modules/element-ui/packages/table/src/store/watcher.js","webpack:///./node_modules/element-ui/packages/table/src/store/index.js","webpack:///./node_modules/element-ui/packages/table/src/store/helper.js","webpack:///./node_modules/ramda/es/internal/_xmap.js","webpack:///./node_modules/ramda/es/map.js","webpack:///./node_modules/ramda/es/internal/_map.js","webpack:///./node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/en-US/index.js","webpack:///./node_modules/ramda/es/internal/_dispatchable.js","webpack:///./node_modules/ramda/es/internal/_isTransformer.js","webpack:///./node_modules/@sentry/utils/esm/stacktrace.js","webpack:///./app/javascript/lib/scrollTo.js","webpack:///./node_modules/element-ui/lib/utils/resize-event.js","webpack:///./node_modules/throttle-debounce/throttle.js","webpack:///./node_modules/element-ui/lib/locale/lang/zh-CN.js","webpack:///./node_modules/element-ui/lib/locale/format.js","webpack:///./app/javascript/int lazy ^\\.\\/.*\\.js$ namespace object","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/element-ui/lib/mixins/locale.js","webpack:///./node_modules/element-ui/lib/utils/scrollbar-width.js","webpack:///./node_modules/element-ui/lib/input.js","webpack:///./node_modules/element-ui/lib/scrollbar.js","webpack:///./node_modules/element-ui/lib/mixins/focus.js","webpack:///./node_modules/element-ui/lib/utils/scroll-into-view.js","webpack:///./node_modules/element-ui/lib/utils/aria-utils.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_export.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-primitive.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_defined.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-integer.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_shared-key.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_shared.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-bug-keys.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gops.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-object.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iterators.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_set-to-string-tag.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks-ext.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks-define.js","webpack:///./app/javascript/config/flashMessagesConstants.js","webpack:///./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js","webpack:///./node_modules/element-ui/lib/progress.js","webpack:///./app/javascript/modules/FormSection.vue?8b52","webpack:///./app/javascript/modules/FormSection.vue?411f","webpack:///./app/javascript/modules/FormSection.vue?50af","webpack:///./app/javascript/modules/FormSection.vue","webpack:///./node_modules/vue-apollo/dist/vue-apollo.esm.js","webpack:///./node_modules/vue-router/dist/vue-router.esm.js","webpack:///./app/javascript/lib/formatCurrency.js","webpack:///./app/javascript/lib/validators/isForcedEetAtPayment.js","webpack:///./node_modules/zen-observable-ts/lib/bundle.esm.js","webpack:///./node_modules/apollo-link/lib/bundle.esm.js","webpack:///./node_modules/graphql/language/printString.mjs","webpack:///./node_modules/graphql/language/printer.mjs","webpack:///./node_modules/apollo-link-http-common/lib/bundle.esm.js","webpack:///./node_modules/apollo-link-http/lib/bundle.esm.js","webpack:///./node_modules/apollo-cache/lib/bundle.esm.js","webpack:///./node_modules/@wry/context/lib/context.esm.js","webpack:///./node_modules/optimism/lib/bundle.esm.js","webpack:///./node_modules/apollo-cache-inmemory/lib/bundle.esm.js","webpack:///./node_modules/apollo-client/bundle.esm.js","webpack:///./node_modules/apollo-link-error/lib/bundle.esm.js","webpack:///./node_modules/apollo-link-retry/lib/bundle.esm.js","webpack:///./app/javascript/apolloClient.js","webpack:///./node_modules/date-fns/esm/addDays/index.js","webpack:///./node_modules/ramda/es/internal/_filter.js","webpack:///./node_modules/ramda/es/flip.js","webpack:///./node_modules/ramda/es/internal/_isFunction.js","webpack:///./node_modules/keys-transform/lib/index.js","webpack:///./node_modules/element-ui/src/utils/resize-event.js","webpack:///./node_modules/element-ui/packages/scrollbar/src/util.js","webpack:///./node_modules/element-ui/packages/scrollbar/src/bar.js","webpack:///./node_modules/element-ui/packages/scrollbar/src/main.js","webpack:///./node_modules/element-ui/packages/scrollbar/index.js","webpack:///./node_modules/element-ui/src/locale/lang/zh-CN.js","webpack:///./node_modules/element-ui/src/locale/format.js","webpack:///./node_modules/element-ui/src/locale/index.js","webpack:///./node_modules/element-ui/src/mixins/locale.js","webpack:///./app/javascript/store/auth.js","webpack:///./node_modules/date-fns/esm/differenceInCalendarDays/index.js","webpack:///./node_modules/date-fns/esm/differenceInHours/index.js","webpack:///./node_modules/@wry/equality/lib/equality.esm.js","webpack:///(webpack)/buildin/harmony-module.js","webpack:///./node_modules/date-fns/_lib/isSameUTCWeek/index.js","webpack:///./app/javascript/lib/formatNumber.js","webpack:///./node_modules/uuid/lib/rng-browser.js","webpack:///./node_modules/uuid/lib/bytesToUuid.js","webpack:///./node_modules/lodash.camelcase/index.js","webpack:///./node_modules/element-ui/lib/utils/date.js","webpack:///./node_modules/element-ui/lib/utils/popup/index.js","webpack:///./node_modules/element-ui/lib/mixins/migrating.js","webpack:///./node_modules/element-ui/lib/utils/clickoutside.js","webpack:///./node_modules/element-ui/lib/checkbox.js","webpack:///./node_modules/element-ui/lib/transitions/collapse-transition.js","webpack:///./node_modules/babel-helper-vue-jsx-merge-props/index.js","webpack:///./node_modules/element-ui/lib/tag.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_ie8-dom-define.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_dom-create.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-keys-internal.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iobject.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-define.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_redefine.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-create.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopn.js","webpack:///./node_modules/element-ui/lib/radio.js","webpack:///./node_modules/vue-content-placeholders/index.js","webpack:///./node_modules/zen-observable/index.js","webpack:///./node_modules/fast-json-stable-stringify/index.js","webpack:///./node_modules/@sentry/utils/esm/browser.js","webpack:///./node_modules/@sentry/utils/esm/memo.js","webpack:///./node_modules/symbol-observable/es/ponyfill.js","webpack:///./node_modules/date-fns/esm/isValid/index.js","webpack:///./node_modules/date-fns/locale/en-US/index.js","webpack:///./node_modules/date-fns/locale/cs/index.js","webpack:///./node_modules/date-fns/locale/pl/index.js","webpack:///./node_modules/date-fns/locale/sk/index.js","webpack:///./node_modules/date-fns/esm/differenceInSeconds/index.js","webpack:///./node_modules/ramda/es/path.js","webpack:///./node_modules/pluralize/pluralize.js","webpack:///./node_modules/content-disposition/index.js","webpack:///./node_modules/js-file-download/file-download.js","webpack:///./node_modules/uuid/index.js","webpack:///./node_modules/smoothscroll-polyfill/dist/smoothscroll.js","webpack:///./node_modules/vuex/dist/logger.js","webpack:///./node_modules/@sentry/utils/esm/env.js","webpack:///./node_modules/@sentry/utils/esm/node.js","webpack:///./node_modules/date-fns/esm/addYears/index.js","webpack:///./node_modules/date-fns/esm/compareAsc/index.js","webpack:///./node_modules/date-fns/esm/differenceInMonths/index.js","webpack:///./node_modules/date-fns/esm/differenceInCalendarMonths/index.js","webpack:///./node_modules/date-fns/esm/_lib/cloneObject/index.js","webpack:///./node_modules/date-fns/esm/_lib/assign/index.js","webpack:///./node_modules/date-fns/esm/formatDistance/index.js","webpack:///./app/javascript/images/input_state_icon sync nonrecursive \\.svg$","webpack:///./node_modules/zen-observable/lib/Observable.js","webpack:///./node_modules/date-fns/locale/en-US/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/locale/en-US/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/locale/en-US/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/locale/en-US/_lib/localize/index.js","webpack:///./node_modules/date-fns/locale/en-US/_lib/match/index.js","webpack:///./node_modules/date-fns/locale/cs/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/locale/cs/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/locale/cs/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/locale/cs/_lib/localize/index.js","webpack:///./node_modules/date-fns/locale/cs/_lib/match/index.js","webpack:///./node_modules/date-fns/locale/pl/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/locale/pl/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/locale/pl/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/_lib/startOfUTCWeek/index.js","webpack:///./node_modules/date-fns/_lib/toInteger/index.js","webpack:///./node_modules/date-fns/toDate/index.js","webpack:///./node_modules/date-fns/locale/pl/_lib/localize/index.js","webpack:///./node_modules/date-fns/locale/pl/_lib/match/index.js","webpack:///./node_modules/date-fns/locale/sk/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/locale/sk/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/locale/sk/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/locale/sk/_lib/localize/index.js","webpack:///./node_modules/date-fns/locale/sk/_lib/match/index.js","webpack:///./node_modules/path-browserify/index.js","webpack:///./node_modules/content-disposition/node_modules/safe-buffer/index.js","webpack:///./node_modules/uuid/v1.js","webpack:///./node_modules/uuid/v4.js","webpack:///./node_modules/keys-transform/utils/case-converter.js","webpack:///./app/javascript lazy ^\\.\\/.*\\.vue$ namespace object","webpack:///./node_modules/element-ui/lib/utils/date-util.js","webpack:///./node_modules/element-ui/lib/utils/popup/popup-manager.js","webpack:///./node_modules/element-ui/lib/utils/popper.js","webpack:///./node_modules/element-ui/lib/button.js","webpack:///./node_modules/element-ui/lib/utils/vdom.js","webpack:///./node_modules/element-ui/lib/tooltip.js","webpack:///./node_modules/element-ui/lib/utils/lodash.js","webpack:///./node_modules/element-ui/lib/button-group.js","webpack:///./node_modules/element-ui/lib/checkbox-group.js","webpack:///./node_modules/element-ui/lib/utils/after-leave.js","webpack:///./node_modules/element-ui/lib/select.js","webpack:///./node_modules/element-ui/lib/option.js","webpack:///./node_modules/normalize-wheel/index.js","webpack:///./node_modules/normalize-wheel/src/normalizeWheel.js","webpack:///./node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js","webpack:///./node_modules/normalize-wheel/src/isEventSupported.js","webpack:///./node_modules/normalize-wheel/src/ExecutionEnvironment.js","webpack:///./node_modules/element-ui/lib/utils/aria-dialog.js","webpack:///./node_modules/babel-runtime/core-js/object/assign.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/fn/object/assign.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.assign.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_ctx.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_a-function.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-assign.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_array-includes.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-length.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-absolute-index.js","webpack:///./node_modules/babel-runtime/core-js/symbol/iterator.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/iterator.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.iterator.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_string-at.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-create.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dps.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_html.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.array.iterator.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_add-to-unscopables.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-step.js","webpack:///./node_modules/babel-runtime/core-js/symbol.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/index.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.symbol.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_meta.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-keys.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopn-ext.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopd.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/es7.symbol.async-iterator.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/es7.symbol.observable.js","webpack:///./node_modules/element-ui/lib/input-number.js","webpack:///./node_modules/element-ui/lib/cascader-panel.js","webpack:///./node_modules/element-ui/lib/popover.js","webpack:///./app/javascript/modules/FormSection.vue?b723","webpack:///./app/javascript/ui-library/notification/main.vue?a59d","webpack:///./app/javascript/ui-library/Anchor.vue?5fd4","webpack:///./app/javascript/ui-library/Button.vue?9b13","webpack:///./app/javascript/ui-library/Column.vue?744a","webpack:///./app/javascript/ui-library/Select.vue?bbaa","webpack:///./app/javascript/ui-library/Select.vue?9391","webpack:///./app/javascript/ui-library/DropdownItem.vue?f870","webpack:///./app/javascript/ui-library/DropdownMenu.vue?b2e1","webpack:///./app/javascript/ui-library/FormGroup.vue?b4c6","webpack:///./app/javascript/ui-library/Heading.vue?7d07","webpack:///./app/javascript/ui-library/NumericInputCustom.vue?dd78","webpack:///./app/javascript/ui-library/Popover.vue?6a04","webpack:///./app/javascript/ui-library/Radio.vue?1fbc","webpack:///./app/javascript/ui-library/RadioGroup.vue?1d02","webpack:///./app/javascript/ui-library/Row.vue?62d0","webpack:///./app/javascript/ui-library/selectDialog/SelectDialog.vue?44c8","webpack:///./node_modules/element-ui/src/utils/popper.js","webpack:///./app/javascript/ui-library/Table.vue?3f07","webpack:///./app/javascript/images/input_state_icon/check.svg","webpack:///./app/javascript/images/input_state_icon/dots.svg","webpack:///./app/javascript/images/input_state_icon/magnifier.svg","webpack:///./app/javascript/images/input_state_icon/scream.svg","webpack:///./app/javascript/images/input_state_icon/sync.svg","webpack:///./app/javascript/images/input_state_icon/wand.svg","webpack:///./app/javascript/images/input_state_icon/warning.svg","webpack:///./app/javascript/ui-library/TextInput.vue?0d20","webpack:///./app/javascript/ui-library/TextInput.vue?871d","webpack:///./app/javascript/ui-library/Tooltip.vue?b969","webpack:///./app/javascript/ui-library/WhiteContainer.vue?86d4","webpack:///./app/javascript/ui-library/Drawer.vue?01d1","webpack:///./app/javascript/ui-library lazy ^.*$ namespace object","webpack:///./app/javascript/filters/formatDate.js","webpack:///./node_modules/date-fns/esm/locale/cs/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/cs/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/cs/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/cs/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/cs/index.js","webpack:///./node_modules/date-fns/esm/locale/cs/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/en-GB/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/en-GB/index.js","webpack:///./node_modules/date-fns/esm/locale/de/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/de/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/de/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/de/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/de/index.js","webpack:///./node_modules/date-fns/esm/locale/de/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/nl/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/nl/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/nl/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/nl/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/nl/index.js","webpack:///./node_modules/date-fns/esm/locale/nl/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/pl/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/pl/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/_lib/isSameUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/locale/pl/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/pl/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/pl/index.js","webpack:///./node_modules/date-fns/esm/locale/pl/_lib/match/index.js","webpack:///./node_modules/date-fns/esm/locale/sk/_lib/formatDistance/index.js","webpack:///./node_modules/date-fns/esm/locale/sk/_lib/formatLong/index.js","webpack:///./node_modules/date-fns/esm/locale/sk/_lib/formatRelative/index.js","webpack:///./node_modules/date-fns/esm/locale/sk/_lib/localize/index.js","webpack:///./node_modules/date-fns/esm/locale/sk/index.js","webpack:///./node_modules/date-fns/esm/locale/sk/_lib/match/index.js","webpack:///./app/javascript/filters/formatDay.js","webpack:///./app/javascript/filters/daysFromIssuedDate.js","webpack:///./app/javascript/filters/daysDistance.js","webpack:///./node_modules/date-fns/esm/formatDistanceToNow/index.js","webpack:///./app/javascript/filters/formatCurrency.js","webpack:///./app/javascript/filters/formatNumber.js","webpack:///./app/javascript/filters/truncate.js","webpack:///./app/javascript/lib/uppercase.js","webpack:///./app/javascript/filters/index.js","webpack:///./app/javascript/filters/uppercase.js","webpack:///./node_modules/vuex-persistedstate/node_modules/deepmerge/dist/es.js","webpack:///./node_modules/shvl/dist/shvl.es.js","webpack:///./node_modules/vuex-persistedstate/dist/vuex-persistedstate.es.js","webpack:///./node_modules/@redux-saga/symbols/dist/redux-saga-symbols.esm.js","webpack:///./node_modules/@redux-saga/core/node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/@redux-saga/is/dist/redux-saga-is.esm.js","webpack:///./node_modules/@redux-saga/delay-p/dist/redux-saga-delay-p.esm.js","webpack:///./node_modules/@redux-saga/core/dist/chunk-e922c950.js","webpack:///./node_modules/redux/es/redux.js","webpack:///./node_modules/@redux-saga/deferred/dist/redux-saga-deferred.esm.js","webpack:///./node_modules/@redux-saga/core/dist/redux-saga-core.esm.js","webpack:///./app/javascript/lib/vuex-redux-saga/index.js","webpack:///./app/javascript/store/analytics.js","webpack:///./app/javascript/store/api.js","webpack:///./app/javascript/store/appUpdates.js","webpack:///./app/javascript/store/breadcrumbs.js","webpack:///./app/javascript/store/config.js","webpack:///./app/javascript/store/helpers/RestHelpers.js","webpack:///./app/javascript/store/contacts.js","webpack:///./app/javascript/store/currencyRates.js","webpack:///./app/javascript/store/discountDialog.js","webpack:///./node_modules/ramda/es/mapObjIndexed.js","webpack:///./app/javascript/store/eetForm.js","webpack:///./app/javascript/store/env.js","webpack:///./app/javascript/store/file.js","webpack:///./app/javascript/lib/flashMessages.js","webpack:///./app/javascript/store/flashMessages.js","webpack:///./node_modules/@ungap/structured-clone/esm/deserialize.js","webpack:///./node_modules/@ungap/structured-clone/esm/types.js","webpack:///./node_modules/@ungap/structured-clone/esm/serialize.js","webpack:///./node_modules/@ungap/structured-clone/esm/index.js","webpack:///./app/javascript/store/helpers/mapInvoiceDataToForm.js","webpack:///./node_modules/ramda/es/omit.js","webpack:///./app/javascript/store/helpers/compareState.js","webpack:///./app/javascript/store/helpers/checkAttachments.js","webpack:///./node_modules/ramda/es/curry.js","webpack:///./node_modules/ramda/es/when.js","webpack:///./node_modules/ramda/es/internal/_pipe.js","webpack:///./node_modules/ramda/es/reduce.js","webpack:///./node_modules/ramda/es/internal/_checkForMethod.js","webpack:///./node_modules/ramda/es/slice.js","webpack:///./node_modules/ramda/es/tail.js","webpack:///./node_modules/ramda/es/dissoc.js","webpack:///./app/javascript/store/helpers/removeIds.js","webpack:///./node_modules/ramda/es/pipe.js","webpack:///./app/javascript/store/invoiceForm.js","webpack:///./app/javascript/store/invoices.js","webpack:///./node_modules/fuse.js/dist/fuse.esm.js","webpack:///./app/javascript/store/lineSuggestions.js","webpack:///./app/javascript/store/reports.js","webpack:///./app/javascript/config/apiAxiosInstance.js","webpack:///./app/javascript/lib/api.js","webpack:///./node_modules/@redux-saga/core/dist/redux-saga-effects.esm.js","webpack:///./app/javascript/store/sagas/apiFetch.js","webpack:///./app/javascript/store/sagas/index.js","webpack:///./app/javascript/store/savedLines.js","webpack:///./app/javascript/store/settingsForm.js","webpack:///./app/javascript/store/signUp.js","webpack:///./app/javascript/store/statistics.js","webpack:///./app/javascript/store/submitInvoiceForm.js","webpack:///./app/javascript/lib/handleFooter.js","webpack:///./app/javascript/store/uiEffects.js","webpack:///./app/javascript/store/index.js","webpack:///./app/javascript/lib/stickyNavbar.js","webpack:///./node_modules/@sentry/core/esm/integration.js","webpack:///./node_modules/@sentry/core/esm/integrations/inboundfilters.js","webpack:///./node_modules/@sentry/core/esm/integrations/functiontostring.js","webpack:///./node_modules/@sentry/core/esm/sdk.js","webpack:///./node_modules/@sentry/utils/esm/dsn.js","webpack:///./node_modules/@sentry/core/esm/api.js","webpack:///./node_modules/@sentry/utils/esm/supports.js","webpack:///./node_modules/@sentry/utils/esm/vendor/supportsHistory.js","webpack:///./node_modules/@sentry/utils/esm/instrument/_handlers.js","webpack:///./node_modules/@sentry/utils/esm/instrument/history.js","webpack:///./node_modules/@sentry/utils/esm/envelope.js","webpack:///./node_modules/@sentry/utils/esm/error.js","webpack:///./node_modules/@sentry/core/esm/envelope.js","webpack:///./node_modules/@sentry/core/esm/metrics/utils.js","webpack:///./node_modules/@sentry/core/esm/metrics/envelope.js","webpack:///./node_modules/@sentry/core/esm/baseclient.js","webpack:///./node_modules/@sentry/browser/esm/debug-build.js","webpack:///./node_modules/@sentry/browser/esm/eventbuilder.js","webpack:///./node_modules/@sentry/browser/esm/helpers.js","webpack:///./node_modules/@sentry/browser/esm/userfeedback.js","webpack:///./node_modules/@sentry/browser/esm/client.js","webpack:///./node_modules/@sentry/core/esm/utils/sdkMetadata.js","webpack:///./node_modules/@sentry/utils/esm/clientreport.js","webpack:///./node_modules/@sentry/utils/esm/instrument/console.js","webpack:///./node_modules/@sentry/utils/esm/instrument/dom.js","webpack:///./node_modules/@sentry/utils/esm/instrument/xhr.js","webpack:///./node_modules/@sentry/utils/esm/instrument/fetch.js","webpack:///./node_modules/@sentry/utils/esm/severity.js","webpack:///./node_modules/@sentry/utils/esm/url.js","webpack:///./node_modules/@sentry/browser/esm/integrations/breadcrumbs.js","webpack:///./node_modules/@sentry/browser/esm/integrations/dedupe.js","webpack:///./node_modules/@sentry/utils/esm/instrument/globalError.js","webpack:///./node_modules/@sentry/utils/esm/instrument/globalUnhandledRejection.js","webpack:///./node_modules/@sentry/browser/esm/integrations/globalhandlers.js","webpack:///./node_modules/@sentry/browser/esm/integrations/httpcontext.js","webpack:///./node_modules/@sentry/utils/esm/aggregate-errors.js","webpack:///./node_modules/@sentry/browser/esm/integrations/linkederrors.js","webpack:///./node_modules/@sentry/browser/esm/integrations/trycatch.js","webpack:///./node_modules/@sentry/browser/esm/stack-parsers.js","webpack:///./node_modules/@sentry/utils/esm/promisebuffer.js","webpack:///./node_modules/@sentry/utils/esm/ratelimit.js","webpack:///./node_modules/@sentry/core/esm/transports/base.js","webpack:///./node_modules/@sentry/browser/esm/transports/utils.js","webpack:///./node_modules/@sentry/browser/esm/transports/fetch.js","webpack:///./node_modules/@sentry/browser/esm/transports/xhr.js","webpack:///./node_modules/@sentry/browser/esm/sdk.js","webpack:///./node_modules/@sentry/core/esm/utils/hasTracingEnabled.js","webpack:///./node_modules/@sentry/vue/esm/constants.js","webpack:///./node_modules/@sentry/vue/esm/vendor/components.js","webpack:///./node_modules/@sentry/vue/esm/errorhandler.js","webpack:///./node_modules/@sentry/core/esm/tracing/trace.js","webpack:///./node_modules/@sentry/vue/esm/debug-build.js","webpack:///./node_modules/@sentry/vue/esm/tracing.js","webpack:///./node_modules/@sentry/vue/esm/integration.js","webpack:///./node_modules/@sentry/vue/esm/sdk.js","webpack:///./node_modules/@sentry/utils/esm/buildPolyfills/_optionalChain.js","webpack:///./node_modules/@sentry/core/esm/utils/isSentryRequestUrl.js","webpack:///./node_modules/@sentry/core/esm/semanticAttributes.js","webpack:///./node_modules/@sentry/utils/esm/isBrowser.js","webpack:///./node_modules/@sentry-internal/tracing/esm/common/debug-build.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/instrument.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/bindReporter.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/types.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getNavigationEntry.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getActivationStart.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/initMetric.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/generateUniqueID.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/observe.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/onHidden.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/lib/getVisibilityWatcher.js","webpack:///./node_modules/@sentry-internal/tracing/esm/browser/web-vitals/getLCP.js","webpack:///./node_modules/@sentry/replay/esm/index.js","webpack:///./node_modules/@sentry/utils/esm/buildPolyfills/_nullishCoalesce.js","webpack:///./node_modules/@sentry/integrations/esm/debug-build.js","webpack:///./node_modules/@sentry/integrations/esm/httpclient.js","webpack:///./node_modules/@sentry/integrations/esm/extraerrordata.js","webpack:///./node_modules/@sentry/integrations/esm/dedupe.js","webpack:///./app/javascript/lib/mixins/index.js","webpack:///./node_modules/mitt/dist/mitt.mjs","webpack:///./app/javascript/plugins/posthog.js","webpack:///./app/javascript/packs/frontend.js","webpack:///./app/javascript/lib/sentry.js","webpack:///./app/javascript/lib/removeUtmGclid.js","webpack:///./node_modules/async-validator/es/util.js","webpack:///./node_modules/async-validator/es/rule/required.js","webpack:///./node_modules/async-validator/es/rule/whitespace.js","webpack:///./node_modules/async-validator/es/rule/type.js","webpack:///./node_modules/async-validator/es/rule/range.js","webpack:///./node_modules/async-validator/es/rule/enum.js","webpack:///./node_modules/async-validator/es/rule/pattern.js","webpack:///./node_modules/async-validator/es/rule/index.js","webpack:///./node_modules/async-validator/es/validator/type.js","webpack:///./node_modules/async-validator/es/validator/index.js","webpack:///./node_modules/async-validator/es/validator/string.js","webpack:///./node_modules/async-validator/es/validator/method.js","webpack:///./node_modules/async-validator/es/validator/number.js","webpack:///./node_modules/async-validator/es/validator/boolean.js","webpack:///./node_modules/async-validator/es/validator/regexp.js","webpack:///./node_modules/async-validator/es/validator/integer.js","webpack:///./node_modules/async-validator/es/validator/float.js","webpack:///./node_modules/async-validator/es/validator/array.js","webpack:///./node_modules/async-validator/es/validator/object.js","webpack:///./node_modules/async-validator/es/validator/enum.js","webpack:///./node_modules/async-validator/es/validator/pattern.js","webpack:///./node_modules/async-validator/es/validator/date.js","webpack:///./node_modules/async-validator/es/validator/required.js","webpack:///./node_modules/async-validator/es/messages.js","webpack:///./node_modules/async-validator/es/index.js","webpack:///./node_modules/ramda/es/includes.js","webpack:///./node_modules/date-fns/esm/subMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/addMilliseconds/index.js","webpack:///./node_modules/date-fns/esm/_lib/addLeadingZeros/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/lightFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCWeek/index.js","webpack:///./node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/formatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js","webpack:///./node_modules/date-fns/esm/_lib/format/longFormatters/index.js","webpack:///./node_modules/date-fns/esm/_lib/protectedTokens/index.js","webpack:///./node_modules/date-fns/esm/format/index.js","webpack:///./node_modules/@sentry/utils/esm/baggage.js","webpack:///./node_modules/@sentry/utils/esm/tracing.js","webpack:///./node_modules/date-fns/esm/parseISO/index.js","webpack:///./node_modules/date-fns/esm/isAfter/index.js","webpack:///./node_modules/ramda/es/is.js","webpack:///./node_modules/ramda/es/pick.js","webpack:///./node_modules/date-fns/esm/startOfMonth/index.js","webpack:///./node_modules/date-fns/esm/endOfMonth/index.js","webpack:///./node_modules/ramda/es/isNil.js","webpack:///./node_modules/ramda/es/internal/_xfilter.js","webpack:///./node_modules/ramda/es/filter.js","webpack:///./node_modules/ramda/es/reject.js","webpack:///./node_modules/ramda/es/internal/_complement.js","webpack:///./node_modules/ramda/es/without.js","webpack:///./node_modules/ramda/es/defaultTo.js","webpack:///./node_modules/ramda/es/pathOr.js","webpack:///./node_modules/ramda/es/empty.js","webpack:///./node_modules/ramda/es/isEmpty.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","appendChild","then","installedChunkData","promise","error","script","loadScript","retries","onScriptComplete","charset","timeout","nc","setAttribute","clearTimeout","chunk","errorType","realSrc","message","name","undefined","cacheBust","Date","now","retryScript","head","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","IC_LOOKUP_ENABLED_COUNTRIES","NAME_LOOKUP_ENABLED_COUNTRIES","DEFAULT_CURRENCY","BANK_TRANSFER","CREDIT_CARD","MINI_PLAN_ID","PREMIUM_PLAN_ID","COUNTRY_CODES","CS","EN","PL","RS","SK","NL","GB","DE","LANGUAGES","CURRENCIES","AVAILABLE_TABLE_COLUMNS","DEFAULT_CONTACTS_COLUMNS","DISABLED_CONTACTS_STATE_COLUMNS","AVAILABLE_CONTACTS_TABLE_COLUMNS","DEFAULT_EXPENSES_COLUMNS","DISABLED_EXPENSES_STATE_COLUMNS","AVAILABLE_EXPENSES_TABLE_COLUMNS","AVAILABLE_INVOICES_FILTERS","DEFAULT_INVOICES_FILTERS","DISABLED_INVOICES_FILTERS","AVAILABLE_EXPENSES_FILTERS","DEFAULT_EXPENSES_FILTERS","DISABLED_EXPENSES_FILTERS","STATE_COLUMNS","DEFAULT_COLUMNS","DISABLED_STATE_COLUMNS","ENV_COUNTRIES","CZ","VAT_INCLUSIVE","NEW_INVOICE","PREMIUM_PLAN_NAME","MINI_PLAN_NAME","EDIT_INVOICE","INVOICE_KIND_NO_VAT","INVOICE_KIND_WITH_VAT","INVOICE_KIND_ADVANCE","INVOICE_KIND_PROFORMA","INVOICE_KIND_VAT_MARGIN","INVOICE_KIND_VAT_DUTY_REVERSED","EET_REQUIRED_MEANS_OF_PAYMENT","EXPIRE_SUBSCRIPTION_THRESHOLD_DAYS","FETCH_STATE_NONE","FETCH_STATE_PENDING","FETCH_STATE_SUCCESS","FETCH_STATE_ERROR","currency","locale","toUpperCase","FAKE_INVOICES","Array","fill","map","index","_id","number","createdAt","buyer","seller","kind","dueOn","totalFloat","Math","floor","random","eetInvoice","eetState","language","state","FAKE_INVOICES_STATES","baseCurrency","invoicesCount","invoicesSum","overdueCount","overdueSum","paidCount","paidSum","proposalCount","proposalSum","recurringCount","recurringSum","submittedCount","submittedSum","_extendStatics","b","setPrototypeOf","__proto__","__extends","__","this","constructor","_assign","assign","arguments","__rest","indexOf","getOwnPropertySymbols","propertyIsEnumerable","__awaiter","thisArg","_arguments","P","generator","step","next","rejected","done","__generator","body","f","y","g","_","label","sent","trys","ops","verb","iterator","v","op","TypeError","pop","__spreadArrays","il","k","a","jl","_typeof","obj","valueToObjectRepresentation","argObj","variables","isIntValue","isFloatValue","Number","isBooleanValue","isStringValue","isObjectValue","nestedArgObj_1","fields","isVariable","variableValue","isListValue","values","listValue","nestedArgArrayObj","isEnumValue","isNullValue","storeKeyNameFromField","field","directivesObj","directives","forEach","directive","_a","getStoreKeyName","KNOWN_DIRECTIVES","fieldName","args","filterKeys","sort","queryArgs_1","filteredArgs_1","JSON","stringify","completeFieldName","stringifiedArgs","keys","argumentsObjectFromField","argObj_1","resultKeyNameFromField","alias","isField","selection","isInlineFragment","isIdValue","idObject","generated","toIdValue","idConfig","id","typename","isJsonValue","jsonObject","getDirectiveInfoFromField","directiveObj_1","shouldInclude","filter","isInclusionDirective","directiveArguments","ifArgument","ifValue","every","evaledValue","hasDirectives","names","doc","Directive","node","getDirectiveNames","some","hasClientExports","getFragmentQueryDocument","fragmentName","actualFragmentName","fragments","definitions","definition","operation","selectionSet","selections","sources","_i","source","checkDocument","operations","getOperationDefinition","getOperationName","x","getFragmentDefinitions","getQueryDefinition","queryDef","getMainDefinition","queryDoc","fragmentDefinition","createFragmentMap","symTable","fragment","getDefaultValues","variableDefinitions","defaultValues","defaultValue","variable","defaultValueObj","filterInPlace","array","test","context","elem","TYPENAME_FIELD","isEmpty","nullIfDocIsEmpty","fragmentDef","getFragmentDefinition","getDirectiveMatcher","dir","removeDirectivesFromDocument","variablesInUse","variablesToRemove","fragmentSpreadsInUse","fragmentSpreadsToRemove","modifiedDoc","Variable","enter","_key","parent","Field","remove","arg","getAllFragmentSpreadsFromSelectionSet","frag","FragmentSpread","config","argMatcher","argument","aConfig","getArgumentMatcher","OperationDefinition","varDef","argConfig","argMatchCount_1","Argument","removeArgumentsFromDocument","fs","def","FragmentDefinition","removeFragmentSpreadFromDocument","addTypenameToDocument","SelectionSet","lastIndexOf","connectionRemoveConfig","willRemove","removeConnectionDirectiveFromDocument","allFragments","buildQueryFromSelectionSet","removeClientSetsFromDocument","canUseWeakMap","WeakMap","navigator","product","toString","cloneDeep","cloneDeepHelper","Map","val","seen","has","copy_1","set","child","copy_2","getPrototypeOf","isEnv","env","process","isProduction","isTest","tryFunctionOrLogError","graphQLResultHasError","errors","deepFreeze","freeze","getOwnPropertyNames","prop","isFrozen","maybeDeepFreeze","mergeDeep","mergeDeepArray","count","pastCopies","shallowCopyForMerge","mergeHelper","isObject","isExtensible","sourceKey","sourceValue","targetValue","isArray","genericMessage","proto","InvariantError","_super","_this","framesToPop","invariant","condition","wrapConsoleMethod","method","warn","processStub","Function","atLeastWeTried","toDate","argStr","getTime","stack","NaN","_curry2","fn","f2","_b","Kind","isServer","$isServer","SPECIAL_CHARS_REGEXP","MOZ_HACK_REGEXP","ieVersion","documentMode","trim","string","replace","camelCase","separator","letter","offset","on","addEventListener","element","handler","attachEvent","off","removeEventListener","detachEvent","hasClass","el","cls","classList","contains","className","addClass","curClass","classes","split","clsName","add","removeClass","getStyle","styleName","filters","item","opacity","style","currentStyle","computed","defaultView","getComputedStyle","isGlobalObj","GLOBAL_OBJ","globalThis","self","global","getGlobalObject","getGlobalSingleton","creator","gbl","__SENTRY__","_typeof2","__webpack_exports__","pagervue_type_template_id_7274f267_render","_vm","_h","$createElement","_c","_self","staticClass","click","onPagerClick","pageCount","active","currentPage","disabled","_v","_e","showPrevMore","quickprevIconClass","mouseenter","$event","onMouseenter","mouseleave","_l","pagers","pager","_s","showNextMore","quicknextIconClass","normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","$vnode","ssrContext","__VUE_SSR_CONTEXT__","_registeredComponents","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","_withStripped","component","props","pagerCount","Boolean","watch","methods","tagName","newPage","textContent","pagerCountOffset","isNaN","$emit","direction","halfPagerCount","_i2","_i3","current","__file","select_","select_default","option_","option_default","input_","input_default","locale_","locale_default","util_","pagination","pageSize","small","total","validator","layout","pageSizes","popperClass","String","prevText","nextText","background","hideOnSinglePage","internalCurrentPage","internalPageSize","lastEmittedPage","userChangePageSize","internalPageCount","template","TEMPLATE_MAP","prev","jumper","attrs","handleCurrentChange","sizes","slot","$slots","components","rightWrapper","haveRightWrapper","children","compo","unshift","Prev","$parent","Next","Sizes","mixins","immediate","newVal","oldVal","size","handleChange","ElSelect","ElOption","parseInt","Jumper","ElInput","userInput","handleKeyup","_ref","keyCode","handleInput","getValidCurrentPage","emitChange","min","max","nativeOn","Total","Pager","resetValue","_this2","$nextTick","ceil","oldPage","Vue","packages_pagination","componentvue_type_template_id_60140e62_render","afterEnter","afterLeave","rawName","visible","expression","currentTarget","handleWrapperClick","ref","fullscreen","center","customClass","role","title","_t","showClose","handleClose","rendered","footer","popup_","popup_default","migrating_","migrating_default","emitter_","emitter_default","component_component","modal","modalAppendToBody","appendToBody","lockScroll","closeOnClickModal","closeOnPressEscape","width","top","beforeClose","destroyOnClose","closed","$el","updatePopper","$refs","dialog","scrollTop","marginTop","getMigratingConfig","hide","cancel","broadcast","mounted","open","destroyed","src_component","install","autocompletevue_type_template_id_152f2ee6_render","close","suggestionVisible","input","change","focus","handleFocus","blur","handleBlur","clear","handleClear","keydown","_k","preventDefault","highlight","highlightedIndex","handleKeyEnter","$props","$attrs","prepend","append","prefix","suffix","popperOptions","popperAppendToBody","placement","suggestions","highlighted","select","valueKey","debounce_","debounce_default","clickoutside_","clickoutside_default","autocomplete_suggestionsvue_type_template_id_cd10dcf0_render","doDestroy","showPopper","hideLoading","loading","dropdownWidth","vue_popper_","vue_popper_default","scrollbar_","scrollbar_default","autocomplete_suggestions_component","ElScrollbar","componentName","gpuAcceleration","dispatch","updated","popperJS","popperElm","referenceElm","textarea","referenceList","querySelector","created","$on","inputWidth","autocomplete_suggestions","focus_","focus_default","autocomplete_component","inheritAttrs","ElAutocompleteSuggestions","Clickoutside","placeholder","clearable","maxlength","minlength","autofocus","fetchSuggestions","triggerOnFocus","customItem","selectWhenUnmatched","prefixIcon","suffixIcon","debounce","highlightFirstItem","activated","suggestionDisabled","$input","getInput","offsetWidth","getData","queryString","debouncedGetData","_this3","suggestion","highlightItem","querySelectorAll","offsetTop","scrollHeight","clientHeight","_this4","beforeDestroy","$destroy","autocomplete","packages_autocomplete","button_","button_default","button_group_","button_group_default","dropdownvue_type_script_lang_js_","ElButton","ElButtonGroup","provide","dropdown","trigger","splitButton","hideOnClick","visibleArrow","showTimeout","hideTimeout","tabindex","triggerElm","menuItems","menuItemsArray","dropdownElm","focusing","listId","dropdownSize","$ELEMENT","handleMenuItemClick","selfDefine","show","removeTabindex","resetTabindex","handleClick","handleTriggerKeyDown","ev","stopPropagation","handleItemKeyDown","currentIndex","nextIndex","triggerElmFocus","ele","initAria","initEvent","elm","command","instance","initDomOperation","vnodeData","_vnodeData$attrs","menuElm","dropdown_component","dropdown_render","dropdown_staticRenderFns","packages_dropdown","dropdown_menuvue_type_template_id_0da6b714_render","dropdown_menu_component","arrowOffset","inject","currentPlacement","dropdown_menu","packages_dropdown_menu","dropdown_itemvue_type_template_id_6359102a_render","divided","icon","dropdown_item_component","dropdown_item","packages_dropdown_item","aria","Utils","focusFirstDescendant","childNodes","attemptFocus","focusLastDescendant","isFocusable","IgnoreUtilFocusChanges","activeElement","tabIndex","nodeName","triggerEvent","eventName","evt","createEvent","_len","opts","dispatchEvent","fireEvent","tab","space","left","up","right","down","esc","aria_utils","SubMenu","domNode","subMenuItems","subIndex","init","addListeners","gotoSubIndex","idx","prevDef","aria_submenu","MenuItem","submenu","menuChild","aria_menuitem","Menu","menuChildren","nodeType","aria_menubar","dom_","menuvue_type_script_lang_js_","collapse","backgroundColor","collapseTransition","rootMenu","beforeEnter","beforeLeave","dataset","oldOverflow","overflow","scrollWidth","clientWidth","leave","defaultActive","defaultOpeneds","uniqueOpened","router","menuTrigger","textColor","activeTextColor","activeIndex","openedMenus","items","submenus","hoverBackground","mixColor","isMenuPopup","updateActiveIndex","initOpenedMenu","getColorChannels","color","join","red","green","blue","percent","_getColorChannels","round","addItem","$set","removeItem","addSubmenu","removeSubmenu","openMenu","indexPath","closeMenu","handleSubmenuClick","handleItemClick","oldActiveIndex","hasIndex","routeToItem","activeItem","onError","route","$router","$watch","menu_component","menu_render","menu_staticRenderFns","src_menu","packages_menu","collapse_transition_","collapse_transition_default","menu_mixin","path","parentMenu","paddingStyle","padding","paddingLeft","poperMixins","transformOrigin","boundariesPadding","deactivated","submenuvue_type_script_lang_js_","ElCollapseTransition","required","mouseInChild","opened","isFirstLevel","menuTransitionName","isActive","titleStyle","borderBottomColor","handleCollapseToggle","initPopper","handleMouseenter","relatedTarget","MouseEvent","handleMouseleave","deepDispatch","handleTitleMouseenter","handleTitleMouseleave","updatePlacement","menu","_this5","popupMenu","inlineMenu","submenuTitleIcon","submenu_component","submenu_render","submenu_staticRenderFns","packages_submenu","menu_itemvue_type_template_id_2a5dbfea_render","itemStyle","onMouseEnter","onMouseLeave","effect","staticStyle","position","height","display","tooltip_","tooltip_default","menu_item_component","ElTooltip","isNested","menu_item","packages_menu_item","menu_item_groupvue_type_template_id_543b7bdc_render","levelPadding","menu_item_group_component","menu_item_group","packages_menu_item_group","inputvue_type_template_id_343dd774_render","inputSize","inputDisabled","inputExceed","showPassword","hovering","passwordVisible","readonly","autoComplete","compositionstart","handleCompositionStart","compositionupdate","handleCompositionUpdate","compositionend","handleCompositionEnd","getSuffixVisible","showClear","showPwdVisible","isWordLimitVisible","mousedown","handlePasswordVisible","textLength","upperLimit","validateState","validateIcon","textareaStyle","hiddenTextarea","CONTEXT_STYLE","calcTextareaHeight","targetElement","minRows","maxRows","_calculateNodeStyling","boxSizing","getPropertyValue","paddingSize","parseFloat","borderSize","contextStyle","calculateNodeStyling","singleRowHeight","minHeight","maxHeight","merge_","merge_default","shared_","input_component","elForm","elFormItem","textareaCalcStyle","focused","isComposing","resize","form","autosize","validateEvent","showWordLimit","_elFormItemSize","elFormItemSize","needStatusIcon","statusIcon","validating","success","nativeInputValue","resizeTextarea","setNativeInputValue","updateIconOffset","events","text","lastCharacter","calcIconOffset","place","elList","pendant","transform","removeAttribute","src_input","packages_input","input_numbervue_type_template_id_42f8cf66_render","inputNumberSize","inputNumberDisabled","controls","controlsAtRight","dragstart","decrease","minDisabled","increase","maxDisabled","displayValue","handleInputChange","repeat_click","binding","vnode","interval","startTime","maxIntervals","clearInterval","button","setInterval","input_numbervue_type_script_lang_js_","repeatClick","stepStrictly","Infinity","controlsPosition","precision","currentValue","stepPrecision","getPrecision","precisionFactor","pow","toPrecision","_decrease","_increase","numPrecision","toFixed","num","valueString","dotPosition","setCurrentValue","innerInput","input_number_component","input_number","packages_input_number","radiovue_type_template_id_69cd6268_render","border","radioSize","isDisabled","model","domProps","checked","_q","radio_component","isGroup","_radioGroup","radio","temRadioSize","radioGroupSize","src_radio","packages_radio","radio_groupvue_type_template_id_818a704c_render","_elTag","handleKeydown","LEFT","UP","RIGHT","DOWN","radio_group_component","radios","firstLabel","roleRadios","_value","radio_group","packages_radio_group","radio_buttonvue_type_template_id_18a77a32_render","activeStyle","radio_button_component","borderColor","boxShadow","radio_button","packages_radio_button","checkboxvue_type_template_id_d0387074_render","checkboxSize","isChecked","indeterminate","trueLabel","falseLabel","$$a","$$el","$$c","$$i","$$v","checkbox_component","selfModel","isLimitExceeded","store","_checkboxGroup","isLimitDisabled","temCheckboxSize","checkboxGroupSize","addToStore","src_checkbox","packages_checkbox","checkbox_buttonvue_type_template_id_478e906e_render","checkbox_button_component","_checkboxGroup2","checkbox_button","packages_checkbox_button","checkbox_groupvue_type_template_id_7289a290_render","checkbox_group_component","checkbox_group","packages_checkbox_group","componentvue_type_template_id_2dcd8fbb_render","switchDisabled","switchValue","activeValue","inactiveValue","inactiveIconClass","inactiveText","coreWidth","activeIconClass","activeText","src_component_component","activeColor","inactiveColor","setBackgroundColor","newColor","core","switch_src_component","packages_switch","selectvue_type_template_id_0e4aade6_render","selectSize","toggleMenu","multiple","collapseTags","selected","closable","selectDisabled","collapseTagSize","hit","hitState","deleteTag","currentLabel","resetInputHeight","getValueKey","filterable","query","inputLength","softFocus","keyup","managePlaceholder","resetInputState","handleNavigate","selectOption","deletePrevTag","handleComposition","composing","debouncedQueryChange","currentPlaceholder","debouncedOnInputChange","inputHovering","selectedLabel","callback","iconClass","handleClearClick","handleMenuEnter","emptyText","allowCreate","filteredOptionsCount","showNewOption","empty","select_dropdownvue_type_template_id_06828748_render","minWidth","select_dropdown_component","getBoundingClientRect","reference","destroyPopper","select_dropdown","optionvue_type_template_id_7a44c642_render","itemSelected","groupDisabled","limitReached","hover","hoverItem","selectOptionClick","optionvue_type_script_lang_js_","toLowerCase","isEqual","multipleLimit","remote","_select","arr","handleGroupDisabled","hoverIndex","queryChange","RegExp","cachedOptions","optionsCount","_select2","selectedOptions","selectedIndex","onOptionDestroy","option_component","src_option","tag_","tag_default","resize_event_","scroll_into_view_","scroll_into_view_default","selectvue_type_script_lang_js_","hoverOption","optionsAllDisabled","option","navigateOptions","scrollToOption","hasValue","loadingText","noMatchText","noDataText","hasExistingOption","propPlaceholder","ElSelectMenu","ElTag","automaticDropdown","remoteMethod","filterMethod","defaultFirstOption","reserveKeyword","createdLabel","createdSelected","initialInputHeight","cachedPlaceHolder","previousQuery","menuVisibleOnFocus","isOnComposition","isSilentBlur","handleQueryChange","setSelected","resetHoverIndex","inputs","checkDefaultFirstOption","_this6","popper","scrollbar","handleScroll","_this7","getOption","isNull","isUndefined","cachedOption","newOption","_this8","_this9","deleteSelected","toggleLastOptionHitState","_this10","inputChildNodes","tags","tagsHeight","sizeInMap","_this11","handleOptionSelect","byClick","_this12","optionIndex","getValueIndex","setSoftFocus","onInputChange","resetInputWidth","handleResize","hasCreated","_this13","_this14","medium","mini","select_component","src_select","packages_select","packages_option","option_groupvue_type_template_id_6685e5de_render","option_group_component","$children","option_group","packages_option_group","buttonvue_type_template_id_ca859fb4_render","buttonSize","buttonDisabled","plain","circle","nativeType","button_component","propsData","src_button","packages_button","button_groupvue_type_template_id_3d8661d0_render","button_group_component","button_group","packages_button_group","tablevue_type_template_id_493fe34e_render","fit","stripe","isHidden","scrollX","scrollY","states","isComplex","tableSize","handleMouseLeave","showHeader","handleHeaderFooterMousewheel","bodyWidth","defaultSort","scrollPosition","bodyHeight","rowClassName","rowStyle","highlightCurrentRow","emptyBlockStyle","showSummary","sumText","summaryMethod","fixedColumns","handleFixedMousewheel","fixedWidth","fixedHeight","fixed","headerHeight","fixedBodyHeight","appendHeight","rightFixedColumns","rightFixedWidth","gutterWidth","resizeProxyVisible","checkbox_","checkbox_default","external_throttle_debounce_","external_normalize_wheel_","external_normalize_wheel_default","isFirefox","userAgent","directives_mousewheel","normalized","external_vue_","external_vue_default","util_typeof","getCell","cell","util_isObject","util_orderBy","sortKey","reverse","sortMethod","sortBy","getKey","by","$value","order","len","compare","getColumnById","table","columnId","column","columns","getColumnByCell","matches","match","getRowIdentity","row","rowKey","getKeysMap","arrayMap","hasOwn","parseWidth","parseHeight","toggleRowStatus","statusArr","changed","included","addRow","removeRow","walkTreeNode","root","cb","childrenKey","lazyKey","isNil","_walker","level","objectEquals","objectA","objectB","aProps","bProps","propName","expand","defaultExpandAll","expandRows","updateExpandRows","_states","_states$data","expandRowsMap","reduce","rowId","toggleRowExpansion","expanded","scheduleLayout","setExpandRowKeys","rowKeys","assertRowKey","_states2","keysMap","cur","info","isRowExpanded","_states3","_states3$expandRows","store_current","_currentRowKey","currentRow","setCurrentRowKey","setCurrentRowByKey","restoreCurrentRowKey","updateCurrentRow","oldCurrentRow","updateCurrentRowData","currentRowKey","_extends","tree","expandRowKeys","treeData","indent","lazy","lazyTreeNodeMap","lazyColumnIdentifier","childrenColumnName","normalizedData","normalize","normalizedLazyNode","res","parentId","updateTreeData","nested","newTreeData","oldTreeData","rootLazyRowKeys","getExpanded","oldValue","newValue","_ref$loaded","loaded","_ref$loading","lazyKeys","lazyNodeChildren","_ref2","_ref2$loaded","_ref2$loading","updateTableScrollY","updateTreeExpandKeys","toggleTreeExpansion","_states4","oldExpanded","loadOrToggle","_states5","loadData","treeNode","load","rawTreeData","_states6","doFlattenColumns","watcher","extend","_columns","originColumns","leafColumns","fixedLeafColumns","rightFixedLeafColumns","leafColumnsLength","fixedLeafColumnsLength","rightFixedLeafColumnsLength","isAllSelected","reserveSelection","selectOnIndeterminate","selectable","filteredData","sortingColumn","sortProp","sortOrder","hoverRow","updateColumns","notFixedColumns","needUpdateColumns","debouncedUpdateLayout","isSelected","_states$selection","clearSelection","cleanSelection","deleted","selectedMap","dataMap","newSelection","toggleRowSelection","_toggleAllSelection","selectionChanged","updateSelectionByRowKey","rowInfo","updateAllSelected","selectedCount","isRowSelectable","updateFilters","col","columnKey","updateSort","execFilter","_data","execSort","sortable","watcher_sortData","execQuery","ignore","clearFilter","columnKeys","_table$$refs","tableHeader","fixedTableHeader","rightFixedTableHeader","panels","filterPanels","getColumnByKey","find","filteredValue","commit","silent","multi","clearSort","setExpandRowKeysAdapter","toggleRowExpansionAdapter","mutations","setData","dataInstanceChanged","insertColumn","$ready","removeColumn","changeSortCondition","filterChange","newFilters","toggleAllSelection","rowSelectedChanged","setHoverRow","setCurrentRow","nextTick","updateScrollY","src_store","mapStates","mapper","scrollbar_width_","scrollbar_width_default","table_layout_TableLayout","TableLayout","Constructor","_classCallCheck","observers","tableHeight","footerHeight","viewportHeight","bodyWrapper","prevScrollY","offsetHeight","setHeight","updateElsHeight","setMaxHeight","getFlattenColumns","flattenColumns","isColumnGroup","headerWrapper","appendWrapper","footerWrapper","headerTrElm","noneHeader","headerDisplayNone","noData","notifyObservers","headerChild","parentElement","updateColumnsWidth","bodyMinWidth","flexColumns","realWidth","scrollYWidth","totalFlexWidth","flexWidthPerPixel","noneFirstWidth","flexWidth","resizeState","addObserver","observer","removeObserver","onColumnsChange","onScrollableChange","table_layout","layout_observer","tableLayout","__updated__","cols","columnsMap","ths","_j","th","table_row_extends","table_row","ElCheckbox","$index","firstDefaultColumnIndex","treeRowData","treeIndent","_columnsHidden","columnsHidden","isExpanded","cellIndex","_getSpan","getSpan","rowspan","colspan","columnData","getColspanRealWidth","noLazyChildren","getCellStyle","getCellClass","handleCellMouseEnter","handleCellMouseLeave","renderCell","_renderProxy","table_body_typeof","table_body_extends","table_body","TableRow","cellspacing","cellpadding","acc","wrappedRowRender","tooltipEffect","content","tooltipContent","leftFixedLeafCount","rightFixedLeafCount","columnsCount","leftFixedCount","rightFixedCount","hasExpandColumn","isColumnHidden","raf","requestAnimationFrame","rows","oldRow","newRow","activateTooltip","tooltip","handleShowPopper","getKeyOfRow","rowIndex","columnIndex","spanMethod","getRowStyle","getRowClass","highlightSelectionRow","cellStyle","align","cellClassName","_ref3","hoverState","cellChild","range","createRange","setStart","setEnd","innerText","setExpectedState","handleClosePopper","oldHoverState","handleMouseEnter","handleContextMenu","handleEvent","handleDoubleClick","rowRender","rowClasses","_store$states","renderExpanded","tr","tmp","traverse","innerTreeRowData","childKey","_nodes","filter_panelvue_type_template_id_7f2c919f_render","handleOutsideClick","handleConfirm","handleReset","filterValue","handleSelect","dropdowns","src_dropdown","checkbox_group_","checkbox_group_default","filter_panel_component","ElCheckboxGroup","confirmFilter","filterMultiple","filterOpened","_popper","zIndex","nextZIndex","filter_panel","table_header_extends","getAllColumns","convertToRows","maxLevel","colSpan","subColumn","rowSpan","table_header","columnRows","hasGutter","getHeaderRowStyle","getHeaderRowClass","handleMouseMove","handleMouseOut","handleMouseDown","handleHeaderClick","handleHeaderContextMenu","getHeaderCellStyle","getHeaderCellClass","labelClassName","renderHeader","handleSortClick","handleFilterClick","_defaultSort","isCellHidden","start","after","headerRowStyle","headerRowClassName","headerCellStyle","headerAlign","headerCellClassName","filterPanel","filterPlacement","$mount","draggingColumn","dragging","tableLeft","columnEl","columnRect","minLeft","dragState","startMouseLeft","clientX","startLeft","startColumnLeft","resizeProxy","onselectstart","ondragstart","deltaLeft","proxyLeft","handleMouseUp","_dragState","columnWidth","cursor","resizable","rect","bodyStyle","pageX","toggleOrder","sortOrders","givenOrder","table_footer_extends","table_footer","sums","precisions","notNumber","decimal","curr","getRowClasses","before","tablevue_type_script_lang_js_extends","tableIdSeed","tablevue_type_script_lang_js_","Mousewheel","treeProps","hasChildren","TableHeader","TableFooter","TableBody","abs","spinY","currentScrollTop","pixelY","scrollLeft","pixelX","syncPostion","_bodyWrapper","_$refs","fixedBodyWrapper","rightFixedBodyWrapper","maxScrollLeftPosition","throttleSyncPostion","onScroll","bindEvents","passive","resizeListener","unbindEvents","shouldUpdateLayout","_resizeState","oldWidth","oldHeight","shouldUpdateHeight","doLayout","_layout","_layout2","_layout2$headerHeight","_layout2$footerHeight","bottom","tableData","tableId","_treeProps","_treeProps$hasChildre","_treeProps$children","initialState","createStore","table_component","src_table","packages_table","cellStarts","cellForced","_ref4","_ref5","_ref6","defaultRenderCell","_ref7","formatter","table_column_extends","columnIdSeed","table_column","showTooltipWhenOverflow","showOverflowTooltip","isSubColumn","owner","columnOrTableParent","realMinWidth","realAlign","realHeaderAlign","getPropsData","getColumnElIndex","setColumnWidth","setColumnForcedProps","setColumnRenders","scope","$scopedSlots","header","originRenderCell","_ref8","expandClasses","iconClasses","treeCellPrefix","registerNormalWatchers","aliases","allAliases","columnConfig","registerComplexWatchers","defaults","mergeOptions","chains","funcs","compose","hiddenColumns","packages_table_column","pickervue_type_template_id_79ae069f_render","ranged","pickerSize","pickerDisabled","pickerVisible","handleRangeClick","triggerClass","startPlaceholder","editable","handleStartInput","handleStartChange","firstInputId","rangeSeparator","endPlaceholder","handleEndInput","handleEndChange","secondInputId","haveTrigger","clearIcon","handleClickIcon","date_util_","NewPopper","DEFAULT_FORMATS","date","month","months","datetime","time","week","timerange","daterange","monthrange","datetimerange","year","years","HAVE_TRIGGER_TYPES","pickervue_type_script_lang_js_DATE_FORMATTER","format","pickervue_type_script_lang_js_DATE_PARSER","RANGE_FORMATTER","end","RANGE_PARSER","range1","range2","TYPE_VALUE_RESOLVER_MAP","parser","getMonth","trueDate","setHours","setDate","getDate","getDay","dates","PLACEMENT_MAP","parseAsFormatAndType","customFormat","formatAsFormatAndType","valueEquals","dateEquals","aIsDate","bIsDate","aIsArray","bIsArray","isString","pickervue_type_script_lang_js_validator","pickervue_type_script_lang_js_","valueFormat","defaultTime","pickerOptions","unlinkPanels","valueOnOpen","unwatchPickerOptions","showPicker","hidePicker","parsedValue","picker","refInput","valueIsEmpty","selectionMode","showTrigger","formattedValue","handleFieldReset","parseValue","isParsed","formatToValue","isFormattable","parseString","formatToString","isValidValue","emitInput","initialValue","resetView","mountPicker","adjustSpinners","panel","showTime","arrowControl","timeArrowControl","updateOptions","selectableRange","ranges","deep","pos","setSelectionRange","unmountPicker","$off","formatted","picker_component","datevue_type_template_id_2440d4ea_render","handleEnter","handleLeave","sidebar","shortcuts","shortcut","handleShortcutClick","visibleDate","userInputDate","handleVisibleDateChange","handleTimePickClose","visibleTime","timePickerVisible","userInputTime","handleVisibleTimeChange","pick","handleTimePick","proxyTimePickerDataProperties","currentView","prevYear","prevMonth","showYearPicker","yearLabel","showMonthPicker","nextYear","nextMonth","firstDayOfWeek","disabledDate","handleDatePick","handleYearPick","handleMonthPick","footerVisible","changeToNow","confirm","timevue_type_template_id_3d939089_render","showSeconds","useArrow","amPmMode","handleCancel","time_spinnervue_type_template_id_1facadeb_render","noresize","emitSelectRange","mousemove","adjustCurrentSpinner","hoursList","hour","hours","amPm","minutesList","enabled","minutes","second","seconds","arrowHourList","arrowMinuteList","minute","arrowSecondList","time_spinnervue_type_script_lang_js_","getHours","getMinutes","getSeconds","currentScrollbar","bindScrollEvent","scrollDown","modifyDateField","adjustSpinner","bindFunction","wrap","onscroll","scrollBarHeight","typeItemHeight","time_spinner_component","time_spinner","timevue_type_script_lang_js_","TimeSpinner","spinner","needInitAdjust","selectionRange","first","mapping","changeSelectionRange","_step","list","time_component","panel_time","year_tablevue_type_template_id_c86ab5e0_render","handleYearTableClick","startYear","year_table_component","getFullYear","today","numOfDays","firstDay","year_tablevue_type_script_lang_js_datesInYear","year_table","month_tablevue_type_template_id_654d4f42_render","handleMonthTableClick","clearDate","getMonthTimestamp","month_table_component","minDate","maxDate","rangeState","endDate","selecting","markRange","tableRows","lastRow","lastColumn","cellMatchesDate","month_tablevue_type_script_lang_js_datesInMonth","inRange","getMonthOfCell","pred","newDate","selectedDate","_loop","cellDate","month_table","date_tablevue_type_template_id_5d1f3341_render","showWeekNumber","WEEKS","isWeekActive","getCellClasses","_WEEKS","date_tablevue_type_script_lang_js_getDateTimestamp","date_table_component","offsetDay","startDate","day","dateCountOfMonth","dateCountOfLastMonth","numberOfDaysFromPreviousMonth","getDateOfCell","offsetFromStart","setMonth","setFullYear","dayOffset","_cell","weekNumber","date_table","datevue_type_script_lang_js_","inputElm","pickerWidth","getDefaultValue","timepicker","timeFormat","_date","_selectableRange","emit","onClick","checkDateWithinRange","handleKeyControl","monthDate","dateFormat","TimePicker","YearTable","MonthTable","DateTable","yearTranslation","date_component","panel_date","date_rangevue_type_template_id_2652849a_render","minVisibleDate","handleDateInput","handleDateChange","handleMinTimeClose","minVisibleTime","minTimePickerVisible","handleTimeInput","handleTimeChange","handleMinTimePick","minTimePicker","maxVisibleDate","handleMaxTimeClose","maxVisibleTime","maxTimePickerVisible","handleMaxTimePick","maxTimePicker","leftPrevYear","leftPrevMonth","enableYearArrow","leftNextYear","enableMonthArrow","leftNextMonth","leftLabel","leftDate","changerange","handleChangeRange","handleRangePick","rightPrevYear","rightPrevMonth","rightNextYear","rightNextMonth","rightLabel","rightDate","btnDisabled","date_rangevue_type_script_lang_js_calcDefaultValue","date_rangevue_type_script_lang_js_","leftYear","leftMonth","leftMonthDate","rightYear","rightMonth","rightMonthDate","dateUserInput","timeUserInput","yearOffset","minDateYear","minDateMonth","maxDateYear","maxDateMonth","_calcDefaultValue","onPick","date_range_component","date_range","month_rangevue_type_template_id_f2645fb8_render","month_rangevue_type_script_lang_js_calcDefaultValue","month_rangevue_type_script_lang_js_","month_range_component","month_range","date_picker_getPanel","date_picker","_type","packages_date_picker","time_selectvue_type_template_id_51ab9320_render","parseTime","compareTime","time1","time2","value1","value2","minutes1","minutes2","nextTime","timeValue","stepValue","formatTime","time_selectvue_type_script_lang_js_","selector","hasDefault","minTime","maxTime","time_select_component","time_select","picker_time_select","packages_time_select","time_rangevue_type_template_id_fb28660e_render","handleMinChange","setMinSelectionRange","handleMaxChange","setMaxSelectionRange","MIN_TIME","MAX_TIME","time_rangevue_type_script_lang_js_maxTimeOfDay","advanceTime","amount","time_rangevue_type_script_lang_js_","minSpinner","maxSpinner","minSelectableRange","maxSelectableRange","half","time_range_component","time_range","time_picker","isRange","_isRange","packages_time_picker","mainvue_type_template_id_52060272_render","transition","handleAfterEnter","handleAfterLeave","tooltipId","main_component","openDelay","closeDelay","wrapper","__vue__","doToggle","handleDocumentClick","doShow","doClose","cleanup","_timer","main","getReference","inserted","popover","src_main","manual","enterable","hideAfter","timeoutPending","popperVM","debounceClose","firstElement","getFirstElement","addTooltipClass","componentInstance","removeFocusing","expectedState","slots","packages_tooltip","mainvue_type_template_id_6b29b012_render","handleAction","distinguishCancelAndClose","dangerouslyUseHTMLString","innerHTML","showInput","inputType","inputPlaceholder","handleInputEnter","inputValue","visibility","editorErrorMessage","showCancelButton","cancelButtonClasses","cancelButtonLoading","roundButton","cancelButtonText","showConfirmButton","confirmButtonClasses","confirmButtonLoading","confirmButtonText","lib_locale_","lib_locale_default","aria_dialog_","aria_dialog_default","messageBox","typeMap","warning","src_main_component","closeOnHashChange","confirmButtonClass","cancelButtonClass","getSafeClose","currentId","uid","_closing","onClose","closeDialog","restoreBodyStyle","doAfterClose","action","$type","validate","inputPattern","inputErrorMessage","getInputElement","inputValidator","validateResult","getFirstFocus","btn","inputRefs","focusAfterClosed","confirmButtonDisabled","message_box_src_main","vdom_","main_typeof","main_defaults","modalFade","confirmButtonPosition","confirmButtonHighlight","cancelButtonHighlight","MessageBoxConstructor","currentMsg","main_instance","msgQueue","defaultCallback","main_showNextMsg","showNextMsg","closeTimer","oldCb","main_MessageBox","MessageBox","setDefaults","alert","prompt","message_box","breadcrumbvue_type_template_id_4b464c06_render","breadcrumb_component","separatorClass","elBreadcrumb","breadcrumb","packages_breadcrumb","breadcrumb_itemvue_type_template_id_fcf9eaac_render","to","breadcrumb_item_component","link","breadcrumb_item","packages_breadcrumb_item","formvue_type_template_id_a1b5ff34_render","labelPosition","inline","formvue_type_script_lang_js_","rules","labelWidth","labelSuffix","inlineMessage","showMessage","validateOnRuleChange","hideRequiredAsterisk","removeValidateEvents","addValidateEvents","autoLabelWidth","potentialLabelWidthArr","resetFields","resetField","clearValidate","valid","invalidFields","validateField","getLabelWidthIndex","registerLabelWidth","deregisterLabelWidth","form_component","src_form","packages_form","form_itemvue_type_template_id_b6f3db6c_render","isRequired","sizeClass","labelStyle","labelFor","contentStyle","validateMessage","external_async_validator_","external_async_validator_default","label_wrapvue_type_script_lang_js_","isAutoWidth","updateAll","marginLeft","computedWidth","getLabelWidth","firstElementChild","updateLabelWidth","updateComputedLabelWidth","label_wrap_component","label_wrap_render","label_wrap_staticRenderFns","label_wrap","form_itemvue_type_script_lang_js_","validateStatus","LabelWrap","ret","computedLabelWidth","parentName","fieldValue","getRules","rule","_formSize","validateDisabled","getFilteredRule","descriptor","firstFields","formRules","selfRules","requiredRule","onFieldBlur","onFieldChange","form_item_component","form_item","packages_form_item","tab_barvue_type_template_id_2031f33a_render","rootTabs","tabPosition","barStyle","tab_bar_component","tabs","tabSize","sizeName","sizeDir","firstUpperCase","str","L","paneName","tabStyles","paddingRight","msTransform","webkitTransform","tab_bar","noop","tab_navvue_type_script_lang_js_firstUpperCase","tab_navvue_type_script_lang_js_","TabBar","panes","currentName","onTabClick","onTabRemove","stretch","scrollable","navOffset","isFocus","focusable","navStyle","scrollPrev","containerSize","navScroll","currentOffset","newOffset","scrollNext","navSize","nav","scrollToActiveTab","activeTab","isHorizontal","activeTabBounding","navScrollBounding","maxOffset","update","_currentOffset","changeTab","tabList","setFocus","removeFocus","visibilityChangeHandler","visibilityState","windowBlurHandler","windowFocusHandler","scrollBtn","pane","tabName","isClosable","btnClose","tabLabelContent","refInFor","tab_nav_component","tab_nav_render","tab_nav_staticRenderFns","tabsvue_type_script_lang_js_","TabNav","activeName","addable","setCurrentName","calcPaneInstances","isForceUpdate","componentOptions","Ctor","panesChanged","handleTabClick","handleTabRemove","handleTabAdd","changeCurrentName","newButton","tabs_component","tabs_render","tabs_staticRenderFns","packages_tabs","tab_panevue_type_template_id_9145a070_render","tab_pane_component","labelContent","tab_pane","packages_tab_pane","tag_component","disableTransitions","tagSize","tagEl","tag_render","tag_staticRenderFns","src_tag","packages_tag","treevue_type_template_id_547575a6_render","highlightCurrent","draggingNode","allowDrop","dropType","getNodeKey","renderAfterExpand","showCheckbox","renderContent","handleNodeExpand","showDropIndicator","NODE_KEY","markNodeData","configurable","writable","util_getNodeKey","_createClass","defineProperties","protoProps","staticProps","getChildState","none","allWithoutDisable","reInitChecked","_getChildState","checkStrictly","getPropertyFromData","dataProp","nodeIdSeed","node_Node","Node","node_classCallCheck","isCurrent","registerNode","isLeaf","isLeafByUser","defaultExpandedKeys","autoExpandParent","currentNodeKey","currentNode","_initDefaultCheckedNode","updateLeafState","insertChild","walk","batch","getChildren","insertBefore","insertAfter","dataIndex","deregisterNode","removeChildByData","targetNode","expandParent","shouldLoadData","setChecked","doCreateChildren","defaultProps","recursion","passValue","checkDescendants","_getChildState2","handleDescendants","isCheck","_getChildState3","_all","forceInit","updateChildren","newData","oldData","newDataMap","newNodes","nodeKey","model_node","tree_store_typeof","tree_store_TreeStore","TreeStore","tree_store_classCallCheck","nodesMap","loadFn","_initDefaultCheckedNodes","filterNodeMethod","allHidden","getNode","refData","refNode","parentData","defaultCheckedKeys","checkedKey","setDefaultCheckedKey","getCheckedNodes","leafOnly","includeHalfChecked","checkedNodes","getCheckedKeys","getHalfCheckedNodes","nodes","getHalfCheckedKeys","_getAllNodes","allNodes","_child","_setCheckedKeys","checkedKeys","cache","setCheckedNodes","setCheckedKeys","setDefaultExpandedKeys","getCurrentNode","setCurrentNode","prevCurrentNode","setUserCurrentNode","currNode","setCurrentNodeKey","tree_store","tree_nodevue_type_template_id_3ba3ef0e_render","this$1","draggable","contextmenu","handleDragStart","dragover","handleDragOver","dragend","handleDragEnd","drop","handleDrop","handleExpandIconClick","handleCheckChange","childNodeRendered","handleChildNodeExpand","tree_nodevue_type_script_lang_js_","NodeContent","oldChecked","oldIndeterminate","handleSelectChange","expandOnClickNode","checkOnClickNode","_events","halfCheckedNodes","halfCheckedKeys","nodeData","isTree","accordion","tree_node_component","tree_node","treevue_type_script_lang_js_","ElTreeNode","treeItems","checkboxItems","dropNode","allowDrag","treeItemArray","checkbox","getNodePath","getCurrentKey","setCurrentKey","updateKeyChildren","initTabIndex","checkedItem","currentItem","hasInput","dataTransfer","effectAllowed","findNearestComponent","oldDropNode","dropPrev","dropInner","dropNext","userAllowDropInner","dropEffect","nextSibling","previousSibling","targetPosition","treePosition","prevPercent","nextPercent","indicatorTop","distance","clientY","iconPosition","dropIndicator","draggingNodeCopy","tree_component","src_tree","packages_tree","mainvue_type_template_id_6e53341b_render","typeClass","showIcon","isBigIcon","isBoldTitle","description","closeText","TYPE_CLASSES_MAP","alert_src_main_component","alert_src_main","packages_alert","mainvue_type_template_id_43dbc3d8_render","horizontalClass","positionStyle","clearTimer","startTimer","mainvue_type_script_lang_js_typeMap","notification_src_main_component","duration","verticalOffset","timer","verticalProperty","destroyElement","notification_src_main","NotificationConstructor","src_main_instance","instances","seed","main_Notification","Notification","userOnClose","dom","removedHeight","closeAll","notification","mainvue_type_template_id_32708644_render","vertical","sliderDisabled","showInputControls","firstValue","runwayStyle","onSliderClick","tooltipClass","secondValue","stops","showStops","getStopStyle","markList","mark","input_number_","input_number_default","buttonvue_type_template_id_e72d2ad2_render","wrapperStyle","onButtonDown","touchstart","onLeftKeyDown","onRightKeyDown","showTooltip","formatValue","src_button_component","isClick","startX","currentX","startY","currentY","startPosition","newPosition","currentPosition","enableFormat","formatTooltip","displayTooltip","hideTooltip","onDragStart","onDragging","onDragEnd","setPosition","touches","resetSize","diff","sliderSize","lengthPerStep","slider_src_button","marker","slider_src_mainvue_type_script_lang_js_","marks","ElInputNumber","SliderButton","SliderMarker","setValues","minValue","maxValue","valueChanged","button1","sliderOffsetBottom","slider","sliderOffsetLeft","stopCount","stepWidth","point","barSize","barStart","valuetext","slider_src_main_component","slider_src_main","loadingvue_type_template_id_eee0a7ac_render","viewBox","cx","cy","loading_component","setText","after_leave_","after_leave_default","Mask","loadingDirective","toggleLoading","modifiers","originalPosition","originalOverflow","maskStyle","mask","insertDom","scroll","documentElement","hiding","domVisible","lock","domInserted","textExr","spinnerExr","backgroundExr","customClassExr","vm","unbind","src_directive","LoadingConstructor","src_defaults","fullscreenLoading","src_addStyle","packages_loading","use","$loading","service","iconvue_type_template_id_cb3fe7f4_render","icon_component","packages_icon","src_row","gutter","justify","marginRight","packages_row","col_typeof","span","pull","xs","sm","md","lg","xl","packages_col","upload_listvue_type_template_id_173fedf5_render","listType","files","file","status","url","alt","percentage","parsePercentage","handlePreview","progress_","progress_default","upload_list_component","ElProgress","upload_list","external_babel_helper_vue_jsx_merge_props_","external_babel_helper_vue_jsx_merge_props_default","upload_draggervue_type_template_id_7ebbf219_render","onDrop","onDragover","dragleave","upload_dragger_component","uploader","accept","extension","baseType","acceptedType","uploadvue_type_script_lang_js_","UploadDragger","headers","withCredentials","onStart","onProgress","onSuccess","beforeUpload","drag","onPreview","onRemove","fileList","autoUpload","httpRequest","XMLHttpRequest","xhr","upload","onprogress","formData","FormData","filename","msg","response","responseText","getError","parse","getBody","setRequestHeader","send","limit","onExceed","mouseover","reqs","isImage","uploadFiles","postFiles","rawFile","post","processedFile","fileType","File","abort","req","upload_component","upload_render","upload_staticRenderFns","src_upload","srcvue_type_script_lang_js_noop","upload_src_component","UploadList","Upload","dragger","showFileList","beforeRemove","onChange","dragOver","draging","tempIndex","uploadDisabled","raw","URL","createObjectURL","handleStart","handleProgress","getFile","handleSuccess","handleError","handleRemove","doRemove","clearFiles","submit","revokeObjectURL","uploadList","uploadComponent","tip","src_render","src_staticRenderFns","upload_src","packages_upload","progressvue_type_template_id_229ee406_render","showText","textInside","strokeWidth","defineBackColor","trailPathStyle","trackPath","stroke","relativeStrokeWidth","circlePathStyle","strokeLinecap","fontSize","progressTextSize","progress_component","getCurrentColor","radius","isDashboard","perimeter","PI","rate","strokeDashoffset","strokeDasharray","getLevelColor","colorArray","getColorArray","seriesColor","progress","packages_progress","spinnervue_type_template_id_697b8538_render","strokeColor","spinner_component","packages_spinner","mainvue_type_template_id_455b9f60_render","src_mainvue_type_script_lang_js_typeMap","message_src_main_component","message_src_main","types_","main_extends","MessageConstructor","message_src_main_instance","main_instances","main_seed","main_Message","Message","packages_message","mainvue_type_template_id_7ccb6598_render","hidden","isDot","badge_src_main_component","badge_src_main","badge","mainvue_type_template_id_59a4a40f_render","shadow","card_src_main_component","card_src_main","card","mainvue_type_template_id_ada57782_render","handleKey","rateDisabled","resetCurrentValue","selectValue","getIconStyle","showDecimalIcon","decimalIconClass","decimalStyle","showScore","rate_src_mainvue_type_script_lang_js_","pointerAtLeftHalf","lowThreshold","highThreshold","colors","voidColor","disabledVoidColor","voidIconClass","disabledVoidIconClass","allowHalf","texts","scoreTemplate","valueDecimal","classMap","excluded","getValueFromMap","voidClass","activeClass","colorMap","threshold","matchedKeys","matchedValue","showWhenDisabled","showWhenAllowHalf","offsetX","rate_src_main_component","rate_src_main","packages_rate","stepsvue_type_template_id_3c6b6dc0_render","simple","steps_component","alignCenter","finishStatus","processStatus","steps","stepOffset","_steps","packages_steps","stepvue_type_template_id_f414a87a_render","isSimple","isLast","isCenter","isVertical","currentStatus","lineStyle","stepvue_type_script_lang_js_","internalStatus","prevStatus","prevStep","stepsCount","flexBasis","maxWidth","updateStatus","prevChild","calcProgress","transitionDelay","borderWidth","unwatch","step_component","packages_step","mainvue_type_template_id_5d5d1482_render","carouselClasses","arrowDisplay","arrow","loop","handleButtonEnter","handleButtonLeave","throttledArrowClick","indicatorPosition","indicatorsClasses","throttledIndicatorHover","handleIndicatorClick","hasLabel","throttle_","throttle_default","carousel_src_main_component","initialIndex","autoplay","indicator","containerWidth","setActiveItem","resetItemPosition","pauseTimer","itemInStage","inStage","updateItems","oldIndex","translateItem","playSlides","resetTimer","filteredItems","handleIndicatorHover","carousel_src_main","carousel","BAR_MAP","scrollSize","axis","client","horizontal","renderThumbStyle","move","bar","translate","src_bar","clickTrackHandler","clickThumbHandler","ctrlKey","startDrag","thumbPositionPercentage","thumb","stopImmediatePropagation","cursorDown","mouseMoveDocumentHandler","mouseUpDocumentHandler","prevPage","scrollbar_src_main","Bar","wrapStyle","wrapClass","viewClass","viewStyle","sizeWidth","sizeHeight","moveX","moveY","gutterWith","gutterStyle","marginBottom","view","heightPercentage","widthPercentage","itemvue_type_template_id_1801ae19_render","ready","animating","CARD_SCALE","item_component","scale","processIndex","calcCardTranslate","parentWidth","calcTranslate","parentType","parentDirection","src_item","carousel_item","collapsevue_type_template_id_461d57f4_render","collapse_component","activeNames","setActiveNames","packages_collapse","collapse_itemvue_type_template_id_2d05faac_render","handleEnterClick","collapse_item_component","contentWrapStyle","contentHeight","_uid","collapse_item","packages_collapse_item","cascadervue_type_template_id_032537a6_render","toggleDropDownVisible","realSize","inputHover","handleKeyDown","dropDownVisible","presentText","clearBtnVisible","presentTags","handleDelete","$forceUpdate","handleDropdownLeave","filtering","handleExpandChange","checkedValue","handleSuggestionKeyDown","handleSuggestionClick","cascader_panel_","cascader_panel_default","aria_utils_","aria_utils_default","KeyCode","MigratingProps","expandTrigger","newProp","changeOnSelect","hoverThreshold","PopperMixin","InputSizeMap","cascadervue_type_script_lang_js_","ElCascaderPanel","showAllLevels","beforeFilter","inputInitialHeight","pressDeleteCount","oldProp","_MigratingProps$oldPr","computePresentContent","_config","updateStyle","isEmptyValue","filterHandler","getSuggestions","scrollIntoView","focusFirstNode","clearCheckedNodes","suggestionPanel","firstNode","computePresentTags","computePresentText","emitPath","getNodeByValue","getText","genTag","rest","restCount","keyword","includes","getFlattedNodes","getValueByOption","previousElementSibling","nextElementSibling","lastTag","doCheck","calculateMultiCheckedValue","inputInner","suggestionPanelEl","cascader_component","cascader","packages_cascader","mainvue_type_template_id_55c8ade7_render","colorDisabled","colorSize","handleTrigger","showAlpha","displayedColor","showPanelColor","predefine","confirmValue","clearValue","color_typeof","hsv2hsl","hue","sat","bound01","processPercent","isPercentage","INT_HEX_MAP","HEX_INT_MAP","A","B","C","D","E","F","parseHexChannel","hex","rgb2hsv","hsv2rgb","q","mod","Color","color_classCallCheck","_hue","_saturation","_alpha","enableAlpha","doOnChange","toRgb","fromString","fromHSV","parts","_hsl2hsv","light","smin","lmin","hsl2hsv","_parts","_parts2","_rgb2hsv","substring","_rgb2hsv2","hsl","_hsv2rgb","_hsl","_hsv2rgb2","_r","_g","hexOne","high","low","toHex","src_color","picker_dropdownvue_type_template_id_06601625_render","customInput","sv_panelvue_type_template_id_d8583596_render","cursorTop","cursorLeft","isDragging","moveFn","upFn","sv_panel_component","colorValue","saturation","handleDrag","sv_panel","hue_slidervue_type_template_id_5cdc43b1_render","thumbLeft","thumbTop","hue_slider_component","hueValue","getThumbLeft","getThumbTop","dragConfig","hue_slider","alpha_slidervue_type_template_id_068c66cb_render","alpha_slider_component","alpha","getBackground","_color$toRgb","alpha_slider","predefinevue_type_template_id_06e03093_render","rgbaColors","predefine_component","parseColors","picker_dropdown_component","SvPanel","HueSlider","AlphaSlider","Predefine","currentColor","sl","picker_dropdown","color_picker_src_main_component","colorFormat","displayedRgb","currentValueColor","resetColor","PickerDropdown","color_picker_src_main","color_picker","mainvue_type_template_id_5c654dd8_render","sourceData","titles","leftDefaultChecked","filterPlaceholder","onSourceCheckedChange","hasButtonTexts","rightChecked","addToLeft","buttonTexts","leftChecked","addToRight","targetData","rightDefaultChecked","onTargetCheckedChange","transfer_panelvue_type_template_id_2ddab8bd_render","isIndeterminate","handleAllCheckedChange","allChecked","checkedSummary","hasFooter","inputIcon","clearQuery","hasNoMatch","keyProp","disabledProp","transfer_panelvue_type_script_lang_js_","OptionContent","getParent","transfer","labelProp","defaultChecked","checkChangeByUser","updateAllChecked","movedKeys","filteredDataKeys","checkableData","checkableDataKeys","checkedLength","dataLength","_format","noChecked","hasChecked","transfer_panel_component","transfer_panel","transfer_src_main_component","TransferPanel","targetOrder","dataObj","itemsToBeMoved","itemKey","which","leftPanel","rightPanel","transfer_src_main","mainvue_type_template_id_5bf181d4_render","container_src_main_component","container_src_main","packages_container","mainvue_type_template_id_2b296ab2_render","header_src_main_component","header_src_main","mainvue_type_template_id_03411dbf_render","aside_src_main_component","aside_src_main","aside","mainvue_type_template_id_2a3a7406_render","main_src_main_component","main_src_main","packages_main","mainvue_type_template_id_80210338_render","footer_src_main_component","footer_src_main","timeline_src_mainvue_type_script_lang_js_","timeline","timeline_src_main_component","main_render","main_staticRenderFns","timeline_src_main","itemvue_type_template_id_61a69e50_render","dot","hideTimestamp","timestamp","src_item_component","timeline_src_item","timeline_item","mainvue_type_template_id_01cf3b65_render","underline","link_src_main_component","link_src_main","packages_link","mainvue_type_template_id_7fa02a7e_functional_true_render","listeners","contentPosition","divider_src_main_component","divider_src_main","divider","mainvue_type_template_id_44d84a7c_render","preview","imageStyle","clickHandler","$listeners","showViewer","imageIndex","closeViewer","previewSrcList","image_viewervue_type_template_id_5e73b307_render","viewerZIndex","handleMaskClick","isSingle","infinite","isFirst","handleActions","toggleMode","urlList","imgStyle","currentImg","handleImgLoad","handleImgError","image_viewervue_type_script_lang_js_extends","Mode","CONTAIN","ORIGINAL","mousewheelEventName","image_viewervue_type_script_lang_js_","onSwitch","maskClosable","isShow","deg","offsetY","enableTransition","_transform","reset","img","complete","deviceSupportUninstall","deviceSupportInstall","_keyDownHandler","_mouseWheelHandler","wheelDelta","detail","zoomRate","_transform2","pageY","_dragHandler","modeNames","_zoomRate$rotateDeg$e","rotateDeg","image_viewer_component","image_viewer","isSupportObjectFit","objectFit","ObjectFit","prevOverflow","image_src_main_component","ImageViewer","scrollContainer","imageWidth","imageHeight","getImageStyle","previewIndex","srcIndex","loadImage","addLazyLoadListener","removeLazyLoadListener","Image","handleLoad","handleLazyLoad","_scrollContainer","_lazyLoadHandler","_$el","containerHeight","imageAspectRatio","containerAspectRatio","image_src_main","packages_image","mainvue_type_template_id_6d9756be_render","i18nDate","validatedRange","selectDate","realSelectedDay","realFirstDayOfWeek","pickDay","date_","date_default","src_date_tablevue_type_script_lang_js_","selectedDay","hideHeader","toNestedArr","days","getFormateDate","curMonthDatePrefix","prevMonthDatePrefix","nextMonthDatePrefix","formatedToday","cellRenderProxy","elCalendar","dateCell","WEEK_DAYS","dayNames","temp","isInRange","_range","currentMonthRange","remaining","nextMonthRange","prevMonthDays","currentMonthDays","nextMonthDays","weekDays","thead","src_date_table_component","date_table_render","date_table_staticRenderFns","src_date_table","validTypes","oneDay","calendar_src_main_component","formatedDate","rangeValidator","isStart","expected","startDay","lastDay","nextMontFirstDay","calendar_src_main","calendar","mainvue_type_template_id_257dd4a9_render","styleRight","styleBottom","cubic","backtop_src_mainvue_type_script_lang_js_","visibilityHeight","container","throttledScrollHandler","scrollToTop","beginTime","beginValue","rAF","func","frameFunc","backtop_src_main_component","backtop_src_main","backtop","getPositionSize","getOffsetHeight","attributes","delay","main_getScrollOptions","getElementTop","main_handleScroll","_scope","_getScrollOptions","containerInfo","shouldTrigger","scrollBottom","getClientHeight","css","getStyleComputedProperty","disconnect","infinite_scroll_src_main","_getScrollOptions2","MutationObserver","observe","childList","subtree","_el$scope","infinite_scroll","mainvue_type_template_id_5070954c_render","page_header_src_main_component","page_header_src_main","page_header","cascader_panelvue_type_template_id_34932346_render","menus","radio_","radio_default","cascader_node_component","ElRadio","nodeId","isSameNode","inActivePath","isInPath","activePath","inCheckedPath","checkedNodePaths","checkedPath","handleExpand","lazyLoad","handleMultiCheckChange","pathNodes","renderPrefix","renderCheckbox","renderRadio","renderCheckIcon","renderPostfix","renderLoadingIcon","renderExpandIcon","renderLabelFn","cascader_node_render","cascader_node_staticRenderFns","cascader_node","cascader_menu_component","CascaderNode","activeNode","hoverTimer","menuId","hoverZone","clearHoverZone","renderEmptyText","renderNodeList","isHoverMenu","cascader_menu_render","cascader_menu_staticRenderFns","cascader_menu","node_createClass","src_node_Node","src_node_classCallCheck","initState","initChildren","labelKey","calculatePathNodes","pathLabels","childrenData","getPath","getValue","allLevels","handlerName","_len2","_key2","onParentCheck","setCheckState","onChildCheck","validChildren","totalNum","checkedNum","syncCheckState","disabledKey","_config2","leafKey","leaf","src_node","flatNodes","store_Store","Store","store_classCallCheck","initNodes","flattedNodes","leafNodes","appendNode","appendNodes","nodeDataList","getNodes","cached","cachedNodes","cascader_panel_src_store","cascader_panelvue_type_script_lang_js_extends","cascader_panelvue_type_script_lang_js_KeyCode","DefaultProps","cascader_panelvue_type_script_lang_js_isLeaf","getSibling","siblings","getMenuIndex","pieces","focusNode","cascader_panel_component","CascaderMenu","renderLabel","loadCount","syncCheckedValue","calculateCheckedNodePaths","initStore","syncMenuState","syncActivePath","syncMultiCheckState","expandNodes","checkedValues","checkedNode","preMenu","expandedNode","nextMenu","checkNode","pathValues","activePathValues","onFullfiled","dataList","nodeValue","menuElement","cascader_panel","packages_cascader_panel","avatar_src_mainvue_type_script_lang_js_","shape","srcSet","isImageExist","avatarClass","renderAvatar","lineHeight","avatar_src_main_component","src_main_render","src_main_staticRenderFns","avatar_src_main","avatar","mainvue_type_template_id_a4885264_render","drawerSize","withHeader","closeDrawer","drawer_src_main_component","wrapperClosable","prevActiveElement","drawer_src_main","drawer","mainvue_type_template_id_76339aa7_render","valueStyle","disposeValue","lodash_","statistic_src_mainvue_type_script_lang_js_","timeTask","REFRESH_INTERVAL","decimalSeparator","groupSeparator","timeIndices","branch","dispose","mulriple","countDown","valueOf","magnification","_String$split","integer","diffDate","minuend","subtrahend","suspend","isStop","formatTimeStr","escapeRegex","keepList","formatText","con","sum","divide","stopTime","timeVlaue","than","diffTiem","$once","statistic_src_main_component","statistic_src_main","statistic","mainvue_type_template_id_048de730_render","hideIcon","iconColor","cancelButtonType","displayCancelButtonText","confirmButtonType","displayConfirmButtonText","popover_","popconfirm_src_main_component","ElPopover","popconfirm_src_main","popconfirm","srcvue_type_template_id_7f659269_render","uiLoading","animated","variant","skeleton_srcvue_type_script_lang_js_","throttle","timeoutHandle","skeleton_src_component","skeleton_src","skeleton","itemvue_type_template_id_4bc8804c_render","img_placeholdervue_type_template_id_1b2cb5c0_render","xmlns","img_placeholder_component","_components","img_placeholder","skeleton_src_item_component","skeleton_src_item","skeleton_item","srcvue_type_template_id_347ced91_render","image","emptyDescription","img_emptyvue_type_template_id_42918b82_render","version","x1","y1","x2","y2","points","img_emptyvue_type_script_lang_js_id","img_empty_component","srcvue_type_script_lang_js_components","img_empty","empty_src_component","imageSize","empty_src","src_components","descriptions_row_extends","descriptions_row","elDescriptions","colon","contentClassName","src_extends","descriptions_src","extra","descriptionsSize","getOptionProps","_componentOptions$pro","_componentOptions$Cto","getSlots","isEmptyElement","filledNode","getRows","descriptions","descriptions_item","packages_descriptions_item","srcvue_type_template_id_3408b139_render","iconElement","subTitle","icon_successvue_type_template_id_18119418_render","icon_success_component","icon_success","icon_errorvue_type_template_id_21199246_render","icon_error_component","icon_error","icon_warningvue_type_template_id_46fe8f31_render","icon_warning_component","icon_warning","icon_infovue_type_template_id_19e3de69_render","icon_info_component","result_srcvue_type_script_lang_js_components","icon_info","IconMap","result_srcvue_type_script_lang_js_","result_src_component","result_src","packages_result","src_install","i18n","$msgbox","$alert","$confirm","$prompt","$notify","$message","CollapseTransition","Loading","Pagination","Dialog","Autocomplete","Dropdown","DropdownMenu","DropdownItem","Submenu","MenuItemGroup","Input","InputNumber","Radio","RadioGroup","RadioButton","Checkbox","CheckboxButton","CheckboxGroup","Switch","Select","Option","OptionGroup","Button","ButtonGroup","Table","TableColumn","DatePicker","TimeSelect","Popover","Tooltip","Breadcrumb","BreadcrumbItem","Form","FormItem","Tabs","TabPane","Tag","Tree","Alert","Slider","Icon","Row","Col","Progress","Spinner","Badge","Card","Rate","Steps","Step","Carousel","Scrollbar","CarouselItem","Collapse","CollapseItem","Cascader","ColorPicker","Transfer","Container","Header","Aside","Main","Footer","Timeline","TimelineItem","Link","Divider","Calendar","Backtop","InfiniteScroll","PageHeader","CascaderPanel","Avatar","Drawer","Statistic","Popconfirm","Skeleton","SkeletonItem","Empty","Descriptions","DescriptionsItem","Result","DEBUG_BUILD","__SENTRY_DEBUG__","orderBy","ownKeys","enumerableOnly","symbols","sym","getOwnPropertyDescriptor","_objectSpread","_defineProperty","getOwnPropertyDescriptors","_defineProperties","API_VERSION","Hub","isolationScope","assignedScope","assignedIsolationScope","_version","setClient","_stack","bindClient","_isolationScope","getStackTop","setupIntegrations","getScope","clone","getStack","getClient","maybePromiseResult","pushScope","popScope","exception","hint","eventId","_lastEventId","event_id","syntheticException","captureException","originalException","captureMessage","captureEvent","_this$getStackTop","getOptions","_ref$beforeBreadcrumb","beforeBreadcrumb","_ref$maxBreadcrumbs","maxBreadcrumbs","mergedBreadcrumb","finalBreadcrumb","addBreadcrumb","user","setUser","getIsolationScope","setTags","extras","setExtras","setTag","setExtra","setContext","_this$getStackTop2","oldHub","makeMain","integration","getIntegration","_oO","customSamplingContext","_callExtensionMethod","endSession","_sendSessionUpdate","session","getSession","setSession","_this$getStackTop3","release","_ref2$environment","environment","getUser","currentSession","sendDefaultPii","_this$getStackTop4","captureSession","sentry","getMainCarrier","extensions","hub","registry","getHubFromCarrier","setHubOnCarrier","getCurrentHub","acs","getGlobalHub","hasHubOnCarrier","isOlderThan","runWithAsyncContext","carrier","buildLocalizeFn","dirtyIndex","dirtyOptions","valuesArray","formattingValues","defaultWidth","defaultFormattingWidth","_defaultWidth","_width","argumentCallback","buildMatchFn","dirtyString","matchPattern","matchPatterns","defaultMatchWidth","matchResult","matchedString","parsePatterns","defaultParseWidth","findIndex","pattern","predicate","findKey","valueCallback","objectToString","isError","wat","isInstanceOf","isBuiltin","isErrorEvent","isDOMError","isDOMException","isParameterizedString","isPrimitive","isPlainObject","isEvent","Event","isElement","Element","isRegExp","isThenable","isSyntheticEvent","base","isVueViewModel","__isVue","_isVue","_curry1","f1","toInteger","dirtyNumber","CONSOLE_LEVELS","originalConsoleMethods","consoleSandbox","wrappedFuncs","wrappedLevels","originalConsoleMethod","logger","enable","disable","isEnabled","_GLOBAL_OBJ$console","makeLogger","replacementFactory","original","wrapped","markFunctionWrapped","addNonEnumerableProperty","o_O","log","getOriginalFunction","__sentry_original__","urlEncode","encodeURIComponent","convertToPlainObject","getOwnProperties","newObj","serializeEventTarget","CustomEvent","extractedProps","extractExceptionKeysForMessage","maxLength","includedKeys","serialized","dropUndefinedKeys","_dropUndefinedKeys","memoizationMap","isPojo","memoVal","returnValue","_Object$keys","_memoVal","_returnValue","_isPlaceholder","uuid4","crypto","msCrypto","getRandomByte","randomUUID","getRandomValues","typedArray","Uint8Array","getFirstException","getEventDescription","firstException","addExceptionTypeValue","addExceptionMechanism","newMechanism","currentMechanism","mechanism","handled","mergedData","checkOrSetAlreadyCaught","__sentry_captured__","arrayify","maybeArray","buyerAndSellerCountryIsEq","countryCode","sellerCountry","seller_address_country_code","buyer_address_country_code","countryCodeIsNot","stateOrCountryCode","stateCountryCode","country","countryCodeIs","defaultInvoiceKind","defaultInvoiceNumber","formattedDate","buildFormatLongFn","formats","isFunction","isArrayBuffer","isBuffer","isFormData","isArrayBufferView","ArrayBuffer","isView","buffer","isNumber","isDate","isFile","isBlob","isStream","pipe","isURLSearchParams","URLSearchParams","isMiniBrowserEnv","merge","assignValue","deepMerge","toStr","onlyNumbers","numbersToCurrency","numbers","exp","setCursor","opt","allowBlank","formattedInput","customPrecision","decimalParts","stringParts","negative","addThousandSeparator","thousands","joinIntegerAndDecimal","unformat","numberFormatKeys","OBJECT_STRING","parseArgs","params","looseClone","arguments$1","output","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","keysA","keysB","mixin","__i18n","VueI18n","localeMessages","resource","mergeLocaleMessage","_i18n","_i18nWatcher","watchI18nData","$i18n","fallbackLocale","silentTranslationWarn","silentFallbackWarn","pluralizationRules","preserveDirectiveContent","localeMessages$1","messages","sync","_localeWatcher","watchLocale","beforeMount","subscribeDataChanging","_subscribing","unsubscribeDataChanging","destroyVM","interpolationComponent","places","everyPlace","numberComponent","_ntp","part","scopedSlots","assert","oldVNode","_locale","localeEqual","_localeMessage","getLocaleMessage","preserve","_vt","ref$1","ref$2","choice","tc","makeParams","_Vue","installed","$t","_getMessages","$tc","_tc","$te","_te","$d","$n","optionMergeStrategies","parentVal","childVal","BaseFormatter","_caches","interpolate","tokens","_char","sub","isClosed","RE_TOKEN_LIST_VALUE","RE_TOKEN_NAMED_VALUE","compiled","token","compile","pathStateMachine","literalValueRE","getPathCharType","ch","charCodeAt","formatSubPath","trimmed","charAt","I18nPath","_cache","parsePath","newChar","subPathDepth","actions","maybeUnescapeQuote","nextChar","parse$1","getPathValue","paths","last","availabilities","htmlTagMatcher","linkKeyMatcher","linkKeyPrefixMatcher","bracketsMatcher","formatters","toLocaleUpperCase","toLocaleLowerCase","defaultFormatter","dateTimeFormats","numberFormats","_formatter","_missing","missing","_root","_sync","_fallbackRoot","fallbackRoot","_silentTranslationWarn","_silentFallbackWarn","_dateTimeFormatters","_numberFormatters","_path","_dataListeners","_preserveDirectiveContent","_warnHtmlInMessage","warnHtmlInMessage","_exist","_checkLocaleMessage","_initVM","prototypeAccessors","availableLocales","_getDateTimeFormats","_getNumberFormats","orgLevel","_warnDefault","missingRet","_isFallbackRoot","_isSilentFallback","_interpolate","host","interpolateMode","visitedLinkStack","pathRet","_link","_render","linkKeyPrefixMatches","linkPrefix","formatterName","linkPlaceholder","translated","_translate","fallback","parsedArgs","predefined","fetchChoice","choices","getChoiceIndex","choicesLength","_choice","_choicesLength","te","setLocaleMessage","getDateTimeFormat","setDateTimeFormat","mergeDateTimeFormat","_localizeDateTime","Intl","DateTimeFormat","_d","getNumberFormat","setNumberFormat","mergeNumberFormat","_getNumberFormatter","NumberFormat","_n","numberFormat","formatToParts","intlDefined","dateTimeFormat","extractCountryCode","lang","cs","loadTranslations","amounts","premium","_slicedToArray","_arrayWithHoles","_arr","_iterableToArrayLimit","minLen","_arrayLikeToArray","from","_unsupportedIterableToArray","_nonIterableRest","arr2","arrayToObject","normalizeNamespace","namespace","getterType","mutationType","getField","updateField","mapFields","fieldsObject","$store","getters","pathsObject","entries","fieldKey","fieldPath","withScope","getCurrentScope","startSession","currentScope","_ref$environment","_has","multipleEmailsValidator","regex","validatePass","passwordForm","validatePassConfirmation","startOfTodayTimestamp","startOfDay","country_code","delivery_on","design","due_in","due_on_custom","issued_on","means_of_payment","rounding_type","show_qr_code","tax_point_on","vat_calculation","seller_bank_account_show_iban","lines","identifier","price","quantity","unit_type","vat_rate","discount_amount","discount_kind","is_discount_line","_destroy","dueOnIsCustom","validations","subscription","next_invoice_number","registration_number","visibilityConditions","invoiceForm","dateIsAfterDate","issued","taxPoint","issued_by","specific_symbol","payment_symbol","constant_symbol","vat_totals_currency_conversion","conversion_rate_message","logo","stamp","disableConditions","buyer_history_list","buyer_name","buyer_name_placeholder","buyer_tax_number_placeholder","buyer_company_number","buyer_tax_number","buyer_vat_number","buyer_address_street","buyer_address_city","buyer_address_postcode","buyer_address_subdivision","subdivision","buyer_email","recurring_auto_submit","buyer_phone","phoneValidations","buyer_web","seller_company_number","seller_name","seller_name_placeholder","seller_information","seller_tax_number_placeholder","seller_tax_number","seller_vat_number","seller_address_street","seller_address_city","seller_address_postcode","seller_address_subdivision","seller_bank_account_number","seller_bank_account_iban","seller_bank_account_swift","seller_bank_account_sort_code","seller_bank_account_routing_number","seller_email","seller_phone","seller_web","note","foot_note","register_eet","eet_invoice","recurring_ends_on","parseISO","recurring_ends_after_count","getEetFormConfig","establishment_number","cert_password","vat_number","testing_mode","cert_file","not_subject_to_eet","contactId","issuedOn","taxAmount","totalAmount","company_number","email","phone","phoneIsValid","password","passwordConfirmation","getEmailFormConfig","thankYouBody","thankYouSubject","documentBody","documentSubject","reminderBody","reminderSubject","currentPassword","senderEmail","recipientEmail","subject","getSequenceFormConfig","expenseSequenceFormat","invoiceSequenceFormat","taxCorrectionSequenceFormat","expenseSequenceNumber","invoiceSequenceNumber","taxCorrectionSequenceNumber","getSettingsFormConfig","getFormValidations","formConfig","valObj","retrieveFormConfig","is","Int8Array","_from","toObject","getValueByPath","generateId","arrayFindIndex","arrayFind","kebabCase","hyphenateRE","PATH_CASH_RECEIPT","PATH_CONTACT","PATH_CONTACTS","PATH_CONTACT_NEW","PATH_CONTACT_US","PATH_COOKIES","PATH_DASHBOARD","PATH_DELIVERY_NOTE","PATH_DIRECT_EXTEND","PATH_EXPENSE","PATH_EXPENSES","PATH_EXPENSE_CLONE","PATH_EXPENSE_NEW","PATH_FAQ","PATH_GIFT","PATH_HELP","PATH_INVOICE","PATH_INVOICES_OVERVIEW","PATH_INVOICE_CLONE","PATH_INVOICE_CREDIT_NOTE","PATH_INVOICE_EDIT","PATH_INVOICE_KIND","PATH_INVOICE_SHOW","PATH_INVOICE_TEMPLATES","PATH_INVOICE_TEMPLATES_GOOGLE","PATH_INVOICE_TEMPLATES_PDF","PATH_INVOICE_TEMPLATE_SHOW","PATH_INVOICE_TYPES","PATH_LANDING","PATH_MIGRATE_LINES","PATH_NEWBIES","PATH_NEW_REGISTRATION","PATH_NGO","PATH_ORDER","PATH_PRICELIST","PATH_PRIVACY_TERMS","PATH_REPORTS","PATH_ROOT","PATH_SAVED_LINES","PATH_SEND_FORGOTTEN_CODE","PATH_SIGNIN_LOGIN","PATH_TERMS_CONDITIONS","PATH_WORD_EXCEL","componentMap","path_invoice","invoiceType","path_invoice_template_show","path_invoice_templates","path_invoice_kind","path_invoice_show","path_invoice_edit","path_invoice_clone","path_invoice_credit_note","path_invoices_overview","path_delivery_note","path_cash_receipt","path_dashboard","path_contacts","path_contact","path_contact_new","path_reports","path_signin_login","path_pricelist","path_order","path_expense_new","path_expense","path_expense_clone","path_expenses","path_send_forgotten_code","path_ngo","path_newbies","path_word_excel","path_invoice_templates_google","path_invoice_templates_pdf","path_landing","path_gift","loadComponent","_componentMap$name","routeArray","vueRoutes","routeMap","entry","_componentMap$entry$n","_componentMap$entry$n2","eval","routes","scrollBehavior","staticRoutes","beforeEach","location","pathname","BREAK","visit","visitor","visitorKeys","enterLeaveMap","_Object$values","getEnterLeaveForKind","inArray","edits","ancestors","isLeaving","isEdited","editOffset","_edits","editKey","editValue","arrayKey","_edits2","_editKey","_editValue","_node$kind","_enterLeaveMap$get","_enterLeaveMap$get2","visitFn","kindVisitor","isMac","arrayEquals","capitalize","autoprefixer","isEdge","isIE","coerceTruthyValueToArray","escapeRegexpString","getPropByPath","strict","tempObj","keyArr","rafThrottle","locked","objToArray","_vue","_vue2","_types","prefixes","arrayA","arrayB","makeSession","startingTime","sid","started","ignoreDuration","toJSON","toISOString","did","abnormal_mechanism","ip_address","ipAddress","user_agent","sessionToJSON","updateSession","username","closeSession","TRACE_FLAG_SAMPLED","spanToTraceContext","_span$spanContext","spanContext","span_id","spanId","trace_id","traceId","_spanToJSON","spanToJSON","parent_span_id","origin","spanTimeInputToSeconds","ensureTimestampInSeconds","getSpanJSON","spanIsSpanClass","spanIsSampled","traceFlags","OperationTypeNode","Location","startToken","endToken","Token","line","QueryDocumentKeys","Name","Document","VariableDefinition","InlineFragment","IntValue","FloatValue","StringValue","BooleanValue","NullValue","EnumValue","ListValue","ObjectValue","ObjectField","NamedType","ListType","NonNullType","SchemaDefinition","OperationTypeDefinition","ScalarTypeDefinition","ObjectTypeDefinition","FieldDefinition","InputValueDefinition","InterfaceTypeDefinition","UnionTypeDefinition","EnumTypeDefinition","EnumValueDefinition","InputObjectTypeDefinition","DirectiveDefinition","SchemaExtension","ScalarTypeExtension","ObjectTypeExtension","InterfaceTypeExtension","UnionTypeExtension","EnumTypeExtension","InputObjectTypeExtension","kindValues","Set","isNode","maybeNode","maybeKind","atBegin","buildMatchPatternFn","parseResult","parsePattern","_isArray","_isString","XWrap","thisObj","_arity","_iterableReduce","xf","iter","_methodReduce","methodName","symIterator","_reduce","_xwrap","_arrayReduce","_iterator2","_interopRequireDefault","_symbol2","default","truncate","snipLine","colno","newLine","lineLength","safeJoin","delimiter","stringMatchesSomePattern","testString","requireExactStringMatch","isMatchingPattern","isWhiteSpace","isDigit","isLetter","isNameStart","isNameContinue","MILLISECONDS_IN_MINUTE","getTimezoneOffsetInMilliseconds","dirtyDate","baseTimezoneOffset","getTimezoneOffset","setSeconds","millisecondsPartOfTimezoneOffset","startOfUTCWeek","localeWeekStartsOn","weekStartsOn","defaultWeekStartsOn","RangeError","getUTCDay","setUTCDate","getUTCDate","setUTCHours","ONE_SECOND_IN_MS","dateTimestampInSeconds","timestampInSeconds","performance","approxStartingTimeOrigin","timeOrigin","createUnixTimestampInSecondsFunc","browserPerformanceTimeOrigin","performanceNow","dateNow","timeOriginDelta","timeOriginIsReliable","navigationStart","timing","navigationStartDelta","devtoolHook","__VUE_DEVTOOLS_GLOBAL_HOOK__","deepCopy","copy","forEachValue","Module","rawModule","runtime","_children","_rawModule","rawState","namespaced","addChild","getChild","hasChild","forEachChild","forEachGetter","forEachAction","forEachMutation","ModuleCollection","rawRootModule","register","targetModule","newModule","getNamespace","rawChildModule","unregister","isRegistered","plugins","_committing","_actions","_actionSubscribers","_mutations","_wrappedGetters","_modules","_modulesNamespaceMap","_subscribers","_watcherVM","_makeLocalGettersCache","payload","installModule","resetStoreVM","plugin","devtools","_devtoolHook","targetState","replaceState","subscribe","mutation","subscribeAction","devtoolPlugin","prototypeAccessors$1","genericSubscribe","subs","resetStore","hot","oldVm","wrappedGetters","partial","$$state","enableStrictMode","_withCommit","rootState","isRoot","parentState","getNestedState","moduleName","local","noNamespace","_payload","_options","unifyObjectStyle","gettersProxy","splitPos","localType","makeLocalGetters","makeLocalContext","registerMutation","rootGetters","registerAction","rawGetter","registerGetter","vuexInit","_init","applyMixin","registerModule","preserveState","unregisterModule","hasModule","hotUpdate","newOptions","committing","mapState","normalizeMap","getModuleByNamespace","vuex","mapMutations","mapGetters","mapActions","isValidMap","helper","startMessage","collapsed","groupCollapsed","group","endMessage","groupEnd","getFormattedTime","pad","getMilliseconds","times","createNamespacedHelpers","createLogger","stateBefore","stateAfter","transformer","mutationTransformer","mut","actionFilter","actionTransformer","act","logMutations","logActions","prevState","nextState","formattedTime","formattedMutation","formattedAction","isInContainer","getScrollContainer","isScroll","once","setStyle","listener","elRect","containerRect","innerWidth","innerHeight","hasEnumBug","nonEnumerableProps","hasArgsEnumBug","nIdx","ks","checkArgsLength","_curryN","received","combined","argsIdx","combinedIdx","_curry3","f3","__g","_zhCN2","_deepmerge2","merged","i18nHandler","vuei18n","DEFAULT_ENVIRONMENT","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","_this$_checkboxGroup","class","getGlobalEventProcessors","addGlobalEventProcessor","notifyEventProcessors","processors","processor","_final","hasModal","hasInitZIndex","modalDom","PopupManager","doOnModalClick","getInstance","deregister","modalStack","topItem","openModal","modalClass","closeModal","topPopup","depth","maxProperties","ERROR","normalizeToSize","maxSize","encodeURI","utf8Length","memo","_memo","memoize","unmemoize","stringified","objName","getConstructorName","stringifyValue","startsWith","remainingDepth","valueWithToJSON","numAdded","visitable","visitKey","visitValue","_broadcast","it","fullWidth","hasStateBadge","isNavbarButton","likeAnchor","newDesign","newDropdown","noBorder","warningNew","withLongText","analytics","category","$route","__default__","isAbUser","bgcolor","carretcolor","_this$$posthog","$posthog","onFeatureFlags","_this2$$posthog","getFeatureFlag","_setup","__setup__","setup","ctx","languageCode","formattedLanguageCode","buf","crypt0","bufIdx","hexBytes","substr","uuidBin","uuid","BUFFER_SIZE","randomBytes","bin","clearBuffer","bytes","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_nonIterableSpread","globalScope","Scope","_notifyingListeners","_scopeListeners","_eventProcessors","_breadcrumbs","_attachments","_user","_tags","_extra","_contexts","_sdkProcessingMetadata","_propagationContext","generatePropagationContext","newScope","_level","_span","_session","_transactionName","_fingerprint","_requestSession","_client","segment","_notifyScopeListeners","requestSession","fingerprint","transaction","captureContext","updatedScope","contexts","propagationContext","maxCrumbs","breadcrumbs","attachment","getScopeData","attachments","eventProcessors","sdkProcessingMetadata","transactionName","additionalEventProcessors","getGlobalScope","_assign2","webpackPolyfill","deprecate","dP","createDesc","anObject","IE8_DOM_DEFINE","toPrimitive","O","Attributes","IObject","defined","USE_SYMBOL","selectDialog","caughtType","callbackType","$selectDialog","isVNode","ito","isAfter","dirtyDateLeft","dirtyDateRight","dateLeftStartOfDay","dateRightStartOfDay","isSameDay","MAX_ARRAY_LENGTH","MAX_RECURSIVE_DEPTH","inspect","seenValues","previouslySeenValues","isJSONable","jsonValue","formatArray","getObjectTag","properties","formatObject","formatObjectValue","devAssert","applyScopeDataToEvent","cleanedExtra","cleanedTags","cleanedUser","cleanedContexts","applyDataToEvent","trace","rootSpan","dynamicSamplingContext","applySpanToEvent","applyFingerprintToEvent","mergedBreadcrumbs","applyBreadcrumbsToEvent","applySdkMetadataToEvent","mergeScopeData","mergeData","mergeAndOverwriteScopeData","mergeVal","_result","Op","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","define","innerFn","outerFn","tryLocsList","protoGenerator","Generator","Context","_invoke","GenStateSuspendedStart","GenStateExecuting","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","invoke","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","resultName","nextLoc","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","iterable","iteratorMethod","displayName","isGeneratorFunction","genFun","ctor","awrap","async","skipTempReset","stop","rootRecord","rval","handle","loc","caught","hasCatch","hasFinally","finallyEntry","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","utils","encode","paramsSerializer","serializedParams","hashmarkIndex","__CANCEL__","normalizeHeaderName","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","adapter","transformRequest","transformResponse","xsrfCookieName","xsrfHeaderName","maxContentLength","common","settle","buildURL","buildFullPath","parseHeaders","isURLSameOrigin","createError","requestData","requestHeaders","auth","Authorization","btoa","fullPath","baseURL","onreadystatechange","readyState","responseURL","responseHeaders","getAllResponseHeaders","responseType","statusText","onabort","ontimeout","timeoutErrorMessage","cookies","xsrfValue","read","onDownloadProgress","onUploadProgress","cancelToken","enhanceError","config1","config2","valueFromConfig2Keys","mergeDeepPropertiesKeys","defaultToConfig2Keys","axiosKeys","otherKeys","Cancel","BooleanSelect","ButtonHolder","ContentLoader","EditableSelect","IconBox","InputHelp","NumericInput","ToggleSwitch","__e","exec","hasArrow","stateIcon","stateIconSrc","getStateIconSrc","checkImageExists","isMergeableObject","isNonNullObject","stringValue","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","cloneIfNecessary","optionsArgument","deepmerge","defaultArrayMerge","destination","sourceIsArray","arrayMerge","mergeObject","deepmerge_1","startOfYear","cleanDate","endOfYear","subYears","dirtyAmount","addYears","period","_ref$dateFns","dateFns","_ref$rangeSeparator","tempDate","addDays","subDays","startOfMonth","endOfMonth","addMonths","subMonths","periods","showLabelWithDate","customRange","isDatePickerOpen","isClosing","isCustomRange","getFormatedDateRange","dateFormats","handleCalendarClick","dateRangePicker","handlePickerChange","resetCustomRange","_f","isMobile","elementUi","_isFunction","lift","isNotNilOrEmpty","inlineForm","spacing","errorMessage","help","inputNarrow","errorStyled","errorAlert","errorAlertNewDesign","errorOnClick","fixedErrorMessage","floatingLabel","floatingLabelHide","hasForceFocus","floatingLabelNoColunm","invalid","dataTestError","dataTestValid","noMargin","successMessage","withoutTextAnimation","hasInputValue","offsetSize","_u","slotProps","customClickHandler","defaultPrevented","matched","internalValue","increment","decrement","updateValue","numericValue","ElRow","titleSize","titleIcon","headerClass","hideHeaderSeparator","headerSize","smallPadding","withoutRadius","hasHeaderSlot","iconTypeMap","intervalId","backgroundClass","elapsed","emitBlur","emitFocus","buttons","hasMultipleButtons","resetState","handleClickButton","handleClickOverlay","handleKeyUp","preventScroll","withoutDelimiter","isMono","no","yes","handleMenuItemClickAnalytics","_instance$$el$attribu","_instance$$el$attribu2","handleVisibleChange","isVisible","getCellDataTest","columnName","_this$columnsHidden","_this$getSpan","SDK_VERSION","States","resolvedSyncPromise","SyncPromise","rejectedSyncPromise","reason","executor","__init","__init2","__init3","__init4","_state","PENDING","_handlers","_resolve","_reject","onfulfilled","onrejected","_executeHandlers","onfinally","isRejected","_setResult","RESOLVED","REJECTED","cachedHandlers","LineRegExp","getLocation","lastLineStart","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","matchAll","printLocation","printSourceLocation","sourceLocation","firstLineColumnOffset","locationOffset","padStart","lineIndex","lineOffset","lineNum","columnOffset","columnNum","locationStr","locationLine","subLineIndex","subLineColumnNum","subLines","printPrefixedLines","subLine","existingLines","padLen","_assertThisInitialized","ReferenceError","_wrapNativeSuper","Class","Wrapper","_construct","_getPrototypeOf","_setPrototypeOf","Parent","Reflect","construct","sham","Proxy","isNativeReflectConstruct","_Error","GraphQLError","_this$nodes","_nodeLocations$","rawArgs","firstArg","_toNormalizedOptions","positions","originalError","_possibleConstructorReturn","undefinedIfEmpty","nodeLocations","locations","originalExtensions","captureStackTrace","subClass","superClass","_inherits","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","formattedError","syntaxError","DirectiveLocation","TokenKind","Lexer","startOfFileToken","SOF","lastToken","lineStart","lookahead","EOF","nextToken","readNextToken","COMMENT","isUnicodeScalarValue","isSupplementaryCodePoint","isLeadingSurrogate","isTrailingSurrogate","printCodePointAt","lexer","codePointAt","fromCodePoint","createToken","bodyLength","readComment","BANG","DOLLAR","AMP","PAREN_L","PAREN_R","SPREAD","COLON","EQUALS","AT","BRACKET_L","BRACKET_R","BRACE_L","PIPE","BRACE_R","readBlockString","readString","readNumber","readName","firstCode","isFloat","readDigits","FLOAT","INT","chunkStart","STRING","_escape","readEscapedUnicodeVariableWidth","readEscapedUnicodeFixedWidth","readEscapedCharacter","readHexDigit","read16BitHexCode","trailingCode","currentLine","blockLines","BLOCK_STRING","NAME","NODE_ENV","_value$constructor","stringifiedValue","Source","Parser","sourceObj","isSource","_lexer","_tokenCounter","expectToken","DOCUMENT","many","parseDefinition","peek","parseOperationDefinition","hasDescription","peekDescription","keywordToken","parseSchemaDefinition","parseScalarTypeDefinition","parseObjectTypeDefinition","parseInterfaceTypeDefinition","parseUnionTypeDefinition","parseEnumTypeDefinition","parseInputObjectTypeDefinition","parseDirectiveDefinition","parseFragmentDefinition","parseTypeSystemExtension","unexpected","OPERATION_DEFINITION","QUERY","parseSelectionSet","parseOperationType","parseName","parseVariableDefinitions","parseDirectives","operationToken","MUTATION","SUBSCRIPTION","optionalMany","parseVariableDefinition","VARIABLE_DEFINITION","parseVariable","parseTypeReference","expectOptionalToken","parseConstValueLiteral","parseConstDirectives","VARIABLE","SELECTION_SET","parseSelection","parseFragment","parseField","nameOrAlias","FIELD","parseArguments","isConst","parseConstArgument","parseArgument","ARGUMENT","parseValueLiteral","hasTypeCondition","expectOptionalKeyword","FRAGMENT_SPREAD","parseFragmentName","INLINE_FRAGMENT","typeCondition","parseNamedType","expectKeyword","allowLegacyFragmentVariables","FRAGMENT_DEFINITION","parseList","parseObject","advanceLexer","parseStringLiteral","BOOLEAN","NULL","ENUM","varName","block","LIST","any","OBJECT","parseObjectField","OBJECT_FIELD","parseDirective","DIRECTIVE","innerType","LIST_TYPE","NON_NULL_TYPE","NAMED_TYPE","parseDescription","operationTypes","parseOperationTypeDefinition","SCHEMA_DEFINITION","OPERATION_TYPE_DEFINITION","SCALAR_TYPE_DEFINITION","interfaces","parseImplementsInterfaces","parseFieldsDefinition","OBJECT_TYPE_DEFINITION","delimitedMany","parseFieldDefinition","parseArgumentDefs","FIELD_DEFINITION","parseInputValueDef","INPUT_VALUE_DEFINITION","INTERFACE_TYPE_DEFINITION","types","parseUnionMemberTypes","UNION_TYPE_DEFINITION","parseEnumValuesDefinition","ENUM_TYPE_DEFINITION","parseEnumValueDefinition","parseEnumValueName","ENUM_VALUE_DEFINITION","getTokenDesc","parseInputFieldsDefinition","INPUT_OBJECT_TYPE_DEFINITION","parseSchemaExtension","parseScalarTypeExtension","parseObjectTypeExtension","parseInterfaceTypeExtension","parseUnionTypeExtension","parseEnumTypeExtension","parseInputObjectTypeExtension","SCHEMA_EXTENSION","SCALAR_TYPE_EXTENSION","OBJECT_TYPE_EXTENSION","INTERFACE_TYPE_EXTENSION","UNION_TYPE_EXTENSION","ENUM_TYPE_EXTENSION","INPUT_OBJECT_TYPE_EXTENSION","repeatable","parseDirectiveLocations","DIRECTIVE_DEFINITION","parseDirectiveLocation","_node","noLocation","getTokenKindDesc","atToken","openKind","parseFn","closeKind","delimiterKind","maxTokens","advance","isPunctuatorTokenKind","docCache","fragmentSourceMap","printFragmentWarnings","experimentalFragmentVariables","processFragments","ast","seenKeys","sourceKeySet","cacheKey","parsed","parseDocument","workSet","stripLoc","gql","literals","gql_1","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","_includes","inf","equals","_indexOf","trackPageview","dataLayer","virtualPageviewUrl","virtualPageviewTitle","trackEvent","eventCategory","eventAction","eventLabel","eventValue","applyF","applyX","ap","set1","set2","len1","len2","_concat","arity","lifted","curryN","desiredMonth","dateWithDesiredMonth","daysInMonth","monthIndex","lastDayOfMonth","getDaysInMonth","escapeRegExp","countOccurrences","re","els","_justFocused","skipFormat","fullReset","onkeydown","isAllowedKey","isModifierKey","metaKey","isClipboardOperation","isAtStart","selectionStart","selectionEnd","_decimalIndex","wholePart","decimalPart","repeat","formattedInteger","padEnd","_decimalIndex2","integerPart","currentDecimal","_newValue","caretPos","decimalIndex","hasMinusPrefix","_formattedInteger","rawWhole","caretInInteger","rawIndex","deletionIndex","formattedWhole","_currentDecimal","_newValue2","formattedCaretWhole","newCaretPos","_deletionIndex","newCaret","_currentDecimal2","relIndex","suffixPart","endsWith","_rawWhole","_formattedWhole","_newValue4","_newCaretPos","newDecimal","_newValue3","_hasMinusPrefix","_initialValue","_formattedInteger3","_currentDecimal3","_newValue5","_formattedInteger4","_rawWhole2","_caretInInteger","_rawIndex","_formattedWhole2","_currentDecimal4","_newValue6","_formattedCaretWhole","_newCaretPos2","_relIndex","newDecimalArr","_newDecimal","_integerPart","_suffixPart","_newValue7","oninput","cursorPos","rawValue","hasCustomDecimal","isDefined","isHtmlElement","ELEMENT_NODE","functionToCheck","__webpack_amd_options__","rawScriptExports","compiledTemplate","cssModules","esModule","Component","_ContentPlaceholders2","_ContentPlaceholdersHeading2","_ContentPlaceholdersImg2","_ContentPlaceholdersText2","ContentPlaceholdersText","ContentPlaceholdersImg","ContentPlaceholdersHeading","ContentPlaceholders","GlobalVue","classObject","rounded","centered","_isObject","_popup","PopperJS","createPopper","appendArrow","destroy","onCreate","resetTransformOrigin","onUpdate","forceDestroy","hash","appended","isDef","isKorean","bitmap","$keys","enumBugKeys","px","resolvedDefaults","resolvedExtras","startClick","nodeList","createDocumentHandler","mouseup","bindingFn","documentHandler","_this2$defaultSort","_this3$dragState","displayStyle","dedentBlockStringLines","_firstNonEmptyLine2","commonIndent","MAX_SAFE_INTEGER","firstNonEmptyLine","lastNonEmptyLine","_firstNonEmptyLine","leadingWhitespace","printBlockString","escapedValue","isSingleLine","forceLeadingNewLine","hasTrailingTripleQuotes","hasTrailingQuote","hasTrailingSlash","forceTrailingNewline","printAsMultipleLines","minimize","skipLeadingNewLine","getRootSpan","getDynamicSamplingContextFromClient","public_key","getDsn","publicKey","user_segment","dsc","getDynamicSamplingContextFromSpan","txn","v7FrozenDsc","_frozenDynamicSamplingContext","_txn$metadata","metadata","maybeSampleRate","sampleRate","sample_rate","jsonSpan","sampled","prepareEvent","_options$normalizeDep","normalizeDepth","_options$normalizeMax","normalizeMaxBreadth","prepared","integrations","dist","_options$maxValueLeng","maxValueLength","applyClientOptions","integrationNames","sdk","applyIntegrationsMetadata","stackParser","debugIdStackFramesCache","debugIdMap","_sentryDebugIds","cachedDebugIdStackFrameCache","debugIdStackParserCache","filenameDebugIdMap","debugIdStackTrace","parsedStack","cachedParsedStack","stackFrame","stacktrace","frames","frame","debug_id","applyDebugIds","finalScope","getFinalScope","clientEventProcessors","getEventProcessors","isolationData","finalScopeData","abs_path","debug_meta","images","code_file","applyDebugMeta","maxBreadth","spans","normalizeEvent","parseEventHintOrCaptureContext","hintIsScopeOrFunction","captureContextKeys","hintIsScopeContext","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","addSuffix","comparison","formatRelativeLocale","lastWeek","yesterday","tomorrow","nextWeek","formatRelative","_baseDate","localize","ordinalNumber","_dirtyOptions","rem100","era","narrow","abbreviated","wide","quarter","dayPeriod","am","pm","midnight","noon","morning","afternoon","evening","night","locales","en","pl","sk","differenceInMilliseconds","dateLeft","dateRight","_isArguments","scrollBarWidth","outer","widthNoScroll","inner","widthWithScroll","_arrayFromIterator","_includesWith","_uniqContentEquals","aIterator","bIterator","stackA","stackB","eq","_equals","aItem","typeA","ignoreCase","multiline","sticky","unicode","extendedStackA","extendedStackB","_this$states","_this$states$data","_this$states2","_this$states3","_this$states3$expandR","_this$states4","_this$states5","_this$states6","_this$states$selectio","_this$table$$refs","XMap","_xfBase","_dispatchable","functor","_map","full","dateTime","formatLong","firstWeekContainsDate","methodNames","_isTransformer","transducer","STACKTRACE_FRAME_LIMIT","WEBPACK_ERROR_REGEXP","STRIP_FRAME_REGEXP","createStackParser","parsers","sortedParsers","skipFirst","cleanedLine","localStack","stripSentryFramesAndReverse","stackParserFromStackParserOptions","defaultFunctionName","getFunctionName","polyfill","_ref$behavior","behavior","scrollTo","removeResizeListener","addResizeListener","_resizeObserverPolyfill","_resizeObserverPolyfill2","_throttleDebounce","resizeHandler","__resizeListeners__","__ro__","noTrailing","debounceMode","timeoutID","lastExec","colorpicker","datepicker","selectTime","endTime","month1","month2","month3","month4","month5","month6","month7","month8","month9","month10","month11","month12","weeks","sun","mon","tue","wed","thu","fri","jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec","noMatch","pagesize","pageClassifier","messagebox","deleteTip","resetFilter","noCheckedFormat","hasCheckedFormat","pageHeader","RE_NARGS","_util","webpackAsyncContext","ids","Axios","mergeConfig","createInstance","defaultConfig","axios","instanceConfig","CancelToken","isCancel","spread","InterceptorManager","dispatchRequest","interceptors","chain","interceptor","getUri","handlers","eject","transformData","throwIfCancellationRequested","throwIfRequested","fns","normalizedName","isAxiosError","fileName","lineNumber","columnNumber","isAbsoluteURL","combineURLs","requestedURL","relativeURL","ignoreDuplicateOf","originURL","msie","urlParsingNode","resolveURL","protocol","search","hostname","port","requestURL","write","expires","domain","secure","cookie","toGMTString","decodeURIComponent","resolvePromise","inputvue_type_script_lang_js_","src_inputvue_type_script_lang_js_","componentNormalizer","offsetParents","pointer","offsetParent","viewRectTop","viewRectBottom","PROTOTYPE","$export","own","out","IS_FORCED","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","IS_BIND","IS_WRAP","W","expProto","virtual","R","U","shared","SHARED","copyright","TAG","stat","LIBRARY","wksExt","MSG_INVOICE_CREATING","MSG_INVOICE_CREATE_ERROR","MSG_INVOICE_EET_EDIT_BLOCKED","MSG_INVOICE_EET_REGISTER","MapShim","getIndex","class_1","__entries__","isBrowser","global$1","requestAnimationFrame$1","transitionKeys","mutationObserverSupported","ResizeObserverController","connected_","mutationEventsAdded_","mutationsObserver_","observers_","onTransitionEnd_","refresh","leadingCall","trailingCall","lastCallTime","resolvePending","proxy","timeoutCallback","timeStamp","connect_","disconnect_","updateObservers_","activeObservers","gatherActive","hasActive","broadcastActive","characterData","propertyName","instance_","defineConfigurable","getWindowOf","ownerDocument","emptyRect","createRectInit","toFloat","getBordersSize","styles","getHTMLElementContentRect","paddings","positions_1","getPaddings","horizPad","vertPad","isDocumentElement","vertScrollbar","horizScrollbar","isSVGGraphicsElement","SVGGraphicsElement","SVGElement","getBBox","getContentRect","bbox","getSVGContentRect","ResizeObservation","broadcastWidth","broadcastHeight","contentRect_","broadcastRect","ResizeObserverEntry","rectInit","Constr","contentRect","DOMRectReadOnly","ResizeObserverSPI","controller","callbackCtx","activeObservations_","observations_","callback_","controller_","callbackCtx_","observations","unobserve","clearActive","observation","ResizeObserver","src_progressvue_type_script_lang_js_","hasTwoColumnsHeader","headingWidth","twoColLayout","control","_objectSpread2","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","Super","NewTarget","_get","receiver","_superPropBase","desc","createCommonjsModule","index_umd","cancelled","clearExistingTimeout","arguments_","factory","Globals","getMergedDefinition","util","reapply","omit","addGqlError","graphQLErrors","gqlError","utils_1","utils_2","utils_3","utils_5","utils_6","utils_7","skippAllKeys","SmartApollo","initialOptions","_skip","_pollInterval","_watchers","_destroyed","lastApolloOptions","skip","_skipWatcher","skipChanged","allSkip","pollInterval","_pollWatcher","pollIntervalChanged","stopPolling","startPolling","$apollo","starting","queryCb","executeApollo","_i4","_this$_watchers2","unsubscribe","apolloOptions","vueApolloSpecialKeys","catched","_i6","callHandlers","provider","errorHandler","_i8","_error$graphQLErrors2","networkError","_console","VUE_APOLLO_QUERY_KEYWORDS","SmartQuery","_SmartApollo","autostart","$data","$apolloData","queries","firstRun","_firstRunResolve","_firstRunReject","fetchPolicy","hasDataField","_loading","loadingDone","variablesJson","previousVariablesJson","_this$_linkedSubscrip2","_linkedSubscriptions","watchQuery","generateApolloOptions","startQuerySubscription","notifyOnNetworkStatusChange","currentResult","retrieveCurrentResult","getCurrentResult","nextResult","_this$_linkedSubscrip4","catchError","force","applyLoadingModifier","anyErrors","firstRunReject","errorPolicy","hasResultCallback","resubscribeToQuery","lastError","getLastError","lastResult","getLastResult","resetLastResults","loadingKey","watchLoading","firstRunResolve","_this$observer","fetchMore","_this$observer2","subscribeToMore","refetch","tryFetch","setVariables","setOptions","_this$observer3","_this$observer4","SmartSubscription","updateQuery","linkedQuery","rcb","ucb","DollarApollo","_apolloSubscriptions","subscriptions","$apolloProvider","clients","defaultClient","observable","_subscribe","mutate","finalOptions","$query","apollo","defaultOptions","smart","prefetch","addSmartSubscription","_skipAllQueries","_skipAllSubscriptions","skipAllQueries","skipAllSubscriptions","ApolloProvider","CApolloQuery","getDollarApollo","getApolloQuery","clientId","networkStatus","$client","_result2","$_previousData","dataNotEmpty","isDataFilled","fullData","$_times","_error","isLoading","CApolloSubscribeToMore","$_key","$_sub","CApolloMutation","optimisticResponse","refetchQueries","hasProperty","holder","initProvider","optionValue","apolloProvider","provided","proxyData","$_apolloInitData","launch","_apolloLaunched","$_apolloPromises","$init","defineReactiveSetter","$skipAll","$deep","$skipAllQueries","$skipAllSubscriptions","$loadingKey","$error","$watchLoading","addSmartQuery","$prefetch","$subscribe","$_apollo","installMixin","vueVersion","serverPrefetch","keywords","toVal","fromVal","toData","fromData","View","routerView","_routerViewCache","inactive","_routerRoot","keepAlive","_inactive","routerViewDepth","registerRouteInstance","prepatch","propsToPass","resolveProps","encodeReserveRE","encodeReserveReplacer","commaRE","decode","parseQuery","param","stringifyQuery","val2","trailingSlashRE","createRoute","redirectedFrom","stringifyQuery$$1","meta","getFullPath","formatMatch","START","_stringifyQuery","isSameRoute","isObjectEqual","aKeys","bKeys","aVal","bVal","exact","exactActiveClass","globalActiveClass","linkActiveClass","globalExactActiveClass","linkExactActiveClass","activeClassFallback","exactActiveClassFallback","compareTarget","queryIncludes","isIncludedRoute","guardEvent","findAnchor","isStatic","altKey","shiftKey","inBrowser","resolvePath","relative","firstChar","segments","cleanPath","isarray","pathToRegexp_1","pathToRegexp","parse_1","compile_1","tokensToFunction","tokensToFunction_1","tokensToRegExp_1","tokensToRegExp","PATH_REGEXP","defaultDelimiter","escaped","capture","modifier","asterisk","optional","escapeGroup","escapeString","encodeURIComponentPretty","pretty","attachKeys","flags","sensitive","endsWithDelimiter","groups","regexpToRegexp","arrayToRegexp","stringToRegexp","regexpCompileCache","fillParams","routeMsg","filler","pathMatch","createRouteMap","oldPathList","oldPathMap","oldNameMap","pathList","pathMap","nameMap","addRouteRecord","matchAs","pathToRegexpOptions","normalizedPath","normalizePath","caseSensitive","compileRouteRegex","redirect","childMatchAs","aliasRoute","normalizeLocation","_normalized","rawPath","parsedPath","hashIndex","queryIndex","basePath","extraQuery","_parseQuery","parsedQuery","resolveQuery","createMatcher","currentRoute","_createRoute","paramNames","record$1","matchRoute","originalRedirect","resolveRecordPath","aliasedMatch","aliasedRecord","addRoutes","positionStore","setupScroll","history","getStateKey","saveScrollPosition","isPop","app","getScrollPosition","shouldScroll","scrollToPosition","pageXOffset","pageYOffset","isValidPosition","normalizePosition","docRect","getElementPosition","ua","supportsPushState","Time","genKey","pushState","runQueue","queue","resolveAsyncComponents","hasAsync","pending","flatMapComponents","cid","resolvedDef","hasSymbol","resolved","comp","flatten","called","History","baseEl","normalizeBase","readyCbs","readyErrorCbs","errorCbs","extractGuards","records","guards","guard","extractGuard","bindGuard","poll","isValid","_isBeingDestroyed","listen","onReady","errorCb","transitionTo","onComplete","onAbort","confirmTransition","updateRoute","ensureURL","resolveQueue","extractLeaveGuards","beforeHooks","extractUpdateHooks","postEnterCbs","enterGuards","cbs","bindEnterGuard","extractEnterGuards","resolveHooks","afterHooks","HTML5History","History$$1","expectScroll","supportsScroll","initLocation","go","fromRoute","getCurrentLocation","decodeURI","HashHistory","checkFallback","ensureSlash","setupListeners","getHash","replaceHash","pushHash","searchIndex","getUrl","AbstractHistory","targetIndex","VueRouter","apps","matcher","registerHook","setupHashListener","_route","beforeResolve","afterEach","back","forward","getMatchedComponents","createHref","normalizedTo","registerInstance","callVal","_parentVnode","_router","defineReactive","strats","beforeRouteEnter","beforeRouteLeave","beforeRouteUpdate","decimalPlaces","minDecimalPlaces","minimumDecimalPlaces","minimumFractionDigits","maximumFractionDigits","useGrouping","payment","LinkError","isTerminating","fromError","errorValue","createOperation","operationName","passthrough","of","toLink","links","leftLink","rightLink","ApolloLink","firstLink","nextLink","execute","transformedOperation","transformOperation","OPERATION_FIELDS","validateOperation","escapedRegExp","escapedReplacer","escapeSequences","printDocASTReducer","varDefs","argsLine","_ref9","_ref10","_ref11","_ref12","_ref13","_ref14","_ref15","_ref16","_ref17","_ref18","_ref19","_ref20","_ref21","_ref22","_ref23","_ref24","hasMultilineItems","_ref25","_ref26","_ref27","_ref28","_ref29","_ref30","_ref31","_ref32","_ref33","_ref34","_ref35","_ref36","_ref37","_ref38","_maybeArray$filter$jo","maybeString","_maybeArray$some","fallbackHttpConfig","http","includeQuery","includeExtensions","throwServerError","statusCode","fallbackConfig","configs","credentials","parseError","linkOptions","uri","fetcher","fetch","useGETForQueries","requestOptions","linkConfig","fetchOptions","chosenURI","fallbackURI","contextURI","getContext","selectURI","clientAwarenessHeaders","clientAwareness","name_1","contextHeaders","contextConfig","signal","AbortController","createSignalIfSupported","_controller","queryParams","addQueryParam","serializedVariables","serializedExtensions","preFragment","fragmentStart","queryParamsPrefix","newURI","rewriteURIForGET","bodyText","HttpLink","queryFromPojo","selectionSetFromObj","Cache","justTypenameQuery","ApolloCache","transformDocument","transformForLink","readQuery","optimistic","readFragment","rootId","writeQuery","dataId","writeFragment","writeData","typenameResult","__typename","dataToWrite","currentContext","MISSING_VALUE","idCounter","globalKey","Slot","context_1","withValue","saved","noContext","defaultDispose","newest","oldest","getEntry","older","newer","clean","parentEntrySlot","reusableEmptyArray","emptySetPool","POOL_TARGET_SIZE","optionalMessage","valueGet","Entry","parents","childValues","dirtyChildren","dirty","recomputing","recompute","mightBeDirty","reportDirtyChild","reportCleanChild","rememberParent","maybeReportOrphan","originalChildren","forgetChildren","recomputeNewValue","maybeUnsubscribe","setDirty","maybeSubscribe","reportClean","setClean","reallyRecompute","reportDirty","forgetChild","childValue","removeDirtyChild","dc","reportOrphan","KeyTrie","weakness","lookup","lookupArray","getChildTrie","isObjRef","weak","strong","keyTrie","defaultMakeCacheKey","caches","originalFunction","disposable","makeCacheKey","haveWarned","shouldWarn","answer","HeuristicFragmentMatcher","ensureReady","canBypassInit","idValue","isRootQuery","IntrospectionFragmentMatcher","introspectionQueryResultData","possibleTypesMap","parseIntrospectionResult","isReady","implementingTypes","introspectionResultData","__schema","possibleTypes","implementingType","DepTrackingCache","depend","defaultNormalizedCacheFactory","StoreReader","cacheKeyRoot","freezeResults","executeStoreQuery","executeSelectionSet","executeSubSelectedArray","rootValue","contextValue","variableValues","fragmentMatcher","execContext","readQueryFromStore","diffQueryAgainstStore","returnPartialData","previousResult","fragmentMatcherFunction","queryDefinition","dataIdFromObject","cacheRedirects","execResult","hasMissingFields","tolerable","defaultFragmentMatcher","mainDefinition","fragmentMap","finalResult","objectsToMerge","handleMissing","fieldResult","executeField","fragmentExecResult","readStoreResult","resultKey","storeKeyName","resolver","getCacheKey","storeObj","json","readStoreResolver","combineExecResults","assertSelectionSetForIdValue","execResults","childResult","ObjectCache","WriteError","StoreWriter","writeQueryToStore","writeResultToStore","operationDefinition","writeSelectionSetToStore","processedData","enhancedError","enhanceErrorWithDocument","resultFieldKey","writeFieldToStore","isDefered","isClient","fakeContext","storeValue","storeObject","storeFieldName","generatedId","processArrayValue","valueDataId","isGeneratedId","semanticId","isDataProcessed","escapedId","hadTypename","hasTypename","typenameChanged","mergeWithGenerated","itemDataId","generatedKey","realKey","real","madeChanges","realValue","newRealValue","addTypename","resultCaching","NetworkStatus","hasOwn$1","OptimisticCacheLayer","optimisticId","InMemoryCache","watches","typenameDocumentCache","silenceBroadcast","customResolvers","cacheResolvers","optimisticData","storeWriter","storeReader","maybeBroadcastWatch","restore","extract","broadcastWatches","evict","removeOptimistic","idToRemove","toReapply","removedCount","layer","layer_1","performTransaction","recordOptimisticTransaction","isNetworkRequestInFlight","Observable","isNonEmptyArray","FetchType","ApolloError","extraInfo","graphQLError","ObservableQuery","queryManager","shouldSubscribe","onSubscribe","isTornDown","queryId","generateQueryId","opDef","queryName","removeQuery","policy","getCurrentQueryResult","queryStoreValue","queryStore","isNetworkFetchPolicy","updateLastResult","stale","isDifferentFromLastResult","newResult","snapshot","lastResultSnapshot","resetQueryStoreErrors","fetchQuery","fetchMoreOptions","combinedOptions","qid","normal","fetchMoreResult","stopQuery","startGraphQLSubscription","subscriptionData","previous","oldFetchPolicy","fetchResults","mapFn","getQueryWithPreviousResult","dataStore","markUpdateQueryResult","broadcastQueries","stopPollingQuery","assertNotCacheFirstOrOnly","startPollingQuery","assumeImmutableResults","subObserver","_subscription","_observer","defaultSubscriptionObserverErrorCallback","setUpQuery","tearDownQuery","addObservableQuery","iterateObserversSafely","observeQuery","previousResult_1","query_1","fetchPolicy_1","getLocalState","addExportedVariables","previousVariables","serverQuery","removeObservableQuery","observersWithMethod","obs","obsQuery","MutationStore","getStore","mutationId","initMutation","markMutationError","markMutationResult","QueryStore","initQuery","isSetVariables","storePreviousVariables","isPoll","isRefetch","fetchMoreForQueryId","markQueryResult","markQueryError","markQueryResultClient","observableQueryIds","LocalState","resolvers","addResolvers","setFragmentMatcher","resolverGroup","setResolvers","getResolvers","runResolvers","remoteResult","onlyRunForcedResolvers","resolveDocument","localResult","getFragmentMatcher","clientQuery","prepareContext","buildRootValueFromCache","exportedVariables","shouldForceResolvers","forceResolvers","definitionOperation","defaultOperationType","resolveSelectionSet","resultsToMerge","resolveField","fragmentResult","aliasedFieldName","aliasUsed","defaultResult","resultPromise","resolverType","resolverMap","resolveSubSelectedArray","multiplex","QueryManager","queryDeduplication","onBroadcast","ssrMode","localState","mutationStore","fetchQueryRejectFns","transformCache","inFlightLinkObservables","pollingInfoByQueryId","getCache","_info","stopQueryNoBroadcast","updateQueriesByName","updateQueries","awaitRefetchQueries","updateWithProxyFn","generateUpdateQueriesInfo","setQuery","getVariables","observableQuery","updater","markMutationInit","storeResult","getObservableFromLink","markMutationComplete","refetchQueryPromises","refetchQuery","queryOptions","fetchType","isNetworkOnly","needToFetch","shouldFetch","requestId","networkResult","updateQueryWatch","lastRequestId","invalidated","invalidate","fetchRequest","getQuery","hasForcedResolvers","queryListenerForObserver","networkStatusChanged","shouldNotifyIfLoading","hasGraphQLErrors","isMissing","errorStatusChanged","diffResult","resultFromStore","transformed","forLink","cacheEntry_1","defaultVars","transformedOptions","watchedQuery","stopQueryInStore","stopQueryInStoreNoBroadcast","addQueryListener","clearStore","resetIds","reFetchObservableQueries","includeStandby","observableQueryPromises","startQuery","makeObservable","markSubscriptionResult","observablePromise_1","queryIdOrObservable","foundObserveableQuery","deduplication","inFlightLinkObservables_1","forceFetch","byVariables_1","varJson_1","cleanupSub_1","_next","_error2","_complete","activeNextCount","completed","asyncMap","errorsFromStore","fqrfId","result_1","_error3","newInfo","newContext","checkInFlight","maybeFetch_1","poll_1","DataStore","initialCache","ignoreErrors","writeWithErrors","optimistic_1","orig","cacheWrites_1","updateQueries_1","currentQueryResult","nextQueryResult","mutationResult","queryVariables","ApolloClient","resetStoreCallbacks","clearStoreCallbacks","ssrForceFetchDelay","connectToDevTools","typeDefs","clientAwarenessName","clientAwarenessVersion","disableNetworkFetches","__APOLLO_CLIENT__","devToolsHookCb","dataWithOptimisticResults","__actionHookForDevTools","__requestRaw","initQueryManager","onResetStore","onClearStore","serializedState","setLocalStateFragmentMatcher","retriedSub","retriedResult","ErrorLink","_document$querySelect","RetryableOperation","delayFor","retryIf","retryCount","canceled","currentSubscription","onNext","scheduleRetry","timerId","RetryLink","attempts","delayOptions","initial","jitter","baseDelay","buildDelayFunction","retryOptions","buildRetryFunction","retryable","csrfToken","httpLink","errorLink","retryLink","cleanTypenameLink","apolloClient","_filter","flip","snakeCase","toLowerKeys","objectToCon","recursive","keyLower","toUpperKeys","keyUpper","toCamelKeys","keyCamel","toSnakeKeys","keySnake","changeKeys","changedKeys","newKey","toSnakeCase","toCamelCase","AUTH_STATUS_AUTHORIZED","DEFAULT_HEADERS","ERROR_MESSAGES","active_until","current_plan_name","last_invoice_number","states_enabled","user_hash","access","access_expires_at","refresh_expires_at","csrf","keepMeSignedIn","authStatus","errorMessages","dialogOpened","dialogData","requestResetPasswordSuccess","clearErrorMessages","signInSuccess","_window$posthog","_window$posthog$persi","_window$posthog$persi2","_window$posthog$persi3","_window$posthog2","posthog","persistence","$stored_person_properties","identify","signInError","errorCode","pathOr","setTokens","setErrorMessage","setErrorMessages","setDialogData","setEmailData","openDialog","setLastSequenceNumber","setLoginEmail","switchDialogStep","setAuthFromWindow","vueAuth","signIn","getHeaders","requestResetPassword","submitResetPassword","reset_password_token","changePassword","current_password","signOut","checkDomainRedirect","redirectUrl","signInSuccessFlash","tarifExpired","_window$posthog3","formSubmitError","getDateDiff","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","differenceInCalendarDays","getHoursDiff","differenceInHours","getSecondsDiff","differenceInSeconds","currentPlanID","current_plan_id","currentPlanName","lastPlanName","last_plan_name","lastPlanId","last_plan_id","userHasMiniPlan","userHasPremiumPlan","userHasPlan","getUserEmail","isAuthorized","userHash","getAuthHeader","isTrial","isTrialWillExpire","isOwner","isTrialExpired","isTarifLifetime","userActiveUntil","hasFreeTarif","showThankYouPage","getRemainingTimeWord","_getters","_rootState","isTarifExpired","isTarifWillExpire","showSubscriptionBar","previousComparisons","equal","check","aTag","previouslyCompared","keyCount","isMap","aKey","aValue","bSet","originalModule","dateLeftStartOfWeek","_index","dateRightStartOfWeek","getNumberSeparators","_parts$find","_parts$find2","thousandSeparator","rnds8","rnds","byteToHex","bth","INFINITY","symbolTag","reAsciiWord","reLatin","rsAstralRange","rsComboMarksRange","rsComboSymbolsRange","rsDingbatRange","rsLowerRange","rsUpperRange","rsVarRange","rsBreakRange","rsMathOpRange","rsApos","rsAstral","rsBreak","rsCombo","rsDigits","rsDingbat","rsLower","rsMisc","rsFitz","rsNonAstral","rsRegional","rsSurrPair","rsUpper","rsZWJ","rsLowerMisc","rsUpperMisc","rsOptLowerContr","rsOptUpperContr","reOptMod","rsOptVar","rsSeq","rsEmoji","rsSymbol","reApos","reComboMark","reUnicode","reUnicodeWord","reHasUnicode","reHasUnicodeWord","freeGlobal","freeSelf","deburrLetter","hasUnicode","stringToArray","unicodeToArray","asciiToArray","_Symbol","symbolProto","symbolToString","baseToString","isObjectLike","isSymbol","castSlice","baseSlice","word","upperFirst","iteratee","accumulator","initAccum","arrayReduce","hasUnicodeWord","unicodeWords","asciiWords","words","deburr","strSymbols","chr","trailing","fecha","twoDigits","literal","shorten","sLen","newArr","monthUpdate","arrName","monthNames","monthNamesShort","dayNamesShort","DoFn","formatFlags","dateObj","DD","Do","dd","ddd","dddd","M","MM","MMM","MMMM","yy","yyyy","hh","H","HH","mm","ss","SS","SSS","ZZ","parseFlags","cent","millisecond","isPm","timezoneOffset","masks","shortDate","mediumDate","longDate","fullDate","shortTime","mediumTime","longTime","i18nSettings","$0","$1","dateStr","dateInfo","parseInfo","newFormat","UTC","_merge2","_popupManager2","_scrollbarWidth2","_dom","idSeed","_popupId","bodyPaddingRight","computedBodyPaddingRight","withoutHiddenClass","_opening","_closeTimer","_openTimer","doOpen","willOpen","bodyHasOverflow","bodyOverflowY","onOpen","doAfterOpen","willClose","src_checkboxvue_type_script_lang_js_","Transition","oldPaddingTop","paddingTop","oldPaddingBottom","paddingBottom","nestRE","mergeFn","objs","aa","bb","nestedKey","src_tagvue_type_script_lang_js_","toIObject","arrayIndexOf","IE_PROTO","cof","redefine","Iterators","$iterCreate","setToStringTag","ITERATOR","BUGGY","KEYS","VALUES","returnThis","Base","DEFAULT","IS_SET","FORCED","getMethod","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","dPs","createDict","iframeDocument","iframe","contentWindow","lt","Properties","hiddenKeys","src_radiovue_type_script_lang_js_","cmp","cycles","aobj","bobj","isFinite","seenIndex","WINDOW","DEFAULT_MAX_STRING_LENGTH","htmlTreeAsString","nextStr","currentElem","keyAttrs","maxStringLength","_htmlElementAsString","attr","HTMLElement","keyAttrPairs","keyAttr","keyAttrPair","allowedAttrs","getLocationHref","oO","getComponentName","memoBuilder","hasWeakSet","WeakSet","symbolObservablePonyfill","_index2","_index3","_index4","_index5","_default","pluralize","pluralRules","singularRules","uncountables","irregularPlurals","irregularSingles","sanitizeRule","restoreCase","sanitizeWord","replaceWord","replaceMap","keepMap","checkWord","bool","inclusive","singular","plural","isPlural","isSingular","addPluralRule","replacement","addSingularRule","addUncountableRule","addIrregularRule","single","NON_LATIN1_REGEXP","basename","isQuotedString","TEXT_REGEXP","fallbackName","getlatin1","hasFallback","HEX_ESCAPE_REGEXP","createparams","parameters","TOKEN_REGEXP","ustring","qstring","ContentDisposition","DISPOSITION_TYPE_REGEXP","PARAM_REGEXP","lastIndex","QESC_REGEXP","decodefield","Buffer","ENCODE_URL_ATTR_CHAR_REGEXP","HEX_ESCAPE_REPLACE_REGEXP","QUOTE_REGEXP","EXT_VALUE_REGEXP","binary","pdecode","fromCharCode","pencode","mime","bom","blob","Blob","msSaveBlob","blobURL","webkitURL","tempLink","download","v1","v4","w","__forceSmoothScrollPolyfill__","SCROLL_TIME","scrollBy","elementScroll","scrollElement","ROUNDING_TOLERANCE","shouldBailOut","smoothScroll","SyntaxError","scrollableParent","isScrollable","findScrollableParent","parentRects","clientRects","hasScrollableSpace","canOverflow","overflowValue","isScrollableY","isScrollableX","cos","isBrowserBundle","__SENTRY_BROWSER_BUNDLE__","getSDKSource","isNodeEnv","compareAsc","differenceInMonths","sign","difference","differenceInCalendarMonths","cloneObject","dirtyObject","MINUTES_IN_DAY","MINUTES_IN_ALMOST_TWO_DAYS","MINUTES_IN_MONTH","MINUTES_IN_TWO_MONTHS","dirtyBaseDate","localizeOptions","offsetInSeconds","includeSeconds","nearestMonth","monthsSinceStartOfYear","webpackContext","webpackContextResolve","hasSymbols","getSymbol","SymbolIterator","SymbolObservable","SymbolSpecies","getSpecies","isObservable","hostReportError","enqueue","cleanupSubscription","_cleanup","closeSubscription","_queue","notifySubscription","onNotify","flushSubscription","Subscription","subscriber","subscriptionObserver","SubscriptionObserver","_subscriber","hasSeed","startNext","completeIfDone","_item","symbol","pluralToken","scheme","timeToken","suffixExist","regular","past","future","few","baseDate","accusativeWeekdays","declension","rem10","twoFour","declensionGroup","adjectivesLastWeek","masculine","feminine","adjectivesThisWeek","adjectivesNextWeek","dayGrammaticalGender","getAdjective","adjectives","getAdjectives","dayAndTimeWithAdjective","adjective","prefixPreposition","preposition","translation","suffixPreposition","extractPreposition","thisWeek","weekday","_lastWeek","_nextWeek","normalizeArray","allowAboveRoot","resolvedPath","resolvedAbsolute","cwd","isAbsolute","trailingSlash","fromParts","toParts","samePartsLength","outputParts","dirname","hasRoot","matchedSlash","ext","extname","startDot","startPart","preDotState","copyProps","dst","SafeBuffer","encodingOrOffset","alloc","allocUnsafe","allocUnsafeSlow","encoding","SlowBuffer","_nodeId","_clockseq","rng","bytesToUuid","_lastMSecs","_lastNSecs","clockseq","seedBytes","msecs","nsecs","dt","tl","tmh","ii","validateRangeInOneMonth","extractTimeFormat","extractDateFormat","changeYearMonthAndClampDate","timeWithinRange","limitTimeRange","clearMilliseconds","clearTime","modifyWithTimeString","modifyTime","modifyDate","getRangeMinutes","getMonthDays","getPrevMonthLastDays","getRangeHours","getWeekNumber","getStartDateOfMonth","nextDate","prevDate","getFirstDayOfMonth","getDayCountOfYear","getDayCountOfMonth","parseDate","formatDate","isDateObject","getI18nSettings","_date2","week1","disabledHours","newArray","setRangeData","startHour","startMinute","endHour","endMinute","normalizeDate","ndate","nranges","nrange","getModal","getTopPopup","DEFAULTS","boundariesElement","preventOverflowOrder","flipBehavior","arrowElement","modifiersIgnored","forceAbsolute","Popper","_reference","jquery","isNotDefined","isConfig","_getPosition","_setupEventListeners","getOuterSizes","_display","_visibility","getOppositePlacement","getPopperClientRect","popperOffsets","offsets","getArrayKeyIndex","keyToFind","getOffsetParent","getScrollParent","isFixed","is_numeric","unit","getOffsetRect","elementRect","offsetLeft","rectTop","getOffsetRectRelativeToCustomParent","parentRect","scrollParent","getSupportedPropertyName","toCheck","_removeEventListeners","removeOnDestroy","_originalPlacement","_getOffsets","boundaries","_getBoundaries","runModifiers","updateCallback","classNames","contentType","arrowTagName","arrowClassNames","arrowAttributes","addClassNames","addAttributes","attribute","isParentFixed","referenceOffsets","popperRect","updateBound","scrollTarget","html","offsetParentRect","getScrollTopValue","getScrollLeftValue","ends","modifiersToRun","isModifierRequired","requesting","requested","applyStyle","prefixedProperty","basePlacement","shiftVariation","shiftOffsets","preventOverflow","keepTogether","flipped","placementOpposite","variation","flipOrder","_flip","arrowStyle","side","altSide","opSide","arrowSize","sideValue","nextSource","keysArray","nextKey","src_buttonvue_type_script_lang_js_","FUNC_ERROR_TEXT","HASH_UNDEFINED","PLACEHOLDER","WRAP_CURRY_RIGHT_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","NAN","wrapFlags","argsTag","arrayTag","boolTag","dateTag","errorTag","funcTag","mapTag","numberTag","objectTag","promiseTag","regexpTag","stringTag","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","reEscapeChar","reEsTemplate","reFlags","reIsBadHex","reIsBinary","reIsHostCtor","reIsOctal","reIsUint","reNoMatch","reUnescapedString","rsComboRange","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","contextProps","templateCounter","typedArrayTags","cloneableTags","stringEscapes","freeParseFloat","freeParseInt","freeExports","freeModule","moduleExports","freeProcess","nodeUtil","require","nodeIsArrayBuffer","nodeIsDate","nodeIsMap","nodeIsRegExp","nodeIsSet","isSet","nodeIsTypedArray","isTypedArray","arrayAggregator","setter","arrayEach","arrayEachRight","arrayEvery","arrayFilter","resIndex","arrayIncludes","baseIndexOf","arrayIncludesWith","comparator","arrayPush","arrayReduceRight","arraySome","asciiSize","baseProperty","baseFindKey","collection","eachFunc","baseFindIndex","fromIndex","fromRight","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","baseTimes","baseUnary","baseValues","cacheHas","charsStartIndex","chrSymbols","charsEndIndex","escapeHtmlChar","escapeStringChar","mapToArray","overArg","replaceHolders","safeGet","setToArray","setToPairs","stringSize","unicodeSize","unescapeHtmlChar","runInContext","arrayProto","funcProto","objectProto","coreJsData","funcToString","maskSrcKey","nativeObjectToString","objectCtorString","oldDash","reIsNative","getPrototype","objectCreate","spreadableSymbol","isConcatSpreadable","symToStringTag","getNative","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeCeil","nativeFloor","nativeGetSymbols","nativeIsBuffer","nativeIsFinite","nativeJoin","nativeKeys","nativeMax","nativeMin","nativeNow","nativeParseInt","nativeRandom","nativeReverse","DataView","nativeCreate","metaMap","realNames","dataViewCtorString","toSource","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","symbolValueOf","lodash","LazyWrapper","LodashWrapper","wrapperClone","baseCreate","baseLodash","chainAll","__wrapped__","__actions__","__chain__","__index__","__values__","__dir__","__filtered__","__iteratees__","__takeCount__","__views__","Hash","ListCache","MapCache","SetCache","__data__","Stack","arrayLikeKeys","inherited","isArr","isArg","isArguments","isBuff","isType","skipIndexes","isIndex","arraySample","baseRandom","arraySampleSize","shuffleSelf","copyArray","baseClamp","arrayShuffle","assignMergeValue","baseAssignValue","objValue","assocIndexOf","baseAggregator","baseEach","baseAssign","copyObject","baseAt","lower","upper","baseClone","bitmask","customizer","isDeep","isFlat","isFull","initCloneArray","getTag","isFunc","cloneBuffer","initCloneObject","getSymbolsIn","copySymbolsIn","keysIn","baseAssignIn","getSymbols","copySymbols","cloneArrayBuffer","dataView","byteOffset","byteLength","cloneDataView","cloneTypedArray","regexp","cloneRegExp","initCloneByTag","stacked","subValue","getAllKeysIn","getAllKeys","baseConformsTo","wait","baseDifference","isCommon","valuesLength","valuesIndex","templateSettings","escape","evaluate","imports","getMapData","pairs","LARGE_ARRAY_SIZE","createBaseEach","baseForOwn","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","baseFilter","baseFlatten","isStrict","isFlattenable","baseFor","createBaseFor","baseForRight","baseFunctions","baseGet","castPath","toKey","baseGetAllKeys","keysFunc","symbolsFunc","baseGetTag","isOwn","unmasked","getRawTag","baseGt","baseHas","baseHasIn","baseIntersection","arrays","othLength","othIndex","baseInvoke","baseIsArguments","baseIsEqual","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","equalArrays","convert","isPartial","equalByTag","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","objLength","othProps","skipCtor","othValue","compared","objCtor","othCtor","equalObjects","baseIsEqualDeep","baseIsMatch","matchData","noCustomizer","srcValue","COMPARE_PARTIAL_FLAG","baseIsNative","baseIteratee","identity","baseMatchesProperty","baseMatches","baseKeys","isPrototype","baseKeysIn","nativeKeysIn","isProto","baseLt","baseMap","isArrayLike","getMatchData","matchesStrictComparable","isKey","isStrictComparable","hasIn","baseMerge","mergeFunc","isTyped","isArrayLikeObject","toPlainObject","baseMergeDeep","baseNth","baseOrderBy","iteratees","orders","getIteratee","criteria","comparer","baseSortBy","objCriteria","othCriteria","ordersLength","compareAscending","compareMultiple","basePickBy","baseSet","basePullAll","basePullAt","indexes","baseUnset","baseRepeat","baseRest","setToString","overRest","baseSample","baseSampleSize","baseSetData","baseSetToString","constant","baseShuffle","baseSome","baseSortedIndex","retHighest","mid","baseSortedIndexBy","valIsNaN","valIsNull","valIsSymbol","valIsUndefined","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","setLow","baseSortedUniq","baseToNumber","baseUniq","createSet","baseUpdate","baseWhile","isDrop","baseWrapperValue","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","stringToPath","castRest","arrayBuffer","valIsDefined","valIsReflexive","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","isNew","createAggregator","initializer","createAssigner","assigner","isIterateeCall","createCaseFirst","createCompounder","createCtor","thisBinding","createFind","findIndexFunc","createFlow","flatRest","prereq","thru","getFuncName","funcName","isLaziable","plant","createHybrid","partialsRight","holdersRight","argPos","ary","isAry","isBind","isBindKey","isFlip","getHolder","holdersCount","countHolders","newHolders","createRecurry","arrLength","oldArray","reorder","createInverter","toIteratee","baseInverter","createMathOperation","operator","createOver","arrayFunc","createPadding","chars","charsLength","toFinite","baseRange","createRelationalOperation","toNumber","wrapFunc","isCurry","setWrapToString","createRound","pair","createToPairs","baseToPairs","createWrap","srcBitmask","newBitmask","isCombo","createCurry","createPartial","createBind","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","arrValue","otherFunc","stubArray","hasPath","hasFunc","isLength","ctorString","isMaskable","stubFalse","otherArgs","shortOut","details","insertWrapDetails","updateWrapDetails","getWrapDetails","lastCalled","rand","memoizeCapped","quote","subString","differenceBy","differenceWith","findLastIndex","intersection","mapped","intersectionBy","intersectionWith","pullAll","pullAt","union","unionBy","unionWith","unzip","unzipWith","without","xor","xorBy","xorWith","zip","zipWith","wrapperAt","countBy","findLast","forEachRight","groupBy","invokeMap","keyBy","partition","bindKey","WRAP_BIND_FLAG","lastArgs","lastThis","maxWait","lastInvokeTime","leading","maxing","invokeFunc","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","leadingEdge","flush","defer","memoized","negate","overArgs","transforms","funcsLength","partialRight","rearg","gt","gte","isInteger","lte","toArray","iteratorToArray","remainder","toLength","isBinary","assignIn","assignInWith","assignWith","at","propsIndex","propsLength","defaultsDeep","mergeWith","invert","invertBy","CLONE_DEEP_FLAG","basePick","pickBy","toPairs","toPairsIn","lowerCase","lowerFirst","startCase","upperCase","attempt","bindAll","flow","flowRight","methodOf","over","overEvery","overSome","basePropertyDeep","rangeRight","augend","addend","dividend","divisor","multiply","multiplier","multiplicand","subtract","castArray","compact","cond","conforms","baseConforms","curry","curryRight","dropRight","dropRightWhile","dropWhile","baseFill","flatMap","flatMapDeep","flatMapDepth","flattenDeep","flattenDepth","fromPairs","functions","functionsIn","mapKeys","mapValues","matchesProperty","nthArg","omitBy","propertyOf","pullAllBy","pullAllWith","sampleSize","setWith","shuffle","sortedUniq","sortedUniqBy","tail","take","takeRight","takeRightWhile","takeWhile","tap","toPath","isArrLike","unary","uniq","uniqBy","uniqWith","unset","updateWith","valuesIn","zipObject","zipObjectDeep","entriesIn","extendWith","clamp","cloneDeepWith","cloneWith","conformsTo","defaultTo","findLastKey","forIn","forInRight","forOwn","forOwnRight","baseInRange","isBoolean","isEqualWith","isMatch","isMatchWith","isNative","isSafeInteger","isWeakMap","isWeakSet","strictLastIndexOf","maxBy","mean","meanBy","minBy","stubObject","stubString","stubTrue","nth","noConflict","strLength","radix","floating","reduceRight","sample","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","sumBy","settings","isEscaping","isEvaluating","importsKeys","importsValues","reDelimiters","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","toLower","toSafeInteger","toUpper","trimEnd","trimStart","omission","newEnd","unescape","uniqueId","each","eachRight","VERSION","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","isRight","getView","iterLength","takeCount","iterIndex","src_button_groupvue_type_script_lang_js_","src_checkbox_groupvue_type_script_lang_js_","speed","afterLeaveCallback","src_optionvue_type_script_lang_js_","src_select_dropdownvue_type_script_lang_js_","src_selectvue_type_script_lang_js_","_select_src_option__WEBPACK_IMPORTED_MODULE_0__","UserAgent_DEPRECATED","isEventSupported","normalizeWheel","sX","sY","pX","pY","wheelDeltaY","wheelDeltaX","HORIZONTAL_AXIS","deltaY","deltaX","deltaMode","spinX","getEventType","firefox","_ie","_firefox","_opera","_webkit","_chrome","_ie_real_version","_osx","_windows","_linux","_android","_win64","_iphone","_ipad","_native","_mobile","_populated","_populate","uas","agent","os","trident","ver","ie","ieCompatibilityMode","ie64","opera","webkit","safari","chrome","windows","osx","linux","iphone","mobile","nativeApp","android","ipad","useHasFeature","ExecutionEnvironment","canUseDOM","implementation","hasFeature","eventNameSuffix","isSupported","canUseWorkers","Worker","canUseEventListeners","canUseViewport","screen","isInWorker","_ariaUtils","_ariaUtils2","tabEvent","focusFirst","dialogNode","getElementById","lastFocus","trapFocus","removeListeners","aFunction","that","DESCRIPTORS","getKeys","gOPS","pIE","$assign","K","T","aLen","isEnum","toAbsoluteIndex","IS_INCLUDES","$this","$at","iterated","TO_STRING","ObjectProto","TO_STRING_TAG","DOMIterables","Collection","addToUnscopables","Arguments","META","KEY","$fails","wks","wksDefine","enumKeys","_create","gOPNExt","$GOPD","$GOPS","$DP","gOPD","gOPN","$JSON","_stringify","HIDDEN","TO_PRIMITIVE","SymbolRegistry","AllSymbols","OPSymbols","USE_NATIVE","QObject","findChild","setSymbolDesc","protoDesc","$defineProperty","$defineProperties","$propertyIsEnumerable","$getOwnPropertyDescriptor","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","es6Symbols","wellKnownSymbols","keyFor","useSetter","useSimple","FAILS_ON_PRIMITIVES","replacer","$replacer","setDesc","FREEZE","preventExtensions","setMeta","NEED","fastKey","getWeak","onFreeze","windowNames","getWindowNames","element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__","element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__","src_input_numbervue_type_script_lang_js_","src_cascader_nodevue_type_script_lang_js_","src_cascader_menuvue_type_script_lang_js_","src_cascader_panelvue_type_script_lang_js_","src_mainvue_type_script_lang_js_","standalone","withPreposition","usageGroup","isSameUTCWeek","lowercaseFirstLetter","de","nl","selectedLocale","dateFrom","formatDistanceToNow","formatCurrency","formatNumber","truncated","tcText","daysDistance","daysFromIssuedDate","formatDay","uppercase","cloneUnlessOtherwiseSpecified","createSymbol","CANCEL","CHANNEL_END_TYPE","IO","MATCH","MULTICAST","SAGA_ACTION","SELF_CANCELLATION","TASK","TASK_CANCEL","TERMINATE","SAGA_LOCATION","undef","notUndef","pat","stringableFunc","kTrue","konst","kThrow","kReturn","makeIterator","thro","isSagaIterator","logError","sagaStack","createEmptyArray","shouldComplete","createAllStyleChildCallbacks","parentCallback","totalCount","completedCount","results","childCallbacks","chCbAtKey","isErr","getMetaInfo","instrumented","ringBuffer","overflowAction","pushIndex","popIndex","put","doubledLimit","expanding","initialSize","TAKE","PUT","ALL","RACE","CALL","CPS","FORK","JOIN","SELECT","ACTION_CHANNEL","CANCELLED","FLUSH","GET_CONTEXT","SET_CONTEXT","combinator","patternOrChannel","multicastPattern","channel","effects","eff","getFnCallDescriptor","fnDescriptor","fork","_len3","_key3","randomString","deferred","semaphore","task","asap","immediately","patterns","_predicate","matcherCreator","END","buffer$1","takers","taker","stdChannel","currentTakers","nextTakers","ensureCanMutateNextTakers","chan","RUNNING","ABORTED","DONE","cancelPromise","_effectRunnerMap","nextEffectId","cancelSingleTask","taskToCancel","isRunning","effectRunnerMap","_ref3$channel","maybe","takeCb","digestEffect","effectId","childCbs","proc","cpsCb","detached","taskIterator","createTaskIterator","getIteratorMetaInfo","addTask","isAborted","taskOrTasks","joinSingleTask","taskToJoin","joiner","joiners","getState","isCancelled","formatLocation","sagaLocationAsString","sagaMeta","crashedEffect","addSagaFrame","setCrashedEffect","cancelledTasks","firstSaga","otherSagas","crashedEffectLocation","newTask","mainTask","parentContext","parentEffectId","cont","_task","taskResult","taskError","deferredEnd","cancelledDueToErrorTasks","tasks","cancelAll","getTasks","forkQueue","toPromise","iterator$1","finalRunEffect","finalizeRunEffect","currCb","effectRunner","executingContext","effectSettled","sagaMonitor","effectRejected","effectResolved","effectTriggered","effectCancelled","runSaga","saga","_ref$channel","_ref$context","effectMiddlewares","_ref$onError","rootSagaStarted","actionDispatched","middleware","runEffect","refetchInvoicesByIds","refetchInvoices","getCompanyData","apiGet","apiPost","sendForgottenCode","sendForgottenCodeProcessResponse","previewId","collectionFetchState","showId","getCollectionSuccess","preview_id","getCollectionError","getCollectionStart","showAppUpdate","getCollection","markAsRead","markAsView","markAsClose","isCollectionLoaded","hasCollectionAnyItems","hasPreviewID","fetchedForDashboard","SET","setBreadcrumbs","configDataSave","setConfigFromWindow","configDataError","setColumnsConfig","column_settings","changeEetStatus","changeEetVisibility","setInvoicesStateConfig","setInvoicesWithoutState","setLineSuggestionConfig","getConfigData","vueInvoiceConfig","fetchConfigData","vat_schemes","invoice","getDefaultState","resourceFetchState","page","total_pages","searchQuery","searchOrder","apiValidation","RestHelper","endpoint","getResourceStart","getResourceSuccess","getResourceError","storeResourceSuccess","storeResourceError","deleteResourceError","deleteResourceSuccess","setSearchOrder","setSearchQuery","setPage","getResource","resourceName","newResource","editResource","setOrder","getCollectionPage","fulltext","storeResource","_ref11$onSuccess","withTimeout","deleteResource","isSearching","isResourceLoaded","isCollectionEmpty","collectionName","defaultState","searchForForm","per_page","notrack","searchBy","search_by","getResponse","_response$payload$dat","contact","contact_id","web","ratesProvider","rates","currentList","getCurrentList","getCurrency","setCurrencyRate","dateMask","currencyRatesReceived","setCurrent","currencyRatesError","dataForDate","selectedCurencyRate","dateFormated","_action$payload$data","bank","base_currency","openDiscountDialog","_payload$index","discountDialogOpened","currentDiscountLineIndex","closeDiscountDialog","isDiscountDialogOpen","applyInvoiceLineDiscount","discountData","isDiscountLine","applyInvoiceWideDiscount","discountLine","applyDiscount","CERT_PWD_ERROR","updateStoreValue","computeVisibilities","visibilities","openEetDialog","dialog_opened","getSettingsLoaded","getSettingsLoadError","api_validation","settingsStored","settingsStoreError","fileUploadFailed","eetEnabled","eetVisible","storeSettings","certFile","cert_file_id","eet_setting","getSettings","eet","validationRules","localeConfig","gb","rs","isCzech","setLangAndCountry","setEnvVar","setDateTimeFormats","downloadFile","filenameString","getRailsMessage","flashContainer","flash","flashObject","addMessage","flashMessage","clearMessage","saveTimeout","_clearTimeout","_x","_setTimeout","_x2","checkMessages","deserialize","$","as","unpair","_$index","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_step4","_iterator4","BigInt","EMPTY","asString","TYPE","serialize","lossy","_typeOf2","_entry","_entries","_entry2","_entries2","_entry3","parseLines","nullToEmptyString","defaultLine","customIgnored","ignoredFields","filteredDefaultLine","filteredLine","whenTrueFn","_pipe","_checkForMethod","methodname","toIndex","removeKey","removeIds","_excluded","_objectWithoutProperties","sourceKeys","sourceSymbolKeys","ROOT_KEYS","PARTNER_KEYS","ADDRESS_KEYS","BANK_KEYS","CONTACT_KEYS","buildComplete","buyer_company_name","buyer_id","fieldsDisabled","recurring_draft","recurring_enabled","recurring_end_options","recurring_frequency","recurring_issue_last_day","recurring_profile","recurring_submit_copy","remove_logo","remove_stamp","seller_id","settlement_method","setSequences","checkLinesForLanguage","openPremiumDialog","closePremiumDialog","updatePhoneValidations","updateStoreValues","setContactData","addInvoiceItem","lastLine","lineToUpdate","duplicateInvoiceItem","newItem","addSavedInvoiceItem","_payload$discountAmou","discountAmount","_payload$discountKind","discountKind","_payload$isDiscountLi","_payload$quantity","unitType","vatRate","alreadyAdded","unchangedLine","removeEmptyLines","removeInvoiceItem","setZeroVatRates","newLines","computeFieldsDisabled","setCompanyData","partyType","bank_account","address_city","address_postcode","address_street","reg_no","vat_no","tax_no","setInvoiceData","fetched","filtered","replaceEmptyDataWithDefault","currency_vat_conversion","due_on","logo_id","stamp_id","credit_noted_invoice_id","mapInvoiceDataToForm","isForcedEetAtPayment","updateLinesPositions","removeLineDiscount","setDefaultKind","nextInvoiceNumber","openPremiumDialogDownload","addInvoiceItemWithData","fetchContactData","setCompanyDataLoading","previewInvoice","invoiceApiData","createInvoice","submittedAt","shouldSetSubmittedAt","submitted_at","invoiceApiUrl","invoiceApiMethod","buildInvoice","invoiceId","createInvoiceSuccess","invoice_id","invoice_number","downloadInvoice","createInvoiceError","removeInvoiceDiscount","InvoiceWideDiscountLine","_ref39","kindOptions","meansOfPaymentOptions","linesWithoutDeleted","sortedLines","bankApiData","useIban","_state$","responseKey","routing_number","sort_code","contactData","addressApiData","partnerApiData","recurringApiData","recurring_profile_attributes","end_options","frequency","ends_on","ends_after_count","issue_last_day","auto_submit","submit_copy","dueOnApiData","due_on_localized","deliveryOnData","getStamp","getStampUrl","_state$stamp$","getLogo","getLogoUrl","_state$logo$","invoiceAttachments","remove_logo_id","remove_stamp_id","vatTotalCurrency","shouldBeRegistered","isLocked","registerEet","vat_totals_currency","lines_attributes","_ref40","buyer_attributes","seller_attributes","invoices","invoicesFetchState","setStateInvoiceState","fetchState","requestParams","invoiceKind","onlyUnPaid","invoicesForContact","updateInvoicesData","setFetchStarted","setFetchSuccess","setFetchError","setPaidStart","setPaidSuccess","setPaidError","getInvoicesSuccess","_action$payload$heade","totalPages","getInvoicesError","setSearchParams","invoicePreview","msSaveOrOpenBlob","fileURL","newWindow","invoiceDownload","_ref5$format","_ref5$onSuccess","_ref5$persistent","persistent","_ref5$exportType","exportType","_ref5$messageKey","messageKey","_ref5$onFinish","onFinish","export_type","invoiceDownloadBatch","batch_action","invoicesReport","invoiceDeleteBatch","invoicePayBatch","invoiceUnPayBatch","getNewInvoice","isBatchDownloading","invoice_kind","client_id","only_unpaid","isBlank","MISSING_KEY_PROPERTY","INVALID_KEY_WEIGHT_VALUE","KeyStore","_keys","_keyMap","totalWeight","createKey","weight","keyId","createKeyPath","createKeyId","AdvancedOptions","useExtendedSearch","getFn","deepGet","ignoreLocation","ignoreFieldNorm","Config","isCaseSensitive","includeScore","shouldSort","sortFn","score","includeMatches","findAllMatches","minMatchCharLength","SPACE","FuseIndex","_ref$getFn","norm","mantissa","numTokens","sqrt","isCreated","setIndexRecords","docs","_keysMap","docIndex","_addString","_addObject","keyIndex","subRecords","nestedArrIndex","_stack$pop","subRecord","createIndex","_ref2$getFn","myIndex","setKeys","setSources","computeScore","_ref4$errors","_ref4$currentLocation","currentLocation","_ref4$expectedLocatio","expectedLocation","_ref4$distance","_ref4$ignoreLocation","accuracy","proximity","MAX_BITS","patternAlphabet","_ref5$location","_ref5$distance","_ref5$threshold","_ref5$findAllMatches","_ref5$minMatchCharLen","_ref5$includeMatches","_ref5$ignoreLocation","patternLen","textLen","currentThreshold","bestLocation","computeMatches","matchMask","lastBitArr","finalScore","binMax","binMin","binMid","bitArr","charMatch","indices","matchmask","convertMaskToIndices","createPatternAlphabet","BitapSearch","_ref6$location","_ref6$threshold","_ref6$distance","_ref6$includeMatches","_ref6$findAllMatches","_ref6$minMatchCharLen","_ref6$isCaseSensitive","_ref6$ignoreLocation","chunks","addChunk","startIndex","alphabet","_this$options","_this$options2","allIndices","totalScore","hasMatches","_search","BaseMatch","getMatch","multiRegex","singleRegex","ExactMatch","_BaseMatch","InverseExactMatch","_BaseMatch2","PrefixExactMatch","_BaseMatch3","InversePrefixExactMatch","_BaseMatch4","SuffixExactMatch","_BaseMatch5","InverseSuffixExactMatch","_BaseMatch6","FuzzyMatch","_BaseMatch7","_ref8$location","_ref8$threshold","_ref8$distance","_ref8$includeMatches","_ref8$findAllMatches","_ref8$minMatchCharLen","_ref8$isCaseSensitive","_ref8$ignoreLocation","_bitapSearch","searchIn","IncludeMatch","_BaseMatch8","searchers","searchersLen","SPACE_RE","MultiMatchSet","ExtendedSearch","_ref9$isCaseSensitive","_ref9$includeMatches","_ref9$minMatchCharLen","_ref9$ignoreLocation","_ref9$findAllMatches","_ref9$location","_ref9$threshold","_ref9$distance","queryItem","found","searcher","isMultiMatch","_searcher","_token","isSingleMatch","_this$options3","numMatches","qLen","_searchers","pLen","_searcher$search","registeredSearchers","createSearcher","searcherClass","LogicalOperator","KeyType","isExpression","convertToExplicit","_ref12$auto","auto","isQueryPath","isPath","LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY","transformMatches","refIndex","transformScore","Fuse","_keyStore","setCollection","_docs","_myIndex","removeAt","_ref16$limit","_this$options4","_searchStringList","_searchObjectList","_searchLogical","_ref13$ignoreFieldNor","EPSILON","computeScore$1","_ref15$includeMatches","_ref15$includeScore","transformers","_searcher$searchIn","_findMatches","getValueForItemAtKeyId","_res","resultMap","expResults","_resultMap$idx$matche","_this$_myIndex","_searcher$searchIn2","_norm","_searcher$searchIn3","parseIndex","_ref3$getFn","line_descriptions","setItems","deleteItem","lineId","searchFor","shouldISearch","searchLocaly","lineSuggestions","searchOnServer","invoice_kinds","downloadFetchState","isDownloadSuccess","isDownloadInProgress","fetchFilterConfig","fetchData","fetchInvoices","reports","_action$payload$meta$","requestDownload","requestDownloadStart","requestDownloadSuccess","requestDownloadError","getFilterConfigSuccess","patch","qEnd","safeName","fsmIterator","fsm","startState","stateUpdater","errorState","currentState","takeEvery","worker","yTake","setAction","ac","q1","q2","takeEvery$1","_marked","dispatchAction","_marked2","apiFetch","_marked3","apiFetchWatch","_context","getEffects","_action$payload$promi","_promise$resolve","_promise$reject","_context2","t0","_context3","for_migration","activeSettings","canDisableFooterBrand","disableBrandInFooter","invoiceStateEnabled","lineSuggestionsEnabled","predictNumber","predictType","predictDate","setActiveTab","openSettingsDialog","closeSettingsDialog","disable_brand_in_footer","invoice_state","invoice_line_descriptions","can_disable_footer_brand","setActiveSettings","predictPattern","_ref$date","changeColumnsSettings","setting","table_columns","tableColumns","submitForm","marAsPaid","update_all_invoices","changeColumnsSuccess","formSubmitSuccess","setSequencesToForm","settingsForm","signUpSuccess","signUpError","clearSignUpError","signUp","_ref2$downloadOnSucce","downloadOnSuccess","signUpNewbie","from_landing","trackSignUp","content_type","group_by","setSendExistingInvoice","sendExistingInvoice","setFromOverview","fromOverview","setInvoiceNumber","invoiceNumber","copyToSender","isdoc","setFormData","sender","recipient","buildFormForExistingInvoice","_ref3$fromOverview","buildForm","getInvoiceId","formBuildSuccess","formBuildError","_ref7$attachmentIds","attachmentIds","invoice_email","recipients_str","isdoc_required","copy_to_sender","attachment_ids","getInvoiceData","_action$data","getRecipientSuggestions","emailForm","getInvoiceNumber","hiddenPaths","handleSubnavigationLinks","hideSubnavigationLinks","handleContentLinks","hideContentLinks","handleAppLinks","hideAppLinks","vueInstance","preventedPath","scrollToElement","hideFooterInvoicesInfo","emitter","sagaPlugin","_store","run","loggerPlugin","globalPlugins","getItem","storage","localStorage","u","setItem","arrayMerger","setState","reducer","api","appUpdates","contacts","currencyRates","discountDialog","eetForm","flashMessages","savedLines","statistics","submitInvoiceForm","uiEffects","sagas","subscriptionFlash","navbar","installedIntegrations","getIntegrationsToSetup","defaultIntegrations","userIntegrations","isDefaultInstance","finalIntegrations","integrationsByName","currentInstance","existingInstance","filterDuplicates","debugIndex","debugInstance","afterSetupIntegrations","afterAllSetup","setupIntegration","integrationIndex","setupOnce","preprocessEvent","addEventProcessor","processEvent","_callback","convertIntegrationFnToClass","DEFAULT_IGNORE_ERRORS","DEFAULT_IGNORE_TRANSACTIONS","INTEGRATION_NAME","inboundFiltersIntegration","_hint","clientOptions","mergedOptions","internalOptions","allowUrls","denyUrls","disableErrorDefaults","ignoreTransactions","disableTransactionDefaults","ignoreInternal","_mergeOptions","_isSentryError","lastException","possibleMessages","_getPossibleEventMessages","_isIgnoredError","_isIgnoredTransaction","_getEventFilterUrl","_isDeniedUrl","_isAllowedUrl","_shouldDropEvent","_getLastValidUrl","originalFunctionToString","SETUP_CLIENTS","functionToStringIntegration","initAndBind","clientClass","debug","initialScope","setCurrentClient","initializeClient","DSN_REGEX","dsnToString","dsn","withPassword","pass","projectId","dsnFromComponents","makeDsn","_match$slice2","_match$slice2$","_match$slice2$2","projectMatch","dsnFromString","isValidProtocol","validateDsn","SENTRY_API_VERSION","getBaseApiEndpoint","_encodedAuth","sdkInfo","sentry_key","sentry_version","sentry_client","getEnvelopeEndpointWithUrlEncodedAuth","tunnelOrOptions","tunnel","_metadata","_getIngestEndpoint","supportsFetch","Headers","Request","Response","isNativeFetch","supportsNativeFetch","EdgeRuntime","sandbox","addHandler","maybeInstrument","instrumentFn","triggerHandlers","typeHandlers","lastHref","addHistoryInstrumentationHandler","instrumentHistory","isChromePackagedApp","hasHistoryApi","supportsHistory","oldOnPopState","onpopstate","historyReplacementFunction","originalHistoryFunction","createEnvelope","forEachEnvelopeItem","envelope","envelopeItems","envelopeItem","encodeUTF8","textEncoder","TextEncoder","serializeEnvelope","_envelope2","envHeaders","itemHeaders","stringifiedPayload","buffers","totalLength","concatBuffers","createAttachmentEnvelopeItem","attachment_type","attachmentType","ITEM_TYPE_TO_DATA_CATEGORY_MAP","sessions","client_report","user_report","profile","replay_event","replay_recording","check_in","feedback","statsd","envelopeItemTypeToDataCategory","getSdkMetadataForEnvelopeHeader","metadataOrEvent","_metadataOrEvent$sdk","createEventEnvelopeHeaders","sent_at","SentryError","logLevel","createEventEnvelope","eventType","packages","enhanceEventWithSdkInfo","envelopeHeaders","createMetricEnvelope","metricBucketItems","tagEntries","maybeTags","metric","metricType","serializeMetricBuckets","createMetricEnvelopeItem","ALREADY_SEEN_ERROR","BaseClient","_integrations","_integrationsInitialized","_numProcessing","_outcomes","_hooks","_dsn","_transport","transport","recordDroppedEvent","transportOptions","_process","eventFromException","_captureEvent","eventMessage","promisedEvent","eventFromMessage","capturedSpanScope","sendSession","metricsAggregator","_isClientDoneProcessing","clientFinished","transportFlushed","eventProcessor","forceInitialize","_isEnabled","_setupIntegrations","integrationId","getIntegrationByName","integrationName","isAlreadyInstalled","_envelope","_sendEnvelope","sendResponse","createSessionEnvelope","_event","sendClientReports","metricsEnvelope","crashed","errored","exceptions","sessionNonTerminal","ticked","getPropagationContext","parentSpanId","_processEvent","finalEvent","sentryError","isTransaction","isTransactionEvent","beforeSendLabel","dataCategory","capturedSpanIsolationScope","_prepareEvent","__sentry__","beforeSend","beforeSendTransaction","processBeforeSend","beforeSendResult","invalidValueError","_validateBeforeSendResult","processedEvent","_updateSessionFromEvent","transactionInfo","transaction_info","sendEvent","outcomes","_key$split2","exceptionFromError","ex","parseStackFrames","extractMessage","eventFromError","popSize","reactMinifiedRegexp","getPopSize","eventFromUnknownInput","attachStacktrace","isUnhandledRejection","domException","eventFromString","getNonErrorObjectExceptionValue","__serialized__","eventFromPlainObject","synthetic","__sentry_template_string__","__sentry_template_values__","logentry","captureType","getObjectClassName","ignoreOnError","shouldIgnoreOnError","__sentry_wrapped__","sentryWrapped","wrappedArguments","_BaseClient","BrowserClient","applySdkMetadata","SENTRY_SDK_SOURCE","_flushOutcomes","createUserFeedbackEnvelopeItem","createUserFeedbackEnvelope","getSdkMetadata","platform","_clearOutcomes","discarded_events","instrumentConsole","debounceTimerID","lastCapturedEventType","lastCapturedEventTargetId","DEBOUNCE_DURATION","addClickKeypressInstrumentationHandler","instrumentDOM","triggerDOMHandler","globalDOMEventHandler","makeDOMEventHandler","originalAddEventListener","__sentry_instrumentation_handlers__","handlerForType","refCount","originalRemoveEventListener","globalListener","getEventTarget","isContentEditable","shouldSkipDOMEvent","_sentryId","isSimilarToLastCapturedEvent","SENTRY_XHR_DATA_KEY","addXhrInstrumentationHandler","instrumentXHR","xhrproto","originalOpen","startTimestamp","e2","parseUrl","request_headers","__sentry_own_request__","onreadystatechangeHandler","xhrInfo","status_code","endTimestamp","readyStateArgs","setRequestHeaderArgs","originalSend","sentryXhrData","_len4","_key4","addFetchInstrumentationHandler","instrumentFetch","originalFetch","_parseFetchArgs","fetchArgs","_fetchArgs","getUrlFromResource","hasProp","parseFetchArgs","handlerData","validSeverityLevels","severityLevelFromString","MAX_ALLOWED_STRING_LENGTH","breadcrumbsIntegration","_getConsoleBreadcrumbHandler","serializeAttribute","_isEvent","_getDomBreadcrumbHandler","_getXhrBreadcrumbHandler","_getFetchBreadcrumbHandler","parsedLoc","parsedFrom","parsedTo","_getHistoryBreadcrumbHandler","_getSentryBreadcrumbHandler","dedupeIntegration","previousEvent","currentEvent","currentMessage","previousMessage","_isSameFingerprint","_isSameStacktrace","_isSameMessageEvent","previousException","_getExceptionFromEvent","currentException","_isSameExceptionEvent","currentFrames","_getFramesFromEvent","previousFrames","frameA","frameB","lineno","currentFingerprint","previousFingerprint","_oldOnErrorHandler","instrumentError","__SENTRY_LOADER__","__SENTRY_INSTRUMENTED__","_oldOnUnhandledRejectionHandler","instrumentUnhandledRejection","onunhandledrejection","globalHandlersIntegration","stackTraceLimit","_getOptions","ERROR_TYPES_RE","_enhanceEventWithInitialFrame","_eventFromIncompleteOnError","_installGlobalOnErrorHandler","globalHandlerLog","_getOptions2","_getUnhandledRejectionError","_installGlobalOnUnhandledRejectionHandler","ev0","ev0s","ev0sf","in_app","httpContextIntegration","referrer","Referer","applyAggregateErrorsToEvent","exceptionFromErrorImplementation","maxValueLimit","aggregateExceptionsFromError","prevExceptions","exceptionId","newExceptions","applyExceptionGroupFieldsForParentException","newException","newExceptionId","applyExceptionGroupFieldsForChildException","childError","_newException","_newExceptionId","is_exception_group","exception_id","parent_id","linkedErrorsIntegration","DEFAULT_EVENT_TARGET","browserApiErrorsIntegration","eventTarget","_wrapTimeFunction","_wrapRAF","_wrapXHR","eventTargetOption","_wrapEventTarget","originalCallback","wrapOptions","globalObject","wrappedEventHandler","originalEventHandler","UNKNOWN_FUNCTION","createFrame","chromeRegex","chromeEvalRegex","chromeStackLineParser","subMatch","_extractSafariExtensi2","extractSafariExtensionDetails","geckoREgex","geckoEvalRegex","geckoStackLineParser","_extractSafariExtensi4","winjsRegex","defaultStackLineParsers","defaultStackParser","isSafariExtension","isSafariWebExtension","makePromiseBuffer","taskProducer","drain","counter","capturedSetTimeout","DEFAULT_RETRY_AFTER","isRateLimited","limits","disabledUntil","updateRateLimits","updatedRateLimits","rateLimitHeader","retryAfterHeader","_limit$split2","retryAfter","categories","headerDelay","headerDate","parseRetryAfterHeader","DEFAULT_TRANSPORT_BUFFER_SIZE","createTransport","makeRequest","bufferSize","rateLimits","filteredEnvelopeItems","envelopeItemDataCategory","getEventForEnvelopeItem","filteredEnvelope","recordEnvelopeLoss","__sentry__baseTransport__","cachedFetchImpl","makeFetchTransport","nativeFetch","fetchImpl","getNativeFetchImplementation","pendingBodySize","pendingCount","requestSize","referrerPolicy","keepalive","XHR_READYSTATE_DONE","makeXHRTransport","getResponseHeader","getDefaultIntegrations","__SENTRY_RELEASE__","SENTRY_RELEASE","autoSessionTracking","startSessionTracking","hasTracingEnabled","maybeOptions","__SENTRY_TRACING__","enableTracing","DEFAULT_HOOKS","classifyRE","ANONYMOUS_COMPONENT_NAME","formatComponentName","includeFile","_componentTag","_app$config","warnHandler","lifecycleHook","currentRecursiveSequence","formattedTree","generateComponentTrace","attachProps","vue","logErrors","hasConsole","startInactiveSpan","normalizeContext","parentSpan","getActiveSpan","onlyIfParent","startChild","_isolationScope$getPr","startTransaction","parentSampled","setCapturedScopesOnSpan","SCOPE_ON_START_SPAN_FIELD","ISOLATION_SCOPE_ON_START_SPAN_FIELD","VUE_OP","HOOKS","activate","unmount","mount","hooks","internalHooks","_loop2","internalHook","$_sentryRootSpan","shouldTrack","trackComponents","$_sentrySpans","oldSpan","$_sentryRootSpanTimer","DEFAULT_CONFIG","vueIntegration","integrationOptions","_setupIntegration","appWithInstance","_instance","isMounted","tracingOptions","_optionalChain","lastAccessLHS","isSentryRequestUrl","hubOrClient","isHub","checkDsn","removeTrailingSlash","checkTunnel","_previousLcp","bindReporter","reportAllChanges","prevValue","delta","forceReport","__WEB_VITALS_POLYFILL__","getEntriesByType","navigation","navigationEntry","entryType","navEntry","activationStart","navigationType","prerendering","rating","PerformanceObserver","supportedEntryTypes","po","getEntries","buffered","onHiddenOrPageHide","firstHiddenTime","getVisibilityWatcher","reportedMetricIDs","onReport","report","visibilityWatcher","handleEntries","lastEntry","stopListening","takeRecords","addPerformanceInstrumentationHandler","durationThreshold","instrumentPerformanceObserver","getCleanupCallback","instrumentLcp","addMetricObserver","previousValue","stopOnCallback","asyncGeneratorStep","gen","_throw","_asyncToGenerator","NodeType$1","REPLAY_SESSION_KEY","REPLAY_EVENT_NAME","UNABLE_TO_SEND_REPLAY","RETRY_BASE_INTERVAL","RETRY_MAX_COUNT","NETWORK_BODY_MAX_SIZE","CONSOLE_ARG_MAX_SIZE","REPLAY_MAX_EVENT_BUFFER_SIZE","MAX_REPLAY_DURATION","_optionalChain$5","_value2","isShadowRoot","_2","isNativeShadowDom","stringifyStylesheet","cssRules","cssText","stringifyRule","importStringified","cssStringified","isCSSImportRule","styleSheet","statement","layerName","supportsText","media","mediaText","escapeImportStatement","isCSSStyleRule","selectorText","NodeType","Mirror","idNodeMap","nodeMetaMap","lhs","rhsFn","_3","getMeta","_4","_5","getId","childNode","removeNodeFromMap","oldNode","shouldMaskInput","maskInputOptions","maskInputValue","isMasked","maskInputFn","ORIGINAL_ATTRIBUTE_NAME","getInputType","hasAttribute","getInputValue","canvasService","canvasCtx","tagNameRegex","IGNORED_NODE","genId","URL_IN_CSS_REF","URL_PROTOCOL_MATCH","URL_WWW_MATCH","DATA_URI","absoluteToStylesheet","quote1","path1","quote2","path2","path3","filePath","maybeQuote","SRCSET_NOT_SPACES","SRCSET_COMMAS_OR_SPACES","absoluteToDoc","attributeValue","isSVGElement","ownerSVGElement","getHref","transformAttribute","maskAttributeFn","collectCharacters","regEx","descriptorsStr","inParens","getAbsoluteSrcsetString","ignoreAttribute","distanceToMatch","matchPredicate","createMatchPredicate","eIndex","elementClassMatchesRegex","needMaskingText","maskTextClass","maskTextSelector","unmaskTextClass","unmaskTextSelector","maskAllText","maskDistance","unmaskDistance","serializeNode","mirror","blockClass","blockSelector","unblockSelector","inlineStylesheet","_options$maskInputOpt","maskTextFn","_options$dataURLOptio","dataURLOptions","inlineImages","recordCanvas","keepIframeSrcFn","_options$newlyAddedEl","newlyAddedElement","hasNode","docId","getRootId","DOCUMENT_NODE","compatMode","DOCUMENT_TYPE_NODE","DocumentType","publicId","systemId","isCustomElement","_options$maskInputOpt2","_options$dataURLOptio2","_options$newlyAddedEl2","needBlock","_isBlockedElement","HTMLFormElement","processedTagName","getValidTagName","stylesheet","styleSheets","_cssText","sheet","forceMask","__context","canvas","getImageData","originalGetImageData","Uint32Array","pixel","is2DCanvasBlank","rr_dataURL","toDataURL","quality","canvasDataURL","blankCanvas","crossOrigin","recordInlineImage","naturalWidth","naturalHeight","drawImage","currentSrc","rr_mediaState","paused","rr_mediaCurrentTime","currentTime","rr_scrollLeft","rr_scrollTop","_n$getBoundingClientR","rr_width","rr_height","contentDocument","rr_src","customElements","isSVG","isCustom","serializeElementNode","TEXT_NODE","parentTagName","isStyle","isScript","isTextarea","_6","_7","_8","Text","serializeTextNode","CDATA_SECTION_NODE","CDATA","COMMENT_NODE","Comment","lowerIfExists","maybeAttr","serializeNodeWithId","_options$skipChild","skipChild","_options$inlineStyles","_options$maskInputOpt3","slimDOMOptions","_options$dataURLOptio3","_options$inlineImages","_options$recordCanvas","onSerialize","onIframeLoad","_options$iframeLoadTi","iframeLoadTimeout","onStylesheetLoad","_options$stylesheetLo","stylesheetLoadTimeout","_options$keepIframeSr","_options$newlyAddedEl3","_options$preserveWhit","preserveWhiteSpace","_serializedNode","sn","comment","headFavicon","headMetaDescKeywords","headMetaSocial","headMetaRobots","headMetaHttpEquiv","headMetaAuthorship","headMetaVerification","slimDOMExcluded","serializedNode","recordChild","isShadowHost","headWhitespace","bypassOptions","_Array$from","_serializedChildNode","isElement$1","_Array$from2","serializedChildNode","isShadow","iframeEl","win","fired","blankUrl","onceIframeLoaded","iframeDoc","serializedIframeNode","styleSheetLoadTimeout","styleSheetLoaded","onceStylesheetLoaded","serializedLinkNode","_optionalChain$4","_value3","DEPARTED_MIRROR_ACCESS_WARNING","_mirror","hookSetter","isRevoked","__rrweb_original__","nowTimestamp","getWindowScroll","scrollingElement","_9","_10","_11","_12","_13","_14","getWindowHeight","getWindowWidth","isBlocked","checkAncestors","blockedPredicate","isUnblocked","blockDistance","unblockDistance","isIgnored","isAncestorRemoved","legacy_isTouchEvent","changedTouches","isSerializedIframe","isSerializedStylesheet","hasShadowRoot","_18","cachedRequestAnimationFrameImplementation","StyleSheetMirror","styleIDMap","idStyleMap","newId","getShadowHost","shadowHost","_19","getRootNode","_20","_21","DOCUMENT_FRAGMENT_NODE","shadowHostInDom","rootShadowHost","getRootShadowHost","inDom","onRequestAnimationFrame","requestAnimationFrameImplementation","getRequestAnimationFrameImplementation","EventType","EventType2","IncrementalSource","IncrementalSource2","MouseInteractions","MouseInteractions2","PointerTypes","PointerTypes2","_optionalChain$3","_value4","_len5","_key5","isNodeInLinkedList","DoubleLinkedList","__ln","_current","moveKey","MutationBuffer","frozen","removes","mapRemoves","movedMap","addedSet","movedSet","droppedSet","processMutations","processMutation","adds","addedIds","addList","getNextId","nextId","pushAdd","addNode","currentN","iframeManager","addIframe","stylesheetManager","trackLinkElement","shadowDomManager","addShadowRoot","childSn","attachIframe","observeAttachShadow","attachLinkElement","isParentRemoved","isAncestorInSet","candidate","tailNode","_parentId","unhandledNode","removeNode","diffAsStr","styleDiff","unchangedAsStr","_unchangedStyles","mutationCb","unattachedDoc","createHTMLDocument","attributeName","_value5","isInputMasked","old","_Array$from3","pname","newPriority","getPropertyPriority","_Array$from4","_pname","addedNodes","genAdds","removedNodes","isSerialized","deepDelete","processedNodeManager","inOtherBuffer","targetId","childN","canvasManager","unfreeze","unlock","addsSet","_isParentRemoved","_isAncestorInSet","callbackWrapper","_optionalChain$2","_value6","_len6","_key6","mutationBuffers","composedPath","initMutationObserver","rootEl","mutationBuffer","mutationObserverCtor","__rrMutationObserver","angularZoneSymbol","Zone","__symbol__","onMutation","attributeOldValue","characterDataOldValue","initMouseInteractionObserver","mouseInteractionCb","sampling","mouseInteraction","disableMap","currentPointerType","eventKey","pointerType","thisEventKey","Mouse","Touch","Pen","MouseDown","MouseUp","Click","getHandler","PointerEvent","TouchStart","TouchEnd","initScrollObserver","scrollCb","scrollLeftTop","INPUT_TAGS","lastInputValueMap","initInputObserver","inputCb","ignoreClass","ignoreSelector","userTriggeredOnInput","eventHandler","userTriggered","isTrusted","cbWithDedup","_text","lastInputValue","currentWindow","propertyDescriptor","HTMLInputElement","hookProperties","HTMLSelectElement","HTMLTextAreaElement","HTMLOptionElement","getNestedCSSRulePositions","childRule","hasNestedCSSRule","parentRule","CSSGroupingRule","CSSMediaRule","CSSSupportsRule","CSSConditionRule","parentStyleSheet","recurse","getIdAndStyleId","styleMirror","styleId","ownerNode","initAdoptedStyleSheetObserver","hostId","patchTarget","ShadowRoot","originalPropertyDescriptor","sheets","_15","_16","adoptStyleSheets","initObservers","viewportResizeCb","lastH","lastW","mutationObserver","mousemoveHandler","mousemoveCb","timeBaseline","callbackThreshold","mousemoveCallback","wrappedCb","totalOffset","timeOffset","updatePosition","DragEvent","Drag","MouseMove","TouchMove","initMoveObserver","mouseInteractionHandler","scrollHandler","viewportResizeHandler","inputHandler","mediaInteractionHandler","mediaInteractionCb","volume","muted","playbackRate","initMediaInteractionObserver","styleSheetObserver","styleSheetRuleCb","CSSStyleSheet","insertRule","argumentsList","_argumentsList","_getIdAndStyleId","replaceSync","deleteRule","_getIdAndStyleId2","_getIdAndStyleId3","_getIdAndStyleId4","supportedNestedCSSRuleTypes","canMonkeyPatchNestedCSSRule","unmodifiedFunctions","typeKey","_argumentsList5","_getIdAndStyleId5","_getIdAndStyleId6","initStyleSheetObserver","adoptedStyleSheetObserver","styleDeclarationObserver","styleDeclarationCb","ignoreCSSAttributes","setProperty","CSSStyleDeclaration","_argumentsList7","priority","_getIdAndStyleId7","_17","removeProperty","_getIdAndStyleId8","initStyleDeclarationObserver","fontObserver","collectFonts","fontCb","fontMap","originalFontFace","FontFace","family","descriptors","fontFace","fontSource","restoreHandler","fonts","initFontObserver","selectionObserver","selectionCb","updateSelection","getSelection","isCollapsed","rangeCount","getRangeAt","startContainer","startOffset","endContainer","endOffset","initSelectionObserver","customElementObserver","customElementCb","initCustomElementObserver","pluginHandlers","CrossOriginIframeMirror","generateIdFn","iframeIdToRemoteIdMap","iframeRemoteIdToIdMap","remoteId","idToRemoteMap","remoteToIdMap","idToRemoteIdMap","getIdToRemoteIdMap","remoteIdToIdMap","getRemoteIdToIdMap","getRemoteId","_optionalChain$1","_value7","_len7","_key7","_takeFullSnapshot","IframeManagerNoop","crossOriginIframeMirror","crossOriginIframeRootIdMap","IframeManager","iframes","crossOriginIframeMap","wrappedEmit","recordCrossOriginIframes","crossOriginIframeStyleMirror","handleMessage","loadListener","isAttachIframe","adoptedStyleSheets","crossOriginMessageEvent","transformedEvent","transformCrossOriginEvent","isCheckout","FullSnapshot","replaceIdOnNode","patchRootIdOnNode","IncrementalSnapshot","Mutation","Meta","Load","DomContentLoaded","Plugin","Custom","replaceIds","ViewportResize","MediaInteraction","MouseInteraction","Scroll","CanvasMutation","StyleSheetRule","StyleDeclaration","replaceStyleIds","Font","Selection","AdoptedStyleSheet","iframeMirror","_iteratorNormalCompletion5","_didIteratorError5","_iteratorError5","_step5","_iterator5","getIds","ShadowDomManagerNoop","ShadowDomManager","shadowDoms","restoreHandlers","patchAttachShadow","iframeElement","manager","CanvasManagerNoop","StylesheetManager","trackedLinkElements","adoptedStyleSheetCb","linkEl","trackStylesheetInLinkElement","adoptedStyleSheetData","styleIds","_iteratorNormalCompletion6","_didIteratorError6","_iteratorError6","_step6","_iterator6","CSSRule","ProcessedNodeManager","nodeMap","periodicallyClear","thisBuffer","wrapEvent","eWithTime","checkoutEveryNms","checkoutEveryNth","_options$blockClass","_options$blockSelecto","_options$unblockSelec","_options$ignoreClass","_options$ignoreSelect","_options$maskAllText","_options$maskTextClas","_options$unmaskTextCl","_options$maskTextSele","_options$unmaskTextSe","_options$inlineStyles2","maskAllInputs","_maskInputOptions","_slimDOMOptions","packFn","_options$sampling","_options$dataURLOptio4","mousemoveWait","_options$recordCanvas2","_options$recordCrossO","_options$recordAfter","recordAfter","_options$userTriggere","_options$collectFonts","_options$inlineImages2","_options$keepIframeSr2","_options$ignoreCSSAtt","getCanvasManager","inEmittingFrame","passEmitsToParent","lastFullSnapshotEvent","tel","NodeList","DOMTokenList","incrementalSnapshotCount","_iteratorNormalCompletion7","_didIteratorError7","_iteratorError7","_step7","_iterator7","postMessage","exceedCount","exceedTime","takeFullSnapshot","wrappedMutationEmit","wrappedScrollEmit","wrappedCanvasMutationEmit","__RRWEB_EXCLUDE_IFRAME__","_iteratorNormalCompletion8","_didIteratorError8","_iteratorError8","_step8","_iterator8","getMirror","nodeMirror","getCanvasManagerFn","_getCanvasManager","__RRWEB_EXCLUDE_SHADOW_DOM__","_ref3$mirror","_ref3$blockClass","_ref3$blockSelector","_ref3$unblockSelector","_ref3$maskAllText","_ref3$maskTextClass","_ref3$unmaskTextClass","_ref3$maskTextSelecto","_ref3$unmaskTextSelec","_ref3$inlineStyleshee","_ref3$inlineImages","_ref3$recordCanvas","_ref3$maskAllInputs","_ref3$slimDOM","slimDOM","_ref3$keepIframeSrcFn","initialOffset","canvasMutationCb","CustomElement","addLoadListener","ReplayEventTypeIncrementalSnapshot","timestampToMs","timestampToS","addBreadcrumbEvent","replay","triggerUserActivity","checkAndHandleExpiredSession","addUpdate","throttledAddEvent","INTERACTIVE_SELECTOR","getClosestInteractive","closest","getClickTargetNode","getTargetNode","isEventWithTarget","onWindowOpen","originalWindowOpen","_len8","_key8","ClickDetector","slowClickConfig","_addBreadcrumbEvent","_lastMutation","_lastScroll","_clicks","_timeout","_threshold","_scollTimeout","scrollTimeout","_replay","_ignoreSelector","_this15","cleanupWindowOpen","nowInSeconds","_teardown","_checkClickTimeout","SLOW_CLICK_TAGS","ignoreElement","isClickBreadcrumb","newClick","clickBreadcrumb","clickCount","_scheduleCheckClicks","_handleMultiClick","_getClicks","_this16","timedOutClicks","mutationAfter","scrollAfter","_i5","_timedOutClicks","_generateBreadcrumbs","hadScroll","hadMutation","isSlowClick","timeAfterClickMs","endReason","getCurrentRoute","_breadcrumb","_this17","_checkClicks","updateClickDetectorForRecordingEvent","clickDetector","isIncrementalEvent","registerScroll","isIncrementalMouseInteraction","_event$data","registerClick","createBreadcrumb","ATTRIBUTES_TO_RECORD","getAttributesToRecord","normalizedKey","handleDomListener","_getDomTarget","getDomTarget","getBaseDomBreadcrumb","handleDom","handleKeyboardEvent","updateUserActivity","isInputElement","hasModifierKey","isCharacterKey","baseBreadcrumb","getKeyboardBreadcrumb","ENTRY_TYPES","initiatorType","responseEnd","decodedBodySize","encodedBodySize","responseStatus","transferSize","getAbsoluteTime","paint","domComplete","domContentLoadedEventStart","domContentLoadedEventEnd","domInteractive","loadEventStart","loadEventEnd","redirectCount","createPerformanceEntry","setupPerformanceObserver","addPerformanceEntry","performanceEntries","onEntries","clearCallbacks","addLcpInstrumentationHandler","replayPerformanceEntries","getLargestContentfulPaint","clearCallback","logInfo","shouldAddBreadcrumb","addLogBreadcrumb","logInfoNextTick","EventBufferSizeExceededError","EventBufferArray","_totalSize","hasCheckout","_addEvent2","_callee","eventSize","_this18","eventsRet","WorkerHandler","_worker","_this19","_ensureReadyPromise","terminate","_this20","_getAndIncrementId","EventBufferCompressionWorker","_earliestTimestamp","_finishRequest2","_sendEventToWorker","_finishRequest","_callee2","EventBufferProxy","_fallback","_compression","_used","_ensureWorkerIsLoadedPromise","_ensureWorkerIsLoaded","_switchToCompressionWorker2","_ensureWorkerIsLoaded2","_finish","getEarliestTimestamp","addEvent","_callee3","_context4","ensureWorkerIsLoaded","_callee4","_context5","_switchToCompressionWorker","_callee5","_this$_fallback","addEventPromises","_iteratorNormalCompletion9","_didIteratorError9","_iteratorError9","_iterator9","_step9","_context6","t1","hasEvents","createEventBuffer","useCompression","customWorkerUrl","workerUrl","__SENTRY_EXCLUDE_REPLAY_WORKER__","_getWorkerUrl","_loadWorker","hasSessionStorage","sessionStorage","clearSession","deleteSession","isSampled","lastActivity","segmentId","previousSessionId","saveSession","createSession","sessionSampleRate","allowBuffering","_ref28$stickySession","stickySession","getSessionSampleType","isExpired","initialTime","expiry","targetTime","isSessionExpired","maxReplayDuration","sessionIdleExpire","_ref30$targetTime","shouldRefreshSession","loadOrCreateSession","sessionOptions","traceInternals","existingSession","sessionStringFromStorage","sessionObj","fetchSession","addEventSync","shouldAddEvent","_addEvent","_x3","_x4","_addEvent3","_callee11","replayOptions","eventAfterPossibleCallback","_context12","eventBuffer","recordingMode","maybeApplyCallback","beforeAddRecordingEvent","isPaused","timestampInMs","timeouts","sessionIdlePause","initialTimestamp","_experiments","isCustomEvent","isFeedbackEvent","handleAfterSendEvent","enforceStatusCode","getTransport","isBaseTransportSend","replayContext","traceIds","handleTransactionEvent","errorIds","replayId","_replay$getOptions","beforeErrorSampling","sendBufferedReplayOrFlush","handleErrorEvent","handleBeforeSendEvent","exceptionValue","handleHydrationError","handleGlobalEventListener","afterSendHandler","isReplayEvent","replay_id","getSessionId","feedbackId","addFeedbackBreadcrumb","__rrweb__","isRrwebError","captureExceptions","isErrorEventSampled","errorSampleRate","shouldSampleForBufferEvent","createPerformanceSpans","handleHistorySpanListener","handleHistory","urls","addNetworkBreadcrumb","shouldFilterRequest","handleXhrSpanListener","handleXhr","getBodySize","formDataStr","_serializeFormData","parseContentLengthHeader","getBodyString","mergeWarning","_meta","warnings","newMeta","existingWarnings","makeNetworkReplayBreadcrumb","buildSkippedNetworkRequestOrResponse","bodySize","buildNetworkRequestOrResponse","_normalizeNetworkBody","exceedsSizeLimit","isProbablyJson","truncatedBody","e3","normalizeNetworkBody","normalizedBody","getAllowedHeaders","allowedHeaders","filteredHeaders","urlMatches","fullUrl","baseURI","fixedUrl","getFullUrl","_captureFetchBreadcrumbToReplay","_callee12","_context13","_prepareFetchData","_x8","_x9","_x10","_prepareFetchData2","_callee13","_hint$startTimestamp2","_hint$endTimestamp2","_breadcrumb$data2","_breadcrumb$data2$sta","requestBodySize","responseBodySize","captureDetails","_context14","request_body_size","response_body_size","networkDetailAllowUrls","networkDetailDenyUrls","_getRequestInfo","_getResponseInfo","networkCaptureBodies","networkRequestHeaders","getHeadersFromOptions","getRequestHeaders","_getBodyString2","_getFetchRequestArgBody","bodyStr","_x11","_x12","_x13","_x14","_getResponseInfo2","_callee14","networkResponseHeaders","_ref52","_ref53","_context15","getAllHeaders","_parseFetchResponseBody","getResponseData","_x15","_parseFetchResponseBody2","_callee15","_context16","_tryCloneResponse","_tryGetResponseText","allHeaders","_x16","_getResponseText2","_getResponseText","txt","_callee16","_context17","_captureXhrBreadcrumbToReplay","_callee17","_context18","_prepareXhrData","enrichXhrBreadcrumb","reqSize","resSize","_getBodySize","_hint$startTimestamp","_hint$endTimestamp","_breadcrumb$data","_breadcrumb$data$stat","_line$split2","getResponseHeaders","requestBody","requestWarning","outerHTML","_parseXhrResponse","_getXhrResponseBody","responseBody","responseWarning","handleNetworkBreadcrumbs","_replay$getOptions2","_isXhrBreadcrumb","_isXhrHint","_x17","_x18","_x19","captureXhrBreadcrumbToReplay","_isFetchBreadcrumb","_isFetchHint","enrichFetchBreadcrumb","_x5","_x6","_x7","captureFetchBreadcrumbToReplay","beforeAddNetworkBreadcrumb","handleFetch","handleFetchSpanListener","_LAST_BREADCRUMB","handleScopeListener","newBreadcrumb","getLastBreadcrumb","isBreadcrumbWithCategory","isTruncated","normalizedArgs","normalizedArg","normalizeConsoleBreadcrumb","handleScope","addGlobalListeners","addScopeListener","hasHooks","lastTransaction","feedbackEvent","includeReplay","addMemoryEntry","_x20","_addMemoryEntry","_callee18","_context19","memoryEntry","memory","jsHeapSizeLimit","totalJSHeapSize","usedJSHeapSize","getHandleRecordingEmit","hadFirstEvent","_isCheckout","setInitialState","shouldRecordCanvas","isRecordingCanvas","useCompressionOption","blockAllMedia","networkDetailHasUrls","networkRequestHasHeaders","networkResponseHasHeaders","createOptionsEvent","addSettingsEvent","earliestEvent","createReplayEnvelope","replayEvent","recordingData","prepareRecordingData","_ref41","payloadWithSequence","replayHeaders","sequence","prepareReplayEvent","_x21","_prepareReplayEvent","_callee19","_ref42","eventHint","preparedEvent","_ref54","_context20","sendReplayRequest","_x22","_sendReplayRequest","_callee20","_ref43","segment_id","eventContext","preparedRecordingData","baseEvent","_context21","replay_start_timestamp","error_ids","trace_ids","replay_type","cause","TransportStatusCodeError","RateLimitError","_Error2","_Error3","_this21","sendReplay","_x23","_sendReplay","_callee22","replayData","retryConfig","_args22","_context23","_retryCount","_callee21","_context22","THROTTLED","maxCount","durationSeconds","isThrottled","wasThrottled","ReplayContainer","_ref44","_this22","recordingOptions","__init5","__init6","_lastActivity","_isPaused","_hasInitializedCoreListeners","initialUrl","_recordingOptions","_debouncedFlush","callbackReturnValue","maxTimerId","cancelTimers","_flush","flushMinDelay","flushMaxDelay","_throttledAddEvent","_this$getOptions","slowClickTimeout","slowClickIgnoreSelectors","_runFlush2","_refreshSession2","_sendBufferedReplayOrFlush","_stop","_canvas","_this$_options","_initializeSessionForSampling","_initializeRecording","_handleException","canvasOptions","_stopRecording","_onMutationHandler","_callee6","_ref45","_ref45$forceFlush","forceFlush","_args6","_context7","_removeListeners","stopRecording","_checkSession","startRecording","_callee7","_ref46$continueRecord","continueRecording","activityTime","hasStoppedRecording","_args7","_context8","flushImmediate","_updateUserActivity","_updateSessionActivity","_maybeSaveSession","cbResult","resume","pause","urlPath","_clearContext","_this23","getTransaction","_addListeners","_refreshSession","_callee8","_context9","initializeSampling","_x24","_handleVisibilityChange","_handleWindowBlur","_handleWindowFocus","_handleKeyboardEvent","_performanceCleanupCallback","_this24","_doChangeToForegroundTasks","_doChangeToBackgroundTasks","_this25","_this26","_this27","_createCustomBreadcrumb","conditionalFlush","_this28","_callee9","_context10","_addPerformanceEntries","_updateInitialTimestampFromEventBuffer","_popEventContext","_this29","_callee10","_ref48$force","tooShort","tooLong","_args10","_context11","minReplayDuration","_flushLock","_runFlush","_this30","mutationLimit","overMutationLimit","mutationBreadcrumbLimit","selectors","defaultSelectors","deprecatedClassOption","deprecatedSelectorOption","deprecatedSelectors","allSelectors","MEDIA_SELECTORS","DEFAULT_NETWORK_HEADERS","_initialized","Replay","_ref51","_ref51$flushMinDelay","_ref51$flushMaxDelay","_ref51$minReplayDurat","_ref51$maxReplayDurat","_ref51$stickySession","_ref51$useCompression","_ref51$_experiments","_ref51$maskAllText","_ref51$maskAllInputs","_ref51$blockAllMedia","_ref51$mutationBreadc","_ref51$mutationLimit","_ref51$slowClickTimeo","_ref51$slowClickIgnor","_ref51$networkDetailA","_ref51$networkDetailD","_ref51$networkCapture","_ref51$networkRequest","_ref51$networkRespons","_ref51$mask","_ref51$maskAttributes","maskAttributes","_ref51$unmask","unmask","_ref51$block","_ref51$unblock","unblock","_ref51$ignore","maskFn","privacyOptions","_ref49","getPrivacyOptions","_ref50","maskAttribute","_initialOptions","_getMergedNetworkHeaders","_isInitialized","_this31","_initialize","startBuffering","_maybeLoadFromReplayCanvasIntegration","replaysSessionSampleRate","replaysOnErrorSampleRate","loadReplayOptionsFromClient","canvasIntegration","__initStatic","httpClientIntegration","failedRequestStatusCodes","failedRequestTargets","_args","requestInfo","requestInit","_shouldCaptureResponse","requestCookies","responseCookies","bodyUsed","_getRequest","_shouldSendDefaultPii","_map2","cookieHeader","_extractFetchHeaders","cookieString","_parseCookieString","_map2$","_map2$2","_createEvent","_fetchResponseHandler","_wrapFetch","_getXHRResponseHeaders","_xhrResponseHandler","_getResponseSizeFromHeaders","contentLength","_cookie$split2","_isInGivenStatusRanges","givenRequestTarget","body_size","extraErrorDataIntegration","captureErrorCause","exceptionName","errorData","extraErrorInfo","serializedError","_Object$keys2","_extractErrorData","normalizedErrorData","_enhanceEventWithErrorData","globalMixin","$emitter","ignoreUrls","tracesSampleRate","currentUrl","baseUrl","cleanQueryString","cleanUrl","removeUTMandGCLID","appElement","_unused","onHp","paymentData","transferData","BillAppModule","migrationModule","BillApp","migration","formatRegExp","isNativeStringType","asyncSerialArray","objArr","flattenArr","flattenObjArr","objArrKeys","objArrLength","asyncParallelArray","complementError","fullField","whitespace","getYear","ruleType","mismatch","dateObject","newMessages","cloned","Schema","_messages","z","source_","series","getValidationMethod","getType","errorFields","doIt","defaultField","addFullfield","schema","fieldsSchema","fieldSchema","errs","messageIndex","subMilliseconds","addMilliseconds","addLeadingZeros","targetLength","signedYear","getUTCFullYear","getUTCMonth","dayPeriodEnumValue","getUTCHours","getUTCMinutes","getUTCSeconds","numberOfDigits","milliseconds","getUTCMilliseconds","startOfUTCISOWeek","getUTCISOWeekYear","fourthOfJanuaryOfNextYear","setUTCFullYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","getUTCISOWeek","fourthOfJanuary","startOfUTCISOWeekYear","getUTCWeekYear","localeFirstWeekContainsDate","defaultFirstWeekContainsDate","firstWeekOfNextYear","firstWeekOfThisYear","getUTCWeek","firstWeek","startOfUTCWeekYear","dayPeriodEnum","lightFormatters","Y","signedWeekYear","weekYear","Q","I","isoWeek","dayOfYear","setUTCMonth","getUTCDayOfYear","dayOfWeek","localDayOfWeek","isoDayOfWeek","X","_localize","_originalDate","formatTimezoneWithOptionalMinutes","formatTimezone","formatTimezoneShort","originalDate","dirtyDelimiter","absOffset","dateLongFormatter","timeLongFormatter","datePattern","timePattern","protectedDayOfYearTokens","protectedWeekYearTokens","throwProtectedError","formattingTokensRegExp","longFormattingTokensRegExp","escapedStringRegExp","doubleQuoteRegExp","unescapedLatinCharacterRegExp","dirtyFormatStr","formatStr","utcDate","formatterOptions","firstCharacter","longFormatter","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","isProtectedDayOfYearToken","SENTRY_BAGGAGE_KEY_PREFIX","SENTRY_BAGGAGE_KEY_PREFIX_REGEX","baggageHeaderToDynamicSamplingContext","baggageHeader","baggageObject","currBaggageObject","baggageHeaderToObject","baggageEntry","keyOrValue","TRACEPARENT_REGEXP","extractTraceparentData","traceparent","tracingContextFromHeaders","sentryTrace","baggage","traceparentData","generateSentryTraceHeader","sampledString","MILLISECONDS_IN_HOUR","DEFAULT_ADDITIONAL_DIGITS","dateTimeDelimiter","timeZoneDelimiter","timezone","dateRegex","timeRegex","timezoneRegex","additionalDigits","dateStrings","dateString","timeString","splitDateString","parseYearResult","captures","century","restDateString","parseYear","isWeekDate","parseDateUnit","_year","validateWeekDate","isoWeekYear","fourthOfJanuaryDay","dayOfISOWeekYear","daysInMonths","isLeapYearIndex","validateDate","validateDayOfYearDate","parseTimeUnit","validateTime","timezoneString","_hours","validateTimezone","parseTimezone","fullTime","fullTimeDate","fullTimeDateNextDay","offsetDiff","dirtyDateToCompare","dateToCompare","XFilter"],"mappings":";gWACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAi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C,EAAM,CACT,mCAAoC,CACnC,IACA,KAED,4CAA6C,CAC5C,IACA,EACA,KAED,8CAA+C,CAC9C,IACA,EACA,KAED,kDAAmD,CAClD,IACA,EACA,KAED,wCAAyC,CACxC,IACA,EACA,KAED,oDAAqD,CACpD,IACA,EACA,KAED,kDAAmD,CAClD,IACA,EACA,KAED,2CAA4C,CAC3C,IACA,EACA,KAED,iDAAkD,CACjD,IACA,EACA,KAED,+CAAgD,CAC/C,IACA,EACA,KAED,6CAA8C,CAC7C,IACA,EACA,KAED,mDAAoD,CACnD,IACA,EACA,KAED,mDAAoD,CACnD,IACA,EACA,KAED,wDAAyD,CACxD,IACA,EACA,KAED,8CAA+C,CAC9C,IACA,EACA,KAED,mDAAoD,CACnD,IACA,EACA,KAED,2CAA4C,CAC3C,IACA,EACA,KAED,0CAA2C,CAC1C,IACA,KAED,wCAAyC,CACxC,IACA,KAED,oCAAqC,CACpC,IACA,KAED,oBAAqB,CACpB,IACA,KAED,6BAA8B,CAC7B,IACA,KAED,wBAAyB,CACxB,IACA,KAED,sBAAuB,CACtB,IACA,KAED,kCAAmC,CAClC,IACA,KAED,iCAAkC,CACjC,IACA,KAED,iCAAkC,CACjC,IACA,KAED,wBAAyB,CACxB,IACA,IAED,sCAAuC,CACtC,IACA,KAED,kCAAmC,CAClC,IACA,IAED,uCAAwC,CACvC,IACA,GACA,KAED,qDAAsD,CACrD,IACA,IAED,gEAAiE,CAChE,IACA,KAED,8CAA+C,CAC9C,IACA,KAED,qCAAsC,CACrC,IACA,IACA,KAED,sCAAuC,CACtC,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,qCAAsC,CACrC,IACA,GAED,2CAA4C,CAC3C,IACA,IAED,yCAA0C,CACzC,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,uCAAwC,CACvC,IACA,KAED,wCAAyC,CACxC,IACA,KAED,yCAA0C,CACzC,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,yCAA0C,CACzC,IACA,IAED,mCAAoC,CACnC,IACA,KAED,2BAA4B,CAC3B,IACA,IAED,0BAA2B,CAC1B,IACA,KAED,kCAAmC,CAClC,IACA,KAED,8BAA+B,CAC9B,IACA,IAED,6CAA8C,CAC7C,IACA,KAED,wCAAyC,CACxC,IACA,KAED,oCAAqC,CACpC,IACA,KAED,wCAAyC,CACxC,IACA,KAED,wCAAyC,CACxC,IACA,EACA,KAED,0CAA2C,CAC1C,IACA,KAED,oCAAqC,CACpC,IACA,IAED,sCAAuC,CACtC,IACA,KAED,wCAAyC,CACxC,IACA,KAED,yCAA0C,CACzC,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,yCAA0C,CACzC,IACA,KAED,yCAA0C,CACzC,IACA,KAED,uCAAwC,CACvC,IACA,KAED,wCAAyC,CACxC,IACA,KAED,2CAA4C,CAC3C,IACA,EACA,KAED,yCAA0C,CACzC,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,yCAA0C,CACzC,IACA,IAED,mCAAoC,CACnC,IACA,KAED,iCAAkC,CACjC,IACA,GAED,0CAA2C,CAC1C,IACA,KAED,yBAA0B,CACzB,IACA,EACA,IAED,+BAAgC,CAC/B,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,6BAA8B,CAC7B,IACA,GAED,kDAAmD,CAClD,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,6CAA8C,CAC7C,IACA,KAED,2CAA4C,CAC3C,IACA,EACA,EACA,IACA,IACA,KAED,kDAAmD,CAClD,IACA,KAED,oDAAqD,CACpD,IACA,IAED,qDAAsD,CACrD,IACA,KAED,kDAAmD,CAClD,IACA,KAED,gDAAiD,CAChD,IACA,KAED,kEAAmE,CAClE,IACA,IAED,+CAAgD,CAC/C,IACA,EACA,IAED,iDAAkD,CACjD,IACA,KAED,sDAAuD,CACtD,IACA,EACA,KAED,sDAAuD,CACtD,IACA,KAED,wDAAyD,CACxD,IACA,KAED,0DAA2D,CAC1D,IACA,KAED,2DAA4D,CAC3D,IACA,KAED,qDAAsD,CACrD,IACA,KAED,qDAAsD,CACrD,IACA,EACA,KAED,2DAA4D,CAC3D,IACA,KAED,oDAAqD,CACpD,IACA,GACA,KAED,qDAAsD,CACrD,IACA,KAED,sDAAuD,CACtD,IACA,KAED,wDAAyD,CACxD,IACA,IAED,uDAAwD,CACvD,IACA,KAED,0DAA2D,CAC1D,IACA,KAED,yDAA0D,CACzD,IACA,GACA,IAED,gEAAiE,CAChE,IACA,IAED,qEAAsE,CACrE,IACA,GAED,yCAA0C,CACzC,IACA,IAED,8CAA+C,CAC9C,IACA,IAED,oDAAqD,CACpD,IACA,IAED,8CAA+C,CAC9C,IACA,KAED,wCAAyC,CACxC,IACA,IAED,6BAA8B,CAC7B,IACA,KAED,8BAA+B,CAC9B,IACA,IAED,2CAA4C,CAC3C,IACA,IAED,2CAA4C,CAC3C,IACA,IAED,0CAA2C,CAC1C,IACA,KAED,4CAA6C,CAC5C,IACA,KAED,6CAA8C,CAC7C,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,kDAAmD,CAClD,IACA,IAED,8CAA+C,CAC9C,IACA,KAED,8CAA+C,CAC9C,IACA,KAED,kDAAmD,CAClD,IACA,KAED,uCAAwC,CACvC,IACA,KAED,gDAAiD,CAChD,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,mCAAoC,CACnC,IACA,KAED,2CAA4C,CAC3C,IACA,EACA,KAED,0CAA2C,CAC1C,IACA,KAED,kCAAmC,CAClC,IACA,KAED,8CAA+C,CAC9C,IACA,KAED,qDAAsD,CACrD,IACA,KAED,mDAAoD,CACnD,IACA,KAED,2CAA4C,CAC3C,IACA,KAED,mCAAoC,CACnC,IACA,IAED,uDAAwD,CACvD,IACA,KAED,kEAAmE,CAClE,IACA,KAED,yDAA0D,CACzD,IACA,KAED,4DAA6D,CAC5D,IACA,KAED,2CAA4C,CAC3C,IACA,KAED,oDAAqD,CACpD,IACA,KAED,8CAA+C,CAC9C,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,4CAA6C,CAC5C,IACA,KAED,oDAAqD,CACpD,IACA,KAED,sDAAuD,CACtD,IACA,KAED,yCAA0C,CACzC,IACA,IAED,0CAA2C,CAC1C,IACA,IAED,wCAAyC,CACxC,IACA,IAED,wCAAyC,CACxC,IACA,IAED,qCAAsC,CACrC,IACA,IAED,4CAA6C,CAC5C,IACA,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,4CAA6C,CAC5C,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,uCAAwC,CACvC,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,+CAAgD,CAC/C,IACA,IAED,wCAAyC,CACxC,IACA,IAED,0CAA2C,CAC1C,IACA,KAED,kDAAmD,CAClD,IACA,KAED,2CAA4C,CAC3C,IACA,IAED,2CAA4C,CAC3C,IACA,IAED,0CAA2C,CAC1C,IACA,IAED,wCAAyC,CACxC,IACA,IAED,2CAA4C,CAC3C,IACA,IAED,sCAAuC,CACtC,IACA,KAED,qCAAsC,CACrC,IACA,KAED,+CAAgD,CAC/C,IACA,IAED,iCAAkC,CACjC,IACA,IAED,8CAA+C,CAC9C,IACA,IAED,qCAAsC,CACrC,IACA,IAED,4CAA6C,CAC5C,IACA,IAED,yCAA0C,CACzC,IACA,IAED,8CAA+C,CAC9C,IACA,EACA,EACA,GACA,GACA,KAED,uDAAwD,CACvD,IACA,IAED,wDAAyD,CACxD,IACA,KAED,kDAAmD,CAClD,IACA,EACA,IAED,yDAA0D,CACzD,IACA,EACA,KAED,yDAA0D,CACzD,IACA,GACA,KAED,2DAA4D,CAC3D,IACA,KAED,6DAA8D,CAC7D,IACA,KAED,8DAA+D,CAC9D,IACA,KAED,wDAAyD,CACxD,IACA,KAED,wDAAyD,CACxD,IACA,EACA,KAED,uDAAwD,CACvD,IACA,GACA,IAED,wDAAyD,CACxD,IACA,KAED,yDAA0D,CACzD,IACA,KAED,2DAA4D,CAC3D,IACA,KAED,0DAA2D,CAC1D,IACA,KAED,6DAA8D,CAC7D,IACA,KAED,wEAAyE,CACxE,IACA,EACA,IAED,uCAAwC,CACvC,IACA,KAED,6CAA8C,CAC7C,IACA,KAED,8CAA+C,CAC9C,IACA,IACA,KAED,8CAA+C,CAC9C,IACA,EACA,EACA,GACA,GACA,KAED,4DAA6D,CAC5D,IACA,KAED,qDAAsD,CACrD,IACA,KAED,uDAAwD,CACvD,IACA,KAED,8DAA+D,CAC9D,IACA,KAED,kDAAmD,CAClD,IACA,KAED,8BAA+B,CAC9B,IACA,GAED,wBAAyB,CACxB,IACA,KAED,8BAA+B,CAC9B,IACA,KAED,4BAA6B,CAC5B,KAED,yBAA0B,CACzB,IACA,IAED,8BAA+B,CAC9B,IACA,IAED,sBAAuB,CACtB,IACA,IAED,iCAAkC,CACjC,IACA,KAED,uBAAwB,CACvB,IACA,KAED,gCAAiC,CAChC,IACA,KAED,6BAA8B,CAC7B,IACA,IAED,oCAAqC,CACpC,IACA,KAED,wCAAyC,CACxC,IACA,KAED,8BAA+B,CAC9B,IACA,KAED,kDAAmD,CAClD,IACA,KAED,+CAAgD,CAC/C,IACA,KAED,0CAA2C,CAC1C,IACA,KAED,2CAA4C,CAC3C,IACA,KAED,kDAAmD,CAClD,IACA,KAED,qCAAsC,CACrC,IACA,GACA,KAED,yCAA0C,CACzC,IACA,GACA,KAED,6CAA8C,CAC7C,IACA,KAED,8CAA+C,CAC9C,IACA,IAED,4CAA6C,CAC5C,IACA,KAED,oCAAqC,CACpC,IACA,KAED,4BAA6B,CAC5B,IACA,KAED,yBAA0B,CACzB,IACA,KAED,mCAAoC,CACnC,IACA,KAED,mCAAoC,CACnC,IACA,KAED,6CAA8C,CAC7C,IACA,KAED,0BAA2B,CAC1B,IACA,KAED,sBAAuB,CACtB,KACA,KAED,sBAAuB,CACtB,KACA,KAED,wBAAyB,CACxB,IACA,KAED,2BAA4B,CAC3B,IACA,KAED,uBAAwB,CACvB,IACA,KAED,kBAAmB,CAClB,KACA,KAED,mBAAoB,CACnB,KACA,KAED,sBAAuB,CACtB,IACA,KAED,qCAAsC,CACrC,IACA,KAED,kCAAmC,CAClC,IACA,KAED,2BAA4B,CAC3B,KACA,KAED,uBAAwB,CACvB,IACA,KAED,sBAAuB,CACtB,KACA,KAED,4BAA6B,CAC5B,IACA,IAED,kBAAmB,CAClB,KACA,KAED,sBAAuB,CACtB,KACA,KAED,oBAAqB,CACpB,KACA,KAED,wBAAyB,CACxB,KACA,KAED,wBAAyB,CACxB,KACA,KAED,2BAA4B,CAC3B,KACA,KAED,yBAA0B,CACzB,KACA,KAED,0BAA2B,CAC1B,KACA,KAED,sBAAuB,CACtB,KACA,KAED,4BAA6B,CAC5B,KACA,KAED,gCAAiC,CAChC,KACA,KAED,2BAA4B,CAC3B,KACA,KAED,iCAAkC,CACjC,KACA,KAED,wBAAyB,CACxB,KACA,KAED,yBAA0B,CACzB,IACA,IAED,0BAA2B,CAC1B,KAED,gCAAiC,CAChC,IACA,IAED,0CAA2C,CAC1C,IACA,IAED,iCAAkC,CACjC,IACA,IAED,0BAA2B,CAC1B,IAED,+BAAgC,CAC/B,IACA,IAED,gCAAiC,CAChC,IACA,IAED,wBAAyB,CACxB,IACA,IAED,4BAA6B,CAC5B,IACA,IAED,iCAAkC,CACjC,IACA,IAED,4BAA6B,CAC5B,IACA,IAED,gCAAiC,CAChC,IACA,IAED,qCAAsC,CACrC,KAED,0BAA2B,CAC1B,KAED,6BAA8B,CAC7B,IACA,IAED,iCAAkC,CACjC,IACA,IAED,8BAA+B,CAC9B,IACA,IAED,8BAA+B,CAC9B,KAED,0BAA2B,CAC1B,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,0BAA2B,CAC1B,KAED,4BAA6B,CAC5B,KAED,gCAAiC,CAChC,KAED,gCAAiC,CAChC,KAED,kCAAmC,CAClC,IACA,IAED,wBAAyB,CACxB,KAED,6BAA8B,CAC7B,KAED,4BAA6B,CAC5B,KAED,2BAA4B,CAC3B,KAED,wBAAyB,CACxB,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,6BAA8B,CA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AAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,IACH,OAAG,KACH,OAAG,KACH,OAAG,KACH,OAAG,KACH,OAAG,KAEH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IACH,SAAG,IAC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AAkB,CACjB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,SAAU,CACT,IACA,IAED,aAAc,CACb,IACA,IAED,aAAc,CACb,IACA,IAED,iBAAkB,CACjB,IACA,IAED,kBAAmB,CAClB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,aAAc,CACb,IACA,IAED,iBAAkB,CACjB,IACA,IAED,iBAAkB,CACjB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,sBAAuB,CACtB,KAED,0BAA2B,CAC1B,KAED,WAAY,CACX,KAED,eAAgB,CACf,KAED,cAAe,CACd,IACA,IAED,kBAAmB,CAClB,IACA,IAED,kBAAmB,CAClB,IACA,IAED,sBAAuB,CACtB,IACA,IAED,eAAgB,CACf,IACA,IAED,mBAAoB,CACnB,IACA,IAED,eAAgB,CACf,KAED,mBAAoB,CACnB,KAED,WAAY,CACX,IACA,IAED,eAAgB,CACf,IACA,IAED,YAAa,CACZ,IACA,IAED,gBAAiB,CAChB,IACA,IAED,WAAY,CACX,KAED,eAAgB,CACf,KAED,aAAc,CACb,KAED,iBAAkB,CACjB,KAED,iBAAkB,CACjB,KAED,qBAAsB,CACrB,KAED,iBAAkB,CACjB,KAED,qBAAsB,CACrB,KAED,mBAAoB,CACnB,IACA,IAED,uBAAwB,CACvB,IACA,IAED,SAAU,CACT,KAED,aAAc,CACb,KAED,cAAe,CACd,KAED,kBAAmB,CAClB,KAED,aAAc,CACb,KAED,iBAAkB,CACjB,KAED,YAAa,CACZ,KAED,gBAAiB,CAChB,KAED,SAAU,CACT,IACA,IAED,aAAc,CACb,IACA,IAED,YAAa,CACZ,IACA,IAED,gBAAiB,CAChB,IACA,IAED,cAAe,CACd,IACA,IAED,kBAAmB,CAClB,IACA,IAED,SAAU,CACT,IACA,GAED,aAAc,CACb,IACA,GAED,WAAY,CACX,IACA,IAED,eAAgB,CACf,IACA,IAED,uBAAwB,CACvB,IACA,IAED,2BAA4B,CAC3B,IACA,IAED,iBAAkB,CACjB,IACA,IAED,qBAAsB,CACrB,IACA,IAED,uBAAwB,CACvB,KAED,2BAA4B,CAC3B,KAED,WAAY,CACX,KAED,eAAgB,CACf,KAED,gBAAiB,CAChB,IACA,IAED,oBAAqB,CACpB,IACA,IAED,eAAgB,CACf,IACA,IAED,mBAAoB,CACnB,IACA,IAED,YAAa,CACZ,KAED,gBAAiB,CAChB,KAED,UAAW,CACV,KAED,cAAe,CACd,KAED,eAAgB,CACf,KAED,mBAAoB,CACnB,KAED,eAAgB,CACf,IACA,IAED,mBAAoB,CACnB,IACA,IAED,QAAS,CACR,KAED,YAAa,CACZ,KAED,WAAY,CACX,IAED,eAAgB,CACf,IAED,WAAY,CACX,IACA,IAED,eAAgB,CACf,IACA,IAED,UAAW,CACV,KAED,cAAe,CACd,KAED,gBAAiB,CAChB,KAED,oBAAqB,CACpB,KAED,QAAS,CACR,IACA,IAED,YAAa,CACZ,IACA,IAED,cAAe,CACd,KAED,kBAAmB,CAClB,KAED,YAAa,CACZ,KAED,gBAAiB,CAChB,KAED,WAAY,CACX,IACA,IAED,eAAgB,CACf,IACA,IAED,mBAAoB,CACnB,KAED,uBAAwB,CACvB,KAED,UAAW,CACV,KAED,aAAc,CACb,KAED,iBAAkB,CACjB,KAED,oBAAqB,CACpB,KAED,oBAAqB,CACpB,IACA,IAED,wBAAyB,CACxB,IACA,IAED,oBAAqB,CACpB,KAED,uBAAwB,CACvB,KAED,kBAAmB,CAClB,KAED,qBAAsB,CACrB,KAED,gBAAiB,CAChB,IAED,mBAAoB,CACnB,IAED,iBAAkB,CACjB,KAED,kBAAmB,CAClB,KAED,uBAAwB,CACvB,KAED,0BAA2B,CAC1B,KAED,sBAAuB,CACtB,KAED,0BAA2B,CAC1B,KAED,iBAAkB,CACjB,KAED,kBAAmB,CAClB,KAED,8BAA+B,CAC9B,KAED,kCAAmC,CAClC,KAED,wBAAyB,CACxB,IAED,2BAA4B,CAC3B,IAED,uBAAwB,CACvB,KAED,0BAA2B,CAC1B,KAED,eAAgB,CACf,KAED,kBAA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U0/E,EAAI/yB,GACpB,OAAO,EAAO,OAAAwyK,EAAA,GAAK3kD,EAAA,EAAL,CAAgB96F,GAAK/yB,EACrC,IAEe,K,mDCCA,EAJf,OAAA3sD,EAAA,IAAQ,SAAmB7X,EAAGwJ,GAC5B,OAAY,MAALA,GAAaA,IAAMA,EAAIxJ,EAAIwJ,CACpC,I,SCNI,EAEJ,OAAA23J,EAAA,IAAQ,SAAgBnhK,EAAG9D,EAAGgO,GAC5B,OAAO,EAAUlK,EAAG,OAAAq5B,EAAA,GAAKn9B,EAAGgO,GAC9B,IAEe,K,8ECAX,EAEJ,OAAA09H,EAAA,IAAQ,SAAeh4H,GACrB,OAAY,MAALA,GAAgD,oBAA5BA,EAAE,sBAAuCA,EAAE,wBAA+B,MAALA,GAA8B,MAAjBA,EAAEjI,aAAsE,oBAAxCiI,EAAEjI,YAAY,sBAAuCiI,EAAEjI,YAAY,wBAA+B,MAALiI,GAAgC,oBAAZA,EAAE68B,MAAuB78B,EAAE68B,QAAe,MAAL78B,GAA8B,MAAjBA,EAAEjI,aAAsD,oBAAxBiI,EAAEjI,YAAY8kC,MAAuB78B,EAAEjI,YAAY8kC,QAAU,OAAAonH,EAAA,GAASjkJ,GAAK,GAAK,OAAAkkJ,EAAA,GAAUlkJ,GAAK,GAAK,OAAAuqL,EAAA,GAAUvqL,GAAK,CAAC,EAAI,OAAA60L,EAAA,GAAa70L,GAAK,WACxd,OAAO9H,SACT,CAF0d,QAEpd,CAER,IAEe,I,SCbX,EAEJ,OAAA8/H,EAAA,IAAQ,SAAiBh4H,GACvB,OAAY,MAALA,GAAa,OAAA2iL,EAAA,GAAO3iL,EAAG,EAAMA,GACtC,IAEe,K","file":"js/frontend-ee0534345ce9f3d902a0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t205: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t205: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"3\":\"vendors~pages178~pages88\",\"4\":\"pages202\",\"5\":\"pages37\",\"6\":\"pages77\",\"7\":\"pages294\",\"8\":\"pages72\",\"9\":\"pages106\",\"10\":\"pages148\",\"11\":\"pages150\",\"12\":\"pages186~pages98\",\"13\":\"pages276\",\"14\":\"pages300\",\"15\":\"pages305\",\"16\":\"pages48\",\"18\":\"pages105\",\"19\":\"pages135\",\"20\":\"pages147\",\"21\":\"pages151\",\"22\":\"pages159\",\"23\":\"pages178\",\"24\":\"pages207\",\"25\":\"pages212\",\"26\":\"pages224\",\"27\":\"pages272\",\"28\":\"pages273\",\"29\":\"pages46\",\"30\":\"pages58\",\"31\":\"pages70\",\"32\":\"pages88\",\"34\":\"pages104\",\"35\":\"pages107\",\"36\":\"pages111\",\"37\":\"pages120\",\"38\":\"pages149\",\"39\":\"pages158\",\"40\":\"pages162\",\"41\":\"pages163\",\"42\":\"pages164\",\"43\":\"pages165\",\"44\":\"pages166\",\"45\":\"pages169\",\"46\":\"pages170\",\"47\":\"pages171\",\"48\":\"pages172\",\"49\":\"pages173\",\"50\":\"pages174\",\"51\":\"pages176\",\"52\":\"pages186\",\"53\":\"pages192\",\"54\":\"pages206\",\"55\":\"pages208\",\"56\":\"pages261\",\"57\":\"pages263\",\"58\":\"pages264\",\"59\":\"pages265\",\"60\":\"pages267\",\"61\":\"pages268\",\"62\":\"pages269\",\"63\":\"pages27\",\"64\":\"pages270\",\"65\":\"pages271\",\"66\":\"pages277\",\"67\":\"pages278\",\"68\":\"pages280\",\"69\":\"pages281\",\"70\":\"pages286\",\"71\":\"pages29\",\"72\":\"pages291\",\"73\":\"pages292\",\"74\":\"pages293\",\"75\":\"pages295\",\"76\":\"pages296\",\"77\":\"pages297\",\"78\":\"pages30\",\"79\":\"pages301\",\"80\":\"pages308\",\"81\":\"pages311\",\"82\":\"pages314\",\"83\":\"pages316\",\"84\":\"pages38\",\"85\":\"pages51\",\"86\":\"pages74\",\"87\":\"pages75\",\"88\":\"pages76\",\"89\":\"pages83\",\"90\":\"pages87\",\"92\":\"form\",\"93\":\"lang-en-en-js\",\"94\":\"pages101\",\"95\":\"pages108\",\"96\":\"pages109\",\"97\":\"pages113\",\"98\":\"pages114\",\"99\":\"pages115\",\"100\":\"pages116\",\"101\":\"pages117\",\"102\":\"pages118\",\"103\":\"pages119\",\"104\":\"pages121\",\"105\":\"pages122\",\"106\":\"pages123\",\"107\":\"pages124\",\"108\":\"pages125\",\"109\":\"pages126\",\"110\":\"pages127\",\"111\":\"pages128\",\"112\":\"pages129\",\"113\":\"pages130\",\"114\":\"pages131\",\"115\":\"pages132\",\"116\":\"pages133\",\"117\":\"pages134\",\"118\":\"pages136\",\"119\":\"pages138\",\"120\":\"pages139\",\"121\":\"pages140\",\"122\":\"pages141\",\"123\":\"pages142\",\"124\":\"pages143\",\"125\":\"pages144\",\"126\":\"pages145\",\"127\":\"pages146\",\"128\":\"pages152\",\"129\":\"pages153\",\"130\":\"pages155\",\"131\":\"pages156\",\"132\":\"pages157\",\"133\":\"pages160\",\"134\":\"pages161\",\"135\":\"pages167\",\"136\":\"pages168\",\"137\":\"pages17\",\"138\":\"pages182\",\"139\":\"pages183\",\"140\":\"pages190\",\"141\":\"pages193\",\"142\":\"pages194\",\"143\":\"pages195\",\"144\":\"pages197\",\"145\":\"pages198\",\"146\":\"pages199\",\"147\":\"pages20\",\"148\":\"pages201\",\"149\":\"pages204\",\"150\":\"pages21\",\"151\":\"pages215\",\"152\":\"pages22\",\"153\":\"pages221\",\"154\":\"pages226\",\"155\":\"pages227\",\"156\":\"pages228\",\"157\":\"pages229\",\"158\":\"pages23\",\"159\":\"pages230\",\"160\":\"pages231\",\"161\":\"pages24\",\"162\":\"pages25\",\"163\":\"pages26\",\"164\":\"pages28\",\"165\":\"pages33\",\"166\":\"pages34\",\"167\":\"pages35\",\"168\":\"pages39\",\"169\":\"pages40\",\"170\":\"pages41\",\"171\":\"pages45\",\"172\":\"pages47\",\"173\":\"pages50\",\"174\":\"pages53\",\"175\":\"pages55\",\"176\":\"pages57\",\"177\":\"pages61\",\"178\":\"pages62\",\"179\":\"pages63\",\"180\":\"pages67\",\"181\":\"pages68\",\"182\":\"pages69\",\"183\":\"pages71\",\"184\":\"pages73\",\"185\":\"pages78\",\"186\":\"pages82\",\"187\":\"pages85\",\"188\":\"pages89\",\"189\":\"pages93\",\"190\":\"pages94\",\"191\":\"pages97\",\"192\":\"pages98\",\"194\":\"vendors~pages152\",\"195\":\"vendors~pages195\",\"196\":\"vendors~pages34\",\"201\":\"admin-stats\",\"207\":\"lang-cs-cs-js\",\"208\":\"lang-de-de-js\",\"209\":\"lang-gb-gb-js\",\"210\":\"lang-nl-nl-js\",\"211\":\"lang-pl-pl-js\",\"212\":\"lang-rs-rs-js\",\"213\":\"lang-sk-sk-js\",\"214\":\"navigation\",\"215\":\"pages0\",\"216\":\"pages1\",\"217\":\"pages10\",\"218\":\"pages100\",\"219\":\"pages102\",\"220\":\"pages103\",\"221\":\"pages11\",\"222\":\"pages110\",\"223\":\"pages112\",\"224\":\"pages12\",\"225\":\"pages13\",\"226\":\"pages137\",\"227\":\"pages14\",\"228\":\"pages15\",\"229\":\"pages154\",\"230\":\"pages16\",\"231\":\"pages175\",\"232\":\"pages177\",\"233\":\"pages179\",\"234\":\"pages18\",\"235\":\"pages180\",\"236\":\"pages181\",\"237\":\"pages184\",\"238\":\"pages185\",\"239\":\"pages187\",\"240\":\"pages188\",\"241\":\"pages189\",\"242\":\"pages19\",\"243\":\"pages191\",\"244\":\"pages196\",\"245\":\"pages2\",\"246\":\"pages200\",\"247\":\"pages203\",\"248\":\"pages209\",\"249\":\"pages210\",\"250\":\"pages211\",\"251\":\"pages213\",\"252\":\"pages214\",\"253\":\"pages216\",\"254\":\"pages217\",\"255\":\"pages218\",\"256\":\"pages219\",\"257\":\"pages220\",\"258\":\"pages222\",\"259\":\"pages223\",\"260\":\"pages225\",\"261\":\"pages232\",\"262\":\"pages233\",\"263\":\"pages234\",\"264\":\"pages235\",\"265\":\"pages236\",\"266\":\"pages237\",\"267\":\"pages238\",\"268\":\"pages239\",\"269\":\"pages240\",\"270\":\"pages241\",\"271\":\"pages242\",\"272\":\"pages243\",\"273\":\"pages244\",\"274\":\"pages245\",\"275\":\"pages247\",\"276\":\"pages248\",\"277\":\"pages249\",\"278\":\"pages250\",\"279\":\"pages251\",\"280\":\"pages252\",\"281\":\"pages253\",\"282\":\"pages254\",\"283\":\"pages255\",\"284\":\"pages256\",\"285\":\"pages257\",\"286\":\"pages258\",\"287\":\"pages259\",\"288\":\"pages260\",\"289\":\"pages3\",\"290\":\"pages31\",\"291\":\"pages32\",\"292\":\"pages36\",\"293\":\"pages4\",\"294\":\"pages42\",\"295\":\"pages43\",\"296\":\"pages44\",\"297\":\"pages49\",\"298\":\"pages5\",\"299\":\"pages52\",\"300\":\"pages54\",\"301\":\"pages56\",\"302\":\"pages59\",\"303\":\"pages6\",\"304\":\"pages60\",\"305\":\"pages64\",\"306\":\"pages65\",\"307\":\"pages66\",\"308\":\"pages7\",\"309\":\"pages79\",\"310\":\"pages8\",\"311\":\"pages80\",\"312\":\"pages81\",\"313\":\"pages84\",\"314\":\"pages86\",\"315\":\"pages9\",\"316\":\"pages90\",\"317\":\"pages91\",\"318\":\"pages92\",\"319\":\"pages95\",\"320\":\"pages96\",\"321\":\"pages99\",\"325\":\"ui-components\"}[chunkId]||chunkId) + \"-\" + {\"0\":\"11769e820ee74def1c63\",\"1\":\"ae1af7a1446cbeced817\",\"2\":\"c44269f31cfc19c9c375\",\"3\":\"aaf36d42998f3aea567d\",\"4\":\"07805b4613fb53f372c4\",\"5\":\"111110011c2a152194bb\",\"6\":\"0b1ff6b479d52edb33ff\",\"7\":\"704d58166c5b6c06d00d\",\"8\":\"f14fc483809986958c0d\",\"9\":\"209288094c73c1adc9f2\",\"10\":\"e43e1533ae99ea43fd55\",\"11\":\"5b553136cde03bde7686\",\"12\":\"5b735f715df7a4f16c91\",\"13\":\"3483733e63c7ad11fe15\",\"14\":\"44082e3c350fef9b400a\",\"15\":\"895b373ea7a7bc4a5e54\",\"16\":\"19f55dc87ee1a3778143\",\"17\":\"11173f11b3c2caf0ce4c\",\"18\":\"be7d916257473025f0ed\",\"19\":\"f0455c880b6603cdaa6a\",\"20\":\"a781230ffe5d7cc86db3\",\"21\":\"3d78d8607b6672401f0f\",\"22\":\"106cbd2c70f023f61e7c\",\"23\":\"d33f4838e61df0e54ffc\",\"24\":\"1d9de0003b45dd66468a\",\"25\":\"9d915392767b5a4f64cb\",\"26\":\"15d74ac46cad2b2dd7f5\",\"27\":\"1b73a038df955708ca1b\",\"28\":\"edac40443a1f1ea40b29\",\"29\":\"a142f65d046367f94711\",\"30\":\"087ca80bbccb94f844e2\",\"31\":\"6dfe80b73e92f70bfd20\",\"32\":\"8ef0fc25c7f7de47e928\",\"33\":\"fc06e371d926333c187b\",\"34\":\"43febd314ac6621a643b\",\"35\":\"3066b4422f6891aa8deb\",\"36\":\"c6268ca4a2b417f7713e\",\"37\":\"5ea150b9b4dbd19f87ab\",\"38\":\"7d6ae004a34557bdcf6c\",\"39\":\"53d69131f6ab6af98352\",\"40\":\"d7af7abfa46fe3748849\",\"41\":\"25c4134239bf924794ff\",\"42\":\"dd48d114f679c48c8286\",\"43\":\"1bbdd9a56d4a853d6c54\",\"44\":\"a4429ca70c84c70a71e1\",\"45\":\"e9ad55fdf4d4f875ee1f\",\"46\":\"f84b8e895ffbdef7c2a1\",\"47\":\"527b16bc167420745800\",\"48\":\"a3525667f14a50810620\",\"49\":\"3b6a01aea153dcb928dc\",\"50\":\"5835863ebd3081acc5d3\",\"51\":\"4c347f6c07fb5dfe8b37\",\"52\":\"44023bfbc4990ad04179\",\"53\":\"db526c8ead59b7770771\",\"54\":\"b33cbf0e1f430e9585be\",\"55\":\"45b634c858e685525a42\",\"56\":\"94e293a1eaa92da36de9\",\"57\":\"58890b2bd5ada065f4ec\",\"58\":\"1a14745abd9c89c46671\",\"59\":\"4ee1811728b2d3b5d5a6\",\"60\":\"8c18acee4bb7b66cd5fb\",\"61\":\"0e17334685a72030ad5a\",\"62\":\"78ba4220cfcd3cb73f02\",\"63\":\"61ce0c17854d53e1f60a\",\"64\":\"348f699046da5dafe9fa\",\"65\":\"b0f01b53fbc42fd6a359\",\"66\":\"c11bf3ba162e995247b2\",\"67\":\"441d1cc8b95c477280f1\",\"68\":\"8c913885142618c167b6\",\"69\":\"7a8f8b233986049a44d9\",\"70\":\"0874c7a1722f0404cfb9\",\"71\":\"888f441cc4570ac70436\",\"72\":\"1d41c3884549fff0339c\",\"73\":\"f7a83ffe1eeec0e120e4\",\"74\":\"999904d399349246a0af\",\"75\":\"51e23f655ce7dbd27792\",\"76\":\"1ea65cfe043e17bd7832\",\"77\":\"4d72b1356473a3ea6e90\",\"78\":\"7e21f23a95244f806702\",\"79\":\"a179a22e334906d1d281\",\"80\":\"c47d56dbec537fd93a88\",\"81\":\"442ebabb2109308949e4\",\"82\":\"1d4ecfc9954b68fea571\",\"83\":\"fda507f30569d1ffb1c5\",\"84\":\"f96556d7552652357c5a\",\"85\":\"a93cb32d7eac37496786\",\"86\":\"65f26fa48ee021922516\",\"87\":\"91e9482fd38fc7aac63d\",\"88\":\"e220671d55cd9eaec793\",\"89\":\"4020a66f9964823f114f\",\"90\":\"b2e10df6368978f4d411\",\"92\":\"0cb3112e43e770021eb2\",\"93\":\"e1284a84e8f5b54461c4\",\"94\":\"d6637ce9566ead15456b\",\"95\":\"4b490f1bcb5b16587c40\",\"96\":\"72e6d9392cbf6bcfb6ff\",\"97\":\"e4d010364a3545b99cb5\",\"98\":\"1bb87b5bb182291084ea\",\"99\":\"6add19fd76a17aafd904\",\"100\":\"233e093ce6abdb2e4fc0\",\"101\":\"2d8d284cb585f5146e51\",\"102\":\"bab9cc1dbbd5aca1fbaa\",\"103\":\"0cd86ea7cd8f8ea52d79\",\"104\":\"b99eededbec00599afa0\",\"105\":\"f093d64f9fb3f02fb644\",\"106\":\"5919bf161297e7d2b633\",\"107\":\"598a220a08e44470ac85\",\"108\":\"29123e5de19e83a67b76\",\"109\":\"612513c779ac40ffbb35\",\"110\":\"da33b1f0cda4650c4b50\",\"111\":\"dcc91bfc2df9fe59bf33\",\"112\":\"40a40a0f30800e3e432d\",\"113\":\"8c2dcd24ec8c251ccc08\",\"114\":\"cb9711ca5d9c7b078ce7\",\"115\":\"bfef3f4637d6eef18f9f\",\"116\":\"850dfc482047c9959d0d\",\"117\":\"0ee1c4e3760db9ef6623\",\"118\":\"a4976456570135e107bb\",\"119\":\"a9dbb73aba970e469944\",\"120\":\"4f1bf52fdbff5ef6c300\",\"121\":\"8b54221e206eebe67af9\",\"122\":\"5947192881ddafa2ae08\",\"123\":\"12480dbea78bc817e694\",\"124\":\"da3bfde4f0e9bfd3a5df\",\"125\":\"c52aff97b3cc5947cb7a\",\"126\":\"25d6df57decf5bc9d0f5\",\"127\":\"d262e139d1ee5f3d3013\",\"128\":\"e6d0ef0afa79b3241e56\",\"129\":\"cc9904ae9964082e9c28\",\"130\":\"a977fd93470ce641fe41\",\"131\":\"c92682e7f03cc7f1d00c\",\"132\":\"703465e82114514a11c9\",\"133\":\"835cac0f2e9479a2ef1e\",\"134\":\"7f83553dd3efca6addf9\",\"135\":\"3864509fb56fd38e299b\",\"136\":\"7df6fe40c00b852cf3b8\",\"137\":\"04de9f586f632d9f22f2\",\"138\":\"d20b54098614bdfdc983\",\"139\":\"f8cf4b76ad3a28e3b6f1\",\"140\":\"3f68a231654f3c2b4c55\",\"141\":\"30fb95d151b57a11cda7\",\"142\":\"75b1e023eb0154d7b221\",\"143\":\"ddbf9b32660f5b620379\",\"144\":\"d67e719dbd20ab148a28\",\"145\":\"f0521bf317462bbdda66\",\"146\":\"cfec6c778c477ea5c4a0\",\"147\":\"4b26c59ff0b5dfb76ec7\",\"148\":\"0d3652e7604b662dac85\",\"149\":\"691d5c81d250ab1ebf92\",\"150\":\"4f3b14777cf34fc69264\",\"151\":\"ed1f0bbac6b0b925682d\",\"152\":\"7cadb9fe78634dfb106b\",\"153\":\"e98229bb736d3a7271d6\",\"154\":\"e92bbf14cdad3b18d269\",\"155\":\"3102c38626f4ffdc2205\",\"156\":\"885baaf2b059a8ac0845\",\"157\":\"da6752450136bc6694cc\",\"158\":\"32e5df6e72590d89a9bf\",\"159\":\"21546f0c1ea4c6ff0311\",\"160\":\"1c0eec6ba8c932dc1d21\",\"161\":\"a83251c78aa3bbdc2f5c\",\"162\":\"6ba2825334dac2d932ca\",\"163\":\"082601f3ab17a455bb3f\",\"164\":\"897291254782510a06a3\",\"165\":\"d87fe7d0facb960fd580\",\"166\":\"f14d5e66dfed287991f6\",\"167\":\"a2b5cdbd441a2b73a790\",\"168\":\"efc3bdbf66c2d20d2140\",\"169\":\"fd61dfd9a2633f2b5eae\",\"170\":\"b69e79ce8607e580498d\",\"171\":\"f8e2d2d29e5b28e05349\",\"172\":\"073437f5d5ddb15589c6\",\"173\":\"42559d049e5a3a8bd1b7\",\"174\":\"231df2f6dc6e0e80fe9b\",\"175\":\"054d1ec1c6bd26b5a943\",\"176\":\"79c2c75c267e9951f571\",\"177\":\"7785a0f5da41c6524603\",\"178\":\"98dfde713a0a5810b461\",\"179\":\"1bbab3af2610bbbf87ce\",\"180\":\"ca3dccce6c793cf118c1\",\"181\":\"98e6cec4fcc1e4c51698\",\"182\":\"ac27cd7418e2aa55aef6\",\"183\":\"efa482897267f3c566b6\",\"184\":\"c162bac57e2b1893144a\",\"185\":\"efdc5c7042a20531e02e\",\"186\":\"c72fbe339922ea6aad24\",\"187\":\"c2c9d0ad5ef96ca27e91\",\"188\":\"0e9825fdb183ff6afea5\",\"189\":\"9d01e2ae2a80e771279b\",\"190\":\"54a0ac0862b9441641d7\",\"191\":\"8b3958f16ad82c52e71c\",\"192\":\"de12b317ad64e3a8c3db\",\"194\":\"17cd1edc67396c6a0268\",\"195\":\"2c46d7ca9660dffccc83\",\"196\":\"616d8b47363d48df4560\",\"197\":\"d9e9ef39d8dc770a5d9e\",\"198\":\"77c12d52bf5356f01692\",\"199\":\"d556d46aa2ac2f667254\",\"201\":\"e935917c5e4c12ebe14c\",\"207\":\"0c924c20af349837786e\",\"208\":\"21e5f43c5cac2894f29e\",\"209\":\"c6cb31a9ada0fde68899\",\"210\":\"425a2f0422372f9005e0\",\"211\":\"30c4030dd2edf6eff81a\",\"212\":\"91998da142f3fa6f4349\",\"213\":\"f17f82f540efc6d8f651\",\"214\":\"ba8fbce8b00d33508530\",\"215\":\"e50af6bd8fec9169dad1\",\"216\":\"2d3bf69cffcd6a45156a\",\"217\":\"f3f81ba21b36d6603ade\",\"218\":\"e3ad93c1eb659df4aa4a\",\"219\":\"c5ce2e0fe9f627e67ad7\",\"220\":\"af631968deddc3ed75ea\",\"221\":\"3b17874e8213815dd4cc\",\"222\":\"6c1a69a45163644d6cc6\",\"223\":\"6e526feca0f8fe26ac49\",\"224\":\"1981e8a7451051e31b2c\",\"225\":\"eae251a8d20f192ec46d\",\"226\":\"1372408de7744ca7c178\",\"227\":\"d625a242a15fc37147c3\",\"228\":\"01f1d30fc14daa1fa225\",\"229\":\"c4c4f11b584fee30d61d\",\"230\":\"a76bd6ffc4069c87d59d\",\"231\":\"14be520e6a7b0f54709a\",\"232\":\"f550f29f65011c78b95a\",\"233\":\"5affe6586c209bf80fc8\",\"234\":\"8bcae0356bf4a38e2aad\",\"235\":\"b104dff141e436e8be2e\",\"236\":\"a1b8ea93331411dddaa5\",\"237\":\"73d661bd8a681d1319cf\",\"238\":\"83679887cfcf1ea0831c\",\"239\":\"55c3d546cc1f9bfd2d81\",\"240\":\"70f912fdc74105bd8227\",\"241\":\"32f54dac9604005023b9\",\"242\":\"f6eb44963f23cc687ac3\",\"243\":\"92a158bb53721acbb1bf\",\"244\":\"79fa5a59b33900be8c55\",\"245\":\"aa647d67ef5df65ac776\",\"246\":\"f3646bfe49e9c55434f0\",\"247\":\"39ccf7b2155078464219\",\"248\":\"58af5930fa62ffa51c4c\",\"249\":\"1b391348288d7e35c3c0\",\"250\":\"c635c2a1175917016712\",\"251\":\"b061f7bc1358d319035b\",\"252\":\"b1fc67c92612d7a377ba\",\"253\":\"99aa45405cbaa4cd5e36\",\"254\":\"d73d19ed03c55a517714\",\"255\":\"55b3a53c2ef78a84697e\",\"256\":\"39a7483c15d0f5dd84d4\",\"257\":\"7a097b121045b5cff9fc\",\"258\":\"24e3069721bd78604b95\",\"259\":\"bb4210ca49f9454570f6\",\"260\":\"f26d9157f1fa5504b1a2\",\"261\":\"040b1ea3bb58fb15c292\",\"262\":\"c1deca34f6f0c7f94c7b\",\"263\":\"ff3d91ddd7533e6416df\",\"264\":\"fcee5ee5388aa4db025b\",\"265\":\"eec156830f2e5eb0f2af\",\"266\":\"354679abdf5d157071e4\",\"267\":\"738be98ecf16a75b200a\",\"268\":\"ae7531ae4d8a1d1fd004\",\"269\":\"84a13b4e6b28ce877f85\",\"270\":\"6566d1fdf7a86748c645\",\"271\":\"aa1b2413f9083f5d36d8\",\"272\":\"ac0ee81992c57aacda33\",\"273\":\"371fe92782a20b5753de\",\"274\":\"5471ba8a439547db77be\",\"275\":\"93b04402abe970ca1c4b\",\"276\":\"40fed2a2448b30ebcc80\",\"277\":\"dfee8c0947b4a977c532\",\"278\":\"5cd335dbe6a6f1e78bb9\",\"279\":\"32a222e7b2d128ee58ba\",\"280\":\"cd98d9aa3b84ae3c69b9\",\"281\":\"5c942360aaeb3715adb2\",\"282\":\"715f0d0e4b1612cc52fa\",\"283\":\"f268975974658639a1a3\",\"284\":\"671a10e97eba6b84841e\",\"285\":\"7663746d1a52f0769037\",\"286\":\"280632ae55d46a2709f5\",\"287\":\"c4610b87908a2dd49c09\",\"288\":\"654f55c2c3667005820e\",\"289\":\"55102b38e774aaf917a4\",\"290\":\"829c58ab6b79af2f9d6d\",\"291\":\"20163677c537f0ecf39d\",\"292\":\"0311b3ceed5cee537d76\",\"293\":\"b8c42fdd451bb9bdc742\",\"294\":\"c95399efaca0ab9c28e2\",\"295\":\"ba9e4d12e6fc6c1b944e\",\"296\":\"437e701adbb4deba19bd\",\"297\":\"d4c5df575f776860ded9\",\"298\":\"4d63f3146748cd1b2812\",\"299\":\"a1f5628610a79acbd6ae\",\"300\":\"643a83cad3fdd5aa7970\",\"301\":\"fcb77725aed0a79dc6c7\",\"302\":\"c8203e6c92bdb64f8178\",\"303\":\"f49a8350a4c465ee3fd4\",\"304\":\"b1290310b6ecc52c3750\",\"305\":\"1a191404296138ebe703\",\"306\":\"1b0c083318113768edf7\",\"307\":\"3d74729a648cfc742382\",\"308\":\"edafdae05a2e5a37e5b9\",\"309\":\"e9b560aa7f38591fdff3\",\"310\":\"b5db9ae6547b3dfa97ad\",\"311\":\"be1743ea35fc4fb5111d\",\"312\":\"fcd2fcac359a64223166\",\"313\":\"670e8f3dfba82aab3055\",\"314\":\"28ff00852c676530cc10\",\"315\":\"7c95739ff21964eb797b\",\"316\":\"223a3fb4b15a949e5dc3\",\"317\":\"cf9ede079a67f20e7243\",\"318\":\"68905dcdc1f2782dbc78\",\"319\":\"bafb5f1236ad4920b408\",\"320\":\"d02265d23898060602ea\",\"321\":\"35766ba88dae7ec40cd4\",\"325\":\"6955202488c586c53f44\",\"328\":\"eb02c1c4e1f36ec0145f\",\"329\":\"c2aca8b343d8b2cbdf17\",\"330\":\"f80c3150a42e06eb2123\",\"331\":\"74033761eb402a8cc87b\",\"332\":\"a248fe65a4d7bb96891a\",\"333\":\"f179fc03999bff309197\",\"334\":\"dd3a36c885277ca395c6\",\"335\":\"a499ec3a8d15ace30eb0\",\"336\":\"3ebead65aff8bf28e004\",\"337\":\"0ba97a989505bb05224c\",\"338\":\"e59dea29168e4d29b302\",\"339\":\"c8c41be9fa8fd302c73d\",\"340\":\"d7a05bfdf2d8b9a573eb\",\"341\":\"d65a3ae4a1cfce3a88cd\",\"342\":\"40033460a55e96f3640f\",\"343\":\"7b23b03bca0e09d08c70\",\"344\":\"8ee0c39f1ca20c976569\",\"345\":\"9efabbce2fa069a0544e\"}[chunkId] + \".chunk.js\"\n \t}\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 \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"3\":1,\"5\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"28\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"34\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1,\"45\":1,\"49\":1,\"50\":1,\"51\":1,\"52\":1,\"53\":1,\"54\":1,\"55\":1,\"56\":1,\"57\":1,\"61\":1,\"62\":1,\"63\":1,\"64\":1,\"66\":1,\"67\":1,\"68\":1,\"70\":1,\"73\":1,\"74\":1,\"77\":1,\"79\":1,\"81\":1,\"82\":1,\"84\":1,\"85\":1,\"86\":1,\"87\":1,\"88\":1,\"89\":1,\"90\":1,\"92\":1,\"94\":1,\"95\":1,\"96\":1,\"99\":1,\"100\":1,\"101\":1,\"102\":1,\"103\":1,\"104\":1,\"105\":1,\"106\":1,\"107\":1,\"109\":1,\"110\":1,\"111\":1,\"113\":1,\"114\":1,\"115\":1,\"116\":1,\"117\":1,\"119\":1,\"120\":1,\"121\":1,\"124\":1,\"127\":1,\"128\":1,\"130\":1,\"131\":1,\"132\":1,\"133\":1,\"135\":1,\"136\":1,\"137\":1,\"138\":1,\"139\":1,\"140\":1,\"141\":1,\"142\":1,\"143\":1,\"144\":1,\"145\":1,\"146\":1,\"147\":1,\"148\":1,\"153\":1,\"154\":1,\"155\":1,\"156\":1,\"157\":1,\"158\":1,\"159\":1,\"160\":1,\"163\":1,\"164\":1,\"165\":1,\"166\":1,\"167\":1,\"168\":1,\"169\":1,\"170\":1,\"171\":1,\"172\":1,\"173\":1,\"174\":1,\"175\":1,\"177\":1,\"178\":1,\"179\":1,\"181\":1,\"182\":1,\"183\":1,\"184\":1,\"185\":1,\"186\":1,\"188\":1,\"189\":1,\"190\":1,\"191\":1,\"192\":1,\"195\":1,\"197\":1,\"199\":1,\"218\":1,\"219\":1,\"220\":1,\"222\":1,\"223\":1,\"226\":1,\"229\":1,\"231\":1,\"233\":1,\"236\":1,\"237\":1,\"238\":1,\"239\":1,\"240\":1,\"241\":1,\"242\":1,\"243\":1,\"244\":1,\"246\":1,\"248\":1,\"249\":1,\"251\":1,\"252\":1,\"254\":1,\"255\":1,\"256\":1,\"257\":1,\"258\":1,\"259\":1,\"260\":1,\"264\":1,\"270\":1,\"274\":1,\"275\":1,\"276\":1,\"277\":1,\"281\":1,\"282\":1,\"284\":1,\"286\":1,\"292\":1,\"295\":1,\"296\":1,\"297\":1,\"299\":1,\"300\":1,\"301\":1,\"302\":1,\"304\":1,\"309\":1,\"311\":1,\"314\":1,\"316\":1,\"317\":1,\"318\":1,\"319\":1,\"320\":1,\"321\":1,\"325\":1,\"328\":1,\"329\":1,\"330\":1,\"331\":1,\"332\":1,\"333\":1,\"334\":1,\"335\":1,\"336\":1,\"337\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"3\":\"vendors~pages178~pages88\",\"4\":\"pages202\",\"5\":\"pages37\",\"6\":\"pages77\",\"7\":\"pages294\",\"8\":\"pages72\",\"9\":\"pages106\",\"10\":\"pages148\",\"11\":\"pages150\",\"12\":\"pages186~pages98\",\"13\":\"pages276\",\"14\":\"pages300\",\"15\":\"pages305\",\"16\":\"pages48\",\"18\":\"pages105\",\"19\":\"pages135\",\"20\":\"pages147\",\"21\":\"pages151\",\"22\":\"pages159\",\"23\":\"pages178\",\"24\":\"pages207\",\"25\":\"pages212\",\"26\":\"pages224\",\"27\":\"pages272\",\"28\":\"pages273\",\"29\":\"pages46\",\"30\":\"pages58\",\"31\":\"pages70\",\"32\":\"pages88\",\"34\":\"pages104\",\"35\":\"pages107\",\"36\":\"pages111\",\"37\":\"pages120\",\"38\":\"pages149\",\"39\":\"pages158\",\"40\":\"pages162\",\"41\":\"pages163\",\"42\":\"pages164\",\"43\":\"pages165\",\"44\":\"pages166\",\"45\":\"pages169\",\"46\":\"pages170\",\"47\":\"pages171\",\"48\":\"pages172\",\"49\":\"pages173\",\"50\":\"pages174\",\"51\":\"pages176\",\"52\":\"pages186\",\"53\":\"pages192\",\"54\":\"pages206\",\"55\":\"pages208\",\"56\":\"pages261\",\"57\":\"pages263\",\"58\":\"pages264\",\"59\":\"pages265\",\"60\":\"pages267\",\"61\":\"pages268\",\"62\":\"pages269\",\"63\":\"pages27\",\"64\":\"pages270\",\"65\":\"pages271\",\"66\":\"pages277\",\"67\":\"pages278\",\"68\":\"pages280\",\"69\":\"pages281\",\"70\":\"pages286\",\"71\":\"pages29\",\"72\":\"pages291\",\"73\":\"pages292\",\"74\":\"pages293\",\"75\":\"pages295\",\"76\":\"pages296\",\"77\":\"pages297\",\"78\":\"pages30\",\"79\":\"pages301\",\"80\":\"pages308\",\"81\":\"pages311\",\"82\":\"pages314\",\"83\":\"pages316\",\"84\":\"pages38\",\"85\":\"pages51\",\"86\":\"pages74\",\"87\":\"pages75\",\"88\":\"pages76\",\"89\":\"pages83\",\"90\":\"pages87\",\"92\":\"form\",\"93\":\"lang-en-en-js\",\"94\":\"pages101\",\"95\":\"pages108\",\"96\":\"pages109\",\"97\":\"pages113\",\"98\":\"pages114\",\"99\":\"pages115\",\"100\":\"pages116\",\"101\":\"pages117\",\"102\":\"pages118\",\"103\":\"pages119\",\"104\":\"pages121\",\"105\":\"pages122\",\"106\":\"pages123\",\"107\":\"pages124\",\"108\":\"pages125\",\"109\":\"pages126\",\"110\":\"pages127\",\"111\":\"pages128\",\"112\":\"pages129\",\"113\":\"pages130\",\"114\":\"pages131\",\"115\":\"pages132\",\"116\":\"pages133\",\"117\":\"pages134\",\"118\":\"pages136\",\"119\":\"pages138\",\"120\":\"pages139\",\"121\":\"pages140\",\"122\":\"pages141\",\"123\":\"pages142\",\"124\":\"pages143\",\"125\":\"pages144\",\"126\":\"pages145\",\"127\":\"pages146\",\"128\":\"pages152\",\"129\":\"pages153\",\"130\":\"pages155\",\"131\":\"pages156\",\"132\":\"pages157\",\"133\":\"pages160\",\"134\":\"pages161\",\"135\":\"pages167\",\"136\":\"pages168\",\"137\":\"pages17\",\"138\":\"pages182\",\"139\":\"pages183\",\"140\":\"pages190\",\"141\":\"pages193\",\"142\":\"pages194\",\"143\":\"pages195\",\"144\":\"pages197\",\"145\":\"pages198\",\"146\":\"pages199\",\"147\":\"pages20\",\"148\":\"pages201\",\"149\":\"pages204\",\"150\":\"pages21\",\"151\":\"pages215\",\"152\":\"pages22\",\"153\":\"pages221\",\"154\":\"pages226\",\"155\":\"pages227\",\"156\":\"pages228\",\"157\":\"pages229\",\"158\":\"pages23\",\"159\":\"pages230\",\"160\":\"pages231\",\"161\":\"pages24\",\"162\":\"pages25\",\"163\":\"pages26\",\"164\":\"pages28\",\"165\":\"pages33\",\"166\":\"pages34\",\"167\":\"pages35\",\"168\":\"pages39\",\"169\":\"pages40\",\"170\":\"pages41\",\"171\":\"pages45\",\"172\":\"pages47\",\"173\":\"pages50\",\"174\":\"pages53\",\"175\":\"pages55\",\"176\":\"pages57\",\"177\":\"pages61\",\"178\":\"pages62\",\"179\":\"pages63\",\"180\":\"pages67\",\"181\":\"pages68\",\"182\":\"pages69\",\"183\":\"pages71\",\"184\":\"pages73\",\"185\":\"pages78\",\"186\":\"pages82\",\"187\":\"pages85\",\"188\":\"pages89\",\"189\":\"pages93\",\"190\":\"pages94\",\"191\":\"pages97\",\"192\":\"pages98\",\"194\":\"vendors~pages152\",\"195\":\"vendors~pages195\",\"196\":\"vendors~pages34\",\"201\":\"admin-stats\",\"207\":\"lang-cs-cs-js\",\"208\":\"lang-de-de-js\",\"209\":\"lang-gb-gb-js\",\"210\":\"lang-nl-nl-js\",\"211\":\"lang-pl-pl-js\",\"212\":\"lang-rs-rs-js\",\"213\":\"lang-sk-sk-js\",\"214\":\"navigation\",\"215\":\"pages0\",\"216\":\"pages1\",\"217\":\"pages10\",\"218\":\"pages100\",\"219\":\"pages102\",\"220\":\"pages103\",\"221\":\"pages11\",\"222\":\"pages110\",\"223\":\"pages112\",\"224\":\"pages12\",\"225\":\"pages13\",\"226\":\"pages137\",\"227\":\"pages14\",\"228\":\"pages15\",\"229\":\"pages154\",\"230\":\"pages16\",\"231\":\"pages175\",\"232\":\"pages177\",\"233\":\"pages179\",\"234\":\"pages18\",\"235\":\"pages180\",\"236\":\"pages181\",\"237\":\"pages184\",\"238\":\"pages185\",\"239\":\"pages187\",\"240\":\"pages188\",\"241\":\"pages189\",\"242\":\"pages19\",\"243\":\"pages191\",\"244\":\"pages196\",\"245\":\"pages2\",\"246\":\"pages200\",\"247\":\"pages203\",\"248\":\"pages209\",\"249\":\"pages210\",\"250\":\"pages211\",\"251\":\"pages213\",\"252\":\"pages214\",\"253\":\"pages216\",\"254\":\"pages217\",\"255\":\"pages218\",\"256\":\"pages219\",\"257\":\"pages220\",\"258\":\"pages222\",\"259\":\"pages223\",\"260\":\"pages225\",\"261\":\"pages232\",\"262\":\"pages233\",\"263\":\"pages234\",\"264\":\"pages235\",\"265\":\"pages236\",\"266\":\"pages237\",\"267\":\"pages238\",\"268\":\"pages239\",\"269\":\"pages240\",\"270\":\"pages241\",\"271\":\"pages242\",\"272\":\"pages243\",\"273\":\"pages244\",\"274\":\"pages245\",\"275\":\"pages247\",\"276\":\"pages248\",\"277\":\"pages249\",\"278\":\"pages250\",\"279\":\"pages251\",\"280\":\"pages252\",\"281\":\"pages253\",\"282\":\"pages254\",\"283\":\"pages255\",\"284\":\"pages256\",\"285\":\"pages257\",\"286\":\"pages258\",\"287\":\"pages259\",\"288\":\"pages260\",\"289\":\"pages3\",\"290\":\"pages31\",\"291\":\"pages32\",\"292\":\"pages36\",\"293\":\"pages4\",\"294\":\"pages42\",\"295\":\"pages43\",\"296\":\"pages44\",\"297\":\"pages49\",\"298\":\"pages5\",\"299\":\"pages52\",\"300\":\"pages54\",\"301\":\"pages56\",\"302\":\"pages59\",\"303\":\"pages6\",\"304\":\"pages60\",\"305\":\"pages64\",\"306\":\"pages65\",\"307\":\"pages66\",\"308\":\"pages7\",\"309\":\"pages79\",\"310\":\"pages8\",\"311\":\"pages80\",\"312\":\"pages81\",\"313\":\"pages84\",\"314\":\"pages86\",\"315\":\"pages9\",\"316\":\"pages90\",\"317\":\"pages91\",\"318\":\"pages92\",\"319\":\"pages95\",\"320\":\"pages96\",\"321\":\"pages99\",\"325\":\"ui-components\"}[chunkId]||chunkId) + \"-\" + {\"0\":\"e3b0c442\",\"1\":\"e3b0c442\",\"2\":\"e3b0c442\",\"3\":\"f783a4c8\",\"4\":\"e3b0c442\",\"5\":\"03ad2c66\",\"6\":\"e3b0c442\",\"7\":\"63aaea2e\",\"8\":\"b020d04b\",\"9\":\"163e0641\",\"10\":\"78467142\",\"11\":\"d1817a4e\",\"12\":\"e3b0c442\",\"13\":\"513f86e6\",\"14\":\"e3b0c442\",\"15\":\"733bdf3d\",\"16\":\"e3b0c442\",\"17\":\"c77dede9\",\"18\":\"b1ff6f45\",\"19\":\"887f86da\",\"20\":\"b9a7bfb1\",\"21\":\"b20ae9d8\",\"22\":\"76a41ac4\",\"23\":\"9e810f8e\",\"24\":\"4de30678\",\"25\":\"2d302d42\",\"26\":\"8812d068\",\"27\":\"315f5dc5\",\"28\":\"35ee9229\",\"29\":\"c52b424d\",\"30\":\"ab28d4ba\",\"31\":\"8c32417b\",\"32\":\"6e4f97cf\",\"33\":\"e3b0c442\",\"34\":\"7baa722f\",\"35\":\"77da05c5\",\"36\":\"9cc40215\",\"37\":\"6c5bd1bf\",\"38\":\"3d34efe8\",\"39\":\"a5e6afd6\",\"40\":\"1ad32c33\",\"41\":\"adaf9be4\",\"42\":\"a8fa49c3\",\"43\":\"e3b0c442\",\"44\":\"e3b0c442\",\"45\":\"707fac5f\",\"46\":\"e3b0c442\",\"47\":\"e3b0c442\",\"48\":\"e3b0c442\",\"49\":\"736afad8\",\"50\":\"8cf4cbf7\",\"51\":\"14e054fc\",\"52\":\"c9e50eb1\",\"53\":\"b4d2a36e\",\"54\":\"f0d42b0d\",\"55\":\"b50f5c73\",\"56\":\"2001e11a\",\"57\":\"3dc0a0a5\",\"58\":\"e3b0c442\",\"59\":\"e3b0c442\",\"60\":\"e3b0c442\",\"61\":\"7f19eee5\",\"62\":\"4d7847d9\",\"63\":\"4856df8e\",\"64\":\"9525d6f1\",\"65\":\"e3b0c442\",\"66\":\"86b6d694\",\"67\":\"3469480c\",\"68\":\"0c9a2c8a\",\"69\":\"e3b0c442\",\"70\":\"320b4728\",\"71\":\"e3b0c442\",\"72\":\"e3b0c442\",\"73\":\"2bd22ff1\",\"74\":\"0b2de193\",\"75\":\"e3b0c442\",\"76\":\"e3b0c442\",\"77\":\"0181e432\",\"78\":\"e3b0c442\",\"79\":\"3a9cabb1\",\"80\":\"e3b0c442\",\"81\":\"1ba2c89c\",\"82\":\"163c1321\",\"83\":\"e3b0c442\",\"84\":\"4be65cb7\",\"85\":\"d2b90852\",\"86\":\"efd081f4\",\"87\":\"a0df7ba4\",\"88\":\"63bed723\",\"89\":\"97ee4e5c\",\"90\":\"da481f70\",\"92\":\"c4eab2f9\",\"93\":\"e3b0c442\",\"94\":\"b91a02ca\",\"95\":\"7232bdf0\",\"96\":\"7e510d88\",\"97\":\"e3b0c442\",\"98\":\"e3b0c442\",\"99\":\"cc10dc8a\",\"100\":\"e8753a19\",\"101\":\"daab9bb3\",\"102\":\"81744b63\",\"103\":\"c15df271\",\"104\":\"51fc857c\",\"105\":\"51fc857c\",\"106\":\"51fc857c\",\"107\":\"fc194faf\",\"108\":\"e3b0c442\",\"109\":\"50fe1813\",\"110\":\"42adca1c\",\"111\":\"58241243\",\"112\":\"e3b0c442\",\"113\":\"7f1b3fc0\",\"114\":\"4343d53b\",\"115\":\"e35174ef\",\"116\":\"28186f9f\",\"117\":\"3ac8fd5e\",\"118\":\"e3b0c442\",\"119\":\"6f95786a\",\"120\":\"da6ffb87\",\"121\":\"959a5fff\",\"122\":\"e3b0c442\",\"123\":\"e3b0c442\",\"124\":\"bdd7e8c4\",\"125\":\"e3b0c442\",\"126\":\"e3b0c442\",\"127\":\"9630132f\",\"128\":\"c3dee889\",\"129\":\"e3b0c442\",\"130\":\"7d9c93b7\",\"131\":\"2e949aff\",\"132\":\"dbed5fdd\",\"133\":\"4860cc60\",\"134\":\"e3b0c442\",\"135\":\"c9694a12\",\"136\":\"5ce0e33e\",\"137\":\"e8cb9a07\",\"138\":\"6788705e\",\"139\":\"337bfd30\",\"140\":\"76c80950\",\"141\":\"155ccec1\",\"142\":\"16e433a8\",\"143\":\"fbb56396\",\"144\":\"20e9f434\",\"145\":\"3022f127\",\"146\":\"deedac14\",\"147\":\"c40ae3d5\",\"148\":\"bfcb5b96\",\"149\":\"e3b0c442\",\"150\":\"e3b0c442\",\"151\":\"e3b0c442\",\"152\":\"e3b0c442\",\"153\":\"bc5998a5\",\"154\":\"35edaf4b\",\"155\":\"2e95ec58\",\"156\":\"30c4b35c\",\"157\":\"480ad291\",\"158\":\"1bb73628\",\"159\":\"321bfe2e\",\"160\":\"b2bce06f\",\"161\":\"e3b0c442\",\"162\":\"e3b0c442\",\"163\":\"d93e2643\",\"164\":\"bb5147dc\",\"165\":\"5bfda0bc\",\"166\":\"391b7324\",\"167\":\"4e714120\",\"168\":\"7a632e0e\",\"169\":\"4723cde2\",\"170\":\"953078fd\",\"171\":\"c2bbb4af\",\"172\":\"a2cb8034\",\"173\":\"e5aa9cdc\",\"174\":\"84915e34\",\"175\":\"9cee6780\",\"176\":\"e3b0c442\",\"177\":\"ad17746f\",\"178\":\"e6421c4c\",\"179\":\"eeed00b3\",\"180\":\"e3b0c442\",\"181\":\"033a5bf7\",\"182\":\"9582e7e2\",\"183\":\"bf1abe50\",\"184\":\"7f8e9357\",\"185\":\"70b7514b\",\"186\":\"35f653ea\",\"187\":\"e3b0c442\",\"188\":\"967fd4a6\",\"189\":\"f49a66c7\",\"190\":\"fe5f99ae\",\"191\":\"955b1765\",\"192\":\"05b3fa48\",\"194\":\"e3b0c442\",\"195\":\"e21e034d\",\"196\":\"e3b0c442\",\"197\":\"4d1c43a4\",\"198\":\"e3b0c442\",\"199\":\"5a071719\",\"201\":\"e3b0c442\",\"207\":\"e3b0c442\",\"208\":\"e3b0c442\",\"209\":\"e3b0c442\",\"210\":\"e3b0c442\",\"211\":\"e3b0c442\",\"212\":\"e3b0c442\",\"213\":\"e3b0c442\",\"214\":\"e3b0c442\",\"215\":\"e3b0c442\",\"216\":\"e3b0c442\",\"217\":\"e3b0c442\",\"218\":\"a125e696\",\"219\":\"76c80950\",\"220\":\"5b973bca\",\"221\":\"e3b0c442\",\"222\":\"a49bed97\",\"223\":\"e45d8265\",\"224\":\"e3b0c442\",\"225\":\"e3b0c442\",\"226\":\"41e11352\",\"227\":\"e3b0c442\",\"228\":\"e3b0c442\",\"229\":\"abd62fd0\",\"230\":\"e3b0c442\",\"231\":\"62368619\",\"232\":\"e3b0c442\",\"233\":\"acecaa94\",\"234\":\"e3b0c442\",\"235\":\"e3b0c442\",\"236\":\"80bb9802\",\"237\":\"5a662407\",\"238\":\"147ee63b\",\"239\":\"57dc8f4f\",\"240\":\"1a6900e2\",\"241\":\"10b231ac\",\"242\":\"26fcff50\",\"243\":\"32c4cff7\",\"244\":\"62368619\",\"245\":\"e3b0c442\",\"246\":\"2b9f67f5\",\"247\":\"e3b0c442\",\"248\":\"fae34518\",\"249\":\"f627ba8b\",\"250\":\"e3b0c442\",\"251\":\"6599a7fe\",\"252\":\"1fa8341a\",\"253\":\"e3b0c442\",\"254\":\"d09a9241\",\"255\":\"d09a9241\",\"256\":\"9c47e482\",\"257\":\"74b11f69\",\"258\":\"7f0dbc3d\",\"259\":\"400172e7\",\"260\":\"0732991a\",\"261\":\"e3b0c442\",\"262\":\"e3b0c442\",\"263\":\"e3b0c442\",\"264\":\"2174131c\",\"265\":\"e3b0c442\",\"266\":\"e3b0c442\",\"267\":\"e3b0c442\",\"268\":\"e3b0c442\",\"269\":\"e3b0c442\",\"270\":\"19000a95\",\"271\":\"e3b0c442\",\"272\":\"e3b0c442\",\"273\":\"e3b0c442\",\"274\":\"06694764\",\"275\":\"bd2e0824\",\"276\":\"e5f8c11d\",\"277\":\"b31c9914\",\"278\":\"e3b0c442\",\"279\":\"e3b0c442\",\"280\":\"e3b0c442\",\"281\":\"dde339af\",\"282\":\"2c255bbe\",\"283\":\"e3b0c442\",\"284\":\"7070df35\",\"285\":\"e3b0c442\",\"286\":\"13d27144\",\"287\":\"e3b0c442\",\"288\":\"e3b0c442\",\"289\":\"e3b0c442\",\"290\":\"e3b0c442\",\"291\":\"e3b0c442\",\"292\":\"a9f5c698\",\"293\":\"e3b0c442\",\"294\":\"e3b0c442\",\"295\":\"cb951757\",\"296\":\"f429e450\",\"297\":\"57402fd8\",\"298\":\"e3b0c442\",\"299\":\"163c1321\",\"300\":\"e9b8bdf5\",\"301\":\"8123c495\",\"302\":\"8e252251\",\"303\":\"e3b0c442\",\"304\":\"23a9869f\",\"305\":\"e3b0c442\",\"306\":\"e3b0c442\",\"307\":\"e3b0c442\",\"308\":\"e3b0c442\",\"309\":\"e84d1f4c\",\"310\":\"e3b0c442\",\"311\":\"e45d8265\",\"312\":\"e3b0c442\",\"313\":\"e3b0c442\",\"314\":\"5a071719\",\"315\":\"e3b0c442\",\"316\":\"8bf3c768\",\"317\":\"bd552514\",\"318\":\"41adb3ea\",\"319\":\"9b602e61\",\"320\":\"e98661a1\",\"321\":\"8bcb696f\",\"325\":\"bdfa790e\",\"328\":\"62368619\",\"329\":\"62368619\",\"330\":\"2b9f67f5\",\"331\":\"a49bed97\",\"332\":\"e45d8265\",\"333\":\"41e11352\",\"334\":\"e9b8bdf5\",\"335\":\"8123c495\",\"336\":\"a0df7ba4\",\"337\":\"e45d8265\",\"338\":\"e3b0c442\",\"339\":\"e3b0c442\",\"340\":\"e3b0c442\",\"341\":\"e3b0c442\",\"342\":\"e3b0c442\",\"343\":\"e3b0c442\",\"344\":\"e3b0c442\",\"345\":\"e3b0c442\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tfunction loadScript(src, retries) {\n \t\t\t\t var script = document.createElement('script');\n \t\t\t\t var retryAttempt = 3 - retries + 1;\n \t\t\t\t var retryAttemptString = '&retry-attempt=' + retryAttempt;\n \t\t\t\t var onScriptComplete;\n\n \t\t\t\t script.charset = 'utf-8';\n \t\t\t\t script.timeout = 120;\n \t\t\t\t if (__webpack_require__.nc) {\n \t\t\t\t script.setAttribute('nonce', __webpack_require__.nc);\n \t\t\t\t }\n \t\t\t\t script.src = src;\n\n \t\t\t\t onScriptComplete = function(event) {\n \t\t\t\t // avoid mem leaks in IE.\n \t\t\t\t script.onerror = script.onload = null;\n \t\t\t\t clearTimeout(timeout);\n \t\t\t\t var chunk = installedChunks[chunkId];\n \t\t\t\t if (chunk !== 0) {\n \t\t\t\t if (chunk) {\n \t\t\t\t if (retries === 0) {\n \t\t\t\t var errorType =\n \t\t\t\t event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t var realSrc = event && event.target && event.target.src;\n \t\t\t\t error.message =\n \t\t\t\t 'Loading chunk ' +\n \t\t\t\t chunkId +\n \t\t\t\t ' failed after 3 retries.\\n(' +\n \t\t\t\t errorType +\n \t\t\t\t ': ' +\n \t\t\t\t realSrc +\n \t\t\t\t ')';\n \t\t\t\t error.name = 'ChunkLoadError';\n \t\t\t\t error.type = errorType;\n \t\t\t\t error.request = realSrc;\n \t\t\t\t chunk[1](error);\n \t\t\t\t installedChunks[chunkId] = undefined;\n \t\t\t\t } else {\n \t\t\t\t var cacheBust = (function() {\n \t\t\t\t return Date.now();\n \t\t\t\t })();\n \t\t\t\t +retryAttemptString;\n \t\t\t\t var retryScript = loadScript(\n \t\t\t\t jsonpScriptSrc(chunkId) + '?' + cacheBust,\n \t\t\t\t retries - 1\n \t\t\t\t );\n \t\t\t\t document.head.appendChild(retryScript);\n \t\t\t\t }\n \t\t\t\t } else {\n \t\t\t\t installedChunks[chunkId] = undefined;\n \t\t\t\t }\n \t\t\t\t }\n \t\t\t\t };\n \t\t\t\t var timeout = setTimeout(function() {\n \t\t\t\t onScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t }, 120000);\n \t\t\t\t script.onerror = script.onload = onScriptComplete;\n \t\t\t\t return script;\n \t\t\t\t}\n\n \t\t\t\tvar script = loadScript(jsonpScriptSrc(chunkId), 3);\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\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 \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([758,91,193]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import i18n from'~/i18n';export var IC_LOOKUP_ENABLED_COUNTRIES=['CZ','PL','SK'];export var NAME_LOOKUP_ENABLED_COUNTRIES=['CZ','PL','SK'];export var TARIF_PREMIUM='Premium';export var DEFAULT_CURRENCY='CZK';export var BANK_TRANSFER='bank_transfer';export var CREDIT_CARD='credit_card';export var MINI_PLAN_ID=1;export var PREMIUM_PLAN_ID=2;export var COUNTRY_CODES={CS:'CZ',EN:'US',PL:'PL',RS:'RS',SK:'SK',NL:'NL',GB:'GB',DE:'DE'};export var LANGUAGES={CS:'cs',EN:'en',PL:'pl',RS:'en-RS',SK:'sk',NL:'nl-NL',GB:'en',DE:'de-DE'};export var CURRENCIES={CS:'CZK',EN:'USD',PL:'PLN',RS:'RSD',SK:'EUR',NL:'EUR',GB:'GBP',DE:'EUR'};export var AVAILABLE_TABLE_COLUMNS=['number','seller_name','buyer_name','issued_on','due_on','tax_point_on','paid_at','submitted_at','kind','total_float','state'];export var DEFAULT_CONTACTS_COLUMNS=['name','company_number','email','phone','invoices_count'];export var DISABLED_CONTACTS_STATE_COLUMNS=['company_number','name'];export var AVAILABLE_CONTACTS_TABLE_COLUMNS=['name','company_number','email','phone','invoices_count','expenses_count'];export var DEFAULT_EXPENSES_COLUMNS=['number','state','attachment','contact_id','due_on','total_amount'];export var DISABLED_EXPENSES_STATE_COLUMNS=['number'];export var AVAILABLE_EXPENSES_TABLE_COLUMNS=['number','attachment','contact_id','due_on','amount_without_tax','total_amount','state'];export var AVAILABLE_INVOICES_FILTERS=['period','customer','kind','price'];export var DEFAULT_INVOICES_FILTERS=['period','customer'];export var DISABLED_INVOICES_FILTERS=['period'];export var AVAILABLE_EXPENSES_FILTERS=['period','customer','price'];export var DEFAULT_EXPENSES_FILTERS=['period','customer'];export var DISABLED_EXPENSES_FILTERS=['period'];export var STATE_COLUMNS=['state','paid_at','submitted_at'];export var DEFAULT_COLUMNS=['number','state','buyer_name','due_on','kind','total_float'];export var DISABLED_STATE_COLUMNS=['number','total_float'];export var ENV_COUNTRIES={CZ:'cz'};export var VAT_INCLUSIVE='vat_inclusive';export var VAT_EXCLUSIVE='vat_exclusive';export var NEW_INVOICE='new';export var PREMIUM_PLAN_NAME='Premium';export var MINI_PLAN_NAME='Mini';export var EDIT_INVOICE='edit';export var INVOICE_KIND_NO_VAT='invoice';export var INVOICE_KIND_WITH_VAT='vat_invoice';export var INVOICE_KIND_ADVANCE='advance';export var INVOICE_KIND_PROFORMA='proforma';export var INVOICE_KIND_VAT_MARGIN='vat_margin_invoice';export var INVOICE_KIND_VAT_DUTY_REVERSED='vat_duty_reversed';export var EET_REQUIRED_MEANS_OF_PAYMENT=['cash'];export var EXPIRE_SUBSCRIPTION_THRESHOLD_DAYS=30;export var FETCH_STATE_NONE='FETCH_STATE_NONE';export var FETCH_STATE_PENDING='FETCH_STATE_PENDING';export var FETCH_STATE_SUCCESS='FETCH_STATE_SUCCESS';export var FETCH_STATE_ERROR='FETCH_STATE_ERROR';var currency=CURRENCIES[i18n.locale.toUpperCase()];export var FAKE_INVOICES=new Array(10).fill(0).map(function(i,index){return{_id:'5d1342259f880b42b7929f30',number:124-index,createdAt:'2019-06-26T12:00:05.810+02:00',buyer:{name:'FakturaOnline s.r.o'},seller:{name:'FakturaOnline s.r.o'},kind:'invoice',dueOn:new Date(),totalFloat:Math.floor(Math.random()*10545),eetInvoice:false,eetState:'not_subject',language:i18n.locale.toUpperCase(),state:['overdue','paid','submitted'][Math.floor(Math.random()*3)],currency:currency};});export var FAKE_INVOICES_STATES={baseCurrency:currency,invoicesCount:40,invoicesSum:2000000+Math.random()*100000,overdueCount:4,overdueSum:300000+Math.random()*50000,paidCount:22,paidSum:350000+Math.random()*50000,proposalCount:6,proposalSum:1100000+Math.random()*50000,recurringCount:3,recurringSum:120000+Math.random()*10000,submittedCount:5,submittedSum:120000+Math.random()*10000};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n\n/* global Reflect, Promise */\nvar _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nvar _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\nexport { _assign as __assign };\nexport function __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n }\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function sent() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n\n while (_) {\n try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n\n case 7:\n op = _.ops.pop();\n\n _.trys.pop();\n\n continue;\n\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n\n if (t && _.label < t[2]) {\n _.label = t[2];\n\n _.ops.push(op);\n\n break;\n }\n\n if (t[2]) _.ops.pop();\n\n _.trys.pop();\n\n continue;\n }\n\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n }\n\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport function __createBinding(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}\nexport function __exportStar(m, exports) {\n for (var p in m) {\n if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\n }\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function next() {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n\n return ar;\n}\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) {\n ar = ar.concat(__read(arguments[i]));\n }\n\n return ar;\n}\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\n;\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n\n function fulfill(value) {\n resume(\"next\", value);\n }\n\n function reject(value) {\n resume(\"throw\", value);\n }\n\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n\n return cooked;\n}\n;\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n}\nexport function __classPrivateFieldGet(receiver, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to get private field on non-instance\");\n }\n\n return privateMap.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError(\"attempted to set private field on non-instance\");\n }\n\n privateMap.set(receiver, value);\n return value;\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { visit } from 'graphql/language/visitor';\nimport { InvariantError, invariant } from 'ts-invariant';\nimport { __assign, __spreadArrays } from 'tslib';\nimport stringify from 'fast-json-stable-stringify';\nexport { equal as isEqual } from '@wry/equality';\n\nfunction isScalarValue(value) {\n return ['StringValue', 'BooleanValue', 'EnumValue'].indexOf(value.kind) > -1;\n}\n\nfunction isNumberValue(value) {\n return ['IntValue', 'FloatValue'].indexOf(value.kind) > -1;\n}\n\nfunction isStringValue(value) {\n return value.kind === 'StringValue';\n}\n\nfunction isBooleanValue(value) {\n return value.kind === 'BooleanValue';\n}\n\nfunction isIntValue(value) {\n return value.kind === 'IntValue';\n}\n\nfunction isFloatValue(value) {\n return value.kind === 'FloatValue';\n}\n\nfunction isVariable(value) {\n return value.kind === 'Variable';\n}\n\nfunction isObjectValue(value) {\n return value.kind === 'ObjectValue';\n}\n\nfunction isListValue(value) {\n return value.kind === 'ListValue';\n}\n\nfunction isEnumValue(value) {\n return value.kind === 'EnumValue';\n}\n\nfunction isNullValue(value) {\n return value.kind === 'NullValue';\n}\n\nfunction valueToObjectRepresentation(argObj, name, value, variables) {\n if (isIntValue(value) || isFloatValue(value)) {\n argObj[name.value] = Number(value.value);\n } else if (isBooleanValue(value) || isStringValue(value)) {\n argObj[name.value] = value.value;\n } else if (isObjectValue(value)) {\n var nestedArgObj_1 = {};\n value.fields.map(function (obj) {\n return valueToObjectRepresentation(nestedArgObj_1, obj.name, obj.value, variables);\n });\n argObj[name.value] = nestedArgObj_1;\n } else if (isVariable(value)) {\n var variableValue = (variables || {})[value.name.value];\n argObj[name.value] = variableValue;\n } else if (isListValue(value)) {\n argObj[name.value] = value.values.map(function (listValue) {\n var nestedArgArrayObj = {};\n valueToObjectRepresentation(nestedArgArrayObj, name, listValue, variables);\n return nestedArgArrayObj[name.value];\n });\n } else if (isEnumValue(value)) {\n argObj[name.value] = value.value;\n } else if (isNullValue(value)) {\n argObj[name.value] = null;\n } else {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(17) : new InvariantError(\"The inline argument \\\"\" + name.value + \"\\\" of kind \\\"\" + value.kind + \"\\\"\" + 'is not supported. Use variables instead of inline arguments to ' + 'overcome this limitation.');\n }\n}\n\nfunction storeKeyNameFromField(field, variables) {\n var directivesObj = null;\n\n if (field.directives) {\n directivesObj = {};\n field.directives.forEach(function (directive) {\n directivesObj[directive.name.value] = {};\n\n if (directive.arguments) {\n directive.arguments.forEach(function (_a) {\n var name = _a.name,\n value = _a.value;\n return valueToObjectRepresentation(directivesObj[directive.name.value], name, value, variables);\n });\n }\n });\n }\n\n var argObj = null;\n\n if (field.arguments && field.arguments.length) {\n argObj = {};\n field.arguments.forEach(function (_a) {\n var name = _a.name,\n value = _a.value;\n return valueToObjectRepresentation(argObj, name, value, variables);\n });\n }\n\n return getStoreKeyName(field.name.value, argObj, directivesObj);\n}\n\nvar KNOWN_DIRECTIVES = ['connection', 'include', 'skip', 'client', 'rest', 'export'];\n\nfunction getStoreKeyName(fieldName, args, directives) {\n if (directives && directives['connection'] && directives['connection']['key']) {\n if (directives['connection']['filter'] && directives['connection']['filter'].length > 0) {\n var filterKeys = directives['connection']['filter'] ? directives['connection']['filter'] : [];\n filterKeys.sort();\n var queryArgs_1 = args;\n var filteredArgs_1 = {};\n filterKeys.forEach(function (key) {\n filteredArgs_1[key] = queryArgs_1[key];\n });\n return directives['connection']['key'] + \"(\" + JSON.stringify(filteredArgs_1) + \")\";\n } else {\n return directives['connection']['key'];\n }\n }\n\n var completeFieldName = fieldName;\n\n if (args) {\n var stringifiedArgs = stringify(args);\n completeFieldName += \"(\" + stringifiedArgs + \")\";\n }\n\n if (directives) {\n Object.keys(directives).forEach(function (key) {\n if (KNOWN_DIRECTIVES.indexOf(key) !== -1) return;\n\n if (directives[key] && Object.keys(directives[key]).length) {\n completeFieldName += \"@\" + key + \"(\" + JSON.stringify(directives[key]) + \")\";\n } else {\n completeFieldName += \"@\" + key;\n }\n });\n }\n\n return completeFieldName;\n}\n\nfunction argumentsObjectFromField(field, variables) {\n if (field.arguments && field.arguments.length) {\n var argObj_1 = {};\n field.arguments.forEach(function (_a) {\n var name = _a.name,\n value = _a.value;\n return valueToObjectRepresentation(argObj_1, name, value, variables);\n });\n return argObj_1;\n }\n\n return null;\n}\n\nfunction resultKeyNameFromField(field) {\n return field.alias ? field.alias.value : field.name.value;\n}\n\nfunction isField(selection) {\n return selection.kind === 'Field';\n}\n\nfunction isInlineFragment(selection) {\n return selection.kind === 'InlineFragment';\n}\n\nfunction isIdValue(idObject) {\n return idObject && idObject.type === 'id' && typeof idObject.generated === 'boolean';\n}\n\nfunction toIdValue(idConfig, generated) {\n if (generated === void 0) {\n generated = false;\n }\n\n return __assign({\n type: 'id',\n generated: generated\n }, typeof idConfig === 'string' ? {\n id: idConfig,\n typename: undefined\n } : idConfig);\n}\n\nfunction isJsonValue(jsonObject) {\n return jsonObject != null && _typeof(jsonObject) === 'object' && jsonObject.type === 'json';\n}\n\nfunction defaultValueFromVariable(node) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(18) : new InvariantError(\"Variable nodes are not supported by valueFromNode\");\n}\n\nfunction valueFromNode(node, onVariable) {\n if (onVariable === void 0) {\n onVariable = defaultValueFromVariable;\n }\n\n switch (node.kind) {\n case 'Variable':\n return onVariable(node);\n\n case 'NullValue':\n return null;\n\n case 'IntValue':\n return parseInt(node.value, 10);\n\n case 'FloatValue':\n return parseFloat(node.value);\n\n case 'ListValue':\n return node.values.map(function (v) {\n return valueFromNode(v, onVariable);\n });\n\n case 'ObjectValue':\n {\n var value = {};\n\n for (var _i = 0, _a = node.fields; _i < _a.length; _i++) {\n var field = _a[_i];\n value[field.name.value] = valueFromNode(field.value, onVariable);\n }\n\n return value;\n }\n\n default:\n return node.value;\n }\n}\n\nfunction getDirectiveInfoFromField(field, variables) {\n if (field.directives && field.directives.length) {\n var directiveObj_1 = {};\n field.directives.forEach(function (directive) {\n directiveObj_1[directive.name.value] = argumentsObjectFromField(directive, variables);\n });\n return directiveObj_1;\n }\n\n return null;\n}\n\nfunction shouldInclude(selection, variables) {\n if (variables === void 0) {\n variables = {};\n }\n\n return getInclusionDirectives(selection.directives).every(function (_a) {\n var directive = _a.directive,\n ifArgument = _a.ifArgument;\n var evaledValue = false;\n\n if (ifArgument.value.kind === 'Variable') {\n evaledValue = variables[ifArgument.value.name.value];\n process.env.NODE_ENV === \"production\" ? invariant(evaledValue !== void 0, 13) : invariant(evaledValue !== void 0, \"Invalid variable referenced in @\" + directive.name.value + \" directive.\");\n } else {\n evaledValue = ifArgument.value.value;\n }\n\n return directive.name.value === 'skip' ? !evaledValue : evaledValue;\n });\n}\n\nfunction getDirectiveNames(doc) {\n var names = [];\n visit(doc, {\n Directive: function Directive(node) {\n names.push(node.name.value);\n }\n });\n return names;\n}\n\nfunction hasDirectives(names, doc) {\n return getDirectiveNames(doc).some(function (name) {\n return names.indexOf(name) > -1;\n });\n}\n\nfunction hasClientExports(document) {\n return document && hasDirectives(['client'], document) && hasDirectives(['export'], document);\n}\n\nfunction isInclusionDirective(_a) {\n var value = _a.name.value;\n return value === 'skip' || value === 'include';\n}\n\nfunction getInclusionDirectives(directives) {\n return directives ? directives.filter(isInclusionDirective).map(function (directive) {\n var directiveArguments = directive.arguments;\n var directiveName = directive.name.value;\n process.env.NODE_ENV === \"production\" ? invariant(directiveArguments && directiveArguments.length === 1, 14) : invariant(directiveArguments && directiveArguments.length === 1, \"Incorrect number of arguments for the @\" + directiveName + \" directive.\");\n var ifArgument = directiveArguments[0];\n process.env.NODE_ENV === \"production\" ? invariant(ifArgument.name && ifArgument.name.value === 'if', 15) : invariant(ifArgument.name && ifArgument.name.value === 'if', \"Invalid argument for the @\" + directiveName + \" directive.\");\n var ifValue = ifArgument.value;\n process.env.NODE_ENV === \"production\" ? invariant(ifValue && (ifValue.kind === 'Variable' || ifValue.kind === 'BooleanValue'), 16) : invariant(ifValue && (ifValue.kind === 'Variable' || ifValue.kind === 'BooleanValue'), \"Argument for the @\" + directiveName + \" directive must be a variable or a boolean value.\");\n return {\n directive: directive,\n ifArgument: ifArgument\n };\n }) : [];\n}\n\nfunction getFragmentQueryDocument(document, fragmentName) {\n var actualFragmentName = fragmentName;\n var fragments = [];\n document.definitions.forEach(function (definition) {\n if (definition.kind === 'OperationDefinition') {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(11) : new InvariantError(\"Found a \" + definition.operation + \" operation\" + (definition.name ? \" named '\" + definition.name.value + \"'\" : '') + \". \" + 'No operations are allowed when using a fragment as a query. Only fragments are allowed.');\n }\n\n if (definition.kind === 'FragmentDefinition') {\n fragments.push(definition);\n }\n });\n\n if (typeof actualFragmentName === 'undefined') {\n process.env.NODE_ENV === \"production\" ? invariant(fragments.length === 1, 12) : invariant(fragments.length === 1, \"Found \" + fragments.length + \" fragments. `fragmentName` must be provided when there is not exactly 1 fragment.\");\n actualFragmentName = fragments[0].name.value;\n }\n\n var query = __assign(__assign({}, document), {\n definitions: __spreadArrays([{\n kind: 'OperationDefinition',\n operation: 'query',\n selectionSet: {\n kind: 'SelectionSet',\n selections: [{\n kind: 'FragmentSpread',\n name: {\n kind: 'Name',\n value: actualFragmentName\n }\n }]\n }\n }], document.definitions)\n });\n\n return query;\n}\n\nfunction assign(target) {\n var sources = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n sources[_i - 1] = arguments[_i];\n }\n\n sources.forEach(function (source) {\n if (typeof source === 'undefined' || source === null) {\n return;\n }\n\n Object.keys(source).forEach(function (key) {\n target[key] = source[key];\n });\n });\n return target;\n}\n\nfunction getMutationDefinition(doc) {\n checkDocument(doc);\n var mutationDef = doc.definitions.filter(function (definition) {\n return definition.kind === 'OperationDefinition' && definition.operation === 'mutation';\n })[0];\n process.env.NODE_ENV === \"production\" ? invariant(mutationDef, 1) : invariant(mutationDef, 'Must contain a mutation definition.');\n return mutationDef;\n}\n\nfunction checkDocument(doc) {\n process.env.NODE_ENV === \"production\" ? invariant(doc && doc.kind === 'Document', 2) : invariant(doc && doc.kind === 'Document', \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\");\n var operations = doc.definitions.filter(function (d) {\n return d.kind !== 'FragmentDefinition';\n }).map(function (definition) {\n if (definition.kind !== 'OperationDefinition') {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(3) : new InvariantError(\"Schema type definitions not allowed in queries. Found: \\\"\" + definition.kind + \"\\\"\");\n }\n\n return definition;\n });\n process.env.NODE_ENV === \"production\" ? invariant(operations.length <= 1, 4) : invariant(operations.length <= 1, \"Ambiguous GraphQL document: contains \" + operations.length + \" operations\");\n return doc;\n}\n\nfunction getOperationDefinition(doc) {\n checkDocument(doc);\n return doc.definitions.filter(function (definition) {\n return definition.kind === 'OperationDefinition';\n })[0];\n}\n\nfunction getOperationDefinitionOrDie(document) {\n var def = getOperationDefinition(document);\n process.env.NODE_ENV === \"production\" ? invariant(def, 5) : invariant(def, \"GraphQL document is missing an operation\");\n return def;\n}\n\nfunction getOperationName(doc) {\n return doc.definitions.filter(function (definition) {\n return definition.kind === 'OperationDefinition' && definition.name;\n }).map(function (x) {\n return x.name.value;\n })[0] || null;\n}\n\nfunction getFragmentDefinitions(doc) {\n return doc.definitions.filter(function (definition) {\n return definition.kind === 'FragmentDefinition';\n });\n}\n\nfunction getQueryDefinition(doc) {\n var queryDef = getOperationDefinition(doc);\n process.env.NODE_ENV === \"production\" ? invariant(queryDef && queryDef.operation === 'query', 6) : invariant(queryDef && queryDef.operation === 'query', 'Must contain a query definition.');\n return queryDef;\n}\n\nfunction getFragmentDefinition(doc) {\n process.env.NODE_ENV === \"production\" ? invariant(doc.kind === 'Document', 7) : invariant(doc.kind === 'Document', \"Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a \\\"gql\\\" tag? http://docs.apollostack.com/apollo-client/core.html#gql\");\n process.env.NODE_ENV === \"production\" ? invariant(doc.definitions.length <= 1, 8) : invariant(doc.definitions.length <= 1, 'Fragment must have exactly one definition.');\n var fragmentDef = doc.definitions[0];\n process.env.NODE_ENV === \"production\" ? invariant(fragmentDef.kind === 'FragmentDefinition', 9) : invariant(fragmentDef.kind === 'FragmentDefinition', 'Must be a fragment definition.');\n return fragmentDef;\n}\n\nfunction getMainDefinition(queryDoc) {\n checkDocument(queryDoc);\n var fragmentDefinition;\n\n for (var _i = 0, _a = queryDoc.definitions; _i < _a.length; _i++) {\n var definition = _a[_i];\n\n if (definition.kind === 'OperationDefinition') {\n var operation = definition.operation;\n\n if (operation === 'query' || operation === 'mutation' || operation === 'subscription') {\n return definition;\n }\n }\n\n if (definition.kind === 'FragmentDefinition' && !fragmentDefinition) {\n fragmentDefinition = definition;\n }\n }\n\n if (fragmentDefinition) {\n return fragmentDefinition;\n }\n\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(10) : new InvariantError('Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.');\n}\n\nfunction createFragmentMap(fragments) {\n if (fragments === void 0) {\n fragments = [];\n }\n\n var symTable = {};\n fragments.forEach(function (fragment) {\n symTable[fragment.name.value] = fragment;\n });\n return symTable;\n}\n\nfunction getDefaultValues(definition) {\n if (definition && definition.variableDefinitions && definition.variableDefinitions.length) {\n var defaultValues = definition.variableDefinitions.filter(function (_a) {\n var defaultValue = _a.defaultValue;\n return defaultValue;\n }).map(function (_a) {\n var variable = _a.variable,\n defaultValue = _a.defaultValue;\n var defaultValueObj = {};\n valueToObjectRepresentation(defaultValueObj, variable.name, defaultValue);\n return defaultValueObj;\n });\n return assign.apply(void 0, __spreadArrays([{}], defaultValues));\n }\n\n return {};\n}\n\nfunction variablesInOperation(operation) {\n var names = new Set();\n\n if (operation.variableDefinitions) {\n for (var _i = 0, _a = operation.variableDefinitions; _i < _a.length; _i++) {\n var definition = _a[_i];\n names.add(definition.variable.name.value);\n }\n }\n\n return names;\n}\n\nfunction filterInPlace(array, test, context) {\n var target = 0;\n array.forEach(function (elem, i) {\n if (test.call(this, elem, i, array)) {\n array[target++] = elem;\n }\n }, context);\n array.length = target;\n return array;\n}\n\nvar TYPENAME_FIELD = {\n kind: 'Field',\n name: {\n kind: 'Name',\n value: '__typename'\n }\n};\n\nfunction isEmpty(op, fragments) {\n return op.selectionSet.selections.every(function (selection) {\n return selection.kind === 'FragmentSpread' && isEmpty(fragments[selection.name.value], fragments);\n });\n}\n\nfunction nullIfDocIsEmpty(doc) {\n return isEmpty(getOperationDefinition(doc) || getFragmentDefinition(doc), createFragmentMap(getFragmentDefinitions(doc))) ? null : doc;\n}\n\nfunction getDirectiveMatcher(directives) {\n return function directiveMatcher(directive) {\n return directives.some(function (dir) {\n return dir.name && dir.name === directive.name.value || dir.test && dir.test(directive);\n });\n };\n}\n\nfunction removeDirectivesFromDocument(directives, doc) {\n var variablesInUse = Object.create(null);\n var variablesToRemove = [];\n var fragmentSpreadsInUse = Object.create(null);\n var fragmentSpreadsToRemove = [];\n var modifiedDoc = nullIfDocIsEmpty(visit(doc, {\n Variable: {\n enter: function enter(node, _key, parent) {\n if (parent.kind !== 'VariableDefinition') {\n variablesInUse[node.name.value] = true;\n }\n }\n },\n Field: {\n enter: function enter(node) {\n if (directives && node.directives) {\n var shouldRemoveField = directives.some(function (directive) {\n return directive.remove;\n });\n\n if (shouldRemoveField && node.directives && node.directives.some(getDirectiveMatcher(directives))) {\n if (node.arguments) {\n node.arguments.forEach(function (arg) {\n if (arg.value.kind === 'Variable') {\n variablesToRemove.push({\n name: arg.value.name.value\n });\n }\n });\n }\n\n if (node.selectionSet) {\n getAllFragmentSpreadsFromSelectionSet(node.selectionSet).forEach(function (frag) {\n fragmentSpreadsToRemove.push({\n name: frag.name.value\n });\n });\n }\n\n return null;\n }\n }\n }\n },\n FragmentSpread: {\n enter: function enter(node) {\n fragmentSpreadsInUse[node.name.value] = true;\n }\n },\n Directive: {\n enter: function enter(node) {\n if (getDirectiveMatcher(directives)(node)) {\n return null;\n }\n }\n }\n }));\n\n if (modifiedDoc && filterInPlace(variablesToRemove, function (v) {\n return !variablesInUse[v.name];\n }).length) {\n modifiedDoc = removeArgumentsFromDocument(variablesToRemove, modifiedDoc);\n }\n\n if (modifiedDoc && filterInPlace(fragmentSpreadsToRemove, function (fs) {\n return !fragmentSpreadsInUse[fs.name];\n }).length) {\n modifiedDoc = removeFragmentSpreadFromDocument(fragmentSpreadsToRemove, modifiedDoc);\n }\n\n return modifiedDoc;\n}\n\nfunction addTypenameToDocument(doc) {\n return visit(checkDocument(doc), {\n SelectionSet: {\n enter: function enter(node, _key, parent) {\n if (parent && parent.kind === 'OperationDefinition') {\n return;\n }\n\n var selections = node.selections;\n\n if (!selections) {\n return;\n }\n\n var skip = selections.some(function (selection) {\n return isField(selection) && (selection.name.value === '__typename' || selection.name.value.lastIndexOf('__', 0) === 0);\n });\n\n if (skip) {\n return;\n }\n\n var field = parent;\n\n if (isField(field) && field.directives && field.directives.some(function (d) {\n return d.name.value === 'export';\n })) {\n return;\n }\n\n return __assign(__assign({}, node), {\n selections: __spreadArrays(selections, [TYPENAME_FIELD])\n });\n }\n }\n });\n}\n\nvar connectionRemoveConfig = {\n test: function test(directive) {\n var willRemove = directive.name.value === 'connection';\n\n if (willRemove) {\n if (!directive.arguments || !directive.arguments.some(function (arg) {\n return arg.name.value === 'key';\n })) {\n process.env.NODE_ENV === \"production\" || invariant.warn('Removing an @connection directive even though it does not have a key. ' + 'You may want to use the key parameter to specify a store key.');\n }\n }\n\n return willRemove;\n }\n};\n\nfunction removeConnectionDirectiveFromDocument(doc) {\n return removeDirectivesFromDocument([connectionRemoveConfig], checkDocument(doc));\n}\n\nfunction hasDirectivesInSelectionSet(directives, selectionSet, nestedCheck) {\n if (nestedCheck === void 0) {\n nestedCheck = true;\n }\n\n return selectionSet && selectionSet.selections && selectionSet.selections.some(function (selection) {\n return hasDirectivesInSelection(directives, selection, nestedCheck);\n });\n}\n\nfunction hasDirectivesInSelection(directives, selection, nestedCheck) {\n if (nestedCheck === void 0) {\n nestedCheck = true;\n }\n\n if (!isField(selection)) {\n return true;\n }\n\n if (!selection.directives) {\n return false;\n }\n\n return selection.directives.some(getDirectiveMatcher(directives)) || nestedCheck && hasDirectivesInSelectionSet(directives, selection.selectionSet, nestedCheck);\n}\n\nfunction getDirectivesFromDocument(directives, doc) {\n checkDocument(doc);\n var parentPath;\n return nullIfDocIsEmpty(visit(doc, {\n SelectionSet: {\n enter: function enter(node, _key, _parent, path) {\n var currentPath = path.join('-');\n\n if (!parentPath || currentPath === parentPath || !currentPath.startsWith(parentPath)) {\n if (node.selections) {\n var selectionsWithDirectives = node.selections.filter(function (selection) {\n return hasDirectivesInSelection(directives, selection);\n });\n\n if (hasDirectivesInSelectionSet(directives, node, false)) {\n parentPath = currentPath;\n }\n\n return __assign(__assign({}, node), {\n selections: selectionsWithDirectives\n });\n } else {\n return null;\n }\n }\n }\n }\n }));\n}\n\nfunction getArgumentMatcher(config) {\n return function argumentMatcher(argument) {\n return config.some(function (aConfig) {\n return argument.value && argument.value.kind === 'Variable' && argument.value.name && (aConfig.name === argument.value.name.value || aConfig.test && aConfig.test(argument));\n });\n };\n}\n\nfunction removeArgumentsFromDocument(config, doc) {\n var argMatcher = getArgumentMatcher(config);\n return nullIfDocIsEmpty(visit(doc, {\n OperationDefinition: {\n enter: function enter(node) {\n return __assign(__assign({}, node), {\n variableDefinitions: node.variableDefinitions.filter(function (varDef) {\n return !config.some(function (arg) {\n return arg.name === varDef.variable.name.value;\n });\n })\n });\n }\n },\n Field: {\n enter: function enter(node) {\n var shouldRemoveField = config.some(function (argConfig) {\n return argConfig.remove;\n });\n\n if (shouldRemoveField) {\n var argMatchCount_1 = 0;\n node.arguments.forEach(function (arg) {\n if (argMatcher(arg)) {\n argMatchCount_1 += 1;\n }\n });\n\n if (argMatchCount_1 === 1) {\n return null;\n }\n }\n }\n },\n Argument: {\n enter: function enter(node) {\n if (argMatcher(node)) {\n return null;\n }\n }\n }\n }));\n}\n\nfunction removeFragmentSpreadFromDocument(config, doc) {\n function enter(node) {\n if (config.some(function (def) {\n return def.name === node.name.value;\n })) {\n return null;\n }\n }\n\n return nullIfDocIsEmpty(visit(doc, {\n FragmentSpread: {\n enter: enter\n },\n FragmentDefinition: {\n enter: enter\n }\n }));\n}\n\nfunction getAllFragmentSpreadsFromSelectionSet(selectionSet) {\n var allFragments = [];\n selectionSet.selections.forEach(function (selection) {\n if ((isField(selection) || isInlineFragment(selection)) && selection.selectionSet) {\n getAllFragmentSpreadsFromSelectionSet(selection.selectionSet).forEach(function (frag) {\n return allFragments.push(frag);\n });\n } else if (selection.kind === 'FragmentSpread') {\n allFragments.push(selection);\n }\n });\n return allFragments;\n}\n\nfunction buildQueryFromSelectionSet(document) {\n var definition = getMainDefinition(document);\n var definitionOperation = definition.operation;\n\n if (definitionOperation === 'query') {\n return document;\n }\n\n var modifiedDoc = visit(document, {\n OperationDefinition: {\n enter: function enter(node) {\n return __assign(__assign({}, node), {\n operation: 'query'\n });\n }\n }\n });\n return modifiedDoc;\n}\n\nfunction removeClientSetsFromDocument(document) {\n checkDocument(document);\n var modifiedDoc = removeDirectivesFromDocument([{\n test: function test(directive) {\n return directive.name.value === 'client';\n },\n remove: true\n }], document);\n\n if (modifiedDoc) {\n modifiedDoc = visit(modifiedDoc, {\n FragmentDefinition: {\n enter: function enter(node) {\n if (node.selectionSet) {\n var isTypenameOnly = node.selectionSet.selections.every(function (selection) {\n return isField(selection) && selection.name.value === '__typename';\n });\n\n if (isTypenameOnly) {\n return null;\n }\n }\n }\n }\n });\n }\n\n return modifiedDoc;\n}\n\nvar canUseWeakMap = typeof WeakMap === 'function' && !((typeof navigator === \"undefined\" ? \"undefined\" : _typeof(navigator)) === 'object' && navigator.product === 'ReactNative');\nvar toString = Object.prototype.toString;\n\nfunction cloneDeep(value) {\n return cloneDeepHelper(value, new Map());\n}\n\nfunction cloneDeepHelper(val, seen) {\n switch (toString.call(val)) {\n case \"[object Array]\":\n {\n if (seen.has(val)) return seen.get(val);\n var copy_1 = val.slice(0);\n seen.set(val, copy_1);\n copy_1.forEach(function (child, i) {\n copy_1[i] = cloneDeepHelper(child, seen);\n });\n return copy_1;\n }\n\n case \"[object Object]\":\n {\n if (seen.has(val)) return seen.get(val);\n var copy_2 = Object.create(Object.getPrototypeOf(val));\n seen.set(val, copy_2);\n Object.keys(val).forEach(function (key) {\n copy_2[key] = cloneDeepHelper(val[key], seen);\n });\n return copy_2;\n }\n\n default:\n return val;\n }\n}\n\nfunction getEnv() {\n if (typeof process !== 'undefined' && process.env.NODE_ENV) {\n return process.env.NODE_ENV;\n }\n\n return 'development';\n}\n\nfunction isEnv(env) {\n return getEnv() === env;\n}\n\nfunction isProduction() {\n return isEnv('production') === true;\n}\n\nfunction isDevelopment() {\n return isEnv('development') === true;\n}\n\nfunction isTest() {\n return isEnv('test') === true;\n}\n\nfunction tryFunctionOrLogError(f) {\n try {\n return f();\n } catch (e) {\n if (console.error) {\n console.error(e);\n }\n }\n}\n\nfunction graphQLResultHasError(result) {\n return result.errors && result.errors.length;\n}\n\nfunction deepFreeze(o) {\n Object.freeze(o);\n Object.getOwnPropertyNames(o).forEach(function (prop) {\n if (o[prop] !== null && (_typeof(o[prop]) === 'object' || typeof o[prop] === 'function') && !Object.isFrozen(o[prop])) {\n deepFreeze(o[prop]);\n }\n });\n return o;\n}\n\nfunction maybeDeepFreeze(obj) {\n if (isDevelopment() || isTest()) {\n var symbolIsPolyfilled = typeof Symbol === 'function' && typeof Symbol('') === 'string';\n\n if (!symbolIsPolyfilled) {\n return deepFreeze(obj);\n }\n }\n\n return obj;\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction mergeDeep() {\n var sources = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n\n return mergeDeepArray(sources);\n}\n\nfunction mergeDeepArray(sources) {\n var target = sources[0] || {};\n var count = sources.length;\n\n if (count > 1) {\n var pastCopies = [];\n target = shallowCopyForMerge(target, pastCopies);\n\n for (var i = 1; i < count; ++i) {\n target = mergeHelper(target, sources[i], pastCopies);\n }\n }\n\n return target;\n}\n\nfunction isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n}\n\nfunction mergeHelper(target, source, pastCopies) {\n if (isObject(source) && isObject(target)) {\n if (Object.isExtensible && !Object.isExtensible(target)) {\n target = shallowCopyForMerge(target, pastCopies);\n }\n\n Object.keys(source).forEach(function (sourceKey) {\n var sourceValue = source[sourceKey];\n\n if (hasOwnProperty.call(target, sourceKey)) {\n var targetValue = target[sourceKey];\n\n if (sourceValue !== targetValue) {\n target[sourceKey] = mergeHelper(shallowCopyForMerge(targetValue, pastCopies), sourceValue, pastCopies);\n }\n } else {\n target[sourceKey] = sourceValue;\n }\n });\n return target;\n }\n\n return source;\n}\n\nfunction shallowCopyForMerge(value, pastCopies) {\n if (value !== null && _typeof(value) === 'object' && pastCopies.indexOf(value) < 0) {\n if (Array.isArray(value)) {\n value = value.slice(0);\n } else {\n value = __assign({\n __proto__: Object.getPrototypeOf(value)\n }, value);\n }\n\n pastCopies.push(value);\n }\n\n return value;\n}\n\nvar haveWarned = Object.create({});\n\nfunction warnOnceInDevelopment(msg, type) {\n if (type === void 0) {\n type = 'warn';\n }\n\n if (!isProduction() && !haveWarned[msg]) {\n if (!isTest()) {\n haveWarned[msg] = true;\n }\n\n if (type === 'error') {\n console.error(msg);\n } else {\n console.warn(msg);\n }\n }\n}\n\nfunction stripSymbols(data) {\n return JSON.parse(JSON.stringify(data));\n}\n\nexport { addTypenameToDocument, argumentsObjectFromField, assign, buildQueryFromSelectionSet, canUseWeakMap, checkDocument, cloneDeep, createFragmentMap, getDefaultValues, getDirectiveInfoFromField, getDirectiveNames, getDirectivesFromDocument, getEnv, getFragmentDefinition, getFragmentDefinitions, getFragmentQueryDocument, getInclusionDirectives, getMainDefinition, getMutationDefinition, getOperationDefinition, getOperationDefinitionOrDie, getOperationName, getQueryDefinition, getStoreKeyName, graphQLResultHasError, hasClientExports, hasDirectives, isDevelopment, isEnv, isField, isIdValue, isInlineFragment, isJsonValue, isNumberValue, isProduction, isScalarValue, isTest, maybeDeepFreeze, mergeDeep, mergeDeepArray, removeArgumentsFromDocument, removeClientSetsFromDocument, removeConnectionDirectiveFromDocument, removeDirectivesFromDocument, removeFragmentSpreadFromDocument, resultKeyNameFromField, shouldInclude, storeKeyNameFromField, stripSymbols, toIdValue, tryFunctionOrLogError, valueFromNode, valueToObjectRepresentation, variablesInOperation, warnOnceInDevelopment };","module.exports = require(\"regenerator-runtime\");\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { __extends } from 'tslib';\nvar genericMessage = \"Invariant Violation\";\nvar _a = Object.setPrototypeOf,\n setPrototypeOf = _a === void 0 ? function (obj, proto) {\n obj.__proto__ = proto;\n return obj;\n} : _a;\n\nvar InvariantError =\n/** @class */\nfunction (_super) {\n __extends(InvariantError, _super);\n\n function InvariantError(message) {\n if (message === void 0) {\n message = genericMessage;\n }\n\n var _this = _super.call(this, typeof message === \"number\" ? genericMessage + \": \" + message + \" (see https://github.com/apollographql/invariant-packages)\" : message) || this;\n\n _this.framesToPop = 1;\n _this.name = genericMessage;\n setPrototypeOf(_this, InvariantError.prototype);\n return _this;\n }\n\n return InvariantError;\n}(Error);\n\nfunction invariant(condition, message) {\n if (!condition) {\n throw new InvariantError(message);\n }\n}\n\nfunction wrapConsoleMethod(method) {\n return function () {\n return console[method].apply(console, arguments);\n };\n}\n\n(function (invariant) {\n invariant.warn = wrapConsoleMethod(\"warn\");\n invariant.error = wrapConsoleMethod(\"error\");\n})(invariant || (invariant = {})); // Code that uses ts-invariant with rollup-plugin-invariant may want to\n// import this process stub to avoid errors evaluating process.env.NODE_ENV.\n// However, because most ESM-to-CJS compilers will rewrite the process import\n// as tsInvariant.process, which prevents proper replacement by minifiers, we\n// also attempt to define the stub globally when it is not already defined.\n\n\nvar processStub = {\n env: {}\n};\n\nif ((typeof process === \"undefined\" ? \"undefined\" : _typeof(process)) === \"object\") {\n processStub = process;\n} else try {\n // Using Function to evaluate this assignment in global scope also escapes\n // the strict mode of the current module, thereby allowing the assignment.\n // Inspired by https://github.com/facebook/regenerator/pull/369.\n Function(\"stub\", \"process = stub\")(processStub);\n} catch (atLeastWeTried) {// The assignment can fail if a Content Security Policy heavy-handedly\n // forbids Function usage. In those environments, developers should take\n // extra care to replace process.env.NODE_ENV in their production builds,\n // or define an appropriate global.process polyfill.\n}\n\nvar invariant$1 = invariant;\nexport default invariant$1;\nexport { InvariantError, invariant, processStub as process };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport default function toDate(argument) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}","import _curry1 from './_curry1.js';\nimport _isPlaceholder from './_isPlaceholder.js';\n/**\n * Optimized internal two-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry2(fn) {\n return function f2(a, b) {\n switch (arguments.length) {\n case 0:\n return f2;\n\n case 1:\n return _isPlaceholder(a) ? f2 : _curry1(function (_b) {\n return fn(a, _b);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f2 : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b);\n }) : fn(a, b);\n }\n };\n}","/**\n * The set of allowed kind values for AST nodes.\n */\nvar Kind;\n\n(function (Kind) {\n Kind['NAME'] = 'Name';\n Kind['DOCUMENT'] = 'Document';\n Kind['OPERATION_DEFINITION'] = 'OperationDefinition';\n Kind['VARIABLE_DEFINITION'] = 'VariableDefinition';\n Kind['SELECTION_SET'] = 'SelectionSet';\n Kind['FIELD'] = 'Field';\n Kind['ARGUMENT'] = 'Argument';\n Kind['FRAGMENT_SPREAD'] = 'FragmentSpread';\n Kind['INLINE_FRAGMENT'] = 'InlineFragment';\n Kind['FRAGMENT_DEFINITION'] = 'FragmentDefinition';\n Kind['VARIABLE'] = 'Variable';\n Kind['INT'] = 'IntValue';\n Kind['FLOAT'] = 'FloatValue';\n Kind['STRING'] = 'StringValue';\n Kind['BOOLEAN'] = 'BooleanValue';\n Kind['NULL'] = 'NullValue';\n Kind['ENUM'] = 'EnumValue';\n Kind['LIST'] = 'ListValue';\n Kind['OBJECT'] = 'ObjectValue';\n Kind['OBJECT_FIELD'] = 'ObjectField';\n Kind['DIRECTIVE'] = 'Directive';\n Kind['NAMED_TYPE'] = 'NamedType';\n Kind['LIST_TYPE'] = 'ListType';\n Kind['NON_NULL_TYPE'] = 'NonNullType';\n Kind['SCHEMA_DEFINITION'] = 'SchemaDefinition';\n Kind['OPERATION_TYPE_DEFINITION'] = 'OperationTypeDefinition';\n Kind['SCALAR_TYPE_DEFINITION'] = 'ScalarTypeDefinition';\n Kind['OBJECT_TYPE_DEFINITION'] = 'ObjectTypeDefinition';\n Kind['FIELD_DEFINITION'] = 'FieldDefinition';\n Kind['INPUT_VALUE_DEFINITION'] = 'InputValueDefinition';\n Kind['INTERFACE_TYPE_DEFINITION'] = 'InterfaceTypeDefinition';\n Kind['UNION_TYPE_DEFINITION'] = 'UnionTypeDefinition';\n Kind['ENUM_TYPE_DEFINITION'] = 'EnumTypeDefinition';\n Kind['ENUM_VALUE_DEFINITION'] = 'EnumValueDefinition';\n Kind['INPUT_OBJECT_TYPE_DEFINITION'] = 'InputObjectTypeDefinition';\n Kind['DIRECTIVE_DEFINITION'] = 'DirectiveDefinition';\n Kind['SCHEMA_EXTENSION'] = 'SchemaExtension';\n Kind['SCALAR_TYPE_EXTENSION'] = 'ScalarTypeExtension';\n Kind['OBJECT_TYPE_EXTENSION'] = 'ObjectTypeExtension';\n Kind['INTERFACE_TYPE_EXTENSION'] = 'InterfaceTypeExtension';\n Kind['UNION_TYPE_EXTENSION'] = 'UnionTypeExtension';\n Kind['ENUM_TYPE_EXTENSION'] = 'EnumTypeExtension';\n Kind['INPUT_OBJECT_TYPE_EXTENSION'] = 'InputObjectTypeExtension';\n})(Kind || (Kind = {}));\n\nexport { Kind };\n/**\n * The enum type representing the possible kind values of AST nodes.\n *\n * @deprecated Please use `Kind`. Will be remove in v17.\n */","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* istanbul ignore next */\nimport Vue from 'vue';\nvar isServer = Vue.prototype.$isServer;\nvar SPECIAL_CHARS_REGEXP = /([\\:\\-\\_]+(.))/g;\nvar MOZ_HACK_REGEXP = /^moz([A-Z])/;\nvar ieVersion = isServer ? 0 : Number(document.documentMode);\n/* istanbul ignore next */\n\nvar trim = function trim(string) {\n return (string || '').replace(/^[\\s\\uFEFF]+|[\\s\\uFEFF]+$/g, '');\n};\n/* istanbul ignore next */\n\n\nvar camelCase = function camelCase(name) {\n return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {\n return offset ? letter.toUpperCase() : letter;\n }).replace(MOZ_HACK_REGEXP, 'Moz$1');\n};\n/* istanbul ignore next */\n\n\nexport var on = function () {\n if (!isServer && document.addEventListener) {\n return function (element, event, handler) {\n if (element && event && handler) {\n element.addEventListener(event, handler, false);\n }\n };\n } else {\n return function (element, event, handler) {\n if (element && event && handler) {\n element.attachEvent('on' + event, handler);\n }\n };\n }\n}();\n/* istanbul ignore next */\n\nexport var off = function () {\n if (!isServer && document.removeEventListener) {\n return function (element, event, handler) {\n if (element && event) {\n element.removeEventListener(event, handler, false);\n }\n };\n } else {\n return function (element, event, handler) {\n if (element && event) {\n element.detachEvent('on' + event, handler);\n }\n };\n }\n}();\n/* istanbul ignore next */\n\nexport var once = function once(el, event, fn) {\n var listener = function listener() {\n if (fn) {\n fn.apply(this, arguments);\n }\n\n off(el, event, listener);\n };\n\n on(el, event, listener);\n};\n/* istanbul ignore next */\n\nexport function hasClass(el, cls) {\n if (!el || !cls) return false;\n if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');\n\n if (el.classList) {\n return el.classList.contains(cls);\n } else {\n return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;\n }\n}\n;\n/* istanbul ignore next */\n\nexport function addClass(el, cls) {\n if (!el) return;\n var curClass = el.className;\n var classes = (cls || '').split(' ');\n\n for (var i = 0, j = classes.length; i < j; i++) {\n var clsName = classes[i];\n if (!clsName) continue;\n\n if (el.classList) {\n el.classList.add(clsName);\n } else if (!hasClass(el, clsName)) {\n curClass += ' ' + clsName;\n }\n }\n\n if (!el.classList) {\n el.setAttribute('class', curClass);\n }\n}\n;\n/* istanbul ignore next */\n\nexport function removeClass(el, cls) {\n if (!el || !cls) return;\n var classes = cls.split(' ');\n var curClass = ' ' + el.className + ' ';\n\n for (var i = 0, j = classes.length; i < j; i++) {\n var clsName = classes[i];\n if (!clsName) continue;\n\n if (el.classList) {\n el.classList.remove(clsName);\n } else if (hasClass(el, clsName)) {\n curClass = curClass.replace(' ' + clsName + ' ', ' ');\n }\n }\n\n if (!el.classList) {\n el.setAttribute('class', trim(curClass));\n }\n}\n;\n/* istanbul ignore next */\n\nexport var getStyle = ieVersion < 9 ? function (element, styleName) {\n if (isServer) return;\n if (!element || !styleName) return null;\n styleName = camelCase(styleName);\n\n if (styleName === 'float') {\n styleName = 'styleFloat';\n }\n\n try {\n switch (styleName) {\n case 'opacity':\n try {\n return element.filters.item('alpha').opacity / 100;\n } catch (e) {\n return 1.0;\n }\n\n default:\n return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null;\n }\n } catch (e) {\n return element.style[styleName];\n }\n} : function (element, styleName) {\n if (isServer) return;\n if (!element || !styleName) return null;\n styleName = camelCase(styleName);\n\n if (styleName === 'float') {\n styleName = 'cssFloat';\n }\n\n try {\n var computed = document.defaultView.getComputedStyle(element, '');\n return element.style[styleName] || computed ? computed[styleName] : null;\n } catch (e) {\n return element.style[styleName];\n }\n};\n/* istanbul ignore next */\n\nexport function setStyle(element, styleName, value) {\n if (!element || !styleName) return;\n\n if (_typeof(styleName) === 'object') {\n for (var prop in styleName) {\n if (styleName.hasOwnProperty(prop)) {\n setStyle(element, prop, styleName[prop]);\n }\n }\n } else {\n styleName = camelCase(styleName);\n\n if (styleName === 'opacity' && ieVersion < 9) {\n element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')';\n } else {\n element.style[styleName] = value;\n }\n }\n}\n;\nexport var isScroll = function isScroll(el, vertical) {\n if (isServer) return;\n var determinedDirection = vertical !== null && vertical !== undefined;\n var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');\n return overflow.match(/(scroll|auto|overlay)/);\n};\nexport var getScrollContainer = function getScrollContainer(el, vertical) {\n if (isServer) return;\n var parent = el;\n\n while (parent) {\n if ([window, document, document.documentElement].includes(parent)) {\n return window;\n }\n\n if (isScroll(parent, vertical)) {\n return parent;\n }\n\n parent = parent.parentNode;\n }\n\n return parent;\n};\nexport var isInContainer = function isInContainer(el, container) {\n if (isServer || !el || !container) return false;\n var elRect = el.getBoundingClientRect();\n var containerRect;\n\n if ([window, document, document.documentElement, null, undefined].includes(container)) {\n containerRect = {\n top: 0,\n right: window.innerWidth,\n bottom: window.innerHeight,\n left: 0\n };\n } else {\n containerRect = container.getBoundingClientRect();\n }\n\n return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right;\n};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/** Internal global with common properties and Sentry extensions */\n// The code below for 'isGlobalObj' and 'GLOBAL_OBJ' was copied from core-js before modification\n// https://github.com/zloirock/core-js/blob/1b944df55282cdc99c90db5f49eb0b6eda2cc0a3/packages/core-js/internals/global.js\n// core-js has the following licence:\n//\n// Copyright (c) 2014-2022 Denis Pushkarev\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n\n/** Returns 'obj' if it's the global object, otherwise returns undefined */\nfunction isGlobalObj(obj) {\n return obj && obj.Math == Math ? obj : undefined;\n}\n/** Get's the global object for the current JavaScript runtime */\n\n\nvar GLOBAL_OBJ = (typeof globalThis === \"undefined\" ? \"undefined\" : _typeof(globalThis)) == 'object' && isGlobalObj(globalThis) || // eslint-disable-next-line no-restricted-globals\n(typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) == 'object' && isGlobalObj(window) || (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) == 'object' && isGlobalObj(self) || (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) == 'object' && isGlobalObj(global) || function () {\n return this;\n}() || {};\n/**\n * @deprecated Use GLOBAL_OBJ instead or WINDOW from @sentry/browser. This will be removed in v8\n */\n\n\nfunction getGlobalObject() {\n return GLOBAL_OBJ;\n}\n/**\n * Returns a global singleton contained in the global `__SENTRY__` object.\n *\n * If the singleton doesn't already exist in `__SENTRY__`, it will be created using the given factory\n * function and added to the `__SENTRY__` object.\n *\n * @param name name of the global singleton on __SENTRY__\n * @param creator creator Factory function to create the singleton if it doesn't already exist on `__SENTRY__`\n * @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `GLOBAL_OBJ`'s return value\n * @returns the singleton\n */\n\n\nfunction getGlobalSingleton(name, creator, obj) {\n var gbl = obj || GLOBAL_OBJ;\n\n var __SENTRY__ = gbl.__SENTRY__ = gbl.__SENTRY__ || {};\n\n var singleton = __SENTRY__[name] || (__SENTRY__[name] = creator());\n return singleton;\n}\n\nexport { GLOBAL_OBJ, getGlobalObject, getGlobalSingleton };","function _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof2(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 46);\n /******/\n}(\n/************************************************************************/\n\n/******/\n[\n/* 0 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/date-util\");\n /***/\n},\n/* 1 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/dom\");\n /***/\n},\n/* 2 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n},\n/* 3 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n},\n/* 4 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/mixins/locale\");\n /***/\n},\n/* 5 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/vue-popper\");\n /***/\n},\n/* 6 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"vue\");\n /***/\n},\n/* 7 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/merge\");\n /***/\n},\n/* 8 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/input\");\n /***/\n},\n/* 9 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/mixins/migrating\");\n /***/\n},\n/* 10 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/clickoutside\");\n /***/\n},\n/* 11 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/popup\");\n /***/\n},\n/* 12 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/locale\");\n /***/\n},\n/* 13 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/button\");\n /***/\n},\n/* 14 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/checkbox\");\n /***/\n},\n/* 15 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/resize-event\");\n /***/\n},\n/* 16 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/types\");\n /***/\n},\n/* 17 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"throttle-debounce/debounce\");\n /***/\n},\n/* 18 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/scrollbar\");\n /***/\n},\n/* 19 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/shared\");\n /***/\n},\n/* 20 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/date\");\n /***/\n},\n/* 21 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/transitions/collapse-transition\");\n /***/\n},\n/* 22 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/vdom\");\n /***/\n},\n/* 23 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/mixins/focus\");\n /***/\n},\n/* 24 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"babel-helper-vue-jsx-merge-props\");\n /***/\n},\n/* 25 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"throttle-debounce/throttle\");\n /***/\n},\n/* 26 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/tooltip\");\n /***/\n},\n/* 27 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/scroll-into-view\");\n /***/\n},\n/* 28 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/lodash\");\n /***/\n},\n/* 29 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/button-group\");\n /***/\n},\n/* 30 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/tag\");\n /***/\n},\n/* 31 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/scrollbar-width\");\n /***/\n},\n/* 32 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/checkbox-group\");\n /***/\n},\n/* 33 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/after-leave\");\n /***/\n},\n/* 34 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/progress\");\n /***/\n},\n/* 35 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/aria-utils\");\n /***/\n},\n/* 36 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"throttle-debounce\");\n /***/\n},\n/* 37 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/select\");\n /***/\n},\n/* 38 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/option\");\n /***/\n},\n/* 39 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"normalize-wheel\");\n /***/\n},\n/* 40 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/utils/aria-dialog\");\n /***/\n},\n/* 41 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"async-validator\");\n /***/\n},\n/* 42 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/input-number\");\n /***/\n},\n/* 43 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/cascader-panel\");\n /***/\n},\n/* 44 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/radio\");\n /***/\n},\n/* 45 */\n\n/***/\nfunction (module, exports) {\n module.exports = require(\"element-ui/lib/popover\");\n /***/\n},\n/* 46 */\n\n/***/\nfunction (module, exports, __webpack_require__) {\n module.exports = __webpack_require__(47);\n /***/\n},\n/* 47 */\n\n/***/\nfunction (module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/pager.vue?vue&type=template&id=7274f267&\n\n\n var pagervue_type_template_id_7274f267_render = function pagervue_type_template_id_7274f267_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"ul\", {\n staticClass: \"el-pager\",\n on: {\n click: _vm.onPagerClick\n }\n }, [_vm.pageCount > 0 ? _c(\"li\", {\n staticClass: \"number\",\n \"class\": {\n active: _vm.currentPage === 1,\n disabled: _vm.disabled\n }\n }, [_vm._v(\"1\")]) : _vm._e(), _vm.showPrevMore ? _c(\"li\", {\n staticClass: \"el-icon more btn-quickprev\",\n \"class\": [_vm.quickprevIconClass, {\n disabled: _vm.disabled\n }],\n on: {\n mouseenter: function mouseenter($event) {\n _vm.onMouseenter(\"left\");\n },\n mouseleave: function mouseleave($event) {\n _vm.quickprevIconClass = \"el-icon-more\";\n }\n }\n }) : _vm._e(), _vm._l(_vm.pagers, function (pager) {\n return _c(\"li\", {\n key: pager,\n staticClass: \"number\",\n \"class\": {\n active: _vm.currentPage === pager,\n disabled: _vm.disabled\n }\n }, [_vm._v(_vm._s(pager))]);\n }), _vm.showNextMore ? _c(\"li\", {\n staticClass: \"el-icon more btn-quicknext\",\n \"class\": [_vm.quicknextIconClass, {\n disabled: _vm.disabled\n }],\n on: {\n mouseenter: function mouseenter($event) {\n _vm.onMouseenter(\"right\");\n },\n mouseleave: function mouseleave($event) {\n _vm.quicknextIconClass = \"el-icon-more\";\n }\n }\n }) : _vm._e(), _vm.pageCount > 1 ? _c(\"li\", {\n staticClass: \"number\",\n \"class\": {\n active: _vm.currentPage === _vm.pageCount,\n disabled: _vm.disabled\n }\n }, [_vm._v(_vm._s(_vm.pageCount))]) : _vm._e()], 2);\n };\n\n var staticRenderFns = [];\n pagervue_type_template_id_7274f267_render._withStripped = true; // CONCATENATED MODULE: ./packages/pagination/src/pager.vue?vue&type=template&id=7274f267&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/pager.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var pagervue_type_script_lang_js_ = {\n name: 'ElPager',\n props: {\n currentPage: Number,\n pageCount: Number,\n pagerCount: Number,\n disabled: Boolean\n },\n watch: {\n showPrevMore: function showPrevMore(val) {\n if (!val) this.quickprevIconClass = 'el-icon-more';\n },\n showNextMore: function showNextMore(val) {\n if (!val) this.quicknextIconClass = 'el-icon-more';\n }\n },\n methods: {\n onPagerClick: function onPagerClick(event) {\n var target = event.target;\n\n if (target.tagName === 'UL' || this.disabled) {\n return;\n }\n\n var newPage = Number(event.target.textContent);\n var pageCount = this.pageCount;\n var currentPage = this.currentPage;\n var pagerCountOffset = this.pagerCount - 2;\n\n if (target.className.indexOf('more') !== -1) {\n if (target.className.indexOf('quickprev') !== -1) {\n newPage = currentPage - pagerCountOffset;\n } else if (target.className.indexOf('quicknext') !== -1) {\n newPage = currentPage + pagerCountOffset;\n }\n }\n /* istanbul ignore if */\n\n\n if (!isNaN(newPage)) {\n if (newPage < 1) {\n newPage = 1;\n }\n\n if (newPage > pageCount) {\n newPage = pageCount;\n }\n }\n\n if (newPage !== currentPage) {\n this.$emit('change', newPage);\n }\n },\n onMouseenter: function onMouseenter(direction) {\n if (this.disabled) return;\n\n if (direction === 'left') {\n this.quickprevIconClass = 'el-icon-d-arrow-left';\n } else {\n this.quicknextIconClass = 'el-icon-d-arrow-right';\n }\n }\n },\n computed: {\n pagers: function pagers() {\n var pagerCount = this.pagerCount;\n var halfPagerCount = (pagerCount - 1) / 2;\n var currentPage = Number(this.currentPage);\n var pageCount = Number(this.pageCount);\n var showPrevMore = false;\n var showNextMore = false;\n\n if (pageCount > pagerCount) {\n if (currentPage > pagerCount - halfPagerCount) {\n showPrevMore = true;\n }\n\n if (currentPage < pageCount - halfPagerCount) {\n showNextMore = true;\n }\n }\n\n var array = [];\n\n if (showPrevMore && !showNextMore) {\n var startPage = pageCount - (pagerCount - 2);\n\n for (var i = startPage; i < pageCount; i++) {\n array.push(i);\n }\n } else if (!showPrevMore && showNextMore) {\n for (var _i = 2; _i < pagerCount; _i++) {\n array.push(_i);\n }\n } else if (showPrevMore && showNextMore) {\n var offset = Math.floor(pagerCount / 2) - 1;\n\n for (var _i2 = currentPage - offset; _i2 <= currentPage + offset; _i2++) {\n array.push(_i2);\n }\n } else {\n for (var _i3 = 2; _i3 < pageCount; _i3++) {\n array.push(_i3);\n }\n }\n\n this.showPrevMore = showPrevMore;\n this.showNextMore = showNextMore;\n return array;\n }\n },\n data: function data() {\n return {\n current: null,\n showPrevMore: false,\n showNextMore: false,\n quicknextIconClass: 'el-icon-more',\n quickprevIconClass: 'el-icon-more'\n };\n }\n }; // CONCATENATED MODULE: ./packages/pagination/src/pager.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_pagervue_type_script_lang_js_ = pagervue_type_script_lang_js_; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n } // CONCATENATED MODULE: ./packages/pagination/src/pager.vue\n\n /* normalize component */\n\n\n var component = normalizeComponent(src_pagervue_type_script_lang_js_, pagervue_type_template_id_7274f267_render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/pagination/src/pager.vue\";\n /* harmony default export */\n\n var pager = component.exports; // EXTERNAL MODULE: external \"element-ui/lib/select\"\n\n var select_ = __webpack_require__(37);\n\n var select_default =\n /*#__PURE__*/\n __webpack_require__.n(select_); // EXTERNAL MODULE: external \"element-ui/lib/option\"\n\n\n var option_ = __webpack_require__(38);\n\n var option_default =\n /*#__PURE__*/\n __webpack_require__.n(option_); // EXTERNAL MODULE: external \"element-ui/lib/input\"\n\n\n var input_ = __webpack_require__(8);\n\n var input_default =\n /*#__PURE__*/\n __webpack_require__.n(input_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/locale\"\n\n\n var locale_ = __webpack_require__(4);\n\n var locale_default =\n /*#__PURE__*/\n __webpack_require__.n(locale_); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(2); // CONCATENATED MODULE: ./packages/pagination/src/pagination.js\n\n /* harmony default export */\n\n\n var pagination = {\n name: 'ElPagination',\n props: {\n pageSize: {\n type: Number,\n \"default\": 10\n },\n small: Boolean,\n total: Number,\n pageCount: Number,\n pagerCount: {\n type: Number,\n validator: function validator(value) {\n return (value | 0) === value && value > 4 && value < 22 && value % 2 === 1;\n },\n \"default\": 7\n },\n currentPage: {\n type: Number,\n \"default\": 1\n },\n layout: {\n \"default\": 'prev, pager, next, jumper, ->, total'\n },\n pageSizes: {\n type: Array,\n \"default\": function _default() {\n return [10, 20, 30, 40, 50, 100];\n }\n },\n popperClass: String,\n prevText: String,\n nextText: String,\n background: Boolean,\n disabled: Boolean,\n hideOnSinglePage: Boolean\n },\n data: function data() {\n return {\n internalCurrentPage: 1,\n internalPageSize: 0,\n lastEmittedPage: -1,\n userChangePageSize: false\n };\n },\n render: function render(h) {\n var layout = this.layout;\n if (!layout) return null;\n if (this.hideOnSinglePage && (!this.internalPageCount || this.internalPageCount === 1)) return null;\n var template = h('div', {\n 'class': ['el-pagination', {\n 'is-background': this.background,\n 'el-pagination--small': this.small\n }]\n });\n var TEMPLATE_MAP = {\n prev: h('prev'),\n jumper: h('jumper'),\n pager: h('pager', {\n attrs: {\n currentPage: this.internalCurrentPage,\n pageCount: this.internalPageCount,\n pagerCount: this.pagerCount,\n disabled: this.disabled\n },\n on: {\n 'change': this.handleCurrentChange\n }\n }),\n next: h('next'),\n sizes: h('sizes', {\n attrs: {\n pageSizes: this.pageSizes\n }\n }),\n slot: h('slot', [this.$slots[\"default\"] ? this.$slots[\"default\"] : '']),\n total: h('total')\n };\n var components = layout.split(',').map(function (item) {\n return item.trim();\n });\n var rightWrapper = h('div', {\n 'class': 'el-pagination__rightwrapper'\n });\n var haveRightWrapper = false;\n template.children = template.children || [];\n rightWrapper.children = rightWrapper.children || [];\n components.forEach(function (compo) {\n if (compo === '->') {\n haveRightWrapper = true;\n return;\n }\n\n if (!haveRightWrapper) {\n template.children.push(TEMPLATE_MAP[compo]);\n } else {\n rightWrapper.children.push(TEMPLATE_MAP[compo]);\n }\n });\n\n if (haveRightWrapper) {\n template.children.unshift(rightWrapper);\n }\n\n return template;\n },\n components: {\n Prev: {\n render: function render(h) {\n return h('button', {\n attrs: {\n type: 'button',\n disabled: this.$parent.disabled || this.$parent.internalCurrentPage <= 1\n },\n 'class': 'btn-prev',\n on: {\n 'click': this.$parent.prev\n }\n }, [this.$parent.prevText ? h('span', [this.$parent.prevText]) : h('i', {\n 'class': 'el-icon el-icon-arrow-left'\n })]);\n }\n },\n Next: {\n render: function render(h) {\n return h('button', {\n attrs: {\n type: 'button',\n disabled: this.$parent.disabled || this.$parent.internalCurrentPage === this.$parent.internalPageCount || this.$parent.internalPageCount === 0\n },\n 'class': 'btn-next',\n on: {\n 'click': this.$parent.next\n }\n }, [this.$parent.nextText ? h('span', [this.$parent.nextText]) : h('i', {\n 'class': 'el-icon el-icon-arrow-right'\n })]);\n }\n },\n Sizes: {\n mixins: [locale_default.a],\n props: {\n pageSizes: Array\n },\n watch: {\n pageSizes: {\n immediate: true,\n handler: function handler(newVal, oldVal) {\n if (Object(util_[\"valueEquals\"])(newVal, oldVal)) return;\n\n if (Array.isArray(newVal)) {\n this.$parent.internalPageSize = newVal.indexOf(this.$parent.pageSize) > -1 ? this.$parent.pageSize : this.pageSizes[0];\n }\n }\n }\n },\n render: function render(h) {\n var _this = this;\n\n return h('span', {\n 'class': 'el-pagination__sizes'\n }, [h('el-select', {\n attrs: {\n value: this.$parent.internalPageSize,\n popperClass: this.$parent.popperClass || '',\n size: 'mini',\n disabled: this.$parent.disabled\n },\n on: {\n 'input': this.handleChange\n }\n }, [this.pageSizes.map(function (item) {\n return h('el-option', {\n attrs: {\n value: item,\n label: item + _this.t('el.pagination.pagesize')\n }\n });\n })])]);\n },\n components: {\n ElSelect: select_default.a,\n ElOption: option_default.a\n },\n methods: {\n handleChange: function handleChange(val) {\n if (val !== this.$parent.internalPageSize) {\n this.$parent.internalPageSize = val = parseInt(val, 10);\n this.$parent.userChangePageSize = true;\n this.$parent.$emit('update:pageSize', val);\n this.$parent.$emit('size-change', val);\n }\n }\n }\n },\n Jumper: {\n mixins: [locale_default.a],\n components: {\n ElInput: input_default.a\n },\n data: function data() {\n return {\n userInput: null\n };\n },\n watch: {\n '$parent.internalCurrentPage': function $parentInternalCurrentPage() {\n this.userInput = null;\n }\n },\n methods: {\n handleKeyup: function handleKeyup(_ref) {\n var keyCode = _ref.keyCode,\n target = _ref.target; // Chrome, Safari, Firefox triggers change event on Enter\n // Hack for IE: https://github.com/ElemeFE/element/issues/11710\n // Drop this method when we no longer supports IE\n\n if (keyCode === 13) {\n this.handleChange(target.value);\n }\n },\n handleInput: function handleInput(value) {\n this.userInput = value;\n },\n handleChange: function handleChange(value) {\n this.$parent.internalCurrentPage = this.$parent.getValidCurrentPage(value);\n this.$parent.emitChange();\n this.userInput = null;\n }\n },\n render: function render(h) {\n return h('span', {\n 'class': 'el-pagination__jump'\n }, [this.t('el.pagination.goto'), h('el-input', {\n 'class': 'el-pagination__editor is-in-pagination',\n attrs: {\n min: 1,\n max: this.$parent.internalPageCount,\n value: this.userInput !== null ? this.userInput : this.$parent.internalCurrentPage,\n type: 'number',\n disabled: this.$parent.disabled\n },\n nativeOn: {\n 'keyup': this.handleKeyup\n },\n on: {\n 'input': this.handleInput,\n 'change': this.handleChange\n }\n }), this.t('el.pagination.pageClassifier')]);\n }\n },\n Total: {\n mixins: [locale_default.a],\n render: function render(h) {\n return typeof this.$parent.total === 'number' ? h('span', {\n 'class': 'el-pagination__total'\n }, [this.t('el.pagination.total', {\n total: this.$parent.total\n })]) : '';\n }\n },\n Pager: pager\n },\n methods: {\n handleCurrentChange: function handleCurrentChange(val) {\n this.internalCurrentPage = this.getValidCurrentPage(val);\n this.userChangePageSize = true;\n this.emitChange();\n },\n prev: function prev() {\n if (this.disabled) return;\n var newVal = this.internalCurrentPage - 1;\n this.internalCurrentPage = this.getValidCurrentPage(newVal);\n this.$emit('prev-click', this.internalCurrentPage);\n this.emitChange();\n },\n next: function next() {\n if (this.disabled) return;\n var newVal = this.internalCurrentPage + 1;\n this.internalCurrentPage = this.getValidCurrentPage(newVal);\n this.$emit('next-click', this.internalCurrentPage);\n this.emitChange();\n },\n getValidCurrentPage: function getValidCurrentPage(value) {\n value = parseInt(value, 10);\n var havePageCount = typeof this.internalPageCount === 'number';\n var resetValue = void 0;\n\n if (!havePageCount) {\n if (isNaN(value) || value < 1) resetValue = 1;\n } else {\n if (value < 1) {\n resetValue = 1;\n } else if (value > this.internalPageCount) {\n resetValue = this.internalPageCount;\n }\n }\n\n if (resetValue === undefined && isNaN(value)) {\n resetValue = 1;\n } else if (resetValue === 0) {\n resetValue = 1;\n }\n\n return resetValue === undefined ? value : resetValue;\n },\n emitChange: function emitChange() {\n var _this2 = this;\n\n this.$nextTick(function () {\n if (_this2.internalCurrentPage !== _this2.lastEmittedPage || _this2.userChangePageSize) {\n _this2.$emit('current-change', _this2.internalCurrentPage);\n\n _this2.lastEmittedPage = _this2.internalCurrentPage;\n _this2.userChangePageSize = false;\n }\n });\n }\n },\n computed: {\n internalPageCount: function internalPageCount() {\n if (typeof this.total === 'number') {\n return Math.max(1, Math.ceil(this.total / this.internalPageSize));\n } else if (typeof this.pageCount === 'number') {\n return Math.max(1, this.pageCount);\n }\n\n return null;\n }\n },\n watch: {\n currentPage: {\n immediate: true,\n handler: function handler(val) {\n this.internalCurrentPage = this.getValidCurrentPage(val);\n }\n },\n pageSize: {\n immediate: true,\n handler: function handler(val) {\n this.internalPageSize = isNaN(val) ? 10 : val;\n }\n },\n internalCurrentPage: {\n immediate: true,\n handler: function handler(newVal) {\n this.$emit('update:currentPage', newVal);\n this.lastEmittedPage = -1;\n }\n },\n internalPageCount: function internalPageCount(newVal) {\n /* istanbul ignore if */\n var oldPage = this.internalCurrentPage;\n\n if (newVal > 0 && oldPage === 0) {\n this.internalCurrentPage = 1;\n } else if (oldPage > newVal) {\n this.internalCurrentPage = newVal === 0 ? 1 : newVal;\n this.userChangePageSize && this.emitChange();\n }\n\n this.userChangePageSize = false;\n }\n }\n }; // CONCATENATED MODULE: ./packages/pagination/index.js\n\n /* istanbul ignore next */\n\n pagination.install = function (Vue) {\n Vue.component(pagination.name, pagination);\n };\n /* harmony default export */\n\n\n var packages_pagination = pagination; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/component.vue?vue&type=template&id=60140e62&\n\n var componentvue_type_template_id_60140e62_render = function componentvue_type_template_id_60140e62_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"dialog-fade\"\n },\n on: {\n \"after-enter\": _vm.afterEnter,\n \"after-leave\": _vm.afterLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-dialog__wrapper\",\n on: {\n click: function click($event) {\n if ($event.target !== $event.currentTarget) {\n return null;\n }\n\n return _vm.handleWrapperClick($event);\n }\n }\n }, [_c(\"div\", {\n key: _vm.key,\n ref: \"dialog\",\n \"class\": [\"el-dialog\", {\n \"is-fullscreen\": _vm.fullscreen,\n \"el-dialog--center\": _vm.center\n }, _vm.customClass],\n style: _vm.style,\n attrs: {\n role: \"dialog\",\n \"aria-modal\": \"true\",\n \"aria-label\": _vm.title || \"dialog\"\n }\n }, [_c(\"div\", {\n staticClass: \"el-dialog__header\"\n }, [_vm._t(\"title\", [_c(\"span\", {\n staticClass: \"el-dialog__title\"\n }, [_vm._v(_vm._s(_vm.title))])]), _vm.showClose ? _c(\"button\", {\n staticClass: \"el-dialog__headerbtn\",\n attrs: {\n type: \"button\",\n \"aria-label\": \"Close\"\n },\n on: {\n click: _vm.handleClose\n }\n }, [_c(\"i\", {\n staticClass: \"el-dialog__close el-icon el-icon-close\"\n })]) : _vm._e()], 2), _vm.rendered ? _c(\"div\", {\n staticClass: \"el-dialog__body\"\n }, [_vm._t(\"default\")], 2) : _vm._e(), _vm.$slots.footer ? _c(\"div\", {\n staticClass: \"el-dialog__footer\"\n }, [_vm._t(\"footer\")], 2) : _vm._e()])])]);\n };\n\n var componentvue_type_template_id_60140e62_staticRenderFns = [];\n componentvue_type_template_id_60140e62_render._withStripped = true; // CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=template&id=60140e62&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/popup\"\n\n var popup_ = __webpack_require__(11);\n\n var popup_default =\n /*#__PURE__*/\n __webpack_require__.n(popup_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/migrating\"\n\n\n var migrating_ = __webpack_require__(9);\n\n var migrating_default =\n /*#__PURE__*/\n __webpack_require__.n(migrating_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n\n var emitter_ = __webpack_require__(3);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/component.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var componentvue_type_script_lang_js_ = {\n name: 'ElDialog',\n mixins: [popup_default.a, emitter_default.a, migrating_default.a],\n props: {\n title: {\n type: String,\n \"default\": ''\n },\n modal: {\n type: Boolean,\n \"default\": true\n },\n modalAppendToBody: {\n type: Boolean,\n \"default\": true\n },\n appendToBody: {\n type: Boolean,\n \"default\": false\n },\n lockScroll: {\n type: Boolean,\n \"default\": true\n },\n closeOnClickModal: {\n type: Boolean,\n \"default\": true\n },\n closeOnPressEscape: {\n type: Boolean,\n \"default\": true\n },\n showClose: {\n type: Boolean,\n \"default\": true\n },\n width: String,\n fullscreen: Boolean,\n customClass: {\n type: String,\n \"default\": ''\n },\n top: {\n type: String,\n \"default\": '15vh'\n },\n beforeClose: Function,\n center: {\n type: Boolean,\n \"default\": false\n },\n destroyOnClose: Boolean\n },\n data: function data() {\n return {\n closed: false,\n key: 0\n };\n },\n watch: {\n visible: function visible(val) {\n var _this = this;\n\n if (val) {\n this.closed = false;\n this.$emit('open');\n this.$el.addEventListener('scroll', this.updatePopper);\n this.$nextTick(function () {\n _this.$refs.dialog.scrollTop = 0;\n });\n\n if (this.appendToBody) {\n document.body.appendChild(this.$el);\n }\n } else {\n this.$el.removeEventListener('scroll', this.updatePopper);\n if (!this.closed) this.$emit('close');\n\n if (this.destroyOnClose) {\n this.$nextTick(function () {\n _this.key++;\n });\n }\n }\n }\n },\n computed: {\n style: function style() {\n var style = {};\n\n if (!this.fullscreen) {\n style.marginTop = this.top;\n\n if (this.width) {\n style.width = this.width;\n }\n }\n\n return style;\n }\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'size': 'size is removed.'\n }\n };\n },\n handleWrapperClick: function handleWrapperClick() {\n if (!this.closeOnClickModal) return;\n this.handleClose();\n },\n handleClose: function handleClose() {\n if (typeof this.beforeClose === 'function') {\n this.beforeClose(this.hide);\n } else {\n this.hide();\n }\n },\n hide: function hide(cancel) {\n if (cancel !== false) {\n this.$emit('update:visible', false);\n this.$emit('close');\n this.closed = true;\n }\n },\n updatePopper: function updatePopper() {\n this.broadcast('ElSelectDropdown', 'updatePopper');\n this.broadcast('ElDropdownMenu', 'updatePopper');\n },\n afterEnter: function afterEnter() {\n this.$emit('opened');\n },\n afterLeave: function afterLeave() {\n this.$emit('closed');\n }\n },\n mounted: function mounted() {\n if (this.visible) {\n this.rendered = true;\n this.open();\n\n if (this.appendToBody) {\n document.body.appendChild(this.$el);\n }\n }\n },\n destroyed: function destroyed() {\n // if appendToBody is true, remove DOM node after destroy\n if (this.appendToBody && this.$el && this.$el.parentNode) {\n this.$el.parentNode.removeChild(this.$el);\n }\n }\n }; // CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_componentvue_type_script_lang_js_ = componentvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/dialog/src/component.vue\n\n /* normalize component */\n\n var component_component = normalizeComponent(src_componentvue_type_script_lang_js_, componentvue_type_template_id_60140e62_render, componentvue_type_template_id_60140e62_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var component_api;\n }\n\n component_component.options.__file = \"packages/dialog/src/component.vue\";\n /* harmony default export */\n\n var src_component = component_component.exports; // CONCATENATED MODULE: ./packages/dialog/index.js\n\n /* istanbul ignore next */\n\n src_component.install = function (Vue) {\n Vue.component(src_component.name, src_component);\n };\n /* harmony default export */\n\n\n var dialog = src_component; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6&\n\n var autocompletevue_type_template_id_152f2ee6_render = function autocompletevue_type_template_id_152f2ee6_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.close,\n expression: \"close\"\n }],\n staticClass: \"el-autocomplete\",\n attrs: {\n \"aria-haspopup\": \"listbox\",\n role: \"combobox\",\n \"aria-expanded\": _vm.suggestionVisible,\n \"aria-owns\": _vm.id\n }\n }, [_c(\"el-input\", _vm._b({\n ref: \"input\",\n on: {\n input: _vm.handleInput,\n change: _vm.handleChange,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n clear: _vm.handleClear\n },\n nativeOn: {\n keydown: [function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.preventDefault();\n\n _vm.highlight(_vm.highlightedIndex - 1);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.preventDefault();\n\n _vm.highlight(_vm.highlightedIndex + 1);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.handleKeyEnter($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) {\n return null;\n }\n\n return _vm.close($event);\n }]\n }\n }, \"el-input\", [_vm.$props, _vm.$attrs], false), [_vm.$slots.prepend ? _c(\"template\", {\n slot: \"prepend\"\n }, [_vm._t(\"prepend\")], 2) : _vm._e(), _vm.$slots.append ? _c(\"template\", {\n slot: \"append\"\n }, [_vm._t(\"append\")], 2) : _vm._e(), _vm.$slots.prefix ? _c(\"template\", {\n slot: \"prefix\"\n }, [_vm._t(\"prefix\")], 2) : _vm._e(), _vm.$slots.suffix ? _c(\"template\", {\n slot: \"suffix\"\n }, [_vm._t(\"suffix\")], 2) : _vm._e()], 2), _c(\"el-autocomplete-suggestions\", {\n ref: \"suggestions\",\n \"class\": [_vm.popperClass ? _vm.popperClass : \"\"],\n attrs: {\n \"visible-arrow\": \"\",\n \"popper-options\": _vm.popperOptions,\n \"append-to-body\": _vm.popperAppendToBody,\n placement: _vm.placement,\n id: _vm.id\n }\n }, _vm._l(_vm.suggestions, function (item, index) {\n return _c(\"li\", {\n key: index,\n \"class\": {\n highlighted: _vm.highlightedIndex === index\n },\n attrs: {\n id: _vm.id + \"-item-\" + index,\n role: \"option\",\n \"aria-selected\": _vm.highlightedIndex === index\n },\n on: {\n click: function click($event) {\n _vm.select(item);\n }\n }\n }, [_vm._t(\"default\", [_vm._v(\"\\n \" + _vm._s(item[_vm.valueKey]) + \"\\n \")], {\n item: item\n })], 2);\n }), 0)], 1);\n };\n\n var autocompletevue_type_template_id_152f2ee6_staticRenderFns = [];\n autocompletevue_type_template_id_152f2ee6_render._withStripped = true; // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6&\n // EXTERNAL MODULE: external \"throttle-debounce/debounce\"\n\n var debounce_ = __webpack_require__(17);\n\n var debounce_default =\n /*#__PURE__*/\n __webpack_require__.n(debounce_); // EXTERNAL MODULE: external \"element-ui/lib/utils/clickoutside\"\n\n\n var clickoutside_ = __webpack_require__(10);\n\n var clickoutside_default =\n /*#__PURE__*/\n __webpack_require__.n(clickoutside_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0&\n\n\n var autocomplete_suggestionsvue_type_template_id_cd10dcf0_render = function autocomplete_suggestionsvue_type_template_id_cd10dcf0_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": _vm.doDestroy\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showPopper,\n expression: \"showPopper\"\n }],\n staticClass: \"el-autocomplete-suggestion el-popper\",\n \"class\": {\n \"is-loading\": !_vm.parent.hideLoading && _vm.parent.loading\n },\n style: {\n width: _vm.dropdownWidth\n },\n attrs: {\n role: \"region\"\n }\n }, [_c(\"el-scrollbar\", {\n attrs: {\n tag: \"ul\",\n \"wrap-class\": \"el-autocomplete-suggestion__wrap\",\n \"view-class\": \"el-autocomplete-suggestion__list\"\n }\n }, [!_vm.parent.hideLoading && _vm.parent.loading ? _c(\"li\", [_c(\"i\", {\n staticClass: \"el-icon-loading\"\n })]) : _vm._t(\"default\")], 2)], 1)]);\n };\n\n var autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns = [];\n autocomplete_suggestionsvue_type_template_id_cd10dcf0_render._withStripped = true; // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/vue-popper\"\n\n var vue_popper_ = __webpack_require__(5);\n\n var vue_popper_default =\n /*#__PURE__*/\n __webpack_require__.n(vue_popper_); // EXTERNAL MODULE: external \"element-ui/lib/scrollbar\"\n\n\n var scrollbar_ = __webpack_require__(18);\n\n var scrollbar_default =\n /*#__PURE__*/\n __webpack_require__.n(scrollbar_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var autocomplete_suggestionsvue_type_script_lang_js_ = {\n components: {\n ElScrollbar: scrollbar_default.a\n },\n mixins: [vue_popper_default.a, emitter_default.a],\n componentName: 'ElAutocompleteSuggestions',\n data: function data() {\n return {\n parent: this.$parent,\n dropdownWidth: ''\n };\n },\n props: {\n options: {\n \"default\": function _default() {\n return {\n gpuAcceleration: false\n };\n }\n },\n id: String\n },\n methods: {\n select: function select(item) {\n this.dispatch('ElAutocomplete', 'item-click', item);\n }\n },\n updated: function updated() {\n var _this = this;\n\n this.$nextTick(function (_) {\n _this.popperJS && _this.updatePopper();\n });\n },\n mounted: function mounted() {\n this.$parent.popperElm = this.popperElm = this.$el;\n this.referenceElm = this.$parent.$refs.input.$refs.input || this.$parent.$refs.input.$refs.textarea;\n this.referenceList = this.$el.querySelector('.el-autocomplete-suggestion__list');\n this.referenceList.setAttribute('role', 'listbox');\n this.referenceList.setAttribute('id', this.id);\n },\n created: function created() {\n var _this2 = this;\n\n this.$on('visible', function (val, inputWidth) {\n _this2.dropdownWidth = inputWidth + 'px';\n _this2.showPopper = val;\n });\n }\n }; // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_autocomplete_suggestionsvue_type_script_lang_js_ = autocomplete_suggestionsvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue\n\n /* normalize component */\n\n var autocomplete_suggestions_component = normalizeComponent(src_autocomplete_suggestionsvue_type_script_lang_js_, autocomplete_suggestionsvue_type_template_id_cd10dcf0_render, autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var autocomplete_suggestions_api;\n }\n\n autocomplete_suggestions_component.options.__file = \"packages/autocomplete/src/autocomplete-suggestions.vue\";\n /* harmony default export */\n\n var autocomplete_suggestions = autocomplete_suggestions_component.exports; // EXTERNAL MODULE: external \"element-ui/lib/mixins/focus\"\n\n var focus_ = __webpack_require__(23);\n\n var focus_default =\n /*#__PURE__*/\n __webpack_require__.n(focus_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var autocompletevue_type_script_lang_js_ = {\n name: 'ElAutocomplete',\n mixins: [emitter_default.a, focus_default()('input'), migrating_default.a],\n inheritAttrs: false,\n componentName: 'ElAutocomplete',\n components: {\n ElInput: input_default.a,\n ElAutocompleteSuggestions: autocomplete_suggestions\n },\n directives: {\n Clickoutside: clickoutside_default.a\n },\n props: {\n valueKey: {\n type: String,\n \"default\": 'value'\n },\n popperClass: String,\n popperOptions: Object,\n placeholder: String,\n clearable: {\n type: Boolean,\n \"default\": false\n },\n disabled: Boolean,\n name: String,\n size: String,\n value: String,\n maxlength: Number,\n minlength: Number,\n autofocus: Boolean,\n fetchSuggestions: Function,\n triggerOnFocus: {\n type: Boolean,\n \"default\": true\n },\n customItem: String,\n selectWhenUnmatched: {\n type: Boolean,\n \"default\": false\n },\n prefixIcon: String,\n suffixIcon: String,\n label: String,\n debounce: {\n type: Number,\n \"default\": 300\n },\n placement: {\n type: String,\n \"default\": 'bottom-start'\n },\n hideLoading: Boolean,\n popperAppendToBody: {\n type: Boolean,\n \"default\": true\n },\n highlightFirstItem: {\n type: Boolean,\n \"default\": false\n }\n },\n data: function data() {\n return {\n activated: false,\n suggestions: [],\n loading: false,\n highlightedIndex: -1,\n suggestionDisabled: false\n };\n },\n computed: {\n suggestionVisible: function suggestionVisible() {\n var suggestions = this.suggestions;\n var isValidData = Array.isArray(suggestions) && suggestions.length > 0;\n return (isValidData || this.loading) && this.activated;\n },\n id: function id() {\n return 'el-autocomplete-' + Object(util_[\"generateId\"])();\n }\n },\n watch: {\n suggestionVisible: function suggestionVisible(val) {\n var $input = this.getInput();\n\n if ($input) {\n this.broadcast('ElAutocompleteSuggestions', 'visible', [val, $input.offsetWidth]);\n }\n }\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'custom-item': 'custom-item is removed, use scoped slot instead.',\n 'props': 'props is removed, use value-key instead.'\n }\n };\n },\n getData: function getData(queryString) {\n var _this = this;\n\n if (this.suggestionDisabled) {\n return;\n }\n\n this.loading = true;\n this.fetchSuggestions(queryString, function (suggestions) {\n _this.loading = false;\n\n if (_this.suggestionDisabled) {\n return;\n }\n\n if (Array.isArray(suggestions)) {\n _this.suggestions = suggestions;\n _this.highlightedIndex = _this.highlightFirstItem ? 0 : -1;\n } else {\n console.error('[Element Error][Autocomplete]autocomplete suggestions must be an array');\n }\n });\n },\n handleInput: function handleInput(value) {\n this.$emit('input', value);\n this.suggestionDisabled = false;\n\n if (!this.triggerOnFocus && !value) {\n this.suggestionDisabled = true;\n this.suggestions = [];\n return;\n }\n\n this.debouncedGetData(value);\n },\n handleChange: function handleChange(value) {\n this.$emit('change', value);\n },\n handleFocus: function handleFocus(event) {\n this.activated = true;\n this.$emit('focus', event);\n\n if (this.triggerOnFocus) {\n this.debouncedGetData(this.value);\n }\n },\n handleBlur: function handleBlur(event) {\n this.$emit('blur', event);\n },\n handleClear: function handleClear() {\n this.activated = false;\n this.$emit('clear');\n },\n close: function close(e) {\n this.activated = false;\n },\n handleKeyEnter: function handleKeyEnter(e) {\n var _this2 = this;\n\n if (this.suggestionVisible && this.highlightedIndex >= 0 && this.highlightedIndex < this.suggestions.length) {\n e.preventDefault();\n this.select(this.suggestions[this.highlightedIndex]);\n } else if (this.selectWhenUnmatched) {\n this.$emit('select', {\n value: this.value\n });\n this.$nextTick(function (_) {\n _this2.suggestions = [];\n _this2.highlightedIndex = -1;\n });\n }\n },\n select: function select(item) {\n var _this3 = this;\n\n this.$emit('input', item[this.valueKey]);\n this.$emit('select', item);\n this.$nextTick(function (_) {\n _this3.suggestions = [];\n _this3.highlightedIndex = -1;\n });\n },\n highlight: function highlight(index) {\n if (!this.suggestionVisible || this.loading) {\n return;\n }\n\n if (index < 0) {\n this.highlightedIndex = -1;\n return;\n }\n\n if (index >= this.suggestions.length) {\n index = this.suggestions.length - 1;\n }\n\n var suggestion = this.$refs.suggestions.$el.querySelector('.el-autocomplete-suggestion__wrap');\n var suggestionList = suggestion.querySelectorAll('.el-autocomplete-suggestion__list li');\n var highlightItem = suggestionList[index];\n var scrollTop = suggestion.scrollTop;\n var offsetTop = highlightItem.offsetTop;\n\n if (offsetTop + highlightItem.scrollHeight > scrollTop + suggestion.clientHeight) {\n suggestion.scrollTop += highlightItem.scrollHeight;\n }\n\n if (offsetTop < scrollTop) {\n suggestion.scrollTop -= highlightItem.scrollHeight;\n }\n\n this.highlightedIndex = index;\n var $input = this.getInput();\n $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex);\n },\n getInput: function getInput() {\n return this.$refs.input.getInput();\n }\n },\n mounted: function mounted() {\n var _this4 = this;\n\n this.debouncedGetData = debounce_default()(this.debounce, this.getData);\n this.$on('item-click', function (item) {\n _this4.select(item);\n });\n var $input = this.getInput();\n $input.setAttribute('role', 'textbox');\n $input.setAttribute('aria-autocomplete', 'list');\n $input.setAttribute('aria-controls', 'id');\n $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex);\n },\n beforeDestroy: function beforeDestroy() {\n this.$refs.suggestions.$destroy();\n }\n }; // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_autocompletevue_type_script_lang_js_ = autocompletevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue\n\n /* normalize component */\n\n var autocomplete_component = normalizeComponent(src_autocompletevue_type_script_lang_js_, autocompletevue_type_template_id_152f2ee6_render, autocompletevue_type_template_id_152f2ee6_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var autocomplete_api;\n }\n\n autocomplete_component.options.__file = \"packages/autocomplete/src/autocomplete.vue\";\n /* harmony default export */\n\n var autocomplete = autocomplete_component.exports; // CONCATENATED MODULE: ./packages/autocomplete/index.js\n\n /* istanbul ignore next */\n\n autocomplete.install = function (Vue) {\n Vue.component(autocomplete.name, autocomplete);\n };\n /* harmony default export */\n\n\n var packages_autocomplete = autocomplete; // EXTERNAL MODULE: external \"element-ui/lib/button\"\n\n var button_ = __webpack_require__(13);\n\n var button_default =\n /*#__PURE__*/\n __webpack_require__.n(button_); // EXTERNAL MODULE: external \"element-ui/lib/button-group\"\n\n\n var button_group_ = __webpack_require__(29);\n\n var button_group_default =\n /*#__PURE__*/\n __webpack_require__.n(button_group_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var dropdownvue_type_script_lang_js_ = {\n name: 'ElDropdown',\n componentName: 'ElDropdown',\n mixins: [emitter_default.a, migrating_default.a],\n directives: {\n Clickoutside: clickoutside_default.a\n },\n components: {\n ElButton: button_default.a,\n ElButtonGroup: button_group_default.a\n },\n provide: function provide() {\n return {\n dropdown: this\n };\n },\n props: {\n trigger: {\n type: String,\n \"default\": 'hover'\n },\n type: String,\n size: {\n type: String,\n \"default\": ''\n },\n splitButton: Boolean,\n hideOnClick: {\n type: Boolean,\n \"default\": true\n },\n placement: {\n type: String,\n \"default\": 'bottom-end'\n },\n visibleArrow: {\n \"default\": true\n },\n showTimeout: {\n type: Number,\n \"default\": 250\n },\n hideTimeout: {\n type: Number,\n \"default\": 150\n },\n tabindex: {\n type: Number,\n \"default\": 0\n },\n disabled: {\n type: Boolean,\n \"default\": false\n }\n },\n data: function data() {\n return {\n timeout: null,\n visible: false,\n triggerElm: null,\n menuItems: null,\n menuItemsArray: null,\n dropdownElm: null,\n focusing: false,\n listId: 'dropdown-menu-' + Object(util_[\"generateId\"])()\n };\n },\n computed: {\n dropdownSize: function dropdownSize() {\n return this.size || (this.$ELEMENT || {}).size;\n }\n },\n mounted: function mounted() {\n this.$on('menu-item-click', this.handleMenuItemClick);\n },\n watch: {\n visible: function visible(val) {\n this.broadcast('ElDropdownMenu', 'visible', val);\n this.$emit('visible-change', val);\n },\n focusing: function focusing(val) {\n var selfDefine = this.$el.querySelector('.el-dropdown-selfdefine');\n\n if (selfDefine) {\n // 自定义\n if (val) {\n selfDefine.className += ' focusing';\n } else {\n selfDefine.className = selfDefine.className.replace('focusing', '');\n }\n }\n }\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'menu-align': 'menu-align is renamed to placement.'\n }\n };\n },\n show: function show() {\n var _this = this;\n\n if (this.disabled) return;\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n _this.visible = true;\n }, this.trigger === 'click' ? 0 : this.showTimeout);\n },\n hide: function hide() {\n var _this2 = this;\n\n if (this.disabled) return;\n this.removeTabindex();\n\n if (this.tabindex >= 0) {\n this.resetTabindex(this.triggerElm);\n }\n\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n _this2.visible = false;\n }, this.trigger === 'click' ? 0 : this.hideTimeout);\n },\n handleClick: function handleClick() {\n if (this.disabled) return;\n\n if (this.visible) {\n this.hide();\n } else {\n this.show();\n }\n },\n handleTriggerKeyDown: function handleTriggerKeyDown(ev) {\n var keyCode = ev.keyCode;\n\n if ([38, 40].indexOf(keyCode) > -1) {\n // up/down\n this.removeTabindex();\n this.resetTabindex(this.menuItems[0]);\n this.menuItems[0].focus();\n ev.preventDefault();\n ev.stopPropagation();\n } else if (keyCode === 13) {\n // space enter选ä¸\n this.handleClick();\n } else if ([9, 27].indexOf(keyCode) > -1) {\n // tab || esc\n this.hide();\n }\n },\n handleItemKeyDown: function handleItemKeyDown(ev) {\n var keyCode = ev.keyCode;\n var target = ev.target;\n var currentIndex = this.menuItemsArray.indexOf(target);\n var max = this.menuItemsArray.length - 1;\n var nextIndex = void 0;\n\n if ([38, 40].indexOf(keyCode) > -1) {\n // up/down\n if (keyCode === 38) {\n // up\n nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0;\n } else {\n // down\n nextIndex = currentIndex < max ? currentIndex + 1 : max;\n }\n\n this.removeTabindex();\n this.resetTabindex(this.menuItems[nextIndex]);\n this.menuItems[nextIndex].focus();\n ev.preventDefault();\n ev.stopPropagation();\n } else if (keyCode === 13) {\n // enter选ä¸\n this.triggerElmFocus();\n target.click();\n\n if (this.hideOnClick) {\n // clickå…³é—\n this.visible = false;\n }\n } else if ([9, 27].indexOf(keyCode) > -1) {\n // tab // esc\n this.hide();\n this.triggerElmFocus();\n }\n },\n resetTabindex: function resetTabindex(ele) {\n // 下次tab时组件èšç„¦å…ƒç´ \n this.removeTabindex();\n ele.setAttribute('tabindex', '0'); // 下次期望的èšç„¦å…ƒç´ \n },\n removeTabindex: function removeTabindex() {\n this.triggerElm.setAttribute('tabindex', '-1');\n this.menuItemsArray.forEach(function (item) {\n item.setAttribute('tabindex', '-1');\n });\n },\n initAria: function initAria() {\n this.dropdownElm.setAttribute('id', this.listId);\n this.triggerElm.setAttribute('aria-haspopup', 'list');\n this.triggerElm.setAttribute('aria-controls', this.listId);\n\n if (!this.splitButton) {\n // 自定义\n this.triggerElm.setAttribute('role', 'button');\n this.triggerElm.setAttribute('tabindex', this.tabindex);\n this.triggerElm.setAttribute('class', (this.triggerElm.getAttribute('class') || '') + ' el-dropdown-selfdefine'); // 控制\n }\n },\n initEvent: function initEvent() {\n var _this3 = this;\n\n var trigger = this.trigger,\n show = this.show,\n hide = this.hide,\n handleClick = this.handleClick,\n splitButton = this.splitButton,\n handleTriggerKeyDown = this.handleTriggerKeyDown,\n handleItemKeyDown = this.handleItemKeyDown;\n this.triggerElm = splitButton ? this.$refs.trigger.$el : this.$slots[\"default\"][0].elm;\n var dropdownElm = this.dropdownElm;\n this.triggerElm.addEventListener('keydown', handleTriggerKeyDown); // triggerElm keydown\n\n dropdownElm.addEventListener('keydown', handleItemKeyDown, true); // item keydown\n // æŽ§åˆ¶è‡ªå®šä¹‰å…ƒç´ çš„æ ·å¼\n\n if (!splitButton) {\n this.triggerElm.addEventListener('focus', function () {\n _this3.focusing = true;\n });\n this.triggerElm.addEventListener('blur', function () {\n _this3.focusing = false;\n });\n this.triggerElm.addEventListener('click', function () {\n _this3.focusing = false;\n });\n }\n\n if (trigger === 'hover') {\n this.triggerElm.addEventListener('mouseenter', show);\n this.triggerElm.addEventListener('mouseleave', hide);\n dropdownElm.addEventListener('mouseenter', show);\n dropdownElm.addEventListener('mouseleave', hide);\n } else if (trigger === 'click') {\n this.triggerElm.addEventListener('click', handleClick);\n }\n },\n handleMenuItemClick: function handleMenuItemClick(command, instance) {\n if (this.hideOnClick) {\n this.visible = false;\n }\n\n this.$emit('command', command, instance);\n },\n triggerElmFocus: function triggerElmFocus() {\n this.triggerElm.focus && this.triggerElm.focus();\n },\n initDomOperation: function initDomOperation() {\n this.dropdownElm = this.popperElm;\n this.menuItems = this.dropdownElm.querySelectorAll(\"[tabindex='-1']\");\n this.menuItemsArray = [].slice.call(this.menuItems);\n this.initEvent();\n this.initAria();\n }\n },\n render: function render(h) {\n var _this4 = this;\n\n var hide = this.hide,\n splitButton = this.splitButton,\n type = this.type,\n dropdownSize = this.dropdownSize,\n disabled = this.disabled;\n\n var handleMainButtonClick = function handleMainButtonClick(event) {\n _this4.$emit('click', event);\n\n hide();\n };\n\n var triggerElm = null;\n\n if (splitButton) {\n triggerElm = h('el-button-group', [h('el-button', {\n attrs: {\n type: type,\n size: dropdownSize,\n disabled: disabled\n },\n nativeOn: {\n 'click': handleMainButtonClick\n }\n }, [this.$slots[\"default\"]]), h('el-button', {\n ref: 'trigger',\n attrs: {\n type: type,\n size: dropdownSize,\n disabled: disabled\n },\n 'class': 'el-dropdown__caret-button'\n }, [h('i', {\n 'class': 'el-dropdown__icon el-icon-arrow-down'\n })])]);\n } else {\n triggerElm = this.$slots[\"default\"];\n var vnodeData = triggerElm[0].data || {};\n var _vnodeData$attrs = vnodeData.attrs,\n attrs = _vnodeData$attrs === undefined ? {} : _vnodeData$attrs;\n\n if (disabled && !attrs.disabled) {\n attrs.disabled = true;\n vnodeData.attrs = attrs;\n }\n }\n\n var menuElm = disabled ? null : this.$slots.dropdown;\n return h('div', {\n 'class': 'el-dropdown',\n directives: [{\n name: 'clickoutside',\n value: hide\n }],\n attrs: {\n 'aria-disabled': disabled\n }\n }, [triggerElm, menuElm]);\n }\n }; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_dropdownvue_type_script_lang_js_ = dropdownvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown.vue\n\n var dropdown_render, dropdown_staticRenderFns;\n /* normalize component */\n\n var dropdown_component = normalizeComponent(src_dropdownvue_type_script_lang_js_, dropdown_render, dropdown_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var dropdown_api;\n }\n\n dropdown_component.options.__file = \"packages/dropdown/src/dropdown.vue\";\n /* harmony default export */\n\n var dropdown = dropdown_component.exports; // CONCATENATED MODULE: ./packages/dropdown/index.js\n\n /* istanbul ignore next */\n\n dropdown.install = function (Vue) {\n Vue.component(dropdown.name, dropdown);\n };\n /* harmony default export */\n\n\n var packages_dropdown = dropdown; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-menu.vue?vue&type=template&id=0da6b714&\n\n var dropdown_menuvue_type_template_id_0da6b714_render = function dropdown_menuvue_type_template_id_0da6b714_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": _vm.doDestroy\n }\n }, [_c(\"ul\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showPopper,\n expression: \"showPopper\"\n }],\n staticClass: \"el-dropdown-menu el-popper\",\n \"class\": [_vm.size && \"el-dropdown-menu--\" + _vm.size]\n }, [_vm._t(\"default\")], 2)]);\n };\n\n var dropdown_menuvue_type_template_id_0da6b714_staticRenderFns = [];\n dropdown_menuvue_type_template_id_0da6b714_render._withStripped = true; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue?vue&type=template&id=0da6b714&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-menu.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var dropdown_menuvue_type_script_lang_js_ = {\n name: 'ElDropdownMenu',\n componentName: 'ElDropdownMenu',\n mixins: [vue_popper_default.a],\n props: {\n visibleArrow: {\n type: Boolean,\n \"default\": true\n },\n arrowOffset: {\n type: Number,\n \"default\": 0\n }\n },\n data: function data() {\n return {\n size: this.dropdown.dropdownSize\n };\n },\n inject: ['dropdown'],\n created: function created() {\n var _this = this;\n\n this.$on('updatePopper', function () {\n if (_this.showPopper) _this.updatePopper();\n });\n this.$on('visible', function (val) {\n _this.showPopper = val;\n });\n },\n mounted: function mounted() {\n this.dropdown.popperElm = this.popperElm = this.$el;\n this.referenceElm = this.dropdown.$el; // compatible with 2.6 new v-slot syntax\n // issue link https://github.com/ElemeFE/element/issues/14345\n\n this.dropdown.initDomOperation();\n },\n watch: {\n 'dropdown.placement': {\n immediate: true,\n handler: function handler(val) {\n this.currentPlacement = val;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_dropdown_menuvue_type_script_lang_js_ = dropdown_menuvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue\n\n /* normalize component */\n\n var dropdown_menu_component = normalizeComponent(src_dropdown_menuvue_type_script_lang_js_, dropdown_menuvue_type_template_id_0da6b714_render, dropdown_menuvue_type_template_id_0da6b714_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var dropdown_menu_api;\n }\n\n dropdown_menu_component.options.__file = \"packages/dropdown/src/dropdown-menu.vue\";\n /* harmony default export */\n\n var dropdown_menu = dropdown_menu_component.exports; // CONCATENATED MODULE: ./packages/dropdown-menu/index.js\n\n /* istanbul ignore next */\n\n dropdown_menu.install = function (Vue) {\n Vue.component(dropdown_menu.name, dropdown_menu);\n };\n /* harmony default export */\n\n\n var packages_dropdown_menu = dropdown_menu; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-item.vue?vue&type=template&id=6359102a&\n\n var dropdown_itemvue_type_template_id_6359102a_render = function dropdown_itemvue_type_template_id_6359102a_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n staticClass: \"el-dropdown-menu__item\",\n \"class\": {\n \"is-disabled\": _vm.disabled,\n \"el-dropdown-menu__item--divided\": _vm.divided\n },\n attrs: {\n \"aria-disabled\": _vm.disabled,\n tabindex: _vm.disabled ? null : -1\n },\n on: {\n click: _vm.handleClick\n }\n }, [_vm.icon ? _c(\"i\", {\n \"class\": _vm.icon\n }) : _vm._e(), _vm._t(\"default\")], 2);\n };\n\n var dropdown_itemvue_type_template_id_6359102a_staticRenderFns = [];\n dropdown_itemvue_type_template_id_6359102a_render._withStripped = true; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue?vue&type=template&id=6359102a&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var dropdown_itemvue_type_script_lang_js_ = {\n name: 'ElDropdownItem',\n mixins: [emitter_default.a],\n props: {\n command: {},\n disabled: Boolean,\n divided: Boolean,\n icon: String\n },\n methods: {\n handleClick: function handleClick(e) {\n this.dispatch('ElDropdown', 'menu-item-click', [this.command, this]);\n }\n }\n }; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_dropdown_itemvue_type_script_lang_js_ = dropdown_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue\n\n /* normalize component */\n\n var dropdown_item_component = normalizeComponent(src_dropdown_itemvue_type_script_lang_js_, dropdown_itemvue_type_template_id_6359102a_render, dropdown_itemvue_type_template_id_6359102a_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var dropdown_item_api;\n }\n\n dropdown_item_component.options.__file = \"packages/dropdown/src/dropdown-item.vue\";\n /* harmony default export */\n\n var dropdown_item = dropdown_item_component.exports; // CONCATENATED MODULE: ./packages/dropdown-item/index.js\n\n /* istanbul ignore next */\n\n dropdown_item.install = function (Vue) {\n Vue.component(dropdown_item.name, dropdown_item);\n };\n /* harmony default export */\n\n\n var packages_dropdown_item = dropdown_item; // CONCATENATED MODULE: ./src/utils/aria-utils.js\n\n var aria = aria || {};\n aria.Utils = aria.Utils || {};\n /**\n * @desc Set focus on descendant nodes until the first focusable element is\n * found.\n * @param element\n * DOM node for which to find the first focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\n\n aria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n\n return false;\n };\n /**\n * @desc Find the last descendant node that is focusable.\n * @param element\n * DOM node for which to find the last focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\n\n\n aria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n\n return false;\n };\n /**\n * @desc Set Attempt to set focus on the current node.\n * @param element\n * The node to attempt to focus on.\n * @returns\n * true if element is focused.\n */\n\n\n aria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n\n aria.Utils.IgnoreUtilFocusChanges = true;\n\n try {\n element.focus();\n } catch (e) {}\n\n aria.Utils.IgnoreUtilFocusChanges = false;\n return document.activeElement === element;\n };\n\n aria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null) {\n return true;\n }\n\n if (element.disabled) {\n return false;\n }\n\n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel !== 'ignore';\n\n case 'INPUT':\n return element.type !== 'hidden' && element.type !== 'file';\n\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n\n default:\n return false;\n }\n };\n /**\n * 触å‘一个事件\n * mouseenter, mouseleave, mouseover, keyup, change, click ç‰\n * @param {Element} elm\n * @param {String} name\n * @param {*} opts\n */\n\n\n aria.Utils.triggerEvent = function (elm, name) {\n var eventName = void 0;\n\n if (/^mouse|click/.test(name)) {\n eventName = 'MouseEvents';\n } else if (/^key/.test(name)) {\n eventName = 'KeyboardEvent';\n } else {\n eventName = 'HTMLEvents';\n }\n\n var evt = document.createEvent(eventName);\n\n for (var _len = arguments.length, opts = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n opts[_key - 2] = arguments[_key];\n }\n\n evt.initEvent.apply(evt, [name].concat(opts));\n elm.dispatchEvent ? elm.dispatchEvent(evt) : elm.fireEvent('on' + name, evt);\n return elm;\n };\n\n aria.Utils.keys = {\n tab: 9,\n enter: 13,\n space: 32,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n esc: 27\n };\n /* harmony default export */\n\n var aria_utils = aria.Utils; // CONCATENATED MODULE: ./src/utils/menu/aria-submenu.js\n\n var SubMenu = function SubMenu(parent, domNode) {\n this.domNode = domNode;\n this.parent = parent;\n this.subMenuItems = [];\n this.subIndex = 0;\n this.init();\n };\n\n SubMenu.prototype.init = function () {\n this.subMenuItems = this.domNode.querySelectorAll('li');\n this.addListeners();\n };\n\n SubMenu.prototype.gotoSubIndex = function (idx) {\n if (idx === this.subMenuItems.length) {\n idx = 0;\n } else if (idx < 0) {\n idx = this.subMenuItems.length - 1;\n }\n\n this.subMenuItems[idx].focus();\n this.subIndex = idx;\n };\n\n SubMenu.prototype.addListeners = function () {\n var _this = this;\n\n var keys = aria_utils.keys;\n var parentNode = this.parent.domNode;\n Array.prototype.forEach.call(this.subMenuItems, function (el) {\n el.addEventListener('keydown', function (event) {\n var prevDef = false;\n\n switch (event.keyCode) {\n case keys.down:\n _this.gotoSubIndex(_this.subIndex + 1);\n\n prevDef = true;\n break;\n\n case keys.up:\n _this.gotoSubIndex(_this.subIndex - 1);\n\n prevDef = true;\n break;\n\n case keys.tab:\n aria_utils.triggerEvent(parentNode, 'mouseleave');\n break;\n\n case keys.enter:\n case keys.space:\n prevDef = true;\n event.currentTarget.click();\n break;\n }\n\n if (prevDef) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n return false;\n });\n });\n };\n /* harmony default export */\n\n\n var aria_submenu = SubMenu; // CONCATENATED MODULE: ./src/utils/menu/aria-menuitem.js\n\n var MenuItem = function MenuItem(domNode) {\n this.domNode = domNode;\n this.submenu = null;\n this.init();\n };\n\n MenuItem.prototype.init = function () {\n this.domNode.setAttribute('tabindex', '0');\n var menuChild = this.domNode.querySelector('.el-menu');\n\n if (menuChild) {\n this.submenu = new aria_submenu(this, menuChild);\n }\n\n this.addListeners();\n };\n\n MenuItem.prototype.addListeners = function () {\n var _this = this;\n\n var keys = aria_utils.keys;\n this.domNode.addEventListener('keydown', function (event) {\n var prevDef = false;\n\n switch (event.keyCode) {\n case keys.down:\n aria_utils.triggerEvent(event.currentTarget, 'mouseenter');\n _this.submenu && _this.submenu.gotoSubIndex(0);\n prevDef = true;\n break;\n\n case keys.up:\n aria_utils.triggerEvent(event.currentTarget, 'mouseenter');\n _this.submenu && _this.submenu.gotoSubIndex(_this.submenu.subMenuItems.length - 1);\n prevDef = true;\n break;\n\n case keys.tab:\n aria_utils.triggerEvent(event.currentTarget, 'mouseleave');\n break;\n\n case keys.enter:\n case keys.space:\n prevDef = true;\n event.currentTarget.click();\n break;\n }\n\n if (prevDef) {\n event.preventDefault();\n }\n });\n };\n /* harmony default export */\n\n\n var aria_menuitem = MenuItem; // CONCATENATED MODULE: ./src/utils/menu/aria-menubar.js\n\n var Menu = function Menu(domNode) {\n this.domNode = domNode;\n this.init();\n };\n\n Menu.prototype.init = function () {\n var menuChildren = this.domNode.childNodes;\n [].filter.call(menuChildren, function (child) {\n return child.nodeType === 1;\n }).forEach(function (child) {\n new aria_menuitem(child); // eslint-disable-line\n });\n };\n /* harmony default export */\n\n\n var aria_menubar = Menu; // EXTERNAL MODULE: external \"element-ui/lib/utils/dom\"\n\n var dom_ = __webpack_require__(1); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var menuvue_type_script_lang_js_ = {\n name: 'ElMenu',\n render: function render(h) {\n var component = h('ul', {\n attrs: {\n role: 'menubar'\n },\n key: +this.collapse,\n style: {\n backgroundColor: this.backgroundColor || ''\n },\n 'class': {\n 'el-menu--horizontal': this.mode === 'horizontal',\n 'el-menu--collapse': this.collapse,\n \"el-menu\": true\n }\n }, [this.$slots[\"default\"]]);\n\n if (this.collapseTransition) {\n return h('el-menu-collapse-transition', [component]);\n } else {\n return component;\n }\n },\n componentName: 'ElMenu',\n mixins: [emitter_default.a, migrating_default.a],\n provide: function provide() {\n return {\n rootMenu: this\n };\n },\n components: {\n 'el-menu-collapse-transition': {\n functional: true,\n render: function render(createElement, context) {\n var data = {\n props: {\n mode: 'out-in'\n },\n on: {\n beforeEnter: function beforeEnter(el) {\n el.style.opacity = 0.2;\n },\n enter: function enter(el) {\n Object(dom_[\"addClass\"])(el, 'el-opacity-transition');\n el.style.opacity = 1;\n },\n afterEnter: function afterEnter(el) {\n Object(dom_[\"removeClass\"])(el, 'el-opacity-transition');\n el.style.opacity = '';\n },\n beforeLeave: function beforeLeave(el) {\n if (!el.dataset) el.dataset = {};\n\n if (Object(dom_[\"hasClass\"])(el, 'el-menu--collapse')) {\n Object(dom_[\"removeClass\"])(el, 'el-menu--collapse');\n el.dataset.oldOverflow = el.style.overflow;\n el.dataset.scrollWidth = el.clientWidth;\n Object(dom_[\"addClass\"])(el, 'el-menu--collapse');\n } else {\n Object(dom_[\"addClass\"])(el, 'el-menu--collapse');\n el.dataset.oldOverflow = el.style.overflow;\n el.dataset.scrollWidth = el.clientWidth;\n Object(dom_[\"removeClass\"])(el, 'el-menu--collapse');\n }\n\n el.style.width = el.scrollWidth + 'px';\n el.style.overflow = 'hidden';\n },\n leave: function leave(el) {\n Object(dom_[\"addClass\"])(el, 'horizontal-collapse-transition');\n el.style.width = el.dataset.scrollWidth + 'px';\n }\n }\n };\n return createElement('transition', data, context.children);\n }\n }\n },\n props: {\n mode: {\n type: String,\n \"default\": 'vertical'\n },\n defaultActive: {\n type: String,\n \"default\": ''\n },\n defaultOpeneds: Array,\n uniqueOpened: Boolean,\n router: Boolean,\n menuTrigger: {\n type: String,\n \"default\": 'hover'\n },\n collapse: Boolean,\n backgroundColor: String,\n textColor: String,\n activeTextColor: String,\n collapseTransition: {\n type: Boolean,\n \"default\": true\n }\n },\n data: function data() {\n return {\n activeIndex: this.defaultActive,\n openedMenus: this.defaultOpeneds && !this.collapse ? this.defaultOpeneds.slice(0) : [],\n items: {},\n submenus: {}\n };\n },\n computed: {\n hoverBackground: function hoverBackground() {\n return this.backgroundColor ? this.mixColor(this.backgroundColor, 0.2) : '';\n },\n isMenuPopup: function isMenuPopup() {\n return this.mode === 'horizontal' || this.mode === 'vertical' && this.collapse;\n }\n },\n watch: {\n defaultActive: function defaultActive(value) {\n if (!this.items[value]) {\n this.activeIndex = null;\n }\n\n this.updateActiveIndex(value);\n },\n defaultOpeneds: function defaultOpeneds(value) {\n if (!this.collapse) {\n this.openedMenus = value;\n }\n },\n collapse: function collapse(value) {\n if (value) this.openedMenus = [];\n this.broadcast('ElSubmenu', 'toggle-collapse', value);\n }\n },\n methods: {\n updateActiveIndex: function updateActiveIndex(val) {\n var item = this.items[val] || this.items[this.activeIndex] || this.items[this.defaultActive];\n\n if (item) {\n this.activeIndex = item.index;\n this.initOpenedMenu();\n } else {\n this.activeIndex = null;\n }\n },\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'theme': 'theme is removed.'\n }\n };\n },\n getColorChannels: function getColorChannels(color) {\n color = color.replace('#', '');\n\n if (/^[0-9a-fA-F]{3}$/.test(color)) {\n color = color.split('');\n\n for (var i = 2; i >= 0; i--) {\n color.splice(i, 0, color[i]);\n }\n\n color = color.join('');\n }\n\n if (/^[0-9a-fA-F]{6}$/.test(color)) {\n return {\n red: parseInt(color.slice(0, 2), 16),\n green: parseInt(color.slice(2, 4), 16),\n blue: parseInt(color.slice(4, 6), 16)\n };\n } else {\n return {\n red: 255,\n green: 255,\n blue: 255\n };\n }\n },\n mixColor: function mixColor(color, percent) {\n var _getColorChannels = this.getColorChannels(color),\n red = _getColorChannels.red,\n green = _getColorChannels.green,\n blue = _getColorChannels.blue;\n\n if (percent > 0) {\n // shade given color\n red *= 1 - percent;\n green *= 1 - percent;\n blue *= 1 - percent;\n } else {\n // tint given color\n red += (255 - red) * percent;\n green += (255 - green) * percent;\n blue += (255 - blue) * percent;\n }\n\n return 'rgb(' + Math.round(red) + ', ' + Math.round(green) + ', ' + Math.round(blue) + ')';\n },\n addItem: function addItem(item) {\n this.$set(this.items, item.index, item);\n },\n removeItem: function removeItem(item) {\n delete this.items[item.index];\n },\n addSubmenu: function addSubmenu(item) {\n this.$set(this.submenus, item.index, item);\n },\n removeSubmenu: function removeSubmenu(item) {\n delete this.submenus[item.index];\n },\n openMenu: function openMenu(index, indexPath) {\n var openedMenus = this.openedMenus;\n if (openedMenus.indexOf(index) !== -1) return; // å°†ä¸åœ¨è¯¥èœå•è·¯å¾„下的其余èœå•æ”¶èµ·\n // collapse all menu that are not under current menu item\n\n if (this.uniqueOpened) {\n this.openedMenus = openedMenus.filter(function (index) {\n return indexPath.indexOf(index) !== -1;\n });\n }\n\n this.openedMenus.push(index);\n },\n closeMenu: function closeMenu(index) {\n var i = this.openedMenus.indexOf(index);\n\n if (i !== -1) {\n this.openedMenus.splice(i, 1);\n }\n },\n handleSubmenuClick: function handleSubmenuClick(submenu) {\n var index = submenu.index,\n indexPath = submenu.indexPath;\n var isOpened = this.openedMenus.indexOf(index) !== -1;\n\n if (isOpened) {\n this.closeMenu(index);\n this.$emit('close', index, indexPath);\n } else {\n this.openMenu(index, indexPath);\n this.$emit('open', index, indexPath);\n }\n },\n handleItemClick: function handleItemClick(item) {\n var _this = this;\n\n var index = item.index,\n indexPath = item.indexPath;\n var oldActiveIndex = this.activeIndex;\n var hasIndex = item.index !== null;\n\n if (hasIndex) {\n this.activeIndex = item.index;\n }\n\n this.$emit('select', index, indexPath, item);\n\n if (this.mode === 'horizontal' || this.collapse) {\n this.openedMenus = [];\n }\n\n if (this.router && hasIndex) {\n this.routeToItem(item, function (error) {\n _this.activeIndex = oldActiveIndex;\n\n if (error) {\n // vue-router 3.1.0+ push/replace cause NavigationDuplicated error \n // https://github.com/ElemeFE/element/issues/17044\n if (error.name === 'NavigationDuplicated') return;\n console.error(error);\n }\n });\n }\n },\n // åˆå§‹åŒ–展开èœå•\n // initialize opened menu\n initOpenedMenu: function initOpenedMenu() {\n var _this2 = this;\n\n var index = this.activeIndex;\n var activeItem = this.items[index];\n if (!activeItem || this.mode === 'horizontal' || this.collapse) return;\n var indexPath = activeItem.indexPath; // 展开该èœå•é¡¹çš„路径上所有åèœå•\n // expand all submenus of the menu item\n\n indexPath.forEach(function (index) {\n var submenu = _this2.submenus[index];\n submenu && _this2.openMenu(index, submenu.indexPath);\n });\n },\n routeToItem: function routeToItem(item, onError) {\n var route = item.route || item.index;\n\n try {\n this.$router.push(route, function () {}, onError);\n } catch (e) {\n console.error(e);\n }\n },\n open: function open(index) {\n var _this3 = this;\n\n var indexPath = this.submenus[index.toString()].indexPath;\n indexPath.forEach(function (i) {\n return _this3.openMenu(i, indexPath);\n });\n },\n close: function close(index) {\n this.closeMenu(index);\n }\n },\n mounted: function mounted() {\n this.initOpenedMenu();\n this.$on('item-click', this.handleItemClick);\n this.$on('submenu-click', this.handleSubmenuClick);\n\n if (this.mode === 'horizontal') {\n new aria_menubar(this.$el); // eslint-disable-line\n }\n\n this.$watch('items', this.updateActiveIndex);\n }\n }; // CONCATENATED MODULE: ./packages/menu/src/menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_menuvue_type_script_lang_js_ = menuvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/menu/src/menu.vue\n\n var menu_render, menu_staticRenderFns;\n /* normalize component */\n\n var menu_component = normalizeComponent(src_menuvue_type_script_lang_js_, menu_render, menu_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var menu_api;\n }\n\n menu_component.options.__file = \"packages/menu/src/menu.vue\";\n /* harmony default export */\n\n var src_menu = menu_component.exports; // CONCATENATED MODULE: ./packages/menu/index.js\n\n /* istanbul ignore next */\n\n src_menu.install = function (Vue) {\n Vue.component(src_menu.name, src_menu);\n };\n /* harmony default export */\n\n\n var packages_menu = src_menu; // EXTERNAL MODULE: external \"element-ui/lib/transitions/collapse-transition\"\n\n var collapse_transition_ = __webpack_require__(21);\n\n var collapse_transition_default =\n /*#__PURE__*/\n __webpack_require__.n(collapse_transition_); // CONCATENATED MODULE: ./packages/menu/src/menu-mixin.js\n\n /* harmony default export */\n\n\n var menu_mixin = {\n inject: ['rootMenu'],\n computed: {\n indexPath: function indexPath() {\n var path = [this.index];\n var parent = this.$parent;\n\n while (parent.$options.componentName !== 'ElMenu') {\n if (parent.index) {\n path.unshift(parent.index);\n }\n\n parent = parent.$parent;\n }\n\n return path;\n },\n parentMenu: function parentMenu() {\n var parent = this.$parent;\n\n while (parent && ['ElMenu', 'ElSubmenu'].indexOf(parent.$options.componentName) === -1) {\n parent = parent.$parent;\n }\n\n return parent;\n },\n paddingStyle: function paddingStyle() {\n if (this.rootMenu.mode !== 'vertical') return {};\n var padding = 20;\n var parent = this.$parent;\n\n if (this.rootMenu.collapse) {\n padding = 20;\n } else {\n while (parent && parent.$options.componentName !== 'ElMenu') {\n if (parent.$options.componentName === 'ElSubmenu') {\n padding += 20;\n }\n\n parent = parent.$parent;\n }\n }\n\n return {\n paddingLeft: padding + 'px'\n };\n }\n }\n }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/submenu.vue?vue&type=script&lang=js&\n\n var poperMixins = {\n props: {\n transformOrigin: {\n type: [Boolean, String],\n \"default\": false\n },\n offset: vue_popper_default.a.props.offset,\n boundariesPadding: vue_popper_default.a.props.boundariesPadding,\n popperOptions: vue_popper_default.a.props.popperOptions\n },\n data: vue_popper_default.a.data,\n methods: vue_popper_default.a.methods,\n beforeDestroy: vue_popper_default.a.beforeDestroy,\n deactivated: vue_popper_default.a.deactivated\n };\n /* harmony default export */\n\n var submenuvue_type_script_lang_js_ = {\n name: 'ElSubmenu',\n componentName: 'ElSubmenu',\n mixins: [menu_mixin, emitter_default.a, poperMixins],\n components: {\n ElCollapseTransition: collapse_transition_default.a\n },\n props: {\n index: {\n type: String,\n required: true\n },\n showTimeout: {\n type: Number,\n \"default\": 300\n },\n hideTimeout: {\n type: Number,\n \"default\": 300\n },\n popperClass: String,\n disabled: Boolean,\n popperAppendToBody: {\n type: Boolean,\n \"default\": undefined\n }\n },\n data: function data() {\n return {\n popperJS: null,\n timeout: null,\n items: {},\n submenus: {},\n mouseInChild: false\n };\n },\n watch: {\n opened: function opened(val) {\n var _this = this;\n\n if (this.isMenuPopup) {\n this.$nextTick(function (_) {\n _this.updatePopper();\n });\n }\n }\n },\n computed: {\n // popper option\n appendToBody: function appendToBody() {\n return this.popperAppendToBody === undefined ? this.isFirstLevel : this.popperAppendToBody;\n },\n menuTransitionName: function menuTransitionName() {\n return this.rootMenu.collapse ? 'el-zoom-in-left' : 'el-zoom-in-top';\n },\n opened: function opened() {\n return this.rootMenu.openedMenus.indexOf(this.index) > -1;\n },\n active: function active() {\n var isActive = false;\n var submenus = this.submenus;\n var items = this.items;\n Object.keys(items).forEach(function (index) {\n if (items[index].active) {\n isActive = true;\n }\n });\n Object.keys(submenus).forEach(function (index) {\n if (submenus[index].active) {\n isActive = true;\n }\n });\n return isActive;\n },\n hoverBackground: function hoverBackground() {\n return this.rootMenu.hoverBackground;\n },\n backgroundColor: function backgroundColor() {\n return this.rootMenu.backgroundColor || '';\n },\n activeTextColor: function activeTextColor() {\n return this.rootMenu.activeTextColor || '';\n },\n textColor: function textColor() {\n return this.rootMenu.textColor || '';\n },\n mode: function mode() {\n return this.rootMenu.mode;\n },\n isMenuPopup: function isMenuPopup() {\n return this.rootMenu.isMenuPopup;\n },\n titleStyle: function titleStyle() {\n if (this.mode !== 'horizontal') {\n return {\n color: this.textColor\n };\n }\n\n return {\n borderBottomColor: this.active ? this.rootMenu.activeTextColor ? this.activeTextColor : '' : 'transparent',\n color: this.active ? this.activeTextColor : this.textColor\n };\n },\n isFirstLevel: function isFirstLevel() {\n var isFirstLevel = true;\n var parent = this.$parent;\n\n while (parent && parent !== this.rootMenu) {\n if (['ElSubmenu', 'ElMenuItemGroup'].indexOf(parent.$options.componentName) > -1) {\n isFirstLevel = false;\n break;\n } else {\n parent = parent.$parent;\n }\n }\n\n return isFirstLevel;\n }\n },\n methods: {\n handleCollapseToggle: function handleCollapseToggle(value) {\n if (value) {\n this.initPopper();\n } else {\n this.doDestroy();\n }\n },\n addItem: function addItem(item) {\n this.$set(this.items, item.index, item);\n },\n removeItem: function removeItem(item) {\n delete this.items[item.index];\n },\n addSubmenu: function addSubmenu(item) {\n this.$set(this.submenus, item.index, item);\n },\n removeSubmenu: function removeSubmenu(item) {\n delete this.submenus[item.index];\n },\n handleClick: function handleClick() {\n var rootMenu = this.rootMenu,\n disabled = this.disabled;\n\n if (rootMenu.menuTrigger === 'hover' && rootMenu.mode === 'horizontal' || rootMenu.collapse && rootMenu.mode === 'vertical' || disabled) {\n return;\n }\n\n this.dispatch('ElMenu', 'submenu-click', this);\n },\n handleMouseenter: function handleMouseenter(event) {\n var _this2 = this;\n\n var showTimeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.showTimeout;\n\n if (!('ActiveXObject' in window) && event.type === 'focus' && !event.relatedTarget) {\n return;\n }\n\n var rootMenu = this.rootMenu,\n disabled = this.disabled;\n\n if (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal' || !rootMenu.collapse && rootMenu.mode === 'vertical' || disabled) {\n return;\n }\n\n this.dispatch('ElSubmenu', 'mouse-enter-child');\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n _this2.rootMenu.openMenu(_this2.index, _this2.indexPath);\n }, showTimeout);\n\n if (this.appendToBody) {\n this.$parent.$el.dispatchEvent(new MouseEvent('mouseenter'));\n }\n },\n handleMouseleave: function handleMouseleave() {\n var _this3 = this;\n\n var deepDispatch = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var rootMenu = this.rootMenu;\n\n if (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal' || !rootMenu.collapse && rootMenu.mode === 'vertical') {\n return;\n }\n\n this.dispatch('ElSubmenu', 'mouse-leave-child');\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n !_this3.mouseInChild && _this3.rootMenu.closeMenu(_this3.index);\n }, this.hideTimeout);\n\n if (this.appendToBody && deepDispatch) {\n if (this.$parent.$options.name === 'ElSubmenu') {\n this.$parent.handleMouseleave(true);\n }\n }\n },\n handleTitleMouseenter: function handleTitleMouseenter() {\n if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return;\n var title = this.$refs['submenu-title'];\n title && (title.style.backgroundColor = this.rootMenu.hoverBackground);\n },\n handleTitleMouseleave: function handleTitleMouseleave() {\n if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return;\n var title = this.$refs['submenu-title'];\n title && (title.style.backgroundColor = this.rootMenu.backgroundColor || '');\n },\n updatePlacement: function updatePlacement() {\n this.currentPlacement = this.mode === 'horizontal' && this.isFirstLevel ? 'bottom-start' : 'right-start';\n },\n initPopper: function initPopper() {\n this.referenceElm = this.$el;\n this.popperElm = this.$refs.menu;\n this.updatePlacement();\n }\n },\n created: function created() {\n var _this4 = this;\n\n this.$on('toggle-collapse', this.handleCollapseToggle);\n this.$on('mouse-enter-child', function () {\n _this4.mouseInChild = true;\n clearTimeout(_this4.timeout);\n });\n this.$on('mouse-leave-child', function () {\n _this4.mouseInChild = false;\n clearTimeout(_this4.timeout);\n });\n },\n mounted: function mounted() {\n this.parentMenu.addSubmenu(this);\n this.rootMenu.addSubmenu(this);\n this.initPopper();\n },\n beforeDestroy: function beforeDestroy() {\n this.parentMenu.removeSubmenu(this);\n this.rootMenu.removeSubmenu(this);\n },\n render: function render(h) {\n var _this5 = this;\n\n var active = this.active,\n opened = this.opened,\n paddingStyle = this.paddingStyle,\n titleStyle = this.titleStyle,\n backgroundColor = this.backgroundColor,\n rootMenu = this.rootMenu,\n currentPlacement = this.currentPlacement,\n menuTransitionName = this.menuTransitionName,\n mode = this.mode,\n disabled = this.disabled,\n popperClass = this.popperClass,\n $slots = this.$slots,\n isFirstLevel = this.isFirstLevel;\n var popupMenu = h('transition', {\n attrs: {\n name: menuTransitionName\n }\n }, [h('div', {\n ref: 'menu',\n directives: [{\n name: 'show',\n value: opened\n }],\n 'class': ['el-menu--' + mode, popperClass],\n on: {\n 'mouseenter': function mouseenter($event) {\n return _this5.handleMouseenter($event, 100);\n },\n 'mouseleave': function mouseleave() {\n return _this5.handleMouseleave(true);\n },\n 'focus': function focus($event) {\n return _this5.handleMouseenter($event, 100);\n }\n }\n }, [h('ul', {\n attrs: {\n role: 'menu'\n },\n 'class': ['el-menu el-menu--popup', 'el-menu--popup-' + currentPlacement],\n style: {\n backgroundColor: rootMenu.backgroundColor || ''\n }\n }, [$slots[\"default\"]])])]);\n var inlineMenu = h('el-collapse-transition', [h('ul', {\n attrs: {\n role: 'menu'\n },\n 'class': 'el-menu el-menu--inline',\n directives: [{\n name: 'show',\n value: opened\n }],\n style: {\n backgroundColor: rootMenu.backgroundColor || ''\n }\n }, [$slots[\"default\"]])]);\n var submenuTitleIcon = rootMenu.mode === 'horizontal' && isFirstLevel || rootMenu.mode === 'vertical' && !rootMenu.collapse ? 'el-icon-arrow-down' : 'el-icon-arrow-right';\n return h('li', {\n 'class': {\n 'el-submenu': true,\n 'is-active': active,\n 'is-opened': opened,\n 'is-disabled': disabled\n },\n attrs: {\n role: 'menuitem',\n 'aria-haspopup': 'true',\n 'aria-expanded': opened\n },\n on: {\n 'mouseenter': this.handleMouseenter,\n 'mouseleave': function mouseleave() {\n return _this5.handleMouseleave(false);\n },\n 'focus': this.handleMouseenter\n }\n }, [h('div', {\n 'class': 'el-submenu__title',\n ref: 'submenu-title',\n on: {\n 'click': this.handleClick,\n 'mouseenter': this.handleTitleMouseenter,\n 'mouseleave': this.handleTitleMouseleave\n },\n style: [paddingStyle, titleStyle, {\n backgroundColor: backgroundColor\n }]\n }, [$slots.title, h('i', {\n 'class': ['el-submenu__icon-arrow', submenuTitleIcon]\n })]), this.isMenuPopup ? popupMenu : inlineMenu]);\n }\n }; // CONCATENATED MODULE: ./packages/menu/src/submenu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_submenuvue_type_script_lang_js_ = submenuvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/menu/src/submenu.vue\n\n var submenu_render, submenu_staticRenderFns;\n /* normalize component */\n\n var submenu_component = normalizeComponent(src_submenuvue_type_script_lang_js_, submenu_render, submenu_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var submenu_api;\n }\n\n submenu_component.options.__file = \"packages/menu/src/submenu.vue\";\n /* harmony default export */\n\n var submenu = submenu_component.exports; // CONCATENATED MODULE: ./packages/submenu/index.js\n\n /* istanbul ignore next */\n\n submenu.install = function (Vue) {\n Vue.component(submenu.name, submenu);\n };\n /* harmony default export */\n\n\n var packages_submenu = submenu; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=template&id=2a5dbfea&\n\n var menu_itemvue_type_template_id_2a5dbfea_render = function menu_itemvue_type_template_id_2a5dbfea_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n staticClass: \"el-menu-item\",\n \"class\": {\n \"is-active\": _vm.active,\n \"is-disabled\": _vm.disabled\n },\n style: [_vm.paddingStyle, _vm.itemStyle, {\n backgroundColor: _vm.backgroundColor\n }],\n attrs: {\n role: \"menuitem\",\n tabindex: \"-1\"\n },\n on: {\n click: _vm.handleClick,\n mouseenter: _vm.onMouseEnter,\n focus: _vm.onMouseEnter,\n blur: _vm.onMouseLeave,\n mouseleave: _vm.onMouseLeave\n }\n }, [_vm.parentMenu.$options.componentName === \"ElMenu\" && _vm.rootMenu.collapse && _vm.$slots.title ? _c(\"el-tooltip\", {\n attrs: {\n effect: \"dark\",\n placement: \"right\"\n }\n }, [_c(\"div\", {\n attrs: {\n slot: \"content\"\n },\n slot: \"content\"\n }, [_vm._t(\"title\")], 2), _c(\"div\", {\n staticStyle: {\n position: \"absolute\",\n left: \"0\",\n top: \"0\",\n height: \"100%\",\n width: \"100%\",\n display: \"inline-block\",\n \"box-sizing\": \"border-box\",\n padding: \"0 20px\"\n }\n }, [_vm._t(\"default\")], 2)]) : [_vm._t(\"default\"), _vm._t(\"title\")]], 2);\n };\n\n var menu_itemvue_type_template_id_2a5dbfea_staticRenderFns = [];\n menu_itemvue_type_template_id_2a5dbfea_render._withStripped = true; // CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=template&id=2a5dbfea&\n // EXTERNAL MODULE: external \"element-ui/lib/tooltip\"\n\n var tooltip_ = __webpack_require__(26);\n\n var tooltip_default =\n /*#__PURE__*/\n __webpack_require__.n(tooltip_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var menu_itemvue_type_script_lang_js_ = {\n name: 'ElMenuItem',\n componentName: 'ElMenuItem',\n mixins: [menu_mixin, emitter_default.a],\n components: {\n ElTooltip: tooltip_default.a\n },\n props: {\n index: {\n \"default\": null,\n validator: function validator(val) {\n return typeof val === 'string' || val === null;\n }\n },\n route: [String, Object],\n disabled: Boolean\n },\n computed: {\n active: function active() {\n return this.index === this.rootMenu.activeIndex;\n },\n hoverBackground: function hoverBackground() {\n return this.rootMenu.hoverBackground;\n },\n backgroundColor: function backgroundColor() {\n return this.rootMenu.backgroundColor || '';\n },\n activeTextColor: function activeTextColor() {\n return this.rootMenu.activeTextColor || '';\n },\n textColor: function textColor() {\n return this.rootMenu.textColor || '';\n },\n mode: function mode() {\n return this.rootMenu.mode;\n },\n itemStyle: function itemStyle() {\n var style = {\n color: this.active ? this.activeTextColor : this.textColor\n };\n\n if (this.mode === 'horizontal' && !this.isNested) {\n style.borderBottomColor = this.active ? this.rootMenu.activeTextColor ? this.activeTextColor : '' : 'transparent';\n }\n\n return style;\n },\n isNested: function isNested() {\n return this.parentMenu !== this.rootMenu;\n }\n },\n methods: {\n onMouseEnter: function onMouseEnter() {\n if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return;\n this.$el.style.backgroundColor = this.hoverBackground;\n },\n onMouseLeave: function onMouseLeave() {\n if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return;\n this.$el.style.backgroundColor = this.backgroundColor;\n },\n handleClick: function handleClick() {\n if (!this.disabled) {\n this.dispatch('ElMenu', 'item-click', this);\n this.$emit('click', this);\n }\n }\n },\n mounted: function mounted() {\n this.parentMenu.addItem(this);\n this.rootMenu.addItem(this);\n },\n beforeDestroy: function beforeDestroy() {\n this.parentMenu.removeItem(this);\n this.rootMenu.removeItem(this);\n }\n }; // CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_menu_itemvue_type_script_lang_js_ = menu_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/menu/src/menu-item.vue\n\n /* normalize component */\n\n var menu_item_component = normalizeComponent(src_menu_itemvue_type_script_lang_js_, menu_itemvue_type_template_id_2a5dbfea_render, menu_itemvue_type_template_id_2a5dbfea_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var menu_item_api;\n }\n\n menu_item_component.options.__file = \"packages/menu/src/menu-item.vue\";\n /* harmony default export */\n\n var menu_item = menu_item_component.exports; // CONCATENATED MODULE: ./packages/menu-item/index.js\n\n /* istanbul ignore next */\n\n menu_item.install = function (Vue) {\n Vue.component(menu_item.name, menu_item);\n };\n /* harmony default export */\n\n\n var packages_menu_item = menu_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item-group.vue?vue&type=template&id=543b7bdc&\n\n var menu_item_groupvue_type_template_id_543b7bdc_render = function menu_item_groupvue_type_template_id_543b7bdc_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n staticClass: \"el-menu-item-group\"\n }, [_c(\"div\", {\n staticClass: \"el-menu-item-group__title\",\n style: {\n paddingLeft: _vm.levelPadding + \"px\"\n }\n }, [!_vm.$slots.title ? [_vm._v(_vm._s(_vm.title))] : _vm._t(\"title\")], 2), _c(\"ul\", [_vm._t(\"default\")], 2)]);\n };\n\n var menu_item_groupvue_type_template_id_543b7bdc_staticRenderFns = [];\n menu_item_groupvue_type_template_id_543b7bdc_render._withStripped = true; // CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue?vue&type=template&id=543b7bdc&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item-group.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var menu_item_groupvue_type_script_lang_js_ = {\n name: 'ElMenuItemGroup',\n componentName: 'ElMenuItemGroup',\n inject: ['rootMenu'],\n props: {\n title: {\n type: String\n }\n },\n data: function data() {\n return {\n paddingLeft: 20\n };\n },\n computed: {\n levelPadding: function levelPadding() {\n var padding = 20;\n var parent = this.$parent;\n if (this.rootMenu.collapse) return 20;\n\n while (parent && parent.$options.componentName !== 'ElMenu') {\n if (parent.$options.componentName === 'ElSubmenu') {\n padding += 20;\n }\n\n parent = parent.$parent;\n }\n\n return padding;\n }\n }\n }; // CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_menu_item_groupvue_type_script_lang_js_ = menu_item_groupvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue\n\n /* normalize component */\n\n var menu_item_group_component = normalizeComponent(src_menu_item_groupvue_type_script_lang_js_, menu_item_groupvue_type_template_id_543b7bdc_render, menu_item_groupvue_type_template_id_543b7bdc_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var menu_item_group_api;\n }\n\n menu_item_group_component.options.__file = \"packages/menu/src/menu-item-group.vue\";\n /* harmony default export */\n\n var menu_item_group = menu_item_group_component.exports; // CONCATENATED MODULE: ./packages/menu-item-group/index.js\n\n /* istanbul ignore next */\n\n menu_item_group.install = function (Vue) {\n Vue.component(menu_item_group.name, menu_item_group);\n };\n /* harmony default export */\n\n\n var packages_menu_item_group = menu_item_group; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=343dd774&\n\n var inputvue_type_template_id_343dd774_render = function inputvue_type_template_id_343dd774_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [_vm.type === \"textarea\" ? \"el-textarea\" : \"el-input\", _vm.inputSize ? \"el-input--\" + _vm.inputSize : \"\", {\n \"is-disabled\": _vm.inputDisabled,\n \"is-exceed\": _vm.inputExceed,\n \"el-input-group\": _vm.$slots.prepend || _vm.$slots.append,\n \"el-input-group--append\": _vm.$slots.append,\n \"el-input-group--prepend\": _vm.$slots.prepend,\n \"el-input--prefix\": _vm.$slots.prefix || _vm.prefixIcon,\n \"el-input--suffix\": _vm.$slots.suffix || _vm.suffixIcon || _vm.clearable || _vm.showPassword\n }],\n on: {\n mouseenter: function mouseenter($event) {\n _vm.hovering = true;\n },\n mouseleave: function mouseleave($event) {\n _vm.hovering = false;\n }\n }\n }, [_vm.type !== \"textarea\" ? [_vm.$slots.prepend ? _c(\"div\", {\n staticClass: \"el-input-group__prepend\"\n }, [_vm._t(\"prepend\")], 2) : _vm._e(), _vm.type !== \"textarea\" ? _c(\"input\", _vm._b({\n ref: \"input\",\n staticClass: \"el-input__inner\",\n attrs: {\n tabindex: _vm.tabindex,\n type: _vm.showPassword ? _vm.passwordVisible ? \"text\" : \"password\" : _vm.type,\n disabled: _vm.inputDisabled,\n readonly: _vm.readonly,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n \"aria-label\": _vm.label\n },\n on: {\n compositionstart: _vm.handleCompositionStart,\n compositionupdate: _vm.handleCompositionUpdate,\n compositionend: _vm.handleCompositionEnd,\n input: _vm.handleInput,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n change: _vm.handleChange\n }\n }, \"input\", _vm.$attrs, false)) : _vm._e(), _vm.$slots.prefix || _vm.prefixIcon ? _c(\"span\", {\n staticClass: \"el-input__prefix\"\n }, [_vm._t(\"prefix\"), _vm.prefixIcon ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": _vm.prefixIcon\n }) : _vm._e()], 2) : _vm._e(), _vm.getSuffixVisible() ? _c(\"span\", {\n staticClass: \"el-input__suffix\"\n }, [_c(\"span\", {\n staticClass: \"el-input__suffix-inner\"\n }, [!_vm.showClear || !_vm.showPwdVisible || !_vm.isWordLimitVisible ? [_vm._t(\"suffix\"), _vm.suffixIcon ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": _vm.suffixIcon\n }) : _vm._e()] : _vm._e(), _vm.showClear ? _c(\"i\", {\n staticClass: \"el-input__icon el-icon-circle-close el-input__clear\",\n on: {\n mousedown: function mousedown($event) {\n $event.preventDefault();\n },\n click: _vm.clear\n }\n }) : _vm._e(), _vm.showPwdVisible ? _c(\"i\", {\n staticClass: \"el-input__icon el-icon-view el-input__clear\",\n on: {\n click: _vm.handlePasswordVisible\n }\n }) : _vm._e(), _vm.isWordLimitVisible ? _c(\"span\", {\n staticClass: \"el-input__count\"\n }, [_c(\"span\", {\n staticClass: \"el-input__count-inner\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.textLength) + \"/\" + _vm._s(_vm.upperLimit) + \"\\n \")])]) : _vm._e()], 2), _vm.validateState ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": [\"el-input__validateIcon\", _vm.validateIcon]\n }) : _vm._e()]) : _vm._e(), _vm.$slots.append ? _c(\"div\", {\n staticClass: \"el-input-group__append\"\n }, [_vm._t(\"append\")], 2) : _vm._e()] : _c(\"textarea\", _vm._b({\n ref: \"textarea\",\n staticClass: \"el-textarea__inner\",\n style: _vm.textareaStyle,\n attrs: {\n tabindex: _vm.tabindex,\n disabled: _vm.inputDisabled,\n readonly: _vm.readonly,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n \"aria-label\": _vm.label\n },\n on: {\n compositionstart: _vm.handleCompositionStart,\n compositionupdate: _vm.handleCompositionUpdate,\n compositionend: _vm.handleCompositionEnd,\n input: _vm.handleInput,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n change: _vm.handleChange\n }\n }, \"textarea\", _vm.$attrs, false)), _vm.isWordLimitVisible && _vm.type === \"textarea\" ? _c(\"span\", {\n staticClass: \"el-input__count\"\n }, [_vm._v(_vm._s(_vm.textLength) + \"/\" + _vm._s(_vm.upperLimit))]) : _vm._e()], 2);\n };\n\n var inputvue_type_template_id_343dd774_staticRenderFns = [];\n inputvue_type_template_id_343dd774_render._withStripped = true; // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=343dd774&\n // CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js\n\n var hiddenTextarea = void 0;\n var HIDDEN_STYLE = '\\n height:0 !important;\\n visibility:hidden !important;\\n overflow:hidden !important;\\n position:absolute !important;\\n z-index:-1000 !important;\\n top:0 !important;\\n right:0 !important\\n';\n var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];\n\n function calculateNodeStyling(targetElement) {\n var style = window.getComputedStyle(targetElement);\n var boxSizing = style.getPropertyValue('box-sizing');\n var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top'));\n var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width'));\n var contextStyle = CONTEXT_STYLE.map(function (name) {\n return name + ':' + style.getPropertyValue(name);\n }).join(';');\n return {\n contextStyle: contextStyle,\n paddingSize: paddingSize,\n borderSize: borderSize,\n boxSizing: boxSizing\n };\n }\n\n function calcTextareaHeight(targetElement) {\n var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n if (!hiddenTextarea) {\n hiddenTextarea = document.createElement('textarea');\n document.body.appendChild(hiddenTextarea);\n }\n\n var _calculateNodeStyling = calculateNodeStyling(targetElement),\n paddingSize = _calculateNodeStyling.paddingSize,\n borderSize = _calculateNodeStyling.borderSize,\n boxSizing = _calculateNodeStyling.boxSizing,\n contextStyle = _calculateNodeStyling.contextStyle;\n\n hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE);\n hiddenTextarea.value = targetElement.value || targetElement.placeholder || '';\n var height = hiddenTextarea.scrollHeight;\n var result = {};\n\n if (boxSizing === 'border-box') {\n height = height + borderSize;\n } else if (boxSizing === 'content-box') {\n height = height - paddingSize;\n }\n\n hiddenTextarea.value = '';\n var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;\n\n if (minRows !== null) {\n var minHeight = singleRowHeight * minRows;\n\n if (boxSizing === 'border-box') {\n minHeight = minHeight + paddingSize + borderSize;\n }\n\n height = Math.max(minHeight, height);\n result.minHeight = minHeight + 'px';\n }\n\n if (maxRows !== null) {\n var maxHeight = singleRowHeight * maxRows;\n\n if (boxSizing === 'border-box') {\n maxHeight = maxHeight + paddingSize + borderSize;\n }\n\n height = Math.min(maxHeight, height);\n }\n\n result.height = height + 'px';\n hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea);\n hiddenTextarea = null;\n return result;\n }\n\n ; // EXTERNAL MODULE: external \"element-ui/lib/utils/merge\"\n\n var merge_ = __webpack_require__(7);\n\n var merge_default =\n /*#__PURE__*/\n __webpack_require__.n(merge_); // EXTERNAL MODULE: external \"element-ui/lib/utils/shared\"\n\n\n var shared_ = __webpack_require__(19); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var inputvue_type_script_lang_js_ = {\n name: 'ElInput',\n componentName: 'ElInput',\n mixins: [emitter_default.a, migrating_default.a],\n inheritAttrs: false,\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n data: function data() {\n return {\n textareaCalcStyle: {},\n hovering: false,\n focused: false,\n isComposing: false,\n passwordVisible: false\n };\n },\n props: {\n value: [String, Number],\n size: String,\n resize: String,\n form: String,\n disabled: Boolean,\n readonly: Boolean,\n type: {\n type: String,\n \"default\": 'text'\n },\n autosize: {\n type: [Boolean, Object],\n \"default\": false\n },\n autocomplete: {\n type: String,\n \"default\": 'off'\n },\n\n /** @Deprecated in next major version */\n autoComplete: {\n type: String,\n validator: function validator(val) {\n false && false;\n return true;\n }\n },\n validateEvent: {\n type: Boolean,\n \"default\": true\n },\n suffixIcon: String,\n prefixIcon: String,\n label: String,\n clearable: {\n type: Boolean,\n \"default\": false\n },\n showPassword: {\n type: Boolean,\n \"default\": false\n },\n showWordLimit: {\n type: Boolean,\n \"default\": false\n },\n tabindex: String\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n validateState: function validateState() {\n return this.elFormItem ? this.elFormItem.validateState : '';\n },\n needStatusIcon: function needStatusIcon() {\n return this.elForm ? this.elForm.statusIcon : false;\n },\n validateIcon: function validateIcon() {\n return {\n validating: 'el-icon-loading',\n success: 'el-icon-circle-check',\n error: 'el-icon-circle-close'\n }[this.validateState];\n },\n textareaStyle: function textareaStyle() {\n return merge_default()({}, this.textareaCalcStyle, {\n resize: this.resize\n });\n },\n inputSize: function inputSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n inputDisabled: function inputDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n nativeInputValue: function nativeInputValue() {\n return this.value === null || this.value === undefined ? '' : String(this.value);\n },\n showClear: function showClear() {\n return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering);\n },\n showPwdVisible: function showPwdVisible() {\n return this.showPassword && !this.inputDisabled && !this.readonly && (!!this.nativeInputValue || this.focused);\n },\n isWordLimitVisible: function isWordLimitVisible() {\n return this.showWordLimit && this.$attrs.maxlength && (this.type === 'text' || this.type === 'textarea') && !this.inputDisabled && !this.readonly && !this.showPassword;\n },\n upperLimit: function upperLimit() {\n return this.$attrs.maxlength;\n },\n textLength: function textLength() {\n if (typeof this.value === 'number') {\n return String(this.value).length;\n }\n\n return (this.value || '').length;\n },\n inputExceed: function inputExceed() {\n // show exceed style if length of initial value greater then maxlength\n return this.isWordLimitVisible && this.textLength > this.upperLimit;\n }\n },\n watch: {\n value: function value(val) {\n this.$nextTick(this.resizeTextarea);\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', [val]);\n }\n },\n // native input value is set explicitly\n // do not use v-model / :value in template\n // see: https://github.com/ElemeFE/element/issues/14521\n nativeInputValue: function nativeInputValue() {\n this.setNativeInputValue();\n },\n // when change between <input> and <textarea>,\n // update DOM dependent value and styles\n // https://github.com/ElemeFE/element/issues/14857\n type: function type() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.setNativeInputValue();\n\n _this.resizeTextarea();\n\n _this.updateIconOffset();\n });\n }\n },\n methods: {\n focus: function focus() {\n this.getInput().focus();\n },\n blur: function blur() {\n this.getInput().blur();\n },\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'icon': 'icon is removed, use suffix-icon / prefix-icon instead.',\n 'on-icon-click': 'on-icon-click is removed.'\n },\n events: {\n 'click': 'click is removed.'\n }\n };\n },\n handleBlur: function handleBlur(event) {\n this.focused = false;\n this.$emit('blur', event);\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.blur', [this.value]);\n }\n },\n select: function select() {\n this.getInput().select();\n },\n resizeTextarea: function resizeTextarea() {\n if (this.$isServer) return;\n var autosize = this.autosize,\n type = this.type;\n if (type !== 'textarea') return;\n\n if (!autosize) {\n this.textareaCalcStyle = {\n minHeight: calcTextareaHeight(this.$refs.textarea).minHeight\n };\n return;\n }\n\n var minRows = autosize.minRows;\n var maxRows = autosize.maxRows;\n this.textareaCalcStyle = calcTextareaHeight(this.$refs.textarea, minRows, maxRows);\n },\n setNativeInputValue: function setNativeInputValue() {\n var input = this.getInput();\n if (!input) return;\n if (input.value === this.nativeInputValue) return;\n input.value = this.nativeInputValue;\n },\n handleFocus: function handleFocus(event) {\n this.focused = true;\n this.$emit('focus', event);\n },\n handleCompositionStart: function handleCompositionStart(event) {\n this.$emit('compositionstart', event);\n this.isComposing = true;\n },\n handleCompositionUpdate: function handleCompositionUpdate(event) {\n this.$emit('compositionupdate', event);\n var text = event.target.value;\n var lastCharacter = text[text.length - 1] || '';\n this.isComposing = !Object(shared_[\"isKorean\"])(lastCharacter);\n },\n handleCompositionEnd: function handleCompositionEnd(event) {\n this.$emit('compositionend', event);\n\n if (this.isComposing) {\n this.isComposing = false;\n this.handleInput(event);\n }\n },\n handleInput: function handleInput(event) {\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (this.isComposing) return; // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n\n if (event.target.value === this.nativeInputValue) return;\n this.$emit('input', event.target.value); // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n\n this.$nextTick(this.setNativeInputValue);\n },\n handleChange: function handleChange(event) {\n this.$emit('change', event.target.value);\n },\n calcIconOffset: function calcIconOffset(place) {\n var elList = [].slice.call(this.$el.querySelectorAll('.el-input__' + place) || []);\n if (!elList.length) return;\n var el = null;\n\n for (var i = 0; i < elList.length; i++) {\n if (elList[i].parentNode === this.$el) {\n el = elList[i];\n break;\n }\n }\n\n if (!el) return;\n var pendantMap = {\n suffix: 'append',\n prefix: 'prepend'\n };\n var pendant = pendantMap[place];\n\n if (this.$slots[pendant]) {\n el.style.transform = 'translateX(' + (place === 'suffix' ? '-' : '') + this.$el.querySelector('.el-input-group__' + pendant).offsetWidth + 'px)';\n } else {\n el.removeAttribute('style');\n }\n },\n updateIconOffset: function updateIconOffset() {\n this.calcIconOffset('prefix');\n this.calcIconOffset('suffix');\n },\n clear: function clear() {\n this.$emit('input', '');\n this.$emit('change', '');\n this.$emit('clear');\n },\n handlePasswordVisible: function handlePasswordVisible() {\n var _this2 = this;\n\n this.passwordVisible = !this.passwordVisible;\n this.$nextTick(function () {\n _this2.focus();\n });\n },\n getInput: function getInput() {\n return this.$refs.input || this.$refs.textarea;\n },\n getSuffixVisible: function getSuffixVisible() {\n return this.$slots.suffix || this.suffixIcon || this.showClear || this.showPassword || this.isWordLimitVisible || this.validateState && this.needStatusIcon;\n }\n },\n created: function created() {\n this.$on('inputSelect', this.select);\n },\n mounted: function mounted() {\n this.setNativeInputValue();\n this.resizeTextarea();\n this.updateIconOffset();\n },\n updated: function updated() {\n this.$nextTick(this.updateIconOffset);\n }\n }; // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_inputvue_type_script_lang_js_ = inputvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/input/src/input.vue\n\n /* normalize component */\n\n var input_component = normalizeComponent(src_inputvue_type_script_lang_js_, inputvue_type_template_id_343dd774_render, inputvue_type_template_id_343dd774_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var input_api;\n }\n\n input_component.options.__file = \"packages/input/src/input.vue\";\n /* harmony default export */\n\n var src_input = input_component.exports; // CONCATENATED MODULE: ./packages/input/index.js\n\n /* istanbul ignore next */\n\n src_input.install = function (Vue) {\n Vue.component(src_input.name, src_input);\n };\n /* harmony default export */\n\n\n var packages_input = src_input; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66&\n\n var input_numbervue_type_template_id_42f8cf66_render = function input_numbervue_type_template_id_42f8cf66_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [\"el-input-number\", _vm.inputNumberSize ? \"el-input-number--\" + _vm.inputNumberSize : \"\", {\n \"is-disabled\": _vm.inputNumberDisabled\n }, {\n \"is-without-controls\": !_vm.controls\n }, {\n \"is-controls-right\": _vm.controlsAtRight\n }],\n on: {\n dragstart: function dragstart($event) {\n $event.preventDefault();\n }\n }\n }, [_vm.controls ? _c(\"span\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.decrease,\n expression: \"decrease\"\n }],\n staticClass: \"el-input-number__decrease\",\n \"class\": {\n \"is-disabled\": _vm.minDisabled\n },\n attrs: {\n role: \"button\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.decrease($event);\n }\n }\n }, [_c(\"i\", {\n \"class\": \"el-icon-\" + (_vm.controlsAtRight ? \"arrow-down\" : \"minus\")\n })]) : _vm._e(), _vm.controls ? _c(\"span\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.increase,\n expression: \"increase\"\n }],\n staticClass: \"el-input-number__increase\",\n \"class\": {\n \"is-disabled\": _vm.maxDisabled\n },\n attrs: {\n role: \"button\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.increase($event);\n }\n }\n }, [_c(\"i\", {\n \"class\": \"el-icon-\" + (_vm.controlsAtRight ? \"arrow-up\" : \"premium\")\n })]) : _vm._e(), _c(\"el-input\", {\n ref: \"input\",\n attrs: {\n value: _vm.displayValue,\n placeholder: _vm.placeholder,\n disabled: _vm.inputNumberDisabled,\n size: _vm.inputNumberSize,\n max: _vm.max,\n min: _vm.min,\n name: _vm.name,\n label: _vm.label\n },\n on: {\n blur: _vm.handleBlur,\n focus: _vm.handleFocus,\n input: _vm.handleInput,\n change: _vm.handleInputChange\n },\n nativeOn: {\n keydown: [function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.increase($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.decrease($event);\n }]\n }\n })], 1);\n };\n\n var input_numbervue_type_template_id_42f8cf66_staticRenderFns = [];\n input_numbervue_type_template_id_42f8cf66_render._withStripped = true; // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66&\n // CONCATENATED MODULE: ./src/directives/repeat-click.js\n\n /* harmony default export */\n\n var repeat_click = {\n bind: function bind(el, binding, vnode) {\n var interval = null;\n var startTime = void 0;\n var maxIntervals = Object(util_[\"isMac\"])() ? 100 : 200;\n\n var handler = function handler() {\n return vnode.context[binding.expression].apply();\n };\n\n var clear = function clear() {\n if (Date.now() - startTime < maxIntervals) {\n handler();\n }\n\n clearInterval(interval);\n interval = null;\n };\n\n Object(dom_[\"on\"])(el, 'mousedown', function (e) {\n if (e.button !== 0) return;\n startTime = Date.now();\n Object(dom_[\"once\"])(document, 'mouseup', clear);\n clearInterval(interval);\n interval = setInterval(handler, maxIntervals);\n });\n }\n }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var input_numbervue_type_script_lang_js_ = {\n name: 'ElInputNumber',\n mixins: [focus_default()('input')],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n directives: {\n repeatClick: repeat_click\n },\n components: {\n ElInput: input_default.a\n },\n props: {\n step: {\n type: Number,\n \"default\": 1\n },\n stepStrictly: {\n type: Boolean,\n \"default\": false\n },\n max: {\n type: Number,\n \"default\": Infinity\n },\n min: {\n type: Number,\n \"default\": -Infinity\n },\n value: {},\n disabled: Boolean,\n size: String,\n controls: {\n type: Boolean,\n \"default\": true\n },\n controlsPosition: {\n type: String,\n \"default\": ''\n },\n name: String,\n label: String,\n placeholder: String,\n precision: {\n type: Number,\n validator: function validator(val) {\n return val >= 0 && val === parseInt(val, 10);\n }\n }\n },\n data: function data() {\n return {\n currentValue: 0,\n userInput: null\n };\n },\n watch: {\n value: {\n immediate: true,\n handler: function handler(value) {\n var newVal = value === undefined ? value : Number(value);\n\n if (newVal !== undefined) {\n if (isNaN(newVal)) {\n return;\n }\n\n if (this.stepStrictly) {\n var stepPrecision = this.getPrecision(this.step);\n var precisionFactor = Math.pow(10, stepPrecision);\n newVal = Math.round(newVal / this.step) * precisionFactor * this.step / precisionFactor;\n }\n\n if (this.precision !== undefined) {\n newVal = this.toPrecision(newVal, this.precision);\n }\n }\n\n if (newVal >= this.max) newVal = this.max;\n if (newVal <= this.min) newVal = this.min;\n this.currentValue = newVal;\n this.userInput = null;\n this.$emit('input', newVal);\n }\n }\n },\n computed: {\n minDisabled: function minDisabled() {\n return this._decrease(this.value, this.step) < this.min;\n },\n maxDisabled: function maxDisabled() {\n return this._increase(this.value, this.step) > this.max;\n },\n numPrecision: function numPrecision() {\n var value = this.value,\n step = this.step,\n getPrecision = this.getPrecision,\n precision = this.precision;\n var stepPrecision = getPrecision(step);\n\n if (precision !== undefined) {\n if (stepPrecision > precision) {\n console.warn('[Element Warn][InputNumber]precision should not be less than the decimal places of step');\n }\n\n return precision;\n } else {\n return Math.max(getPrecision(value), stepPrecision);\n }\n },\n controlsAtRight: function controlsAtRight() {\n return this.controls && this.controlsPosition === 'right';\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n inputNumberSize: function inputNumberSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n inputNumberDisabled: function inputNumberDisabled() {\n return this.disabled || !!(this.elForm || {}).disabled;\n },\n displayValue: function displayValue() {\n if (this.userInput !== null) {\n return this.userInput;\n }\n\n var currentValue = this.currentValue;\n\n if (typeof currentValue === 'number') {\n if (this.stepStrictly) {\n var stepPrecision = this.getPrecision(this.step);\n var precisionFactor = Math.pow(10, stepPrecision);\n currentValue = Math.round(currentValue / this.step) * precisionFactor * this.step / precisionFactor;\n }\n\n if (this.precision !== undefined) {\n currentValue = currentValue.toFixed(this.precision);\n }\n }\n\n return currentValue;\n }\n },\n methods: {\n toPrecision: function toPrecision(num, precision) {\n if (precision === undefined) precision = this.numPrecision;\n return parseFloat(Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision));\n },\n getPrecision: function getPrecision(value) {\n if (value === undefined) return 0;\n var valueString = value.toString();\n var dotPosition = valueString.indexOf('.');\n var precision = 0;\n\n if (dotPosition !== -1) {\n precision = valueString.length - dotPosition - 1;\n }\n\n return precision;\n },\n _increase: function _increase(val, step) {\n if (typeof val !== 'number' && val !== undefined) return this.currentValue;\n var precisionFactor = Math.pow(10, this.numPrecision); // Solve the accuracy problem of JS decimal calculation by converting the value to integer.\n\n return this.toPrecision((precisionFactor * val + precisionFactor * step) / precisionFactor);\n },\n _decrease: function _decrease(val, step) {\n if (typeof val !== 'number' && val !== undefined) return this.currentValue;\n var precisionFactor = Math.pow(10, this.numPrecision);\n return this.toPrecision((precisionFactor * val - precisionFactor * step) / precisionFactor);\n },\n increase: function increase() {\n if (this.inputNumberDisabled || this.maxDisabled) return;\n var value = this.value || 0;\n\n var newVal = this._increase(value, this.step);\n\n this.setCurrentValue(newVal);\n },\n decrease: function decrease() {\n if (this.inputNumberDisabled || this.minDisabled) return;\n var value = this.value || 0;\n\n var newVal = this._decrease(value, this.step);\n\n this.setCurrentValue(newVal);\n },\n handleBlur: function handleBlur(event) {\n this.$emit('blur', event);\n },\n handleFocus: function handleFocus(event) {\n this.$emit('focus', event);\n },\n setCurrentValue: function setCurrentValue(newVal) {\n var oldVal = this.currentValue;\n\n if (typeof newVal === 'number' && this.precision !== undefined) {\n newVal = this.toPrecision(newVal, this.precision);\n }\n\n if (newVal >= this.max) newVal = this.max;\n if (newVal <= this.min) newVal = this.min;\n if (oldVal === newVal) return;\n this.userInput = null;\n this.$emit('input', newVal);\n this.$emit('change', newVal, oldVal);\n this.currentValue = newVal;\n },\n handleInput: function handleInput(value) {\n this.userInput = value;\n },\n handleInputChange: function handleInputChange(value) {\n var newVal = value === '' ? undefined : Number(value);\n\n if (!isNaN(newVal) || value === '') {\n this.setCurrentValue(newVal);\n }\n\n this.userInput = null;\n },\n select: function select() {\n this.$refs.input.select();\n }\n },\n mounted: function mounted() {\n var innerInput = this.$refs.input.$refs.input;\n innerInput.setAttribute('role', 'spinbutton');\n innerInput.setAttribute('aria-valuemax', this.max);\n innerInput.setAttribute('aria-valuemin', this.min);\n innerInput.setAttribute('aria-valuenow', this.currentValue);\n innerInput.setAttribute('aria-disabled', this.inputNumberDisabled);\n },\n updated: function updated() {\n if (!this.$refs || !this.$refs.input) return;\n var innerInput = this.$refs.input.$refs.input;\n innerInput.setAttribute('aria-valuenow', this.currentValue);\n }\n }; // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_input_numbervue_type_script_lang_js_ = input_numbervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue\n\n /* normalize component */\n\n var input_number_component = normalizeComponent(src_input_numbervue_type_script_lang_js_, input_numbervue_type_template_id_42f8cf66_render, input_numbervue_type_template_id_42f8cf66_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var input_number_api;\n }\n\n input_number_component.options.__file = \"packages/input-number/src/input-number.vue\";\n /* harmony default export */\n\n var input_number = input_number_component.exports; // CONCATENATED MODULE: ./packages/input-number/index.js\n\n /* istanbul ignore next */\n\n input_number.install = function (Vue) {\n Vue.component(input_number.name, input_number);\n };\n /* harmony default export */\n\n\n var packages_input_number = input_number; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio.vue?vue&type=template&id=69cd6268&\n\n var radiovue_type_template_id_69cd6268_render = function radiovue_type_template_id_69cd6268_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"label\", {\n staticClass: \"el-radio\",\n \"class\": [_vm.border && _vm.radioSize ? \"el-radio--\" + _vm.radioSize : \"\", {\n \"is-disabled\": _vm.isDisabled\n }, {\n \"is-focus\": _vm.focus\n }, {\n \"is-bordered\": _vm.border\n }, {\n \"is-checked\": _vm.model === _vm.label\n }],\n attrs: {\n role: \"radio\",\n \"aria-checked\": _vm.model === _vm.label,\n \"aria-disabled\": _vm.isDisabled,\n tabindex: _vm.tabIndex\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"space\", 32, $event.key, [\" \", \"Spacebar\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.model = _vm.isDisabled ? _vm.model : _vm.label;\n }\n }\n }, [_c(\"span\", {\n staticClass: \"el-radio__input\",\n \"class\": {\n \"is-disabled\": _vm.isDisabled,\n \"is-checked\": _vm.model === _vm.label\n }\n }, [_c(\"span\", {\n staticClass: \"el-radio__inner\"\n }), _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n ref: \"radio\",\n staticClass: \"el-radio__original\",\n attrs: {\n type: \"radio\",\n \"aria-hidden\": \"true\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n tabindex: \"-1\",\n autocomplete: \"off\"\n },\n domProps: {\n value: _vm.label,\n checked: _vm._q(_vm.model, _vm.label)\n },\n on: {\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n },\n change: [function ($event) {\n _vm.model = _vm.label;\n }, _vm.handleChange]\n }\n })]), _c(\"span\", {\n staticClass: \"el-radio__label\",\n on: {\n keydown: function keydown($event) {\n $event.stopPropagation();\n }\n }\n }, [_vm._t(\"default\"), !_vm.$slots[\"default\"] ? [_vm._v(_vm._s(_vm.label))] : _vm._e()], 2)]);\n };\n\n var radiovue_type_template_id_69cd6268_staticRenderFns = [];\n radiovue_type_template_id_69cd6268_render._withStripped = true; // CONCATENATED MODULE: ./packages/radio/src/radio.vue?vue&type=template&id=69cd6268&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var radiovue_type_script_lang_js_ = {\n name: 'ElRadio',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n componentName: 'ElRadio',\n props: {\n value: {},\n label: {},\n disabled: Boolean,\n name: String,\n border: Boolean,\n size: String\n },\n data: function data() {\n return {\n focus: false\n };\n },\n computed: {\n isGroup: function isGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElRadioGroup') {\n parent = parent.$parent;\n } else {\n this._radioGroup = parent;\n return true;\n }\n }\n\n return false;\n },\n model: {\n get: function get() {\n return this.isGroup ? this._radioGroup.value : this.value;\n },\n set: function set(val) {\n if (this.isGroup) {\n this.dispatch('ElRadioGroup', 'input', [val]);\n } else {\n this.$emit('input', val);\n }\n\n this.$refs.radio && (this.$refs.radio.checked = this.model === this.label);\n }\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n radioSize: function radioSize() {\n var temRadioSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n return this.isGroup ? this._radioGroup.radioGroupSize || temRadioSize : temRadioSize;\n },\n isDisabled: function isDisabled() {\n return this.isGroup ? this._radioGroup.disabled || this.disabled || (this.elForm || {}).disabled : this.disabled || (this.elForm || {}).disabled;\n },\n tabIndex: function tabIndex() {\n return this.isDisabled || this.isGroup && this.model !== this.label ? -1 : 0;\n }\n },\n methods: {\n handleChange: function handleChange() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.$emit('change', _this.model);\n\n _this.isGroup && _this.dispatch('ElRadioGroup', 'handleChange', _this.model);\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/radio/src/radio.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_radiovue_type_script_lang_js_ = radiovue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/radio/src/radio.vue\n\n /* normalize component */\n\n var radio_component = normalizeComponent(src_radiovue_type_script_lang_js_, radiovue_type_template_id_69cd6268_render, radiovue_type_template_id_69cd6268_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var radio_api;\n }\n\n radio_component.options.__file = \"packages/radio/src/radio.vue\";\n /* harmony default export */\n\n var src_radio = radio_component.exports; // CONCATENATED MODULE: ./packages/radio/index.js\n\n /* istanbul ignore next */\n\n src_radio.install = function (Vue) {\n Vue.component(src_radio.name, src_radio);\n };\n /* harmony default export */\n\n\n var packages_radio = src_radio; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-group.vue?vue&type=template&id=818a704c&\n\n var radio_groupvue_type_template_id_818a704c_render = function radio_groupvue_type_template_id_818a704c_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(_vm._elTag, {\n tag: \"component\",\n staticClass: \"el-radio-group\",\n attrs: {\n role: \"radiogroup\"\n },\n on: {\n keydown: _vm.handleKeydown\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var radio_groupvue_type_template_id_818a704c_staticRenderFns = [];\n radio_groupvue_type_template_id_818a704c_render._withStripped = true; // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue?vue&type=template&id=818a704c&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-group.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var keyCode = Object.freeze({\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40\n });\n /* harmony default export */\n\n var radio_groupvue_type_script_lang_js_ = {\n name: 'ElRadioGroup',\n componentName: 'ElRadioGroup',\n inject: {\n elFormItem: {\n \"default\": ''\n }\n },\n mixins: [emitter_default.a],\n props: {\n value: {},\n size: String,\n fill: String,\n textColor: String,\n disabled: Boolean\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n _elTag: function _elTag() {\n var tag = (this.$vnode.data || {}).tag;\n if (!tag || tag === 'component') tag = 'div';\n return tag;\n },\n radioGroupSize: function radioGroupSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n }\n },\n created: function created() {\n var _this = this;\n\n this.$on('handleChange', function (value) {\n _this.$emit('change', value);\n });\n },\n mounted: function mounted() {\n // 当radioGroup没有默认选项时,第一个å¯ä»¥é€‰ä¸Tab导航\n var radios = this.$el.querySelectorAll('[type=radio]');\n var firstLabel = this.$el.querySelectorAll('[role=radio]')[0];\n\n if (![].some.call(radios, function (radio) {\n return radio.checked;\n }) && firstLabel) {\n firstLabel.tabIndex = 0;\n }\n },\n methods: {\n handleKeydown: function handleKeydown(e) {\n // å·¦å³ä¸Šä¸‹æŒ‰é”® å¯ä»¥åœ¨radio组内切æ¢ä¸åŒé€‰é¡¹\n var target = e.target;\n var className = target.nodeName === 'INPUT' ? '[type=radio]' : '[role=radio]';\n var radios = this.$el.querySelectorAll(className);\n var length = radios.length;\n var index = [].indexOf.call(radios, target);\n var roleRadios = this.$el.querySelectorAll('[role=radio]');\n\n switch (e.keyCode) {\n case keyCode.LEFT:\n case keyCode.UP:\n e.stopPropagation();\n e.preventDefault();\n\n if (index === 0) {\n roleRadios[length - 1].click();\n roleRadios[length - 1].focus();\n } else {\n roleRadios[index - 1].click();\n roleRadios[index - 1].focus();\n }\n\n break;\n\n case keyCode.RIGHT:\n case keyCode.DOWN:\n if (index === length - 1) {\n e.stopPropagation();\n e.preventDefault();\n roleRadios[0].click();\n roleRadios[0].focus();\n } else {\n roleRadios[index + 1].click();\n roleRadios[index + 1].focus();\n }\n\n break;\n\n default:\n break;\n }\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', [this.value]);\n }\n }\n }; // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_radio_groupvue_type_script_lang_js_ = radio_groupvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/radio/src/radio-group.vue\n\n /* normalize component */\n\n var radio_group_component = normalizeComponent(src_radio_groupvue_type_script_lang_js_, radio_groupvue_type_template_id_818a704c_render, radio_groupvue_type_template_id_818a704c_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var radio_group_api;\n }\n\n radio_group_component.options.__file = \"packages/radio/src/radio-group.vue\";\n /* harmony default export */\n\n var radio_group = radio_group_component.exports; // CONCATENATED MODULE: ./packages/radio-group/index.js\n\n /* istanbul ignore next */\n\n radio_group.install = function (Vue) {\n Vue.component(radio_group.name, radio_group);\n };\n /* harmony default export */\n\n\n var packages_radio_group = radio_group; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-button.vue?vue&type=template&id=18a77a32&\n\n var radio_buttonvue_type_template_id_18a77a32_render = function radio_buttonvue_type_template_id_18a77a32_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"label\", {\n staticClass: \"el-radio-button\",\n \"class\": [_vm.size ? \"el-radio-button--\" + _vm.size : \"\", {\n \"is-active\": _vm.value === _vm.label\n }, {\n \"is-disabled\": _vm.isDisabled\n }, {\n \"is-focus\": _vm.focus\n }],\n attrs: {\n role: \"radio\",\n \"aria-checked\": _vm.value === _vm.label,\n \"aria-disabled\": _vm.isDisabled,\n tabindex: _vm.tabIndex\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"space\", 32, $event.key, [\" \", \"Spacebar\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.value = _vm.isDisabled ? _vm.value : _vm.label;\n }\n }\n }, [_c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.value,\n expression: \"value\"\n }],\n staticClass: \"el-radio-button__orig-radio\",\n attrs: {\n type: \"radio\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n tabindex: \"-1\",\n autocomplete: \"off\"\n },\n domProps: {\n value: _vm.label,\n checked: _vm._q(_vm.value, _vm.label)\n },\n on: {\n change: [function ($event) {\n _vm.value = _vm.label;\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n }), _c(\"span\", {\n staticClass: \"el-radio-button__inner\",\n style: _vm.value === _vm.label ? _vm.activeStyle : null,\n on: {\n keydown: function keydown($event) {\n $event.stopPropagation();\n }\n }\n }, [_vm._t(\"default\"), !_vm.$slots[\"default\"] ? [_vm._v(_vm._s(_vm.label))] : _vm._e()], 2)]);\n };\n\n var radio_buttonvue_type_template_id_18a77a32_staticRenderFns = [];\n radio_buttonvue_type_template_id_18a77a32_render._withStripped = true; // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue?vue&type=template&id=18a77a32&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio-button.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var radio_buttonvue_type_script_lang_js_ = {\n name: 'ElRadioButton',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n label: {},\n disabled: Boolean,\n name: String\n },\n data: function data() {\n return {\n focus: false\n };\n },\n computed: {\n value: {\n get: function get() {\n return this._radioGroup.value;\n },\n set: function set(value) {\n this._radioGroup.$emit('input', value);\n }\n },\n _radioGroup: function _radioGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElRadioGroup') {\n parent = parent.$parent;\n } else {\n return parent;\n }\n }\n\n return false;\n },\n activeStyle: function activeStyle() {\n return {\n backgroundColor: this._radioGroup.fill || '',\n borderColor: this._radioGroup.fill || '',\n boxShadow: this._radioGroup.fill ? '-1px 0 0 0 ' + this._radioGroup.fill : '',\n color: this._radioGroup.textColor || ''\n };\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n size: function size() {\n return this._radioGroup.radioGroupSize || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n isDisabled: function isDisabled() {\n return this.disabled || this._radioGroup.disabled || (this.elForm || {}).disabled;\n },\n tabIndex: function tabIndex() {\n return this.isDisabled || this._radioGroup && this.value !== this.label ? -1 : 0;\n }\n },\n methods: {\n handleChange: function handleChange() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.dispatch('ElRadioGroup', 'handleChange', _this.value);\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_radio_buttonvue_type_script_lang_js_ = radio_buttonvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/radio/src/radio-button.vue\n\n /* normalize component */\n\n var radio_button_component = normalizeComponent(src_radio_buttonvue_type_script_lang_js_, radio_buttonvue_type_template_id_18a77a32_render, radio_buttonvue_type_template_id_18a77a32_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var radio_button_api;\n }\n\n radio_button_component.options.__file = \"packages/radio/src/radio-button.vue\";\n /* harmony default export */\n\n var radio_button = radio_button_component.exports; // CONCATENATED MODULE: ./packages/radio-button/index.js\n\n /* istanbul ignore next */\n\n radio_button.install = function (Vue) {\n Vue.component(radio_button.name, radio_button);\n };\n /* harmony default export */\n\n\n var packages_radio_button = radio_button; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074&\n\n var checkboxvue_type_template_id_d0387074_render = function checkboxvue_type_template_id_d0387074_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"label\", {\n staticClass: \"el-checkbox\",\n \"class\": [_vm.border && _vm.checkboxSize ? \"el-checkbox--\" + _vm.checkboxSize : \"\", {\n \"is-disabled\": _vm.isDisabled\n }, {\n \"is-bordered\": _vm.border\n }, {\n \"is-checked\": _vm.isChecked\n }],\n attrs: {\n id: _vm.id\n }\n }, [_c(\"span\", {\n staticClass: \"el-checkbox__input\",\n \"class\": {\n \"is-disabled\": _vm.isDisabled,\n \"is-checked\": _vm.isChecked,\n \"is-indeterminate\": _vm.indeterminate,\n \"is-focus\": _vm.focus\n },\n attrs: {\n tabindex: _vm.indeterminate ? 0 : false,\n role: _vm.indeterminate ? \"checkbox\" : false,\n \"aria-checked\": _vm.indeterminate ? \"mixed\" : false\n }\n }, [_c(\"span\", {\n staticClass: \"el-checkbox__inner\"\n }), _vm.trueLabel || _vm.falseLabel ? _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n staticClass: \"el-checkbox__original\",\n attrs: {\n type: \"checkbox\",\n \"aria-hidden\": _vm.indeterminate ? \"true\" : \"false\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n \"true-value\": _vm.trueLabel,\n \"false-value\": _vm.falseLabel\n },\n domProps: {\n checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, null) > -1 : _vm._q(_vm.model, _vm.trueLabel)\n },\n on: {\n change: [function ($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel;\n\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.model = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.model = $$c;\n }\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n }) : _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n staticClass: \"el-checkbox__original\",\n attrs: {\n type: \"checkbox\",\n \"aria-hidden\": _vm.indeterminate ? \"true\" : \"false\",\n disabled: _vm.isDisabled,\n name: _vm.name\n },\n domProps: {\n value: _vm.label,\n checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, _vm.label) > -1 : _vm.model\n },\n on: {\n change: [function ($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? true : false;\n\n if (Array.isArray($$a)) {\n var $$v = _vm.label,\n $$i = _vm._i($$a, $$v);\n\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.model = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.model = $$c;\n }\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n })]), _vm.$slots[\"default\"] || _vm.label ? _c(\"span\", {\n staticClass: \"el-checkbox__label\"\n }, [_vm._t(\"default\"), !_vm.$slots[\"default\"] ? [_vm._v(_vm._s(_vm.label))] : _vm._e()], 2) : _vm._e()]);\n };\n\n var checkboxvue_type_template_id_d0387074_staticRenderFns = [];\n checkboxvue_type_template_id_d0387074_render._withStripped = true; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var checkboxvue_type_script_lang_js_ = {\n name: 'ElCheckbox',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n componentName: 'ElCheckbox',\n data: function data() {\n return {\n selfModel: false,\n focus: false,\n isLimitExceeded: false\n };\n },\n computed: {\n model: {\n get: function get() {\n return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel;\n },\n set: function set(val) {\n if (this.isGroup) {\n this.isLimitExceeded = false;\n this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true);\n this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true);\n this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]);\n } else {\n this.$emit('input', val);\n this.selfModel = val;\n }\n }\n },\n isChecked: function isChecked() {\n if ({}.toString.call(this.model) === '[object Boolean]') {\n return this.model;\n } else if (Array.isArray(this.model)) {\n return this.model.indexOf(this.label) > -1;\n } else if (this.model !== null && this.model !== undefined) {\n return this.model === this.trueLabel;\n }\n },\n isGroup: function isGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElCheckboxGroup') {\n parent = parent.$parent;\n } else {\n this._checkboxGroup = parent;\n return true;\n }\n }\n\n return false;\n },\n store: function store() {\n return this._checkboxGroup ? this._checkboxGroup.value : this.value;\n },\n\n /* used to make the isDisabled judgment under max/min props */\n isLimitDisabled: function isLimitDisabled() {\n var _checkboxGroup = this._checkboxGroup,\n max = _checkboxGroup.max,\n min = _checkboxGroup.min;\n return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked;\n },\n isDisabled: function isDisabled() {\n return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled;\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxSize: function checkboxSize() {\n var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize;\n }\n },\n props: {\n value: {},\n label: {},\n indeterminate: Boolean,\n disabled: Boolean,\n checked: Boolean,\n name: String,\n trueLabel: [String, Number],\n falseLabel: [String, Number],\n id: String,\n\n /* 当indeterminate为真时,为controlsæ供相关连的checkboxçš„idï¼Œè¡¨æ˜Žå…ƒç´ é—´çš„æŽ§åˆ¶å…³ç³»*/\n controls: String,\n\n /* 当indeterminate为真时,为controlsæ供相关连的checkboxçš„idï¼Œè¡¨æ˜Žå…ƒç´ é—´çš„æŽ§åˆ¶å…³ç³»*/\n border: Boolean,\n size: String\n },\n methods: {\n addToStore: function addToStore() {\n if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) {\n this.model.push(this.label);\n } else {\n this.model = this.trueLabel || true;\n }\n },\n handleChange: function handleChange(ev) {\n var _this = this;\n\n if (this.isLimitExceeded) return;\n var value = void 0;\n\n if (ev.target.checked) {\n value = this.trueLabel === undefined ? true : this.trueLabel;\n } else {\n value = this.falseLabel === undefined ? false : this.falseLabel;\n }\n\n this.$emit('change', value, ev);\n this.$nextTick(function () {\n if (_this.isGroup) {\n _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]);\n }\n });\n }\n },\n created: function created() {\n this.checked && this.addToStore();\n },\n mounted: function mounted() {\n // 为indeterminateå…ƒç´ æ·»åŠ aria-controls 属性\n if (this.indeterminate) {\n this.$el.setAttribute('aria-controls', this.controls);\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', _value);\n }\n }\n }; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_checkboxvue_type_script_lang_js_ = checkboxvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue\n\n /* normalize component */\n\n var checkbox_component = normalizeComponent(src_checkboxvue_type_script_lang_js_, checkboxvue_type_template_id_d0387074_render, checkboxvue_type_template_id_d0387074_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var checkbox_api;\n }\n\n checkbox_component.options.__file = \"packages/checkbox/src/checkbox.vue\";\n /* harmony default export */\n\n var src_checkbox = checkbox_component.exports; // CONCATENATED MODULE: ./packages/checkbox/index.js\n\n /* istanbul ignore next */\n\n src_checkbox.install = function (Vue) {\n Vue.component(src_checkbox.name, src_checkbox);\n };\n /* harmony default export */\n\n\n var packages_checkbox = src_checkbox; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-button.vue?vue&type=template&id=478e906e&\n\n var checkbox_buttonvue_type_template_id_478e906e_render = function checkbox_buttonvue_type_template_id_478e906e_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"label\", {\n staticClass: \"el-checkbox-button\",\n \"class\": [_vm.size ? \"el-checkbox-button--\" + _vm.size : \"\", {\n \"is-disabled\": _vm.isDisabled\n }, {\n \"is-checked\": _vm.isChecked\n }, {\n \"is-focus\": _vm.focus\n }],\n attrs: {\n role: \"checkbox\",\n \"aria-checked\": _vm.isChecked,\n \"aria-disabled\": _vm.isDisabled\n }\n }, [_vm.trueLabel || _vm.falseLabel ? _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n staticClass: \"el-checkbox-button__original\",\n attrs: {\n type: \"checkbox\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n \"true-value\": _vm.trueLabel,\n \"false-value\": _vm.falseLabel\n },\n domProps: {\n checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, null) > -1 : _vm._q(_vm.model, _vm.trueLabel)\n },\n on: {\n change: [function ($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel;\n\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.model = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.model = $$c;\n }\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n }) : _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n staticClass: \"el-checkbox-button__original\",\n attrs: {\n type: \"checkbox\",\n name: _vm.name,\n disabled: _vm.isDisabled\n },\n domProps: {\n value: _vm.label,\n checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, _vm.label) > -1 : _vm.model\n },\n on: {\n change: [function ($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? true : false;\n\n if (Array.isArray($$a)) {\n var $$v = _vm.label,\n $$i = _vm._i($$a, $$v);\n\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.model = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.model = $$c;\n }\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n }), _vm.$slots[\"default\"] || _vm.label ? _c(\"span\", {\n staticClass: \"el-checkbox-button__inner\",\n style: _vm.isChecked ? _vm.activeStyle : null\n }, [_vm._t(\"default\", [_vm._v(_vm._s(_vm.label))])], 2) : _vm._e()]);\n };\n\n var checkbox_buttonvue_type_template_id_478e906e_staticRenderFns = [];\n checkbox_buttonvue_type_template_id_478e906e_render._withStripped = true; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue?vue&type=template&id=478e906e&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-button.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var checkbox_buttonvue_type_script_lang_js_ = {\n name: 'ElCheckboxButton',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n data: function data() {\n return {\n selfModel: false,\n focus: false,\n isLimitExceeded: false\n };\n },\n props: {\n value: {},\n label: {},\n disabled: Boolean,\n checked: Boolean,\n name: String,\n trueLabel: [String, Number],\n falseLabel: [String, Number]\n },\n computed: {\n model: {\n get: function get() {\n return this._checkboxGroup ? this.store : this.value !== undefined ? this.value : this.selfModel;\n },\n set: function set(val) {\n if (this._checkboxGroup) {\n this.isLimitExceeded = false;\n this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true);\n this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true);\n this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]);\n } else if (this.value !== undefined) {\n this.$emit('input', val);\n } else {\n this.selfModel = val;\n }\n }\n },\n isChecked: function isChecked() {\n if ({}.toString.call(this.model) === '[object Boolean]') {\n return this.model;\n } else if (Array.isArray(this.model)) {\n return this.model.indexOf(this.label) > -1;\n } else if (this.model !== null && this.model !== undefined) {\n return this.model === this.trueLabel;\n }\n },\n _checkboxGroup: function _checkboxGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElCheckboxGroup') {\n parent = parent.$parent;\n } else {\n return parent;\n }\n }\n\n return false;\n },\n store: function store() {\n return this._checkboxGroup ? this._checkboxGroup.value : this.value;\n },\n activeStyle: function activeStyle() {\n return {\n backgroundColor: this._checkboxGroup.fill || '',\n borderColor: this._checkboxGroup.fill || '',\n color: this._checkboxGroup.textColor || '',\n 'box-shadow': '-1px 0 0 0 ' + this._checkboxGroup.fill\n };\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n size: function size() {\n return this._checkboxGroup.checkboxGroupSize || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n\n /* used to make the isDisabled judgment under max/min props */\n isLimitDisabled: function isLimitDisabled() {\n var _checkboxGroup2 = this._checkboxGroup,\n max = _checkboxGroup2.max,\n min = _checkboxGroup2.min;\n return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked;\n },\n isDisabled: function isDisabled() {\n return this._checkboxGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled;\n }\n },\n methods: {\n addToStore: function addToStore() {\n if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) {\n this.model.push(this.label);\n } else {\n this.model = this.trueLabel || true;\n }\n },\n handleChange: function handleChange(ev) {\n var _this = this;\n\n if (this.isLimitExceeded) return;\n var value = void 0;\n\n if (ev.target.checked) {\n value = this.trueLabel === undefined ? true : this.trueLabel;\n } else {\n value = this.falseLabel === undefined ? false : this.falseLabel;\n }\n\n this.$emit('change', value, ev);\n this.$nextTick(function () {\n if (_this._checkboxGroup) {\n _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]);\n }\n });\n }\n },\n created: function created() {\n this.checked && this.addToStore();\n }\n }; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_checkbox_buttonvue_type_script_lang_js_ = checkbox_buttonvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue\n\n /* normalize component */\n\n var checkbox_button_component = normalizeComponent(src_checkbox_buttonvue_type_script_lang_js_, checkbox_buttonvue_type_template_id_478e906e_render, checkbox_buttonvue_type_template_id_478e906e_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var checkbox_button_api;\n }\n\n checkbox_button_component.options.__file = \"packages/checkbox/src/checkbox-button.vue\";\n /* harmony default export */\n\n var checkbox_button = checkbox_button_component.exports; // CONCATENATED MODULE: ./packages/checkbox-button/index.js\n\n /* istanbul ignore next */\n\n checkbox_button.install = function (Vue) {\n Vue.component(checkbox_button.name, checkbox_button);\n };\n /* harmony default export */\n\n\n var packages_checkbox_button = checkbox_button; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&\n\n var checkbox_groupvue_type_template_id_7289a290_render = function checkbox_groupvue_type_template_id_7289a290_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-checkbox-group\",\n attrs: {\n role: \"group\",\n \"aria-label\": \"checkbox-group\"\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var checkbox_groupvue_type_template_id_7289a290_staticRenderFns = [];\n checkbox_groupvue_type_template_id_7289a290_render._withStripped = true; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var checkbox_groupvue_type_script_lang_js_ = {\n name: 'ElCheckboxGroup',\n componentName: 'ElCheckboxGroup',\n mixins: [emitter_default.a],\n inject: {\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n value: {},\n disabled: Boolean,\n min: Number,\n max: Number,\n size: String,\n fill: String,\n textColor: String\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxGroupSize: function checkboxGroupSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', [_value]);\n }\n }\n }; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_checkbox_groupvue_type_script_lang_js_ = checkbox_groupvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue\n\n /* normalize component */\n\n var checkbox_group_component = normalizeComponent(src_checkbox_groupvue_type_script_lang_js_, checkbox_groupvue_type_template_id_7289a290_render, checkbox_groupvue_type_template_id_7289a290_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var checkbox_group_api;\n }\n\n checkbox_group_component.options.__file = \"packages/checkbox/src/checkbox-group.vue\";\n /* harmony default export */\n\n var checkbox_group = checkbox_group_component.exports; // CONCATENATED MODULE: ./packages/checkbox-group/index.js\n\n /* istanbul ignore next */\n\n checkbox_group.install = function (Vue) {\n Vue.component(checkbox_group.name, checkbox_group);\n };\n /* harmony default export */\n\n\n var packages_checkbox_group = checkbox_group; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/switch/src/component.vue?vue&type=template&id=2dcd8fbb&\n\n var componentvue_type_template_id_2dcd8fbb_render = function componentvue_type_template_id_2dcd8fbb_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-switch\",\n \"class\": {\n \"is-disabled\": _vm.switchDisabled,\n \"is-checked\": _vm.checked\n },\n attrs: {\n role: \"switch\",\n \"aria-checked\": _vm.checked,\n \"aria-disabled\": _vm.switchDisabled\n },\n on: {\n click: function click($event) {\n $event.preventDefault();\n return _vm.switchValue($event);\n }\n }\n }, [_c(\"input\", {\n ref: \"input\",\n staticClass: \"el-switch__input\",\n attrs: {\n type: \"checkbox\",\n id: _vm.id,\n name: _vm.name,\n \"true-value\": _vm.activeValue,\n \"false-value\": _vm.inactiveValue,\n disabled: _vm.switchDisabled\n },\n on: {\n change: _vm.handleChange,\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.switchValue($event);\n }\n }\n }), _vm.inactiveIconClass || _vm.inactiveText ? _c(\"span\", {\n \"class\": [\"el-switch__label\", \"el-switch__label--left\", !_vm.checked ? \"is-active\" : \"\"]\n }, [_vm.inactiveIconClass ? _c(\"i\", {\n \"class\": [_vm.inactiveIconClass]\n }) : _vm._e(), !_vm.inactiveIconClass && _vm.inactiveText ? _c(\"span\", {\n attrs: {\n \"aria-hidden\": _vm.checked\n }\n }, [_vm._v(_vm._s(_vm.inactiveText))]) : _vm._e()]) : _vm._e(), _c(\"span\", {\n ref: \"core\",\n staticClass: \"el-switch__core\",\n style: {\n width: _vm.coreWidth + \"px\"\n }\n }), _vm.activeIconClass || _vm.activeText ? _c(\"span\", {\n \"class\": [\"el-switch__label\", \"el-switch__label--right\", _vm.checked ? \"is-active\" : \"\"]\n }, [_vm.activeIconClass ? _c(\"i\", {\n \"class\": [_vm.activeIconClass]\n }) : _vm._e(), !_vm.activeIconClass && _vm.activeText ? _c(\"span\", {\n attrs: {\n \"aria-hidden\": !_vm.checked\n }\n }, [_vm._v(_vm._s(_vm.activeText))]) : _vm._e()]) : _vm._e()]);\n };\n\n var componentvue_type_template_id_2dcd8fbb_staticRenderFns = [];\n componentvue_type_template_id_2dcd8fbb_render._withStripped = true; // CONCATENATED MODULE: ./packages/switch/src/component.vue?vue&type=template&id=2dcd8fbb&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/switch/src/component.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var switch_src_componentvue_type_script_lang_js_ = {\n name: 'ElSwitch',\n mixins: [focus_default()('input'), migrating_default.a, emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n }\n },\n props: {\n value: {\n type: [Boolean, String, Number],\n \"default\": false\n },\n disabled: {\n type: Boolean,\n \"default\": false\n },\n width: {\n type: Number,\n \"default\": 40\n },\n activeIconClass: {\n type: String,\n \"default\": ''\n },\n inactiveIconClass: {\n type: String,\n \"default\": ''\n },\n activeText: String,\n inactiveText: String,\n activeColor: {\n type: String,\n \"default\": ''\n },\n inactiveColor: {\n type: String,\n \"default\": ''\n },\n activeValue: {\n type: [Boolean, String, Number],\n \"default\": true\n },\n inactiveValue: {\n type: [Boolean, String, Number],\n \"default\": false\n },\n name: {\n type: String,\n \"default\": ''\n },\n validateEvent: {\n type: Boolean,\n \"default\": true\n },\n id: String\n },\n data: function data() {\n return {\n coreWidth: this.width\n };\n },\n created: function created() {\n if (!~[this.activeValue, this.inactiveValue].indexOf(this.value)) {\n this.$emit('input', this.inactiveValue);\n }\n },\n computed: {\n checked: function checked() {\n return this.value === this.activeValue;\n },\n switchDisabled: function switchDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n }\n },\n watch: {\n checked: function checked() {\n this.$refs.input.checked = this.checked;\n\n if (this.activeColor || this.inactiveColor) {\n this.setBackgroundColor();\n }\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', [this.value]);\n }\n }\n },\n methods: {\n handleChange: function handleChange(event) {\n var _this = this;\n\n var val = this.checked ? this.inactiveValue : this.activeValue;\n this.$emit('input', val);\n this.$emit('change', val);\n this.$nextTick(function () {\n // set input's checked property\n // in case parent refuses to change component's value\n if (_this.$refs.input) {\n _this.$refs.input.checked = _this.checked;\n }\n });\n },\n setBackgroundColor: function setBackgroundColor() {\n var newColor = this.checked ? this.activeColor : this.inactiveColor;\n this.$refs.core.style.borderColor = newColor;\n this.$refs.core.style.backgroundColor = newColor;\n },\n switchValue: function switchValue() {\n !this.switchDisabled && this.handleChange();\n },\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'on-color': 'on-color is renamed to active-color.',\n 'off-color': 'off-color is renamed to inactive-color.',\n 'on-text': 'on-text is renamed to active-text.',\n 'off-text': 'off-text is renamed to inactive-text.',\n 'on-value': 'on-value is renamed to active-value.',\n 'off-value': 'off-value is renamed to inactive-value.',\n 'on-icon-class': 'on-icon-class is renamed to active-icon-class.',\n 'off-icon-class': 'off-icon-class is renamed to inactive-icon-class.'\n }\n };\n }\n },\n mounted: function mounted() {\n /* istanbul ignore if */\n this.coreWidth = this.width || 40;\n\n if (this.activeColor || this.inactiveColor) {\n this.setBackgroundColor();\n }\n\n this.$refs.input.checked = this.checked;\n }\n }; // CONCATENATED MODULE: ./packages/switch/src/component.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_switch_src_componentvue_type_script_lang_js_ = switch_src_componentvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/switch/src/component.vue\n\n /* normalize component */\n\n var src_component_component = normalizeComponent(packages_switch_src_componentvue_type_script_lang_js_, componentvue_type_template_id_2dcd8fbb_render, componentvue_type_template_id_2dcd8fbb_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var src_component_api;\n }\n\n src_component_component.options.__file = \"packages/switch/src/component.vue\";\n /* harmony default export */\n\n var switch_src_component = src_component_component.exports; // CONCATENATED MODULE: ./packages/switch/index.js\n\n /* istanbul ignore next */\n\n switch_src_component.install = function (Vue) {\n Vue.component(switch_src_component.name, switch_src_component);\n };\n /* harmony default export */\n\n\n var packages_switch = switch_src_component; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=template&id=0e4aade6&\n\n var selectvue_type_template_id_0e4aade6_render = function selectvue_type_template_id_0e4aade6_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleClose,\n expression: \"handleClose\"\n }],\n staticClass: \"el-select\",\n \"class\": [_vm.selectSize ? \"el-select--\" + _vm.selectSize : \"\"],\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.toggleMenu($event);\n }\n }\n }, [_vm.multiple ? _c(\"div\", {\n ref: \"tags\",\n staticClass: \"el-select__tags\",\n style: {\n \"max-width\": _vm.inputWidth - 32 + \"px\",\n width: \"100%\"\n }\n }, [_vm.collapseTags && _vm.selected.length ? _c(\"span\", [_c(\"el-tag\", {\n attrs: {\n closable: !_vm.selectDisabled,\n size: _vm.collapseTagSize,\n hit: _vm.selected[0].hitState,\n type: \"info\",\n \"disable-transitions\": \"\"\n },\n on: {\n close: function close($event) {\n _vm.deleteTag($event, _vm.selected[0]);\n }\n }\n }, [_c(\"span\", {\n staticClass: \"el-select__tags-text\"\n }, [_vm._v(_vm._s(_vm.selected[0].currentLabel))])]), _vm.selected.length > 1 ? _c(\"el-tag\", {\n attrs: {\n closable: false,\n size: _vm.collapseTagSize,\n type: \"info\",\n \"disable-transitions\": \"\"\n }\n }, [_c(\"span\", {\n staticClass: \"el-select__tags-text\"\n }, [_vm._v(\"+ \" + _vm._s(_vm.selected.length - 1))])]) : _vm._e()], 1) : _vm._e(), !_vm.collapseTags ? _c(\"transition-group\", {\n on: {\n \"after-leave\": _vm.resetInputHeight\n }\n }, _vm._l(_vm.selected, function (item) {\n return _c(\"el-tag\", {\n key: _vm.getValueKey(item),\n attrs: {\n closable: !_vm.selectDisabled,\n size: _vm.collapseTagSize,\n hit: item.hitState,\n type: \"info\",\n \"disable-transitions\": \"\"\n },\n on: {\n close: function close($event) {\n _vm.deleteTag($event, item);\n }\n }\n }, [_c(\"span\", {\n staticClass: \"el-select__tags-text\"\n }, [_vm._v(_vm._s(item.currentLabel))])]);\n }), 1) : _vm._e(), _vm.filterable ? _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.query,\n expression: \"query\"\n }],\n ref: \"input\",\n staticClass: \"el-select__input\",\n \"class\": [_vm.selectSize ? \"is-\" + _vm.selectSize : \"\"],\n style: {\n \"flex-grow\": \"1\",\n width: _vm.inputLength / (_vm.inputWidth - 32) + \"%\",\n \"max-width\": _vm.inputWidth - 42 + \"px\"\n },\n attrs: {\n type: \"text\",\n disabled: _vm.selectDisabled,\n autocomplete: _vm.autoComplete || _vm.autocomplete\n },\n domProps: {\n value: _vm.query\n },\n on: {\n focus: _vm.handleFocus,\n blur: function blur($event) {\n _vm.softFocus = false;\n },\n keyup: _vm.managePlaceholder,\n keydown: [_vm.resetInputState, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.preventDefault();\n\n _vm.handleNavigate(\"next\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.preventDefault();\n\n _vm.handleNavigate(\"prev\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.selectOption($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"esc\", 27, $event.key, [\"Esc\", \"Escape\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.visible = false;\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"delete\", [8, 46], $event.key, [\"Backspace\", \"Delete\", \"Del\"])) {\n return null;\n }\n\n return _vm.deletePrevTag($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) {\n return null;\n }\n\n _vm.visible = false;\n }],\n compositionstart: _vm.handleComposition,\n compositionupdate: _vm.handleComposition,\n compositionend: _vm.handleComposition,\n input: [function ($event) {\n if ($event.target.composing) {\n return;\n }\n\n _vm.query = $event.target.value;\n }, _vm.debouncedQueryChange]\n }\n }) : _vm._e()], 1) : _vm._e(), _c(\"el-input\", {\n ref: \"reference\",\n \"class\": {\n \"is-focus\": _vm.visible\n },\n attrs: {\n type: \"text\",\n placeholder: _vm.currentPlaceholder,\n name: _vm.name,\n id: _vm.id,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n size: _vm.selectSize,\n disabled: _vm.selectDisabled,\n readonly: _vm.readonly,\n \"validate-event\": false,\n tabindex: _vm.multiple && _vm.filterable ? \"-1\" : null\n },\n on: {\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n input: _vm.debouncedOnInputChange,\n compositionstart: _vm.handleComposition,\n compositionupdate: _vm.handleComposition,\n compositionend: _vm.handleComposition\n },\n nativeOn: {\n keydown: [function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n\n _vm.handleNavigate(\"next\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n\n _vm.handleNavigate(\"prev\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.selectOption($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"esc\", 27, $event.key, [\"Esc\", \"Escape\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.visible = false;\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) {\n return null;\n }\n\n _vm.visible = false;\n }],\n mouseenter: function mouseenter($event) {\n _vm.inputHovering = true;\n },\n mouseleave: function mouseleave($event) {\n _vm.inputHovering = false;\n }\n },\n model: {\n value: _vm.selectedLabel,\n callback: function callback($$v) {\n _vm.selectedLabel = $$v;\n },\n expression: \"selectedLabel\"\n }\n }, [_vm.$slots.prefix ? _c(\"template\", {\n slot: \"prefix\"\n }, [_vm._t(\"prefix\")], 2) : _vm._e(), _c(\"template\", {\n slot: \"suffix\"\n }, [_c(\"i\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.showClose,\n expression: \"!showClose\"\n }],\n \"class\": [\"el-select__caret\", \"el-input__icon\", \"el-icon-\" + _vm.iconClass]\n }), _vm.showClose ? _c(\"i\", {\n staticClass: \"el-select__caret el-input__icon el-icon-circle-close\",\n on: {\n click: _vm.handleClearClick\n }\n }) : _vm._e()])], 2), _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"before-enter\": _vm.handleMenuEnter,\n \"after-leave\": _vm.doDestroy\n }\n }, [_c(\"el-select-menu\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible && _vm.emptyText !== false,\n expression: \"visible && emptyText !== false\"\n }],\n ref: \"popper\",\n attrs: {\n \"append-to-body\": _vm.popperAppendToBody\n }\n }, [_c(\"el-scrollbar\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.options.length > 0 && !_vm.loading,\n expression: \"options.length > 0 && !loading\"\n }],\n ref: \"scrollbar\",\n \"class\": {\n \"is-empty\": !_vm.allowCreate && _vm.query && _vm.filteredOptionsCount === 0\n },\n attrs: {\n tag: \"ul\",\n \"wrap-class\": \"el-select-dropdown__wrap\",\n \"view-class\": \"el-select-dropdown__list\"\n }\n }, [_vm.showNewOption ? _c(\"el-option\", {\n attrs: {\n value: _vm.query,\n created: \"\"\n }\n }) : _vm._e(), _vm._t(\"default\")], 2), _vm.emptyText && (!_vm.allowCreate || _vm.loading || _vm.allowCreate && _vm.options.length === 0) ? [_vm.$slots.empty ? _vm._t(\"empty\") : _c(\"p\", {\n staticClass: \"el-select-dropdown__empty\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.emptyText) + \"\\n \")])] : _vm._e()], 2)], 1)], 1);\n };\n\n var selectvue_type_template_id_0e4aade6_staticRenderFns = [];\n selectvue_type_template_id_0e4aade6_render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=template&id=0e4aade6&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748&\n\n var select_dropdownvue_type_template_id_06828748_render = function select_dropdownvue_type_template_id_06828748_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-select-dropdown el-popper\",\n \"class\": [{\n \"is-multiple\": _vm.$parent.multiple\n }, _vm.popperClass],\n style: {\n minWidth: _vm.minWidth\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var select_dropdownvue_type_template_id_06828748_staticRenderFns = [];\n select_dropdownvue_type_template_id_06828748_render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var select_dropdownvue_type_script_lang_js_ = {\n name: 'ElSelectDropdown',\n componentName: 'ElSelectDropdown',\n mixins: [vue_popper_default.a],\n props: {\n placement: {\n \"default\": 'bottom-start'\n },\n boundariesPadding: {\n \"default\": 0\n },\n popperOptions: {\n \"default\": function _default() {\n return {\n gpuAcceleration: false\n };\n }\n },\n visibleArrow: {\n \"default\": true\n },\n appendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n data: function data() {\n return {\n minWidth: ''\n };\n },\n computed: {\n popperClass: function popperClass() {\n return this.$parent.popperClass;\n }\n },\n watch: {\n '$parent.inputWidth': function $parentInputWidth() {\n this.minWidth = this.$parent.$el.getBoundingClientRect().width + 'px';\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n this.referenceElm = this.$parent.$refs.reference.$el;\n this.$parent.popperElm = this.popperElm = this.$el;\n this.$on('updatePopper', function () {\n if (_this.$parent.visible) _this.updatePopper();\n });\n this.$on('destroyPopper', this.destroyPopper);\n }\n }; // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_select_dropdownvue_type_script_lang_js_ = select_dropdownvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue\n\n /* normalize component */\n\n var select_dropdown_component = normalizeComponent(src_select_dropdownvue_type_script_lang_js_, select_dropdownvue_type_template_id_06828748_render, select_dropdownvue_type_template_id_06828748_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var select_dropdown_api;\n }\n\n select_dropdown_component.options.__file = \"packages/select/src/select-dropdown.vue\";\n /* harmony default export */\n\n var select_dropdown = select_dropdown_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=template&id=7a44c642&\n\n var optionvue_type_template_id_7a44c642_render = function optionvue_type_template_id_7a44c642_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-select-dropdown__item\",\n \"class\": {\n selected: _vm.itemSelected,\n \"is-disabled\": _vm.disabled || _vm.groupDisabled || _vm.limitReached,\n hover: _vm.hover\n },\n on: {\n mouseenter: _vm.hoverItem,\n click: function click($event) {\n $event.stopPropagation();\n return _vm.selectOptionClick($event);\n }\n }\n }, [_vm._t(\"default\", [_c(\"span\", [_vm._v(_vm._s(_vm.currentLabel))])])], 2);\n };\n\n var optionvue_type_template_id_7a44c642_staticRenderFns = [];\n optionvue_type_template_id_7a44c642_render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=7a44c642&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js&\n\n var _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n }; //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var optionvue_type_script_lang_js_ = {\n mixins: [emitter_default.a],\n name: 'ElOption',\n componentName: 'ElOption',\n inject: ['select'],\n props: {\n value: {\n required: true\n },\n label: [String, Number],\n created: Boolean,\n disabled: {\n type: Boolean,\n \"default\": false\n }\n },\n data: function data() {\n return {\n index: -1,\n groupDisabled: false,\n visible: true,\n hitState: false,\n hover: false\n };\n },\n computed: {\n isObject: function isObject() {\n return Object.prototype.toString.call(this.value).toLowerCase() === '[object object]';\n },\n currentLabel: function currentLabel() {\n return this.label || (this.isObject ? '' : this.value);\n },\n currentValue: function currentValue() {\n return this.value || this.label || '';\n },\n itemSelected: function itemSelected() {\n if (!this.select.multiple) {\n return this.isEqual(this.value, this.select.value);\n } else {\n return this.contains(this.select.value, this.value);\n }\n },\n limitReached: function limitReached() {\n if (this.select.multiple) {\n return !this.itemSelected && (this.select.value || []).length >= this.select.multipleLimit && this.select.multipleLimit > 0;\n } else {\n return false;\n }\n }\n },\n watch: {\n currentLabel: function currentLabel() {\n if (!this.created && !this.select.remote) this.dispatch('ElSelect', 'setSelected');\n },\n value: function value(val, oldVal) {\n var _select = this.select,\n remote = _select.remote,\n valueKey = _select.valueKey;\n\n if (!this.created && !remote) {\n if (valueKey && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && (typeof oldVal === 'undefined' ? 'undefined' : _typeof(oldVal)) === 'object' && val[valueKey] === oldVal[valueKey]) {\n return;\n }\n\n this.dispatch('ElSelect', 'setSelected');\n }\n }\n },\n methods: {\n isEqual: function isEqual(a, b) {\n if (!this.isObject) {\n return a === b;\n } else {\n var valueKey = this.select.valueKey;\n return Object(util_[\"getValueByPath\"])(a, valueKey) === Object(util_[\"getValueByPath\"])(b, valueKey);\n }\n },\n contains: function contains() {\n var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var target = arguments[1];\n\n if (!this.isObject) {\n return arr && arr.indexOf(target) > -1;\n } else {\n var valueKey = this.select.valueKey;\n return arr && arr.some(function (item) {\n return Object(util_[\"getValueByPath\"])(item, valueKey) === Object(util_[\"getValueByPath\"])(target, valueKey);\n });\n }\n },\n handleGroupDisabled: function handleGroupDisabled(val) {\n this.groupDisabled = val;\n },\n hoverItem: function hoverItem() {\n if (!this.disabled && !this.groupDisabled) {\n this.select.hoverIndex = this.select.options.indexOf(this);\n }\n },\n selectOptionClick: function selectOptionClick() {\n if (this.disabled !== true && this.groupDisabled !== true) {\n this.dispatch('ElSelect', 'handleOptionClick', [this, true]);\n }\n },\n queryChange: function queryChange(query) {\n this.visible = new RegExp(Object(util_[\"escapeRegexpString\"])(query), 'i').test(this.currentLabel) || this.created;\n\n if (!this.visible) {\n this.select.filteredOptionsCount--;\n }\n }\n },\n created: function created() {\n this.select.options.push(this);\n this.select.cachedOptions.push(this);\n this.select.optionsCount++;\n this.select.filteredOptionsCount++;\n this.$on('queryChange', this.queryChange);\n this.$on('handleGroupDisabled', this.handleGroupDisabled);\n },\n beforeDestroy: function beforeDestroy() {\n var _select2 = this.select,\n selected = _select2.selected,\n multiple = _select2.multiple;\n var selectedOptions = multiple ? selected : [selected];\n var index = this.select.cachedOptions.indexOf(this);\n var selectedIndex = selectedOptions.indexOf(this); // if option is not selected, remove it from cache\n\n if (index > -1 && selectedIndex < 0) {\n this.select.cachedOptions.splice(index, 1);\n }\n\n this.select.onOptionDestroy(this.select.options.indexOf(this));\n }\n }; // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_optionvue_type_script_lang_js_ = optionvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/select/src/option.vue\n\n /* normalize component */\n\n var option_component = normalizeComponent(src_optionvue_type_script_lang_js_, optionvue_type_template_id_7a44c642_render, optionvue_type_template_id_7a44c642_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var option_api;\n }\n\n option_component.options.__file = \"packages/select/src/option.vue\";\n /* harmony default export */\n\n var src_option = option_component.exports; // EXTERNAL MODULE: external \"element-ui/lib/tag\"\n\n var tag_ = __webpack_require__(30);\n\n var tag_default =\n /*#__PURE__*/\n __webpack_require__.n(tag_); // EXTERNAL MODULE: external \"element-ui/lib/utils/resize-event\"\n\n\n var resize_event_ = __webpack_require__(15); // EXTERNAL MODULE: external \"element-ui/lib/utils/scroll-into-view\"\n\n\n var scroll_into_view_ = __webpack_require__(27);\n\n var scroll_into_view_default =\n /*#__PURE__*/\n __webpack_require__.n(scroll_into_view_); // CONCATENATED MODULE: ./packages/select/src/navigation-mixin.js\n\n /* harmony default export */\n\n\n var navigation_mixin = {\n data: function data() {\n return {\n hoverOption: -1\n };\n },\n computed: {\n optionsAllDisabled: function optionsAllDisabled() {\n return this.options.filter(function (option) {\n return option.visible;\n }).every(function (option) {\n return option.disabled;\n });\n }\n },\n watch: {\n hoverIndex: function hoverIndex(val) {\n var _this = this;\n\n if (typeof val === 'number' && val > -1) {\n this.hoverOption = this.options[val] || {};\n }\n\n this.options.forEach(function (option) {\n option.hover = _this.hoverOption === option;\n });\n }\n },\n methods: {\n navigateOptions: function navigateOptions(direction) {\n var _this2 = this;\n\n if (!this.visible) {\n this.visible = true;\n return;\n }\n\n if (this.options.length === 0 || this.filteredOptionsCount === 0) return;\n\n if (!this.optionsAllDisabled) {\n if (direction === 'next') {\n this.hoverIndex++;\n\n if (this.hoverIndex === this.options.length) {\n this.hoverIndex = 0;\n }\n } else if (direction === 'prev') {\n this.hoverIndex--;\n\n if (this.hoverIndex < 0) {\n this.hoverIndex = this.options.length - 1;\n }\n }\n\n var option = this.options[this.hoverIndex];\n\n if (option.disabled === true || option.groupDisabled === true || !option.visible) {\n this.navigateOptions(direction);\n }\n\n this.$nextTick(function () {\n return _this2.scrollToOption(_this2.hoverOption);\n });\n }\n }\n }\n }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var selectvue_type_script_lang_js_ = {\n mixins: [emitter_default.a, locale_default.a, focus_default()('reference'), navigation_mixin],\n name: 'ElSelect',\n componentName: 'ElSelect',\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n provide: function provide() {\n return {\n 'select': this\n };\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n readonly: function readonly() {\n return !this.filterable || this.multiple || !Object(util_[\"isIE\"])() && !Object(util_[\"isEdge\"])() && !this.visible;\n },\n showClose: function showClose() {\n var hasValue = this.multiple ? Array.isArray(this.value) && this.value.length > 0 : this.value !== undefined && this.value !== null && this.value !== '';\n var criteria = this.clearable && !this.selectDisabled && this.inputHovering && hasValue;\n return criteria;\n },\n iconClass: function iconClass() {\n return this.remote && this.filterable ? '' : this.visible ? 'arrow-up is-reverse' : 'arrow-up';\n },\n debounce: function debounce() {\n return this.remote ? 300 : 0;\n },\n emptyText: function emptyText() {\n if (this.loading) {\n return this.loadingText || this.t('el.select.loading');\n } else {\n if (this.remote && this.query === '' && this.options.length === 0) return false;\n\n if (this.filterable && this.query && this.options.length > 0 && this.filteredOptionsCount === 0) {\n return this.noMatchText || this.t('el.select.noMatch');\n }\n\n if (this.options.length === 0) {\n return this.noDataText || this.t('el.select.noData');\n }\n }\n\n return null;\n },\n showNewOption: function showNewOption() {\n var _this = this;\n\n var hasExistingOption = this.options.filter(function (option) {\n return !option.created;\n }).some(function (option) {\n return option.currentLabel === _this.query;\n });\n return this.filterable && this.allowCreate && this.query !== '' && !hasExistingOption;\n },\n selectSize: function selectSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n selectDisabled: function selectDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n collapseTagSize: function collapseTagSize() {\n return ['small', 'mini'].indexOf(this.selectSize) > -1 ? 'mini' : 'small';\n },\n propPlaceholder: function propPlaceholder() {\n return typeof this.placeholder !== 'undefined' ? this.placeholder : this.t('el.select.placeholder');\n }\n },\n components: {\n ElInput: input_default.a,\n ElSelectMenu: select_dropdown,\n ElOption: src_option,\n ElTag: tag_default.a,\n ElScrollbar: scrollbar_default.a\n },\n directives: {\n Clickoutside: clickoutside_default.a\n },\n props: {\n name: String,\n id: String,\n value: {\n required: true\n },\n autocomplete: {\n type: String,\n \"default\": 'off'\n },\n\n /** @Deprecated in next major version */\n autoComplete: {\n type: String,\n validator: function validator(val) {\n false && false;\n return true;\n }\n },\n automaticDropdown: Boolean,\n size: String,\n disabled: Boolean,\n clearable: Boolean,\n filterable: Boolean,\n allowCreate: Boolean,\n loading: Boolean,\n popperClass: String,\n remote: Boolean,\n loadingText: String,\n noMatchText: String,\n noDataText: String,\n remoteMethod: Function,\n filterMethod: Function,\n multiple: Boolean,\n multipleLimit: {\n type: Number,\n \"default\": 0\n },\n placeholder: {\n type: String,\n required: false\n },\n defaultFirstOption: Boolean,\n reserveKeyword: Boolean,\n valueKey: {\n type: String,\n \"default\": 'value'\n },\n collapseTags: Boolean,\n popperAppendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n data: function data() {\n return {\n options: [],\n cachedOptions: [],\n createdLabel: null,\n createdSelected: false,\n selected: this.multiple ? [] : {},\n inputLength: 20,\n inputWidth: 0,\n initialInputHeight: 0,\n cachedPlaceHolder: '',\n optionsCount: 0,\n filteredOptionsCount: 0,\n visible: false,\n softFocus: false,\n selectedLabel: '',\n hoverIndex: -1,\n query: '',\n previousQuery: null,\n inputHovering: false,\n currentPlaceholder: '',\n menuVisibleOnFocus: false,\n isOnComposition: false,\n isSilentBlur: false\n };\n },\n watch: {\n selectDisabled: function selectDisabled() {\n var _this2 = this;\n\n this.$nextTick(function () {\n _this2.resetInputHeight();\n });\n },\n propPlaceholder: function propPlaceholder(val) {\n this.cachedPlaceHolder = this.currentPlaceholder = val;\n },\n value: function value(val, oldVal) {\n if (this.multiple) {\n this.resetInputHeight();\n\n if (val && val.length > 0 || this.$refs.input && this.query !== '') {\n this.currentPlaceholder = '';\n } else {\n this.currentPlaceholder = this.cachedPlaceHolder;\n }\n\n if (this.filterable && !this.reserveKeyword) {\n this.query = '';\n this.handleQueryChange(this.query);\n }\n }\n\n this.setSelected();\n\n if (this.filterable && !this.multiple) {\n this.inputLength = 20;\n }\n\n if (!Object(util_[\"valueEquals\"])(val, oldVal)) {\n this.dispatch('ElFormItem', 'el.form.change', val);\n }\n },\n visible: function visible(val) {\n var _this3 = this;\n\n if (!val) {\n this.broadcast('ElSelectDropdown', 'destroyPopper');\n\n if (this.$refs.input) {\n this.$refs.input.blur();\n }\n\n this.query = '';\n this.previousQuery = null;\n this.selectedLabel = '';\n this.inputLength = 20;\n this.menuVisibleOnFocus = false;\n this.resetHoverIndex();\n this.$nextTick(function () {\n if (_this3.$refs.input && _this3.$refs.input.value === '' && _this3.selected.length === 0) {\n _this3.currentPlaceholder = _this3.cachedPlaceHolder;\n }\n });\n\n if (!this.multiple) {\n if (this.selected) {\n if (this.filterable && this.allowCreate && this.createdSelected && this.createdLabel) {\n this.selectedLabel = this.createdLabel;\n } else {\n this.selectedLabel = this.selected.currentLabel;\n }\n\n if (this.filterable) this.query = this.selectedLabel;\n }\n\n if (this.filterable) {\n this.currentPlaceholder = this.cachedPlaceHolder;\n }\n }\n } else {\n this.broadcast('ElSelectDropdown', 'updatePopper');\n\n if (this.filterable) {\n this.query = this.remote ? '' : this.selectedLabel;\n this.handleQueryChange(this.query);\n\n if (this.multiple) {\n this.$refs.input.focus();\n } else {\n if (!this.remote) {\n this.broadcast('ElOption', 'queryChange', '');\n this.broadcast('ElOptionGroup', 'queryChange');\n }\n\n if (this.selectedLabel) {\n this.currentPlaceholder = this.selectedLabel;\n this.selectedLabel = '';\n }\n }\n }\n }\n\n this.$emit('visible-change', val);\n },\n options: function options() {\n var _this4 = this;\n\n if (this.$isServer) return;\n this.$nextTick(function () {\n _this4.broadcast('ElSelectDropdown', 'updatePopper');\n });\n\n if (this.multiple) {\n this.resetInputHeight();\n }\n\n var inputs = this.$el.querySelectorAll('input');\n\n if ([].indexOf.call(inputs, document.activeElement) === -1) {\n this.setSelected();\n }\n\n if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) {\n this.checkDefaultFirstOption();\n }\n }\n },\n methods: {\n handleNavigate: function handleNavigate(direction) {\n if (this.isOnComposition) return;\n this.navigateOptions(direction);\n },\n handleComposition: function handleComposition(event) {\n var _this5 = this;\n\n var text = event.target.value;\n\n if (event.type === 'compositionend') {\n this.isOnComposition = false;\n this.$nextTick(function (_) {\n return _this5.handleQueryChange(text);\n });\n } else {\n var lastCharacter = text[text.length - 1] || '';\n this.isOnComposition = !Object(shared_[\"isKorean\"])(lastCharacter);\n }\n },\n handleQueryChange: function handleQueryChange(val) {\n var _this6 = this;\n\n if (this.previousQuery === val || this.isOnComposition) return;\n\n if (this.previousQuery === null && (typeof this.filterMethod === 'function' || typeof this.remoteMethod === 'function')) {\n this.previousQuery = val;\n return;\n }\n\n this.previousQuery = val;\n this.$nextTick(function () {\n if (_this6.visible) _this6.broadcast('ElSelectDropdown', 'updatePopper');\n });\n this.hoverIndex = -1;\n\n if (this.multiple && this.filterable) {\n this.$nextTick(function () {\n var length = _this6.$refs.input.value.length * 15 + 20;\n _this6.inputLength = _this6.collapseTags ? Math.min(50, length) : length;\n\n _this6.managePlaceholder();\n\n _this6.resetInputHeight();\n });\n }\n\n if (this.remote && typeof this.remoteMethod === 'function') {\n this.hoverIndex = -1;\n this.remoteMethod(val);\n } else if (typeof this.filterMethod === 'function') {\n this.filterMethod(val);\n this.broadcast('ElOptionGroup', 'queryChange');\n } else {\n this.filteredOptionsCount = this.optionsCount;\n this.broadcast('ElOption', 'queryChange', val);\n this.broadcast('ElOptionGroup', 'queryChange');\n }\n\n if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) {\n this.checkDefaultFirstOption();\n }\n },\n scrollToOption: function scrollToOption(option) {\n var target = Array.isArray(option) && option[0] ? option[0].$el : option.$el;\n\n if (this.$refs.popper && target) {\n var menu = this.$refs.popper.$el.querySelector('.el-select-dropdown__wrap');\n scroll_into_view_default()(menu, target);\n }\n\n this.$refs.scrollbar && this.$refs.scrollbar.handleScroll();\n },\n handleMenuEnter: function handleMenuEnter() {\n var _this7 = this;\n\n this.$nextTick(function () {\n return _this7.scrollToOption(_this7.selected);\n });\n },\n emitChange: function emitChange(val) {\n if (!Object(util_[\"valueEquals\"])(this.value, val)) {\n this.$emit('change', val);\n }\n },\n getOption: function getOption(value) {\n var option = void 0;\n var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]';\n var isNull = Object.prototype.toString.call(value).toLowerCase() === '[object null]';\n var isUndefined = Object.prototype.toString.call(value).toLowerCase() === '[object undefined]';\n\n for (var i = this.cachedOptions.length - 1; i >= 0; i--) {\n var cachedOption = this.cachedOptions[i];\n var isEqual = isObject ? Object(util_[\"getValueByPath\"])(cachedOption.value, this.valueKey) === Object(util_[\"getValueByPath\"])(value, this.valueKey) : cachedOption.value === value;\n\n if (isEqual) {\n option = cachedOption;\n break;\n }\n }\n\n if (option) return option;\n var label = !isObject && !isNull && !isUndefined ? String(value) : '';\n var newOption = {\n value: value,\n currentLabel: label\n };\n\n if (this.multiple) {\n newOption.hitState = false;\n }\n\n return newOption;\n },\n setSelected: function setSelected() {\n var _this8 = this;\n\n if (!this.multiple) {\n var option = this.getOption(this.value);\n\n if (option.created) {\n this.createdLabel = option.currentLabel;\n this.createdSelected = true;\n } else {\n this.createdSelected = false;\n }\n\n this.selectedLabel = option.currentLabel;\n this.selected = option;\n if (this.filterable) this.query = this.selectedLabel;\n return;\n }\n\n var result = [];\n\n if (Array.isArray(this.value)) {\n this.value.forEach(function (value) {\n result.push(_this8.getOption(value));\n });\n }\n\n this.selected = result;\n this.$nextTick(function () {\n _this8.resetInputHeight();\n });\n },\n handleFocus: function handleFocus(event) {\n if (!this.softFocus) {\n if (this.automaticDropdown || this.filterable) {\n if (this.filterable && !this.visible) {\n this.menuVisibleOnFocus = true;\n }\n\n this.visible = true;\n }\n\n this.$emit('focus', event);\n } else {\n this.softFocus = false;\n }\n },\n blur: function blur() {\n this.visible = false;\n this.$refs.reference.blur();\n },\n handleBlur: function handleBlur(event) {\n var _this9 = this;\n\n setTimeout(function () {\n if (_this9.isSilentBlur) {\n _this9.isSilentBlur = false;\n } else {\n _this9.$emit('blur', event);\n }\n }, 50);\n this.softFocus = false;\n },\n handleClearClick: function handleClearClick(event) {\n this.deleteSelected(event);\n },\n doDestroy: function doDestroy() {\n this.$refs.popper && this.$refs.popper.doDestroy();\n },\n handleClose: function handleClose() {\n this.visible = false;\n },\n toggleLastOptionHitState: function toggleLastOptionHitState(hit) {\n if (!Array.isArray(this.selected)) return;\n var option = this.selected[this.selected.length - 1];\n if (!option) return;\n\n if (hit === true || hit === false) {\n option.hitState = hit;\n return hit;\n }\n\n option.hitState = !option.hitState;\n return option.hitState;\n },\n deletePrevTag: function deletePrevTag(e) {\n if (e.target.value.length <= 0 && !this.toggleLastOptionHitState()) {\n var value = this.value.slice();\n value.pop();\n this.$emit('input', value);\n this.emitChange(value);\n }\n },\n managePlaceholder: function managePlaceholder() {\n if (this.currentPlaceholder !== '') {\n this.currentPlaceholder = this.$refs.input.value ? '' : this.cachedPlaceHolder;\n }\n },\n resetInputState: function resetInputState(e) {\n if (e.keyCode !== 8) this.toggleLastOptionHitState(false);\n this.inputLength = this.$refs.input.value.length * 15 + 20;\n this.resetInputHeight();\n },\n resetInputHeight: function resetInputHeight() {\n var _this10 = this;\n\n if (this.collapseTags && !this.filterable) return;\n this.$nextTick(function () {\n if (!_this10.$refs.reference) return;\n var inputChildNodes = _this10.$refs.reference.$el.childNodes;\n var input = [].filter.call(inputChildNodes, function (item) {\n return item.tagName === 'INPUT';\n })[0];\n var tags = _this10.$refs.tags;\n var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;\n var sizeInMap = _this10.initialInputHeight || 40;\n input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';\n\n if (_this10.visible && _this10.emptyText !== false) {\n _this10.broadcast('ElSelectDropdown', 'updatePopper');\n }\n });\n },\n resetHoverIndex: function resetHoverIndex() {\n var _this11 = this;\n\n setTimeout(function () {\n if (!_this11.multiple) {\n _this11.hoverIndex = _this11.options.indexOf(_this11.selected);\n } else {\n if (_this11.selected.length > 0) {\n _this11.hoverIndex = Math.min.apply(null, _this11.selected.map(function (item) {\n return _this11.options.indexOf(item);\n }));\n } else {\n _this11.hoverIndex = -1;\n }\n }\n }, 300);\n },\n handleOptionSelect: function handleOptionSelect(option, byClick) {\n var _this12 = this;\n\n if (this.multiple) {\n var value = (this.value || []).slice();\n var optionIndex = this.getValueIndex(value, option.value);\n\n if (optionIndex > -1) {\n value.splice(optionIndex, 1);\n } else if (this.multipleLimit <= 0 || value.length < this.multipleLimit) {\n value.push(option.value);\n }\n\n this.$emit('input', value);\n this.emitChange(value);\n\n if (option.created) {\n this.query = '';\n this.handleQueryChange('');\n this.inputLength = 20;\n }\n\n if (this.filterable) this.$refs.input.focus();\n } else {\n this.$emit('input', option.value);\n this.emitChange(option.value);\n this.visible = false;\n }\n\n this.isSilentBlur = byClick;\n this.setSoftFocus();\n if (this.visible) return;\n this.$nextTick(function () {\n _this12.scrollToOption(option);\n });\n },\n setSoftFocus: function setSoftFocus() {\n this.softFocus = true;\n var input = this.$refs.input || this.$refs.reference;\n\n if (input) {\n input.focus();\n }\n },\n getValueIndex: function getValueIndex() {\n var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var value = arguments[1];\n var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]';\n\n if (!isObject) {\n return arr.indexOf(value);\n } else {\n var valueKey = this.valueKey;\n var index = -1;\n arr.some(function (item, i) {\n if (Object(util_[\"getValueByPath\"])(item, valueKey) === Object(util_[\"getValueByPath\"])(value, valueKey)) {\n index = i;\n return true;\n }\n\n return false;\n });\n return index;\n }\n },\n toggleMenu: function toggleMenu() {\n if (!this.selectDisabled) {\n if (this.menuVisibleOnFocus) {\n this.menuVisibleOnFocus = false;\n } else {\n this.visible = !this.visible;\n }\n\n if (this.visible) {\n (this.$refs.input || this.$refs.reference).focus();\n }\n }\n },\n selectOption: function selectOption() {\n if (!this.visible) {\n this.toggleMenu();\n } else {\n if (this.options[this.hoverIndex]) {\n this.handleOptionSelect(this.options[this.hoverIndex]);\n }\n }\n },\n deleteSelected: function deleteSelected(event) {\n event.stopPropagation();\n var value = this.multiple ? [] : '';\n this.$emit('input', value);\n this.emitChange(value);\n this.visible = false;\n this.$emit('clear');\n },\n deleteTag: function deleteTag(event, tag) {\n var index = this.selected.indexOf(tag);\n\n if (index > -1 && !this.selectDisabled) {\n var value = this.value.slice();\n value.splice(index, 1);\n this.$emit('input', value);\n this.emitChange(value);\n this.$emit('remove-tag', tag.value);\n }\n\n event.stopPropagation();\n },\n onInputChange: function onInputChange() {\n if (this.filterable && this.query !== this.selectedLabel) {\n this.query = this.selectedLabel;\n this.handleQueryChange(this.query);\n }\n },\n onOptionDestroy: function onOptionDestroy(index) {\n if (index > -1) {\n this.optionsCount--;\n this.filteredOptionsCount--;\n this.options.splice(index, 1);\n }\n },\n resetInputWidth: function resetInputWidth() {\n this.inputWidth = this.$refs.reference.$el.getBoundingClientRect().width;\n },\n handleResize: function handleResize() {\n this.resetInputWidth();\n if (this.multiple) this.resetInputHeight();\n },\n checkDefaultFirstOption: function checkDefaultFirstOption() {\n this.hoverIndex = -1; // highlight the created option\n\n var hasCreated = false;\n\n for (var i = this.options.length - 1; i >= 0; i--) {\n if (this.options[i].created) {\n hasCreated = true;\n this.hoverIndex = i;\n break;\n }\n }\n\n if (hasCreated) return;\n\n for (var _i = 0; _i !== this.options.length; ++_i) {\n var option = this.options[_i];\n\n if (this.query) {\n // highlight first options that passes the filter\n if (!option.disabled && !option.groupDisabled && option.visible) {\n this.hoverIndex = _i;\n break;\n }\n } else {\n // highlight currently selected option\n if (option.itemSelected) {\n this.hoverIndex = _i;\n break;\n }\n }\n }\n },\n getValueKey: function getValueKey(item) {\n if (Object.prototype.toString.call(item.value).toLowerCase() !== '[object object]') {\n return item.value;\n } else {\n return Object(util_[\"getValueByPath\"])(item.value, this.valueKey);\n }\n }\n },\n created: function created() {\n var _this13 = this;\n\n this.cachedPlaceHolder = this.currentPlaceholder = this.propPlaceholder;\n\n if (this.multiple && !Array.isArray(this.value)) {\n this.$emit('input', []);\n }\n\n if (!this.multiple && Array.isArray(this.value)) {\n this.$emit('input', '');\n }\n\n this.debouncedOnInputChange = debounce_default()(this.debounce, function () {\n _this13.onInputChange();\n });\n this.debouncedQueryChange = debounce_default()(this.debounce, function (e) {\n _this13.handleQueryChange(e.target.value);\n });\n this.$on('handleOptionClick', this.handleOptionSelect);\n this.$on('setSelected', this.setSelected);\n },\n mounted: function mounted() {\n var _this14 = this;\n\n if (this.multiple && Array.isArray(this.value) && this.value.length > 0) {\n this.currentPlaceholder = '';\n }\n\n Object(resize_event_[\"addResizeListener\"])(this.$el, this.handleResize);\n var reference = this.$refs.reference;\n\n if (reference && reference.$el) {\n var sizeMap = {\n medium: 36,\n small: 32,\n mini: 28\n };\n var input = reference.$el.querySelector('input');\n this.initialInputHeight = input.getBoundingClientRect().height || sizeMap[this.selectSize];\n }\n\n if (this.remote && this.multiple) {\n this.resetInputHeight();\n }\n\n this.$nextTick(function () {\n if (reference && reference.$el) {\n _this14.inputWidth = reference.$el.getBoundingClientRect().width;\n }\n });\n this.setSelected();\n },\n beforeDestroy: function beforeDestroy() {\n if (this.$el && this.handleResize) Object(resize_event_[\"removeResizeListener\"])(this.$el, this.handleResize);\n }\n }; // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_selectvue_type_script_lang_js_ = selectvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/select/src/select.vue\n\n /* normalize component */\n\n var select_component = normalizeComponent(src_selectvue_type_script_lang_js_, selectvue_type_template_id_0e4aade6_render, selectvue_type_template_id_0e4aade6_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var select_api;\n }\n\n select_component.options.__file = \"packages/select/src/select.vue\";\n /* harmony default export */\n\n var src_select = select_component.exports; // CONCATENATED MODULE: ./packages/select/index.js\n\n /* istanbul ignore next */\n\n src_select.install = function (Vue) {\n Vue.component(src_select.name, src_select);\n };\n /* harmony default export */\n\n\n var packages_select = src_select; // CONCATENATED MODULE: ./packages/option/index.js\n\n /* istanbul ignore next */\n\n src_option.install = function (Vue) {\n Vue.component(src_option.name, src_option);\n };\n /* harmony default export */\n\n\n var packages_option = src_option; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=template&id=6685e5de&\n\n var option_groupvue_type_template_id_6685e5de_render = function option_groupvue_type_template_id_6685e5de_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"ul\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-select-group__wrap\"\n }, [_c(\"li\", {\n staticClass: \"el-select-group__title\"\n }, [_vm._v(_vm._s(_vm.label))]), _c(\"li\", [_c(\"ul\", {\n staticClass: \"el-select-group\"\n }, [_vm._t(\"default\")], 2)])]);\n };\n\n var option_groupvue_type_template_id_6685e5de_staticRenderFns = [];\n option_groupvue_type_template_id_6685e5de_render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=template&id=6685e5de&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option-group.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var option_groupvue_type_script_lang_js_ = {\n mixins: [emitter_default.a],\n name: 'ElOptionGroup',\n componentName: 'ElOptionGroup',\n props: {\n label: String,\n disabled: {\n type: Boolean,\n \"default\": false\n }\n },\n data: function data() {\n return {\n visible: true\n };\n },\n watch: {\n disabled: function disabled(val) {\n this.broadcast('ElOption', 'handleGroupDisabled', val);\n }\n },\n methods: {\n queryChange: function queryChange() {\n this.visible = this.$children && Array.isArray(this.$children) && this.$children.some(function (option) {\n return option.visible === true;\n });\n }\n },\n created: function created() {\n this.$on('queryChange', this.queryChange);\n },\n mounted: function mounted() {\n if (this.disabled) {\n this.broadcast('ElOption', 'handleGroupDisabled', this.disabled);\n }\n }\n }; // CONCATENATED MODULE: ./packages/select/src/option-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_option_groupvue_type_script_lang_js_ = option_groupvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/select/src/option-group.vue\n\n /* normalize component */\n\n var option_group_component = normalizeComponent(src_option_groupvue_type_script_lang_js_, option_groupvue_type_template_id_6685e5de_render, option_groupvue_type_template_id_6685e5de_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var option_group_api;\n }\n\n option_group_component.options.__file = \"packages/select/src/option-group.vue\";\n /* harmony default export */\n\n var option_group = option_group_component.exports; // CONCATENATED MODULE: ./packages/option-group/index.js\n\n /* istanbul ignore next */\n\n option_group.install = function (Vue) {\n Vue.component(option_group.name, option_group);\n };\n /* harmony default export */\n\n\n var packages_option_group = option_group; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=ca859fb4&\n\n var buttonvue_type_template_id_ca859fb4_render = function buttonvue_type_template_id_ca859fb4_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"button\", {\n staticClass: \"el-button\",\n \"class\": [_vm.type ? \"el-button--\" + _vm.type : \"\", _vm.buttonSize ? \"el-button--\" + _vm.buttonSize : \"\", {\n \"is-disabled\": _vm.buttonDisabled,\n \"is-loading\": _vm.loading,\n \"is-plain\": _vm.plain,\n \"is-round\": _vm.round,\n \"is-circle\": _vm.circle\n }],\n attrs: {\n disabled: _vm.buttonDisabled || _vm.loading,\n autofocus: _vm.autofocus,\n type: _vm.nativeType\n },\n on: {\n click: _vm.handleClick\n }\n }, [_vm.loading ? _c(\"i\", {\n staticClass: \"el-icon-loading\"\n }) : _vm._e(), _vm.icon && !_vm.loading ? _c(\"i\", {\n \"class\": _vm.icon\n }) : _vm._e(), _vm.$slots[\"default\"] ? _c(\"span\", [_vm._t(\"default\")], 2) : _vm._e()]);\n };\n\n var buttonvue_type_template_id_ca859fb4_staticRenderFns = [];\n buttonvue_type_template_id_ca859fb4_render._withStripped = true; // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=ca859fb4&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var buttonvue_type_script_lang_js_ = {\n name: 'ElButton',\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n type: {\n type: String,\n \"default\": 'default'\n },\n size: String,\n icon: {\n type: String,\n \"default\": ''\n },\n nativeType: {\n type: String,\n \"default\": 'button'\n },\n loading: Boolean,\n disabled: Boolean,\n plain: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n buttonSize: function buttonSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n buttonDisabled: function buttonDisabled() {\n return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;\n }\n },\n methods: {\n handleClick: function handleClick(evt) {\n this.$emit('click', evt);\n }\n }\n }; // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_buttonvue_type_script_lang_js_ = buttonvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/button/src/button.vue\n\n /* normalize component */\n\n var button_component = normalizeComponent(src_buttonvue_type_script_lang_js_, buttonvue_type_template_id_ca859fb4_render, buttonvue_type_template_id_ca859fb4_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var button_api;\n }\n\n button_component.options.__file = \"packages/button/src/button.vue\";\n /* harmony default export */\n\n var src_button = button_component.exports; // CONCATENATED MODULE: ./packages/button/index.js\n\n /* istanbul ignore next */\n\n src_button.install = function (Vue) {\n Vue.component(src_button.name, src_button);\n };\n /* harmony default export */\n\n\n var packages_button = src_button; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0&\n\n var button_groupvue_type_template_id_3d8661d0_render = function button_groupvue_type_template_id_3d8661d0_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-button-group\"\n }, [_vm._t(\"default\")], 2);\n };\n\n var button_groupvue_type_template_id_3d8661d0_staticRenderFns = [];\n button_groupvue_type_template_id_3d8661d0_render._withStripped = true; // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var button_groupvue_type_script_lang_js_ = {\n name: 'ElButtonGroup'\n }; // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_button_groupvue_type_script_lang_js_ = button_groupvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/button/src/button-group.vue\n\n /* normalize component */\n\n var button_group_component = normalizeComponent(src_button_groupvue_type_script_lang_js_, button_groupvue_type_template_id_3d8661d0_render, button_groupvue_type_template_id_3d8661d0_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var button_group_api;\n }\n\n button_group_component.options.__file = \"packages/button/src/button-group.vue\";\n /* harmony default export */\n\n var button_group = button_group_component.exports; // CONCATENATED MODULE: ./packages/button-group/index.js\n\n /* istanbul ignore next */\n\n button_group.install = function (Vue) {\n Vue.component(button_group.name, button_group);\n };\n /* harmony default export */\n\n\n var packages_button_group = button_group; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=template&id=493fe34e&\n\n var tablevue_type_template_id_493fe34e_render = function tablevue_type_template_id_493fe34e_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-table\",\n \"class\": [{\n \"el-table--fit\": _vm.fit,\n \"el-table--striped\": _vm.stripe,\n \"el-table--border\": _vm.border || _vm.isGroup,\n \"el-table--hidden\": _vm.isHidden,\n \"el-table--group\": _vm.isGroup,\n \"el-table--fluid-height\": _vm.maxHeight,\n \"el-table--scrollable-x\": _vm.layout.scrollX,\n \"el-table--scrollable-y\": _vm.layout.scrollY,\n \"el-table--enable-row-hover\": !_vm.store.states.isComplex,\n \"el-table--enable-row-transition\": (_vm.store.states.data || []).length !== 0 && (_vm.store.states.data || []).length < 100\n }, _vm.tableSize ? \"el-table--\" + _vm.tableSize : \"\"],\n on: {\n mouseleave: function mouseleave($event) {\n _vm.handleMouseLeave($event);\n }\n }\n }, [_c(\"div\", {\n ref: \"hiddenColumns\",\n staticClass: \"hidden-columns\"\n }, [_vm._t(\"default\")], 2), _vm.showHeader ? _c(\"div\", {\n directives: [{\n name: \"mousewheel\",\n rawName: \"v-mousewheel\",\n value: _vm.handleHeaderFooterMousewheel,\n expression: \"handleHeaderFooterMousewheel\"\n }],\n ref: \"headerWrapper\",\n staticClass: \"el-table__header-wrapper\"\n }, [_c(\"table-header\", {\n ref: \"tableHeader\",\n style: {\n width: _vm.layout.bodyWidth ? _vm.layout.bodyWidth + \"px\" : \"\"\n },\n attrs: {\n store: _vm.store,\n border: _vm.border,\n \"default-sort\": _vm.defaultSort\n }\n })], 1) : _vm._e(), _c(\"div\", {\n ref: \"bodyWrapper\",\n staticClass: \"el-table__body-wrapper\",\n \"class\": [_vm.layout.scrollX ? \"is-scrolling-\" + _vm.scrollPosition : \"is-scrolling-none\"],\n style: [_vm.bodyHeight]\n }, [_c(\"table-body\", {\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n context: _vm.context,\n store: _vm.store,\n stripe: _vm.stripe,\n \"row-class-name\": _vm.rowClassName,\n \"row-style\": _vm.rowStyle,\n highlight: _vm.highlightCurrentRow\n }\n }), !_vm.data || _vm.data.length === 0 ? _c(\"div\", {\n ref: \"emptyBlock\",\n staticClass: \"el-table__empty-block\",\n style: _vm.emptyBlockStyle\n }, [_c(\"span\", {\n staticClass: \"el-table__empty-text\"\n }, [_vm._t(\"empty\", [_vm._v(_vm._s(_vm.emptyText || _vm.t(\"el.table.emptyText\")))])], 2)]) : _vm._e(), _vm.$slots.append ? _c(\"div\", {\n ref: \"appendWrapper\",\n staticClass: \"el-table__append-wrapper\"\n }, [_vm._t(\"append\")], 2) : _vm._e()], 1), _vm.showSummary ? _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.data && _vm.data.length > 0,\n expression: \"data && data.length > 0\"\n }, {\n name: \"mousewheel\",\n rawName: \"v-mousewheel\",\n value: _vm.handleHeaderFooterMousewheel,\n expression: \"handleHeaderFooterMousewheel\"\n }],\n ref: \"footerWrapper\",\n staticClass: \"el-table__footer-wrapper\"\n }, [_c(\"table-footer\", {\n style: {\n width: _vm.layout.bodyWidth ? _vm.layout.bodyWidth + \"px\" : \"\"\n },\n attrs: {\n store: _vm.store,\n border: _vm.border,\n \"sum-text\": _vm.sumText || _vm.t(\"el.table.sumText\"),\n \"summary-method\": _vm.summaryMethod,\n \"default-sort\": _vm.defaultSort\n }\n })], 1) : _vm._e(), _vm.fixedColumns.length > 0 ? _c(\"div\", {\n directives: [{\n name: \"mousewheel\",\n rawName: \"v-mousewheel\",\n value: _vm.handleFixedMousewheel,\n expression: \"handleFixedMousewheel\"\n }],\n ref: \"fixedWrapper\",\n staticClass: \"el-table__fixed\",\n style: [{\n width: _vm.layout.fixedWidth ? _vm.layout.fixedWidth + \"px\" : \"\"\n }, _vm.fixedHeight]\n }, [_vm.showHeader ? _c(\"div\", {\n ref: \"fixedHeaderWrapper\",\n staticClass: \"el-table__fixed-header-wrapper\"\n }, [_c(\"table-header\", {\n ref: \"fixedTableHeader\",\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n fixed: \"left\",\n border: _vm.border,\n store: _vm.store\n }\n })], 1) : _vm._e(), _c(\"div\", {\n ref: \"fixedBodyWrapper\",\n staticClass: \"el-table__fixed-body-wrapper\",\n style: [{\n top: _vm.layout.headerHeight + \"px\"\n }, _vm.fixedBodyHeight]\n }, [_c(\"table-body\", {\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n fixed: \"left\",\n store: _vm.store,\n stripe: _vm.stripe,\n highlight: _vm.highlightCurrentRow,\n \"row-class-name\": _vm.rowClassName,\n \"row-style\": _vm.rowStyle\n }\n }), _vm.$slots.append ? _c(\"div\", {\n staticClass: \"el-table__append-gutter\",\n style: {\n height: _vm.layout.appendHeight + \"px\"\n }\n }) : _vm._e()], 1), _vm.showSummary ? _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.data && _vm.data.length > 0,\n expression: \"data && data.length > 0\"\n }],\n ref: \"fixedFooterWrapper\",\n staticClass: \"el-table__fixed-footer-wrapper\"\n }, [_c(\"table-footer\", {\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n fixed: \"left\",\n border: _vm.border,\n \"sum-text\": _vm.sumText || _vm.t(\"el.table.sumText\"),\n \"summary-method\": _vm.summaryMethod,\n store: _vm.store\n }\n })], 1) : _vm._e()]) : _vm._e(), _vm.rightFixedColumns.length > 0 ? _c(\"div\", {\n directives: [{\n name: \"mousewheel\",\n rawName: \"v-mousewheel\",\n value: _vm.handleFixedMousewheel,\n expression: \"handleFixedMousewheel\"\n }],\n ref: \"rightFixedWrapper\",\n staticClass: \"el-table__fixed-right\",\n style: [{\n width: _vm.layout.rightFixedWidth ? _vm.layout.rightFixedWidth + \"px\" : \"\",\n right: _vm.layout.scrollY ? (_vm.border ? _vm.layout.gutterWidth : _vm.layout.gutterWidth || 0) + \"px\" : \"\"\n }, _vm.fixedHeight]\n }, [_vm.showHeader ? _c(\"div\", {\n ref: \"rightFixedHeaderWrapper\",\n staticClass: \"el-table__fixed-header-wrapper\"\n }, [_c(\"table-header\", {\n ref: \"rightFixedTableHeader\",\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n fixed: \"right\",\n border: _vm.border,\n store: _vm.store\n }\n })], 1) : _vm._e(), _c(\"div\", {\n ref: \"rightFixedBodyWrapper\",\n staticClass: \"el-table__fixed-body-wrapper\",\n style: [{\n top: _vm.layout.headerHeight + \"px\"\n }, _vm.fixedBodyHeight]\n }, [_c(\"table-body\", {\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n fixed: \"right\",\n store: _vm.store,\n stripe: _vm.stripe,\n \"row-class-name\": _vm.rowClassName,\n \"row-style\": _vm.rowStyle,\n highlight: _vm.highlightCurrentRow\n }\n }), _vm.$slots.append ? _c(\"div\", {\n staticClass: \"el-table__append-gutter\",\n style: {\n height: _vm.layout.appendHeight + \"px\"\n }\n }) : _vm._e()], 1), _vm.showSummary ? _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.data && _vm.data.length > 0,\n expression: \"data && data.length > 0\"\n }],\n ref: \"rightFixedFooterWrapper\",\n staticClass: \"el-table__fixed-footer-wrapper\"\n }, [_c(\"table-footer\", {\n style: {\n width: _vm.bodyWidth\n },\n attrs: {\n fixed: \"right\",\n border: _vm.border,\n \"sum-text\": _vm.sumText || _vm.t(\"el.table.sumText\"),\n \"summary-method\": _vm.summaryMethod,\n store: _vm.store\n }\n })], 1) : _vm._e()]) : _vm._e(), _vm.rightFixedColumns.length > 0 ? _c(\"div\", {\n ref: \"rightFixedPatch\",\n staticClass: \"el-table__fixed-right-patch\",\n style: {\n width: _vm.layout.scrollY ? _vm.layout.gutterWidth + \"px\" : \"0\",\n height: _vm.layout.headerHeight + \"px\"\n }\n }) : _vm._e(), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.resizeProxyVisible,\n expression: \"resizeProxyVisible\"\n }],\n ref: \"resizeProxy\",\n staticClass: \"el-table__column-resize-proxy\"\n })]);\n };\n\n var tablevue_type_template_id_493fe34e_staticRenderFns = [];\n tablevue_type_template_id_493fe34e_render._withStripped = true; // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=template&id=493fe34e&\n // EXTERNAL MODULE: external \"element-ui/lib/checkbox\"\n\n var checkbox_ = __webpack_require__(14);\n\n var checkbox_default =\n /*#__PURE__*/\n __webpack_require__.n(checkbox_); // EXTERNAL MODULE: external \"throttle-debounce\"\n\n\n var external_throttle_debounce_ = __webpack_require__(36); // EXTERNAL MODULE: external \"normalize-wheel\"\n\n\n var external_normalize_wheel_ = __webpack_require__(39);\n\n var external_normalize_wheel_default =\n /*#__PURE__*/\n __webpack_require__.n(external_normalize_wheel_); // CONCATENATED MODULE: ./src/directives/mousewheel.js\n\n\n var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;\n\n var mousewheel_mousewheel = function mousewheel(element, callback) {\n if (element && element.addEventListener) {\n element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (event) {\n var normalized = external_normalize_wheel_default()(event);\n callback && callback.apply(this, [event, normalized]);\n });\n }\n };\n /* harmony default export */\n\n\n var directives_mousewheel = {\n bind: function bind(el, binding) {\n mousewheel_mousewheel(el, binding.value);\n }\n }; // EXTERNAL MODULE: external \"vue\"\n\n var external_vue_ = __webpack_require__(6);\n\n var external_vue_default =\n /*#__PURE__*/\n __webpack_require__.n(external_vue_); // CONCATENATED MODULE: ./packages/table/src/util.js\n\n\n var util_typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n\n var getCell = function getCell(event) {\n var cell = event.target;\n\n while (cell && cell.tagName.toUpperCase() !== 'HTML') {\n if (cell.tagName.toUpperCase() === 'TD') {\n return cell;\n }\n\n cell = cell.parentNode;\n }\n\n return null;\n };\n\n var util_isObject = function isObject(obj) {\n return obj !== null && (typeof obj === 'undefined' ? 'undefined' : util_typeof(obj)) === 'object';\n };\n\n var util_orderBy = function orderBy(array, sortKey, reverse, sortMethod, sortBy) {\n if (!sortKey && !sortMethod && (!sortBy || Array.isArray(sortBy) && !sortBy.length)) {\n return array;\n }\n\n if (typeof reverse === 'string') {\n reverse = reverse === 'descending' ? -1 : 1;\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1;\n }\n\n var getKey = sortMethod ? null : function (value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy];\n }\n\n return sortBy.map(function (by) {\n if (typeof by === 'string') {\n return Object(util_[\"getValueByPath\"])(value, by);\n } else {\n return by(value, index, array);\n }\n });\n }\n\n if (sortKey !== '$key') {\n if (util_isObject(value) && '$value' in value) value = value.$value;\n }\n\n return [util_isObject(value) ? Object(util_[\"getValueByPath\"])(value, sortKey) : value];\n };\n\n var compare = function compare(a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value);\n }\n\n for (var i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1;\n }\n\n if (a.key[i] > b.key[i]) {\n return 1;\n }\n }\n\n return 0;\n };\n\n return array.map(function (value, index) {\n return {\n value: value,\n index: index,\n key: getKey ? getKey(value, index) : null\n };\n }).sort(function (a, b) {\n var order = compare(a, b);\n\n if (!order) {\n // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability\n order = a.index - b.index;\n }\n\n return order * reverse;\n }).map(function (item) {\n return item.value;\n });\n };\n\n var getColumnById = function getColumnById(table, columnId) {\n var column = null;\n table.columns.forEach(function (item) {\n if (item.id === columnId) {\n column = item;\n }\n });\n return column;\n };\n\n var getColumnByKey = function getColumnByKey(table, columnKey) {\n var column = null;\n\n for (var i = 0; i < table.columns.length; i++) {\n var item = table.columns[i];\n\n if (item.columnKey === columnKey) {\n column = item;\n break;\n }\n }\n\n return column;\n };\n\n var getColumnByCell = function getColumnByCell(table, cell) {\n var matches = (cell.className || '').match(/el-table_[^\\s]+/gm);\n\n if (matches) {\n return getColumnById(table, matches[0]);\n }\n\n return null;\n };\n\n var getRowIdentity = function getRowIdentity(row, rowKey) {\n if (!row) throw new Error('row is required when get row identity');\n\n if (typeof rowKey === 'string') {\n if (rowKey.indexOf('.') < 0) {\n return row[rowKey];\n }\n\n var key = rowKey.split('.');\n var current = row;\n\n for (var i = 0; i < key.length; i++) {\n current = current[key[i]];\n }\n\n return current;\n } else if (typeof rowKey === 'function') {\n return rowKey.call(null, row);\n }\n };\n\n var getKeysMap = function getKeysMap(array, rowKey) {\n var arrayMap = {};\n (array || []).forEach(function (row, index) {\n arrayMap[getRowIdentity(row, rowKey)] = {\n row: row,\n index: index\n };\n });\n return arrayMap;\n };\n\n function hasOwn(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n }\n\n function mergeOptions(defaults, config) {\n var options = {};\n var key = void 0;\n\n for (key in defaults) {\n options[key] = defaults[key];\n }\n\n for (key in config) {\n if (hasOwn(config, key)) {\n var value = config[key];\n\n if (typeof value !== 'undefined') {\n options[key] = value;\n }\n }\n }\n\n return options;\n }\n\n function parseWidth(width) {\n if (width !== undefined) {\n width = parseInt(width, 10);\n\n if (isNaN(width)) {\n width = null;\n }\n }\n\n return width;\n }\n\n function parseMinWidth(minWidth) {\n if (typeof minWidth !== 'undefined') {\n minWidth = parseWidth(minWidth);\n\n if (isNaN(minWidth)) {\n minWidth = 80;\n }\n }\n\n return minWidth;\n }\n\n ;\n\n function parseHeight(height) {\n if (typeof height === 'number') {\n return height;\n }\n\n if (typeof height === 'string') {\n if (/^\\d+(?:px)?$/.test(height)) {\n return parseInt(height, 10);\n } else {\n return height;\n }\n }\n\n return null;\n } // https://github.com/reduxjs/redux/blob/master/src/compose.js\n\n\n function compose() {\n for (var _len = arguments.length, funcs = 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(undefined, arguments));\n };\n });\n }\n\n function toggleRowStatus(statusArr, row, newVal) {\n var changed = false;\n var index = statusArr.indexOf(row);\n var included = index !== -1;\n\n var addRow = function addRow() {\n statusArr.push(row);\n changed = true;\n };\n\n var removeRow = function removeRow() {\n statusArr.splice(index, 1);\n changed = true;\n };\n\n if (typeof newVal === 'boolean') {\n if (newVal && !included) {\n addRow();\n } else if (!newVal && included) {\n removeRow();\n }\n } else {\n if (included) {\n removeRow();\n } else {\n addRow();\n }\n }\n\n return changed;\n }\n\n function walkTreeNode(root, cb) {\n var childrenKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'children';\n var lazyKey = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'hasChildren';\n\n var isNil = function isNil(array) {\n return !(Array.isArray(array) && array.length);\n };\n\n function _walker(parent, children, level) {\n cb(parent, children, level);\n children.forEach(function (item) {\n if (item[lazyKey]) {\n cb(item, null, level + 1);\n return;\n }\n\n var children = item[childrenKey];\n\n if (!isNil(children)) {\n _walker(item, children, level + 1);\n }\n });\n }\n\n root.forEach(function (item) {\n if (item[lazyKey]) {\n cb(item, null, 0);\n return;\n }\n\n var children = item[childrenKey];\n\n if (!isNil(children)) {\n _walker(item, children, 0);\n }\n });\n }\n\n var objectEquals = function objectEquals(objectA, objectB) {\n // å–对象aå’Œb的属性å\n var aProps = Object.getOwnPropertyNames(objectA);\n var bProps = Object.getOwnPropertyNames(objectB); // 判æ–属性åçš„length是å¦ä¸€è‡´\n\n if (aProps.length !== bProps.length) {\n return false;\n } // 循环å–出属性å,å†åˆ¤æ–属性值是å¦ä¸€è‡´\n\n\n for (var i = 0; i < aProps.length; i++) {\n var propName = aProps[i];\n\n if (objectA[propName] !== objectB[propName]) {\n return false;\n }\n }\n\n return true;\n }; // CONCATENATED MODULE: ./packages/table/src/store/expand.js\n\n /* harmony default export */\n\n\n var expand = {\n data: function data() {\n return {\n states: {\n defaultExpandAll: false,\n expandRows: []\n }\n };\n },\n methods: {\n updateExpandRows: function updateExpandRows() {\n var _states = this.states,\n _states$data = _states.data,\n data = _states$data === undefined ? [] : _states$data,\n rowKey = _states.rowKey,\n defaultExpandAll = _states.defaultExpandAll,\n expandRows = _states.expandRows;\n\n if (defaultExpandAll) {\n this.states.expandRows = data.slice();\n } else if (rowKey) {\n // TODO:这里的代ç å¯ä»¥ä¼˜åŒ–\n var expandRowsMap = getKeysMap(expandRows, rowKey);\n this.states.expandRows = data.reduce(function (prev, row) {\n var rowId = getRowIdentity(row, rowKey);\n var rowInfo = expandRowsMap[rowId];\n\n if (rowInfo) {\n prev.push(row);\n }\n\n return prev;\n }, []);\n } else {\n this.states.expandRows = [];\n }\n },\n toggleRowExpansion: function toggleRowExpansion(row, expanded) {\n var changed = toggleRowStatus(this.states.expandRows, row, expanded);\n\n if (changed) {\n this.table.$emit('expand-change', row, this.states.expandRows.slice());\n this.scheduleLayout();\n }\n },\n setExpandRowKeys: function setExpandRowKeys(rowKeys) {\n this.assertRowKey(); // TODO:这里的代ç å¯ä»¥ä¼˜åŒ–\n\n var _states2 = this.states,\n data = _states2.data,\n rowKey = _states2.rowKey;\n var keysMap = getKeysMap(data, rowKey);\n this.states.expandRows = rowKeys.reduce(function (prev, cur) {\n var info = keysMap[cur];\n\n if (info) {\n prev.push(info.row);\n }\n\n return prev;\n }, []);\n },\n isRowExpanded: function isRowExpanded(row) {\n var _states3 = this.states,\n _states3$expandRows = _states3.expandRows,\n expandRows = _states3$expandRows === undefined ? [] : _states3$expandRows,\n rowKey = _states3.rowKey;\n\n if (rowKey) {\n var expandMap = getKeysMap(expandRows, rowKey);\n return !!expandMap[getRowIdentity(row, rowKey)];\n }\n\n return expandRows.indexOf(row) !== -1;\n }\n }\n }; // CONCATENATED MODULE: ./packages/table/src/store/current.js\n\n /* harmony default export */\n\n var store_current = {\n data: function data() {\n return {\n states: {\n // ä¸å¯å“应的,设置 currentRowKey 时,data ä¸ä¸€å®šå˜åœ¨ï¼Œä¹Ÿè®¸æ— 法算出æ£ç¡®çš„ currentRow\n // 把该值缓å˜ä¸€ä¸‹ï¼Œå½“用户点击修改 currentRow 时,把该值é‡ç½®ä¸º null\n _currentRowKey: null,\n currentRow: null\n }\n };\n },\n methods: {\n setCurrentRowKey: function setCurrentRowKey(key) {\n this.assertRowKey();\n this.states._currentRowKey = key;\n this.setCurrentRowByKey(key);\n },\n restoreCurrentRowKey: function restoreCurrentRowKey() {\n this.states._currentRowKey = null;\n },\n setCurrentRowByKey: function setCurrentRowByKey(key) {\n var states = this.states;\n var _states$data = states.data,\n data = _states$data === undefined ? [] : _states$data,\n rowKey = states.rowKey;\n var currentRow = null;\n\n if (rowKey) {\n currentRow = Object(util_[\"arrayFind\"])(data, function (item) {\n return getRowIdentity(item, rowKey) === key;\n });\n }\n\n states.currentRow = currentRow;\n },\n updateCurrentRow: function updateCurrentRow(currentRow) {\n var states = this.states,\n table = this.table;\n var oldCurrentRow = states.currentRow;\n\n if (currentRow && currentRow !== oldCurrentRow) {\n states.currentRow = currentRow;\n table.$emit('current-change', currentRow, oldCurrentRow);\n return;\n }\n\n if (!currentRow && oldCurrentRow) {\n states.currentRow = null;\n table.$emit('current-change', null, oldCurrentRow);\n }\n },\n updateCurrentRowData: function updateCurrentRowData() {\n var states = this.states,\n table = this.table;\n var rowKey = states.rowKey,\n _currentRowKey = states._currentRowKey; // data 为 null 时,解构时的默认值会被忽略\n\n var data = states.data || [];\n var oldCurrentRow = states.currentRow; // 当 currentRow ä¸åœ¨ data ä¸æ—¶å°è¯•æ›´æ–°æ•°æ®\n\n if (data.indexOf(oldCurrentRow) === -1 && oldCurrentRow) {\n if (rowKey) {\n var currentRowKey = getRowIdentity(oldCurrentRow, rowKey);\n this.setCurrentRowByKey(currentRowKey);\n } else {\n states.currentRow = null;\n }\n\n if (states.currentRow === null) {\n table.$emit('current-change', null, oldCurrentRow);\n }\n } else if (_currentRowKey) {\n // 把åˆå§‹æ—¶ä¸‹è®¾ç½®çš„ rowKey è½¬åŒ–æˆ rowData\n this.setCurrentRowByKey(_currentRowKey);\n this.restoreCurrentRowKey();\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/table/src/store/tree.js\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 /* harmony default export */\n\n\n var tree = {\n data: function data() {\n return {\n states: {\n // defaultExpandAll å˜åœ¨äºŽ expand.js ä¸ï¼Œè¿™é‡Œä¸é‡å¤æ·»åŠ \n // 在展开行ä¸ï¼ŒexpandRowKeys ä¼šè¢«è½¬åŒ–æˆ expandRows,expandRowKeys 这个属性åªæ˜¯è®°å½•äº† TreeTable 行的展开\n // TODO: 拆分为独立的 TreeTable,统一用法\n expandRowKeys: [],\n treeData: {},\n indent: 16,\n lazy: false,\n lazyTreeNodeMap: {},\n lazyColumnIdentifier: 'hasChildren',\n childrenColumnName: 'children'\n }\n };\n },\n computed: {\n // 嵌入型的数æ®ï¼Œwatch æ— æ³•æ˜¯æ£€æµ‹åˆ°å˜åŒ– https://github.com/ElemeFE/element/issues/14998\n // TODO: 使用 computed 解决该问题,是å¦ä¼šé€ æˆæ€§èƒ½é—®é¢˜ï¼Ÿ\n // @return { id: { level, children } }\n normalizedData: function normalizedData() {\n if (!this.states.rowKey) return {};\n var data = this.states.data || [];\n return this.normalize(data);\n },\n // @return { id: { children } }\n // é’ˆå¯¹æ‡’åŠ è½½çš„æƒ…å½¢ï¼Œä¸å¤„ç†åµŒå¥—æ•°æ®\n normalizedLazyNode: function normalizedLazyNode() {\n var _states = this.states,\n rowKey = _states.rowKey,\n lazyTreeNodeMap = _states.lazyTreeNodeMap,\n lazyColumnIdentifier = _states.lazyColumnIdentifier;\n var keys = Object.keys(lazyTreeNodeMap);\n var res = {};\n if (!keys.length) return res;\n keys.forEach(function (key) {\n if (lazyTreeNodeMap[key].length) {\n var item = {\n children: []\n };\n lazyTreeNodeMap[key].forEach(function (row) {\n var currentRowKey = getRowIdentity(row, rowKey);\n item.children.push(currentRowKey);\n\n if (row[lazyColumnIdentifier] && !res[currentRowKey]) {\n res[currentRowKey] = {\n children: []\n };\n }\n });\n res[key] = item;\n }\n });\n return res;\n }\n },\n watch: {\n normalizedData: 'updateTreeData',\n normalizedLazyNode: 'updateTreeData'\n },\n methods: {\n normalize: function normalize(data) {\n var _states2 = this.states,\n childrenColumnName = _states2.childrenColumnName,\n lazyColumnIdentifier = _states2.lazyColumnIdentifier,\n rowKey = _states2.rowKey,\n lazy = _states2.lazy;\n var res = {};\n walkTreeNode(data, function (parent, children, level) {\n var parentId = getRowIdentity(parent, rowKey);\n\n if (Array.isArray(children)) {\n res[parentId] = {\n children: children.map(function (row) {\n return getRowIdentity(row, rowKey);\n }),\n level: level\n };\n } else if (lazy) {\n // 当 children ä¸å˜åœ¨ä¸” lazy 为 true,该节点å³ä¸ºæ‡’åŠ è½½çš„èŠ‚ç‚¹\n res[parentId] = {\n children: [],\n lazy: true,\n level: level\n };\n }\n }, childrenColumnName, lazyColumnIdentifier);\n return res;\n },\n updateTreeData: function updateTreeData() {\n var nested = this.normalizedData;\n var normalizedLazyNode = this.normalizedLazyNode;\n var keys = Object.keys(nested);\n var newTreeData = {};\n\n if (keys.length) {\n var _states3 = this.states,\n oldTreeData = _states3.treeData,\n defaultExpandAll = _states3.defaultExpandAll,\n expandRowKeys = _states3.expandRowKeys,\n lazy = _states3.lazy;\n var rootLazyRowKeys = [];\n\n var getExpanded = function getExpanded(oldValue, key) {\n var included = defaultExpandAll || expandRowKeys && expandRowKeys.indexOf(key) !== -1;\n return !!(oldValue && oldValue.expanded || included);\n }; // åˆå¹¶ expanded 与 display,确ä¿æ•°æ®åˆ·æ–°åŽï¼ŒçŠ¶æ€ä¸å˜\n\n\n keys.forEach(function (key) {\n var oldValue = oldTreeData[key];\n\n var newValue = _extends({}, nested[key]);\n\n newValue.expanded = getExpanded(oldValue, key);\n\n if (newValue.lazy) {\n var _ref = oldValue || {},\n _ref$loaded = _ref.loaded,\n loaded = _ref$loaded === undefined ? false : _ref$loaded,\n _ref$loading = _ref.loading,\n loading = _ref$loading === undefined ? false : _ref$loading;\n\n newValue.loaded = !!loaded;\n newValue.loading = !!loading;\n rootLazyRowKeys.push(key);\n }\n\n newTreeData[key] = newValue;\n }); // æ ¹æ®æ‡’åŠ è½½æ•°æ®æ›´æ–° treeData\n\n var lazyKeys = Object.keys(normalizedLazyNode);\n\n if (lazy && lazyKeys.length && rootLazyRowKeys.length) {\n lazyKeys.forEach(function (key) {\n var oldValue = oldTreeData[key];\n var lazyNodeChildren = normalizedLazyNode[key].children;\n\n if (rootLazyRowKeys.indexOf(key) !== -1) {\n // æ‡’åŠ è½½çš„ root 节点,更新一下原有的数æ®ï¼ŒåŽŸæ¥çš„ children 一定是空数组\n if (newTreeData[key].children.length !== 0) {\n throw new Error('[ElTable]children must be an empty array.');\n }\n\n newTreeData[key].children = lazyNodeChildren;\n } else {\n var _ref2 = oldValue || {},\n _ref2$loaded = _ref2.loaded,\n loaded = _ref2$loaded === undefined ? false : _ref2$loaded,\n _ref2$loading = _ref2.loading,\n loading = _ref2$loading === undefined ? false : _ref2$loading;\n\n newTreeData[key] = {\n lazy: true,\n loaded: !!loaded,\n loading: !!loading,\n expanded: getExpanded(oldValue, key),\n children: lazyNodeChildren,\n level: ''\n };\n }\n });\n }\n }\n\n this.states.treeData = newTreeData;\n this.updateTableScrollY();\n },\n updateTreeExpandKeys: function updateTreeExpandKeys(value) {\n this.states.expandRowKeys = value;\n this.updateTreeData();\n },\n toggleTreeExpansion: function toggleTreeExpansion(row, expanded) {\n this.assertRowKey();\n var _states4 = this.states,\n rowKey = _states4.rowKey,\n treeData = _states4.treeData;\n var id = getRowIdentity(row, rowKey);\n var data = id && treeData[id];\n\n if (id && data && 'expanded' in data) {\n var oldExpanded = data.expanded;\n expanded = typeof expanded === 'undefined' ? !data.expanded : expanded;\n treeData[id].expanded = expanded;\n\n if (oldExpanded !== expanded) {\n this.table.$emit('expand-change', row, expanded);\n }\n\n this.updateTableScrollY();\n }\n },\n loadOrToggle: function loadOrToggle(row) {\n this.assertRowKey();\n var _states5 = this.states,\n lazy = _states5.lazy,\n treeData = _states5.treeData,\n rowKey = _states5.rowKey;\n var id = getRowIdentity(row, rowKey);\n var data = treeData[id];\n\n if (lazy && data && 'loaded' in data && !data.loaded) {\n this.loadData(row, id, data);\n } else {\n this.toggleTreeExpansion(row);\n }\n },\n loadData: function loadData(row, key, treeNode) {\n var _this = this;\n\n var load = this.table.load;\n var rawTreeData = this.states.treeData;\n\n if (load && !rawTreeData[key].loaded) {\n rawTreeData[key].loading = true;\n load(row, treeNode, function (data) {\n if (!Array.isArray(data)) {\n throw new Error('[ElTable] data must be an array');\n }\n\n var _states6 = _this.states,\n lazyTreeNodeMap = _states6.lazyTreeNodeMap,\n treeData = _states6.treeData;\n treeData[key].loading = false;\n treeData[key].loaded = true;\n treeData[key].expanded = true;\n\n if (data.length) {\n _this.$set(lazyTreeNodeMap, key, data);\n }\n\n _this.table.$emit('expand-change', row, true);\n });\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/table/src/store/watcher.js\n\n var watcher_sortData = function sortData(data, states) {\n var sortingColumn = states.sortingColumn;\n\n if (!sortingColumn || typeof sortingColumn.sortable === 'string') {\n return data;\n }\n\n return util_orderBy(data, states.sortProp, states.sortOrder, sortingColumn.sortMethod, sortingColumn.sortBy);\n };\n\n var doFlattenColumns = function doFlattenColumns(columns) {\n var result = [];\n columns.forEach(function (column) {\n if (column.children) {\n result.push.apply(result, doFlattenColumns(column.children));\n } else {\n result.push(column);\n }\n });\n return result;\n };\n /* harmony default export */\n\n\n var watcher = external_vue_default.a.extend({\n data: function data() {\n return {\n states: {\n // 3.0 版本åŽè¦æ±‚必须设置该属性\n rowKey: null,\n // 渲染的数æ®æ¥æºï¼Œæ˜¯å¯¹ table ä¸çš„ data 过滤排åºåŽçš„结果\n data: [],\n // 是å¦åŒ…å«å›ºå®šåˆ—\n isComplex: false,\n // 列\n _columns: [],\n // ä¸å¯å“应的\n originColumns: [],\n columns: [],\n fixedColumns: [],\n rightFixedColumns: [],\n leafColumns: [],\n fixedLeafColumns: [],\n rightFixedLeafColumns: [],\n leafColumnsLength: 0,\n fixedLeafColumnsLength: 0,\n rightFixedLeafColumnsLength: 0,\n // 选择\n isAllSelected: false,\n selection: [],\n reserveSelection: false,\n selectOnIndeterminate: false,\n selectable: null,\n // 过滤\n filters: {},\n // ä¸å¯å“应的\n filteredData: null,\n // 排åº\n sortingColumn: null,\n sortProp: null,\n sortOrder: null,\n hoverRow: null\n }\n };\n },\n mixins: [expand, store_current, tree],\n methods: {\n // 检查 rowKey 是å¦å˜åœ¨\n assertRowKey: function assertRowKey() {\n var rowKey = this.states.rowKey;\n if (!rowKey) throw new Error('[ElTable] prop row-key is required');\n },\n // 更新列\n updateColumns: function updateColumns() {\n var states = this.states;\n\n var _columns = states._columns || [];\n\n states.fixedColumns = _columns.filter(function (column) {\n return column.fixed === true || column.fixed === 'left';\n });\n states.rightFixedColumns = _columns.filter(function (column) {\n return column.fixed === 'right';\n });\n\n if (states.fixedColumns.length > 0 && _columns[0] && _columns[0].type === 'selection' && !_columns[0].fixed) {\n _columns[0].fixed = true;\n states.fixedColumns.unshift(_columns[0]);\n }\n\n var notFixedColumns = _columns.filter(function (column) {\n return !column.fixed;\n });\n\n states.originColumns = [].concat(states.fixedColumns).concat(notFixedColumns).concat(states.rightFixedColumns);\n var leafColumns = doFlattenColumns(notFixedColumns);\n var fixedLeafColumns = doFlattenColumns(states.fixedColumns);\n var rightFixedLeafColumns = doFlattenColumns(states.rightFixedColumns);\n states.leafColumnsLength = leafColumns.length;\n states.fixedLeafColumnsLength = fixedLeafColumns.length;\n states.rightFixedLeafColumnsLength = rightFixedLeafColumns.length;\n states.columns = [].concat(fixedLeafColumns).concat(leafColumns).concat(rightFixedLeafColumns);\n states.isComplex = states.fixedColumns.length > 0 || states.rightFixedColumns.length > 0;\n },\n // æ›´æ–° DOM\n scheduleLayout: function scheduleLayout(needUpdateColumns) {\n if (needUpdateColumns) {\n this.updateColumns();\n }\n\n this.table.debouncedUpdateLayout();\n },\n // 选择\n isSelected: function isSelected(row) {\n var _states$selection = this.states.selection,\n selection = _states$selection === undefined ? [] : _states$selection;\n return selection.indexOf(row) > -1;\n },\n clearSelection: function clearSelection() {\n var states = this.states;\n states.isAllSelected = false;\n var oldSelection = states.selection;\n\n if (oldSelection.length) {\n states.selection = [];\n this.table.$emit('selection-change', []);\n }\n },\n cleanSelection: function cleanSelection() {\n var states = this.states;\n var data = states.data,\n rowKey = states.rowKey,\n selection = states.selection;\n var deleted = void 0;\n\n if (rowKey) {\n deleted = [];\n var selectedMap = getKeysMap(selection, rowKey);\n var dataMap = getKeysMap(data, rowKey);\n\n for (var key in selectedMap) {\n if (selectedMap.hasOwnProperty(key) && !dataMap[key]) {\n deleted.push(selectedMap[key].row);\n }\n }\n } else {\n deleted = selection.filter(function (item) {\n return data.indexOf(item) === -1;\n });\n }\n\n if (deleted.length) {\n var newSelection = selection.filter(function (item) {\n return deleted.indexOf(item) === -1;\n });\n states.selection = newSelection;\n this.table.$emit('selection-change', newSelection.slice());\n }\n },\n toggleRowSelection: function toggleRowSelection(row, selected) {\n var emitChange = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var changed = toggleRowStatus(this.states.selection, row, selected);\n\n if (changed) {\n var newSelection = (this.states.selection || []).slice(); // 调用 API 修改选ä¸å€¼ï¼Œä¸è§¦å‘ select 事件\n\n if (emitChange) {\n this.table.$emit('select', newSelection, row);\n }\n\n this.table.$emit('selection-change', newSelection);\n }\n },\n _toggleAllSelection: function _toggleAllSelection() {\n var states = this.states;\n var _states$data = states.data,\n data = _states$data === undefined ? [] : _states$data,\n selection = states.selection; // when only some rows are selected (but not all), select or deselect all of them\n // depending on the value of selectOnIndeterminate\n\n var value = states.selectOnIndeterminate ? !states.isAllSelected : !(states.isAllSelected || selection.length);\n states.isAllSelected = value;\n var selectionChanged = false;\n data.forEach(function (row, index) {\n if (states.selectable) {\n if (states.selectable.call(null, row, index) && toggleRowStatus(selection, row, value)) {\n selectionChanged = true;\n }\n } else {\n if (toggleRowStatus(selection, row, value)) {\n selectionChanged = true;\n }\n }\n });\n\n if (selectionChanged) {\n this.table.$emit('selection-change', selection ? selection.slice() : []);\n }\n\n this.table.$emit('select-all', selection);\n },\n updateSelectionByRowKey: function updateSelectionByRowKey() {\n var states = this.states;\n var selection = states.selection,\n rowKey = states.rowKey,\n data = states.data;\n var selectedMap = getKeysMap(selection, rowKey);\n data.forEach(function (row) {\n var rowId = getRowIdentity(row, rowKey);\n var rowInfo = selectedMap[rowId];\n\n if (rowInfo) {\n selection[rowInfo.index] = row;\n }\n });\n },\n updateAllSelected: function updateAllSelected() {\n var states = this.states;\n var selection = states.selection,\n rowKey = states.rowKey,\n selectable = states.selectable; // data 为 null 时,解构时的默认值会被忽略\n\n var data = states.data || [];\n\n if (data.length === 0) {\n states.isAllSelected = false;\n return;\n }\n\n var selectedMap = void 0;\n\n if (rowKey) {\n selectedMap = getKeysMap(selection, rowKey);\n }\n\n var isSelected = function isSelected(row) {\n if (selectedMap) {\n return !!selectedMap[getRowIdentity(row, rowKey)];\n } else {\n return selection.indexOf(row) !== -1;\n }\n };\n\n var isAllSelected = true;\n var selectedCount = 0;\n\n for (var i = 0, j = data.length; i < j; i++) {\n var item = data[i];\n var isRowSelectable = selectable && selectable.call(null, item, i);\n\n if (!isSelected(item)) {\n if (!selectable || isRowSelectable) {\n isAllSelected = false;\n break;\n }\n } else {\n selectedCount++;\n }\n }\n\n if (selectedCount === 0) isAllSelected = false;\n states.isAllSelected = isAllSelected;\n },\n // 过滤与排åº\n updateFilters: function updateFilters(columns, values) {\n if (!Array.isArray(columns)) {\n columns = [columns];\n }\n\n var states = this.states;\n var filters = {};\n columns.forEach(function (col) {\n states.filters[col.id] = values;\n filters[col.columnKey || col.id] = values;\n });\n return filters;\n },\n updateSort: function updateSort(column, prop, order) {\n if (this.states.sortingColumn && this.states.sortingColumn !== column) {\n this.states.sortingColumn.order = null;\n }\n\n this.states.sortingColumn = column;\n this.states.sortProp = prop;\n this.states.sortOrder = order;\n },\n execFilter: function execFilter() {\n var _this = this;\n\n var states = this.states;\n var _data = states._data,\n filters = states.filters;\n var data = _data;\n Object.keys(filters).forEach(function (columnId) {\n var values = states.filters[columnId];\n if (!values || values.length === 0) return;\n var column = getColumnById(_this.states, columnId);\n\n if (column && column.filterMethod) {\n data = data.filter(function (row) {\n return values.some(function (value) {\n return column.filterMethod.call(null, value, row, column);\n });\n });\n }\n });\n states.filteredData = data;\n },\n execSort: function execSort() {\n var states = this.states;\n states.data = watcher_sortData(states.filteredData, states);\n },\n // æ ¹æ® filters 与 sort 去过滤 data\n execQuery: function execQuery(ignore) {\n if (!(ignore && ignore.filter)) {\n this.execFilter();\n }\n\n this.execSort();\n },\n clearFilter: function clearFilter(columnKeys) {\n var states = this.states;\n var _table$$refs = this.table.$refs,\n tableHeader = _table$$refs.tableHeader,\n fixedTableHeader = _table$$refs.fixedTableHeader,\n rightFixedTableHeader = _table$$refs.rightFixedTableHeader;\n var panels = {};\n if (tableHeader) panels = merge_default()(panels, tableHeader.filterPanels);\n if (fixedTableHeader) panels = merge_default()(panels, fixedTableHeader.filterPanels);\n if (rightFixedTableHeader) panels = merge_default()(panels, rightFixedTableHeader.filterPanels);\n var keys = Object.keys(panels);\n if (!keys.length) return;\n\n if (typeof columnKeys === 'string') {\n columnKeys = [columnKeys];\n }\n\n if (Array.isArray(columnKeys)) {\n var columns = columnKeys.map(function (key) {\n return getColumnByKey(states, key);\n });\n keys.forEach(function (key) {\n var column = columns.find(function (col) {\n return col.id === key;\n });\n\n if (column) {\n // TODO: 优化这里的代ç \n panels[key].filteredValue = [];\n }\n });\n this.commit('filterChange', {\n column: columns,\n values: [],\n silent: true,\n multi: true\n });\n } else {\n keys.forEach(function (key) {\n // TODO: 优化这里的代ç \n panels[key].filteredValue = [];\n });\n states.filters = {};\n this.commit('filterChange', {\n column: {},\n values: [],\n silent: true\n });\n }\n },\n clearSort: function clearSort() {\n var states = this.states;\n if (!states.sortingColumn) return;\n this.updateSort(null, null, null);\n this.commit('changeSortCondition', {\n silent: true\n });\n },\n // 适é…层,expand-row-keys 在 Expand 与 TreeTable ä¸éƒ½æœ‰ä½¿ç”¨\n setExpandRowKeysAdapter: function setExpandRowKeysAdapter(val) {\n // 这里会触å‘é¢å¤–的计算,但为了兼容性,暂时这么åš\n this.setExpandRowKeys(val);\n this.updateTreeExpandKeys(val);\n },\n // 展开行与 TreeTable 都è¦ä½¿ç”¨\n toggleRowExpansionAdapter: function toggleRowExpansionAdapter(row, expanded) {\n var hasExpandColumn = this.states.columns.some(function (_ref) {\n var type = _ref.type;\n return type === 'expand';\n });\n\n if (hasExpandColumn) {\n this.toggleRowExpansion(row, expanded);\n } else {\n this.toggleTreeExpansion(row, expanded);\n }\n }\n }\n }); // CONCATENATED MODULE: ./packages/table/src/store/index.js\n\n watcher.prototype.mutations = {\n setData: function setData(states, data) {\n var dataInstanceChanged = states._data !== data;\n states._data = data;\n this.execQuery(); // æ•°æ®å˜åŒ–,更新部分数æ®ã€‚\n // 没有使用 computedï¼Œè€Œæ˜¯æ‰‹åŠ¨æ›´æ–°éƒ¨åˆ†æ•°æ® https://github.com/vuejs/vue/issues/6660#issuecomment-331417140\n\n this.updateCurrentRowData();\n this.updateExpandRows();\n\n if (states.reserveSelection) {\n this.assertRowKey();\n this.updateSelectionByRowKey();\n } else {\n if (dataInstanceChanged) {\n this.clearSelection();\n } else {\n this.cleanSelection();\n }\n }\n\n this.updateAllSelected();\n this.updateTableScrollY();\n },\n insertColumn: function insertColumn(states, column, index, parent) {\n var array = states._columns;\n\n if (parent) {\n array = parent.children;\n if (!array) array = parent.children = [];\n }\n\n if (typeof index !== 'undefined') {\n array.splice(index, 0, column);\n } else {\n array.push(column);\n }\n\n if (column.type === 'selection') {\n states.selectable = column.selectable;\n states.reserveSelection = column.reserveSelection;\n }\n\n if (this.table.$ready) {\n this.updateColumns(); // hack for dynamics insert column\n\n this.scheduleLayout();\n }\n },\n removeColumn: function removeColumn(states, column, parent) {\n var array = states._columns;\n\n if (parent) {\n array = parent.children;\n if (!array) array = parent.children = [];\n }\n\n if (array) {\n array.splice(array.indexOf(column), 1);\n }\n\n if (this.table.$ready) {\n this.updateColumns(); // hack for dynamics remove column\n\n this.scheduleLayout();\n }\n },\n sort: function sort(states, options) {\n var prop = options.prop,\n order = options.order,\n init = options.init;\n\n if (prop) {\n var column = Object(util_[\"arrayFind\"])(states.columns, function (column) {\n return column.property === prop;\n });\n\n if (column) {\n column.order = order;\n this.updateSort(column, prop, order);\n this.commit('changeSortCondition', {\n init: init\n });\n }\n }\n },\n changeSortCondition: function changeSortCondition(states, options) {\n // ä¿®å¤ pr https://github.com/ElemeFE/element/pull/15012 导致的 bug\n var column = states.sortingColumn,\n prop = states.sortProp,\n order = states.sortOrder;\n\n if (order === null) {\n states.sortingColumn = null;\n states.sortProp = null;\n }\n\n var ingore = {\n filter: true\n };\n this.execQuery(ingore);\n\n if (!options || !(options.silent || options.init)) {\n this.table.$emit('sort-change', {\n column: column,\n prop: prop,\n order: order\n });\n }\n\n this.updateTableScrollY();\n },\n filterChange: function filterChange(states, options) {\n var column = options.column,\n values = options.values,\n silent = options.silent;\n var newFilters = this.updateFilters(column, values);\n this.execQuery();\n\n if (!silent) {\n this.table.$emit('filter-change', newFilters);\n }\n\n this.updateTableScrollY();\n },\n toggleAllSelection: function toggleAllSelection() {\n this.toggleAllSelection();\n },\n rowSelectedChanged: function rowSelectedChanged(states, row) {\n this.toggleRowSelection(row);\n this.updateAllSelected();\n },\n setHoverRow: function setHoverRow(states, row) {\n states.hoverRow = row;\n },\n setCurrentRow: function setCurrentRow(states, row) {\n this.updateCurrentRow(row);\n }\n };\n\n watcher.prototype.commit = function (name) {\n var mutations = this.mutations;\n\n if (mutations[name]) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n mutations[name].apply(this, [this.states].concat(args));\n } else {\n throw new Error('Action not found: ' + name);\n }\n };\n\n watcher.prototype.updateTableScrollY = function () {\n external_vue_default.a.nextTick(this.table.updateScrollY);\n };\n /* harmony default export */\n\n\n var src_store = watcher; // CONCATENATED MODULE: ./packages/table/src/store/helper.js\n\n function createStore(table) {\n var initialState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (!table) {\n throw new Error('Table is required.');\n }\n\n var store = new src_store();\n store.table = table; // fix https://github.com/ElemeFE/element/issues/14075\n // related pr https://github.com/ElemeFE/element/pull/14146\n\n store.toggleAllSelection = debounce_default()(10, store._toggleAllSelection);\n Object.keys(initialState).forEach(function (key) {\n store.states[key] = initialState[key];\n });\n return store;\n }\n\n function mapStates(mapper) {\n var res = {};\n Object.keys(mapper).forEach(function (key) {\n var value = mapper[key];\n var fn = void 0;\n\n if (typeof value === 'string') {\n fn = function fn() {\n return this.store.states[value];\n };\n } else if (typeof value === 'function') {\n fn = function fn() {\n return value.call(this, this.store.states);\n };\n } else {\n console.error('invalid value type');\n }\n\n if (fn) {\n res[key] = fn;\n }\n });\n return res;\n }\n\n ; // EXTERNAL MODULE: external \"element-ui/lib/utils/scrollbar-width\"\n\n var scrollbar_width_ = __webpack_require__(31);\n\n var scrollbar_width_default =\n /*#__PURE__*/\n __webpack_require__.n(scrollbar_width_); // CONCATENATED MODULE: ./packages/table/src/table-layout.js\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 table_layout_TableLayout = function () {\n function TableLayout(options) {\n _classCallCheck(this, TableLayout);\n\n this.observers = [];\n this.table = null;\n this.store = null;\n this.columns = null;\n this.fit = true;\n this.showHeader = true;\n this.height = null;\n this.scrollX = false;\n this.scrollY = false;\n this.bodyWidth = null;\n this.fixedWidth = null;\n this.rightFixedWidth = null;\n this.tableHeight = null;\n this.headerHeight = 44; // Table Header Height\n\n this.appendHeight = 0; // Append Slot Height\n\n this.footerHeight = 44; // Table Footer Height\n\n this.viewportHeight = null; // Table Height - Scroll Bar Height\n\n this.bodyHeight = null; // Table Height - Table Header Height\n\n this.fixedBodyHeight = null; // Table Height - Table Header Height - Scroll Bar Height\n\n this.gutterWidth = scrollbar_width_default()();\n\n for (var name in options) {\n if (options.hasOwnProperty(name)) {\n this[name] = options[name];\n }\n }\n\n if (!this.table) {\n throw new Error('table is required for Table Layout');\n }\n\n if (!this.store) {\n throw new Error('store is required for Table Layout');\n }\n }\n\n TableLayout.prototype.updateScrollY = function updateScrollY() {\n var height = this.height;\n if (height === null) return false;\n var bodyWrapper = this.table.bodyWrapper;\n\n if (this.table.$el && bodyWrapper) {\n var body = bodyWrapper.querySelector('.el-table__body');\n var prevScrollY = this.scrollY;\n var scrollY = body.offsetHeight > this.bodyHeight;\n this.scrollY = scrollY;\n return prevScrollY !== scrollY;\n }\n\n return false;\n };\n\n TableLayout.prototype.setHeight = function setHeight(value) {\n var _this = this;\n\n var prop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'height';\n if (external_vue_default.a.prototype.$isServer) return;\n var el = this.table.$el;\n value = parseHeight(value);\n this.height = value;\n if (!el && (value || value === 0)) return external_vue_default.a.nextTick(function () {\n return _this.setHeight(value, prop);\n });\n\n if (typeof value === 'number') {\n el.style[prop] = value + 'px';\n this.updateElsHeight();\n } else if (typeof value === 'string') {\n el.style[prop] = value;\n this.updateElsHeight();\n }\n };\n\n TableLayout.prototype.setMaxHeight = function setMaxHeight(value) {\n this.setHeight(value, 'max-height');\n };\n\n TableLayout.prototype.getFlattenColumns = function getFlattenColumns() {\n var flattenColumns = [];\n var columns = this.table.columns;\n columns.forEach(function (column) {\n if (column.isColumnGroup) {\n flattenColumns.push.apply(flattenColumns, column.columns);\n } else {\n flattenColumns.push(column);\n }\n });\n return flattenColumns;\n };\n\n TableLayout.prototype.updateElsHeight = function updateElsHeight() {\n var _this2 = this;\n\n if (!this.table.$ready) return external_vue_default.a.nextTick(function () {\n return _this2.updateElsHeight();\n });\n var _table$$refs = this.table.$refs,\n headerWrapper = _table$$refs.headerWrapper,\n appendWrapper = _table$$refs.appendWrapper,\n footerWrapper = _table$$refs.footerWrapper;\n this.appendHeight = appendWrapper ? appendWrapper.offsetHeight : 0;\n if (this.showHeader && !headerWrapper) return; // fix issue (https://github.com/ElemeFE/element/pull/16956)\n\n var headerTrElm = headerWrapper ? headerWrapper.querySelector('.el-table__header tr') : null;\n var noneHeader = this.headerDisplayNone(headerTrElm);\n var headerHeight = this.headerHeight = !this.showHeader ? 0 : headerWrapper.offsetHeight;\n\n if (this.showHeader && !noneHeader && headerWrapper.offsetWidth > 0 && (this.table.columns || []).length > 0 && headerHeight < 2) {\n return external_vue_default.a.nextTick(function () {\n return _this2.updateElsHeight();\n });\n }\n\n var tableHeight = this.tableHeight = this.table.$el.clientHeight;\n var footerHeight = this.footerHeight = footerWrapper ? footerWrapper.offsetHeight : 0;\n\n if (this.height !== null) {\n this.bodyHeight = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);\n }\n\n this.fixedBodyHeight = this.scrollX ? this.bodyHeight - this.gutterWidth : this.bodyHeight;\n var noData = !(this.store.states.data && this.store.states.data.length);\n this.viewportHeight = this.scrollX ? tableHeight - (noData ? 0 : this.gutterWidth) : tableHeight;\n this.updateScrollY();\n this.notifyObservers('scrollable');\n };\n\n TableLayout.prototype.headerDisplayNone = function headerDisplayNone(elm) {\n if (!elm) return true;\n var headerChild = elm;\n\n while (headerChild.tagName !== 'DIV') {\n if (getComputedStyle(headerChild).display === 'none') {\n return true;\n }\n\n headerChild = headerChild.parentElement;\n }\n\n return false;\n };\n\n TableLayout.prototype.updateColumnsWidth = function updateColumnsWidth() {\n if (external_vue_default.a.prototype.$isServer) return;\n var fit = this.fit;\n var bodyWidth = this.table.$el.clientWidth;\n var bodyMinWidth = 0;\n var flattenColumns = this.getFlattenColumns();\n var flexColumns = flattenColumns.filter(function (column) {\n return typeof column.width !== 'number';\n });\n flattenColumns.forEach(function (column) {\n // Clean those columns whose width changed from flex to unflex\n if (typeof column.width === 'number' && column.realWidth) column.realWidth = null;\n });\n\n if (flexColumns.length > 0 && fit) {\n flattenColumns.forEach(function (column) {\n bodyMinWidth += column.width || column.minWidth || 80;\n });\n var scrollYWidth = this.scrollY ? this.gutterWidth : 0;\n\n if (bodyMinWidth <= bodyWidth - scrollYWidth) {\n // DON'T HAVE SCROLL BAR\n this.scrollX = false;\n var totalFlexWidth = bodyWidth - scrollYWidth - bodyMinWidth;\n\n if (flexColumns.length === 1) {\n flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth;\n } else {\n var allColumnsWidth = flexColumns.reduce(function (prev, column) {\n return prev + (column.minWidth || 80);\n }, 0);\n var flexWidthPerPixel = totalFlexWidth / allColumnsWidth;\n var noneFirstWidth = 0;\n flexColumns.forEach(function (column, index) {\n if (index === 0) return;\n var flexWidth = Math.floor((column.minWidth || 80) * flexWidthPerPixel);\n noneFirstWidth += flexWidth;\n column.realWidth = (column.minWidth || 80) + flexWidth;\n });\n flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth - noneFirstWidth;\n }\n } else {\n // HAVE HORIZONTAL SCROLL BAR\n this.scrollX = true;\n flexColumns.forEach(function (column) {\n column.realWidth = column.minWidth;\n });\n }\n\n this.bodyWidth = Math.max(bodyMinWidth, bodyWidth);\n this.table.resizeState.width = this.bodyWidth;\n } else {\n flattenColumns.forEach(function (column) {\n if (!column.width && !column.minWidth) {\n column.realWidth = 80;\n } else {\n column.realWidth = column.width || column.minWidth;\n }\n\n bodyMinWidth += column.realWidth;\n });\n this.scrollX = bodyMinWidth > bodyWidth;\n this.bodyWidth = bodyMinWidth;\n }\n\n var fixedColumns = this.store.states.fixedColumns;\n\n if (fixedColumns.length > 0) {\n var fixedWidth = 0;\n fixedColumns.forEach(function (column) {\n fixedWidth += column.realWidth || column.width;\n });\n this.fixedWidth = fixedWidth;\n }\n\n var rightFixedColumns = this.store.states.rightFixedColumns;\n\n if (rightFixedColumns.length > 0) {\n var rightFixedWidth = 0;\n rightFixedColumns.forEach(function (column) {\n rightFixedWidth += column.realWidth || column.width;\n });\n this.rightFixedWidth = rightFixedWidth;\n }\n\n this.notifyObservers('columns');\n };\n\n TableLayout.prototype.addObserver = function addObserver(observer) {\n this.observers.push(observer);\n };\n\n TableLayout.prototype.removeObserver = function removeObserver(observer) {\n var index = this.observers.indexOf(observer);\n\n if (index !== -1) {\n this.observers.splice(index, 1);\n }\n };\n\n TableLayout.prototype.notifyObservers = function notifyObservers(event) {\n var _this3 = this;\n\n var observers = this.observers;\n observers.forEach(function (observer) {\n switch (event) {\n case 'columns':\n observer.onColumnsChange(_this3);\n break;\n\n case 'scrollable':\n observer.onScrollableChange(_this3);\n break;\n\n default:\n throw new Error('Table Layout don\\'t have event ' + event + '.');\n }\n });\n };\n\n return TableLayout;\n }();\n /* harmony default export */\n\n\n var table_layout = table_layout_TableLayout; // CONCATENATED MODULE: ./packages/table/src/layout-observer.js\n\n /* harmony default export */\n\n var layout_observer = {\n created: function created() {\n this.tableLayout.addObserver(this);\n },\n destroyed: function destroyed() {\n this.tableLayout.removeObserver(this);\n },\n computed: {\n tableLayout: function tableLayout() {\n var layout = this.layout;\n\n if (!layout && this.table) {\n layout = this.table.layout;\n }\n\n if (!layout) {\n throw new Error('Can not find table layout.');\n }\n\n return layout;\n }\n },\n mounted: function mounted() {\n this.onColumnsChange(this.tableLayout);\n this.onScrollableChange(this.tableLayout);\n },\n updated: function updated() {\n if (this.__updated__) return;\n this.onColumnsChange(this.tableLayout);\n this.onScrollableChange(this.tableLayout);\n this.__updated__ = true;\n },\n methods: {\n onColumnsChange: function onColumnsChange(layout) {\n var cols = this.$el.querySelectorAll('colgroup > col');\n if (!cols.length) return;\n var flattenColumns = layout.getFlattenColumns();\n var columnsMap = {};\n flattenColumns.forEach(function (column) {\n columnsMap[column.id] = column;\n });\n\n for (var i = 0, j = cols.length; i < j; i++) {\n var col = cols[i];\n var name = col.getAttribute('name');\n var column = columnsMap[name];\n\n if (column) {\n col.setAttribute('width', column.realWidth || column.width);\n }\n }\n },\n onScrollableChange: function onScrollableChange(layout) {\n var cols = this.$el.querySelectorAll('colgroup > col[name=gutter]');\n\n for (var i = 0, j = cols.length; i < j; i++) {\n var col = cols[i];\n col.setAttribute('width', layout.scrollY ? layout.gutterWidth : '0');\n }\n\n var ths = this.$el.querySelectorAll('th.gutter');\n\n for (var _i = 0, _j = ths.length; _i < _j; _i++) {\n var th = ths[_i];\n th.style.width = layout.scrollY ? layout.gutterWidth + 'px' : '0';\n th.style.display = layout.scrollY ? '' : 'none';\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/table/src/table-row.js\n\n var table_row_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 /* harmony default export */\n\n\n var table_row = {\n name: 'ElTableRow',\n props: ['columns', 'row', 'index', 'isSelected', 'isExpanded', 'store', 'context', 'firstDefaultColumnIndex', 'treeRowData', 'treeIndent', 'columnsHidden', 'getSpan', 'getColspanRealWidth', 'getCellStyle', 'getCellClass', 'handleCellMouseLeave', 'handleCellMouseEnter', 'fixed'],\n components: {\n ElCheckbox: checkbox_default.a\n },\n render: function render() {\n var _this = this;\n\n var h = arguments[0];\n var columns = this.columns,\n row = this.row,\n $index = this.index,\n store = this.store,\n context = this.context,\n firstDefaultColumnIndex = this.firstDefaultColumnIndex,\n treeRowData = this.treeRowData,\n treeIndent = this.treeIndent,\n _columnsHidden = this.columnsHidden,\n columnsHidden = _columnsHidden === undefined ? [] : _columnsHidden,\n isSelected = this.isSelected,\n isExpanded = this.isExpanded;\n return h('tr', [columns.map(function (column, cellIndex) {\n var _getSpan = _this.getSpan(row, column, $index, cellIndex),\n rowspan = _getSpan.rowspan,\n colspan = _getSpan.colspan;\n\n if (!rowspan || !colspan) {\n return null;\n }\n\n var columnData = table_row_extends({}, column);\n columnData.realWidth = _this.getColspanRealWidth(columns, colspan, cellIndex);\n var data = {\n store: store,\n isSelected: isSelected,\n isExpanded: isExpanded,\n _self: context,\n column: columnData,\n row: row,\n $index: $index\n };\n\n if (cellIndex === firstDefaultColumnIndex && treeRowData) {\n data.treeNode = {\n indent: treeRowData.level * treeIndent,\n level: treeRowData.level\n };\n\n if (typeof treeRowData.expanded === 'boolean') {\n data.treeNode.expanded = treeRowData.expanded; // è¡¨æ˜Žæ˜¯æ‡’åŠ è½½\n\n if ('loading' in treeRowData) {\n data.treeNode.loading = treeRowData.loading;\n }\n\n if ('noLazyChildren' in treeRowData) {\n data.treeNode.noLazyChildren = treeRowData.noLazyChildren;\n }\n }\n }\n\n return h('td', {\n style: _this.getCellStyle($index, cellIndex, row, column),\n 'class': _this.getCellClass($index, cellIndex, row, column),\n attrs: {\n rowspan: rowspan,\n colspan: colspan\n },\n on: {\n 'mouseenter': function mouseenter($event) {\n return _this.handleCellMouseEnter($event, row);\n },\n 'mouseleave': _this.handleCellMouseLeave\n }\n }, [column.renderCell.call(_this._renderProxy, _this.$createElement, data, columnsHidden[cellIndex])]);\n })]);\n }\n }; // CONCATENATED MODULE: ./packages/table/src/table-body.js\n\n var table_body_typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n\n var table_body_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 /* harmony default export */\n\n\n var table_body = {\n name: 'ElTableBody',\n mixins: [layout_observer],\n components: {\n ElCheckbox: checkbox_default.a,\n ElTooltip: tooltip_default.a,\n TableRow: table_row\n },\n props: {\n store: {\n required: true\n },\n stripe: Boolean,\n context: {},\n rowClassName: [String, Function],\n rowStyle: [Object, Function],\n fixed: String,\n highlight: Boolean\n },\n render: function render(h) {\n var _this = this;\n\n var data = this.data || [];\n return h('table', {\n 'class': 'el-table__body',\n attrs: {\n cellspacing: '0',\n cellpadding: '0',\n border: '0'\n }\n }, [h('colgroup', [this.columns.map(function (column) {\n return h('col', {\n attrs: {\n name: column.id\n },\n key: column.id\n });\n })]), h('tbody', [data.reduce(function (acc, row) {\n return acc.concat(_this.wrappedRowRender(row, acc.length));\n }, []), h('el-tooltip', {\n attrs: {\n effect: this.table.tooltipEffect,\n placement: 'top',\n content: this.tooltipContent\n },\n ref: 'tooltip'\n })])]);\n },\n computed: table_body_extends({\n table: function table() {\n return this.$parent;\n }\n }, mapStates({\n data: 'data',\n columns: 'columns',\n treeIndent: 'indent',\n leftFixedLeafCount: 'fixedLeafColumnsLength',\n rightFixedLeafCount: 'rightFixedLeafColumnsLength',\n columnsCount: function columnsCount(states) {\n return states.columns.length;\n },\n leftFixedCount: function leftFixedCount(states) {\n return states.fixedColumns.length;\n },\n rightFixedCount: function rightFixedCount(states) {\n return states.rightFixedColumns.length;\n },\n hasExpandColumn: function hasExpandColumn(states) {\n return states.columns.some(function (_ref) {\n var type = _ref.type;\n return type === 'expand';\n });\n }\n }), {\n columnsHidden: function columnsHidden() {\n var _this2 = this;\n\n return this.columns.map(function (column, index) {\n return _this2.isColumnHidden(index);\n });\n },\n firstDefaultColumnIndex: function firstDefaultColumnIndex() {\n return Object(util_[\"arrayFindIndex\"])(this.columns, function (_ref2) {\n var type = _ref2.type;\n return type === 'default';\n });\n }\n }),\n watch: {\n // don't trigger getter of currentRow in getCellClass. see https://jsfiddle.net/oe2b4hqt/\n // update DOM manually. see https://github.com/ElemeFE/element/pull/13954/files#diff-9b450c00d0a9dec0ffad5a3176972e40\n 'store.states.hoverRow': function storeStatesHoverRow(newVal, oldVal) {\n var _this3 = this;\n\n if (!this.store.states.isComplex || this.$isServer) return;\n var raf = window.requestAnimationFrame;\n\n if (!raf) {\n raf = function raf(fn) {\n return setTimeout(fn, 16);\n };\n }\n\n raf(function () {\n var rows = _this3.$el.querySelectorAll('.el-table__row');\n\n var oldRow = rows[oldVal];\n var newRow = rows[newVal];\n\n if (oldRow) {\n Object(dom_[\"removeClass\"])(oldRow, 'hover-row');\n }\n\n if (newRow) {\n Object(dom_[\"addClass\"])(newRow, 'hover-row');\n }\n });\n }\n },\n data: function data() {\n return {\n tooltipContent: ''\n };\n },\n created: function created() {\n this.activateTooltip = debounce_default()(50, function (tooltip) {\n return tooltip.handleShowPopper();\n });\n },\n methods: {\n getKeyOfRow: function getKeyOfRow(row, index) {\n var rowKey = this.table.rowKey;\n\n if (rowKey) {\n return getRowIdentity(row, rowKey);\n }\n\n return index;\n },\n isColumnHidden: function isColumnHidden(index) {\n if (this.fixed === true || this.fixed === 'left') {\n return index >= this.leftFixedLeafCount;\n } else if (this.fixed === 'right') {\n return index < this.columnsCount - this.rightFixedLeafCount;\n } else {\n return index < this.leftFixedLeafCount || index >= this.columnsCount - this.rightFixedLeafCount;\n }\n },\n getSpan: function getSpan(row, column, rowIndex, columnIndex) {\n var rowspan = 1;\n var colspan = 1;\n var fn = this.table.spanMethod;\n\n if (typeof fn === 'function') {\n var result = fn({\n row: row,\n column: column,\n rowIndex: rowIndex,\n columnIndex: columnIndex\n });\n\n if (Array.isArray(result)) {\n rowspan = result[0];\n colspan = result[1];\n } else if ((typeof result === 'undefined' ? 'undefined' : table_body_typeof(result)) === 'object') {\n rowspan = result.rowspan;\n colspan = result.colspan;\n }\n }\n\n return {\n rowspan: rowspan,\n colspan: colspan\n };\n },\n getRowStyle: function getRowStyle(row, rowIndex) {\n var rowStyle = this.table.rowStyle;\n\n if (typeof rowStyle === 'function') {\n return rowStyle.call(null, {\n row: row,\n rowIndex: rowIndex\n });\n }\n\n return rowStyle || null;\n },\n getRowClass: function getRowClass(row, rowIndex) {\n var selection = this.store.states.selection;\n var classes = ['el-table__row'];\n\n if (this.table.highlightCurrentRow && row === this.store.states.currentRow) {\n classes.push('current-row');\n }\n\n if (this.table.highlightSelectionRow) {\n for (var i = 0; i < selection.length; i++) {\n if (objectEquals(row, selection[i])) {\n classes.push('selection-row');\n }\n }\n\n ;\n }\n\n if (this.stripe && rowIndex % 2 === 1) {\n classes.push('el-table__row--striped');\n }\n\n var rowClassName = this.table.rowClassName;\n\n if (typeof rowClassName === 'string') {\n classes.push(rowClassName);\n } else if (typeof rowClassName === 'function') {\n classes.push(rowClassName.call(null, {\n row: row,\n rowIndex: rowIndex\n }));\n }\n\n if (this.store.states.expandRows.indexOf(row) > -1) {\n classes.push('expanded');\n }\n\n return classes;\n },\n getCellStyle: function getCellStyle(rowIndex, columnIndex, row, column) {\n var cellStyle = this.table.cellStyle;\n\n if (typeof cellStyle === 'function') {\n return cellStyle.call(null, {\n rowIndex: rowIndex,\n columnIndex: columnIndex,\n row: row,\n column: column\n });\n }\n\n return cellStyle;\n },\n getCellClass: function getCellClass(rowIndex, columnIndex, row, column) {\n var classes = [column.id, column.align, column.className];\n\n if (this.isColumnHidden(columnIndex)) {\n classes.push('is-hidden');\n }\n\n var cellClassName = this.table.cellClassName;\n\n if (typeof cellClassName === 'string') {\n classes.push(cellClassName);\n } else if (typeof cellClassName === 'function') {\n classes.push(cellClassName.call(null, {\n rowIndex: rowIndex,\n columnIndex: columnIndex,\n row: row,\n column: column\n }));\n }\n\n classes.push('el-table__cell');\n return classes.join(' ');\n },\n getColspanRealWidth: function getColspanRealWidth(columns, colspan, index) {\n if (colspan < 1) {\n return columns[index].realWidth;\n }\n\n var widthArr = columns.map(function (_ref3) {\n var realWidth = _ref3.realWidth;\n return realWidth;\n }).slice(index, index + colspan);\n return widthArr.reduce(function (acc, width) {\n return acc + width;\n }, -1);\n },\n handleCellMouseEnter: function handleCellMouseEnter(event, row) {\n var table = this.table;\n var cell = getCell(event);\n\n if (cell) {\n var column = getColumnByCell(table, cell);\n var hoverState = table.hoverState = {\n cell: cell,\n column: column,\n row: row\n };\n table.$emit('cell-mouse-enter', hoverState.row, hoverState.column, hoverState.cell, event);\n } // 判æ–是å¦text-overflow, 如果是就显示tooltip\n\n\n var cellChild = event.target.querySelector('.cell');\n\n if (!(Object(dom_[\"hasClass\"])(cellChild, 'el-tooltip') && cellChild.childNodes.length)) {\n return;\n } // use range width instead of scrollWidth to determine whether the text is overflowing\n // to address a potential FireFox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1074543#c3\n\n\n var range = document.createRange();\n range.setStart(cellChild, 0);\n range.setEnd(cellChild, cellChild.childNodes.length);\n var rangeWidth = range.getBoundingClientRect().width;\n var padding = (parseInt(Object(dom_[\"getStyle\"])(cellChild, 'paddingLeft'), 10) || 0) + (parseInt(Object(dom_[\"getStyle\"])(cellChild, 'paddingRight'), 10) || 0);\n\n if ((rangeWidth + padding > cellChild.offsetWidth || cellChild.scrollWidth > cellChild.offsetWidth) && this.$refs.tooltip) {\n var tooltip = this.$refs.tooltip; // TODO 会引起整个 Table çš„é‡æ–°æ¸²æŸ“,需è¦ä¼˜åŒ–\n\n this.tooltipContent = cell.innerText || cell.textContent;\n tooltip.referenceElm = cell;\n tooltip.$refs.popper && (tooltip.$refs.popper.style.display = 'none');\n tooltip.doDestroy();\n tooltip.setExpectedState(true);\n this.activateTooltip(tooltip);\n }\n },\n handleCellMouseLeave: function handleCellMouseLeave(event) {\n var tooltip = this.$refs.tooltip;\n\n if (tooltip) {\n tooltip.setExpectedState(false);\n tooltip.handleClosePopper();\n }\n\n var cell = getCell(event);\n if (!cell) return;\n var oldHoverState = this.table.hoverState || {};\n this.table.$emit('cell-mouse-leave', oldHoverState.row, oldHoverState.column, oldHoverState.cell, event);\n },\n handleMouseEnter: debounce_default()(30, function (index) {\n this.store.commit('setHoverRow', index);\n }),\n handleMouseLeave: debounce_default()(30, function () {\n this.store.commit('setHoverRow', null);\n }),\n handleContextMenu: function handleContextMenu(event, row) {\n this.handleEvent(event, row, 'contextmenu');\n },\n handleDoubleClick: function handleDoubleClick(event, row) {\n this.handleEvent(event, row, 'dblclick');\n },\n handleClick: function handleClick(event, row) {\n this.store.commit('setCurrentRow', row);\n this.handleEvent(event, row, 'click');\n },\n handleEvent: function handleEvent(event, row, name) {\n var table = this.table;\n var cell = getCell(event);\n var column = void 0;\n\n if (cell) {\n column = getColumnByCell(table, cell);\n\n if (column) {\n table.$emit('cell-' + name, row, column, cell, event);\n }\n }\n\n table.$emit('row-' + name, row, column, event);\n },\n rowRender: function rowRender(row, $index, treeRowData) {\n var _this4 = this;\n\n var h = this.$createElement;\n var treeIndent = this.treeIndent,\n columns = this.columns,\n firstDefaultColumnIndex = this.firstDefaultColumnIndex;\n var rowClasses = this.getRowClass(row, $index);\n var display = true;\n\n if (treeRowData) {\n rowClasses.push('el-table__row--level-' + treeRowData.level);\n display = treeRowData.display;\n } // 指令 v-show 会覆盖 row-style ä¸ display\n // 使用 :style 代替 v-show https://github.com/ElemeFE/element/issues/16995\n\n\n var displayStyle = display ? null : {\n display: 'none'\n };\n return h(table_row, {\n style: [displayStyle, this.getRowStyle(row, $index)],\n 'class': rowClasses,\n key: this.getKeyOfRow(row, $index),\n nativeOn: {\n 'dblclick': function dblclick($event) {\n return _this4.handleDoubleClick($event, row);\n },\n 'click': function click($event) {\n return _this4.handleClick($event, row);\n },\n 'contextmenu': function contextmenu($event) {\n return _this4.handleContextMenu($event, row);\n },\n 'mouseenter': function mouseenter(_) {\n return _this4.handleMouseEnter($index);\n },\n 'mouseleave': this.handleMouseLeave\n },\n attrs: {\n columns: columns,\n row: row,\n index: $index,\n store: this.store,\n context: this.context || this.table.$vnode.context,\n firstDefaultColumnIndex: firstDefaultColumnIndex,\n treeRowData: treeRowData,\n treeIndent: treeIndent,\n columnsHidden: this.columnsHidden,\n getSpan: this.getSpan,\n getColspanRealWidth: this.getColspanRealWidth,\n getCellStyle: this.getCellStyle,\n getCellClass: this.getCellClass,\n handleCellMouseEnter: this.handleCellMouseEnter,\n handleCellMouseLeave: this.handleCellMouseLeave,\n isSelected: this.store.isSelected(row),\n isExpanded: this.store.states.expandRows.indexOf(row) > -1,\n fixed: this.fixed\n }\n });\n },\n wrappedRowRender: function wrappedRowRender(row, $index) {\n var _this5 = this;\n\n var h = this.$createElement;\n var store = this.store;\n var isRowExpanded = store.isRowExpanded,\n assertRowKey = store.assertRowKey;\n var _store$states = store.states,\n treeData = _store$states.treeData,\n lazyTreeNodeMap = _store$states.lazyTreeNodeMap,\n childrenColumnName = _store$states.childrenColumnName,\n rowKey = _store$states.rowKey;\n\n if (this.hasExpandColumn && isRowExpanded(row)) {\n var renderExpanded = this.table.renderExpanded;\n var tr = this.rowRender(row, $index);\n\n if (!renderExpanded) {\n console.error('[Element Error]renderExpanded is required.');\n return tr;\n } // 使用二维数组,é¿å…修改 $index\n\n\n return [[tr, h('tr', {\n key: 'expanded-row__' + tr.key\n }, [h('td', {\n attrs: {\n colspan: this.columnsCount\n },\n 'class': 'el-table__cell el-table__expanded-cell'\n }, [renderExpanded(this.$createElement, {\n row: row,\n $index: $index,\n store: this.store\n })])])]];\n } else if (Object.keys(treeData).length) {\n assertRowKey(); // TreeTable 时,rowKey 必须由用户设定,ä¸ä½¿ç”¨ getKeyOfRow 计算\n // 在调用 rowRender 函数时,ä»ç„¶ä¼šè®¡ç®— rowKey,ä¸å¤ªå¥½çš„æ“作\n\n var key = getRowIdentity(row, rowKey);\n var cur = treeData[key];\n var treeRowData = null;\n\n if (cur) {\n treeRowData = {\n expanded: cur.expanded,\n level: cur.level,\n display: true\n };\n\n if (typeof cur.lazy === 'boolean') {\n if (typeof cur.loaded === 'boolean' && cur.loaded) {\n treeRowData.noLazyChildren = !(cur.children && cur.children.length);\n }\n\n treeRowData.loading = cur.loading;\n }\n }\n\n var tmp = [this.rowRender(row, $index, treeRowData)]; // 渲染嵌套数æ®\n\n if (cur) {\n // currentRow 记录的是 indexï¼Œæ‰€ä»¥è¿˜éœ€ä¸»åŠ¨å¢žåŠ TreeTable çš„ index\n var i = 0;\n\n var traverse = function traverse(children, parent) {\n if (!(children && children.length && parent)) return;\n children.forEach(function (node) {\n // 父节点的 display 状æ€å½±å“å节点的显示状æ€\n var innerTreeRowData = {\n display: parent.display && parent.expanded,\n level: parent.level + 1\n };\n var childKey = getRowIdentity(node, rowKey);\n\n if (childKey === undefined || childKey === null) {\n throw new Error('for nested data item, row-key is required.');\n }\n\n cur = table_body_extends({}, treeData[childKey]); // 对于当å‰èŠ‚点,分æˆæœ‰æ— å节点两ç§æƒ…况。\n // 如果包å«å节点的,设置 expanded 属性。\n // 对于它å节点的 display 属性由它本身的 expanded 与 display å…±åŒå†³å®šã€‚\n\n if (cur) {\n innerTreeRowData.expanded = cur.expanded; // æ‡’åŠ è½½çš„æŸäº›èŠ‚点,level 未知\n\n cur.level = cur.level || innerTreeRowData.level;\n cur.display = !!(cur.expanded && innerTreeRowData.display);\n\n if (typeof cur.lazy === 'boolean') {\n if (typeof cur.loaded === 'boolean' && cur.loaded) {\n innerTreeRowData.noLazyChildren = !(cur.children && cur.children.length);\n }\n\n innerTreeRowData.loading = cur.loading;\n }\n }\n\n i++;\n tmp.push(_this5.rowRender(node, $index + i, innerTreeRowData));\n\n if (cur) {\n var _nodes = lazyTreeNodeMap[childKey] || node[childrenColumnName];\n\n traverse(_nodes, cur);\n }\n });\n }; // 对于 root 节点,display 一定为 true\n\n\n cur.display = true;\n var nodes = lazyTreeNodeMap[key] || row[childrenColumnName];\n traverse(nodes, cur);\n }\n\n return tmp;\n } else {\n return this.rowRender(row, $index);\n }\n }\n }\n }; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/filter-panel.vue?vue&type=template&id=7f2c919f&\n\n var filter_panelvue_type_template_id_7f2c919f_render = function filter_panelvue_type_template_id_7f2c919f_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n }\n }, [_vm.multiple ? _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleOutsideClick,\n expression: \"handleOutsideClick\"\n }, {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showPopper,\n expression: \"showPopper\"\n }],\n staticClass: \"el-table-filter\"\n }, [_c(\"div\", {\n staticClass: \"el-table-filter__content\"\n }, [_c(\"el-scrollbar\", {\n attrs: {\n \"wrap-class\": \"el-table-filter__wrap\"\n }\n }, [_c(\"el-checkbox-group\", {\n staticClass: \"el-table-filter__checkbox-group\",\n model: {\n value: _vm.filteredValue,\n callback: function callback($$v) {\n _vm.filteredValue = $$v;\n },\n expression: \"filteredValue\"\n }\n }, _vm._l(_vm.filters, function (filter) {\n return _c(\"el-checkbox\", {\n key: filter.value,\n attrs: {\n label: filter.value\n }\n }, [_vm._v(_vm._s(filter.text))]);\n }), 1)], 1)], 1), _c(\"div\", {\n staticClass: \"el-table-filter__bottom\"\n }, [_c(\"button\", {\n \"class\": {\n \"is-disabled\": _vm.filteredValue.length === 0\n },\n attrs: {\n disabled: _vm.filteredValue.length === 0\n },\n on: {\n click: _vm.handleConfirm\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.table.confirmFilter\")))]), _c(\"button\", {\n on: {\n click: _vm.handleReset\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.table.resetFilter\")))])])]) : _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleOutsideClick,\n expression: \"handleOutsideClick\"\n }, {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showPopper,\n expression: \"showPopper\"\n }],\n staticClass: \"el-table-filter\"\n }, [_c(\"ul\", {\n staticClass: \"el-table-filter__list\"\n }, [_c(\"li\", {\n staticClass: \"el-table-filter__list-item\",\n \"class\": {\n \"is-active\": _vm.filterValue === undefined || _vm.filterValue === null\n },\n on: {\n click: function click($event) {\n _vm.handleSelect(null);\n }\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.table.clearFilter\")))]), _vm._l(_vm.filters, function (filter) {\n return _c(\"li\", {\n key: filter.value,\n staticClass: \"el-table-filter__list-item\",\n \"class\": {\n \"is-active\": _vm.isActive(filter)\n },\n attrs: {\n label: filter.value\n },\n on: {\n click: function click($event) {\n _vm.handleSelect(filter.value);\n }\n }\n }, [_vm._v(_vm._s(filter.text))]);\n })], 2)])]);\n };\n\n var filter_panelvue_type_template_id_7f2c919f_staticRenderFns = [];\n filter_panelvue_type_template_id_7f2c919f_render._withStripped = true; // CONCATENATED MODULE: ./packages/table/src/filter-panel.vue?vue&type=template&id=7f2c919f&\n // CONCATENATED MODULE: ./packages/table/src/dropdown.js\n\n var dropdowns = [];\n !external_vue_default.a.prototype.$isServer && document.addEventListener('click', function (event) {\n dropdowns.forEach(function (dropdown) {\n var target = event.target;\n if (!dropdown || !dropdown.$el) return;\n\n if (target === dropdown.$el || dropdown.$el.contains(target)) {\n return;\n }\n\n dropdown.handleOutsideClick && dropdown.handleOutsideClick(event);\n });\n });\n /* harmony default export */\n\n var src_dropdown = {\n open: function open(instance) {\n if (instance) {\n dropdowns.push(instance);\n }\n },\n close: function close(instance) {\n var index = dropdowns.indexOf(instance);\n\n if (index !== -1) {\n dropdowns.splice(instance, 1);\n }\n }\n }; // EXTERNAL MODULE: external \"element-ui/lib/checkbox-group\"\n\n var checkbox_group_ = __webpack_require__(32);\n\n var checkbox_group_default =\n /*#__PURE__*/\n __webpack_require__.n(checkbox_group_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/filter-panel.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var filter_panelvue_type_script_lang_js_ = {\n name: 'ElTableFilterPanel',\n mixins: [vue_popper_default.a, locale_default.a],\n directives: {\n Clickoutside: clickoutside_default.a\n },\n components: {\n ElCheckbox: checkbox_default.a,\n ElCheckboxGroup: checkbox_group_default.a,\n ElScrollbar: scrollbar_default.a\n },\n props: {\n placement: {\n type: String,\n \"default\": 'bottom-end'\n }\n },\n methods: {\n isActive: function isActive(filter) {\n return filter.value === this.filterValue;\n },\n handleOutsideClick: function handleOutsideClick() {\n var _this = this;\n\n setTimeout(function () {\n _this.showPopper = false;\n }, 16);\n },\n handleConfirm: function handleConfirm() {\n this.confirmFilter(this.filteredValue);\n this.handleOutsideClick();\n },\n handleReset: function handleReset() {\n this.filteredValue = [];\n this.confirmFilter(this.filteredValue);\n this.handleOutsideClick();\n },\n handleSelect: function handleSelect(filterValue) {\n this.filterValue = filterValue;\n\n if (typeof filterValue !== 'undefined' && filterValue !== null) {\n this.confirmFilter(this.filteredValue);\n } else {\n this.confirmFilter([]);\n }\n\n this.handleOutsideClick();\n },\n confirmFilter: function confirmFilter(filteredValue) {\n this.table.store.commit('filterChange', {\n column: this.column,\n values: filteredValue\n });\n this.table.store.updateAllSelected();\n }\n },\n data: function data() {\n return {\n table: null,\n cell: null,\n column: null\n };\n },\n computed: {\n filters: function filters() {\n return this.column && this.column.filters;\n },\n filterValue: {\n get: function get() {\n return (this.column.filteredValue || [])[0];\n },\n set: function set(value) {\n if (this.filteredValue) {\n if (typeof value !== 'undefined' && value !== null) {\n this.filteredValue.splice(0, 1, value);\n } else {\n this.filteredValue.splice(0, 1);\n }\n }\n }\n },\n filteredValue: {\n get: function get() {\n if (this.column) {\n return this.column.filteredValue || [];\n }\n\n return [];\n },\n set: function set(value) {\n if (this.column) {\n this.column.filteredValue = value;\n }\n }\n },\n multiple: function multiple() {\n if (this.column) {\n return this.column.filterMultiple;\n }\n\n return true;\n }\n },\n mounted: function mounted() {\n var _this2 = this;\n\n this.popperElm = this.$el;\n this.referenceElm = this.cell;\n this.table.bodyWrapper.addEventListener('scroll', function () {\n _this2.updatePopper();\n });\n this.$watch('showPopper', function (value) {\n if (_this2.column) _this2.column.filterOpened = value;\n\n if (value) {\n src_dropdown.open(_this2);\n } else {\n src_dropdown.close(_this2);\n }\n });\n },\n watch: {\n showPopper: function showPopper(val) {\n if (val === true && parseInt(this.popperJS._popper.style.zIndex, 10) < popup_[\"PopupManager\"].zIndex) {\n this.popperJS._popper.style.zIndex = popup_[\"PopupManager\"].nextZIndex();\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/table/src/filter-panel.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_filter_panelvue_type_script_lang_js_ = filter_panelvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/table/src/filter-panel.vue\n\n /* normalize component */\n\n var filter_panel_component = normalizeComponent(src_filter_panelvue_type_script_lang_js_, filter_panelvue_type_template_id_7f2c919f_render, filter_panelvue_type_template_id_7f2c919f_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var filter_panel_api;\n }\n\n filter_panel_component.options.__file = \"packages/table/src/filter-panel.vue\";\n /* harmony default export */\n\n var filter_panel = filter_panel_component.exports; // CONCATENATED MODULE: ./packages/table/src/table-header.js\n\n var table_header_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 getAllColumns = function getAllColumns(columns) {\n var result = [];\n columns.forEach(function (column) {\n if (column.children) {\n result.push(column);\n result.push.apply(result, getAllColumns(column.children));\n } else {\n result.push(column);\n }\n });\n return result;\n };\n\n var convertToRows = function convertToRows(originColumns) {\n var maxLevel = 1;\n\n var traverse = function traverse(column, parent) {\n if (parent) {\n column.level = parent.level + 1;\n\n if (maxLevel < column.level) {\n maxLevel = column.level;\n }\n }\n\n if (column.children) {\n var colSpan = 0;\n column.children.forEach(function (subColumn) {\n traverse(subColumn, column);\n colSpan += subColumn.colSpan;\n });\n column.colSpan = colSpan;\n } else {\n column.colSpan = 1;\n }\n };\n\n originColumns.forEach(function (column) {\n column.level = 1;\n traverse(column);\n });\n var rows = [];\n\n for (var i = 0; i < maxLevel; i++) {\n rows.push([]);\n }\n\n var allColumns = getAllColumns(originColumns);\n allColumns.forEach(function (column) {\n if (!column.children) {\n column.rowSpan = maxLevel - column.level + 1;\n } else {\n column.rowSpan = 1;\n }\n\n rows[column.level - 1].push(column);\n });\n return rows;\n };\n /* harmony default export */\n\n\n var table_header = {\n name: 'ElTableHeader',\n mixins: [layout_observer],\n render: function render(h) {\n var _this = this;\n\n var originColumns = this.store.states.originColumns;\n var columnRows = convertToRows(originColumns, this.columns); // 是å¦æ‹¥æœ‰å¤šçº§è¡¨å¤´\n\n var isGroup = columnRows.length > 1;\n if (isGroup) this.$parent.isGroup = true;\n return h('table', {\n 'class': 'el-table__header',\n attrs: {\n cellspacing: '0',\n cellpadding: '0',\n border: '0'\n }\n }, [h('colgroup', [this.columns.map(function (column) {\n return h('col', {\n attrs: {\n name: column.id\n },\n key: column.id\n });\n }), this.hasGutter ? h('col', {\n attrs: {\n name: 'gutter'\n }\n }) : '']), h('thead', {\n 'class': [{\n 'is-group': isGroup,\n 'has-gutter': this.hasGutter\n }]\n }, [this._l(columnRows, function (columns, rowIndex) {\n return h('tr', {\n style: _this.getHeaderRowStyle(rowIndex),\n 'class': _this.getHeaderRowClass(rowIndex)\n }, [columns.map(function (column, cellIndex) {\n return h('th', {\n attrs: {\n colspan: column.colSpan,\n rowspan: column.rowSpan\n },\n on: {\n 'mousemove': function mousemove($event) {\n return _this.handleMouseMove($event, column);\n },\n 'mouseout': _this.handleMouseOut,\n 'mousedown': function mousedown($event) {\n return _this.handleMouseDown($event, column);\n },\n 'click': function click($event) {\n return _this.handleHeaderClick($event, column);\n },\n 'contextmenu': function contextmenu($event) {\n return _this.handleHeaderContextMenu($event, column);\n }\n },\n style: _this.getHeaderCellStyle(rowIndex, cellIndex, columns, column),\n 'class': _this.getHeaderCellClass(rowIndex, cellIndex, columns, column),\n key: column.id\n }, [h('div', {\n 'class': ['cell', column.filteredValue && column.filteredValue.length > 0 ? 'highlight' : '', column.labelClassName]\n }, [column.renderHeader ? column.renderHeader.call(_this._renderProxy, h, {\n column: column,\n $index: cellIndex,\n store: _this.store,\n _self: _this.$parent.$vnode.context\n }) : column.label, column.sortable ? h('span', {\n 'class': 'caret-wrapper',\n on: {\n 'click': function click($event) {\n return _this.handleSortClick($event, column);\n }\n }\n }, [h('i', {\n 'class': 'sort-caret ascending',\n on: {\n 'click': function click($event) {\n return _this.handleSortClick($event, column, 'ascending');\n }\n }\n }), h('i', {\n 'class': 'sort-caret descending',\n on: {\n 'click': function click($event) {\n return _this.handleSortClick($event, column, 'descending');\n }\n }\n })]) : '', column.filterable ? h('span', {\n 'class': 'el-table__column-filter-trigger',\n on: {\n 'click': function click($event) {\n return _this.handleFilterClick($event, column);\n }\n }\n }, [h('i', {\n 'class': ['el-icon-arrow-down', column.filterOpened ? 'el-icon-arrow-up' : '']\n })]) : ''])]);\n }), _this.hasGutter ? h('th', {\n 'class': 'el-table__cell gutter'\n }) : '']);\n })])]);\n },\n props: {\n fixed: String,\n store: {\n required: true\n },\n border: Boolean,\n defaultSort: {\n type: Object,\n \"default\": function _default() {\n return {\n prop: '',\n order: ''\n };\n }\n }\n },\n components: {\n ElCheckbox: checkbox_default.a\n },\n computed: table_header_extends({\n table: function table() {\n return this.$parent;\n },\n hasGutter: function hasGutter() {\n return !this.fixed && this.tableLayout.gutterWidth;\n }\n }, mapStates({\n columns: 'columns',\n isAllSelected: 'isAllSelected',\n leftFixedLeafCount: 'fixedLeafColumnsLength',\n rightFixedLeafCount: 'rightFixedLeafColumnsLength',\n columnsCount: function columnsCount(states) {\n return states.columns.length;\n },\n leftFixedCount: function leftFixedCount(states) {\n return states.fixedColumns.length;\n },\n rightFixedCount: function rightFixedCount(states) {\n return states.rightFixedColumns.length;\n }\n })),\n created: function created() {\n this.filterPanels = {};\n },\n mounted: function mounted() {\n var _this2 = this; // nextTick 是有必è¦çš„ https://github.com/ElemeFE/element/pull/11311\n\n\n this.$nextTick(function () {\n var _defaultSort = _this2.defaultSort,\n prop = _defaultSort.prop,\n order = _defaultSort.order;\n var init = true;\n\n _this2.store.commit('sort', {\n prop: prop,\n order: order,\n init: init\n });\n });\n },\n beforeDestroy: function beforeDestroy() {\n var panels = this.filterPanels;\n\n for (var prop in panels) {\n if (panels.hasOwnProperty(prop) && panels[prop]) {\n panels[prop].$destroy(true);\n }\n }\n },\n methods: {\n isCellHidden: function isCellHidden(index, columns) {\n var start = 0;\n\n for (var i = 0; i < index; i++) {\n start += columns[i].colSpan;\n }\n\n var after = start + columns[index].colSpan - 1;\n\n if (this.fixed === true || this.fixed === 'left') {\n return after >= this.leftFixedLeafCount;\n } else if (this.fixed === 'right') {\n return start < this.columnsCount - this.rightFixedLeafCount;\n } else {\n return after < this.leftFixedLeafCount || start >= this.columnsCount - this.rightFixedLeafCount;\n }\n },\n getHeaderRowStyle: function getHeaderRowStyle(rowIndex) {\n var headerRowStyle = this.table.headerRowStyle;\n\n if (typeof headerRowStyle === 'function') {\n return headerRowStyle.call(null, {\n rowIndex: rowIndex\n });\n }\n\n return headerRowStyle;\n },\n getHeaderRowClass: function getHeaderRowClass(rowIndex) {\n var classes = [];\n var headerRowClassName = this.table.headerRowClassName;\n\n if (typeof headerRowClassName === 'string') {\n classes.push(headerRowClassName);\n } else if (typeof headerRowClassName === 'function') {\n classes.push(headerRowClassName.call(null, {\n rowIndex: rowIndex\n }));\n }\n\n return classes.join(' ');\n },\n getHeaderCellStyle: function getHeaderCellStyle(rowIndex, columnIndex, row, column) {\n var headerCellStyle = this.table.headerCellStyle;\n\n if (typeof headerCellStyle === 'function') {\n return headerCellStyle.call(null, {\n rowIndex: rowIndex,\n columnIndex: columnIndex,\n row: row,\n column: column\n });\n }\n\n return headerCellStyle;\n },\n getHeaderCellClass: function getHeaderCellClass(rowIndex, columnIndex, row, column) {\n var classes = [column.id, column.order, column.headerAlign, column.className, column.labelClassName];\n\n if (rowIndex === 0 && this.isCellHidden(columnIndex, row)) {\n classes.push('is-hidden');\n }\n\n if (!column.children) {\n classes.push('is-leaf');\n }\n\n if (column.sortable) {\n classes.push('is-sortable');\n }\n\n var headerCellClassName = this.table.headerCellClassName;\n\n if (typeof headerCellClassName === 'string') {\n classes.push(headerCellClassName);\n } else if (typeof headerCellClassName === 'function') {\n classes.push(headerCellClassName.call(null, {\n rowIndex: rowIndex,\n columnIndex: columnIndex,\n row: row,\n column: column\n }));\n }\n\n classes.push('el-table__cell');\n return classes.join(' ');\n },\n toggleAllSelection: function toggleAllSelection() {\n this.store.commit('toggleAllSelection');\n },\n handleFilterClick: function handleFilterClick(event, column) {\n event.stopPropagation();\n var target = event.target;\n var cell = target.tagName === 'TH' ? target : target.parentNode;\n if (Object(dom_[\"hasClass\"])(cell, 'noclick')) return;\n cell = cell.querySelector('.el-table__column-filter-trigger') || cell;\n var table = this.$parent;\n var filterPanel = this.filterPanels[column.id];\n\n if (filterPanel && column.filterOpened) {\n filterPanel.showPopper = false;\n return;\n }\n\n if (!filterPanel) {\n filterPanel = new external_vue_default.a(filter_panel);\n this.filterPanels[column.id] = filterPanel;\n\n if (column.filterPlacement) {\n filterPanel.placement = column.filterPlacement;\n }\n\n filterPanel.table = table;\n filterPanel.cell = cell;\n filterPanel.column = column;\n !this.$isServer && filterPanel.$mount(document.createElement('div'));\n }\n\n setTimeout(function () {\n filterPanel.showPopper = true;\n }, 16);\n },\n handleHeaderClick: function handleHeaderClick(event, column) {\n if (!column.filters && column.sortable) {\n this.handleSortClick(event, column);\n } else if (column.filterable && !column.sortable) {\n this.handleFilterClick(event, column);\n }\n\n this.$parent.$emit('header-click', column, event);\n },\n handleHeaderContextMenu: function handleHeaderContextMenu(event, column) {\n this.$parent.$emit('header-contextmenu', column, event);\n },\n handleMouseDown: function handleMouseDown(event, column) {\n var _this3 = this;\n\n if (this.$isServer) return;\n if (column.children && column.children.length > 0) return;\n /* istanbul ignore if */\n\n if (this.draggingColumn && this.border) {\n this.dragging = true;\n this.$parent.resizeProxyVisible = true;\n var table = this.$parent;\n var tableEl = table.$el;\n var tableLeft = tableEl.getBoundingClientRect().left;\n var columnEl = this.$el.querySelector('th.' + column.id);\n var columnRect = columnEl.getBoundingClientRect();\n var minLeft = columnRect.left - tableLeft + 30;\n Object(dom_[\"addClass\"])(columnEl, 'noclick');\n this.dragState = {\n startMouseLeft: event.clientX,\n startLeft: columnRect.right - tableLeft,\n startColumnLeft: columnRect.left - tableLeft,\n tableLeft: tableLeft\n };\n var resizeProxy = table.$refs.resizeProxy;\n resizeProxy.style.left = this.dragState.startLeft + 'px';\n\n document.onselectstart = function () {\n return false;\n };\n\n document.ondragstart = function () {\n return false;\n };\n\n var handleMouseMove = function handleMouseMove(event) {\n var deltaLeft = event.clientX - _this3.dragState.startMouseLeft;\n var proxyLeft = _this3.dragState.startLeft + deltaLeft;\n resizeProxy.style.left = Math.max(minLeft, proxyLeft) + 'px';\n };\n\n var handleMouseUp = function handleMouseUp() {\n if (_this3.dragging) {\n var _dragState = _this3.dragState,\n startColumnLeft = _dragState.startColumnLeft,\n startLeft = _dragState.startLeft;\n var finalLeft = parseInt(resizeProxy.style.left, 10);\n var columnWidth = finalLeft - startColumnLeft;\n column.width = column.realWidth = columnWidth;\n table.$emit('header-dragend', column.width, startLeft - startColumnLeft, column, event);\n\n _this3.store.scheduleLayout();\n\n document.body.style.cursor = '';\n _this3.dragging = false;\n _this3.draggingColumn = null;\n _this3.dragState = {};\n table.resizeProxyVisible = false;\n }\n\n document.removeEventListener('mousemove', handleMouseMove);\n document.removeEventListener('mouseup', handleMouseUp);\n document.onselectstart = null;\n document.ondragstart = null;\n setTimeout(function () {\n Object(dom_[\"removeClass\"])(columnEl, 'noclick');\n }, 0);\n };\n\n document.addEventListener('mousemove', handleMouseMove);\n document.addEventListener('mouseup', handleMouseUp);\n }\n },\n handleMouseMove: function handleMouseMove(event, column) {\n if (column.children && column.children.length > 0) return;\n var target = event.target;\n\n while (target && target.tagName !== 'TH') {\n target = target.parentNode;\n }\n\n if (!column || !column.resizable) return;\n\n if (!this.dragging && this.border) {\n var rect = target.getBoundingClientRect();\n var bodyStyle = document.body.style;\n\n if (rect.width > 12 && rect.right - event.pageX < 8) {\n bodyStyle.cursor = 'col-resize';\n\n if (Object(dom_[\"hasClass\"])(target, 'is-sortable')) {\n target.style.cursor = 'col-resize';\n }\n\n this.draggingColumn = column;\n } else if (!this.dragging) {\n bodyStyle.cursor = '';\n\n if (Object(dom_[\"hasClass\"])(target, 'is-sortable')) {\n target.style.cursor = 'pointer';\n }\n\n this.draggingColumn = null;\n }\n }\n },\n handleMouseOut: function handleMouseOut() {\n if (this.$isServer) return;\n document.body.style.cursor = '';\n },\n toggleOrder: function toggleOrder(_ref) {\n var order = _ref.order,\n sortOrders = _ref.sortOrders;\n if (order === '') return sortOrders[0];\n var index = sortOrders.indexOf(order || null);\n return sortOrders[index > sortOrders.length - 2 ? 0 : index + 1];\n },\n handleSortClick: function handleSortClick(event, column, givenOrder) {\n event.stopPropagation();\n var order = column.order === givenOrder ? null : givenOrder || this.toggleOrder(column);\n var target = event.target;\n\n while (target && target.tagName !== 'TH') {\n target = target.parentNode;\n }\n\n if (target && target.tagName === 'TH') {\n if (Object(dom_[\"hasClass\"])(target, 'noclick')) {\n Object(dom_[\"removeClass\"])(target, 'noclick');\n return;\n }\n }\n\n if (!column.sortable) return;\n var states = this.store.states;\n var sortProp = states.sortProp;\n var sortOrder = void 0;\n var sortingColumn = states.sortingColumn;\n\n if (sortingColumn !== column || sortingColumn === column && sortingColumn.order === null) {\n if (sortingColumn) {\n sortingColumn.order = null;\n }\n\n states.sortingColumn = column;\n sortProp = column.property;\n }\n\n if (!order) {\n sortOrder = column.order = null;\n } else {\n sortOrder = column.order = order;\n }\n\n states.sortProp = sortProp;\n states.sortOrder = sortOrder;\n this.store.commit('changeSortCondition');\n }\n },\n data: function data() {\n return {\n draggingColumn: null,\n dragging: false,\n dragState: {}\n };\n }\n }; // CONCATENATED MODULE: ./packages/table/src/table-footer.js\n\n var table_footer_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 /* harmony default export */\n\n\n var table_footer = {\n name: 'ElTableFooter',\n mixins: [layout_observer],\n render: function render(h) {\n var _this = this;\n\n var sums = [];\n\n if (this.summaryMethod) {\n sums = this.summaryMethod({\n columns: this.columns,\n data: this.store.states.data\n });\n } else {\n this.columns.forEach(function (column, index) {\n if (index === 0) {\n sums[index] = _this.sumText;\n return;\n }\n\n var values = _this.store.states.data.map(function (item) {\n return Number(item[column.property]);\n });\n\n var precisions = [];\n var notNumber = true;\n values.forEach(function (value) {\n if (!isNaN(value)) {\n notNumber = false;\n var decimal = ('' + value).split('.')[1];\n precisions.push(decimal ? decimal.length : 0);\n }\n });\n var precision = Math.max.apply(null, precisions);\n\n if (!notNumber) {\n sums[index] = values.reduce(function (prev, curr) {\n var value = Number(curr);\n\n if (!isNaN(value)) {\n return parseFloat((prev + curr).toFixed(Math.min(precision, 20)));\n } else {\n return prev;\n }\n }, 0);\n } else {\n sums[index] = '';\n }\n });\n }\n\n return h('table', {\n 'class': 'el-table__footer',\n attrs: {\n cellspacing: '0',\n cellpadding: '0',\n border: '0'\n }\n }, [h('colgroup', [this.columns.map(function (column) {\n return h('col', {\n attrs: {\n name: column.id\n },\n key: column.id\n });\n }), this.hasGutter ? h('col', {\n attrs: {\n name: 'gutter'\n }\n }) : '']), h('tbody', {\n 'class': [{\n 'has-gutter': this.hasGutter\n }]\n }, [h('tr', [this.columns.map(function (column, cellIndex) {\n return h('td', {\n key: cellIndex,\n attrs: {\n colspan: column.colSpan,\n rowspan: column.rowSpan\n },\n 'class': [].concat(_this.getRowClasses(column, cellIndex), ['el-table__cell'])\n }, [h('div', {\n 'class': ['cell', column.labelClassName]\n }, [sums[cellIndex]])]);\n }), this.hasGutter ? h('th', {\n 'class': 'el-table__cell gutter'\n }) : ''])])]);\n },\n props: {\n fixed: String,\n store: {\n required: true\n },\n summaryMethod: Function,\n sumText: String,\n border: Boolean,\n defaultSort: {\n type: Object,\n \"default\": function _default() {\n return {\n prop: '',\n order: ''\n };\n }\n }\n },\n computed: table_footer_extends({\n table: function table() {\n return this.$parent;\n },\n hasGutter: function hasGutter() {\n return !this.fixed && this.tableLayout.gutterWidth;\n }\n }, mapStates({\n columns: 'columns',\n isAllSelected: 'isAllSelected',\n leftFixedLeafCount: 'fixedLeafColumnsLength',\n rightFixedLeafCount: 'rightFixedLeafColumnsLength',\n columnsCount: function columnsCount(states) {\n return states.columns.length;\n },\n leftFixedCount: function leftFixedCount(states) {\n return states.fixedColumns.length;\n },\n rightFixedCount: function rightFixedCount(states) {\n return states.rightFixedColumns.length;\n }\n })),\n methods: {\n isCellHidden: function isCellHidden(index, columns, column) {\n if (this.fixed === true || this.fixed === 'left') {\n return index >= this.leftFixedLeafCount;\n } else if (this.fixed === 'right') {\n var before = 0;\n\n for (var i = 0; i < index; i++) {\n before += columns[i].colSpan;\n }\n\n return before < this.columnsCount - this.rightFixedLeafCount;\n } else if (!this.fixed && column.fixed) {\n // hide cell when footer instance is not fixed and column is fixed\n return true;\n } else {\n return index < this.leftFixedCount || index >= this.columnsCount - this.rightFixedCount;\n }\n },\n getRowClasses: function getRowClasses(column, cellIndex) {\n var classes = [column.id, column.align, column.labelClassName];\n\n if (column.className) {\n classes.push(column.className);\n }\n\n if (this.isCellHidden(cellIndex, this.columns, column)) {\n classes.push('is-hidden');\n }\n\n if (!column.children) {\n classes.push('is-leaf');\n }\n\n return classes;\n }\n }\n }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/table/src/table.vue?vue&type=script&lang=js&\n\n var tablevue_type_script_lang_js_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 //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var tableIdSeed = 1;\n /* harmony default export */\n\n var tablevue_type_script_lang_js_ = {\n name: 'ElTable',\n mixins: [locale_default.a, migrating_default.a],\n directives: {\n Mousewheel: directives_mousewheel\n },\n props: {\n data: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n size: String,\n width: [String, Number],\n height: [String, Number],\n maxHeight: [String, Number],\n fit: {\n type: Boolean,\n \"default\": true\n },\n stripe: Boolean,\n border: Boolean,\n rowKey: [String, Function],\n context: {},\n showHeader: {\n type: Boolean,\n \"default\": true\n },\n showSummary: Boolean,\n sumText: String,\n summaryMethod: Function,\n rowClassName: [String, Function],\n rowStyle: [Object, Function],\n cellClassName: [String, Function],\n cellStyle: [Object, Function],\n headerRowClassName: [String, Function],\n headerRowStyle: [Object, Function],\n headerCellClassName: [String, Function],\n headerCellStyle: [Object, Function],\n highlightCurrentRow: Boolean,\n highlightSelectionRow: {\n type: Boolean,\n \"default\": false\n },\n currentRowKey: [String, Number],\n emptyText: String,\n expandRowKeys: Array,\n defaultExpandAll: Boolean,\n defaultSort: Object,\n tooltipEffect: String,\n spanMethod: Function,\n selectOnIndeterminate: {\n type: Boolean,\n \"default\": true\n },\n indent: {\n type: Number,\n \"default\": 16\n },\n treeProps: {\n type: Object,\n \"default\": function _default() {\n return {\n hasChildren: 'hasChildren',\n children: 'children'\n };\n }\n },\n lazy: Boolean,\n load: Function\n },\n components: {\n TableHeader: table_header,\n TableFooter: table_footer,\n TableBody: table_body,\n ElCheckbox: checkbox_default.a\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n events: {\n expand: 'expand is renamed to expand-change'\n }\n };\n },\n setCurrentRow: function setCurrentRow(row) {\n this.store.commit('setCurrentRow', row);\n },\n toggleRowSelection: function toggleRowSelection(row, selected) {\n this.store.toggleRowSelection(row, selected, false);\n this.store.updateAllSelected();\n },\n toggleRowExpansion: function toggleRowExpansion(row, expanded) {\n this.store.toggleRowExpansionAdapter(row, expanded);\n },\n clearSelection: function clearSelection() {\n this.store.clearSelection();\n },\n clearFilter: function clearFilter(columnKeys) {\n this.store.clearFilter(columnKeys);\n },\n clearSort: function clearSort() {\n this.store.clearSort();\n },\n handleMouseLeave: function handleMouseLeave() {\n this.store.commit('setHoverRow', null);\n if (this.hoverState) this.hoverState = null;\n },\n updateScrollY: function updateScrollY() {\n var changed = this.layout.updateScrollY();\n\n if (changed) {\n this.layout.notifyObservers('scrollable');\n this.layout.updateColumnsWidth();\n }\n },\n handleFixedMousewheel: function handleFixedMousewheel(event, data) {\n var bodyWrapper = this.bodyWrapper;\n\n if (Math.abs(data.spinY) > 0) {\n var currentScrollTop = bodyWrapper.scrollTop;\n\n if (data.pixelY < 0 && currentScrollTop !== 0) {\n event.preventDefault();\n }\n\n if (data.pixelY > 0 && bodyWrapper.scrollHeight - bodyWrapper.clientHeight > currentScrollTop) {\n event.preventDefault();\n }\n\n bodyWrapper.scrollTop += Math.ceil(data.pixelY / 5);\n } else {\n bodyWrapper.scrollLeft += Math.ceil(data.pixelX / 5);\n }\n },\n handleHeaderFooterMousewheel: function handleHeaderFooterMousewheel(event, data) {\n var pixelX = data.pixelX,\n pixelY = data.pixelY;\n\n if (Math.abs(pixelX) >= Math.abs(pixelY)) {\n this.bodyWrapper.scrollLeft += data.pixelX / 5;\n }\n },\n // TODO 使用 CSS transform\n syncPostion: function syncPostion() {\n var _bodyWrapper = this.bodyWrapper,\n scrollLeft = _bodyWrapper.scrollLeft,\n scrollTop = _bodyWrapper.scrollTop,\n offsetWidth = _bodyWrapper.offsetWidth,\n scrollWidth = _bodyWrapper.scrollWidth;\n var _$refs = this.$refs,\n headerWrapper = _$refs.headerWrapper,\n footerWrapper = _$refs.footerWrapper,\n fixedBodyWrapper = _$refs.fixedBodyWrapper,\n rightFixedBodyWrapper = _$refs.rightFixedBodyWrapper;\n if (headerWrapper) headerWrapper.scrollLeft = scrollLeft;\n if (footerWrapper) footerWrapper.scrollLeft = scrollLeft;\n if (fixedBodyWrapper) fixedBodyWrapper.scrollTop = scrollTop;\n if (rightFixedBodyWrapper) rightFixedBodyWrapper.scrollTop = scrollTop;\n var maxScrollLeftPosition = scrollWidth - offsetWidth - 1;\n\n if (scrollLeft >= maxScrollLeftPosition) {\n this.scrollPosition = 'right';\n } else if (scrollLeft === 0) {\n this.scrollPosition = 'left';\n } else {\n this.scrollPosition = 'middle';\n }\n },\n throttleSyncPostion: Object(external_throttle_debounce_[\"throttle\"])(16, function () {\n this.syncPostion();\n }),\n onScroll: function onScroll(evt) {\n var raf = window.requestAnimationFrame;\n\n if (!raf) {\n this.throttleSyncPostion();\n } else {\n raf(this.syncPostion);\n }\n },\n bindEvents: function bindEvents() {\n this.bodyWrapper.addEventListener('scroll', this.onScroll, {\n passive: true\n });\n\n if (this.fit) {\n Object(resize_event_[\"addResizeListener\"])(this.$el, this.resizeListener);\n }\n },\n unbindEvents: function unbindEvents() {\n this.bodyWrapper.removeEventListener('scroll', this.onScroll, {\n passive: true\n });\n\n if (this.fit) {\n Object(resize_event_[\"removeResizeListener\"])(this.$el, this.resizeListener);\n }\n },\n resizeListener: function resizeListener() {\n if (!this.$ready) return;\n var shouldUpdateLayout = false;\n var el = this.$el;\n var _resizeState = this.resizeState,\n oldWidth = _resizeState.width,\n oldHeight = _resizeState.height;\n var width = el.offsetWidth;\n\n if (oldWidth !== width) {\n shouldUpdateLayout = true;\n }\n\n var height = el.offsetHeight;\n\n if ((this.height || this.shouldUpdateHeight) && oldHeight !== height) {\n shouldUpdateLayout = true;\n }\n\n if (shouldUpdateLayout) {\n this.resizeState.width = width;\n this.resizeState.height = height;\n this.doLayout();\n }\n },\n doLayout: function doLayout() {\n if (this.shouldUpdateHeight) {\n this.layout.updateElsHeight();\n }\n\n this.layout.updateColumnsWidth();\n },\n sort: function sort(prop, order) {\n this.store.commit('sort', {\n prop: prop,\n order: order\n });\n },\n toggleAllSelection: function toggleAllSelection() {\n this.store.commit('toggleAllSelection');\n }\n },\n computed: tablevue_type_script_lang_js_extends({\n tableSize: function tableSize() {\n return this.size || (this.$ELEMENT || {}).size;\n },\n bodyWrapper: function bodyWrapper() {\n return this.$refs.bodyWrapper;\n },\n shouldUpdateHeight: function shouldUpdateHeight() {\n return this.height || this.maxHeight || this.fixedColumns.length > 0 || this.rightFixedColumns.length > 0;\n },\n bodyWidth: function bodyWidth() {\n var _layout = this.layout,\n bodyWidth = _layout.bodyWidth,\n scrollY = _layout.scrollY,\n gutterWidth = _layout.gutterWidth;\n return bodyWidth ? bodyWidth - (scrollY ? gutterWidth : 0) + 'px' : '';\n },\n bodyHeight: function bodyHeight() {\n var _layout2 = this.layout,\n _layout2$headerHeight = _layout2.headerHeight,\n headerHeight = _layout2$headerHeight === undefined ? 0 : _layout2$headerHeight,\n bodyHeight = _layout2.bodyHeight,\n _layout2$footerHeight = _layout2.footerHeight,\n footerHeight = _layout2$footerHeight === undefined ? 0 : _layout2$footerHeight;\n\n if (this.height) {\n return {\n height: bodyHeight ? bodyHeight + 'px' : ''\n };\n } else if (this.maxHeight) {\n var maxHeight = parseHeight(this.maxHeight);\n\n if (typeof maxHeight === 'number') {\n return {\n 'max-height': maxHeight - footerHeight - (this.showHeader ? headerHeight : 0) + 'px'\n };\n }\n }\n\n return {};\n },\n fixedBodyHeight: function fixedBodyHeight() {\n if (this.height) {\n return {\n height: this.layout.fixedBodyHeight ? this.layout.fixedBodyHeight + 'px' : ''\n };\n } else if (this.maxHeight) {\n var maxHeight = parseHeight(this.maxHeight);\n\n if (typeof maxHeight === 'number') {\n maxHeight = this.layout.scrollX ? maxHeight - this.layout.gutterWidth : maxHeight;\n\n if (this.showHeader) {\n maxHeight -= this.layout.headerHeight;\n }\n\n maxHeight -= this.layout.footerHeight;\n return {\n 'max-height': maxHeight + 'px'\n };\n }\n }\n\n return {};\n },\n fixedHeight: function fixedHeight() {\n if (this.maxHeight) {\n if (this.showSummary) {\n return {\n bottom: 0\n };\n }\n\n return {\n bottom: this.layout.scrollX && this.data.length ? this.layout.gutterWidth + 'px' : ''\n };\n } else {\n if (this.showSummary) {\n return {\n height: this.layout.tableHeight ? this.layout.tableHeight + 'px' : ''\n };\n }\n\n return {\n height: this.layout.viewportHeight ? this.layout.viewportHeight + 'px' : ''\n };\n }\n },\n emptyBlockStyle: function emptyBlockStyle() {\n if (this.data && this.data.length) return null;\n var height = '100%';\n\n if (this.layout.appendHeight) {\n height = 'calc(100% - ' + this.layout.appendHeight + 'px)';\n }\n\n return {\n width: this.bodyWidth,\n height: height\n };\n }\n }, mapStates({\n selection: 'selection',\n columns: 'columns',\n tableData: 'data',\n fixedColumns: 'fixedColumns',\n rightFixedColumns: 'rightFixedColumns'\n })),\n watch: {\n height: {\n immediate: true,\n handler: function handler(value) {\n this.layout.setHeight(value);\n }\n },\n maxHeight: {\n immediate: true,\n handler: function handler(value) {\n this.layout.setMaxHeight(value);\n }\n },\n currentRowKey: {\n immediate: true,\n handler: function handler(value) {\n if (!this.rowKey) return;\n this.store.setCurrentRowKey(value);\n }\n },\n data: {\n immediate: true,\n handler: function handler(value) {\n this.store.commit('setData', value);\n }\n },\n expandRowKeys: {\n immediate: true,\n handler: function handler(newVal) {\n if (newVal) {\n this.store.setExpandRowKeysAdapter(newVal);\n }\n }\n }\n },\n created: function created() {\n var _this = this;\n\n this.tableId = 'el-table_' + tableIdSeed++;\n this.debouncedUpdateLayout = Object(external_throttle_debounce_[\"debounce\"])(50, function () {\n return _this.doLayout();\n });\n },\n mounted: function mounted() {\n var _this2 = this;\n\n this.bindEvents();\n this.store.updateColumns();\n this.doLayout();\n this.resizeState = {\n width: this.$el.offsetWidth,\n height: this.$el.offsetHeight\n }; // init filters\n\n this.store.states.columns.forEach(function (column) {\n if (column.filteredValue && column.filteredValue.length) {\n _this2.store.commit('filterChange', {\n column: column,\n values: column.filteredValue,\n silent: true\n });\n }\n });\n this.$ready = true;\n },\n destroyed: function destroyed() {\n this.unbindEvents();\n },\n data: function data() {\n var _treeProps = this.treeProps,\n _treeProps$hasChildre = _treeProps.hasChildren,\n hasChildren = _treeProps$hasChildre === undefined ? 'hasChildren' : _treeProps$hasChildre,\n _treeProps$children = _treeProps.children,\n children = _treeProps$children === undefined ? 'children' : _treeProps$children;\n this.store = createStore(this, {\n rowKey: this.rowKey,\n defaultExpandAll: this.defaultExpandAll,\n selectOnIndeterminate: this.selectOnIndeterminate,\n // TreeTable 的相关é…ç½®\n indent: this.indent,\n lazy: this.lazy,\n lazyColumnIdentifier: hasChildren,\n childrenColumnName: children\n });\n var layout = new table_layout({\n store: this.store,\n table: this,\n fit: this.fit,\n showHeader: this.showHeader\n });\n return {\n layout: layout,\n isHidden: false,\n renderExpanded: null,\n resizeProxyVisible: false,\n resizeState: {\n width: null,\n height: null\n },\n // 是å¦æ‹¥æœ‰å¤šçº§è¡¨å¤´\n isGroup: false,\n scrollPosition: 'left'\n };\n }\n }; // CONCATENATED MODULE: ./packages/table/src/table.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tablevue_type_script_lang_js_ = tablevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/table/src/table.vue\n\n /* normalize component */\n\n var table_component = normalizeComponent(src_tablevue_type_script_lang_js_, tablevue_type_template_id_493fe34e_render, tablevue_type_template_id_493fe34e_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var table_api;\n }\n\n table_component.options.__file = \"packages/table/src/table.vue\";\n /* harmony default export */\n\n var src_table = table_component.exports; // CONCATENATED MODULE: ./packages/table/index.js\n\n /* istanbul ignore next */\n\n src_table.install = function (Vue) {\n Vue.component(src_table.name, src_table);\n };\n /* harmony default export */\n\n\n var packages_table = src_table; // CONCATENATED MODULE: ./packages/table/src/config.js\n\n var cellStarts = {\n \"default\": {\n order: ''\n },\n selection: {\n width: 48,\n minWidth: 48,\n realWidth: 48,\n order: '',\n className: 'el-table-column--selection'\n },\n expand: {\n width: 48,\n minWidth: 48,\n realWidth: 48,\n order: ''\n },\n index: {\n width: 48,\n minWidth: 48,\n realWidth: 48,\n order: ''\n }\n }; // 这些选项ä¸åº”该被覆盖\n\n var cellForced = {\n selection: {\n renderHeader: function renderHeader(h, _ref) {\n var store = _ref.store;\n return h('el-checkbox', {\n attrs: {\n disabled: store.states.data && store.states.data.length === 0,\n indeterminate: store.states.selection.length > 0 && !this.isAllSelected,\n value: this.isAllSelected\n },\n on: {\n 'input': this.toggleAllSelection\n }\n });\n },\n renderCell: function renderCell(h, _ref2) {\n var row = _ref2.row,\n column = _ref2.column,\n isSelected = _ref2.isSelected,\n store = _ref2.store,\n $index = _ref2.$index;\n return h('el-checkbox', {\n nativeOn: {\n 'click': function click(event) {\n return event.stopPropagation();\n }\n },\n attrs: {\n value: isSelected,\n disabled: column.selectable ? !column.selectable.call(null, row, $index) : false\n },\n on: {\n 'input': function input() {\n store.commit('rowSelectedChanged', row);\n }\n }\n });\n },\n sortable: false,\n resizable: false\n },\n index: {\n renderHeader: function renderHeader(h, _ref3) {\n var column = _ref3.column;\n return column.label || '#';\n },\n renderCell: function renderCell(h, _ref4) {\n var $index = _ref4.$index,\n column = _ref4.column;\n var i = $index + 1;\n var index = column.index;\n\n if (typeof index === 'number') {\n i = $index + index;\n } else if (typeof index === 'function') {\n i = index($index);\n }\n\n return h('div', [i]);\n },\n sortable: false\n },\n expand: {\n renderHeader: function renderHeader(h, _ref5) {\n var column = _ref5.column;\n return column.label || '';\n },\n renderCell: function renderCell(h, _ref6) {\n var row = _ref6.row,\n store = _ref6.store,\n isExpanded = _ref6.isExpanded;\n var classes = ['el-table__expand-icon'];\n\n if (isExpanded) {\n classes.push('el-table__expand-icon--expanded');\n }\n\n var callback = function callback(e) {\n e.stopPropagation();\n store.toggleRowExpansion(row);\n };\n\n return h('div', {\n 'class': classes,\n on: {\n 'click': callback\n }\n }, [h('i', {\n 'class': 'el-icon el-icon-arrow-right'\n })]);\n },\n sortable: false,\n resizable: false,\n className: 'el-table__expand-column'\n }\n };\n\n function defaultRenderCell(h, _ref7) {\n var row = _ref7.row,\n column = _ref7.column,\n $index = _ref7.$index;\n var property = column.property;\n var value = property && Object(util_[\"getPropByPath\"])(row, property).v;\n\n if (column && column.formatter) {\n return column.formatter(row, column, value, $index);\n }\n\n return value;\n }\n\n function treeCellPrefix(h, _ref8) {\n var row = _ref8.row,\n treeNode = _ref8.treeNode,\n store = _ref8.store;\n if (!treeNode) return null;\n var ele = [];\n\n var callback = function callback(e) {\n e.stopPropagation();\n store.loadOrToggle(row);\n };\n\n if (treeNode.indent) {\n ele.push(h('span', {\n 'class': 'el-table__indent',\n style: {\n 'padding-left': treeNode.indent + 'px'\n }\n }));\n }\n\n if (typeof treeNode.expanded === 'boolean' && !treeNode.noLazyChildren) {\n var expandClasses = ['el-table__expand-icon', treeNode.expanded ? 'el-table__expand-icon--expanded' : ''];\n var iconClasses = ['el-icon-arrow-right'];\n\n if (treeNode.loading) {\n iconClasses = ['el-icon-loading'];\n }\n\n ele.push(h('div', {\n 'class': expandClasses,\n on: {\n 'click': callback\n }\n }, [h('i', {\n 'class': iconClasses\n })]));\n } else {\n ele.push(h('span', {\n 'class': 'el-table__placeholder'\n }));\n }\n\n return ele;\n } // CONCATENATED MODULE: ./packages/table/src/table-column.js\n\n\n var table_column_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 columnIdSeed = 1;\n /* harmony default export */\n\n var table_column = {\n name: 'ElTableColumn',\n props: {\n type: {\n type: String,\n \"default\": 'default'\n },\n label: String,\n className: String,\n labelClassName: String,\n property: String,\n prop: String,\n width: {},\n minWidth: {},\n renderHeader: Function,\n sortable: {\n type: [Boolean, String],\n \"default\": false\n },\n sortMethod: Function,\n sortBy: [String, Function, Array],\n resizable: {\n type: Boolean,\n \"default\": true\n },\n columnKey: String,\n align: String,\n headerAlign: String,\n showTooltipWhenOverflow: Boolean,\n showOverflowTooltip: Boolean,\n fixed: [Boolean, String],\n formatter: Function,\n selectable: Function,\n reserveSelection: Boolean,\n filterMethod: Function,\n filteredValue: Array,\n filters: Array,\n filterPlacement: String,\n filterMultiple: {\n type: Boolean,\n \"default\": true\n },\n index: [Number, Function],\n sortOrders: {\n type: Array,\n \"default\": function _default() {\n return ['ascending', 'descending', null];\n },\n validator: function validator(val) {\n return val.every(function (order) {\n return ['ascending', 'descending', null].indexOf(order) > -1;\n });\n }\n }\n },\n data: function data() {\n return {\n isSubColumn: false,\n columns: []\n };\n },\n computed: {\n owner: function owner() {\n var parent = this.$parent;\n\n while (parent && !parent.tableId) {\n parent = parent.$parent;\n }\n\n return parent;\n },\n columnOrTableParent: function columnOrTableParent() {\n var parent = this.$parent;\n\n while (parent && !parent.tableId && !parent.columnId) {\n parent = parent.$parent;\n }\n\n return parent;\n },\n realWidth: function realWidth() {\n return parseWidth(this.width);\n },\n realMinWidth: function realMinWidth() {\n return parseMinWidth(this.minWidth);\n },\n realAlign: function realAlign() {\n return this.align ? 'is-' + this.align : null;\n },\n realHeaderAlign: function realHeaderAlign() {\n return this.headerAlign ? 'is-' + this.headerAlign : this.realAlign;\n }\n },\n methods: {\n getPropsData: function getPropsData() {\n var _this = this;\n\n for (var _len = arguments.length, props = Array(_len), _key = 0; _key < _len; _key++) {\n props[_key] = arguments[_key];\n }\n\n return props.reduce(function (prev, cur) {\n if (Array.isArray(cur)) {\n cur.forEach(function (key) {\n prev[key] = _this[key];\n });\n }\n\n return prev;\n }, {});\n },\n getColumnElIndex: function getColumnElIndex(children, child) {\n return [].indexOf.call(children, child);\n },\n setColumnWidth: function setColumnWidth(column) {\n if (this.realWidth) {\n column.width = this.realWidth;\n }\n\n if (this.realMinWidth) {\n column.minWidth = this.realMinWidth;\n }\n\n if (!column.minWidth) {\n column.minWidth = 80;\n }\n\n column.realWidth = column.width === undefined ? column.minWidth : column.width;\n return column;\n },\n setColumnForcedProps: function setColumnForcedProps(column) {\n // 对于特定类型的 column,æŸäº›å±žæ€§ä¸å…许设置\n var type = column.type;\n var source = cellForced[type] || {};\n Object.keys(source).forEach(function (prop) {\n var value = source[prop];\n\n if (value !== undefined) {\n column[prop] = prop === 'className' ? column[prop] + ' ' + value : value;\n }\n });\n return column;\n },\n setColumnRenders: function setColumnRenders(column) {\n var _this2 = this;\n\n var h = this.$createElement; // renderHeader 属性ä¸æŽ¨è使用。\n\n if (this.renderHeader) {\n console.warn('[Element Warn][TableColumn]Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.');\n } else if (column.type !== 'selection') {\n column.renderHeader = function (h, scope) {\n var renderHeader = _this2.$scopedSlots.header;\n return renderHeader ? renderHeader(scope) : column.label;\n };\n }\n\n var originRenderCell = column.renderCell; // TODO: 这里的实现调整\n\n if (column.type === 'expand') {\n // 对于展开行,renderCell ä¸å…许é…置的。在上一æ¥ä¸å·²ç»è®¾ç½®è¿‡ï¼Œè¿™é‡Œéœ€è¦ç®€å•å°è£…一下。\n column.renderCell = function (h, data) {\n return h('div', {\n 'class': 'cell'\n }, [originRenderCell(h, data)]);\n };\n\n this.owner.renderExpanded = function (h, data) {\n return _this2.$scopedSlots[\"default\"] ? _this2.$scopedSlots[\"default\"](data) : _this2.$slots[\"default\"];\n };\n } else {\n originRenderCell = originRenderCell || defaultRenderCell; // 对 renderCell 进行包装\n\n column.renderCell = function (h, data) {\n var children = null;\n\n if (_this2.$scopedSlots[\"default\"]) {\n children = _this2.$scopedSlots[\"default\"](data);\n } else {\n children = originRenderCell(h, data);\n }\n\n var prefix = treeCellPrefix(h, data);\n var props = {\n \"class\": 'cell',\n style: {}\n };\n\n if (column.showOverflowTooltip) {\n props[\"class\"] += ' el-tooltip';\n props.style = {\n width: (data.column.realWidth || data.column.width) - 1 + 'px'\n };\n }\n\n return h('div', props, [prefix, children]);\n };\n }\n\n return column;\n },\n registerNormalWatchers: function registerNormalWatchers() {\n var _this3 = this;\n\n var props = ['label', 'property', 'filters', 'filterMultiple', 'sortable', 'index', 'formatter', 'className', 'labelClassName', 'showOverflowTooltip']; // 一些属性具有别å\n\n var aliases = {\n prop: 'property',\n realAlign: 'align',\n realHeaderAlign: 'headerAlign',\n realWidth: 'width'\n };\n var allAliases = props.reduce(function (prev, cur) {\n prev[cur] = cur;\n return prev;\n }, aliases);\n Object.keys(allAliases).forEach(function (key) {\n var columnKey = aliases[key];\n\n _this3.$watch(key, function (newVal) {\n _this3.columnConfig[columnKey] = newVal;\n });\n });\n },\n registerComplexWatchers: function registerComplexWatchers() {\n var _this4 = this;\n\n var props = ['fixed'];\n var aliases = {\n realWidth: 'width',\n realMinWidth: 'minWidth'\n };\n var allAliases = props.reduce(function (prev, cur) {\n prev[cur] = cur;\n return prev;\n }, aliases);\n Object.keys(allAliases).forEach(function (key) {\n var columnKey = aliases[key];\n\n _this4.$watch(key, function (newVal) {\n _this4.columnConfig[columnKey] = newVal;\n var updateColumns = columnKey === 'fixed';\n\n _this4.owner.store.scheduleLayout(updateColumns);\n });\n });\n }\n },\n components: {\n ElCheckbox: checkbox_default.a\n },\n beforeCreate: function beforeCreate() {\n this.row = {};\n this.column = {};\n this.$index = 0;\n this.columnId = '';\n },\n created: function created() {\n var parent = this.columnOrTableParent;\n this.isSubColumn = this.owner !== parent;\n this.columnId = (parent.tableId || parent.columnId) + '_column_' + columnIdSeed++;\n var type = this.type || 'default';\n var sortable = this.sortable === '' ? true : this.sortable;\n var defaults = table_column_extends({}, cellStarts[type], {\n id: this.columnId,\n type: type,\n property: this.prop || this.property,\n align: this.realAlign,\n headerAlign: this.realHeaderAlign,\n showOverflowTooltip: this.showOverflowTooltip || this.showTooltipWhenOverflow,\n // filter 相关属性\n filterable: this.filters || this.filterMethod,\n filteredValue: [],\n filterPlacement: '',\n isColumnGroup: false,\n filterOpened: false,\n // sort 相关属性\n sortable: sortable,\n // index 列\n index: this.index\n });\n var basicProps = ['columnKey', 'label', 'className', 'labelClassName', 'type', 'renderHeader', 'formatter', 'fixed', 'resizable'];\n var sortProps = ['sortMethod', 'sortBy', 'sortOrders'];\n var selectProps = ['selectable', 'reserveSelection'];\n var filterProps = ['filterMethod', 'filters', 'filterMultiple', 'filterOpened', 'filteredValue', 'filterPlacement'];\n var column = this.getPropsData(basicProps, sortProps, selectProps, filterProps);\n column = mergeOptions(defaults, column); // æ³¨æ„ compose ä¸å‡½æ•°æ‰§è¡Œçš„顺åºæ˜¯ä»Žå³åˆ°å·¦\n\n var chains = compose(this.setColumnRenders, this.setColumnWidth, this.setColumnForcedProps);\n column = chains(column);\n this.columnConfig = column; // 注册 watcher\n\n this.registerNormalWatchers();\n this.registerComplexWatchers();\n },\n mounted: function mounted() {\n var owner = this.owner;\n var parent = this.columnOrTableParent;\n var children = this.isSubColumn ? parent.$el.children : parent.$refs.hiddenColumns.children;\n var columnIndex = this.getColumnElIndex(children, this.$el);\n owner.store.commit('insertColumn', this.columnConfig, columnIndex, this.isSubColumn ? parent.columnConfig : null);\n },\n destroyed: function destroyed() {\n if (!this.$parent) return;\n var parent = this.$parent;\n this.owner.store.commit('removeColumn', this.columnConfig, this.isSubColumn ? parent.columnConfig : null);\n },\n render: function render(h) {\n // slots 也è¦æ¸²æŸ“,需è¦è®¡ç®—åˆå¹¶è¡¨å¤´\n return h('div', this.$slots[\"default\"]);\n }\n }; // CONCATENATED MODULE: ./packages/table-column/index.js\n\n /* istanbul ignore next */\n\n table_column.install = function (Vue) {\n Vue.component(table_column.name, table_column);\n };\n /* harmony default export */\n\n\n var packages_table_column = table_column; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f&\n\n var pickervue_type_template_id_79ae069f_render = function pickervue_type_template_id_79ae069f_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return !_vm.ranged ? _c(\"el-input\", _vm._b({\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleClose,\n expression: \"handleClose\"\n }],\n ref: \"reference\",\n staticClass: \"el-date-editor\",\n \"class\": \"el-date-editor--\" + _vm.type,\n attrs: {\n readonly: !_vm.editable || _vm.readonly || _vm.type === \"dates\" || _vm.type === \"week\" || _vm.type === \"years\" || _vm.type === \"months\",\n disabled: _vm.pickerDisabled,\n size: _vm.pickerSize,\n name: _vm.name,\n placeholder: _vm.placeholder,\n value: _vm.displayValue,\n validateEvent: false\n },\n on: {\n focus: _vm.handleFocus,\n input: function input(value) {\n return _vm.userInput = value;\n },\n change: _vm.handleChange\n },\n nativeOn: {\n keydown: function keydown($event) {\n return _vm.handleKeydown($event);\n },\n mouseenter: function mouseenter($event) {\n return _vm.handleMouseEnter($event);\n },\n mouseleave: function mouseleave($event) {\n _vm.showClose = false;\n }\n }\n }, \"el-input\", _vm.firstInputId, false), [_c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": _vm.triggerClass,\n attrs: {\n slot: \"prefix\"\n },\n on: {\n click: _vm.handleFocus\n },\n slot: \"prefix\"\n }), _vm.haveTrigger ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": [_vm.showClose ? \"\" + _vm.clearIcon : \"\"],\n attrs: {\n slot: \"suffix\"\n },\n on: {\n click: _vm.handleClickIcon\n },\n slot: \"suffix\"\n }) : _vm._e()]) : _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleClose,\n expression: \"handleClose\"\n }],\n ref: \"reference\",\n staticClass: \"el-date-editor el-range-editor el-input__inner\",\n \"class\": [\"el-date-editor--\" + _vm.type, _vm.pickerSize ? \"el-range-editor--\" + _vm.pickerSize : \"\", _vm.pickerDisabled ? \"is-disabled\" : \"\", _vm.pickerVisible ? \"is-active\" : \"\"],\n on: {\n click: _vm.handleRangeClick,\n mouseenter: _vm.handleMouseEnter,\n mouseleave: function mouseleave($event) {\n _vm.showClose = false;\n },\n keydown: _vm.handleKeydown\n }\n }, [_c(\"i\", {\n \"class\": [\"el-input__icon\", \"el-range__icon\", _vm.triggerClass]\n }), _c(\"input\", _vm._b({\n staticClass: \"el-range-input\",\n attrs: {\n autocomplete: \"off\",\n placeholder: _vm.startPlaceholder,\n disabled: _vm.pickerDisabled,\n readonly: !_vm.editable || _vm.readonly,\n name: _vm.name && _vm.name[0]\n },\n domProps: {\n value: _vm.displayValue && _vm.displayValue[0]\n },\n on: {\n input: _vm.handleStartInput,\n change: _vm.handleStartChange,\n focus: _vm.handleFocus\n }\n }, \"input\", _vm.firstInputId, false)), _vm._t(\"range-separator\", [_c(\"span\", {\n staticClass: \"el-range-separator\"\n }, [_vm._v(_vm._s(_vm.rangeSeparator))])]), _c(\"input\", _vm._b({\n staticClass: \"el-range-input\",\n attrs: {\n autocomplete: \"off\",\n placeholder: _vm.endPlaceholder,\n disabled: _vm.pickerDisabled,\n readonly: !_vm.editable || _vm.readonly,\n name: _vm.name && _vm.name[1]\n },\n domProps: {\n value: _vm.displayValue && _vm.displayValue[1]\n },\n on: {\n input: _vm.handleEndInput,\n change: _vm.handleEndChange,\n focus: _vm.handleFocus\n }\n }, \"input\", _vm.secondInputId, false)), _vm.haveTrigger ? _c(\"i\", {\n staticClass: \"el-input__icon el-range__close-icon\",\n \"class\": [_vm.showClose ? \"\" + _vm.clearIcon : \"\"],\n on: {\n click: _vm.handleClickIcon\n }\n }) : _vm._e()], 2);\n };\n\n var pickervue_type_template_id_79ae069f_staticRenderFns = [];\n pickervue_type_template_id_79ae069f_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/date-util\"\n\n var date_util_ = __webpack_require__(0); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var NewPopper = {\n props: {\n appendToBody: vue_popper_default.a.props.appendToBody,\n offset: vue_popper_default.a.props.offset,\n boundariesPadding: vue_popper_default.a.props.boundariesPadding,\n arrowOffset: vue_popper_default.a.props.arrowOffset,\n transformOrigin: vue_popper_default.a.props.transformOrigin\n },\n methods: vue_popper_default.a.methods,\n data: function data() {\n return merge_default()({\n visibleArrow: true\n }, vue_popper_default.a.data);\n },\n beforeDestroy: vue_popper_default.a.beforeDestroy\n };\n var DEFAULT_FORMATS = {\n date: 'yyyy-MM-dd',\n month: 'yyyy-MM',\n months: 'yyyy-MM',\n datetime: 'yyyy-MM-dd HH:mm:ss',\n time: 'HH:mm:ss',\n week: 'yyyywWW',\n timerange: 'HH:mm:ss',\n daterange: 'yyyy-MM-dd',\n monthrange: 'yyyy-MM',\n datetimerange: 'yyyy-MM-dd HH:mm:ss',\n year: 'yyyy',\n years: 'yyyy'\n };\n var HAVE_TRIGGER_TYPES = ['date', 'datetime', 'time', 'time-select', 'week', 'month', 'year', 'daterange', 'monthrange', 'timerange', 'datetimerange', 'dates', 'months', 'years'];\n\n var pickervue_type_script_lang_js_DATE_FORMATTER = function DATE_FORMATTER(value, format) {\n if (format === 'timestamp') return value.getTime();\n return Object(date_util_[\"formatDate\"])(value, format);\n };\n\n var pickervue_type_script_lang_js_DATE_PARSER = function DATE_PARSER(text, format) {\n if (format === 'timestamp') return new Date(Number(text));\n return Object(date_util_[\"parseDate\"])(text, format);\n };\n\n var RANGE_FORMATTER = function RANGE_FORMATTER(value, format) {\n if (Array.isArray(value) && value.length === 2) {\n var start = value[0];\n var end = value[1];\n\n if (start && end) {\n return [pickervue_type_script_lang_js_DATE_FORMATTER(start, format), pickervue_type_script_lang_js_DATE_FORMATTER(end, format)];\n }\n }\n\n return '';\n };\n\n var RANGE_PARSER = function RANGE_PARSER(array, format, separator) {\n if (!Array.isArray(array)) {\n array = array.split(separator);\n }\n\n if (array.length === 2) {\n var range1 = array[0];\n var range2 = array[1];\n return [pickervue_type_script_lang_js_DATE_PARSER(range1, format), pickervue_type_script_lang_js_DATE_PARSER(range2, format)];\n }\n\n return [];\n };\n\n var TYPE_VALUE_RESOLVER_MAP = {\n \"default\": {\n formatter: function formatter(value) {\n if (!value) return '';\n return '' + value;\n },\n parser: function parser(text) {\n if (text === undefined || text === '') return null;\n return text;\n }\n },\n week: {\n formatter: function formatter(value, format) {\n var week = Object(date_util_[\"getWeekNumber\"])(value);\n var month = value.getMonth();\n var trueDate = new Date(value);\n\n if (week === 1 && month === 11) {\n trueDate.setHours(0, 0, 0, 0);\n trueDate.setDate(trueDate.getDate() + 3 - (trueDate.getDay() + 6) % 7);\n }\n\n var date = Object(date_util_[\"formatDate\"])(trueDate, format);\n date = /WW/.test(date) ? date.replace(/WW/, week < 10 ? '0' + week : week) : date.replace(/W/, week);\n return date;\n },\n parser: function parser(text, format) {\n // parse as if a normal date\n return TYPE_VALUE_RESOLVER_MAP.date.parser(text, format);\n }\n },\n date: {\n formatter: pickervue_type_script_lang_js_DATE_FORMATTER,\n parser: pickervue_type_script_lang_js_DATE_PARSER\n },\n datetime: {\n formatter: pickervue_type_script_lang_js_DATE_FORMATTER,\n parser: pickervue_type_script_lang_js_DATE_PARSER\n },\n daterange: {\n formatter: RANGE_FORMATTER,\n parser: RANGE_PARSER\n },\n monthrange: {\n formatter: RANGE_FORMATTER,\n parser: RANGE_PARSER\n },\n datetimerange: {\n formatter: RANGE_FORMATTER,\n parser: RANGE_PARSER\n },\n timerange: {\n formatter: RANGE_FORMATTER,\n parser: RANGE_PARSER\n },\n time: {\n formatter: pickervue_type_script_lang_js_DATE_FORMATTER,\n parser: pickervue_type_script_lang_js_DATE_PARSER\n },\n month: {\n formatter: pickervue_type_script_lang_js_DATE_FORMATTER,\n parser: pickervue_type_script_lang_js_DATE_PARSER\n },\n year: {\n formatter: pickervue_type_script_lang_js_DATE_FORMATTER,\n parser: pickervue_type_script_lang_js_DATE_PARSER\n },\n number: {\n formatter: function formatter(value) {\n if (!value) return '';\n return '' + value;\n },\n parser: function parser(text) {\n var result = Number(text);\n\n if (!isNaN(text)) {\n return result;\n } else {\n return null;\n }\n }\n },\n dates: {\n formatter: function formatter(value, format) {\n return value.map(function (date) {\n return pickervue_type_script_lang_js_DATE_FORMATTER(date, format);\n });\n },\n parser: function parser(value, format) {\n return (typeof value === 'string' ? value.split(', ') : value).map(function (date) {\n return date instanceof Date ? date : pickervue_type_script_lang_js_DATE_PARSER(date, format);\n });\n }\n },\n months: {\n formatter: function formatter(value, format) {\n return value.map(function (date) {\n return pickervue_type_script_lang_js_DATE_FORMATTER(date, format);\n });\n },\n parser: function parser(value, format) {\n return (typeof value === 'string' ? value.split(', ') : value).map(function (date) {\n return date instanceof Date ? date : pickervue_type_script_lang_js_DATE_PARSER(date, format);\n });\n }\n },\n years: {\n formatter: function formatter(value, format) {\n return value.map(function (date) {\n return pickervue_type_script_lang_js_DATE_FORMATTER(date, format);\n });\n },\n parser: function parser(value, format) {\n return (typeof value === 'string' ? value.split(', ') : value).map(function (date) {\n return date instanceof Date ? date : pickervue_type_script_lang_js_DATE_PARSER(date, format);\n });\n }\n }\n };\n var PLACEMENT_MAP = {\n left: 'bottom-start',\n center: 'bottom',\n right: 'bottom-end'\n };\n\n var parseAsFormatAndType = function parseAsFormatAndType(value, customFormat, type) {\n var rangeSeparator = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '-';\n if (!value) return null;\n var parser = (TYPE_VALUE_RESOLVER_MAP[type] || TYPE_VALUE_RESOLVER_MAP['default']).parser;\n var format = customFormat || DEFAULT_FORMATS[type];\n return parser(value, format, rangeSeparator);\n };\n\n var formatAsFormatAndType = function formatAsFormatAndType(value, customFormat, type) {\n if (!value) return null;\n var formatter = (TYPE_VALUE_RESOLVER_MAP[type] || TYPE_VALUE_RESOLVER_MAP['default']).formatter;\n var format = customFormat || DEFAULT_FORMATS[type];\n return formatter(value, format);\n };\n /*\n * Considers:\n * 1. Date object\n * 2. date string\n * 3. array of 1 or 2\n */\n\n\n var valueEquals = function valueEquals(a, b) {\n // considers Date object and string\n var dateEquals = function dateEquals(a, b) {\n var aIsDate = a instanceof Date;\n var bIsDate = b instanceof Date;\n\n if (aIsDate && bIsDate) {\n return a.getTime() === b.getTime();\n }\n\n if (!aIsDate && !bIsDate) {\n return a === b;\n }\n\n return false;\n };\n\n var aIsArray = a instanceof Array;\n var bIsArray = b instanceof Array;\n\n if (aIsArray && bIsArray) {\n if (a.length !== b.length) {\n return false;\n }\n\n return a.every(function (item, index) {\n return dateEquals(item, b[index]);\n });\n }\n\n if (!aIsArray && !bIsArray) {\n return dateEquals(a, b);\n }\n\n return false;\n };\n\n var isString = function isString(val) {\n return typeof val === 'string' || val instanceof String;\n };\n\n var pickervue_type_script_lang_js_validator = function validator(val) {\n // either: String, Array of String, null / undefined\n return val === null || val === undefined || isString(val) || Array.isArray(val) && val.length === 2 && val.every(isString);\n };\n /* harmony default export */\n\n\n var pickervue_type_script_lang_js_ = {\n mixins: [emitter_default.a, NewPopper],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n size: String,\n format: String,\n valueFormat: String,\n readonly: Boolean,\n placeholder: String,\n startPlaceholder: String,\n endPlaceholder: String,\n prefixIcon: String,\n clearIcon: {\n type: String,\n \"default\": 'el-icon-circle-close'\n },\n name: {\n \"default\": '',\n validator: pickervue_type_script_lang_js_validator\n },\n disabled: Boolean,\n clearable: {\n type: Boolean,\n \"default\": true\n },\n id: {\n \"default\": '',\n validator: pickervue_type_script_lang_js_validator\n },\n popperClass: String,\n editable: {\n type: Boolean,\n \"default\": true\n },\n align: {\n type: String,\n \"default\": 'left'\n },\n value: {},\n defaultValue: {},\n defaultTime: {},\n rangeSeparator: {\n \"default\": '-'\n },\n pickerOptions: {},\n unlinkPanels: Boolean,\n validateEvent: {\n type: Boolean,\n \"default\": true\n }\n },\n components: {\n ElInput: input_default.a\n },\n directives: {\n Clickoutside: clickoutside_default.a\n },\n data: function data() {\n return {\n pickerVisible: false,\n showClose: false,\n userInput: null,\n valueOnOpen: null,\n // value when picker opens, used to determine whether to emit change\n unwatchPickerOptions: null\n };\n },\n watch: {\n pickerVisible: function pickerVisible(val) {\n if (this.readonly || this.pickerDisabled) return;\n\n if (val) {\n this.showPicker();\n this.valueOnOpen = Array.isArray(this.value) ? [].concat(this.value) : this.value;\n } else {\n this.hidePicker();\n this.emitChange(this.value);\n this.userInput = null;\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.blur');\n }\n\n this.$emit('blur', this);\n this.blur();\n }\n },\n parsedValue: {\n immediate: true,\n handler: function handler(val) {\n if (this.picker) {\n this.picker.value = val;\n }\n }\n },\n defaultValue: function defaultValue(val) {\n // NOTE: should eventually move to jsx style picker + panel ?\n if (this.picker) {\n this.picker.defaultValue = val;\n }\n },\n value: function value(val, oldVal) {\n if (!valueEquals(val, oldVal) && !this.pickerVisible && this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', val);\n }\n }\n },\n computed: {\n ranged: function ranged() {\n return this.type.indexOf('range') > -1;\n },\n reference: function reference() {\n var reference = this.$refs.reference;\n return reference.$el || reference;\n },\n refInput: function refInput() {\n if (this.reference) {\n return [].slice.call(this.reference.querySelectorAll('input'));\n }\n\n return [];\n },\n valueIsEmpty: function valueIsEmpty() {\n var val = this.value;\n\n if (Array.isArray(val)) {\n for (var i = 0, len = val.length; i < len; i++) {\n if (val[i]) {\n return false;\n }\n }\n } else {\n if (val) {\n return false;\n }\n }\n\n return true;\n },\n triggerClass: function triggerClass() {\n return this.prefixIcon || (this.type.indexOf('time') !== -1 ? 'el-icon-time' : 'el-icon-date');\n },\n selectionMode: function selectionMode() {\n if (this.type === 'week') {\n return 'week';\n } else if (this.type === 'month') {\n return 'month';\n } else if (this.type === 'year') {\n return 'year';\n } else if (this.type === 'dates') {\n return 'dates';\n } else if (this.type === 'months') {\n return 'months';\n } else if (this.type === 'years') {\n return 'years';\n }\n\n return 'day';\n },\n haveTrigger: function haveTrigger() {\n if (typeof this.showTrigger !== 'undefined') {\n return this.showTrigger;\n }\n\n return HAVE_TRIGGER_TYPES.indexOf(this.type) !== -1;\n },\n displayValue: function displayValue() {\n var formattedValue = formatAsFormatAndType(this.parsedValue, this.format, this.type, this.rangeSeparator);\n\n if (Array.isArray(this.userInput)) {\n return [this.userInput[0] || formattedValue && formattedValue[0] || '', this.userInput[1] || formattedValue && formattedValue[1] || ''];\n } else if (this.userInput !== null) {\n return this.userInput;\n } else if (formattedValue) {\n return this.type === 'dates' || this.type === 'years' || this.type === 'months' ? formattedValue.join(', ') : formattedValue;\n } else {\n return '';\n }\n },\n parsedValue: function parsedValue() {\n if (!this.value) return this.value; // component value is not set\n\n if (this.type === 'time-select') return this.value; // time-select does not require parsing, this might change in next major version\n\n var valueIsDateObject = Object(date_util_[\"isDateObject\"])(this.value) || Array.isArray(this.value) && this.value.every(date_util_[\"isDateObject\"]);\n\n if (valueIsDateObject) {\n return this.value;\n }\n\n if (this.valueFormat) {\n return parseAsFormatAndType(this.value, this.valueFormat, this.type, this.rangeSeparator) || this.value;\n } // NOTE: deal with common but incorrect usage, should remove in next major version\n // user might provide string / timestamp without value-format, coerce them into date (or array of date)\n\n\n return Array.isArray(this.value) ? this.value.map(function (val) {\n return new Date(val);\n }) : new Date(this.value);\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n pickerSize: function pickerSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n pickerDisabled: function pickerDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n firstInputId: function firstInputId() {\n var obj = {};\n var id = void 0;\n\n if (this.ranged) {\n id = this.id && this.id[0];\n } else {\n id = this.id;\n }\n\n if (id) obj.id = id;\n return obj;\n },\n secondInputId: function secondInputId() {\n var obj = {};\n var id = void 0;\n\n if (this.ranged) {\n id = this.id && this.id[1];\n }\n\n if (id) obj.id = id;\n return obj;\n }\n },\n created: function created() {\n // vue-popper\n this.popperOptions = {\n boundariesPadding: 0,\n gpuAcceleration: false\n };\n this.placement = PLACEMENT_MAP[this.align] || PLACEMENT_MAP.left;\n this.$on('fieldReset', this.handleFieldReset);\n },\n methods: {\n focus: function focus() {\n if (!this.ranged) {\n this.$refs.reference.focus();\n } else {\n this.handleFocus();\n }\n },\n blur: function blur() {\n this.refInput.forEach(function (input) {\n return input.blur();\n });\n },\n // {parse, formatTo} Value deals maps component value with internal Date\n parseValue: function parseValue(value) {\n var isParsed = Object(date_util_[\"isDateObject\"])(value) || Array.isArray(value) && value.every(date_util_[\"isDateObject\"]);\n\n if (this.valueFormat && !isParsed) {\n return parseAsFormatAndType(value, this.valueFormat, this.type, this.rangeSeparator) || value;\n } else {\n return value;\n }\n },\n formatToValue: function formatToValue(date) {\n var isFormattable = Object(date_util_[\"isDateObject\"])(date) || Array.isArray(date) && date.every(date_util_[\"isDateObject\"]);\n\n if (this.valueFormat && isFormattable) {\n return formatAsFormatAndType(date, this.valueFormat, this.type, this.rangeSeparator);\n } else {\n return date;\n }\n },\n // {parse, formatTo} String deals with user input\n parseString: function parseString(value) {\n var type = Array.isArray(value) ? this.type : this.type.replace('range', '');\n return parseAsFormatAndType(value, this.format, type);\n },\n formatToString: function formatToString(value) {\n var type = Array.isArray(value) ? this.type : this.type.replace('range', '');\n return formatAsFormatAndType(value, this.format, type);\n },\n handleMouseEnter: function handleMouseEnter() {\n if (this.readonly || this.pickerDisabled) return;\n\n if (!this.valueIsEmpty && this.clearable) {\n this.showClose = true;\n }\n },\n handleChange: function handleChange() {\n if (this.userInput) {\n var value = this.parseString(this.displayValue);\n\n if (value) {\n this.picker.value = value;\n\n if (this.isValidValue(value)) {\n this.emitInput(value);\n this.userInput = null;\n }\n }\n }\n\n if (this.userInput === '') {\n this.emitInput(null);\n this.emitChange(null);\n this.userInput = null;\n }\n },\n handleStartInput: function handleStartInput(event) {\n if (this.userInput) {\n this.userInput = [event.target.value, this.userInput[1]];\n } else {\n this.userInput = [event.target.value, null];\n }\n },\n handleEndInput: function handleEndInput(event) {\n if (this.userInput) {\n this.userInput = [this.userInput[0], event.target.value];\n } else {\n this.userInput = [null, event.target.value];\n }\n },\n handleStartChange: function handleStartChange(event) {\n var value = this.parseString(this.userInput && this.userInput[0]);\n\n if (value) {\n this.userInput = [this.formatToString(value), this.displayValue[1]];\n var newValue = [value, this.picker.value && this.picker.value[1]];\n this.picker.value = newValue;\n\n if (this.isValidValue(newValue)) {\n this.emitInput(newValue);\n this.userInput = null;\n }\n }\n },\n handleEndChange: function handleEndChange(event) {\n var value = this.parseString(this.userInput && this.userInput[1]);\n\n if (value) {\n this.userInput = [this.displayValue[0], this.formatToString(value)];\n var newValue = [this.picker.value && this.picker.value[0], value];\n this.picker.value = newValue;\n\n if (this.isValidValue(newValue)) {\n this.emitInput(newValue);\n this.userInput = null;\n }\n }\n },\n handleClickIcon: function handleClickIcon(event) {\n if (this.readonly || this.pickerDisabled) return;\n\n if (this.showClose) {\n this.valueOnOpen = this.value;\n event.stopPropagation();\n this.emitInput(null);\n this.emitChange(null);\n this.showClose = false;\n\n if (this.picker && typeof this.picker.handleClear === 'function') {\n this.picker.handleClear();\n }\n } else {\n this.pickerVisible = !this.pickerVisible;\n }\n },\n handleClose: function handleClose() {\n if (!this.pickerVisible) return;\n this.pickerVisible = false;\n\n if (this.type === 'dates' || this.type === 'years' || this.type === 'months') {\n // restore to former value\n var oldValue = parseAsFormatAndType(this.valueOnOpen, this.valueFormat, this.type, this.rangeSeparator) || this.valueOnOpen;\n this.emitInput(oldValue);\n }\n },\n handleFieldReset: function handleFieldReset(initialValue) {\n this.userInput = initialValue === '' ? null : initialValue;\n },\n handleFocus: function handleFocus() {\n var type = this.type;\n\n if (HAVE_TRIGGER_TYPES.indexOf(type) !== -1 && !this.pickerVisible) {\n this.pickerVisible = true;\n }\n\n this.$emit('focus', this);\n },\n handleKeydown: function handleKeydown(event) {\n var _this = this;\n\n var keyCode = event.keyCode; // ESC\n\n if (keyCode === 27) {\n this.pickerVisible = false;\n event.stopPropagation();\n return;\n } // Tab\n\n\n if (keyCode === 9) {\n if (!this.ranged) {\n this.handleChange();\n this.pickerVisible = this.picker.visible = false;\n this.blur();\n event.stopPropagation();\n } else {\n // user may change focus between two input\n setTimeout(function () {\n if (_this.refInput.indexOf(document.activeElement) === -1) {\n _this.pickerVisible = false;\n\n _this.blur();\n\n event.stopPropagation();\n }\n }, 0);\n }\n\n return;\n } // Enter\n\n\n if (keyCode === 13) {\n if (this.userInput === '' || this.isValidValue(this.parseString(this.displayValue))) {\n this.handleChange();\n this.pickerVisible = this.picker.visible = false;\n this.blur();\n }\n\n event.stopPropagation();\n return;\n } // if user is typing, do not let picker handle key input\n\n\n if (this.userInput) {\n event.stopPropagation();\n return;\n } // delegate other keys to panel\n\n\n if (this.picker && this.picker.handleKeydown) {\n this.picker.handleKeydown(event);\n }\n },\n handleRangeClick: function handleRangeClick() {\n var type = this.type;\n\n if (HAVE_TRIGGER_TYPES.indexOf(type) !== -1 && !this.pickerVisible) {\n this.pickerVisible = true;\n }\n\n this.$emit('focus', this);\n },\n hidePicker: function hidePicker() {\n if (this.picker) {\n this.picker.resetView && this.picker.resetView();\n this.pickerVisible = this.picker.visible = false;\n this.destroyPopper();\n }\n },\n showPicker: function showPicker() {\n var _this2 = this;\n\n if (this.$isServer) return;\n\n if (!this.picker) {\n this.mountPicker();\n }\n\n this.pickerVisible = this.picker.visible = true;\n this.updatePopper();\n this.picker.value = this.parsedValue;\n this.picker.resetView && this.picker.resetView();\n this.$nextTick(function () {\n _this2.picker.adjustSpinners && _this2.picker.adjustSpinners();\n });\n },\n mountPicker: function mountPicker() {\n var _this3 = this;\n\n this.picker = new external_vue_default.a(this.panel).$mount();\n this.picker.defaultValue = this.defaultValue;\n this.picker.defaultTime = this.defaultTime;\n this.picker.popperClass = this.popperClass;\n this.popperElm = this.picker.$el;\n this.picker.width = this.reference.getBoundingClientRect().width;\n this.picker.showTime = this.type === 'datetime' || this.type === 'datetimerange';\n this.picker.selectionMode = this.selectionMode;\n this.picker.unlinkPanels = this.unlinkPanels;\n this.picker.arrowControl = this.arrowControl || this.timeArrowControl || false;\n this.$watch('format', function (format) {\n _this3.picker.format = format;\n });\n\n var updateOptions = function updateOptions() {\n var options = _this3.pickerOptions;\n\n if (options && options.selectableRange) {\n var ranges = options.selectableRange;\n var parser = TYPE_VALUE_RESOLVER_MAP.datetimerange.parser;\n var format = DEFAULT_FORMATS.timerange;\n ranges = Array.isArray(ranges) ? ranges : [ranges];\n _this3.picker.selectableRange = ranges.map(function (range) {\n return parser(range, format, _this3.rangeSeparator);\n });\n }\n\n for (var option in options) {\n if (options.hasOwnProperty(option) && // 忽略 time-picker 的该é…置项\n option !== 'selectableRange') {\n _this3.picker[option] = options[option];\n }\n } // main format must prevail over undocumented pickerOptions.format\n\n\n if (_this3.format) {\n _this3.picker.format = _this3.format;\n }\n };\n\n updateOptions();\n this.unwatchPickerOptions = this.$watch('pickerOptions', function () {\n return updateOptions();\n }, {\n deep: true\n });\n this.$el.appendChild(this.picker.$el);\n this.picker.resetView && this.picker.resetView();\n this.picker.$on('dodestroy', this.doDestroy);\n this.picker.$on('pick', function () {\n var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n var visible = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n _this3.userInput = null;\n _this3.pickerVisible = _this3.picker.visible = visible;\n\n _this3.emitInput(date);\n\n _this3.picker.resetView && _this3.picker.resetView();\n });\n this.picker.$on('select-range', function (start, end, pos) {\n if (_this3.refInput.length === 0) return;\n\n if (!pos || pos === 'min') {\n _this3.refInput[0].setSelectionRange(start, end);\n\n _this3.refInput[0].focus();\n } else if (pos === 'max') {\n _this3.refInput[1].setSelectionRange(start, end);\n\n _this3.refInput[1].focus();\n }\n });\n },\n unmountPicker: function unmountPicker() {\n if (this.picker) {\n this.picker.$destroy();\n this.picker.$off();\n\n if (typeof this.unwatchPickerOptions === 'function') {\n this.unwatchPickerOptions();\n }\n\n this.picker.$el.parentNode.removeChild(this.picker.$el);\n }\n },\n emitChange: function emitChange(val) {\n // determine user real change only\n if (!valueEquals(val, this.valueOnOpen)) {\n this.$emit('change', val);\n this.valueOnOpen = val;\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', val);\n }\n }\n },\n emitInput: function emitInput(val) {\n var formatted = this.formatToValue(val);\n\n if (!valueEquals(this.value, formatted)) {\n this.$emit('input', formatted);\n }\n },\n isValidValue: function isValidValue(value) {\n if (!this.picker) {\n this.mountPicker();\n }\n\n if (this.picker.isValidValue) {\n return value && this.picker.isValidValue(value);\n } else {\n return true;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_pickervue_type_script_lang_js_ = pickervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue\n\n /* normalize component */\n\n var picker_component = normalizeComponent(src_pickervue_type_script_lang_js_, pickervue_type_template_id_79ae069f_render, pickervue_type_template_id_79ae069f_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var picker_api;\n }\n\n picker_component.options.__file = \"packages/date-picker/src/picker.vue\";\n /* harmony default export */\n\n var picker = picker_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date.vue?vue&type=template&id=2440d4ea&\n\n var datevue_type_template_id_2440d4ea_render = function datevue_type_template_id_2440d4ea_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-enter\": _vm.handleEnter,\n \"after-leave\": _vm.handleLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-picker-panel el-date-picker el-popper\",\n \"class\": [{\n \"has-sidebar\": _vm.$slots.sidebar || _vm.shortcuts,\n \"has-time\": _vm.showTime\n }, _vm.popperClass]\n }, [_c(\"div\", {\n staticClass: \"el-picker-panel__body-wrapper\"\n }, [_vm._t(\"sidebar\"), _vm.shortcuts ? _c(\"div\", {\n staticClass: \"el-picker-panel__sidebar\"\n }, _vm._l(_vm.shortcuts, function (shortcut, key) {\n return _c(\"button\", {\n key: key,\n staticClass: \"el-picker-panel__shortcut\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: function click($event) {\n _vm.handleShortcutClick(shortcut);\n }\n }\n }, [_vm._v(_vm._s(shortcut.text))]);\n }), 0) : _vm._e(), _c(\"div\", {\n staticClass: \"el-picker-panel__body\"\n }, [_vm.showTime ? _c(\"div\", {\n staticClass: \"el-date-picker__time-header\"\n }, [_c(\"span\", {\n staticClass: \"el-date-picker__editor-wrap\"\n }, [_c(\"el-input\", {\n attrs: {\n placeholder: _vm.t(\"el.datepicker.selectDate\"),\n value: _vm.visibleDate,\n size: \"small\"\n },\n on: {\n input: function input(val) {\n return _vm.userInputDate = val;\n },\n change: _vm.handleVisibleDateChange\n }\n })], 1), _c(\"span\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleTimePickClose,\n expression: \"handleTimePickClose\"\n }],\n staticClass: \"el-date-picker__editor-wrap\"\n }, [_c(\"el-input\", {\n ref: \"input\",\n attrs: {\n placeholder: _vm.t(\"el.datepicker.selectTime\"),\n value: _vm.visibleTime,\n size: \"small\"\n },\n on: {\n focus: function focus($event) {\n _vm.timePickerVisible = true;\n },\n input: function input(val) {\n return _vm.userInputTime = val;\n },\n change: _vm.handleVisibleTimeChange\n }\n }), _c(\"time-picker\", {\n ref: \"timepicker\",\n attrs: {\n \"time-arrow-control\": _vm.arrowControl,\n visible: _vm.timePickerVisible\n },\n on: {\n pick: _vm.handleTimePick,\n mounted: _vm.proxyTimePickerDataProperties\n }\n })], 1)]) : _vm._e(), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView !== \"time\",\n expression: \"currentView !== 'time'\"\n }],\n staticClass: \"el-date-picker__header\",\n \"class\": {\n \"el-date-picker__header--bordered\": _vm.currentView === \"year\" || _vm.currentView === \"month\"\n }\n }, [_c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left\",\n attrs: {\n type: \"button\",\n \"aria-label\": _vm.t(\"el.datepicker.prevYear\")\n },\n on: {\n click: _vm.prevYear\n }\n }), _c(\"button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView === \"date\",\n expression: \"currentView === 'date'\"\n }],\n staticClass: \"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left\",\n attrs: {\n type: \"button\",\n \"aria-label\": _vm.t(\"el.datepicker.prevMonth\")\n },\n on: {\n click: _vm.prevMonth\n }\n }), _c(\"span\", {\n staticClass: \"el-date-picker__header-label\",\n attrs: {\n role: \"button\"\n },\n on: {\n click: _vm.showYearPicker\n }\n }, [_vm._v(_vm._s(_vm.yearLabel))]), _c(\"span\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView === \"date\",\n expression: \"currentView === 'date'\"\n }],\n staticClass: \"el-date-picker__header-label\",\n \"class\": {\n active: _vm.currentView === \"month\"\n },\n attrs: {\n role: \"button\"\n },\n on: {\n click: _vm.showMonthPicker\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.month\" + (_vm.month + 1))))]), _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right\",\n attrs: {\n type: \"button\",\n \"aria-label\": _vm.t(\"el.datepicker.nextYear\")\n },\n on: {\n click: _vm.nextYear\n }\n }), _c(\"button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView === \"date\",\n expression: \"currentView === 'date'\"\n }],\n staticClass: \"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right\",\n attrs: {\n type: \"button\",\n \"aria-label\": _vm.t(\"el.datepicker.nextMonth\")\n },\n on: {\n click: _vm.nextMonth\n }\n })]), _c(\"div\", {\n staticClass: \"el-picker-panel__content\"\n }, [_c(\"date-table\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView === \"date\",\n expression: \"currentView === 'date'\"\n }],\n attrs: {\n \"selection-mode\": _vm.selectionMode,\n \"first-day-of-week\": _vm.firstDayOfWeek,\n value: _vm.value,\n \"default-value\": _vm.defaultValue ? new Date(_vm.defaultValue) : null,\n date: _vm.date,\n \"cell-class-name\": _vm.cellClassName,\n \"disabled-date\": _vm.disabledDate\n },\n on: {\n pick: _vm.handleDatePick\n }\n }), _c(\"year-table\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView === \"year\",\n expression: \"currentView === 'year'\"\n }],\n attrs: {\n \"selection-mode\": _vm.selectionMode,\n value: _vm.value,\n \"default-value\": _vm.defaultValue ? new Date(_vm.defaultValue) : null,\n date: _vm.date,\n \"disabled-date\": _vm.disabledDate\n },\n on: {\n pick: _vm.handleYearPick\n }\n }), _c(\"month-table\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.currentView === \"month\",\n expression: \"currentView === 'month'\"\n }],\n attrs: {\n \"selection-mode\": _vm.selectionMode,\n value: _vm.value,\n \"default-value\": _vm.defaultValue ? new Date(_vm.defaultValue) : null,\n date: _vm.date,\n \"disabled-date\": _vm.disabledDate\n },\n on: {\n pick: _vm.handleMonthPick\n }\n })], 1)])], 2), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.footerVisible && (_vm.currentView === \"date\" || _vm.currentView === \"month\" || _vm.currentView === \"year\"),\n expression: \"footerVisible && (currentView === 'date' || currentView === 'month' || currentView === 'year')\"\n }],\n staticClass: \"el-picker-panel__footer\"\n }, [_c(\"el-button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.selectionMode !== \"dates\" && _vm.selectionMode !== \"months\" && _vm.selectionMode !== \"years\",\n expression: \"selectionMode !== 'dates' && selectionMode !== 'months' && selectionMode !== 'years'\"\n }],\n staticClass: \"el-picker-panel__link-btn\",\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: _vm.changeToNow\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.now\")) + \"\\n \")]), _c(\"el-button\", {\n staticClass: \"el-picker-panel__link-btn\",\n attrs: {\n plain: \"\",\n size: \"mini\"\n },\n on: {\n click: _vm.confirm\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.confirm\")) + \"\\n \")])], 1)])]);\n };\n\n var datevue_type_template_id_2440d4ea_staticRenderFns = [];\n datevue_type_template_id_2440d4ea_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/panel/date.vue?vue&type=template&id=2440d4ea&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=template&id=3d939089&\n\n var timevue_type_template_id_3d939089_render = function timevue_type_template_id_3d939089_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": function afterLeave($event) {\n _vm.$emit(\"dodestroy\");\n }\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-time-panel el-popper\",\n \"class\": _vm.popperClass\n }, [_c(\"div\", {\n staticClass: \"el-time-panel__content\",\n \"class\": {\n \"has-seconds\": _vm.showSeconds\n }\n }, [_c(\"time-spinner\", {\n ref: \"spinner\",\n attrs: {\n \"arrow-control\": _vm.useArrow,\n \"show-seconds\": _vm.showSeconds,\n \"am-pm-mode\": _vm.amPmMode,\n date: _vm.date\n },\n on: {\n change: _vm.handleChange,\n \"select-range\": _vm.setSelectionRange\n }\n })], 1), _c(\"div\", {\n staticClass: \"el-time-panel__footer\"\n }, [_c(\"button\", {\n staticClass: \"el-time-panel__btn cancel\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.handleCancel\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.cancel\")))]), _c(\"button\", {\n staticClass: \"el-time-panel__btn\",\n \"class\": {\n confirm: !_vm.disabled\n },\n attrs: {\n type: \"button\"\n },\n on: {\n click: function click($event) {\n _vm.handleConfirm();\n }\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.confirm\")))])])])]);\n };\n\n var timevue_type_template_id_3d939089_staticRenderFns = [];\n timevue_type_template_id_3d939089_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=template&id=3d939089&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=1facadeb&\n\n var time_spinnervue_type_template_id_1facadeb_render = function time_spinnervue_type_template_id_1facadeb_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-time-spinner\",\n \"class\": {\n \"has-seconds\": _vm.showSeconds\n }\n }, [!_vm.arrowControl ? [_c(\"el-scrollbar\", {\n ref: \"hours\",\n staticClass: \"el-time-spinner__wrapper\",\n attrs: {\n \"wrap-style\": \"max-height: inherit;\",\n \"view-class\": \"el-time-spinner__list\",\n noresize: \"\",\n tag: \"ul\"\n },\n nativeOn: {\n mouseenter: function mouseenter($event) {\n _vm.emitSelectRange(\"hours\");\n },\n mousemove: function mousemove($event) {\n _vm.adjustCurrentSpinner(\"hours\");\n }\n }\n }, _vm._l(_vm.hoursList, function (disabled, hour) {\n return _c(\"li\", {\n key: hour,\n staticClass: \"el-time-spinner__item\",\n \"class\": {\n active: hour === _vm.hours,\n disabled: disabled\n },\n on: {\n click: function click($event) {\n _vm.handleClick(\"hours\", {\n value: hour,\n disabled: disabled\n });\n }\n }\n }, [_vm._v(_vm._s((\"0\" + (_vm.amPmMode ? hour % 12 || 12 : hour)).slice(-2)) + _vm._s(_vm.amPm(hour)))]);\n }), 0), _c(\"el-scrollbar\", {\n ref: \"minutes\",\n staticClass: \"el-time-spinner__wrapper\",\n attrs: {\n \"wrap-style\": \"max-height: inherit;\",\n \"view-class\": \"el-time-spinner__list\",\n noresize: \"\",\n tag: \"ul\"\n },\n nativeOn: {\n mouseenter: function mouseenter($event) {\n _vm.emitSelectRange(\"minutes\");\n },\n mousemove: function mousemove($event) {\n _vm.adjustCurrentSpinner(\"minutes\");\n }\n }\n }, _vm._l(_vm.minutesList, function (enabled, key) {\n return _c(\"li\", {\n key: key,\n staticClass: \"el-time-spinner__item\",\n \"class\": {\n active: key === _vm.minutes,\n disabled: !enabled\n },\n on: {\n click: function click($event) {\n _vm.handleClick(\"minutes\", {\n value: key,\n disabled: false\n });\n }\n }\n }, [_vm._v(_vm._s((\"0\" + key).slice(-2)))]);\n }), 0), _c(\"el-scrollbar\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showSeconds,\n expression: \"showSeconds\"\n }],\n ref: \"seconds\",\n staticClass: \"el-time-spinner__wrapper\",\n attrs: {\n \"wrap-style\": \"max-height: inherit;\",\n \"view-class\": \"el-time-spinner__list\",\n noresize: \"\",\n tag: \"ul\"\n },\n nativeOn: {\n mouseenter: function mouseenter($event) {\n _vm.emitSelectRange(\"seconds\");\n },\n mousemove: function mousemove($event) {\n _vm.adjustCurrentSpinner(\"seconds\");\n }\n }\n }, _vm._l(60, function (second, key) {\n return _c(\"li\", {\n key: key,\n staticClass: \"el-time-spinner__item\",\n \"class\": {\n active: key === _vm.seconds\n },\n on: {\n click: function click($event) {\n _vm.handleClick(\"seconds\", {\n value: key,\n disabled: false\n });\n }\n }\n }, [_vm._v(_vm._s((\"0\" + key).slice(-2)))]);\n }), 0)] : _vm._e(), _vm.arrowControl ? [_c(\"div\", {\n staticClass: \"el-time-spinner__wrapper is-arrow\",\n on: {\n mouseenter: function mouseenter($event) {\n _vm.emitSelectRange(\"hours\");\n }\n }\n }, [_c(\"i\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.decrease,\n expression: \"decrease\"\n }],\n staticClass: \"el-time-spinner__arrow el-icon-arrow-up\"\n }), _c(\"i\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.increase,\n expression: \"increase\"\n }],\n staticClass: \"el-time-spinner__arrow el-icon-arrow-down\"\n }), _c(\"ul\", {\n ref: \"hours\",\n staticClass: \"el-time-spinner__list\"\n }, _vm._l(_vm.arrowHourList, function (hour, key) {\n return _c(\"li\", {\n key: key,\n staticClass: \"el-time-spinner__item\",\n \"class\": {\n active: hour === _vm.hours,\n disabled: _vm.hoursList[hour]\n }\n }, [_vm._v(_vm._s(hour === undefined ? \"\" : (\"0\" + (_vm.amPmMode ? hour % 12 || 12 : hour)).slice(-2) + _vm.amPm(hour)))]);\n }), 0)]), _c(\"div\", {\n staticClass: \"el-time-spinner__wrapper is-arrow\",\n on: {\n mouseenter: function mouseenter($event) {\n _vm.emitSelectRange(\"minutes\");\n }\n }\n }, [_c(\"i\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.decrease,\n expression: \"decrease\"\n }],\n staticClass: \"el-time-spinner__arrow el-icon-arrow-up\"\n }), _c(\"i\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.increase,\n expression: \"increase\"\n }],\n staticClass: \"el-time-spinner__arrow el-icon-arrow-down\"\n }), _c(\"ul\", {\n ref: \"minutes\",\n staticClass: \"el-time-spinner__list\"\n }, _vm._l(_vm.arrowMinuteList, function (minute, key) {\n return _c(\"li\", {\n key: key,\n staticClass: \"el-time-spinner__item\",\n \"class\": {\n active: minute === _vm.minutes\n }\n }, [_vm._v(\"\\n \" + _vm._s(minute === undefined ? \"\" : (\"0\" + minute).slice(-2)) + \"\\n \")]);\n }), 0)]), _vm.showSeconds ? _c(\"div\", {\n staticClass: \"el-time-spinner__wrapper is-arrow\",\n on: {\n mouseenter: function mouseenter($event) {\n _vm.emitSelectRange(\"seconds\");\n }\n }\n }, [_c(\"i\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.decrease,\n expression: \"decrease\"\n }],\n staticClass: \"el-time-spinner__arrow el-icon-arrow-up\"\n }), _c(\"i\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.increase,\n expression: \"increase\"\n }],\n staticClass: \"el-time-spinner__arrow el-icon-arrow-down\"\n }), _c(\"ul\", {\n ref: \"seconds\",\n staticClass: \"el-time-spinner__list\"\n }, _vm._l(_vm.arrowSecondList, function (second, key) {\n return _c(\"li\", {\n key: key,\n staticClass: \"el-time-spinner__item\",\n \"class\": {\n active: second === _vm.seconds\n }\n }, [_vm._v(\"\\n \" + _vm._s(second === undefined ? \"\" : (\"0\" + second).slice(-2)) + \"\\n \")]);\n }), 0)]) : _vm._e()] : _vm._e()], 2);\n };\n\n var time_spinnervue_type_template_id_1facadeb_staticRenderFns = [];\n time_spinnervue_type_template_id_1facadeb_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=1facadeb&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var time_spinnervue_type_script_lang_js_ = {\n components: {\n ElScrollbar: scrollbar_default.a\n },\n directives: {\n repeatClick: repeat_click\n },\n props: {\n date: {},\n defaultValue: {},\n // reserved for future use\n showSeconds: {\n type: Boolean,\n \"default\": true\n },\n arrowControl: Boolean,\n amPmMode: {\n type: String,\n \"default\": '' // 'a': am/pm; 'A': AM/PM\n\n }\n },\n computed: {\n hours: function hours() {\n return this.date.getHours();\n },\n minutes: function minutes() {\n return this.date.getMinutes();\n },\n seconds: function seconds() {\n return this.date.getSeconds();\n },\n hoursList: function hoursList() {\n return Object(date_util_[\"getRangeHours\"])(this.selectableRange);\n },\n minutesList: function minutesList() {\n return Object(date_util_[\"getRangeMinutes\"])(this.selectableRange, this.hours);\n },\n arrowHourList: function arrowHourList() {\n var hours = this.hours;\n return [hours > 0 ? hours - 1 : undefined, hours, hours < 23 ? hours + 1 : undefined];\n },\n arrowMinuteList: function arrowMinuteList() {\n var minutes = this.minutes;\n return [minutes > 0 ? minutes - 1 : undefined, minutes, minutes < 59 ? minutes + 1 : undefined];\n },\n arrowSecondList: function arrowSecondList() {\n var seconds = this.seconds;\n return [seconds > 0 ? seconds - 1 : undefined, seconds, seconds < 59 ? seconds + 1 : undefined];\n }\n },\n data: function data() {\n return {\n selectableRange: [],\n currentScrollbar: null\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n this.$nextTick(function () {\n !_this.arrowControl && _this.bindScrollEvent();\n });\n },\n methods: {\n increase: function increase() {\n this.scrollDown(1);\n },\n decrease: function decrease() {\n this.scrollDown(-1);\n },\n modifyDateField: function modifyDateField(type, value) {\n switch (type) {\n case 'hours':\n this.$emit('change', Object(date_util_[\"modifyTime\"])(this.date, value, this.minutes, this.seconds));\n break;\n\n case 'minutes':\n this.$emit('change', Object(date_util_[\"modifyTime\"])(this.date, this.hours, value, this.seconds));\n break;\n\n case 'seconds':\n this.$emit('change', Object(date_util_[\"modifyTime\"])(this.date, this.hours, this.minutes, value));\n break;\n }\n },\n handleClick: function handleClick(type, _ref) {\n var value = _ref.value,\n disabled = _ref.disabled;\n\n if (!disabled) {\n this.modifyDateField(type, value);\n this.emitSelectRange(type);\n this.adjustSpinner(type, value);\n }\n },\n emitSelectRange: function emitSelectRange(type) {\n if (type === 'hours') {\n this.$emit('select-range', 0, 2);\n } else if (type === 'minutes') {\n this.$emit('select-range', 3, 5);\n } else if (type === 'seconds') {\n this.$emit('select-range', 6, 8);\n }\n\n this.currentScrollbar = type;\n },\n bindScrollEvent: function bindScrollEvent() {\n var _this2 = this;\n\n var bindFunction = function bindFunction(type) {\n _this2.$refs[type].wrap.onscroll = function (e) {\n // TODO: scroll is emitted when set scrollTop programatically\n // should find better solutions in the future!\n _this2.handleScroll(type, e);\n };\n };\n\n bindFunction('hours');\n bindFunction('minutes');\n bindFunction('seconds');\n },\n handleScroll: function handleScroll(type) {\n var value = Math.min(Math.round((this.$refs[type].wrap.scrollTop - (this.scrollBarHeight(type) * 0.5 - 10) / this.typeItemHeight(type) + 3) / this.typeItemHeight(type)), type === 'hours' ? 23 : 59);\n this.modifyDateField(type, value);\n },\n // NOTE: used by datetime / date-range panel\n // renamed from adjustScrollTop\n // should try to refactory it\n adjustSpinners: function adjustSpinners() {\n this.adjustSpinner('hours', this.hours);\n this.adjustSpinner('minutes', this.minutes);\n this.adjustSpinner('seconds', this.seconds);\n },\n adjustCurrentSpinner: function adjustCurrentSpinner(type) {\n this.adjustSpinner(type, this[type]);\n },\n adjustSpinner: function adjustSpinner(type, value) {\n if (this.arrowControl) return;\n var el = this.$refs[type].wrap;\n\n if (el) {\n el.scrollTop = Math.max(0, value * this.typeItemHeight(type));\n }\n },\n scrollDown: function scrollDown(step) {\n var _this3 = this;\n\n if (!this.currentScrollbar) {\n this.emitSelectRange('hours');\n }\n\n var label = this.currentScrollbar;\n var hoursList = this.hoursList;\n var now = this[label];\n\n if (this.currentScrollbar === 'hours') {\n var total = Math.abs(step);\n step = step > 0 ? 1 : -1;\n var length = hoursList.length;\n\n while (length-- && total) {\n now = (now + step + hoursList.length) % hoursList.length;\n\n if (hoursList[now]) {\n continue;\n }\n\n total--;\n }\n\n if (hoursList[now]) return;\n } else {\n now = (now + step + 60) % 60;\n }\n\n this.modifyDateField(label, now);\n this.adjustSpinner(label, now);\n this.$nextTick(function () {\n return _this3.emitSelectRange(_this3.currentScrollbar);\n });\n },\n amPm: function amPm(hour) {\n var shouldShowAmPm = this.amPmMode.toLowerCase() === 'a';\n if (!shouldShowAmPm) return '';\n var isCapital = this.amPmMode === 'A';\n var content = hour < 12 ? ' am' : ' pm';\n if (isCapital) content = content.toUpperCase();\n return content;\n },\n typeItemHeight: function typeItemHeight(type) {\n return this.$refs[type].$el.querySelector('li').offsetHeight;\n },\n scrollBarHeight: function scrollBarHeight(type) {\n return this.$refs[type].$el.offsetHeight;\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var basic_time_spinnervue_type_script_lang_js_ = time_spinnervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue\n\n /* normalize component */\n\n var time_spinner_component = normalizeComponent(basic_time_spinnervue_type_script_lang_js_, time_spinnervue_type_template_id_1facadeb_render, time_spinnervue_type_template_id_1facadeb_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var time_spinner_api;\n }\n\n time_spinner_component.options.__file = \"packages/date-picker/src/basic/time-spinner.vue\";\n /* harmony default export */\n\n var time_spinner = time_spinner_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var timevue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n components: {\n TimeSpinner: time_spinner\n },\n props: {\n visible: Boolean,\n timeArrowControl: Boolean\n },\n watch: {\n visible: function visible(val) {\n var _this = this;\n\n if (val) {\n this.oldValue = this.value;\n this.$nextTick(function () {\n return _this.$refs.spinner.emitSelectRange('hours');\n });\n } else {\n this.needInitAdjust = true;\n }\n },\n value: function value(newVal) {\n var _this2 = this;\n\n var date = void 0;\n\n if (newVal instanceof Date) {\n date = Object(date_util_[\"limitTimeRange\"])(newVal, this.selectableRange, this.format);\n } else if (!newVal) {\n date = this.defaultValue ? new Date(this.defaultValue) : new Date();\n }\n\n this.date = date;\n\n if (this.visible && this.needInitAdjust) {\n this.$nextTick(function (_) {\n return _this2.adjustSpinners();\n });\n this.needInitAdjust = false;\n }\n },\n selectableRange: function selectableRange(val) {\n this.$refs.spinner.selectableRange = val;\n },\n defaultValue: function defaultValue(val) {\n if (!Object(date_util_[\"isDate\"])(this.value)) {\n this.date = val ? new Date(val) : new Date();\n }\n }\n },\n data: function data() {\n return {\n popperClass: '',\n format: 'HH:mm:ss',\n value: '',\n defaultValue: null,\n date: new Date(),\n oldValue: new Date(),\n selectableRange: [],\n selectionRange: [0, 2],\n disabled: false,\n arrowControl: false,\n needInitAdjust: true\n };\n },\n computed: {\n showSeconds: function showSeconds() {\n return (this.format || '').indexOf('ss') !== -1;\n },\n useArrow: function useArrow() {\n return this.arrowControl || this.timeArrowControl || false;\n },\n amPmMode: function amPmMode() {\n if ((this.format || '').indexOf('A') !== -1) return 'A';\n if ((this.format || '').indexOf('a') !== -1) return 'a';\n return '';\n }\n },\n methods: {\n handleCancel: function handleCancel() {\n this.$emit('pick', this.oldValue, false);\n },\n handleChange: function handleChange(date) {\n // this.visible avoids edge cases, when use scrolls during panel closing animation\n if (this.visible) {\n this.date = Object(date_util_[\"clearMilliseconds\"])(date); // if date is out of range, do not emit\n\n if (this.isValidValue(this.date)) {\n this.$emit('pick', this.date, true);\n }\n }\n },\n setSelectionRange: function setSelectionRange(start, end) {\n this.$emit('select-range', start, end);\n this.selectionRange = [start, end];\n },\n handleConfirm: function handleConfirm() {\n var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var first = arguments[1];\n if (first) return;\n var date = Object(date_util_[\"clearMilliseconds\"])(Object(date_util_[\"limitTimeRange\"])(this.date, this.selectableRange, this.format));\n this.$emit('pick', date, visible, first);\n },\n handleKeydown: function handleKeydown(event) {\n var keyCode = event.keyCode;\n var mapping = {\n 38: -1,\n 40: 1,\n 37: -1,\n 39: 1\n }; // Left or Right\n\n if (keyCode === 37 || keyCode === 39) {\n var step = mapping[keyCode];\n this.changeSelectionRange(step);\n event.preventDefault();\n return;\n } // Up or Down\n\n\n if (keyCode === 38 || keyCode === 40) {\n var _step = mapping[keyCode];\n this.$refs.spinner.scrollDown(_step);\n event.preventDefault();\n return;\n }\n },\n isValidValue: function isValidValue(date) {\n return Object(date_util_[\"timeWithinRange\"])(date, this.selectableRange, this.format);\n },\n adjustSpinners: function adjustSpinners() {\n return this.$refs.spinner.adjustSpinners();\n },\n changeSelectionRange: function changeSelectionRange(step) {\n var list = [0, 3].concat(this.showSeconds ? [6] : []);\n var mapping = ['hours', 'minutes'].concat(this.showSeconds ? ['seconds'] : []);\n var index = list.indexOf(this.selectionRange[0]);\n var next = (index + step + list.length) % list.length;\n this.$refs.spinner.emitSelectRange(mapping[next]);\n }\n },\n mounted: function mounted() {\n var _this3 = this;\n\n this.$nextTick(function () {\n return _this3.handleConfirm(true, true);\n });\n this.$emit('mounted');\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var panel_timevue_type_script_lang_js_ = timevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue\n\n /* normalize component */\n\n var time_component = normalizeComponent(panel_timevue_type_script_lang_js_, timevue_type_template_id_3d939089_render, timevue_type_template_id_3d939089_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var time_api;\n }\n\n time_component.options.__file = \"packages/date-picker/src/panel/time.vue\";\n /* harmony default export */\n\n var panel_time = time_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/year-table.vue?vue&type=template&id=c86ab5e0&\n\n var year_tablevue_type_template_id_c86ab5e0_render = function year_tablevue_type_template_id_c86ab5e0_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"table\", {\n staticClass: \"el-year-table\",\n on: {\n click: _vm.handleYearTableClick\n }\n }, [_c(\"tbody\", [_c(\"tr\", [_c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 0)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 1)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 1))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 2)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 2))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 3)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 3))])])]), _c(\"tr\", [_c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 4)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 4))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 5)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 5))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 6)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 6))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 7)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 7))])])]), _c(\"tr\", [_c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 8)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 8))])]), _c(\"td\", {\n staticClass: \"available\",\n \"class\": _vm.getCellStyle(_vm.startYear + 9)\n }, [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.startYear + 9))])]), _c(\"td\"), _c(\"td\")])])]);\n };\n\n var year_tablevue_type_template_id_c86ab5e0_staticRenderFns = [];\n year_tablevue_type_template_id_c86ab5e0_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/basic/year-table.vue?vue&type=template&id=c86ab5e0&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/year-table.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var year_tablevue_type_script_lang_js_datesInYear = function datesInYear(year) {\n var numOfDays = Object(date_util_[\"getDayCountOfYear\"])(year);\n var firstDay = new Date(year, 0, 1);\n return Object(date_util_[\"range\"])(numOfDays).map(function (n) {\n return Object(date_util_[\"nextDate\"])(firstDay, n);\n });\n };\n /* harmony default export */\n\n\n var year_tablevue_type_script_lang_js_ = {\n props: {\n disabledDate: {},\n value: {},\n defaultValue: {\n validator: function validator(val) {\n // null or valid Date Object\n return val === null || val instanceof Date && Object(date_util_[\"isDate\"])(val);\n }\n },\n date: {},\n selectionMode: {}\n },\n computed: {\n startYear: function startYear() {\n return Math.floor(this.date.getFullYear() / 10) * 10;\n }\n },\n methods: {\n getCellStyle: function getCellStyle(year) {\n var style = {};\n var today = new Date();\n style.disabled = typeof this.disabledDate === 'function' ? year_tablevue_type_script_lang_js_datesInYear(year).every(this.disabledDate) : false;\n style.current = Object(util_[\"arrayFindIndex\"])(Object(util_[\"coerceTruthyValueToArray\"])(this.value), function (date) {\n return date.getFullYear() === year;\n }) >= 0;\n style.today = today.getFullYear() === year;\n style[\"default\"] = this.defaultValue && this.defaultValue.getFullYear() === year;\n return style;\n },\n handleYearTableClick: function handleYearTableClick(event) {\n var target = event.target;\n\n if (target.tagName === 'A') {\n if (Object(dom_[\"hasClass\"])(target.parentNode, 'disabled')) return;\n var year = target.textContent || target.innerText;\n\n if (this.selectionMode === 'years') {\n var value = this.value || [];\n var idx = Object(util_[\"arrayFindIndex\"])(value, function (date) {\n return date.getFullYear() === Number(year);\n });\n var newValue = idx > -1 ? [].concat(value.slice(0, idx), value.slice(idx + 1)) : [].concat(value, [new Date(year)]);\n this.$emit('pick', newValue);\n } else {\n this.$emit('pick', Number(year));\n }\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/basic/year-table.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var basic_year_tablevue_type_script_lang_js_ = year_tablevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/basic/year-table.vue\n\n /* normalize component */\n\n var year_table_component = normalizeComponent(basic_year_tablevue_type_script_lang_js_, year_tablevue_type_template_id_c86ab5e0_render, year_tablevue_type_template_id_c86ab5e0_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var year_table_api;\n }\n\n year_table_component.options.__file = \"packages/date-picker/src/basic/year-table.vue\";\n /* harmony default export */\n\n var year_table = year_table_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/month-table.vue?vue&type=template&id=654d4f42&\n\n var month_tablevue_type_template_id_654d4f42_render = function month_tablevue_type_template_id_654d4f42_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"table\", {\n staticClass: \"el-month-table\",\n on: {\n click: _vm.handleMonthTableClick,\n mousemove: _vm.handleMouseMove\n }\n }, [_c(\"tbody\", _vm._l(_vm.rows, function (row, key) {\n return _c(\"tr\", {\n key: key\n }, _vm._l(row, function (cell, key) {\n return _c(\"td\", {\n key: key,\n \"class\": _vm.getCellStyle(cell)\n }, [_c(\"div\", [_c(\"a\", {\n staticClass: \"cell\"\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.months.\" + _vm.months[cell.text])))])])]);\n }), 0);\n }), 0)]);\n };\n\n var month_tablevue_type_template_id_654d4f42_staticRenderFns = [];\n month_tablevue_type_template_id_654d4f42_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/basic/month-table.vue?vue&type=template&id=654d4f42&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/month-table.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var month_tablevue_type_script_lang_js_datesInMonth = function datesInMonth(year, month) {\n var numOfDays = Object(date_util_[\"getDayCountOfMonth\"])(year, month);\n var firstDay = new Date(year, month, 1);\n return Object(date_util_[\"range\"])(numOfDays).map(function (n) {\n return Object(date_util_[\"nextDate\"])(firstDay, n);\n });\n };\n\n var clearDate = function clearDate(date) {\n return new Date(date.getFullYear(), date.getMonth());\n };\n\n var getMonthTimestamp = function getMonthTimestamp(time) {\n if (typeof time === 'number' || typeof time === 'string') {\n return clearDate(new Date(time)).getTime();\n } else if (time instanceof Date) {\n return clearDate(time).getTime();\n } else {\n return NaN;\n }\n }; // remove the first element that satisfies `pred` from arr\n // return a new array if modification occurs\n // return the original array otherwise\n\n\n var month_tablevue_type_script_lang_js_removeFromArray = function removeFromArray(arr, pred) {\n var idx = typeof pred === 'function' ? Object(util_[\"arrayFindIndex\"])(arr, pred) : arr.indexOf(pred);\n return idx >= 0 ? [].concat(arr.slice(0, idx), arr.slice(idx + 1)) : arr;\n };\n /* harmony default export */\n\n\n var month_tablevue_type_script_lang_js_ = {\n props: {\n disabledDate: {},\n value: {},\n selectionMode: {\n \"default\": 'month'\n },\n minDate: {},\n maxDate: {},\n defaultValue: {\n validator: function validator(val) {\n // null or valid Date Object\n return val === null || Object(date_util_[\"isDate\"])(val) || Array.isArray(val) && val.every(date_util_[\"isDate\"]);\n }\n },\n date: {},\n rangeState: {\n \"default\": function _default() {\n return {\n endDate: null,\n selecting: false\n };\n }\n }\n },\n mixins: [locale_default.a],\n watch: {\n 'rangeState.endDate': function rangeStateEndDate(newVal) {\n this.markRange(this.minDate, newVal);\n },\n minDate: function minDate(newVal, oldVal) {\n if (getMonthTimestamp(newVal) !== getMonthTimestamp(oldVal)) {\n this.markRange(this.minDate, this.maxDate);\n }\n },\n maxDate: function maxDate(newVal, oldVal) {\n if (getMonthTimestamp(newVal) !== getMonthTimestamp(oldVal)) {\n this.markRange(this.minDate, this.maxDate);\n }\n }\n },\n data: function data() {\n return {\n months: ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'],\n tableRows: [[], [], []],\n lastRow: null,\n lastColumn: null\n };\n },\n methods: {\n cellMatchesDate: function cellMatchesDate(cell, date) {\n var value = new Date(date);\n return this.date.getFullYear() === value.getFullYear() && Number(cell.text) === value.getMonth();\n },\n getCellStyle: function getCellStyle(cell) {\n var _this = this;\n\n var style = {};\n var year = this.date.getFullYear();\n var today = new Date();\n var month = cell.text;\n var defaultValue = this.defaultValue ? Array.isArray(this.defaultValue) ? this.defaultValue : [this.defaultValue] : [];\n style.disabled = typeof this.disabledDate === 'function' ? month_tablevue_type_script_lang_js_datesInMonth(year, month).every(this.disabledDate) : false;\n style.current = Object(util_[\"arrayFindIndex\"])(Object(util_[\"coerceTruthyValueToArray\"])(this.value), function (date) {\n return date.getFullYear() === year && date.getMonth() === month;\n }) >= 0;\n style.today = today.getFullYear() === year && today.getMonth() === month;\n style[\"default\"] = defaultValue.some(function (date) {\n return _this.cellMatchesDate(cell, date);\n });\n\n if (cell.inRange) {\n style['in-range'] = true;\n\n if (cell.start) {\n style['start-date'] = true;\n }\n\n if (cell.end) {\n style['end-date'] = true;\n }\n }\n\n return style;\n },\n getMonthOfCell: function getMonthOfCell(month) {\n var year = this.date.getFullYear();\n return new Date(year, month, 1);\n },\n markRange: function markRange(minDate, maxDate) {\n minDate = getMonthTimestamp(minDate);\n maxDate = getMonthTimestamp(maxDate) || minDate;\n var _ref = [Math.min(minDate, maxDate), Math.max(minDate, maxDate)];\n minDate = _ref[0];\n maxDate = _ref[1];\n var rows = this.rows;\n\n for (var i = 0, k = rows.length; i < k; i++) {\n var row = rows[i];\n\n for (var j = 0, l = row.length; j < l; j++) {\n var cell = row[j];\n var index = i * 4 + j;\n var time = new Date(this.date.getFullYear(), index).getTime();\n cell.inRange = minDate && time >= minDate && time <= maxDate;\n cell.start = minDate && time === minDate;\n cell.end = maxDate && time === maxDate;\n }\n }\n },\n handleMouseMove: function handleMouseMove(event) {\n if (!this.rangeState.selecting) return;\n var target = event.target;\n\n if (target.tagName === 'A') {\n target = target.parentNode.parentNode;\n }\n\n if (target.tagName === 'DIV') {\n target = target.parentNode;\n }\n\n if (target.tagName !== 'TD') return;\n var row = target.parentNode.rowIndex;\n var column = target.cellIndex; // can not select disabled date\n\n if (this.rows[row][column].disabled) return; // only update rangeState when mouse moves to a new cell\n // this avoids frequent Date object creation and improves performance\n\n if (row !== this.lastRow || column !== this.lastColumn) {\n this.lastRow = row;\n this.lastColumn = column;\n this.$emit('changerange', {\n minDate: this.minDate,\n maxDate: this.maxDate,\n rangeState: {\n selecting: true,\n endDate: this.getMonthOfCell(row * 4 + column)\n }\n });\n }\n },\n handleMonthTableClick: function handleMonthTableClick(event) {\n var target = event.target;\n\n if (target.tagName === 'A') {\n target = target.parentNode.parentNode;\n }\n\n if (target.tagName === 'DIV') {\n target = target.parentNode;\n }\n\n if (target.tagName !== 'TD') return;\n if (Object(dom_[\"hasClass\"])(target, 'disabled')) return;\n var column = target.cellIndex;\n var row = target.parentNode.rowIndex;\n var month = row * 4 + column;\n var newDate = this.getMonthOfCell(month);\n\n if (this.selectionMode === 'range') {\n if (!this.rangeState.selecting) {\n this.$emit('pick', {\n minDate: newDate,\n maxDate: null\n });\n this.rangeState.selecting = true;\n } else {\n if (newDate >= this.minDate) {\n this.$emit('pick', {\n minDate: this.minDate,\n maxDate: newDate\n });\n } else {\n this.$emit('pick', {\n minDate: newDate,\n maxDate: this.minDate\n });\n }\n\n this.rangeState.selecting = false;\n }\n } else if (this.selectionMode === 'months') {\n var value = this.value || [];\n var year = this.date.getFullYear();\n var newValue = Object(util_[\"arrayFindIndex\"])(value, function (date) {\n return date.getFullYear() === year && date.getMonth() === month;\n }) >= 0 ? month_tablevue_type_script_lang_js_removeFromArray(value, function (date) {\n return date.getTime() === newDate.getTime();\n }) : [].concat(value, [newDate]);\n this.$emit('pick', newValue);\n } else {\n this.$emit('pick', month);\n }\n }\n },\n computed: {\n rows: function rows() {\n var _this2 = this; // TODO: refactory rows / getCellClasses\n\n\n var rows = this.tableRows;\n var disabledDate = this.disabledDate;\n var selectedDate = [];\n var now = getMonthTimestamp(new Date());\n\n for (var i = 0; i < 3; i++) {\n var row = rows[i];\n\n var _loop = function _loop(j) {\n var cell = row[j];\n\n if (!cell) {\n cell = {\n row: i,\n column: j,\n type: 'normal',\n inRange: false,\n start: false,\n end: false\n };\n }\n\n cell.type = 'normal';\n var index = i * 4 + j;\n var time = new Date(_this2.date.getFullYear(), index).getTime();\n cell.inRange = time >= getMonthTimestamp(_this2.minDate) && time <= getMonthTimestamp(_this2.maxDate);\n cell.start = _this2.minDate && time === getMonthTimestamp(_this2.minDate);\n cell.end = _this2.maxDate && time === getMonthTimestamp(_this2.maxDate);\n var isToday = time === now;\n\n if (isToday) {\n cell.type = 'today';\n }\n\n cell.text = index;\n var cellDate = new Date(time);\n cell.disabled = typeof disabledDate === 'function' && disabledDate(cellDate);\n cell.selected = Object(util_[\"arrayFind\"])(selectedDate, function (date) {\n return date.getTime() === cellDate.getTime();\n });\n\n _this2.$set(row, j, cell);\n };\n\n for (var j = 0; j < 4; j++) {\n _loop(j);\n }\n }\n\n return rows;\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/basic/month-table.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var basic_month_tablevue_type_script_lang_js_ = month_tablevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/basic/month-table.vue\n\n /* normalize component */\n\n var month_table_component = normalizeComponent(basic_month_tablevue_type_script_lang_js_, month_tablevue_type_template_id_654d4f42_render, month_tablevue_type_template_id_654d4f42_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var month_table_api;\n }\n\n month_table_component.options.__file = \"packages/date-picker/src/basic/month-table.vue\";\n /* harmony default export */\n\n var month_table = month_table_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/date-table.vue?vue&type=template&id=5d1f3341&\n\n var date_tablevue_type_template_id_5d1f3341_render = function date_tablevue_type_template_id_5d1f3341_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"table\", {\n staticClass: \"el-date-table\",\n \"class\": {\n \"is-week-mode\": _vm.selectionMode === \"week\"\n },\n attrs: {\n cellspacing: \"0\",\n cellpadding: \"0\"\n },\n on: {\n click: _vm.handleClick,\n mousemove: _vm.handleMouseMove\n }\n }, [_c(\"tbody\", [_c(\"tr\", [_vm.showWeekNumber ? _c(\"th\", [_vm._v(_vm._s(_vm.t(\"el.datepicker.week\")))]) : _vm._e(), _vm._l(_vm.WEEKS, function (week, key) {\n return _c(\"th\", {\n key: key\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.weeks.\" + week)))]);\n })], 2), _vm._l(_vm.rows, function (row, key) {\n return _c(\"tr\", {\n key: key,\n staticClass: \"el-date-table__row\",\n \"class\": {\n current: _vm.isWeekActive(row[1])\n }\n }, _vm._l(row, function (cell, key) {\n return _c(\"td\", {\n key: key,\n \"class\": _vm.getCellClasses(cell)\n }, [_c(\"div\", [_c(\"span\", [_vm._v(\"\\n \" + _vm._s(cell.text) + \"\\n \")])])]);\n }), 0);\n })], 2)]);\n };\n\n var date_tablevue_type_template_id_5d1f3341_staticRenderFns = [];\n date_tablevue_type_template_id_5d1f3341_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/basic/date-table.vue?vue&type=template&id=5d1f3341&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/date-table.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var _WEEKS = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];\n\n var date_tablevue_type_script_lang_js_getDateTimestamp = function getDateTimestamp(time) {\n if (typeof time === 'number' || typeof time === 'string') {\n return Object(date_util_[\"clearTime\"])(new Date(time)).getTime();\n } else if (time instanceof Date) {\n return Object(date_util_[\"clearTime\"])(time).getTime();\n } else {\n return NaN;\n }\n }; // remove the first element that satisfies `pred` from arr\n // return a new array if modification occurs\n // return the original array otherwise\n\n\n var date_tablevue_type_script_lang_js_removeFromArray = function removeFromArray(arr, pred) {\n var idx = typeof pred === 'function' ? Object(util_[\"arrayFindIndex\"])(arr, pred) : arr.indexOf(pred);\n return idx >= 0 ? [].concat(arr.slice(0, idx), arr.slice(idx + 1)) : arr;\n };\n /* harmony default export */\n\n\n var date_tablevue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n props: {\n firstDayOfWeek: {\n \"default\": 7,\n type: Number,\n validator: function validator(val) {\n return val >= 1 && val <= 7;\n }\n },\n value: {},\n defaultValue: {\n validator: function validator(val) {\n // either: null, valid Date object, Array of valid Date objects\n return val === null || Object(date_util_[\"isDate\"])(val) || Array.isArray(val) && val.every(date_util_[\"isDate\"]);\n }\n },\n date: {},\n selectionMode: {\n \"default\": 'day'\n },\n showWeekNumber: {\n type: Boolean,\n \"default\": false\n },\n disabledDate: {},\n cellClassName: {},\n minDate: {},\n maxDate: {},\n rangeState: {\n \"default\": function _default() {\n return {\n endDate: null,\n selecting: false\n };\n }\n }\n },\n computed: {\n offsetDay: function offsetDay() {\n var week = this.firstDayOfWeek; // 周日为界é™ï¼Œå·¦å³å移的天数,3217654 例如周一就是 -1,目的是调整å‰ä¸¤è¡Œæ—¥æœŸçš„ä½ç½®\n\n return week > 3 ? 7 - week : -week;\n },\n WEEKS: function WEEKS() {\n var week = this.firstDayOfWeek;\n return _WEEKS.concat(_WEEKS).slice(week, week + 7);\n },\n year: function year() {\n return this.date.getFullYear();\n },\n month: function month() {\n return this.date.getMonth();\n },\n startDate: function startDate() {\n return Object(date_util_[\"getStartDateOfMonth\"])(this.year, this.month);\n },\n rows: function rows() {\n var _this = this; // TODO: refactory rows / getCellClasses\n\n\n var date = new Date(this.year, this.month, 1);\n var day = Object(date_util_[\"getFirstDayOfMonth\"])(date); // day of first day\n\n var dateCountOfMonth = Object(date_util_[\"getDayCountOfMonth\"])(date.getFullYear(), date.getMonth());\n var dateCountOfLastMonth = Object(date_util_[\"getDayCountOfMonth\"])(date.getFullYear(), date.getMonth() === 0 ? 11 : date.getMonth() - 1);\n day = day === 0 ? 7 : day;\n var offset = this.offsetDay;\n var rows = this.tableRows;\n var count = 1;\n var startDate = this.startDate;\n var disabledDate = this.disabledDate;\n var cellClassName = this.cellClassName;\n var selectedDate = this.selectionMode === 'dates' ? Object(util_[\"coerceTruthyValueToArray\"])(this.value) : [];\n var now = date_tablevue_type_script_lang_js_getDateTimestamp(new Date());\n\n for (var i = 0; i < 6; i++) {\n var row = rows[i];\n\n if (this.showWeekNumber) {\n if (!row[0]) {\n row[0] = {\n type: 'week',\n text: Object(date_util_[\"getWeekNumber\"])(Object(date_util_[\"nextDate\"])(startDate, i * 7 + 1))\n };\n }\n }\n\n var _loop = function _loop(j) {\n var cell = row[_this.showWeekNumber ? j + 1 : j];\n\n if (!cell) {\n cell = {\n row: i,\n column: j,\n type: 'normal',\n inRange: false,\n start: false,\n end: false\n };\n }\n\n cell.type = 'normal';\n var index = i * 7 + j;\n var time = Object(date_util_[\"nextDate\"])(startDate, index - offset).getTime();\n cell.inRange = time >= date_tablevue_type_script_lang_js_getDateTimestamp(_this.minDate) && time <= date_tablevue_type_script_lang_js_getDateTimestamp(_this.maxDate);\n cell.start = _this.minDate && time === date_tablevue_type_script_lang_js_getDateTimestamp(_this.minDate);\n cell.end = _this.maxDate && time === date_tablevue_type_script_lang_js_getDateTimestamp(_this.maxDate);\n var isToday = time === now;\n\n if (isToday) {\n cell.type = 'today';\n }\n\n if (i >= 0 && i <= 1) {\n var numberOfDaysFromPreviousMonth = day + offset < 0 ? 7 + day + offset : day + offset;\n\n if (j + i * 7 >= numberOfDaysFromPreviousMonth) {\n cell.text = count++;\n } else {\n cell.text = dateCountOfLastMonth - (numberOfDaysFromPreviousMonth - j % 7) + 1 + i * 7;\n cell.type = 'prev-month';\n }\n } else {\n if (count <= dateCountOfMonth) {\n cell.text = count++;\n } else {\n cell.text = count++ - dateCountOfMonth;\n cell.type = 'next-month';\n }\n }\n\n var cellDate = new Date(time);\n cell.disabled = typeof disabledDate === 'function' && disabledDate(cellDate);\n cell.selected = Object(util_[\"arrayFind\"])(selectedDate, function (date) {\n return date.getTime() === cellDate.getTime();\n });\n cell.customClass = typeof cellClassName === 'function' && cellClassName(cellDate);\n\n _this.$set(row, _this.showWeekNumber ? j + 1 : j, cell);\n };\n\n for (var j = 0; j < 7; j++) {\n _loop(j);\n }\n\n if (this.selectionMode === 'week') {\n var start = this.showWeekNumber ? 1 : 0;\n var end = this.showWeekNumber ? 7 : 6;\n var isWeekActive = this.isWeekActive(row[start + 1]);\n row[start].inRange = isWeekActive;\n row[start].start = isWeekActive;\n row[end].inRange = isWeekActive;\n row[end].end = isWeekActive;\n }\n }\n\n return rows;\n }\n },\n watch: {\n 'rangeState.endDate': function rangeStateEndDate(newVal) {\n this.markRange(this.minDate, newVal);\n },\n minDate: function minDate(newVal, oldVal) {\n if (date_tablevue_type_script_lang_js_getDateTimestamp(newVal) !== date_tablevue_type_script_lang_js_getDateTimestamp(oldVal)) {\n this.markRange(this.minDate, this.maxDate);\n }\n },\n maxDate: function maxDate(newVal, oldVal) {\n if (date_tablevue_type_script_lang_js_getDateTimestamp(newVal) !== date_tablevue_type_script_lang_js_getDateTimestamp(oldVal)) {\n this.markRange(this.minDate, this.maxDate);\n }\n }\n },\n data: function data() {\n return {\n tableRows: [[], [], [], [], [], []],\n lastRow: null,\n lastColumn: null\n };\n },\n methods: {\n cellMatchesDate: function cellMatchesDate(cell, date) {\n var value = new Date(date);\n return this.year === value.getFullYear() && this.month === value.getMonth() && Number(cell.text) === value.getDate();\n },\n getCellClasses: function getCellClasses(cell) {\n var _this2 = this;\n\n var selectionMode = this.selectionMode;\n var defaultValue = this.defaultValue ? Array.isArray(this.defaultValue) ? this.defaultValue : [this.defaultValue] : [];\n var classes = [];\n\n if ((cell.type === 'normal' || cell.type === 'today') && !cell.disabled) {\n classes.push('available');\n\n if (cell.type === 'today') {\n classes.push('today');\n }\n } else {\n classes.push(cell.type);\n }\n\n if (cell.type === 'normal' && defaultValue.some(function (date) {\n return _this2.cellMatchesDate(cell, date);\n })) {\n classes.push('default');\n }\n\n if (selectionMode === 'day' && (cell.type === 'normal' || cell.type === 'today') && this.cellMatchesDate(cell, this.value)) {\n classes.push('current');\n }\n\n if (cell.inRange && (cell.type === 'normal' || cell.type === 'today' || this.selectionMode === 'week')) {\n classes.push('in-range');\n\n if (cell.start) {\n classes.push('start-date');\n }\n\n if (cell.end) {\n classes.push('end-date');\n }\n }\n\n if (cell.disabled) {\n classes.push('disabled');\n }\n\n if (cell.selected) {\n classes.push('selected');\n }\n\n if (cell.customClass) {\n classes.push(cell.customClass);\n }\n\n return classes.join(' ');\n },\n getDateOfCell: function getDateOfCell(row, column) {\n var offsetFromStart = row * 7 + (column - (this.showWeekNumber ? 1 : 0)) - this.offsetDay;\n return Object(date_util_[\"nextDate\"])(this.startDate, offsetFromStart);\n },\n isWeekActive: function isWeekActive(cell) {\n if (this.selectionMode !== 'week') return false;\n var newDate = new Date(this.year, this.month, 1);\n var year = newDate.getFullYear();\n var month = newDate.getMonth();\n\n if (cell.type === 'prev-month') {\n newDate.setMonth(month === 0 ? 11 : month - 1);\n newDate.setFullYear(month === 0 ? year - 1 : year);\n }\n\n if (cell.type === 'next-month') {\n newDate.setMonth(month === 11 ? 0 : month + 1);\n newDate.setFullYear(month === 11 ? year + 1 : year);\n }\n\n newDate.setDate(parseInt(cell.text, 10));\n\n if (Object(date_util_[\"isDate\"])(this.value)) {\n var dayOffset = (this.value.getDay() - this.firstDayOfWeek + 7) % 7 - 1;\n var weekDate = Object(date_util_[\"prevDate\"])(this.value, dayOffset);\n return weekDate.getTime() === newDate.getTime();\n }\n\n return false;\n },\n markRange: function markRange(minDate, maxDate) {\n minDate = date_tablevue_type_script_lang_js_getDateTimestamp(minDate);\n maxDate = date_tablevue_type_script_lang_js_getDateTimestamp(maxDate) || minDate;\n var _ref = [Math.min(minDate, maxDate), Math.max(minDate, maxDate)];\n minDate = _ref[0];\n maxDate = _ref[1];\n var startDate = this.startDate;\n var rows = this.rows;\n\n for (var i = 0, k = rows.length; i < k; i++) {\n var row = rows[i];\n\n for (var j = 0, l = row.length; j < l; j++) {\n if (this.showWeekNumber && j === 0) continue;\n var _cell = row[j];\n var index = i * 7 + j + (this.showWeekNumber ? -1 : 0);\n var time = Object(date_util_[\"nextDate\"])(startDate, index - this.offsetDay).getTime();\n _cell.inRange = minDate && time >= minDate && time <= maxDate;\n _cell.start = minDate && time === minDate;\n _cell.end = maxDate && time === maxDate;\n }\n }\n },\n handleMouseMove: function handleMouseMove(event) {\n if (!this.rangeState.selecting) return;\n var target = event.target;\n\n if (target.tagName === 'SPAN') {\n target = target.parentNode.parentNode;\n }\n\n if (target.tagName === 'DIV') {\n target = target.parentNode;\n }\n\n if (target.tagName !== 'TD') return;\n var row = target.parentNode.rowIndex - 1;\n var column = target.cellIndex; // can not select disabled date\n\n if (this.rows[row][column].disabled) return; // only update rangeState when mouse moves to a new cell\n // this avoids frequent Date object creation and improves performance\n\n if (row !== this.lastRow || column !== this.lastColumn) {\n this.lastRow = row;\n this.lastColumn = column;\n this.$emit('changerange', {\n minDate: this.minDate,\n maxDate: this.maxDate,\n rangeState: {\n selecting: true,\n endDate: this.getDateOfCell(row, column)\n }\n });\n }\n },\n handleClick: function handleClick(event) {\n var target = event.target;\n\n if (target.tagName === 'SPAN') {\n target = target.parentNode.parentNode;\n }\n\n if (target.tagName === 'DIV') {\n target = target.parentNode;\n }\n\n if (target.tagName !== 'TD') return;\n var row = target.parentNode.rowIndex - 1;\n var column = this.selectionMode === 'week' ? 1 : target.cellIndex;\n var cell = this.rows[row][column];\n if (cell.disabled || cell.type === 'week') return;\n var newDate = this.getDateOfCell(row, column);\n\n if (this.selectionMode === 'range') {\n if (!this.rangeState.selecting) {\n this.$emit('pick', {\n minDate: newDate,\n maxDate: null\n });\n this.rangeState.selecting = true;\n } else {\n if (newDate >= this.minDate) {\n this.$emit('pick', {\n minDate: this.minDate,\n maxDate: newDate\n });\n } else {\n this.$emit('pick', {\n minDate: newDate,\n maxDate: this.minDate\n });\n }\n\n this.rangeState.selecting = false;\n }\n } else if (this.selectionMode === 'day') {\n this.$emit('pick', newDate);\n } else if (this.selectionMode === 'week') {\n var weekNumber = Object(date_util_[\"getWeekNumber\"])(newDate);\n var value = newDate.getFullYear() + 'w' + weekNumber;\n this.$emit('pick', {\n year: newDate.getFullYear(),\n week: weekNumber,\n value: value,\n date: newDate\n });\n } else if (this.selectionMode === 'dates') {\n var _value = this.value || [];\n\n var newValue = cell.selected ? date_tablevue_type_script_lang_js_removeFromArray(_value, function (date) {\n return date.getTime() === newDate.getTime();\n }) : [].concat(_value, [newDate]);\n this.$emit('pick', newValue);\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/basic/date-table.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var basic_date_tablevue_type_script_lang_js_ = date_tablevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/basic/date-table.vue\n\n /* normalize component */\n\n var date_table_component = normalizeComponent(basic_date_tablevue_type_script_lang_js_, date_tablevue_type_template_id_5d1f3341_render, date_tablevue_type_template_id_5d1f3341_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var date_table_api;\n }\n\n date_table_component.options.__file = \"packages/date-picker/src/basic/date-table.vue\";\n /* harmony default export */\n\n var date_table = date_table_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var datevue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n directives: {\n Clickoutside: clickoutside_default.a\n },\n watch: {\n showTime: function showTime(val) {\n var _this = this;\n /* istanbul ignore if */\n\n\n if (!val) return;\n this.$nextTick(function (_) {\n var inputElm = _this.$refs.input.$el;\n\n if (inputElm) {\n _this.pickerWidth = inputElm.getBoundingClientRect().width + 10;\n }\n });\n },\n value: function value(val) {\n if (this.selectionMode === 'dates' && this.value) return;\n if (this.selectionMode === 'months' && this.value) return;\n if (this.selectionMode === 'years' && this.value) return;\n\n if (Object(date_util_[\"isDate\"])(val)) {\n this.date = new Date(val);\n } else {\n this.date = this.getDefaultValue();\n }\n },\n defaultValue: function defaultValue(val) {\n if (!Object(date_util_[\"isDate\"])(this.value)) {\n this.date = val ? new Date(val) : new Date();\n }\n },\n timePickerVisible: function timePickerVisible(val) {\n var _this2 = this;\n\n if (val) this.$nextTick(function () {\n return _this2.$refs.timepicker.adjustSpinners();\n });\n },\n selectionMode: function selectionMode(newVal) {\n if (newVal === 'month') {\n /* istanbul ignore next */\n if (this.currentView !== 'year' || this.currentView !== 'month') {\n this.currentView = 'month';\n }\n } else if (newVal === 'dates') {\n this.currentView = 'date';\n } else if (newVal === 'years') {\n this.currentView = 'year';\n } else if (newVal === 'months') {\n this.currentView = 'month';\n }\n }\n },\n methods: {\n proxyTimePickerDataProperties: function proxyTimePickerDataProperties() {\n var _this3 = this;\n\n var format = function format(timeFormat) {\n _this3.$refs.timepicker.format = timeFormat;\n };\n\n var value = function value(_value) {\n _this3.$refs.timepicker.value = _value;\n };\n\n var date = function date(_date) {\n _this3.$refs.timepicker.date = _date;\n };\n\n var selectableRange = function selectableRange(_selectableRange) {\n _this3.$refs.timepicker.selectableRange = _selectableRange;\n };\n\n this.$watch('value', value);\n this.$watch('date', date);\n this.$watch('selectableRange', selectableRange);\n format(this.timeFormat);\n value(this.value);\n date(this.date);\n selectableRange(this.selectableRange);\n },\n handleClear: function handleClear() {\n this.date = this.getDefaultValue();\n this.$emit('pick', null);\n },\n emit: function emit(value) {\n var _this4 = this;\n\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (!value) {\n this.$emit.apply(this, ['pick', value].concat(args));\n } else if (Array.isArray(value)) {\n var dates = value.map(function (date) {\n return _this4.showTime ? Object(date_util_[\"clearMilliseconds\"])(date) : Object(date_util_[\"clearTime\"])(date);\n });\n this.$emit.apply(this, ['pick', dates].concat(args));\n } else {\n this.$emit.apply(this, ['pick', this.showTime ? Object(date_util_[\"clearMilliseconds\"])(value) : Object(date_util_[\"clearTime\"])(value)].concat(args));\n }\n\n this.userInputDate = null;\n this.userInputTime = null;\n },\n // resetDate() {\n // this.date = new Date(this.date);\n // },\n showMonthPicker: function showMonthPicker() {\n this.currentView = 'month';\n },\n showYearPicker: function showYearPicker() {\n this.currentView = 'year';\n },\n // XXX: 没用到\n // handleLabelClick() {\n // if (this.currentView === 'date') {\n // this.showMonthPicker();\n // } else if (this.currentView === 'month') {\n // this.showYearPicker();\n // }\n // },\n prevMonth: function prevMonth() {\n this.date = Object(date_util_[\"prevMonth\"])(this.date);\n },\n nextMonth: function nextMonth() {\n this.date = Object(date_util_[\"nextMonth\"])(this.date);\n },\n prevYear: function prevYear() {\n if (this.currentView === 'year') {\n this.date = Object(date_util_[\"prevYear\"])(this.date, 10);\n } else {\n this.date = Object(date_util_[\"prevYear\"])(this.date);\n }\n },\n nextYear: function nextYear() {\n if (this.currentView === 'year') {\n this.date = Object(date_util_[\"nextYear\"])(this.date, 10);\n } else {\n this.date = Object(date_util_[\"nextYear\"])(this.date);\n }\n },\n handleShortcutClick: function handleShortcutClick(shortcut) {\n if (shortcut.onClick) {\n shortcut.onClick(this);\n }\n },\n handleTimePick: function handleTimePick(value, visible, first) {\n if (Object(date_util_[\"isDate\"])(value)) {\n var newDate = this.value ? Object(date_util_[\"modifyTime\"])(this.value, value.getHours(), value.getMinutes(), value.getSeconds()) : Object(date_util_[\"modifyWithTimeString\"])(this.getDefaultValue(), this.defaultTime);\n this.date = newDate;\n this.emit(this.date, true);\n } else {\n this.emit(value, true);\n }\n\n if (!first) {\n this.timePickerVisible = visible;\n }\n },\n handleTimePickClose: function handleTimePickClose() {\n this.timePickerVisible = false;\n },\n handleMonthPick: function handleMonthPick(month) {\n if (this.selectionMode === 'month') {\n this.date = Object(date_util_[\"modifyDate\"])(this.date, this.year, month, 1);\n this.emit(this.date);\n } else if (this.selectionMode === 'months') {\n this.emit(month, true);\n } else {\n this.date = Object(date_util_[\"changeYearMonthAndClampDate\"])(this.date, this.year, month); // TODO: should emit intermediate value ??\n // this.emit(this.date);\n\n this.currentView = 'date';\n }\n },\n handleDatePick: function handleDatePick(value) {\n if (this.selectionMode === 'day') {\n var newDate = this.value ? Object(date_util_[\"modifyDate\"])(this.value, value.getFullYear(), value.getMonth(), value.getDate()) : Object(date_util_[\"modifyWithTimeString\"])(value, this.defaultTime); // change default time while out of selectableRange\n\n if (!this.checkDateWithinRange(newDate)) {\n newDate = Object(date_util_[\"modifyDate\"])(this.selectableRange[0][0], value.getFullYear(), value.getMonth(), value.getDate());\n }\n\n this.date = newDate;\n this.emit(this.date, this.showTime);\n } else if (this.selectionMode === 'week') {\n this.emit(value.date);\n } else if (this.selectionMode === 'dates') {\n this.emit(value, true); // set false to keep panel open\n }\n },\n handleYearPick: function handleYearPick(year) {\n if (this.selectionMode === 'year') {\n this.date = Object(date_util_[\"modifyDate\"])(this.date, year, 0, 1);\n this.emit(this.date);\n } else if (this.selectionMode === 'years') {\n this.emit(year, true);\n } else {\n this.date = Object(date_util_[\"changeYearMonthAndClampDate\"])(this.date, year, this.month); // TODO: should emit intermediate value ??\n // this.emit(this.date, true);\n\n this.currentView = 'month';\n }\n },\n changeToNow: function changeToNow() {\n // NOTE: not a permanent solution\n // consider disable \"now\" button in the future\n if ((!this.disabledDate || !this.disabledDate(new Date())) && this.checkDateWithinRange(new Date())) {\n this.date = new Date();\n this.emit(this.date);\n }\n },\n confirm: function confirm() {\n if (this.selectionMode === 'dates' || this.selectionMode === 'months' || this.selectionMode === 'years') {\n this.emit(this.value);\n } else {\n // value were emitted in handle{Date,Time}Pick, nothing to update here\n // deal with the scenario where: user opens the picker, then confirm without doing anything\n var value = this.value ? this.value : Object(date_util_[\"modifyWithTimeString\"])(this.getDefaultValue(), this.defaultTime);\n this.date = new Date(value); // refresh date\n\n this.emit(value);\n }\n },\n resetView: function resetView() {\n if (this.selectionMode === 'month' || this.selectionMode === 'months') {\n this.currentView = 'month';\n } else if (this.selectionMode === 'year' || this.selectionMode === 'years') {\n this.currentView = 'year';\n } else {\n this.currentView = 'date';\n }\n },\n handleEnter: function handleEnter() {\n document.body.addEventListener('keydown', this.handleKeydown);\n },\n handleLeave: function handleLeave() {\n this.$emit('dodestroy');\n document.body.removeEventListener('keydown', this.handleKeydown);\n },\n handleKeydown: function handleKeydown(event) {\n var keyCode = event.keyCode;\n var list = [38, 40, 37, 39];\n\n if (this.visible && !this.timePickerVisible) {\n if (list.indexOf(keyCode) !== -1) {\n this.handleKeyControl(keyCode);\n event.stopPropagation();\n event.preventDefault();\n }\n\n if (keyCode === 13 && this.userInputDate === null && this.userInputTime === null) {\n // Enter\n this.emit(this.date, false);\n }\n }\n },\n handleKeyControl: function handleKeyControl(keyCode) {\n var mapping = {\n 'year': {\n 38: -4,\n 40: 4,\n 37: -1,\n 39: 1,\n offset: function offset(date, step) {\n return date.setFullYear(date.getFullYear() + step);\n }\n },\n 'month': {\n 38: -4,\n 40: 4,\n 37: -1,\n 39: 1,\n offset: function offset(date, step) {\n return date.setMonth(date.getMonth() + step);\n }\n },\n 'week': {\n 38: -1,\n 40: 1,\n 37: -1,\n 39: 1,\n offset: function offset(date, step) {\n return date.setDate(date.getDate() + step * 7);\n }\n },\n 'day': {\n 38: -7,\n 40: 7,\n 37: -1,\n 39: 1,\n offset: function offset(date, step) {\n return date.setDate(date.getDate() + step);\n }\n }\n };\n var mode = this.selectionMode;\n var year = 3.1536e10;\n var now = this.date.getTime();\n var newDate = new Date(this.date.getTime());\n\n while (Math.abs(now - newDate.getTime()) <= year) {\n var map = mapping[mode];\n map.offset(newDate, map[keyCode]);\n\n if (typeof this.disabledDate === 'function' && this.disabledDate(newDate)) {\n continue;\n }\n\n this.date = newDate;\n this.$emit('pick', newDate, true);\n break;\n }\n },\n handleVisibleTimeChange: function handleVisibleTimeChange(value) {\n var time = Object(date_util_[\"parseDate\"])(value, this.timeFormat);\n\n if (time && this.checkDateWithinRange(time)) {\n this.date = Object(date_util_[\"modifyDate\"])(time, this.year, this.month, this.monthDate);\n this.userInputTime = null;\n this.$refs.timepicker.value = this.date;\n this.timePickerVisible = false;\n this.emit(this.date, true);\n }\n },\n handleVisibleDateChange: function handleVisibleDateChange(value) {\n var date = Object(date_util_[\"parseDate\"])(value, this.dateFormat);\n\n if (date) {\n if (typeof this.disabledDate === 'function' && this.disabledDate(date)) {\n return;\n }\n\n this.date = Object(date_util_[\"modifyTime\"])(date, this.date.getHours(), this.date.getMinutes(), this.date.getSeconds());\n this.userInputDate = null;\n this.resetView();\n this.emit(this.date, true);\n }\n },\n isValidValue: function isValidValue(value) {\n return value && !isNaN(value) && (typeof this.disabledDate === 'function' ? !this.disabledDate(value) : true) && this.checkDateWithinRange(value);\n },\n getDefaultValue: function getDefaultValue() {\n // if default-value is set, return it\n // otherwise, return now (the moment this method gets called)\n return this.defaultValue ? new Date(this.defaultValue) : new Date();\n },\n checkDateWithinRange: function checkDateWithinRange(date) {\n return this.selectableRange.length > 0 ? Object(date_util_[\"timeWithinRange\"])(date, this.selectableRange, this.format || 'HH:mm:ss') : true;\n }\n },\n components: {\n TimePicker: panel_time,\n YearTable: year_table,\n MonthTable: month_table,\n DateTable: date_table,\n ElInput: input_default.a,\n ElButton: button_default.a\n },\n data: function data() {\n return {\n popperClass: '',\n date: new Date(),\n value: '',\n defaultValue: null,\n // use getDefaultValue() for time computation\n defaultTime: null,\n showTime: false,\n selectionMode: 'day',\n shortcuts: '',\n visible: false,\n currentView: 'date',\n disabledDate: '',\n cellClassName: '',\n selectableRange: [],\n firstDayOfWeek: 7,\n showWeekNumber: false,\n timePickerVisible: false,\n format: '',\n arrowControl: false,\n userInputDate: null,\n userInputTime: null\n };\n },\n computed: {\n year: function year() {\n return this.date.getFullYear();\n },\n month: function month() {\n return this.date.getMonth();\n },\n week: function week() {\n return Object(date_util_[\"getWeekNumber\"])(this.date);\n },\n monthDate: function monthDate() {\n return this.date.getDate();\n },\n footerVisible: function footerVisible() {\n return this.showTime || this.selectionMode === 'dates' || this.selectionMode === 'months' || this.selectionMode === 'years';\n },\n visibleTime: function visibleTime() {\n if (this.userInputTime !== null) {\n return this.userInputTime;\n } else {\n return Object(date_util_[\"formatDate\"])(this.value || this.defaultValue, this.timeFormat);\n }\n },\n visibleDate: function visibleDate() {\n if (this.userInputDate !== null) {\n return this.userInputDate;\n } else {\n return Object(date_util_[\"formatDate\"])(this.value || this.defaultValue, this.dateFormat);\n }\n },\n yearLabel: function yearLabel() {\n var yearTranslation = this.t('el.datepicker.year');\n\n if (this.currentView === 'year') {\n var startYear = Math.floor(this.year / 10) * 10;\n\n if (yearTranslation) {\n return startYear + ' ' + yearTranslation + ' - ' + (startYear + 9) + ' ' + yearTranslation;\n }\n\n return startYear + ' - ' + (startYear + 9);\n }\n\n return this.year + ' ' + yearTranslation;\n },\n timeFormat: function timeFormat() {\n if (this.format) {\n return Object(date_util_[\"extractTimeFormat\"])(this.format);\n } else {\n return 'HH:mm:ss';\n }\n },\n dateFormat: function dateFormat() {\n if (this.format) {\n return Object(date_util_[\"extractDateFormat\"])(this.format);\n } else {\n return 'yyyy-MM-dd';\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/panel/date.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var panel_datevue_type_script_lang_js_ = datevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/panel/date.vue\n\n /* normalize component */\n\n var date_component = normalizeComponent(panel_datevue_type_script_lang_js_, datevue_type_template_id_2440d4ea_render, datevue_type_template_id_2440d4ea_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var date_api;\n }\n\n date_component.options.__file = \"packages/date-picker/src/panel/date.vue\";\n /* harmony default export */\n\n var panel_date = date_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date-range.vue?vue&type=template&id=2652849a&\n\n var date_rangevue_type_template_id_2652849a_render = function date_rangevue_type_template_id_2652849a_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": function afterLeave($event) {\n _vm.$emit(\"dodestroy\");\n }\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-picker-panel el-date-range-picker el-popper\",\n \"class\": [{\n \"has-sidebar\": _vm.$slots.sidebar || _vm.shortcuts,\n \"has-time\": _vm.showTime\n }, _vm.popperClass]\n }, [_c(\"div\", {\n staticClass: \"el-picker-panel__body-wrapper\"\n }, [_vm._t(\"sidebar\"), _vm.shortcuts ? _c(\"div\", {\n staticClass: \"el-picker-panel__sidebar\"\n }, _vm._l(_vm.shortcuts, function (shortcut, key) {\n return _c(\"button\", {\n key: key,\n staticClass: \"el-picker-panel__shortcut\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: function click($event) {\n _vm.handleShortcutClick(shortcut);\n }\n }\n }, [_vm._v(_vm._s(shortcut.text))]);\n }), 0) : _vm._e(), _c(\"div\", {\n staticClass: \"el-picker-panel__body\"\n }, [_vm.showTime ? _c(\"div\", {\n staticClass: \"el-date-range-picker__time-header\"\n }, [_c(\"span\", {\n staticClass: \"el-date-range-picker__editors-wrap\"\n }, [_c(\"span\", {\n staticClass: \"el-date-range-picker__time-picker-wrap\"\n }, [_c(\"el-input\", {\n ref: \"minInput\",\n staticClass: \"el-date-range-picker__editor\",\n attrs: {\n size: \"small\",\n disabled: _vm.rangeState.selecting,\n placeholder: _vm.t(\"el.datepicker.startDate\"),\n value: _vm.minVisibleDate\n },\n on: {\n input: function input(val) {\n return _vm.handleDateInput(val, \"min\");\n },\n change: function change(val) {\n return _vm.handleDateChange(val, \"min\");\n }\n }\n })], 1), _c(\"span\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleMinTimeClose,\n expression: \"handleMinTimeClose\"\n }],\n staticClass: \"el-date-range-picker__time-picker-wrap\"\n }, [_c(\"el-input\", {\n staticClass: \"el-date-range-picker__editor\",\n attrs: {\n size: \"small\",\n disabled: _vm.rangeState.selecting,\n placeholder: _vm.t(\"el.datepicker.startTime\"),\n value: _vm.minVisibleTime\n },\n on: {\n focus: function focus($event) {\n _vm.minTimePickerVisible = true;\n },\n input: function input(val) {\n return _vm.handleTimeInput(val, \"min\");\n },\n change: function change(val) {\n return _vm.handleTimeChange(val, \"min\");\n }\n }\n }), _c(\"time-picker\", {\n ref: \"minTimePicker\",\n attrs: {\n \"time-arrow-control\": _vm.arrowControl,\n visible: _vm.minTimePickerVisible\n },\n on: {\n pick: _vm.handleMinTimePick,\n mounted: function mounted($event) {\n _vm.$refs.minTimePicker.format = _vm.timeFormat;\n }\n }\n })], 1)]), _c(\"span\", {\n staticClass: \"el-icon-arrow-right\"\n }), _c(\"span\", {\n staticClass: \"el-date-range-picker__editors-wrap is-right\"\n }, [_c(\"span\", {\n staticClass: \"el-date-range-picker__time-picker-wrap\"\n }, [_c(\"el-input\", {\n staticClass: \"el-date-range-picker__editor\",\n attrs: {\n size: \"small\",\n disabled: _vm.rangeState.selecting,\n placeholder: _vm.t(\"el.datepicker.endDate\"),\n value: _vm.maxVisibleDate,\n readonly: !_vm.minDate\n },\n on: {\n input: function input(val) {\n return _vm.handleDateInput(val, \"max\");\n },\n change: function change(val) {\n return _vm.handleDateChange(val, \"max\");\n }\n }\n })], 1), _c(\"span\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleMaxTimeClose,\n expression: \"handleMaxTimeClose\"\n }],\n staticClass: \"el-date-range-picker__time-picker-wrap\"\n }, [_c(\"el-input\", {\n staticClass: \"el-date-range-picker__editor\",\n attrs: {\n size: \"small\",\n disabled: _vm.rangeState.selecting,\n placeholder: _vm.t(\"el.datepicker.endTime\"),\n value: _vm.maxVisibleTime,\n readonly: !_vm.minDate\n },\n on: {\n focus: function focus($event) {\n _vm.minDate && (_vm.maxTimePickerVisible = true);\n },\n input: function input(val) {\n return _vm.handleTimeInput(val, \"max\");\n },\n change: function change(val) {\n return _vm.handleTimeChange(val, \"max\");\n }\n }\n }), _c(\"time-picker\", {\n ref: \"maxTimePicker\",\n attrs: {\n \"time-arrow-control\": _vm.arrowControl,\n visible: _vm.maxTimePickerVisible\n },\n on: {\n pick: _vm.handleMaxTimePick,\n mounted: function mounted($event) {\n _vm.$refs.maxTimePicker.format = _vm.timeFormat;\n }\n }\n })], 1)])]) : _vm._e(), _c(\"div\", {\n staticClass: \"el-picker-panel__content el-date-range-picker__content is-left\"\n }, [_c(\"div\", {\n staticClass: \"el-date-range-picker__header\"\n }, [_c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-left\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.leftPrevYear\n }\n }), _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-arrow-left\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.leftPrevMonth\n }\n }), _vm.unlinkPanels ? _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-right\",\n \"class\": {\n \"is-disabled\": !_vm.enableYearArrow\n },\n attrs: {\n type: \"button\",\n disabled: !_vm.enableYearArrow\n },\n on: {\n click: _vm.leftNextYear\n }\n }) : _vm._e(), _vm.unlinkPanels ? _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-arrow-right\",\n \"class\": {\n \"is-disabled\": !_vm.enableMonthArrow\n },\n attrs: {\n type: \"button\",\n disabled: !_vm.enableMonthArrow\n },\n on: {\n click: _vm.leftNextMonth\n }\n }) : _vm._e(), _c(\"div\", [_vm._v(_vm._s(_vm.leftLabel))])]), _c(\"date-table\", {\n attrs: {\n \"selection-mode\": \"range\",\n date: _vm.leftDate,\n \"default-value\": _vm.defaultValue,\n \"min-date\": _vm.minDate,\n \"max-date\": _vm.maxDate,\n \"range-state\": _vm.rangeState,\n \"disabled-date\": _vm.disabledDate,\n \"cell-class-name\": _vm.cellClassName,\n \"first-day-of-week\": _vm.firstDayOfWeek\n },\n on: {\n changerange: _vm.handleChangeRange,\n pick: _vm.handleRangePick\n }\n })], 1), _c(\"div\", {\n staticClass: \"el-picker-panel__content el-date-range-picker__content is-right\"\n }, [_c(\"div\", {\n staticClass: \"el-date-range-picker__header\"\n }, [_vm.unlinkPanels ? _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-left\",\n \"class\": {\n \"is-disabled\": !_vm.enableYearArrow\n },\n attrs: {\n type: \"button\",\n disabled: !_vm.enableYearArrow\n },\n on: {\n click: _vm.rightPrevYear\n }\n }) : _vm._e(), _vm.unlinkPanels ? _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-arrow-left\",\n \"class\": {\n \"is-disabled\": !_vm.enableMonthArrow\n },\n attrs: {\n type: \"button\",\n disabled: !_vm.enableMonthArrow\n },\n on: {\n click: _vm.rightPrevMonth\n }\n }) : _vm._e(), _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-right\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.rightNextYear\n }\n }), _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-arrow-right\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.rightNextMonth\n }\n }), _c(\"div\", [_vm._v(_vm._s(_vm.rightLabel))])]), _c(\"date-table\", {\n attrs: {\n \"selection-mode\": \"range\",\n date: _vm.rightDate,\n \"default-value\": _vm.defaultValue,\n \"min-date\": _vm.minDate,\n \"max-date\": _vm.maxDate,\n \"range-state\": _vm.rangeState,\n \"disabled-date\": _vm.disabledDate,\n \"cell-class-name\": _vm.cellClassName,\n \"first-day-of-week\": _vm.firstDayOfWeek\n },\n on: {\n changerange: _vm.handleChangeRange,\n pick: _vm.handleRangePick\n }\n })], 1)])], 2), _vm.showTime ? _c(\"div\", {\n staticClass: \"el-picker-panel__footer\"\n }, [_c(\"el-button\", {\n staticClass: \"el-picker-panel__link-btn\",\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: _vm.handleClear\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.clear\")) + \"\\n \")]), _c(\"el-button\", {\n staticClass: \"el-picker-panel__link-btn\",\n attrs: {\n plain: \"\",\n size: \"mini\",\n disabled: _vm.btnDisabled\n },\n on: {\n click: function click($event) {\n _vm.handleConfirm(false);\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.confirm\")) + \"\\n \")])], 1) : _vm._e()])]);\n };\n\n var date_rangevue_type_template_id_2652849a_staticRenderFns = [];\n date_rangevue_type_template_id_2652849a_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/panel/date-range.vue?vue&type=template&id=2652849a&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/date-range.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var date_rangevue_type_script_lang_js_calcDefaultValue = function calcDefaultValue(defaultValue) {\n if (Array.isArray(defaultValue)) {\n return [new Date(defaultValue[0]), new Date(defaultValue[1])];\n } else if (defaultValue) {\n return [new Date(defaultValue), Object(date_util_[\"nextDate\"])(new Date(defaultValue), 1)];\n } else {\n return [new Date(), Object(date_util_[\"nextDate\"])(new Date(), 1)];\n }\n };\n /* harmony default export */\n\n\n var date_rangevue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n directives: {\n Clickoutside: clickoutside_default.a\n },\n computed: {\n btnDisabled: function btnDisabled() {\n return !(this.minDate && this.maxDate && !this.selecting && this.isValidValue([this.minDate, this.maxDate]));\n },\n leftLabel: function leftLabel() {\n return this.leftDate.getFullYear() + ' ' + this.t('el.datepicker.year') + ' ' + this.t('el.datepicker.month' + (this.leftDate.getMonth() + 1));\n },\n rightLabel: function rightLabel() {\n return this.rightDate.getFullYear() + ' ' + this.t('el.datepicker.year') + ' ' + this.t('el.datepicker.month' + (this.rightDate.getMonth() + 1));\n },\n leftYear: function leftYear() {\n return this.leftDate.getFullYear();\n },\n leftMonth: function leftMonth() {\n return this.leftDate.getMonth();\n },\n leftMonthDate: function leftMonthDate() {\n return this.leftDate.getDate();\n },\n rightYear: function rightYear() {\n return this.rightDate.getFullYear();\n },\n rightMonth: function rightMonth() {\n return this.rightDate.getMonth();\n },\n rightMonthDate: function rightMonthDate() {\n return this.rightDate.getDate();\n },\n minVisibleDate: function minVisibleDate() {\n if (this.dateUserInput.min !== null) return this.dateUserInput.min;\n if (this.minDate) return Object(date_util_[\"formatDate\"])(this.minDate, this.dateFormat);\n return '';\n },\n maxVisibleDate: function maxVisibleDate() {\n if (this.dateUserInput.max !== null) return this.dateUserInput.max;\n if (this.maxDate || this.minDate) return Object(date_util_[\"formatDate\"])(this.maxDate || this.minDate, this.dateFormat);\n return '';\n },\n minVisibleTime: function minVisibleTime() {\n if (this.timeUserInput.min !== null) return this.timeUserInput.min;\n if (this.minDate) return Object(date_util_[\"formatDate\"])(this.minDate, this.timeFormat);\n return '';\n },\n maxVisibleTime: function maxVisibleTime() {\n if (this.timeUserInput.max !== null) return this.timeUserInput.max;\n if (this.maxDate || this.minDate) return Object(date_util_[\"formatDate\"])(this.maxDate || this.minDate, this.timeFormat);\n return '';\n },\n timeFormat: function timeFormat() {\n if (this.format) {\n return Object(date_util_[\"extractTimeFormat\"])(this.format);\n } else {\n return 'HH:mm:ss';\n }\n },\n dateFormat: function dateFormat() {\n if (this.format) {\n return Object(date_util_[\"extractDateFormat\"])(this.format);\n } else {\n return 'yyyy-MM-dd';\n }\n },\n enableMonthArrow: function enableMonthArrow() {\n var nextMonth = (this.leftMonth + 1) % 12;\n var yearOffset = this.leftMonth + 1 >= 12 ? 1 : 0;\n return this.unlinkPanels && new Date(this.leftYear + yearOffset, nextMonth) < new Date(this.rightYear, this.rightMonth);\n },\n enableYearArrow: function enableYearArrow() {\n return this.unlinkPanels && this.rightYear * 12 + this.rightMonth - (this.leftYear * 12 + this.leftMonth + 1) >= 12;\n }\n },\n data: function data() {\n return {\n popperClass: '',\n value: [],\n defaultValue: null,\n defaultTime: null,\n minDate: '',\n maxDate: '',\n leftDate: new Date(),\n rightDate: Object(date_util_[\"nextMonth\"])(new Date()),\n rangeState: {\n endDate: null,\n selecting: false,\n row: null,\n column: null\n },\n showTime: false,\n shortcuts: '',\n visible: '',\n disabledDate: '',\n cellClassName: '',\n firstDayOfWeek: 7,\n minTimePickerVisible: false,\n maxTimePickerVisible: false,\n format: '',\n arrowControl: false,\n unlinkPanels: false,\n dateUserInput: {\n min: null,\n max: null\n },\n timeUserInput: {\n min: null,\n max: null\n }\n };\n },\n watch: {\n minDate: function minDate(val) {\n var _this = this;\n\n this.dateUserInput.min = null;\n this.timeUserInput.min = null;\n this.$nextTick(function () {\n if (_this.$refs.maxTimePicker && _this.maxDate && _this.maxDate < _this.minDate) {\n var format = 'HH:mm:ss';\n _this.$refs.maxTimePicker.selectableRange = [[Object(date_util_[\"parseDate\"])(Object(date_util_[\"formatDate\"])(_this.minDate, format), format), Object(date_util_[\"parseDate\"])('23:59:59', format)]];\n }\n });\n\n if (val && this.$refs.minTimePicker) {\n this.$refs.minTimePicker.date = val;\n this.$refs.minTimePicker.value = val;\n }\n },\n maxDate: function maxDate(val) {\n this.dateUserInput.max = null;\n this.timeUserInput.max = null;\n\n if (val && this.$refs.maxTimePicker) {\n this.$refs.maxTimePicker.date = val;\n this.$refs.maxTimePicker.value = val;\n }\n },\n minTimePickerVisible: function minTimePickerVisible(val) {\n var _this2 = this;\n\n if (val) {\n this.$nextTick(function () {\n _this2.$refs.minTimePicker.date = _this2.minDate;\n _this2.$refs.minTimePicker.value = _this2.minDate;\n\n _this2.$refs.minTimePicker.adjustSpinners();\n });\n }\n },\n maxTimePickerVisible: function maxTimePickerVisible(val) {\n var _this3 = this;\n\n if (val) {\n this.$nextTick(function () {\n _this3.$refs.maxTimePicker.date = _this3.maxDate;\n _this3.$refs.maxTimePicker.value = _this3.maxDate;\n\n _this3.$refs.maxTimePicker.adjustSpinners();\n });\n }\n },\n value: function value(newVal) {\n if (!newVal) {\n this.minDate = null;\n this.maxDate = null;\n } else if (Array.isArray(newVal)) {\n this.minDate = Object(date_util_[\"isDate\"])(newVal[0]) ? new Date(newVal[0]) : null;\n this.maxDate = Object(date_util_[\"isDate\"])(newVal[1]) ? new Date(newVal[1]) : null;\n\n if (this.minDate) {\n this.leftDate = this.minDate;\n\n if (this.unlinkPanels && this.maxDate) {\n var minDateYear = this.minDate.getFullYear();\n var minDateMonth = this.minDate.getMonth();\n var maxDateYear = this.maxDate.getFullYear();\n var maxDateMonth = this.maxDate.getMonth();\n this.rightDate = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? Object(date_util_[\"nextMonth\"])(this.maxDate) : this.maxDate;\n } else {\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n }\n } else {\n this.leftDate = date_rangevue_type_script_lang_js_calcDefaultValue(this.defaultValue)[0];\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n }\n }\n },\n defaultValue: function defaultValue(val) {\n if (!Array.isArray(this.value)) {\n var _calcDefaultValue = date_rangevue_type_script_lang_js_calcDefaultValue(val),\n left = _calcDefaultValue[0],\n right = _calcDefaultValue[1];\n\n this.leftDate = left;\n this.rightDate = val && val[1] && this.unlinkPanels ? right : Object(date_util_[\"nextMonth\"])(this.leftDate);\n }\n }\n },\n methods: {\n handleClear: function handleClear() {\n this.minDate = null;\n this.maxDate = null;\n this.leftDate = date_rangevue_type_script_lang_js_calcDefaultValue(this.defaultValue)[0];\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n this.$emit('pick', null);\n },\n handleChangeRange: function handleChangeRange(val) {\n this.minDate = val.minDate;\n this.maxDate = val.maxDate;\n this.rangeState = val.rangeState;\n },\n handleDateInput: function handleDateInput(value, type) {\n this.dateUserInput[type] = value;\n if (value.length !== this.dateFormat.length) return;\n var parsedValue = Object(date_util_[\"parseDate\"])(value, this.dateFormat);\n\n if (parsedValue) {\n if (typeof this.disabledDate === 'function' && this.disabledDate(new Date(parsedValue))) {\n return;\n }\n\n if (type === 'min') {\n this.minDate = Object(date_util_[\"modifyDate\"])(this.minDate || new Date(), parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate());\n this.leftDate = new Date(parsedValue);\n\n if (!this.unlinkPanels) {\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n }\n } else {\n this.maxDate = Object(date_util_[\"modifyDate\"])(this.maxDate || new Date(), parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate());\n this.rightDate = new Date(parsedValue);\n\n if (!this.unlinkPanels) {\n this.leftDate = Object(date_util_[\"prevMonth\"])(parsedValue);\n }\n }\n }\n },\n handleDateChange: function handleDateChange(value, type) {\n var parsedValue = Object(date_util_[\"parseDate\"])(value, this.dateFormat);\n\n if (parsedValue) {\n if (type === 'min') {\n this.minDate = Object(date_util_[\"modifyDate\"])(this.minDate, parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate());\n\n if (this.minDate > this.maxDate) {\n this.maxDate = this.minDate;\n }\n } else {\n this.maxDate = Object(date_util_[\"modifyDate\"])(this.maxDate, parsedValue.getFullYear(), parsedValue.getMonth(), parsedValue.getDate());\n\n if (this.maxDate < this.minDate) {\n this.minDate = this.maxDate;\n }\n }\n }\n },\n handleTimeInput: function handleTimeInput(value, type) {\n var _this4 = this;\n\n this.timeUserInput[type] = value;\n if (value.length !== this.timeFormat.length) return;\n var parsedValue = Object(date_util_[\"parseDate\"])(value, this.timeFormat);\n\n if (parsedValue) {\n if (type === 'min') {\n this.minDate = Object(date_util_[\"modifyTime\"])(this.minDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds());\n this.$nextTick(function (_) {\n return _this4.$refs.minTimePicker.adjustSpinners();\n });\n } else {\n this.maxDate = Object(date_util_[\"modifyTime\"])(this.maxDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds());\n this.$nextTick(function (_) {\n return _this4.$refs.maxTimePicker.adjustSpinners();\n });\n }\n }\n },\n handleTimeChange: function handleTimeChange(value, type) {\n var parsedValue = Object(date_util_[\"parseDate\"])(value, this.timeFormat);\n\n if (parsedValue) {\n if (type === 'min') {\n this.minDate = Object(date_util_[\"modifyTime\"])(this.minDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds());\n\n if (this.minDate > this.maxDate) {\n this.maxDate = this.minDate;\n }\n\n this.$refs.minTimePicker.value = this.minDate;\n this.minTimePickerVisible = false;\n } else {\n this.maxDate = Object(date_util_[\"modifyTime\"])(this.maxDate, parsedValue.getHours(), parsedValue.getMinutes(), parsedValue.getSeconds());\n\n if (this.maxDate < this.minDate) {\n this.minDate = this.maxDate;\n }\n\n this.$refs.maxTimePicker.value = this.minDate;\n this.maxTimePickerVisible = false;\n }\n }\n },\n handleRangePick: function handleRangePick(val) {\n var _this5 = this;\n\n var close = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var defaultTime = this.defaultTime || [];\n var minDate = Object(date_util_[\"modifyWithTimeString\"])(val.minDate, defaultTime[0]);\n var maxDate = Object(date_util_[\"modifyWithTimeString\"])(val.maxDate, defaultTime[1]);\n\n if (this.maxDate === maxDate && this.minDate === minDate) {\n return;\n }\n\n this.onPick && this.onPick(val);\n this.maxDate = maxDate;\n this.minDate = minDate; // workaround for https://github.com/ElemeFE/element/issues/7539, should remove this block when we don't have to care about Chromium 55 - 57\n\n setTimeout(function () {\n _this5.maxDate = maxDate;\n _this5.minDate = minDate;\n }, 10);\n if (!close || this.showTime) return;\n this.handleConfirm();\n },\n handleShortcutClick: function handleShortcutClick(shortcut) {\n if (shortcut.onClick) {\n shortcut.onClick(this);\n }\n },\n handleMinTimePick: function handleMinTimePick(value, visible, first) {\n this.minDate = this.minDate || new Date();\n\n if (value) {\n this.minDate = Object(date_util_[\"modifyTime\"])(this.minDate, value.getHours(), value.getMinutes(), value.getSeconds());\n }\n\n if (!first) {\n this.minTimePickerVisible = visible;\n }\n\n if (!this.maxDate || this.maxDate && this.maxDate.getTime() < this.minDate.getTime()) {\n this.maxDate = new Date(this.minDate);\n }\n },\n handleMinTimeClose: function handleMinTimeClose() {\n this.minTimePickerVisible = false;\n },\n handleMaxTimePick: function handleMaxTimePick(value, visible, first) {\n if (this.maxDate && value) {\n this.maxDate = Object(date_util_[\"modifyTime\"])(this.maxDate, value.getHours(), value.getMinutes(), value.getSeconds());\n }\n\n if (!first) {\n this.maxTimePickerVisible = visible;\n }\n\n if (this.maxDate && this.minDate && this.minDate.getTime() > this.maxDate.getTime()) {\n this.minDate = new Date(this.maxDate);\n }\n },\n handleMaxTimeClose: function handleMaxTimeClose() {\n this.maxTimePickerVisible = false;\n },\n // leftPrev*, rightNext* need to take care of `unlinkPanels`\n leftPrevYear: function leftPrevYear() {\n this.leftDate = Object(date_util_[\"prevYear\"])(this.leftDate);\n\n if (!this.unlinkPanels) {\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n }\n },\n leftPrevMonth: function leftPrevMonth() {\n this.leftDate = Object(date_util_[\"prevMonth\"])(this.leftDate);\n\n if (!this.unlinkPanels) {\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n }\n },\n rightNextYear: function rightNextYear() {\n if (!this.unlinkPanels) {\n this.leftDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n } else {\n this.rightDate = Object(date_util_[\"nextYear\"])(this.rightDate);\n }\n },\n rightNextMonth: function rightNextMonth() {\n if (!this.unlinkPanels) {\n this.leftDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n } else {\n this.rightDate = Object(date_util_[\"nextMonth\"])(this.rightDate);\n }\n },\n // leftNext*, rightPrev* are called when `unlinkPanels` is true\n leftNextYear: function leftNextYear() {\n this.leftDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n },\n leftNextMonth: function leftNextMonth() {\n this.leftDate = Object(date_util_[\"nextMonth\"])(this.leftDate);\n },\n rightPrevYear: function rightPrevYear() {\n this.rightDate = Object(date_util_[\"prevYear\"])(this.rightDate);\n },\n rightPrevMonth: function rightPrevMonth() {\n this.rightDate = Object(date_util_[\"prevMonth\"])(this.rightDate);\n },\n handleConfirm: function handleConfirm() {\n var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n if (this.isValidValue([this.minDate, this.maxDate])) {\n this.$emit('pick', [this.minDate, this.maxDate], visible);\n }\n },\n isValidValue: function isValidValue(value) {\n return Array.isArray(value) && value && value[0] && value[1] && Object(date_util_[\"isDate\"])(value[0]) && Object(date_util_[\"isDate\"])(value[1]) && value[0].getTime() <= value[1].getTime() && (typeof this.disabledDate === 'function' ? !this.disabledDate(value[0]) && !this.disabledDate(value[1]) : true);\n },\n resetView: function resetView() {\n // NOTE: this is a hack to reset {min, max}Date on picker open.\n // TODO: correct way of doing so is to refactor {min, max}Date to be dependent on value and internal selection state\n // an alternative would be resetView whenever picker becomes visible, should also investigate date-panel's resetView\n if (this.minDate && this.maxDate == null) this.rangeState.selecting = false;\n this.minDate = this.value && Object(date_util_[\"isDate\"])(this.value[0]) ? new Date(this.value[0]) : null;\n this.maxDate = this.value && Object(date_util_[\"isDate\"])(this.value[0]) ? new Date(this.value[1]) : null;\n }\n },\n components: {\n TimePicker: panel_time,\n DateTable: date_table,\n ElInput: input_default.a,\n ElButton: button_default.a\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/panel/date-range.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var panel_date_rangevue_type_script_lang_js_ = date_rangevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/panel/date-range.vue\n\n /* normalize component */\n\n var date_range_component = normalizeComponent(panel_date_rangevue_type_script_lang_js_, date_rangevue_type_template_id_2652849a_render, date_rangevue_type_template_id_2652849a_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var date_range_api;\n }\n\n date_range_component.options.__file = \"packages/date-picker/src/panel/date-range.vue\";\n /* harmony default export */\n\n var date_range = date_range_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/month-range.vue?vue&type=template&id=f2645fb8&\n\n var month_rangevue_type_template_id_f2645fb8_render = function month_rangevue_type_template_id_f2645fb8_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": function afterLeave($event) {\n _vm.$emit(\"dodestroy\");\n }\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-picker-panel el-date-range-picker el-popper\",\n \"class\": [{\n \"has-sidebar\": _vm.$slots.sidebar || _vm.shortcuts\n }, _vm.popperClass]\n }, [_c(\"div\", {\n staticClass: \"el-picker-panel__body-wrapper\"\n }, [_vm._t(\"sidebar\"), _vm.shortcuts ? _c(\"div\", {\n staticClass: \"el-picker-panel__sidebar\"\n }, _vm._l(_vm.shortcuts, function (shortcut, key) {\n return _c(\"button\", {\n key: key,\n staticClass: \"el-picker-panel__shortcut\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: function click($event) {\n _vm.handleShortcutClick(shortcut);\n }\n }\n }, [_vm._v(_vm._s(shortcut.text))]);\n }), 0) : _vm._e(), _c(\"div\", {\n staticClass: \"el-picker-panel__body\"\n }, [_c(\"div\", {\n staticClass: \"el-picker-panel__content el-date-range-picker__content is-left\"\n }, [_c(\"div\", {\n staticClass: \"el-date-range-picker__header\"\n }, [_c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-left\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.leftPrevYear\n }\n }), _vm.unlinkPanels ? _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-right\",\n \"class\": {\n \"is-disabled\": !_vm.enableYearArrow\n },\n attrs: {\n type: \"button\",\n disabled: !_vm.enableYearArrow\n },\n on: {\n click: _vm.leftNextYear\n }\n }) : _vm._e(), _c(\"div\", [_vm._v(_vm._s(_vm.leftLabel))])]), _c(\"month-table\", {\n attrs: {\n \"selection-mode\": \"range\",\n date: _vm.leftDate,\n \"default-value\": _vm.defaultValue,\n \"min-date\": _vm.minDate,\n \"max-date\": _vm.maxDate,\n \"range-state\": _vm.rangeState,\n \"disabled-date\": _vm.disabledDate\n },\n on: {\n changerange: _vm.handleChangeRange,\n pick: _vm.handleRangePick\n }\n })], 1), _c(\"div\", {\n staticClass: \"el-picker-panel__content el-date-range-picker__content is-right\"\n }, [_c(\"div\", {\n staticClass: \"el-date-range-picker__header\"\n }, [_vm.unlinkPanels ? _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-left\",\n \"class\": {\n \"is-disabled\": !_vm.enableYearArrow\n },\n attrs: {\n type: \"button\",\n disabled: !_vm.enableYearArrow\n },\n on: {\n click: _vm.rightPrevYear\n }\n }) : _vm._e(), _c(\"button\", {\n staticClass: \"el-picker-panel__icon-btn el-icon-d-arrow-right\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: _vm.rightNextYear\n }\n }), _c(\"div\", [_vm._v(_vm._s(_vm.rightLabel))])]), _c(\"month-table\", {\n attrs: {\n \"selection-mode\": \"range\",\n date: _vm.rightDate,\n \"default-value\": _vm.defaultValue,\n \"min-date\": _vm.minDate,\n \"max-date\": _vm.maxDate,\n \"range-state\": _vm.rangeState,\n \"disabled-date\": _vm.disabledDate\n },\n on: {\n changerange: _vm.handleChangeRange,\n pick: _vm.handleRangePick\n }\n })], 1)])], 2)])]);\n };\n\n var month_rangevue_type_template_id_f2645fb8_staticRenderFns = [];\n month_rangevue_type_template_id_f2645fb8_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/panel/month-range.vue?vue&type=template&id=f2645fb8&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/month-range.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var month_rangevue_type_script_lang_js_calcDefaultValue = function calcDefaultValue(defaultValue) {\n if (Array.isArray(defaultValue)) {\n return [new Date(defaultValue[0]), new Date(defaultValue[1])];\n } else if (defaultValue) {\n return [new Date(defaultValue), Object(date_util_[\"nextMonth\"])(new Date(defaultValue))];\n } else {\n return [new Date(), Object(date_util_[\"nextMonth\"])(new Date())];\n }\n };\n /* harmony default export */\n\n\n var month_rangevue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n directives: {\n Clickoutside: clickoutside_default.a\n },\n computed: {\n btnDisabled: function btnDisabled() {\n return !(this.minDate && this.maxDate && !this.selecting && this.isValidValue([this.minDate, this.maxDate]));\n },\n leftLabel: function leftLabel() {\n return this.leftDate.getFullYear() + ' ' + this.t('el.datepicker.year');\n },\n rightLabel: function rightLabel() {\n return this.rightDate.getFullYear() + ' ' + this.t('el.datepicker.year');\n },\n leftYear: function leftYear() {\n return this.leftDate.getFullYear();\n },\n rightYear: function rightYear() {\n return this.rightDate.getFullYear() === this.leftDate.getFullYear() ? this.leftDate.getFullYear() + 1 : this.rightDate.getFullYear();\n },\n enableYearArrow: function enableYearArrow() {\n return this.unlinkPanels && this.rightYear > this.leftYear + 1;\n }\n },\n data: function data() {\n return {\n popperClass: '',\n value: [],\n defaultValue: null,\n defaultTime: null,\n minDate: '',\n maxDate: '',\n leftDate: new Date(),\n rightDate: Object(date_util_[\"nextYear\"])(new Date()),\n rangeState: {\n endDate: null,\n selecting: false,\n row: null,\n column: null\n },\n shortcuts: '',\n visible: '',\n disabledDate: '',\n format: '',\n arrowControl: false,\n unlinkPanels: false\n };\n },\n watch: {\n value: function value(newVal) {\n if (!newVal) {\n this.minDate = null;\n this.maxDate = null;\n } else if (Array.isArray(newVal)) {\n this.minDate = Object(date_util_[\"isDate\"])(newVal[0]) ? new Date(newVal[0]) : null;\n this.maxDate = Object(date_util_[\"isDate\"])(newVal[1]) ? new Date(newVal[1]) : null;\n\n if (this.minDate) {\n this.leftDate = this.minDate;\n\n if (this.unlinkPanels && this.maxDate) {\n var minDateYear = this.minDate.getFullYear();\n var maxDateYear = this.maxDate.getFullYear();\n this.rightDate = minDateYear === maxDateYear ? Object(date_util_[\"nextYear\"])(this.maxDate) : this.maxDate;\n } else {\n this.rightDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n }\n } else {\n this.leftDate = month_rangevue_type_script_lang_js_calcDefaultValue(this.defaultValue)[0];\n this.rightDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n }\n }\n },\n defaultValue: function defaultValue(val) {\n if (!Array.isArray(this.value)) {\n var _calcDefaultValue = month_rangevue_type_script_lang_js_calcDefaultValue(val),\n left = _calcDefaultValue[0],\n right = _calcDefaultValue[1];\n\n this.leftDate = left;\n this.rightDate = val && val[1] && left.getFullYear() !== right.getFullYear() && this.unlinkPanels ? right : Object(date_util_[\"nextYear\"])(this.leftDate);\n }\n }\n },\n methods: {\n handleClear: function handleClear() {\n this.minDate = null;\n this.maxDate = null;\n this.leftDate = month_rangevue_type_script_lang_js_calcDefaultValue(this.defaultValue)[0];\n this.rightDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n this.$emit('pick', null);\n },\n handleChangeRange: function handleChangeRange(val) {\n this.minDate = val.minDate;\n this.maxDate = val.maxDate;\n this.rangeState = val.rangeState;\n },\n handleRangePick: function handleRangePick(val) {\n var _this = this;\n\n var close = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var defaultTime = this.defaultTime || [];\n var minDate = Object(date_util_[\"modifyWithTimeString\"])(val.minDate, defaultTime[0]);\n var maxDate = Object(date_util_[\"modifyWithTimeString\"])(val.maxDate, defaultTime[1]);\n\n if (this.maxDate === maxDate && this.minDate === minDate) {\n return;\n }\n\n this.onPick && this.onPick(val);\n this.maxDate = maxDate;\n this.minDate = minDate; // workaround for https://github.com/ElemeFE/element/issues/7539, should remove this block when we don't have to care about Chromium 55 - 57\n\n setTimeout(function () {\n _this.maxDate = maxDate;\n _this.minDate = minDate;\n }, 10);\n if (!close) return;\n this.handleConfirm();\n },\n handleShortcutClick: function handleShortcutClick(shortcut) {\n if (shortcut.onClick) {\n shortcut.onClick(this);\n }\n },\n // leftPrev*, rightNext* need to take care of `unlinkPanels`\n leftPrevYear: function leftPrevYear() {\n this.leftDate = Object(date_util_[\"prevYear\"])(this.leftDate);\n\n if (!this.unlinkPanels) {\n this.rightDate = Object(date_util_[\"prevYear\"])(this.rightDate);\n }\n },\n rightNextYear: function rightNextYear() {\n if (!this.unlinkPanels) {\n this.leftDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n }\n\n this.rightDate = Object(date_util_[\"nextYear\"])(this.rightDate);\n },\n // leftNext*, rightPrev* are called when `unlinkPanels` is true\n leftNextYear: function leftNextYear() {\n this.leftDate = Object(date_util_[\"nextYear\"])(this.leftDate);\n },\n rightPrevYear: function rightPrevYear() {\n this.rightDate = Object(date_util_[\"prevYear\"])(this.rightDate);\n },\n handleConfirm: function handleConfirm() {\n var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n if (this.isValidValue([this.minDate, this.maxDate])) {\n this.$emit('pick', [this.minDate, this.maxDate], visible);\n }\n },\n isValidValue: function isValidValue(value) {\n return Array.isArray(value) && value && value[0] && value[1] && Object(date_util_[\"isDate\"])(value[0]) && Object(date_util_[\"isDate\"])(value[1]) && value[0].getTime() <= value[1].getTime() && (typeof this.disabledDate === 'function' ? !this.disabledDate(value[0]) && !this.disabledDate(value[1]) : true);\n },\n resetView: function resetView() {\n // NOTE: this is a hack to reset {min, max}Date on picker open.\n // TODO: correct way of doing so is to refactor {min, max}Date to be dependent on value and internal selection state\n // an alternative would be resetView whenever picker becomes visible, should also investigate date-panel's resetView\n this.minDate = this.value && Object(date_util_[\"isDate\"])(this.value[0]) ? new Date(this.value[0]) : null;\n this.maxDate = this.value && Object(date_util_[\"isDate\"])(this.value[0]) ? new Date(this.value[1]) : null;\n }\n },\n components: {\n MonthTable: month_table,\n ElInput: input_default.a,\n ElButton: button_default.a\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/panel/month-range.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var panel_month_rangevue_type_script_lang_js_ = month_rangevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/panel/month-range.vue\n\n /* normalize component */\n\n var month_range_component = normalizeComponent(panel_month_rangevue_type_script_lang_js_, month_rangevue_type_template_id_f2645fb8_render, month_rangevue_type_template_id_f2645fb8_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var month_range_api;\n }\n\n month_range_component.options.__file = \"packages/date-picker/src/panel/month-range.vue\";\n /* harmony default export */\n\n var month_range = month_range_component.exports; // CONCATENATED MODULE: ./packages/date-picker/src/picker/date-picker.js\n\n var date_picker_getPanel = function getPanel(type) {\n if (type === 'daterange' || type === 'datetimerange') {\n return date_range;\n } else if (type === 'monthrange') {\n return month_range;\n }\n\n return panel_date;\n };\n /* harmony default export */\n\n\n var date_picker = {\n mixins: [picker],\n name: 'ElDatePicker',\n props: {\n type: {\n type: String,\n \"default\": 'date'\n },\n timeArrowControl: Boolean\n },\n watch: {\n type: function type(_type) {\n if (this.picker) {\n this.unmountPicker();\n this.panel = date_picker_getPanel(_type);\n this.mountPicker();\n } else {\n this.panel = date_picker_getPanel(_type);\n }\n }\n },\n created: function created() {\n this.panel = date_picker_getPanel(this.type);\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/index.js\n\n /* istanbul ignore next */\n\n date_picker.install = function install(Vue) {\n Vue.component(date_picker.name, date_picker);\n };\n /* harmony default export */\n\n\n var packages_date_picker = date_picker; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-select.vue?vue&type=template&id=51ab9320&\n\n var time_selectvue_type_template_id_51ab9320_render = function time_selectvue_type_template_id_51ab9320_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"before-enter\": _vm.handleMenuEnter,\n \"after-leave\": function afterLeave($event) {\n _vm.$emit(\"dodestroy\");\n }\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n ref: \"popper\",\n staticClass: \"el-picker-panel time-select el-popper\",\n \"class\": _vm.popperClass,\n style: {\n width: _vm.width + \"px\"\n }\n }, [_c(\"el-scrollbar\", {\n attrs: {\n noresize: \"\",\n \"wrap-class\": \"el-picker-panel__content\"\n }\n }, _vm._l(_vm.items, function (item) {\n return _c(\"div\", {\n key: item.value,\n staticClass: \"time-select-item\",\n \"class\": {\n selected: _vm.value === item.value,\n disabled: item.disabled,\n \"default\": item.value === _vm.defaultValue\n },\n attrs: {\n disabled: item.disabled\n },\n on: {\n click: function click($event) {\n _vm.handleClick(item);\n }\n }\n }, [_vm._v(_vm._s(item.value))]);\n }), 0)], 1)]);\n };\n\n var time_selectvue_type_template_id_51ab9320_staticRenderFns = [];\n time_selectvue_type_template_id_51ab9320_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=template&id=51ab9320&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var parseTime = function parseTime(time) {\n var values = (time || '').split(':');\n\n if (values.length >= 2) {\n var hours = parseInt(values[0], 10);\n var minutes = parseInt(values[1], 10);\n return {\n hours: hours,\n minutes: minutes\n };\n }\n /* istanbul ignore next */\n\n\n return null;\n };\n\n var compareTime = function compareTime(time1, time2) {\n var value1 = parseTime(time1);\n var value2 = parseTime(time2);\n var minutes1 = value1.minutes + value1.hours * 60;\n var minutes2 = value2.minutes + value2.hours * 60;\n\n if (minutes1 === minutes2) {\n return 0;\n }\n\n return minutes1 > minutes2 ? 1 : -1;\n };\n\n var formatTime = function formatTime(time) {\n return (time.hours < 10 ? '0' + time.hours : time.hours) + ':' + (time.minutes < 10 ? '0' + time.minutes : time.minutes);\n };\n\n var nextTime = function nextTime(time, step) {\n var timeValue = parseTime(time);\n var stepValue = parseTime(step);\n var next = {\n hours: timeValue.hours,\n minutes: timeValue.minutes\n };\n next.minutes += stepValue.minutes;\n next.hours += stepValue.hours;\n next.hours += Math.floor(next.minutes / 60);\n next.minutes = next.minutes % 60;\n return formatTime(next);\n };\n /* harmony default export */\n\n\n var time_selectvue_type_script_lang_js_ = {\n components: {\n ElScrollbar: scrollbar_default.a\n },\n watch: {\n value: function value(val) {\n var _this = this;\n\n if (!val) return;\n this.$nextTick(function () {\n return _this.scrollToOption();\n });\n }\n },\n methods: {\n handleClick: function handleClick(item) {\n if (!item.disabled) {\n this.$emit('pick', item.value);\n }\n },\n handleClear: function handleClear() {\n this.$emit('pick', null);\n },\n scrollToOption: function scrollToOption() {\n var selector = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '.selected';\n var menu = this.$refs.popper.querySelector('.el-picker-panel__content');\n scroll_into_view_default()(menu, menu.querySelector(selector));\n },\n handleMenuEnter: function handleMenuEnter() {\n var _this2 = this;\n\n var selected = this.items.map(function (item) {\n return item.value;\n }).indexOf(this.value) !== -1;\n var hasDefault = this.items.map(function (item) {\n return item.value;\n }).indexOf(this.defaultValue) !== -1;\n var option = selected && '.selected' || hasDefault && '.default' || '.time-select-item:not(.disabled)';\n this.$nextTick(function () {\n return _this2.scrollToOption(option);\n });\n },\n scrollDown: function scrollDown(step) {\n var items = this.items;\n var length = items.length;\n var total = items.length;\n var index = items.map(function (item) {\n return item.value;\n }).indexOf(this.value);\n\n while (total--) {\n index = (index + step + length) % length;\n\n if (!items[index].disabled) {\n this.$emit('pick', items[index].value, true);\n return;\n }\n }\n },\n isValidValue: function isValidValue(date) {\n return this.items.filter(function (item) {\n return !item.disabled;\n }).map(function (item) {\n return item.value;\n }).indexOf(date) !== -1;\n },\n handleKeydown: function handleKeydown(event) {\n var keyCode = event.keyCode;\n\n if (keyCode === 38 || keyCode === 40) {\n var mapping = {\n 40: 1,\n 38: -1\n };\n var offset = mapping[keyCode.toString()];\n this.scrollDown(offset);\n event.stopPropagation();\n return;\n }\n }\n },\n data: function data() {\n return {\n popperClass: '',\n start: '09:00',\n end: '18:00',\n step: '00:30',\n value: '',\n defaultValue: '',\n visible: false,\n minTime: '',\n maxTime: '',\n width: 0\n };\n },\n computed: {\n items: function items() {\n var start = this.start;\n var end = this.end;\n var step = this.step;\n var result = [];\n\n if (start && end && step) {\n var current = start;\n\n while (compareTime(current, end) <= 0) {\n result.push({\n value: current,\n disabled: compareTime(current, this.minTime || '-1:-1') <= 0 || compareTime(current, this.maxTime || '100:100') >= 0\n });\n current = nextTime(current, step);\n }\n }\n\n return result;\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var panel_time_selectvue_type_script_lang_js_ = time_selectvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue\n\n /* normalize component */\n\n var time_select_component = normalizeComponent(panel_time_selectvue_type_script_lang_js_, time_selectvue_type_template_id_51ab9320_render, time_selectvue_type_template_id_51ab9320_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var time_select_api;\n }\n\n time_select_component.options.__file = \"packages/date-picker/src/panel/time-select.vue\";\n /* harmony default export */\n\n var time_select = time_select_component.exports; // CONCATENATED MODULE: ./packages/date-picker/src/picker/time-select.js\n\n /* harmony default export */\n\n var picker_time_select = {\n mixins: [picker],\n name: 'ElTimeSelect',\n componentName: 'ElTimeSelect',\n props: {\n type: {\n type: String,\n \"default\": 'time-select'\n }\n },\n beforeCreate: function beforeCreate() {\n this.panel = time_select;\n }\n }; // CONCATENATED MODULE: ./packages/time-select/index.js\n\n /* istanbul ignore next */\n\n picker_time_select.install = function (Vue) {\n Vue.component(picker_time_select.name, picker_time_select);\n };\n /* harmony default export */\n\n\n var packages_time_select = picker_time_select; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=fb28660e&\n\n var time_rangevue_type_template_id_fb28660e_render = function time_rangevue_type_template_id_fb28660e_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": function afterLeave($event) {\n _vm.$emit(\"dodestroy\");\n }\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-time-range-picker el-picker-panel el-popper\",\n \"class\": _vm.popperClass\n }, [_c(\"div\", {\n staticClass: \"el-time-range-picker__content\"\n }, [_c(\"div\", {\n staticClass: \"el-time-range-picker__cell\"\n }, [_c(\"div\", {\n staticClass: \"el-time-range-picker__header\"\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.startTime\")))]), _c(\"div\", {\n staticClass: \"el-time-range-picker__body el-time-panel__content\",\n \"class\": {\n \"has-seconds\": _vm.showSeconds,\n \"is-arrow\": _vm.arrowControl\n }\n }, [_c(\"time-spinner\", {\n ref: \"minSpinner\",\n attrs: {\n \"show-seconds\": _vm.showSeconds,\n \"am-pm-mode\": _vm.amPmMode,\n \"arrow-control\": _vm.arrowControl,\n date: _vm.minDate\n },\n on: {\n change: _vm.handleMinChange,\n \"select-range\": _vm.setMinSelectionRange\n }\n })], 1)]), _c(\"div\", {\n staticClass: \"el-time-range-picker__cell\"\n }, [_c(\"div\", {\n staticClass: \"el-time-range-picker__header\"\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.endTime\")))]), _c(\"div\", {\n staticClass: \"el-time-range-picker__body el-time-panel__content\",\n \"class\": {\n \"has-seconds\": _vm.showSeconds,\n \"is-arrow\": _vm.arrowControl\n }\n }, [_c(\"time-spinner\", {\n ref: \"maxSpinner\",\n attrs: {\n \"show-seconds\": _vm.showSeconds,\n \"am-pm-mode\": _vm.amPmMode,\n \"arrow-control\": _vm.arrowControl,\n date: _vm.maxDate\n },\n on: {\n change: _vm.handleMaxChange,\n \"select-range\": _vm.setMaxSelectionRange\n }\n })], 1)])]), _c(\"div\", {\n staticClass: \"el-time-panel__footer\"\n }, [_c(\"button\", {\n staticClass: \"el-time-panel__btn cancel\",\n attrs: {\n type: \"button\"\n },\n on: {\n click: function click($event) {\n _vm.handleCancel();\n }\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.cancel\")))]), _c(\"button\", {\n staticClass: \"el-time-panel__btn confirm\",\n attrs: {\n type: \"button\",\n disabled: _vm.btnDisabled\n },\n on: {\n click: function click($event) {\n _vm.handleConfirm();\n }\n }\n }, [_vm._v(_vm._s(_vm.t(\"el.datepicker.confirm\")))])])])]);\n };\n\n var time_rangevue_type_template_id_fb28660e_staticRenderFns = [];\n time_rangevue_type_template_id_fb28660e_render._withStripped = true; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=fb28660e&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var MIN_TIME = Object(date_util_[\"parseDate\"])('00:00:00', 'HH:mm:ss');\n var MAX_TIME = Object(date_util_[\"parseDate\"])('23:59:59', 'HH:mm:ss');\n\n var time_rangevue_type_script_lang_js_minTimeOfDay = function minTimeOfDay(date) {\n return Object(date_util_[\"modifyDate\"])(MIN_TIME, date.getFullYear(), date.getMonth(), date.getDate());\n };\n\n var time_rangevue_type_script_lang_js_maxTimeOfDay = function maxTimeOfDay(date) {\n return Object(date_util_[\"modifyDate\"])(MAX_TIME, date.getFullYear(), date.getMonth(), date.getDate());\n }; // increase time by amount of milliseconds, but within the range of day\n\n\n var advanceTime = function advanceTime(date, amount) {\n return new Date(Math.min(date.getTime() + amount, time_rangevue_type_script_lang_js_maxTimeOfDay(date).getTime()));\n };\n /* harmony default export */\n\n\n var time_rangevue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n components: {\n TimeSpinner: time_spinner\n },\n computed: {\n showSeconds: function showSeconds() {\n return (this.format || '').indexOf('ss') !== -1;\n },\n offset: function offset() {\n return this.showSeconds ? 11 : 8;\n },\n spinner: function spinner() {\n return this.selectionRange[0] < this.offset ? this.$refs.minSpinner : this.$refs.maxSpinner;\n },\n btnDisabled: function btnDisabled() {\n return this.minDate.getTime() > this.maxDate.getTime();\n },\n amPmMode: function amPmMode() {\n if ((this.format || '').indexOf('A') !== -1) return 'A';\n if ((this.format || '').indexOf('a') !== -1) return 'a';\n return '';\n }\n },\n data: function data() {\n return {\n popperClass: '',\n minDate: new Date(),\n maxDate: new Date(),\n value: [],\n oldValue: [new Date(), new Date()],\n defaultValue: null,\n format: 'HH:mm:ss',\n visible: false,\n selectionRange: [0, 2],\n arrowControl: false\n };\n },\n watch: {\n value: function value(_value) {\n if (Array.isArray(_value)) {\n this.minDate = new Date(_value[0]);\n this.maxDate = new Date(_value[1]);\n } else {\n if (Array.isArray(this.defaultValue)) {\n this.minDate = new Date(this.defaultValue[0]);\n this.maxDate = new Date(this.defaultValue[1]);\n } else if (this.defaultValue) {\n this.minDate = new Date(this.defaultValue);\n this.maxDate = advanceTime(new Date(this.defaultValue), 60 * 60 * 1000);\n } else {\n this.minDate = new Date();\n this.maxDate = advanceTime(new Date(), 60 * 60 * 1000);\n }\n }\n },\n visible: function visible(val) {\n var _this = this;\n\n if (val) {\n this.oldValue = this.value;\n this.$nextTick(function () {\n return _this.$refs.minSpinner.emitSelectRange('hours');\n });\n }\n }\n },\n methods: {\n handleClear: function handleClear() {\n this.$emit('pick', null);\n },\n handleCancel: function handleCancel() {\n this.$emit('pick', this.oldValue);\n },\n handleMinChange: function handleMinChange(date) {\n this.minDate = Object(date_util_[\"clearMilliseconds\"])(date);\n this.handleChange();\n },\n handleMaxChange: function handleMaxChange(date) {\n this.maxDate = Object(date_util_[\"clearMilliseconds\"])(date);\n this.handleChange();\n },\n handleChange: function handleChange() {\n if (this.isValidValue([this.minDate, this.maxDate])) {\n this.$refs.minSpinner.selectableRange = [[time_rangevue_type_script_lang_js_minTimeOfDay(this.minDate), this.maxDate]];\n this.$refs.maxSpinner.selectableRange = [[this.minDate, time_rangevue_type_script_lang_js_maxTimeOfDay(this.maxDate)]];\n this.$emit('pick', [this.minDate, this.maxDate], true);\n }\n },\n setMinSelectionRange: function setMinSelectionRange(start, end) {\n this.$emit('select-range', start, end, 'min');\n this.selectionRange = [start, end];\n },\n setMaxSelectionRange: function setMaxSelectionRange(start, end) {\n this.$emit('select-range', start, end, 'max');\n this.selectionRange = [start + this.offset, end + this.offset];\n },\n handleConfirm: function handleConfirm() {\n var visible = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var minSelectableRange = this.$refs.minSpinner.selectableRange;\n var maxSelectableRange = this.$refs.maxSpinner.selectableRange;\n this.minDate = Object(date_util_[\"limitTimeRange\"])(this.minDate, minSelectableRange, this.format);\n this.maxDate = Object(date_util_[\"limitTimeRange\"])(this.maxDate, maxSelectableRange, this.format);\n this.$emit('pick', [this.minDate, this.maxDate], visible);\n },\n adjustSpinners: function adjustSpinners() {\n this.$refs.minSpinner.adjustSpinners();\n this.$refs.maxSpinner.adjustSpinners();\n },\n changeSelectionRange: function changeSelectionRange(step) {\n var list = this.showSeconds ? [0, 3, 6, 11, 14, 17] : [0, 3, 8, 11];\n var mapping = ['hours', 'minutes'].concat(this.showSeconds ? ['seconds'] : []);\n var index = list.indexOf(this.selectionRange[0]);\n var next = (index + step + list.length) % list.length;\n var half = list.length / 2;\n\n if (next < half) {\n this.$refs.minSpinner.emitSelectRange(mapping[next]);\n } else {\n this.$refs.maxSpinner.emitSelectRange(mapping[next - half]);\n }\n },\n isValidValue: function isValidValue(date) {\n return Array.isArray(date) && Object(date_util_[\"timeWithinRange\"])(this.minDate, this.$refs.minSpinner.selectableRange) && Object(date_util_[\"timeWithinRange\"])(this.maxDate, this.$refs.maxSpinner.selectableRange);\n },\n handleKeydown: function handleKeydown(event) {\n var keyCode = event.keyCode;\n var mapping = {\n 38: -1,\n 40: 1,\n 37: -1,\n 39: 1\n }; // Left or Right\n\n if (keyCode === 37 || keyCode === 39) {\n var step = mapping[keyCode];\n this.changeSelectionRange(step);\n event.preventDefault();\n return;\n } // Up or Down\n\n\n if (keyCode === 38 || keyCode === 40) {\n var _step = mapping[keyCode];\n this.spinner.scrollDown(_step);\n event.preventDefault();\n return;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var panel_time_rangevue_type_script_lang_js_ = time_rangevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue\n\n /* normalize component */\n\n var time_range_component = normalizeComponent(panel_time_rangevue_type_script_lang_js_, time_rangevue_type_template_id_fb28660e_render, time_rangevue_type_template_id_fb28660e_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var time_range_api;\n }\n\n time_range_component.options.__file = \"packages/date-picker/src/panel/time-range.vue\";\n /* harmony default export */\n\n var time_range = time_range_component.exports; // CONCATENATED MODULE: ./packages/date-picker/src/picker/time-picker.js\n\n /* harmony default export */\n\n var time_picker = {\n mixins: [picker],\n name: 'ElTimePicker',\n props: {\n isRange: Boolean,\n arrowControl: Boolean\n },\n data: function data() {\n return {\n type: ''\n };\n },\n watch: {\n isRange: function isRange(_isRange) {\n if (this.picker) {\n this.unmountPicker();\n this.type = _isRange ? 'timerange' : 'time';\n this.panel = _isRange ? time_range : panel_time;\n this.mountPicker();\n } else {\n this.type = _isRange ? 'timerange' : 'time';\n this.panel = _isRange ? time_range : panel_time;\n }\n }\n },\n created: function created() {\n this.type = this.isRange ? 'timerange' : 'time';\n this.panel = this.isRange ? time_range : panel_time;\n }\n }; // CONCATENATED MODULE: ./packages/time-picker/index.js\n\n /* istanbul ignore next */\n\n time_picker.install = function (Vue) {\n Vue.component(time_picker.name, time_picker);\n };\n /* harmony default export */\n\n\n var packages_time_picker = time_picker; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/popover/src/main.vue?vue&type=template&id=52060272&\n\n var mainvue_type_template_id_52060272_render = function mainvue_type_template_id_52060272_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"span\", [_c(\"transition\", {\n attrs: {\n name: _vm.transition\n },\n on: {\n \"after-enter\": _vm.handleAfterEnter,\n \"after-leave\": _vm.handleAfterLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.disabled && _vm.showPopper,\n expression: \"!disabled && showPopper\"\n }],\n ref: \"popper\",\n staticClass: \"el-popover el-popper\",\n \"class\": [_vm.popperClass, _vm.content && \"el-popover--plain\"],\n style: {\n width: _vm.width + \"px\"\n },\n attrs: {\n role: \"tooltip\",\n id: _vm.tooltipId,\n \"aria-hidden\": _vm.disabled || !_vm.showPopper ? \"true\" : \"false\"\n }\n }, [_vm.title ? _c(\"div\", {\n staticClass: \"el-popover__title\",\n domProps: {\n textContent: _vm._s(_vm.title)\n }\n }) : _vm._e(), _vm._t(\"default\", [_vm._v(_vm._s(_vm.content))])], 2)]), _c(\"span\", {\n ref: \"wrapper\",\n staticClass: \"el-popover__reference-wrapper\"\n }, [_vm._t(\"reference\")], 2)], 1);\n };\n\n var mainvue_type_template_id_52060272_staticRenderFns = [];\n mainvue_type_template_id_52060272_render._withStripped = true; // CONCATENATED MODULE: ./packages/popover/src/main.vue?vue&type=template&id=52060272&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/popover/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var mainvue_type_script_lang_js_ = {\n name: 'ElPopover',\n mixins: [vue_popper_default.a],\n props: {\n trigger: {\n type: String,\n \"default\": 'click',\n validator: function validator(value) {\n return ['click', 'focus', 'hover', 'manual'].indexOf(value) > -1;\n }\n },\n openDelay: {\n type: Number,\n \"default\": 0\n },\n closeDelay: {\n type: Number,\n \"default\": 200\n },\n title: String,\n disabled: Boolean,\n content: String,\n reference: {},\n popperClass: String,\n width: {},\n visibleArrow: {\n \"default\": true\n },\n arrowOffset: {\n type: Number,\n \"default\": 0\n },\n transition: {\n type: String,\n \"default\": 'fade-in-linear'\n },\n tabindex: {\n type: Number,\n \"default\": 0\n }\n },\n computed: {\n tooltipId: function tooltipId() {\n return 'el-popover-' + Object(util_[\"generateId\"])();\n }\n },\n watch: {\n showPopper: function showPopper(val) {\n if (this.disabled) {\n return;\n }\n\n val ? this.$emit('show') : this.$emit('hide');\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n var reference = this.referenceElm = this.reference || this.$refs.reference;\n var popper = this.popper || this.$refs.popper;\n\n if (!reference && this.$refs.wrapper.children) {\n reference = this.referenceElm = this.$refs.wrapper.children[0];\n } // å¯è®¿é—®æ€§\n\n\n if (reference) {\n Object(dom_[\"addClass\"])(reference, 'el-popover__reference');\n reference.setAttribute('aria-describedby', this.tooltipId);\n reference.setAttribute('tabindex', this.tabindex); // tabåºåˆ—\n\n popper.setAttribute('tabindex', 0);\n\n if (this.trigger !== 'click') {\n Object(dom_[\"on\"])(reference, 'focusin', function () {\n _this.handleFocus();\n\n var instance = reference.__vue__;\n\n if (instance && typeof instance.focus === 'function') {\n instance.focus();\n }\n });\n Object(dom_[\"on\"])(popper, 'focusin', this.handleFocus);\n Object(dom_[\"on\"])(reference, 'focusout', this.handleBlur);\n Object(dom_[\"on\"])(popper, 'focusout', this.handleBlur);\n }\n\n Object(dom_[\"on\"])(reference, 'keydown', this.handleKeydown);\n Object(dom_[\"on\"])(reference, 'click', this.handleClick);\n }\n\n if (this.trigger === 'click') {\n Object(dom_[\"on\"])(reference, 'click', this.doToggle);\n Object(dom_[\"on\"])(document, 'click', this.handleDocumentClick);\n } else if (this.trigger === 'hover') {\n Object(dom_[\"on\"])(reference, 'mouseenter', this.handleMouseEnter);\n Object(dom_[\"on\"])(popper, 'mouseenter', this.handleMouseEnter);\n Object(dom_[\"on\"])(reference, 'mouseleave', this.handleMouseLeave);\n Object(dom_[\"on\"])(popper, 'mouseleave', this.handleMouseLeave);\n } else if (this.trigger === 'focus') {\n if (this.tabindex < 0) {\n console.warn('[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key');\n }\n\n if (reference.querySelector('input, textarea')) {\n Object(dom_[\"on\"])(reference, 'focusin', this.doShow);\n Object(dom_[\"on\"])(reference, 'focusout', this.doClose);\n } else {\n Object(dom_[\"on\"])(reference, 'mousedown', this.doShow);\n Object(dom_[\"on\"])(reference, 'mouseup', this.doClose);\n }\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.cleanup();\n },\n deactivated: function deactivated() {\n this.cleanup();\n },\n methods: {\n doToggle: function doToggle() {\n this.showPopper = !this.showPopper;\n },\n doShow: function doShow() {\n this.showPopper = true;\n },\n doClose: function doClose() {\n this.showPopper = false;\n },\n handleFocus: function handleFocus() {\n Object(dom_[\"addClass\"])(this.referenceElm, 'focusing');\n if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = true;\n },\n handleClick: function handleClick() {\n Object(dom_[\"removeClass\"])(this.referenceElm, 'focusing');\n },\n handleBlur: function handleBlur() {\n Object(dom_[\"removeClass\"])(this.referenceElm, 'focusing');\n if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = false;\n },\n handleMouseEnter: function handleMouseEnter() {\n var _this2 = this;\n\n clearTimeout(this._timer);\n\n if (this.openDelay) {\n this._timer = setTimeout(function () {\n _this2.showPopper = true;\n }, this.openDelay);\n } else {\n this.showPopper = true;\n }\n },\n handleKeydown: function handleKeydown(ev) {\n if (ev.keyCode === 27 && this.trigger !== 'manual') {\n // esc\n this.doClose();\n }\n },\n handleMouseLeave: function handleMouseLeave() {\n var _this3 = this;\n\n clearTimeout(this._timer);\n\n if (this.closeDelay) {\n this._timer = setTimeout(function () {\n _this3.showPopper = false;\n }, this.closeDelay);\n } else {\n this.showPopper = false;\n }\n },\n handleDocumentClick: function handleDocumentClick(e) {\n var reference = this.reference || this.$refs.reference;\n var popper = this.popper || this.$refs.popper;\n\n if (!reference && this.$refs.wrapper.children) {\n reference = this.referenceElm = this.$refs.wrapper.children[0];\n }\n\n if (!this.$el || !reference || this.$el.contains(e.target) || reference.contains(e.target) || !popper || popper.contains(e.target)) return;\n this.showPopper = false;\n },\n handleAfterEnter: function handleAfterEnter() {\n this.$emit('after-enter');\n },\n handleAfterLeave: function handleAfterLeave() {\n this.$emit('after-leave');\n this.doDestroy();\n },\n cleanup: function cleanup() {\n if (this.openDelay || this.closeDelay) {\n clearTimeout(this._timer);\n }\n }\n },\n destroyed: function destroyed() {\n var reference = this.reference;\n Object(dom_[\"off\"])(reference, 'click', this.doToggle);\n Object(dom_[\"off\"])(reference, 'mouseup', this.doClose);\n Object(dom_[\"off\"])(reference, 'mousedown', this.doShow);\n Object(dom_[\"off\"])(reference, 'focusin', this.doShow);\n Object(dom_[\"off\"])(reference, 'focusout', this.doClose);\n Object(dom_[\"off\"])(reference, 'mousedown', this.doShow);\n Object(dom_[\"off\"])(reference, 'mouseup', this.doClose);\n Object(dom_[\"off\"])(reference, 'mouseleave', this.handleMouseLeave);\n Object(dom_[\"off\"])(reference, 'mouseenter', this.handleMouseEnter);\n Object(dom_[\"off\"])(document, 'click', this.handleDocumentClick);\n }\n }; // CONCATENATED MODULE: ./packages/popover/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_mainvue_type_script_lang_js_ = mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/popover/src/main.vue\n\n /* normalize component */\n\n var main_component = normalizeComponent(src_mainvue_type_script_lang_js_, mainvue_type_template_id_52060272_render, mainvue_type_template_id_52060272_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var main_api;\n }\n\n main_component.options.__file = \"packages/popover/src/main.vue\";\n /* harmony default export */\n\n var main = main_component.exports; // CONCATENATED MODULE: ./packages/popover/src/directive.js\n\n var getReference = function getReference(el, binding, vnode) {\n var _ref = binding.expression ? binding.value : binding.arg;\n\n var popper = vnode.context.$refs[_ref];\n\n if (popper) {\n if (Array.isArray(popper)) {\n popper[0].$refs.reference = el;\n } else {\n popper.$refs.reference = el;\n }\n }\n };\n /* harmony default export */\n\n\n var directive = {\n bind: function bind(el, binding, vnode) {\n getReference(el, binding, vnode);\n },\n inserted: function inserted(el, binding, vnode) {\n getReference(el, binding, vnode);\n }\n }; // CONCATENATED MODULE: ./packages/popover/index.js\n\n external_vue_default.a.directive('popover', directive);\n /* istanbul ignore next */\n\n main.install = function (Vue) {\n Vue.directive('popover', directive);\n Vue.component(main.name, main);\n };\n\n main.directive = directive;\n /* harmony default export */\n\n var popover = main; // CONCATENATED MODULE: ./packages/tooltip/src/main.js\n\n /* harmony default export */\n\n var src_main = {\n name: 'ElTooltip',\n mixins: [vue_popper_default.a],\n props: {\n openDelay: {\n type: Number,\n \"default\": 0\n },\n disabled: Boolean,\n manual: Boolean,\n effect: {\n type: String,\n \"default\": 'dark'\n },\n arrowOffset: {\n type: Number,\n \"default\": 0\n },\n popperClass: String,\n content: String,\n visibleArrow: {\n \"default\": true\n },\n transition: {\n type: String,\n \"default\": 'el-fade-in-linear'\n },\n popperOptions: {\n \"default\": function _default() {\n return {\n boundariesPadding: 10,\n gpuAcceleration: false\n };\n }\n },\n enterable: {\n type: Boolean,\n \"default\": true\n },\n hideAfter: {\n type: Number,\n \"default\": 0\n },\n tabindex: {\n type: Number,\n \"default\": 0\n }\n },\n data: function data() {\n return {\n tooltipId: 'el-tooltip-' + Object(util_[\"generateId\"])(),\n timeoutPending: null,\n focusing: false\n };\n },\n beforeCreate: function beforeCreate() {\n var _this = this;\n\n if (this.$isServer) return;\n this.popperVM = new external_vue_default.a({\n data: {\n node: ''\n },\n render: function render(h) {\n return this.node;\n }\n }).$mount();\n this.debounceClose = debounce_default()(200, function () {\n return _this.handleClosePopper();\n });\n },\n render: function render(h) {\n var _this2 = this;\n\n if (this.popperVM) {\n this.popperVM.node = h('transition', {\n attrs: {\n name: this.transition\n },\n on: {\n 'afterLeave': this.doDestroy\n }\n }, [h('div', {\n on: {\n 'mouseleave': function mouseleave() {\n _this2.setExpectedState(false);\n\n _this2.debounceClose();\n },\n 'mouseenter': function mouseenter() {\n _this2.setExpectedState(true);\n }\n },\n ref: 'popper',\n attrs: {\n role: 'tooltip',\n id: this.tooltipId,\n 'aria-hidden': this.disabled || !this.showPopper ? 'true' : 'false'\n },\n directives: [{\n name: 'show',\n value: !this.disabled && this.showPopper\n }],\n 'class': ['el-tooltip__popper', 'is-' + this.effect, this.popperClass]\n }, [this.$slots.content || this.content])]);\n }\n\n var firstElement = this.getFirstElement();\n if (!firstElement) return null;\n var data = firstElement.data = firstElement.data || {};\n data.staticClass = this.addTooltipClass(data.staticClass);\n return firstElement;\n },\n mounted: function mounted() {\n var _this3 = this;\n\n this.referenceElm = this.$el;\n\n if (this.$el.nodeType === 1) {\n this.$el.setAttribute('aria-describedby', this.tooltipId);\n this.$el.setAttribute('tabindex', this.tabindex);\n Object(dom_[\"on\"])(this.referenceElm, 'mouseenter', this.show);\n Object(dom_[\"on\"])(this.referenceElm, 'mouseleave', this.hide);\n Object(dom_[\"on\"])(this.referenceElm, 'focus', function () {\n if (!_this3.$slots[\"default\"] || !_this3.$slots[\"default\"].length) {\n _this3.handleFocus();\n\n return;\n }\n\n var instance = _this3.$slots[\"default\"][0].componentInstance;\n\n if (instance && instance.focus) {\n instance.focus();\n } else {\n _this3.handleFocus();\n }\n });\n Object(dom_[\"on\"])(this.referenceElm, 'blur', this.handleBlur);\n Object(dom_[\"on\"])(this.referenceElm, 'click', this.removeFocusing);\n } // fix issue https://github.com/ElemeFE/element/issues/14424\n\n\n if (this.value && this.popperVM) {\n this.popperVM.$nextTick(function () {\n if (_this3.value) {\n _this3.updatePopper();\n }\n });\n }\n },\n watch: {\n focusing: function focusing(val) {\n if (val) {\n Object(dom_[\"addClass\"])(this.referenceElm, 'focusing');\n } else {\n Object(dom_[\"removeClass\"])(this.referenceElm, 'focusing');\n }\n }\n },\n methods: {\n show: function show() {\n this.setExpectedState(true);\n this.handleShowPopper();\n },\n hide: function hide() {\n this.setExpectedState(false);\n this.debounceClose();\n },\n handleFocus: function handleFocus() {\n this.focusing = true;\n this.show();\n },\n handleBlur: function handleBlur() {\n this.focusing = false;\n this.hide();\n },\n removeFocusing: function removeFocusing() {\n this.focusing = false;\n },\n addTooltipClass: function addTooltipClass(prev) {\n if (!prev) {\n return 'el-tooltip';\n } else {\n return 'el-tooltip ' + prev.replace('el-tooltip', '');\n }\n },\n handleShowPopper: function handleShowPopper() {\n var _this4 = this;\n\n if (!this.expectedState || this.manual) return;\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n _this4.showPopper = true;\n }, this.openDelay);\n\n if (this.hideAfter > 0) {\n this.timeoutPending = setTimeout(function () {\n _this4.showPopper = false;\n }, this.hideAfter);\n }\n },\n handleClosePopper: function handleClosePopper() {\n if (this.enterable && this.expectedState || this.manual) return;\n clearTimeout(this.timeout);\n\n if (this.timeoutPending) {\n clearTimeout(this.timeoutPending);\n }\n\n this.showPopper = false;\n\n if (this.disabled) {\n this.doDestroy();\n }\n },\n setExpectedState: function setExpectedState(expectedState) {\n if (expectedState === false) {\n clearTimeout(this.timeoutPending);\n }\n\n this.expectedState = expectedState;\n },\n getFirstElement: function getFirstElement() {\n var slots = this.$slots[\"default\"];\n if (!Array.isArray(slots)) return null;\n var element = null;\n\n for (var index = 0; index < slots.length; index++) {\n if (slots[index] && slots[index].tag) {\n element = slots[index];\n break;\n }\n\n ;\n }\n\n return element;\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.popperVM && this.popperVM.$destroy();\n },\n destroyed: function destroyed() {\n var reference = this.referenceElm;\n\n if (reference.nodeType === 1) {\n Object(dom_[\"off\"])(reference, 'mouseenter', this.show);\n Object(dom_[\"off\"])(reference, 'mouseleave', this.hide);\n Object(dom_[\"off\"])(reference, 'focus', this.handleFocus);\n Object(dom_[\"off\"])(reference, 'blur', this.handleBlur);\n Object(dom_[\"off\"])(reference, 'click', this.removeFocusing);\n }\n }\n }; // CONCATENATED MODULE: ./packages/tooltip/index.js\n\n /* istanbul ignore next */\n\n src_main.install = function (Vue) {\n Vue.component(src_main.name, src_main);\n };\n /* harmony default export */\n\n\n var packages_tooltip = src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/message-box/src/main.vue?vue&type=template&id=6b29b012&\n\n var mainvue_type_template_id_6b29b012_render = function mainvue_type_template_id_6b29b012_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"msgbox-fade\"\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-message-box__wrapper\",\n attrs: {\n tabindex: \"-1\",\n role: \"dialog\",\n \"aria-modal\": \"true\",\n \"aria-label\": _vm.title || \"dialog\"\n },\n on: {\n click: function click($event) {\n if ($event.target !== $event.currentTarget) {\n return null;\n }\n\n return _vm.handleWrapperClick($event);\n }\n }\n }, [_c(\"div\", {\n staticClass: \"el-message-box\",\n \"class\": [_vm.customClass, _vm.center && \"el-message-box--center\"]\n }, [_vm.title !== null ? _c(\"div\", {\n staticClass: \"el-message-box__header\"\n }, [_c(\"div\", {\n staticClass: \"el-message-box__title\"\n }, [_vm.icon && _vm.center ? _c(\"div\", {\n \"class\": [\"el-message-box__status\", _vm.icon]\n }) : _vm._e(), _c(\"span\", [_vm._v(_vm._s(_vm.title))])]), _vm.showClose ? _c(\"button\", {\n staticClass: \"el-message-box__headerbtn\",\n attrs: {\n type: \"button\",\n \"aria-label\": \"Close\"\n },\n on: {\n click: function click($event) {\n _vm.handleAction(_vm.distinguishCancelAndClose ? \"close\" : \"cancel\");\n },\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n _vm.handleAction(_vm.distinguishCancelAndClose ? \"close\" : \"cancel\");\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-message-box__close el-icon-close\"\n })]) : _vm._e()]) : _vm._e(), _c(\"div\", {\n staticClass: \"el-message-box__content\"\n }, [_c(\"div\", {\n staticClass: \"el-message-box__container\"\n }, [_vm.icon && !_vm.center && _vm.message !== \"\" ? _c(\"div\", {\n \"class\": [\"el-message-box__status\", _vm.icon]\n }) : _vm._e(), _vm.message !== \"\" ? _c(\"div\", {\n staticClass: \"el-message-box__message\"\n }, [_vm._t(\"default\", [!_vm.dangerouslyUseHTMLString ? _c(\"p\", [_vm._v(_vm._s(_vm.message))]) : _c(\"p\", {\n domProps: {\n innerHTML: _vm._s(_vm.message)\n }\n })])], 2) : _vm._e()]), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showInput,\n expression: \"showInput\"\n }],\n staticClass: \"el-message-box__input\"\n }, [_c(\"el-input\", {\n ref: \"input\",\n attrs: {\n type: _vm.inputType,\n placeholder: _vm.inputPlaceholder\n },\n nativeOn: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.handleInputEnter($event);\n }\n },\n model: {\n value: _vm.inputValue,\n callback: function callback($$v) {\n _vm.inputValue = $$v;\n },\n expression: \"inputValue\"\n }\n }), _c(\"div\", {\n staticClass: \"el-message-box__errormsg\",\n style: {\n visibility: !!_vm.editorErrorMessage ? \"visible\" : \"hidden\"\n }\n }, [_vm._v(_vm._s(_vm.editorErrorMessage))])], 1)]), _c(\"div\", {\n staticClass: \"el-message-box__btns\"\n }, [_vm.showCancelButton ? _c(\"el-button\", {\n \"class\": [_vm.cancelButtonClasses],\n attrs: {\n loading: _vm.cancelButtonLoading,\n round: _vm.roundButton,\n size: \"small\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n _vm.handleAction(\"cancel\");\n }\n },\n nativeOn: {\n click: function click($event) {\n _vm.handleAction(\"cancel\");\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.cancelButtonText || _vm.t(\"el.messagebox.cancel\")) + \"\\n \")]) : _vm._e(), _c(\"el-button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showConfirmButton,\n expression: \"showConfirmButton\"\n }],\n ref: \"confirm\",\n \"class\": [_vm.confirmButtonClasses],\n attrs: {\n loading: _vm.confirmButtonLoading,\n round: _vm.roundButton,\n size: \"small\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n _vm.handleAction(\"confirm\");\n }\n },\n nativeOn: {\n click: function click($event) {\n _vm.handleAction(\"confirm\");\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.confirmButtonText || _vm.t(\"el.messagebox.confirm\")) + \"\\n \")])], 1)])])]);\n };\n\n var mainvue_type_template_id_6b29b012_staticRenderFns = [];\n mainvue_type_template_id_6b29b012_render._withStripped = true; // CONCATENATED MODULE: ./packages/message-box/src/main.vue?vue&type=template&id=6b29b012&\n // EXTERNAL MODULE: external \"element-ui/lib/locale\"\n\n var lib_locale_ = __webpack_require__(12);\n\n var lib_locale_default =\n /*#__PURE__*/\n __webpack_require__.n(lib_locale_); // EXTERNAL MODULE: external \"element-ui/lib/utils/aria-dialog\"\n\n\n var aria_dialog_ = __webpack_require__(40);\n\n var aria_dialog_default =\n /*#__PURE__*/\n __webpack_require__.n(aria_dialog_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/message-box/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var messageBox = void 0;\n var typeMap = {\n success: 'success',\n info: 'info',\n warning: 'warning',\n error: 'error'\n };\n /* harmony default export */\n\n var message_box_src_mainvue_type_script_lang_js_ = {\n mixins: [popup_default.a, locale_default.a],\n props: {\n modal: {\n \"default\": true\n },\n lockScroll: {\n \"default\": true\n },\n showClose: {\n type: Boolean,\n \"default\": true\n },\n closeOnClickModal: {\n \"default\": true\n },\n closeOnPressEscape: {\n \"default\": true\n },\n closeOnHashChange: {\n \"default\": true\n },\n center: {\n \"default\": false,\n type: Boolean\n },\n roundButton: {\n \"default\": false,\n type: Boolean\n }\n },\n components: {\n ElInput: input_default.a,\n ElButton: button_default.a\n },\n computed: {\n icon: function icon() {\n var type = this.type,\n iconClass = this.iconClass;\n return iconClass || (type && typeMap[type] ? 'el-icon-' + typeMap[type] : '');\n },\n confirmButtonClasses: function confirmButtonClasses() {\n return 'el-button--primary ' + this.confirmButtonClass;\n },\n cancelButtonClasses: function cancelButtonClasses() {\n return '' + this.cancelButtonClass;\n }\n },\n methods: {\n getSafeClose: function getSafeClose() {\n var _this = this;\n\n var currentId = this.uid;\n return function () {\n _this.$nextTick(function () {\n if (currentId === _this.uid) _this.doClose();\n });\n };\n },\n doClose: function doClose() {\n var _this2 = this;\n\n if (!this.visible) return;\n this.visible = false;\n this._closing = true;\n this.onClose && this.onClose();\n messageBox.closeDialog(); // 解绑\n\n if (this.lockScroll) {\n setTimeout(this.restoreBodyStyle, 200);\n }\n\n this.opened = false;\n this.doAfterClose();\n setTimeout(function () {\n if (_this2.action) _this2.callback(_this2.action, _this2);\n });\n },\n handleWrapperClick: function handleWrapperClick() {\n if (this.closeOnClickModal) {\n this.handleAction(this.distinguishCancelAndClose ? 'close' : 'cancel');\n }\n },\n handleInputEnter: function handleInputEnter() {\n if (this.inputType !== 'textarea') {\n return this.handleAction('confirm');\n }\n },\n handleAction: function handleAction(action) {\n if (this.$type === 'prompt' && action === 'confirm' && !this.validate()) {\n return;\n }\n\n this.action = action;\n\n if (typeof this.beforeClose === 'function') {\n this.close = this.getSafeClose();\n this.beforeClose(action, this, this.close);\n } else {\n this.doClose();\n }\n },\n validate: function validate() {\n if (this.$type === 'prompt') {\n var inputPattern = this.inputPattern;\n\n if (inputPattern && !inputPattern.test(this.inputValue || '')) {\n this.editorErrorMessage = this.inputErrorMessage || Object(lib_locale_[\"t\"])('el.messagebox.error');\n Object(dom_[\"addClass\"])(this.getInputElement(), 'invalid');\n return false;\n }\n\n var inputValidator = this.inputValidator;\n\n if (typeof inputValidator === 'function') {\n var validateResult = inputValidator(this.inputValue);\n\n if (validateResult === false) {\n this.editorErrorMessage = this.inputErrorMessage || Object(lib_locale_[\"t\"])('el.messagebox.error');\n Object(dom_[\"addClass\"])(this.getInputElement(), 'invalid');\n return false;\n }\n\n if (typeof validateResult === 'string') {\n this.editorErrorMessage = validateResult;\n Object(dom_[\"addClass\"])(this.getInputElement(), 'invalid');\n return false;\n }\n }\n }\n\n this.editorErrorMessage = '';\n Object(dom_[\"removeClass\"])(this.getInputElement(), 'invalid');\n return true;\n },\n getFirstFocus: function getFirstFocus() {\n var btn = this.$el.querySelector('.el-message-box__btns .el-button');\n var title = this.$el.querySelector('.el-message-box__btns .el-message-box__title');\n return btn || title;\n },\n getInputElement: function getInputElement() {\n var inputRefs = this.$refs.input.$refs;\n return inputRefs.input || inputRefs.textarea;\n },\n handleClose: function handleClose() {\n this.handleAction('close');\n }\n },\n watch: {\n inputValue: {\n immediate: true,\n handler: function handler(val) {\n var _this3 = this;\n\n this.$nextTick(function (_) {\n if (_this3.$type === 'prompt' && val !== null) {\n _this3.validate();\n }\n });\n }\n },\n visible: function visible(val) {\n var _this4 = this;\n\n if (val) {\n this.uid++;\n\n if (this.$type === 'alert' || this.$type === 'confirm') {\n this.$nextTick(function () {\n _this4.$refs.confirm.$el.focus();\n });\n }\n\n this.focusAfterClosed = document.activeElement;\n messageBox = new aria_dialog_default.a(this.$el, this.focusAfterClosed, this.getFirstFocus());\n } // prompt\n\n\n if (this.$type !== 'prompt') return;\n\n if (val) {\n setTimeout(function () {\n if (_this4.$refs.input && _this4.$refs.input.$el) {\n _this4.getInputElement().focus();\n }\n }, 500);\n } else {\n this.editorErrorMessage = '';\n Object(dom_[\"removeClass\"])(this.getInputElement(), 'invalid');\n }\n }\n },\n mounted: function mounted() {\n var _this5 = this;\n\n this.$nextTick(function () {\n if (_this5.closeOnHashChange) {\n window.addEventListener('hashchange', _this5.close);\n }\n });\n },\n beforeDestroy: function beforeDestroy() {\n if (this.closeOnHashChange) {\n window.removeEventListener('hashchange', this.close);\n }\n\n setTimeout(function () {\n messageBox.closeDialog();\n });\n },\n data: function data() {\n return {\n uid: 1,\n title: undefined,\n message: '',\n type: '',\n iconClass: '',\n customClass: '',\n showInput: false,\n inputValue: null,\n inputPlaceholder: '',\n inputType: 'text',\n inputPattern: null,\n inputValidator: null,\n inputErrorMessage: '',\n showConfirmButton: true,\n showCancelButton: false,\n action: '',\n confirmButtonText: '',\n cancelButtonText: '',\n confirmButtonLoading: false,\n cancelButtonLoading: false,\n confirmButtonClass: '',\n confirmButtonDisabled: false,\n cancelButtonClass: '',\n editorErrorMessage: null,\n callback: null,\n dangerouslyUseHTMLString: false,\n focusAfterClosed: null,\n isOnComposition: false,\n distinguishCancelAndClose: false\n };\n }\n }; // CONCATENATED MODULE: ./packages/message-box/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_message_box_src_mainvue_type_script_lang_js_ = message_box_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/message-box/src/main.vue\n\n /* normalize component */\n\n var src_main_component = normalizeComponent(packages_message_box_src_mainvue_type_script_lang_js_, mainvue_type_template_id_6b29b012_render, mainvue_type_template_id_6b29b012_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var src_main_api;\n }\n\n src_main_component.options.__file = \"packages/message-box/src/main.vue\";\n /* harmony default export */\n\n var message_box_src_main = src_main_component.exports; // EXTERNAL MODULE: external \"element-ui/lib/utils/vdom\"\n\n var vdom_ = __webpack_require__(22); // CONCATENATED MODULE: ./packages/message-box/src/main.js\n\n\n var main_typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n var main_defaults = {\n title: null,\n message: '',\n type: '',\n iconClass: '',\n showInput: false,\n showClose: true,\n modalFade: true,\n lockScroll: true,\n closeOnClickModal: true,\n closeOnPressEscape: true,\n closeOnHashChange: true,\n inputValue: null,\n inputPlaceholder: '',\n inputType: 'text',\n inputPattern: null,\n inputValidator: null,\n inputErrorMessage: '',\n showConfirmButton: true,\n showCancelButton: false,\n confirmButtonPosition: 'right',\n confirmButtonHighlight: false,\n cancelButtonHighlight: false,\n confirmButtonText: '',\n cancelButtonText: '',\n confirmButtonClass: '',\n cancelButtonClass: '',\n customClass: '',\n beforeClose: null,\n dangerouslyUseHTMLString: false,\n center: false,\n roundButton: false,\n distinguishCancelAndClose: false\n };\n var MessageBoxConstructor = external_vue_default.a.extend(message_box_src_main);\n var currentMsg = void 0,\n main_instance = void 0;\n var msgQueue = [];\n\n var defaultCallback = function defaultCallback(action) {\n if (currentMsg) {\n var callback = currentMsg.callback;\n\n if (typeof callback === 'function') {\n if (main_instance.showInput) {\n callback(main_instance.inputValue, action);\n } else {\n callback(action);\n }\n }\n\n if (currentMsg.resolve) {\n if (action === 'confirm') {\n if (main_instance.showInput) {\n currentMsg.resolve({\n value: main_instance.inputValue,\n action: action\n });\n } else {\n currentMsg.resolve(action);\n }\n } else if (currentMsg.reject && (action === 'cancel' || action === 'close')) {\n currentMsg.reject(action);\n }\n }\n }\n };\n\n var initInstance = function initInstance() {\n main_instance = new MessageBoxConstructor({\n el: document.createElement('div')\n });\n main_instance.callback = defaultCallback;\n };\n\n var main_showNextMsg = function showNextMsg() {\n if (!main_instance) {\n initInstance();\n }\n\n main_instance.action = '';\n\n if (!main_instance.visible || main_instance.closeTimer) {\n if (msgQueue.length > 0) {\n currentMsg = msgQueue.shift();\n var options = currentMsg.options;\n\n for (var prop in options) {\n if (options.hasOwnProperty(prop)) {\n main_instance[prop] = options[prop];\n }\n }\n\n if (options.callback === undefined) {\n main_instance.callback = defaultCallback;\n }\n\n var oldCb = main_instance.callback;\n\n main_instance.callback = function (action, instance) {\n oldCb(action, instance);\n showNextMsg();\n };\n\n if (Object(vdom_[\"isVNode\"])(main_instance.message)) {\n main_instance.$slots[\"default\"] = [main_instance.message];\n main_instance.message = null;\n } else {\n delete main_instance.$slots[\"default\"];\n }\n\n ['modal', 'showClose', 'closeOnClickModal', 'closeOnPressEscape', 'closeOnHashChange'].forEach(function (prop) {\n if (main_instance[prop] === undefined) {\n main_instance[prop] = true;\n }\n });\n document.body.appendChild(main_instance.$el);\n external_vue_default.a.nextTick(function () {\n main_instance.visible = true;\n });\n }\n }\n };\n\n var main_MessageBox = function MessageBox(options, callback) {\n if (external_vue_default.a.prototype.$isServer) return;\n\n if (typeof options === 'string' || Object(vdom_[\"isVNode\"])(options)) {\n options = {\n message: options\n };\n\n if (typeof arguments[1] === 'string') {\n options.title = arguments[1];\n }\n } else if (options.callback && !callback) {\n callback = options.callback;\n }\n\n if (typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n // eslint-disable-line\n msgQueue.push({\n options: merge_default()({}, main_defaults, MessageBox.defaults, options),\n callback: callback,\n resolve: resolve,\n reject: reject\n });\n main_showNextMsg();\n });\n } else {\n msgQueue.push({\n options: merge_default()({}, main_defaults, MessageBox.defaults, options),\n callback: callback\n });\n main_showNextMsg();\n }\n };\n\n main_MessageBox.setDefaults = function (defaults) {\n main_MessageBox.defaults = defaults;\n };\n\n main_MessageBox.alert = function (message, title, options) {\n if ((typeof title === 'undefined' ? 'undefined' : main_typeof(title)) === 'object') {\n options = title;\n title = '';\n } else if (title === undefined) {\n title = '';\n }\n\n return main_MessageBox(merge_default()({\n title: title,\n message: message,\n $type: 'alert',\n closeOnPressEscape: false,\n closeOnClickModal: false\n }, options));\n };\n\n main_MessageBox.confirm = function (message, title, options) {\n if ((typeof title === 'undefined' ? 'undefined' : main_typeof(title)) === 'object') {\n options = title;\n title = '';\n } else if (title === undefined) {\n title = '';\n }\n\n return main_MessageBox(merge_default()({\n title: title,\n message: message,\n $type: 'confirm',\n showCancelButton: true\n }, options));\n };\n\n main_MessageBox.prompt = function (message, title, options) {\n if ((typeof title === 'undefined' ? 'undefined' : main_typeof(title)) === 'object') {\n options = title;\n title = '';\n } else if (title === undefined) {\n title = '';\n }\n\n return main_MessageBox(merge_default()({\n title: title,\n message: message,\n showCancelButton: true,\n showInput: true,\n $type: 'prompt'\n }, options));\n };\n\n main_MessageBox.close = function () {\n main_instance.doClose();\n main_instance.visible = false;\n msgQueue = [];\n currentMsg = null;\n };\n /* harmony default export */\n\n\n var packages_message_box_src_main = main_MessageBox; // CONCATENATED MODULE: ./packages/message-box/index.js\n\n /* harmony default export */\n\n var message_box = packages_message_box_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=4b464c06&\n\n var breadcrumbvue_type_template_id_4b464c06_render = function breadcrumbvue_type_template_id_4b464c06_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-breadcrumb\",\n attrs: {\n \"aria-label\": \"Breadcrumb\",\n role: \"navigation\"\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var breadcrumbvue_type_template_id_4b464c06_staticRenderFns = [];\n breadcrumbvue_type_template_id_4b464c06_render._withStripped = true; // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=4b464c06&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var breadcrumbvue_type_script_lang_js_ = {\n name: 'ElBreadcrumb',\n props: {\n separator: {\n type: String,\n \"default\": '/'\n },\n separatorClass: {\n type: String,\n \"default\": ''\n }\n },\n provide: function provide() {\n return {\n elBreadcrumb: this\n };\n },\n mounted: function mounted() {\n var items = this.$el.querySelectorAll('.el-breadcrumb__item');\n\n if (items.length) {\n items[items.length - 1].setAttribute('aria-current', 'page');\n }\n }\n }; // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_breadcrumbvue_type_script_lang_js_ = breadcrumbvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue\n\n /* normalize component */\n\n var breadcrumb_component = normalizeComponent(src_breadcrumbvue_type_script_lang_js_, breadcrumbvue_type_template_id_4b464c06_render, breadcrumbvue_type_template_id_4b464c06_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var breadcrumb_api;\n }\n\n breadcrumb_component.options.__file = \"packages/breadcrumb/src/breadcrumb.vue\";\n /* harmony default export */\n\n var breadcrumb = breadcrumb_component.exports; // CONCATENATED MODULE: ./packages/breadcrumb/index.js\n\n /* istanbul ignore next */\n\n breadcrumb.install = function (Vue) {\n Vue.component(breadcrumb.name, breadcrumb);\n };\n /* harmony default export */\n\n\n var packages_breadcrumb = breadcrumb; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=template&id=fcf9eaac&\n\n var breadcrumb_itemvue_type_template_id_fcf9eaac_render = function breadcrumb_itemvue_type_template_id_fcf9eaac_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"span\", {\n staticClass: \"el-breadcrumb__item\"\n }, [_c(\"span\", {\n ref: \"link\",\n \"class\": [\"el-breadcrumb__inner\", _vm.to ? \"is-link\" : \"\"],\n attrs: {\n role: \"link\"\n }\n }, [_vm._t(\"default\")], 2), _vm.separatorClass ? _c(\"i\", {\n staticClass: \"el-breadcrumb__separator\",\n \"class\": _vm.separatorClass\n }) : _c(\"span\", {\n staticClass: \"el-breadcrumb__separator\",\n attrs: {\n role: \"presentation\"\n }\n }, [_vm._v(_vm._s(_vm.separator))])]);\n };\n\n var breadcrumb_itemvue_type_template_id_fcf9eaac_staticRenderFns = [];\n breadcrumb_itemvue_type_template_id_fcf9eaac_render._withStripped = true; // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=template&id=fcf9eaac&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var breadcrumb_itemvue_type_script_lang_js_ = {\n name: 'ElBreadcrumbItem',\n props: {\n to: {},\n replace: Boolean\n },\n data: function data() {\n return {\n separator: '',\n separatorClass: ''\n };\n },\n inject: ['elBreadcrumb'],\n mounted: function mounted() {\n var _this = this;\n\n this.separator = this.elBreadcrumb.separator;\n this.separatorClass = this.elBreadcrumb.separatorClass;\n var link = this.$refs.link;\n link.setAttribute('role', 'link');\n link.addEventListener('click', function (_) {\n var to = _this.to,\n $router = _this.$router;\n if (!to || !$router) return;\n _this.replace ? $router.replace(to) : $router.push(to);\n });\n }\n }; // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_breadcrumb_itemvue_type_script_lang_js_ = breadcrumb_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue\n\n /* normalize component */\n\n var breadcrumb_item_component = normalizeComponent(src_breadcrumb_itemvue_type_script_lang_js_, breadcrumb_itemvue_type_template_id_fcf9eaac_render, breadcrumb_itemvue_type_template_id_fcf9eaac_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var breadcrumb_item_api;\n }\n\n breadcrumb_item_component.options.__file = \"packages/breadcrumb/src/breadcrumb-item.vue\";\n /* harmony default export */\n\n var breadcrumb_item = breadcrumb_item_component.exports; // CONCATENATED MODULE: ./packages/breadcrumb-item/index.js\n\n /* istanbul ignore next */\n\n breadcrumb_item.install = function (Vue) {\n Vue.component(breadcrumb_item.name, breadcrumb_item);\n };\n /* harmony default export */\n\n\n var packages_breadcrumb_item = breadcrumb_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=a1b5ff34&\n\n var formvue_type_template_id_a1b5ff34_render = function formvue_type_template_id_a1b5ff34_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"form\", {\n staticClass: \"el-form\",\n \"class\": [_vm.labelPosition ? \"el-form--label-\" + _vm.labelPosition : \"\", {\n \"el-form--inline\": _vm.inline\n }]\n }, [_vm._t(\"default\")], 2);\n };\n\n var formvue_type_template_id_a1b5ff34_staticRenderFns = [];\n formvue_type_template_id_a1b5ff34_render._withStripped = true; // CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=a1b5ff34&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var formvue_type_script_lang_js_ = {\n name: 'ElForm',\n componentName: 'ElForm',\n provide: function provide() {\n return {\n elForm: this\n };\n },\n props: {\n model: Object,\n rules: Object,\n labelPosition: String,\n labelWidth: String,\n labelSuffix: {\n type: String,\n \"default\": ''\n },\n inline: Boolean,\n inlineMessage: Boolean,\n statusIcon: Boolean,\n showMessage: {\n type: Boolean,\n \"default\": true\n },\n size: String,\n disabled: Boolean,\n validateOnRuleChange: {\n type: Boolean,\n \"default\": true\n },\n hideRequiredAsterisk: {\n type: Boolean,\n \"default\": false\n }\n },\n watch: {\n rules: function rules() {\n // remove then add event listeners on form-item after form rules change\n this.fields.forEach(function (field) {\n field.removeValidateEvents();\n field.addValidateEvents();\n });\n\n if (this.validateOnRuleChange) {\n this.validate(function () {});\n }\n }\n },\n computed: {\n autoLabelWidth: function autoLabelWidth() {\n if (!this.potentialLabelWidthArr.length) return 0;\n var max = Math.max.apply(Math, this.potentialLabelWidthArr);\n return max ? max + 'px' : '';\n }\n },\n data: function data() {\n return {\n fields: [],\n potentialLabelWidthArr: [] // use this array to calculate auto width\n\n };\n },\n created: function created() {\n var _this = this;\n\n this.$on('el.form.addField', function (field) {\n if (field) {\n _this.fields.push(field);\n }\n });\n /* istanbul ignore next */\n\n this.$on('el.form.removeField', function (field) {\n if (field.prop) {\n _this.fields.splice(_this.fields.indexOf(field), 1);\n }\n });\n },\n methods: {\n resetFields: function resetFields() {\n if (!this.model) {\n console.warn('[Element Warn][Form]model is required for resetFields to work.');\n return;\n }\n\n this.fields.forEach(function (field) {\n field.resetField();\n });\n },\n clearValidate: function clearValidate() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var fields = props.length ? typeof props === 'string' ? this.fields.filter(function (field) {\n return props === field.prop;\n }) : this.fields.filter(function (field) {\n return props.indexOf(field.prop) > -1;\n }) : this.fields;\n fields.forEach(function (field) {\n field.clearValidate();\n });\n },\n validate: function validate(callback) {\n var _this2 = this;\n\n if (!this.model) {\n console.warn('[Element Warn][Form]model is required for validate to work!');\n return;\n }\n\n var promise = void 0; // if no callback, return promise\n\n if (typeof callback !== 'function' && window.Promise) {\n promise = new window.Promise(function (resolve, reject) {\n callback = function callback(valid, invalidFields) {\n valid ? resolve(valid) : reject(invalidFields);\n };\n });\n }\n\n var valid = true;\n var count = 0; // 如果需è¦éªŒè¯çš„fields为空,调用验è¯æ—¶ç«‹åˆ»è¿”回callback\n\n if (this.fields.length === 0 && callback) {\n callback(true);\n }\n\n var invalidFields = {};\n this.fields.forEach(function (field) {\n field.validate('', function (message, field) {\n if (message) {\n valid = false;\n }\n\n invalidFields = merge_default()({}, invalidFields, field);\n\n if (typeof callback === 'function' && ++count === _this2.fields.length) {\n callback(valid, invalidFields);\n }\n });\n });\n\n if (promise) {\n return promise;\n }\n },\n validateField: function validateField(props, cb) {\n props = [].concat(props);\n var fields = this.fields.filter(function (field) {\n return props.indexOf(field.prop) !== -1;\n });\n\n if (!fields.length) {\n console.warn('[Element Warn]please pass correct props!');\n return;\n }\n\n fields.forEach(function (field) {\n field.validate('', cb);\n });\n },\n getLabelWidthIndex: function getLabelWidthIndex(width) {\n var index = this.potentialLabelWidthArr.indexOf(width); // it's impossible\n\n if (index === -1) {\n throw new Error('[ElementForm]unpected width ', width);\n }\n\n return index;\n },\n registerLabelWidth: function registerLabelWidth(val, oldVal) {\n if (val && oldVal) {\n var index = this.getLabelWidthIndex(oldVal);\n this.potentialLabelWidthArr.splice(index, 1, val);\n } else if (val) {\n this.potentialLabelWidthArr.push(val);\n }\n },\n deregisterLabelWidth: function deregisterLabelWidth(val) {\n var index = this.getLabelWidthIndex(val);\n this.potentialLabelWidthArr.splice(index, 1);\n }\n }\n }; // CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_formvue_type_script_lang_js_ = formvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/form/src/form.vue\n\n /* normalize component */\n\n var form_component = normalizeComponent(src_formvue_type_script_lang_js_, formvue_type_template_id_a1b5ff34_render, formvue_type_template_id_a1b5ff34_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var form_api;\n }\n\n form_component.options.__file = \"packages/form/src/form.vue\";\n /* harmony default export */\n\n var src_form = form_component.exports; // CONCATENATED MODULE: ./packages/form/index.js\n\n /* istanbul ignore next */\n\n src_form.install = function (Vue) {\n Vue.component(src_form.name, src_form);\n };\n /* harmony default export */\n\n\n var packages_form = src_form; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=template&id=b6f3db6c&\n\n var form_itemvue_type_template_id_b6f3db6c_render = function form_itemvue_type_template_id_b6f3db6c_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-form-item\",\n \"class\": [{\n \"el-form-item--feedback\": _vm.elForm && _vm.elForm.statusIcon,\n \"is-error\": _vm.validateState === \"error\",\n \"is-validating\": _vm.validateState === \"validating\",\n \"is-success\": _vm.validateState === \"success\",\n \"is-required\": _vm.isRequired || _vm.required,\n \"is-no-asterisk\": _vm.elForm && _vm.elForm.hideRequiredAsterisk\n }, _vm.sizeClass ? \"el-form-item--\" + _vm.sizeClass : \"\"]\n }, [_c(\"label-wrap\", {\n attrs: {\n \"is-auto-width\": _vm.labelStyle && _vm.labelStyle.width === \"auto\",\n \"update-all\": _vm.form.labelWidth === \"auto\"\n }\n }, [_vm.label || _vm.$slots.label ? _c(\"label\", {\n staticClass: \"el-form-item__label\",\n style: _vm.labelStyle,\n attrs: {\n \"for\": _vm.labelFor\n }\n }, [_vm._t(\"label\", [_vm._v(_vm._s(_vm.label + _vm.form.labelSuffix))])], 2) : _vm._e()]), _c(\"div\", {\n staticClass: \"el-form-item__content\",\n style: _vm.contentStyle\n }, [_vm._t(\"default\"), _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n }\n }, [_vm.validateState === \"error\" && _vm.showMessage && _vm.form.showMessage ? _vm._t(\"error\", [_c(\"div\", {\n staticClass: \"el-form-item__error\",\n \"class\": {\n \"el-form-item__error--inline\": typeof _vm.inlineMessage === \"boolean\" ? _vm.inlineMessage : _vm.elForm && _vm.elForm.inlineMessage || false\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.validateMessage) + \"\\n \")])], {\n error: _vm.validateMessage\n }) : _vm._e()], 2)], 2)], 1);\n };\n\n var form_itemvue_type_template_id_b6f3db6c_staticRenderFns = [];\n form_itemvue_type_template_id_b6f3db6c_render._withStripped = true; // CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=b6f3db6c&\n // EXTERNAL MODULE: external \"async-validator\"\n\n var external_async_validator_ = __webpack_require__(41);\n\n var external_async_validator_default =\n /*#__PURE__*/\n __webpack_require__.n(external_async_validator_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/label-wrap.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var label_wrapvue_type_script_lang_js_ = {\n props: {\n isAutoWidth: Boolean,\n updateAll: Boolean\n },\n inject: ['elForm', 'elFormItem'],\n render: function render() {\n var h = arguments[0];\n var slots = this.$slots[\"default\"];\n if (!slots) return null;\n\n if (this.isAutoWidth) {\n var autoLabelWidth = this.elForm.autoLabelWidth;\n var style = {};\n\n if (autoLabelWidth && autoLabelWidth !== 'auto') {\n var marginLeft = parseInt(autoLabelWidth, 10) - this.computedWidth;\n\n if (marginLeft) {\n style.marginLeft = marginLeft + 'px';\n }\n }\n\n return h('div', {\n 'class': 'el-form-item__label-wrap',\n style: style\n }, [slots]);\n } else {\n return slots[0];\n }\n },\n methods: {\n getLabelWidth: function getLabelWidth() {\n if (this.$el && this.$el.firstElementChild) {\n var computedWidth = window.getComputedStyle(this.$el.firstElementChild).width;\n return Math.ceil(parseFloat(computedWidth));\n } else {\n return 0;\n }\n },\n updateLabelWidth: function updateLabelWidth() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'update';\n\n if (this.$slots[\"default\"] && this.isAutoWidth && this.$el.firstElementChild) {\n if (action === 'update') {\n this.computedWidth = this.getLabelWidth();\n } else if (action === 'remove') {\n this.elForm.deregisterLabelWidth(this.computedWidth);\n }\n }\n }\n },\n watch: {\n computedWidth: function computedWidth(val, oldVal) {\n if (this.updateAll) {\n this.elForm.registerLabelWidth(val, oldVal);\n this.elFormItem.updateComputedLabelWidth(val);\n }\n }\n },\n data: function data() {\n return {\n computedWidth: 0\n };\n },\n mounted: function mounted() {\n this.updateLabelWidth('update');\n },\n updated: function updated() {\n this.updateLabelWidth('update');\n },\n beforeDestroy: function beforeDestroy() {\n this.updateLabelWidth('remove');\n }\n }; // CONCATENATED MODULE: ./packages/form/src/label-wrap.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_label_wrapvue_type_script_lang_js_ = label_wrapvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/form/src/label-wrap.vue\n\n var label_wrap_render, label_wrap_staticRenderFns;\n /* normalize component */\n\n var label_wrap_component = normalizeComponent(src_label_wrapvue_type_script_lang_js_, label_wrap_render, label_wrap_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var label_wrap_api;\n }\n\n label_wrap_component.options.__file = \"packages/form/src/label-wrap.vue\";\n /* harmony default export */\n\n var label_wrap = label_wrap_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var form_itemvue_type_script_lang_js_ = {\n name: 'ElFormItem',\n componentName: 'ElFormItem',\n mixins: [emitter_default.a],\n provide: function provide() {\n return {\n elFormItem: this\n };\n },\n inject: ['elForm'],\n props: {\n label: String,\n labelWidth: String,\n prop: String,\n required: {\n type: Boolean,\n \"default\": undefined\n },\n rules: [Object, Array],\n error: String,\n validateStatus: String,\n \"for\": String,\n inlineMessage: {\n type: [String, Boolean],\n \"default\": ''\n },\n showMessage: {\n type: Boolean,\n \"default\": true\n },\n size: String\n },\n components: {\n // use this component to calculate auto width\n LabelWrap: label_wrap\n },\n watch: {\n error: {\n immediate: true,\n handler: function handler(value) {\n this.validateMessage = value;\n this.validateState = value ? 'error' : '';\n }\n },\n validateStatus: function validateStatus(value) {\n this.validateState = value;\n },\n rules: function rules(value) {\n if ((!value || value.length === 0) && this.required === undefined) {\n this.clearValidate();\n }\n }\n },\n computed: {\n labelFor: function labelFor() {\n return this[\"for\"] || this.prop;\n },\n labelStyle: function labelStyle() {\n var ret = {};\n if (this.form.labelPosition === 'top') return ret;\n var labelWidth = this.labelWidth || this.form.labelWidth;\n\n if (labelWidth) {\n ret.width = labelWidth;\n }\n\n return ret;\n },\n contentStyle: function contentStyle() {\n var ret = {};\n var label = this.label;\n if (this.form.labelPosition === 'top' || this.form.inline) return ret;\n if (!label && !this.labelWidth && this.isNested) return ret;\n var labelWidth = this.labelWidth || this.form.labelWidth;\n\n if (labelWidth === 'auto') {\n if (this.labelWidth === 'auto') {\n ret.marginLeft = this.computedLabelWidth;\n } else if (this.form.labelWidth === 'auto') {\n ret.marginLeft = this.elForm.autoLabelWidth;\n }\n } else {\n ret.marginLeft = labelWidth;\n }\n\n return ret;\n },\n form: function form() {\n var parent = this.$parent;\n var parentName = parent.$options.componentName;\n\n while (parentName !== 'ElForm') {\n if (parentName === 'ElFormItem') {\n this.isNested = true;\n }\n\n parent = parent.$parent;\n parentName = parent.$options.componentName;\n }\n\n return parent;\n },\n fieldValue: function fieldValue() {\n var model = this.form.model;\n\n if (!model || !this.prop) {\n return;\n }\n\n var path = this.prop;\n\n if (path.indexOf(':') !== -1) {\n path = path.replace(/:/, '.');\n }\n\n return Object(util_[\"getPropByPath\"])(model, path, true).v;\n },\n isRequired: function isRequired() {\n var rules = this.getRules();\n var isRequired = false;\n\n if (rules && rules.length) {\n rules.every(function (rule) {\n if (rule.required) {\n isRequired = true;\n return false;\n }\n\n return true;\n });\n }\n\n return isRequired;\n },\n _formSize: function _formSize() {\n return this.elForm.size;\n },\n elFormItemSize: function elFormItemSize() {\n return this.size || this._formSize;\n },\n sizeClass: function sizeClass() {\n return this.elFormItemSize || (this.$ELEMENT || {}).size;\n }\n },\n data: function data() {\n return {\n validateState: '',\n validateMessage: '',\n validateDisabled: false,\n validator: {},\n isNested: false,\n computedLabelWidth: ''\n };\n },\n methods: {\n validate: function validate(trigger) {\n var _this = this;\n\n var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : util_[\"noop\"];\n this.validateDisabled = false;\n var rules = this.getFilteredRule(trigger);\n\n if ((!rules || rules.length === 0) && this.required === undefined) {\n callback();\n return true;\n }\n\n this.validateState = 'validating';\n var descriptor = {};\n\n if (rules && rules.length > 0) {\n rules.forEach(function (rule) {\n delete rule.trigger;\n });\n }\n\n descriptor[this.prop] = rules;\n var validator = new external_async_validator_default.a(descriptor);\n var model = {};\n model[this.prop] = this.fieldValue;\n validator.validate(model, {\n firstFields: true\n }, function (errors, invalidFields) {\n _this.validateState = !errors ? 'success' : 'error';\n _this.validateMessage = errors ? errors[0].message : '';\n callback(_this.validateMessage, invalidFields);\n _this.elForm && _this.elForm.$emit('validate', _this.prop, !errors, _this.validateMessage || null);\n });\n },\n clearValidate: function clearValidate() {\n this.validateState = '';\n this.validateMessage = '';\n this.validateDisabled = false;\n },\n resetField: function resetField() {\n var _this2 = this;\n\n this.validateState = '';\n this.validateMessage = '';\n var model = this.form.model;\n var value = this.fieldValue;\n var path = this.prop;\n\n if (path.indexOf(':') !== -1) {\n path = path.replace(/:/, '.');\n }\n\n var prop = Object(util_[\"getPropByPath\"])(model, path, true);\n this.validateDisabled = true;\n\n if (Array.isArray(value)) {\n prop.o[prop.k] = [].concat(this.initialValue);\n } else {\n prop.o[prop.k] = this.initialValue;\n } // reset validateDisabled after onFieldChange triggered\n\n\n this.$nextTick(function () {\n _this2.validateDisabled = false;\n });\n this.broadcast('ElTimeSelect', 'fieldReset', this.initialValue);\n },\n getRules: function getRules() {\n var formRules = this.form.rules;\n var selfRules = this.rules;\n var requiredRule = this.required !== undefined ? {\n required: !!this.required\n } : [];\n var prop = Object(util_[\"getPropByPath\"])(formRules, this.prop || '');\n formRules = formRules ? prop.o[this.prop || ''] || prop.v : [];\n return [].concat(selfRules || formRules || []).concat(requiredRule);\n },\n getFilteredRule: function getFilteredRule(trigger) {\n var rules = this.getRules();\n return rules.filter(function (rule) {\n if (!rule.trigger || trigger === '') return true;\n\n if (Array.isArray(rule.trigger)) {\n return rule.trigger.indexOf(trigger) > -1;\n } else {\n return rule.trigger === trigger;\n }\n }).map(function (rule) {\n return merge_default()({}, rule);\n });\n },\n onFieldBlur: function onFieldBlur() {\n this.validate('blur');\n },\n onFieldChange: function onFieldChange() {\n if (this.validateDisabled) {\n this.validateDisabled = false;\n return;\n }\n\n this.validate('change');\n },\n updateComputedLabelWidth: function updateComputedLabelWidth(width) {\n this.computedLabelWidth = width ? width + 'px' : '';\n },\n addValidateEvents: function addValidateEvents() {\n var rules = this.getRules();\n\n if (rules.length || this.required !== undefined) {\n this.$on('el.form.blur', this.onFieldBlur);\n this.$on('el.form.change', this.onFieldChange);\n }\n },\n removeValidateEvents: function removeValidateEvents() {\n this.$off();\n }\n },\n mounted: function mounted() {\n if (this.prop) {\n this.dispatch('ElForm', 'el.form.addField', [this]);\n var initialValue = this.fieldValue;\n\n if (Array.isArray(initialValue)) {\n initialValue = [].concat(initialValue);\n }\n\n Object.defineProperty(this, 'initialValue', {\n value: initialValue\n });\n this.addValidateEvents();\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.dispatch('ElForm', 'el.form.removeField', [this]);\n }\n }; // CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_form_itemvue_type_script_lang_js_ = form_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/form/src/form-item.vue\n\n /* normalize component */\n\n var form_item_component = normalizeComponent(src_form_itemvue_type_script_lang_js_, form_itemvue_type_template_id_b6f3db6c_render, form_itemvue_type_template_id_b6f3db6c_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var form_item_api;\n }\n\n form_item_component.options.__file = \"packages/form/src/form-item.vue\";\n /* harmony default export */\n\n var form_item = form_item_component.exports; // CONCATENATED MODULE: ./packages/form-item/index.js\n\n /* istanbul ignore next */\n\n form_item.install = function (Vue) {\n Vue.component(form_item.name, form_item);\n };\n /* harmony default export */\n\n\n var packages_form_item = form_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-bar.vue?vue&type=template&id=2031f33a&\n\n var tab_barvue_type_template_id_2031f33a_render = function tab_barvue_type_template_id_2031f33a_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-tabs__active-bar\",\n \"class\": \"is-\" + _vm.rootTabs.tabPosition,\n style: _vm.barStyle\n });\n };\n\n var tab_barvue_type_template_id_2031f33a_staticRenderFns = [];\n tab_barvue_type_template_id_2031f33a_render._withStripped = true; // CONCATENATED MODULE: ./packages/tabs/src/tab-bar.vue?vue&type=template&id=2031f33a&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-bar.vue?vue&type=script&lang=js&\n //\n //\n //\n\n /* harmony default export */\n\n var tab_barvue_type_script_lang_js_ = {\n name: 'TabBar',\n props: {\n tabs: Array\n },\n inject: ['rootTabs'],\n computed: {\n barStyle: {\n get: function get() {\n var _this = this;\n\n var style = {};\n var offset = 0;\n var tabSize = 0;\n var sizeName = ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'width' : 'height';\n var sizeDir = sizeName === 'width' ? 'x' : 'y';\n\n var firstUpperCase = function firstUpperCase(str) {\n return str.toLowerCase().replace(/( |^)[a-z]/g, function (L) {\n return L.toUpperCase();\n });\n };\n\n this.tabs.every(function (tab, index) {\n var $el = Object(util_[\"arrayFind\"])(_this.$parent.$refs.tabs || [], function (t) {\n return t.id.replace('tab-', '') === tab.paneName;\n });\n\n if (!$el) {\n return false;\n }\n\n if (!tab.active) {\n offset += $el['client' + firstUpperCase(sizeName)];\n return true;\n } else {\n tabSize = $el['client' + firstUpperCase(sizeName)];\n var tabStyles = window.getComputedStyle($el);\n\n if (sizeName === 'width' && _this.tabs.length > 1) {\n tabSize -= parseFloat(tabStyles.paddingLeft) + parseFloat(tabStyles.paddingRight);\n }\n\n if (sizeName === 'width') {\n offset += parseFloat(tabStyles.paddingLeft);\n }\n\n return false;\n }\n });\n var transform = 'translate' + firstUpperCase(sizeDir) + '(' + offset + 'px)';\n style[sizeName] = tabSize + 'px';\n style.transform = transform;\n style.msTransform = transform;\n style.webkitTransform = transform;\n return style;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/tabs/src/tab-bar.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tab_barvue_type_script_lang_js_ = tab_barvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tabs/src/tab-bar.vue\n\n /* normalize component */\n\n var tab_bar_component = normalizeComponent(src_tab_barvue_type_script_lang_js_, tab_barvue_type_template_id_2031f33a_render, tab_barvue_type_template_id_2031f33a_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tab_bar_api;\n }\n\n tab_bar_component.options.__file = \"packages/tabs/src/tab-bar.vue\";\n /* harmony default export */\n\n var tab_bar = tab_bar_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-nav.vue?vue&type=script&lang=js&\n\n function noop() {}\n\n var tab_navvue_type_script_lang_js_firstUpperCase = function firstUpperCase(str) {\n return str.toLowerCase().replace(/( |^)[a-z]/g, function (L) {\n return L.toUpperCase();\n });\n };\n /* harmony default export */\n\n\n var tab_navvue_type_script_lang_js_ = {\n name: 'TabNav',\n components: {\n TabBar: tab_bar\n },\n inject: ['rootTabs'],\n props: {\n panes: Array,\n currentName: String,\n editable: Boolean,\n onTabClick: {\n type: Function,\n \"default\": noop\n },\n onTabRemove: {\n type: Function,\n \"default\": noop\n },\n type: String,\n stretch: Boolean\n },\n data: function data() {\n return {\n scrollable: false,\n navOffset: 0,\n isFocus: false,\n focusable: true\n };\n },\n computed: {\n navStyle: function navStyle() {\n var dir = ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'X' : 'Y';\n return {\n transform: 'translate' + dir + '(-' + this.navOffset + 'px)'\n };\n },\n sizeName: function sizeName() {\n return ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'width' : 'height';\n }\n },\n methods: {\n scrollPrev: function scrollPrev() {\n var containerSize = this.$refs.navScroll['offset' + tab_navvue_type_script_lang_js_firstUpperCase(this.sizeName)];\n var currentOffset = this.navOffset;\n if (!currentOffset) return;\n var newOffset = currentOffset > containerSize ? currentOffset - containerSize : 0;\n this.navOffset = newOffset;\n },\n scrollNext: function scrollNext() {\n var navSize = this.$refs.nav['offset' + tab_navvue_type_script_lang_js_firstUpperCase(this.sizeName)];\n var containerSize = this.$refs.navScroll['offset' + tab_navvue_type_script_lang_js_firstUpperCase(this.sizeName)];\n var currentOffset = this.navOffset;\n if (navSize - currentOffset <= containerSize) return;\n var newOffset = navSize - currentOffset > containerSize * 2 ? currentOffset + containerSize : navSize - containerSize;\n this.navOffset = newOffset;\n },\n scrollToActiveTab: function scrollToActiveTab() {\n if (!this.scrollable) return;\n var nav = this.$refs.nav;\n var activeTab = this.$el.querySelector('.is-active');\n if (!activeTab) return;\n var navScroll = this.$refs.navScroll;\n var isHorizontal = ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1;\n var activeTabBounding = activeTab.getBoundingClientRect();\n var navScrollBounding = navScroll.getBoundingClientRect();\n var maxOffset = isHorizontal ? nav.offsetWidth - navScrollBounding.width : nav.offsetHeight - navScrollBounding.height;\n var currentOffset = this.navOffset;\n var newOffset = currentOffset;\n\n if (isHorizontal) {\n if (activeTabBounding.left < navScrollBounding.left) {\n newOffset = currentOffset - (navScrollBounding.left - activeTabBounding.left);\n }\n\n if (activeTabBounding.right > navScrollBounding.right) {\n newOffset = currentOffset + activeTabBounding.right - navScrollBounding.right;\n }\n } else {\n if (activeTabBounding.top < navScrollBounding.top) {\n newOffset = currentOffset - (navScrollBounding.top - activeTabBounding.top);\n }\n\n if (activeTabBounding.bottom > navScrollBounding.bottom) {\n newOffset = currentOffset + (activeTabBounding.bottom - navScrollBounding.bottom);\n }\n }\n\n newOffset = Math.max(newOffset, 0);\n this.navOffset = Math.min(newOffset, maxOffset);\n },\n update: function update() {\n if (!this.$refs.nav) return;\n var sizeName = this.sizeName;\n var navSize = this.$refs.nav['offset' + tab_navvue_type_script_lang_js_firstUpperCase(sizeName)];\n var containerSize = this.$refs.navScroll['offset' + tab_navvue_type_script_lang_js_firstUpperCase(sizeName)];\n var currentOffset = this.navOffset;\n\n if (containerSize < navSize) {\n var _currentOffset = this.navOffset;\n this.scrollable = this.scrollable || {};\n this.scrollable.prev = _currentOffset;\n this.scrollable.next = _currentOffset + containerSize < navSize;\n\n if (navSize - _currentOffset < containerSize) {\n this.navOffset = navSize - containerSize;\n }\n } else {\n this.scrollable = false;\n\n if (currentOffset > 0) {\n this.navOffset = 0;\n }\n }\n },\n changeTab: function changeTab(e) {\n var keyCode = e.keyCode;\n var nextIndex = void 0;\n var currentIndex = void 0,\n tabList = void 0;\n\n if ([37, 38, 39, 40].indexOf(keyCode) !== -1) {\n // å·¦å³ä¸Šä¸‹é”®æ›´æ¢tab\n tabList = e.currentTarget.querySelectorAll('[role=tab]');\n currentIndex = Array.prototype.indexOf.call(tabList, e.target);\n } else {\n return;\n }\n\n if (keyCode === 37 || keyCode === 38) {\n // left\n if (currentIndex === 0) {\n // first\n nextIndex = tabList.length - 1;\n } else {\n nextIndex = currentIndex - 1;\n }\n } else {\n // right\n if (currentIndex < tabList.length - 1) {\n // not last\n nextIndex = currentIndex + 1;\n } else {\n nextIndex = 0;\n }\n }\n\n tabList[nextIndex].focus(); // 改å˜ç„¦ç‚¹å…ƒç´ \n\n tabList[nextIndex].click(); // 选ä¸ä¸‹ä¸€ä¸ªtab\n\n this.setFocus();\n },\n setFocus: function setFocus() {\n if (this.focusable) {\n this.isFocus = true;\n }\n },\n removeFocus: function removeFocus() {\n this.isFocus = false;\n },\n visibilityChangeHandler: function visibilityChangeHandler() {\n var _this = this;\n\n var visibility = document.visibilityState;\n\n if (visibility === 'hidden') {\n this.focusable = false;\n } else if (visibility === 'visible') {\n setTimeout(function () {\n _this.focusable = true;\n }, 50);\n }\n },\n windowBlurHandler: function windowBlurHandler() {\n this.focusable = false;\n },\n windowFocusHandler: function windowFocusHandler() {\n var _this2 = this;\n\n setTimeout(function () {\n _this2.focusable = true;\n }, 50);\n }\n },\n updated: function updated() {\n this.update();\n },\n render: function render(h) {\n var _this3 = this;\n\n var type = this.type,\n panes = this.panes,\n editable = this.editable,\n stretch = this.stretch,\n onTabClick = this.onTabClick,\n onTabRemove = this.onTabRemove,\n navStyle = this.navStyle,\n scrollable = this.scrollable,\n scrollNext = this.scrollNext,\n scrollPrev = this.scrollPrev,\n changeTab = this.changeTab,\n setFocus = this.setFocus,\n removeFocus = this.removeFocus;\n var scrollBtn = scrollable ? [h('span', {\n 'class': ['el-tabs__nav-prev', scrollable.prev ? '' : 'is-disabled'],\n on: {\n 'click': scrollPrev\n }\n }, [h('i', {\n 'class': 'el-icon-arrow-left'\n })]), h('span', {\n 'class': ['el-tabs__nav-next', scrollable.next ? '' : 'is-disabled'],\n on: {\n 'click': scrollNext\n }\n }, [h('i', {\n 'class': 'el-icon-arrow-right'\n })])] : null;\n\n var tabs = this._l(panes, function (pane, index) {\n var _ref;\n\n var tabName = pane.name || pane.index || index;\n var closable = pane.isClosable || editable;\n pane.index = '' + index;\n var btnClose = closable ? h('span', {\n 'class': 'el-icon-close',\n on: {\n 'click': function click(ev) {\n onTabRemove(pane, ev);\n }\n }\n }) : null;\n var tabLabelContent = pane.$slots.label || pane.label;\n var tabindex = pane.active ? 0 : -1;\n return h('div', {\n 'class': (_ref = {\n 'el-tabs__item': true\n }, _ref['is-' + _this3.rootTabs.tabPosition] = true, _ref['is-active'] = pane.active, _ref['is-disabled'] = pane.disabled, _ref['is-closable'] = closable, _ref['is-focus'] = _this3.isFocus, _ref),\n attrs: {\n id: 'tab-' + tabName,\n 'aria-controls': 'pane-' + tabName,\n role: 'tab',\n 'aria-selected': pane.active,\n tabindex: tabindex\n },\n key: 'tab-' + tabName,\n ref: 'tabs',\n refInFor: true,\n on: {\n 'focus': function focus() {\n setFocus();\n },\n 'blur': function blur() {\n removeFocus();\n },\n 'click': function click(ev) {\n removeFocus();\n onTabClick(pane, tabName, ev);\n },\n 'keydown': function keydown(ev) {\n if (closable && (ev.keyCode === 46 || ev.keyCode === 8)) {\n onTabRemove(pane, ev);\n }\n }\n }\n }, [tabLabelContent, btnClose]);\n });\n\n return h('div', {\n 'class': ['el-tabs__nav-wrap', scrollable ? 'is-scrollable' : '', 'is-' + this.rootTabs.tabPosition]\n }, [scrollBtn, h('div', {\n 'class': ['el-tabs__nav-scroll'],\n ref: 'navScroll'\n }, [h('div', {\n 'class': ['el-tabs__nav', 'is-' + this.rootTabs.tabPosition, stretch && ['top', 'bottom'].indexOf(this.rootTabs.tabPosition) !== -1 ? 'is-stretch' : ''],\n ref: 'nav',\n style: navStyle,\n attrs: {\n role: 'tablist'\n },\n on: {\n 'keydown': changeTab\n }\n }, [!type ? h('tab-bar', {\n attrs: {\n tabs: panes\n }\n }) : null, tabs])])]);\n },\n mounted: function mounted() {\n var _this4 = this;\n\n Object(resize_event_[\"addResizeListener\"])(this.$el, this.update);\n document.addEventListener('visibilitychange', this.visibilityChangeHandler);\n window.addEventListener('blur', this.windowBlurHandler);\n window.addEventListener('focus', this.windowFocusHandler);\n setTimeout(function () {\n _this4.scrollToActiveTab();\n }, 0);\n },\n beforeDestroy: function beforeDestroy() {\n if (this.$el && this.update) Object(resize_event_[\"removeResizeListener\"])(this.$el, this.update);\n document.removeEventListener('visibilitychange', this.visibilityChangeHandler);\n window.removeEventListener('blur', this.windowBlurHandler);\n window.removeEventListener('focus', this.windowFocusHandler);\n }\n }; // CONCATENATED MODULE: ./packages/tabs/src/tab-nav.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tab_navvue_type_script_lang_js_ = tab_navvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tabs/src/tab-nav.vue\n\n var tab_nav_render, tab_nav_staticRenderFns;\n /* normalize component */\n\n var tab_nav_component = normalizeComponent(src_tab_navvue_type_script_lang_js_, tab_nav_render, tab_nav_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tab_nav_api;\n }\n\n tab_nav_component.options.__file = \"packages/tabs/src/tab-nav.vue\";\n /* harmony default export */\n\n var tab_nav = tab_nav_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tabs.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var tabsvue_type_script_lang_js_ = {\n name: 'ElTabs',\n components: {\n TabNav: tab_nav\n },\n props: {\n type: String,\n activeName: String,\n closable: Boolean,\n addable: Boolean,\n value: {},\n editable: Boolean,\n tabPosition: {\n type: String,\n \"default\": 'top'\n },\n beforeLeave: Function,\n stretch: Boolean\n },\n provide: function provide() {\n return {\n rootTabs: this\n };\n },\n data: function data() {\n return {\n currentName: this.value || this.activeName,\n panes: []\n };\n },\n watch: {\n activeName: function activeName(value) {\n this.setCurrentName(value);\n },\n value: function value(_value) {\n this.setCurrentName(_value);\n },\n currentName: function currentName(value) {\n var _this = this;\n\n if (this.$refs.nav) {\n this.$nextTick(function () {\n _this.$refs.nav.$nextTick(function (_) {\n _this.$refs.nav.scrollToActiveTab();\n });\n });\n }\n }\n },\n methods: {\n calcPaneInstances: function calcPaneInstances() {\n var _this2 = this;\n\n var isForceUpdate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n if (this.$slots[\"default\"]) {\n var paneSlots = this.$slots[\"default\"].filter(function (vnode) {\n return vnode.tag && vnode.componentOptions && vnode.componentOptions.Ctor.options.name === 'ElTabPane';\n }); // update indeed\n\n var panes = paneSlots.map(function (_ref) {\n var componentInstance = _ref.componentInstance;\n return componentInstance;\n });\n var panesChanged = !(panes.length === this.panes.length && panes.every(function (pane, index) {\n return pane === _this2.panes[index];\n }));\n\n if (isForceUpdate || panesChanged) {\n this.panes = panes;\n }\n } else if (this.panes.length !== 0) {\n this.panes = [];\n }\n },\n handleTabClick: function handleTabClick(tab, tabName, event) {\n if (tab.disabled) return;\n this.setCurrentName(tabName);\n this.$emit('tab-click', tab, event);\n },\n handleTabRemove: function handleTabRemove(pane, ev) {\n if (pane.disabled) return;\n ev.stopPropagation();\n this.$emit('edit', pane.name, 'remove');\n this.$emit('tab-remove', pane.name);\n },\n handleTabAdd: function handleTabAdd() {\n this.$emit('edit', null, 'add');\n this.$emit('tab-add');\n },\n setCurrentName: function setCurrentName(value) {\n var _this3 = this;\n\n var changeCurrentName = function changeCurrentName() {\n _this3.currentName = value;\n\n _this3.$emit('input', value);\n };\n\n if (this.currentName !== value && this.beforeLeave) {\n var before = this.beforeLeave(value, this.currentName);\n\n if (before && before.then) {\n before.then(function () {\n changeCurrentName();\n _this3.$refs.nav && _this3.$refs.nav.removeFocus();\n }, function () {// https://github.com/ElemeFE/element/pull/14816\n // ignore promise rejection in `before-leave` hook\n });\n } else if (before !== false) {\n changeCurrentName();\n }\n } else {\n changeCurrentName();\n }\n }\n },\n render: function render(h) {\n var _ref2;\n\n var type = this.type,\n handleTabClick = this.handleTabClick,\n handleTabRemove = this.handleTabRemove,\n handleTabAdd = this.handleTabAdd,\n currentName = this.currentName,\n panes = this.panes,\n editable = this.editable,\n addable = this.addable,\n tabPosition = this.tabPosition,\n stretch = this.stretch;\n var newButton = editable || addable ? h('span', {\n 'class': 'el-tabs__new-tab',\n on: {\n 'click': handleTabAdd,\n 'keydown': function keydown(ev) {\n if (ev.keyCode === 13) {\n handleTabAdd();\n }\n }\n },\n attrs: {\n tabindex: '0'\n }\n }, [h('i', {\n 'class': 'el-icon-premium'\n })]) : null;\n var navData = {\n props: {\n currentName: currentName,\n onTabClick: handleTabClick,\n onTabRemove: handleTabRemove,\n editable: editable,\n type: type,\n panes: panes,\n stretch: stretch\n },\n ref: 'nav'\n };\n var header = h('div', {\n 'class': ['el-tabs__header', 'is-' + tabPosition]\n }, [newButton, h('tab-nav', navData)]);\n var panels = h('div', {\n 'class': 'el-tabs__content'\n }, [this.$slots[\"default\"]]);\n return h('div', {\n 'class': (_ref2 = {\n 'el-tabs': true,\n 'el-tabs--card': type === 'card'\n }, _ref2['el-tabs--' + tabPosition] = true, _ref2['el-tabs--border-card'] = type === 'border-card', _ref2)\n }, [tabPosition !== 'bottom' ? [header, panels] : [panels, header]]);\n },\n created: function created() {\n if (!this.currentName) {\n this.setCurrentName('0');\n }\n\n this.$on('tab-nav-update', this.calcPaneInstances.bind(null, true));\n },\n mounted: function mounted() {\n this.calcPaneInstances();\n },\n updated: function updated() {\n this.calcPaneInstances();\n }\n }; // CONCATENATED MODULE: ./packages/tabs/src/tabs.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tabsvue_type_script_lang_js_ = tabsvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tabs/src/tabs.vue\n\n var tabs_render, tabs_staticRenderFns;\n /* normalize component */\n\n var tabs_component = normalizeComponent(src_tabsvue_type_script_lang_js_, tabs_render, tabs_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tabs_api;\n }\n\n tabs_component.options.__file = \"packages/tabs/src/tabs.vue\";\n /* harmony default export */\n\n var tabs = tabs_component.exports; // CONCATENATED MODULE: ./packages/tabs/index.js\n\n /* istanbul ignore next */\n\n tabs.install = function (Vue) {\n Vue.component(tabs.name, tabs);\n };\n /* harmony default export */\n\n\n var packages_tabs = tabs; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-pane.vue?vue&type=template&id=9145a070&\n\n var tab_panevue_type_template_id_9145a070_render = function tab_panevue_type_template_id_9145a070_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return !_vm.lazy || _vm.loaded || _vm.active ? _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.active,\n expression: \"active\"\n }],\n staticClass: \"el-tab-pane\",\n attrs: {\n role: \"tabpanel\",\n \"aria-hidden\": !_vm.active,\n id: \"pane-\" + _vm.paneName,\n \"aria-labelledby\": \"tab-\" + _vm.paneName\n }\n }, [_vm._t(\"default\")], 2) : _vm._e();\n };\n\n var tab_panevue_type_template_id_9145a070_staticRenderFns = [];\n tab_panevue_type_template_id_9145a070_render._withStripped = true; // CONCATENATED MODULE: ./packages/tabs/src/tab-pane.vue?vue&type=template&id=9145a070&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/tab-pane.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var tab_panevue_type_script_lang_js_ = {\n name: 'ElTabPane',\n componentName: 'ElTabPane',\n props: {\n label: String,\n labelContent: Function,\n name: String,\n closable: Boolean,\n disabled: Boolean,\n lazy: Boolean\n },\n data: function data() {\n return {\n index: null,\n loaded: false\n };\n },\n computed: {\n isClosable: function isClosable() {\n return this.closable || this.$parent.closable;\n },\n active: function active() {\n var active = this.$parent.currentName === (this.name || this.index);\n\n if (active) {\n this.loaded = true;\n }\n\n return active;\n },\n paneName: function paneName() {\n return this.name || this.index;\n }\n },\n updated: function updated() {\n this.$parent.$emit('tab-nav-update');\n }\n }; // CONCATENATED MODULE: ./packages/tabs/src/tab-pane.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tab_panevue_type_script_lang_js_ = tab_panevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tabs/src/tab-pane.vue\n\n /* normalize component */\n\n var tab_pane_component = normalizeComponent(src_tab_panevue_type_script_lang_js_, tab_panevue_type_template_id_9145a070_render, tab_panevue_type_template_id_9145a070_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tab_pane_api;\n }\n\n tab_pane_component.options.__file = \"packages/tabs/src/tab-pane.vue\";\n /* harmony default export */\n\n var tab_pane = tab_pane_component.exports; // CONCATENATED MODULE: ./packages/tab-pane/index.js\n\n /* istanbul ignore next */\n\n tab_pane.install = function (Vue) {\n Vue.component(tab_pane.name, tab_pane);\n };\n /* harmony default export */\n\n\n var packages_tab_pane = tab_pane; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tag/src/tag.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var tagvue_type_script_lang_js_ = {\n name: 'ElTag',\n props: {\n text: String,\n closable: Boolean,\n type: String,\n hit: Boolean,\n disableTransitions: Boolean,\n color: String,\n size: String,\n effect: {\n type: String,\n \"default\": 'light',\n validator: function validator(val) {\n return ['dark', 'light', 'plain'].indexOf(val) !== -1;\n }\n }\n },\n methods: {\n handleClose: function handleClose(event) {\n event.stopPropagation();\n this.$emit('close', event);\n },\n handleClick: function handleClick(event) {\n this.$emit('click', event);\n }\n },\n computed: {\n tagSize: function tagSize() {\n return this.size || (this.$ELEMENT || {}).size;\n }\n },\n render: function render(h) {\n var type = this.type,\n tagSize = this.tagSize,\n hit = this.hit,\n effect = this.effect;\n var classes = ['el-tag', type ? 'el-tag--' + type : '', tagSize ? 'el-tag--' + tagSize : '', effect ? 'el-tag--' + effect : '', hit && 'is-hit'];\n var tagEl = h('span', {\n 'class': classes,\n style: {\n backgroundColor: this.color\n },\n on: {\n 'click': this.handleClick\n }\n }, [this.$slots[\"default\"], this.closable && h('i', {\n 'class': 'el-tag__close el-icon-close',\n on: {\n 'click': this.handleClose\n }\n })]);\n return this.disableTransitions ? tagEl : h('transition', {\n attrs: {\n name: 'el-zoom-in-center'\n }\n }, [tagEl]);\n }\n }; // CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tagvue_type_script_lang_js_ = tagvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tag/src/tag.vue\n\n var tag_render, tag_staticRenderFns;\n /* normalize component */\n\n var tag_component = normalizeComponent(src_tagvue_type_script_lang_js_, tag_render, tag_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tag_api;\n }\n\n tag_component.options.__file = \"packages/tag/src/tag.vue\";\n /* harmony default export */\n\n var src_tag = tag_component.exports; // CONCATENATED MODULE: ./packages/tag/index.js\n\n /* istanbul ignore next */\n\n src_tag.install = function (Vue) {\n Vue.component(src_tag.name, src_tag);\n };\n /* harmony default export */\n\n\n var packages_tag = src_tag; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree.vue?vue&type=template&id=547575a6&\n\n var treevue_type_template_id_547575a6_render = function treevue_type_template_id_547575a6_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-tree\",\n \"class\": {\n \"el-tree--highlight-current\": _vm.highlightCurrent,\n \"is-dragging\": !!_vm.dragState.draggingNode,\n \"is-drop-not-allow\": !_vm.dragState.allowDrop,\n \"is-drop-inner\": _vm.dragState.dropType === \"inner\"\n },\n attrs: {\n role: \"tree\"\n }\n }, [_vm._l(_vm.root.childNodes, function (child) {\n return _c(\"el-tree-node\", {\n key: _vm.getNodeKey(child),\n attrs: {\n node: child,\n props: _vm.props,\n \"render-after-expand\": _vm.renderAfterExpand,\n \"show-checkbox\": _vm.showCheckbox,\n \"render-content\": _vm.renderContent\n },\n on: {\n \"node-expand\": _vm.handleNodeExpand\n }\n });\n }), _vm.isEmpty ? _c(\"div\", {\n staticClass: \"el-tree__empty-block\"\n }, [_c(\"span\", {\n staticClass: \"el-tree__empty-text\"\n }, [_vm._v(_vm._s(_vm.emptyText))])]) : _vm._e(), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.dragState.showDropIndicator,\n expression: \"dragState.showDropIndicator\"\n }],\n ref: \"dropIndicator\",\n staticClass: \"el-tree__drop-indicator\"\n })], 2);\n };\n\n var treevue_type_template_id_547575a6_staticRenderFns = [];\n treevue_type_template_id_547575a6_render._withStripped = true; // CONCATENATED MODULE: ./packages/tree/src/tree.vue?vue&type=template&id=547575a6&\n // CONCATENATED MODULE: ./packages/tree/src/model/util.js\n\n var NODE_KEY = '$treeNodeId';\n\n var markNodeData = function markNodeData(node, data) {\n if (!data || data[NODE_KEY]) return;\n Object.defineProperty(data, NODE_KEY, {\n value: node.id,\n enumerable: false,\n configurable: false,\n writable: false\n });\n };\n\n var util_getNodeKey = function getNodeKey(key, data) {\n if (!key) return data[NODE_KEY];\n return data[key];\n };\n\n var findNearestComponent = function findNearestComponent(element, componentName) {\n var target = element;\n\n while (target && target.tagName !== 'BODY') {\n if (target.__vue__ && target.__vue__.$options.name === componentName) {\n return target.__vue__;\n }\n\n target = target.parentNode;\n }\n\n return null;\n }; // CONCATENATED MODULE: ./packages/tree/src/model/node.js\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 node_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var getChildState = function getChildState(node) {\n var all = true;\n var none = true;\n var allWithoutDisable = true;\n\n for (var i = 0, j = node.length; i < j; i++) {\n var n = node[i];\n\n if (n.checked !== true || n.indeterminate) {\n all = false;\n\n if (!n.disabled) {\n allWithoutDisable = false;\n }\n }\n\n if (n.checked !== false || n.indeterminate) {\n none = false;\n }\n }\n\n return {\n all: all,\n none: none,\n allWithoutDisable: allWithoutDisable,\n half: !all && !none\n };\n };\n\n var reInitChecked = function reInitChecked(node) {\n if (node.childNodes.length === 0 || node.loading) return;\n\n var _getChildState = getChildState(node.childNodes),\n all = _getChildState.all,\n none = _getChildState.none,\n half = _getChildState.half;\n\n if (all) {\n node.checked = true;\n node.indeterminate = false;\n } else if (half) {\n node.checked = false;\n node.indeterminate = true;\n } else if (none) {\n node.checked = false;\n node.indeterminate = false;\n }\n\n var parent = node.parent;\n if (!parent || parent.level === 0) return;\n\n if (!node.store.checkStrictly) {\n reInitChecked(parent);\n }\n };\n\n var getPropertyFromData = function getPropertyFromData(node, prop) {\n var props = node.store.props;\n var data = node.data || {};\n var config = props[prop];\n\n if (typeof config === 'function') {\n return config(data, node);\n } else if (typeof config === 'string') {\n return data[config];\n } else if (typeof config === 'undefined') {\n var dataProp = data[prop];\n return dataProp === undefined ? '' : dataProp;\n }\n };\n\n var nodeIdSeed = 0;\n\n var node_Node = function () {\n function Node(options) {\n node_classCallCheck(this, Node);\n this.id = nodeIdSeed++;\n this.text = null;\n this.checked = false;\n this.indeterminate = false;\n this.data = null;\n this.expanded = false;\n this.parent = null;\n this.visible = true;\n this.isCurrent = false;\n\n for (var name in options) {\n if (options.hasOwnProperty(name)) {\n this[name] = options[name];\n }\n } // internal\n\n\n this.level = 0;\n this.loaded = false;\n this.childNodes = [];\n this.loading = false;\n\n if (this.parent) {\n this.level = this.parent.level + 1;\n }\n\n var store = this.store;\n\n if (!store) {\n throw new Error('[Node]store is required!');\n }\n\n store.registerNode(this);\n var props = store.props;\n\n if (props && typeof props.isLeaf !== 'undefined') {\n var isLeaf = getPropertyFromData(this, 'isLeaf');\n\n if (typeof isLeaf === 'boolean') {\n this.isLeafByUser = isLeaf;\n }\n }\n\n if (store.lazy !== true && this.data) {\n this.setData(this.data);\n\n if (store.defaultExpandAll) {\n this.expanded = true;\n }\n } else if (this.level > 0 && store.lazy && store.defaultExpandAll) {\n this.expand();\n }\n\n if (!Array.isArray(this.data)) {\n markNodeData(this, this.data);\n }\n\n if (!this.data) return;\n var defaultExpandedKeys = store.defaultExpandedKeys;\n var key = store.key;\n\n if (key && defaultExpandedKeys && defaultExpandedKeys.indexOf(this.key) !== -1) {\n this.expand(null, store.autoExpandParent);\n }\n\n if (key && store.currentNodeKey !== undefined && this.key === store.currentNodeKey) {\n store.currentNode = this;\n store.currentNode.isCurrent = true;\n }\n\n if (store.lazy) {\n store._initDefaultCheckedNode(this);\n }\n\n this.updateLeafState();\n }\n\n Node.prototype.setData = function setData(data) {\n if (!Array.isArray(data)) {\n markNodeData(this, data);\n }\n\n this.data = data;\n this.childNodes = [];\n var children = void 0;\n\n if (this.level === 0 && this.data instanceof Array) {\n children = this.data;\n } else {\n children = getPropertyFromData(this, 'children') || [];\n }\n\n for (var i = 0, j = children.length; i < j; i++) {\n this.insertChild({\n data: children[i]\n });\n }\n };\n\n Node.prototype.contains = function contains(target) {\n var deep = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n var walk = function walk(parent) {\n var children = parent.childNodes || [];\n var result = false;\n\n for (var i = 0, j = children.length; i < j; i++) {\n var child = children[i];\n\n if (child === target || deep && walk(child)) {\n result = true;\n break;\n }\n }\n\n return result;\n };\n\n return walk(this);\n };\n\n Node.prototype.remove = function remove() {\n var parent = this.parent;\n\n if (parent) {\n parent.removeChild(this);\n }\n };\n\n Node.prototype.insertChild = function insertChild(child, index, batch) {\n if (!child) throw new Error('insertChild error: child is required.');\n\n if (!(child instanceof Node)) {\n if (!batch) {\n var children = this.getChildren(true) || [];\n\n if (children.indexOf(child.data) === -1) {\n if (typeof index === 'undefined' || index < 0) {\n children.push(child.data);\n } else {\n children.splice(index, 0, child.data);\n }\n }\n }\n\n merge_default()(child, {\n parent: this,\n store: this.store\n });\n child = new Node(child);\n }\n\n child.level = this.level + 1;\n\n if (typeof index === 'undefined' || index < 0) {\n this.childNodes.push(child);\n } else {\n this.childNodes.splice(index, 0, child);\n }\n\n this.updateLeafState();\n };\n\n Node.prototype.insertBefore = function insertBefore(child, ref) {\n var index = void 0;\n\n if (ref) {\n index = this.childNodes.indexOf(ref);\n }\n\n this.insertChild(child, index);\n };\n\n Node.prototype.insertAfter = function insertAfter(child, ref) {\n var index = void 0;\n\n if (ref) {\n index = this.childNodes.indexOf(ref);\n if (index !== -1) index += 1;\n }\n\n this.insertChild(child, index);\n };\n\n Node.prototype.removeChild = function removeChild(child) {\n var children = this.getChildren() || [];\n var dataIndex = children.indexOf(child.data);\n\n if (dataIndex > -1) {\n children.splice(dataIndex, 1);\n }\n\n var index = this.childNodes.indexOf(child);\n\n if (index > -1) {\n this.store && this.store.deregisterNode(child);\n child.parent = null;\n this.childNodes.splice(index, 1);\n }\n\n this.updateLeafState();\n };\n\n Node.prototype.removeChildByData = function removeChildByData(data) {\n var targetNode = null;\n\n for (var i = 0; i < this.childNodes.length; i++) {\n if (this.childNodes[i].data === data) {\n targetNode = this.childNodes[i];\n break;\n }\n }\n\n if (targetNode) {\n this.removeChild(targetNode);\n }\n };\n\n Node.prototype.expand = function expand(callback, expandParent) {\n var _this = this;\n\n var done = function done() {\n if (expandParent) {\n var parent = _this.parent;\n\n while (parent.level > 0) {\n parent.expanded = true;\n parent = parent.parent;\n }\n }\n\n _this.expanded = true;\n if (callback) callback();\n };\n\n if (this.shouldLoadData()) {\n this.loadData(function (data) {\n if (data instanceof Array) {\n if (_this.checked) {\n _this.setChecked(true, true);\n } else if (!_this.store.checkStrictly) {\n reInitChecked(_this);\n }\n\n done();\n }\n });\n } else {\n done();\n }\n };\n\n Node.prototype.doCreateChildren = function doCreateChildren(array) {\n var _this2 = this;\n\n var defaultProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n array.forEach(function (item) {\n _this2.insertChild(merge_default()({\n data: item\n }, defaultProps), undefined, true);\n });\n };\n\n Node.prototype.collapse = function collapse() {\n this.expanded = false;\n };\n\n Node.prototype.shouldLoadData = function shouldLoadData() {\n return this.store.lazy === true && this.store.load && !this.loaded;\n };\n\n Node.prototype.updateLeafState = function updateLeafState() {\n if (this.store.lazy === true && this.loaded !== true && typeof this.isLeafByUser !== 'undefined') {\n this.isLeaf = this.isLeafByUser;\n return;\n }\n\n var childNodes = this.childNodes;\n\n if (!this.store.lazy || this.store.lazy === true && this.loaded === true) {\n this.isLeaf = !childNodes || childNodes.length === 0;\n return;\n }\n\n this.isLeaf = false;\n };\n\n Node.prototype.setChecked = function setChecked(value, deep, recursion, passValue) {\n var _this3 = this;\n\n this.indeterminate = value === 'half';\n this.checked = value === true;\n if (this.store.checkStrictly) return;\n\n if (!(this.shouldLoadData() && !this.store.checkDescendants)) {\n var _getChildState2 = getChildState(this.childNodes),\n all = _getChildState2.all,\n allWithoutDisable = _getChildState2.allWithoutDisable;\n\n if (!this.isLeaf && !all && allWithoutDisable) {\n this.checked = false;\n value = false;\n }\n\n var handleDescendants = function handleDescendants() {\n if (deep) {\n var childNodes = _this3.childNodes;\n\n for (var i = 0, j = childNodes.length; i < j; i++) {\n var child = childNodes[i];\n passValue = passValue || value !== false;\n var isCheck = child.disabled ? child.checked : passValue;\n child.setChecked(isCheck, deep, true, passValue);\n }\n\n var _getChildState3 = getChildState(childNodes),\n half = _getChildState3.half,\n _all = _getChildState3.all;\n\n if (!_all) {\n _this3.checked = _all;\n _this3.indeterminate = half;\n }\n }\n };\n\n if (this.shouldLoadData()) {\n // Only work on lazy load data.\n this.loadData(function () {\n handleDescendants();\n reInitChecked(_this3);\n }, {\n checked: value !== false\n });\n return;\n } else {\n handleDescendants();\n }\n }\n\n var parent = this.parent;\n if (!parent || parent.level === 0) return;\n\n if (!recursion) {\n reInitChecked(parent);\n }\n };\n\n Node.prototype.getChildren = function getChildren() {\n var forceInit = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; // this is data\n\n if (this.level === 0) return this.data;\n var data = this.data;\n if (!data) return null;\n var props = this.store.props;\n var children = 'children';\n\n if (props) {\n children = props.children || 'children';\n }\n\n if (data[children] === undefined) {\n data[children] = null;\n }\n\n if (forceInit && !data[children]) {\n data[children] = [];\n }\n\n return data[children];\n };\n\n Node.prototype.updateChildren = function updateChildren() {\n var _this4 = this;\n\n var newData = this.getChildren() || [];\n var oldData = this.childNodes.map(function (node) {\n return node.data;\n });\n var newDataMap = {};\n var newNodes = [];\n newData.forEach(function (item, index) {\n var key = item[NODE_KEY];\n var isNodeExists = !!key && Object(util_[\"arrayFindIndex\"])(oldData, function (data) {\n return data[NODE_KEY] === key;\n }) >= 0;\n\n if (isNodeExists) {\n newDataMap[key] = {\n index: index,\n data: item\n };\n } else {\n newNodes.push({\n index: index,\n data: item\n });\n }\n });\n\n if (!this.store.lazy) {\n oldData.forEach(function (item) {\n if (!newDataMap[item[NODE_KEY]]) _this4.removeChildByData(item);\n });\n }\n\n newNodes.forEach(function (_ref) {\n var index = _ref.index,\n data = _ref.data;\n\n _this4.insertChild({\n data: data\n }, index);\n });\n this.updateLeafState();\n };\n\n Node.prototype.loadData = function loadData(callback) {\n var _this5 = this;\n\n var defaultProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {\n this.loading = true;\n\n var resolve = function resolve(children) {\n _this5.childNodes = [];\n\n _this5.doCreateChildren(children, defaultProps);\n\n _this5.loaded = true;\n _this5.loading = false;\n\n _this5.updateLeafState();\n\n if (callback) {\n callback.call(_this5, children);\n }\n };\n\n this.store.load(this, resolve);\n } else {\n if (callback) {\n callback.call(this);\n }\n }\n };\n\n _createClass(Node, [{\n key: 'label',\n get: function get() {\n return getPropertyFromData(this, 'label');\n }\n }, {\n key: 'key',\n get: function get() {\n var nodeKey = this.store.key;\n if (this.data) return this.data[nodeKey];\n return null;\n }\n }, {\n key: 'disabled',\n get: function get() {\n return getPropertyFromData(this, 'disabled');\n }\n }, {\n key: 'nextSibling',\n get: function get() {\n var parent = this.parent;\n\n if (parent) {\n var index = parent.childNodes.indexOf(this);\n\n if (index > -1) {\n return parent.childNodes[index + 1];\n }\n }\n\n return null;\n }\n }, {\n key: 'previousSibling',\n get: function get() {\n var parent = this.parent;\n\n if (parent) {\n var index = parent.childNodes.indexOf(this);\n\n if (index > -1) {\n return index > 0 ? parent.childNodes[index - 1] : null;\n }\n }\n\n return null;\n }\n }]);\n\n return Node;\n }();\n /* harmony default export */\n\n\n var model_node = node_Node; // CONCATENATED MODULE: ./packages/tree/src/model/tree-store.js\n\n var tree_store_typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n\n function tree_store_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var tree_store_TreeStore = function () {\n function TreeStore(options) {\n var _this = this;\n\n tree_store_classCallCheck(this, TreeStore);\n this.currentNode = null;\n this.currentNodeKey = null;\n\n for (var option in options) {\n if (options.hasOwnProperty(option)) {\n this[option] = options[option];\n }\n }\n\n this.nodesMap = {};\n this.root = new model_node({\n data: this.data,\n store: this\n });\n\n if (this.lazy && this.load) {\n var loadFn = this.load;\n loadFn(this.root, function (data) {\n _this.root.doCreateChildren(data);\n\n _this._initDefaultCheckedNodes();\n });\n } else {\n this._initDefaultCheckedNodes();\n }\n }\n\n TreeStore.prototype.filter = function filter(value) {\n var filterNodeMethod = this.filterNodeMethod;\n var lazy = this.lazy;\n\n var traverse = function traverse(node) {\n var childNodes = node.root ? node.root.childNodes : node.childNodes;\n childNodes.forEach(function (child) {\n child.visible = filterNodeMethod.call(child, value, child.data, child);\n traverse(child);\n });\n\n if (!node.visible && childNodes.length) {\n var allHidden = true;\n allHidden = !childNodes.some(function (child) {\n return child.visible;\n });\n\n if (node.root) {\n node.root.visible = allHidden === false;\n } else {\n node.visible = allHidden === false;\n }\n }\n\n if (!value) return;\n if (node.visible && !node.isLeaf && !lazy) node.expand();\n };\n\n traverse(this);\n };\n\n TreeStore.prototype.setData = function setData(newVal) {\n var instanceChanged = newVal !== this.root.data;\n\n if (instanceChanged) {\n this.root.setData(newVal);\n\n this._initDefaultCheckedNodes();\n } else {\n this.root.updateChildren();\n }\n };\n\n TreeStore.prototype.getNode = function getNode(data) {\n if (data instanceof model_node) return data;\n var key = (typeof data === 'undefined' ? 'undefined' : tree_store_typeof(data)) !== 'object' ? data : util_getNodeKey(this.key, data);\n return this.nodesMap[key] || null;\n };\n\n TreeStore.prototype.insertBefore = function insertBefore(data, refData) {\n var refNode = this.getNode(refData);\n refNode.parent.insertBefore({\n data: data\n }, refNode);\n };\n\n TreeStore.prototype.insertAfter = function insertAfter(data, refData) {\n var refNode = this.getNode(refData);\n refNode.parent.insertAfter({\n data: data\n }, refNode);\n };\n\n TreeStore.prototype.remove = function remove(data) {\n var node = this.getNode(data);\n\n if (node && node.parent) {\n if (node === this.currentNode) {\n this.currentNode = null;\n }\n\n node.parent.removeChild(node);\n }\n };\n\n TreeStore.prototype.append = function append(data, parentData) {\n var parentNode = parentData ? this.getNode(parentData) : this.root;\n\n if (parentNode) {\n parentNode.insertChild({\n data: data\n });\n }\n };\n\n TreeStore.prototype._initDefaultCheckedNodes = function _initDefaultCheckedNodes() {\n var _this2 = this;\n\n var defaultCheckedKeys = this.defaultCheckedKeys || [];\n var nodesMap = this.nodesMap;\n defaultCheckedKeys.forEach(function (checkedKey) {\n var node = nodesMap[checkedKey];\n\n if (node) {\n node.setChecked(true, !_this2.checkStrictly);\n }\n });\n };\n\n TreeStore.prototype._initDefaultCheckedNode = function _initDefaultCheckedNode(node) {\n var defaultCheckedKeys = this.defaultCheckedKeys || [];\n\n if (defaultCheckedKeys.indexOf(node.key) !== -1) {\n node.setChecked(true, !this.checkStrictly);\n }\n };\n\n TreeStore.prototype.setDefaultCheckedKey = function setDefaultCheckedKey(newVal) {\n if (newVal !== this.defaultCheckedKeys) {\n this.defaultCheckedKeys = newVal;\n\n this._initDefaultCheckedNodes();\n }\n };\n\n TreeStore.prototype.registerNode = function registerNode(node) {\n var key = this.key;\n if (!key || !node || !node.data) return;\n var nodeKey = node.key;\n if (nodeKey !== undefined) this.nodesMap[node.key] = node;\n };\n\n TreeStore.prototype.deregisterNode = function deregisterNode(node) {\n var _this3 = this;\n\n var key = this.key;\n if (!key || !node || !node.data) return;\n node.childNodes.forEach(function (child) {\n _this3.deregisterNode(child);\n });\n delete this.nodesMap[node.key];\n };\n\n TreeStore.prototype.getCheckedNodes = function getCheckedNodes() {\n var leafOnly = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var includeHalfChecked = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var checkedNodes = [];\n\n var traverse = function traverse(node) {\n var childNodes = node.root ? node.root.childNodes : node.childNodes;\n childNodes.forEach(function (child) {\n if ((child.checked || includeHalfChecked && child.indeterminate) && (!leafOnly || leafOnly && child.isLeaf)) {\n checkedNodes.push(child.data);\n }\n\n traverse(child);\n });\n };\n\n traverse(this);\n return checkedNodes;\n };\n\n TreeStore.prototype.getCheckedKeys = function getCheckedKeys() {\n var _this4 = this;\n\n var leafOnly = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n return this.getCheckedNodes(leafOnly).map(function (data) {\n return (data || {})[_this4.key];\n });\n };\n\n TreeStore.prototype.getHalfCheckedNodes = function getHalfCheckedNodes() {\n var nodes = [];\n\n var traverse = function traverse(node) {\n var childNodes = node.root ? node.root.childNodes : node.childNodes;\n childNodes.forEach(function (child) {\n if (child.indeterminate) {\n nodes.push(child.data);\n }\n\n traverse(child);\n });\n };\n\n traverse(this);\n return nodes;\n };\n\n TreeStore.prototype.getHalfCheckedKeys = function getHalfCheckedKeys() {\n var _this5 = this;\n\n return this.getHalfCheckedNodes().map(function (data) {\n return (data || {})[_this5.key];\n });\n };\n\n TreeStore.prototype._getAllNodes = function _getAllNodes() {\n var allNodes = [];\n var nodesMap = this.nodesMap;\n\n for (var nodeKey in nodesMap) {\n if (nodesMap.hasOwnProperty(nodeKey)) {\n allNodes.push(nodesMap[nodeKey]);\n }\n }\n\n return allNodes;\n };\n\n TreeStore.prototype.updateChildren = function updateChildren(key, data) {\n var node = this.nodesMap[key];\n if (!node) return;\n var childNodes = node.childNodes;\n\n for (var i = childNodes.length - 1; i >= 0; i--) {\n var child = childNodes[i];\n this.remove(child.data);\n }\n\n for (var _i = 0, j = data.length; _i < j; _i++) {\n var _child = data[_i];\n this.append(_child, node.data);\n }\n };\n\n TreeStore.prototype._setCheckedKeys = function _setCheckedKeys(key) {\n var leafOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var checkedKeys = arguments[2];\n\n var allNodes = this._getAllNodes().sort(function (a, b) {\n return b.level - a.level;\n });\n\n var cache = Object.create(null);\n var keys = Object.keys(checkedKeys);\n allNodes.forEach(function (node) {\n return node.setChecked(false, false);\n });\n\n for (var i = 0, j = allNodes.length; i < j; i++) {\n var node = allNodes[i];\n var nodeKey = node.data[key].toString();\n var checked = keys.indexOf(nodeKey) > -1;\n\n if (!checked) {\n if (node.checked && !cache[nodeKey]) {\n node.setChecked(false, false);\n }\n\n continue;\n }\n\n var parent = node.parent;\n\n while (parent && parent.level > 0) {\n cache[parent.data[key]] = true;\n parent = parent.parent;\n }\n\n if (node.isLeaf || this.checkStrictly) {\n node.setChecked(true, false);\n continue;\n }\n\n node.setChecked(true, true);\n\n if (leafOnly) {\n (function () {\n node.setChecked(false, false);\n\n var traverse = function traverse(node) {\n var childNodes = node.childNodes;\n childNodes.forEach(function (child) {\n if (!child.isLeaf) {\n child.setChecked(false, false);\n }\n\n traverse(child);\n });\n };\n\n traverse(node);\n })();\n }\n }\n };\n\n TreeStore.prototype.setCheckedNodes = function setCheckedNodes(array) {\n var leafOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var key = this.key;\n var checkedKeys = {};\n array.forEach(function (item) {\n checkedKeys[(item || {})[key]] = true;\n });\n\n this._setCheckedKeys(key, leafOnly, checkedKeys);\n };\n\n TreeStore.prototype.setCheckedKeys = function setCheckedKeys(keys) {\n var leafOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n this.defaultCheckedKeys = keys;\n var key = this.key;\n var checkedKeys = {};\n keys.forEach(function (key) {\n checkedKeys[key] = true;\n });\n\n this._setCheckedKeys(key, leafOnly, checkedKeys);\n };\n\n TreeStore.prototype.setDefaultExpandedKeys = function setDefaultExpandedKeys(keys) {\n var _this6 = this;\n\n keys = keys || [];\n this.defaultExpandedKeys = keys;\n keys.forEach(function (key) {\n var node = _this6.getNode(key);\n\n if (node) node.expand(null, _this6.autoExpandParent);\n });\n };\n\n TreeStore.prototype.setChecked = function setChecked(data, checked, deep) {\n var node = this.getNode(data);\n\n if (node) {\n node.setChecked(!!checked, deep);\n }\n };\n\n TreeStore.prototype.getCurrentNode = function getCurrentNode() {\n return this.currentNode;\n };\n\n TreeStore.prototype.setCurrentNode = function setCurrentNode(currentNode) {\n var prevCurrentNode = this.currentNode;\n\n if (prevCurrentNode) {\n prevCurrentNode.isCurrent = false;\n }\n\n this.currentNode = currentNode;\n this.currentNode.isCurrent = true;\n };\n\n TreeStore.prototype.setUserCurrentNode = function setUserCurrentNode(node) {\n var key = node[this.key];\n var currNode = this.nodesMap[key];\n this.setCurrentNode(currNode);\n };\n\n TreeStore.prototype.setCurrentNodeKey = function setCurrentNodeKey(key) {\n if (key === null || key === undefined) {\n this.currentNode && (this.currentNode.isCurrent = false);\n this.currentNode = null;\n return;\n }\n\n var node = this.getNode(key);\n\n if (node) {\n this.setCurrentNode(node);\n }\n };\n\n return TreeStore;\n }();\n /* harmony default export */\n\n\n var tree_store = tree_store_TreeStore;\n ; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree-node.vue?vue&type=template&id=3ba3ef0e&\n\n var tree_nodevue_type_template_id_3ba3ef0e_render = function tree_nodevue_type_template_id_3ba3ef0e_render() {\n var this$1 = this;\n\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.node.visible,\n expression: \"node.visible\"\n }],\n ref: \"node\",\n staticClass: \"el-tree-node\",\n \"class\": {\n \"is-expanded\": _vm.expanded,\n \"is-current\": _vm.node.isCurrent,\n \"is-hidden\": !_vm.node.visible,\n \"is-focusable\": !_vm.node.disabled,\n \"is-checked\": !_vm.node.disabled && _vm.node.checked\n },\n attrs: {\n role: \"treeitem\",\n tabindex: \"-1\",\n \"aria-expanded\": _vm.expanded,\n \"aria-disabled\": _vm.node.disabled,\n \"aria-checked\": _vm.node.checked,\n draggable: _vm.tree.draggable\n },\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.handleClick($event);\n },\n contextmenu: function contextmenu($event) {\n return this$1.handleContextMenu($event);\n },\n dragstart: function dragstart($event) {\n $event.stopPropagation();\n return _vm.handleDragStart($event);\n },\n dragover: function dragover($event) {\n $event.stopPropagation();\n return _vm.handleDragOver($event);\n },\n dragend: function dragend($event) {\n $event.stopPropagation();\n return _vm.handleDragEnd($event);\n },\n drop: function drop($event) {\n $event.stopPropagation();\n return _vm.handleDrop($event);\n }\n }\n }, [_c(\"div\", {\n staticClass: \"el-tree-node__content\",\n style: {\n \"padding-left\": (_vm.node.level - 1) * _vm.tree.indent + \"px\"\n }\n }, [_c(\"span\", {\n \"class\": [{\n \"is-leaf\": _vm.node.isLeaf,\n expanded: !_vm.node.isLeaf && _vm.expanded\n }, \"el-tree-node__expand-icon\", _vm.tree.iconClass ? _vm.tree.iconClass : \"el-icon-caret-right\"],\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.handleExpandIconClick($event);\n }\n }\n }), _vm.showCheckbox ? _c(\"el-checkbox\", {\n attrs: {\n indeterminate: _vm.node.indeterminate,\n disabled: !!_vm.node.disabled\n },\n on: {\n change: _vm.handleCheckChange\n },\n nativeOn: {\n click: function click($event) {\n $event.stopPropagation();\n }\n },\n model: {\n value: _vm.node.checked,\n callback: function callback($$v) {\n _vm.$set(_vm.node, \"checked\", $$v);\n },\n expression: \"node.checked\"\n }\n }) : _vm._e(), _vm.node.loading ? _c(\"span\", {\n staticClass: \"el-tree-node__loading-icon el-icon-loading\"\n }) : _vm._e(), _c(\"node-content\", {\n attrs: {\n node: _vm.node\n }\n })], 1), _c(\"el-collapse-transition\", [!_vm.renderAfterExpand || _vm.childNodeRendered ? _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.expanded,\n expression: \"expanded\"\n }],\n staticClass: \"el-tree-node__children\",\n attrs: {\n role: \"group\",\n \"aria-expanded\": _vm.expanded\n }\n }, _vm._l(_vm.node.childNodes, function (child) {\n return _c(\"el-tree-node\", {\n key: _vm.getNodeKey(child),\n attrs: {\n \"render-content\": _vm.renderContent,\n \"render-after-expand\": _vm.renderAfterExpand,\n \"show-checkbox\": _vm.showCheckbox,\n node: child\n },\n on: {\n \"node-expand\": _vm.handleChildNodeExpand\n }\n });\n }), 1) : _vm._e()])], 1);\n };\n\n var tree_nodevue_type_template_id_3ba3ef0e_staticRenderFns = [];\n tree_nodevue_type_template_id_3ba3ef0e_render._withStripped = true; // CONCATENATED MODULE: ./packages/tree/src/tree-node.vue?vue&type=template&id=3ba3ef0e&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree-node.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var tree_nodevue_type_script_lang_js_ = {\n name: 'ElTreeNode',\n componentName: 'ElTreeNode',\n mixins: [emitter_default.a],\n props: {\n node: {\n \"default\": function _default() {\n return {};\n }\n },\n props: {},\n renderContent: Function,\n renderAfterExpand: {\n type: Boolean,\n \"default\": true\n },\n showCheckbox: {\n type: Boolean,\n \"default\": false\n }\n },\n components: {\n ElCollapseTransition: collapse_transition_default.a,\n ElCheckbox: checkbox_default.a,\n NodeContent: {\n props: {\n node: {\n required: true\n }\n },\n render: function render(h) {\n var parent = this.$parent;\n var tree = parent.tree;\n var node = this.node;\n var data = node.data,\n store = node.store;\n return parent.renderContent ? parent.renderContent.call(parent._renderProxy, h, {\n _self: tree.$vnode.context,\n node: node,\n data: data,\n store: store\n }) : tree.$scopedSlots[\"default\"] ? tree.$scopedSlots[\"default\"]({\n node: node,\n data: data\n }) : h('span', {\n 'class': 'el-tree-node__label'\n }, [node.label]);\n }\n }\n },\n data: function data() {\n return {\n tree: null,\n expanded: false,\n childNodeRendered: false,\n oldChecked: null,\n oldIndeterminate: null\n };\n },\n watch: {\n 'node.indeterminate': function nodeIndeterminate(val) {\n this.handleSelectChange(this.node.checked, val);\n },\n 'node.checked': function nodeChecked(val) {\n this.handleSelectChange(val, this.node.indeterminate);\n },\n 'node.expanded': function nodeExpanded(val) {\n var _this = this;\n\n this.$nextTick(function () {\n return _this.expanded = val;\n });\n\n if (val) {\n this.childNodeRendered = true;\n }\n }\n },\n methods: {\n getNodeKey: function getNodeKey(node) {\n return util_getNodeKey(this.tree.nodeKey, node.data);\n },\n handleSelectChange: function handleSelectChange(checked, indeterminate) {\n if (this.oldChecked !== checked && this.oldIndeterminate !== indeterminate) {\n this.tree.$emit('check-change', this.node.data, checked, indeterminate);\n }\n\n this.oldChecked = checked;\n this.indeterminate = indeterminate;\n },\n handleClick: function handleClick() {\n var store = this.tree.store;\n store.setCurrentNode(this.node);\n this.tree.$emit('current-change', store.currentNode ? store.currentNode.data : null, store.currentNode);\n this.tree.currentNode = this;\n\n if (this.tree.expandOnClickNode) {\n this.handleExpandIconClick();\n }\n\n if (this.tree.checkOnClickNode && !this.node.disabled) {\n this.handleCheckChange(null, {\n target: {\n checked: !this.node.checked\n }\n });\n }\n\n this.tree.$emit('node-click', this.node.data, this.node, this);\n },\n handleContextMenu: function handleContextMenu(event) {\n if (this.tree._events['node-contextmenu'] && this.tree._events['node-contextmenu'].length > 0) {\n event.stopPropagation();\n event.preventDefault();\n }\n\n this.tree.$emit('node-contextmenu', event, this.node.data, this.node, this);\n },\n handleExpandIconClick: function handleExpandIconClick() {\n if (this.node.isLeaf) return;\n\n if (this.expanded) {\n this.tree.$emit('node-collapse', this.node.data, this.node, this);\n this.node.collapse();\n } else {\n this.node.expand();\n this.$emit('node-expand', this.node.data, this.node, this);\n }\n },\n handleCheckChange: function handleCheckChange(value, ev) {\n var _this2 = this;\n\n this.node.setChecked(ev.target.checked, !this.tree.checkStrictly);\n this.$nextTick(function () {\n var store = _this2.tree.store;\n\n _this2.tree.$emit('check', _this2.node.data, {\n checkedNodes: store.getCheckedNodes(),\n checkedKeys: store.getCheckedKeys(),\n halfCheckedNodes: store.getHalfCheckedNodes(),\n halfCheckedKeys: store.getHalfCheckedKeys()\n });\n });\n },\n handleChildNodeExpand: function handleChildNodeExpand(nodeData, node, instance) {\n this.broadcast('ElTreeNode', 'tree-node-expand', node);\n this.tree.$emit('node-expand', nodeData, node, instance);\n },\n handleDragStart: function handleDragStart(event) {\n if (!this.tree.draggable) return;\n this.tree.$emit('tree-node-drag-start', event, this);\n },\n handleDragOver: function handleDragOver(event) {\n if (!this.tree.draggable) return;\n this.tree.$emit('tree-node-drag-over', event, this);\n event.preventDefault();\n },\n handleDrop: function handleDrop(event) {\n event.preventDefault();\n },\n handleDragEnd: function handleDragEnd(event) {\n if (!this.tree.draggable) return;\n this.tree.$emit('tree-node-drag-end', event, this);\n }\n },\n created: function created() {\n var _this3 = this;\n\n var parent = this.$parent;\n\n if (parent.isTree) {\n this.tree = parent;\n } else {\n this.tree = parent.tree;\n }\n\n var tree = this.tree;\n\n if (!tree) {\n console.warn('Can not find node\\'s tree.');\n }\n\n var props = tree.props || {};\n var childrenKey = props['children'] || 'children';\n this.$watch('node.data.' + childrenKey, function () {\n _this3.node.updateChildren();\n });\n\n if (this.node.expanded) {\n this.expanded = true;\n this.childNodeRendered = true;\n }\n\n if (this.tree.accordion) {\n this.$on('tree-node-expand', function (node) {\n if (_this3.node !== node) {\n _this3.node.collapse();\n }\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/tree/src/tree-node.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tree_nodevue_type_script_lang_js_ = tree_nodevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tree/src/tree-node.vue\n\n /* normalize component */\n\n var tree_node_component = normalizeComponent(src_tree_nodevue_type_script_lang_js_, tree_nodevue_type_template_id_3ba3ef0e_render, tree_nodevue_type_template_id_3ba3ef0e_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tree_node_api;\n }\n\n tree_node_component.options.__file = \"packages/tree/src/tree-node.vue\";\n /* harmony default export */\n\n var tree_node = tree_node_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tree/src/tree.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var treevue_type_script_lang_js_ = {\n name: 'ElTree',\n mixins: [emitter_default.a],\n components: {\n ElTreeNode: tree_node\n },\n data: function data() {\n return {\n store: null,\n root: null,\n currentNode: null,\n treeItems: null,\n checkboxItems: [],\n dragState: {\n showDropIndicator: false,\n draggingNode: null,\n dropNode: null,\n allowDrop: true\n }\n };\n },\n props: {\n data: {\n type: Array\n },\n emptyText: {\n type: String,\n \"default\": function _default() {\n return Object(lib_locale_[\"t\"])('el.tree.emptyText');\n }\n },\n renderAfterExpand: {\n type: Boolean,\n \"default\": true\n },\n nodeKey: String,\n checkStrictly: Boolean,\n defaultExpandAll: Boolean,\n expandOnClickNode: {\n type: Boolean,\n \"default\": true\n },\n checkOnClickNode: Boolean,\n checkDescendants: {\n type: Boolean,\n \"default\": false\n },\n autoExpandParent: {\n type: Boolean,\n \"default\": true\n },\n defaultCheckedKeys: Array,\n defaultExpandedKeys: Array,\n currentNodeKey: [String, Number],\n renderContent: Function,\n showCheckbox: {\n type: Boolean,\n \"default\": false\n },\n draggable: {\n type: Boolean,\n \"default\": false\n },\n allowDrag: Function,\n allowDrop: Function,\n props: {\n \"default\": function _default() {\n return {\n children: 'children',\n label: 'label',\n disabled: 'disabled'\n };\n }\n },\n lazy: {\n type: Boolean,\n \"default\": false\n },\n highlightCurrent: Boolean,\n load: Function,\n filterNodeMethod: Function,\n accordion: Boolean,\n indent: {\n type: Number,\n \"default\": 18\n },\n iconClass: String\n },\n computed: {\n children: {\n set: function set(value) {\n this.data = value;\n },\n get: function get() {\n return this.data;\n }\n },\n treeItemArray: function treeItemArray() {\n return Array.prototype.slice.call(this.treeItems);\n },\n isEmpty: function isEmpty() {\n var childNodes = this.root.childNodes;\n return !childNodes || childNodes.length === 0 || childNodes.every(function (_ref) {\n var visible = _ref.visible;\n return !visible;\n });\n }\n },\n watch: {\n defaultCheckedKeys: function defaultCheckedKeys(newVal) {\n this.store.setDefaultCheckedKey(newVal);\n },\n defaultExpandedKeys: function defaultExpandedKeys(newVal) {\n this.store.defaultExpandedKeys = newVal;\n this.store.setDefaultExpandedKeys(newVal);\n },\n data: function data(newVal) {\n this.store.setData(newVal);\n },\n checkboxItems: function checkboxItems(val) {\n Array.prototype.forEach.call(val, function (checkbox) {\n checkbox.setAttribute('tabindex', -1);\n });\n },\n checkStrictly: function checkStrictly(newVal) {\n this.store.checkStrictly = newVal;\n }\n },\n methods: {\n filter: function filter(value) {\n if (!this.filterNodeMethod) throw new Error('[Tree] filterNodeMethod is required when filter');\n this.store.filter(value);\n },\n getNodeKey: function getNodeKey(node) {\n return util_getNodeKey(this.nodeKey, node.data);\n },\n getNodePath: function getNodePath(data) {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in getNodePath');\n var node = this.store.getNode(data);\n if (!node) return [];\n var path = [node.data];\n var parent = node.parent;\n\n while (parent && parent !== this.root) {\n path.push(parent.data);\n parent = parent.parent;\n }\n\n return path.reverse();\n },\n getCheckedNodes: function getCheckedNodes(leafOnly, includeHalfChecked) {\n return this.store.getCheckedNodes(leafOnly, includeHalfChecked);\n },\n getCheckedKeys: function getCheckedKeys(leafOnly) {\n return this.store.getCheckedKeys(leafOnly);\n },\n getCurrentNode: function getCurrentNode() {\n var currentNode = this.store.getCurrentNode();\n return currentNode ? currentNode.data : null;\n },\n getCurrentKey: function getCurrentKey() {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in getCurrentKey');\n var currentNode = this.getCurrentNode();\n return currentNode ? currentNode[this.nodeKey] : null;\n },\n setCheckedNodes: function setCheckedNodes(nodes, leafOnly) {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCheckedNodes');\n this.store.setCheckedNodes(nodes, leafOnly);\n },\n setCheckedKeys: function setCheckedKeys(keys, leafOnly) {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCheckedKeys');\n this.store.setCheckedKeys(keys, leafOnly);\n },\n setChecked: function setChecked(data, checked, deep) {\n this.store.setChecked(data, checked, deep);\n },\n getHalfCheckedNodes: function getHalfCheckedNodes() {\n return this.store.getHalfCheckedNodes();\n },\n getHalfCheckedKeys: function getHalfCheckedKeys() {\n return this.store.getHalfCheckedKeys();\n },\n setCurrentNode: function setCurrentNode(node) {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCurrentNode');\n this.store.setUserCurrentNode(node);\n },\n setCurrentKey: function setCurrentKey(key) {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in setCurrentKey');\n this.store.setCurrentNodeKey(key);\n },\n getNode: function getNode(data) {\n return this.store.getNode(data);\n },\n remove: function remove(data) {\n this.store.remove(data);\n },\n append: function append(data, parentNode) {\n this.store.append(data, parentNode);\n },\n insertBefore: function insertBefore(data, refNode) {\n this.store.insertBefore(data, refNode);\n },\n insertAfter: function insertAfter(data, refNode) {\n this.store.insertAfter(data, refNode);\n },\n handleNodeExpand: function handleNodeExpand(nodeData, node, instance) {\n this.broadcast('ElTreeNode', 'tree-node-expand', node);\n this.$emit('node-expand', nodeData, node, instance);\n },\n updateKeyChildren: function updateKeyChildren(key, data) {\n if (!this.nodeKey) throw new Error('[Tree] nodeKey is required in updateKeyChild');\n this.store.updateChildren(key, data);\n },\n initTabIndex: function initTabIndex() {\n this.treeItems = this.$el.querySelectorAll('.is-focusable[role=treeitem]');\n this.checkboxItems = this.$el.querySelectorAll('input[type=checkbox]');\n var checkedItem = this.$el.querySelectorAll('.is-checked[role=treeitem]');\n\n if (checkedItem.length) {\n checkedItem[0].setAttribute('tabindex', 0);\n return;\n }\n\n this.treeItems[0] && this.treeItems[0].setAttribute('tabindex', 0);\n },\n handleKeydown: function handleKeydown(ev) {\n var currentItem = ev.target;\n if (currentItem.className.indexOf('el-tree-node') === -1) return;\n var keyCode = ev.keyCode;\n this.treeItems = this.$el.querySelectorAll('.is-focusable[role=treeitem]');\n var currentIndex = this.treeItemArray.indexOf(currentItem);\n var nextIndex = void 0;\n\n if ([38, 40].indexOf(keyCode) > -1) {\n // upã€down\n ev.preventDefault();\n\n if (keyCode === 38) {\n // up\n nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0;\n } else {\n nextIndex = currentIndex < this.treeItemArray.length - 1 ? currentIndex + 1 : 0;\n }\n\n this.treeItemArray[nextIndex].focus(); // 选ä¸\n }\n\n if ([37, 39].indexOf(keyCode) > -1) {\n // leftã€right 展开\n ev.preventDefault();\n currentItem.click(); // 选ä¸\n }\n\n var hasInput = currentItem.querySelector('[type=\"checkbox\"]');\n\n if ([13, 32].indexOf(keyCode) > -1 && hasInput) {\n // space enter选ä¸checkbox\n ev.preventDefault();\n hasInput.click();\n }\n }\n },\n created: function created() {\n var _this = this;\n\n this.isTree = true;\n this.store = new tree_store({\n key: this.nodeKey,\n data: this.data,\n lazy: this.lazy,\n props: this.props,\n load: this.load,\n currentNodeKey: this.currentNodeKey,\n checkStrictly: this.checkStrictly,\n checkDescendants: this.checkDescendants,\n defaultCheckedKeys: this.defaultCheckedKeys,\n defaultExpandedKeys: this.defaultExpandedKeys,\n autoExpandParent: this.autoExpandParent,\n defaultExpandAll: this.defaultExpandAll,\n filterNodeMethod: this.filterNodeMethod\n });\n this.root = this.store.root;\n var dragState = this.dragState;\n this.$on('tree-node-drag-start', function (event, treeNode) {\n if (typeof _this.allowDrag === 'function' && !_this.allowDrag(treeNode.node)) {\n event.preventDefault();\n return false;\n }\n\n event.dataTransfer.effectAllowed = 'move'; // wrap in try catch to address IE's error when first param is 'text/plain'\n\n try {\n // setData is required for draggable to work in FireFox\n // the content has to be '' so dragging a node out of the tree won't open a new tab in FireFox\n event.dataTransfer.setData('text/plain', '');\n } catch (e) {}\n\n dragState.draggingNode = treeNode;\n\n _this.$emit('node-drag-start', treeNode.node, event);\n });\n this.$on('tree-node-drag-over', function (event, treeNode) {\n var dropNode = findNearestComponent(event.target, 'ElTreeNode');\n var oldDropNode = dragState.dropNode;\n\n if (oldDropNode && oldDropNode !== dropNode) {\n Object(dom_[\"removeClass\"])(oldDropNode.$el, 'is-drop-inner');\n }\n\n var draggingNode = dragState.draggingNode;\n if (!draggingNode || !dropNode) return;\n var dropPrev = true;\n var dropInner = true;\n var dropNext = true;\n var userAllowDropInner = true;\n\n if (typeof _this.allowDrop === 'function') {\n dropPrev = _this.allowDrop(draggingNode.node, dropNode.node, 'prev');\n userAllowDropInner = dropInner = _this.allowDrop(draggingNode.node, dropNode.node, 'inner');\n dropNext = _this.allowDrop(draggingNode.node, dropNode.node, 'next');\n }\n\n event.dataTransfer.dropEffect = dropInner ? 'move' : 'none';\n\n if ((dropPrev || dropInner || dropNext) && oldDropNode !== dropNode) {\n if (oldDropNode) {\n _this.$emit('node-drag-leave', draggingNode.node, oldDropNode.node, event);\n }\n\n _this.$emit('node-drag-enter', draggingNode.node, dropNode.node, event);\n }\n\n if (dropPrev || dropInner || dropNext) {\n dragState.dropNode = dropNode;\n }\n\n if (dropNode.node.nextSibling === draggingNode.node) {\n dropNext = false;\n }\n\n if (dropNode.node.previousSibling === draggingNode.node) {\n dropPrev = false;\n }\n\n if (dropNode.node.contains(draggingNode.node, false)) {\n dropInner = false;\n }\n\n if (draggingNode.node === dropNode.node || draggingNode.node.contains(dropNode.node)) {\n dropPrev = false;\n dropInner = false;\n dropNext = false;\n }\n\n var targetPosition = dropNode.$el.getBoundingClientRect();\n\n var treePosition = _this.$el.getBoundingClientRect();\n\n var dropType = void 0;\n var prevPercent = dropPrev ? dropInner ? 0.25 : dropNext ? 0.45 : 1 : -1;\n var nextPercent = dropNext ? dropInner ? 0.75 : dropPrev ? 0.55 : 0 : 1;\n var indicatorTop = -9999;\n var distance = event.clientY - targetPosition.top;\n\n if (distance < targetPosition.height * prevPercent) {\n dropType = 'before';\n } else if (distance > targetPosition.height * nextPercent) {\n dropType = 'after';\n } else if (dropInner) {\n dropType = 'inner';\n } else {\n dropType = 'none';\n }\n\n var iconPosition = dropNode.$el.querySelector('.el-tree-node__expand-icon').getBoundingClientRect();\n var dropIndicator = _this.$refs.dropIndicator;\n\n if (dropType === 'before') {\n indicatorTop = iconPosition.top - treePosition.top;\n } else if (dropType === 'after') {\n indicatorTop = iconPosition.bottom - treePosition.top;\n }\n\n dropIndicator.style.top = indicatorTop + 'px';\n dropIndicator.style.left = iconPosition.right - treePosition.left + 'px';\n\n if (dropType === 'inner') {\n Object(dom_[\"addClass\"])(dropNode.$el, 'is-drop-inner');\n } else {\n Object(dom_[\"removeClass\"])(dropNode.$el, 'is-drop-inner');\n }\n\n dragState.showDropIndicator = dropType === 'before' || dropType === 'after';\n dragState.allowDrop = dragState.showDropIndicator || userAllowDropInner;\n dragState.dropType = dropType;\n\n _this.$emit('node-drag-over', draggingNode.node, dropNode.node, event);\n });\n this.$on('tree-node-drag-end', function (event) {\n var draggingNode = dragState.draggingNode,\n dropType = dragState.dropType,\n dropNode = dragState.dropNode;\n event.preventDefault();\n event.dataTransfer.dropEffect = 'move';\n\n if (draggingNode && dropNode) {\n var draggingNodeCopy = {\n data: draggingNode.node.data\n };\n\n if (dropType !== 'none') {\n draggingNode.node.remove();\n }\n\n if (dropType === 'before') {\n dropNode.node.parent.insertBefore(draggingNodeCopy, dropNode.node);\n } else if (dropType === 'after') {\n dropNode.node.parent.insertAfter(draggingNodeCopy, dropNode.node);\n } else if (dropType === 'inner') {\n dropNode.node.insertChild(draggingNodeCopy);\n }\n\n if (dropType !== 'none') {\n _this.store.registerNode(draggingNodeCopy);\n }\n\n Object(dom_[\"removeClass\"])(dropNode.$el, 'is-drop-inner');\n\n _this.$emit('node-drag-end', draggingNode.node, dropNode.node, dropType, event);\n\n if (dropType !== 'none') {\n _this.$emit('node-drop', draggingNode.node, dropNode.node, dropType, event);\n }\n }\n\n if (draggingNode && !dropNode) {\n _this.$emit('node-drag-end', draggingNode.node, null, dropType, event);\n }\n\n dragState.showDropIndicator = false;\n dragState.draggingNode = null;\n dragState.dropNode = null;\n dragState.allowDrop = true;\n });\n },\n mounted: function mounted() {\n this.initTabIndex();\n this.$el.addEventListener('keydown', this.handleKeydown);\n },\n updated: function updated() {\n this.treeItems = this.$el.querySelectorAll('[role=treeitem]');\n this.checkboxItems = this.$el.querySelectorAll('input[type=checkbox]');\n }\n }; // CONCATENATED MODULE: ./packages/tree/src/tree.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_treevue_type_script_lang_js_ = treevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/tree/src/tree.vue\n\n /* normalize component */\n\n var tree_component = normalizeComponent(src_treevue_type_script_lang_js_, treevue_type_template_id_547575a6_render, treevue_type_template_id_547575a6_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var tree_api;\n }\n\n tree_component.options.__file = \"packages/tree/src/tree.vue\";\n /* harmony default export */\n\n var src_tree = tree_component.exports; // CONCATENATED MODULE: ./packages/tree/index.js\n\n /* istanbul ignore next */\n\n src_tree.install = function (Vue) {\n Vue.component(src_tree.name, src_tree);\n };\n /* harmony default export */\n\n\n var packages_tree = src_tree; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=template&id=6e53341b&\n\n var mainvue_type_template_id_6e53341b_render = function mainvue_type_template_id_6e53341b_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-alert-fade\"\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-alert\",\n \"class\": [_vm.typeClass, _vm.center ? \"is-center\" : \"\", \"is-\" + _vm.effect],\n attrs: {\n role: \"alert\"\n }\n }, [_vm.showIcon ? _c(\"i\", {\n staticClass: \"el-alert__icon\",\n \"class\": [_vm.iconClass, _vm.isBigIcon]\n }) : _vm._e(), _c(\"div\", {\n staticClass: \"el-alert__content\"\n }, [_vm.title || _vm.$slots.title ? _c(\"span\", {\n staticClass: \"el-alert__title\",\n \"class\": [_vm.isBoldTitle]\n }, [_vm._t(\"title\", [_vm._v(_vm._s(_vm.title))])], 2) : _vm._e(), _vm.$slots[\"default\"] && !_vm.description ? _c(\"p\", {\n staticClass: \"el-alert__description\"\n }, [_vm._t(\"default\")], 2) : _vm._e(), _vm.description && !_vm.$slots[\"default\"] ? _c(\"p\", {\n staticClass: \"el-alert__description\"\n }, [_vm._v(_vm._s(_vm.description))]) : _vm._e(), _c(\"i\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.closable,\n expression: \"closable\"\n }],\n staticClass: \"el-alert__closebtn\",\n \"class\": {\n \"is-customed\": _vm.closeText !== \"\",\n \"el-icon-close\": _vm.closeText === \"\"\n },\n on: {\n click: function click($event) {\n _vm.close();\n }\n }\n }, [_vm._v(_vm._s(_vm.closeText))])])])]);\n };\n\n var mainvue_type_template_id_6e53341b_staticRenderFns = [];\n mainvue_type_template_id_6e53341b_render._withStripped = true; // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=template&id=6e53341b&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var TYPE_CLASSES_MAP = {\n 'success': 'el-icon-success',\n 'warning': 'el-icon-warning',\n 'error': 'el-icon-error'\n };\n /* harmony default export */\n\n var alert_src_mainvue_type_script_lang_js_ = {\n name: 'ElAlert',\n props: {\n title: {\n type: String,\n \"default\": ''\n },\n description: {\n type: String,\n \"default\": ''\n },\n type: {\n type: String,\n \"default\": 'info'\n },\n closable: {\n type: Boolean,\n \"default\": true\n },\n closeText: {\n type: String,\n \"default\": ''\n },\n showIcon: Boolean,\n center: Boolean,\n effect: {\n type: String,\n \"default\": 'light',\n validator: function validator(value) {\n return ['light', 'dark'].indexOf(value) !== -1;\n }\n }\n },\n data: function data() {\n return {\n visible: true\n };\n },\n methods: {\n close: function close() {\n this.visible = false;\n this.$emit('close');\n }\n },\n computed: {\n typeClass: function typeClass() {\n return 'el-alert--' + this.type;\n },\n iconClass: function iconClass() {\n return TYPE_CLASSES_MAP[this.type] || 'el-icon-info';\n },\n isBigIcon: function isBigIcon() {\n return this.description || this.$slots[\"default\"] ? 'is-big' : '';\n },\n isBoldTitle: function isBoldTitle() {\n return this.description || this.$slots[\"default\"] ? 'is-bold' : '';\n }\n }\n }; // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_alert_src_mainvue_type_script_lang_js_ = alert_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/alert/src/main.vue\n\n /* normalize component */\n\n var alert_src_main_component = normalizeComponent(packages_alert_src_mainvue_type_script_lang_js_, mainvue_type_template_id_6e53341b_render, mainvue_type_template_id_6e53341b_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var alert_src_main_api;\n }\n\n alert_src_main_component.options.__file = \"packages/alert/src/main.vue\";\n /* harmony default export */\n\n var alert_src_main = alert_src_main_component.exports; // CONCATENATED MODULE: ./packages/alert/index.js\n\n /* istanbul ignore next */\n\n alert_src_main.install = function (Vue) {\n Vue.component(alert_src_main.name, alert_src_main);\n };\n /* harmony default export */\n\n\n var packages_alert = alert_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/notification/src/main.vue?vue&type=template&id=43dbc3d8&\n\n var mainvue_type_template_id_43dbc3d8_render = function mainvue_type_template_id_43dbc3d8_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-notification-fade\"\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n \"class\": [\"el-notification\", _vm.customClass, _vm.horizontalClass],\n style: _vm.positionStyle,\n attrs: {\n role: \"alert\"\n },\n on: {\n mouseenter: function mouseenter($event) {\n _vm.clearTimer();\n },\n mouseleave: function mouseleave($event) {\n _vm.startTimer();\n },\n click: _vm.click\n }\n }, [_vm.type || _vm.iconClass ? _c(\"i\", {\n staticClass: \"el-notification__icon\",\n \"class\": [_vm.typeClass, _vm.iconClass]\n }) : _vm._e(), _c(\"div\", {\n staticClass: \"el-notification__group\",\n \"class\": {\n \"is-with-icon\": _vm.typeClass || _vm.iconClass\n }\n }, [_c(\"h2\", {\n staticClass: \"el-notification__title\",\n domProps: {\n textContent: _vm._s(_vm.title)\n }\n }), _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.message,\n expression: \"message\"\n }],\n staticClass: \"el-notification__content\"\n }, [_vm._t(\"default\", [!_vm.dangerouslyUseHTMLString ? _c(\"p\", [_vm._v(_vm._s(_vm.message))]) : _c(\"p\", {\n domProps: {\n innerHTML: _vm._s(_vm.message)\n }\n })])], 2), _vm.showClose ? _c(\"div\", {\n staticClass: \"el-notification__closeBtn el-icon-close\",\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.close($event);\n }\n }\n }) : _vm._e()])])]);\n };\n\n var mainvue_type_template_id_43dbc3d8_staticRenderFns = [];\n mainvue_type_template_id_43dbc3d8_render._withStripped = true; // CONCATENATED MODULE: ./packages/notification/src/main.vue?vue&type=template&id=43dbc3d8&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/notification/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var mainvue_type_script_lang_js_typeMap = {\n success: 'success',\n info: 'info',\n warning: 'warning',\n error: 'error'\n };\n /* harmony default export */\n\n var notification_src_mainvue_type_script_lang_js_ = {\n data: function data() {\n return {\n visible: false,\n title: '',\n message: '',\n duration: 4500,\n type: '',\n showClose: true,\n customClass: '',\n iconClass: '',\n onClose: null,\n onClick: null,\n closed: false,\n verticalOffset: 0,\n timer: null,\n dangerouslyUseHTMLString: false,\n position: 'top-right'\n };\n },\n computed: {\n typeClass: function typeClass() {\n return this.type && mainvue_type_script_lang_js_typeMap[this.type] ? 'el-icon-' + mainvue_type_script_lang_js_typeMap[this.type] : '';\n },\n horizontalClass: function horizontalClass() {\n return this.position.indexOf('right') > -1 ? 'right' : 'left';\n },\n verticalProperty: function verticalProperty() {\n return /^top-/.test(this.position) ? 'top' : 'bottom';\n },\n positionStyle: function positionStyle() {\n var _ref;\n\n return _ref = {}, _ref[this.verticalProperty] = this.verticalOffset + 'px', _ref;\n }\n },\n watch: {\n closed: function closed(newVal) {\n if (newVal) {\n this.visible = false;\n this.$el.addEventListener('transitionend', this.destroyElement);\n }\n }\n },\n methods: {\n destroyElement: function destroyElement() {\n this.$el.removeEventListener('transitionend', this.destroyElement);\n this.$destroy(true);\n this.$el.parentNode.removeChild(this.$el);\n },\n click: function click() {\n if (typeof this.onClick === 'function') {\n this.onClick();\n }\n },\n close: function close() {\n this.closed = true;\n\n if (typeof this.onClose === 'function') {\n this.onClose();\n }\n },\n clearTimer: function clearTimer() {\n clearTimeout(this.timer);\n },\n startTimer: function startTimer() {\n var _this = this;\n\n if (this.duration > 0) {\n this.timer = setTimeout(function () {\n if (!_this.closed) {\n _this.close();\n }\n }, this.duration);\n }\n },\n keydown: function keydown(e) {\n if (e.keyCode === 46 || e.keyCode === 8) {\n this.clearTimer(); // detele å–消倒计时\n } else if (e.keyCode === 27) {\n // escå…³é—消æ¯\n if (!this.closed) {\n this.close();\n }\n } else {\n this.startTimer(); // æ¢å¤å€’计时\n }\n }\n },\n mounted: function mounted() {\n var _this2 = this;\n\n if (this.duration > 0) {\n this.timer = setTimeout(function () {\n if (!_this2.closed) {\n _this2.close();\n }\n }, this.duration);\n }\n\n document.addEventListener('keydown', this.keydown);\n },\n beforeDestroy: function beforeDestroy() {\n document.removeEventListener('keydown', this.keydown);\n }\n }; // CONCATENATED MODULE: ./packages/notification/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_notification_src_mainvue_type_script_lang_js_ = notification_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/notification/src/main.vue\n\n /* normalize component */\n\n var notification_src_main_component = normalizeComponent(packages_notification_src_mainvue_type_script_lang_js_, mainvue_type_template_id_43dbc3d8_render, mainvue_type_template_id_43dbc3d8_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var notification_src_main_api;\n }\n\n notification_src_main_component.options.__file = \"packages/notification/src/main.vue\";\n /* harmony default export */\n\n var notification_src_main = notification_src_main_component.exports; // CONCATENATED MODULE: ./packages/notification/src/main.js\n\n var NotificationConstructor = external_vue_default.a.extend(notification_src_main);\n var src_main_instance = void 0;\n var instances = [];\n var seed = 1;\n\n var main_Notification = function Notification(options) {\n if (external_vue_default.a.prototype.$isServer) return;\n options = merge_default()({}, options);\n var userOnClose = options.onClose;\n var id = 'notification_' + seed++;\n var position = options.position || 'top-right';\n\n options.onClose = function () {\n Notification.close(id, userOnClose);\n };\n\n src_main_instance = new NotificationConstructor({\n data: options\n });\n\n if (Object(vdom_[\"isVNode\"])(options.message)) {\n src_main_instance.$slots[\"default\"] = [options.message];\n options.message = 'REPLACED_BY_VNODE';\n }\n\n src_main_instance.id = id;\n src_main_instance.$mount();\n document.body.appendChild(src_main_instance.$el);\n src_main_instance.visible = true;\n src_main_instance.dom = src_main_instance.$el;\n src_main_instance.dom.style.zIndex = popup_[\"PopupManager\"].nextZIndex();\n var verticalOffset = options.offset || 0;\n instances.filter(function (item) {\n return item.position === position;\n }).forEach(function (item) {\n verticalOffset += item.$el.offsetHeight + 16;\n });\n verticalOffset += 16;\n src_main_instance.verticalOffset = verticalOffset;\n instances.push(src_main_instance);\n return src_main_instance;\n };\n\n ['success', 'warning', 'info', 'error'].forEach(function (type) {\n main_Notification[type] = function (options) {\n if (typeof options === 'string' || Object(vdom_[\"isVNode\"])(options)) {\n options = {\n message: options\n };\n }\n\n options.type = type;\n return main_Notification(options);\n };\n });\n\n main_Notification.close = function (id, userOnClose) {\n var index = -1;\n var len = instances.length;\n var instance = instances.filter(function (instance, i) {\n if (instance.id === id) {\n index = i;\n return true;\n }\n\n return false;\n })[0];\n if (!instance) return;\n\n if (typeof userOnClose === 'function') {\n userOnClose(instance);\n }\n\n instances.splice(index, 1);\n if (len <= 1) return;\n var position = instance.position;\n var removedHeight = instance.dom.offsetHeight;\n\n for (var i = index; i < len - 1; i++) {\n if (instances[i].position === position) {\n instances[i].dom.style[instance.verticalProperty] = parseInt(instances[i].dom.style[instance.verticalProperty], 10) - removedHeight - 16 + 'px';\n }\n }\n };\n\n main_Notification.closeAll = function () {\n for (var i = instances.length - 1; i >= 0; i--) {\n instances[i].close();\n }\n };\n /* harmony default export */\n\n\n var packages_notification_src_main = main_Notification; // CONCATENATED MODULE: ./packages/notification/index.js\n\n /* harmony default export */\n\n var notification = packages_notification_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/main.vue?vue&type=template&id=32708644&\n\n var mainvue_type_template_id_32708644_render = function mainvue_type_template_id_32708644_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-slider\",\n \"class\": {\n \"is-vertical\": _vm.vertical,\n \"el-slider--with-input\": _vm.showInput\n },\n attrs: {\n role: \"slider\",\n \"aria-valuemin\": _vm.min,\n \"aria-valuemax\": _vm.max,\n \"aria-orientation\": _vm.vertical ? \"vertical\" : \"horizontal\",\n \"aria-disabled\": _vm.sliderDisabled\n }\n }, [_vm.showInput && !_vm.range ? _c(\"el-input-number\", {\n ref: \"input\",\n staticClass: \"el-slider__input\",\n attrs: {\n step: _vm.step,\n disabled: _vm.sliderDisabled,\n controls: _vm.showInputControls,\n min: _vm.min,\n max: _vm.max,\n debounce: _vm.debounce,\n size: _vm.inputSize\n },\n on: {\n change: _vm.emitChange\n },\n model: {\n value: _vm.firstValue,\n callback: function callback($$v) {\n _vm.firstValue = $$v;\n },\n expression: \"firstValue\"\n }\n }) : _vm._e(), _c(\"div\", {\n ref: \"slider\",\n staticClass: \"el-slider__runway\",\n \"class\": {\n \"show-input\": _vm.showInput,\n disabled: _vm.sliderDisabled\n },\n style: _vm.runwayStyle,\n on: {\n click: _vm.onSliderClick\n }\n }, [_c(\"div\", {\n staticClass: \"el-slider__bar\",\n style: _vm.barStyle\n }), _c(\"slider-button\", {\n ref: \"button1\",\n attrs: {\n vertical: _vm.vertical,\n \"tooltip-class\": _vm.tooltipClass\n },\n model: {\n value: _vm.firstValue,\n callback: function callback($$v) {\n _vm.firstValue = $$v;\n },\n expression: \"firstValue\"\n }\n }), _vm.range ? _c(\"slider-button\", {\n ref: \"button2\",\n attrs: {\n vertical: _vm.vertical,\n \"tooltip-class\": _vm.tooltipClass\n },\n model: {\n value: _vm.secondValue,\n callback: function callback($$v) {\n _vm.secondValue = $$v;\n },\n expression: \"secondValue\"\n }\n }) : _vm._e(), _vm._l(_vm.stops, function (item, key) {\n return _vm.showStops ? _c(\"div\", {\n key: key,\n staticClass: \"el-slider__stop\",\n style: _vm.getStopStyle(item)\n }) : _vm._e();\n }), _vm.markList.length > 0 ? [_c(\"div\", _vm._l(_vm.markList, function (item, key) {\n return _c(\"div\", {\n key: key,\n staticClass: \"el-slider__stop el-slider__marks-stop\",\n style: _vm.getStopStyle(item.position)\n });\n }), 0), _c(\"div\", {\n staticClass: \"el-slider__marks\"\n }, _vm._l(_vm.markList, function (item, key) {\n return _c(\"slider-marker\", {\n key: key,\n style: _vm.getStopStyle(item.position),\n attrs: {\n mark: item.mark\n }\n });\n }), 1)] : _vm._e()], 2)], 1);\n };\n\n var mainvue_type_template_id_32708644_staticRenderFns = [];\n mainvue_type_template_id_32708644_render._withStripped = true; // CONCATENATED MODULE: ./packages/slider/src/main.vue?vue&type=template&id=32708644&\n // EXTERNAL MODULE: external \"element-ui/lib/input-number\"\n\n var input_number_ = __webpack_require__(42);\n\n var input_number_default =\n /*#__PURE__*/\n __webpack_require__.n(input_number_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/button.vue?vue&type=template&id=e72d2ad2&\n\n\n var buttonvue_type_template_id_e72d2ad2_render = function buttonvue_type_template_id_e72d2ad2_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n ref: \"button\",\n staticClass: \"el-slider__button-wrapper\",\n \"class\": {\n hover: _vm.hovering,\n dragging: _vm.dragging\n },\n style: _vm.wrapperStyle,\n attrs: {\n tabindex: \"0\"\n },\n on: {\n mouseenter: _vm.handleMouseEnter,\n mouseleave: _vm.handleMouseLeave,\n mousedown: _vm.onButtonDown,\n touchstart: _vm.onButtonDown,\n focus: _vm.handleMouseEnter,\n blur: _vm.handleMouseLeave,\n keydown: [function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"left\", 37, $event.key, [\"Left\", \"ArrowLeft\"])) {\n return null;\n }\n\n if (\"button\" in $event && $event.button !== 0) {\n return null;\n }\n\n return _vm.onLeftKeyDown($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"right\", 39, $event.key, [\"Right\", \"ArrowRight\"])) {\n return null;\n }\n\n if (\"button\" in $event && $event.button !== 2) {\n return null;\n }\n\n return _vm.onRightKeyDown($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.onLeftKeyDown($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.onRightKeyDown($event);\n }]\n }\n }, [_c(\"el-tooltip\", {\n ref: \"tooltip\",\n attrs: {\n placement: \"top\",\n \"popper-class\": _vm.tooltipClass,\n disabled: !_vm.showTooltip\n }\n }, [_c(\"span\", {\n attrs: {\n slot: \"content\"\n },\n slot: \"content\"\n }, [_vm._v(_vm._s(_vm.formatValue))]), _c(\"div\", {\n staticClass: \"el-slider__button\",\n \"class\": {\n hover: _vm.hovering,\n dragging: _vm.dragging\n }\n })])], 1);\n };\n\n var buttonvue_type_template_id_e72d2ad2_staticRenderFns = [];\n buttonvue_type_template_id_e72d2ad2_render._withStripped = true; // CONCATENATED MODULE: ./packages/slider/src/button.vue?vue&type=template&id=e72d2ad2&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/button.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var slider_src_buttonvue_type_script_lang_js_ = {\n name: 'ElSliderButton',\n components: {\n ElTooltip: tooltip_default.a\n },\n props: {\n value: {\n type: Number,\n \"default\": 0\n },\n vertical: {\n type: Boolean,\n \"default\": false\n },\n tooltipClass: String\n },\n data: function data() {\n return {\n hovering: false,\n dragging: false,\n isClick: false,\n startX: 0,\n currentX: 0,\n startY: 0,\n currentY: 0,\n startPosition: 0,\n newPosition: null,\n oldValue: this.value\n };\n },\n computed: {\n disabled: function disabled() {\n return this.$parent.sliderDisabled;\n },\n max: function max() {\n return this.$parent.max;\n },\n min: function min() {\n return this.$parent.min;\n },\n step: function step() {\n return this.$parent.step;\n },\n showTooltip: function showTooltip() {\n return this.$parent.showTooltip;\n },\n precision: function precision() {\n return this.$parent.precision;\n },\n currentPosition: function currentPosition() {\n return (this.value - this.min) / (this.max - this.min) * 100 + '%';\n },\n enableFormat: function enableFormat() {\n return this.$parent.formatTooltip instanceof Function;\n },\n formatValue: function formatValue() {\n return this.enableFormat && this.$parent.formatTooltip(this.value) || this.value;\n },\n wrapperStyle: function wrapperStyle() {\n return this.vertical ? {\n bottom: this.currentPosition\n } : {\n left: this.currentPosition\n };\n }\n },\n watch: {\n dragging: function dragging(val) {\n this.$parent.dragging = val;\n }\n },\n methods: {\n displayTooltip: function displayTooltip() {\n this.$refs.tooltip && (this.$refs.tooltip.showPopper = true);\n },\n hideTooltip: function hideTooltip() {\n this.$refs.tooltip && (this.$refs.tooltip.showPopper = false);\n },\n handleMouseEnter: function handleMouseEnter() {\n this.hovering = true;\n this.displayTooltip();\n },\n handleMouseLeave: function handleMouseLeave() {\n this.hovering = false;\n this.hideTooltip();\n },\n onButtonDown: function onButtonDown(event) {\n if (this.disabled) return;\n event.preventDefault();\n this.onDragStart(event);\n window.addEventListener('mousemove', this.onDragging);\n window.addEventListener('touchmove', this.onDragging);\n window.addEventListener('mouseup', this.onDragEnd);\n window.addEventListener('touchend', this.onDragEnd);\n window.addEventListener('contextmenu', this.onDragEnd);\n },\n onLeftKeyDown: function onLeftKeyDown() {\n if (this.disabled) return;\n this.newPosition = parseFloat(this.currentPosition) - this.step / (this.max - this.min) * 100;\n this.setPosition(this.newPosition);\n this.$parent.emitChange();\n },\n onRightKeyDown: function onRightKeyDown() {\n if (this.disabled) return;\n this.newPosition = parseFloat(this.currentPosition) + this.step / (this.max - this.min) * 100;\n this.setPosition(this.newPosition);\n this.$parent.emitChange();\n },\n onDragStart: function onDragStart(event) {\n this.dragging = true;\n this.isClick = true;\n\n if (event.type === 'touchstart') {\n event.clientY = event.touches[0].clientY;\n event.clientX = event.touches[0].clientX;\n }\n\n if (this.vertical) {\n this.startY = event.clientY;\n } else {\n this.startX = event.clientX;\n }\n\n this.startPosition = parseFloat(this.currentPosition);\n this.newPosition = this.startPosition;\n },\n onDragging: function onDragging(event) {\n if (this.dragging) {\n this.isClick = false;\n this.displayTooltip();\n this.$parent.resetSize();\n var diff = 0;\n\n if (event.type === 'touchmove') {\n event.clientY = event.touches[0].clientY;\n event.clientX = event.touches[0].clientX;\n }\n\n if (this.vertical) {\n this.currentY = event.clientY;\n diff = (this.startY - this.currentY) / this.$parent.sliderSize * 100;\n } else {\n this.currentX = event.clientX;\n diff = (this.currentX - this.startX) / this.$parent.sliderSize * 100;\n }\n\n this.newPosition = this.startPosition + diff;\n this.setPosition(this.newPosition);\n }\n },\n onDragEnd: function onDragEnd() {\n var _this = this;\n\n if (this.dragging) {\n /*\n * 防æ¢åœ¨ mouseup åŽç«‹å³è§¦å‘ click,导致滑å—æœ‰å‡ çŽ‡äº§ç”Ÿä¸€å°æ®µä½ç§»\n * ä¸ä½¿ç”¨ preventDefault æ˜¯å› ä¸º mouseup å’Œ click 没有注册在åŒä¸€ä¸ª DOM 上\n */\n setTimeout(function () {\n _this.dragging = false;\n\n _this.hideTooltip();\n\n if (!_this.isClick) {\n _this.setPosition(_this.newPosition);\n\n _this.$parent.emitChange();\n }\n }, 0);\n window.removeEventListener('mousemove', this.onDragging);\n window.removeEventListener('touchmove', this.onDragging);\n window.removeEventListener('mouseup', this.onDragEnd);\n window.removeEventListener('touchend', this.onDragEnd);\n window.removeEventListener('contextmenu', this.onDragEnd);\n }\n },\n setPosition: function setPosition(newPosition) {\n var _this2 = this;\n\n if (newPosition === null || isNaN(newPosition)) return;\n\n if (newPosition < 0) {\n newPosition = 0;\n } else if (newPosition > 100) {\n newPosition = 100;\n }\n\n var lengthPerStep = 100 / ((this.max - this.min) / this.step);\n var steps = Math.round(newPosition / lengthPerStep);\n var value = steps * lengthPerStep * (this.max - this.min) * 0.01 + this.min;\n value = parseFloat(value.toFixed(this.precision));\n this.$emit('input', value);\n this.$nextTick(function () {\n _this2.displayTooltip();\n\n _this2.$refs.tooltip && _this2.$refs.tooltip.updatePopper();\n });\n\n if (!this.dragging && this.value !== this.oldValue) {\n this.oldValue = this.value;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/slider/src/button.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_slider_src_buttonvue_type_script_lang_js_ = slider_src_buttonvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/slider/src/button.vue\n\n /* normalize component */\n\n var src_button_component = normalizeComponent(packages_slider_src_buttonvue_type_script_lang_js_, buttonvue_type_template_id_e72d2ad2_render, buttonvue_type_template_id_e72d2ad2_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var src_button_api;\n }\n\n src_button_component.options.__file = \"packages/slider/src/button.vue\";\n /* harmony default export */\n\n var slider_src_button = src_button_component.exports; // CONCATENATED MODULE: ./packages/slider/src/marker.js\n\n /* harmony default export */\n\n var marker = {\n name: 'ElMarker',\n props: {\n mark: {\n type: [String, Object]\n }\n },\n render: function render() {\n var h = arguments[0];\n var label = typeof this.mark === 'string' ? this.mark : this.mark.label;\n return h('div', {\n 'class': 'el-slider__marks-text',\n style: this.mark.style || {}\n }, [label]);\n }\n }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/slider/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var slider_src_mainvue_type_script_lang_js_ = {\n name: 'ElSlider',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n }\n },\n props: {\n min: {\n type: Number,\n \"default\": 0\n },\n max: {\n type: Number,\n \"default\": 100\n },\n step: {\n type: Number,\n \"default\": 1\n },\n value: {\n type: [Number, Array],\n \"default\": 0\n },\n showInput: {\n type: Boolean,\n \"default\": false\n },\n showInputControls: {\n type: Boolean,\n \"default\": true\n },\n inputSize: {\n type: String,\n \"default\": 'small'\n },\n showStops: {\n type: Boolean,\n \"default\": false\n },\n showTooltip: {\n type: Boolean,\n \"default\": true\n },\n formatTooltip: Function,\n disabled: {\n type: Boolean,\n \"default\": false\n },\n range: {\n type: Boolean,\n \"default\": false\n },\n vertical: {\n type: Boolean,\n \"default\": false\n },\n height: {\n type: String\n },\n debounce: {\n type: Number,\n \"default\": 300\n },\n label: {\n type: String\n },\n tooltipClass: String,\n marks: Object\n },\n components: {\n ElInputNumber: input_number_default.a,\n SliderButton: slider_src_button,\n SliderMarker: marker\n },\n data: function data() {\n return {\n firstValue: null,\n secondValue: null,\n oldValue: null,\n dragging: false,\n sliderSize: 1\n };\n },\n watch: {\n value: function value(val, oldVal) {\n if (this.dragging || Array.isArray(val) && Array.isArray(oldVal) && val.every(function (item, index) {\n return item === oldVal[index];\n })) {\n return;\n }\n\n this.setValues();\n },\n dragging: function dragging(val) {\n if (!val) {\n this.setValues();\n }\n },\n firstValue: function firstValue(val) {\n if (this.range) {\n this.$emit('input', [this.minValue, this.maxValue]);\n } else {\n this.$emit('input', val);\n }\n },\n secondValue: function secondValue() {\n if (this.range) {\n this.$emit('input', [this.minValue, this.maxValue]);\n }\n },\n min: function min() {\n this.setValues();\n },\n max: function max() {\n this.setValues();\n }\n },\n methods: {\n valueChanged: function valueChanged() {\n var _this = this;\n\n if (this.range) {\n return ![this.minValue, this.maxValue].every(function (item, index) {\n return item === _this.oldValue[index];\n });\n } else {\n return this.value !== this.oldValue;\n }\n },\n setValues: function setValues() {\n if (this.min > this.max) {\n console.error('[Element Error][Slider]min should not be greater than max.');\n return;\n }\n\n var val = this.value;\n\n if (this.range && Array.isArray(val)) {\n if (val[1] < this.min) {\n this.$emit('input', [this.min, this.min]);\n } else if (val[0] > this.max) {\n this.$emit('input', [this.max, this.max]);\n } else if (val[0] < this.min) {\n this.$emit('input', [this.min, val[1]]);\n } else if (val[1] > this.max) {\n this.$emit('input', [val[0], this.max]);\n } else {\n this.firstValue = val[0];\n this.secondValue = val[1];\n\n if (this.valueChanged()) {\n this.dispatch('ElFormItem', 'el.form.change', [this.minValue, this.maxValue]);\n this.oldValue = val.slice();\n }\n }\n } else if (!this.range && typeof val === 'number' && !isNaN(val)) {\n if (val < this.min) {\n this.$emit('input', this.min);\n } else if (val > this.max) {\n this.$emit('input', this.max);\n } else {\n this.firstValue = val;\n\n if (this.valueChanged()) {\n this.dispatch('ElFormItem', 'el.form.change', val);\n this.oldValue = val;\n }\n }\n }\n },\n setPosition: function setPosition(percent) {\n var targetValue = this.min + percent * (this.max - this.min) / 100;\n\n if (!this.range) {\n this.$refs.button1.setPosition(percent);\n return;\n }\n\n var button = void 0;\n\n if (Math.abs(this.minValue - targetValue) < Math.abs(this.maxValue - targetValue)) {\n button = this.firstValue < this.secondValue ? 'button1' : 'button2';\n } else {\n button = this.firstValue > this.secondValue ? 'button1' : 'button2';\n }\n\n this.$refs[button].setPosition(percent);\n },\n onSliderClick: function onSliderClick(event) {\n if (this.sliderDisabled || this.dragging) return;\n this.resetSize();\n\n if (this.vertical) {\n var sliderOffsetBottom = this.$refs.slider.getBoundingClientRect().bottom;\n this.setPosition((sliderOffsetBottom - event.clientY) / this.sliderSize * 100);\n } else {\n var sliderOffsetLeft = this.$refs.slider.getBoundingClientRect().left;\n this.setPosition((event.clientX - sliderOffsetLeft) / this.sliderSize * 100);\n }\n\n this.emitChange();\n },\n resetSize: function resetSize() {\n if (this.$refs.slider) {\n this.sliderSize = this.$refs.slider['client' + (this.vertical ? 'Height' : 'Width')];\n }\n },\n emitChange: function emitChange() {\n var _this2 = this;\n\n this.$nextTick(function () {\n _this2.$emit('change', _this2.range ? [_this2.minValue, _this2.maxValue] : _this2.value);\n });\n },\n getStopStyle: function getStopStyle(position) {\n return this.vertical ? {\n 'bottom': position + '%'\n } : {\n 'left': position + '%'\n };\n }\n },\n computed: {\n stops: function stops() {\n var _this3 = this;\n\n if (!this.showStops || this.min > this.max) return [];\n\n if (this.step === 0) {\n false && false;\n return [];\n }\n\n var stopCount = (this.max - this.min) / this.step;\n var stepWidth = 100 * this.step / (this.max - this.min);\n var result = [];\n\n for (var i = 1; i < stopCount; i++) {\n result.push(i * stepWidth);\n }\n\n if (this.range) {\n return result.filter(function (step) {\n return step < 100 * (_this3.minValue - _this3.min) / (_this3.max - _this3.min) || step > 100 * (_this3.maxValue - _this3.min) / (_this3.max - _this3.min);\n });\n } else {\n return result.filter(function (step) {\n return step > 100 * (_this3.firstValue - _this3.min) / (_this3.max - _this3.min);\n });\n }\n },\n markList: function markList() {\n var _this4 = this;\n\n if (!this.marks) {\n return [];\n }\n\n var marksKeys = Object.keys(this.marks);\n return marksKeys.map(parseFloat).sort(function (a, b) {\n return a - b;\n }).filter(function (point) {\n return point <= _this4.max && point >= _this4.min;\n }).map(function (point) {\n return {\n point: point,\n position: (point - _this4.min) * 100 / (_this4.max - _this4.min),\n mark: _this4.marks[point]\n };\n });\n },\n minValue: function minValue() {\n return Math.min(this.firstValue, this.secondValue);\n },\n maxValue: function maxValue() {\n return Math.max(this.firstValue, this.secondValue);\n },\n barSize: function barSize() {\n return this.range ? 100 * (this.maxValue - this.minValue) / (this.max - this.min) + '%' : 100 * (this.firstValue - this.min) / (this.max - this.min) + '%';\n },\n barStart: function barStart() {\n return this.range ? 100 * (this.minValue - this.min) / (this.max - this.min) + '%' : '0%';\n },\n precision: function precision() {\n var precisions = [this.min, this.max, this.step].map(function (item) {\n var decimal = ('' + item).split('.')[1];\n return decimal ? decimal.length : 0;\n });\n return Math.max.apply(null, precisions);\n },\n runwayStyle: function runwayStyle() {\n return this.vertical ? {\n height: this.height\n } : {};\n },\n barStyle: function barStyle() {\n return this.vertical ? {\n height: this.barSize,\n bottom: this.barStart\n } : {\n width: this.barSize,\n left: this.barStart\n };\n },\n sliderDisabled: function sliderDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n }\n },\n mounted: function mounted() {\n var valuetext = void 0;\n\n if (this.range) {\n if (Array.isArray(this.value)) {\n this.firstValue = Math.max(this.min, this.value[0]);\n this.secondValue = Math.min(this.max, this.value[1]);\n } else {\n this.firstValue = this.min;\n this.secondValue = this.max;\n }\n\n this.oldValue = [this.firstValue, this.secondValue];\n valuetext = this.firstValue + '-' + this.secondValue;\n } else {\n if (typeof this.value !== 'number' || isNaN(this.value)) {\n this.firstValue = this.min;\n } else {\n this.firstValue = Math.min(this.max, Math.max(this.min, this.value));\n }\n\n this.oldValue = this.firstValue;\n valuetext = this.firstValue;\n }\n\n this.$el.setAttribute('aria-valuetext', valuetext); // label screen reader\n\n this.$el.setAttribute('aria-label', this.label ? this.label : 'slider between ' + this.min + ' and ' + this.max);\n this.resetSize();\n window.addEventListener('resize', this.resetSize);\n },\n beforeDestroy: function beforeDestroy() {\n window.removeEventListener('resize', this.resetSize);\n }\n }; // CONCATENATED MODULE: ./packages/slider/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_slider_src_mainvue_type_script_lang_js_ = slider_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/slider/src/main.vue\n\n /* normalize component */\n\n var slider_src_main_component = normalizeComponent(packages_slider_src_mainvue_type_script_lang_js_, mainvue_type_template_id_32708644_render, mainvue_type_template_id_32708644_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var slider_src_main_api;\n }\n\n slider_src_main_component.options.__file = \"packages/slider/src/main.vue\";\n /* harmony default export */\n\n var slider_src_main = slider_src_main_component.exports; // CONCATENATED MODULE: ./packages/slider/index.js\n\n /* istanbul ignore next */\n\n slider_src_main.install = function (Vue) {\n Vue.component(slider_src_main.name, slider_src_main);\n };\n /* harmony default export */\n\n\n var slider = slider_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&\n\n var loadingvue_type_template_id_eee0a7ac_render = function loadingvue_type_template_id_eee0a7ac_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-loading-fade\"\n },\n on: {\n \"after-leave\": _vm.handleAfterLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-loading-mask\",\n \"class\": [_vm.customClass, {\n \"is-fullscreen\": _vm.fullscreen\n }],\n style: {\n backgroundColor: _vm.background || \"\"\n }\n }, [_c(\"div\", {\n staticClass: \"el-loading-spinner\"\n }, [!_vm.spinner ? _c(\"svg\", {\n staticClass: \"circular\",\n attrs: {\n viewBox: \"25 25 50 50\"\n }\n }, [_c(\"circle\", {\n staticClass: \"path\",\n attrs: {\n cx: \"50\",\n cy: \"50\",\n r: \"20\",\n fill: \"none\"\n }\n })]) : _c(\"i\", {\n \"class\": _vm.spinner\n }), _vm.text ? _c(\"p\", {\n staticClass: \"el-loading-text\"\n }, [_vm._v(_vm._s(_vm.text))]) : _vm._e()])])]);\n };\n\n var loadingvue_type_template_id_eee0a7ac_staticRenderFns = [];\n loadingvue_type_template_id_eee0a7ac_render._withStripped = true; // CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=template&id=eee0a7ac&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/loading/src/loading.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var loadingvue_type_script_lang_js_ = {\n data: function data() {\n return {\n text: null,\n spinner: null,\n background: null,\n fullscreen: true,\n visible: false,\n customClass: ''\n };\n },\n methods: {\n handleAfterLeave: function handleAfterLeave() {\n this.$emit('after-leave');\n },\n setText: function setText(text) {\n this.text = text;\n }\n }\n }; // CONCATENATED MODULE: ./packages/loading/src/loading.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_loadingvue_type_script_lang_js_ = loadingvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/loading/src/loading.vue\n\n /* normalize component */\n\n var loading_component = normalizeComponent(src_loadingvue_type_script_lang_js_, loadingvue_type_template_id_eee0a7ac_render, loadingvue_type_template_id_eee0a7ac_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var loading_api;\n }\n\n loading_component.options.__file = \"packages/loading/src/loading.vue\";\n /* harmony default export */\n\n var loading = loading_component.exports; // EXTERNAL MODULE: external \"element-ui/lib/utils/after-leave\"\n\n var after_leave_ = __webpack_require__(33);\n\n var after_leave_default =\n /*#__PURE__*/\n __webpack_require__.n(after_leave_); // CONCATENATED MODULE: ./packages/loading/src/directive.js\n\n\n var Mask = external_vue_default.a.extend(loading);\n var loadingDirective = {};\n\n loadingDirective.install = function (Vue) {\n if (Vue.prototype.$isServer) return;\n\n var toggleLoading = function toggleLoading(el, binding) {\n if (binding.value) {\n Vue.nextTick(function () {\n if (binding.modifiers.fullscreen) {\n el.originalPosition = Object(dom_[\"getStyle\"])(document.body, 'position');\n el.originalOverflow = Object(dom_[\"getStyle\"])(document.body, 'overflow');\n el.maskStyle.zIndex = popup_[\"PopupManager\"].nextZIndex();\n Object(dom_[\"addClass\"])(el.mask, 'is-fullscreen');\n insertDom(document.body, el, binding);\n } else {\n Object(dom_[\"removeClass\"])(el.mask, 'is-fullscreen');\n\n if (binding.modifiers.body) {\n el.originalPosition = Object(dom_[\"getStyle\"])(document.body, 'position');\n ['top', 'left'].forEach(function (property) {\n var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';\n el.maskStyle[property] = el.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] - parseInt(Object(dom_[\"getStyle\"])(document.body, 'margin-' + property), 10) + 'px';\n });\n ['height', 'width'].forEach(function (property) {\n el.maskStyle[property] = el.getBoundingClientRect()[property] + 'px';\n });\n insertDom(document.body, el, binding);\n } else {\n el.originalPosition = Object(dom_[\"getStyle\"])(el, 'position');\n insertDom(el, el, binding);\n }\n }\n });\n } else {\n after_leave_default()(el.instance, function (_) {\n if (!el.instance.hiding) return;\n el.domVisible = false;\n var target = binding.modifiers.fullscreen || binding.modifiers.body ? document.body : el;\n Object(dom_[\"removeClass\"])(target, 'el-loading-parent--relative');\n Object(dom_[\"removeClass\"])(target, 'el-loading-parent--hidden');\n el.instance.hiding = false;\n }, 300, true);\n el.instance.visible = false;\n el.instance.hiding = true;\n }\n };\n\n var insertDom = function insertDom(parent, el, binding) {\n if (!el.domVisible && Object(dom_[\"getStyle\"])(el, 'display') !== 'none' && Object(dom_[\"getStyle\"])(el, 'visibility') !== 'hidden') {\n Object.keys(el.maskStyle).forEach(function (property) {\n el.mask.style[property] = el.maskStyle[property];\n });\n\n if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {\n Object(dom_[\"addClass\"])(parent, 'el-loading-parent--relative');\n }\n\n if (binding.modifiers.fullscreen && binding.modifiers.lock) {\n Object(dom_[\"addClass\"])(parent, 'el-loading-parent--hidden');\n }\n\n el.domVisible = true;\n parent.appendChild(el.mask);\n Vue.nextTick(function () {\n if (el.instance.hiding) {\n el.instance.$emit('after-leave');\n } else {\n el.instance.visible = true;\n }\n });\n el.domInserted = true;\n } else if (el.domVisible && el.instance.hiding === true) {\n el.instance.visible = true;\n el.instance.hiding = false;\n }\n };\n\n Vue.directive('loading', {\n bind: function bind(el, binding, vnode) {\n var textExr = el.getAttribute('element-loading-text');\n var spinnerExr = el.getAttribute('element-loading-spinner');\n var backgroundExr = el.getAttribute('element-loading-background');\n var customClassExr = el.getAttribute('element-loading-custom-class');\n var vm = vnode.context;\n var mask = new Mask({\n el: document.createElement('div'),\n data: {\n text: vm && vm[textExr] || textExr,\n spinner: vm && vm[spinnerExr] || spinnerExr,\n background: vm && vm[backgroundExr] || backgroundExr,\n customClass: vm && vm[customClassExr] || customClassExr,\n fullscreen: !!binding.modifiers.fullscreen\n }\n });\n el.instance = mask;\n el.mask = mask.$el;\n el.maskStyle = {};\n binding.value && toggleLoading(el, binding);\n },\n update: function update(el, binding) {\n el.instance.setText(el.getAttribute('element-loading-text'));\n\n if (binding.oldValue !== binding.value) {\n toggleLoading(el, binding);\n }\n },\n unbind: function unbind(el, binding) {\n if (el.domInserted) {\n el.mask && el.mask.parentNode && el.mask.parentNode.removeChild(el.mask);\n toggleLoading(el, {\n value: false,\n modifiers: binding.modifiers\n });\n }\n\n el.instance && el.instance.$destroy();\n }\n });\n };\n /* harmony default export */\n\n\n var src_directive = loadingDirective; // CONCATENATED MODULE: ./packages/loading/src/index.js\n\n var LoadingConstructor = external_vue_default.a.extend(loading);\n var src_defaults = {\n text: null,\n fullscreen: true,\n body: false,\n lock: false,\n customClass: ''\n };\n var fullscreenLoading = void 0;\n LoadingConstructor.prototype.originalPosition = '';\n LoadingConstructor.prototype.originalOverflow = '';\n\n LoadingConstructor.prototype.close = function () {\n var _this = this;\n\n if (this.fullscreen) {\n fullscreenLoading = undefined;\n }\n\n after_leave_default()(this, function (_) {\n var target = _this.fullscreen || _this.body ? document.body : _this.target;\n Object(dom_[\"removeClass\"])(target, 'el-loading-parent--relative');\n Object(dom_[\"removeClass\"])(target, 'el-loading-parent--hidden');\n\n if (_this.$el && _this.$el.parentNode) {\n _this.$el.parentNode.removeChild(_this.$el);\n }\n\n _this.$destroy();\n }, 300);\n this.visible = false;\n };\n\n var src_addStyle = function addStyle(options, parent, instance) {\n var maskStyle = {};\n\n if (options.fullscreen) {\n instance.originalPosition = Object(dom_[\"getStyle\"])(document.body, 'position');\n instance.originalOverflow = Object(dom_[\"getStyle\"])(document.body, 'overflow');\n maskStyle.zIndex = popup_[\"PopupManager\"].nextZIndex();\n } else if (options.body) {\n instance.originalPosition = Object(dom_[\"getStyle\"])(document.body, 'position');\n ['top', 'left'].forEach(function (property) {\n var scroll = property === 'top' ? 'scrollTop' : 'scrollLeft';\n maskStyle[property] = options.target.getBoundingClientRect()[property] + document.body[scroll] + document.documentElement[scroll] + 'px';\n });\n ['height', 'width'].forEach(function (property) {\n maskStyle[property] = options.target.getBoundingClientRect()[property] + 'px';\n });\n } else {\n instance.originalPosition = Object(dom_[\"getStyle\"])(parent, 'position');\n }\n\n Object.keys(maskStyle).forEach(function (property) {\n instance.$el.style[property] = maskStyle[property];\n });\n };\n\n var src_Loading = function Loading() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (external_vue_default.a.prototype.$isServer) return;\n options = merge_default()({}, src_defaults, options);\n\n if (typeof options.target === 'string') {\n options.target = document.querySelector(options.target);\n }\n\n options.target = options.target || document.body;\n\n if (options.target !== document.body) {\n options.fullscreen = false;\n } else {\n options.body = true;\n }\n\n if (options.fullscreen && fullscreenLoading) {\n return fullscreenLoading;\n }\n\n var parent = options.body ? document.body : options.target;\n var instance = new LoadingConstructor({\n el: document.createElement('div'),\n data: options\n });\n src_addStyle(options, parent, instance);\n\n if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {\n Object(dom_[\"addClass\"])(parent, 'el-loading-parent--relative');\n }\n\n if (options.fullscreen && options.lock) {\n Object(dom_[\"addClass\"])(parent, 'el-loading-parent--hidden');\n }\n\n parent.appendChild(instance.$el);\n external_vue_default.a.nextTick(function () {\n instance.visible = true;\n });\n\n if (options.fullscreen) {\n fullscreenLoading = instance;\n }\n\n return instance;\n };\n /* harmony default export */\n\n\n var src = src_Loading; // CONCATENATED MODULE: ./packages/loading/index.js\n\n /* harmony default export */\n\n var packages_loading = {\n install: function install(Vue) {\n Vue.use(src_directive);\n Vue.prototype.$loading = src;\n },\n directive: src_directive,\n service: src\n }; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/icon.vue?vue&type=template&id=cb3fe7f4&\n\n var iconvue_type_template_id_cb3fe7f4_render = function iconvue_type_template_id_cb3fe7f4_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"i\", {\n \"class\": \"el-icon-\" + _vm.name\n });\n };\n\n var iconvue_type_template_id_cb3fe7f4_staticRenderFns = [];\n iconvue_type_template_id_cb3fe7f4_render._withStripped = true; // CONCATENATED MODULE: ./packages/icon/src/icon.vue?vue&type=template&id=cb3fe7f4&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icon/src/icon.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n\n /* harmony default export */\n\n var iconvue_type_script_lang_js_ = {\n name: 'ElIcon',\n props: {\n name: String\n }\n }; // CONCATENATED MODULE: ./packages/icon/src/icon.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_iconvue_type_script_lang_js_ = iconvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/icon/src/icon.vue\n\n /* normalize component */\n\n var icon_component = normalizeComponent(src_iconvue_type_script_lang_js_, iconvue_type_template_id_cb3fe7f4_render, iconvue_type_template_id_cb3fe7f4_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var icon_api;\n }\n\n icon_component.options.__file = \"packages/icon/src/icon.vue\";\n /* harmony default export */\n\n var icon = icon_component.exports; // CONCATENATED MODULE: ./packages/icon/index.js\n\n /* istanbul ignore next */\n\n icon.install = function (Vue) {\n Vue.component(icon.name, icon);\n };\n /* harmony default export */\n\n\n var packages_icon = icon; // CONCATENATED MODULE: ./packages/row/src/row.js\n\n /* harmony default export */\n\n var src_row = {\n name: 'ElRow',\n componentName: 'ElRow',\n props: {\n tag: {\n type: String,\n \"default\": 'div'\n },\n gutter: Number,\n type: String,\n justify: {\n type: String,\n \"default\": 'start'\n },\n align: String\n },\n computed: {\n style: function style() {\n var ret = {};\n\n if (this.gutter) {\n ret.marginLeft = '-' + this.gutter / 2 + 'px';\n ret.marginRight = ret.marginLeft;\n }\n\n return ret;\n }\n },\n render: function render(h) {\n return h(this.tag, {\n \"class\": ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', {\n 'el-row--flex': this.type === 'flex'\n }],\n style: this.style\n }, this.$slots[\"default\"]);\n }\n }; // CONCATENATED MODULE: ./packages/row/index.js\n\n /* istanbul ignore next */\n\n src_row.install = function (Vue) {\n Vue.component(src_row.name, src_row);\n };\n /* harmony default export */\n\n\n var packages_row = src_row; // CONCATENATED MODULE: ./packages/col/src/col.js\n\n var col_typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n /* harmony default export */\n\n var col = {\n name: 'ElCol',\n props: {\n span: {\n type: Number,\n \"default\": 24\n },\n tag: {\n type: String,\n \"default\": 'div'\n },\n offset: Number,\n pull: Number,\n push: Number,\n xs: [Number, Object],\n sm: [Number, Object],\n md: [Number, Object],\n lg: [Number, Object],\n xl: [Number, Object]\n },\n computed: {\n gutter: function gutter() {\n var parent = this.$parent;\n\n while (parent && parent.$options.componentName !== 'ElRow') {\n parent = parent.$parent;\n }\n\n return parent ? parent.gutter : 0;\n }\n },\n render: function render(h) {\n var _this = this;\n\n var classList = [];\n var style = {};\n\n if (this.gutter) {\n style.paddingLeft = this.gutter / 2 + 'px';\n style.paddingRight = style.paddingLeft;\n }\n\n ['span', 'offset', 'pull', 'push'].forEach(function (prop) {\n if (_this[prop] || _this[prop] === 0) {\n classList.push(prop !== 'span' ? 'el-col-' + prop + '-' + _this[prop] : 'el-col-' + _this[prop]);\n }\n });\n ['xs', 'sm', 'md', 'lg', 'xl'].forEach(function (size) {\n if (typeof _this[size] === 'number') {\n classList.push('el-col-' + size + '-' + _this[size]);\n } else if (col_typeof(_this[size]) === 'object') {\n var props = _this[size];\n Object.keys(props).forEach(function (prop) {\n classList.push(prop !== 'span' ? 'el-col-' + size + '-' + prop + '-' + props[prop] : 'el-col-' + size + '-' + props[prop]);\n });\n }\n });\n return h(this.tag, {\n \"class\": ['el-col', classList],\n style: style\n }, this.$slots[\"default\"]);\n }\n }; // CONCATENATED MODULE: ./packages/col/index.js\n\n /* istanbul ignore next */\n\n col.install = function (Vue) {\n Vue.component(col.name, col);\n };\n /* harmony default export */\n\n\n var packages_col = col; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=template&id=173fedf5&\n\n var upload_listvue_type_template_id_173fedf5_render = function upload_listvue_type_template_id_173fedf5_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition-group\", {\n \"class\": [\"el-upload-list\", \"el-upload-list--\" + _vm.listType, {\n \"is-disabled\": _vm.disabled\n }],\n attrs: {\n tag: \"ul\",\n name: \"el-list\"\n }\n }, _vm._l(_vm.files, function (file) {\n return _c(\"li\", {\n key: file.uid,\n \"class\": [\"el-upload-list__item\", \"is-\" + file.status, _vm.focusing ? \"focusing\" : \"\"],\n attrs: {\n tabindex: \"0\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"delete\", [8, 46], $event.key, [\"Backspace\", \"Delete\", \"Del\"])) {\n return null;\n }\n\n !_vm.disabled && _vm.$emit(\"remove\", file);\n },\n focus: function focus($event) {\n _vm.focusing = true;\n },\n blur: function blur($event) {\n _vm.focusing = false;\n },\n click: function click($event) {\n _vm.focusing = false;\n }\n }\n }, [_vm._t(\"default\", [file.status !== \"uploading\" && [\"picture-card\", \"picture\"].indexOf(_vm.listType) > -1 ? _c(\"img\", {\n staticClass: \"el-upload-list__item-thumbnail\",\n attrs: {\n src: file.url,\n alt: \"\"\n }\n }) : _vm._e(), _c(\"a\", {\n staticClass: \"el-upload-list__item-name\",\n on: {\n click: function click($event) {\n _vm.handleClick(file);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-document\"\n }), _vm._v(_vm._s(file.name) + \"\\n \")]), _c(\"label\", {\n staticClass: \"el-upload-list__item-status-label\"\n }, [_c(\"i\", {\n \"class\": {\n \"el-icon-upload-success\": true,\n \"el-icon-circle-check\": _vm.listType === \"text\",\n \"el-icon-check\": [\"picture-card\", \"picture\"].indexOf(_vm.listType) > -1\n }\n })]), !_vm.disabled ? _c(\"i\", {\n staticClass: \"el-icon-close\",\n on: {\n click: function click($event) {\n _vm.$emit(\"remove\", file);\n }\n }\n }) : _vm._e(), !_vm.disabled ? _c(\"i\", {\n staticClass: \"el-icon-close-tip\"\n }, [_vm._v(_vm._s(_vm.t(\"el.upload.deleteTip\")))]) : _vm._e(), file.status === \"uploading\" ? _c(\"el-progress\", {\n attrs: {\n type: _vm.listType === \"picture-card\" ? \"circle\" : \"line\",\n \"stroke-width\": _vm.listType === \"picture-card\" ? 6 : 2,\n percentage: _vm.parsePercentage(file.percentage)\n }\n }) : _vm._e(), _vm.listType === \"picture-card\" ? _c(\"span\", {\n staticClass: \"el-upload-list__item-actions\"\n }, [_vm.handlePreview && _vm.listType === \"picture-card\" ? _c(\"span\", {\n staticClass: \"el-upload-list__item-preview\",\n on: {\n click: function click($event) {\n _vm.handlePreview(file);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-zoom-in\"\n })]) : _vm._e(), !_vm.disabled ? _c(\"span\", {\n staticClass: \"el-upload-list__item-delete\",\n on: {\n click: function click($event) {\n _vm.$emit(\"remove\", file);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-delete\"\n })]) : _vm._e()]) : _vm._e()], {\n file: file\n })], 2);\n }), 0);\n };\n\n var upload_listvue_type_template_id_173fedf5_staticRenderFns = [];\n upload_listvue_type_template_id_173fedf5_render._withStripped = true; // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=template&id=173fedf5&\n // EXTERNAL MODULE: external \"element-ui/lib/progress\"\n\n var progress_ = __webpack_require__(34);\n\n var progress_default =\n /*#__PURE__*/\n __webpack_require__.n(progress_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-list.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var upload_listvue_type_script_lang_js_ = {\n name: 'ElUploadList',\n mixins: [locale_default.a],\n data: function data() {\n return {\n focusing: false\n };\n },\n components: {\n ElProgress: progress_default.a\n },\n props: {\n files: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n disabled: {\n type: Boolean,\n \"default\": false\n },\n handlePreview: Function,\n listType: String\n },\n methods: {\n parsePercentage: function parsePercentage(val) {\n return parseInt(val, 10);\n },\n handleClick: function handleClick(file) {\n this.handlePreview && this.handlePreview(file);\n }\n }\n }; // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_upload_listvue_type_script_lang_js_ = upload_listvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/upload/src/upload-list.vue\n\n /* normalize component */\n\n var upload_list_component = normalizeComponent(src_upload_listvue_type_script_lang_js_, upload_listvue_type_template_id_173fedf5_render, upload_listvue_type_template_id_173fedf5_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var upload_list_api;\n }\n\n upload_list_component.options.__file = \"packages/upload/src/upload-list.vue\";\n /* harmony default export */\n\n var upload_list = upload_list_component.exports; // EXTERNAL MODULE: external \"babel-helper-vue-jsx-merge-props\"\n\n var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(24);\n\n var external_babel_helper_vue_jsx_merge_props_default =\n /*#__PURE__*/\n __webpack_require__.n(external_babel_helper_vue_jsx_merge_props_); // CONCATENATED MODULE: ./packages/upload/src/ajax.js\n\n\n function getError(action, option, xhr) {\n var msg = void 0;\n\n if (xhr.response) {\n msg = '' + (xhr.response.error || xhr.response);\n } else if (xhr.responseText) {\n msg = '' + xhr.responseText;\n } else {\n msg = 'fail to post ' + action + ' ' + xhr.status;\n }\n\n var err = new Error(msg);\n err.status = xhr.status;\n err.method = 'post';\n err.url = action;\n return err;\n }\n\n function getBody(xhr) {\n var text = xhr.responseText || xhr.response;\n\n if (!text) {\n return text;\n }\n\n try {\n return JSON.parse(text);\n } catch (e) {\n return text;\n }\n }\n\n function upload(option) {\n if (typeof XMLHttpRequest === 'undefined') {\n return;\n }\n\n var xhr = new XMLHttpRequest();\n var action = option.action;\n\n if (xhr.upload) {\n xhr.upload.onprogress = function progress(e) {\n if (e.total > 0) {\n e.percent = e.loaded / e.total * 100;\n }\n\n option.onProgress(e);\n };\n }\n\n var formData = new FormData();\n\n if (option.data) {\n Object.keys(option.data).forEach(function (key) {\n formData.append(key, option.data[key]);\n });\n }\n\n formData.append(option.filename, option.file, option.file.name);\n\n xhr.onerror = function error(e) {\n option.onError(e);\n };\n\n xhr.onload = function onload() {\n if (xhr.status < 200 || xhr.status >= 300) {\n return option.onError(getError(action, option, xhr));\n }\n\n option.onSuccess(getBody(xhr));\n };\n\n xhr.open('post', action, true);\n\n if (option.withCredentials && 'withCredentials' in xhr) {\n xhr.withCredentials = true;\n }\n\n var headers = option.headers || {};\n\n for (var item in headers) {\n if (headers.hasOwnProperty(item) && headers[item] !== null) {\n xhr.setRequestHeader(item, headers[item]);\n }\n }\n\n xhr.send(formData);\n return xhr;\n } // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=template&id=7ebbf219&\n\n\n var upload_draggervue_type_template_id_7ebbf219_render = function upload_draggervue_type_template_id_7ebbf219_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-upload-dragger\",\n \"class\": {\n \"is-dragover\": _vm.dragover\n },\n on: {\n drop: function drop($event) {\n $event.preventDefault();\n return _vm.onDrop($event);\n },\n dragover: function dragover($event) {\n $event.preventDefault();\n return _vm.onDragover($event);\n },\n dragleave: function dragleave($event) {\n $event.preventDefault();\n _vm.dragover = false;\n }\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var upload_draggervue_type_template_id_7ebbf219_staticRenderFns = [];\n upload_draggervue_type_template_id_7ebbf219_render._withStripped = true; // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=template&id=7ebbf219&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var upload_draggervue_type_script_lang_js_ = {\n name: 'ElUploadDrag',\n props: {\n disabled: Boolean\n },\n inject: {\n uploader: {\n \"default\": ''\n }\n },\n data: function data() {\n return {\n dragover: false\n };\n },\n methods: {\n onDragover: function onDragover() {\n if (!this.disabled) {\n this.dragover = true;\n }\n },\n onDrop: function onDrop(e) {\n if (this.disabled || !this.uploader) return;\n var accept = this.uploader.accept;\n this.dragover = false;\n\n if (!accept) {\n this.$emit('file', e.dataTransfer.files);\n return;\n }\n\n this.$emit('file', [].slice.call(e.dataTransfer.files).filter(function (file) {\n var type = file.type,\n name = file.name;\n var extension = name.indexOf('.') > -1 ? '.' + name.split('.').pop() : '';\n var baseType = type.replace(/\\/.*$/, '');\n return accept.split(',').map(function (type) {\n return type.trim();\n }).filter(function (type) {\n return type;\n }).some(function (acceptedType) {\n if (/\\..+$/.test(acceptedType)) {\n return extension === acceptedType;\n }\n\n if (/\\/\\*$/.test(acceptedType)) {\n return baseType === acceptedType.replace(/\\/\\*$/, '');\n }\n\n if (/^[^\\/]+\\/[^\\/]+$/.test(acceptedType)) {\n return type === acceptedType;\n }\n\n return false;\n });\n }));\n }\n }\n }; // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_upload_draggervue_type_script_lang_js_ = upload_draggervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/upload/src/upload-dragger.vue\n\n /* normalize component */\n\n var upload_dragger_component = normalizeComponent(src_upload_draggervue_type_script_lang_js_, upload_draggervue_type_template_id_7ebbf219_render, upload_draggervue_type_template_id_7ebbf219_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var upload_dragger_api;\n }\n\n upload_dragger_component.options.__file = \"packages/upload/src/upload-dragger.vue\";\n /* harmony default export */\n\n var upload_dragger = upload_dragger_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/upload.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var uploadvue_type_script_lang_js_ = {\n inject: ['uploader'],\n components: {\n UploadDragger: upload_dragger\n },\n props: {\n type: String,\n action: {\n type: String,\n required: true\n },\n name: {\n type: String,\n \"default\": 'file'\n },\n data: Object,\n headers: Object,\n withCredentials: Boolean,\n multiple: Boolean,\n accept: String,\n onStart: Function,\n onProgress: Function,\n onSuccess: Function,\n onError: Function,\n beforeUpload: Function,\n drag: Boolean,\n onPreview: {\n type: Function,\n \"default\": function _default() {}\n },\n onRemove: {\n type: Function,\n \"default\": function _default() {}\n },\n fileList: Array,\n autoUpload: Boolean,\n listType: String,\n httpRequest: {\n type: Function,\n \"default\": upload\n },\n disabled: Boolean,\n limit: Number,\n onExceed: Function\n },\n data: function data() {\n return {\n mouseover: false,\n reqs: {}\n };\n },\n methods: {\n isImage: function isImage(str) {\n return str.indexOf('image') !== -1;\n },\n handleChange: function handleChange(ev) {\n var files = ev.target.files;\n if (!files) return;\n this.uploadFiles(files);\n },\n uploadFiles: function uploadFiles(files) {\n var _this = this;\n\n if (this.limit && this.fileList.length + files.length > this.limit) {\n this.onExceed && this.onExceed(files, this.fileList);\n return;\n }\n\n var postFiles = Array.prototype.slice.call(files);\n\n if (!this.multiple) {\n postFiles = postFiles.slice(0, 1);\n }\n\n if (postFiles.length === 0) {\n return;\n }\n\n postFiles.forEach(function (rawFile) {\n _this.onStart(rawFile);\n\n if (_this.autoUpload) _this.upload(rawFile);\n });\n },\n upload: function upload(rawFile) {\n var _this2 = this;\n\n this.$refs.input.value = null;\n\n if (!this.beforeUpload) {\n return this.post(rawFile);\n }\n\n var before = this.beforeUpload(rawFile);\n\n if (before && before.then) {\n before.then(function (processedFile) {\n var fileType = Object.prototype.toString.call(processedFile);\n\n if (fileType === '[object File]' || fileType === '[object Blob]') {\n if (fileType === '[object Blob]') {\n processedFile = new File([processedFile], rawFile.name, {\n type: rawFile.type\n });\n }\n\n for (var p in rawFile) {\n if (rawFile.hasOwnProperty(p)) {\n processedFile[p] = rawFile[p];\n }\n }\n\n _this2.post(processedFile);\n } else {\n _this2.post(rawFile);\n }\n }, function () {\n _this2.onRemove(null, rawFile);\n });\n } else if (before !== false) {\n this.post(rawFile);\n } else {\n this.onRemove(null, rawFile);\n }\n },\n abort: function abort(file) {\n var reqs = this.reqs;\n\n if (file) {\n var uid = file;\n if (file.uid) uid = file.uid;\n\n if (reqs[uid]) {\n reqs[uid].abort();\n }\n } else {\n Object.keys(reqs).forEach(function (uid) {\n if (reqs[uid]) reqs[uid].abort();\n delete reqs[uid];\n });\n }\n },\n post: function post(rawFile) {\n var _this3 = this;\n\n var uid = rawFile.uid;\n var options = {\n headers: this.headers,\n withCredentials: this.withCredentials,\n file: rawFile,\n data: this.data,\n filename: this.name,\n action: this.action,\n onProgress: function onProgress(e) {\n _this3.onProgress(e, rawFile);\n },\n onSuccess: function onSuccess(res) {\n _this3.onSuccess(res, rawFile);\n\n delete _this3.reqs[uid];\n },\n onError: function onError(err) {\n _this3.onError(err, rawFile);\n\n delete _this3.reqs[uid];\n }\n };\n var req = this.httpRequest(options);\n this.reqs[uid] = req;\n\n if (req && req.then) {\n req.then(options.onSuccess, options.onError);\n }\n },\n handleClick: function handleClick() {\n if (!this.disabled) {\n this.$refs.input.value = null;\n this.$refs.input.click();\n }\n },\n handleKeydown: function handleKeydown(e) {\n if (e.target !== e.currentTarget) return;\n\n if (e.keyCode === 13 || e.keyCode === 32) {\n this.handleClick();\n }\n }\n },\n render: function render(h) {\n var handleClick = this.handleClick,\n drag = this.drag,\n name = this.name,\n handleChange = this.handleChange,\n multiple = this.multiple,\n accept = this.accept,\n listType = this.listType,\n uploadFiles = this.uploadFiles,\n disabled = this.disabled,\n handleKeydown = this.handleKeydown;\n var data = {\n \"class\": {\n 'el-upload': true\n },\n on: {\n click: handleClick,\n keydown: handleKeydown\n }\n };\n data[\"class\"]['el-upload--' + listType] = true;\n return h('div', external_babel_helper_vue_jsx_merge_props_default()([data, {\n attrs: {\n tabindex: '0'\n }\n }]), [drag ? h('upload-dragger', {\n attrs: {\n disabled: disabled\n },\n on: {\n 'file': uploadFiles\n }\n }, [this.$slots[\"default\"]]) : this.$slots[\"default\"], h('input', {\n 'class': 'el-upload__input',\n attrs: {\n type: 'file',\n name: name,\n multiple: multiple,\n accept: accept\n },\n ref: 'input',\n on: {\n 'change': handleChange\n }\n })]);\n }\n }; // CONCATENATED MODULE: ./packages/upload/src/upload.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_uploadvue_type_script_lang_js_ = uploadvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/upload/src/upload.vue\n\n var upload_render, upload_staticRenderFns;\n /* normalize component */\n\n var upload_component = normalizeComponent(src_uploadvue_type_script_lang_js_, upload_render, upload_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var upload_api;\n }\n\n upload_component.options.__file = \"packages/upload/src/upload.vue\";\n /* harmony default export */\n\n var src_upload = upload_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/index.vue?vue&type=script&lang=js&\n\n function srcvue_type_script_lang_js_noop() {}\n /* harmony default export */\n\n\n var srcvue_type_script_lang_js_ = {\n name: 'ElUpload',\n mixins: [migrating_default.a],\n components: {\n ElProgress: progress_default.a,\n UploadList: upload_list,\n Upload: src_upload\n },\n provide: function provide() {\n return {\n uploader: this\n };\n },\n inject: {\n elForm: {\n \"default\": ''\n }\n },\n props: {\n action: {\n type: String,\n required: true\n },\n headers: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n data: Object,\n multiple: Boolean,\n name: {\n type: String,\n \"default\": 'file'\n },\n drag: Boolean,\n dragger: Boolean,\n withCredentials: Boolean,\n showFileList: {\n type: Boolean,\n \"default\": true\n },\n accept: String,\n type: {\n type: String,\n \"default\": 'select'\n },\n beforeUpload: Function,\n beforeRemove: Function,\n onRemove: {\n type: Function,\n \"default\": srcvue_type_script_lang_js_noop\n },\n onChange: {\n type: Function,\n \"default\": srcvue_type_script_lang_js_noop\n },\n onPreview: {\n type: Function\n },\n onSuccess: {\n type: Function,\n \"default\": srcvue_type_script_lang_js_noop\n },\n onProgress: {\n type: Function,\n \"default\": srcvue_type_script_lang_js_noop\n },\n onError: {\n type: Function,\n \"default\": srcvue_type_script_lang_js_noop\n },\n fileList: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n autoUpload: {\n type: Boolean,\n \"default\": true\n },\n listType: {\n type: String,\n \"default\": 'text' // text,picture,picture-card\n\n },\n httpRequest: Function,\n disabled: Boolean,\n limit: Number,\n onExceed: {\n type: Function,\n \"default\": srcvue_type_script_lang_js_noop\n }\n },\n data: function data() {\n return {\n uploadFiles: [],\n dragOver: false,\n draging: false,\n tempIndex: 1\n };\n },\n computed: {\n uploadDisabled: function uploadDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n }\n },\n watch: {\n listType: function listType(type) {\n if (type === 'picture-card' || type === 'picture') {\n this.uploadFiles = this.uploadFiles.map(function (file) {\n if (!file.url && file.raw) {\n try {\n file.url = URL.createObjectURL(file.raw);\n } catch (err) {\n console.error('[Element Error][Upload]', err);\n }\n }\n\n return file;\n });\n }\n },\n fileList: {\n immediate: true,\n handler: function handler(fileList) {\n var _this = this;\n\n this.uploadFiles = fileList.map(function (item) {\n item.uid = item.uid || Date.now() + _this.tempIndex++;\n item.status = item.status || 'success';\n return item;\n });\n }\n }\n },\n methods: {\n handleStart: function handleStart(rawFile) {\n rawFile.uid = Date.now() + this.tempIndex++;\n var file = {\n status: 'ready',\n name: rawFile.name,\n size: rawFile.size,\n percentage: 0,\n uid: rawFile.uid,\n raw: rawFile\n };\n\n if (this.listType === 'picture-card' || this.listType === 'picture') {\n try {\n file.url = URL.createObjectURL(rawFile);\n } catch (err) {\n console.error('[Element Error][Upload]', err);\n return;\n }\n }\n\n this.uploadFiles.push(file);\n this.onChange(file, this.uploadFiles);\n },\n handleProgress: function handleProgress(ev, rawFile) {\n var file = this.getFile(rawFile);\n this.onProgress(ev, file, this.uploadFiles);\n file.status = 'uploading';\n file.percentage = ev.percent || 0;\n },\n handleSuccess: function handleSuccess(res, rawFile) {\n var file = this.getFile(rawFile);\n\n if (file) {\n file.status = 'success';\n file.response = res;\n this.onSuccess(res, file, this.uploadFiles);\n this.onChange(file, this.uploadFiles);\n }\n },\n handleError: function handleError(err, rawFile) {\n var file = this.getFile(rawFile);\n var fileList = this.uploadFiles;\n file.status = 'fail';\n fileList.splice(fileList.indexOf(file), 1);\n this.onError(err, file, this.uploadFiles);\n this.onChange(file, this.uploadFiles);\n },\n handleRemove: function handleRemove(file, raw) {\n var _this2 = this;\n\n if (raw) {\n file = this.getFile(raw);\n }\n\n var doRemove = function doRemove() {\n _this2.abort(file);\n\n var fileList = _this2.uploadFiles;\n fileList.splice(fileList.indexOf(file), 1);\n\n _this2.onRemove(file, fileList);\n };\n\n if (!this.beforeRemove) {\n doRemove();\n } else if (typeof this.beforeRemove === 'function') {\n var before = this.beforeRemove(file, this.uploadFiles);\n\n if (before && before.then) {\n before.then(function () {\n doRemove();\n }, srcvue_type_script_lang_js_noop);\n } else if (before !== false) {\n doRemove();\n }\n }\n },\n getFile: function getFile(rawFile) {\n var fileList = this.uploadFiles;\n var target = void 0;\n fileList.every(function (item) {\n target = rawFile.uid === item.uid ? item : null;\n return !target;\n });\n return target;\n },\n abort: function abort(file) {\n this.$refs['upload-inner'].abort(file);\n },\n clearFiles: function clearFiles() {\n this.uploadFiles = [];\n },\n submit: function submit() {\n var _this3 = this;\n\n this.uploadFiles.filter(function (file) {\n return file.status === 'ready';\n }).forEach(function (file) {\n _this3.$refs['upload-inner'].upload(file.raw);\n });\n },\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'default-file-list': 'default-file-list is renamed to file-list.',\n 'show-upload-list': 'show-upload-list is renamed to show-file-list.',\n 'thumbnail-mode': 'thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan'\n }\n };\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.uploadFiles.forEach(function (file) {\n if (file.url && file.url.indexOf('blob:') === 0) {\n URL.revokeObjectURL(file.url);\n }\n });\n },\n render: function render(h) {\n var _this4 = this;\n\n var uploadList = void 0;\n\n if (this.showFileList) {\n uploadList = h(upload_list, {\n attrs: {\n disabled: this.uploadDisabled,\n listType: this.listType,\n files: this.uploadFiles,\n handlePreview: this.onPreview\n },\n on: {\n 'remove': this.handleRemove\n }\n }, [function (props) {\n if (_this4.$scopedSlots.file) {\n return _this4.$scopedSlots.file({\n file: props.file\n });\n }\n }]);\n }\n\n var uploadData = {\n props: {\n type: this.type,\n drag: this.drag,\n action: this.action,\n multiple: this.multiple,\n 'before-upload': this.beforeUpload,\n 'with-credentials': this.withCredentials,\n headers: this.headers,\n name: this.name,\n data: this.data,\n accept: this.accept,\n fileList: this.uploadFiles,\n autoUpload: this.autoUpload,\n listType: this.listType,\n disabled: this.uploadDisabled,\n limit: this.limit,\n 'on-exceed': this.onExceed,\n 'on-start': this.handleStart,\n 'on-progress': this.handleProgress,\n 'on-success': this.handleSuccess,\n 'on-error': this.handleError,\n 'on-preview': this.onPreview,\n 'on-remove': this.handleRemove,\n 'http-request': this.httpRequest\n },\n ref: 'upload-inner'\n };\n var trigger = this.$slots.trigger || this.$slots[\"default\"];\n var uploadComponent = h('upload', uploadData, [trigger]);\n return h('div', [this.listType === 'picture-card' ? uploadList : '', this.$slots.trigger ? [uploadComponent, this.$slots[\"default\"]] : uploadComponent, this.$slots.tip, this.listType !== 'picture-card' ? uploadList : '']);\n }\n }; // CONCATENATED MODULE: ./packages/upload/src/index.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var upload_srcvue_type_script_lang_js_ = srcvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/upload/src/index.vue\n\n var src_render, src_staticRenderFns;\n /* normalize component */\n\n var upload_src_component = normalizeComponent(upload_srcvue_type_script_lang_js_, src_render, src_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var src_api;\n }\n\n upload_src_component.options.__file = \"packages/upload/src/index.vue\";\n /* harmony default export */\n\n var upload_src = upload_src_component.exports; // CONCATENATED MODULE: ./packages/upload/index.js\n\n /* istanbul ignore next */\n\n upload_src.install = function (Vue) {\n Vue.component(upload_src.name, upload_src);\n };\n /* harmony default export */\n\n\n var packages_upload = upload_src; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=229ee406&\n\n var progressvue_type_template_id_229ee406_render = function progressvue_type_template_id_229ee406_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-progress\",\n \"class\": [\"el-progress--\" + _vm.type, _vm.status ? \"is-\" + _vm.status : \"\", {\n \"el-progress--without-text\": !_vm.showText,\n \"el-progress--text-inside\": _vm.textInside\n }],\n attrs: {\n role: \"progressbar\",\n \"aria-valuenow\": _vm.percentage,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }\n }, [_vm.type === \"line\" ? _c(\"div\", {\n staticClass: \"el-progress-bar\"\n }, [_c(\"div\", {\n staticClass: \"el-progress-bar__outer\",\n style: {\n height: _vm.strokeWidth + \"px\",\n backgroundColor: _vm.defineBackColor\n }\n }, [_c(\"div\", {\n staticClass: \"el-progress-bar__inner\",\n style: _vm.barStyle\n }, [_vm.showText && _vm.textInside ? _c(\"div\", {\n staticClass: \"el-progress-bar__innerText\",\n style: {\n color: _vm.textColor\n }\n }, [_vm._v(_vm._s(_vm.content))]) : _vm._e()])])]) : _c(\"div\", {\n staticClass: \"el-progress-circle\",\n style: {\n height: _vm.width + \"px\",\n width: _vm.width + \"px\"\n }\n }, [_c(\"svg\", {\n attrs: {\n viewBox: \"0 0 100 100\"\n }\n }, [_c(\"path\", {\n staticClass: \"el-progress-circle__track\",\n style: _vm.trailPathStyle,\n attrs: {\n d: _vm.trackPath,\n stroke: _vm.defineBackColor,\n \"stroke-width\": _vm.relativeStrokeWidth,\n fill: \"none\"\n }\n }), _c(\"path\", {\n staticClass: \"el-progress-circle__path\",\n style: _vm.circlePathStyle,\n attrs: {\n d: _vm.trackPath,\n stroke: _vm.stroke,\n fill: \"none\",\n \"stroke-linecap\": _vm.strokeLinecap,\n \"stroke-width\": _vm.percentage ? _vm.relativeStrokeWidth : 0\n }\n })])]), _vm.showText && !_vm.textInside ? _c(\"div\", {\n staticClass: \"el-progress__text\",\n style: {\n fontSize: _vm.progressTextSize + \"px\",\n color: _vm.textColor\n }\n }, [!_vm.status ? [_vm._v(_vm._s(_vm.content))] : _c(\"i\", {\n \"class\": _vm.iconClass\n })], 2) : _vm._e()]);\n };\n\n var progressvue_type_template_id_229ee406_staticRenderFns = [];\n progressvue_type_template_id_229ee406_render._withStripped = true; // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=229ee406&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var progressvue_type_script_lang_js_ = {\n name: 'ElProgress',\n props: {\n type: {\n type: String,\n \"default\": 'line',\n validator: function validator(val) {\n return ['line', 'circle', 'dashboard'].indexOf(val) > -1;\n }\n },\n percentage: {\n type: Number,\n \"default\": 0,\n required: true,\n validator: function validator(val) {\n return val >= 0 && val <= 100;\n }\n },\n status: {\n type: String,\n validator: function validator(val) {\n return ['success', 'exception', 'warning'].indexOf(val) > -1;\n }\n },\n strokeWidth: {\n type: Number,\n \"default\": 6\n },\n strokeLinecap: {\n type: String,\n \"default\": 'round'\n },\n textInside: {\n type: Boolean,\n \"default\": false\n },\n width: {\n type: Number,\n \"default\": 126\n },\n showText: {\n type: Boolean,\n \"default\": true\n },\n color: {\n type: [String, Array, Function],\n \"default\": ''\n },\n defineBackColor: {\n type: [String, Array, Function],\n \"default\": '#ebeef5'\n },\n textColor: {\n type: [String, Array, Function],\n \"default\": '#606266'\n },\n format: Function\n },\n computed: {\n barStyle: function barStyle() {\n var style = {};\n style.width = this.percentage + '%';\n style.backgroundColor = this.getCurrentColor(this.percentage);\n return style;\n },\n relativeStrokeWidth: function relativeStrokeWidth() {\n return (this.strokeWidth / this.width * 100).toFixed(1);\n },\n radius: function radius() {\n if (this.type === 'circle' || this.type === 'dashboard') {\n return parseInt(50 - parseFloat(this.relativeStrokeWidth) / 2, 10);\n } else {\n return 0;\n }\n },\n trackPath: function trackPath() {\n var radius = this.radius;\n var isDashboard = this.type === 'dashboard';\n return '\\n M 50 50\\n m 0 ' + (isDashboard ? '' : '-') + radius + '\\n a ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '-' : '') + radius * 2 + '\\n a ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '' : '-') + radius * 2 + '\\n ';\n },\n perimeter: function perimeter() {\n return 2 * Math.PI * this.radius;\n },\n rate: function rate() {\n return this.type === 'dashboard' ? 0.75 : 1;\n },\n strokeDashoffset: function strokeDashoffset() {\n var offset = -1 * this.perimeter * (1 - this.rate) / 2;\n return offset + 'px';\n },\n trailPathStyle: function trailPathStyle() {\n return {\n strokeDasharray: this.perimeter * this.rate + 'px, ' + this.perimeter + 'px',\n strokeDashoffset: this.strokeDashoffset\n };\n },\n circlePathStyle: function circlePathStyle() {\n return {\n strokeDasharray: this.perimeter * this.rate * (this.percentage / 100) + 'px, ' + this.perimeter + 'px',\n strokeDashoffset: this.strokeDashoffset,\n transition: 'stroke-dasharray 0.6s ease 0s, stroke 0.6s ease'\n };\n },\n stroke: function stroke() {\n var ret = void 0;\n\n if (this.color) {\n ret = this.getCurrentColor(this.percentage);\n } else {\n switch (this.status) {\n case 'success':\n ret = '#13ce66';\n break;\n\n case 'exception':\n ret = '#ff4949';\n break;\n\n case 'warning':\n ret = '#e6a23c';\n break;\n\n default:\n ret = '#20a0ff';\n }\n }\n\n return ret;\n },\n iconClass: function iconClass() {\n if (this.status === 'warning') {\n return 'el-icon-warning';\n }\n\n if (this.type === 'line') {\n return this.status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-close';\n } else {\n return this.status === 'success' ? 'el-icon-check' : 'el-icon-close';\n }\n },\n progressTextSize: function progressTextSize() {\n return this.type === 'line' ? 12 + this.strokeWidth * 0.4 : this.width * 0.111111 + 2;\n },\n content: function content() {\n if (typeof this.format === 'function') {\n return this.format(this.percentage) || '';\n } else {\n return this.percentage + '%';\n }\n }\n },\n methods: {\n getCurrentColor: function getCurrentColor(percentage) {\n if (typeof this.color === 'function') {\n return this.color(percentage);\n } else if (typeof this.color === 'string') {\n return this.color;\n } else {\n return this.getLevelColor(percentage);\n }\n },\n getLevelColor: function getLevelColor(percentage) {\n var colorArray = this.getColorArray().sort(function (a, b) {\n return a.percentage - b.percentage;\n });\n\n for (var i = 0; i < colorArray.length; i++) {\n if (colorArray[i].percentage > percentage) {\n return colorArray[i].color;\n }\n }\n\n return colorArray[colorArray.length - 1].color;\n },\n getColorArray: function getColorArray() {\n var color = this.color;\n var span = 100 / color.length;\n return color.map(function (seriesColor, index) {\n if (typeof seriesColor === 'string') {\n return {\n color: seriesColor,\n percentage: (index + 1) * span\n };\n }\n\n return seriesColor;\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_progressvue_type_script_lang_js_ = progressvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/progress/src/progress.vue\n\n /* normalize component */\n\n var progress_component = normalizeComponent(src_progressvue_type_script_lang_js_, progressvue_type_template_id_229ee406_render, progressvue_type_template_id_229ee406_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var progress_api;\n }\n\n progress_component.options.__file = \"packages/progress/src/progress.vue\";\n /* harmony default export */\n\n var progress = progress_component.exports; // CONCATENATED MODULE: ./packages/progress/index.js\n\n /* istanbul ignore next */\n\n progress.install = function (Vue) {\n Vue.component(progress.name, progress);\n };\n /* harmony default export */\n\n\n var packages_progress = progress; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/spinner/src/spinner.vue?vue&type=template&id=697b8538&\n\n var spinnervue_type_template_id_697b8538_render = function spinnervue_type_template_id_697b8538_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"span\", {\n staticClass: \"el-spinner\"\n }, [_c(\"svg\", {\n staticClass: \"el-spinner-inner\",\n style: {\n width: _vm.radius / 2 + \"px\",\n height: _vm.radius / 2 + \"px\"\n },\n attrs: {\n viewBox: \"0 0 50 50\"\n }\n }, [_c(\"circle\", {\n staticClass: \"path\",\n attrs: {\n cx: \"25\",\n cy: \"25\",\n r: \"20\",\n fill: \"none\",\n stroke: _vm.strokeColor,\n \"stroke-width\": _vm.strokeWidth\n }\n })])]);\n };\n\n var spinnervue_type_template_id_697b8538_staticRenderFns = [];\n spinnervue_type_template_id_697b8538_render._withStripped = true; // CONCATENATED MODULE: ./packages/spinner/src/spinner.vue?vue&type=template&id=697b8538&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/spinner/src/spinner.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var spinnervue_type_script_lang_js_ = {\n name: 'ElSpinner',\n props: {\n type: String,\n radius: {\n type: Number,\n \"default\": 100\n },\n strokeWidth: {\n type: Number,\n \"default\": 5\n },\n strokeColor: {\n type: String,\n \"default\": '#efefef'\n }\n }\n }; // CONCATENATED MODULE: ./packages/spinner/src/spinner.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_spinnervue_type_script_lang_js_ = spinnervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/spinner/src/spinner.vue\n\n /* normalize component */\n\n var spinner_component = normalizeComponent(src_spinnervue_type_script_lang_js_, spinnervue_type_template_id_697b8538_render, spinnervue_type_template_id_697b8538_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var spinner_api;\n }\n\n spinner_component.options.__file = \"packages/spinner/src/spinner.vue\";\n /* harmony default export */\n\n var spinner = spinner_component.exports; // CONCATENATED MODULE: ./packages/spinner/index.js\n\n /* istanbul ignore next */\n\n spinner.install = function (Vue) {\n Vue.component(spinner.name, spinner);\n };\n /* harmony default export */\n\n\n var packages_spinner = spinner; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/message/src/main.vue?vue&type=template&id=455b9f60&\n\n var mainvue_type_template_id_455b9f60_render = function mainvue_type_template_id_455b9f60_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-message-fade\"\n },\n on: {\n \"after-leave\": _vm.handleAfterLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n \"class\": [\"el-message\", _vm.type && !_vm.iconClass ? \"el-message--\" + _vm.type : \"\", _vm.center ? \"is-center\" : \"\", _vm.showClose ? \"is-closable\" : \"\", _vm.customClass],\n style: _vm.positionStyle,\n attrs: {\n role: \"alert\"\n },\n on: {\n mouseenter: _vm.clearTimer,\n mouseleave: _vm.startTimer\n }\n }, [_vm.iconClass ? _c(\"i\", {\n \"class\": _vm.iconClass\n }) : _c(\"i\", {\n \"class\": _vm.typeClass\n }), _vm._t(\"default\", [!_vm.dangerouslyUseHTMLString ? _c(\"p\", {\n staticClass: \"el-message__content\"\n }, [_vm._v(_vm._s(_vm.message))]) : _c(\"p\", {\n staticClass: \"el-message__content\",\n domProps: {\n innerHTML: _vm._s(_vm.message)\n }\n })]), _vm.showClose ? _c(\"i\", {\n staticClass: \"el-message__closeBtn el-icon-close\",\n on: {\n click: _vm.close\n }\n }) : _vm._e()], 2)]);\n };\n\n var mainvue_type_template_id_455b9f60_staticRenderFns = [];\n mainvue_type_template_id_455b9f60_render._withStripped = true; // CONCATENATED MODULE: ./packages/message/src/main.vue?vue&type=template&id=455b9f60&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/message/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var src_mainvue_type_script_lang_js_typeMap = {\n success: 'success',\n info: 'info',\n warning: 'warning',\n error: 'error'\n };\n /* harmony default export */\n\n var message_src_mainvue_type_script_lang_js_ = {\n data: function data() {\n return {\n visible: false,\n message: '',\n duration: 3000,\n type: 'info',\n iconClass: '',\n customClass: '',\n onClose: null,\n showClose: false,\n closed: false,\n verticalOffset: 20,\n timer: null,\n dangerouslyUseHTMLString: false,\n center: false\n };\n },\n computed: {\n typeClass: function typeClass() {\n return this.type && !this.iconClass ? 'el-message__icon el-icon-' + src_mainvue_type_script_lang_js_typeMap[this.type] : '';\n },\n positionStyle: function positionStyle() {\n return {\n 'top': this.verticalOffset + 'px'\n };\n }\n },\n watch: {\n closed: function closed(newVal) {\n if (newVal) {\n this.visible = false;\n }\n }\n },\n methods: {\n handleAfterLeave: function handleAfterLeave() {\n this.$destroy(true);\n this.$el.parentNode.removeChild(this.$el);\n },\n close: function close() {\n this.closed = true;\n\n if (typeof this.onClose === 'function') {\n this.onClose(this);\n }\n },\n clearTimer: function clearTimer() {\n clearTimeout(this.timer);\n },\n startTimer: function startTimer() {\n var _this = this;\n\n if (this.duration > 0) {\n this.timer = setTimeout(function () {\n if (!_this.closed) {\n _this.close();\n }\n }, this.duration);\n }\n },\n keydown: function keydown(e) {\n if (e.keyCode === 27) {\n // escå…³é—消æ¯\n if (!this.closed) {\n this.close();\n }\n }\n }\n },\n mounted: function mounted() {\n this.startTimer();\n document.addEventListener('keydown', this.keydown);\n },\n beforeDestroy: function beforeDestroy() {\n document.removeEventListener('keydown', this.keydown);\n }\n }; // CONCATENATED MODULE: ./packages/message/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_message_src_mainvue_type_script_lang_js_ = message_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/message/src/main.vue\n\n /* normalize component */\n\n var message_src_main_component = normalizeComponent(packages_message_src_mainvue_type_script_lang_js_, mainvue_type_template_id_455b9f60_render, mainvue_type_template_id_455b9f60_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var message_src_main_api;\n }\n\n message_src_main_component.options.__file = \"packages/message/src/main.vue\";\n /* harmony default export */\n\n var message_src_main = message_src_main_component.exports; // EXTERNAL MODULE: external \"element-ui/lib/utils/types\"\n\n var types_ = __webpack_require__(16); // CONCATENATED MODULE: ./packages/message/src/main.js\n\n\n var main_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 MessageConstructor = external_vue_default.a.extend(message_src_main);\n var message_src_main_instance = void 0;\n var main_instances = [];\n var main_seed = 1;\n\n var main_Message = function Message(options) {\n if (external_vue_default.a.prototype.$isServer) return;\n options = options || {};\n\n if (typeof options === 'string') {\n options = {\n message: options\n };\n }\n\n var userOnClose = options.onClose;\n var id = 'message_' + main_seed++;\n\n options.onClose = function () {\n Message.close(id, userOnClose);\n };\n\n message_src_main_instance = new MessageConstructor({\n data: options\n });\n message_src_main_instance.id = id;\n\n if (Object(vdom_[\"isVNode\"])(message_src_main_instance.message)) {\n message_src_main_instance.$slots[\"default\"] = [message_src_main_instance.message];\n message_src_main_instance.message = null;\n }\n\n message_src_main_instance.$mount();\n document.body.appendChild(message_src_main_instance.$el);\n var verticalOffset = options.offset || 20;\n main_instances.forEach(function (item) {\n verticalOffset += item.$el.offsetHeight + 16;\n });\n message_src_main_instance.verticalOffset = verticalOffset;\n message_src_main_instance.visible = true;\n message_src_main_instance.$el.style.zIndex = popup_[\"PopupManager\"].nextZIndex();\n main_instances.push(message_src_main_instance);\n return message_src_main_instance;\n };\n\n ['success', 'warning', 'info', 'error'].forEach(function (type) {\n main_Message[type] = function (options) {\n if (Object(types_[\"isObject\"])(options) && !Object(vdom_[\"isVNode\"])(options)) {\n return main_Message(main_extends({}, options, {\n type: type\n }));\n }\n\n return main_Message({\n type: type,\n message: options\n });\n };\n });\n\n main_Message.close = function (id, userOnClose) {\n var len = main_instances.length;\n var index = -1;\n var removedHeight = void 0;\n\n for (var i = 0; i < len; i++) {\n if (id === main_instances[i].id) {\n removedHeight = main_instances[i].$el.offsetHeight;\n index = i;\n\n if (typeof userOnClose === 'function') {\n userOnClose(main_instances[i]);\n }\n\n main_instances.splice(i, 1);\n break;\n }\n }\n\n if (len <= 1 || index === -1 || index > main_instances.length - 1) return;\n\n for (var _i = index; _i < len - 1; _i++) {\n var dom = main_instances[_i].$el;\n dom.style['top'] = parseInt(dom.style['top'], 10) - removedHeight - 16 + 'px';\n }\n };\n\n main_Message.closeAll = function () {\n for (var i = main_instances.length - 1; i >= 0; i--) {\n main_instances[i].close();\n }\n };\n /* harmony default export */\n\n\n var packages_message_src_main = main_Message; // CONCATENATED MODULE: ./packages/message/index.js\n\n /* harmony default export */\n\n var packages_message = packages_message_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/badge/src/main.vue?vue&type=template&id=7ccb6598&\n\n var mainvue_type_template_id_7ccb6598_render = function mainvue_type_template_id_7ccb6598_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-badge\"\n }, [_vm._t(\"default\"), _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-center\"\n }\n }, [_c(\"sup\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.hidden && (_vm.content || _vm.content === 0 || _vm.isDot),\n expression: \"!hidden && (content || content === 0 || isDot)\"\n }],\n staticClass: \"el-badge__content\",\n \"class\": [_vm.type ? \"el-badge__content--\" + _vm.type : null, {\n \"is-fixed\": _vm.$slots[\"default\"],\n \"is-dot\": _vm.isDot\n }],\n domProps: {\n textContent: _vm._s(_vm.content)\n }\n })])], 2);\n };\n\n var mainvue_type_template_id_7ccb6598_staticRenderFns = [];\n mainvue_type_template_id_7ccb6598_render._withStripped = true; // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=template&id=7ccb6598&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/badge/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var badge_src_mainvue_type_script_lang_js_ = {\n name: 'ElBadge',\n props: {\n value: [String, Number],\n max: Number,\n isDot: Boolean,\n hidden: Boolean,\n type: {\n type: String,\n validator: function validator(val) {\n return ['primary', 'success', 'warning', 'info', 'danger'].indexOf(val) > -1;\n }\n }\n },\n computed: {\n content: function content() {\n if (this.isDot) return;\n var value = this.value;\n var max = this.max;\n\n if (typeof value === 'number' && typeof max === 'number') {\n return max < value ? max + '+' : value;\n }\n\n return value;\n }\n }\n }; // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_badge_src_mainvue_type_script_lang_js_ = badge_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/badge/src/main.vue\n\n /* normalize component */\n\n var badge_src_main_component = normalizeComponent(packages_badge_src_mainvue_type_script_lang_js_, mainvue_type_template_id_7ccb6598_render, mainvue_type_template_id_7ccb6598_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var badge_src_main_api;\n }\n\n badge_src_main_component.options.__file = \"packages/badge/src/main.vue\";\n /* harmony default export */\n\n var badge_src_main = badge_src_main_component.exports; // CONCATENATED MODULE: ./packages/badge/index.js\n\n /* istanbul ignore next */\n\n badge_src_main.install = function (Vue) {\n Vue.component(badge_src_main.name, badge_src_main);\n };\n /* harmony default export */\n\n\n var badge = badge_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/card/src/main.vue?vue&type=template&id=59a4a40f&\n\n var mainvue_type_template_id_59a4a40f_render = function mainvue_type_template_id_59a4a40f_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-card\",\n \"class\": _vm.shadow ? \"is-\" + _vm.shadow + \"-shadow\" : \"is-always-shadow\"\n }, [_vm.$slots.header || _vm.header ? _c(\"div\", {\n staticClass: \"el-card__header\"\n }, [_vm._t(\"header\", [_vm._v(_vm._s(_vm.header))])], 2) : _vm._e(), _c(\"div\", {\n staticClass: \"el-card__body\",\n style: _vm.bodyStyle\n }, [_vm._t(\"default\")], 2)]);\n };\n\n var mainvue_type_template_id_59a4a40f_staticRenderFns = [];\n mainvue_type_template_id_59a4a40f_render._withStripped = true; // CONCATENATED MODULE: ./packages/card/src/main.vue?vue&type=template&id=59a4a40f&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/card/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var card_src_mainvue_type_script_lang_js_ = {\n name: 'ElCard',\n props: {\n header: {},\n bodyStyle: {},\n shadow: {\n type: String\n }\n }\n }; // CONCATENATED MODULE: ./packages/card/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_card_src_mainvue_type_script_lang_js_ = card_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/card/src/main.vue\n\n /* normalize component */\n\n var card_src_main_component = normalizeComponent(packages_card_src_mainvue_type_script_lang_js_, mainvue_type_template_id_59a4a40f_render, mainvue_type_template_id_59a4a40f_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var card_src_main_api;\n }\n\n card_src_main_component.options.__file = \"packages/card/src/main.vue\";\n /* harmony default export */\n\n var card_src_main = card_src_main_component.exports; // CONCATENATED MODULE: ./packages/card/index.js\n\n /* istanbul ignore next */\n\n card_src_main.install = function (Vue) {\n Vue.component(card_src_main.name, card_src_main);\n };\n /* harmony default export */\n\n\n var card = card_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/rate/src/main.vue?vue&type=template&id=ada57782&\n\n var mainvue_type_template_id_ada57782_render = function mainvue_type_template_id_ada57782_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-rate\",\n attrs: {\n role: \"slider\",\n \"aria-valuenow\": _vm.currentValue,\n \"aria-valuetext\": _vm.text,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": _vm.max,\n tabindex: \"0\"\n },\n on: {\n keydown: _vm.handleKey\n }\n }, [_vm._l(_vm.max, function (item, key) {\n return _c(\"span\", {\n key: key,\n staticClass: \"el-rate__item\",\n style: {\n cursor: _vm.rateDisabled ? \"auto\" : \"pointer\"\n },\n on: {\n mousemove: function mousemove($event) {\n _vm.setCurrentValue(item, $event);\n },\n mouseleave: _vm.resetCurrentValue,\n click: function click($event) {\n _vm.selectValue(item);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-rate__icon\",\n \"class\": [_vm.classes[item - 1], {\n hover: _vm.hoverIndex === item\n }],\n style: _vm.getIconStyle(item)\n }, [_vm.showDecimalIcon(item) ? _c(\"i\", {\n staticClass: \"el-rate__decimal\",\n \"class\": _vm.decimalIconClass,\n style: _vm.decimalStyle\n }) : _vm._e()])]);\n }), _vm.showText || _vm.showScore ? _c(\"span\", {\n staticClass: \"el-rate__text\",\n style: {\n color: _vm.textColor\n }\n }, [_vm._v(_vm._s(_vm.text))]) : _vm._e()], 2);\n };\n\n var mainvue_type_template_id_ada57782_staticRenderFns = [];\n mainvue_type_template_id_ada57782_render._withStripped = true; // CONCATENATED MODULE: ./packages/rate/src/main.vue?vue&type=template&id=ada57782&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/rate/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var rate_src_mainvue_type_script_lang_js_ = {\n name: 'ElRate',\n mixins: [migrating_default.a],\n inject: {\n elForm: {\n \"default\": ''\n }\n },\n data: function data() {\n return {\n pointerAtLeftHalf: true,\n currentValue: this.value,\n hoverIndex: -1\n };\n },\n props: {\n value: {\n type: Number,\n \"default\": 0\n },\n lowThreshold: {\n type: Number,\n \"default\": 2\n },\n highThreshold: {\n type: Number,\n \"default\": 4\n },\n max: {\n type: Number,\n \"default\": 5\n },\n colors: {\n type: [Array, Object],\n \"default\": function _default() {\n return ['#F7BA2A', '#F7BA2A', '#F7BA2A'];\n }\n },\n voidColor: {\n type: String,\n \"default\": '#C6D1DE'\n },\n disabledVoidColor: {\n type: String,\n \"default\": '#EFF2F7'\n },\n iconClasses: {\n type: [Array, Object],\n \"default\": function _default() {\n return ['el-icon-star-on', 'el-icon-star-on', 'el-icon-star-on'];\n }\n },\n voidIconClass: {\n type: String,\n \"default\": 'el-icon-star-off'\n },\n disabledVoidIconClass: {\n type: String,\n \"default\": 'el-icon-star-on'\n },\n disabled: {\n type: Boolean,\n \"default\": false\n },\n allowHalf: {\n type: Boolean,\n \"default\": false\n },\n showText: {\n type: Boolean,\n \"default\": false\n },\n showScore: {\n type: Boolean,\n \"default\": false\n },\n textColor: {\n type: String,\n \"default\": '#1f2d3d'\n },\n texts: {\n type: Array,\n \"default\": function _default() {\n return ['æžå·®', '失望', '一般', '满æ„', '惊喜'];\n }\n },\n scoreTemplate: {\n type: String,\n \"default\": '{value}'\n }\n },\n computed: {\n text: function text() {\n var result = '';\n\n if (this.showScore) {\n result = this.scoreTemplate.replace(/\\{\\s*value\\s*\\}/, this.rateDisabled ? this.value : this.currentValue);\n } else if (this.showText) {\n result = this.texts[Math.ceil(this.currentValue) - 1];\n }\n\n return result;\n },\n decimalStyle: function decimalStyle() {\n var width = '';\n\n if (this.rateDisabled) {\n width = this.valueDecimal + '%';\n } else if (this.allowHalf) {\n width = '50%';\n }\n\n return {\n color: this.activeColor,\n width: width\n };\n },\n valueDecimal: function valueDecimal() {\n return this.value * 100 - Math.floor(this.value) * 100;\n },\n classMap: function classMap() {\n var _ref;\n\n return Array.isArray(this.iconClasses) ? (_ref = {}, _ref[this.lowThreshold] = this.iconClasses[0], _ref[this.highThreshold] = {\n value: this.iconClasses[1],\n excluded: true\n }, _ref[this.max] = this.iconClasses[2], _ref) : this.iconClasses;\n },\n decimalIconClass: function decimalIconClass() {\n return this.getValueFromMap(this.value, this.classMap);\n },\n voidClass: function voidClass() {\n return this.rateDisabled ? this.disabledVoidIconClass : this.voidIconClass;\n },\n activeClass: function activeClass() {\n return this.getValueFromMap(this.currentValue, this.classMap);\n },\n colorMap: function colorMap() {\n var _ref2;\n\n return Array.isArray(this.colors) ? (_ref2 = {}, _ref2[this.lowThreshold] = this.colors[0], _ref2[this.highThreshold] = {\n value: this.colors[1],\n excluded: true\n }, _ref2[this.max] = this.colors[2], _ref2) : this.colors;\n },\n activeColor: function activeColor() {\n return this.getValueFromMap(this.currentValue, this.colorMap);\n },\n classes: function classes() {\n var result = [];\n var i = 0;\n var threshold = this.currentValue;\n\n if (this.allowHalf && this.currentValue !== Math.floor(this.currentValue)) {\n threshold--;\n }\n\n for (; i < threshold; i++) {\n result.push(this.activeClass);\n }\n\n for (; i < this.max; i++) {\n result.push(this.voidClass);\n }\n\n return result;\n },\n rateDisabled: function rateDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n }\n },\n watch: {\n value: function value(val) {\n this.currentValue = val;\n this.pointerAtLeftHalf = this.value !== Math.floor(this.value);\n }\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'text-template': 'text-template is renamed to score-template.'\n }\n };\n },\n getValueFromMap: function getValueFromMap(value, map) {\n var matchedKeys = Object.keys(map).filter(function (key) {\n var val = map[key];\n var excluded = Object(types_[\"isObject\"])(val) ? val.excluded : false;\n return excluded ? value < key : value <= key;\n }).sort(function (a, b) {\n return a - b;\n });\n var matchedValue = map[matchedKeys[0]];\n return Object(types_[\"isObject\"])(matchedValue) ? matchedValue.value : matchedValue || '';\n },\n showDecimalIcon: function showDecimalIcon(item) {\n var showWhenDisabled = this.rateDisabled && this.valueDecimal > 0 && item - 1 < this.value && item > this.value;\n /* istanbul ignore next */\n\n var showWhenAllowHalf = this.allowHalf && this.pointerAtLeftHalf && item - 0.5 <= this.currentValue && item > this.currentValue;\n return showWhenDisabled || showWhenAllowHalf;\n },\n getIconStyle: function getIconStyle(item) {\n var voidColor = this.rateDisabled ? this.disabledVoidColor : this.voidColor;\n return {\n color: item <= this.currentValue ? this.activeColor : voidColor\n };\n },\n selectValue: function selectValue(value) {\n if (this.rateDisabled) {\n return;\n }\n\n if (this.allowHalf && this.pointerAtLeftHalf) {\n this.$emit('input', this.currentValue);\n this.$emit('change', this.currentValue);\n } else {\n this.$emit('input', value);\n this.$emit('change', value);\n }\n },\n handleKey: function handleKey(e) {\n if (this.rateDisabled) {\n return;\n }\n\n var currentValue = this.currentValue;\n var keyCode = e.keyCode;\n\n if (keyCode === 38 || keyCode === 39) {\n // left / down\n if (this.allowHalf) {\n currentValue += 0.5;\n } else {\n currentValue += 1;\n }\n\n e.stopPropagation();\n e.preventDefault();\n } else if (keyCode === 37 || keyCode === 40) {\n if (this.allowHalf) {\n currentValue -= 0.5;\n } else {\n currentValue -= 1;\n }\n\n e.stopPropagation();\n e.preventDefault();\n }\n\n currentValue = currentValue < 0 ? 0 : currentValue;\n currentValue = currentValue > this.max ? this.max : currentValue;\n this.$emit('input', currentValue);\n this.$emit('change', currentValue);\n },\n setCurrentValue: function setCurrentValue(value, event) {\n if (this.rateDisabled) {\n return;\n }\n /* istanbul ignore if */\n\n\n if (this.allowHalf) {\n var target = event.target;\n\n if (Object(dom_[\"hasClass\"])(target, 'el-rate__item')) {\n target = target.querySelector('.el-rate__icon');\n }\n\n if (Object(dom_[\"hasClass\"])(target, 'el-rate__decimal')) {\n target = target.parentNode;\n }\n\n this.pointerAtLeftHalf = event.offsetX * 2 <= target.clientWidth;\n this.currentValue = this.pointerAtLeftHalf ? value - 0.5 : value;\n } else {\n this.currentValue = value;\n }\n\n this.hoverIndex = value;\n },\n resetCurrentValue: function resetCurrentValue() {\n if (this.rateDisabled) {\n return;\n }\n\n if (this.allowHalf) {\n this.pointerAtLeftHalf = this.value !== Math.floor(this.value);\n }\n\n this.currentValue = this.value;\n this.hoverIndex = -1;\n }\n },\n created: function created() {\n if (!this.value) {\n this.$emit('input', 0);\n }\n }\n }; // CONCATENATED MODULE: ./packages/rate/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_rate_src_mainvue_type_script_lang_js_ = rate_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/rate/src/main.vue\n\n /* normalize component */\n\n var rate_src_main_component = normalizeComponent(packages_rate_src_mainvue_type_script_lang_js_, mainvue_type_template_id_ada57782_render, mainvue_type_template_id_ada57782_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var rate_src_main_api;\n }\n\n rate_src_main_component.options.__file = \"packages/rate/src/main.vue\";\n /* harmony default export */\n\n var rate_src_main = rate_src_main_component.exports; // CONCATENATED MODULE: ./packages/rate/index.js\n\n /* istanbul ignore next */\n\n rate_src_main.install = function (Vue) {\n Vue.component(rate_src_main.name, rate_src_main);\n };\n /* harmony default export */\n\n\n var packages_rate = rate_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/steps.vue?vue&type=template&id=3c6b6dc0&\n\n var stepsvue_type_template_id_3c6b6dc0_render = function stepsvue_type_template_id_3c6b6dc0_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-steps\",\n \"class\": [!_vm.simple && \"el-steps--\" + _vm.direction, _vm.simple && \"el-steps--simple\"]\n }, [_vm._t(\"default\")], 2);\n };\n\n var stepsvue_type_template_id_3c6b6dc0_staticRenderFns = [];\n stepsvue_type_template_id_3c6b6dc0_render._withStripped = true; // CONCATENATED MODULE: ./packages/steps/src/steps.vue?vue&type=template&id=3c6b6dc0&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/steps.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var stepsvue_type_script_lang_js_ = {\n name: 'ElSteps',\n mixins: [migrating_default.a],\n props: {\n space: [Number, String],\n active: Number,\n direction: {\n type: String,\n \"default\": 'horizontal'\n },\n alignCenter: Boolean,\n simple: Boolean,\n finishStatus: {\n type: String,\n \"default\": 'finish'\n },\n processStatus: {\n type: String,\n \"default\": 'process'\n }\n },\n data: function data() {\n return {\n steps: [],\n stepOffset: 0\n };\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'center': 'center is removed.'\n }\n };\n }\n },\n watch: {\n active: function active(newVal, oldVal) {\n this.$emit('change', newVal, oldVal);\n },\n steps: function steps(_steps) {\n _steps.forEach(function (child, index) {\n child.index = index;\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/steps/src/steps.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_stepsvue_type_script_lang_js_ = stepsvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/steps/src/steps.vue\n\n /* normalize component */\n\n var steps_component = normalizeComponent(src_stepsvue_type_script_lang_js_, stepsvue_type_template_id_3c6b6dc0_render, stepsvue_type_template_id_3c6b6dc0_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var steps_api;\n }\n\n steps_component.options.__file = \"packages/steps/src/steps.vue\";\n /* harmony default export */\n\n var steps = steps_component.exports; // CONCATENATED MODULE: ./packages/steps/index.js\n\n /* istanbul ignore next */\n\n steps.install = function (Vue) {\n Vue.component(steps.name, steps);\n };\n /* harmony default export */\n\n\n var packages_steps = steps; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/step.vue?vue&type=template&id=f414a87a&\n\n var stepvue_type_template_id_f414a87a_render = function stepvue_type_template_id_f414a87a_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-step\",\n \"class\": [!_vm.isSimple && \"is-\" + _vm.$parent.direction, _vm.isSimple && \"is-simple\", _vm.isLast && !_vm.space && !_vm.isCenter && \"is-flex\", _vm.isCenter && !_vm.isVertical && !_vm.isSimple && \"is-center\"],\n style: _vm.style\n }, [_c(\"div\", {\n staticClass: \"el-step__head\",\n \"class\": \"is-\" + _vm.currentStatus\n }, [_c(\"div\", {\n staticClass: \"el-step__line\",\n style: _vm.isLast ? \"\" : {\n marginRight: _vm.$parent.stepOffset + \"px\"\n }\n }, [_c(\"i\", {\n staticClass: \"el-step__line-inner\",\n style: _vm.lineStyle\n })]), _c(\"div\", {\n staticClass: \"el-step__icon\",\n \"class\": \"is-\" + (_vm.icon ? \"icon\" : \"text\")\n }, [_vm.currentStatus !== \"success\" && _vm.currentStatus !== \"error\" ? _vm._t(\"icon\", [_vm.icon ? _c(\"i\", {\n staticClass: \"el-step__icon-inner\",\n \"class\": [_vm.icon]\n }) : _vm._e(), !_vm.icon && !_vm.isSimple ? _c(\"div\", {\n staticClass: \"el-step__icon-inner\"\n }, [_vm._v(_vm._s(_vm.index + 1))]) : _vm._e()]) : _c(\"i\", {\n staticClass: \"el-step__icon-inner is-status\",\n \"class\": [\"el-icon-\" + (_vm.currentStatus === \"success\" ? \"check\" : \"close\")]\n })], 2)]), _c(\"div\", {\n staticClass: \"el-step__main\"\n }, [_c(\"div\", {\n ref: \"title\",\n staticClass: \"el-step__title\",\n \"class\": [\"is-\" + _vm.currentStatus]\n }, [_vm._t(\"title\", [_vm._v(_vm._s(_vm.title))])], 2), _vm.isSimple ? _c(\"div\", {\n staticClass: \"el-step__arrow\"\n }) : _c(\"div\", {\n staticClass: \"el-step__description\",\n \"class\": [\"is-\" + _vm.currentStatus]\n }, [_vm._t(\"description\", [_vm._v(_vm._s(_vm.description))])], 2)])]);\n };\n\n var stepvue_type_template_id_f414a87a_staticRenderFns = [];\n stepvue_type_template_id_f414a87a_render._withStripped = true; // CONCATENATED MODULE: ./packages/steps/src/step.vue?vue&type=template&id=f414a87a&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/steps/src/step.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var stepvue_type_script_lang_js_ = {\n name: 'ElStep',\n props: {\n title: String,\n icon: String,\n description: String,\n status: String\n },\n data: function data() {\n return {\n index: -1,\n lineStyle: {},\n internalStatus: ''\n };\n },\n beforeCreate: function beforeCreate() {\n this.$parent.steps.push(this);\n },\n beforeDestroy: function beforeDestroy() {\n var steps = this.$parent.steps;\n var index = steps.indexOf(this);\n\n if (index >= 0) {\n steps.splice(index, 1);\n }\n },\n computed: {\n currentStatus: function currentStatus() {\n return this.status || this.internalStatus;\n },\n prevStatus: function prevStatus() {\n var prevStep = this.$parent.steps[this.index - 1];\n return prevStep ? prevStep.currentStatus : 'wait';\n },\n isCenter: function isCenter() {\n return this.$parent.alignCenter;\n },\n isVertical: function isVertical() {\n return this.$parent.direction === 'vertical';\n },\n isSimple: function isSimple() {\n return this.$parent.simple;\n },\n isLast: function isLast() {\n var parent = this.$parent;\n return parent.steps[parent.steps.length - 1] === this;\n },\n stepsCount: function stepsCount() {\n return this.$parent.steps.length;\n },\n space: function space() {\n var isSimple = this.isSimple,\n space = this.$parent.space;\n return isSimple ? '' : space;\n },\n style: function style() {\n var style = {};\n var parent = this.$parent;\n var len = parent.steps.length;\n var space = typeof this.space === 'number' ? this.space + 'px' : this.space ? this.space : 100 / (len - (this.isCenter ? 0 : 1)) + '%';\n style.flexBasis = space;\n if (this.isVertical) return style;\n\n if (this.isLast) {\n style.maxWidth = 100 / this.stepsCount + '%';\n } else {\n style.marginRight = -this.$parent.stepOffset + 'px';\n }\n\n return style;\n }\n },\n methods: {\n updateStatus: function updateStatus(val) {\n var prevChild = this.$parent.$children[this.index - 1];\n\n if (val > this.index) {\n this.internalStatus = this.$parent.finishStatus;\n } else if (val === this.index && this.prevStatus !== 'error') {\n this.internalStatus = this.$parent.processStatus;\n } else {\n this.internalStatus = 'wait';\n }\n\n if (prevChild) prevChild.calcProgress(this.internalStatus);\n },\n calcProgress: function calcProgress(status) {\n var step = 100;\n var style = {};\n style.transitionDelay = 150 * this.index + 'ms';\n\n if (status === this.$parent.processStatus) {\n step = this.currentStatus !== 'error' ? 0 : 0;\n } else if (status === 'wait') {\n step = 0;\n style.transitionDelay = -150 * this.index + 'ms';\n }\n\n style.borderWidth = step && !this.isSimple ? '1px' : 0;\n this.$parent.direction === 'vertical' ? style.height = step + '%' : style.width = step + '%';\n this.lineStyle = style;\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n var unwatch = this.$watch('index', function (val) {\n _this.$watch('$parent.active', _this.updateStatus, {\n immediate: true\n });\n\n _this.$watch('$parent.processStatus', function () {\n var activeIndex = _this.$parent.active;\n\n _this.updateStatus(activeIndex);\n }, {\n immediate: true\n });\n\n unwatch();\n });\n }\n }; // CONCATENATED MODULE: ./packages/steps/src/step.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_stepvue_type_script_lang_js_ = stepvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/steps/src/step.vue\n\n /* normalize component */\n\n var step_component = normalizeComponent(src_stepvue_type_script_lang_js_, stepvue_type_template_id_f414a87a_render, stepvue_type_template_id_f414a87a_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var step_api;\n }\n\n step_component.options.__file = \"packages/steps/src/step.vue\";\n /* harmony default export */\n\n var step = step_component.exports; // CONCATENATED MODULE: ./packages/step/index.js\n\n /* istanbul ignore next */\n\n step.install = function (Vue) {\n Vue.component(step.name, step);\n };\n /* harmony default export */\n\n\n var packages_step = step; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482&\n\n var mainvue_type_template_id_5d5d1482_render = function mainvue_type_template_id_5d5d1482_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": _vm.carouselClasses,\n on: {\n mouseenter: function mouseenter($event) {\n $event.stopPropagation();\n return _vm.handleMouseEnter($event);\n },\n mouseleave: function mouseleave($event) {\n $event.stopPropagation();\n return _vm.handleMouseLeave($event);\n }\n }\n }, [_c(\"div\", {\n staticClass: \"el-carousel__container\",\n style: {\n height: _vm.height\n }\n }, [_vm.arrowDisplay ? _c(\"transition\", {\n attrs: {\n name: \"carousel-arrow-left\"\n }\n }, [_c(\"button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.arrow === \"always\" || _vm.hover) && (_vm.loop || _vm.activeIndex > 0),\n expression: \"(arrow === 'always' || hover) && (loop || activeIndex > 0)\"\n }],\n staticClass: \"el-carousel__arrow el-carousel__arrow--left\",\n attrs: {\n type: \"button\"\n },\n on: {\n mouseenter: function mouseenter($event) {\n _vm.handleButtonEnter(\"left\");\n },\n mouseleave: _vm.handleButtonLeave,\n click: function click($event) {\n $event.stopPropagation();\n\n _vm.throttledArrowClick(_vm.activeIndex - 1);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-arrow-left\"\n })])]) : _vm._e(), _vm.arrowDisplay ? _c(\"transition\", {\n attrs: {\n name: \"carousel-arrow-right\"\n }\n }, [_c(\"button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.arrow === \"always\" || _vm.hover) && (_vm.loop || _vm.activeIndex < _vm.items.length - 1),\n expression: \"(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)\"\n }],\n staticClass: \"el-carousel__arrow el-carousel__arrow--right\",\n attrs: {\n type: \"button\"\n },\n on: {\n mouseenter: function mouseenter($event) {\n _vm.handleButtonEnter(\"right\");\n },\n mouseleave: _vm.handleButtonLeave,\n click: function click($event) {\n $event.stopPropagation();\n\n _vm.throttledArrowClick(_vm.activeIndex + 1);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-arrow-right\"\n })])]) : _vm._e(), _vm._t(\"default\")], 2), _vm.indicatorPosition !== \"none\" ? _c(\"ul\", {\n \"class\": _vm.indicatorsClasses\n }, _vm._l(_vm.items, function (item, index) {\n return _c(\"li\", {\n key: index,\n \"class\": [\"el-carousel__indicator\", \"el-carousel__indicator--\" + _vm.direction, {\n \"is-active\": index === _vm.activeIndex\n }],\n on: {\n mouseenter: function mouseenter($event) {\n _vm.throttledIndicatorHover(index);\n },\n click: function click($event) {\n $event.stopPropagation();\n\n _vm.handleIndicatorClick(index);\n }\n }\n }, [_c(\"button\", {\n staticClass: \"el-carousel__button\"\n }, [_vm.hasLabel ? _c(\"span\", [_vm._v(_vm._s(item.label))]) : _vm._e()])]);\n }), 0) : _vm._e()]);\n };\n\n var mainvue_type_template_id_5d5d1482_staticRenderFns = [];\n mainvue_type_template_id_5d5d1482_render._withStripped = true; // CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482&\n // EXTERNAL MODULE: external \"throttle-debounce/throttle\"\n\n var throttle_ = __webpack_require__(25);\n\n var throttle_default =\n /*#__PURE__*/\n __webpack_require__.n(throttle_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var carousel_src_mainvue_type_script_lang_js_ = {\n name: 'ElCarousel',\n props: {\n initialIndex: {\n type: Number,\n \"default\": 0\n },\n height: String,\n trigger: {\n type: String,\n \"default\": 'hover'\n },\n autoplay: {\n type: Boolean,\n \"default\": true\n },\n interval: {\n type: Number,\n \"default\": 3000\n },\n indicatorPosition: String,\n indicator: {\n type: Boolean,\n \"default\": true\n },\n arrow: {\n type: String,\n \"default\": 'hover'\n },\n type: String,\n loop: {\n type: Boolean,\n \"default\": true\n },\n direction: {\n type: String,\n \"default\": 'horizontal',\n validator: function validator(val) {\n return ['horizontal', 'vertical'].indexOf(val) !== -1;\n }\n }\n },\n data: function data() {\n return {\n items: [],\n activeIndex: -1,\n containerWidth: 0,\n timer: null,\n hover: false\n };\n },\n computed: {\n arrowDisplay: function arrowDisplay() {\n return this.arrow !== 'never' && this.direction !== 'vertical';\n },\n hasLabel: function hasLabel() {\n return this.items.some(function (item) {\n return item.label.toString().length > 0;\n });\n },\n carouselClasses: function carouselClasses() {\n var classes = ['el-carousel', 'el-carousel--' + this.direction];\n\n if (this.type === 'card') {\n classes.push('el-carousel--card');\n }\n\n return classes;\n },\n indicatorsClasses: function indicatorsClasses() {\n var classes = ['el-carousel__indicators', 'el-carousel__indicators--' + this.direction];\n\n if (this.hasLabel) {\n classes.push('el-carousel__indicators--labels');\n }\n\n if (this.indicatorPosition === 'outside' || this.type === 'card') {\n classes.push('el-carousel__indicators--outside');\n }\n\n return classes;\n }\n },\n watch: {\n items: function items(val) {\n if (val.length > 0) this.setActiveItem(this.initialIndex);\n },\n activeIndex: function activeIndex(val, oldVal) {\n this.resetItemPosition(oldVal);\n\n if (oldVal > -1) {\n this.$emit('change', val, oldVal);\n }\n },\n autoplay: function autoplay(val) {\n val ? this.startTimer() : this.pauseTimer();\n },\n loop: function loop() {\n this.setActiveItem(this.activeIndex);\n },\n interval: function interval() {\n this.pauseTimer();\n this.startTimer();\n }\n },\n methods: {\n handleMouseEnter: function handleMouseEnter() {\n this.hover = true;\n this.pauseTimer();\n },\n handleMouseLeave: function handleMouseLeave() {\n this.hover = false;\n this.startTimer();\n },\n itemInStage: function itemInStage(item, index) {\n var length = this.items.length;\n\n if (index === length - 1 && item.inStage && this.items[0].active || item.inStage && this.items[index + 1] && this.items[index + 1].active) {\n return 'left';\n } else if (index === 0 && item.inStage && this.items[length - 1].active || item.inStage && this.items[index - 1] && this.items[index - 1].active) {\n return 'right';\n }\n\n return false;\n },\n handleButtonEnter: function handleButtonEnter(arrow) {\n var _this = this;\n\n if (this.direction === 'vertical') return;\n this.items.forEach(function (item, index) {\n if (arrow === _this.itemInStage(item, index)) {\n item.hover = true;\n }\n });\n },\n handleButtonLeave: function handleButtonLeave() {\n if (this.direction === 'vertical') return;\n this.items.forEach(function (item) {\n item.hover = false;\n });\n },\n updateItems: function updateItems() {\n this.items = this.$children.filter(function (child) {\n return child.$options.name === 'ElCarouselItem';\n });\n },\n resetItemPosition: function resetItemPosition(oldIndex) {\n var _this2 = this;\n\n this.items.forEach(function (item, index) {\n item.translateItem(index, _this2.activeIndex, oldIndex);\n });\n },\n playSlides: function playSlides() {\n if (this.activeIndex < this.items.length - 1) {\n this.activeIndex++;\n } else if (this.loop) {\n this.activeIndex = 0;\n }\n },\n pauseTimer: function pauseTimer() {\n if (this.timer) {\n clearInterval(this.timer);\n this.timer = null;\n }\n },\n startTimer: function startTimer() {\n if (this.interval <= 0 || !this.autoplay || this.timer) return;\n this.timer = setInterval(this.playSlides, this.interval);\n },\n resetTimer: function resetTimer() {\n this.pauseTimer();\n this.startTimer();\n },\n setActiveItem: function setActiveItem(index) {\n if (typeof index === 'string') {\n var filteredItems = this.items.filter(function (item) {\n return item.name === index;\n });\n\n if (filteredItems.length > 0) {\n index = this.items.indexOf(filteredItems[0]);\n }\n }\n\n index = Number(index);\n\n if (isNaN(index) || index !== Math.floor(index)) {\n console.warn('[Element Warn][Carousel]index must be an integer.');\n return;\n }\n\n var length = this.items.length;\n var oldIndex = this.activeIndex;\n\n if (index < 0) {\n this.activeIndex = this.loop ? length - 1 : 0;\n } else if (index >= length) {\n this.activeIndex = this.loop ? 0 : length - 1;\n } else {\n this.activeIndex = index;\n }\n\n if (oldIndex === this.activeIndex) {\n this.resetItemPosition(oldIndex);\n }\n\n this.resetTimer();\n },\n prev: function prev() {\n this.setActiveItem(this.activeIndex - 1);\n },\n next: function next() {\n this.setActiveItem(this.activeIndex + 1);\n },\n handleIndicatorClick: function handleIndicatorClick(index) {\n this.activeIndex = index;\n },\n handleIndicatorHover: function handleIndicatorHover(index) {\n if (this.trigger === 'hover' && index !== this.activeIndex) {\n this.activeIndex = index;\n }\n }\n },\n created: function created() {\n var _this3 = this;\n\n this.throttledArrowClick = throttle_default()(300, true, function (index) {\n _this3.setActiveItem(index);\n });\n this.throttledIndicatorHover = throttle_default()(300, function (index) {\n _this3.handleIndicatorHover(index);\n });\n },\n mounted: function mounted() {\n var _this4 = this;\n\n this.updateItems();\n this.$nextTick(function () {\n Object(resize_event_[\"addResizeListener\"])(_this4.$el, _this4.resetItemPosition);\n\n if (_this4.initialIndex < _this4.items.length && _this4.initialIndex >= 0) {\n _this4.activeIndex = _this4.initialIndex;\n }\n\n _this4.startTimer();\n });\n },\n beforeDestroy: function beforeDestroy() {\n if (this.$el) Object(resize_event_[\"removeResizeListener\"])(this.$el, this.resetItemPosition);\n this.pauseTimer();\n }\n }; // CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_carousel_src_mainvue_type_script_lang_js_ = carousel_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/carousel/src/main.vue\n\n /* normalize component */\n\n var carousel_src_main_component = normalizeComponent(packages_carousel_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5d5d1482_render, mainvue_type_template_id_5d5d1482_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var carousel_src_main_api;\n }\n\n carousel_src_main_component.options.__file = \"packages/carousel/src/main.vue\";\n /* harmony default export */\n\n var carousel_src_main = carousel_src_main_component.exports; // CONCATENATED MODULE: ./packages/carousel/index.js\n\n /* istanbul ignore next */\n\n carousel_src_main.install = function (Vue) {\n Vue.component(carousel_src_main.name, carousel_src_main);\n };\n /* harmony default export */\n\n\n var carousel = carousel_src_main; // CONCATENATED MODULE: ./packages/scrollbar/src/util.js\n\n var BAR_MAP = {\n vertical: {\n offset: 'offsetHeight',\n scroll: 'scrollTop',\n scrollSize: 'scrollHeight',\n size: 'height',\n key: 'vertical',\n axis: 'Y',\n client: 'clientY',\n direction: 'top'\n },\n horizontal: {\n offset: 'offsetWidth',\n scroll: 'scrollLeft',\n scrollSize: 'scrollWidth',\n size: 'width',\n key: 'horizontal',\n axis: 'X',\n client: 'clientX',\n direction: 'left'\n }\n };\n\n function renderThumbStyle(_ref) {\n var move = _ref.move,\n size = _ref.size,\n bar = _ref.bar;\n var style = {};\n var translate = 'translate' + bar.axis + '(' + move + '%)';\n style[bar.size] = size;\n style.transform = translate;\n style.msTransform = translate;\n style.webkitTransform = translate;\n return style;\n }\n\n ; // CONCATENATED MODULE: ./packages/scrollbar/src/bar.js\n\n /* istanbul ignore next */\n\n /* harmony default export */\n\n var src_bar = {\n name: 'Bar',\n props: {\n vertical: Boolean,\n size: String,\n move: Number\n },\n computed: {\n bar: function bar() {\n return BAR_MAP[this.vertical ? 'vertical' : 'horizontal'];\n },\n wrap: function wrap() {\n return this.$parent.wrap;\n }\n },\n render: function render(h) {\n var size = this.size,\n move = this.move,\n bar = this.bar;\n return h('div', {\n 'class': ['el-scrollbar__bar', 'is-' + bar.key],\n on: {\n 'mousedown': this.clickTrackHandler\n }\n }, [h('div', {\n ref: 'thumb',\n 'class': 'el-scrollbar__thumb',\n on: {\n 'mousedown': this.clickThumbHandler\n },\n style: renderThumbStyle({\n size: size,\n move: move,\n bar: bar\n })\n })]);\n },\n methods: {\n clickThumbHandler: function clickThumbHandler(e) {\n // prevent click event of right button\n if (e.ctrlKey || e.button === 2) {\n return;\n }\n\n this.startDrag(e);\n this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]);\n },\n clickTrackHandler: function clickTrackHandler(e) {\n var offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]);\n var thumbHalf = this.$refs.thumb[this.bar.offset] / 2;\n var thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset];\n this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;\n },\n startDrag: function startDrag(e) {\n e.stopImmediatePropagation();\n this.cursorDown = true;\n Object(dom_[\"on\"])(document, 'mousemove', this.mouseMoveDocumentHandler);\n Object(dom_[\"on\"])(document, 'mouseup', this.mouseUpDocumentHandler);\n\n document.onselectstart = function () {\n return false;\n };\n },\n mouseMoveDocumentHandler: function mouseMoveDocumentHandler(e) {\n if (this.cursorDown === false) return;\n var prevPage = this[this.bar.axis];\n if (!prevPage) return;\n var offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1;\n var thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage;\n var thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset];\n this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;\n },\n mouseUpDocumentHandler: function mouseUpDocumentHandler(e) {\n this.cursorDown = false;\n this[this.bar.axis] = 0;\n Object(dom_[\"off\"])(document, 'mousemove', this.mouseMoveDocumentHandler);\n document.onselectstart = null;\n }\n },\n destroyed: function destroyed() {\n Object(dom_[\"off\"])(document, 'mouseup', this.mouseUpDocumentHandler);\n }\n }; // CONCATENATED MODULE: ./packages/scrollbar/src/main.js\n // reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js\n\n /* istanbul ignore next */\n\n /* harmony default export */\n\n var scrollbar_src_main = {\n name: 'ElScrollbar',\n components: {\n Bar: src_bar\n },\n props: {\n \"native\": Boolean,\n wrapStyle: {},\n wrapClass: {},\n viewClass: {},\n viewStyle: {},\n noresize: Boolean,\n // 如果 container 尺寸ä¸ä¼šå‘生å˜åŒ–,最好设置它å¯ä»¥ä¼˜åŒ–性能\n tag: {\n type: String,\n \"default\": 'div'\n }\n },\n data: function data() {\n return {\n sizeWidth: '0',\n sizeHeight: '0',\n moveX: 0,\n moveY: 0\n };\n },\n computed: {\n wrap: function wrap() {\n return this.$refs.wrap;\n }\n },\n render: function render(h) {\n var gutter = scrollbar_width_default()();\n var style = this.wrapStyle;\n\n if (gutter) {\n var gutterWith = '-' + gutter + 'px';\n var gutterStyle = 'margin-bottom: ' + gutterWith + '; margin-right: ' + gutterWith + ';';\n\n if (Array.isArray(this.wrapStyle)) {\n style = Object(util_[\"toObject\"])(this.wrapStyle);\n style.marginRight = style.marginBottom = gutterWith;\n } else if (typeof this.wrapStyle === 'string') {\n style += gutterStyle;\n } else {\n style = gutterStyle;\n }\n }\n\n var view = h(this.tag, {\n \"class\": ['el-scrollbar__view', this.viewClass],\n style: this.viewStyle,\n ref: 'resize'\n }, this.$slots[\"default\"]);\n var wrap = h('div', {\n ref: 'wrap',\n style: style,\n on: {\n 'scroll': this.handleScroll\n },\n 'class': [this.wrapClass, 'el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default']\n }, [[view]]);\n var nodes = void 0;\n\n if (!this[\"native\"]) {\n nodes = [wrap, h(src_bar, {\n attrs: {\n move: this.moveX,\n size: this.sizeWidth\n }\n }), h(src_bar, {\n attrs: {\n vertical: true,\n move: this.moveY,\n size: this.sizeHeight\n }\n })];\n } else {\n nodes = [h('div', {\n ref: 'wrap',\n 'class': [this.wrapClass, 'el-scrollbar__wrap'],\n style: style\n }, [[view]])];\n }\n\n return h('div', {\n \"class\": 'el-scrollbar'\n }, nodes);\n },\n methods: {\n handleScroll: function handleScroll() {\n var wrap = this.wrap;\n this.moveY = wrap.scrollTop * 100 / wrap.clientHeight;\n this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth;\n },\n update: function update() {\n var heightPercentage = void 0,\n widthPercentage = void 0;\n var wrap = this.wrap;\n if (!wrap) return;\n heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight;\n widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth;\n this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : '';\n this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : '';\n }\n },\n mounted: function mounted() {\n if (this[\"native\"]) return;\n this.$nextTick(this.update);\n !this.noresize && Object(resize_event_[\"addResizeListener\"])(this.$refs.resize, this.update);\n },\n beforeDestroy: function beforeDestroy() {\n if (this[\"native\"]) return;\n !this.noresize && Object(resize_event_[\"removeResizeListener\"])(this.$refs.resize, this.update);\n }\n }; // CONCATENATED MODULE: ./packages/scrollbar/index.js\n\n /* istanbul ignore next */\n\n scrollbar_src_main.install = function (Vue) {\n Vue.component(scrollbar_src_main.name, scrollbar_src_main);\n };\n /* harmony default export */\n\n\n var scrollbar = scrollbar_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/item.vue?vue&type=template&id=1801ae19&\n\n var itemvue_type_template_id_1801ae19_render = function itemvue_type_template_id_1801ae19_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.ready,\n expression: \"ready\"\n }],\n staticClass: \"el-carousel__item\",\n \"class\": {\n \"is-active\": _vm.active,\n \"el-carousel__item--card\": _vm.$parent.type === \"card\",\n \"is-in-stage\": _vm.inStage,\n \"is-hover\": _vm.hover,\n \"is-animating\": _vm.animating\n },\n style: _vm.itemStyle,\n on: {\n click: _vm.handleItemClick\n }\n }, [_vm.$parent.type === \"card\" ? _c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.active,\n expression: \"!active\"\n }],\n staticClass: \"el-carousel__mask\"\n }) : _vm._e(), _vm._t(\"default\")], 2);\n };\n\n var itemvue_type_template_id_1801ae19_staticRenderFns = [];\n itemvue_type_template_id_1801ae19_render._withStripped = true; // CONCATENATED MODULE: ./packages/carousel/src/item.vue?vue&type=template&id=1801ae19&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var CARD_SCALE = 0.83;\n /* harmony default export */\n\n var itemvue_type_script_lang_js_ = {\n name: 'ElCarouselItem',\n props: {\n name: String,\n label: {\n type: [String, Number],\n \"default\": ''\n }\n },\n data: function data() {\n return {\n hover: false,\n translate: 0,\n scale: 1,\n active: false,\n ready: false,\n inStage: false,\n animating: false\n };\n },\n methods: {\n processIndex: function processIndex(index, activeIndex, length) {\n if (activeIndex === 0 && index === length - 1) {\n return -1;\n } else if (activeIndex === length - 1 && index === 0) {\n return length;\n } else if (index < activeIndex - 1 && activeIndex - index >= length / 2) {\n return length + 1;\n } else if (index > activeIndex + 1 && index - activeIndex >= length / 2) {\n return -2;\n }\n\n return index;\n },\n calcCardTranslate: function calcCardTranslate(index, activeIndex) {\n var parentWidth = this.$parent.$el.offsetWidth;\n\n if (this.inStage) {\n return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4;\n } else if (index < activeIndex) {\n return -(1 + CARD_SCALE) * parentWidth / 4;\n } else {\n return (3 + CARD_SCALE) * parentWidth / 4;\n }\n },\n calcTranslate: function calcTranslate(index, activeIndex, isVertical) {\n var distance = this.$parent.$el[isVertical ? 'offsetHeight' : 'offsetWidth'];\n return distance * (index - activeIndex);\n },\n translateItem: function translateItem(index, activeIndex, oldIndex) {\n var parentType = this.$parent.type;\n var parentDirection = this.parentDirection;\n var length = this.$parent.items.length;\n\n if (parentType !== 'card' && oldIndex !== undefined) {\n this.animating = index === activeIndex || index === oldIndex;\n }\n\n if (index !== activeIndex && length > 2 && this.$parent.loop) {\n index = this.processIndex(index, activeIndex, length);\n }\n\n if (parentType === 'card') {\n if (parentDirection === 'vertical') {\n console.warn('[Element Warn][Carousel]vertical direction is not supported in card mode');\n }\n\n this.inStage = Math.round(Math.abs(index - activeIndex)) <= 1;\n this.active = index === activeIndex;\n this.translate = this.calcCardTranslate(index, activeIndex);\n this.scale = this.active ? 1 : CARD_SCALE;\n } else {\n this.active = index === activeIndex;\n var isVertical = parentDirection === 'vertical';\n this.translate = this.calcTranslate(index, activeIndex, isVertical);\n this.scale = 1;\n }\n\n this.ready = true;\n },\n handleItemClick: function handleItemClick() {\n var parent = this.$parent;\n\n if (parent && parent.type === 'card') {\n var index = parent.items.indexOf(this);\n parent.setActiveItem(index);\n }\n }\n },\n computed: {\n parentDirection: function parentDirection() {\n return this.$parent.direction;\n },\n itemStyle: function itemStyle() {\n var translateType = this.parentDirection === 'vertical' ? 'translateY' : 'translateX';\n var value = translateType + '(' + this.translate + 'px) scale(' + this.scale + ')';\n var style = {\n transform: value\n };\n return Object(util_[\"autoprefixer\"])(style);\n }\n },\n created: function created() {\n this.$parent && this.$parent.updateItems();\n },\n destroyed: function destroyed() {\n this.$parent && this.$parent.updateItems();\n }\n }; // CONCATENATED MODULE: ./packages/carousel/src/item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_itemvue_type_script_lang_js_ = itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/carousel/src/item.vue\n\n /* normalize component */\n\n var item_component = normalizeComponent(src_itemvue_type_script_lang_js_, itemvue_type_template_id_1801ae19_render, itemvue_type_template_id_1801ae19_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var item_api;\n }\n\n item_component.options.__file = \"packages/carousel/src/item.vue\";\n /* harmony default export */\n\n var src_item = item_component.exports; // CONCATENATED MODULE: ./packages/carousel-item/index.js\n\n /* istanbul ignore next */\n\n src_item.install = function (Vue) {\n Vue.component(src_item.name, src_item);\n };\n /* harmony default export */\n\n\n var carousel_item = src_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse.vue?vue&type=template&id=461d57f4&\n\n var collapsevue_type_template_id_461d57f4_render = function collapsevue_type_template_id_461d57f4_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-collapse\",\n attrs: {\n role: \"tablist\",\n \"aria-multiselectable\": \"true\"\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var collapsevue_type_template_id_461d57f4_staticRenderFns = [];\n collapsevue_type_template_id_461d57f4_render._withStripped = true; // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue?vue&type=template&id=461d57f4&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var collapsevue_type_script_lang_js_ = {\n name: 'ElCollapse',\n componentName: 'ElCollapse',\n props: {\n accordion: Boolean,\n value: {\n type: [Array, String, Number],\n \"default\": function _default() {\n return [];\n }\n }\n },\n data: function data() {\n return {\n activeNames: [].concat(this.value)\n };\n },\n provide: function provide() {\n return {\n collapse: this\n };\n },\n watch: {\n value: function value(_value) {\n this.activeNames = [].concat(_value);\n }\n },\n methods: {\n setActiveNames: function setActiveNames(activeNames) {\n activeNames = [].concat(activeNames);\n var value = this.accordion ? activeNames[0] : activeNames;\n this.activeNames = activeNames;\n this.$emit('input', value);\n this.$emit('change', value);\n },\n handleItemClick: function handleItemClick(item) {\n if (this.accordion) {\n this.setActiveNames((this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] === item.name ? '' : item.name);\n } else {\n var activeNames = this.activeNames.slice(0);\n var index = activeNames.indexOf(item.name);\n\n if (index > -1) {\n activeNames.splice(index, 1);\n } else {\n activeNames.push(item.name);\n }\n\n this.setActiveNames(activeNames);\n }\n }\n },\n created: function created() {\n this.$on('item-click', this.handleItemClick);\n }\n }; // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_collapsevue_type_script_lang_js_ = collapsevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue\n\n /* normalize component */\n\n var collapse_component = normalizeComponent(src_collapsevue_type_script_lang_js_, collapsevue_type_template_id_461d57f4_render, collapsevue_type_template_id_461d57f4_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var collapse_api;\n }\n\n collapse_component.options.__file = \"packages/collapse/src/collapse.vue\";\n /* harmony default export */\n\n var collapse = collapse_component.exports; // CONCATENATED MODULE: ./packages/collapse/index.js\n\n /* istanbul ignore next */\n\n collapse.install = function (Vue) {\n Vue.component(collapse.name, collapse);\n };\n /* harmony default export */\n\n\n var packages_collapse = collapse; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse-item.vue?vue&type=template&id=2d05faac&\n\n var collapse_itemvue_type_template_id_2d05faac_render = function collapse_itemvue_type_template_id_2d05faac_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-collapse-item\",\n \"class\": {\n \"is-active\": _vm.isActive,\n \"is-disabled\": _vm.disabled\n }\n }, [_c(\"div\", {\n attrs: {\n role: \"tab\",\n \"aria-expanded\": _vm.isActive,\n \"aria-controls\": \"el-collapse-content-\" + _vm.id,\n \"aria-describedby\": \"el-collapse-content-\" + _vm.id\n }\n }, [_c(\"div\", {\n staticClass: \"el-collapse-item__header\",\n \"class\": {\n focusing: _vm.focusing,\n \"is-active\": _vm.isActive\n },\n attrs: {\n role: \"button\",\n id: \"el-collapse-head-\" + _vm.id,\n tabindex: _vm.disabled ? undefined : 0\n },\n on: {\n click: _vm.handleHeaderClick,\n keyup: function keyup($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"space\", 32, $event.key, [\" \", \"Spacebar\"]) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n $event.stopPropagation();\n return _vm.handleEnterClick($event);\n },\n focus: _vm.handleFocus,\n blur: function blur($event) {\n _vm.focusing = false;\n }\n }\n }, [_vm._t(\"title\", [_vm._v(_vm._s(_vm.title))]), _c(\"i\", {\n staticClass: \"el-collapse-item__arrow el-icon-arrow-right\",\n \"class\": {\n \"is-active\": _vm.isActive\n }\n })], 2)]), _c(\"el-collapse-transition\", [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.isActive,\n expression: \"isActive\"\n }],\n staticClass: \"el-collapse-item__wrap\",\n attrs: {\n role: \"tabpanel\",\n \"aria-hidden\": !_vm.isActive,\n \"aria-labelledby\": \"el-collapse-head-\" + _vm.id,\n id: \"el-collapse-content-\" + _vm.id\n }\n }, [_c(\"div\", {\n staticClass: \"el-collapse-item__content\"\n }, [_vm._t(\"default\")], 2)])])], 1);\n };\n\n var collapse_itemvue_type_template_id_2d05faac_staticRenderFns = [];\n collapse_itemvue_type_template_id_2d05faac_render._withStripped = true; // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=template&id=2d05faac&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse-item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var collapse_itemvue_type_script_lang_js_ = {\n name: 'ElCollapseItem',\n componentName: 'ElCollapseItem',\n mixins: [emitter_default.a],\n components: {\n ElCollapseTransition: collapse_transition_default.a\n },\n data: function data() {\n return {\n contentWrapStyle: {\n height: 'auto',\n display: 'block'\n },\n contentHeight: 0,\n focusing: false,\n isClick: false,\n id: Object(util_[\"generateId\"])()\n };\n },\n inject: ['collapse'],\n props: {\n title: String,\n name: {\n type: [String, Number],\n \"default\": function _default() {\n return this._uid;\n }\n },\n disabled: Boolean\n },\n computed: {\n isActive: function isActive() {\n return this.collapse.activeNames.indexOf(this.name) > -1;\n }\n },\n methods: {\n handleFocus: function handleFocus() {\n var _this = this;\n\n setTimeout(function () {\n if (!_this.isClick) {\n _this.focusing = true;\n } else {\n _this.isClick = false;\n }\n }, 50);\n },\n handleHeaderClick: function handleHeaderClick() {\n if (this.disabled) return;\n this.dispatch('ElCollapse', 'item-click', this);\n this.focusing = false;\n this.isClick = true;\n },\n handleEnterClick: function handleEnterClick() {\n this.dispatch('ElCollapse', 'item-click', this);\n }\n }\n }; // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_collapse_itemvue_type_script_lang_js_ = collapse_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue\n\n /* normalize component */\n\n var collapse_item_component = normalizeComponent(src_collapse_itemvue_type_script_lang_js_, collapse_itemvue_type_template_id_2d05faac_render, collapse_itemvue_type_template_id_2d05faac_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var collapse_item_api;\n }\n\n collapse_item_component.options.__file = \"packages/collapse/src/collapse-item.vue\";\n /* harmony default export */\n\n var collapse_item = collapse_item_component.exports; // CONCATENATED MODULE: ./packages/collapse-item/index.js\n\n /* istanbul ignore next */\n\n collapse_item.install = function (Vue) {\n Vue.component(collapse_item.name, collapse_item);\n };\n /* harmony default export */\n\n\n var packages_collapse_item = collapse_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/cascader.vue?vue&type=template&id=032537a6&\n\n var cascadervue_type_template_id_032537a6_render = function cascadervue_type_template_id_032537a6_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: function value() {\n return _vm.toggleDropDownVisible(false);\n },\n expression: \"() => toggleDropDownVisible(false)\"\n }],\n ref: \"reference\",\n \"class\": [\"el-cascader\", _vm.realSize && \"el-cascader--\" + _vm.realSize, {\n \"is-disabled\": _vm.isDisabled\n }],\n on: {\n mouseenter: function mouseenter($event) {\n _vm.inputHover = true;\n },\n mouseleave: function mouseleave($event) {\n _vm.inputHover = false;\n },\n click: function click() {\n return _vm.toggleDropDownVisible(_vm.readonly ? undefined : true);\n },\n keydown: _vm.handleKeyDown\n }\n }, [_c(\"el-input\", {\n ref: \"input\",\n \"class\": {\n \"is-focus\": _vm.dropDownVisible\n },\n attrs: {\n size: _vm.realSize,\n placeholder: _vm.placeholder,\n readonly: _vm.readonly,\n disabled: _vm.isDisabled,\n \"validate-event\": false\n },\n on: {\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n input: _vm.handleInput\n },\n model: {\n value: _vm.multiple ? _vm.presentText : _vm.inputValue,\n callback: function callback($$v) {\n _vm.multiple ? _vm.presentText : _vm.inputValue = $$v;\n },\n expression: \"multiple ? presentText : inputValue\"\n }\n }, [_c(\"template\", {\n slot: \"suffix\"\n }, [_vm.clearBtnVisible ? _c(\"i\", {\n key: \"clear\",\n staticClass: \"el-input__icon el-icon-circle-close\",\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.handleClear($event);\n }\n }\n }) : _c(\"i\", {\n key: \"arrow-down\",\n \"class\": [\"el-input__icon\", \"el-icon-arrow-down\", _vm.dropDownVisible && \"is-reverse\"],\n on: {\n click: function click($event) {\n $event.stopPropagation();\n\n _vm.toggleDropDownVisible();\n }\n }\n })])], 2), _vm.multiple ? _c(\"div\", {\n staticClass: \"el-cascader__tags\"\n }, [_vm._l(_vm.presentTags, function (tag) {\n return _c(\"el-tag\", {\n key: tag.key,\n attrs: {\n type: \"info\",\n size: _vm.tagSize,\n hit: tag.hitState,\n closable: tag.closable,\n \"disable-transitions\": \"\"\n },\n on: {\n close: function close($event) {\n _vm.deleteTag(tag);\n }\n }\n }, [_c(\"span\", [_vm._v(_vm._s(tag.text))])]);\n }), _vm.filterable && !_vm.isDisabled ? _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model.trim\",\n value: _vm.inputValue,\n expression: \"inputValue\",\n modifiers: {\n trim: true\n }\n }],\n staticClass: \"el-cascader__search-input\",\n attrs: {\n type: \"text\",\n placeholder: _vm.presentTags.length ? \"\" : _vm.placeholder\n },\n domProps: {\n value: _vm.inputValue\n },\n on: {\n input: [function ($event) {\n if ($event.target.composing) {\n return;\n }\n\n _vm.inputValue = $event.target.value.trim();\n }, function (e) {\n return _vm.handleInput(_vm.inputValue, e);\n }],\n click: function click($event) {\n $event.stopPropagation();\n\n _vm.toggleDropDownVisible(true);\n },\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"delete\", [8, 46], $event.key, [\"Backspace\", \"Delete\", \"Del\"])) {\n return null;\n }\n\n return _vm.handleDelete($event);\n },\n blur: function blur($event) {\n _vm.$forceUpdate();\n }\n }\n }) : _vm._e()], 2) : _vm._e(), _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": _vm.handleDropdownLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.dropDownVisible,\n expression: \"dropDownVisible\"\n }],\n ref: \"popper\",\n \"class\": [\"el-popper\", \"el-cascader__dropdown\", _vm.popperClass]\n }, [_c(\"el-cascader-panel\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.filtering,\n expression: \"!filtering\"\n }],\n ref: \"panel\",\n attrs: {\n options: _vm.options,\n props: _vm.config,\n border: false,\n \"render-label\": _vm.$scopedSlots[\"default\"]\n },\n on: {\n \"expand-change\": _vm.handleExpandChange,\n close: function close($event) {\n _vm.toggleDropDownVisible(false);\n }\n },\n model: {\n value: _vm.checkedValue,\n callback: function callback($$v) {\n _vm.checkedValue = $$v;\n },\n expression: \"checkedValue\"\n }\n }), _vm.filterable ? _c(\"el-scrollbar\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.filtering,\n expression: \"filtering\"\n }],\n ref: \"suggestionPanel\",\n staticClass: \"el-cascader__suggestion-panel\",\n attrs: {\n tag: \"ul\",\n \"view-class\": \"el-cascader__suggestion-list\"\n },\n nativeOn: {\n keydown: function keydown($event) {\n return _vm.handleSuggestionKeyDown($event);\n }\n }\n }, [_vm.suggestions.length ? _vm._l(_vm.suggestions, function (item, index) {\n return _c(\"li\", {\n key: item.uid,\n \"class\": [\"el-cascader__suggestion-item\", item.checked && \"is-checked\"],\n attrs: {\n tabindex: -1\n },\n on: {\n click: function click($event) {\n _vm.handleSuggestionClick(index);\n }\n }\n }, [_c(\"span\", [_vm._v(_vm._s(item.text))]), item.checked ? _c(\"i\", {\n staticClass: \"el-icon-check\"\n }) : _vm._e()]);\n }) : _vm._t(\"empty\", [_c(\"li\", {\n staticClass: \"el-cascader__empty-text\"\n }, [_vm._v(_vm._s(_vm.t(\"el.cascader.noMatch\")))])])], 2) : _vm._e()], 1)])], 1);\n };\n\n var cascadervue_type_template_id_032537a6_staticRenderFns = [];\n cascadervue_type_template_id_032537a6_render._withStripped = true; // CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=template&id=032537a6&\n // EXTERNAL MODULE: external \"element-ui/lib/cascader-panel\"\n\n var cascader_panel_ = __webpack_require__(43);\n\n var cascader_panel_default =\n /*#__PURE__*/\n __webpack_require__.n(cascader_panel_); // EXTERNAL MODULE: external \"element-ui/lib/utils/aria-utils\"\n\n\n var aria_utils_ = __webpack_require__(35);\n\n var aria_utils_default =\n /*#__PURE__*/\n __webpack_require__.n(aria_utils_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/cascader.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var KeyCode = aria_utils_default.a.keys;\n var MigratingProps = {\n expandTrigger: {\n newProp: 'expandTrigger',\n type: String\n },\n changeOnSelect: {\n newProp: 'checkStrictly',\n type: Boolean\n },\n hoverThreshold: {\n newProp: 'hoverThreshold',\n type: Number\n }\n };\n var PopperMixin = {\n props: {\n placement: {\n type: String,\n \"default\": 'bottom-start'\n },\n appendToBody: vue_popper_default.a.props.appendToBody,\n visibleArrow: {\n type: Boolean,\n \"default\": true\n },\n arrowOffset: vue_popper_default.a.props.arrowOffset,\n offset: vue_popper_default.a.props.offset,\n boundariesPadding: vue_popper_default.a.props.boundariesPadding,\n popperOptions: vue_popper_default.a.props.popperOptions,\n transformOrigin: vue_popper_default.a.props.transformOrigin\n },\n methods: vue_popper_default.a.methods,\n data: vue_popper_default.a.data,\n beforeDestroy: vue_popper_default.a.beforeDestroy\n };\n var InputSizeMap = {\n medium: 36,\n small: 32,\n mini: 28\n };\n /* harmony default export */\n\n var cascadervue_type_script_lang_js_ = {\n name: 'ElCascader',\n directives: {\n Clickoutside: clickoutside_default.a\n },\n mixins: [PopperMixin, emitter_default.a, locale_default.a, migrating_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n components: {\n ElInput: input_default.a,\n ElTag: tag_default.a,\n ElScrollbar: scrollbar_default.a,\n ElCascaderPanel: cascader_panel_default.a\n },\n props: {\n value: {},\n options: Array,\n props: Object,\n size: String,\n placeholder: {\n type: String,\n \"default\": function _default() {\n return Object(lib_locale_[\"t\"])('el.cascader.placeholder');\n }\n },\n disabled: Boolean,\n clearable: Boolean,\n filterable: Boolean,\n filterMethod: Function,\n separator: {\n type: String,\n \"default\": ' / '\n },\n showAllLevels: {\n type: Boolean,\n \"default\": true\n },\n collapseTags: Boolean,\n debounce: {\n type: Number,\n \"default\": 300\n },\n beforeFilter: {\n type: Function,\n \"default\": function _default() {\n return function () {};\n }\n },\n popperClass: String\n },\n data: function data() {\n return {\n dropDownVisible: false,\n checkedValue: this.value,\n inputHover: false,\n inputValue: null,\n presentText: null,\n presentTags: [],\n checkedNodes: [],\n filtering: false,\n suggestions: [],\n inputInitialHeight: 0,\n pressDeleteCount: 0\n };\n },\n computed: {\n realSize: function realSize() {\n var _elFormItemSize = (this.elFormItem || {}).elFormItemSize;\n return this.size || _elFormItemSize || (this.$ELEMENT || {}).size;\n },\n tagSize: function tagSize() {\n return ['small', 'mini'].indexOf(this.realSize) > -1 ? 'mini' : 'small';\n },\n isDisabled: function isDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n config: function config() {\n var config = this.props || {};\n var $attrs = this.$attrs;\n Object.keys(MigratingProps).forEach(function (oldProp) {\n var _MigratingProps$oldPr = MigratingProps[oldProp],\n newProp = _MigratingProps$oldPr.newProp,\n type = _MigratingProps$oldPr.type;\n var oldValue = $attrs[oldProp] || $attrs[Object(util_[\"kebabCase\"])(oldProp)];\n\n if (Object(shared_[\"isDef\"])(oldProp) && !Object(shared_[\"isDef\"])(config[newProp])) {\n if (type === Boolean && oldValue === '') {\n oldValue = true;\n }\n\n config[newProp] = oldValue;\n }\n });\n return config;\n },\n multiple: function multiple() {\n return this.config.multiple;\n },\n leafOnly: function leafOnly() {\n return !this.config.checkStrictly;\n },\n readonly: function readonly() {\n return !this.filterable || this.multiple;\n },\n clearBtnVisible: function clearBtnVisible() {\n if (!this.clearable || this.isDisabled || this.filtering || !this.inputHover) {\n return false;\n }\n\n return this.multiple ? !!this.checkedNodes.filter(function (node) {\n return !node.isDisabled;\n }).length : !!this.presentText;\n },\n panel: function panel() {\n return this.$refs.panel;\n }\n },\n watch: {\n disabled: function disabled() {\n this.computePresentContent();\n },\n value: function value(val) {\n if (!Object(util_[\"isEqual\"])(val, this.checkedValue)) {\n this.checkedValue = val;\n this.computePresentContent();\n }\n },\n checkedValue: function checkedValue(val) {\n var value = this.value,\n dropDownVisible = this.dropDownVisible;\n var _config = this.config,\n checkStrictly = _config.checkStrictly,\n multiple = _config.multiple;\n\n if (!Object(util_[\"isEqual\"])(val, value) || Object(types_[\"isUndefined\"])(value)) {\n this.computePresentContent(); // hide dropdown when single mode\n\n if (!multiple && !checkStrictly && dropDownVisible) {\n this.toggleDropDownVisible(false);\n }\n\n this.$emit('input', val);\n this.$emit('change', val);\n this.dispatch('ElFormItem', 'el.form.change', [val]);\n }\n },\n options: {\n handler: function handler() {\n this.$nextTick(this.computePresentContent);\n },\n deep: true\n },\n presentText: function presentText(val) {\n this.inputValue = val;\n },\n presentTags: function presentTags(val, oldVal) {\n if (this.multiple && (val.length || oldVal.length)) {\n this.$nextTick(this.updateStyle);\n }\n },\n filtering: function filtering(val) {\n this.$nextTick(this.updatePopper);\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n var input = this.$refs.input;\n\n if (input && input.$el) {\n this.inputInitialHeight = input.$el.offsetHeight || InputSizeMap[this.realSize] || 40;\n }\n\n if (!this.isEmptyValue(this.value)) {\n this.computePresentContent();\n }\n\n this.filterHandler = debounce_default()(this.debounce, function () {\n var inputValue = _this.inputValue;\n\n if (!inputValue) {\n _this.filtering = false;\n return;\n }\n\n var before = _this.beforeFilter(inputValue);\n\n if (before && before.then) {\n before.then(_this.getSuggestions);\n } else if (before !== false) {\n _this.getSuggestions();\n } else {\n _this.filtering = false;\n }\n });\n Object(resize_event_[\"addResizeListener\"])(this.$el, this.updateStyle);\n },\n beforeDestroy: function beforeDestroy() {\n Object(resize_event_[\"removeResizeListener\"])(this.$el, this.updateStyle);\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'expand-trigger': 'expand-trigger is removed, use `props.expandTrigger` instead.',\n 'change-on-select': 'change-on-select is removed, use `props.checkStrictly` instead.',\n 'hover-threshold': 'hover-threshold is removed, use `props.hoverThreshold` instead'\n },\n events: {\n 'active-item-change': 'active-item-change is renamed to expand-change'\n }\n };\n },\n toggleDropDownVisible: function toggleDropDownVisible(visible) {\n var _this2 = this;\n\n if (this.isDisabled) return;\n var dropDownVisible = this.dropDownVisible;\n var input = this.$refs.input;\n visible = Object(shared_[\"isDef\"])(visible) ? visible : !dropDownVisible;\n\n if (visible !== dropDownVisible) {\n this.dropDownVisible = visible;\n\n if (visible) {\n this.$nextTick(function () {\n _this2.updatePopper();\n\n _this2.panel.scrollIntoView();\n });\n }\n\n input.$refs.input.setAttribute('aria-expanded', visible);\n this.$emit('visible-change', visible);\n }\n },\n handleDropdownLeave: function handleDropdownLeave() {\n this.filtering = false;\n this.inputValue = this.presentText;\n this.doDestroy();\n },\n handleKeyDown: function handleKeyDown(event) {\n switch (event.keyCode) {\n case KeyCode.enter:\n this.toggleDropDownVisible();\n break;\n\n case KeyCode.down:\n this.toggleDropDownVisible(true);\n this.focusFirstNode();\n event.preventDefault();\n break;\n\n case KeyCode.esc:\n case KeyCode.tab:\n this.toggleDropDownVisible(false);\n break;\n }\n },\n handleFocus: function handleFocus(e) {\n this.$emit('focus', e);\n },\n handleBlur: function handleBlur(e) {\n this.$emit('blur', e);\n },\n handleInput: function handleInput(val, event) {\n !this.dropDownVisible && this.toggleDropDownVisible(true);\n if (event && event.isComposing) return;\n\n if (val) {\n this.filterHandler();\n } else {\n this.filtering = false;\n }\n },\n handleClear: function handleClear() {\n this.presentText = '';\n this.panel.clearCheckedNodes();\n },\n handleExpandChange: function handleExpandChange(value) {\n this.$nextTick(this.updatePopper.bind(this));\n this.$emit('expand-change', value);\n this.$emit('active-item-change', value); // Deprecated\n },\n focusFirstNode: function focusFirstNode() {\n var _this3 = this;\n\n this.$nextTick(function () {\n var filtering = _this3.filtering;\n var _$refs = _this3.$refs,\n popper = _$refs.popper,\n suggestionPanel = _$refs.suggestionPanel;\n var firstNode = null;\n\n if (filtering && suggestionPanel) {\n firstNode = suggestionPanel.$el.querySelector('.el-cascader__suggestion-item');\n } else {\n var firstMenu = popper.querySelector('.el-cascader-menu');\n firstNode = firstMenu.querySelector('.el-cascader-node[tabindex=\"-1\"]');\n }\n\n if (firstNode) {\n firstNode.focus();\n !filtering && firstNode.click();\n }\n });\n },\n computePresentContent: function computePresentContent() {\n var _this4 = this; // nextTick is required, because checked nodes may not change right now\n\n\n this.$nextTick(function () {\n if (_this4.config.multiple) {\n _this4.computePresentTags();\n\n _this4.presentText = _this4.presentTags.length ? ' ' : null;\n } else {\n _this4.computePresentText();\n }\n });\n },\n isEmptyValue: function isEmptyValue(val) {\n var multiple = this.multiple;\n var emitPath = this.panel.config.emitPath;\n\n if (multiple || emitPath) {\n return Object(util_[\"isEmpty\"])(val);\n }\n\n return false;\n },\n computePresentText: function computePresentText() {\n var checkedValue = this.checkedValue,\n config = this.config;\n\n if (!this.isEmptyValue(checkedValue)) {\n var node = this.panel.getNodeByValue(checkedValue);\n\n if (node && (config.checkStrictly || node.isLeaf)) {\n this.presentText = node.getText(this.showAllLevels, this.separator);\n return;\n }\n }\n\n this.presentText = null;\n },\n computePresentTags: function computePresentTags() {\n var isDisabled = this.isDisabled,\n leafOnly = this.leafOnly,\n showAllLevels = this.showAllLevels,\n separator = this.separator,\n collapseTags = this.collapseTags;\n var checkedNodes = this.getCheckedNodes(leafOnly);\n var tags = [];\n\n var genTag = function genTag(node) {\n return {\n node: node,\n key: node.uid,\n text: node.getText(showAllLevels, separator),\n hitState: false,\n closable: !isDisabled && !node.isDisabled\n };\n };\n\n if (checkedNodes.length) {\n var first = checkedNodes[0],\n rest = checkedNodes.slice(1);\n var restCount = rest.length;\n tags.push(genTag(first));\n\n if (restCount) {\n if (collapseTags) {\n tags.push({\n key: -1,\n text: '+ ' + restCount,\n closable: false\n });\n } else {\n rest.forEach(function (node) {\n return tags.push(genTag(node));\n });\n }\n }\n }\n\n this.checkedNodes = checkedNodes;\n this.presentTags = tags;\n },\n getSuggestions: function getSuggestions() {\n var _this5 = this;\n\n var filterMethod = this.filterMethod;\n\n if (!Object(types_[\"isFunction\"])(filterMethod)) {\n filterMethod = function filterMethod(node, keyword) {\n return node.text.includes(keyword);\n };\n }\n\n var suggestions = this.panel.getFlattedNodes(this.leafOnly).filter(function (node) {\n if (node.isDisabled) return false;\n node.text = node.getText(_this5.showAllLevels, _this5.separator) || '';\n return filterMethod(node, _this5.inputValue);\n });\n\n if (this.multiple) {\n this.presentTags.forEach(function (tag) {\n tag.hitState = false;\n });\n } else {\n suggestions.forEach(function (node) {\n node.checked = Object(util_[\"isEqual\"])(_this5.checkedValue, node.getValueByOption());\n });\n }\n\n this.filtering = true;\n this.suggestions = suggestions;\n this.$nextTick(this.updatePopper);\n },\n handleSuggestionKeyDown: function handleSuggestionKeyDown(event) {\n var keyCode = event.keyCode,\n target = event.target;\n\n switch (keyCode) {\n case KeyCode.enter:\n target.click();\n break;\n\n case KeyCode.up:\n var prev = target.previousElementSibling;\n prev && prev.focus();\n break;\n\n case KeyCode.down:\n var next = target.nextElementSibling;\n next && next.focus();\n break;\n\n case KeyCode.esc:\n case KeyCode.tab:\n this.toggleDropDownVisible(false);\n break;\n }\n },\n handleDelete: function handleDelete() {\n var inputValue = this.inputValue,\n pressDeleteCount = this.pressDeleteCount,\n presentTags = this.presentTags;\n var lastIndex = presentTags.length - 1;\n var lastTag = presentTags[lastIndex];\n this.pressDeleteCount = inputValue ? 0 : pressDeleteCount + 1;\n if (!lastTag) return;\n\n if (this.pressDeleteCount) {\n if (lastTag.hitState) {\n this.deleteTag(lastTag);\n } else {\n lastTag.hitState = true;\n }\n }\n },\n handleSuggestionClick: function handleSuggestionClick(index) {\n var multiple = this.multiple;\n var targetNode = this.suggestions[index];\n\n if (multiple) {\n var checked = targetNode.checked;\n targetNode.doCheck(!checked);\n this.panel.calculateMultiCheckedValue();\n } else {\n this.checkedValue = targetNode.getValueByOption();\n this.toggleDropDownVisible(false);\n }\n },\n deleteTag: function deleteTag(tag) {\n var checkedValue = this.checkedValue;\n var current = tag.node.getValueByOption();\n var val = checkedValue.find(function (n) {\n return Object(util_[\"isEqual\"])(n, current);\n });\n this.checkedValue = checkedValue.filter(function (n) {\n return !Object(util_[\"isEqual\"])(n, current);\n });\n this.$emit('remove-tag', val);\n },\n updateStyle: function updateStyle() {\n var $el = this.$el,\n inputInitialHeight = this.inputInitialHeight;\n if (this.$isServer || !$el) return;\n var suggestionPanel = this.$refs.suggestionPanel;\n var inputInner = $el.querySelector('.el-input__inner');\n if (!inputInner) return;\n var tags = $el.querySelector('.el-cascader__tags');\n var suggestionPanelEl = null;\n\n if (suggestionPanel && (suggestionPanelEl = suggestionPanel.$el)) {\n var suggestionList = suggestionPanelEl.querySelector('.el-cascader__suggestion-list');\n suggestionList.style.minWidth = inputInner.offsetWidth + 'px';\n }\n\n if (tags) {\n var offsetHeight = Math.round(tags.getBoundingClientRect().height);\n var height = Math.max(offsetHeight + 6, inputInitialHeight) + 'px';\n inputInner.style.height = height;\n\n if (this.dropDownVisible) {\n this.updatePopper();\n }\n }\n },\n\n /**\n * public methods\n */\n getCheckedNodes: function getCheckedNodes(leafOnly) {\n return this.panel.getCheckedNodes(leafOnly);\n }\n }\n }; // CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascadervue_type_script_lang_js_ = cascadervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/cascader/src/cascader.vue\n\n /* normalize component */\n\n var cascader_component = normalizeComponent(src_cascadervue_type_script_lang_js_, cascadervue_type_template_id_032537a6_render, cascadervue_type_template_id_032537a6_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var cascader_api;\n }\n\n cascader_component.options.__file = \"packages/cascader/src/cascader.vue\";\n /* harmony default export */\n\n var cascader = cascader_component.exports; // CONCATENATED MODULE: ./packages/cascader/index.js\n\n /* istanbul ignore next */\n\n cascader.install = function (Vue) {\n Vue.component(cascader.name, cascader);\n };\n /* harmony default export */\n\n\n var packages_cascader = cascader; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/main.vue?vue&type=template&id=55c8ade7&\n\n var mainvue_type_template_id_55c8ade7_render = function mainvue_type_template_id_55c8ade7_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.hide,\n expression: \"hide\"\n }],\n \"class\": [\"el-color-picker\", _vm.colorDisabled ? \"is-disabled\" : \"\", _vm.colorSize ? \"el-color-picker--\" + _vm.colorSize : \"\"]\n }, [_vm.colorDisabled ? _c(\"div\", {\n staticClass: \"el-color-picker__mask\"\n }) : _vm._e(), _c(\"div\", {\n staticClass: \"el-color-picker__trigger\",\n on: {\n click: _vm.handleTrigger\n }\n }, [_c(\"span\", {\n staticClass: \"el-color-picker__color\",\n \"class\": {\n \"is-alpha\": _vm.showAlpha\n }\n }, [_c(\"span\", {\n staticClass: \"el-color-picker__color-inner\",\n style: {\n backgroundColor: _vm.displayedColor\n }\n }), !_vm.value && !_vm.showPanelColor ? _c(\"span\", {\n staticClass: \"el-color-picker__empty el-icon-close\"\n }) : _vm._e()]), _c(\"span\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.value || _vm.showPanelColor,\n expression: \"value || showPanelColor\"\n }],\n staticClass: \"el-color-picker__icon el-icon-arrow-down\"\n })]), _c(\"picker-dropdown\", {\n ref: \"dropdown\",\n \"class\": [\"el-color-picker__panel\", _vm.popperClass || \"\"],\n attrs: {\n color: _vm.color,\n \"show-alpha\": _vm.showAlpha,\n predefine: _vm.predefine\n },\n on: {\n pick: _vm.confirmValue,\n clear: _vm.clearValue\n },\n model: {\n value: _vm.showPicker,\n callback: function callback($$v) {\n _vm.showPicker = $$v;\n },\n expression: \"showPicker\"\n }\n })], 1);\n };\n\n var mainvue_type_template_id_55c8ade7_staticRenderFns = [];\n mainvue_type_template_id_55c8ade7_render._withStripped = true; // CONCATENATED MODULE: ./packages/color-picker/src/main.vue?vue&type=template&id=55c8ade7&\n // CONCATENATED MODULE: ./packages/color-picker/src/color.js\n\n var color_typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n\n function color_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var hsv2hsl = function hsv2hsl(hue, sat, val) {\n return [hue, sat * val / ((hue = (2 - sat) * val) < 1 ? hue : 2 - hue) || 0, hue / 2];\n }; // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>\n\n\n var isOnePointZero = function isOnePointZero(n) {\n return typeof n === 'string' && n.indexOf('.') !== -1 && parseFloat(n) === 1;\n };\n\n var isPercentage = function isPercentage(n) {\n return typeof n === 'string' && n.indexOf('%') !== -1;\n }; // Take input from [0, n] and return it as [0, 1]\n\n\n var bound01 = function bound01(value, max) {\n if (isOnePointZero(value)) value = '100%';\n var processPercent = isPercentage(value);\n value = Math.min(max, Math.max(0, parseFloat(value))); // Automatically convert percentage into number\n\n if (processPercent) {\n value = parseInt(value * max, 10) / 100;\n } // Handle floating point rounding errors\n\n\n if (Math.abs(value - max) < 0.000001) {\n return 1;\n } // Convert into [0, 1] range if it isn't already\n\n\n return value % max / parseFloat(max);\n };\n\n var INT_HEX_MAP = {\n 10: 'A',\n 11: 'B',\n 12: 'C',\n 13: 'D',\n 14: 'E',\n 15: 'F'\n };\n\n var toHex = function toHex(_ref) {\n var r = _ref.r,\n g = _ref.g,\n b = _ref.b;\n\n var hexOne = function hexOne(value) {\n value = Math.min(Math.round(value), 255);\n var high = Math.floor(value / 16);\n var low = value % 16;\n return '' + (INT_HEX_MAP[high] || high) + (INT_HEX_MAP[low] || low);\n };\n\n if (isNaN(r) || isNaN(g) || isNaN(b)) return '';\n return '#' + hexOne(r) + hexOne(g) + hexOne(b);\n };\n\n var HEX_INT_MAP = {\n A: 10,\n B: 11,\n C: 12,\n D: 13,\n E: 14,\n F: 15\n };\n\n var parseHexChannel = function parseHexChannel(hex) {\n if (hex.length === 2) {\n return (HEX_INT_MAP[hex[0].toUpperCase()] || +hex[0]) * 16 + (HEX_INT_MAP[hex[1].toUpperCase()] || +hex[1]);\n }\n\n return HEX_INT_MAP[hex[1].toUpperCase()] || +hex[1];\n };\n\n var hsl2hsv = function hsl2hsv(hue, sat, light) {\n sat = sat / 100;\n light = light / 100;\n var smin = sat;\n var lmin = Math.max(light, 0.01);\n var sv = void 0;\n var v = void 0;\n light *= 2;\n sat *= light <= 1 ? light : 2 - light;\n smin *= lmin <= 1 ? lmin : 2 - lmin;\n v = (light + sat) / 2;\n sv = light === 0 ? 2 * smin / (lmin + smin) : 2 * sat / (light + sat);\n return {\n h: hue,\n s: sv * 100,\n v: v * 100\n };\n }; // `rgbToHsv`\n // Converts an RGB color value to HSV\n // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n // *Returns:* { h, s, v } in [0,1]\n\n\n var rgb2hsv = function rgb2hsv(r, g, b) {\n r = bound01(r, 255);\n g = bound01(g, 255);\n b = bound01(b, 255);\n var max = Math.max(r, g, b);\n var min = Math.min(r, g, b);\n var h = void 0,\n s = void 0;\n var v = max;\n var d = max - min;\n s = max === 0 ? 0 : d / max;\n\n if (max === min) {\n h = 0; // achromatic\n } else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n\n case g:\n h = (b - r) / d + 2;\n break;\n\n case b:\n h = (r - g) / d + 4;\n break;\n }\n\n h /= 6;\n }\n\n return {\n h: h * 360,\n s: s * 100,\n v: v * 100\n };\n }; // `hsvToRgb`\n // Converts an HSV color value to RGB.\n // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n // *Returns:* { r, g, b } in the set [0, 255]\n\n\n var hsv2rgb = function hsv2rgb(h, s, v) {\n h = bound01(h, 360) * 6;\n s = bound01(s, 100);\n v = bound01(v, 100);\n var i = Math.floor(h);\n var f = h - i;\n var p = v * (1 - s);\n var q = v * (1 - f * s);\n var t = v * (1 - (1 - f) * s);\n var mod = i % 6;\n var r = [v, q, p, p, t, v][mod];\n var g = [t, v, v, q, p, p][mod];\n var b = [p, p, t, v, v, q][mod];\n return {\n r: Math.round(r * 255),\n g: Math.round(g * 255),\n b: Math.round(b * 255)\n };\n };\n\n var Color = function () {\n function Color(options) {\n color_classCallCheck(this, Color);\n this._hue = 0;\n this._saturation = 100;\n this._value = 100;\n this._alpha = 100;\n this.enableAlpha = false;\n this.format = 'hex';\n this.value = '';\n options = options || {};\n\n for (var option in options) {\n if (options.hasOwnProperty(option)) {\n this[option] = options[option];\n }\n }\n\n this.doOnChange();\n }\n\n Color.prototype.set = function set(prop, value) {\n if (arguments.length === 1 && (typeof prop === 'undefined' ? 'undefined' : color_typeof(prop)) === 'object') {\n for (var p in prop) {\n if (prop.hasOwnProperty(p)) {\n this.set(p, prop[p]);\n }\n }\n\n return;\n }\n\n this['_' + prop] = value;\n this.doOnChange();\n };\n\n Color.prototype.get = function get(prop) {\n return this['_' + prop];\n };\n\n Color.prototype.toRgb = function toRgb() {\n return hsv2rgb(this._hue, this._saturation, this._value);\n };\n\n Color.prototype.fromString = function fromString(value) {\n var _this = this;\n\n if (!value) {\n this._hue = 0;\n this._saturation = 100;\n this._value = 100;\n this.doOnChange();\n return;\n }\n\n var fromHSV = function fromHSV(h, s, v) {\n _this._hue = Math.max(0, Math.min(360, h));\n _this._saturation = Math.max(0, Math.min(100, s));\n _this._value = Math.max(0, Math.min(100, v));\n\n _this.doOnChange();\n };\n\n if (value.indexOf('hsl') !== -1) {\n var parts = value.replace(/hsla|hsl|\\(|\\)/gm, '').split(/\\s|,/g).filter(function (val) {\n return val !== '';\n }).map(function (val, index) {\n return index > 2 ? parseFloat(val) : parseInt(val, 10);\n });\n\n if (parts.length === 4) {\n this._alpha = Math.floor(parseFloat(parts[3]) * 100);\n } else if (parts.length === 3) {\n this._alpha = 100;\n }\n\n if (parts.length >= 3) {\n var _hsl2hsv = hsl2hsv(parts[0], parts[1], parts[2]),\n h = _hsl2hsv.h,\n s = _hsl2hsv.s,\n v = _hsl2hsv.v;\n\n fromHSV(h, s, v);\n }\n } else if (value.indexOf('hsv') !== -1) {\n var _parts = value.replace(/hsva|hsv|\\(|\\)/gm, '').split(/\\s|,/g).filter(function (val) {\n return val !== '';\n }).map(function (val, index) {\n return index > 2 ? parseFloat(val) : parseInt(val, 10);\n });\n\n if (_parts.length === 4) {\n this._alpha = Math.floor(parseFloat(_parts[3]) * 100);\n } else if (_parts.length === 3) {\n this._alpha = 100;\n }\n\n if (_parts.length >= 3) {\n fromHSV(_parts[0], _parts[1], _parts[2]);\n }\n } else if (value.indexOf('rgb') !== -1) {\n var _parts2 = value.replace(/rgba|rgb|\\(|\\)/gm, '').split(/\\s|,/g).filter(function (val) {\n return val !== '';\n }).map(function (val, index) {\n return index > 2 ? parseFloat(val) : parseInt(val, 10);\n });\n\n if (_parts2.length === 4) {\n this._alpha = Math.floor(parseFloat(_parts2[3]) * 100);\n } else if (_parts2.length === 3) {\n this._alpha = 100;\n }\n\n if (_parts2.length >= 3) {\n var _rgb2hsv = rgb2hsv(_parts2[0], _parts2[1], _parts2[2]),\n _h = _rgb2hsv.h,\n _s = _rgb2hsv.s,\n _v = _rgb2hsv.v;\n\n fromHSV(_h, _s, _v);\n }\n } else if (value.indexOf('#') !== -1) {\n var hex = value.replace('#', '').trim();\n if (!/^(?:[0-9a-fA-F]{3}){1,2}|[0-9a-fA-F]{8}$/.test(hex)) return;\n var r = void 0,\n g = void 0,\n b = void 0;\n\n if (hex.length === 3) {\n r = parseHexChannel(hex[0] + hex[0]);\n g = parseHexChannel(hex[1] + hex[1]);\n b = parseHexChannel(hex[2] + hex[2]);\n } else if (hex.length === 6 || hex.length === 8) {\n r = parseHexChannel(hex.substring(0, 2));\n g = parseHexChannel(hex.substring(2, 4));\n b = parseHexChannel(hex.substring(4, 6));\n }\n\n if (hex.length === 8) {\n this._alpha = Math.floor(parseHexChannel(hex.substring(6)) / 255 * 100);\n } else if (hex.length === 3 || hex.length === 6) {\n this._alpha = 100;\n }\n\n var _rgb2hsv2 = rgb2hsv(r, g, b),\n _h2 = _rgb2hsv2.h,\n _s2 = _rgb2hsv2.s,\n _v2 = _rgb2hsv2.v;\n\n fromHSV(_h2, _s2, _v2);\n }\n };\n\n Color.prototype.compare = function compare(color) {\n return Math.abs(color._hue - this._hue) < 2 && Math.abs(color._saturation - this._saturation) < 1 && Math.abs(color._value - this._value) < 1 && Math.abs(color._alpha - this._alpha) < 1;\n };\n\n Color.prototype.doOnChange = function doOnChange() {\n var _hue = this._hue,\n _saturation = this._saturation,\n _value = this._value,\n _alpha = this._alpha,\n format = this.format;\n\n if (this.enableAlpha) {\n switch (format) {\n case 'hsl':\n var hsl = hsv2hsl(_hue, _saturation / 100, _value / 100);\n this.value = 'hsla(' + _hue + ', ' + Math.round(hsl[1] * 100) + '%, ' + Math.round(hsl[2] * 100) + '%, ' + _alpha / 100 + ')';\n break;\n\n case 'hsv':\n this.value = 'hsva(' + _hue + ', ' + Math.round(_saturation) + '%, ' + Math.round(_value) + '%, ' + _alpha / 100 + ')';\n break;\n\n default:\n var _hsv2rgb = hsv2rgb(_hue, _saturation, _value),\n r = _hsv2rgb.r,\n g = _hsv2rgb.g,\n b = _hsv2rgb.b;\n\n this.value = 'rgba(' + r + ', ' + g + ', ' + b + ', ' + _alpha / 100 + ')';\n }\n } else {\n switch (format) {\n case 'hsl':\n var _hsl = hsv2hsl(_hue, _saturation / 100, _value / 100);\n\n this.value = 'hsl(' + _hue + ', ' + Math.round(_hsl[1] * 100) + '%, ' + Math.round(_hsl[2] * 100) + '%)';\n break;\n\n case 'hsv':\n this.value = 'hsv(' + _hue + ', ' + Math.round(_saturation) + '%, ' + Math.round(_value) + '%)';\n break;\n\n case 'rgb':\n var _hsv2rgb2 = hsv2rgb(_hue, _saturation, _value),\n _r = _hsv2rgb2.r,\n _g = _hsv2rgb2.g,\n _b = _hsv2rgb2.b;\n\n this.value = 'rgb(' + _r + ', ' + _g + ', ' + _b + ')';\n break;\n\n default:\n this.value = toHex(hsv2rgb(_hue, _saturation, _value));\n }\n }\n };\n\n return Color;\n }();\n /* harmony default export */\n\n\n var src_color = Color;\n ; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/picker-dropdown.vue?vue&type=template&id=06601625&\n\n var picker_dropdownvue_type_template_id_06601625_render = function picker_dropdownvue_type_template_id_06601625_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"after-leave\": _vm.doDestroy\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.showPopper,\n expression: \"showPopper\"\n }],\n staticClass: \"el-color-dropdown\"\n }, [_c(\"div\", {\n staticClass: \"el-color-dropdown__main-wrapper\"\n }, [_c(\"hue-slider\", {\n ref: \"hue\",\n staticStyle: {\n \"float\": \"right\"\n },\n attrs: {\n color: _vm.color,\n vertical: \"\"\n }\n }), _c(\"sv-panel\", {\n ref: \"sl\",\n attrs: {\n color: _vm.color\n }\n })], 1), _vm.showAlpha ? _c(\"alpha-slider\", {\n ref: \"alpha\",\n attrs: {\n color: _vm.color\n }\n }) : _vm._e(), _vm.predefine ? _c(\"predefine\", {\n attrs: {\n color: _vm.color,\n colors: _vm.predefine\n }\n }) : _vm._e(), _c(\"div\", {\n staticClass: \"el-color-dropdown__btns\"\n }, [_c(\"span\", {\n staticClass: \"el-color-dropdown__value\"\n }, [_c(\"el-input\", {\n attrs: {\n \"validate-event\": false,\n size: \"mini\"\n },\n on: {\n blur: _vm.handleConfirm\n },\n nativeOn: {\n keyup: function keyup($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.handleConfirm($event);\n }\n },\n model: {\n value: _vm.customInput,\n callback: function callback($$v) {\n _vm.customInput = $$v;\n },\n expression: \"customInput\"\n }\n })], 1), _c(\"el-button\", {\n staticClass: \"el-color-dropdown__link-btn\",\n attrs: {\n size: \"mini\",\n type: \"text\"\n },\n on: {\n click: function click($event) {\n _vm.$emit(\"clear\");\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.colorpicker.clear\")) + \"\\n \")]), _c(\"el-button\", {\n staticClass: \"el-color-dropdown__btn\",\n attrs: {\n plain: \"\",\n size: \"mini\"\n },\n on: {\n click: _vm.confirmValue\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.colorpicker.confirm\")) + \"\\n \")])], 1)], 1)]);\n };\n\n var picker_dropdownvue_type_template_id_06601625_staticRenderFns = [];\n picker_dropdownvue_type_template_id_06601625_render._withStripped = true; // CONCATENATED MODULE: ./packages/color-picker/src/components/picker-dropdown.vue?vue&type=template&id=06601625&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/sv-panel.vue?vue&type=template&id=d8583596&\n\n var sv_panelvue_type_template_id_d8583596_render = function sv_panelvue_type_template_id_d8583596_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-color-svpanel\",\n style: {\n backgroundColor: _vm.background\n }\n }, [_c(\"div\", {\n staticClass: \"el-color-svpanel__white\"\n }), _c(\"div\", {\n staticClass: \"el-color-svpanel__black\"\n }), _c(\"div\", {\n staticClass: \"el-color-svpanel__cursor\",\n style: {\n top: _vm.cursorTop + \"px\",\n left: _vm.cursorLeft + \"px\"\n }\n }, [_c(\"div\")])]);\n };\n\n var sv_panelvue_type_template_id_d8583596_staticRenderFns = [];\n sv_panelvue_type_template_id_d8583596_render._withStripped = true; // CONCATENATED MODULE: ./packages/color-picker/src/components/sv-panel.vue?vue&type=template&id=d8583596&\n // CONCATENATED MODULE: ./packages/color-picker/src/draggable.js\n\n var isDragging = false;\n /* harmony default export */\n\n var draggable = function draggable(element, options) {\n if (external_vue_default.a.prototype.$isServer) return;\n\n var moveFn = function moveFn(event) {\n if (options.drag) {\n options.drag(event);\n }\n };\n\n var upFn = function upFn(event) {\n document.removeEventListener('mousemove', moveFn);\n document.removeEventListener('mouseup', upFn);\n document.onselectstart = null;\n document.ondragstart = null;\n isDragging = false;\n\n if (options.end) {\n options.end(event);\n }\n };\n\n element.addEventListener('mousedown', function (event) {\n if (isDragging) return;\n\n document.onselectstart = function () {\n return false;\n };\n\n document.ondragstart = function () {\n return false;\n };\n\n document.addEventListener('mousemove', moveFn);\n document.addEventListener('mouseup', upFn);\n isDragging = true;\n\n if (options.start) {\n options.start(event);\n }\n });\n }; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/sv-panel.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var sv_panelvue_type_script_lang_js_ = {\n name: 'el-sl-panel',\n props: {\n color: {\n required: true\n }\n },\n computed: {\n colorValue: function colorValue() {\n var hue = this.color.get('hue');\n var value = this.color.get('value');\n return {\n hue: hue,\n value: value\n };\n }\n },\n watch: {\n colorValue: function colorValue() {\n this.update();\n }\n },\n methods: {\n update: function update() {\n var saturation = this.color.get('saturation');\n var value = this.color.get('value');\n var el = this.$el;\n var width = el.clientWidth,\n height = el.clientHeight;\n this.cursorLeft = saturation * width / 100;\n this.cursorTop = (100 - value) * height / 100;\n this.background = 'hsl(' + this.color.get('hue') + ', 100%, 50%)';\n },\n handleDrag: function handleDrag(event) {\n var el = this.$el;\n var rect = el.getBoundingClientRect();\n var left = event.clientX - rect.left;\n var top = event.clientY - rect.top;\n left = Math.max(0, left);\n left = Math.min(left, rect.width);\n top = Math.max(0, top);\n top = Math.min(top, rect.height);\n this.cursorLeft = left;\n this.cursorTop = top;\n this.color.set({\n saturation: left / rect.width * 100,\n value: 100 - top / rect.height * 100\n });\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n draggable(this.$el, {\n drag: function drag(event) {\n _this.handleDrag(event);\n },\n end: function end(event) {\n _this.handleDrag(event);\n }\n });\n this.update();\n },\n data: function data() {\n return {\n cursorTop: 0,\n cursorLeft: 0,\n background: 'hsl(0, 100%, 50%)'\n };\n }\n }; // CONCATENATED MODULE: ./packages/color-picker/src/components/sv-panel.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var components_sv_panelvue_type_script_lang_js_ = sv_panelvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/color-picker/src/components/sv-panel.vue\n\n /* normalize component */\n\n var sv_panel_component = normalizeComponent(components_sv_panelvue_type_script_lang_js_, sv_panelvue_type_template_id_d8583596_render, sv_panelvue_type_template_id_d8583596_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var sv_panel_api;\n }\n\n sv_panel_component.options.__file = \"packages/color-picker/src/components/sv-panel.vue\";\n /* harmony default export */\n\n var sv_panel = sv_panel_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/hue-slider.vue?vue&type=template&id=5cdc43b1&\n\n var hue_slidervue_type_template_id_5cdc43b1_render = function hue_slidervue_type_template_id_5cdc43b1_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-color-hue-slider\",\n \"class\": {\n \"is-vertical\": _vm.vertical\n }\n }, [_c(\"div\", {\n ref: \"bar\",\n staticClass: \"el-color-hue-slider__bar\",\n on: {\n click: _vm.handleClick\n }\n }), _c(\"div\", {\n ref: \"thumb\",\n staticClass: \"el-color-hue-slider__thumb\",\n style: {\n left: _vm.thumbLeft + \"px\",\n top: _vm.thumbTop + \"px\"\n }\n })]);\n };\n\n var hue_slidervue_type_template_id_5cdc43b1_staticRenderFns = [];\n hue_slidervue_type_template_id_5cdc43b1_render._withStripped = true; // CONCATENATED MODULE: ./packages/color-picker/src/components/hue-slider.vue?vue&type=template&id=5cdc43b1&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/hue-slider.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var hue_slidervue_type_script_lang_js_ = {\n name: 'el-color-hue-slider',\n props: {\n color: {\n required: true\n },\n vertical: Boolean\n },\n data: function data() {\n return {\n thumbLeft: 0,\n thumbTop: 0\n };\n },\n computed: {\n hueValue: function hueValue() {\n var hue = this.color.get('hue');\n return hue;\n }\n },\n watch: {\n hueValue: function hueValue() {\n this.update();\n }\n },\n methods: {\n handleClick: function handleClick(event) {\n var thumb = this.$refs.thumb;\n var target = event.target;\n\n if (target !== thumb) {\n this.handleDrag(event);\n }\n },\n handleDrag: function handleDrag(event) {\n var rect = this.$el.getBoundingClientRect();\n var thumb = this.$refs.thumb;\n var hue = void 0;\n\n if (!this.vertical) {\n var left = event.clientX - rect.left;\n left = Math.min(left, rect.width - thumb.offsetWidth / 2);\n left = Math.max(thumb.offsetWidth / 2, left);\n hue = Math.round((left - thumb.offsetWidth / 2) / (rect.width - thumb.offsetWidth) * 360);\n } else {\n var top = event.clientY - rect.top;\n top = Math.min(top, rect.height - thumb.offsetHeight / 2);\n top = Math.max(thumb.offsetHeight / 2, top);\n hue = Math.round((top - thumb.offsetHeight / 2) / (rect.height - thumb.offsetHeight) * 360);\n }\n\n this.color.set('hue', hue);\n },\n getThumbLeft: function getThumbLeft() {\n if (this.vertical) return 0;\n var el = this.$el;\n var hue = this.color.get('hue');\n if (!el) return 0;\n var thumb = this.$refs.thumb;\n return Math.round(hue * (el.offsetWidth - thumb.offsetWidth / 2) / 360);\n },\n getThumbTop: function getThumbTop() {\n if (!this.vertical) return 0;\n var el = this.$el;\n var hue = this.color.get('hue');\n if (!el) return 0;\n var thumb = this.$refs.thumb;\n return Math.round(hue * (el.offsetHeight - thumb.offsetHeight / 2) / 360);\n },\n update: function update() {\n this.thumbLeft = this.getThumbLeft();\n this.thumbTop = this.getThumbTop();\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n var _$refs = this.$refs,\n bar = _$refs.bar,\n thumb = _$refs.thumb;\n var dragConfig = {\n drag: function drag(event) {\n _this.handleDrag(event);\n },\n end: function end(event) {\n _this.handleDrag(event);\n }\n };\n draggable(bar, dragConfig);\n draggable(thumb, dragConfig);\n this.update();\n }\n }; // CONCATENATED MODULE: ./packages/color-picker/src/components/hue-slider.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var components_hue_slidervue_type_script_lang_js_ = hue_slidervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/color-picker/src/components/hue-slider.vue\n\n /* normalize component */\n\n var hue_slider_component = normalizeComponent(components_hue_slidervue_type_script_lang_js_, hue_slidervue_type_template_id_5cdc43b1_render, hue_slidervue_type_template_id_5cdc43b1_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var hue_slider_api;\n }\n\n hue_slider_component.options.__file = \"packages/color-picker/src/components/hue-slider.vue\";\n /* harmony default export */\n\n var hue_slider = hue_slider_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/alpha-slider.vue?vue&type=template&id=068c66cb&\n\n var alpha_slidervue_type_template_id_068c66cb_render = function alpha_slidervue_type_template_id_068c66cb_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-color-alpha-slider\",\n \"class\": {\n \"is-vertical\": _vm.vertical\n }\n }, [_c(\"div\", {\n ref: \"bar\",\n staticClass: \"el-color-alpha-slider__bar\",\n style: {\n background: _vm.background\n },\n on: {\n click: _vm.handleClick\n }\n }), _c(\"div\", {\n ref: \"thumb\",\n staticClass: \"el-color-alpha-slider__thumb\",\n style: {\n left: _vm.thumbLeft + \"px\",\n top: _vm.thumbTop + \"px\"\n }\n })]);\n };\n\n var alpha_slidervue_type_template_id_068c66cb_staticRenderFns = [];\n alpha_slidervue_type_template_id_068c66cb_render._withStripped = true; // CONCATENATED MODULE: ./packages/color-picker/src/components/alpha-slider.vue?vue&type=template&id=068c66cb&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/alpha-slider.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var alpha_slidervue_type_script_lang_js_ = {\n name: 'el-color-alpha-slider',\n props: {\n color: {\n required: true\n },\n vertical: Boolean\n },\n watch: {\n 'color._alpha': function color_alpha() {\n this.update();\n },\n 'color.value': function colorValue() {\n this.update();\n }\n },\n methods: {\n handleClick: function handleClick(event) {\n var thumb = this.$refs.thumb;\n var target = event.target;\n\n if (target !== thumb) {\n this.handleDrag(event);\n }\n },\n handleDrag: function handleDrag(event) {\n var rect = this.$el.getBoundingClientRect();\n var thumb = this.$refs.thumb;\n\n if (!this.vertical) {\n var left = event.clientX - rect.left;\n left = Math.max(thumb.offsetWidth / 2, left);\n left = Math.min(left, rect.width - thumb.offsetWidth / 2);\n this.color.set('alpha', Math.round((left - thumb.offsetWidth / 2) / (rect.width - thumb.offsetWidth) * 100));\n } else {\n var top = event.clientY - rect.top;\n top = Math.max(thumb.offsetHeight / 2, top);\n top = Math.min(top, rect.height - thumb.offsetHeight / 2);\n this.color.set('alpha', Math.round((top - thumb.offsetHeight / 2) / (rect.height - thumb.offsetHeight) * 100));\n }\n },\n getThumbLeft: function getThumbLeft() {\n if (this.vertical) return 0;\n var el = this.$el;\n var alpha = this.color._alpha;\n if (!el) return 0;\n var thumb = this.$refs.thumb;\n return Math.round(alpha * (el.offsetWidth - thumb.offsetWidth / 2) / 100);\n },\n getThumbTop: function getThumbTop() {\n if (!this.vertical) return 0;\n var el = this.$el;\n var alpha = this.color._alpha;\n if (!el) return 0;\n var thumb = this.$refs.thumb;\n return Math.round(alpha * (el.offsetHeight - thumb.offsetHeight / 2) / 100);\n },\n getBackground: function getBackground() {\n if (this.color && this.color.value) {\n var _color$toRgb = this.color.toRgb(),\n r = _color$toRgb.r,\n g = _color$toRgb.g,\n b = _color$toRgb.b;\n\n return 'linear-gradient(to right, rgba(' + r + ', ' + g + ', ' + b + ', 0) 0%, rgba(' + r + ', ' + g + ', ' + b + ', 1) 100%)';\n }\n\n return null;\n },\n update: function update() {\n this.thumbLeft = this.getThumbLeft();\n this.thumbTop = this.getThumbTop();\n this.background = this.getBackground();\n }\n },\n data: function data() {\n return {\n thumbLeft: 0,\n thumbTop: 0,\n background: null\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n var _$refs = this.$refs,\n bar = _$refs.bar,\n thumb = _$refs.thumb;\n var dragConfig = {\n drag: function drag(event) {\n _this.handleDrag(event);\n },\n end: function end(event) {\n _this.handleDrag(event);\n }\n };\n draggable(bar, dragConfig);\n draggable(thumb, dragConfig);\n this.update();\n }\n }; // CONCATENATED MODULE: ./packages/color-picker/src/components/alpha-slider.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var components_alpha_slidervue_type_script_lang_js_ = alpha_slidervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/color-picker/src/components/alpha-slider.vue\n\n /* normalize component */\n\n var alpha_slider_component = normalizeComponent(components_alpha_slidervue_type_script_lang_js_, alpha_slidervue_type_template_id_068c66cb_render, alpha_slidervue_type_template_id_068c66cb_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var alpha_slider_api;\n }\n\n alpha_slider_component.options.__file = \"packages/color-picker/src/components/alpha-slider.vue\";\n /* harmony default export */\n\n var alpha_slider = alpha_slider_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/predefine.vue?vue&type=template&id=06e03093&\n\n var predefinevue_type_template_id_06e03093_render = function predefinevue_type_template_id_06e03093_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-color-predefine\"\n }, [_c(\"div\", {\n staticClass: \"el-color-predefine__colors\"\n }, _vm._l(_vm.rgbaColors, function (item, index) {\n return _c(\"div\", {\n key: _vm.colors[index],\n staticClass: \"el-color-predefine__color-selector\",\n \"class\": {\n selected: item.selected,\n \"is-alpha\": item._alpha < 100\n },\n on: {\n click: function click($event) {\n _vm.handleSelect(index);\n }\n }\n }, [_c(\"div\", {\n style: {\n \"background-color\": item.value\n }\n })]);\n }), 0)]);\n };\n\n var predefinevue_type_template_id_06e03093_staticRenderFns = [];\n predefinevue_type_template_id_06e03093_render._withStripped = true; // CONCATENATED MODULE: ./packages/color-picker/src/components/predefine.vue?vue&type=template&id=06e03093&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/predefine.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var predefinevue_type_script_lang_js_ = {\n props: {\n colors: {\n type: Array,\n required: true\n },\n color: {\n required: true\n }\n },\n data: function data() {\n return {\n rgbaColors: this.parseColors(this.colors, this.color)\n };\n },\n methods: {\n handleSelect: function handleSelect(index) {\n this.color.fromString(this.colors[index]);\n },\n parseColors: function parseColors(colors, color) {\n return colors.map(function (value) {\n var c = new src_color();\n c.enableAlpha = true;\n c.format = 'rgba';\n c.fromString(value);\n c.selected = c.value === color.value;\n return c;\n });\n }\n },\n watch: {\n '$parent.currentColor': function $parentCurrentColor(val) {\n var color = new src_color();\n color.fromString(val);\n this.rgbaColors.forEach(function (item) {\n item.selected = color.compare(item);\n });\n },\n colors: function colors(newVal) {\n this.rgbaColors = this.parseColors(newVal, this.color);\n },\n color: function color(newVal) {\n this.rgbaColors = this.parseColors(this.colors, newVal);\n }\n }\n }; // CONCATENATED MODULE: ./packages/color-picker/src/components/predefine.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var components_predefinevue_type_script_lang_js_ = predefinevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/color-picker/src/components/predefine.vue\n\n /* normalize component */\n\n var predefine_component = normalizeComponent(components_predefinevue_type_script_lang_js_, predefinevue_type_template_id_06e03093_render, predefinevue_type_template_id_06e03093_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var predefine_api;\n }\n\n predefine_component.options.__file = \"packages/color-picker/src/components/predefine.vue\";\n /* harmony default export */\n\n var predefine = predefine_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/components/picker-dropdown.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var picker_dropdownvue_type_script_lang_js_ = {\n name: 'el-color-picker-dropdown',\n mixins: [vue_popper_default.a, locale_default.a],\n components: {\n SvPanel: sv_panel,\n HueSlider: hue_slider,\n AlphaSlider: alpha_slider,\n ElInput: input_default.a,\n ElButton: button_default.a,\n Predefine: predefine\n },\n props: {\n color: {\n required: true\n },\n showAlpha: Boolean,\n predefine: Array\n },\n data: function data() {\n return {\n customInput: ''\n };\n },\n computed: {\n currentColor: function currentColor() {\n var parent = this.$parent;\n return !parent.value && !parent.showPanelColor ? '' : parent.color.value;\n }\n },\n methods: {\n confirmValue: function confirmValue() {\n this.$emit('pick');\n },\n handleConfirm: function handleConfirm() {\n this.color.fromString(this.customInput);\n }\n },\n mounted: function mounted() {\n this.$parent.popperElm = this.popperElm = this.$el;\n this.referenceElm = this.$parent.$el;\n },\n watch: {\n showPopper: function showPopper(val) {\n var _this = this;\n\n if (val === true) {\n this.$nextTick(function () {\n var _$refs = _this.$refs,\n sl = _$refs.sl,\n hue = _$refs.hue,\n alpha = _$refs.alpha;\n sl && sl.update();\n hue && hue.update();\n alpha && alpha.update();\n });\n }\n },\n currentColor: {\n immediate: true,\n handler: function handler(val) {\n this.customInput = val;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/color-picker/src/components/picker-dropdown.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var components_picker_dropdownvue_type_script_lang_js_ = picker_dropdownvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/color-picker/src/components/picker-dropdown.vue\n\n /* normalize component */\n\n var picker_dropdown_component = normalizeComponent(components_picker_dropdownvue_type_script_lang_js_, picker_dropdownvue_type_template_id_06601625_render, picker_dropdownvue_type_template_id_06601625_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var picker_dropdown_api;\n }\n\n picker_dropdown_component.options.__file = \"packages/color-picker/src/components/picker-dropdown.vue\";\n /* harmony default export */\n\n var picker_dropdown = picker_dropdown_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/color-picker/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var color_picker_src_mainvue_type_script_lang_js_ = {\n name: 'ElColorPicker',\n mixins: [emitter_default.a],\n props: {\n value: String,\n showAlpha: Boolean,\n colorFormat: String,\n disabled: Boolean,\n size: String,\n popperClass: String,\n predefine: Array\n },\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n directives: {\n Clickoutside: clickoutside_default.a\n },\n computed: {\n displayedColor: function displayedColor() {\n if (!this.value && !this.showPanelColor) {\n return 'transparent';\n }\n\n return this.displayedRgb(this.color, this.showAlpha);\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n colorSize: function colorSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n colorDisabled: function colorDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n }\n },\n watch: {\n value: function value(val) {\n if (!val) {\n this.showPanelColor = false;\n } else if (val && val !== this.color.value) {\n this.color.fromString(val);\n }\n },\n color: {\n deep: true,\n handler: function handler() {\n this.showPanelColor = true;\n }\n },\n displayedColor: function displayedColor(val) {\n if (!this.showPicker) return;\n var currentValueColor = new src_color({\n enableAlpha: this.showAlpha,\n format: this.colorFormat\n });\n currentValueColor.fromString(this.value);\n var currentValueColorRgb = this.displayedRgb(currentValueColor, this.showAlpha);\n\n if (val !== currentValueColorRgb) {\n this.$emit('active-change', val);\n }\n }\n },\n methods: {\n handleTrigger: function handleTrigger() {\n if (this.colorDisabled) return;\n this.showPicker = !this.showPicker;\n },\n confirmValue: function confirmValue() {\n var value = this.color.value;\n this.$emit('input', value);\n this.$emit('change', value);\n this.dispatch('ElFormItem', 'el.form.change', value);\n this.showPicker = false;\n },\n clearValue: function clearValue() {\n this.$emit('input', null);\n this.$emit('change', null);\n\n if (this.value !== null) {\n this.dispatch('ElFormItem', 'el.form.change', null);\n }\n\n this.showPanelColor = false;\n this.showPicker = false;\n this.resetColor();\n },\n hide: function hide() {\n this.showPicker = false;\n this.resetColor();\n },\n resetColor: function resetColor() {\n var _this = this;\n\n this.$nextTick(function (_) {\n if (_this.value) {\n _this.color.fromString(_this.value);\n } else {\n _this.showPanelColor = false;\n }\n });\n },\n displayedRgb: function displayedRgb(color, showAlpha) {\n if (!(color instanceof src_color)) {\n throw Error('color should be instance of Color Class');\n }\n\n var _color$toRgb = color.toRgb(),\n r = _color$toRgb.r,\n g = _color$toRgb.g,\n b = _color$toRgb.b;\n\n return showAlpha ? 'rgba(' + r + ', ' + g + ', ' + b + ', ' + color.get('alpha') / 100 + ')' : 'rgb(' + r + ', ' + g + ', ' + b + ')';\n }\n },\n mounted: function mounted() {\n var value = this.value;\n\n if (value) {\n this.color.fromString(value);\n }\n\n this.popperElm = this.$refs.dropdown.$el;\n },\n data: function data() {\n var color = new src_color({\n enableAlpha: this.showAlpha,\n format: this.colorFormat\n });\n return {\n color: color,\n showPicker: false,\n showPanelColor: false\n };\n },\n components: {\n PickerDropdown: picker_dropdown\n }\n }; // CONCATENATED MODULE: ./packages/color-picker/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_color_picker_src_mainvue_type_script_lang_js_ = color_picker_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/color-picker/src/main.vue\n\n /* normalize component */\n\n var color_picker_src_main_component = normalizeComponent(packages_color_picker_src_mainvue_type_script_lang_js_, mainvue_type_template_id_55c8ade7_render, mainvue_type_template_id_55c8ade7_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var color_picker_src_main_api;\n }\n\n color_picker_src_main_component.options.__file = \"packages/color-picker/src/main.vue\";\n /* harmony default export */\n\n var color_picker_src_main = color_picker_src_main_component.exports; // CONCATENATED MODULE: ./packages/color-picker/index.js\n\n /* istanbul ignore next */\n\n color_picker_src_main.install = function (Vue) {\n Vue.component(color_picker_src_main.name, color_picker_src_main);\n };\n /* harmony default export */\n\n\n var color_picker = color_picker_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/main.vue?vue&type=template&id=5c654dd8&\n\n var mainvue_type_template_id_5c654dd8_render = function mainvue_type_template_id_5c654dd8_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-transfer\"\n }, [_c(\"transfer-panel\", _vm._b({\n ref: \"leftPanel\",\n attrs: {\n data: _vm.sourceData,\n title: _vm.titles[0] || _vm.t(\"el.transfer.titles.0\"),\n \"default-checked\": _vm.leftDefaultChecked,\n placeholder: _vm.filterPlaceholder || _vm.t(\"el.transfer.filterPlaceholder\")\n },\n on: {\n \"checked-change\": _vm.onSourceCheckedChange\n }\n }, \"transfer-panel\", _vm.$props, false), [_vm._t(\"left-footer\")], 2), _c(\"div\", {\n staticClass: \"el-transfer__buttons\"\n }, [_c(\"el-button\", {\n \"class\": [\"el-transfer__button\", _vm.hasButtonTexts ? \"is-with-texts\" : \"\"],\n attrs: {\n type: \"primary\",\n disabled: _vm.rightChecked.length === 0\n },\n nativeOn: {\n click: function click($event) {\n return _vm.addToLeft($event);\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-arrow-left\"\n }), _vm.buttonTexts[0] !== undefined ? _c(\"span\", [_vm._v(_vm._s(_vm.buttonTexts[0]))]) : _vm._e()]), _c(\"el-button\", {\n \"class\": [\"el-transfer__button\", _vm.hasButtonTexts ? \"is-with-texts\" : \"\"],\n attrs: {\n type: \"primary\",\n disabled: _vm.leftChecked.length === 0\n },\n nativeOn: {\n click: function click($event) {\n return _vm.addToRight($event);\n }\n }\n }, [_vm.buttonTexts[1] !== undefined ? _c(\"span\", [_vm._v(_vm._s(_vm.buttonTexts[1]))]) : _vm._e(), _c(\"i\", {\n staticClass: \"el-icon-arrow-right\"\n })])], 1), _c(\"transfer-panel\", _vm._b({\n ref: \"rightPanel\",\n attrs: {\n data: _vm.targetData,\n title: _vm.titles[1] || _vm.t(\"el.transfer.titles.1\"),\n \"default-checked\": _vm.rightDefaultChecked,\n placeholder: _vm.filterPlaceholder || _vm.t(\"el.transfer.filterPlaceholder\")\n },\n on: {\n \"checked-change\": _vm.onTargetCheckedChange\n }\n }, \"transfer-panel\", _vm.$props, false), [_vm._t(\"right-footer\")], 2)], 1);\n };\n\n var mainvue_type_template_id_5c654dd8_staticRenderFns = [];\n mainvue_type_template_id_5c654dd8_render._withStripped = true; // CONCATENATED MODULE: ./packages/transfer/src/main.vue?vue&type=template&id=5c654dd8&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/transfer-panel.vue?vue&type=template&id=2ddab8bd&\n\n var transfer_panelvue_type_template_id_2ddab8bd_render = function transfer_panelvue_type_template_id_2ddab8bd_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-transfer-panel\"\n }, [_c(\"p\", {\n staticClass: \"el-transfer-panel__header\"\n }, [_c(\"el-checkbox\", {\n attrs: {\n indeterminate: _vm.isIndeterminate\n },\n on: {\n change: _vm.handleAllCheckedChange\n },\n model: {\n value: _vm.allChecked,\n callback: function callback($$v) {\n _vm.allChecked = $$v;\n },\n expression: \"allChecked\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \"), _c(\"span\", [_vm._v(_vm._s(_vm.checkedSummary))])])], 1), _c(\"div\", {\n \"class\": [\"el-transfer-panel__body\", _vm.hasFooter ? \"is-with-footer\" : \"\"]\n }, [_vm.filterable ? _c(\"el-input\", {\n staticClass: \"el-transfer-panel__filter\",\n attrs: {\n size: \"small\",\n placeholder: _vm.placeholder\n },\n nativeOn: {\n mouseenter: function mouseenter($event) {\n _vm.inputHover = true;\n },\n mouseleave: function mouseleave($event) {\n _vm.inputHover = false;\n }\n },\n model: {\n value: _vm.query,\n callback: function callback($$v) {\n _vm.query = $$v;\n },\n expression: \"query\"\n }\n }, [_c(\"i\", {\n \"class\": [\"el-input__icon\", \"el-icon-\" + _vm.inputIcon],\n attrs: {\n slot: \"prefix\"\n },\n on: {\n click: _vm.clearQuery\n },\n slot: \"prefix\"\n })]) : _vm._e(), _c(\"el-checkbox-group\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.hasNoMatch && _vm.data.length > 0,\n expression: \"!hasNoMatch && data.length > 0\"\n }],\n staticClass: \"el-transfer-panel__list\",\n \"class\": {\n \"is-filterable\": _vm.filterable\n },\n model: {\n value: _vm.checked,\n callback: function callback($$v) {\n _vm.checked = $$v;\n },\n expression: \"checked\"\n }\n }, _vm._l(_vm.filteredData, function (item) {\n return _c(\"el-checkbox\", {\n key: item[_vm.keyProp],\n staticClass: \"el-transfer-panel__item\",\n attrs: {\n label: item[_vm.keyProp],\n disabled: item[_vm.disabledProp]\n }\n }, [_c(\"option-content\", {\n attrs: {\n option: item\n }\n })], 1);\n }), 1), _c(\"p\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.hasNoMatch,\n expression: \"hasNoMatch\"\n }],\n staticClass: \"el-transfer-panel__empty\"\n }, [_vm._v(_vm._s(_vm.t(\"el.transfer.noMatch\")))]), _c(\"p\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.data.length === 0 && !_vm.hasNoMatch,\n expression: \"data.length === 0 && !hasNoMatch\"\n }],\n staticClass: \"el-transfer-panel__empty\"\n }, [_vm._v(_vm._s(_vm.t(\"el.transfer.noData\")))])], 1), _vm.hasFooter ? _c(\"p\", {\n staticClass: \"el-transfer-panel__footer\"\n }, [_vm._t(\"default\")], 2) : _vm._e()]);\n };\n\n var transfer_panelvue_type_template_id_2ddab8bd_staticRenderFns = [];\n transfer_panelvue_type_template_id_2ddab8bd_render._withStripped = true; // CONCATENATED MODULE: ./packages/transfer/src/transfer-panel.vue?vue&type=template&id=2ddab8bd&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/transfer-panel.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var transfer_panelvue_type_script_lang_js_ = {\n mixins: [locale_default.a],\n name: 'ElTransferPanel',\n componentName: 'ElTransferPanel',\n components: {\n ElCheckboxGroup: checkbox_group_default.a,\n ElCheckbox: checkbox_default.a,\n ElInput: input_default.a,\n OptionContent: {\n props: {\n option: Object\n },\n render: function render(h) {\n var getParent = function getParent(vm) {\n if (vm.$options.componentName === 'ElTransferPanel') {\n return vm;\n } else if (vm.$parent) {\n return getParent(vm.$parent);\n } else {\n return vm;\n }\n };\n\n var panel = getParent(this);\n var transfer = panel.$parent || panel;\n return panel.renderContent ? panel.renderContent(h, this.option) : transfer.$scopedSlots[\"default\"] ? transfer.$scopedSlots[\"default\"]({\n option: this.option\n }) : h('span', [this.option[panel.labelProp] || this.option[panel.keyProp]]);\n }\n }\n },\n props: {\n data: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n renderContent: Function,\n placeholder: String,\n title: String,\n filterable: Boolean,\n format: Object,\n filterMethod: Function,\n defaultChecked: Array,\n props: Object\n },\n data: function data() {\n return {\n checked: [],\n allChecked: false,\n query: '',\n inputHover: false,\n checkChangeByUser: true\n };\n },\n watch: {\n checked: function checked(val, oldVal) {\n this.updateAllChecked();\n\n if (this.checkChangeByUser) {\n var movedKeys = val.concat(oldVal).filter(function (v) {\n return val.indexOf(v) === -1 || oldVal.indexOf(v) === -1;\n });\n this.$emit('checked-change', val, movedKeys);\n } else {\n this.$emit('checked-change', val);\n this.checkChangeByUser = true;\n }\n },\n data: function data() {\n var _this = this;\n\n var checked = [];\n var filteredDataKeys = this.filteredData.map(function (item) {\n return item[_this.keyProp];\n });\n this.checked.forEach(function (item) {\n if (filteredDataKeys.indexOf(item) > -1) {\n checked.push(item);\n }\n });\n this.checkChangeByUser = false;\n this.checked = checked;\n },\n checkableData: function checkableData() {\n this.updateAllChecked();\n },\n defaultChecked: {\n immediate: true,\n handler: function handler(val, oldVal) {\n var _this2 = this;\n\n if (oldVal && val.length === oldVal.length && val.every(function (item) {\n return oldVal.indexOf(item) > -1;\n })) return;\n var checked = [];\n var checkableDataKeys = this.checkableData.map(function (item) {\n return item[_this2.keyProp];\n });\n val.forEach(function (item) {\n if (checkableDataKeys.indexOf(item) > -1) {\n checked.push(item);\n }\n });\n this.checkChangeByUser = false;\n this.checked = checked;\n }\n }\n },\n computed: {\n filteredData: function filteredData() {\n var _this3 = this;\n\n return this.data.filter(function (item) {\n if (typeof _this3.filterMethod === 'function') {\n return _this3.filterMethod(_this3.query, item);\n } else {\n var label = item[_this3.labelProp] || item[_this3.keyProp].toString();\n\n return label.toLowerCase().indexOf(_this3.query.toLowerCase()) > -1;\n }\n });\n },\n checkableData: function checkableData() {\n var _this4 = this;\n\n return this.filteredData.filter(function (item) {\n return !item[_this4.disabledProp];\n });\n },\n checkedSummary: function checkedSummary() {\n var checkedLength = this.checked.length;\n var dataLength = this.data.length;\n var _format = this.format,\n noChecked = _format.noChecked,\n hasChecked = _format.hasChecked;\n\n if (noChecked && hasChecked) {\n return checkedLength > 0 ? hasChecked.replace(/\\${checked}/g, checkedLength).replace(/\\${total}/g, dataLength) : noChecked.replace(/\\${total}/g, dataLength);\n } else {\n return checkedLength + '/' + dataLength;\n }\n },\n isIndeterminate: function isIndeterminate() {\n var checkedLength = this.checked.length;\n return checkedLength > 0 && checkedLength < this.checkableData.length;\n },\n hasNoMatch: function hasNoMatch() {\n return this.query.length > 0 && this.filteredData.length === 0;\n },\n inputIcon: function inputIcon() {\n return this.query.length > 0 && this.inputHover ? 'circle-close' : 'search';\n },\n labelProp: function labelProp() {\n return this.props.label || 'label';\n },\n keyProp: function keyProp() {\n return this.props.key || 'key';\n },\n disabledProp: function disabledProp() {\n return this.props.disabled || 'disabled';\n },\n hasFooter: function hasFooter() {\n return !!this.$slots[\"default\"];\n }\n },\n methods: {\n updateAllChecked: function updateAllChecked() {\n var _this5 = this;\n\n var checkableDataKeys = this.checkableData.map(function (item) {\n return item[_this5.keyProp];\n });\n this.allChecked = checkableDataKeys.length > 0 && checkableDataKeys.every(function (item) {\n return _this5.checked.indexOf(item) > -1;\n });\n },\n handleAllCheckedChange: function handleAllCheckedChange(value) {\n var _this6 = this;\n\n this.checked = value ? this.checkableData.map(function (item) {\n return item[_this6.keyProp];\n }) : [];\n },\n clearQuery: function clearQuery() {\n if (this.inputIcon === 'circle-close') {\n this.query = '';\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/transfer/src/transfer-panel.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_transfer_panelvue_type_script_lang_js_ = transfer_panelvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/transfer/src/transfer-panel.vue\n\n /* normalize component */\n\n var transfer_panel_component = normalizeComponent(src_transfer_panelvue_type_script_lang_js_, transfer_panelvue_type_template_id_2ddab8bd_render, transfer_panelvue_type_template_id_2ddab8bd_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var transfer_panel_api;\n }\n\n transfer_panel_component.options.__file = \"packages/transfer/src/transfer-panel.vue\";\n /* harmony default export */\n\n var transfer_panel = transfer_panel_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/transfer/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var transfer_src_mainvue_type_script_lang_js_ = {\n name: 'ElTransfer',\n mixins: [emitter_default.a, locale_default.a, migrating_default.a],\n components: {\n TransferPanel: transfer_panel,\n ElButton: button_default.a\n },\n props: {\n data: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n titles: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n buttonTexts: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n filterPlaceholder: {\n type: String,\n \"default\": ''\n },\n filterMethod: Function,\n leftDefaultChecked: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n rightDefaultChecked: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n renderContent: Function,\n value: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n format: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n filterable: Boolean,\n props: {\n type: Object,\n \"default\": function _default() {\n return {\n label: 'label',\n key: 'key',\n disabled: 'disabled'\n };\n }\n },\n targetOrder: {\n type: String,\n \"default\": 'original'\n }\n },\n data: function data() {\n return {\n leftChecked: [],\n rightChecked: []\n };\n },\n computed: {\n dataObj: function dataObj() {\n var key = this.props.key;\n return this.data.reduce(function (o, cur) {\n return (o[cur[key]] = cur) && o;\n }, {});\n },\n sourceData: function sourceData() {\n var _this = this;\n\n return this.data.filter(function (item) {\n return _this.value.indexOf(item[_this.props.key]) === -1;\n });\n },\n targetData: function targetData() {\n var _this2 = this;\n\n if (this.targetOrder === 'original') {\n return this.data.filter(function (item) {\n return _this2.value.indexOf(item[_this2.props.key]) > -1;\n });\n } else {\n return this.value.reduce(function (arr, cur) {\n var val = _this2.dataObj[cur];\n\n if (val) {\n arr.push(val);\n }\n\n return arr;\n }, []);\n }\n },\n hasButtonTexts: function hasButtonTexts() {\n return this.buttonTexts.length === 2;\n }\n },\n watch: {\n value: function value(val) {\n this.dispatch('ElFormItem', 'el.form.change', val);\n }\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'footer-format': 'footer-format is renamed to format.'\n }\n };\n },\n onSourceCheckedChange: function onSourceCheckedChange(val, movedKeys) {\n this.leftChecked = val;\n if (movedKeys === undefined) return;\n this.$emit('left-check-change', val, movedKeys);\n },\n onTargetCheckedChange: function onTargetCheckedChange(val, movedKeys) {\n this.rightChecked = val;\n if (movedKeys === undefined) return;\n this.$emit('right-check-change', val, movedKeys);\n },\n addToLeft: function addToLeft() {\n var currentValue = this.value.slice();\n this.rightChecked.forEach(function (item) {\n var index = currentValue.indexOf(item);\n\n if (index > -1) {\n currentValue.splice(index, 1);\n }\n });\n this.$emit('input', currentValue);\n this.$emit('change', currentValue, 'left', this.rightChecked);\n },\n addToRight: function addToRight() {\n var _this3 = this;\n\n var currentValue = this.value.slice();\n var itemsToBeMoved = [];\n var key = this.props.key;\n this.data.forEach(function (item) {\n var itemKey = item[key];\n\n if (_this3.leftChecked.indexOf(itemKey) > -1 && _this3.value.indexOf(itemKey) === -1) {\n itemsToBeMoved.push(itemKey);\n }\n });\n currentValue = this.targetOrder === 'unshift' ? itemsToBeMoved.concat(currentValue) : currentValue.concat(itemsToBeMoved);\n this.$emit('input', currentValue);\n this.$emit('change', currentValue, 'right', this.leftChecked);\n },\n clearQuery: function clearQuery(which) {\n if (which === 'left') {\n this.$refs.leftPanel.query = '';\n } else if (which === 'right') {\n this.$refs.rightPanel.query = '';\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/transfer/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_transfer_src_mainvue_type_script_lang_js_ = transfer_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/transfer/src/main.vue\n\n /* normalize component */\n\n var transfer_src_main_component = normalizeComponent(packages_transfer_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5c654dd8_render, mainvue_type_template_id_5c654dd8_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var transfer_src_main_api;\n }\n\n transfer_src_main_component.options.__file = \"packages/transfer/src/main.vue\";\n /* harmony default export */\n\n var transfer_src_main = transfer_src_main_component.exports; // CONCATENATED MODULE: ./packages/transfer/index.js\n\n /* istanbul ignore next */\n\n transfer_src_main.install = function (Vue) {\n Vue.component(transfer_src_main.name, transfer_src_main);\n };\n /* harmony default export */\n\n\n var transfer = transfer_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=template&id=5bf181d4&\n\n var mainvue_type_template_id_5bf181d4_render = function mainvue_type_template_id_5bf181d4_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"section\", {\n staticClass: \"el-container\",\n \"class\": {\n \"is-vertical\": _vm.isVertical\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var mainvue_type_template_id_5bf181d4_staticRenderFns = [];\n mainvue_type_template_id_5bf181d4_render._withStripped = true; // CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=template&id=5bf181d4&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/container/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var container_src_mainvue_type_script_lang_js_ = {\n name: 'ElContainer',\n componentName: 'ElContainer',\n props: {\n direction: String\n },\n computed: {\n isVertical: function isVertical() {\n if (this.direction === 'vertical') {\n return true;\n } else if (this.direction === 'horizontal') {\n return false;\n }\n\n return this.$slots && this.$slots[\"default\"] ? this.$slots[\"default\"].some(function (vnode) {\n var tag = vnode.componentOptions && vnode.componentOptions.tag;\n return tag === 'el-header' || tag === 'el-footer';\n }) : false;\n }\n }\n }; // CONCATENATED MODULE: ./packages/container/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_container_src_mainvue_type_script_lang_js_ = container_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/container/src/main.vue\n\n /* normalize component */\n\n var container_src_main_component = normalizeComponent(packages_container_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5bf181d4_render, mainvue_type_template_id_5bf181d4_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var container_src_main_api;\n }\n\n container_src_main_component.options.__file = \"packages/container/src/main.vue\";\n /* harmony default export */\n\n var container_src_main = container_src_main_component.exports; // CONCATENATED MODULE: ./packages/container/index.js\n\n /* istanbul ignore next */\n\n container_src_main.install = function (Vue) {\n Vue.component(container_src_main.name, container_src_main);\n };\n /* harmony default export */\n\n\n var packages_container = container_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=template&id=2b296ab2&\n\n var mainvue_type_template_id_2b296ab2_render = function mainvue_type_template_id_2b296ab2_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"header\", {\n staticClass: \"el-header\",\n style: {\n height: _vm.height\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var mainvue_type_template_id_2b296ab2_staticRenderFns = [];\n mainvue_type_template_id_2b296ab2_render._withStripped = true; // CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=template&id=2b296ab2&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var header_src_mainvue_type_script_lang_js_ = {\n name: 'ElHeader',\n componentName: 'ElHeader',\n props: {\n height: {\n type: String,\n \"default\": '60px'\n }\n }\n }; // CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_header_src_mainvue_type_script_lang_js_ = header_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/header/src/main.vue\n\n /* normalize component */\n\n var header_src_main_component = normalizeComponent(packages_header_src_mainvue_type_script_lang_js_, mainvue_type_template_id_2b296ab2_render, mainvue_type_template_id_2b296ab2_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var header_src_main_api;\n }\n\n header_src_main_component.options.__file = \"packages/header/src/main.vue\";\n /* harmony default export */\n\n var header_src_main = header_src_main_component.exports; // CONCATENATED MODULE: ./packages/header/index.js\n\n /* istanbul ignore next */\n\n header_src_main.install = function (Vue) {\n Vue.component(header_src_main.name, header_src_main);\n };\n /* harmony default export */\n\n\n var header = header_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=template&id=03411dbf&\n\n var mainvue_type_template_id_03411dbf_render = function mainvue_type_template_id_03411dbf_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"aside\", {\n staticClass: \"el-aside\",\n style: {\n width: _vm.width\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var mainvue_type_template_id_03411dbf_staticRenderFns = [];\n mainvue_type_template_id_03411dbf_render._withStripped = true; // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=03411dbf&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var aside_src_mainvue_type_script_lang_js_ = {\n name: 'ElAside',\n componentName: 'ElAside',\n props: {\n width: {\n type: String,\n \"default\": '300px'\n }\n }\n }; // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_aside_src_mainvue_type_script_lang_js_ = aside_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/aside/src/main.vue\n\n /* normalize component */\n\n var aside_src_main_component = normalizeComponent(packages_aside_src_mainvue_type_script_lang_js_, mainvue_type_template_id_03411dbf_render, mainvue_type_template_id_03411dbf_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var aside_src_main_api;\n }\n\n aside_src_main_component.options.__file = \"packages/aside/src/main.vue\";\n /* harmony default export */\n\n var aside_src_main = aside_src_main_component.exports; // CONCATENATED MODULE: ./packages/aside/index.js\n\n /* istanbul ignore next */\n\n aside_src_main.install = function (Vue) {\n Vue.component(aside_src_main.name, aside_src_main);\n };\n /* harmony default export */\n\n\n var aside = aside_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=2a3a7406&\n\n var mainvue_type_template_id_2a3a7406_render = function mainvue_type_template_id_2a3a7406_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"main\", {\n staticClass: \"el-main\"\n }, [_vm._t(\"default\")], 2);\n };\n\n var mainvue_type_template_id_2a3a7406_staticRenderFns = [];\n mainvue_type_template_id_2a3a7406_render._withStripped = true; // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2a3a7406&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var main_src_mainvue_type_script_lang_js_ = {\n name: 'ElMain',\n componentName: 'ElMain'\n }; // CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_main_src_mainvue_type_script_lang_js_ = main_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/main/src/main.vue\n\n /* normalize component */\n\n var main_src_main_component = normalizeComponent(packages_main_src_mainvue_type_script_lang_js_, mainvue_type_template_id_2a3a7406_render, mainvue_type_template_id_2a3a7406_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var main_src_main_api;\n }\n\n main_src_main_component.options.__file = \"packages/main/src/main.vue\";\n /* harmony default export */\n\n var main_src_main = main_src_main_component.exports; // CONCATENATED MODULE: ./packages/main/index.js\n\n /* istanbul ignore next */\n\n main_src_main.install = function (Vue) {\n Vue.component(main_src_main.name, main_src_main);\n };\n /* harmony default export */\n\n\n var packages_main = main_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/footer/src/main.vue?vue&type=template&id=80210338&\n\n var mainvue_type_template_id_80210338_render = function mainvue_type_template_id_80210338_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"footer\", {\n staticClass: \"el-footer\",\n style: {\n height: _vm.height\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var mainvue_type_template_id_80210338_staticRenderFns = [];\n mainvue_type_template_id_80210338_render._withStripped = true; // CONCATENATED MODULE: ./packages/footer/src/main.vue?vue&type=template&id=80210338&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/footer/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var footer_src_mainvue_type_script_lang_js_ = {\n name: 'ElFooter',\n componentName: 'ElFooter',\n props: {\n height: {\n type: String,\n \"default\": '60px'\n }\n }\n }; // CONCATENATED MODULE: ./packages/footer/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_footer_src_mainvue_type_script_lang_js_ = footer_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/footer/src/main.vue\n\n /* normalize component */\n\n var footer_src_main_component = normalizeComponent(packages_footer_src_mainvue_type_script_lang_js_, mainvue_type_template_id_80210338_render, mainvue_type_template_id_80210338_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var footer_src_main_api;\n }\n\n footer_src_main_component.options.__file = \"packages/footer/src/main.vue\";\n /* harmony default export */\n\n var footer_src_main = footer_src_main_component.exports; // CONCATENATED MODULE: ./packages/footer/index.js\n\n /* istanbul ignore next */\n\n footer_src_main.install = function (Vue) {\n Vue.component(footer_src_main.name, footer_src_main);\n };\n /* harmony default export */\n\n\n var footer = footer_src_main; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var timeline_src_mainvue_type_script_lang_js_ = {\n name: 'ElTimeline',\n props: {\n reverse: {\n type: Boolean,\n \"default\": false\n }\n },\n provide: function provide() {\n return {\n timeline: this\n };\n },\n render: function render() {\n var h = arguments[0];\n var reverse = this.reverse;\n var classes = {\n 'el-timeline': true,\n 'is-reverse': reverse\n };\n var slots = this.$slots[\"default\"] || [];\n\n if (reverse) {\n slots = slots.reverse();\n }\n\n return h('ul', {\n 'class': classes\n }, [slots]);\n }\n }; // CONCATENATED MODULE: ./packages/timeline/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_timeline_src_mainvue_type_script_lang_js_ = timeline_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/timeline/src/main.vue\n\n var main_render, main_staticRenderFns;\n /* normalize component */\n\n var timeline_src_main_component = normalizeComponent(packages_timeline_src_mainvue_type_script_lang_js_, main_render, main_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var timeline_src_main_api;\n }\n\n timeline_src_main_component.options.__file = \"packages/timeline/src/main.vue\";\n /* harmony default export */\n\n var timeline_src_main = timeline_src_main_component.exports; // CONCATENATED MODULE: ./packages/timeline/index.js\n\n /* istanbul ignore next */\n\n timeline_src_main.install = function (Vue) {\n Vue.component(timeline_src_main.name, timeline_src_main);\n };\n /* harmony default export */\n\n\n var timeline = timeline_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=template&id=61a69e50&\n\n var itemvue_type_template_id_61a69e50_render = function itemvue_type_template_id_61a69e50_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n staticClass: \"el-timeline-item\"\n }, [_c(\"div\", {\n staticClass: \"el-timeline-item__tail\"\n }), !_vm.$slots.dot ? _c(\"div\", {\n staticClass: \"el-timeline-item__node\",\n \"class\": [\"el-timeline-item__node--\" + (_vm.size || \"\"), \"el-timeline-item__node--\" + (_vm.type || \"\")],\n style: {\n backgroundColor: _vm.color\n }\n }, [_vm.icon ? _c(\"i\", {\n staticClass: \"el-timeline-item__icon\",\n \"class\": _vm.icon\n }) : _vm._e()]) : _vm._e(), _vm.$slots.dot ? _c(\"div\", {\n staticClass: \"el-timeline-item__dot\"\n }, [_vm._t(\"dot\")], 2) : _vm._e(), _c(\"div\", {\n staticClass: \"el-timeline-item__wrapper\"\n }, [!_vm.hideTimestamp && _vm.placement === \"top\" ? _c(\"div\", {\n staticClass: \"el-timeline-item__timestamp is-top\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.timestamp) + \"\\n \")]) : _vm._e(), _c(\"div\", {\n staticClass: \"el-timeline-item__content\"\n }, [_vm._t(\"default\")], 2), !_vm.hideTimestamp && _vm.placement === \"bottom\" ? _c(\"div\", {\n staticClass: \"el-timeline-item__timestamp is-bottom\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.timestamp) + \"\\n \")]) : _vm._e()])]);\n };\n\n var itemvue_type_template_id_61a69e50_staticRenderFns = [];\n itemvue_type_template_id_61a69e50_render._withStripped = true; // CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=template&id=61a69e50&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var timeline_src_itemvue_type_script_lang_js_ = {\n name: 'ElTimelineItem',\n inject: ['timeline'],\n props: {\n timestamp: String,\n hideTimestamp: {\n type: Boolean,\n \"default\": false\n },\n placement: {\n type: String,\n \"default\": 'bottom'\n },\n type: String,\n color: String,\n size: {\n type: String,\n \"default\": 'normal'\n },\n icon: String\n }\n }; // CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_timeline_src_itemvue_type_script_lang_js_ = timeline_src_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/timeline/src/item.vue\n\n /* normalize component */\n\n var src_item_component = normalizeComponent(packages_timeline_src_itemvue_type_script_lang_js_, itemvue_type_template_id_61a69e50_render, itemvue_type_template_id_61a69e50_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var src_item_api;\n }\n\n src_item_component.options.__file = \"packages/timeline/src/item.vue\";\n /* harmony default export */\n\n var timeline_src_item = src_item_component.exports; // CONCATENATED MODULE: ./packages/timeline-item/index.js\n\n /* istanbul ignore next */\n\n timeline_src_item.install = function (Vue) {\n Vue.component(timeline_src_item.name, timeline_src_item);\n };\n /* harmony default export */\n\n\n var timeline_item = timeline_src_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/link/src/main.vue?vue&type=template&id=01cf3b65&\n\n var mainvue_type_template_id_01cf3b65_render = function mainvue_type_template_id_01cf3b65_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"a\", _vm._b({\n \"class\": [\"el-link\", _vm.type ? \"el-link--\" + _vm.type : \"\", _vm.disabled && \"is-disabled\", _vm.underline && !_vm.disabled && \"is-underline\"],\n attrs: {\n href: _vm.disabled ? null : _vm.href\n },\n on: {\n click: _vm.handleClick\n }\n }, \"a\", _vm.$attrs, false), [_vm.icon ? _c(\"i\", {\n \"class\": _vm.icon\n }) : _vm._e(), _vm.$slots[\"default\"] ? _c(\"span\", {\n staticClass: \"el-link--inner\"\n }, [_vm._t(\"default\")], 2) : _vm._e(), _vm.$slots.icon ? [_vm.$slots.icon ? _vm._t(\"icon\") : _vm._e()] : _vm._e()], 2);\n };\n\n var mainvue_type_template_id_01cf3b65_staticRenderFns = [];\n mainvue_type_template_id_01cf3b65_render._withStripped = true; // CONCATENATED MODULE: ./packages/link/src/main.vue?vue&type=template&id=01cf3b65&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/link/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var link_src_mainvue_type_script_lang_js_ = {\n name: 'ElLink',\n props: {\n type: {\n type: String,\n \"default\": 'default'\n },\n underline: {\n type: Boolean,\n \"default\": true\n },\n disabled: Boolean,\n href: String,\n icon: String\n },\n methods: {\n handleClick: function handleClick(event) {\n if (!this.disabled) {\n if (!this.href) {\n this.$emit('click', event);\n }\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/link/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_link_src_mainvue_type_script_lang_js_ = link_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/link/src/main.vue\n\n /* normalize component */\n\n var link_src_main_component = normalizeComponent(packages_link_src_mainvue_type_script_lang_js_, mainvue_type_template_id_01cf3b65_render, mainvue_type_template_id_01cf3b65_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var link_src_main_api;\n }\n\n link_src_main_component.options.__file = \"packages/link/src/main.vue\";\n /* harmony default export */\n\n var link_src_main = link_src_main_component.exports; // CONCATENATED MODULE: ./packages/link/index.js\n\n /* istanbul ignore next */\n\n link_src_main.install = function (Vue) {\n Vue.component(link_src_main.name, link_src_main);\n };\n /* harmony default export */\n\n\n var packages_link = link_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/divider/src/main.vue?vue&type=template&id=7fa02a7e&functional=true&\n\n var mainvue_type_template_id_7fa02a7e_functional_true_render = function mainvue_type_template_id_7fa02a7e_functional_true_render(_h, _vm) {\n var _c = _vm._c;\n return _c(\"div\", _vm._g(_vm._b({\n \"class\": [_vm.data.staticClass, \"el-divider\", \"el-divider--\" + _vm.props.direction]\n }, \"div\", _vm.data.attrs, false), _vm.listeners), [_vm.slots()[\"default\"] && _vm.props.direction !== \"vertical\" ? _c(\"div\", {\n \"class\": [\"el-divider__text\", \"is-\" + _vm.props.contentPosition]\n }, [_vm._t(\"default\")], 2) : _vm._e()]);\n };\n\n var mainvue_type_template_id_7fa02a7e_functional_true_staticRenderFns = [];\n mainvue_type_template_id_7fa02a7e_functional_true_render._withStripped = true; // CONCATENATED MODULE: ./packages/divider/src/main.vue?vue&type=template&id=7fa02a7e&functional=true&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/divider/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var divider_src_mainvue_type_script_lang_js_ = {\n name: 'ElDivider',\n props: {\n direction: {\n type: String,\n \"default\": 'horizontal',\n validator: function validator(val) {\n return ['horizontal', 'vertical'].indexOf(val) !== -1;\n }\n },\n contentPosition: {\n type: String,\n \"default\": 'center',\n validator: function validator(val) {\n return ['left', 'center', 'right'].indexOf(val) !== -1;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/divider/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_divider_src_mainvue_type_script_lang_js_ = divider_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/divider/src/main.vue\n\n /* normalize component */\n\n var divider_src_main_component = normalizeComponent(packages_divider_src_mainvue_type_script_lang_js_, mainvue_type_template_id_7fa02a7e_functional_true_render, mainvue_type_template_id_7fa02a7e_functional_true_staticRenderFns, true, null, null, null);\n /* hot reload */\n\n if (false) {\n var divider_src_main_api;\n }\n\n divider_src_main_component.options.__file = \"packages/divider/src/main.vue\";\n /* harmony default export */\n\n var divider_src_main = divider_src_main_component.exports; // CONCATENATED MODULE: ./packages/divider/index.js\n\n /* istanbul ignore next */\n\n divider_src_main.install = function (Vue) {\n Vue.component(divider_src_main.name, divider_src_main);\n };\n /* harmony default export */\n\n\n var divider = divider_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/main.vue?vue&type=template&id=44d84a7c&\n\n var mainvue_type_template_id_44d84a7c_render = function mainvue_type_template_id_44d84a7c_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-image\"\n }, [_vm.loading ? _vm._t(\"placeholder\", [_c(\"div\", {\n staticClass: \"el-image__placeholder\"\n })]) : _vm.error ? _vm._t(\"error\", [_c(\"div\", {\n staticClass: \"el-image__error\"\n }, [_vm._v(_vm._s(_vm.t(\"el.image.error\")))])]) : _c(\"img\", _vm._g(_vm._b({\n staticClass: \"el-image__inner\",\n \"class\": {\n \"el-image__inner--center\": _vm.alignCenter,\n \"el-image__preview\": _vm.preview\n },\n style: _vm.imageStyle,\n attrs: {\n src: _vm.src\n },\n on: {\n click: _vm.clickHandler\n }\n }, \"img\", _vm.$attrs, false), _vm.$listeners)), _vm.preview ? [_vm.showViewer ? _c(\"image-viewer\", {\n attrs: {\n \"z-index\": _vm.zIndex,\n \"initial-index\": _vm.imageIndex,\n \"on-close\": _vm.closeViewer,\n \"url-list\": _vm.previewSrcList\n }\n }) : _vm._e()] : _vm._e()], 2);\n };\n\n var mainvue_type_template_id_44d84a7c_staticRenderFns = [];\n mainvue_type_template_id_44d84a7c_render._withStripped = true; // CONCATENATED MODULE: ./packages/image/src/main.vue?vue&type=template&id=44d84a7c&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/image-viewer.vue?vue&type=template&id=5e73b307&\n\n var image_viewervue_type_template_id_5e73b307_render = function image_viewervue_type_template_id_5e73b307_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"viewer-fade\"\n }\n }, [_c(\"div\", {\n ref: \"el-image-viewer__wrapper\",\n staticClass: \"el-image-viewer__wrapper\",\n style: {\n \"z-index\": _vm.viewerZIndex\n },\n attrs: {\n tabindex: \"-1\"\n }\n }, [_c(\"div\", {\n staticClass: \"el-image-viewer__mask\",\n on: {\n click: function click($event) {\n if ($event.target !== $event.currentTarget) {\n return null;\n }\n\n return _vm.handleMaskClick($event);\n }\n }\n }), _c(\"span\", {\n staticClass: \"el-image-viewer__btn el-image-viewer__close\",\n on: {\n click: _vm.hide\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-close\"\n })]), !_vm.isSingle ? [_c(\"span\", {\n staticClass: \"el-image-viewer__btn el-image-viewer__prev\",\n \"class\": {\n \"is-disabled\": !_vm.infinite && _vm.isFirst\n },\n on: {\n click: _vm.prev\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-arrow-left\"\n })]), _c(\"span\", {\n staticClass: \"el-image-viewer__btn el-image-viewer__next\",\n \"class\": {\n \"is-disabled\": !_vm.infinite && _vm.isLast\n },\n on: {\n click: _vm.next\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-arrow-right\"\n })])] : _vm._e(), _c(\"div\", {\n staticClass: \"el-image-viewer__btn el-image-viewer__actions\"\n }, [_c(\"div\", {\n staticClass: \"el-image-viewer__actions__inner\"\n }, [_c(\"i\", {\n staticClass: \"el-icon-zoom-out\",\n on: {\n click: function click($event) {\n _vm.handleActions(\"zoomOut\");\n }\n }\n }), _c(\"i\", {\n staticClass: \"el-icon-zoom-in\",\n on: {\n click: function click($event) {\n _vm.handleActions(\"zoomIn\");\n }\n }\n }), _c(\"i\", {\n staticClass: \"el-image-viewer__actions__divider\"\n }), _c(\"i\", {\n \"class\": _vm.mode.icon,\n on: {\n click: _vm.toggleMode\n }\n }), _c(\"i\", {\n staticClass: \"el-image-viewer__actions__divider\"\n }), _c(\"i\", {\n staticClass: \"el-icon-refresh-left\",\n on: {\n click: function click($event) {\n _vm.handleActions(\"anticlocelise\");\n }\n }\n }), _c(\"i\", {\n staticClass: \"el-icon-refresh-right\",\n on: {\n click: function click($event) {\n _vm.handleActions(\"clocelise\");\n }\n }\n })])]), _c(\"div\", {\n staticClass: \"el-image-viewer__canvas\"\n }, _vm._l(_vm.urlList, function (url, i) {\n return i === _vm.index ? _c(\"img\", {\n key: url,\n ref: \"img\",\n refInFor: true,\n staticClass: \"el-image-viewer__img\",\n style: _vm.imgStyle,\n attrs: {\n src: _vm.currentImg\n },\n on: {\n load: _vm.handleImgLoad,\n error: _vm.handleImgError,\n mousedown: _vm.handleMouseDown\n }\n }) : _vm._e();\n }), 0)], 2)]);\n };\n\n var image_viewervue_type_template_id_5e73b307_staticRenderFns = [];\n image_viewervue_type_template_id_5e73b307_render._withStripped = true; // CONCATENATED MODULE: ./packages/image/src/image-viewer.vue?vue&type=template&id=5e73b307&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/image-viewer.vue?vue&type=script&lang=js&\n\n var image_viewervue_type_script_lang_js_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 //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var Mode = {\n CONTAIN: {\n name: 'contain',\n icon: 'el-icon-full-screen'\n },\n ORIGINAL: {\n name: 'original',\n icon: 'el-icon-c-scale-to-original'\n }\n };\n var mousewheelEventName = Object(util_[\"isFirefox\"])() ? 'DOMMouseScroll' : 'mousewheel';\n /* harmony default export */\n\n var image_viewervue_type_script_lang_js_ = {\n name: 'elImageViewer',\n props: {\n urlList: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n zIndex: {\n type: Number,\n \"default\": 2000\n },\n onSwitch: {\n type: Function,\n \"default\": function _default() {}\n },\n onClose: {\n type: Function,\n \"default\": function _default() {}\n },\n initialIndex: {\n type: Number,\n \"default\": 0\n },\n appendToBody: {\n type: Boolean,\n \"default\": true\n },\n maskClosable: {\n type: Boolean,\n \"default\": true\n }\n },\n data: function data() {\n return {\n index: this.initialIndex,\n isShow: false,\n infinite: true,\n loading: false,\n mode: Mode.CONTAIN,\n transform: {\n scale: 1,\n deg: 0,\n offsetX: 0,\n offsetY: 0,\n enableTransition: false\n }\n };\n },\n computed: {\n isSingle: function isSingle() {\n return this.urlList.length <= 1;\n },\n isFirst: function isFirst() {\n return this.index === 0;\n },\n isLast: function isLast() {\n return this.index === this.urlList.length - 1;\n },\n currentImg: function currentImg() {\n return this.urlList[this.index];\n },\n imgStyle: function imgStyle() {\n var _transform = this.transform,\n scale = _transform.scale,\n deg = _transform.deg,\n offsetX = _transform.offsetX,\n offsetY = _transform.offsetY,\n enableTransition = _transform.enableTransition;\n var style = {\n transform: 'scale(' + scale + ') rotate(' + deg + 'deg)',\n transition: enableTransition ? 'transform .3s' : '',\n 'margin-left': offsetX + 'px',\n 'margin-top': offsetY + 'px'\n };\n\n if (this.mode === Mode.CONTAIN) {\n style.maxWidth = style.maxHeight = '100%';\n }\n\n return style;\n },\n viewerZIndex: function viewerZIndex() {\n var nextZIndex = popup_[\"PopupManager\"].nextZIndex();\n return this.zIndex > nextZIndex ? this.zIndex : nextZIndex;\n }\n },\n watch: {\n index: {\n handler: function handler(val) {\n this.reset();\n this.onSwitch(val);\n }\n },\n currentImg: function currentImg(val) {\n var _this = this;\n\n this.$nextTick(function (_) {\n var $img = _this.$refs.img[0];\n\n if (!$img.complete) {\n _this.loading = true;\n }\n });\n }\n },\n methods: {\n hide: function hide() {\n this.deviceSupportUninstall();\n this.onClose();\n },\n deviceSupportInstall: function deviceSupportInstall() {\n var _this2 = this;\n\n this._keyDownHandler = function (e) {\n e.stopPropagation();\n var keyCode = e.keyCode;\n\n switch (keyCode) {\n // ESC\n case 27:\n _this2.hide();\n\n break;\n // SPACE\n\n case 32:\n _this2.toggleMode();\n\n break;\n // LEFT_ARROW\n\n case 37:\n _this2.prev();\n\n break;\n // UP_ARROW\n\n case 38:\n _this2.handleActions('zoomIn');\n\n break;\n // RIGHT_ARROW\n\n case 39:\n _this2.next();\n\n break;\n // DOWN_ARROW\n\n case 40:\n _this2.handleActions('zoomOut');\n\n break;\n }\n };\n\n this._mouseWheelHandler = Object(util_[\"rafThrottle\"])(function (e) {\n var delta = e.wheelDelta ? e.wheelDelta : -e.detail;\n\n if (delta > 0) {\n _this2.handleActions('zoomIn', {\n zoomRate: 0.015,\n enableTransition: false\n });\n } else {\n _this2.handleActions('zoomOut', {\n zoomRate: 0.015,\n enableTransition: false\n });\n }\n });\n Object(dom_[\"on\"])(document, 'keydown', this._keyDownHandler);\n Object(dom_[\"on\"])(document, mousewheelEventName, this._mouseWheelHandler);\n },\n deviceSupportUninstall: function deviceSupportUninstall() {\n Object(dom_[\"off\"])(document, 'keydown', this._keyDownHandler);\n Object(dom_[\"off\"])(document, mousewheelEventName, this._mouseWheelHandler);\n this._keyDownHandler = null;\n this._mouseWheelHandler = null;\n },\n handleImgLoad: function handleImgLoad(e) {\n this.loading = false;\n },\n handleImgError: function handleImgError(e) {\n this.loading = false;\n e.target.alt = 'åŠ è½½å¤±è´¥';\n },\n handleMouseDown: function handleMouseDown(e) {\n var _this3 = this;\n\n if (this.loading || e.button !== 0) return;\n var _transform2 = this.transform,\n offsetX = _transform2.offsetX,\n offsetY = _transform2.offsetY;\n var startX = e.pageX;\n var startY = e.pageY;\n this._dragHandler = Object(util_[\"rafThrottle\"])(function (ev) {\n _this3.transform.offsetX = offsetX + ev.pageX - startX;\n _this3.transform.offsetY = offsetY + ev.pageY - startY;\n });\n Object(dom_[\"on\"])(document, 'mousemove', this._dragHandler);\n Object(dom_[\"on\"])(document, 'mouseup', function (ev) {\n Object(dom_[\"off\"])(document, 'mousemove', _this3._dragHandler);\n });\n e.preventDefault();\n },\n handleMaskClick: function handleMaskClick() {\n if (this.maskClosable) {\n this.hide();\n }\n },\n reset: function reset() {\n this.transform = {\n scale: 1,\n deg: 0,\n offsetX: 0,\n offsetY: 0,\n enableTransition: false\n };\n },\n toggleMode: function toggleMode() {\n if (this.loading) return;\n var modeNames = Object.keys(Mode);\n var modeValues = Object.values(Mode);\n var index = modeValues.indexOf(this.mode);\n var nextIndex = (index + 1) % modeNames.length;\n this.mode = Mode[modeNames[nextIndex]];\n this.reset();\n },\n prev: function prev() {\n if (this.isFirst && !this.infinite) return;\n var len = this.urlList.length;\n this.index = (this.index - 1 + len) % len;\n },\n next: function next() {\n if (this.isLast && !this.infinite) return;\n var len = this.urlList.length;\n this.index = (this.index + 1) % len;\n },\n handleActions: function handleActions(action) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (this.loading) return;\n\n var _zoomRate$rotateDeg$e = image_viewervue_type_script_lang_js_extends({\n zoomRate: 0.2,\n rotateDeg: 90,\n enableTransition: true\n }, options),\n zoomRate = _zoomRate$rotateDeg$e.zoomRate,\n rotateDeg = _zoomRate$rotateDeg$e.rotateDeg,\n enableTransition = _zoomRate$rotateDeg$e.enableTransition;\n\n var transform = this.transform;\n\n switch (action) {\n case 'zoomOut':\n if (transform.scale > 0.2) {\n transform.scale = parseFloat((transform.scale - zoomRate).toFixed(3));\n }\n\n break;\n\n case 'zoomIn':\n transform.scale = parseFloat((transform.scale + zoomRate).toFixed(3));\n break;\n\n case 'clocelise':\n transform.deg += rotateDeg;\n break;\n\n case 'anticlocelise':\n transform.deg -= rotateDeg;\n break;\n }\n\n transform.enableTransition = enableTransition;\n }\n },\n mounted: function mounted() {\n this.deviceSupportInstall();\n\n if (this.appendToBody) {\n document.body.appendChild(this.$el);\n } // add tabindex then wrapper can be focusable via Javascript\n // focus wrapper so arrow key can't cause inner scroll behavior underneath\n\n\n this.$refs['el-image-viewer__wrapper'].focus();\n },\n destroyed: function destroyed() {\n // if appendToBody is true, remove DOM node after destroy\n if (this.appendToBody && this.$el && this.$el.parentNode) {\n this.$el.parentNode.removeChild(this.$el);\n }\n }\n }; // CONCATENATED MODULE: ./packages/image/src/image-viewer.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_image_viewervue_type_script_lang_js_ = image_viewervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/image/src/image-viewer.vue\n\n /* normalize component */\n\n var image_viewer_component = normalizeComponent(src_image_viewervue_type_script_lang_js_, image_viewervue_type_template_id_5e73b307_render, image_viewervue_type_template_id_5e73b307_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var image_viewer_api;\n }\n\n image_viewer_component.options.__file = \"packages/image/src/image-viewer.vue\";\n /* harmony default export */\n\n var image_viewer = image_viewer_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var isSupportObjectFit = function isSupportObjectFit() {\n return document.documentElement.style.objectFit !== undefined;\n };\n\n var ObjectFit = {\n NONE: 'none',\n CONTAIN: 'contain',\n COVER: 'cover',\n FILL: 'fill',\n SCALE_DOWN: 'scale-down'\n };\n var prevOverflow = '';\n /* harmony default export */\n\n var image_src_mainvue_type_script_lang_js_ = {\n name: 'ElImage',\n mixins: [locale_default.a],\n inheritAttrs: false,\n components: {\n ImageViewer: image_viewer\n },\n props: {\n src: String,\n fit: String,\n lazy: Boolean,\n scrollContainer: {},\n previewSrcList: {\n type: Array,\n \"default\": function _default() {\n return [];\n }\n },\n zIndex: {\n type: Number,\n \"default\": 2000\n },\n initialIndex: Number\n },\n data: function data() {\n return {\n loading: true,\n error: false,\n show: !this.lazy,\n imageWidth: 0,\n imageHeight: 0,\n showViewer: false\n };\n },\n computed: {\n imageStyle: function imageStyle() {\n var fit = this.fit;\n\n if (!this.$isServer && fit) {\n return isSupportObjectFit() ? {\n 'object-fit': fit\n } : this.getImageStyle(fit);\n }\n\n return {};\n },\n alignCenter: function alignCenter() {\n return !this.$isServer && !isSupportObjectFit() && this.fit !== ObjectFit.FILL;\n },\n preview: function preview() {\n var previewSrcList = this.previewSrcList;\n return Array.isArray(previewSrcList) && previewSrcList.length > 0;\n },\n imageIndex: function imageIndex() {\n var previewIndex = 0;\n var initialIndex = this.initialIndex;\n\n if (initialIndex >= 0) {\n previewIndex = initialIndex;\n return previewIndex;\n }\n\n var srcIndex = this.previewSrcList.indexOf(this.src);\n\n if (srcIndex >= 0) {\n previewIndex = srcIndex;\n return previewIndex;\n }\n\n return previewIndex;\n }\n },\n watch: {\n src: function src(val) {\n this.show && this.loadImage();\n },\n show: function show(val) {\n val && this.loadImage();\n }\n },\n mounted: function mounted() {\n if (this.lazy) {\n this.addLazyLoadListener();\n } else {\n this.loadImage();\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.lazy && this.removeLazyLoadListener();\n },\n methods: {\n loadImage: function loadImage() {\n var _this = this;\n\n if (this.$isServer) return; // reset status\n\n this.loading = true;\n this.error = false;\n var img = new Image();\n\n img.onload = function (e) {\n return _this.handleLoad(e, img);\n };\n\n img.onerror = this.handleError.bind(this); // bind html attrs\n // so it can behave consistently\n\n Object.keys(this.$attrs).forEach(function (key) {\n var value = _this.$attrs[key];\n img.setAttribute(key, value);\n });\n img.src = this.src;\n },\n handleLoad: function handleLoad(e, img) {\n this.imageWidth = img.width;\n this.imageHeight = img.height;\n this.loading = false;\n this.error = false;\n },\n handleError: function handleError(e) {\n this.loading = false;\n this.error = true;\n this.$emit('error', e);\n },\n handleLazyLoad: function handleLazyLoad() {\n if (Object(dom_[\"isInContainer\"])(this.$el, this._scrollContainer)) {\n this.show = true;\n this.removeLazyLoadListener();\n }\n },\n addLazyLoadListener: function addLazyLoadListener() {\n if (this.$isServer) return;\n var scrollContainer = this.scrollContainer;\n var _scrollContainer = null;\n\n if (Object(types_[\"isHtmlElement\"])(scrollContainer)) {\n _scrollContainer = scrollContainer;\n } else if (Object(types_[\"isString\"])(scrollContainer)) {\n _scrollContainer = document.querySelector(scrollContainer);\n } else {\n _scrollContainer = Object(dom_[\"getScrollContainer\"])(this.$el);\n }\n\n if (_scrollContainer) {\n this._scrollContainer = _scrollContainer;\n this._lazyLoadHandler = throttle_default()(200, this.handleLazyLoad);\n Object(dom_[\"on\"])(_scrollContainer, 'scroll', this._lazyLoadHandler);\n this.handleLazyLoad();\n }\n },\n removeLazyLoadListener: function removeLazyLoadListener() {\n var _scrollContainer = this._scrollContainer,\n _lazyLoadHandler = this._lazyLoadHandler;\n if (this.$isServer || !_scrollContainer || !_lazyLoadHandler) return;\n Object(dom_[\"off\"])(_scrollContainer, 'scroll', _lazyLoadHandler);\n this._scrollContainer = null;\n this._lazyLoadHandler = null;\n },\n\n /**\n * simulate object-fit behavior to compatible with IE11 and other browsers which not support object-fit\n */\n getImageStyle: function getImageStyle(fit) {\n var imageWidth = this.imageWidth,\n imageHeight = this.imageHeight;\n var _$el = this.$el,\n containerWidth = _$el.clientWidth,\n containerHeight = _$el.clientHeight;\n if (!imageWidth || !imageHeight || !containerWidth || !containerHeight) return {};\n var imageAspectRatio = imageWidth / imageHeight;\n var containerAspectRatio = containerWidth / containerHeight;\n\n if (fit === ObjectFit.SCALE_DOWN) {\n var isSmaller = imageWidth < containerWidth && imageHeight < containerHeight;\n fit = isSmaller ? ObjectFit.NONE : ObjectFit.CONTAIN;\n }\n\n switch (fit) {\n case ObjectFit.NONE:\n return {\n width: 'auto',\n height: 'auto'\n };\n\n case ObjectFit.CONTAIN:\n return imageAspectRatio < containerAspectRatio ? {\n width: 'auto'\n } : {\n height: 'auto'\n };\n\n case ObjectFit.COVER:\n return imageAspectRatio < containerAspectRatio ? {\n height: 'auto'\n } : {\n width: 'auto'\n };\n\n default:\n return {};\n }\n },\n clickHandler: function clickHandler() {\n // don't show viewer when preview is false\n if (!this.preview) {\n return;\n } // prevent body scroll\n\n\n prevOverflow = document.body.style.overflow;\n document.body.style.overflow = 'hidden';\n this.showViewer = true;\n },\n closeViewer: function closeViewer() {\n document.body.style.overflow = prevOverflow;\n this.showViewer = false;\n }\n }\n }; // CONCATENATED MODULE: ./packages/image/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_image_src_mainvue_type_script_lang_js_ = image_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/image/src/main.vue\n\n /* normalize component */\n\n var image_src_main_component = normalizeComponent(packages_image_src_mainvue_type_script_lang_js_, mainvue_type_template_id_44d84a7c_render, mainvue_type_template_id_44d84a7c_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var image_src_main_api;\n }\n\n image_src_main_component.options.__file = \"packages/image/src/main.vue\";\n /* harmony default export */\n\n var image_src_main = image_src_main_component.exports; // CONCATENATED MODULE: ./packages/image/index.js\n\n /* istanbul ignore next */\n\n image_src_main.install = function (Vue) {\n Vue.component(image_src_main.name, image_src_main);\n };\n /* harmony default export */\n\n\n var packages_image = image_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/calendar/src/main.vue?vue&type=template&id=6d9756be&\n\n var mainvue_type_template_id_6d9756be_render = function mainvue_type_template_id_6d9756be_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-calendar\"\n }, [_c(\"div\", {\n staticClass: \"el-calendar__header\"\n }, [_c(\"div\", {\n staticClass: \"el-calendar__title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.i18nDate) + \"\\n \")]), _vm.validatedRange.length === 0 ? _c(\"div\", {\n staticClass: \"el-calendar__button-group\"\n }, [_c(\"el-button-group\", [_c(\"el-button\", {\n attrs: {\n type: \"plain\",\n size: \"mini\"\n },\n on: {\n click: function click($event) {\n _vm.selectDate(\"prev-month\");\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.prevMonth\")) + \"\\n \")]), _c(\"el-button\", {\n attrs: {\n type: \"plain\",\n size: \"mini\"\n },\n on: {\n click: function click($event) {\n _vm.selectDate(\"today\");\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.today\")) + \"\\n \")]), _c(\"el-button\", {\n attrs: {\n type: \"plain\",\n size: \"mini\"\n },\n on: {\n click: function click($event) {\n _vm.selectDate(\"next-month\");\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.t(\"el.datepicker.nextMonth\")) + \"\\n \")])], 1)], 1) : _vm._e()]), _vm.validatedRange.length === 0 ? _c(\"div\", {\n key: \"no-range\",\n staticClass: \"el-calendar__body\"\n }, [_c(\"date-table\", {\n attrs: {\n date: _vm.date,\n \"selected-day\": _vm.realSelectedDay,\n \"first-day-of-week\": _vm.realFirstDayOfWeek\n },\n on: {\n pick: _vm.pickDay\n }\n })], 1) : _c(\"div\", {\n key: \"has-range\",\n staticClass: \"el-calendar__body\"\n }, _vm._l(_vm.validatedRange, function (range, index) {\n return _c(\"date-table\", {\n key: index,\n attrs: {\n date: range[0],\n \"selected-day\": _vm.realSelectedDay,\n range: range,\n \"hide-header\": index !== 0,\n \"first-day-of-week\": _vm.realFirstDayOfWeek\n },\n on: {\n pick: _vm.pickDay\n }\n });\n }), 1)]);\n };\n\n var mainvue_type_template_id_6d9756be_staticRenderFns = [];\n mainvue_type_template_id_6d9756be_render._withStripped = true; // CONCATENATED MODULE: ./packages/calendar/src/main.vue?vue&type=template&id=6d9756be&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/date\"\n\n var date_ = __webpack_require__(20);\n\n var date_default =\n /*#__PURE__*/\n __webpack_require__.n(date_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/calendar/src/date-table.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var src_date_tablevue_type_script_lang_js_ = {\n props: {\n selectedDay: String,\n // formated date yyyy-MM-dd\n range: {\n type: Array,\n validator: function validator(val) {\n if (!(val && val.length)) return true;\n var start = val[0],\n end = val[1];\n return Object(date_util_[\"validateRangeInOneMonth\"])(start, end);\n }\n },\n date: Date,\n hideHeader: Boolean,\n firstDayOfWeek: Number\n },\n inject: ['elCalendar'],\n methods: {\n toNestedArr: function toNestedArr(days) {\n return Object(date_util_[\"range\"])(days.length / 7).map(function (_, index) {\n var start = index * 7;\n return days.slice(start, start + 7);\n });\n },\n getFormateDate: function getFormateDate(day, type) {\n if (!day || ['prev', 'current', 'next'].indexOf(type) === -1) {\n throw new Error('invalid day or type');\n }\n\n var prefix = this.curMonthDatePrefix;\n\n if (type === 'prev') {\n prefix = this.prevMonthDatePrefix;\n } else if (type === 'next') {\n prefix = this.nextMonthDatePrefix;\n }\n\n day = ('00' + day).slice(-2);\n return prefix + '-' + day;\n },\n getCellClass: function getCellClass(_ref) {\n var text = _ref.text,\n type = _ref.type;\n var classes = [type];\n\n if (type === 'current') {\n var date = this.getFormateDate(text, type);\n\n if (date === this.selectedDay) {\n classes.push('is-selected');\n }\n\n if (date === this.formatedToday) {\n classes.push('is-today');\n }\n }\n\n return classes;\n },\n pickDay: function pickDay(_ref2) {\n var text = _ref2.text,\n type = _ref2.type;\n var date = this.getFormateDate(text, type);\n this.$emit('pick', date);\n },\n cellRenderProxy: function cellRenderProxy(_ref3) {\n var text = _ref3.text,\n type = _ref3.type;\n var h = this.$createElement;\n var render = this.elCalendar.$scopedSlots.dateCell;\n if (!render) return h('span', [text]);\n var day = this.getFormateDate(text, type);\n var date = new Date(day);\n var data = {\n isSelected: this.selectedDay === day,\n type: type + '-month',\n day: day\n };\n return render({\n date: date,\n data: data\n });\n }\n },\n computed: {\n WEEK_DAYS: function WEEK_DAYS() {\n return Object(date_util_[\"getI18nSettings\"])().dayNames;\n },\n prevMonthDatePrefix: function prevMonthDatePrefix() {\n var temp = new Date(this.date.getTime());\n temp.setDate(0);\n return date_default.a.format(temp, 'yyyy-MM');\n },\n curMonthDatePrefix: function curMonthDatePrefix() {\n return date_default.a.format(this.date, 'yyyy-MM');\n },\n nextMonthDatePrefix: function nextMonthDatePrefix() {\n var temp = new Date(this.date.getFullYear(), this.date.getMonth() + 1, 1);\n return date_default.a.format(temp, 'yyyy-MM');\n },\n formatedToday: function formatedToday() {\n return this.elCalendar.formatedToday;\n },\n isInRange: function isInRange() {\n return this.range && this.range.length;\n },\n rows: function rows() {\n var days = []; // if range exists, should render days in range.\n\n if (this.isInRange) {\n var _range = this.range,\n start = _range[0],\n end = _range[1];\n var currentMonthRange = Object(date_util_[\"range\"])(end.getDate() - start.getDate() + 1).map(function (_, index) {\n return {\n text: start.getDate() + index,\n type: 'current'\n };\n });\n var remaining = currentMonthRange.length % 7;\n remaining = remaining === 0 ? 0 : 7 - remaining;\n var nextMonthRange = Object(date_util_[\"range\"])(remaining).map(function (_, index) {\n return {\n text: index + 1,\n type: 'next'\n };\n });\n days = currentMonthRange.concat(nextMonthRange);\n } else {\n var date = this.date;\n var firstDay = Object(date_util_[\"getFirstDayOfMonth\"])(date);\n firstDay = firstDay === 0 ? 7 : firstDay;\n var firstDayOfWeek = typeof this.firstDayOfWeek === 'number' ? this.firstDayOfWeek : 1;\n var offset = (7 + firstDay - firstDayOfWeek) % 7;\n var prevMonthDays = Object(date_util_[\"getPrevMonthLastDays\"])(date, offset).map(function (day) {\n return {\n text: day,\n type: 'prev'\n };\n });\n var currentMonthDays = Object(date_util_[\"getMonthDays\"])(date).map(function (day) {\n return {\n text: day,\n type: 'current'\n };\n });\n days = [].concat(prevMonthDays, currentMonthDays);\n var nextMonthDays = Object(date_util_[\"range\"])(42 - days.length).map(function (_, index) {\n return {\n text: index + 1,\n type: 'next'\n };\n });\n days = days.concat(nextMonthDays);\n }\n\n return this.toNestedArr(days);\n },\n weekDays: function weekDays() {\n var start = this.firstDayOfWeek;\n var WEEK_DAYS = this.WEEK_DAYS;\n\n if (typeof start !== 'number' || start === 0) {\n return WEEK_DAYS.slice();\n } else {\n return WEEK_DAYS.slice(start).concat(WEEK_DAYS.slice(0, start));\n }\n }\n },\n render: function render() {\n var _this = this;\n\n var h = arguments[0];\n var thead = this.hideHeader ? null : h('thead', [this.weekDays.map(function (day) {\n return h('th', {\n key: day\n }, [day]);\n })]);\n return h('table', {\n 'class': {\n 'el-calendar-table': true,\n 'is-range': this.isInRange\n },\n attrs: {\n cellspacing: '0',\n cellpadding: '0'\n }\n }, [thead, h('tbody', [this.rows.map(function (row, index) {\n return h('tr', {\n 'class': {\n 'el-calendar-table__row': true,\n 'el-calendar-table__row--hide-border': index === 0 && _this.hideHeader\n },\n key: index\n }, [row.map(function (cell, key) {\n return h('td', {\n key: key,\n 'class': _this.getCellClass(cell),\n on: {\n 'click': _this.pickDay.bind(_this, cell)\n }\n }, [h('div', {\n 'class': 'el-calendar-day'\n }, [_this.cellRenderProxy(cell)])]);\n })]);\n })])]);\n }\n }; // CONCATENATED MODULE: ./packages/calendar/src/date-table.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var calendar_src_date_tablevue_type_script_lang_js_ = src_date_tablevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/calendar/src/date-table.vue\n\n var date_table_render, date_table_staticRenderFns;\n /* normalize component */\n\n var src_date_table_component = normalizeComponent(calendar_src_date_tablevue_type_script_lang_js_, date_table_render, date_table_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var src_date_table_api;\n }\n\n src_date_table_component.options.__file = \"packages/calendar/src/date-table.vue\";\n /* harmony default export */\n\n var src_date_table = src_date_table_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/calendar/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var validTypes = ['prev-month', 'today', 'next-month'];\n var weekDays = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];\n var oneDay = 86400000;\n /* harmony default export */\n\n var calendar_src_mainvue_type_script_lang_js_ = {\n name: 'ElCalendar',\n mixins: [locale_default.a],\n components: {\n DateTable: src_date_table,\n ElButton: button_default.a,\n ElButtonGroup: button_group_default.a\n },\n props: {\n value: [Date, String, Number],\n range: {\n type: Array,\n validator: function validator(range) {\n if (Array.isArray(range)) {\n return range.length === 2 && range.every(function (item) {\n return typeof item === 'string' || typeof item === 'number' || item instanceof Date;\n });\n } else {\n return true;\n }\n }\n },\n firstDayOfWeek: {\n type: Number,\n \"default\": 1\n }\n },\n provide: function provide() {\n return {\n elCalendar: this\n };\n },\n methods: {\n pickDay: function pickDay(day) {\n this.realSelectedDay = day;\n },\n selectDate: function selectDate(type) {\n if (validTypes.indexOf(type) === -1) {\n throw new Error('invalid type ' + type);\n }\n\n var day = '';\n\n if (type === 'prev-month') {\n day = this.prevMonthDatePrefix + '-01';\n } else if (type === 'next-month') {\n day = this.nextMonthDatePrefix + '-01';\n } else {\n day = this.formatedToday;\n }\n\n if (day === this.formatedDate) return;\n this.pickDay(day);\n },\n toDate: function toDate(val) {\n if (!val) {\n throw new Error('invalid val');\n }\n\n return val instanceof Date ? val : new Date(val);\n },\n rangeValidator: function rangeValidator(date, isStart) {\n var firstDayOfWeek = this.realFirstDayOfWeek;\n var expected = isStart ? firstDayOfWeek : firstDayOfWeek === 0 ? 6 : firstDayOfWeek - 1;\n var message = (isStart ? 'start' : 'end') + ' of range should be ' + weekDays[expected] + '.';\n\n if (date.getDay() !== expected) {\n console.warn('[ElementCalendar]', message, 'Invalid range will be ignored.');\n return false;\n }\n\n return true;\n }\n },\n computed: {\n prevMonthDatePrefix: function prevMonthDatePrefix() {\n var temp = new Date(this.date.getTime());\n temp.setDate(0);\n return date_default.a.format(temp, 'yyyy-MM');\n },\n curMonthDatePrefix: function curMonthDatePrefix() {\n return date_default.a.format(this.date, 'yyyy-MM');\n },\n nextMonthDatePrefix: function nextMonthDatePrefix() {\n var temp = new Date(this.date.getFullYear(), this.date.getMonth() + 1, 1);\n return date_default.a.format(temp, 'yyyy-MM');\n },\n formatedDate: function formatedDate() {\n return date_default.a.format(this.date, 'yyyy-MM-dd');\n },\n i18nDate: function i18nDate() {\n var year = this.date.getFullYear();\n var month = this.date.getMonth() + 1;\n return year + ' ' + this.t('el.datepicker.year') + ' ' + this.t('el.datepicker.month' + month);\n },\n formatedToday: function formatedToday() {\n return date_default.a.format(this.now, 'yyyy-MM-dd');\n },\n realSelectedDay: {\n get: function get() {\n if (!this.value) return this.selectedDay;\n return this.formatedDate;\n },\n set: function set(val) {\n this.selectedDay = val;\n var date = new Date(val);\n this.$emit('input', date);\n }\n },\n date: function date() {\n if (!this.value) {\n if (this.realSelectedDay) {\n var d = this.selectedDay.split('-');\n return new Date(d[0], d[1] - 1, d[2]);\n } else if (this.validatedRange.length) {\n return this.validatedRange[0][0];\n }\n\n return this.now;\n } else {\n return this.toDate(this.value);\n }\n },\n // if range is valid, we get a two-digit array\n validatedRange: function validatedRange() {\n var _this = this;\n\n var range = this.range;\n if (!range) return [];\n range = range.reduce(function (prev, val, index) {\n var date = _this.toDate(val);\n\n if (_this.rangeValidator(date, index === 0)) {\n prev = prev.concat(date);\n }\n\n return prev;\n }, []);\n\n if (range.length === 2) {\n var _range = range,\n start = _range[0],\n end = _range[1];\n\n if (start > end) {\n console.warn('[ElementCalendar]end time should be greater than start time');\n return [];\n } // start time and end time in one month\n\n\n if (Object(date_util_[\"validateRangeInOneMonth\"])(start, end)) {\n return [[start, end]];\n }\n\n var data = [];\n var startDay = new Date(start.getFullYear(), start.getMonth() + 1, 1);\n var lastDay = this.toDate(startDay.getTime() - oneDay);\n\n if (!Object(date_util_[\"validateRangeInOneMonth\"])(startDay, end)) {\n console.warn('[ElementCalendar]start time and end time interval must not exceed two months');\n return [];\n } // 第一个月的时间范围\n\n\n data.push([start, lastDay]); // 下一月的时间范围,需è¦è®¡ç®—一下该月的第一个周起始日\n\n var firstDayOfWeek = this.realFirstDayOfWeek;\n var nextMontFirstDay = startDay.getDay();\n var interval = 0;\n\n if (nextMontFirstDay !== firstDayOfWeek) {\n if (firstDayOfWeek === 0) {\n interval = 7 - nextMontFirstDay;\n } else {\n interval = firstDayOfWeek - nextMontFirstDay;\n interval = interval > 0 ? interval : 7 + interval;\n }\n }\n\n startDay = this.toDate(startDay.getTime() + interval * oneDay);\n\n if (startDay.getDate() < end.getDate()) {\n data.push([startDay, end]);\n }\n\n return data;\n }\n\n return [];\n },\n realFirstDayOfWeek: function realFirstDayOfWeek() {\n if (this.firstDayOfWeek < 1 || this.firstDayOfWeek > 6) {\n return 0;\n }\n\n return Math.floor(this.firstDayOfWeek);\n }\n },\n data: function data() {\n return {\n selectedDay: '',\n now: new Date()\n };\n }\n }; // CONCATENATED MODULE: ./packages/calendar/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_calendar_src_mainvue_type_script_lang_js_ = calendar_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/calendar/src/main.vue\n\n /* normalize component */\n\n var calendar_src_main_component = normalizeComponent(packages_calendar_src_mainvue_type_script_lang_js_, mainvue_type_template_id_6d9756be_render, mainvue_type_template_id_6d9756be_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var calendar_src_main_api;\n }\n\n calendar_src_main_component.options.__file = \"packages/calendar/src/main.vue\";\n /* harmony default export */\n\n var calendar_src_main = calendar_src_main_component.exports; // CONCATENATED MODULE: ./packages/calendar/index.js\n\n /* istanbul ignore next */\n\n calendar_src_main.install = function (Vue) {\n Vue.component(calendar_src_main.name, calendar_src_main);\n };\n /* harmony default export */\n\n\n var calendar = calendar_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/backtop/src/main.vue?vue&type=template&id=257dd4a9&\n\n var mainvue_type_template_id_257dd4a9_render = function mainvue_type_template_id_257dd4a9_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-fade-in\"\n }\n }, [_vm.visible ? _c(\"div\", {\n staticClass: \"el-backtop\",\n style: {\n right: _vm.styleRight,\n bottom: _vm.styleBottom\n },\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.handleClick($event);\n }\n }\n }, [_vm._t(\"default\", [_c(\"el-icon\", {\n attrs: {\n name: \"caret-top\"\n }\n })])], 2) : _vm._e()]);\n };\n\n var mainvue_type_template_id_257dd4a9_staticRenderFns = [];\n mainvue_type_template_id_257dd4a9_render._withStripped = true; // CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=template&id=257dd4a9&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/backtop/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var cubic = function cubic(value) {\n return Math.pow(value, 3);\n };\n\n var easeInOutCubic = function easeInOutCubic(value) {\n return value < 0.5 ? cubic(value * 2) / 2 : 1 - cubic((1 - value) * 2) / 2;\n };\n /* harmony default export */\n\n\n var backtop_src_mainvue_type_script_lang_js_ = {\n name: 'ElBacktop',\n props: {\n visibilityHeight: {\n type: Number,\n \"default\": 200\n },\n target: [String],\n right: {\n type: Number,\n \"default\": 40\n },\n bottom: {\n type: Number,\n \"default\": 40\n }\n },\n data: function data() {\n return {\n el: null,\n container: null,\n visible: false\n };\n },\n computed: {\n styleBottom: function styleBottom() {\n return this.bottom + 'px';\n },\n styleRight: function styleRight() {\n return this.right + 'px';\n }\n },\n mounted: function mounted() {\n this.init();\n this.throttledScrollHandler = throttle_default()(300, this.onScroll);\n this.container.addEventListener('scroll', this.throttledScrollHandler);\n },\n methods: {\n init: function init() {\n this.container = document;\n this.el = document.documentElement;\n\n if (this.target) {\n this.el = document.querySelector(this.target);\n\n if (!this.el) {\n throw new Error('target is not existed: ' + this.target);\n }\n\n this.container = this.el;\n }\n },\n onScroll: function onScroll() {\n var scrollTop = this.el.scrollTop;\n this.visible = scrollTop >= this.visibilityHeight;\n },\n handleClick: function handleClick(e) {\n this.scrollToTop();\n this.$emit('click', e);\n },\n scrollToTop: function scrollToTop() {\n var el = this.el;\n var beginTime = Date.now();\n var beginValue = el.scrollTop;\n\n var rAF = window.requestAnimationFrame || function (func) {\n return setTimeout(func, 16);\n };\n\n var frameFunc = function frameFunc() {\n var progress = (Date.now() - beginTime) / 500;\n\n if (progress < 1) {\n el.scrollTop = beginValue * (1 - easeInOutCubic(progress));\n rAF(frameFunc);\n } else {\n el.scrollTop = 0;\n }\n };\n\n rAF(frameFunc);\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.container.removeEventListener('scroll', this.throttledScrollHandler);\n }\n }; // CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_backtop_src_mainvue_type_script_lang_js_ = backtop_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/backtop/src/main.vue\n\n /* normalize component */\n\n var backtop_src_main_component = normalizeComponent(packages_backtop_src_mainvue_type_script_lang_js_, mainvue_type_template_id_257dd4a9_render, mainvue_type_template_id_257dd4a9_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var backtop_src_main_api;\n }\n\n backtop_src_main_component.options.__file = \"packages/backtop/src/main.vue\";\n /* harmony default export */\n\n var backtop_src_main = backtop_src_main_component.exports; // CONCATENATED MODULE: ./packages/backtop/index.js\n\n /* istanbul ignore next */\n\n backtop_src_main.install = function (Vue) {\n Vue.component(backtop_src_main.name, backtop_src_main);\n };\n /* harmony default export */\n\n\n var backtop = backtop_src_main; // CONCATENATED MODULE: ./packages/infinite-scroll/src/main.js\n\n var getStyleComputedProperty = function getStyleComputedProperty(element, property) {\n if (element === window) {\n element = document.documentElement;\n }\n\n if (element.nodeType !== 1) {\n return [];\n } // NOTE: 1 DOM access here\n\n\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n };\n\n var entries = function entries(obj) {\n return Object.keys(obj || {}).map(function (key) {\n return [key, obj[key]];\n });\n };\n\n var getPositionSize = function getPositionSize(el, prop) {\n return el === window || el === document ? document.documentElement[prop] : el[prop];\n };\n\n var getOffsetHeight = function getOffsetHeight(el) {\n return getPositionSize(el, 'offsetHeight');\n };\n\n var getClientHeight = function getClientHeight(el) {\n return getPositionSize(el, 'clientHeight');\n };\n\n var scope = 'ElInfiniteScroll';\n var attributes = {\n delay: {\n type: Number,\n \"default\": 200\n },\n distance: {\n type: Number,\n \"default\": 0\n },\n disabled: {\n type: Boolean,\n \"default\": false\n },\n immediate: {\n type: Boolean,\n \"default\": true\n }\n };\n\n var main_getScrollOptions = function getScrollOptions(el, vm) {\n if (!Object(types_[\"isHtmlElement\"])(el)) return {};\n return entries(attributes).reduce(function (map, _ref) {\n var key = _ref[0],\n option = _ref[1];\n var type = option.type,\n defaultValue = option[\"default\"];\n var value = el.getAttribute('infinite-scroll-' + key);\n value = Object(types_[\"isUndefined\"])(vm[value]) ? value : vm[value];\n\n switch (type) {\n case Number:\n value = Number(value);\n value = Number.isNaN(value) ? defaultValue : value;\n break;\n\n case Boolean:\n value = Object(types_[\"isDefined\"])(value) ? value === 'false' ? false : Boolean(value) : defaultValue;\n break;\n\n default:\n value = type(value);\n }\n\n map[key] = value;\n return map;\n }, {});\n };\n\n var getElementTop = function getElementTop(el) {\n return el.getBoundingClientRect().top;\n };\n\n var main_handleScroll = function handleScroll(cb) {\n var _scope = this[scope],\n el = _scope.el,\n vm = _scope.vm,\n container = _scope.container,\n observer = _scope.observer;\n\n var _getScrollOptions = main_getScrollOptions(el, vm),\n distance = _getScrollOptions.distance,\n disabled = _getScrollOptions.disabled;\n\n if (disabled) return;\n var containerInfo = container.getBoundingClientRect();\n if (!containerInfo.width && !containerInfo.height) return;\n var shouldTrigger = false;\n\n if (container === el) {\n // be aware of difference between clientHeight & offsetHeight & window.getComputedStyle().height\n var scrollBottom = container.scrollTop + getClientHeight(container);\n shouldTrigger = container.scrollHeight - scrollBottom <= distance;\n } else {\n var heightBelowTop = getOffsetHeight(el) + getElementTop(el) - getElementTop(container);\n var offsetHeight = getOffsetHeight(container);\n var borderBottom = Number.parseFloat(getStyleComputedProperty(container, 'borderBottomWidth'));\n shouldTrigger = heightBelowTop - offsetHeight + borderBottom <= distance;\n }\n\n if (shouldTrigger && Object(types_[\"isFunction\"])(cb)) {\n cb.call(vm);\n } else if (observer) {\n observer.disconnect();\n this[scope].observer = null;\n }\n };\n /* harmony default export */\n\n\n var infinite_scroll_src_main = {\n name: 'InfiniteScroll',\n inserted: function inserted(el, binding, vnode) {\n var cb = binding.value;\n var vm = vnode.context; // only include vertical scroll\n\n var container = Object(dom_[\"getScrollContainer\"])(el, true);\n\n var _getScrollOptions2 = main_getScrollOptions(el, vm),\n delay = _getScrollOptions2.delay,\n immediate = _getScrollOptions2.immediate;\n\n var onScroll = debounce_default()(delay, main_handleScroll.bind(el, cb));\n el[scope] = {\n el: el,\n vm: vm,\n container: container,\n onScroll: onScroll\n };\n\n if (container) {\n container.addEventListener('scroll', onScroll);\n\n if (immediate) {\n var observer = el[scope].observer = new MutationObserver(onScroll);\n observer.observe(container, {\n childList: true,\n subtree: true\n });\n onScroll();\n }\n }\n },\n unbind: function unbind(el) {\n var _el$scope = el[scope],\n container = _el$scope.container,\n onScroll = _el$scope.onScroll;\n\n if (container) {\n container.removeEventListener('scroll', onScroll);\n }\n }\n }; // CONCATENATED MODULE: ./packages/infinite-scroll/index.js\n\n /* istanbul ignore next */\n\n infinite_scroll_src_main.install = function (Vue) {\n Vue.directive(infinite_scroll_src_main.name, infinite_scroll_src_main);\n };\n /* harmony default export */\n\n\n var infinite_scroll = infinite_scroll_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/page-header/src/main.vue?vue&type=template&id=5070954c&\n\n var mainvue_type_template_id_5070954c_render = function mainvue_type_template_id_5070954c_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-page-header\"\n }, [_c(\"div\", {\n staticClass: \"el-page-header__left\",\n on: {\n click: function click($event) {\n _vm.$emit(\"back\");\n }\n }\n }, [_c(\"i\", {\n staticClass: \"el-icon-back\"\n }), _c(\"div\", {\n staticClass: \"el-page-header__title\"\n }, [_vm._t(\"title\", [_vm._v(_vm._s(_vm.title))])], 2)]), _c(\"div\", {\n staticClass: \"el-page-header__content\"\n }, [_vm._t(\"content\", [_vm._v(_vm._s(_vm.content))])], 2)]);\n };\n\n var mainvue_type_template_id_5070954c_staticRenderFns = [];\n mainvue_type_template_id_5070954c_render._withStripped = true; // CONCATENATED MODULE: ./packages/page-header/src/main.vue?vue&type=template&id=5070954c&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/page-header/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var page_header_src_mainvue_type_script_lang_js_ = {\n name: 'ElPageHeader',\n props: {\n title: {\n type: String,\n \"default\": function _default() {\n return Object(lib_locale_[\"t\"])('el.pageHeader.title');\n }\n },\n content: String\n }\n }; // CONCATENATED MODULE: ./packages/page-header/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_page_header_src_mainvue_type_script_lang_js_ = page_header_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/page-header/src/main.vue\n\n /* normalize component */\n\n var page_header_src_main_component = normalizeComponent(packages_page_header_src_mainvue_type_script_lang_js_, mainvue_type_template_id_5070954c_render, mainvue_type_template_id_5070954c_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var page_header_src_main_api;\n }\n\n page_header_src_main_component.options.__file = \"packages/page-header/src/main.vue\";\n /* harmony default export */\n\n var page_header_src_main = page_header_src_main_component.exports; // CONCATENATED MODULE: ./packages/page-header/index.js\n\n /* istanbul ignore next */\n\n page_header_src_main.install = function (Vue) {\n Vue.component(page_header_src_main.name, page_header_src_main);\n };\n /* harmony default export */\n\n\n var page_header = page_header_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346&\n\n var cascader_panelvue_type_template_id_34932346_render = function cascader_panelvue_type_template_id_34932346_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [\"el-cascader-panel\", _vm.border && \"is-bordered\"],\n on: {\n keydown: _vm.handleKeyDown\n }\n }, _vm._l(_vm.menus, function (menu, index) {\n return _c(\"cascader-menu\", {\n key: index,\n ref: \"menu\",\n refInFor: true,\n attrs: {\n index: index,\n nodes: menu\n }\n });\n }), 1);\n };\n\n var cascader_panelvue_type_template_id_34932346_staticRenderFns = [];\n cascader_panelvue_type_template_id_34932346_render._withStripped = true; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346&\n // EXTERNAL MODULE: external \"element-ui/lib/radio\"\n\n var radio_ = __webpack_require__(44);\n\n var radio_default =\n /*#__PURE__*/\n __webpack_require__.n(radio_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js&\n\n\n var stopPropagation = function stopPropagation(e) {\n return e.stopPropagation();\n };\n /* harmony default export */\n\n\n var cascader_nodevue_type_script_lang_js_ = {\n inject: ['panel'],\n components: {\n ElCheckbox: checkbox_default.a,\n ElRadio: radio_default.a\n },\n props: {\n node: {\n required: true\n },\n nodeId: String\n },\n computed: {\n config: function config() {\n return this.panel.config;\n },\n isLeaf: function isLeaf() {\n return this.node.isLeaf;\n },\n isDisabled: function isDisabled() {\n return this.node.isDisabled;\n },\n checkedValue: function checkedValue() {\n return this.panel.checkedValue;\n },\n isChecked: function isChecked() {\n return this.node.isSameNode(this.checkedValue);\n },\n inActivePath: function inActivePath() {\n return this.isInPath(this.panel.activePath);\n },\n inCheckedPath: function inCheckedPath() {\n var _this = this;\n\n if (!this.config.checkStrictly) return false;\n return this.panel.checkedNodePaths.some(function (checkedPath) {\n return _this.isInPath(checkedPath);\n });\n },\n value: function value() {\n return this.node.getValueByOption();\n }\n },\n methods: {\n handleExpand: function handleExpand() {\n var _this2 = this;\n\n var panel = this.panel,\n node = this.node,\n isDisabled = this.isDisabled,\n config = this.config;\n var multiple = config.multiple,\n checkStrictly = config.checkStrictly;\n if (!checkStrictly && isDisabled || node.loading) return;\n\n if (config.lazy && !node.loaded) {\n panel.lazyLoad(node, function () {\n // do not use cached leaf value here, invoke this.isLeaf to get new value.\n var isLeaf = _this2.isLeaf;\n if (!isLeaf) _this2.handleExpand();\n\n if (multiple) {\n // if leaf sync checked state, else clear checked state\n var checked = isLeaf ? node.checked : false;\n\n _this2.handleMultiCheckChange(checked);\n }\n });\n } else {\n panel.handleExpand(node);\n }\n },\n handleCheckChange: function handleCheckChange() {\n var panel = this.panel,\n value = this.value,\n node = this.node;\n panel.handleCheckChange(value);\n panel.handleExpand(node);\n },\n handleMultiCheckChange: function handleMultiCheckChange(checked) {\n this.node.doCheck(checked);\n this.panel.calculateMultiCheckedValue();\n },\n isInPath: function isInPath(pathNodes) {\n var node = this.node;\n var selectedPathNode = pathNodes[node.level - 1] || {};\n return selectedPathNode.uid === node.uid;\n },\n renderPrefix: function renderPrefix(h) {\n var isLeaf = this.isLeaf,\n isChecked = this.isChecked,\n config = this.config;\n var checkStrictly = config.checkStrictly,\n multiple = config.multiple;\n\n if (multiple) {\n return this.renderCheckbox(h);\n } else if (checkStrictly) {\n return this.renderRadio(h);\n } else if (isLeaf && isChecked) {\n return this.renderCheckIcon(h);\n }\n\n return null;\n },\n renderPostfix: function renderPostfix(h) {\n var node = this.node,\n isLeaf = this.isLeaf;\n\n if (node.loading) {\n return this.renderLoadingIcon(h);\n } else if (!isLeaf) {\n return this.renderExpandIcon(h);\n }\n\n return null;\n },\n renderCheckbox: function renderCheckbox(h) {\n var node = this.node,\n config = this.config,\n isDisabled = this.isDisabled;\n var events = {\n on: {\n change: this.handleMultiCheckChange\n },\n nativeOn: {}\n };\n\n if (config.checkStrictly) {\n // when every node is selectable, click event should not trigger expand event.\n events.nativeOn.click = stopPropagation;\n }\n\n return h('el-checkbox', external_babel_helper_vue_jsx_merge_props_default()([{\n attrs: {\n value: node.checked,\n indeterminate: node.indeterminate,\n disabled: isDisabled\n }\n }, events]));\n },\n renderRadio: function renderRadio(h) {\n var checkedValue = this.checkedValue,\n value = this.value,\n isDisabled = this.isDisabled; // to keep same reference if value cause radio's checked state is calculated by reference comparision;\n\n if (Object(util_[\"isEqual\"])(value, checkedValue)) {\n value = checkedValue;\n }\n\n return h('el-radio', {\n attrs: {\n value: checkedValue,\n label: value,\n disabled: isDisabled\n },\n on: {\n 'change': this.handleCheckChange\n },\n nativeOn: {\n 'click': stopPropagation\n }\n }, [h('span')]);\n },\n renderCheckIcon: function renderCheckIcon(h) {\n return h('i', {\n 'class': 'el-icon-check el-cascader-node__prefix'\n });\n },\n renderLoadingIcon: function renderLoadingIcon(h) {\n return h('i', {\n 'class': 'el-icon-loading el-cascader-node__postfix'\n });\n },\n renderExpandIcon: function renderExpandIcon(h) {\n return h('i', {\n 'class': 'el-icon-arrow-right el-cascader-node__postfix'\n });\n },\n renderContent: function renderContent(h) {\n var panel = this.panel,\n node = this.node;\n var render = panel.renderLabelFn;\n var vnode = render ? render({\n node: node,\n data: node.data\n }) : null;\n return h('span', {\n 'class': 'el-cascader-node__label'\n }, [vnode || node.label]);\n }\n },\n render: function render(h) {\n var _this3 = this;\n\n var inActivePath = this.inActivePath,\n inCheckedPath = this.inCheckedPath,\n isChecked = this.isChecked,\n isLeaf = this.isLeaf,\n isDisabled = this.isDisabled,\n config = this.config,\n nodeId = this.nodeId;\n var expandTrigger = config.expandTrigger,\n checkStrictly = config.checkStrictly,\n multiple = config.multiple;\n var disabled = !checkStrictly && isDisabled;\n var events = {\n on: {}\n };\n\n if (expandTrigger === 'click') {\n events.on.click = this.handleExpand;\n } else {\n events.on.mouseenter = function (e) {\n _this3.handleExpand();\n\n _this3.$emit('expand', e);\n };\n\n events.on.focus = function (e) {\n _this3.handleExpand();\n\n _this3.$emit('expand', e);\n };\n }\n\n if (isLeaf && !isDisabled && !checkStrictly && !multiple) {\n events.on.click = this.handleCheckChange;\n }\n\n return h('li', external_babel_helper_vue_jsx_merge_props_default()([{\n attrs: {\n role: 'menuitem',\n id: nodeId,\n 'aria-expanded': inActivePath,\n tabindex: disabled ? null : -1\n },\n 'class': {\n 'el-cascader-node': true,\n 'is-selectable': checkStrictly,\n 'in-active-path': inActivePath,\n 'in-checked-path': inCheckedPath,\n 'is-active': isChecked,\n 'is-disabled': disabled\n }\n }, events]), [this.renderPrefix(h), this.renderContent(h), this.renderPostfix(h)]);\n }\n }; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascader_nodevue_type_script_lang_js_ = cascader_nodevue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-node.vue\n\n var cascader_node_render, cascader_node_staticRenderFns;\n /* normalize component */\n\n var cascader_node_component = normalizeComponent(src_cascader_nodevue_type_script_lang_js_, cascader_node_render, cascader_node_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var cascader_node_api;\n }\n\n cascader_node_component.options.__file = \"packages/cascader-panel/src/cascader-node.vue\";\n /* harmony default export */\n\n var cascader_node = cascader_node_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var cascader_menuvue_type_script_lang_js_ = {\n name: 'ElCascaderMenu',\n mixins: [locale_default.a],\n inject: ['panel'],\n components: {\n ElScrollbar: scrollbar_default.a,\n CascaderNode: cascader_node\n },\n props: {\n nodes: {\n type: Array,\n required: true\n },\n index: Number\n },\n data: function data() {\n return {\n activeNode: null,\n hoverTimer: null,\n id: Object(util_[\"generateId\"])()\n };\n },\n computed: {\n isEmpty: function isEmpty() {\n return !this.nodes.length;\n },\n menuId: function menuId() {\n return 'cascader-menu-' + this.id + '-' + this.index;\n }\n },\n methods: {\n handleExpand: function handleExpand(e) {\n this.activeNode = e.target;\n },\n handleMouseMove: function handleMouseMove(e) {\n var activeNode = this.activeNode,\n hoverTimer = this.hoverTimer;\n var hoverZone = this.$refs.hoverZone;\n if (!activeNode || !hoverZone) return;\n\n if (activeNode.contains(e.target)) {\n clearTimeout(hoverTimer);\n\n var _$el$getBoundingClien = this.$el.getBoundingClientRect(),\n left = _$el$getBoundingClien.left;\n\n var startX = e.clientX - left;\n var _$el = this.$el,\n offsetWidth = _$el.offsetWidth,\n offsetHeight = _$el.offsetHeight;\n var top = activeNode.offsetTop;\n var bottom = top + activeNode.offsetHeight;\n hoverZone.innerHTML = '\\n <path style=\"pointer-events: auto;\" fill=\"transparent\" d=\"M' + startX + ' ' + top + ' L' + offsetWidth + ' 0 V' + top + ' Z\" />\\n <path style=\"pointer-events: auto;\" fill=\"transparent\" d=\"M' + startX + ' ' + bottom + ' L' + offsetWidth + ' ' + offsetHeight + ' V' + bottom + ' Z\" />\\n ';\n } else if (!hoverTimer) {\n this.hoverTimer = setTimeout(this.clearHoverZone, this.panel.config.hoverThreshold);\n }\n },\n clearHoverZone: function clearHoverZone() {\n var hoverZone = this.$refs.hoverZone;\n if (!hoverZone) return;\n hoverZone.innerHTML = '';\n },\n renderEmptyText: function renderEmptyText(h) {\n return h('div', {\n 'class': 'el-cascader-menu__empty-text'\n }, [this.t('el.cascader.noData')]);\n },\n renderNodeList: function renderNodeList(h) {\n var menuId = this.menuId;\n var isHoverMenu = this.panel.isHoverMenu;\n var events = {\n on: {}\n };\n\n if (isHoverMenu) {\n events.on.expand = this.handleExpand;\n }\n\n var nodes = this.nodes.map(function (node, index) {\n var hasChildren = node.hasChildren;\n return h('cascader-node', external_babel_helper_vue_jsx_merge_props_default()([{\n key: node.uid,\n attrs: {\n node: node,\n 'node-id': menuId + '-' + index,\n 'aria-haspopup': hasChildren,\n 'aria-owns': hasChildren ? menuId : null\n }\n }, events]));\n });\n return [].concat(nodes, [isHoverMenu ? h('svg', {\n ref: 'hoverZone',\n 'class': 'el-cascader-menu__hover-zone'\n }) : null]);\n }\n },\n render: function render(h) {\n var isEmpty = this.isEmpty,\n menuId = this.menuId;\n var events = {\n nativeOn: {}\n }; // optimize hover to expand experience (#8010)\n\n if (this.panel.isHoverMenu) {\n events.nativeOn.mousemove = this.handleMouseMove; // events.nativeOn.mouseleave = this.clearHoverZone;\n }\n\n return h('el-scrollbar', external_babel_helper_vue_jsx_merge_props_default()([{\n attrs: {\n tag: 'ul',\n role: 'menu',\n id: menuId,\n 'wrap-class': 'el-cascader-menu__wrap',\n 'view-class': {\n 'el-cascader-menu__list': true,\n 'is-empty': isEmpty\n }\n },\n 'class': 'el-cascader-menu'\n }, events]), [isEmpty ? this.renderEmptyText(h) : this.renderNodeList(h)]);\n }\n }; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascader_menuvue_type_script_lang_js_ = cascader_menuvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-menu.vue\n\n var cascader_menu_render, cascader_menu_staticRenderFns;\n /* normalize component */\n\n var cascader_menu_component = normalizeComponent(src_cascader_menuvue_type_script_lang_js_, cascader_menu_render, cascader_menu_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var cascader_menu_api;\n }\n\n cascader_menu_component.options.__file = \"packages/cascader-panel/src/cascader-menu.vue\";\n /* harmony default export */\n\n var cascader_menu = cascader_menu_component.exports; // CONCATENATED MODULE: ./packages/cascader-panel/src/node.js\n\n var node_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 src_node_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var uid = 0;\n\n var src_node_Node = function () {\n function Node(data, config, parentNode) {\n src_node_classCallCheck(this, Node);\n this.data = data;\n this.config = config;\n this.parent = parentNode || null;\n this.level = !this.parent ? 1 : this.parent.level + 1;\n this.uid = uid++;\n this.initState();\n this.initChildren();\n }\n\n Node.prototype.initState = function initState() {\n var _config = this.config,\n valueKey = _config.value,\n labelKey = _config.label;\n this.value = this.data[valueKey];\n this.label = this.data[labelKey];\n this.pathNodes = this.calculatePathNodes();\n this.path = this.pathNodes.map(function (node) {\n return node.value;\n });\n this.pathLabels = this.pathNodes.map(function (node) {\n return node.label;\n }); // lazy load\n\n this.loading = false;\n this.loaded = false;\n };\n\n Node.prototype.initChildren = function initChildren() {\n var _this = this;\n\n var config = this.config;\n var childrenKey = config.children;\n var childrenData = this.data[childrenKey];\n this.hasChildren = Array.isArray(childrenData);\n this.children = (childrenData || []).map(function (child) {\n return new Node(child, config, _this);\n });\n };\n\n Node.prototype.calculatePathNodes = function calculatePathNodes() {\n var nodes = [this];\n var parent = this.parent;\n\n while (parent) {\n nodes.unshift(parent);\n parent = parent.parent;\n }\n\n return nodes;\n };\n\n Node.prototype.getPath = function getPath() {\n return this.path;\n };\n\n Node.prototype.getValue = function getValue() {\n return this.value;\n };\n\n Node.prototype.getValueByOption = function getValueByOption() {\n return this.config.emitPath ? this.getPath() : this.getValue();\n };\n\n Node.prototype.getText = function getText(allLevels, separator) {\n return allLevels ? this.pathLabels.join(separator) : this.label;\n };\n\n Node.prototype.isSameNode = function isSameNode(checkedValue) {\n var value = this.getValueByOption();\n return this.config.multiple && Array.isArray(checkedValue) ? checkedValue.some(function (val) {\n return Object(util_[\"isEqual\"])(val, value);\n }) : Object(util_[\"isEqual\"])(checkedValue, value);\n };\n\n Node.prototype.broadcast = function broadcast(event) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var handlerName = 'onParent' + Object(util_[\"capitalize\"])(event);\n this.children.forEach(function (child) {\n if (child) {\n // bottom up\n child.broadcast.apply(child, [event].concat(args));\n child[handlerName] && child[handlerName].apply(child, args);\n }\n });\n };\n\n Node.prototype.emit = function emit(event) {\n var parent = this.parent;\n var handlerName = 'onChild' + Object(util_[\"capitalize\"])(event);\n\n if (parent) {\n for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n parent[handlerName] && parent[handlerName].apply(parent, args);\n parent.emit.apply(parent, [event].concat(args));\n }\n };\n\n Node.prototype.onParentCheck = function onParentCheck(checked) {\n if (!this.isDisabled) {\n this.setCheckState(checked);\n }\n };\n\n Node.prototype.onChildCheck = function onChildCheck() {\n var children = this.children;\n var validChildren = children.filter(function (child) {\n return !child.isDisabled;\n });\n var checked = validChildren.length ? validChildren.every(function (child) {\n return child.checked;\n }) : false;\n this.setCheckState(checked);\n };\n\n Node.prototype.setCheckState = function setCheckState(checked) {\n var totalNum = this.children.length;\n var checkedNum = this.children.reduce(function (c, p) {\n var num = p.checked ? 1 : p.indeterminate ? 0.5 : 0;\n return c + num;\n }, 0);\n this.checked = checked;\n this.indeterminate = checkedNum !== totalNum && checkedNum > 0;\n };\n\n Node.prototype.syncCheckState = function syncCheckState(checkedValue) {\n var value = this.getValueByOption();\n var checked = this.isSameNode(checkedValue, value);\n this.doCheck(checked);\n };\n\n Node.prototype.doCheck = function doCheck(checked) {\n if (this.checked !== checked) {\n if (this.config.checkStrictly) {\n this.checked = checked;\n } else {\n // bottom up to unify the calculation of the indeterminate state\n this.broadcast('check', checked);\n this.setCheckState(checked);\n this.emit('check');\n }\n }\n };\n\n node_createClass(Node, [{\n key: 'isDisabled',\n get: function get() {\n var data = this.data,\n parent = this.parent,\n config = this.config;\n var disabledKey = config.disabled;\n var checkStrictly = config.checkStrictly;\n return data[disabledKey] || !checkStrictly && parent && parent.isDisabled;\n }\n }, {\n key: 'isLeaf',\n get: function get() {\n var data = this.data,\n loaded = this.loaded,\n hasChildren = this.hasChildren,\n children = this.children;\n var _config2 = this.config,\n lazy = _config2.lazy,\n leafKey = _config2.leaf;\n\n if (lazy) {\n var isLeaf = Object(shared_[\"isDef\"])(data[leafKey]) ? data[leafKey] : loaded ? !children.length : false;\n this.hasChildren = !isLeaf;\n return isLeaf;\n }\n\n return !hasChildren;\n }\n }]);\n return Node;\n }();\n /* harmony default export */\n\n\n var src_node = src_node_Node; // CONCATENATED MODULE: ./packages/cascader-panel/src/store.js\n\n function store_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var flatNodes = function flatNodes(data, leafOnly) {\n return data.reduce(function (res, node) {\n if (node.isLeaf) {\n res.push(node);\n } else {\n !leafOnly && res.push(node);\n res = res.concat(flatNodes(node.children, leafOnly));\n }\n\n return res;\n }, []);\n };\n\n var store_Store = function () {\n function Store(data, config) {\n store_classCallCheck(this, Store);\n this.config = config;\n this.initNodes(data);\n }\n\n Store.prototype.initNodes = function initNodes(data) {\n var _this = this;\n\n data = Object(util_[\"coerceTruthyValueToArray\"])(data);\n this.nodes = data.map(function (nodeData) {\n return new src_node(nodeData, _this.config);\n });\n this.flattedNodes = this.getFlattedNodes(false, false);\n this.leafNodes = this.getFlattedNodes(true, false);\n };\n\n Store.prototype.appendNode = function appendNode(nodeData, parentNode) {\n var node = new src_node(nodeData, this.config, parentNode);\n var children = parentNode ? parentNode.children : this.nodes;\n children.push(node);\n };\n\n Store.prototype.appendNodes = function appendNodes(nodeDataList, parentNode) {\n var _this2 = this;\n\n nodeDataList = Object(util_[\"coerceTruthyValueToArray\"])(nodeDataList);\n nodeDataList.forEach(function (nodeData) {\n return _this2.appendNode(nodeData, parentNode);\n });\n };\n\n Store.prototype.getNodes = function getNodes() {\n return this.nodes;\n };\n\n Store.prototype.getFlattedNodes = function getFlattedNodes(leafOnly) {\n var cached = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var cachedNodes = leafOnly ? this.leafNodes : this.flattedNodes;\n return cached ? cachedNodes : flatNodes(this.nodes, leafOnly);\n };\n\n Store.prototype.getNodeByValue = function getNodeByValue(value) {\n var nodes = this.getFlattedNodes(false, !this.config.lazy).filter(function (node) {\n return Object(util_[\"valueEquals\"])(node.path, value) || node.value === value;\n });\n return nodes && nodes.length ? nodes[0] : null;\n };\n\n return Store;\n }();\n /* harmony default export */\n\n\n var cascader_panel_src_store = store_Store; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-panel.vue?vue&type=script&lang=js&\n\n var cascader_panelvue_type_script_lang_js_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 //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var cascader_panelvue_type_script_lang_js_KeyCode = aria_utils_default.a.keys;\n var DefaultProps = {\n expandTrigger: 'click',\n // or hover\n multiple: false,\n checkStrictly: false,\n // whether all nodes can be selected\n emitPath: true,\n // wether to emit an array of all levels value in which node is located\n lazy: false,\n lazyLoad: util_[\"noop\"],\n value: 'value',\n label: 'label',\n children: 'children',\n leaf: 'leaf',\n disabled: 'disabled',\n hoverThreshold: 500\n };\n\n var cascader_panelvue_type_script_lang_js_isLeaf = function isLeaf(el) {\n return !el.getAttribute('aria-owns');\n };\n\n var getSibling = function getSibling(el, distance) {\n var parentNode = el.parentNode;\n\n if (parentNode) {\n var siblings = parentNode.querySelectorAll('.el-cascader-node[tabindex=\"-1\"]');\n var index = Array.prototype.indexOf.call(siblings, el);\n return siblings[index + distance] || null;\n }\n\n return null;\n };\n\n var getMenuIndex = function getMenuIndex(el, distance) {\n if (!el) return;\n var pieces = el.id.split('-');\n return Number(pieces[pieces.length - 2]);\n };\n\n var focusNode = function focusNode(el) {\n if (!el) return;\n el.focus();\n !cascader_panelvue_type_script_lang_js_isLeaf(el) && el.click();\n };\n\n var checkNode = function checkNode(el) {\n if (!el) return;\n var input = el.querySelector('input');\n\n if (input) {\n input.click();\n } else if (cascader_panelvue_type_script_lang_js_isLeaf(el)) {\n el.click();\n }\n };\n /* harmony default export */\n\n\n var cascader_panelvue_type_script_lang_js_ = {\n name: 'ElCascaderPanel',\n components: {\n CascaderMenu: cascader_menu\n },\n props: {\n value: {},\n options: Array,\n props: Object,\n border: {\n type: Boolean,\n \"default\": true\n },\n renderLabel: Function\n },\n provide: function provide() {\n return {\n panel: this\n };\n },\n data: function data() {\n return {\n checkedValue: null,\n checkedNodePaths: [],\n store: [],\n menus: [],\n activePath: [],\n loadCount: 0\n };\n },\n computed: {\n config: function config() {\n return merge_default()(cascader_panelvue_type_script_lang_js_extends({}, DefaultProps), this.props || {});\n },\n multiple: function multiple() {\n return this.config.multiple;\n },\n checkStrictly: function checkStrictly() {\n return this.config.checkStrictly;\n },\n leafOnly: function leafOnly() {\n return !this.checkStrictly;\n },\n isHoverMenu: function isHoverMenu() {\n return this.config.expandTrigger === 'hover';\n },\n renderLabelFn: function renderLabelFn() {\n return this.renderLabel || this.$scopedSlots[\"default\"];\n }\n },\n watch: {\n value: function value() {\n this.syncCheckedValue();\n this.checkStrictly && this.calculateCheckedNodePaths();\n },\n options: {\n handler: function handler() {\n this.initStore();\n },\n immediate: true,\n deep: true\n },\n checkedValue: function checkedValue(val) {\n if (!Object(util_[\"isEqual\"])(val, this.value)) {\n this.checkStrictly && this.calculateCheckedNodePaths();\n this.$emit('input', val);\n this.$emit('change', val);\n }\n }\n },\n mounted: function mounted() {\n if (!this.isEmptyValue(this.value)) {\n this.syncCheckedValue();\n }\n },\n methods: {\n initStore: function initStore() {\n var config = this.config,\n options = this.options;\n\n if (config.lazy && Object(util_[\"isEmpty\"])(options)) {\n this.lazyLoad();\n } else {\n this.store = new cascader_panel_src_store(options, config);\n this.menus = [this.store.getNodes()];\n this.syncMenuState();\n }\n },\n syncCheckedValue: function syncCheckedValue() {\n var value = this.value,\n checkedValue = this.checkedValue;\n\n if (!Object(util_[\"isEqual\"])(value, checkedValue)) {\n this.activePath = [];\n this.checkedValue = value;\n this.syncMenuState();\n }\n },\n syncMenuState: function syncMenuState() {\n var multiple = this.multiple,\n checkStrictly = this.checkStrictly;\n this.syncActivePath();\n multiple && this.syncMultiCheckState();\n checkStrictly && this.calculateCheckedNodePaths();\n this.$nextTick(this.scrollIntoView);\n },\n syncMultiCheckState: function syncMultiCheckState() {\n var _this = this;\n\n var nodes = this.getFlattedNodes(this.leafOnly);\n nodes.forEach(function (node) {\n node.syncCheckState(_this.checkedValue);\n });\n },\n isEmptyValue: function isEmptyValue(val) {\n var multiple = this.multiple,\n config = this.config;\n var emitPath = config.emitPath;\n\n if (multiple || emitPath) {\n return Object(util_[\"isEmpty\"])(val);\n }\n\n return false;\n },\n syncActivePath: function syncActivePath() {\n var _this2 = this;\n\n var store = this.store,\n multiple = this.multiple,\n activePath = this.activePath,\n checkedValue = this.checkedValue;\n\n if (!Object(util_[\"isEmpty\"])(activePath)) {\n var nodes = activePath.map(function (node) {\n return _this2.getNodeByValue(node.getValue());\n });\n this.expandNodes(nodes);\n } else if (!this.isEmptyValue(checkedValue)) {\n var value = multiple ? checkedValue[0] : checkedValue;\n var checkedNode = this.getNodeByValue(value) || {};\n\n var _nodes = (checkedNode.pathNodes || []).slice(0, -1);\n\n this.expandNodes(_nodes);\n } else {\n this.activePath = [];\n this.menus = [store.getNodes()];\n }\n },\n expandNodes: function expandNodes(nodes) {\n var _this3 = this;\n\n nodes.forEach(function (node) {\n return _this3.handleExpand(node, true\n /* silent */\n );\n });\n },\n calculateCheckedNodePaths: function calculateCheckedNodePaths() {\n var _this4 = this;\n\n var checkedValue = this.checkedValue,\n multiple = this.multiple;\n var checkedValues = multiple ? Object(util_[\"coerceTruthyValueToArray\"])(checkedValue) : [checkedValue];\n this.checkedNodePaths = checkedValues.map(function (v) {\n var checkedNode = _this4.getNodeByValue(v);\n\n return checkedNode ? checkedNode.pathNodes : [];\n });\n },\n handleKeyDown: function handleKeyDown(e) {\n var target = e.target,\n keyCode = e.keyCode;\n\n switch (keyCode) {\n case cascader_panelvue_type_script_lang_js_KeyCode.up:\n var prev = getSibling(target, -1);\n focusNode(prev);\n break;\n\n case cascader_panelvue_type_script_lang_js_KeyCode.down:\n var next = getSibling(target, 1);\n focusNode(next);\n break;\n\n case cascader_panelvue_type_script_lang_js_KeyCode.left:\n var preMenu = this.$refs.menu[getMenuIndex(target) - 1];\n\n if (preMenu) {\n var expandedNode = preMenu.$el.querySelector('.el-cascader-node[aria-expanded=\"true\"]');\n focusNode(expandedNode);\n }\n\n break;\n\n case cascader_panelvue_type_script_lang_js_KeyCode.right:\n var nextMenu = this.$refs.menu[getMenuIndex(target) + 1];\n\n if (nextMenu) {\n var firstNode = nextMenu.$el.querySelector('.el-cascader-node[tabindex=\"-1\"]');\n focusNode(firstNode);\n }\n\n break;\n\n case cascader_panelvue_type_script_lang_js_KeyCode.enter:\n checkNode(target);\n break;\n\n case cascader_panelvue_type_script_lang_js_KeyCode.esc:\n case cascader_panelvue_type_script_lang_js_KeyCode.tab:\n this.$emit('close');\n break;\n\n default:\n return;\n }\n },\n handleExpand: function handleExpand(node, silent) {\n var activePath = this.activePath;\n var level = node.level;\n var path = activePath.slice(0, level - 1);\n var menus = this.menus.slice(0, level);\n\n if (!node.isLeaf) {\n path.push(node);\n menus.push(node.children);\n }\n\n this.activePath = path;\n this.menus = menus;\n\n if (!silent) {\n var pathValues = path.map(function (node) {\n return node.getValue();\n });\n var activePathValues = activePath.map(function (node) {\n return node.getValue();\n });\n\n if (!Object(util_[\"valueEquals\"])(pathValues, activePathValues)) {\n this.$emit('active-item-change', pathValues); // Deprecated\n\n this.$emit('expand-change', pathValues);\n }\n }\n },\n handleCheckChange: function handleCheckChange(value) {\n this.checkedValue = value;\n },\n lazyLoad: function lazyLoad(node, onFullfiled) {\n var _this5 = this;\n\n var config = this.config;\n\n if (!node) {\n node = node || {\n root: true,\n level: 0\n };\n this.store = new cascader_panel_src_store([], config);\n this.menus = [this.store.getNodes()];\n }\n\n node.loading = true;\n\n var resolve = function resolve(dataList) {\n var parent = node.root ? null : node;\n dataList && dataList.length && _this5.store.appendNodes(dataList, parent);\n node.loading = false;\n node.loaded = true; // dispose default value on lazy load mode\n\n if (Array.isArray(_this5.checkedValue)) {\n var nodeValue = _this5.checkedValue[_this5.loadCount++];\n var valueKey = _this5.config.value;\n var leafKey = _this5.config.leaf;\n\n if (Array.isArray(dataList) && dataList.filter(function (item) {\n return item[valueKey] === nodeValue;\n }).length > 0) {\n var checkedNode = _this5.store.getNodeByValue(nodeValue);\n\n if (!checkedNode.data[leafKey]) {\n _this5.lazyLoad(checkedNode, function () {\n _this5.handleExpand(checkedNode);\n });\n }\n\n if (_this5.loadCount === _this5.checkedValue.length) {\n _this5.$parent.computePresentText();\n }\n }\n }\n\n onFullfiled && onFullfiled(dataList);\n };\n\n config.lazyLoad(node, resolve);\n },\n\n /**\n * public methods\n */\n calculateMultiCheckedValue: function calculateMultiCheckedValue() {\n this.checkedValue = this.getCheckedNodes(this.leafOnly).map(function (node) {\n return node.getValueByOption();\n });\n },\n scrollIntoView: function scrollIntoView() {\n if (this.$isServer) return;\n var menus = this.$refs.menu || [];\n menus.forEach(function (menu) {\n var menuElement = menu.$el;\n\n if (menuElement) {\n var container = menuElement.querySelector('.el-scrollbar__wrap');\n var activeNode = menuElement.querySelector('.el-cascader-node.is-active') || menuElement.querySelector('.el-cascader-node.in-active-path');\n scroll_into_view_default()(container, activeNode);\n }\n });\n },\n getNodeByValue: function getNodeByValue(val) {\n return this.store.getNodeByValue(val);\n },\n getFlattedNodes: function getFlattedNodes(leafOnly) {\n var cached = !this.config.lazy;\n return this.store.getFlattedNodes(leafOnly, cached);\n },\n getCheckedNodes: function getCheckedNodes(leafOnly) {\n var checkedValue = this.checkedValue,\n multiple = this.multiple;\n\n if (multiple) {\n var nodes = this.getFlattedNodes(leafOnly);\n return nodes.filter(function (node) {\n return node.checked;\n });\n } else {\n return this.isEmptyValue(checkedValue) ? [] : [this.getNodeByValue(checkedValue)];\n }\n },\n clearCheckedNodes: function clearCheckedNodes() {\n var config = this.config,\n leafOnly = this.leafOnly;\n var multiple = config.multiple,\n emitPath = config.emitPath;\n\n if (multiple) {\n this.getCheckedNodes(leafOnly).filter(function (node) {\n return !node.isDisabled;\n }).forEach(function (node) {\n return node.doCheck(false);\n });\n this.calculateMultiCheckedValue();\n } else {\n this.checkedValue = emitPath ? [] : null;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascader_panelvue_type_script_lang_js_ = cascader_panelvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue\n\n /* normalize component */\n\n var cascader_panel_component = normalizeComponent(src_cascader_panelvue_type_script_lang_js_, cascader_panelvue_type_template_id_34932346_render, cascader_panelvue_type_template_id_34932346_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var cascader_panel_api;\n }\n\n cascader_panel_component.options.__file = \"packages/cascader-panel/src/cascader-panel.vue\";\n /* harmony default export */\n\n var cascader_panel = cascader_panel_component.exports; // CONCATENATED MODULE: ./packages/cascader-panel/index.js\n\n /* istanbul ignore next */\n\n cascader_panel.install = function (Vue) {\n Vue.component(cascader_panel.name, cascader_panel);\n };\n /* harmony default export */\n\n\n var packages_cascader_panel = cascader_panel; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/avatar/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var avatar_src_mainvue_type_script_lang_js_ = {\n name: 'ElAvatar',\n props: {\n size: {\n type: [Number, String],\n validator: function validator(val) {\n if (typeof val === 'string') {\n return ['large', 'medium', 'small'].includes(val);\n }\n\n return typeof val === 'number';\n }\n },\n shape: {\n type: String,\n \"default\": 'circle',\n validator: function validator(val) {\n return ['circle', 'square'].includes(val);\n }\n },\n icon: String,\n src: String,\n alt: String,\n srcSet: String,\n error: Function,\n fit: {\n type: String,\n \"default\": 'cover'\n }\n },\n data: function data() {\n return {\n isImageExist: true\n };\n },\n computed: {\n avatarClass: function avatarClass() {\n var size = this.size,\n icon = this.icon,\n shape = this.shape;\n var classList = ['el-avatar'];\n\n if (size && typeof size === 'string') {\n classList.push('el-avatar--' + size);\n }\n\n if (icon) {\n classList.push('el-avatar--icon');\n }\n\n if (shape) {\n classList.push('el-avatar--' + shape);\n }\n\n return classList.join(' ');\n }\n },\n methods: {\n handleError: function handleError() {\n var error = this.error;\n var errorFlag = error ? error() : undefined;\n\n if (errorFlag !== false) {\n this.isImageExist = false;\n }\n },\n renderAvatar: function renderAvatar() {\n var h = this.$createElement;\n var icon = this.icon,\n src = this.src,\n alt = this.alt,\n isImageExist = this.isImageExist,\n srcSet = this.srcSet,\n fit = this.fit;\n\n if (isImageExist && src) {\n return h('img', {\n attrs: {\n src: src,\n alt: alt,\n srcSet: srcSet\n },\n on: {\n 'error': this.handleError\n },\n style: {\n 'object-fit': fit\n }\n });\n }\n\n if (icon) {\n return h('i', {\n 'class': icon\n });\n }\n\n return this.$slots[\"default\"];\n }\n },\n render: function render() {\n var h = arguments[0];\n var avatarClass = this.avatarClass,\n size = this.size;\n var sizeStyle = typeof size === 'number' ? {\n height: size + 'px',\n width: size + 'px',\n lineHeight: size + 'px'\n } : {};\n return h('span', {\n 'class': avatarClass,\n style: sizeStyle\n }, [this.renderAvatar()]);\n }\n }; // CONCATENATED MODULE: ./packages/avatar/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_avatar_src_mainvue_type_script_lang_js_ = avatar_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/avatar/src/main.vue\n\n var src_main_render, src_main_staticRenderFns;\n /* normalize component */\n\n var avatar_src_main_component = normalizeComponent(packages_avatar_src_mainvue_type_script_lang_js_, src_main_render, src_main_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var avatar_src_main_api;\n }\n\n avatar_src_main_component.options.__file = \"packages/avatar/src/main.vue\";\n /* harmony default export */\n\n var avatar_src_main = avatar_src_main_component.exports; // CONCATENATED MODULE: ./packages/avatar/index.js\n\n /* istanbul ignore next */\n\n avatar_src_main.install = function (Vue) {\n Vue.component(avatar_src_main.name, avatar_src_main);\n };\n /* harmony default export */\n\n\n var avatar = avatar_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/drawer/src/main.vue?vue&type=template&id=a4885264&\n\n var mainvue_type_template_id_a4885264_render = function mainvue_type_template_id_a4885264_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"transition\", {\n attrs: {\n name: \"el-drawer-fade\"\n },\n on: {\n \"after-enter\": _vm.afterEnter,\n \"after-leave\": _vm.afterLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-drawer__wrapper\",\n attrs: {\n tabindex: \"-1\"\n }\n }, [_c(\"div\", {\n staticClass: \"el-drawer__container\",\n \"class\": _vm.visible && \"el-drawer__open\",\n attrs: {\n role: \"document\",\n tabindex: \"-1\"\n },\n on: {\n click: function click($event) {\n if ($event.target !== $event.currentTarget) {\n return null;\n }\n\n return _vm.handleWrapperClick($event);\n }\n }\n }, [_c(\"div\", {\n ref: \"drawer\",\n staticClass: \"el-drawer\",\n \"class\": [_vm.direction, _vm.customClass],\n style: _vm.isHorizontal ? \"width: \" + _vm.drawerSize : \"height: \" + _vm.drawerSize,\n attrs: {\n \"aria-modal\": \"true\",\n \"aria-labelledby\": \"el-drawer__title\",\n \"aria-label\": _vm.title,\n role: \"dialog\",\n tabindex: \"-1\"\n }\n }, [_vm.withHeader ? _c(\"header\", {\n staticClass: \"el-drawer__header\",\n attrs: {\n id: \"el-drawer__title\"\n }\n }, [_vm._t(\"title\", [_c(\"span\", {\n attrs: {\n role: \"heading\",\n title: _vm.title\n }\n }, [_vm._v(_vm._s(_vm.title))])]), _vm.showClose ? _c(\"button\", {\n staticClass: \"el-drawer__close-btn\",\n attrs: {\n \"aria-label\": \"close \" + (_vm.title || \"drawer\"),\n type: \"button\"\n },\n on: {\n click: _vm.closeDrawer\n }\n }, [_c(\"i\", {\n staticClass: \"el-dialog__close el-icon el-icon-close\"\n })]) : _vm._e()], 2) : _vm._e(), _vm.rendered ? _c(\"section\", {\n staticClass: \"el-drawer__body\"\n }, [_vm._t(\"default\")], 2) : _vm._e()])])])]);\n };\n\n var mainvue_type_template_id_a4885264_staticRenderFns = [];\n mainvue_type_template_id_a4885264_render._withStripped = true; // CONCATENATED MODULE: ./packages/drawer/src/main.vue?vue&type=template&id=a4885264&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/drawer/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var drawer_src_mainvue_type_script_lang_js_ = {\n name: 'ElDrawer',\n mixins: [popup_default.a, emitter_default.a],\n props: {\n appendToBody: {\n type: Boolean,\n \"default\": false\n },\n beforeClose: {\n type: Function\n },\n customClass: {\n type: String,\n \"default\": ''\n },\n closeOnPressEscape: {\n type: Boolean,\n \"default\": true\n },\n destroyOnClose: {\n type: Boolean,\n \"default\": false\n },\n modal: {\n type: Boolean,\n \"default\": true\n },\n direction: {\n type: String,\n \"default\": 'rtl',\n validator: function validator(val) {\n return ['ltr', 'rtl', 'ttb', 'btt'].indexOf(val) !== -1;\n }\n },\n modalAppendToBody: {\n type: Boolean,\n \"default\": true\n },\n showClose: {\n type: Boolean,\n \"default\": true\n },\n size: {\n type: [Number, String],\n \"default\": '30%'\n },\n title: {\n type: String,\n \"default\": ''\n },\n visible: {\n type: Boolean\n },\n wrapperClosable: {\n type: Boolean,\n \"default\": true\n },\n withHeader: {\n type: Boolean,\n \"default\": true\n }\n },\n computed: {\n isHorizontal: function isHorizontal() {\n return this.direction === 'rtl' || this.direction === 'ltr';\n },\n drawerSize: function drawerSize() {\n return typeof this.size === 'number' ? this.size + 'px' : this.size;\n }\n },\n data: function data() {\n return {\n closed: false,\n prevActiveElement: null\n };\n },\n watch: {\n visible: function visible(val) {\n var _this = this;\n\n if (val) {\n this.closed = false;\n this.$emit('open');\n\n if (this.appendToBody) {\n document.body.appendChild(this.$el);\n }\n\n this.prevActiveElement = document.activeElement;\n } else {\n if (!this.closed) {\n this.$emit('close');\n\n if (this.destroyOnClose === true) {\n this.rendered = false;\n }\n }\n\n this.$nextTick(function () {\n if (_this.prevActiveElement) {\n _this.prevActiveElement.focus();\n }\n });\n }\n }\n },\n methods: {\n afterEnter: function afterEnter() {\n this.$emit('opened');\n },\n afterLeave: function afterLeave() {\n this.$emit('closed');\n },\n hide: function hide(cancel) {\n if (cancel !== false) {\n this.$emit('update:visible', false);\n this.$emit('close');\n\n if (this.destroyOnClose === true) {\n this.rendered = false;\n }\n\n this.closed = true;\n }\n },\n handleWrapperClick: function handleWrapperClick() {\n if (this.wrapperClosable) {\n this.closeDrawer();\n }\n },\n closeDrawer: function closeDrawer() {\n if (typeof this.beforeClose === 'function') {\n this.beforeClose(this.hide);\n } else {\n this.hide();\n }\n },\n handleClose: function handleClose() {\n // This method here will be called by PopupManger, when the `closeOnPressEscape` was set to true\n // pressing `ESC` will call this method, and also close the drawer.\n // This method also calls `beforeClose` if there was one.\n this.closeDrawer();\n }\n },\n mounted: function mounted() {\n if (this.visible) {\n this.rendered = true;\n this.open();\n\n if (this.appendToBody) {\n document.body.appendChild(this.$el);\n }\n }\n },\n destroyed: function destroyed() {\n // if appendToBody is true, remove DOM node after destroy\n if (this.appendToBody && this.$el && this.$el.parentNode) {\n this.$el.parentNode.removeChild(this.$el);\n }\n }\n }; // CONCATENATED MODULE: ./packages/drawer/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_drawer_src_mainvue_type_script_lang_js_ = drawer_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/drawer/src/main.vue\n\n /* normalize component */\n\n var drawer_src_main_component = normalizeComponent(packages_drawer_src_mainvue_type_script_lang_js_, mainvue_type_template_id_a4885264_render, mainvue_type_template_id_a4885264_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var drawer_src_main_api;\n }\n\n drawer_src_main_component.options.__file = \"packages/drawer/src/main.vue\";\n /* harmony default export */\n\n var drawer_src_main = drawer_src_main_component.exports; // CONCATENATED MODULE: ./packages/drawer/index.js\n\n /* istanbul ignore next */\n\n drawer_src_main.install = function (Vue) {\n Vue.component(drawer_src_main.name, drawer_src_main);\n };\n /* harmony default export */\n\n\n var drawer = drawer_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/statistic/src/main.vue?vue&type=template&id=76339aa7&\n\n var mainvue_type_template_id_76339aa7_render = function mainvue_type_template_id_76339aa7_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-statistic\"\n }, [_vm.title || _vm.$slots.title ? _c(\"div\", {\n staticClass: \"head\"\n }, [_vm._t(\"title\", [_c(\"span\", {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")])])], 2) : _vm._e(), _c(\"div\", {\n staticClass: \"con\"\n }, [_vm.prefix || _vm.$slots.prefix ? _c(\"span\", {\n staticClass: \"prefix\"\n }, [_vm._t(\"prefix\", [_vm._v(\"\\n \" + _vm._s(_vm.prefix) + \"\\n \")])], 2) : _vm._e(), _c(\"span\", {\n staticClass: \"number\",\n style: _vm.valueStyle\n }, [_vm._t(\"formatter\", [_vm._v(\" \" + _vm._s(_vm.disposeValue))])], 2), _vm.suffix || _vm.$slots.suffix ? _c(\"span\", {\n staticClass: \"suffix\"\n }, [_vm._t(\"suffix\", [_vm._v(\"\\n \" + _vm._s(_vm.suffix) + \"\\n \")])], 2) : _vm._e()])]);\n };\n\n var mainvue_type_template_id_76339aa7_staticRenderFns = [];\n mainvue_type_template_id_76339aa7_render._withStripped = true; // CONCATENATED MODULE: ./packages/statistic/src/main.vue?vue&type=template&id=76339aa7&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/lodash\"\n\n var lodash_ = __webpack_require__(28); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/statistic/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var statistic_src_mainvue_type_script_lang_js_ = {\n name: 'ElStatistic',\n data: function data() {\n return {\n disposeValue: '',\n timeTask: null,\n REFRESH_INTERVAL: 1000 / 30\n };\n },\n props: {\n decimalSeparator: {\n type: String,\n \"default\": '.'\n },\n groupSeparator: {\n type: String,\n \"default\": ''\n },\n precision: {\n type: Number,\n \"default\": null\n },\n value: {\n type: [String, Number, Date],\n \"default\": ''\n },\n prefix: {\n type: String,\n \"default\": ''\n },\n suffix: {\n type: String,\n \"default\": ''\n },\n title: {\n type: [String, Number],\n \"default\": ''\n },\n timeIndices: {\n type: Boolean,\n \"default\": false\n },\n valueStyle: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n },\n format: {\n type: String,\n \"default\": 'HH:mm:ss:SSS'\n },\n rate: {\n type: Number,\n \"default\": 1000\n }\n },\n created: function created() {\n this.branch();\n },\n watch: {\n value: function value() {\n this.branch();\n },\n groupSeparator: function groupSeparator() {\n this.dispose();\n },\n mulriple: function mulriple() {\n this.dispose();\n }\n },\n methods: {\n branch: function branch() {\n var timeIndices = this.timeIndices,\n countDown = this.countDown,\n dispose = this.dispose;\n\n if (timeIndices) {\n countDown(this.value.valueOf() || this.value);\n } else {\n dispose();\n }\n },\n magnification: function magnification(num) {\n var mulriple = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1000;\n var groupSeparator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ','; // magnification factor\n\n var level = String(mulriple).length;\n return num.replace(new RegExp('(\\\\d)(?=(\\\\d{' + (level - 1) + '})+$)', 'g'), '$1' + groupSeparator);\n },\n dispose: function dispose() {\n var value = this.value,\n rate = this.rate,\n groupSeparator = this.groupSeparator;\n if (!Object(lodash_[\"isNumber\"])(value)) return false;\n\n if (this.precision) {\n value = value.toFixed(this.precision);\n }\n\n var _String$split = String(value).split('.'),\n integer = _String$split[0],\n decimal = _String$split[1]; // 1000 multiplying power\n\n\n if (groupSeparator) {\n integer = this.magnification(integer, rate, groupSeparator);\n }\n\n var result = '' + integer + (decimal ? this.decimalSeparator + decimal : '');\n this.disposeValue = result;\n return result;\n },\n diffDate: function diffDate(minuend, subtrahend) {\n return Math.max(minuend - subtrahend, 0);\n },\n suspend: function suspend(isStop) {\n if (isStop) {\n if (this.timeTask) {\n clearInterval(this.timeTask);\n this.timeTask = null;\n }\n } else {\n this.branch();\n }\n\n return this.disposeValue;\n },\n formatTimeStr: function formatTimeStr(time) {\n var format = this.format;\n var escapeRegex = /\\[[^\\]]*]/g;\n var keepList = (format.match(escapeRegex) || []).map(function (str) {\n return str.slice(1, -1);\n });\n var timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], // years\n ['M', 1000 * 60 * 60 * 24 * 30], // months\n ['D', 1000 * 60 * 60 * 24], // days\n ['H', 1000 * 60 * 60], // hours\n ['m', 1000 * 60], // minutes\n ['s', 1000], // seconds\n ['S', 1] // million seconds\n ];\n var formatText = Object(lodash_[\"reduce\"])(timeUnits, function (con, item) {\n var name = item[0];\n return con.replace(new RegExp(name + '+', 'g'), function (match) {\n var sum = Object(lodash_[\"chain\"])(time).divide(item[1]).floor(0).value();\n time -= Object(lodash_[\"multiply\"])(sum, item[1]);\n return Object(lodash_[\"padStart\"])(String(sum), String(match).length, 0);\n });\n }, format);\n var index = 0;\n return formatText.replace(escapeRegex, function () {\n var match = keepList[index];\n index += 1;\n return match;\n });\n },\n stopTime: function stopTime(time) {\n var result = true; // stop\n\n if (time) {\n this.$emit('change', time);\n result = false;\n } else {\n result = true;\n this.suspend(true);\n this.$emit('finish', true);\n }\n\n return result;\n },\n countDown: function countDown(timeVlaue) {\n var REFRESH_INTERVAL = this.REFRESH_INTERVAL,\n timeTask = this.timeTask,\n diffDate = this.diffDate,\n formatTimeStr = this.formatTimeStr,\n stopTime = this.stopTime,\n suspend = this.suspend;\n if (timeTask) return;\n var than = this;\n this.timeTask = setInterval(function () {\n var diffTiem = diffDate(timeVlaue, Date.now());\n than.disposeValue = formatTimeStr(diffTiem);\n stopTime(diffTiem);\n }, REFRESH_INTERVAL);\n this.$once('hook:beforeDestroy', function () {\n suspend(true);\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/statistic/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_statistic_src_mainvue_type_script_lang_js_ = statistic_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/statistic/src/main.vue\n\n /* normalize component */\n\n var statistic_src_main_component = normalizeComponent(packages_statistic_src_mainvue_type_script_lang_js_, mainvue_type_template_id_76339aa7_render, mainvue_type_template_id_76339aa7_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var statistic_src_main_api;\n }\n\n statistic_src_main_component.options.__file = \"packages/statistic/src/main.vue\";\n /* harmony default export */\n\n var statistic_src_main = statistic_src_main_component.exports; // CONCATENATED MODULE: ./packages/statistic/index.js\n\n /* istanbul ignore next */\n\n statistic_src_main.install = function (Vue) {\n Vue.component(statistic_src_main.name, statistic_src_main);\n };\n /* harmony default export */\n\n\n var statistic = statistic_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/popconfirm/src/main.vue?vue&type=template&id=048de730&\n\n var mainvue_type_template_id_048de730_render = function mainvue_type_template_id_048de730_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"el-popover\", _vm._b({\n attrs: {\n trigger: \"click\"\n },\n model: {\n value: _vm.visible,\n callback: function callback($$v) {\n _vm.visible = $$v;\n },\n expression: \"visible\"\n }\n }, \"el-popover\", _vm.$attrs, false), [_c(\"div\", {\n staticClass: \"el-popconfirm\"\n }, [_c(\"p\", {\n staticClass: \"el-popconfirm__main\"\n }, [!_vm.hideIcon ? _c(\"i\", {\n staticClass: \"el-popconfirm__icon\",\n \"class\": _vm.icon,\n style: {\n color: _vm.iconColor\n }\n }) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _c(\"div\", {\n staticClass: \"el-popconfirm__action\"\n }, [_c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: _vm.cancelButtonType\n },\n on: {\n click: _vm.cancel\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.displayCancelButtonText) + \"\\n \")]), _c(\"el-button\", {\n attrs: {\n size: \"mini\",\n type: _vm.confirmButtonType\n },\n on: {\n click: _vm.confirm\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.displayConfirmButtonText) + \"\\n \")])], 1)]), _vm._t(\"reference\", null, {\n slot: \"reference\"\n })], 2);\n };\n\n var mainvue_type_template_id_048de730_staticRenderFns = [];\n mainvue_type_template_id_048de730_render._withStripped = true; // CONCATENATED MODULE: ./packages/popconfirm/src/main.vue?vue&type=template&id=048de730&\n // EXTERNAL MODULE: external \"element-ui/lib/popover\"\n\n var popover_ = __webpack_require__(45);\n\n var popover_default =\n /*#__PURE__*/\n __webpack_require__.n(popover_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/popconfirm/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var popconfirm_src_mainvue_type_script_lang_js_ = {\n name: 'ElPopconfirm',\n props: {\n title: {\n type: String\n },\n confirmButtonText: {\n type: String\n },\n cancelButtonText: {\n type: String\n },\n confirmButtonType: {\n type: String,\n \"default\": 'primary'\n },\n cancelButtonType: {\n type: String,\n \"default\": 'text'\n },\n icon: {\n type: String,\n \"default\": 'el-icon-question'\n },\n iconColor: {\n type: String,\n \"default\": '#f90'\n },\n hideIcon: {\n type: Boolean,\n \"default\": false\n }\n },\n components: {\n ElPopover: popover_default.a,\n ElButton: button_default.a\n },\n data: function data() {\n return {\n visible: false\n };\n },\n computed: {\n displayConfirmButtonText: function displayConfirmButtonText() {\n return this.confirmButtonText || Object(lib_locale_[\"t\"])('el.popconfirm.confirmButtonText');\n },\n displayCancelButtonText: function displayCancelButtonText() {\n return this.cancelButtonText || Object(lib_locale_[\"t\"])('el.popconfirm.cancelButtonText');\n }\n },\n methods: {\n confirm: function confirm() {\n this.visible = false;\n this.$emit('confirm');\n },\n cancel: function cancel() {\n this.visible = false;\n this.$emit('cancel');\n }\n }\n }; // CONCATENATED MODULE: ./packages/popconfirm/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_popconfirm_src_mainvue_type_script_lang_js_ = popconfirm_src_mainvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/popconfirm/src/main.vue\n\n /* normalize component */\n\n var popconfirm_src_main_component = normalizeComponent(packages_popconfirm_src_mainvue_type_script_lang_js_, mainvue_type_template_id_048de730_render, mainvue_type_template_id_048de730_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var popconfirm_src_main_api;\n }\n\n popconfirm_src_main_component.options.__file = \"packages/popconfirm/src/main.vue\";\n /* harmony default export */\n\n var popconfirm_src_main = popconfirm_src_main_component.exports; // CONCATENATED MODULE: ./packages/popconfirm/index.js\n\n /* istanbul ignore next */\n\n popconfirm_src_main.install = function (Vue) {\n Vue.component(popconfirm_src_main.name, popconfirm_src_main);\n };\n /* harmony default export */\n\n\n var popconfirm = popconfirm_src_main; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/index.vue?vue&type=template&id=7f659269&\n\n var srcvue_type_template_id_7f659269_render = function srcvue_type_template_id_7f659269_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", [_vm.uiLoading ? [_c(\"div\", _vm._b({\n \"class\": [\"el-skeleton\", _vm.animated ? \"is-animated\" : \"\"]\n }, \"div\", _vm.$attrs, false), [_vm._l(_vm.count, function (i) {\n return [_vm.loading ? _vm._t(\"template\", _vm._l(_vm.rows, function (item) {\n return _c(\"el-skeleton-item\", {\n key: i + \"-\" + item,\n \"class\": {\n \"el-skeleton__paragraph\": item !== 1,\n \"is-first\": item === 1,\n \"is-last\": item === _vm.rows && _vm.rows > 1\n },\n attrs: {\n variant: \"p\"\n }\n });\n })) : _vm._e()];\n })], 2)] : [_vm._t(\"default\", null, null, _vm.$attrs)]], 2);\n };\n\n var srcvue_type_template_id_7f659269_staticRenderFns = [];\n srcvue_type_template_id_7f659269_render._withStripped = true; // CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=template&id=7f659269&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/index.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var skeleton_srcvue_type_script_lang_js_ = {\n name: 'ElSkeleton',\n props: {\n animated: {\n type: Boolean,\n \"default\": false\n },\n count: {\n type: Number,\n \"default\": 1\n },\n rows: {\n type: Number,\n \"default\": 4\n },\n loading: {\n type: Boolean,\n \"default\": true\n },\n throttle: {\n type: Number,\n \"default\": 0\n }\n },\n watch: {\n loading: {\n handler: function handler(loading) {\n var _this = this;\n\n if (this.throttle <= 0) {\n this.uiLoading = loading;\n return;\n }\n\n if (loading) {\n clearTimeout(this.timeoutHandle);\n this.timeoutHandle = setTimeout(function () {\n _this.uiLoading = _this.loading;\n }, this.throttle);\n } else {\n this.uiLoading = loading;\n }\n },\n immediate: true\n }\n },\n data: function data() {\n return {\n uiLoading: this.throttle <= 0 ? this.loading : false\n };\n }\n }; // CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_skeleton_srcvue_type_script_lang_js_ = skeleton_srcvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/skeleton/src/index.vue\n\n /* normalize component */\n\n var skeleton_src_component = normalizeComponent(packages_skeleton_srcvue_type_script_lang_js_, srcvue_type_template_id_7f659269_render, srcvue_type_template_id_7f659269_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var skeleton_src_api;\n }\n\n skeleton_src_component.options.__file = \"packages/skeleton/src/index.vue\";\n /* harmony default export */\n\n var skeleton_src = skeleton_src_component.exports; // CONCATENATED MODULE: ./packages/skeleton/index.js\n\n /* istanbul ignore next */\n\n skeleton_src.install = function (Vue) {\n Vue.component(skeleton_src.name, skeleton_src);\n };\n /* harmony default export */\n\n\n var skeleton = skeleton_src; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/item.vue?vue&type=template&id=4bc8804c&\n\n var itemvue_type_template_id_4bc8804c_render = function itemvue_type_template_id_4bc8804c_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [\"el-skeleton__item\", \"el-skeleton__\" + _vm.variant]\n }, [_vm.variant === \"image\" ? _c(\"img-placeholder\") : _vm._e()], 1);\n };\n\n var itemvue_type_template_id_4bc8804c_staticRenderFns = [];\n itemvue_type_template_id_4bc8804c_render._withStripped = true; // CONCATENATED MODULE: ./packages/skeleton/src/item.vue?vue&type=template&id=4bc8804c&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/img-placeholder.vue?vue&type=template&id=1b2cb5c0&\n\n var img_placeholdervue_type_template_id_1b2cb5c0_render = function img_placeholdervue_type_template_id_1b2cb5c0_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"svg\", {\n attrs: {\n viewBox: \"0 0 1024 1024\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }\n }, [_c(\"path\", {\n attrs: {\n d: \"M64 896V128h896v768H64z m64-128l192-192 116.352 116.352L640 448l256 307.2V192H128v576z m224-480a96 96 0 1 1-0.064 192.064A96 96 0 0 1 352 288z\"\n }\n })]);\n };\n\n var img_placeholdervue_type_template_id_1b2cb5c0_staticRenderFns = [];\n img_placeholdervue_type_template_id_1b2cb5c0_render._withStripped = true; // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=template&id=1b2cb5c0&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var img_placeholdervue_type_script_lang_js_ = {\n name: 'ImgPlaceholder'\n }; // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_img_placeholdervue_type_script_lang_js_ = img_placeholdervue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue\n\n /* normalize component */\n\n var img_placeholder_component = normalizeComponent(src_img_placeholdervue_type_script_lang_js_, img_placeholdervue_type_template_id_1b2cb5c0_render, img_placeholdervue_type_template_id_1b2cb5c0_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var img_placeholder_api;\n }\n\n img_placeholder_component.options.__file = \"packages/skeleton/src/img-placeholder.vue\";\n /* harmony default export */\n\n var img_placeholder = img_placeholder_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/skeleton/src/item.vue?vue&type=script&lang=js&\n\n var _components; //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var skeleton_src_itemvue_type_script_lang_js_ = {\n name: 'ElSkeletonItem',\n props: {\n variant: {\n type: String,\n \"default\": 'text'\n }\n },\n components: (_components = {}, _components[img_placeholder.name] = img_placeholder, _components)\n }; // CONCATENATED MODULE: ./packages/skeleton/src/item.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_skeleton_src_itemvue_type_script_lang_js_ = skeleton_src_itemvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/skeleton/src/item.vue\n\n /* normalize component */\n\n var skeleton_src_item_component = normalizeComponent(packages_skeleton_src_itemvue_type_script_lang_js_, itemvue_type_template_id_4bc8804c_render, itemvue_type_template_id_4bc8804c_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var skeleton_src_item_api;\n }\n\n skeleton_src_item_component.options.__file = \"packages/skeleton/src/item.vue\";\n /* harmony default export */\n\n var skeleton_src_item = skeleton_src_item_component.exports; // CONCATENATED MODULE: ./packages/skeleton-item/index.js\n\n /* istanbul ignore next */\n\n skeleton_src_item.install = function (Vue) {\n Vue.component(skeleton_src_item.name, skeleton_src_item);\n };\n /* harmony default export */\n\n\n var skeleton_item = skeleton_src_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/index.vue?vue&type=template&id=347ced91&\n\n var srcvue_type_template_id_347ced91_render = function srcvue_type_template_id_347ced91_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-empty\"\n }, [_c(\"div\", {\n staticClass: \"el-empty__image\",\n style: _vm.imageStyle\n }, [_vm.image ? _c(\"img\", {\n attrs: {\n src: _vm.image,\n ondragstart: \"return false\"\n }\n }) : _vm._t(\"image\", [_c(\"img-empty\")])], 2), _c(\"div\", {\n staticClass: \"el-empty__description\"\n }, [_vm.$slots.description ? _vm._t(\"description\") : _c(\"p\", [_vm._v(_vm._s(_vm.emptyDescription))])], 2), _vm.$slots[\"default\"] ? _c(\"div\", {\n staticClass: \"el-empty__bottom\"\n }, [_vm._t(\"default\")], 2) : _vm._e()]);\n };\n\n var srcvue_type_template_id_347ced91_staticRenderFns = [];\n srcvue_type_template_id_347ced91_render._withStripped = true; // CONCATENATED MODULE: ./packages/empty/src/index.vue?vue&type=template&id=347ced91&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/img-empty.vue?vue&type=template&id=42918b82&\n\n var img_emptyvue_type_template_id_42918b82_render = function img_emptyvue_type_template_id_42918b82_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"svg\", {\n attrs: {\n viewBox: \"0 0 79 86\",\n version: \"1.1\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\"\n }\n }, [_c(\"defs\", [_c(\"linearGradient\", {\n attrs: {\n id: \"linearGradient-1-\" + _vm.id,\n x1: \"38.8503086%\",\n y1: \"0%\",\n x2: \"61.1496914%\",\n y2: \"100%\"\n }\n }, [_c(\"stop\", {\n attrs: {\n \"stop-color\": \"#FCFCFD\",\n offset: \"0%\"\n }\n }), _c(\"stop\", {\n attrs: {\n \"stop-color\": \"#EEEFF3\",\n offset: \"100%\"\n }\n })], 1), _c(\"linearGradient\", {\n attrs: {\n id: \"linearGradient-2-\" + _vm.id,\n x1: \"0%\",\n y1: \"9.5%\",\n x2: \"100%\",\n y2: \"90.5%\"\n }\n }, [_c(\"stop\", {\n attrs: {\n \"stop-color\": \"#FCFCFD\",\n offset: \"0%\"\n }\n }), _c(\"stop\", {\n attrs: {\n \"stop-color\": \"#E9EBEF\",\n offset: \"100%\"\n }\n })], 1), _c(\"rect\", {\n attrs: {\n id: \"path-3-\" + _vm.id,\n x: \"0\",\n y: \"0\",\n width: \"17\",\n height: \"36\"\n }\n })], 1), _c(\"g\", {\n attrs: {\n id: \"Illustrations\",\n stroke: \"none\",\n \"stroke-width\": \"1\",\n fill: \"none\",\n \"fill-rule\": \"evenodd\"\n }\n }, [_c(\"g\", {\n attrs: {\n id: \"B-type\",\n transform: \"translate(-1268.000000, -535.000000)\"\n }\n }, [_c(\"g\", {\n attrs: {\n id: \"Group-2\",\n transform: \"translate(1268.000000, 535.000000)\"\n }\n }, [_c(\"path\", {\n attrs: {\n id: \"Oval-Copy-2\",\n d: \"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z\",\n fill: \"#F7F8FC\"\n }\n }), _c(\"polygon\", {\n attrs: {\n id: \"Rectangle-Copy-14\",\n fill: \"#E5E7E9\",\n transform: \"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) \",\n points: \"13 58 53 58 42 45 2 45\"\n }\n }), _c(\"g\", {\n attrs: {\n id: \"Group-Copy\",\n transform: \"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)\"\n }\n }, [_c(\"polygon\", {\n attrs: {\n id: \"Rectangle-Copy-10\",\n fill: \"#E5E7E9\",\n transform: \"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) \",\n points: \"2.84078316e-14 3 18 3 23 7 5 7\"\n }\n }), _c(\"polygon\", {\n attrs: {\n id: \"Rectangle-Copy-11\",\n fill: \"#EDEEF2\",\n points: \"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43\"\n }\n }), _c(\"rect\", {\n attrs: {\n id: \"Rectangle-Copy-12\",\n fill: \"url(#linearGradient-1-\" + _vm.id + \")\",\n transform: \"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) \",\n x: \"38\",\n y: \"7\",\n width: \"17\",\n height: \"36\"\n }\n }), _c(\"polygon\", {\n attrs: {\n id: \"Rectangle-Copy-13\",\n fill: \"#F8F9FB\",\n transform: \"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) \",\n points: \"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12\"\n }\n })]), _c(\"rect\", {\n attrs: {\n id: \"Rectangle-Copy-15\",\n fill: \"url(#linearGradient-2-\" + _vm.id + \")\",\n x: \"13\",\n y: \"45\",\n width: \"40\",\n height: \"36\"\n }\n }), _c(\"g\", {\n attrs: {\n id: \"Rectangle-Copy-17\",\n transform: \"translate(53.000000, 45.000000)\"\n }\n }, [_c(\"mask\", {\n attrs: {\n id: \"mask-4-\" + _vm.id,\n fill: \"white\"\n }\n }, [_c(\"use\", {\n attrs: {\n \"xlink:href\": \"#path-3-\" + _vm.id\n }\n })]), _c(\"use\", {\n attrs: {\n id: \"Mask\",\n fill: \"#E0E3E9\",\n transform: \"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) \",\n \"xlink:href\": \"#path-3-\" + _vm.id\n }\n }), _c(\"polygon\", {\n attrs: {\n id: \"Rectangle-Copy\",\n fill: \"#D5D7DE\",\n mask: \"url(#mask-4-\" + _vm.id + \")\",\n transform: \"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) \",\n points: \"7 0 24 0 20 18 -1.70530257e-13 16\"\n }\n })]), _c(\"polygon\", {\n attrs: {\n id: \"Rectangle-Copy-18\",\n fill: \"#F8F9FB\",\n transform: \"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) \",\n points: \"62 45 79 45 70 58 53 58\"\n }\n })])])])]);\n };\n\n var img_emptyvue_type_template_id_42918b82_staticRenderFns = [];\n img_emptyvue_type_template_id_42918b82_render._withStripped = true; // CONCATENATED MODULE: ./packages/empty/src/img-empty.vue?vue&type=template&id=42918b82&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/img-empty.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var img_emptyvue_type_script_lang_js_id = 0;\n /* harmony default export */\n\n var img_emptyvue_type_script_lang_js_ = {\n name: 'ImgEmpty',\n data: function data() {\n return {\n id: ++img_emptyvue_type_script_lang_js_id\n };\n }\n }; // CONCATENATED MODULE: ./packages/empty/src/img-empty.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_img_emptyvue_type_script_lang_js_ = img_emptyvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/empty/src/img-empty.vue\n\n /* normalize component */\n\n var img_empty_component = normalizeComponent(src_img_emptyvue_type_script_lang_js_, img_emptyvue_type_template_id_42918b82_render, img_emptyvue_type_template_id_42918b82_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var img_empty_api;\n }\n\n img_empty_component.options.__file = \"packages/empty/src/img-empty.vue\";\n /* harmony default export */\n\n var img_empty = img_empty_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/index.vue?vue&type=script&lang=js&\n\n var srcvue_type_script_lang_js_components; //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var empty_srcvue_type_script_lang_js_ = {\n name: 'ElEmpty',\n components: (srcvue_type_script_lang_js_components = {}, srcvue_type_script_lang_js_components[img_empty.name] = img_empty, srcvue_type_script_lang_js_components),\n props: {\n image: {\n type: String,\n \"default\": ''\n },\n imageSize: Number,\n description: {\n type: String,\n \"default\": ''\n }\n },\n computed: {\n emptyDescription: function emptyDescription() {\n return this.description || Object(lib_locale_[\"t\"])('el.empty.description');\n },\n imageStyle: function imageStyle() {\n return {\n width: this.imageSize ? this.imageSize + 'px' : ''\n };\n }\n }\n }; // CONCATENATED MODULE: ./packages/empty/src/index.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_empty_srcvue_type_script_lang_js_ = empty_srcvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/empty/src/index.vue\n\n /* normalize component */\n\n var empty_src_component = normalizeComponent(packages_empty_srcvue_type_script_lang_js_, srcvue_type_template_id_347ced91_render, srcvue_type_template_id_347ced91_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var empty_src_api;\n }\n\n empty_src_component.options.__file = \"packages/empty/src/index.vue\";\n /* harmony default export */\n\n var empty_src = empty_src_component.exports; // CONCATENATED MODULE: ./packages/empty/index.js\n\n empty_src.install = function (Vue) {\n Vue.component(empty_src.name, empty_src);\n };\n /* harmony default export */\n\n\n var empty = empty_src; // CONCATENATED MODULE: ./packages/descriptions/src/descriptions-row.js\n\n var descriptions_row_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 /* harmony default export */\n\n\n var descriptions_row = {\n name: 'ElDescriptionsRow',\n props: {\n row: {\n type: Array\n }\n },\n inject: ['elDescriptions'],\n render: function render(h) {\n var elDescriptions = this.elDescriptions;\n var row = (this.row || []).map(function (item) {\n return descriptions_row_extends({}, item, {\n label: item.slots.label || item.props.label\n }, ['labelClassName', 'contentClassName', 'labelStyle', 'contentStyle'].reduce(function (res, key) {\n res[key] = item.props[key] || elDescriptions[key];\n return res;\n }, {}));\n });\n\n if (elDescriptions.direction === 'vertical') {\n return h('tbody', [h('tr', {\n 'class': 'el-descriptions-row'\n }, [row.map(function (item) {\n var _ref;\n\n return h('th', {\n 'class': (_ref = {\n 'el-descriptions-item__cell': true,\n 'el-descriptions-item__label': true,\n 'has-colon': elDescriptions.border ? false : elDescriptions.colon,\n 'is-bordered-label': elDescriptions.border\n }, _ref[item.labelClassName] = true, _ref),\n style: item.labelStyle,\n attrs: {\n colSpan: item.props.span\n }\n }, [item.label]);\n })]), h('tr', {\n 'class': 'el-descriptions-row'\n }, [row.map(function (item) {\n return h('td', {\n 'class': ['el-descriptions-item__cell', 'el-descriptions-item__content', item.contentClassName],\n style: item.contentStyle,\n attrs: {\n colSpan: item.props.span\n }\n }, [item.slots[\"default\"]]);\n })])]);\n }\n\n if (elDescriptions.border) {\n return h('tbody', [h('tr', {\n 'class': 'el-descriptions-row'\n }, [row.map(function (item) {\n var _ref2;\n\n return [h('th', {\n 'class': (_ref2 = {\n 'el-descriptions-item__cell': true,\n 'el-descriptions-item__label': true,\n 'is-bordered-label': elDescriptions.border\n }, _ref2[item.labelClassName] = true, _ref2),\n style: item.labelStyle,\n attrs: {\n colSpan: '1'\n }\n }, [item.label]), h('td', {\n 'class': ['el-descriptions-item__cell', 'el-descriptions-item__content', item.contentClassName],\n style: item.contentStyle,\n attrs: {\n colSpan: item.props.span * 2 - 1\n }\n }, [item.slots[\"default\"]])];\n })])]);\n }\n\n return h('tbody', [h('tr', {\n 'class': 'el-descriptions-row'\n }, [row.map(function (item) {\n var _ref3;\n\n return h('td', {\n 'class': 'el-descriptions-item el-descriptions-item__cell',\n attrs: {\n colSpan: item.props.span\n }\n }, [h('div', {\n 'class': 'el-descriptions-item__container'\n }, [h('span', {\n 'class': (_ref3 = {\n 'el-descriptions-item__label': true,\n 'has-colon': elDescriptions.colon\n }, _ref3[item.labelClassName] = true, _ref3),\n style: item.labelStyle\n }, [item.label]), h('span', {\n 'class': ['el-descriptions-item__content', item.contentClassName],\n style: item.contentStyle\n }, [item.slots[\"default\"]])])]);\n })])]);\n }\n }; // CONCATENATED MODULE: ./packages/descriptions/src/index.js\n\n var src_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 src_components;\n /* harmony default export */\n\n var descriptions_src = {\n name: 'ElDescriptions',\n components: (src_components = {}, src_components[descriptions_row.name] = descriptions_row, src_components),\n props: {\n border: {\n type: Boolean,\n \"default\": false\n },\n column: {\n type: Number,\n \"default\": 3\n },\n direction: {\n type: String,\n \"default\": 'horizontal'\n },\n size: {\n type: String // validator: isValidComponentSize,\n\n },\n title: {\n type: String,\n \"default\": ''\n },\n extra: {\n type: String,\n \"default\": ''\n },\n labelStyle: {\n type: Object\n },\n contentStyle: {\n type: Object\n },\n labelClassName: {\n type: String,\n \"default\": ''\n },\n contentClassName: {\n type: String,\n \"default\": ''\n },\n colon: {\n type: Boolean,\n \"default\": true\n }\n },\n computed: {\n descriptionsSize: function descriptionsSize() {\n return this.size || (this.$ELEMENT || {}).size;\n }\n },\n provide: function provide() {\n return {\n elDescriptions: this\n };\n },\n methods: {\n getOptionProps: function getOptionProps(vnode) {\n if (vnode.componentOptions) {\n var componentOptions = vnode.componentOptions;\n var _componentOptions$pro = componentOptions.propsData,\n propsData = _componentOptions$pro === undefined ? {} : _componentOptions$pro,\n _componentOptions$Cto = componentOptions.Ctor,\n Ctor = _componentOptions$Cto === undefined ? {} : _componentOptions$Cto;\n var props = (Ctor.options || {}).props || {};\n var res = {};\n\n for (var k in props) {\n var v = props[k];\n var defaultValue = v[\"default\"];\n\n if (defaultValue !== undefined) {\n res[k] = Object(types_[\"isFunction\"])(defaultValue) ? defaultValue.call(vnode) : defaultValue;\n }\n }\n\n return src_extends({}, res, propsData);\n }\n\n return {};\n },\n getSlots: function getSlots(vnode) {\n var _this = this;\n\n var componentOptions = vnode.componentOptions || {};\n var children = vnode.children || componentOptions.children || [];\n var slots = {};\n children.forEach(function (child) {\n if (!_this.isEmptyElement(child)) {\n var name = child.data && child.data.slot || 'default';\n slots[name] = slots[name] || [];\n\n if (child.tag === 'template') {\n slots[name].push(child.children);\n } else {\n slots[name].push(child);\n }\n }\n });\n return src_extends({}, slots);\n },\n isEmptyElement: function isEmptyElement(c) {\n return !(c.tag || c.text && c.text.trim() !== '');\n },\n filledNode: function filledNode(node, span, count) {\n var isLast = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n\n if (!node.props) {\n node.props = {};\n }\n\n if (span > count) {\n node.props.span = count;\n }\n\n if (isLast) {\n // set the max span, cause of the last td\n node.props.span = count;\n }\n\n return node;\n },\n getRows: function getRows() {\n var _this2 = this;\n\n var children = (this.$slots[\"default\"] || []).filter(function (vnode) {\n return vnode.tag && vnode.componentOptions && vnode.componentOptions.Ctor.options.name === 'ElDescriptionsItem';\n });\n var nodes = children.map(function (vnode) {\n return {\n props: _this2.getOptionProps(vnode),\n slots: _this2.getSlots(vnode),\n vnode: vnode\n };\n });\n var rows = [];\n var temp = [];\n var count = this.column;\n nodes.forEach(function (node, index) {\n var span = node.props.span || 1;\n\n if (index === children.length - 1) {\n temp.push(_this2.filledNode(node, span, count, true));\n rows.push(temp);\n return;\n }\n\n if (span < count) {\n count -= span;\n temp.push(node);\n } else {\n temp.push(_this2.filledNode(node, span, count));\n rows.push(temp);\n count = _this2.column;\n temp = [];\n }\n });\n return rows;\n }\n },\n render: function render() {\n var h = arguments[0];\n var title = this.title,\n extra = this.extra,\n border = this.border,\n descriptionsSize = this.descriptionsSize,\n $slots = this.$slots;\n var rows = this.getRows();\n return h('div', {\n 'class': 'el-descriptions'\n }, [title || extra || $slots.title || $slots.extra ? h('div', {\n 'class': 'el-descriptions__header'\n }, [h('div', {\n 'class': 'el-descriptions__title'\n }, [$slots.title ? $slots.title : title]), h('div', {\n 'class': 'el-descriptions__extra'\n }, [$slots.extra ? $slots.extra : extra])]) : null, h('div', {\n 'class': 'el-descriptions__body'\n }, [h('table', {\n 'class': ['el-descriptions__table', {\n 'is-bordered': border\n }, descriptionsSize ? 'el-descriptions--' + descriptionsSize : '']\n }, [rows.map(function (row) {\n return h(descriptions_row, {\n attrs: {\n row: row\n }\n });\n })])])]);\n }\n }; // CONCATENATED MODULE: ./packages/descriptions/index.js\n\n /* istanbul ignore next */\n\n descriptions_src.install = function install(Vue) {\n Vue.component(descriptions_src.name, descriptions_src);\n };\n /* harmony default export */\n\n\n var descriptions = descriptions_src; // CONCATENATED MODULE: ./packages/descriptions/src/descriptions-item.js\n\n /* harmony default export */\n\n var descriptions_item = {\n name: 'ElDescriptionsItem',\n props: {\n label: {\n type: String,\n \"default\": ''\n },\n span: {\n type: Number,\n \"default\": 1\n },\n contentClassName: {\n type: String,\n \"default\": ''\n },\n contentStyle: {\n type: Object\n },\n labelClassName: {\n type: String,\n \"default\": ''\n },\n labelStyle: {\n type: Object\n }\n },\n render: function render() {\n return null;\n }\n }; // CONCATENATED MODULE: ./packages/descriptions-item/index.js\n\n /* istanbul ignore next */\n\n descriptions_item.install = function install(Vue) {\n Vue.component(descriptions_item.name, descriptions_item);\n };\n /* harmony default export */\n\n\n var packages_descriptions_item = descriptions_item; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/index.vue?vue&type=template&id=3408b139&\n\n var srcvue_type_template_id_3408b139_render = function srcvue_type_template_id_3408b139_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-result\"\n }, [_c(\"div\", {\n staticClass: \"el-result__icon\"\n }, [_vm._t(\"icon\", [_c(_vm.iconElement, {\n tag: \"component\",\n \"class\": _vm.iconElement\n })])], 2), _vm.title || _vm.$slots.title ? _c(\"div\", {\n staticClass: \"el-result__title\"\n }, [_vm._t(\"title\", [_c(\"p\", [_vm._v(_vm._s(_vm.title))])])], 2) : _vm._e(), _vm.subTitle || _vm.$slots.subTitle ? _c(\"div\", {\n staticClass: \"el-result__subtitle\"\n }, [_vm._t(\"subTitle\", [_c(\"p\", [_vm._v(_vm._s(_vm.subTitle))])])], 2) : _vm._e(), _vm.$slots.extra ? _c(\"div\", {\n staticClass: \"el-result__extra\"\n }, [_vm._t(\"extra\")], 2) : _vm._e()]);\n };\n\n var srcvue_type_template_id_3408b139_staticRenderFns = [];\n srcvue_type_template_id_3408b139_render._withStripped = true; // CONCATENATED MODULE: ./packages/result/src/index.vue?vue&type=template&id=3408b139&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-success.vue?vue&type=template&id=18119418&\n\n var icon_successvue_type_template_id_18119418_render = function icon_successvue_type_template_id_18119418_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"svg\", {\n attrs: {\n viewBox: \"0 0 48 48\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }\n }, [_c(\"path\", {\n attrs: {\n d: \"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M34.5548098,16.4485711 C33.9612228,15.8504763 32.9988282,15.8504763 32.4052412,16.4485711 L32.4052412,16.4485711 L21.413757,27.5805811 L21.413757,27.5805811 L21.4034642,27.590855 C21.0097542,27.9781674 20.3766105,27.9729811 19.9892981,27.5792711 L19.9892981,27.5792711 L15.5947588,23.1121428 C15.0011718,22.514048 14.0387772,22.514048 13.4451902,23.1121428 C12.8516033,23.7102376 12.8516033,24.6799409 13.4451902,25.2780357 L13.4451902,25.2780357 L19.6260786,31.5514289 C20.2196656,32.1495237 21.1820602,32.1495237 21.7756472,31.5514289 L21.7756472,31.5514289 L34.5548098,18.614464 C35.1483967,18.0163692 35.1483967,17.0466659 34.5548098,16.4485711 Z\"\n }\n })]);\n };\n\n var icon_successvue_type_template_id_18119418_staticRenderFns = [];\n icon_successvue_type_template_id_18119418_render._withStripped = true; // CONCATENATED MODULE: ./packages/result/src/icon-success.vue?vue&type=template&id=18119418&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-success.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var icon_successvue_type_script_lang_js_ = {\n name: 'IconSuccess'\n }; // CONCATENATED MODULE: ./packages/result/src/icon-success.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_icon_successvue_type_script_lang_js_ = icon_successvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/result/src/icon-success.vue\n\n /* normalize component */\n\n var icon_success_component = normalizeComponent(src_icon_successvue_type_script_lang_js_, icon_successvue_type_template_id_18119418_render, icon_successvue_type_template_id_18119418_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var icon_success_api;\n }\n\n icon_success_component.options.__file = \"packages/result/src/icon-success.vue\";\n /* harmony default export */\n\n var icon_success = icon_success_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-error.vue?vue&type=template&id=21199246&\n\n var icon_errorvue_type_template_id_21199246_render = function icon_errorvue_type_template_id_21199246_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"svg\", {\n attrs: {\n viewBox: \"0 0 48 48\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }\n }, [_c(\"path\", {\n attrs: {\n d: \"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.57818,15.42182 C32.0157534,14.8593933 31.1038797,14.8593933 30.541453,15.42182 L30.541453,15.42182 L24.0006789,21.9625941 L17.458547,15.42182 C16.8961203,14.8593933 15.9842466,14.8593933 15.42182,15.42182 C14.8593933,15.9842466 14.8593933,16.8961203 15.42182,17.458547 L15.42182,17.458547 L21.9639519,23.9993211 L15.42182,30.541453 C14.8593933,31.1038797 14.8593933,32.0157534 15.42182,32.57818 C15.9842466,33.1406067 16.8961203,33.1406067 17.458547,32.57818 L17.458547,32.57818 L24.0006789,26.0360481 L30.541453,32.57818 C31.1038797,33.1406067 32.0157534,33.1406067 32.57818,32.57818 C33.1406067,32.0157534 33.1406067,31.1038797 32.57818,30.541453 L32.57818,30.541453 L26.0374059,23.9993211 L32.57818,17.458547 C33.1406067,16.8961203 33.1406067,15.9842466 32.57818,15.42182 Z\"\n }\n })]);\n };\n\n var icon_errorvue_type_template_id_21199246_staticRenderFns = [];\n icon_errorvue_type_template_id_21199246_render._withStripped = true; // CONCATENATED MODULE: ./packages/result/src/icon-error.vue?vue&type=template&id=21199246&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-error.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var icon_errorvue_type_script_lang_js_ = {\n name: 'IconError'\n }; // CONCATENATED MODULE: ./packages/result/src/icon-error.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_icon_errorvue_type_script_lang_js_ = icon_errorvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/result/src/icon-error.vue\n\n /* normalize component */\n\n var icon_error_component = normalizeComponent(src_icon_errorvue_type_script_lang_js_, icon_errorvue_type_template_id_21199246_render, icon_errorvue_type_template_id_21199246_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var icon_error_api;\n }\n\n icon_error_component.options.__file = \"packages/result/src/icon-error.vue\";\n /* harmony default export */\n\n var icon_error = icon_error_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-warning.vue?vue&type=template&id=46fe8f31&\n\n var icon_warningvue_type_template_id_46fe8f31_render = function icon_warningvue_type_template_id_46fe8f31_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"svg\", {\n attrs: {\n viewBox: \"0 0 48 48\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }\n }, [_c(\"path\", {\n attrs: {\n d: \"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M24,31 C22.8954305,31 22,31.8954305 22,33 C22,34.1045695 22.8954305,35 24,35 C25.1045695,35 26,34.1045695 26,33 C26,31.8954305 25.1045695,31 24,31 Z M24,14 C23.1715729,14 22.5,14.6715729 22.5,15.5 L22.5,15.5 L22.5,27.5 C22.5,28.3284271 23.1715729,29 24,29 C24.8284271,29 25.5,28.3284271 25.5,27.5 L25.5,27.5 L25.5,15.5 C25.5,14.6715729 24.8284271,14 24,14 Z\"\n }\n })]);\n };\n\n var icon_warningvue_type_template_id_46fe8f31_staticRenderFns = [];\n icon_warningvue_type_template_id_46fe8f31_render._withStripped = true; // CONCATENATED MODULE: ./packages/result/src/icon-warning.vue?vue&type=template&id=46fe8f31&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-warning.vue?vue&type=script&lang=ts&\n\n /* harmony default export */\n\n var icon_warningvue_type_script_lang_ts_ = {\n name: 'IconWarning'\n }; // CONCATENATED MODULE: ./packages/result/src/icon-warning.vue?vue&type=script&lang=ts&\n\n /* harmony default export */\n\n var src_icon_warningvue_type_script_lang_ts_ = icon_warningvue_type_script_lang_ts_; // CONCATENATED MODULE: ./packages/result/src/icon-warning.vue\n\n /* normalize component */\n\n var icon_warning_component = normalizeComponent(src_icon_warningvue_type_script_lang_ts_, icon_warningvue_type_template_id_46fe8f31_render, icon_warningvue_type_template_id_46fe8f31_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var icon_warning_api;\n }\n\n icon_warning_component.options.__file = \"packages/result/src/icon-warning.vue\";\n /* harmony default export */\n\n var icon_warning = icon_warning_component.exports; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-info.vue?vue&type=template&id=19e3de69&\n\n var icon_infovue_type_template_id_19e3de69_render = function icon_infovue_type_template_id_19e3de69_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"svg\", {\n attrs: {\n viewBox: \"0 0 48 48\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }\n }, [_c(\"path\", {\n attrs: {\n d: \"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M24,19 L21,19 C20.1715729,19 19.5,19.6715729 19.5,20.5 C19.5,21.3284271 20.1715729,22 21,22 L21,22 L22.5,22 L22.5,31 L21,31 C20.1715729,31 19.5,31.6715729 19.5,32.5 C19.5,33.3284271 20.1715729,34 21,34 L21,34 L27,34 C27.8284271,34 28.5,33.3284271 28.5,32.5 C28.5,31.6715729 27.8284271,31 27,31 L27,31 L25.5,31 L25.5,20.5 C25.5,19.6715729 24.8284271,19 24,19 L24,19 Z M24,13 C22.8954305,13 22,13.8954305 22,15 C22,16.1045695 22.8954305,17 24,17 C25.1045695,17 26,16.1045695 26,15 C26,13.8954305 25.1045695,13 24,13 Z\"\n }\n })]);\n };\n\n var icon_infovue_type_template_id_19e3de69_staticRenderFns = [];\n icon_infovue_type_template_id_19e3de69_render._withStripped = true; // CONCATENATED MODULE: ./packages/result/src/icon-info.vue?vue&type=template&id=19e3de69&\n // CONCATENATED MODULE: ./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/icon-info.vue?vue&type=script&lang=ts&\n\n /* harmony default export */\n\n var icon_infovue_type_script_lang_ts_ = {\n name: 'IconInfo'\n }; // CONCATENATED MODULE: ./packages/result/src/icon-info.vue?vue&type=script&lang=ts&\n\n /* harmony default export */\n\n var src_icon_infovue_type_script_lang_ts_ = icon_infovue_type_script_lang_ts_; // CONCATENATED MODULE: ./packages/result/src/icon-info.vue\n\n /* normalize component */\n\n var icon_info_component = normalizeComponent(src_icon_infovue_type_script_lang_ts_, icon_infovue_type_template_id_19e3de69_render, icon_infovue_type_template_id_19e3de69_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var icon_info_api;\n }\n\n icon_info_component.options.__file = \"packages/result/src/icon-info.vue\";\n /* harmony default export */\n\n var icon_info = icon_info_component.exports; // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/result/src/index.vue?vue&type=script&lang=js&\n\n var result_srcvue_type_script_lang_js_components; //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n var IconMap = {\n success: 'icon-success',\n warning: 'icon-warning',\n error: 'icon-error',\n info: 'icon-info'\n };\n /* harmony default export */\n\n var result_srcvue_type_script_lang_js_ = {\n name: 'ElResult',\n components: (result_srcvue_type_script_lang_js_components = {}, result_srcvue_type_script_lang_js_components[icon_success.name] = icon_success, result_srcvue_type_script_lang_js_components[icon_error.name] = icon_error, result_srcvue_type_script_lang_js_components[icon_warning.name] = icon_warning, result_srcvue_type_script_lang_js_components[icon_info.name] = icon_info, result_srcvue_type_script_lang_js_components),\n props: {\n title: {\n type: String,\n \"default\": ''\n },\n subTitle: {\n type: String,\n \"default\": ''\n },\n icon: {\n type: String,\n \"default\": 'info'\n }\n },\n computed: {\n iconElement: function iconElement() {\n var icon = this.icon;\n return icon && IconMap[icon] ? IconMap[icon] : 'icon-info';\n }\n }\n }; // CONCATENATED MODULE: ./packages/result/src/index.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var packages_result_srcvue_type_script_lang_js_ = result_srcvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/result/src/index.vue\n\n /* normalize component */\n\n var result_src_component = normalizeComponent(packages_result_srcvue_type_script_lang_js_, srcvue_type_template_id_3408b139_render, srcvue_type_template_id_3408b139_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var result_src_api;\n }\n\n result_src_component.options.__file = \"packages/result/src/index.vue\";\n /* harmony default export */\n\n var result_src = result_src_component.exports; // CONCATENATED MODULE: ./packages/result/index.js\n\n /* istanbul ignore next */\n\n result_src.install = function (Vue) {\n Vue.component(result_src.name, result_src);\n };\n /* harmony default export */\n\n\n var packages_result = result_src; // CONCATENATED MODULE: ./src/index.js\n\n /* Automatically generated by './build/bin/build-entry.js' */\n\n var components = [packages_pagination, dialog, packages_autocomplete, packages_dropdown, packages_dropdown_menu, packages_dropdown_item, packages_menu, packages_submenu, packages_menu_item, packages_menu_item_group, packages_input, packages_input_number, packages_radio, packages_radio_group, packages_radio_button, packages_checkbox, packages_checkbox_button, packages_checkbox_group, packages_switch, packages_select, packages_option, packages_option_group, packages_button, packages_button_group, packages_table, packages_table_column, packages_date_picker, packages_time_select, packages_time_picker, popover, packages_tooltip, packages_breadcrumb, packages_breadcrumb_item, packages_form, packages_form_item, packages_tabs, packages_tab_pane, packages_tag, packages_tree, packages_alert, slider, packages_icon, packages_row, packages_col, packages_upload, packages_progress, packages_spinner, badge, card, packages_rate, packages_steps, packages_step, carousel, scrollbar, carousel_item, packages_collapse, packages_collapse_item, packages_cascader, color_picker, transfer, packages_container, header, aside, packages_main, footer, timeline, timeline_item, packages_link, divider, packages_image, calendar, backtop, page_header, packages_cascader_panel, avatar, drawer, statistic, popconfirm, skeleton, skeleton_item, empty, descriptions, packages_descriptions_item, packages_result, collapse_transition_default.a];\n\n var src_install = function install(Vue) {\n var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n lib_locale_default.a.use(opts.locale);\n lib_locale_default.a.i18n(opts.i18n);\n components.forEach(function (component) {\n Vue.component(component.name, component);\n });\n Vue.use(infinite_scroll);\n Vue.use(packages_loading.directive);\n Vue.prototype.$ELEMENT = {\n size: opts.size || '',\n zIndex: opts.zIndex || 2000\n };\n Vue.prototype.$loading = packages_loading.service;\n Vue.prototype.$msgbox = message_box;\n Vue.prototype.$alert = message_box.alert;\n Vue.prototype.$confirm = message_box.confirm;\n Vue.prototype.$prompt = message_box.prompt;\n Vue.prototype.$notify = notification;\n Vue.prototype.$message = packages_message;\n };\n /* istanbul ignore if */\n\n\n if (typeof window !== 'undefined' && window.Vue) {\n src_install(window.Vue);\n }\n /* harmony default export */\n\n\n var src_0 = __webpack_exports__[\"default\"] = {\n version: '2.15.14',\n locale: lib_locale_default.a.use,\n i18n: lib_locale_default.a.i18n,\n install: src_install,\n CollapseTransition: collapse_transition_default.a,\n Loading: packages_loading,\n Pagination: packages_pagination,\n Dialog: dialog,\n Autocomplete: packages_autocomplete,\n Dropdown: packages_dropdown,\n DropdownMenu: packages_dropdown_menu,\n DropdownItem: packages_dropdown_item,\n Menu: packages_menu,\n Submenu: packages_submenu,\n MenuItem: packages_menu_item,\n MenuItemGroup: packages_menu_item_group,\n Input: packages_input,\n InputNumber: packages_input_number,\n Radio: packages_radio,\n RadioGroup: packages_radio_group,\n RadioButton: packages_radio_button,\n Checkbox: packages_checkbox,\n CheckboxButton: packages_checkbox_button,\n CheckboxGroup: packages_checkbox_group,\n Switch: packages_switch,\n Select: packages_select,\n Option: packages_option,\n OptionGroup: packages_option_group,\n Button: packages_button,\n ButtonGroup: packages_button_group,\n Table: packages_table,\n TableColumn: packages_table_column,\n DatePicker: packages_date_picker,\n TimeSelect: packages_time_select,\n TimePicker: packages_time_picker,\n Popover: popover,\n Tooltip: packages_tooltip,\n MessageBox: message_box,\n Breadcrumb: packages_breadcrumb,\n BreadcrumbItem: packages_breadcrumb_item,\n Form: packages_form,\n FormItem: packages_form_item,\n Tabs: packages_tabs,\n TabPane: packages_tab_pane,\n Tag: packages_tag,\n Tree: packages_tree,\n Alert: packages_alert,\n Notification: notification,\n Slider: slider,\n Icon: packages_icon,\n Row: packages_row,\n Col: packages_col,\n Upload: packages_upload,\n Progress: packages_progress,\n Spinner: packages_spinner,\n Message: packages_message,\n Badge: badge,\n Card: card,\n Rate: packages_rate,\n Steps: packages_steps,\n Step: packages_step,\n Carousel: carousel,\n Scrollbar: scrollbar,\n CarouselItem: carousel_item,\n Collapse: packages_collapse,\n CollapseItem: packages_collapse_item,\n Cascader: packages_cascader,\n ColorPicker: color_picker,\n Transfer: transfer,\n Container: packages_container,\n Header: header,\n Aside: aside,\n Main: packages_main,\n Footer: footer,\n Timeline: timeline,\n TimelineItem: timeline_item,\n Link: packages_link,\n Divider: divider,\n Image: packages_image,\n Calendar: calendar,\n Backtop: backtop,\n InfiniteScroll: infinite_scroll,\n PageHeader: page_header,\n CascaderPanel: packages_cascader_panel,\n Avatar: avatar,\n Drawer: drawer,\n Statistic: statistic,\n Popconfirm: popconfirm,\n Skeleton: skeleton,\n SkeletonItem: skeleton_item,\n Empty: empty,\n Descriptions: descriptions,\n DescriptionsItem: packages_descriptions_item,\n Result: packages_result\n };\n /***/\n}])[\"default\"];","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nexport { DEBUG_BUILD };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { getValueByPath } from 'element-ui/src/utils/util';\nexport var getCell = function getCell(event) {\n var cell = event.target;\n\n while (cell && cell.tagName.toUpperCase() !== 'HTML') {\n if (cell.tagName.toUpperCase() === 'TD') {\n return cell;\n }\n\n cell = cell.parentNode;\n }\n\n return null;\n};\n\nvar isObject = function isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n};\n\nexport var orderBy = function orderBy(array, sortKey, reverse, sortMethod, sortBy) {\n if (!sortKey && !sortMethod && (!sortBy || Array.isArray(sortBy) && !sortBy.length)) {\n return array;\n }\n\n if (typeof reverse === 'string') {\n reverse = reverse === 'descending' ? -1 : 1;\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1;\n }\n\n var getKey = sortMethod ? null : function (value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy];\n }\n\n return sortBy.map(function (by) {\n if (typeof by === 'string') {\n return getValueByPath(value, by);\n } else {\n return by(value, index, array);\n }\n });\n }\n\n if (sortKey !== '$key') {\n if (isObject(value) && '$value' in value) value = value.$value;\n }\n\n return [isObject(value) ? getValueByPath(value, sortKey) : value];\n };\n\n var compare = function compare(a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value);\n }\n\n for (var i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1;\n }\n\n if (a.key[i] > b.key[i]) {\n return 1;\n }\n }\n\n return 0;\n };\n\n return array.map(function (value, index) {\n return {\n value: value,\n index: index,\n key: getKey ? getKey(value, index) : null\n };\n }).sort(function (a, b) {\n var order = compare(a, b);\n\n if (!order) {\n // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability\n order = a.index - b.index;\n }\n\n return order * reverse;\n }).map(function (item) {\n return item.value;\n });\n};\nexport var getColumnById = function getColumnById(table, columnId) {\n var column = null;\n table.columns.forEach(function (item) {\n if (item.id === columnId) {\n column = item;\n }\n });\n return column;\n};\nexport var getColumnByKey = function getColumnByKey(table, columnKey) {\n var column = null;\n\n for (var i = 0; i < table.columns.length; i++) {\n var item = table.columns[i];\n\n if (item.columnKey === columnKey) {\n column = item;\n break;\n }\n }\n\n return column;\n};\nexport var getColumnByCell = function getColumnByCell(table, cell) {\n var matches = (cell.className || '').match(/el-table_[^\\s]+/gm);\n\n if (matches) {\n return getColumnById(table, matches[0]);\n }\n\n return null;\n};\nexport var getRowIdentity = function getRowIdentity(row, rowKey) {\n if (!row) throw new Error('row is required when get row identity');\n\n if (typeof rowKey === 'string') {\n if (rowKey.indexOf('.') < 0) {\n return row[rowKey];\n }\n\n var key = rowKey.split('.');\n var current = row;\n\n for (var i = 0; i < key.length; i++) {\n current = current[key[i]];\n }\n\n return current;\n } else if (typeof rowKey === 'function') {\n return rowKey.call(null, row);\n }\n};\nexport var getKeysMap = function getKeysMap(array, rowKey) {\n var arrayMap = {};\n (array || []).forEach(function (row, index) {\n arrayMap[getRowIdentity(row, rowKey)] = {\n row: row,\n index: index\n };\n });\n return arrayMap;\n};\n\nfunction hasOwn(obj, key) {\n return Object.prototype.hasOwnProperty.call(obj, key);\n}\n\nexport function mergeOptions(defaults, config) {\n var options = {};\n var key;\n\n for (key in defaults) {\n options[key] = defaults[key];\n }\n\n for (key in config) {\n if (hasOwn(config, key)) {\n var value = config[key];\n\n if (typeof value !== 'undefined') {\n options[key] = value;\n }\n }\n }\n\n return options;\n}\nexport function parseWidth(width) {\n if (width !== undefined) {\n width = parseInt(width, 10);\n\n if (isNaN(width)) {\n width = null;\n }\n }\n\n return width;\n}\nexport function parseMinWidth(minWidth) {\n if (typeof minWidth !== 'undefined') {\n minWidth = parseWidth(minWidth);\n\n if (isNaN(minWidth)) {\n minWidth = 80;\n }\n }\n\n return minWidth;\n}\n;\nexport function parseHeight(height) {\n if (typeof height === 'number') {\n return height;\n }\n\n if (typeof height === 'string') {\n if (/^\\d+(?:px)?$/.test(height)) {\n return parseInt(height, 10);\n } else {\n return height;\n }\n }\n\n return null;\n} // https://github.com/reduxjs/redux/blob/master/src/compose.js\n\nexport function 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}\nexport function toggleRowStatus(statusArr, row, newVal) {\n var changed = false;\n var index = statusArr.indexOf(row);\n var included = index !== -1;\n\n var addRow = function addRow() {\n statusArr.push(row);\n changed = true;\n };\n\n var removeRow = function removeRow() {\n statusArr.splice(index, 1);\n changed = true;\n };\n\n if (typeof newVal === 'boolean') {\n if (newVal && !included) {\n addRow();\n } else if (!newVal && included) {\n removeRow();\n }\n } else {\n if (included) {\n removeRow();\n } else {\n addRow();\n }\n }\n\n return changed;\n}\nexport function walkTreeNode(root, cb) {\n var childrenKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'children';\n var lazyKey = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'hasChildren';\n\n var isNil = function isNil(array) {\n return !(Array.isArray(array) && array.length);\n };\n\n function _walker(parent, children, level) {\n cb(parent, children, level);\n children.forEach(function (item) {\n if (item[lazyKey]) {\n cb(item, null, level + 1);\n return;\n }\n\n var children = item[childrenKey];\n\n if (!isNil(children)) {\n _walker(item, children, level + 1);\n }\n });\n }\n\n root.forEach(function (item) {\n if (item[lazyKey]) {\n cb(item, null, 0);\n return;\n }\n\n var children = item[childrenKey];\n\n if (!isNil(children)) {\n _walker(item, children, 0);\n }\n });\n}\nexport var objectEquals = function objectEquals(objectA, objectB) {\n // å–对象aå’Œb的属性å\n var aProps = Object.getOwnPropertyNames(objectA);\n var bProps = Object.getOwnPropertyNames(objectB); // 判æ–属性åçš„length是å¦ä¸€è‡´\n\n if (aProps.length !== bProps.length) {\n return false;\n } // 循环å–出属性å,å†åˆ¤æ–属性值是å¦ä¸€è‡´\n\n\n for (var i = 0; i < aProps.length; i++) {\n var propName = aProps[i];\n\n if (objectA[propName] !== objectB[propName]) {\n return false;\n }\n }\n\n return true;\n};","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\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); return Constructor; }\n\nimport { isThenable, uuid4, dateTimestampInSeconds, consoleSandbox, logger, GLOBAL_OBJ, getGlobalSingleton } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { Scope } from './scope.js';\nimport { closeSession, makeSession, updateSession } from './session.js';\nimport { SDK_VERSION } from './version.js';\n/**\n * API compatibility version of this hub.\n *\n * WARNING: This number should only be increased when the global interface\n * changes and new methods are introduced.\n *\n * @hidden\n */\n\nvar API_VERSION = parseFloat(SDK_VERSION);\n/**\n * Default maximum number of breadcrumbs added to an event. Can be overwritten\n * with {@link Options.maxBreadcrumbs}.\n */\n\nvar DEFAULT_BREADCRUMBS = 100;\n/**\n * @inheritDoc\n */\n\nvar Hub =\n/*#__PURE__*/\nfunction () {\n /** Is a {@link Layer}[] containing the client and scope */\n\n /** Contains the last event id of a captured event. */\n\n /**\n * Creates a new instance of the hub, will push one {@link Layer} into the\n * internal stack on creation.\n *\n * @param client bound to the hub.\n * @param scope bound to the hub.\n * @param version number, higher number means higher priority.\n *\n * @deprecated Instantiation of Hub objects is deprecated and the constructor will be removed in version 8 of the SDK.\n *\n * If you are currently using the Hub for multi-client use like so:\n *\n * ```\n * // OLD\n * const hub = new Hub();\n * hub.bindClient(client);\n * makeMain(hub)\n * ```\n *\n * instead initialize the client as follows:\n *\n * ```\n * // NEW\n * Sentry.withIsolationScope(() => {\n * Sentry.setCurrentClient(client);\n * client.init();\n * });\n * ```\n *\n * If you are using the Hub to capture events like so:\n *\n * ```\n * // OLD\n * const client = new Client();\n * const hub = new Hub(client);\n * hub.captureException()\n * ```\n *\n * instead capture isolated events as follows:\n *\n * ```\n * // NEW\n * const client = new Client();\n * const scope = new Scope();\n * scope.setClient(client);\n * scope.captureException();\n * ```\n */\n function Hub(client, scope, isolationScope) {\n var _version = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : API_VERSION;\n\n _classCallCheck(this, Hub);\n\n this._version = _version;\n var assignedScope;\n\n if (!scope) {\n assignedScope = new Scope();\n assignedScope.setClient(client);\n } else {\n assignedScope = scope;\n }\n\n var assignedIsolationScope;\n\n if (!isolationScope) {\n assignedIsolationScope = new Scope();\n assignedIsolationScope.setClient(client);\n } else {\n assignedIsolationScope = isolationScope;\n }\n\n this._stack = [{\n scope: assignedScope\n }];\n\n if (client) {\n // eslint-disable-next-line deprecation/deprecation\n this.bindClient(client);\n }\n\n this._isolationScope = assignedIsolationScope;\n }\n /**\n * Checks if this hub's version is older than the given version.\n *\n * @param version A version number to compare to.\n * @return True if the given version is newer; otherwise false.\n *\n * @deprecated This will be removed in v8.\n */\n\n\n _createClass(Hub, [{\n key: \"isOlderThan\",\n value: function isOlderThan(version) {\n return this._version < version;\n }\n /**\n * This binds the given client to the current scope.\n * @param client An SDK client (client) instance.\n *\n * @deprecated Use `initAndBind()` directly, or `setCurrentClient()` and/or `client.init()` instead.\n */\n\n }, {\n key: \"bindClient\",\n value: function bindClient(client) {\n // eslint-disable-next-line deprecation/deprecation\n var top = this.getStackTop();\n top.client = client;\n top.scope.setClient(client); // eslint-disable-next-line deprecation/deprecation\n\n if (client && client.setupIntegrations) {\n // eslint-disable-next-line deprecation/deprecation\n client.setupIntegrations();\n }\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `withScope` instead.\n */\n\n }, {\n key: \"pushScope\",\n value: function pushScope() {\n // We want to clone the content of prev scope\n // eslint-disable-next-line deprecation/deprecation\n var scope = this.getScope().clone(); // eslint-disable-next-line deprecation/deprecation\n\n this.getStack().push({\n // eslint-disable-next-line deprecation/deprecation\n client: this.getClient(),\n scope: scope\n });\n return scope;\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `withScope` instead.\n */\n\n }, {\n key: \"popScope\",\n value: function popScope() {\n // eslint-disable-next-line deprecation/deprecation\n if (this.getStack().length <= 1) return false; // eslint-disable-next-line deprecation/deprecation\n\n return !!this.getStack().pop();\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.withScope()` instead.\n */\n\n }, {\n key: \"withScope\",\n value: function withScope(callback) {\n var _this = this;\n\n // eslint-disable-next-line deprecation/deprecation\n var scope = this.pushScope();\n var maybePromiseResult;\n\n try {\n maybePromiseResult = callback(scope);\n } catch (e) {\n // eslint-disable-next-line deprecation/deprecation\n this.popScope();\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n // @ts-expect-error - isThenable returns the wrong type\n return maybePromiseResult.then(function (res) {\n // eslint-disable-next-line deprecation/deprecation\n _this.popScope();\n\n return res;\n }, function (e) {\n // eslint-disable-next-line deprecation/deprecation\n _this.popScope();\n\n throw e;\n });\n } // eslint-disable-next-line deprecation/deprecation\n\n\n this.popScope();\n return maybePromiseResult;\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.getClient()` instead.\n */\n\n }, {\n key: \"getClient\",\n value: function getClient() {\n // eslint-disable-next-line deprecation/deprecation\n return this.getStackTop().client;\n }\n /**\n * Returns the scope of the top stack.\n *\n * @deprecated Use `Sentry.getCurrentScope()` instead.\n */\n\n }, {\n key: \"getScope\",\n value: function getScope() {\n // eslint-disable-next-line deprecation/deprecation\n return this.getStackTop().scope;\n }\n /**\n * @deprecated Use `Sentry.getIsolationScope()` instead.\n */\n\n }, {\n key: \"getIsolationScope\",\n value: function getIsolationScope() {\n return this._isolationScope;\n }\n /**\n * Returns the scope stack for domains or the process.\n * @deprecated This will be removed in v8.\n */\n\n }, {\n key: \"getStack\",\n value: function getStack() {\n return this._stack;\n }\n /**\n * Returns the topmost scope layer in the order domain > local > process.\n * @deprecated This will be removed in v8.\n */\n\n }, {\n key: \"getStackTop\",\n value: function getStackTop() {\n return this._stack[this._stack.length - 1];\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureException()` instead.\n */\n\n }, {\n key: \"captureException\",\n value: function captureException(exception, hint) {\n var eventId = this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4();\n var syntheticException = new Error('Sentry syntheticException'); // eslint-disable-next-line deprecation/deprecation\n\n this.getScope().captureException(exception, _objectSpread(_objectSpread({\n originalException: exception,\n syntheticException: syntheticException\n }, hint), {}, {\n event_id: eventId\n }));\n return eventId;\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureMessage()` instead.\n */\n\n }, {\n key: \"captureMessage\",\n value: function captureMessage(message, // eslint-disable-next-line deprecation/deprecation\n level, hint) {\n var eventId = this._lastEventId = hint && hint.event_id ? hint.event_id : uuid4();\n var syntheticException = new Error(message); // eslint-disable-next-line deprecation/deprecation\n\n this.getScope().captureMessage(message, level, _objectSpread(_objectSpread({\n originalException: message,\n syntheticException: syntheticException\n }, hint), {}, {\n event_id: eventId\n }));\n return eventId;\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.captureEvent()` instead.\n */\n\n }, {\n key: \"captureEvent\",\n value: function captureEvent(event, hint) {\n var eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!event.type) {\n this._lastEventId = eventId;\n } // eslint-disable-next-line deprecation/deprecation\n\n\n this.getScope().captureEvent(event, _objectSpread(_objectSpread({}, hint), {}, {\n event_id: eventId\n }));\n return eventId;\n }\n /**\n * @inheritDoc\n *\n * @deprecated This will be removed in v8.\n */\n\n }, {\n key: \"lastEventId\",\n value: function lastEventId() {\n return this._lastEventId;\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `Sentry.addBreadcrumb()` instead.\n */\n\n }, {\n key: \"addBreadcrumb\",\n value: function addBreadcrumb(breadcrumb, hint) {\n // eslint-disable-next-line deprecation/deprecation\n var _this$getStackTop = this.getStackTop(),\n scope = _this$getStackTop.scope,\n client = _this$getStackTop.client;\n\n if (!client) return;\n\n var _ref = client.getOptions && client.getOptions() || {},\n _ref$beforeBreadcrumb = _ref.beforeBreadcrumb,\n beforeBreadcrumb = _ref$beforeBreadcrumb === void 0 ? null : _ref$beforeBreadcrumb,\n _ref$maxBreadcrumbs = _ref.maxBreadcrumbs,\n maxBreadcrumbs = _ref$maxBreadcrumbs === void 0 ? DEFAULT_BREADCRUMBS : _ref$maxBreadcrumbs;\n\n if (maxBreadcrumbs <= 0) return;\n var timestamp = dateTimestampInSeconds();\n\n var mergedBreadcrumb = _objectSpread({\n timestamp: timestamp\n }, breadcrumb);\n\n var finalBreadcrumb = beforeBreadcrumb ? consoleSandbox(function () {\n return beforeBreadcrumb(mergedBreadcrumb, hint);\n }) : mergedBreadcrumb;\n if (finalBreadcrumb === null) return;\n\n if (client.emit) {\n client.emit('beforeAddBreadcrumb', finalBreadcrumb, hint);\n } // TODO(v8): I know this comment doesn't make much sense because the hub will be deprecated but I still wanted to\n // write it down. In theory, we would have to add the breadcrumbs to the isolation scope here, however, that would\n // duplicate all of the breadcrumbs. There was the possibility of adding breadcrumbs to both, the isolation scope\n // and the normal scope, and deduplicating it down the line in the event processing pipeline. However, that would\n // have been very fragile, because the breadcrumb objects would have needed to keep their identity all throughout\n // the event processing pipeline.\n // In the new implementation, the top level `Sentry.addBreadcrumb()` should ONLY write to the isolation scope.\n\n\n scope.addBreadcrumb(finalBreadcrumb, maxBreadcrumbs);\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setUser()` instead.\n */\n\n }, {\n key: \"setUser\",\n value: function setUser(user) {\n // TODO(v8): The top level `Sentry.setUser()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setUser(user); // eslint-disable-next-line deprecation/deprecation\n\n this.getIsolationScope().setUser(user);\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setTags()` instead.\n */\n\n }, {\n key: \"setTags\",\n value: function setTags(tags) {\n // TODO(v8): The top level `Sentry.setTags()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setTags(tags); // eslint-disable-next-line deprecation/deprecation\n\n this.getIsolationScope().setTags(tags);\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setExtras()` instead.\n */\n\n }, {\n key: \"setExtras\",\n value: function setExtras(extras) {\n // TODO(v8): The top level `Sentry.setExtras()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setExtras(extras); // eslint-disable-next-line deprecation/deprecation\n\n this.getIsolationScope().setExtras(extras);\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setTag()` instead.\n */\n\n }, {\n key: \"setTag\",\n value: function setTag(key, value) {\n // TODO(v8): The top level `Sentry.setTag()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setTag(key, value); // eslint-disable-next-line deprecation/deprecation\n\n this.getIsolationScope().setTag(key, value);\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setExtra()` instead.\n */\n\n }, {\n key: \"setExtra\",\n value: function setExtra(key, extra) {\n // TODO(v8): The top level `Sentry.setExtra()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setExtra(key, extra); // eslint-disable-next-line deprecation/deprecation\n\n this.getIsolationScope().setExtra(key, extra);\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.setContext()` instead.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n }, {\n key: \"setContext\",\n value: function setContext(name, context) {\n // TODO(v8): The top level `Sentry.setContext()` function should write ONLY to the isolation scope.\n // eslint-disable-next-line deprecation/deprecation\n this.getScope().setContext(name, context); // eslint-disable-next-line deprecation/deprecation\n\n this.getIsolationScope().setContext(name, context);\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use `getScope()` directly.\n */\n\n }, {\n key: \"configureScope\",\n value: function configureScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n var _this$getStackTop2 = this.getStackTop(),\n scope = _this$getStackTop2.scope,\n client = _this$getStackTop2.client;\n\n if (client) {\n callback(scope);\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"run\",\n value: function run(callback) {\n // eslint-disable-next-line deprecation/deprecation\n var oldHub = makeMain(this);\n\n try {\n callback(this);\n } finally {\n // eslint-disable-next-line deprecation/deprecation\n makeMain(oldHub);\n }\n }\n /**\n * @inheritDoc\n * @deprecated Use `Sentry.getClient().getIntegrationByName()` instead.\n */\n\n }, {\n key: \"getIntegration\",\n value: function getIntegration(integration) {\n // eslint-disable-next-line deprecation/deprecation\n var client = this.getClient();\n if (!client) return null;\n\n try {\n // eslint-disable-next-line deprecation/deprecation\n return client.getIntegration(integration);\n } catch (_oO) {\n DEBUG_BUILD && logger.warn(\"Cannot retrieve integration \".concat(integration.id, \" from the current Hub\"));\n return null;\n }\n }\n /**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\n\n }, {\n key: \"startTransaction\",\n value: function startTransaction(context, customSamplingContext) {\n var result = this._callExtensionMethod('startTransaction', context, customSamplingContext);\n\n if (DEBUG_BUILD && !result) {\n // eslint-disable-next-line deprecation/deprecation\n var client = this.getClient();\n\n if (!client) {\n logger.warn(\"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'\");\n } else {\n logger.warn(\"Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\\nSentry.addTracingExtensions();\\nSentry.init({...});\\n\");\n }\n }\n\n return result;\n }\n /**\n * @inheritDoc\n * @deprecated Use `spanToTraceHeader()` instead.\n */\n\n }, {\n key: \"traceHeaders\",\n value: function traceHeaders() {\n return this._callExtensionMethod('traceHeaders');\n }\n /**\n * @inheritDoc\n *\n * @deprecated Use top level `captureSession` instead.\n */\n\n }, {\n key: \"captureSession\",\n value: function captureSession() {\n var endSession = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n // both send the update and pull the session from the scope\n if (endSession) {\n // eslint-disable-next-line deprecation/deprecation\n return this.endSession();\n } // only send the update\n\n\n this._sendSessionUpdate();\n }\n /**\n * @inheritDoc\n * @deprecated Use top level `endSession` instead.\n */\n\n }, {\n key: \"endSession\",\n value: function endSession() {\n // eslint-disable-next-line deprecation/deprecation\n var layer = this.getStackTop();\n var scope = layer.scope;\n var session = scope.getSession();\n\n if (session) {\n closeSession(session);\n }\n\n this._sendSessionUpdate(); // the session is over; take it off of the scope\n\n\n scope.setSession();\n }\n /**\n * @inheritDoc\n * @deprecated Use top level `startSession` instead.\n */\n\n }, {\n key: \"startSession\",\n value: function startSession(context) {\n // eslint-disable-next-line deprecation/deprecation\n var _this$getStackTop3 = this.getStackTop(),\n scope = _this$getStackTop3.scope,\n client = _this$getStackTop3.client;\n\n var _ref2 = client && client.getOptions() || {},\n release = _ref2.release,\n _ref2$environment = _ref2.environment,\n environment = _ref2$environment === void 0 ? DEFAULT_ENVIRONMENT : _ref2$environment; // Will fetch userAgent if called from browser sdk\n\n\n var _ref3 = GLOBAL_OBJ.navigator || {},\n userAgent = _ref3.userAgent;\n\n var session = makeSession(_objectSpread(_objectSpread({\n release: release,\n environment: environment,\n user: scope.getUser()\n }, userAgent && {\n userAgent: userAgent\n }), context)); // End existing session if there's one\n\n var currentSession = scope.getSession && scope.getSession();\n\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, {\n status: 'exited'\n });\n } // eslint-disable-next-line deprecation/deprecation\n\n\n this.endSession(); // Afterwards we set the new session on the scope\n\n scope.setSession(session);\n return session;\n }\n /**\n * Returns if default PII should be sent to Sentry and propagated in ourgoing requests\n * when Tracing is used.\n *\n * @deprecated Use top-level `getClient().getOptions().sendDefaultPii` instead. This function\n * only unnecessarily increased API surface but only wrapped accessing the option.\n */\n\n }, {\n key: \"shouldSendDefaultPii\",\n value: function shouldSendDefaultPii() {\n // eslint-disable-next-line deprecation/deprecation\n var client = this.getClient();\n var options = client && client.getOptions();\n return Boolean(options && options.sendDefaultPii);\n }\n /**\n * Sends the current Session on the scope\n */\n\n }, {\n key: \"_sendSessionUpdate\",\n value: function _sendSessionUpdate() {\n // eslint-disable-next-line deprecation/deprecation\n var _this$getStackTop4 = this.getStackTop(),\n scope = _this$getStackTop4.scope,\n client = _this$getStackTop4.client;\n\n var session = scope.getSession();\n\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n }\n /**\n * Calls global extension method and binding current instance to the function call\n */\n // @ts-expect-error Function lacks ending return statement and return type does not include 'undefined'. ts(2366)\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n }, {\n key: \"_callExtensionMethod\",\n value: function _callExtensionMethod(method) {\n var carrier = getMainCarrier();\n var sentry = carrier.__SENTRY__;\n\n if (sentry && sentry.extensions && typeof sentry.extensions[method] === 'function') {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return sentry.extensions[method].apply(this, args);\n }\n\n DEBUG_BUILD && logger.warn(\"Extension method \".concat(method, \" couldn't be found, doing nothing.\"));\n }\n }]);\n\n return Hub;\n}();\n/**\n * Returns the global shim registry.\n *\n * FIXME: This function is problematic, because despite always returning a valid Carrier,\n * it has an optional `__SENTRY__` property, which then in turn requires us to always perform an unnecessary check\n * at the call-site. We always access the carrier through this function, so we can guarantee that `__SENTRY__` is there.\n **/\n\n\nfunction getMainCarrier() {\n GLOBAL_OBJ.__SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {\n extensions: {},\n hub: undefined\n };\n return GLOBAL_OBJ;\n}\n/**\n * Replaces the current main hub with the passed one on the global object\n *\n * @returns The old replaced hub\n *\n * @deprecated Use `setCurrentClient()` instead.\n */\n\n\nfunction makeMain(hub) {\n var registry = getMainCarrier();\n var oldHub = getHubFromCarrier(registry);\n setHubOnCarrier(registry, hub);\n return oldHub;\n}\n/**\n * Returns the default hub instance.\n *\n * If a hub is already registered in the global carrier but this module\n * contains a more recent version, it replaces the registered version.\n * Otherwise, the currently registered hub will be returned.\n *\n * @deprecated Use the respective replacement method directly instead.\n */\n\n\nfunction getCurrentHub() {\n // Get main carrier (global for every environment)\n var registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n var hub = registry.__SENTRY__.acs.getCurrentHub();\n\n if (hub) {\n return hub;\n }\n } // Return hub that lives on a global object\n\n\n return getGlobalHub(registry);\n}\n/**\n * Get the currently active isolation scope.\n * The isolation scope is active for the current exection context,\n * meaning that it will remain stable for the same Hub.\n */\n\n\nfunction getIsolationScope() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getIsolationScope();\n}\n\nfunction getGlobalHub() {\n var registry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getMainCarrier();\n\n // If there's no hub, or its an old API, assign a new one\n if (!hasHubOnCarrier(registry) || // eslint-disable-next-line deprecation/deprecation\n getHubFromCarrier(registry).isOlderThan(API_VERSION)) {\n // eslint-disable-next-line deprecation/deprecation\n setHubOnCarrier(registry, new Hub());\n } // Return hub that lives on a global object\n\n\n return getHubFromCarrier(registry);\n}\n/**\n * @private Private API with no semver guarantees!\n *\n * If the carrier does not contain a hub, a new hub is created with the global hub client and scope.\n */\n\n\nfunction ensureHubOnCarrier(carrier) {\n var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getGlobalHub();\n\n // If there's no hub on current domain, or it's an old API, assign a new one\n if (!hasHubOnCarrier(carrier) || // eslint-disable-next-line deprecation/deprecation\n getHubFromCarrier(carrier).isOlderThan(API_VERSION)) {\n // eslint-disable-next-line deprecation/deprecation\n var client = parent.getClient(); // eslint-disable-next-line deprecation/deprecation\n\n var scope = parent.getScope(); // eslint-disable-next-line deprecation/deprecation\n\n var isolationScope = parent.getIsolationScope(); // eslint-disable-next-line deprecation/deprecation\n\n setHubOnCarrier(carrier, new Hub(client, scope.clone(), isolationScope.clone()));\n }\n}\n/**\n * @private Private API with no semver guarantees!\n *\n * Sets the global async context strategy\n */\n\n\nfunction setAsyncContextStrategy(strategy) {\n // Get main carrier (global for every environment)\n var registry = getMainCarrier();\n registry.__SENTRY__ = registry.__SENTRY__ || {};\n registry.__SENTRY__.acs = strategy;\n}\n/**\n * Runs the supplied callback in its own async context. Async Context strategies are defined per SDK.\n *\n * @param callback The callback to run in its own async context\n * @param options Options to pass to the async context strategy\n * @returns The result of the callback\n */\n\n\nfunction runWithAsyncContext(callback) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var registry = getMainCarrier();\n\n if (registry.__SENTRY__ && registry.__SENTRY__.acs) {\n return registry.__SENTRY__.acs.runWithAsyncContext(callback, options);\n } // if there was no strategy, fallback to just calling the callback\n\n\n return callback();\n}\n/**\n * This will tell whether a carrier has a hub on it or not\n * @param carrier object\n */\n\n\nfunction hasHubOnCarrier(carrier) {\n return !!(carrier && carrier.__SENTRY__ && carrier.__SENTRY__.hub);\n}\n/**\n * This will create a new {@link Hub} and add to the passed object on\n * __SENTRY__.hub.\n * @param carrier object\n * @hidden\n */\n\n\nfunction getHubFromCarrier(carrier) {\n // eslint-disable-next-line deprecation/deprecation\n return getGlobalSingleton('hub', function () {\n return new Hub();\n }, carrier);\n}\n/**\n * This will set passed {@link Hub} on the passed object's __SENTRY__.hub attribute\n * @param carrier object\n * @param hub Hub\n * @returns A boolean indicating success or failure\n */\n\n\nfunction setHubOnCarrier(carrier, hub) {\n if (!carrier) return false;\n\n var __SENTRY__ = carrier.__SENTRY__ = carrier.__SENTRY__ || {};\n\n __SENTRY__.hub = hub;\n return true;\n}\n\nexport { API_VERSION, Hub, ensureHubOnCarrier, getCurrentHub, getHubFromCarrier, getIsolationScope, getMainCarrier, makeMain, runWithAsyncContext, setAsyncContextStrategy, setHubOnCarrier };","export default function buildLocalizeFn(args) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var context = options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n return valuesArray[index];\n };\n}","export default function buildMatchFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var value;\n\n if (Object.prototype.toString.call(parsePatterns) === '[object Array]') {\n value = parsePatterns.findIndex(function (pattern) {\n return pattern.test(string);\n });\n } else {\n value = findKey(parsePatterns, function (pattern) {\n return pattern.test(string);\n });\n }\n\n value = args.valueCallback ? args.valueCallback(value) : value;\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n// eslint-disable-next-line @typescript-eslint/unbound-method\nvar objectToString = Object.prototype.toString;\n/**\n * Checks whether given value's type is one of a few Error or Error-like\n * {@link isError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\nfunction isError(wat) {\n switch (objectToString.call(wat)) {\n case '[object Error]':\n case '[object Exception]':\n case '[object DOMException]':\n return true;\n\n default:\n return isInstanceOf(wat, Error);\n }\n}\n/**\n * Checks whether given value is an instance of the given built-in class.\n *\n * @param wat The value to be checked\n * @param className\n * @returns A boolean representing the result.\n */\n\n\nfunction isBuiltin(wat, className) {\n return objectToString.call(wat) === \"[object \".concat(className, \"]\");\n}\n/**\n * Checks whether given value's type is ErrorEvent\n * {@link isErrorEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isErrorEvent(wat) {\n return isBuiltin(wat, 'ErrorEvent');\n}\n/**\n * Checks whether given value's type is DOMError\n * {@link isDOMError}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isDOMError(wat) {\n return isBuiltin(wat, 'DOMError');\n}\n/**\n * Checks whether given value's type is DOMException\n * {@link isDOMException}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isDOMException(wat) {\n return isBuiltin(wat, 'DOMException');\n}\n/**\n * Checks whether given value's type is a string\n * {@link isString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isString(wat) {\n return isBuiltin(wat, 'String');\n}\n/**\n * Checks whether given string is parameterized\n * {@link isParameterizedString}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isParameterizedString(wat) {\n return _typeof(wat) === 'object' && wat !== null && '__sentry_template_string__' in wat && '__sentry_template_values__' in wat;\n}\n/**\n * Checks whether given value is a primitive (undefined, null, number, boolean, string, bigint, symbol)\n * {@link isPrimitive}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isPrimitive(wat) {\n return wat === null || isParameterizedString(wat) || _typeof(wat) !== 'object' && typeof wat !== 'function';\n}\n/**\n * Checks whether given value's type is an object literal, or a class instance.\n * {@link isPlainObject}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isPlainObject(wat) {\n return isBuiltin(wat, 'Object');\n}\n/**\n * Checks whether given value's type is an Event instance\n * {@link isEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isEvent(wat) {\n return typeof Event !== 'undefined' && isInstanceOf(wat, Event);\n}\n/**\n * Checks whether given value's type is an Element instance\n * {@link isElement}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isElement(wat) {\n return typeof Element !== 'undefined' && isInstanceOf(wat, Element);\n}\n/**\n * Checks whether given value's type is an regexp\n * {@link isRegExp}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isRegExp(wat) {\n return isBuiltin(wat, 'RegExp');\n}\n/**\n * Checks whether given value has a then function.\n * @param wat A value to be checked.\n */\n\n\nfunction isThenable(wat) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return Boolean(wat && wat.then && typeof wat.then === 'function');\n}\n/**\n * Checks whether given value's type is a SyntheticEvent\n * {@link isSyntheticEvent}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isSyntheticEvent(wat) {\n return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat;\n}\n/**\n * Checks whether given value is NaN\n * {@link isNaN}.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isNaN(wat) {\n return typeof wat === 'number' && wat !== wat;\n}\n/**\n * Checks whether given value's type is an instance of provided constructor.\n * {@link isInstanceOf}.\n *\n * @param wat A value to be checked.\n * @param base A constructor to be used in a check.\n * @returns A boolean representing the result.\n */\n\n\nfunction isInstanceOf(wat, base) {\n try {\n return wat instanceof base;\n } catch (_e) {\n return false;\n }\n}\n/**\n * Checks whether given value's type is a Vue ViewModel.\n *\n * @param wat A value to be checked.\n * @returns A boolean representing the result.\n */\n\n\nfunction isVueViewModel(wat) {\n // Not using Object.prototype.toString because in Vue 3 it would read the instance's Symbol(Symbol.toStringTag) property.\n return !!(_typeof(wat) === 'object' && wat !== null && (wat.__isVue || wat._isVue));\n}\n\nexport { isDOMError, isDOMException, isElement, isError, isErrorEvent, isEvent, isInstanceOf, isNaN, isParameterizedString, isPlainObject, isPrimitive, isRegExp, isString, isSyntheticEvent, isThenable, isVueViewModel };","import _isPlaceholder from './_isPlaceholder.js';\n/**\n * Optimized internal one-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry1(fn) {\n return function f1(a) {\n if (arguments.length === 0 || _isPlaceholder(a)) {\n return f1;\n } else {\n return fn.apply(this, arguments);\n }\n };\n}","export default function toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}","import { DEBUG_BUILD } from './debug-build.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n/** Prefix for logging strings */\n\nvar PREFIX = 'Sentry Logger ';\nvar CONSOLE_LEVELS = ['debug', 'info', 'warn', 'error', 'log', 'assert', 'trace'];\n/** This may be mutated by the console instrumentation. */\n\nvar originalConsoleMethods = {};\n/** JSDoc */\n\n/**\n * Temporarily disable sentry console instrumentations.\n *\n * @param callback The function to run against the original `console` messages\n * @returns The results of the callback\n */\n\nfunction consoleSandbox(callback) {\n if (!('console' in GLOBAL_OBJ)) {\n return callback();\n }\n\n var console = GLOBAL_OBJ.console;\n var wrappedFuncs = {};\n var wrappedLevels = Object.keys(originalConsoleMethods); // Restore all wrapped console methods\n\n wrappedLevels.forEach(function (level) {\n var originalConsoleMethod = originalConsoleMethods[level];\n wrappedFuncs[level] = console[level];\n console[level] = originalConsoleMethod;\n });\n\n try {\n return callback();\n } finally {\n // Revert restoration to wrapped state\n wrappedLevels.forEach(function (level) {\n console[level] = wrappedFuncs[level];\n });\n }\n}\n\nfunction makeLogger() {\n var enabled = false;\n var logger = {\n enable: function enable() {\n enabled = true;\n },\n disable: function disable() {\n enabled = false;\n },\n isEnabled: function isEnabled() {\n return enabled;\n }\n };\n\n if (DEBUG_BUILD) {\n CONSOLE_LEVELS.forEach(function (name) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n logger[name] = function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (enabled) {\n consoleSandbox(function () {\n var _GLOBAL_OBJ$console;\n\n (_GLOBAL_OBJ$console = GLOBAL_OBJ.console)[name].apply(_GLOBAL_OBJ$console, [\"\".concat(PREFIX, \"[\").concat(name, \"]:\")].concat(args));\n });\n }\n };\n });\n } else {\n CONSOLE_LEVELS.forEach(function (name) {\n logger[name] = function () {\n return undefined;\n };\n });\n }\n\n return logger;\n}\n\nvar logger = makeLogger();\nexport { CONSOLE_LEVELS, consoleSandbox, logger, originalConsoleMethods };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { htmlTreeAsString } from './browser.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { isError, isEvent, isInstanceOf, isElement, isPlainObject, isPrimitive } from './is.js';\nimport { logger } from './logger.js';\nimport { truncate } from './string.js';\n/**\n * Replace a method in an object with a wrapped version of itself.\n *\n * @param source An object that contains a method to be wrapped.\n * @param name The name of the method to be wrapped.\n * @param replacementFactory A higher-order function that takes the original version of the given method and returns a\n * wrapped version. Note: The function returned by `replacementFactory` needs to be a non-arrow function, in order to\n * preserve the correct value of `this`, and the original method must be called using `origMethod.call(this, <other\n * args>)` or `origMethod.apply(this, [<other args>])` (rather than being called directly), again to preserve `this`.\n * @returns void\n */\n\nfunction fill(source, name, replacementFactory) {\n if (!(name in source)) {\n return;\n }\n\n var original = source[name];\n var wrapped = replacementFactory(original); // Make sure it's a function first, as we need to attach an empty prototype for `defineProperties` to work\n // otherwise it'll throw \"TypeError: Object.defineProperties called on non-object\"\n\n if (typeof wrapped === 'function') {\n markFunctionWrapped(wrapped, original);\n }\n\n source[name] = wrapped;\n}\n/**\n * Defines a non-enumerable property on the given object.\n *\n * @param obj The object on which to set the property\n * @param name The name of the property to be set\n * @param value The value to which to set the property\n */\n\n\nfunction addNonEnumerableProperty(obj, name, value) {\n try {\n Object.defineProperty(obj, name, {\n // enumerable: false, // the default, so we can save on bundle size by not explicitly setting it\n value: value,\n writable: true,\n configurable: true\n });\n } catch (o_O) {\n DEBUG_BUILD && logger.log(\"Failed to add non-enumerable property \\\"\".concat(name, \"\\\" to object\"), obj);\n }\n}\n/**\n * Remembers the original function on the wrapped function and\n * patches up the prototype.\n *\n * @param wrapped the wrapper function\n * @param original the original function that gets wrapped\n */\n\n\nfunction markFunctionWrapped(wrapped, original) {\n try {\n var proto = original.prototype || {};\n wrapped.prototype = original.prototype = proto;\n addNonEnumerableProperty(wrapped, '__sentry_original__', original);\n } catch (o_O) {} // eslint-disable-line no-empty\n\n}\n/**\n * This extracts the original function if available. See\n * `markFunctionWrapped` for more information.\n *\n * @param func the function to unwrap\n * @returns the unwrapped version of the function if available.\n */\n\n\nfunction getOriginalFunction(func) {\n return func.__sentry_original__;\n}\n/**\n * Encodes given object into url-friendly format\n *\n * @param object An object that contains serializable values\n * @returns string Encoded\n */\n\n\nfunction urlEncode(object) {\n return Object.keys(object).map(function (key) {\n return \"\".concat(encodeURIComponent(key), \"=\").concat(encodeURIComponent(object[key]));\n }).join('&');\n}\n/**\n * Transforms any `Error` or `Event` into a plain object with all of their enumerable properties, and some of their\n * non-enumerable properties attached.\n *\n * @param value Initial source that we have to transform in order for it to be usable by the serializer\n * @returns An Event or Error turned into an object - or the value argurment itself, when value is neither an Event nor\n * an Error.\n */\n\n\nfunction convertToPlainObject(value) {\n if (isError(value)) {\n return _objectSpread({\n message: value.message,\n name: value.name,\n stack: value.stack\n }, getOwnProperties(value));\n } else if (isEvent(value)) {\n var newObj = _objectSpread({\n type: value.type,\n target: serializeEventTarget(value.target),\n currentTarget: serializeEventTarget(value.currentTarget)\n }, getOwnProperties(value));\n\n if (typeof CustomEvent !== 'undefined' && isInstanceOf(value, CustomEvent)) {\n newObj.detail = value.detail;\n }\n\n return newObj;\n } else {\n return value;\n }\n}\n/** Creates a string representation of the target of an `Event` object */\n\n\nfunction serializeEventTarget(target) {\n try {\n return isElement(target) ? htmlTreeAsString(target) : Object.prototype.toString.call(target);\n } catch (_oO) {\n return '<unknown>';\n }\n}\n/** Filters out all but an object's own properties */\n\n\nfunction getOwnProperties(obj) {\n if (_typeof(obj) === 'object' && obj !== null) {\n var extractedProps = {};\n\n for (var property in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, property)) {\n extractedProps[property] = obj[property];\n }\n }\n\n return extractedProps;\n } else {\n return {};\n }\n}\n/**\n * Given any captured exception, extract its keys and create a sorted\n * and truncated list that will be used inside the event message.\n * eg. `Non-error exception captured with keys: foo, bar, baz`\n */\n\n\nfunction extractExceptionKeysForMessage(exception) {\n var maxLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 40;\n var keys = Object.keys(convertToPlainObject(exception));\n keys.sort();\n\n if (!keys.length) {\n return '[object has no keys]';\n }\n\n if (keys[0].length >= maxLength) {\n return truncate(keys[0], maxLength);\n }\n\n for (var includedKeys = keys.length; includedKeys > 0; includedKeys--) {\n var serialized = keys.slice(0, includedKeys).join(', ');\n\n if (serialized.length > maxLength) {\n continue;\n }\n\n if (includedKeys === keys.length) {\n return serialized;\n }\n\n return truncate(serialized, maxLength);\n }\n\n return '';\n}\n/**\n * Given any object, return a new object having removed all fields whose value was `undefined`.\n * Works recursively on objects and arrays.\n *\n * Attention: This function keeps circular references in the returned object.\n */\n\n\nfunction dropUndefinedKeys(inputValue) {\n // This map keeps track of what already visited nodes map to.\n // Our Set - based memoBuilder doesn't work here because we want to the output object to have the same circular\n // references as the input object.\n var memoizationMap = new Map(); // This function just proxies `_dropUndefinedKeys` to keep the `memoBuilder` out of this function's API\n\n return _dropUndefinedKeys(inputValue, memoizationMap);\n}\n\nfunction _dropUndefinedKeys(inputValue, memoizationMap) {\n if (isPojo(inputValue)) {\n // If this node has already been visited due to a circular reference, return the object it was mapped to in the new object\n var memoVal = memoizationMap.get(inputValue);\n\n if (memoVal !== undefined) {\n return memoVal;\n }\n\n var returnValue = {}; // Store the mapping of this value in case we visit it again, in case of circular data\n\n memoizationMap.set(inputValue, returnValue);\n\n for (var _i = 0, _Object$keys = Object.keys(inputValue); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n\n if (typeof inputValue[key] !== 'undefined') {\n returnValue[key] = _dropUndefinedKeys(inputValue[key], memoizationMap);\n }\n }\n\n return returnValue;\n }\n\n if (Array.isArray(inputValue)) {\n // If this node has already been visited due to a circular reference, return the array it was mapped to in the new object\n var _memoVal = memoizationMap.get(inputValue);\n\n if (_memoVal !== undefined) {\n return _memoVal;\n }\n\n var _returnValue = []; // Store the mapping of this value in case we visit it again, in case of circular data\n\n memoizationMap.set(inputValue, _returnValue);\n inputValue.forEach(function (item) {\n _returnValue.push(_dropUndefinedKeys(item, memoizationMap));\n });\n return _returnValue;\n }\n\n return inputValue;\n}\n\nfunction isPojo(input) {\n if (!isPlainObject(input)) {\n return false;\n }\n\n try {\n var name = Object.getPrototypeOf(input).constructor.name;\n return !name || name === 'Object';\n } catch (e) {\n return true;\n }\n}\n/**\n * Ensure that something is an object.\n *\n * Turns `undefined` and `null` into `String`s and all other primitives into instances of their respective wrapper\n * classes (String, Boolean, Number, etc.). Acts as the identity function on non-primitives.\n *\n * @param wat The subject of the objectification\n * @returns A version of `wat` which can safely be used with `Object` class methods\n */\n\n\nfunction objectify(wat) {\n var objectified;\n\n switch (true) {\n case wat === undefined || wat === null:\n objectified = new String(wat);\n break;\n // Though symbols and bigints do have wrapper classes (`Symbol` and `BigInt`, respectively), for whatever reason\n // those classes don't have constructors which can be used with the `new` keyword. We therefore need to cast each as\n // an object in order to wrap it.\n\n case _typeof(wat) === 'symbol' || typeof wat === 'bigint':\n objectified = Object(wat);\n break;\n // this will catch the remaining primitives: `String`, `Number`, and `Boolean`\n\n case isPrimitive(wat):\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n objectified = new wat.constructor(wat);\n break;\n // by process of elimination, at this point we know that `wat` must already be an object\n\n default:\n objectified = wat;\n break;\n }\n\n return objectified;\n}\n\nexport { addNonEnumerableProperty, convertToPlainObject, dropUndefinedKeys, extractExceptionKeysForMessage, fill, getOriginalFunction, markFunctionWrapped, objectify, urlEncode };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nexport default function _isPlaceholder(a) {\n return a != null && _typeof(a) === 'object' && a['@@functional/placeholder'] === true;\n}","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { addNonEnumerableProperty } from './object.js';\nimport { snipLine } from './string.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n/**\n * UUID4 generator\n *\n * @returns string Generated UUID4.\n */\n\nfunction uuid4() {\n var gbl = GLOBAL_OBJ;\n var crypto = gbl.crypto || gbl.msCrypto;\n\n var getRandomByte = function getRandomByte() {\n return Math.random() * 16;\n };\n\n try {\n if (crypto && crypto.randomUUID) {\n return crypto.randomUUID().replace(/-/g, '');\n }\n\n if (crypto && crypto.getRandomValues) {\n getRandomByte = function getRandomByte() {\n // crypto.getRandomValues might return undefined instead of the typed array\n // in old Chromium versions (e.g. 23.0.1235.0 (151422))\n // However, `typedArray` is still filled in-place.\n // @see https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues#typedarray\n var typedArray = new Uint8Array(1);\n crypto.getRandomValues(typedArray);\n return typedArray[0];\n };\n }\n } catch (_) {} // some runtimes can crash invoking crypto\n // https://github.com/getsentry/sentry-javascript/issues/8935\n // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/2117523#2117523\n // Concatenating the following numbers as strings results in '10000000100040008000100000000000'\n\n\n return ([1e7] + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, function (c) {\n return (// eslint-disable-next-line no-bitwise\n (c ^ (getRandomByte() & 15) >> c / 4).toString(16)\n );\n });\n}\n\nfunction getFirstException(event) {\n return event.exception && event.exception.values ? event.exception.values[0] : undefined;\n}\n/**\n * Extracts either message or type+value from an event that can be used for user-facing logs\n * @returns event's description\n */\n\n\nfunction getEventDescription(event) {\n var message = event.message,\n eventId = event.event_id;\n\n if (message) {\n return message;\n }\n\n var firstException = getFirstException(event);\n\n if (firstException) {\n if (firstException.type && firstException.value) {\n return \"\".concat(firstException.type, \": \").concat(firstException.value);\n }\n\n return firstException.type || firstException.value || eventId || '<unknown>';\n }\n\n return eventId || '<unknown>';\n}\n/**\n * Adds exception values, type and value to an synthetic Exception.\n * @param event The event to modify.\n * @param value Value of the exception.\n * @param type Type of the exception.\n * @hidden\n */\n\n\nfunction addExceptionTypeValue(event, value, type) {\n var exception = event.exception = event.exception || {};\n var values = exception.values = exception.values || [];\n var firstException = values[0] = values[0] || {};\n\n if (!firstException.value) {\n firstException.value = value || '';\n }\n\n if (!firstException.type) {\n firstException.type = type || 'Error';\n }\n}\n/**\n * Adds exception mechanism data to a given event. Uses defaults if the second parameter is not passed.\n *\n * @param event The event to modify.\n * @param newMechanism Mechanism data to add to the event.\n * @hidden\n */\n\n\nfunction addExceptionMechanism(event, newMechanism) {\n var firstException = getFirstException(event);\n\n if (!firstException) {\n return;\n }\n\n var defaultMechanism = {\n type: 'generic',\n handled: true\n };\n var currentMechanism = firstException.mechanism;\n firstException.mechanism = _objectSpread(_objectSpread(_objectSpread({}, defaultMechanism), currentMechanism), newMechanism);\n\n if (newMechanism && 'data' in newMechanism) {\n var mergedData = _objectSpread(_objectSpread({}, currentMechanism && currentMechanism.data), newMechanism.data);\n\n firstException.mechanism.data = mergedData;\n }\n} // https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string\n\n\nvar SEMVER_REGEXP = /^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$/;\n/**\n * Represents Semantic Versioning object\n */\n\n/**\n * Parses input into a SemVer interface\n * @param input string representation of a semver version\n */\n\nfunction parseSemver(input) {\n var match = input.match(SEMVER_REGEXP) || [];\n var major = parseInt(match[1], 10);\n var minor = parseInt(match[2], 10);\n var patch = parseInt(match[3], 10);\n return {\n buildmetadata: match[5],\n major: isNaN(major) ? undefined : major,\n minor: isNaN(minor) ? undefined : minor,\n patch: isNaN(patch) ? undefined : patch,\n prerelease: match[4]\n };\n}\n/**\n * This function adds context (pre/post/line) lines to the provided frame\n *\n * @param lines string[] containing all lines\n * @param frame StackFrame that will be mutated\n * @param linesOfContext number of context lines we want to add pre/post\n */\n\n\nfunction addContextToFrame(lines, frame) {\n var linesOfContext = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 5;\n\n // When there is no line number in the frame, attaching context is nonsensical and will even break grouping\n if (frame.lineno === undefined) {\n return;\n }\n\n var maxLines = lines.length;\n var sourceLine = Math.max(Math.min(maxLines - 1, frame.lineno - 1), 0);\n frame.pre_context = lines.slice(Math.max(0, sourceLine - linesOfContext), sourceLine).map(function (line) {\n return snipLine(line, 0);\n });\n frame.context_line = snipLine(lines[Math.min(maxLines - 1, sourceLine)], frame.colno || 0);\n frame.post_context = lines.slice(Math.min(sourceLine + 1, maxLines), sourceLine + 1 + linesOfContext).map(function (line) {\n return snipLine(line, 0);\n });\n}\n/**\n * Checks whether or not we've already captured the given exception (note: not an identical exception - the very object\n * in question), and marks it captured if not.\n *\n * This is useful because it's possible for an error to get captured by more than one mechanism. After we intercept and\n * record an error, we rethrow it (assuming we've intercepted it before it's reached the top-level global handlers), so\n * that we don't interfere with whatever effects the error might have had were the SDK not there. At that point, because\n * the error has been rethrown, it's possible for it to bubble up to some other code we've instrumented. If it's not\n * caught after that, it will bubble all the way up to the global handlers (which of course we also instrument). This\n * function helps us ensure that even if we encounter the same error more than once, we only record it the first time we\n * see it.\n *\n * Note: It will ignore primitives (always return `false` and not mark them as seen), as properties can't be set on\n * them. {@link: Object.objectify} can be used on exceptions to convert any that are primitives into their equivalent\n * object wrapper forms so that this check will always work. However, because we need to flag the exact object which\n * will get rethrown, and because that rethrowing happens outside of the event processing pipeline, the objectification\n * must be done before the exception captured.\n *\n * @param A thrown exception to check or flag as having been seen\n * @returns `true` if the exception has already been captured, `false` if not (with the side effect of marking it seen)\n */\n\n\nfunction checkOrSetAlreadyCaught(exception) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (exception && exception.__sentry_captured__) {\n return true;\n }\n\n try {\n // set it this way rather than by assignment so that it's not ennumerable and therefore isn't recorded by the\n // `ExtraErrorData` integration\n addNonEnumerableProperty(exception, '__sentry_captured__', true);\n } catch (err) {// `exception` is a primitive, so we can't mark it seen\n }\n\n return false;\n}\n/**\n * Checks whether the given input is already an array, and if it isn't, wraps it in one.\n *\n * @param maybeArray Input to turn into an array, if necessary\n * @returns The input, if already an array, or an array with the input as the only element, if not\n */\n\n\nfunction arrayify(maybeArray) {\n return Array.isArray(maybeArray) ? maybeArray : [maybeArray];\n}\n\nexport { addContextToFrame, addExceptionMechanism, addExceptionTypeValue, arrayify, checkOrSetAlreadyCaught, getEventDescription, parseSemver, uuid4 };","import{includes}from'ramda';import{format}from'date-fns';import{COUNTRY_CODES}from'../config/constants';export var buyerAndSellerCountryIsEq=function buyerAndSellerCountryIsEq(state,countryCode){var sellerCountry=state.seller_address_country_code,buyerCountry=state.buyer_address_country_code;if(sellerCountry!==buyerCountry){return false;}if(Array.isArray(countryCode)){return countryCode.includes(sellerCountry);}return sellerCountry===countryCode;};export var countryCodeIsNot=function countryCodeIsNot(stateOrCountryCode,countryCode){var stateCountryCode=typeof stateOrCountryCode==='string'?COUNTRY_CODES[stateOrCountryCode.toUpperCase()]:COUNTRY_CODES[stateOrCountryCode.env.country.toUpperCase()];if(Array.isArray(countryCode)){return!countryCode.includes(stateCountryCode);}return stateCountryCode!==countryCode;};export var countryCodeIs=function countryCodeIs(stateOrCountryCode,countryCode){var stateCountryCode=typeof stateOrCountryCode==='string'?COUNTRY_CODES[stateOrCountryCode.toUpperCase()]:COUNTRY_CODES[stateOrCountryCode.env.country.toUpperCase()];if(Array.isArray(countryCode)){return countryCode.includes(stateCountryCode);}return stateCountryCode===countryCode;};export var defaultInvoiceKind=function defaultInvoiceKind(country){if(includes(country,[COUNTRY_CODES.PL,COUNTRY_CODES.RS])){return'invoice';}return'vat_invoice';};export var defaultInvoiceNumber=function defaultInvoiceNumber(){var formattedDate=format(new Date(),'yyyyMM');return\"\".concat(formattedDate,\"0001\");};","export default function buildFormatLongFn(args) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}","'use strict';\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _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 mini browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully mini 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 isMiniBrowserEnv() {\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 merge()\n/* obj1, obj2, obj3, ... */\n{\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 deepMerge()\n/* obj1, obj2, obj3, ... */\n{\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 isMiniBrowserEnv: isMiniBrowserEnv,\n forEach: forEach,\n merge: merge,\n deepMerge: deepMerge,\n extend: extend,\n trim: trim\n};","import defaults from'./options';function toStr(value){return value?value.toString():'';}function onlyNumbers(input){return toStr(input).replace(/\\D+/g,'')||'0';}function between(min,n,max){return Math.max(min,Math.min(n,max));}function fixed(precision){return between(0,precision,20);}function numbersToCurrency(numbers,precision){var exp=Math.pow(10,precision);var _float=parseFloat(numbers)/exp;return _float.toFixed(fixed(precision));}function addThousandSeparator(integer,separator){return integer.replace(/(\\d)(?=(?:\\d{3})+\\b)/gm,\"$1\".concat(separator));}function joinIntegerAndDecimal(integer,decimal,separator){return decimal?integer+separator+decimal:integer;}function setCursor(el,position){var setSelectionRange=function setSelectionRange(){el.setSelectionRange(position,position);};if(el===document.activeElement){setSelectionRange();}}function event(name){var evt=document.createEvent('Event');evt.initEvent(name,true,true);return evt;}function format(input){var opt=arguments.length>1&&arguments[1]!==undefined?arguments[1]:defaults;if(opt.allowBlank&&input===''){return'';}var formattedInput=input;var customPrecision=opt.precision;if(typeof formattedInput==='number'){var numStr=formattedInput.toString();var decimalParts=numStr.split('.');if(decimalParts.length>1&&decimalParts[1].length>opt.precision){customPrecision=decimalParts[1].length;}formattedInput=formattedInput.toFixed(fixed(customPrecision));}else if(typeof formattedInput==='string'){var stringParts=formattedInput.split(opt.decimal);if(stringParts.length>1&&stringParts[1].length>opt.precision){customPrecision=stringParts[1].length;}}var negative=formattedInput.indexOf('-')>=0?'-':'';var numbers=onlyNumbers(formattedInput);var currency=numbersToCurrency(numbers,customPrecision);var parts=toStr(currency).split('.');var integer=parts[0];var decimal=parts[1];integer=addThousandSeparator(integer,opt.thousands);return opt.prefix+negative+joinIntegerAndDecimal(integer,decimal,opt.decimal)+opt.suffix;}function unformat(input,precision){var negative=input.indexOf('-')>=0?-1:1;var numbers=onlyNumbers(input);var currency=numbersToCurrency(numbers,precision);return parseFloat(currency)*negative;}export{format,unformat,setCursor,event};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * vue-i18n v8.11.2 \n * (c) 2019 kazuya kawaguchi\n * Released under the MIT License.\n */\n\n/* */\n\n/**\n * constants\n */\nvar numberFormatKeys = ['style', 'currency', 'currencyDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits', 'localeMatcher', 'formatMatcher'];\n/**\n * utilities\n */\n\nfunction warn(msg, err) {\n if (typeof console !== 'undefined') {\n console.warn('[vue-i18n] ' + msg);\n /* istanbul ignore if */\n\n if (err) {\n console.warn(err.stack);\n }\n }\n}\n\nfunction error(msg, err) {\n if (typeof console !== 'undefined') {\n console.error('[vue-i18n] ' + msg);\n /* istanbul ignore if */\n\n if (err) {\n console.error(err.stack);\n }\n }\n}\n\nfunction isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n}\n\nvar toString = Object.prototype.toString;\nvar OBJECT_STRING = '[object Object]';\n\nfunction isPlainObject(obj) {\n return toString.call(obj) === OBJECT_STRING;\n}\n\nfunction isNull(val) {\n return val === null || val === undefined;\n}\n\nfunction parseArgs() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n }\n\n var locale = null;\n var params = null;\n\n if (args.length === 1) {\n if (isObject(args[0]) || Array.isArray(args[0])) {\n params = args[0];\n } else if (typeof args[0] === 'string') {\n locale = args[0];\n }\n } else if (args.length === 2) {\n if (typeof args[0] === 'string') {\n locale = args[0];\n }\n /* istanbul ignore if */\n\n\n if (isObject(args[1]) || Array.isArray(args[1])) {\n params = args[1];\n }\n }\n\n return {\n locale: locale,\n params: params\n };\n}\n\nfunction looseClone(obj) {\n return JSON.parse(JSON.stringify(obj));\n}\n\nfunction remove(arr, item) {\n if (arr.length) {\n var index = arr.indexOf(item);\n\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n\nfunction merge(target) {\n var arguments$1 = arguments;\n var output = Object(target);\n\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments$1[i];\n\n if (source !== undefined && source !== null) {\n var key = void 0;\n\n for (key in source) {\n if (hasOwn(source, key)) {\n if (isObject(source[key])) {\n output[key] = merge(output[key], source[key]);\n } else {\n output[key] = source[key];\n }\n }\n }\n }\n }\n\n return output;\n}\n\nfunction looseEqual(a, b) {\n if (a === b) {\n return true;\n }\n\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n\n if (isArrayA && isArrayB) {\n return a.length === b.length && a.every(function (e, i) {\n return looseEqual(e, b[i]);\n });\n } else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return keysA.length === keysB.length && keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n });\n } else {\n /* istanbul ignore next */\n return false;\n }\n } catch (e) {\n /* istanbul ignore next */\n return false;\n }\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n } else {\n return false;\n }\n}\n/* */\n\n\nfunction extend(Vue) {\n if (!Vue.prototype.hasOwnProperty('$i18n')) {\n // $FlowFixMe\n Object.defineProperty(Vue.prototype, '$i18n', {\n get: function get() {\n return this._i18n;\n }\n });\n }\n\n Vue.prototype.$t = function (key) {\n var values = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n values[len] = arguments[len + 1];\n }\n\n var i18n = this.$i18n;\n return i18n._t.apply(i18n, [key, i18n.locale, i18n._getMessages(), this].concat(values));\n };\n\n Vue.prototype.$tc = function (key, choice) {\n var values = [],\n len = arguments.length - 2;\n\n while (len-- > 0) {\n values[len] = arguments[len + 2];\n }\n\n var i18n = this.$i18n;\n return i18n._tc.apply(i18n, [key, i18n.locale, i18n._getMessages(), this, choice].concat(values));\n };\n\n Vue.prototype.$te = function (key, locale) {\n var i18n = this.$i18n;\n return i18n._te(key, i18n.locale, i18n._getMessages(), locale);\n };\n\n Vue.prototype.$d = function (value) {\n var ref;\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n return (ref = this.$i18n).d.apply(ref, [value].concat(args));\n };\n\n Vue.prototype.$n = function (value) {\n var ref;\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n return (ref = this.$i18n).n.apply(ref, [value].concat(args));\n };\n}\n/* */\n\n\nvar mixin = {\n beforeCreate: function beforeCreate() {\n var options = this.$options;\n options.i18n = options.i18n || (options.__i18n ? {} : null);\n\n if (options.i18n) {\n if (options.i18n instanceof VueI18n) {\n // init locale messages via custom blocks\n if (options.__i18n) {\n try {\n var localeMessages = {};\n\n options.__i18n.forEach(function (resource) {\n localeMessages = merge(localeMessages, JSON.parse(resource));\n });\n\n Object.keys(localeMessages).forEach(function (locale) {\n options.i18n.mergeLocaleMessage(locale, localeMessages[locale]);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot parse locale messages via custom blocks.\", e);\n }\n }\n }\n\n this._i18n = options.i18n;\n this._i18nWatcher = this._i18n.watchI18nData();\n } else if (isPlainObject(options.i18n)) {\n // component local i18n\n if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n options.i18n.root = this.$root;\n options.i18n.formatter = this.$root.$i18n.formatter;\n options.i18n.fallbackLocale = this.$root.$i18n.fallbackLocale;\n options.i18n.silentTranslationWarn = this.$root.$i18n.silentTranslationWarn;\n options.i18n.silentFallbackWarn = this.$root.$i18n.silentFallbackWarn;\n options.i18n.pluralizationRules = this.$root.$i18n.pluralizationRules;\n options.i18n.preserveDirectiveContent = this.$root.$i18n.preserveDirectiveContent;\n } // init locale messages via custom blocks\n\n\n if (options.__i18n) {\n try {\n var localeMessages$1 = {};\n\n options.__i18n.forEach(function (resource) {\n localeMessages$1 = merge(localeMessages$1, JSON.parse(resource));\n });\n\n options.i18n.messages = localeMessages$1;\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot parse locale messages via custom blocks.\", e);\n }\n }\n }\n\n this._i18n = new VueI18n(options.i18n);\n this._i18nWatcher = this._i18n.watchI18nData();\n\n if (options.i18n.sync === undefined || !!options.i18n.sync) {\n this._localeWatcher = this.$i18n.watchLocale();\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot be interpreted 'i18n' option.\");\n }\n }\n } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n // root i18n\n this._i18n = this.$root.$i18n;\n } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {\n // parent i18n\n this._i18n = options.parent.$i18n;\n }\n },\n beforeMount: function beforeMount() {\n var options = this.$options;\n options.i18n = options.i18n || (options.__i18n ? {} : null);\n\n if (options.i18n) {\n if (options.i18n instanceof VueI18n) {\n // init locale messages via custom blocks\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n } else if (isPlainObject(options.i18n)) {\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Cannot be interpreted 'i18n' option.\");\n }\n }\n } else if (this.$root && this.$root.$i18n && this.$root.$i18n instanceof VueI18n) {\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n } else if (options.parent && options.parent.$i18n && options.parent.$i18n instanceof VueI18n) {\n this._i18n.subscribeDataChanging(this);\n\n this._subscribing = true;\n }\n },\n beforeDestroy: function beforeDestroy() {\n if (!this._i18n) {\n return;\n }\n\n var self = this;\n this.$nextTick(function () {\n if (self._subscribing) {\n self._i18n.unsubscribeDataChanging(self);\n\n delete self._subscribing;\n }\n\n if (self._i18nWatcher) {\n self._i18nWatcher();\n\n self._i18n.destroyVM();\n\n delete self._i18nWatcher;\n }\n\n if (self._localeWatcher) {\n self._localeWatcher();\n\n delete self._localeWatcher;\n }\n\n self._i18n = null;\n });\n }\n};\n/* */\n\nvar interpolationComponent = {\n name: 'i18n',\n functional: true,\n props: {\n tag: {\n type: String,\n \"default\": 'span'\n },\n path: {\n type: String,\n required: true\n },\n locale: {\n type: String\n },\n places: {\n type: [Array, Object]\n }\n },\n render: function render(h, ref) {\n var props = ref.props;\n var data = ref.data;\n var children = ref.children;\n var parent = ref.parent;\n var i18n = parent.$i18n;\n children = (children || []).filter(function (child) {\n return child.tag || (child.text = child.text.trim());\n });\n\n if (!i18n) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot find VueI18n instance!');\n }\n\n return children;\n }\n\n var path = props.path;\n var locale = props.locale;\n var params = {};\n var places = props.places || {};\n var hasPlaces = Array.isArray(places) ? places.length > 0 : Object.keys(places).length > 0;\n var everyPlace = children.every(function (child) {\n if (child.data && child.data.attrs) {\n var place = child.data.attrs.place;\n return typeof place !== 'undefined' && place !== '';\n }\n });\n\n if (process.env.NODE_ENV !== 'production' && hasPlaces && children.length > 0 && !everyPlace) {\n warn('If places prop is set, all child elements must have place prop set.');\n }\n\n if (Array.isArray(places)) {\n places.forEach(function (el, i) {\n params[i] = el;\n });\n } else {\n Object.keys(places).forEach(function (key) {\n params[key] = places[key];\n });\n }\n\n children.forEach(function (child, i) {\n var key = everyPlace ? \"\" + child.data.attrs.place : \"\" + i;\n params[key] = child;\n });\n return h(props.tag, data, i18n.i(path, locale, params));\n }\n};\n/* */\n\nvar numberComponent = {\n name: 'i18n-n',\n functional: true,\n props: {\n tag: {\n type: String,\n \"default\": 'span'\n },\n value: {\n type: Number,\n required: true\n },\n format: {\n type: [String, Object]\n },\n locale: {\n type: String\n }\n },\n render: function render(h, ref) {\n var props = ref.props;\n var parent = ref.parent;\n var data = ref.data;\n var i18n = parent.$i18n;\n\n if (!i18n) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot find VueI18n instance!');\n }\n\n return null;\n }\n\n var key = null;\n var options = null;\n\n if (typeof props.format === 'string') {\n key = props.format;\n } else if (isObject(props.format)) {\n if (props.format.key) {\n key = props.format.key;\n } // Filter out number format options only\n\n\n options = Object.keys(props.format).reduce(function (acc, prop) {\n var obj;\n\n if (numberFormatKeys.includes(prop)) {\n return Object.assign({}, acc, (obj = {}, obj[prop] = props.format[prop], obj));\n }\n\n return acc;\n }, null);\n }\n\n var locale = props.locale || i18n.locale;\n\n var parts = i18n._ntp(props.value, locale, key, options);\n\n var values = parts.map(function (part, index) {\n var obj;\n var slot = data.scopedSlots && data.scopedSlots[part.type];\n return slot ? slot((obj = {}, obj[part.type] = part.value, obj.index = index, obj.parts = parts, obj)) : part.value;\n });\n return h(props.tag, {\n attrs: data.attrs,\n 'class': data['class'],\n staticClass: data.staticClass\n }, values);\n }\n};\n/* */\n\nfunction bind(el, binding, vnode) {\n if (!assert(el, vnode)) {\n return;\n }\n\n t(el, binding, vnode);\n}\n\nfunction update(el, binding, vnode, oldVNode) {\n if (!assert(el, vnode)) {\n return;\n }\n\n var i18n = vnode.context.$i18n;\n\n if (localeEqual(el, vnode) && looseEqual(binding.value, binding.oldValue) && looseEqual(el._localeMessage, i18n.getLocaleMessage(i18n.locale))) {\n return;\n }\n\n t(el, binding, vnode);\n}\n\nfunction unbind(el, binding, vnode, oldVNode) {\n var vm = vnode.context;\n\n if (!vm) {\n warn('Vue instance does not exists in VNode context');\n return;\n }\n\n var i18n = vnode.context.$i18n || {};\n\n if (!binding.modifiers.preserve && !i18n.preserveDirectiveContent) {\n el.textContent = '';\n }\n\n el._vt = undefined;\n delete el['_vt'];\n el._locale = undefined;\n delete el['_locale'];\n el._localeMessage = undefined;\n delete el['_localeMessage'];\n}\n\nfunction assert(el, vnode) {\n var vm = vnode.context;\n\n if (!vm) {\n warn('Vue instance does not exists in VNode context');\n return false;\n }\n\n if (!vm.$i18n) {\n warn('VueI18n instance does not exists in Vue instance');\n return false;\n }\n\n return true;\n}\n\nfunction localeEqual(el, vnode) {\n var vm = vnode.context;\n return el._locale === vm.$i18n.locale;\n}\n\nfunction t(el, binding, vnode) {\n var ref$1, ref$2;\n var value = binding.value;\n var ref = parseValue(value);\n var path = ref.path;\n var locale = ref.locale;\n var args = ref.args;\n var choice = ref.choice;\n\n if (!path && !locale && !args) {\n warn('value type not supported');\n return;\n }\n\n if (!path) {\n warn('`path` is required in v-t directive');\n return;\n }\n\n var vm = vnode.context;\n\n if (choice) {\n el._vt = el.textContent = (ref$1 = vm.$i18n).tc.apply(ref$1, [path, choice].concat(makeParams(locale, args)));\n } else {\n el._vt = el.textContent = (ref$2 = vm.$i18n).t.apply(ref$2, [path].concat(makeParams(locale, args)));\n }\n\n el._locale = vm.$i18n.locale;\n el._localeMessage = vm.$i18n.getLocaleMessage(vm.$i18n.locale);\n}\n\nfunction parseValue(value) {\n var path;\n var locale;\n var args;\n var choice;\n\n if (typeof value === 'string') {\n path = value;\n } else if (isPlainObject(value)) {\n path = value.path;\n locale = value.locale;\n args = value.args;\n choice = value.choice;\n }\n\n return {\n path: path,\n locale: locale,\n args: args,\n choice: choice\n };\n}\n\nfunction makeParams(locale, args) {\n var params = [];\n locale && params.push(locale);\n\n if (args && (Array.isArray(args) || isPlainObject(args))) {\n params.push(args);\n }\n\n return params;\n}\n\nvar Vue;\n\nfunction install(_Vue) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && install.installed && _Vue === Vue) {\n warn('already installed.');\n return;\n }\n\n install.installed = true;\n Vue = _Vue;\n var version = Vue.version && Number(Vue.version.split('.')[0]) || -1;\n /* istanbul ignore if */\n\n if (process.env.NODE_ENV !== 'production' && version < 2) {\n warn(\"vue-i18n (\" + install.version + \") need to use Vue 2.0 or later (Vue: \" + Vue.version + \").\");\n return;\n }\n\n extend(Vue);\n Vue.mixin(mixin);\n Vue.directive('t', {\n bind: bind,\n update: update,\n unbind: unbind\n });\n Vue.component(interpolationComponent.name, interpolationComponent);\n Vue.component(numberComponent.name, numberComponent); // use simple mergeStrategies to prevent i18n instance lose '__proto__'\n\n var strats = Vue.config.optionMergeStrategies;\n\n strats.i18n = function (parentVal, childVal) {\n return childVal === undefined ? parentVal : childVal;\n };\n}\n/* */\n\n\nvar BaseFormatter = function BaseFormatter() {\n this._caches = Object.create(null);\n};\n\nBaseFormatter.prototype.interpolate = function interpolate(message, values) {\n if (!values) {\n return [message];\n }\n\n var tokens = this._caches[message];\n\n if (!tokens) {\n tokens = parse(message);\n this._caches[message] = tokens;\n }\n\n return compile(tokens, values);\n};\n\nvar RE_TOKEN_LIST_VALUE = /^(?:\\d)+/;\nvar RE_TOKEN_NAMED_VALUE = /^(?:\\w)+/;\n\nfunction parse(format) {\n var tokens = [];\n var position = 0;\n var text = '';\n\n while (position < format.length) {\n var _char = format[position++];\n\n if (_char === '{') {\n if (text) {\n tokens.push({\n type: 'text',\n value: text\n });\n }\n\n text = '';\n var sub = '';\n _char = format[position++];\n\n while (_char !== undefined && _char !== '}') {\n sub += _char;\n _char = format[position++];\n }\n\n var isClosed = _char === '}';\n var type = RE_TOKEN_LIST_VALUE.test(sub) ? 'list' : isClosed && RE_TOKEN_NAMED_VALUE.test(sub) ? 'named' : 'unknown';\n tokens.push({\n value: sub,\n type: type\n });\n } else if (_char === '%') {\n // when found rails i18n syntax, skip text capture\n if (format[position] !== '{') {\n text += _char;\n }\n } else {\n text += _char;\n }\n }\n\n text && tokens.push({\n type: 'text',\n value: text\n });\n return tokens;\n}\n\nfunction compile(tokens, values) {\n var compiled = [];\n var index = 0;\n var mode = Array.isArray(values) ? 'list' : isObject(values) ? 'named' : 'unknown';\n\n if (mode === 'unknown') {\n return compiled;\n }\n\n while (index < tokens.length) {\n var token = tokens[index];\n\n switch (token.type) {\n case 'text':\n compiled.push(token.value);\n break;\n\n case 'list':\n compiled.push(values[parseInt(token.value, 10)]);\n break;\n\n case 'named':\n if (mode === 'named') {\n compiled.push(values[token.value]);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Type of token '\" + token.type + \"' and format of value '\" + mode + \"' don't match!\");\n }\n }\n\n break;\n\n case 'unknown':\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Detect 'unknown' type of token!\");\n }\n\n break;\n }\n\n index++;\n }\n\n return compiled;\n}\n/* */\n\n/**\n * Path parser\n * - Inspired:\n * Vue.js Path parser\n */\n// actions\n\n\nvar APPEND = 0;\nvar PUSH = 1;\nvar INC_SUB_PATH_DEPTH = 2;\nvar PUSH_SUB_PATH = 3; // states\n\nvar BEFORE_PATH = 0;\nvar IN_PATH = 1;\nvar BEFORE_IDENT = 2;\nvar IN_IDENT = 3;\nvar IN_SUB_PATH = 4;\nvar IN_SINGLE_QUOTE = 5;\nvar IN_DOUBLE_QUOTE = 6;\nvar AFTER_PATH = 7;\nvar ERROR = 8;\nvar pathStateMachine = [];\npathStateMachine[BEFORE_PATH] = {\n 'ws': [BEFORE_PATH],\n 'ident': [IN_IDENT, APPEND],\n '[': [IN_SUB_PATH],\n 'eof': [AFTER_PATH]\n};\npathStateMachine[IN_PATH] = {\n 'ws': [IN_PATH],\n '.': [BEFORE_IDENT],\n '[': [IN_SUB_PATH],\n 'eof': [AFTER_PATH]\n};\npathStateMachine[BEFORE_IDENT] = {\n 'ws': [BEFORE_IDENT],\n 'ident': [IN_IDENT, APPEND],\n '0': [IN_IDENT, APPEND],\n 'number': [IN_IDENT, APPEND]\n};\npathStateMachine[IN_IDENT] = {\n 'ident': [IN_IDENT, APPEND],\n '0': [IN_IDENT, APPEND],\n 'number': [IN_IDENT, APPEND],\n 'ws': [IN_PATH, PUSH],\n '.': [BEFORE_IDENT, PUSH],\n '[': [IN_SUB_PATH, PUSH],\n 'eof': [AFTER_PATH, PUSH]\n};\npathStateMachine[IN_SUB_PATH] = {\n \"'\": [IN_SINGLE_QUOTE, APPEND],\n '\"': [IN_DOUBLE_QUOTE, APPEND],\n '[': [IN_SUB_PATH, INC_SUB_PATH_DEPTH],\n ']': [IN_PATH, PUSH_SUB_PATH],\n 'eof': ERROR,\n 'else': [IN_SUB_PATH, APPEND]\n};\npathStateMachine[IN_SINGLE_QUOTE] = {\n \"'\": [IN_SUB_PATH, APPEND],\n 'eof': ERROR,\n 'else': [IN_SINGLE_QUOTE, APPEND]\n};\npathStateMachine[IN_DOUBLE_QUOTE] = {\n '\"': [IN_SUB_PATH, APPEND],\n 'eof': ERROR,\n 'else': [IN_DOUBLE_QUOTE, APPEND]\n};\n/**\n * Check if an expression is a literal value.\n */\n\nvar literalValueRE = /^\\s?(?:true|false|-?[\\d.]+|'[^']*'|\"[^\"]*\")\\s?$/;\n\nfunction isLiteral(exp) {\n return literalValueRE.test(exp);\n}\n/**\n * Strip quotes from a string\n */\n\n\nfunction stripQuotes(str) {\n var a = str.charCodeAt(0);\n var b = str.charCodeAt(str.length - 1);\n return a === b && (a === 0x22 || a === 0x27) ? str.slice(1, -1) : str;\n}\n/**\n * Determine the type of a character in a keypath.\n */\n\n\nfunction getPathCharType(ch) {\n if (ch === undefined || ch === null) {\n return 'eof';\n }\n\n var code = ch.charCodeAt(0);\n\n switch (code) {\n case 0x5B: // [\n\n case 0x5D: // ]\n\n case 0x2E: // .\n\n case 0x22: // \"\n\n case 0x27:\n // '\n return ch;\n\n case 0x5F: // _\n\n case 0x24: // $\n\n case 0x2D:\n // -\n return 'ident';\n\n case 0x09: // Tab\n\n case 0x0A: // Newline\n\n case 0x0D: // Return\n\n case 0xA0: // No-break space\n\n case 0xFEFF: // Byte Order Mark\n\n case 0x2028: // Line Separator\n\n case 0x2029:\n // Paragraph Separator\n return 'ws';\n }\n\n return 'ident';\n}\n/**\n * Format a subPath, return its plain form if it is\n * a literal string or number. Otherwise prepend the\n * dynamic indicator (*).\n */\n\n\nfunction formatSubPath(path) {\n var trimmed = path.trim(); // invalid leading 0\n\n if (path.charAt(0) === '0' && isNaN(path)) {\n return false;\n }\n\n return isLiteral(trimmed) ? stripQuotes(trimmed) : '*' + trimmed;\n}\n/**\n * Parse a string path into an array of segments\n */\n\n\nfunction parse$1(path) {\n var keys = [];\n var index = -1;\n var mode = BEFORE_PATH;\n var subPathDepth = 0;\n var c;\n var key;\n var newChar;\n var type;\n var transition;\n var action;\n var typeMap;\n var actions = [];\n\n actions[PUSH] = function () {\n if (key !== undefined) {\n keys.push(key);\n key = undefined;\n }\n };\n\n actions[APPEND] = function () {\n if (key === undefined) {\n key = newChar;\n } else {\n key += newChar;\n }\n };\n\n actions[INC_SUB_PATH_DEPTH] = function () {\n actions[APPEND]();\n subPathDepth++;\n };\n\n actions[PUSH_SUB_PATH] = function () {\n if (subPathDepth > 0) {\n subPathDepth--;\n mode = IN_SUB_PATH;\n actions[APPEND]();\n } else {\n subPathDepth = 0;\n key = formatSubPath(key);\n\n if (key === false) {\n return false;\n } else {\n actions[PUSH]();\n }\n }\n };\n\n function maybeUnescapeQuote() {\n var nextChar = path[index + 1];\n\n if (mode === IN_SINGLE_QUOTE && nextChar === \"'\" || mode === IN_DOUBLE_QUOTE && nextChar === '\"') {\n index++;\n newChar = '\\\\' + nextChar;\n actions[APPEND]();\n return true;\n }\n }\n\n while (mode !== null) {\n index++;\n c = path[index];\n\n if (c === '\\\\' && maybeUnescapeQuote()) {\n continue;\n }\n\n type = getPathCharType(c);\n typeMap = pathStateMachine[mode];\n transition = typeMap[type] || typeMap['else'] || ERROR;\n\n if (transition === ERROR) {\n return; // parse error\n }\n\n mode = transition[0];\n action = actions[transition[1]];\n\n if (action) {\n newChar = transition[2];\n newChar = newChar === undefined ? c : newChar;\n\n if (action() === false) {\n return;\n }\n }\n\n if (mode === AFTER_PATH) {\n return keys;\n }\n }\n}\n\nvar I18nPath = function I18nPath() {\n this._cache = Object.create(null);\n};\n/**\n * External parse that check for a cache hit first\n */\n\n\nI18nPath.prototype.parsePath = function parsePath(path) {\n var hit = this._cache[path];\n\n if (!hit) {\n hit = parse$1(path);\n\n if (hit) {\n this._cache[path] = hit;\n }\n }\n\n return hit || [];\n};\n/**\n * Get path value from path string\n */\n\n\nI18nPath.prototype.getPathValue = function getPathValue(obj, path) {\n if (!isObject(obj)) {\n return null;\n }\n\n var paths = this.parsePath(path);\n\n if (paths.length === 0) {\n return null;\n } else {\n var length = paths.length;\n var last = obj;\n var i = 0;\n\n while (i < length) {\n var value = last[paths[i]];\n\n if (value === undefined) {\n return null;\n }\n\n last = value;\n i++;\n }\n\n return last;\n }\n};\n/* */\n\n\nvar htmlTagMatcher = /<\\/?[\\w\\s=\"/.':;#-\\/]+>/;\nvar linkKeyMatcher = /(?:@(?:\\.[a-z]+)?:(?:[\\w\\-_|.]+|\\([\\w\\-_|.]+\\)))/g;\nvar linkKeyPrefixMatcher = /^@(?:\\.([a-z]+))?:/;\nvar bracketsMatcher = /[()]/g;\nvar formatters = {\n 'upper': function upper(str) {\n return str.toLocaleUpperCase();\n },\n 'lower': function lower(str) {\n return str.toLocaleLowerCase();\n }\n};\nvar defaultFormatter = new BaseFormatter();\n\nvar VueI18n = function VueI18n(options) {\n var this$1 = this;\n if (options === void 0) options = {}; // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #290\n\n /* istanbul ignore if */\n\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n var locale = options.locale || 'en-US';\n var fallbackLocale = options.fallbackLocale || 'en-US';\n var messages = options.messages || {};\n var dateTimeFormats = options.dateTimeFormats || {};\n var numberFormats = options.numberFormats || {};\n this._vm = null;\n this._formatter = options.formatter || defaultFormatter;\n this._missing = options.missing || null;\n this._root = options.root || null;\n this._sync = options.sync === undefined ? true : !!options.sync;\n this._fallbackRoot = options.fallbackRoot === undefined ? true : !!options.fallbackRoot;\n this._silentTranslationWarn = options.silentTranslationWarn === undefined ? false : !!options.silentTranslationWarn;\n this._silentFallbackWarn = options.silentFallbackWarn === undefined ? false : !!options.silentFallbackWarn;\n this._dateTimeFormatters = {};\n this._numberFormatters = {};\n this._path = new I18nPath();\n this._dataListeners = [];\n this._preserveDirectiveContent = options.preserveDirectiveContent === undefined ? false : !!options.preserveDirectiveContent;\n this.pluralizationRules = options.pluralizationRules || {};\n this._warnHtmlInMessage = options.warnHtmlInMessage || 'off';\n\n this._exist = function (message, key) {\n if (!message || !key) {\n return false;\n }\n\n if (!isNull(this$1._path.getPathValue(message, key))) {\n return true;\n } // fallback for flat key\n\n\n if (message[key]) {\n return true;\n }\n\n return false;\n };\n\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n Object.keys(messages).forEach(function (locale) {\n this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);\n });\n }\n\n this._initVM({\n locale: locale,\n fallbackLocale: fallbackLocale,\n messages: messages,\n dateTimeFormats: dateTimeFormats,\n numberFormats: numberFormats\n });\n};\n\nvar prototypeAccessors = {\n vm: {\n configurable: true\n },\n messages: {\n configurable: true\n },\n dateTimeFormats: {\n configurable: true\n },\n numberFormats: {\n configurable: true\n },\n availableLocales: {\n configurable: true\n },\n locale: {\n configurable: true\n },\n fallbackLocale: {\n configurable: true\n },\n missing: {\n configurable: true\n },\n formatter: {\n configurable: true\n },\n silentTranslationWarn: {\n configurable: true\n },\n silentFallbackWarn: {\n configurable: true\n },\n preserveDirectiveContent: {\n configurable: true\n },\n warnHtmlInMessage: {\n configurable: true\n }\n};\n\nVueI18n.prototype._checkLocaleMessage = function _checkLocaleMessage(locale, level, message) {\n var paths = [];\n\n var fn = function fn(level, locale, message, paths) {\n if (isPlainObject(message)) {\n Object.keys(message).forEach(function (key) {\n var val = message[key];\n\n if (isPlainObject(val)) {\n paths.push(key);\n paths.push('.');\n fn(level, locale, val, paths);\n paths.pop();\n paths.pop();\n } else {\n paths.push(key);\n fn(level, locale, val, paths);\n paths.pop();\n }\n });\n } else if (Array.isArray(message)) {\n message.forEach(function (item, index) {\n if (isPlainObject(item)) {\n paths.push(\"[\" + index + \"]\");\n paths.push('.');\n fn(level, locale, item, paths);\n paths.pop();\n paths.pop();\n } else {\n paths.push(\"[\" + index + \"]\");\n fn(level, locale, item, paths);\n paths.pop();\n }\n });\n } else if (typeof message === 'string') {\n var ret = htmlTagMatcher.test(message);\n\n if (ret) {\n var msg = \"Detected HTML in message '\" + message + \"' of keypath '\" + paths.join('') + \"' at '\" + locale + \"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp\";\n\n if (level === 'warn') {\n warn(msg);\n } else if (level === 'error') {\n error(msg);\n }\n }\n }\n };\n\n fn(level, locale, message, paths);\n};\n\nVueI18n.prototype._initVM = function _initVM(data) {\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n this._vm = new Vue({\n data: data\n });\n Vue.config.silent = silent;\n};\n\nVueI18n.prototype.destroyVM = function destroyVM() {\n this._vm.$destroy();\n};\n\nVueI18n.prototype.subscribeDataChanging = function subscribeDataChanging(vm) {\n this._dataListeners.push(vm);\n};\n\nVueI18n.prototype.unsubscribeDataChanging = function unsubscribeDataChanging(vm) {\n remove(this._dataListeners, vm);\n};\n\nVueI18n.prototype.watchI18nData = function watchI18nData() {\n var self = this;\n return this._vm.$watch('$data', function () {\n var i = self._dataListeners.length;\n\n while (i--) {\n Vue.nextTick(function () {\n self._dataListeners[i] && self._dataListeners[i].$forceUpdate();\n });\n }\n }, {\n deep: true\n });\n};\n\nVueI18n.prototype.watchLocale = function watchLocale() {\n /* istanbul ignore if */\n if (!this._sync || !this._root) {\n return null;\n }\n\n var target = this._vm;\n return this._root.$i18n.vm.$watch('locale', function (val) {\n target.$set(target, 'locale', val);\n target.$forceUpdate();\n }, {\n immediate: true\n });\n};\n\nprototypeAccessors.vm.get = function () {\n return this._vm;\n};\n\nprototypeAccessors.messages.get = function () {\n return looseClone(this._getMessages());\n};\n\nprototypeAccessors.dateTimeFormats.get = function () {\n return looseClone(this._getDateTimeFormats());\n};\n\nprototypeAccessors.numberFormats.get = function () {\n return looseClone(this._getNumberFormats());\n};\n\nprototypeAccessors.availableLocales.get = function () {\n return Object.keys(this.messages).sort();\n};\n\nprototypeAccessors.locale.get = function () {\n return this._vm.locale;\n};\n\nprototypeAccessors.locale.set = function (locale) {\n this._vm.$set(this._vm, 'locale', locale);\n};\n\nprototypeAccessors.fallbackLocale.get = function () {\n return this._vm.fallbackLocale;\n};\n\nprototypeAccessors.fallbackLocale.set = function (locale) {\n this._vm.$set(this._vm, 'fallbackLocale', locale);\n};\n\nprototypeAccessors.missing.get = function () {\n return this._missing;\n};\n\nprototypeAccessors.missing.set = function (handler) {\n this._missing = handler;\n};\n\nprototypeAccessors.formatter.get = function () {\n return this._formatter;\n};\n\nprototypeAccessors.formatter.set = function (formatter) {\n this._formatter = formatter;\n};\n\nprototypeAccessors.silentTranslationWarn.get = function () {\n return this._silentTranslationWarn;\n};\n\nprototypeAccessors.silentTranslationWarn.set = function (silent) {\n this._silentTranslationWarn = silent;\n};\n\nprototypeAccessors.silentFallbackWarn.get = function () {\n return this._silentFallbackWarn;\n};\n\nprototypeAccessors.silentFallbackWarn.set = function (silent) {\n this._silentFallbackWarn = silent;\n};\n\nprototypeAccessors.preserveDirectiveContent.get = function () {\n return this._preserveDirectiveContent;\n};\n\nprototypeAccessors.preserveDirectiveContent.set = function (preserve) {\n this._preserveDirectiveContent = preserve;\n};\n\nprototypeAccessors.warnHtmlInMessage.get = function () {\n return this._warnHtmlInMessage;\n};\n\nprototypeAccessors.warnHtmlInMessage.set = function (level) {\n var this$1 = this;\n var orgLevel = this._warnHtmlInMessage;\n this._warnHtmlInMessage = level;\n\n if (orgLevel !== level && (level === 'warn' || level === 'error')) {\n var messages = this._getMessages();\n\n Object.keys(messages).forEach(function (locale) {\n this$1._checkLocaleMessage(locale, this$1._warnHtmlInMessage, messages[locale]);\n });\n }\n};\n\nVueI18n.prototype._getMessages = function _getMessages() {\n return this._vm.messages;\n};\n\nVueI18n.prototype._getDateTimeFormats = function _getDateTimeFormats() {\n return this._vm.dateTimeFormats;\n};\n\nVueI18n.prototype._getNumberFormats = function _getNumberFormats() {\n return this._vm.numberFormats;\n};\n\nVueI18n.prototype._warnDefault = function _warnDefault(locale, key, result, vm, values) {\n if (!isNull(result)) {\n return result;\n }\n\n if (this._missing) {\n var missingRet = this._missing.apply(null, [locale, key, vm, values]);\n\n if (typeof missingRet === 'string') {\n return missingRet;\n }\n } else {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Cannot translate the value of keypath '\" + key + \"'. \" + 'Use the value of keypath as default.');\n }\n }\n\n return key;\n};\n\nVueI18n.prototype._isFallbackRoot = function _isFallbackRoot(val) {\n return !val && !isNull(this._root) && this._fallbackRoot;\n};\n\nVueI18n.prototype._isSilentFallback = function _isSilentFallback(locale) {\n return this._silentFallbackWarn && (this._isFallbackRoot() || locale !== this.fallbackLocale);\n};\n\nVueI18n.prototype._interpolate = function _interpolate(locale, message, key, host, interpolateMode, values, visitedLinkStack) {\n if (!message) {\n return null;\n }\n\n var pathRet = this._path.getPathValue(message, key);\n\n if (Array.isArray(pathRet) || isPlainObject(pathRet)) {\n return pathRet;\n }\n\n var ret;\n\n if (isNull(pathRet)) {\n /* istanbul ignore else */\n if (isPlainObject(message)) {\n ret = message[key];\n\n if (typeof ret !== 'string') {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn && !this._isSilentFallback(locale)) {\n warn(\"Value of key '\" + key + \"' is not a string!\");\n }\n\n return null;\n }\n } else {\n return null;\n }\n } else {\n /* istanbul ignore else */\n if (typeof pathRet === 'string') {\n ret = pathRet;\n } else {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn && !this._isSilentFallback(locale)) {\n warn(\"Value of key '\" + key + \"' is not a string!\");\n }\n\n return null;\n }\n } // Check for the existence of links within the translated string\n\n\n if (ret.indexOf('@:') >= 0 || ret.indexOf('@.') >= 0) {\n ret = this._link(locale, message, ret, host, 'raw', values, visitedLinkStack);\n }\n\n return this._render(ret, interpolateMode, values, key);\n};\n\nVueI18n.prototype._link = function _link(locale, message, str, host, interpolateMode, values, visitedLinkStack) {\n var ret = str; // Match all the links within the local\n // We are going to replace each of\n // them with its translation\n\n var matches = ret.match(linkKeyMatcher);\n\n for (var idx in matches) {\n // ie compatible: filter custom array\n // prototype method\n if (!matches.hasOwnProperty(idx)) {\n continue;\n }\n\n var link = matches[idx];\n var linkKeyPrefixMatches = link.match(linkKeyPrefixMatcher);\n var linkPrefix = linkKeyPrefixMatches[0];\n var formatterName = linkKeyPrefixMatches[1]; // Remove the leading @:, @.case: and the brackets\n\n var linkPlaceholder = link.replace(linkPrefix, '').replace(bracketsMatcher, '');\n\n if (visitedLinkStack.includes(linkPlaceholder)) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"Circular reference found. \\\"\" + link + \"\\\" is already visited in the chain of \" + visitedLinkStack.reverse().join(' <- '));\n }\n\n return ret;\n }\n\n visitedLinkStack.push(linkPlaceholder); // Translate the link\n\n var translated = this._interpolate(locale, message, linkPlaceholder, host, interpolateMode === 'raw' ? 'string' : interpolateMode, interpolateMode === 'raw' ? undefined : values, visitedLinkStack);\n\n if (this._isFallbackRoot(translated)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to translate the link placeholder '\" + linkPlaceholder + \"' with root locale.\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n var root = this._root.$i18n;\n translated = root._translate(root._getMessages(), root.locale, root.fallbackLocale, linkPlaceholder, host, interpolateMode, values);\n }\n\n translated = this._warnDefault(locale, linkPlaceholder, translated, host, Array.isArray(values) ? values : [values]);\n\n if (formatters.hasOwnProperty(formatterName)) {\n translated = formatters[formatterName](translated);\n }\n\n visitedLinkStack.pop(); // Replace the link with the translated\n\n ret = !translated ? ret : ret.replace(link, translated);\n }\n\n return ret;\n};\n\nVueI18n.prototype._render = function _render(message, interpolateMode, values, path) {\n var ret = this._formatter.interpolate(message, values, path); // If the custom formatter refuses to work - apply the default one\n\n\n if (!ret) {\n ret = defaultFormatter.interpolate(message, values, path);\n } // if interpolateMode is **not** 'string' ('row'),\n // return the compiled data (e.g. ['foo', VNode, 'bar']) with formatter\n\n\n return interpolateMode === 'string' ? ret.join('') : ret;\n};\n\nVueI18n.prototype._translate = function _translate(messages, locale, fallback, key, host, interpolateMode, args) {\n var res = this._interpolate(locale, messages[locale], key, host, interpolateMode, args, [key]);\n\n if (!isNull(res)) {\n return res;\n }\n\n res = this._interpolate(fallback, messages[fallback], key, host, interpolateMode, args, [key]);\n\n if (!isNull(res)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn && !this._silentFallbackWarn) {\n warn(\"Fall back to translate the keypath '\" + key + \"' with '\" + fallback + \"' locale.\");\n }\n\n return res;\n } else {\n return null;\n }\n};\n\nVueI18n.prototype._t = function _t(key, _locale, messages, host) {\n var ref;\n var values = [],\n len = arguments.length - 4;\n\n while (len-- > 0) {\n values[len] = arguments[len + 4];\n }\n\n if (!key) {\n return '';\n }\n\n var parsedArgs = parseArgs.apply(void 0, values);\n var locale = parsedArgs.locale || _locale;\n\n var ret = this._translate(messages, locale, this.fallbackLocale, key, host, 'string', parsedArgs.params);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn && !this._silentFallbackWarn) {\n warn(\"Fall back to translate the keypath '\" + key + \"' with root locale.\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return (ref = this._root).$t.apply(ref, [key].concat(values));\n } else {\n return this._warnDefault(locale, key, ret, host, values);\n }\n};\n\nVueI18n.prototype.t = function t(key) {\n var ref;\n var values = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n values[len] = arguments[len + 1];\n }\n\n return (ref = this)._t.apply(ref, [key, this.locale, this._getMessages(), null].concat(values));\n};\n\nVueI18n.prototype._i = function _i(key, locale, messages, host, values) {\n var ret = this._translate(messages, locale, this.fallbackLocale, key, host, 'raw', values);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to interpolate the keypath '\" + key + \"' with root locale.\");\n }\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n.i(key, locale, values);\n } else {\n return this._warnDefault(locale, key, ret, host, [values]);\n }\n};\n\nVueI18n.prototype.i = function i(key, locale, values) {\n /* istanbul ignore if */\n if (!key) {\n return '';\n }\n\n if (typeof locale !== 'string') {\n locale = this.locale;\n }\n\n return this._i(key, locale, this._getMessages(), null, values);\n};\n\nVueI18n.prototype._tc = function _tc(key, _locale, messages, host, choice) {\n var ref;\n var values = [],\n len = arguments.length - 5;\n\n while (len-- > 0) {\n values[len] = arguments[len + 5];\n }\n\n if (!key) {\n return '';\n }\n\n if (choice === undefined) {\n choice = 1;\n }\n\n var predefined = {\n 'count': choice,\n 'n': choice\n };\n var parsedArgs = parseArgs.apply(void 0, values);\n parsedArgs.params = Object.assign(predefined, parsedArgs.params);\n values = parsedArgs.locale === null ? [parsedArgs.params] : [parsedArgs.locale, parsedArgs.params];\n return this.fetchChoice((ref = this)._t.apply(ref, [key, _locale, messages, host].concat(values)), choice);\n};\n\nVueI18n.prototype.fetchChoice = function fetchChoice(message, choice) {\n /* istanbul ignore if */\n if (!message && typeof message !== 'string') {\n return null;\n }\n\n var choices = message.split('|');\n choice = this.getChoiceIndex(choice, choices.length);\n\n if (!choices[choice]) {\n return message;\n }\n\n return choices[choice].trim();\n};\n/**\n * @param choice {number} a choice index given by the input to $tc: `$tc('path.to.rule', choiceIndex)`\n * @param choicesLength {number} an overall amount of available choices\n * @returns a final choice index\n*/\n\n\nVueI18n.prototype.getChoiceIndex = function getChoiceIndex(choice, choicesLength) {\n // Default (old) getChoiceIndex implementation - english-compatible\n var defaultImpl = function defaultImpl(_choice, _choicesLength) {\n _choice = Math.abs(_choice);\n\n if (_choicesLength === 2) {\n return _choice ? _choice > 1 ? 1 : 0 : 1;\n }\n\n return _choice ? Math.min(_choice, 2) : 0;\n };\n\n if (this.locale in this.pluralizationRules) {\n return this.pluralizationRules[this.locale].apply(this, [choice, choicesLength]);\n } else {\n return defaultImpl(choice, choicesLength);\n }\n};\n\nVueI18n.prototype.tc = function tc(key, choice) {\n var ref;\n var values = [],\n len = arguments.length - 2;\n\n while (len-- > 0) {\n values[len] = arguments[len + 2];\n }\n\n return (ref = this)._tc.apply(ref, [key, this.locale, this._getMessages(), null, choice].concat(values));\n};\n\nVueI18n.prototype._te = function _te(key, locale, messages) {\n var args = [],\n len = arguments.length - 3;\n\n while (len-- > 0) {\n args[len] = arguments[len + 3];\n }\n\n var _locale = parseArgs.apply(void 0, args).locale || locale;\n\n return this._exist(messages[_locale], key);\n};\n\nVueI18n.prototype.te = function te(key, locale) {\n return this._te(key, this.locale, this._getMessages(), locale);\n};\n\nVueI18n.prototype.getLocaleMessage = function getLocaleMessage(locale) {\n return looseClone(this._vm.messages[locale] || {});\n};\n\nVueI18n.prototype.setLocaleMessage = function setLocaleMessage(locale, message) {\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);\n\n if (this._warnHtmlInMessage === 'error') {\n return;\n }\n }\n\n this._vm.$set(this._vm.messages, locale, message);\n};\n\nVueI18n.prototype.mergeLocaleMessage = function mergeLocaleMessage(locale, message) {\n if (this._warnHtmlInMessage === 'warn' || this._warnHtmlInMessage === 'error') {\n this._checkLocaleMessage(locale, this._warnHtmlInMessage, message);\n\n if (this._warnHtmlInMessage === 'error') {\n return;\n }\n }\n\n this._vm.$set(this._vm.messages, locale, merge(this._vm.messages[locale] || {}, message));\n};\n\nVueI18n.prototype.getDateTimeFormat = function getDateTimeFormat(locale) {\n return looseClone(this._vm.dateTimeFormats[locale] || {});\n};\n\nVueI18n.prototype.setDateTimeFormat = function setDateTimeFormat(locale, format) {\n this._vm.$set(this._vm.dateTimeFormats, locale, format);\n};\n\nVueI18n.prototype.mergeDateTimeFormat = function mergeDateTimeFormat(locale, format) {\n this._vm.$set(this._vm.dateTimeFormats, locale, merge(this._vm.dateTimeFormats[locale] || {}, format));\n};\n\nVueI18n.prototype._localizeDateTime = function _localizeDateTime(value, locale, fallback, dateTimeFormats, key) {\n var _locale = locale;\n var formats = dateTimeFormats[_locale]; // fallback locale\n\n if (isNull(formats) || isNull(formats[key])) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to '\" + fallback + \"' datetime formats from '\" + locale + \" datetime formats.\");\n }\n\n _locale = fallback;\n formats = dateTimeFormats[_locale];\n }\n\n if (isNull(formats) || isNull(formats[key])) {\n return null;\n } else {\n var format = formats[key];\n var id = _locale + \"__\" + key;\n var formatter = this._dateTimeFormatters[id];\n\n if (!formatter) {\n formatter = this._dateTimeFormatters[id] = new Intl.DateTimeFormat(_locale, format);\n }\n\n return formatter.format(value);\n }\n};\n\nVueI18n.prototype._d = function _d(value, locale, key) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && !VueI18n.availabilities.dateTimeFormat) {\n warn('Cannot format a Date value due to not supported Intl.DateTimeFormat.');\n return '';\n }\n\n if (!key) {\n return new Intl.DateTimeFormat(locale).format(value);\n }\n\n var ret = this._localizeDateTime(value, locale, this.fallbackLocale, this._getDateTimeFormats(), key);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to datetime localization of root: key '\" + key + \"' .\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n.d(value, key, locale);\n } else {\n return ret || '';\n }\n};\n\nVueI18n.prototype.d = function d(value) {\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n var locale = this.locale;\n var key = null;\n\n if (args.length === 1) {\n if (typeof args[0] === 'string') {\n key = args[0];\n } else if (isObject(args[0])) {\n if (args[0].locale) {\n locale = args[0].locale;\n }\n\n if (args[0].key) {\n key = args[0].key;\n }\n }\n } else if (args.length === 2) {\n if (typeof args[0] === 'string') {\n key = args[0];\n }\n\n if (typeof args[1] === 'string') {\n locale = args[1];\n }\n }\n\n return this._d(value, locale, key);\n};\n\nVueI18n.prototype.getNumberFormat = function getNumberFormat(locale) {\n return looseClone(this._vm.numberFormats[locale] || {});\n};\n\nVueI18n.prototype.setNumberFormat = function setNumberFormat(locale, format) {\n this._vm.$set(this._vm.numberFormats, locale, format);\n};\n\nVueI18n.prototype.mergeNumberFormat = function mergeNumberFormat(locale, format) {\n this._vm.$set(this._vm.numberFormats, locale, merge(this._vm.numberFormats[locale] || {}, format));\n};\n\nVueI18n.prototype._getNumberFormatter = function _getNumberFormatter(value, locale, fallback, numberFormats, key, options) {\n var _locale = locale;\n var formats = numberFormats[_locale]; // fallback locale\n\n if (isNull(formats) || isNull(formats[key])) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to '\" + fallback + \"' number formats from '\" + locale + \" number formats.\");\n }\n\n _locale = fallback;\n formats = numberFormats[_locale];\n }\n\n if (isNull(formats) || isNull(formats[key])) {\n return null;\n } else {\n var format = formats[key];\n var formatter;\n\n if (options) {\n // If options specified - create one time number formatter\n formatter = new Intl.NumberFormat(_locale, Object.assign({}, format, options));\n } else {\n var id = _locale + \"__\" + key;\n formatter = this._numberFormatters[id];\n\n if (!formatter) {\n formatter = this._numberFormatters[id] = new Intl.NumberFormat(_locale, format);\n }\n }\n\n return formatter;\n }\n};\n\nVueI18n.prototype._n = function _n(value, locale, key, options) {\n /* istanbul ignore if */\n if (!VueI18n.availabilities.numberFormat) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot format a Number value due to not supported Intl.NumberFormat.');\n }\n\n return '';\n }\n\n if (!key) {\n var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);\n return nf.format(value);\n }\n\n var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);\n\n var ret = formatter && formatter.format(value);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to number localization of root: key '\" + key + \"' .\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n.n(value, Object.assign({}, {\n key: key,\n locale: locale\n }, options));\n } else {\n return ret || '';\n }\n};\n\nVueI18n.prototype.n = function n(value) {\n var args = [],\n len = arguments.length - 1;\n\n while (len-- > 0) {\n args[len] = arguments[len + 1];\n }\n\n var locale = this.locale;\n var key = null;\n var options = null;\n\n if (args.length === 1) {\n if (typeof args[0] === 'string') {\n key = args[0];\n } else if (isObject(args[0])) {\n if (args[0].locale) {\n locale = args[0].locale;\n }\n\n if (args[0].key) {\n key = args[0].key;\n } // Filter out number format options only\n\n\n options = Object.keys(args[0]).reduce(function (acc, key) {\n var obj;\n\n if (numberFormatKeys.includes(key)) {\n return Object.assign({}, acc, (obj = {}, obj[key] = args[0][key], obj));\n }\n\n return acc;\n }, null);\n }\n } else if (args.length === 2) {\n if (typeof args[0] === 'string') {\n key = args[0];\n }\n\n if (typeof args[1] === 'string') {\n locale = args[1];\n }\n }\n\n return this._n(value, locale, key, options);\n};\n\nVueI18n.prototype._ntp = function _ntp(value, locale, key, options) {\n /* istanbul ignore if */\n if (!VueI18n.availabilities.numberFormat) {\n if (process.env.NODE_ENV !== 'production') {\n warn('Cannot format to parts a Number value due to not supported Intl.NumberFormat.');\n }\n\n return [];\n }\n\n if (!key) {\n var nf = !options ? new Intl.NumberFormat(locale) : new Intl.NumberFormat(locale, options);\n return nf.formatToParts(value);\n }\n\n var formatter = this._getNumberFormatter(value, locale, this.fallbackLocale, this._getNumberFormats(), key, options);\n\n var ret = formatter && formatter.formatToParts(value);\n\n if (this._isFallbackRoot(ret)) {\n if (process.env.NODE_ENV !== 'production' && !this._silentTranslationWarn) {\n warn(\"Fall back to format number to parts of root: key '\" + key + \"' .\");\n }\n /* istanbul ignore if */\n\n\n if (!this._root) {\n throw Error('unexpected error');\n }\n\n return this._root.$i18n._ntp(value, locale, key, options);\n } else {\n return ret || [];\n }\n};\n\nObject.defineProperties(VueI18n.prototype, prototypeAccessors);\nvar availabilities; // $FlowFixMe\n\nObject.defineProperty(VueI18n, 'availabilities', {\n get: function get() {\n if (!availabilities) {\n var intlDefined = typeof Intl !== 'undefined';\n availabilities = {\n dateTimeFormat: intlDefined && typeof Intl.DateTimeFormat !== 'undefined',\n numberFormat: intlDefined && typeof Intl.NumberFormat !== 'undefined'\n };\n }\n\n return availabilities;\n }\n});\nVueI18n.install = install;\nVueI18n.version = '8.11.2';\nexport default VueI18n;","import Vue from'vue';import VueI18n from'vue-i18n';import ElementLocale from'element-ui/lib/locale';import{extractCountryCode}from'~/lib/extractCountryCode';var language=extractCountryCode(document.documentElement.lang);var amount=document.querySelector('html').dataset.amount;Vue.use(VueI18n);var i18n=new VueI18n({locale:language,fallbackLocale:'en',messages:{},silentFallbackWarn:true,silentTranslationWarn:true,pluralizationRules:{cs:function cs(choice){if(choice===1)return 0;if(choice>=2&&choice<=4)return 1;return 2;}}});ElementLocale.i18n(function(key,value){return i18n.t(key,value);});export function loadTranslations(){return import(/* webpackChunkName: \"lang-[request]\" */\"~/int/\".concat(language,\"/\").concat(language,\".js\")).then(function(data){i18n.setLocaleMessage(language,data[\"default\"][language]);var amounts=JSON.parse(amount);i18n.mergeLocaleMessage(language,{amounts:{mini:amounts.mini.toString(),premium:amounts.premium.toString()}});i18n.locale=language;});}export default i18n;","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\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\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 _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction arrayToObject() {\n var fields = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n return fields.reduce(function (prev, path) {\n var key = path.split(\".\").slice(-1)[0];\n\n if (prev[key]) {\n throw new Error(\"The key `\".concat(key, \"` is already in use.\"));\n } // eslint-disable-next-line no-param-reassign\n\n\n prev[key] = path;\n return prev;\n }, {});\n}\n\nfunction objectEntries(obj) {\n return Object.keys(obj).map(function (key) {\n return [key, obj[key]];\n });\n}\n\nfunction normalizeNamespace(fn) {\n return function () {\n for (var _len = arguments.length, params = new Array(_len), _key = 0; _key < _len; _key++) {\n params[_key] = arguments[_key];\n } // eslint-disable-next-line prefer-const\n\n\n var _ref = typeof params[0] === \"string\" ? [].concat(params) : [\"\"].concat(params),\n _ref2 = _slicedToArray(_ref, 4),\n namespace = _ref2[0],\n map = _ref2[1],\n getterType = _ref2[2],\n mutationType = _ref2[3];\n\n if (namespace.length && namespace.charAt(namespace.length - 1) !== \"/\") {\n namespace += \"/\";\n }\n\n getterType = \"\".concat(namespace).concat(getterType || \"getField\");\n mutationType = \"\".concat(namespace).concat(mutationType || \"updateField\");\n return fn(namespace, map, getterType, mutationType);\n };\n}\n\nfunction getField(state) {\n return function (path) {\n return path.split(/[.[\\]]+/).reduce(function (prev, key) {\n return prev[key];\n }, state);\n };\n}\n\nfunction updateField(state, _ref3) {\n var path = _ref3.path,\n value = _ref3.value;\n path.split(/[.[\\]]+/).reduce(function (prev, key, index, array) {\n if (array.length === index + 1) {\n // eslint-disable-next-line no-param-reassign\n prev[key] = value;\n }\n\n return prev[key];\n }, state);\n}\n\nvar mapFields = normalizeNamespace(function (namespace, fields, getterType, mutationType) {\n var fieldsObject = Array.isArray(fields) ? arrayToObject(fields) : fields;\n return Object.keys(fieldsObject).reduce(function (prev, key) {\n var path = fieldsObject[key];\n var field = {\n get: function get() {\n return this.$store.getters[getterType](path);\n },\n set: function set(value) {\n this.$store.commit(mutationType, {\n path: path,\n value: value\n });\n }\n }; // eslint-disable-next-line no-param-reassign\n\n prev[key] = field;\n return prev;\n }, {});\n});\nvar mapMultiRowFields = normalizeNamespace(function (namespace, paths, getterType, mutationType) {\n var pathsObject = Array.isArray(paths) ? arrayToObject(paths) : paths;\n return Object.keys(pathsObject).reduce(function (entries, key) {\n var path = pathsObject[key]; // eslint-disable-next-line no-param-reassign\n\n entries[key] = {\n get: function get() {\n var store = this.$store;\n var rows = objectEntries(store.getters[getterType](path));\n return rows.map(function (fieldsObject) {\n return Object.keys(fieldsObject[1]).reduce(function (prev, fieldKey) {\n var fieldPath = \"\".concat(path, \"[\").concat(fieldsObject[0], \"].\").concat(fieldKey);\n return Object.defineProperty(prev, fieldKey, {\n get: function get() {\n return store.getters[getterType](fieldPath);\n },\n set: function set(value) {\n store.commit(mutationType, {\n path: fieldPath,\n value: value\n });\n }\n });\n }, {});\n });\n }\n };\n return entries;\n }, {});\n});\n\nvar createHelpers = function createHelpers(_ref4) {\n var _ref5;\n\n var getterType = _ref4.getterType,\n mutationType = _ref4.mutationType;\n return _ref5 = {}, _defineProperty(_ref5, getterType, getField), _defineProperty(_ref5, mutationType, updateField), _defineProperty(_ref5, \"mapFields\", normalizeNamespace(function (namespace, fields) {\n return mapFields(namespace, fields, getterType, mutationType);\n })), _defineProperty(_ref5, \"mapMultiRowFields\", normalizeNamespace(function (namespace, paths) {\n return mapMultiRowFields(namespace, paths, getterType, mutationType);\n })), _ref5;\n};\n\nexport { createHelpers, getField, mapFields, mapMultiRowFields, updateField };","import _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { logger, uuid4, timestampInSeconds, isThenable, GLOBAL_OBJ } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { getCurrentHub, runWithAsyncContext, getIsolationScope } from './hub.js';\nimport { makeSession, updateSession, closeSession } from './session.js';\nimport { parseEventHintOrCaptureContext } from './utils/prepareEvent.js';\n/**\n * Captures an exception event and sends it to Sentry.\n *\n * @param exception The exception to capture.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured Sentry event.\n */\n\nfunction captureException( // eslint-disable-next-line @typescript-eslint/no-explicit-any\nexception, hint) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureException(exception, parseEventHintOrCaptureContext(hint));\n}\n/**\n * Captures a message event and sends it to Sentry.\n *\n * @param exception The exception to capture.\n * @param captureContext Define the level of the message or pass in additional data to attach to the message.\n * @returns the id of the captured message.\n */\n\n\nfunction captureMessage(message, // eslint-disable-next-line deprecation/deprecation\ncaptureContext) {\n // This is necessary to provide explicit scopes upgrade, without changing the original\n // arity of the `captureMessage(message, level)` method.\n var level = typeof captureContext === 'string' ? captureContext : undefined;\n var context = typeof captureContext !== 'string' ? {\n captureContext: captureContext\n } : undefined; // eslint-disable-next-line deprecation/deprecation\n\n return getCurrentHub().captureMessage(message, level, context);\n}\n/**\n * Captures a manually created event and sends it to Sentry.\n *\n * @param exception The event to send to Sentry.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured event.\n */\n\n\nfunction captureEvent(event, hint) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().captureEvent(event, hint);\n}\n/**\n * Callback to set context information onto the scope.\n * @param callback Callback function that receives Scope.\n *\n * @deprecated Use getCurrentScope() directly.\n */\n\n\nfunction configureScope(callback) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().configureScope(callback);\n}\n/**\n * Records a new breadcrumb which will be attached to future events.\n *\n * Breadcrumbs will be added to subsequent events to provide more context on\n * user's actions prior to an error or crash.\n *\n * @param breadcrumb The breadcrumb to record.\n */\n\n\nfunction addBreadcrumb(breadcrumb, hint) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().addBreadcrumb(breadcrumb, hint);\n}\n/**\n * Sets context data with the given name.\n * @param name of the context\n * @param context Any kind of data. This data will be normalized.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction setContext(name, context) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setContext(name, context);\n}\n/**\n * Set an object that will be merged sent as extra data with the event.\n * @param extras Extras object to merge into current context.\n */\n\n\nfunction setExtras(extras) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setExtras(extras);\n}\n/**\n * Set key:value that will be sent as extra data with the event.\n * @param key String of extra\n * @param extra Any kind of data. This data will be normalized.\n */\n\n\nfunction setExtra(key, extra) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setExtra(key, extra);\n}\n/**\n * Set an object that will be merged sent as tags data with the event.\n * @param tags Tags context object to merge into current context.\n */\n\n\nfunction setTags(tags) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setTags(tags);\n}\n/**\n * Set key:value that will be sent as tags data with the event.\n *\n * Can also be used to unset a tag, by passing `undefined`.\n *\n * @param key String key of tag\n * @param value Value of tag\n */\n\n\nfunction setTag(key, value) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setTag(key, value);\n}\n/**\n * Updates user context information for future events.\n *\n * @param user User context object to be set in the current context. Pass `null` to unset the user.\n */\n\n\nfunction setUser(user) {\n // eslint-disable-next-line deprecation/deprecation\n getCurrentHub().setUser(user);\n}\n/**\n * Creates a new scope with and executes the given operation within.\n * The scope is automatically removed once the operation\n * finishes or throws.\n *\n * This is essentially a convenience function for:\n *\n * pushScope();\n * callback();\n * popScope();\n */\n\n/**\n * Either creates a new active scope, or sets the given scope as active scope in the given callback.\n */\n\n\nfunction withScope() {\n // eslint-disable-next-line deprecation/deprecation\n var hub = getCurrentHub(); // If a scope is defined, we want to make this the active scope instead of the default one\n\n for (var _len = arguments.length, rest = new Array(_len), _key = 0; _key < _len; _key++) {\n rest[_key] = arguments[_key];\n }\n\n if (rest.length === 2) {\n var scope = rest[0],\n callback = rest[1];\n\n if (!scope) {\n // eslint-disable-next-line deprecation/deprecation\n return hub.withScope(callback);\n } // eslint-disable-next-line deprecation/deprecation\n\n\n return hub.withScope(function () {\n // eslint-disable-next-line deprecation/deprecation\n hub.getStackTop().scope = scope;\n return callback(scope);\n });\n } // eslint-disable-next-line deprecation/deprecation\n\n\n return hub.withScope(rest[0]);\n}\n/**\n * Attempts to fork the current isolation scope and the current scope based on the current async context strategy. If no\n * async context strategy is set, the isolation scope and the current scope will not be forked (this is currently the\n * case, for example, in the browser).\n *\n * Usage of this function in environments without async context strategy is discouraged and may lead to unexpected behaviour.\n *\n * This function is intended for Sentry SDK and SDK integration development. It is not recommended to be used in \"normal\"\n * applications directly because it comes with pitfalls. Use at your own risk!\n *\n * @param callback The callback in which the passed isolation scope is active. (Note: In environments without async\n * context strategy, the currently active isolation scope may change within execution of the callback.)\n * @returns The same value that `callback` returns.\n */\n\n\nfunction withIsolationScope(callback) {\n return runWithAsyncContext(function () {\n return callback(getIsolationScope());\n });\n}\n/**\n * Forks the current scope and sets the provided span as active span in the context of the provided callback.\n *\n * @param span Spans started in the context of the provided callback will be children of this span.\n * @param callback Execution context in which the provided span will be active. Is passed the newly forked scope.\n * @returns the value returned from the provided callback function.\n */\n\n\nfunction withActiveSpan(span, callback) {\n return withScope(function (scope) {\n // eslint-disable-next-line deprecation/deprecation\n scope.setSpan(span);\n return callback(scope);\n });\n}\n/**\n * Starts a new `Transaction` and returns it. This is the entry point to manual tracing instrumentation.\n *\n * A tree structure can be built by adding child spans to the transaction, and child spans to other spans. To start a\n * new child span within the transaction or any span, call the respective `.startChild()` method.\n *\n * Every child span must be finished before the transaction is finished, otherwise the unfinished spans are discarded.\n *\n * The transaction must be finished with a call to its `.end()` method, at which point the transaction with all its\n * finished child spans will be sent to Sentry.\n *\n * NOTE: This function should only be used for *manual* instrumentation. Auto-instrumentation should call\n * `startTransaction` directly on the hub.\n *\n * @param context Properties of the new `Transaction`.\n * @param customSamplingContext Information given to the transaction sampling function (along with context-dependent\n * default values). See {@link Options.tracesSampler}.\n *\n * @returns The transaction which was just started\n *\n * @deprecated Use `startSpan()`, `startSpanManual()` or `startInactiveSpan()` instead.\n */\n\n\nfunction startTransaction(context, customSamplingContext) {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().startTransaction(_objectSpread({}, context), customSamplingContext);\n}\n/**\n * Create a cron monitor check in and send it to Sentry.\n *\n * @param checkIn An object that describes a check in.\n * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n * to create a monitor automatically when sending a check in.\n */\n\n\nfunction captureCheckIn(checkIn, upsertMonitorConfig) {\n var scope = getCurrentScope();\n var client = getClient();\n\n if (!client) {\n DEBUG_BUILD && logger.warn('Cannot capture check-in. No client defined.');\n } else if (!client.captureCheckIn) {\n DEBUG_BUILD && logger.warn('Cannot capture check-in. Client does not support sending check-ins.');\n } else {\n return client.captureCheckIn(checkIn, upsertMonitorConfig, scope);\n }\n\n return uuid4();\n}\n/**\n * Wraps a callback with a cron monitor check in. The check in will be sent to Sentry when the callback finishes.\n *\n * @param monitorSlug The distinct slug of the monitor.\n * @param upsertMonitorConfig An optional object that describes a monitor config. Use this if you want\n * to create a monitor automatically when sending a check in.\n */\n\n\nfunction withMonitor(monitorSlug, callback, upsertMonitorConfig) {\n var checkInId = captureCheckIn({\n monitorSlug: monitorSlug,\n status: 'in_progress'\n }, upsertMonitorConfig);\n var now = timestampInSeconds();\n\n function finishCheckIn(status) {\n captureCheckIn({\n monitorSlug: monitorSlug,\n status: status,\n checkInId: checkInId,\n duration: timestampInSeconds() - now\n });\n }\n\n var maybePromiseResult;\n\n try {\n maybePromiseResult = callback();\n } catch (e) {\n finishCheckIn('error');\n throw e;\n }\n\n if (isThenable(maybePromiseResult)) {\n Promise.resolve(maybePromiseResult).then(function () {\n finishCheckIn('ok');\n }, function () {\n finishCheckIn('error');\n });\n } else {\n finishCheckIn('ok');\n }\n\n return maybePromiseResult;\n}\n/**\n * Call `flush()` on the current client, if there is one. See {@link Client.flush}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue. Omitting this parameter will cause\n * the client to wait until all events are sent before resolving the promise.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\n\n\nfunction flush(_x) {\n return _flush.apply(this, arguments);\n}\n/**\n * Call `close()` on the current client, if there is one. See {@link Client.close}.\n *\n * @param timeout Maximum time in ms the client should wait to flush its event queue before shutting down. Omitting this\n * parameter will cause the client to wait until all events are sent before disabling itself.\n * @returns A promise which resolves to `true` if the queue successfully drains before the timeout, or `false` if it\n * doesn't (or if there's no client defined).\n */\n\n\nfunction _flush() {\n _flush = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee(timeout) {\n var client;\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n client = getClient();\n\n if (!client) {\n _context.next = 3;\n break;\n }\n\n return _context.abrupt(\"return\", client.flush(timeout));\n\n case 3:\n DEBUG_BUILD && logger.warn('Cannot flush events. No client defined.');\n return _context.abrupt(\"return\", Promise.resolve(false));\n\n case 5:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee);\n }));\n return _flush.apply(this, arguments);\n}\n\nfunction close(_x2) {\n return _close.apply(this, arguments);\n}\n/**\n * This is the getter for lastEventId.\n *\n * @returns The last event id of a captured event.\n * @deprecated This function will be removed in the next major version of the Sentry SDK.\n */\n\n\nfunction _close() {\n _close = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee2(timeout) {\n var client;\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n client = getClient();\n\n if (!client) {\n _context2.next = 3;\n break;\n }\n\n return _context2.abrupt(\"return\", client.close(timeout));\n\n case 3:\n DEBUG_BUILD && logger.warn('Cannot flush events and disable SDK. No client defined.');\n return _context2.abrupt(\"return\", Promise.resolve(false));\n\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n return _close.apply(this, arguments);\n}\n\nfunction lastEventId() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().lastEventId();\n}\n/**\n * Get the currently active client.\n */\n\n\nfunction getClient() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getClient();\n}\n/**\n * Returns true if Sentry has been properly initialized.\n */\n\n\nfunction isInitialized() {\n return !!getClient();\n}\n/**\n * Get the currently active scope.\n */\n\n\nfunction getCurrentScope() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentHub().getScope();\n}\n/**\n * Start a session on the current isolation scope.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns the new active session\n */\n\n\nfunction startSession(context) {\n var client = getClient();\n var isolationScope = getIsolationScope();\n var currentScope = getCurrentScope();\n\n var _ref = client && client.getOptions() || {},\n release = _ref.release,\n _ref$environment = _ref.environment,\n environment = _ref$environment === void 0 ? DEFAULT_ENVIRONMENT : _ref$environment; // Will fetch userAgent if called from browser sdk\n\n\n var _ref2 = GLOBAL_OBJ.navigator || {},\n userAgent = _ref2.userAgent;\n\n var session = makeSession(_objectSpread(_objectSpread({\n release: release,\n environment: environment,\n user: currentScope.getUser() || isolationScope.getUser()\n }, userAgent && {\n userAgent: userAgent\n }), context)); // End existing session if there's one\n\n var currentSession = isolationScope.getSession();\n\n if (currentSession && currentSession.status === 'ok') {\n updateSession(currentSession, {\n status: 'exited'\n });\n }\n\n endSession(); // Afterwards we set the new session on the scope\n\n isolationScope.setSession(session); // TODO (v8): Remove this and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n\n currentScope.setSession(session);\n return session;\n}\n/**\n * End the session on the current isolation scope.\n */\n\n\nfunction endSession() {\n var isolationScope = getIsolationScope();\n var currentScope = getCurrentScope();\n var session = currentScope.getSession() || isolationScope.getSession();\n\n if (session) {\n closeSession(session);\n }\n\n _sendSessionUpdate(); // the session is over; take it off of the scope\n\n\n isolationScope.setSession(); // TODO (v8): Remove this and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n\n currentScope.setSession();\n}\n/**\n * Sends the current Session on the scope\n */\n\n\nfunction _sendSessionUpdate() {\n var isolationScope = getIsolationScope();\n var currentScope = getCurrentScope();\n var client = getClient(); // TODO (v8): Remove currentScope and only use the isolation scope(?).\n // For v7 though, we can't \"soft-break\" people using getCurrentHub().getScope().setSession()\n\n var session = currentScope.getSession() || isolationScope.getSession();\n\n if (session && client && client.captureSession) {\n client.captureSession(session);\n }\n}\n/**\n * Sends the current session on the scope to Sentry\n *\n * @param end If set the session will be marked as exited and removed from the scope.\n * Defaults to `false`.\n */\n\n\nfunction captureSession() {\n var end = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n // both send the update and pull the session from the scope\n if (end) {\n endSession();\n return;\n } // only send the update\n\n\n _sendSessionUpdate();\n}\n\nexport { addBreadcrumb, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, configureScope, endSession, flush, getClient, getCurrentScope, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, startTransaction, withActiveSpan, withIsolationScope, withMonitor, withScope };","import _curry2 from './internal/_curry2.js';\nimport _has from './internal/_has.js';\n/**\n * Returns whether or not a path exists in an object. Only the object's\n * own properties are checked.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig [Idx] -> {a} -> Boolean\n * @param {Array} path The path to use.\n * @param {Object} obj The object to check the path in.\n * @return {Boolean} Whether the path exists.\n * @see R.has\n * @example\n *\n * R.hasPath(['a', 'b'], {a: {b: 2}}); // => true\n * R.hasPath(['a', 'b'], {a: {b: undefined}}); // => true\n * R.hasPath(['a', 'b'], {a: {c: 2}}); // => false\n * R.hasPath(['a', 'b'], {}); // => false\n */\n\nvar hasPath =\n/*#__PURE__*/\n_curry2(function hasPath(_path, obj) {\n if (_path.length === 0) {\n return false;\n }\n\n var val = obj;\n var idx = 0;\n\n while (idx < _path.length) {\n if (_has(_path[idx], val)) {\n val = val[_path[idx]];\n idx += 1;\n } else {\n return false;\n }\n }\n\n return true;\n});\n\nexport default hasPath;","import{parseISO}from'date-fns';import dateIsAfterDate from'./dateIsAfterDate';export var multipleEmailsValidator=function multipleEmailsValidator(rule,value,callback){var regex=/^([\\w-.]+@([\\w-]+\\.)+[\\w-]{2,})?$/;if(value===null||value===undefined){return callback();}var inputStr=Array.isArray(value)?value.join(';'):value;var result=inputStr.replace(/\\s/g,'').split(/,|;/);for(var i=0;i<result.length;i+=1){if(!regex.test(result[i])){callback(new Error('multiple_email_format'));}}return callback();};export var dateIsAfterDateValidator=function dateIsAfterDateValidator(rule,value,state,callback){if(dateIsAfterDate(value,state.issued_on)){callback();}else{callback(new Error('tax_point_on_wrong_date'));}};export var expenseDateValidator=function expenseDateValidator(rule,value,state,callback){var issuedOn=typeof state.issuedOn==='string'?parseISO(state.issuedOn):state.issuedOn;var dueOn=typeof value==='string'?parseISO(value):value;if(dateIsAfterDate(issuedOn,dueOn)){callback();}else{callback(new Error('due_on_is_before_issued_on_date'));}};export var dateInFutureValidator=function dateInFutureValidator(rule,value,state,callback){var today=new Date();var newValue=typeof value==='string'?parseISO(value):value;if(dateIsAfterDate(today,newValue)){callback();}else{callback(new Error('date_in_future'));}};export var validatePass=function validatePass(rule,value,form,field,callback){if(value===''){callback(new Error('password.password_required'));}else{if(form.passwordForm[field]!==''){form.$refs.passwordForm.validateField(field);}callback();}};export var validatePassConfirmation=function validatePassConfirmation(rule,value,form,field,callback){if(value===''){callback(new Error('password.password_confirmation_required'));}else if(value!==form.passwordForm[field]){callback(new Error('password.passwords_not_match'));}else{callback();}};","function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break;}}catch(err){_d=true;_e=err;}finally{try{if(!_n&&_i[\"return\"]!=null)_i[\"return\"]();}finally{if(_d)throw _e;}}return _arr;}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}import uuid from'uuid-random';import{startOfDay}from'date-fns';import{map,is,hasPath,includes}from'ramda';import dateIsAfterDate from'~/lib/validators/dateIsAfterDate';import i18n from'~/i18n';import{multipleEmailsValidator,dateInFutureValidator,expenseDateValidator,dateIsAfterDateValidator,validatePass,validatePassConfirmation}from'~/lib/validators/formValidators';import{countryCodeIsNot,countryCodeIs,defaultInvoiceKind,buyerAndSellerCountryIsEq,defaultInvoiceNumber}from'~/lib/formConfigHelpers';import{BANK_TRANSFER,COUNTRY_CODES,CREDIT_CARD,CURRENCIES,INVOICE_KIND_ADVANCE,INVOICE_KIND_NO_VAT,INVOICE_KIND_PROFORMA,INVOICE_KIND_VAT_DUTY_REVERSED,INVOICE_KIND_VAT_MARGIN,INVOICE_KIND_WITH_VAT,LANGUAGES}from'./constants';var startOfTodayTimestamp=startOfDay(new Date()).getTime();// TODO: consider to move this value to defaultValue function\n// in get*name*FormConfig: FO-912\nvar defaultValues={country_code:COUNTRY_CODES[i18n.locale.toUpperCase()],currency:CURRENCIES[i18n.locale.toUpperCase()],delivery_on:null,design:4,due_in:'14',due_on_custom:startOfTodayTimestamp,issued_on:startOfTodayTimestamp,kind:defaultInvoiceKind(COUNTRY_CODES[i18n.locale.toUpperCase()]),language:LANGUAGES[i18n.locale.toUpperCase()],means_of_payment:'bank_transfer',rounding_type:'none',show_qr_code:undefined,tax_point_on:startOfTodayTimestamp,vat_calculation:'vat_inclusive',seller_bank_account_show_iban:countryCodeIs(i18n.locale.toUpperCase(),[COUNTRY_CODES.RS,COUNTRY_CODES.NL]),lines:[{description:'',identifier:uuid(),position:0,price:0,quantity:1,unit_type:null,vat_rate:0,discount_amount:0,discount_kind:'percentage',is_discount_line:null,_destroy:false}]};export var getInvoiceFormConfig=function getInvoiceFormConfig(state){return{dueOnIsCustom:false,kind:{validations:[{required:true,message:'kind_required'}],defaultValue:function defaultValue(){return defaultValues.kind;}},number:{validations:[{required:true,message:'number_required'}],defaultValue:function defaultValue(){if(state&&state.subscription.next_invoice_number){return state.subscription.next_invoice_number;}return defaultInvoiceNumber();}},registration_number:{defaultValue:function defaultValue(){if(state&&state.subscription.next_invoice_number){return state.subscription.next_invoice_number;}return defaultInvoiceNumber();},visibilityConditions:[function(){return countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.GB,COUNTRY_CODES.NL])&&state.invoiceForm.kind===INVOICE_KIND_WITH_VAT;}]},issued_on:{validations:[{required:true,message:'date_required'},{type:'date',message:'date_invalid'}],defaultValue:function defaultValue(){return defaultValues.issued_on;}},tax_point_on:{validations:[{required:true,message:'date_required'},{type:'date',message:'date_invalid'},{validator:function validator(rule,value,callback){dateIsAfterDateValidator(rule,value,state,callback);}}],visibilityConditions:[function(){return state.invoiceForm.kind!==INVOICE_KIND_NO_VAT&&state.invoiceForm.kind!==INVOICE_KIND_ADVANCE&&state.invoiceForm.kind!==INVOICE_KIND_PROFORMA&&state.invoiceForm.kind!==INVOICE_KIND_VAT_MARGIN&&countryCodeIsNot(state,[COUNTRY_CODES.SK,COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.NL,COUNTRY_CODES.GB]);}],defaultValue:function defaultValue(){if(state){var issued=state.issued_on,taxPoint=state.tax_point_on;if(dateIsAfterDate(taxPoint,issued)){return taxPoint;}return issued;}return defaultValues.tax_point_on;}},delivery_on:{validations:[{type:'date',message:'date_invalid'}],defaultValue:function defaultValue(){return defaultValues.delivery_on;},visibilityConditions:[function(){return countryCodeIsNot(state,COUNTRY_CODES.SK);}]},due_in:{validations:[{required:true,message:'date_required'}],visibilityConditions:[function(){return state.invoiceForm.due_in!=='custom';}],defaultValue:function defaultValue(){return defaultValues.due_in;}},due_on_custom:{validations:[{required:true,message:'date_required'},{type:'date',message:'date_invalid'}],visibilityConditions:[function(){return state.invoiceForm.due_in==='custom';}],defaultValue:function defaultValue(){return defaultValues.due_on_custom;}},means_of_payment:{validations:[{required:true,message:'means_of_payment_required'}],defaultValue:function defaultValue(){return defaultValues.means_of_payment;}},issued_by:{defaultValue:function defaultValue(){return'';}},reference:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return countryCodeIs(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL,COUNTRY_CODES.NL,COUNTRY_CODES.GB]);}]},specific_symbol:{validations:[{pattern:/^[0-9]{0,10}$/,message:'specific_symbol_wrong_format'}],visibilityConditions:[function(){return state.invoiceForm.means_of_payment===BANK_TRANSFER&&countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL,COUNTRY_CODES.NL,COUNTRY_CODES.GB]);}],defaultValue:function defaultValue(){return'';}},payment_symbol:{validations:[{pattern:/^[0-9]{0,10}$/,message:'payment_symbol_wrong_format'}],visibilityConditions:[function(){return state.invoiceForm.means_of_payment===BANK_TRANSFER&&countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL,COUNTRY_CODES.NL,COUNTRY_CODES.GB]);}],defaultValue:function defaultValue(){return'';}},constant_symbol:{validations:[{pattern:/^[0-9]{0,4}$/,message:'constant_symbol_wrong_format'}],visibilityConditions:[function(){return state.invoiceForm.means_of_payment===BANK_TRANSFER&&countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL,COUNTRY_CODES.NL,COUNTRY_CODES.GB]);}],defaultValue:function defaultValue(){return'';}},vat_calculation:{defaultValue:function defaultValue(){return defaultValues.vat_calculation;},visibilityConditions:[function(){return state.invoiceForm.kind!==INVOICE_KIND_NO_VAT&&state.invoiceForm.kind!==INVOICE_KIND_PROFORMA&&state.invoiceForm.kind!==INVOICE_KIND_VAT_MARGIN&&state.invoiceForm.kind!==INVOICE_KIND_VAT_DUTY_REVERSED;}]},currency:{defaultValue:function defaultValue(){return defaultValues.currency.toUpperCase();}},vat_totals_currency_conversion:{visibilityConditions:[function(){return state.invoiceForm.currency!==defaultValues.currency&&countryCodeIs(state,COUNTRY_CODES.CS);}],defaultValue:function defaultValue(){return false;}},conversion_rate_message:{defaultValue:function defaultValue(){return'';}},rounding_type:{defaultValue:function defaultValue(){return defaultValues.rounding_type;}},language:{defaultValue:function defaultValue(){return defaultValues.language;}},logo:{defaultValue:function defaultValue(){return'';}},stamp:{defaultValue:function defaultValue(){return'';}},color:{defaultValue:function defaultValue(){return'#2980b9';},disableConditions:[function(){return state.invoiceForm.design!==4;}]},design:{defaultValue:function defaultValue(){return defaultValues.design;}},buyer_history_list:{defaultValue:function defaultValue(){return[];}},buyer_name:{defaultValue:function defaultValue(){return'';}},buyer_name_placeholder:{visibilityConditions:[function(){return countryCodeIs(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL]);}]},buyer_tax_number_placeholder:{visibilityConditions:[function(){return countryCodeIs(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS]);}]},buyer_company_number:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS]);}]},buyer_tax_number:{defaultValue:function defaultValue(){return'';}},buyer_vat_number:{visibilityConditions:[function(){return state.invoiceForm.buyer_address_country_code===COUNTRY_CODES.SK;}],defaultValue:function defaultValue(){return'';}},buyer_address_street:{defaultValue:function defaultValue(){return'';}},buyer_address_city:{defaultValue:function defaultValue(){return'';}},buyer_address_postcode:{defaultValue:function defaultValue(){return'';}},buyer_address_country_code:{defaultValue:function defaultValue(){return defaultValues.country_code;}},buyer_address_subdivision:{defaultValue:function defaultValue(){return defaultValues.subdivision;}},buyer_email:{validations:[{validator:multipleEmailsValidator},{validator:function validator(rule,value,callback){if(state.recurring_auto_submit&&!value){callback(new Error('email_required_for_recurring'));}callback();}}],defaultValue:function defaultValue(){return'';}},buyer_phone:{defaultValue:function defaultValue(){return'';},validations:[{validator:function validator(rule,value,callback){if(!!value&&!state.phoneValidations.buyer){callback(new Error('phone_is_not_valid'));}else{callback();}},trigger:'blur'}]},buyer_web:{defaultValue:function defaultValue(){return'';}},seller_company_number:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS]);}]},seller_name:{defaultValue:function defaultValue(){return'';}},seller_name_placeholder:{visibilityConditions:[function(){return countryCodeIs(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL]);}]},seller_information:{defaultValue:function defaultValue(){return'';}},seller_tax_number_placeholder:{visibilityConditions:[function(){return countryCodeIs(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS]);}]},seller_tax_number:{defaultValue:function defaultValue(){return'';}},seller_vat_number:{visibilityConditions:[function(){return state.invoiceForm.seller_address_country_code===COUNTRY_CODES.SK;}],defaultValue:function defaultValue(){return'';}},seller_address_street:{defaultValue:function defaultValue(){return'';}},seller_address_city:{defaultValue:function defaultValue(){return'';}},seller_address_postcode:{defaultValue:function defaultValue(){return'';}},seller_address_country_code:{defaultValue:function defaultValue(){return defaultValues.country_code;}},seller_address_subdivision:{defaultValue:function defaultValue(){return defaultValues.subdivision;}},seller_bank_account_number:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return countryCodeIsNot(state,[COUNTRY_CODES.RS,COUNTRY_CODES.NL]);}]},seller_bank_account_show_iban:{defaultValue:function defaultValue(){return defaultValues.seller_bank_account_show_iban;},visibilityConditions:[function(){return countryCodeIsNot(state,[COUNTRY_CODES.RS,COUNTRY_CODES.NL]);}]},seller_bank_account_iban:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return state.invoiceForm.seller_bank_account_show_iban||countryCodeIs(state,[COUNTRY_CODES.RS,COUNTRY_CODES.NL]);}]},seller_bank_account_swift:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return state.invoiceForm.seller_bank_account_show_iban||countryCodeIs(state,[COUNTRY_CODES.RS,COUNTRY_CODES.NL]);}]},seller_bank_account_sort_code:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return buyerAndSellerCountryIsEq(state.invoiceForm,COUNTRY_CODES.GB);}]},seller_bank_account_routing_number:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return buyerAndSellerCountryIsEq(state.invoiceForm,COUNTRY_CODES.EN);}]},seller_email:{validations:[{validator:multipleEmailsValidator}],defaultValue:function defaultValue(){return'';}},seller_phone:{defaultValue:function defaultValue(){return'';},validations:[{validator:function validator(rule,value,callback){if(!!value&&!state.phoneValidations.seller){callback(new Error('phone_is_not_valid'));}else{callback();}},trigger:'blur'}]},seller_web:{defaultValue:function defaultValue(){return'';}},note:{defaultValue:function defaultValue(){return'';}},foot_note:{defaultValue:function defaultValue(){return'';},visibilityConditions:[function(){return countryCodeIsNot(state,[COUNTRY_CODES.EN,COUNTRY_CODES.RS,COUNTRY_CODES.PL,COUNTRY_CODES.NL,COUNTRY_CODES.GB]);}]},lines:{defaultValue:function defaultValue(){return defaultValues.lines;}},show_qr_code:{defaultValue:function defaultValue(){return true;},visibilityConditions:[function(){return includes(state.invoiceForm.means_of_payment,[BANK_TRANSFER,CREDIT_CARD])&&includes(COUNTRY_CODES[state.env.country.toUpperCase()],[COUNTRY_CODES.CS,COUNTRY_CODES.SK,COUNTRY_CODES.NL]);}]},register_eet:{defaultValue:function defaultValue(){return true;}},eet_invoice:{defaultValue:function defaultValue(){return false;}},recurring_ends_on:{validations:[{type:'date',required:true,message:'date_invalid'},{validator:function validator(rule,value,callback){dateInFutureValidator(rule,value,state,callback);}}]},recurring_ends_after_count:{validations:[{required:true,message:'recurring_invoice_count_required'},{type:'number',min:1,message:'recurring_invoice_count_minimum'}]}};};// TODO: add tests\n// getEetFormConfig have state as a first parameter\nexport var getEetFormConfig=function getEetFormConfig(){return{establishment_number:{value:'',validations:[{required:true,message:'establishment_number',trigger:'blur'}]},cert_password:{value:'',validations:[{required:true,message:'cert_password',trigger:'blur'}]},vat_number:{value:'',validations:[{required:true,message:'vat_number',trigger:'blur'}]},testing_mode:{value:''},cert_file:{value:''},enabled:{value:''},not_subject_to_eet:{value:''}};};export var getExpenseFormConfig=function getExpenseFormConfig(state){return{contactId:{value:'',validations:[{required:false,// TODO: change to true\nmessage:'contact_required'},{type:'integer',message:'contact_required'}]},number:{value:'',validations:[{required:true,message:'expense_number_required',trigger:'blur'}]},issuedOn:{value:'',validations:[{required:true,message:'date_required'}]},dueOn:{value:'',validations:[{required:true,message:'date_required'},{validator:function validator(rule,value,callback){expenseDateValidator(rule,value,state,callback);}}]},taxAmount:{value:'',validations:[{required:true,message:'tax_amount_required'}]},totalAmount:{value:'',validations:[{required:true,message:'total_amount_required'}]}};};export var getContactFormConfig=function getContactFormConfig(form){return{name:{value:'',validations:[{required:true,message:'contact.name_required',trigger:'blur'}]},company_number:{value:''},email:{value:'',validations:[{validator:multipleEmailsValidator}]},phone:{value:'',validations:[{validator:function validator(rule,value,callback){if(!!value&&!form.phoneIsValid){callback(new Error('phone_is_not_valid'));}else{callback();}},trigger:'blur'}]}};};export var getResetPasswordFormConfig=function getResetPasswordFormConfig(form){return{token:{value:'',validations:[{required:true,message:'password.token_required',trigger:'blur'}]},password:{value:'',validations:[{required:true,message:'password.password_required',trigger:'blur'},{min:5,message:'password.too_short',trigger:'blur'},{validator:function validator(rule,value,callback){validatePass(rule,value,form,'passwordConfirmation',callback);},trigger:'blur'}]},passwordConfirmation:{value:'',validations:[{required:true,message:'password.password_confirmation_required',trigger:'blur'},{min:5,message:'password.too_short',trigger:'blur'},{validator:function validator(rule,value,callback){validatePassConfirmation(rule,value,form,'password',callback);},trigger:'blur'}]}};};export var getEmailFormConfig=function getEmailFormConfig(){return{thankYouBody:{validations:[{required:true,message:'password.password_confirmation_required',trigger:'blur'}]},thankYouSubject:{validations:[{required:true,message:'subject_required',trigger:'blur'}]},documentBody:{validations:[{required:true,message:'password.password_confirmation_required',trigger:'blur'}]},documentSubject:{validations:[{required:true,message:'subject_required',trigger:'blur'}]},reminderBody:{validations:[{required:true,message:'password.password_confirmation_required',trigger:'blur'}]},reminderSubject:{validations:[{required:true,message:'subject_required',trigger:'blur'}]}};};export var getPasswordFormConfig=function getPasswordFormConfig(form){return{password:{value:'',validations:[{required:true,message:'password.password_required',trigger:'blur'}]},currentPassword:{value:'',validations:[{required:true,message:'password.current_password_required',trigger:'blur'},{min:5,message:'password.too_short',trigger:'blur'},{validator:function validator(rule,value,callback){validatePass(rule,value,form,'passwordConfirmation',callback);},trigger:'blur'}]},passwordConfirmation:{value:'',validations:[{required:true,message:'password.password_confirmation_required',trigger:'blur'},{min:5,message:'password.too_short',trigger:'blur'},{validator:function validator(rule,value,callback){validatePassConfirmation(rule,value,form,'password',callback);},trigger:'blur'}]}};};export var getSubmitInvoiceForm=function getSubmitInvoiceForm(){return{senderEmail:{value:'',validations:[{required:true,message:'email_required'},{type:'email',message:'email_format'}]},recipientEmail:{value:'',validations:[{required:true,message:'email_required'},{validator:multipleEmailsValidator}]},subject:{value:'',validations:[{required:true,message:'subject_required'}]},message:{value:'',validations:[{required:true,message:'message_required'}]}};};export var getSequenceFormConfig=function getSequenceFormConfig(){return{expenseSequenceFormat:{value:'',validations:[{required:true,message:'expense_sequence_format_required'}]},invoiceSequenceFormat:{value:'',validations:[{required:true,message:'invoice_sequence_format_required'}]},taxCorrectionSequenceFormat:{value:'',validations:[{required:true,message:'tax_correction_sequence_format_required'}]},expenseSequenceNumber:{value:'',validations:[{required:true,message:'expense_sequence_number_required'},{type:'integer',message:'expense_sequence_number_invalid'}]},invoiceSequenceNumber:{value:'',validations:[{required:true,message:'invoice_sequence_number_required'},{type:'integer',message:'invoice_sequence_number_invalid'}]},taxCorrectionSequenceNumber:{value:'',validations:[{required:true,message:'tax_correction_sequence_number_required'},{type:'integer',message:'tax_correction_sequence_number_invalid'}]}};};export var getSettingsFormConfig=function getSettingsFormConfig(){return{};};export var getFormValidations=function getFormValidations(formConfig){var valObj={};Object.entries(formConfig).forEach(function(_ref){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];if(value.validations){valObj[key]=value.validations;}else{valObj[key]=null;}});return valObj;};export var retrieveFormConfig=function retrieveFormConfig(state,form){switch(form){case'expenseForm':return getExpenseFormConfig(state);case'eetForm':return getEetFormConfig(state);default:return getInvoiceFormConfig(state);}};export var getFormVisibilities=function getFormVisibilities(state,form){var config=retrieveFormConfig(state,form);return map(function(value){return value.visibilityConditions?value.visibilityConditions.every(function(rule){return rule();}):true;},config);};export var getFieldsDisabled=function getFieldsDisabled(state,form){var config=retrieveFormConfig(state,form);return map(function(value){return value.disableConditions?value.disableConditions.every(function(rule){return rule(state);}):false;},config);};export var getDefaultValues=function getDefaultValues(form){var config=retrieveFormConfig(null,form);return map(function(value){return value.defaultValue?value.defaultValue():null;},config);};export var getDefaultValue=function getDefaultValue(state,form,fieldName){if(!is(Object,state))return undefined;var config=retrieveFormConfig(state,form);if(!hasPath([fieldName,'defaultValue'],config))return undefined;return config[fieldName].defaultValue();};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport Vue from 'vue';\nexport function isString(obj) {\n return Object.prototype.toString.call(obj) === '[object String]';\n}\nexport function isObject(obj) {\n return Object.prototype.toString.call(obj) === '[object Object]';\n}\nexport function isHtmlElement(node) {\n return node && node.nodeType === Node.ELEMENT_NODE;\n}\n/**\n * - Inspired:\n * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js\n */\n\nvar isFunction = function isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n};\n\nif (typeof /./ !== 'function' && (typeof Int8Array === \"undefined\" ? \"undefined\" : _typeof(Int8Array)) !== 'object' && (Vue.prototype.$isServer || typeof document.childNodes !== 'function')) {\n isFunction = function isFunction(obj) {\n return typeof obj === 'function' || false;\n };\n}\n\nexport { isFunction };\nexport var isUndefined = function isUndefined(val) {\n return val === void 0;\n};\nexport var isDefined = function isDefined(val) {\n return val !== undefined && val !== null;\n};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport Vue from 'vue';\nimport { isString, isObject } from 'element-ui/src/utils/types';\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexport function noop() {}\n;\nexport function hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n;\n\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n\n return to;\n}\n\n;\nexport function toObject(arr) {\n var res = {};\n\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n\n return res;\n}\n;\nexport var getValueByPath = function getValueByPath(object, prop) {\n prop = prop || '';\n var paths = prop.split('.');\n var current = object;\n var result = null;\n\n for (var i = 0, j = paths.length; i < j; i++) {\n var path = paths[i];\n if (!current) break;\n\n if (i === j - 1) {\n result = current[path];\n break;\n }\n\n current = current[path];\n }\n\n return result;\n};\nexport function getPropByPath(obj, path, strict) {\n var tempObj = obj;\n path = path.replace(/\\[(\\w+)\\]/g, '.$1');\n path = path.replace(/^\\./, '');\n var keyArr = path.split('.');\n var i = 0;\n\n for (var len = keyArr.length; i < len - 1; ++i) {\n if (!tempObj && !strict) break;\n var key = keyArr[i];\n\n if (key in tempObj) {\n tempObj = tempObj[key];\n } else {\n if (strict) {\n throw new Error('please transfer a valid prop path to form item!');\n }\n\n break;\n }\n }\n\n return {\n o: tempObj,\n k: keyArr[i],\n v: tempObj ? tempObj[keyArr[i]] : null\n };\n}\n;\nexport var generateId = function generateId() {\n return Math.floor(Math.random() * 10000);\n};\nexport var valueEquals = function valueEquals(a, b) {\n // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript\n if (a === b) return true;\n if (!(a instanceof Array)) return false;\n if (!(b instanceof Array)) return false;\n if (a.length !== b.length) return false;\n\n for (var i = 0; i !== a.length; ++i) {\n if (a[i] !== b[i]) return false;\n }\n\n return true;\n};\nexport var escapeRegexpString = function escapeRegexpString() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n return String(value).replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&');\n}; // TODO: use native Array.find, Array.findIndex when IE support is dropped\n\nexport var arrayFindIndex = function arrayFindIndex(arr, pred) {\n for (var i = 0; i !== arr.length; ++i) {\n if (pred(arr[i])) {\n return i;\n }\n }\n\n return -1;\n};\nexport var arrayFind = function arrayFind(arr, pred) {\n var idx = arrayFindIndex(arr, pred);\n return idx !== -1 ? arr[idx] : undefined;\n}; // coerce truthy value to array\n\nexport var coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {\n if (Array.isArray(val)) {\n return val;\n } else if (val) {\n return [val];\n } else {\n return [];\n }\n};\nexport var isIE = function isIE() {\n return !Vue.prototype.$isServer && !isNaN(Number(document.documentMode));\n};\nexport var isEdge = function isEdge() {\n return !Vue.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;\n};\nexport var isFirefox = function isFirefox() {\n return !Vue.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);\n};\nexport var autoprefixer = function autoprefixer(style) {\n if (_typeof(style) !== 'object') return style;\n var rules = ['transform', 'transition', 'animation'];\n var prefixes = ['ms-', 'webkit-'];\n rules.forEach(function (rule) {\n var value = style[rule];\n\n if (rule && value) {\n prefixes.forEach(function (prefix) {\n style[prefix + rule] = value;\n });\n }\n });\n return style;\n};\nexport var kebabCase = function kebabCase(str) {\n var hyphenateRE = /([^-])([A-Z])/g;\n return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();\n};\nexport var capitalize = function capitalize(str) {\n if (!isString(str)) return str;\n return str.charAt(0).toUpperCase() + str.slice(1);\n};\nexport var looseEqual = function looseEqual(a, b) {\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n\n if (isObjectA && isObjectB) {\n return JSON.stringify(a) === JSON.stringify(b);\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n } else {\n return false;\n }\n};\nexport var arrayEquals = function arrayEquals(arrayA, arrayB) {\n arrayA = arrayA || [];\n arrayB = arrayB || [];\n\n if (arrayA.length !== arrayB.length) {\n return false;\n }\n\n for (var i = 0; i < arrayA.length; i++) {\n if (!looseEqual(arrayA[i], arrayB[i])) {\n return false;\n }\n }\n\n return true;\n};\nexport var isEqual = function isEqual(value1, value2) {\n if (Array.isArray(value1) && Array.isArray(value2)) {\n return arrayEquals(value1, value2);\n }\n\n return looseEqual(value1, value2);\n};\nexport var isEmpty = function isEmpty(val) {\n // null or undefined\n if (val == null) return true;\n if (typeof val === 'boolean') return false;\n if (typeof val === 'number') return !val;\n if (val instanceof Error) return val.message === '';\n\n switch (Object.prototype.toString.call(val)) {\n // String or Array\n case '[object String]':\n case '[object Array]':\n return !val.length;\n // Map or Set or File\n\n case '[object File]':\n case '[object Map]':\n case '[object Set]':\n {\n return !val.size;\n }\n // Plain Object\n\n case '[object Object]':\n {\n return !Object.keys(val).length;\n }\n }\n\n return false;\n};\nexport function rafThrottle(fn) {\n var locked = false;\n return function () {\n var _this = 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 if (locked) return;\n locked = true;\n window.requestAnimationFrame(function (_) {\n fn.apply(_this, args);\n locked = false;\n });\n };\n}\nexport function objToArray(obj) {\n if (Array.isArray(obj)) {\n return obj;\n }\n\n return isEmpty(obj) ? [] : [obj];\n}\nexport var isMac = function isMac() {\n return !Vue.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);\n};","import Vue from'vue';import VueRouter from'vue-router';Vue.use(VueRouter);export var PATH_CASH_RECEIPT='cashReceipt';export var PATH_CONTACT='contact';export var PATH_CONTACTS='contacts';export var PATH_CONTACT_NEW='contactNew';export var PATH_CONTACT_US='contactUs';export var PATH_COOKIES='cookiesPolicy';export var PATH_DASHBOARD='dashboard';export var PATH_DELIVERY_NOTE='deliveryNote';export var PATH_DIRECT_EXTEND='directExtend';export var PATH_EXPENSE='expense';export var PATH_EXPENSES='expenses';export var PATH_EXPENSE_CLONE='expenseClone';export var PATH_EXPENSE_NEW='expenseNew';export var PATH_FAQ='faq';export var PATH_GIFT='gift';export var PATH_HELP='help';export var PATH_INVOICE='invoice';export var PATH_INVOICES_OVERVIEW='invoicesOverview';export var PATH_INVOICE_CLONE='invoiceClone';export var PATH_INVOICE_CREDIT_NOTE='invoiceCreditNote';export var PATH_INVOICE_EDIT='invoiceEdit';export var PATH_INVOICE_KIND='invoiceKind';export var PATH_INVOICE_SHOW='invoiceShow';export var PATH_INVOICE_TEMPLATES='invoiceTemplates';export var PATH_INVOICE_TEMPLATES_GOOGLE='invoiceTemplatesGoogle';export var PATH_INVOICE_TEMPLATES_PDF='invoiceTemplatesPdf';export var PATH_INVOICE_TEMPLATE_SHOW='invoiceTemplateShow';export var PATH_INVOICE_TYPES='invoiceTypes';export var PATH_LANDING='landing';export var PATH_MIGRATE_LINES='migrateLines';export var PATH_NEWBIES='newbies';export var PATH_NEW_REGISTRATION='newRegistration';export var PATH_NGO='ngo';export var PATH_ORDER='order';export var PATH_PRICELIST='pricelist';export var PATH_PRIVACY_TERMS='privacyTerms';export var PATH_REPORTS='reports';export var PATH_ROOT='root';export var PATH_SAVED_LINES='savedLines';export var PATH_SEND_FORGOTTEN_CODE='sendForgottenCode';export var PATH_SIGNIN_LOGIN='signinLogin';export var PATH_TERMS_CONDITIONS='termsAndConditions';export var PATH_WORD_EXCEL='wordExcel';var componentMap={path_invoice:{component:'pages/Invoice',props:{invoiceType:'new'}},path_invoice_template_show:{component:'pages/Profession'},path_invoice_templates:{component:'pages/Professions'},path_invoice_kind:{component:'pages/Invoice',props:{invoiceType:'new'}},path_invoice_show:{component:'components/InvoiceDetail/InvoiceDetail'},path_invoice_edit:{component:'pages/Invoice',props:{invoiceType:'edit'}},path_invoice_clone:{component:'pages/Invoice',props:{invoiceType:'clone'}},path_invoice_credit_note:{component:'pages/Invoice',props:{invoiceType:'credit_note'}},path_invoices_overview:{component:'pages/Invoices'},path_delivery_note:{component:'pages/DeliveryNote'},path_cash_receipt:{component:'pages/CashReceipt'},path_dashboard:{component:'pages/Dashboard'},path_contacts:{component:'components/Contacts/ContactsList'},path_contact:{component:'components/Contacts/ContactShow'},path_contact_new:{component:'components/Contacts/ContactNew'},path_reports:{component:'pages/Reports'},path_signin_login:{component:'pages/SignInSignUp'},path_pricelist:{component:'pages/Pricelist'},path_order:{component:'pages/Order'},path_expense_new:{component:'components/Expenses/ExpenseNew'},path_expense:{component:'components/Expenses/ExpenseShow'},path_expense_clone:{component:'components/Expenses/ExpenseClone'},path_expenses:{component:'pages/Expenses'},path_send_forgotten_code:{component:'pages/ResetPassword'},path_ngo:{component:'pages/NGO'},path_newbies:{component:'pages/Newbies'},path_word_excel:{component:'pages/WordExcel'},path_invoice_templates_google:{component:'pages/InvoiceTemplatesGoogle'},path_invoice_templates_pdf:{component:'pages/InvoiceTemplatesPDF'},path_landing:{component:'pages/Landing'},path_gift:{component:'pages/Landing'}};var loadComponent=function loadComponent(name){var _componentMap$name;var componentName=(_componentMap$name=componentMap[name])===null||_componentMap$name===void 0?void 0:_componentMap$name.component;return function(){return import(/* webpackChunkName: \"pages\" */\"~/\".concat(componentName,\".vue\"));};};var routeArray=window.vueRoutes||[];/* eslint-disable no-eval */var routeMap=routeArray.map(function(entry){var _componentMap$entry$n,_componentMap$entry$n2;var componentName=(_componentMap$entry$n=componentMap[entry.name])===null||_componentMap$entry$n===void 0?void 0:_componentMap$entry$n.component;var route={path:entry.path,name:eval(entry.name.toUpperCase()),props:(_componentMap$entry$n2=componentMap[entry.name])===null||_componentMap$entry$n2===void 0?void 0:_componentMap$entry$n2.props};if(componentName){route.component=loadComponent(entry.name);}return route;});/* eslint-enable no-eval */var router=new VueRouter({routes:routeMap,mode:'history',scrollBehavior:function scrollBehavior(){return{x:0,y:0};}});var staticRoutes=[PATH_CASH_RECEIPT,PATH_CONTACT_US,PATH_COOKIES,PATH_DELIVERY_NOTE,PATH_FAQ,PATH_HELP,PATH_PRIVACY_TERMS,PATH_TERMS_CONDITIONS,PATH_NGO,PATH_NEWBIES,PATH_WORD_EXCEL,PATH_INVOICE_TEMPLATES_GOOGLE,PATH_INVOICE_TYPES];router.beforeEach(function(to,from,next){if(staticRoutes.includes(to.name)){if(window.location.pathname!==to.path){next(false);window.location.href=to.path;}else{next();}return;}if(!document.body.classList.contains('vue-page')||to.name==='directExtend'){if(window.location.pathname===to.path){next();}else{next(false);window.location.href=to.path;}}else{next();}});export default router;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { isNode, QueryDocumentKeys } from './ast.mjs';\nimport { Kind } from './kinds.mjs';\n/**\n * A visitor is provided to visit, it contains the collection of\n * relevant functions to be called during the visitor's traversal.\n */\n\nexport var BREAK = Object.freeze({});\n/**\n * visit() will walk through an AST using a depth-first traversal, calling\n * the visitor's enter function at each node in the traversal, and calling the\n * leave function after visiting that node and all of its child nodes.\n *\n * By returning different values from the enter and leave functions, the\n * behavior of the visitor can be altered, including skipping over a sub-tree of\n * the AST (by returning false), editing the AST by returning a value or null\n * to remove the value, or to stop the whole traversal by returning BREAK.\n *\n * When using visit() to edit an AST, the original AST will not be modified, and\n * a new version of the AST with the changes applied will be returned from the\n * visit function.\n *\n * ```ts\n * const editedAST = visit(ast, {\n * enter(node, key, parent, path, ancestors) {\n * // @return\n * // undefined: no action\n * // false: skip visiting this node\n * // visitor.BREAK: stop visiting altogether\n * // null: delete this node\n * // any value: replace this node with the returned value\n * },\n * leave(node, key, parent, path, ancestors) {\n * // @return\n * // undefined: no action\n * // false: no action\n * // visitor.BREAK: stop visiting altogether\n * // null: delete this node\n * // any value: replace this node with the returned value\n * }\n * });\n * ```\n *\n * Alternatively to providing enter() and leave() functions, a visitor can\n * instead provide functions named the same as the kinds of AST nodes, or\n * enter/leave visitors at a named key, leading to three permutations of the\n * visitor API:\n *\n * 1) Named visitors triggered when entering a node of a specific kind.\n *\n * ```ts\n * visit(ast, {\n * Kind(node) {\n * // enter the \"Kind\" node\n * }\n * })\n * ```\n *\n * 2) Named visitors that trigger upon entering and leaving a node of a specific kind.\n *\n * ```ts\n * visit(ast, {\n * Kind: {\n * enter(node) {\n * // enter the \"Kind\" node\n * }\n * leave(node) {\n * // leave the \"Kind\" node\n * }\n * }\n * })\n * ```\n *\n * 3) Generic visitors that trigger upon entering and leaving any node.\n *\n * ```ts\n * visit(ast, {\n * enter(node) {\n * // enter any node\n * },\n * leave(node) {\n * // leave any node\n * }\n * })\n * ```\n */\n\nexport function visit(root, visitor) {\n var visitorKeys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : QueryDocumentKeys;\n var enterLeaveMap = new Map();\n\n for (var _i = 0, _Object$values = Object.values(Kind); _i < _Object$values.length; _i++) {\n var kind = _Object$values[_i];\n enterLeaveMap.set(kind, getEnterLeaveForKind(visitor, kind));\n }\n /* eslint-disable no-undef-init */\n\n\n var stack = undefined;\n var inArray = Array.isArray(root);\n var keys = [root];\n var index = -1;\n var edits = [];\n var node = root;\n var key = undefined;\n var parent = undefined;\n var path = [];\n var ancestors = [];\n /* eslint-enable no-undef-init */\n\n do {\n index++;\n var isLeaving = index === keys.length;\n var isEdited = isLeaving && edits.length !== 0;\n\n if (isLeaving) {\n key = ancestors.length === 0 ? undefined : path[path.length - 1];\n node = parent;\n parent = ancestors.pop();\n\n if (isEdited) {\n if (inArray) {\n node = node.slice();\n var editOffset = 0;\n\n for (var _i2 = 0, _edits = edits; _i2 < _edits.length; _i2++) {\n var _ref3 = _edits[_i2];\n\n var _ref2 = _slicedToArray(_ref3, 2);\n\n var editKey = _ref2[0];\n var editValue = _ref2[1];\n var arrayKey = editKey - editOffset;\n\n if (editValue === null) {\n node.splice(arrayKey, 1);\n editOffset++;\n } else {\n node[arrayKey] = editValue;\n }\n }\n } else {\n node = Object.defineProperties({}, Object.getOwnPropertyDescriptors(node));\n\n for (var _i3 = 0, _edits2 = edits; _i3 < _edits2.length; _i3++) {\n var _ref6 = _edits2[_i3];\n\n var _ref5 = _slicedToArray(_ref6, 2);\n\n var _editKey = _ref5[0];\n var _editValue = _ref5[1];\n node[_editKey] = _editValue;\n }\n }\n }\n\n index = stack.index;\n keys = stack.keys;\n edits = stack.edits;\n inArray = stack.inArray;\n stack = stack.prev;\n } else if (parent) {\n key = inArray ? index : keys[index];\n node = parent[key];\n\n if (node === null || node === undefined) {\n continue;\n }\n\n path.push(key);\n }\n\n var result = void 0;\n\n if (!Array.isArray(node)) {\n var _enterLeaveMap$get, _enterLeaveMap$get2;\n\n isNode(node) || devAssert(false, \"Invalid AST Node: \".concat(inspect(node), \".\"));\n var visitFn = isLeaving ? (_enterLeaveMap$get = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get === void 0 ? void 0 : _enterLeaveMap$get.leave : (_enterLeaveMap$get2 = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get2 === void 0 ? void 0 : _enterLeaveMap$get2.enter;\n result = visitFn === null || visitFn === void 0 ? void 0 : visitFn.call(visitor, node, key, parent, path, ancestors);\n\n if (result === BREAK) {\n break;\n }\n\n if (result === false) {\n if (!isLeaving) {\n path.pop();\n continue;\n }\n } else if (result !== undefined) {\n edits.push([key, result]);\n\n if (!isLeaving) {\n if (isNode(result)) {\n node = result;\n } else {\n path.pop();\n continue;\n }\n }\n }\n }\n\n if (result === undefined && isEdited) {\n edits.push([key, node]);\n }\n\n if (isLeaving) {\n path.pop();\n } else {\n var _node$kind;\n\n stack = {\n inArray: inArray,\n index: index,\n keys: keys,\n edits: edits,\n prev: stack\n };\n inArray = Array.isArray(node);\n keys = inArray ? node : (_node$kind = visitorKeys[node.kind]) !== null && _node$kind !== void 0 ? _node$kind : [];\n index = -1;\n edits = [];\n\n if (parent) {\n ancestors.push(parent);\n }\n\n parent = node;\n }\n } while (stack !== undefined);\n\n if (edits.length !== 0) {\n // New root\n return edits[edits.length - 1][1];\n }\n\n return root;\n}\n/**\n * Creates a new visitor instance which delegates to many visitors to run in\n * parallel. Each visitor will be visited for each node before moving on.\n *\n * If a prior visitor edits a node, no following visitors will see that node.\n */\n\nexport function visitInParallel(visitors) {\n var skipping = new Array(visitors.length).fill(null);\n var mergedVisitor = Object.create(null);\n\n var _loop = function _loop() {\n var kind = _Object$values2[_i4];\n var hasVisitor = false;\n var enterList = new Array(visitors.length).fill(undefined);\n var leaveList = new Array(visitors.length).fill(undefined);\n\n for (var i = 0; i < visitors.length; ++i) {\n var _getEnterLeaveForKind = getEnterLeaveForKind(visitors[i], kind),\n enter = _getEnterLeaveForKind.enter,\n leave = _getEnterLeaveForKind.leave;\n\n hasVisitor || (hasVisitor = enter != null || leave != null);\n enterList[i] = enter;\n leaveList[i] = leave;\n }\n\n if (!hasVisitor) {\n return \"continue\";\n }\n\n var mergedEnterLeave = {\n enter: function enter() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var node = args[0];\n\n for (var _i5 = 0; _i5 < visitors.length; _i5++) {\n if (skipping[_i5] === null) {\n var _enterList$i;\n\n var result = (_enterList$i = enterList[_i5]) === null || _enterList$i === void 0 ? void 0 : _enterList$i.apply(visitors[_i5], args);\n\n if (result === false) {\n skipping[_i5] = node;\n } else if (result === BREAK) {\n skipping[_i5] = BREAK;\n } else if (result !== undefined) {\n return result;\n }\n }\n }\n },\n leave: function leave() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var node = args[0];\n\n for (var _i6 = 0; _i6 < visitors.length; _i6++) {\n if (skipping[_i6] === null) {\n var _leaveList$i;\n\n var result = (_leaveList$i = leaveList[_i6]) === null || _leaveList$i === void 0 ? void 0 : _leaveList$i.apply(visitors[_i6], args);\n\n if (result === BREAK) {\n skipping[_i6] = BREAK;\n } else if (result !== undefined && result !== false) {\n return result;\n }\n } else if (skipping[_i6] === node) {\n skipping[_i6] = null;\n }\n }\n }\n };\n mergedVisitor[kind] = mergedEnterLeave;\n };\n\n for (var _i4 = 0, _Object$values2 = Object.values(Kind); _i4 < _Object$values2.length; _i4++) {\n var _ret = _loop();\n\n if (_ret === \"continue\") continue;\n }\n\n return mergedVisitor;\n}\n/**\n * Given a visitor instance and a node kind, return EnterLeaveVisitor for that kind.\n */\n\nexport function getEnterLeaveForKind(visitor, kind) {\n var kindVisitor = visitor[kind];\n\n if (_typeof(kindVisitor) === 'object') {\n // { Kind: { enter() {}, leave() {} } }\n return kindVisitor;\n } else if (typeof kindVisitor === 'function') {\n // { Kind() {} }\n return {\n enter: kindVisitor,\n leave: undefined\n };\n } // { enter() {}, leave() {} }\n\n\n return {\n enter: visitor.enter,\n leave: visitor.leave\n };\n}\n/**\n * Given a visitor instance, if it is leaving or not, and a node kind, return\n * the function the visitor runtime should call.\n *\n * @deprecated Please use `getEnterLeaveForKind` instead. Will be removed in v17\n */\n\n/* c8 ignore next 8 */\n\nexport function getVisitFn(visitor, kind, isLeaving) {\n var _getEnterLeaveForKind2 = getEnterLeaveForKind(visitor, kind),\n enter = _getEnterLeaveForKind2.enter,\n leave = _getEnterLeaveForKind2.leave;\n\n return isLeaving ? leave : enter;\n}","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexports.__esModule = true;\nexports.isMac = exports.isEmpty = exports.isEqual = exports.arrayEquals = exports.looseEqual = exports.capitalize = exports.kebabCase = exports.autoprefixer = exports.isFirefox = exports.isEdge = exports.isIE = exports.coerceTruthyValueToArray = exports.arrayFind = exports.arrayFindIndex = exports.escapeRegexpString = exports.valueEquals = exports.generateId = exports.getValueByPath = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n\nexports.noop = noop;\nexports.hasOwn = hasOwn;\nexports.toObject = toObject;\nexports.getPropByPath = getPropByPath;\nexports.rafThrottle = rafThrottle;\nexports.objToArray = objToArray;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nvar _types = require('element-ui/lib/utils/types');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction noop() {}\n\n;\n\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n\n;\n\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n\n return to;\n}\n\n;\n\nfunction toObject(arr) {\n var res = {};\n\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n\n return res;\n}\n\n;\n\nvar getValueByPath = exports.getValueByPath = function getValueByPath(object, prop) {\n prop = prop || '';\n var paths = prop.split('.');\n var current = object;\n var result = null;\n\n for (var i = 0, j = paths.length; i < j; i++) {\n var path = paths[i];\n if (!current) break;\n\n if (i === j - 1) {\n result = current[path];\n break;\n }\n\n current = current[path];\n }\n\n return result;\n};\n\nfunction getPropByPath(obj, path, strict) {\n var tempObj = obj;\n path = path.replace(/\\[(\\w+)\\]/g, '.$1');\n path = path.replace(/^\\./, '');\n var keyArr = path.split('.');\n var i = 0;\n\n for (var len = keyArr.length; i < len - 1; ++i) {\n if (!tempObj && !strict) break;\n var key = keyArr[i];\n\n if (key in tempObj) {\n tempObj = tempObj[key];\n } else {\n if (strict) {\n throw new Error('please transfer a valid prop path to form item!');\n }\n\n break;\n }\n }\n\n return {\n o: tempObj,\n k: keyArr[i],\n v: tempObj ? tempObj[keyArr[i]] : null\n };\n}\n\n;\n\nvar generateId = exports.generateId = function generateId() {\n return Math.floor(Math.random() * 10000);\n};\n\nvar valueEquals = exports.valueEquals = function valueEquals(a, b) {\n // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript\n if (a === b) return true;\n if (!(a instanceof Array)) return false;\n if (!(b instanceof Array)) return false;\n if (a.length !== b.length) return false;\n\n for (var i = 0; i !== a.length; ++i) {\n if (a[i] !== b[i]) return false;\n }\n\n return true;\n};\n\nvar escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() {\n var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n return String(value).replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&');\n}; // TODO: use native Array.find, Array.findIndex when IE support is dropped\n\n\nvar arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) {\n for (var i = 0; i !== arr.length; ++i) {\n if (pred(arr[i])) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar arrayFind = exports.arrayFind = function arrayFind(arr, pred) {\n var idx = arrayFindIndex(arr, pred);\n return idx !== -1 ? arr[idx] : undefined;\n}; // coerce truthy value to array\n\n\nvar coerceTruthyValueToArray = exports.coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {\n if (Array.isArray(val)) {\n return val;\n } else if (val) {\n return [val];\n } else {\n return [];\n }\n};\n\nvar isIE = exports.isIE = function isIE() {\n return !_vue2[\"default\"].prototype.$isServer && !isNaN(Number(document.documentMode));\n};\n\nvar isEdge = exports.isEdge = function isEdge() {\n return !_vue2[\"default\"].prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;\n};\n\nvar isFirefox = exports.isFirefox = function isFirefox() {\n return !_vue2[\"default\"].prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);\n};\n\nvar autoprefixer = exports.autoprefixer = function autoprefixer(style) {\n if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;\n var rules = ['transform', 'transition', 'animation'];\n var prefixes = ['ms-', 'webkit-'];\n rules.forEach(function (rule) {\n var value = style[rule];\n\n if (rule && value) {\n prefixes.forEach(function (prefix) {\n style[prefix + rule] = value;\n });\n }\n });\n return style;\n};\n\nvar kebabCase = exports.kebabCase = function kebabCase(str) {\n var hyphenateRE = /([^-])([A-Z])/g;\n return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();\n};\n\nvar capitalize = exports.capitalize = function capitalize(str) {\n if (!(0, _types.isString)(str)) return str;\n return str.charAt(0).toUpperCase() + str.slice(1);\n};\n\nvar looseEqual = exports.looseEqual = function looseEqual(a, b) {\n var isObjectA = (0, _types.isObject)(a);\n var isObjectB = (0, _types.isObject)(b);\n\n if (isObjectA && isObjectB) {\n return JSON.stringify(a) === JSON.stringify(b);\n } else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n } else {\n return false;\n }\n};\n\nvar arrayEquals = exports.arrayEquals = function arrayEquals(arrayA, arrayB) {\n arrayA = arrayA || [];\n arrayB = arrayB || [];\n\n if (arrayA.length !== arrayB.length) {\n return false;\n }\n\n for (var i = 0; i < arrayA.length; i++) {\n if (!looseEqual(arrayA[i], arrayB[i])) {\n return false;\n }\n }\n\n return true;\n};\n\nvar isEqual = exports.isEqual = function isEqual(value1, value2) {\n if (Array.isArray(value1) && Array.isArray(value2)) {\n return arrayEquals(value1, value2);\n }\n\n return looseEqual(value1, value2);\n};\n\nvar isEmpty = exports.isEmpty = function isEmpty(val) {\n // null or undefined\n if (val == null) return true;\n if (typeof val === 'boolean') return false;\n if (typeof val === 'number') return !val;\n if (val instanceof Error) return val.message === '';\n\n switch (Object.prototype.toString.call(val)) {\n // String or Array\n case '[object String]':\n case '[object Array]':\n return !val.length;\n // Map or Set or File\n\n case '[object File]':\n case '[object Map]':\n case '[object Set]':\n {\n return !val.size;\n }\n // Plain Object\n\n case '[object Object]':\n {\n return !Object.keys(val).length;\n }\n }\n\n return false;\n};\n\nfunction rafThrottle(fn) {\n var locked = false;\n return function () {\n var _this = this;\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (locked) return;\n locked = true;\n window.requestAnimationFrame(function (_) {\n fn.apply(_this, args);\n locked = false;\n });\n };\n}\n\nfunction objToArray(obj) {\n if (Array.isArray(obj)) {\n return obj;\n }\n\n return isEmpty(obj) ? [] : [obj];\n}\n\nvar isMac = exports.isMac = function isMac() {\n return !_vue2[\"default\"].prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);\n};","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nexport { DEBUG_BUILD };","import { timestampInSeconds, uuid4, dropUndefinedKeys } from '@sentry/utils';\n/**\n * Creates a new `Session` object by setting certain default parameters. If optional @param context\n * is passed, the passed properties are applied to the session object.\n *\n * @param context (optional) additional properties to be applied to the returned session object\n *\n * @returns a new `Session` object\n */\n\nfunction makeSession(context) {\n // Both timestamp and started are in seconds since the UNIX epoch.\n var startingTime = timestampInSeconds();\n var session = {\n sid: uuid4(),\n init: true,\n timestamp: startingTime,\n started: startingTime,\n duration: 0,\n status: 'ok',\n errors: 0,\n ignoreDuration: false,\n toJSON: function toJSON() {\n return sessionToJSON(session);\n }\n };\n\n if (context) {\n updateSession(session, context);\n }\n\n return session;\n}\n/**\n * Updates a session object with the properties passed in the context.\n *\n * Note that this function mutates the passed object and returns void.\n * (Had to do this instead of returning a new and updated session because closing and sending a session\n * makes an update to the session after it was passed to the sending logic.\n * @see BaseClient.captureSession )\n *\n * @param session the `Session` to update\n * @param context the `SessionContext` holding the properties that should be updated in @param session\n */\n// eslint-disable-next-line complexity\n\n\nfunction updateSession(session) {\n var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (context.user) {\n if (!session.ipAddress && context.user.ip_address) {\n session.ipAddress = context.user.ip_address;\n }\n\n if (!session.did && !context.did) {\n session.did = context.user.id || context.user.email || context.user.username;\n }\n }\n\n session.timestamp = context.timestamp || timestampInSeconds();\n\n if (context.abnormal_mechanism) {\n session.abnormal_mechanism = context.abnormal_mechanism;\n }\n\n if (context.ignoreDuration) {\n session.ignoreDuration = context.ignoreDuration;\n }\n\n if (context.sid) {\n // Good enough uuid validation. — Kamil\n session.sid = context.sid.length === 32 ? context.sid : uuid4();\n }\n\n if (context.init !== undefined) {\n session.init = context.init;\n }\n\n if (!session.did && context.did) {\n session.did = \"\".concat(context.did);\n }\n\n if (typeof context.started === 'number') {\n session.started = context.started;\n }\n\n if (session.ignoreDuration) {\n session.duration = undefined;\n } else if (typeof context.duration === 'number') {\n session.duration = context.duration;\n } else {\n var duration = session.timestamp - session.started;\n session.duration = duration >= 0 ? duration : 0;\n }\n\n if (context.release) {\n session.release = context.release;\n }\n\n if (context.environment) {\n session.environment = context.environment;\n }\n\n if (!session.ipAddress && context.ipAddress) {\n session.ipAddress = context.ipAddress;\n }\n\n if (!session.userAgent && context.userAgent) {\n session.userAgent = context.userAgent;\n }\n\n if (typeof context.errors === 'number') {\n session.errors = context.errors;\n }\n\n if (context.status) {\n session.status = context.status;\n }\n}\n/**\n * Closes a session by setting its status and updating the session object with it.\n * Internally calls `updateSession` to update the passed session object.\n *\n * Note that this function mutates the passed session (@see updateSession for explanation).\n *\n * @param session the `Session` object to be closed\n * @param status the `SessionStatus` with which the session was closed. If you don't pass a status,\n * this function will keep the previously set status, unless it was `'ok'` in which case\n * it is changed to `'exited'`.\n */\n\n\nfunction closeSession(session, status) {\n var context = {};\n\n if (status) {\n context = {\n status: status\n };\n } else if (session.status === 'ok') {\n context = {\n status: 'exited'\n };\n }\n\n updateSession(session, context);\n}\n/**\n * Serializes a passed session object to a JSON object with a slightly different structure.\n * This is necessary because the Sentry backend requires a slightly different schema of a session\n * than the one the JS SDKs use internally.\n *\n * @param session the session to be converted\n *\n * @returns a JSON object of the passed session\n */\n\n\nfunction sessionToJSON(session) {\n return dropUndefinedKeys({\n sid: \"\".concat(session.sid),\n init: session.init,\n // Make sure that sec is converted to ms for date constructor\n started: new Date(session.started * 1000).toISOString(),\n timestamp: new Date(session.timestamp * 1000).toISOString(),\n status: session.status,\n errors: session.errors,\n did: typeof session.did === 'number' || typeof session.did === 'string' ? \"\".concat(session.did) : undefined,\n duration: session.duration,\n abnormal_mechanism: session.abnormal_mechanism,\n attrs: {\n release: session.release,\n environment: session.environment,\n ip_address: session.ipAddress,\n user_agent: session.userAgent\n }\n });\n}\n\nexport { closeSession, makeSession, updateSession };","import { dropUndefinedKeys, generateSentryTraceHeader, timestampInSeconds } from '@sentry/utils'; // These are aligned with OpenTelemetry trace flags\n\nvar TRACE_FLAG_NONE = 0x0;\nvar TRACE_FLAG_SAMPLED = 0x1;\n/**\n * Convert a span to a trace context, which can be sent as the `trace` context in an event.\n */\n\nfunction spanToTraceContext(span) {\n var _span$spanContext = span.spanContext(),\n span_id = _span$spanContext.spanId,\n trace_id = _span$spanContext.traceId;\n\n var _spanToJSON = spanToJSON(span),\n data = _spanToJSON.data,\n op = _spanToJSON.op,\n parent_span_id = _spanToJSON.parent_span_id,\n status = _spanToJSON.status,\n tags = _spanToJSON.tags,\n origin = _spanToJSON.origin;\n\n return dropUndefinedKeys({\n data: data,\n op: op,\n parent_span_id: parent_span_id,\n span_id: span_id,\n status: status,\n tags: tags,\n trace_id: trace_id,\n origin: origin\n });\n}\n/**\n * Convert a Span to a Sentry trace header.\n */\n\n\nfunction spanToTraceHeader(span) {\n var _span$spanContext2 = span.spanContext(),\n traceId = _span$spanContext2.traceId,\n spanId = _span$spanContext2.spanId;\n\n var sampled = spanIsSampled(span);\n return generateSentryTraceHeader(traceId, spanId, sampled);\n}\n/**\n * Convert a span time input intp a timestamp in seconds.\n */\n\n\nfunction spanTimeInputToSeconds(input) {\n if (typeof input === 'number') {\n return ensureTimestampInSeconds(input);\n }\n\n if (Array.isArray(input)) {\n // See {@link HrTime} for the array-based time format\n return input[0] + input[1] / 1e9;\n }\n\n if (input instanceof Date) {\n return ensureTimestampInSeconds(input.getTime());\n }\n\n return timestampInSeconds();\n}\n/**\n * Converts a timestamp to second, if it was in milliseconds, or keeps it as second.\n */\n\n\nfunction ensureTimestampInSeconds(timestamp) {\n var isMs = timestamp > 9999999999;\n return isMs ? timestamp / 1000 : timestamp;\n}\n/**\n * Convert a span to a JSON representation.\n * Note that all fields returned here are optional and need to be guarded against.\n *\n * Note: Because of this, we currently have a circular type dependency (which we opted out of in package.json).\n * This is not avoidable as we need `spanToJSON` in `spanUtils.ts`, which in turn is needed by `span.ts` for backwards compatibility.\n * And `spanToJSON` needs the Span class from `span.ts` to check here.\n * TODO v8: When we remove the deprecated stuff from `span.ts`, we can remove the circular dependency again.\n */\n\n\nfunction spanToJSON(span) {\n if (spanIsSpanClass(span)) {\n return span.getSpanJSON();\n } // Fallback: We also check for `.toJSON()` here...\n // eslint-disable-next-line deprecation/deprecation\n\n\n if (typeof span.toJSON === 'function') {\n // eslint-disable-next-line deprecation/deprecation\n return span.toJSON();\n }\n\n return {};\n}\n/**\n * Sadly, due to circular dependency checks we cannot actually import the Span class here and check for instanceof.\n * :( So instead we approximate this by checking if it has the `getSpanJSON` method.\n */\n\n\nfunction spanIsSpanClass(span) {\n return typeof span.getSpanJSON === 'function';\n}\n/**\n * Returns true if a span is sampled.\n * In most cases, you should just use `span.isRecording()` instead.\n * However, this has a slightly different semantic, as it also returns false if the span is finished.\n * So in the case where this distinction is important, use this method.\n */\n\n\nfunction spanIsSampled(span) {\n // We align our trace flags with the ones OpenTelemetry use\n // So we also check for sampled the same way they do.\n var _span$spanContext3 = span.spanContext(),\n traceFlags = _span$spanContext3.traceFlags; // eslint-disable-next-line no-bitwise\n\n\n return Boolean(traceFlags & TRACE_FLAG_SAMPLED);\n}\n\nexport { TRACE_FLAG_NONE, TRACE_FLAG_SAMPLED, spanIsSampled, spanTimeInputToSeconds, spanToJSON, spanToTraceContext, spanToTraceHeader };","function _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); return Constructor; }\n\n/**\n * Contains a range of UTF-8 character offsets and token references that\n * identify the region of the source from which the AST derived.\n */\nexport var Location =\n/*#__PURE__*/\nfunction () {\n /**\n * The character offset at which this Node begins.\n */\n\n /**\n * The character offset at which this Node ends.\n */\n\n /**\n * The Token at which this Node begins.\n */\n\n /**\n * The Token at which this Node ends.\n */\n\n /**\n * The Source document the AST represents.\n */\n function Location(startToken, endToken, source) {\n _classCallCheck(this, Location);\n\n this.start = startToken.start;\n this.end = endToken.end;\n this.startToken = startToken;\n this.endToken = endToken;\n this.source = source;\n }\n\n _createClass(Location, [{\n key: \"toJSON\",\n value: function toJSON() {\n return {\n start: this.start,\n end: this.end\n };\n }\n }, {\n key: Symbol.toStringTag,\n get: function get() {\n return 'Location';\n }\n }]);\n\n return Location;\n}();\n/**\n * Represents a range of characters represented by a lexical token\n * within a Source.\n */\n\nexport var Token =\n/*#__PURE__*/\nfunction () {\n /**\n * The kind of Token.\n */\n\n /**\n * The character offset at which this Node begins.\n */\n\n /**\n * The character offset at which this Node ends.\n */\n\n /**\n * The 1-indexed line number on which this Token appears.\n */\n\n /**\n * The 1-indexed column number at which this Token begins.\n */\n\n /**\n * For non-punctuation tokens, represents the interpreted value of the token.\n *\n * Note: is undefined for punctuation tokens, but typed as string for\n * convenience in the parser.\n */\n\n /**\n * Tokens exist as nodes in a double-linked-list amongst all tokens\n * including ignored tokens. <SOF> is always the first node and <EOF>\n * the last.\n */\n function Token(kind, start, end, line, column, value) {\n _classCallCheck(this, Token);\n\n this.kind = kind;\n this.start = start;\n this.end = end;\n this.line = line;\n this.column = column; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n\n this.value = value;\n this.prev = null;\n this.next = null;\n }\n\n _createClass(Token, [{\n key: \"toJSON\",\n value: function toJSON() {\n return {\n kind: this.kind,\n value: this.value,\n line: this.line,\n column: this.column\n };\n }\n }, {\n key: Symbol.toStringTag,\n get: function get() {\n return 'Token';\n }\n }]);\n\n return Token;\n}();\n/**\n * The list of all possible AST node types.\n */\n\n/**\n * @internal\n */\n\nexport var QueryDocumentKeys = {\n Name: [],\n Document: ['definitions'],\n OperationDefinition: ['name', 'variableDefinitions', 'directives', 'selectionSet'],\n VariableDefinition: ['variable', 'type', 'defaultValue', 'directives'],\n Variable: ['name'],\n SelectionSet: ['selections'],\n Field: ['alias', 'name', 'arguments', 'directives', 'selectionSet'],\n Argument: ['name', 'value'],\n FragmentSpread: ['name', 'directives'],\n InlineFragment: ['typeCondition', 'directives', 'selectionSet'],\n FragmentDefinition: ['name', // Note: fragment variable definitions are deprecated and will removed in v17.0.0\n 'variableDefinitions', 'typeCondition', 'directives', 'selectionSet'],\n IntValue: [],\n FloatValue: [],\n StringValue: [],\n BooleanValue: [],\n NullValue: [],\n EnumValue: [],\n ListValue: ['values'],\n ObjectValue: ['fields'],\n ObjectField: ['name', 'value'],\n Directive: ['name', 'arguments'],\n NamedType: ['name'],\n ListType: ['type'],\n NonNullType: ['type'],\n SchemaDefinition: ['description', 'directives', 'operationTypes'],\n OperationTypeDefinition: ['type'],\n ScalarTypeDefinition: ['description', 'name', 'directives'],\n ObjectTypeDefinition: ['description', 'name', 'interfaces', 'directives', 'fields'],\n FieldDefinition: ['description', 'name', 'arguments', 'type', 'directives'],\n InputValueDefinition: ['description', 'name', 'type', 'defaultValue', 'directives'],\n InterfaceTypeDefinition: ['description', 'name', 'interfaces', 'directives', 'fields'],\n UnionTypeDefinition: ['description', 'name', 'directives', 'types'],\n EnumTypeDefinition: ['description', 'name', 'directives', 'values'],\n EnumValueDefinition: ['description', 'name', 'directives'],\n InputObjectTypeDefinition: ['description', 'name', 'directives', 'fields'],\n DirectiveDefinition: ['description', 'name', 'arguments', 'locations'],\n SchemaExtension: ['directives', 'operationTypes'],\n ScalarTypeExtension: ['name', 'directives'],\n ObjectTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n InterfaceTypeExtension: ['name', 'interfaces', 'directives', 'fields'],\n UnionTypeExtension: ['name', 'directives', 'types'],\n EnumTypeExtension: ['name', 'directives', 'values'],\n InputObjectTypeExtension: ['name', 'directives', 'fields']\n};\nvar kindValues = new Set(Object.keys(QueryDocumentKeys));\n/**\n * @internal\n */\n\nexport function isNode(maybeNode) {\n var maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;\n return typeof maybeKind === 'string' && kindValues.has(maybeKind);\n}\n/** Name */\n\nvar OperationTypeNode;\n\n(function (OperationTypeNode) {\n OperationTypeNode['QUERY'] = 'query';\n OperationTypeNode['MUTATION'] = 'mutation';\n OperationTypeNode['SUBSCRIPTION'] = 'subscription';\n})(OperationTypeNode || (OperationTypeNode = {}));\n\nexport { OperationTypeNode };","/* eslint-disable no-undefined */\nvar throttle = require('./throttle');\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [atBegin] Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @return {Function} A new, debounced function.\n */\n\n\nmodule.exports = function (delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n};","export default function buildMatchPatternFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var matchResult = string.match(args.matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n\n if (!parseResult) {\n return null;\n }\n\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport _curry1 from './_curry1.js';\nimport _isArray from './_isArray.js';\nimport _isString from './_isString.js';\n/**\n * Tests whether or not an object is similar to an array.\n *\n * @private\n * @category Type\n * @category List\n * @sig * -> Boolean\n * @param {*} x The object to test.\n * @return {Boolean} `true` if `x` has a numeric length property and extreme indices defined; `false` otherwise.\n * @example\n *\n * _isArrayLike([]); //=> true\n * _isArrayLike(true); //=> false\n * _isArrayLike({}); //=> false\n * _isArrayLike({length: 10}); //=> false\n * _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true\n */\n\nvar _isArrayLike =\n/*#__PURE__*/\n_curry1(function isArrayLike(x) {\n if (_isArray(x)) {\n return true;\n }\n\n if (!x) {\n return false;\n }\n\n if (_typeof(x) !== 'object') {\n return false;\n }\n\n if (_isString(x)) {\n return false;\n }\n\n if (x.nodeType === 1) {\n return !!x.length;\n }\n\n if (x.length === 0) {\n return true;\n }\n\n if (x.length > 0) {\n return x.hasOwnProperty(0) && x.hasOwnProperty(x.length - 1);\n }\n\n return false;\n});\n\nexport default _isArrayLike;","var XWrap =\n/*#__PURE__*/\nfunction () {\n function XWrap(fn) {\n this.f = fn;\n }\n\n XWrap.prototype['@@transducer/init'] = function () {\n throw new Error('init not implemented on XWrap');\n };\n\n XWrap.prototype['@@transducer/result'] = function (acc) {\n return acc;\n };\n\n XWrap.prototype['@@transducer/step'] = function (acc, x) {\n return this.f(acc, x);\n };\n\n return XWrap;\n}();\n\nexport default function _xwrap(fn) {\n return new XWrap(fn);\n}","import _arity from './internal/_arity.js';\nimport _curry2 from './internal/_curry2.js';\n/**\n * Creates a function that is bound to a context.\n * Note: `R.bind` does not provide the additional argument-binding capabilities of\n * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Function\n * @category Object\n * @sig (* -> *) -> {*} -> (* -> *)\n * @param {Function} fn The function to bind to context\n * @param {Object} thisObj The context to bind `fn` to\n * @return {Function} A function that will execute in the context of `thisObj`.\n * @see R.partial\n * @example\n *\n * const log = R.bind(console.log, console);\n * R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}\n * // logs {a: 2}\n * @symb R.bind(f, o)(a, b) = f.call(o, a, b)\n */\n\nvar bind =\n/*#__PURE__*/\n_curry2(function bind(fn, thisObj) {\n return _arity(fn.length, function () {\n return fn.apply(thisObj, arguments);\n });\n});\n\nexport default bind;","import _isArrayLike from './_isArrayLike.js';\nimport _xwrap from './_xwrap.js';\nimport bind from '../bind.js';\n\nfunction _arrayReduce(xf, acc, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n acc = xf['@@transducer/step'](acc, list[idx]);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n idx += 1;\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _iterableReduce(xf, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = xf['@@transducer/step'](acc, step.value);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n step = iter.next();\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _methodReduce(xf, acc, obj, methodName) {\n return xf['@@transducer/result'](obj[methodName](bind(xf['@@transducer/step'], xf), acc));\n}\n\nvar symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';\nexport default function _reduce(fn, acc, list) {\n if (typeof fn === 'function') {\n fn = _xwrap(fn);\n }\n\n if (_isArrayLike(list)) {\n return _arrayReduce(fn, acc, list);\n }\n\n if (typeof list['fantasy-land/reduce'] === 'function') {\n return _methodReduce(fn, acc, list, 'fantasy-land/reduce');\n }\n\n if (list[symIterator] != null) {\n return _iterableReduce(fn, acc, list[symIterator]());\n }\n\n if (typeof list.next === 'function') {\n return _iterableReduce(fn, acc, list);\n }\n\n if (typeof list.reduce === 'function') {\n return _methodReduce(fn, acc, list, 'reduce');\n }\n\n throw new TypeError('reduce: list must be array or iterable');\n}","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};","import { isVueViewModel, isString, isRegExp } from './is.js';\n/**\n * Truncates given string to the maximum characters count\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string (0 = unlimited)\n * @returns string Encoded\n */\n\nfunction truncate(str) {\n var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n if (typeof str !== 'string' || max === 0) {\n return str;\n }\n\n return str.length <= max ? str : \"\".concat(str.slice(0, max), \"...\");\n}\n/**\n * This is basically just `trim_line` from\n * https://github.com/getsentry/sentry/blob/master/src/sentry/lang/javascript/processor.py#L67\n *\n * @param str An object that contains serializable values\n * @param max Maximum number of characters in truncated string\n * @returns string Encoded\n */\n\n\nfunction snipLine(line, colno) {\n var newLine = line;\n var lineLength = newLine.length;\n\n if (lineLength <= 150) {\n return newLine;\n }\n\n if (colno > lineLength) {\n // eslint-disable-next-line no-param-reassign\n colno = lineLength;\n }\n\n var start = Math.max(colno - 60, 0);\n\n if (start < 5) {\n start = 0;\n }\n\n var end = Math.min(start + 140, lineLength);\n\n if (end > lineLength - 5) {\n end = lineLength;\n }\n\n if (end === lineLength) {\n start = Math.max(end - 140, 0);\n }\n\n newLine = newLine.slice(start, end);\n\n if (start > 0) {\n newLine = \"'{snip} \".concat(newLine);\n }\n\n if (end < lineLength) {\n newLine += ' {snip}';\n }\n\n return newLine;\n}\n/**\n * Join values in array\n * @param input array of values to be joined together\n * @param delimiter string to be placed in-between values\n * @returns Joined values\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction safeJoin(input, delimiter) {\n if (!Array.isArray(input)) {\n return '';\n }\n\n var output = []; // eslint-disable-next-line @typescript-eslint/prefer-for-of\n\n for (var i = 0; i < input.length; i++) {\n var value = input[i];\n\n try {\n // This is a hack to fix a Vue3-specific bug that causes an infinite loop of\n // console warnings. This happens when a Vue template is rendered with\n // an undeclared variable, which we try to stringify, ultimately causing\n // Vue to issue another warning which repeats indefinitely.\n // see: https://github.com/getsentry/sentry-javascript/pull/8981\n if (isVueViewModel(value)) {\n output.push('[VueViewModel]');\n } else {\n output.push(String(value));\n }\n } catch (e) {\n output.push('[value cannot be serialized]');\n }\n }\n\n return output.join(delimiter);\n}\n/**\n * Checks if the given value matches a regex or string\n *\n * @param value The string to test\n * @param pattern Either a regex or a string against which `value` will be matched\n * @param requireExactStringMatch If true, `value` must match `pattern` exactly. If false, `value` will match\n * `pattern` if it contains `pattern`. Only applies to string-type patterns.\n */\n\n\nfunction isMatchingPattern(value, pattern) {\n var requireExactStringMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n if (!isString(value)) {\n return false;\n }\n\n if (isRegExp(pattern)) {\n return pattern.test(value);\n }\n\n if (isString(pattern)) {\n return requireExactStringMatch ? value === pattern : value.includes(pattern);\n }\n\n return false;\n}\n/**\n * Test the given string against an array of strings and regexes. By default, string matching is done on a\n * substring-inclusion basis rather than a strict equality basis\n *\n * @param testString The string to test\n * @param patterns The patterns against which to test the string\n * @param requireExactStringMatch If true, `testString` must match one of the given string patterns exactly in order to\n * count. If false, `testString` will match a string pattern if it contains that pattern.\n * @returns\n */\n\n\nfunction stringMatchesSomePattern(testString) {\n var patterns = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var requireExactStringMatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n return patterns.some(function (pattern) {\n return isMatchingPattern(testString, pattern, requireExactStringMatch);\n });\n}\n\nexport { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate };","/**\n * ```\n * WhiteSpace ::\n * - \"Horizontal Tab (U+0009)\"\n * - \"Space (U+0020)\"\n * ```\n * @internal\n */\nexport function isWhiteSpace(code) {\n return code === 0x0009 || code === 0x0020;\n}\n/**\n * ```\n * Digit :: one of\n * - `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`\n * ```\n * @internal\n */\n\nexport function isDigit(code) {\n return code >= 0x0030 && code <= 0x0039;\n}\n/**\n * ```\n * Letter :: one of\n * - `A` `B` `C` `D` `E` `F` `G` `H` `I` `J` `K` `L` `M`\n * - `N` `O` `P` `Q` `R` `S` `T` `U` `V` `W` `X` `Y` `Z`\n * - `a` `b` `c` `d` `e` `f` `g` `h` `i` `j` `k` `l` `m`\n * - `n` `o` `p` `q` `r` `s` `t` `u` `v` `w` `x` `y` `z`\n * ```\n * @internal\n */\n\nexport function isLetter(code) {\n return code >= 0x0061 && code <= 0x007a || // A-Z\n code >= 0x0041 && code <= 0x005a // a-z\n ;\n}\n/**\n * ```\n * NameStart ::\n * - Letter\n * - `_`\n * ```\n * @internal\n */\n\nexport function isNameStart(code) {\n return isLetter(code) || code === 0x005f;\n}\n/**\n * ```\n * NameContinue ::\n * - Letter\n * - Digit\n * - `_`\n * ```\n * @internal\n */\n\nexport function isNameContinue(code) {\n return isLetter(code) || isDigit(code) || code === 0x005f;\n}","var MILLISECONDS_IN_MINUTE = 60000;\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\n\nexport default function getTimezoneOffsetInMilliseconds(dirtyDate) {\n var date = new Date(dirtyDate.getTime());\n var baseTimezoneOffset = date.getTimezoneOffset();\n date.setSeconds(0, 0);\n var millisecondsPartOfTimezoneOffset = date.getTime() % MILLISECONDS_IN_MINUTE;\n return baseTimezoneOffset * MILLISECONDS_IN_MINUTE + millisecondsPartOfTimezoneOffset;\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeek(dirtyDate, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import { GLOBAL_OBJ } from './worldwide.js';\nvar ONE_SECOND_IN_MS = 1000;\n/**\n * A partial definition of the [Performance Web API]{@link https://developer.mozilla.org/en-US/docs/Web/API/Performance}\n * for accessing a high-resolution monotonic clock.\n */\n\n/**\n * Returns a timestamp in seconds since the UNIX epoch using the Date API.\n *\n * TODO(v8): Return type should be rounded.\n */\n\nfunction dateTimestampInSeconds() {\n return Date.now() / ONE_SECOND_IN_MS;\n}\n/**\n * Returns a wrapper around the native Performance API browser implementation, or undefined for browsers that do not\n * support the API.\n *\n * Wrapping the native API works around differences in behavior from different browsers.\n */\n\n\nfunction createUnixTimestampInSecondsFunc() {\n var performance = GLOBAL_OBJ.performance;\n\n if (!performance || !performance.now) {\n return dateTimestampInSeconds;\n } // Some browser and environments don't have a timeOrigin, so we fallback to\n // using Date.now() to compute the starting time.\n\n\n var approxStartingTimeOrigin = Date.now() - performance.now();\n var timeOrigin = performance.timeOrigin == undefined ? approxStartingTimeOrigin : performance.timeOrigin; // performance.now() is a monotonic clock, which means it starts at 0 when the process begins. To get the current\n // wall clock time (actual UNIX timestamp), we need to add the starting time origin and the current time elapsed.\n //\n // TODO: This does not account for the case where the monotonic clock that powers performance.now() drifts from the\n // wall clock time, which causes the returned timestamp to be inaccurate. We should investigate how to detect and\n // correct for this.\n // See: https://github.com/getsentry/sentry-javascript/issues/2590\n // See: https://github.com/mdn/content/issues/4713\n // See: https://dev.to/noamr/when-a-millisecond-is-not-a-millisecond-3h6\n\n return function () {\n return (timeOrigin + performance.now()) / ONE_SECOND_IN_MS;\n };\n}\n/**\n * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the\n * availability of the Performance API.\n *\n * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is\n * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The\n * skew can grow to arbitrary amounts like days, weeks or months.\n * See https://github.com/getsentry/sentry-javascript/issues/2590.\n */\n\n\nvar timestampInSeconds = createUnixTimestampInSecondsFunc();\n/**\n * Re-exported with an old name for backwards-compatibility.\n * TODO (v8): Remove this\n *\n * @deprecated Use `timestampInSeconds` instead.\n */\n\nvar timestampWithMs = timestampInSeconds;\n/**\n * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only.\n */\n\nvar _browserPerformanceTimeOriginMode;\n/**\n * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the\n * performance API is available.\n */\n\n\nvar browserPerformanceTimeOrigin = function () {\n // Unfortunately browsers may report an inaccurate time origin data, through either performance.timeOrigin or\n // performance.timing.navigationStart, which results in poor results in performance data. We only treat time origin\n // data as reliable if they are within a reasonable threshold of the current time.\n var performance = GLOBAL_OBJ.performance;\n\n if (!performance || !performance.now) {\n _browserPerformanceTimeOriginMode = 'none';\n return undefined;\n }\n\n var threshold = 3600 * 1000;\n var performanceNow = performance.now();\n var dateNow = Date.now(); // if timeOrigin isn't available set delta to threshold so it isn't used\n\n var timeOriginDelta = performance.timeOrigin ? Math.abs(performance.timeOrigin + performanceNow - dateNow) : threshold;\n var timeOriginIsReliable = timeOriginDelta < threshold; // While performance.timing.navigationStart is deprecated in favor of performance.timeOrigin, performance.timeOrigin\n // is not as widely supported. Namely, performance.timeOrigin is undefined in Safari as of writing.\n // Also as of writing, performance.timing is not available in Web Workers in mainstream browsers, so it is not always\n // a valid fallback. In the absence of an initial time provided by the browser, fallback to the current time from the\n // Date API.\n // eslint-disable-next-line deprecation/deprecation\n\n var navigationStart = performance.timing && performance.timing.navigationStart;\n var hasNavigationStart = typeof navigationStart === 'number'; // if navigationStart isn't available set delta to threshold so it isn't used\n\n var navigationStartDelta = hasNavigationStart ? Math.abs(navigationStart + performanceNow - dateNow) : threshold;\n var navigationStartIsReliable = navigationStartDelta < threshold;\n\n if (timeOriginIsReliable || navigationStartIsReliable) {\n // Use the more reliable time origin\n if (timeOriginDelta <= navigationStartDelta) {\n _browserPerformanceTimeOriginMode = 'timeOrigin';\n return performance.timeOrigin;\n } else {\n _browserPerformanceTimeOriginMode = 'navigationStart';\n return navigationStart;\n }\n } // Either both timeOrigin and navigationStart are skewed or neither is available, fallback to Date.\n\n\n _browserPerformanceTimeOriginMode = 'dateNow';\n return dateNow;\n}();\n\nexport { _browserPerformanceTimeOriginMode, browserPerformanceTimeOrigin, dateTimestampInSeconds, timestampInSeconds, timestampWithMs };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\n */\nfunction applyMixin(Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n Vue.mixin({\n beforeCreate: vuexInit\n });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n\n Vue.prototype._init = function (options) {\n if (options === void 0) options = {};\n options.init = options.init ? [vuexInit].concat(options.init) : vuexInit;\n\n _init.call(this, options);\n };\n }\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n\n function vuexInit() {\n var options = this.$options; // store injection\n\n if (options.store) {\n this.$store = typeof options.store === 'function' ? options.store() : options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n}\n\nvar target = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction devtoolPlugin(store) {\n if (!devtoolHook) {\n return;\n }\n\n store._devtoolHook = devtoolHook;\n devtoolHook.emit('vuex:init', store);\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n }, {\n prepend: true\n });\n store.subscribeAction(function (action, state) {\n devtoolHook.emit('vuex:action', action, state);\n }, {\n prepend: true\n });\n}\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\n\n\nfunction find(list, f) {\n return list.filter(f)[0];\n}\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array<Object>} cache\n * @return {*}\n */\n\n\nfunction deepCopy(obj, cache) {\n if (cache === void 0) cache = []; // just return if obj is immutable value\n\n if (obj === null || _typeof(obj) !== 'object') {\n return obj;\n } // if obj is hit, it is in circular structure\n\n\n var hit = find(cache, function (c) {\n return c.original === obj;\n });\n\n if (hit) {\n return hit.copy;\n }\n\n var copy = Array.isArray(obj) ? [] : {}; // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n\n cache.push({\n original: obj,\n copy: copy\n });\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n return copy;\n}\n/**\n * forEach for object\n */\n\n\nfunction forEachValue(obj, fn) {\n Object.keys(obj).forEach(function (key) {\n return fn(obj[key], key);\n });\n}\n\nfunction isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n}\n\nfunction isPromise(val) {\n return val && typeof val.then === 'function';\n}\n\nfunction assert(condition, msg) {\n if (!condition) {\n throw new Error(\"[vuex] \" + msg);\n }\n}\n\nfunction partial(fn, arg) {\n return function () {\n return fn(arg);\n };\n} // Base data struct for store's module, package with some attribute and method\n\n\nvar Module = function Module(rawModule, runtime) {\n this.runtime = runtime; // Store some children item\n\n this._children = Object.create(null); // Store the origin module object which passed by programmer\n\n this._rawModule = rawModule;\n var rawState = rawModule.state; // Store the origin module's state\n\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors = {\n namespaced: {\n configurable: true\n }\n};\n\nprototypeAccessors.namespaced.get = function () {\n return !!this._rawModule.namespaced;\n};\n\nModule.prototype.addChild = function addChild(key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild(key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild(key) {\n return this._children[key];\n};\n\nModule.prototype.hasChild = function hasChild(key) {\n return key in this._children;\n};\n\nModule.prototype.update = function update(rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild(fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter(fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction(fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation(fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties(Module.prototype, prototypeAccessors);\n\nvar ModuleCollection = function ModuleCollection(rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get(path) {\n return path.reduce(function (module, key) {\n return module.getChild(key);\n }, this.root);\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace(path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '');\n }, '');\n};\n\nModuleCollection.prototype.update = function update$1(rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register(path, rawModule, runtime) {\n var this$1 = this;\n if (runtime === void 0) runtime = true;\n\n if (process.env.NODE_ENV !== 'production') {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n } // register nested modules\n\n\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n var child = parent.getChild(key);\n\n if (!child) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] trying to unregister module '\" + key + \"', which is \" + \"not registered\");\n }\n\n return;\n }\n\n if (!child.runtime) {\n return;\n }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (parent) {\n return parent.hasChild(key);\n }\n\n return false;\n};\n\nfunction update(path, targetModule, newModule) {\n if (process.env.NODE_ENV !== 'production') {\n assertRawModule(path, newModule);\n } // update target module\n\n\n targetModule.update(newModule); // update nested modules\n\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" + 'manual reload is needed');\n }\n\n return;\n }\n\n update(path.concat(key), targetModule.getChild(key), newModule.modules[key]);\n }\n }\n}\n\nvar functionAssert = {\n assert: function assert(value) {\n return typeof value === 'function';\n },\n expected: 'function'\n};\nvar objectAssert = {\n assert: function assert(value) {\n return typeof value === 'function' || _typeof(value) === 'object' && typeof value.handler === 'function';\n },\n expected: 'function or object with \"handler\" function'\n};\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule(path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) {\n return;\n }\n\n var assertOptions = assertTypes[key];\n forEachValue(rawModule[key], function (value, type) {\n assert(assertOptions.assert(value), makeAssertionMessage(path, key, type, value, assertOptions.expected));\n });\n });\n}\n\nfunction makeAssertionMessage(path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n\n if (path.length > 0) {\n buf += \" in module \\\"\" + path.join('.') + \"\\\"\";\n }\n\n buf += \" is \" + JSON.stringify(value) + \".\";\n return buf;\n}\n\nvar Vue; // bind on install\n\nvar Store = function Store(options) {\n var this$1 = this;\n if (options === void 0) options = {}; // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #731\n\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins;\n if (plugins === void 0) plugins = [];\n var strict = options.strict;\n if (strict === void 0) strict = false; // store internal state\n\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n this._makeLocalGettersCache = Object.create(null); // bind commit and dispatch to self\n\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n\n this.dispatch = function boundDispatch(type, payload) {\n return dispatch.call(store, type, payload);\n };\n\n this.commit = function boundCommit(type, payload, options) {\n return commit.call(store, type, payload, options);\n }; // strict mode\n\n\n this.strict = strict;\n var state = this._modules.root.state; // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n\n installModule(this, state, [], this._modules.root); // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n\n resetStoreVM(this, state); // apply plugins\n\n plugins.forEach(function (plugin) {\n return plugin(this$1);\n });\n var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n\n if (useDevtools) {\n devtoolPlugin(this);\n }\n};\n\nvar prototypeAccessors$1 = {\n state: {\n configurable: true\n }\n};\n\nprototypeAccessors$1.state.get = function () {\n return this._vm._data.$$state;\n};\n\nprototypeAccessors$1.state.set = function (v) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit(_type, _payload, _options) {\n var this$1 = this; // check object-style commit\n\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n var mutation = {\n type: type,\n payload: payload\n };\n var entry = this._mutations[type];\n\n if (!entry) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] unknown mutation type: \" + type);\n }\n\n return;\n }\n\n this._withCommit(function () {\n entry.forEach(function commitIterator(handler) {\n handler(payload);\n });\n });\n\n this._subscribers.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) {\n return sub(mutation, this$1.state);\n });\n\n if (process.env.NODE_ENV !== 'production' && options && options.silent) {\n console.warn(\"[vuex] mutation type: \" + type + \". Silent option has been removed. \" + 'Use the filter functionality in the vue-devtools');\n }\n};\n\nStore.prototype.dispatch = function dispatch(_type, _payload) {\n var this$1 = this; // check object-style dispatch\n\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n var action = {\n type: type,\n payload: payload\n };\n var entry = this._actions[type];\n\n if (!entry) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] unknown action type: \" + type);\n }\n\n return;\n }\n\n try {\n this._actionSubscribers.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) {\n return sub.before;\n }).forEach(function (sub) {\n return sub.before(action, this$1.state);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1 ? Promise.all(entry.map(function (handler) {\n return handler(payload);\n })) : entry[0](payload);\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1._actionSubscribers.filter(function (sub) {\n return sub.after;\n }).forEach(function (sub) {\n return sub.after(action, this$1.state);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n\n resolve(res);\n }, function (error) {\n try {\n this$1._actionSubscribers.filter(function (sub) {\n return sub.error;\n }).forEach(function (sub) {\n return sub.error(action, this$1.state, error);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n\n reject(error);\n });\n });\n};\n\nStore.prototype.subscribe = function subscribe(fn, options) {\n return genericSubscribe(fn, this._subscribers, options);\n};\n\nStore.prototype.subscribeAction = function subscribeAction(fn, options) {\n var subs = typeof fn === 'function' ? {\n before: fn\n } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options);\n};\n\nStore.prototype.watch = function watch(getter, cb, options) {\n var this$1 = this;\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n\n return this._watcherVM.$watch(function () {\n return getter(this$1.state, this$1.getters);\n }, cb, options);\n};\n\nStore.prototype.replaceState = function replaceState(state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm._data.$$state = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule(path, rawModule, options) {\n if (options === void 0) options = {};\n\n if (typeof path === 'string') {\n path = [path];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n\n installModule(this, this.state, path, this._modules.get(path), options.preserveState); // reset store to update getters...\n\n resetStoreVM(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule(path) {\n var this$1 = this;\n\n if (typeof path === 'string') {\n path = [path];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue[\"delete\"](parentState, path[path.length - 1]);\n });\n\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule(path) {\n if (typeof path === 'string') {\n path = [path];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path);\n};\n\nStore.prototype.hotUpdate = function hotUpdate(newOptions) {\n this._modules.update(newOptions);\n\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit(fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties(Store.prototype, prototypeAccessors$1);\n\nfunction genericSubscribe(fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend ? subs.unshift(fn) : subs.push(fn);\n }\n\n return function () {\n var i = subs.indexOf(fn);\n\n if (i > -1) {\n subs.splice(i, 1);\n }\n };\n}\n\nfunction resetStore(store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state; // init all modules\n\n installModule(store, state, [], store._modules.root, true); // reset vm\n\n resetStoreVM(store, state, hot);\n}\n\nfunction resetStoreVM(store, state, hot) {\n var oldVm = store._vm; // bind store public getters\n\n store.getters = {}; // reset local getters cache\n\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldVm.\n // using partial to return function with only arguments preserved in closure environment.\n computed[key] = partial(fn, store);\n Object.defineProperty(store.getters, key, {\n get: function get() {\n return store._vm[key];\n },\n enumerable: true // for local getters\n\n });\n }); // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n $$state: state\n },\n computed: computed\n });\n Vue.config.silent = silent; // enable strict mode for new vm\n\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm._data.$$state = null;\n });\n }\n\n Vue.nextTick(function () {\n return oldVm.$destroy();\n });\n }\n}\n\nfunction installModule(store, rootState, path, module, hot) {\n var isRoot = !path.length;\n\n var namespace = store._modules.getNamespace(path); // register in namespace map\n\n\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + path.join('/'));\n }\n\n store._modulesNamespaceMap[namespace] = module;\n } // set state\n\n\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n\n store._withCommit(function () {\n if (process.env.NODE_ENV !== 'production') {\n if (moduleName in parentState) {\n console.warn(\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + path.join('.') + \"\\\"\");\n }\n }\n\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\n\n\nfunction makeLocalContext(store, namespace, path) {\n var noNamespace = namespace === '';\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n\n if (process.env.NODE_ENV !== 'production' && !store._actions[type]) {\n console.error(\"[vuex] unknown local action type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n\n return store.dispatch(type, payload);\n },\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n\n if (process.env.NODE_ENV !== 'production' && !store._mutations[type]) {\n console.error(\"[vuex] unknown local mutation type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n\n store.commit(type, payload, options);\n }\n }; // getters and state object must be gotten lazily\n // because they will be changed by vm update\n\n Object.defineProperties(local, {\n getters: {\n get: noNamespace ? function () {\n return store.getters;\n } : function () {\n return makeLocalGetters(store, namespace);\n }\n },\n state: {\n get: function get() {\n return getNestedState(store.state, path);\n }\n }\n });\n return local;\n}\n\nfunction makeLocalGetters(store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) {\n return;\n } // extract local getter type\n\n\n var localType = type.slice(splitPos); // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n\n Object.defineProperty(gettersProxy, localType, {\n get: function get() {\n return store.getters[type];\n },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace];\n}\n\nfunction registerMutation(store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler(payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction(store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler(payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n\n if (store._devtoolHook) {\n return res[\"catch\"](function (err) {\n store._devtoolHook.emit('vuex:error', err);\n\n throw err;\n });\n } else {\n return res;\n }\n });\n}\n\nfunction registerGetter(store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] duplicate getter key: \" + type);\n }\n\n return;\n }\n\n store._wrappedGetters[type] = function wrappedGetter(store) {\n return rawGetter(local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n );\n };\n}\n\nfunction enableStrictMode(store) {\n store._vm.$watch(function () {\n return this._data.$$state;\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, {\n deep: true,\n sync: true\n });\n}\n\nfunction getNestedState(state, path) {\n return path.reduce(function (state, key) {\n return state[key];\n }, state);\n}\n\nfunction unifyObjectStyle(type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof type === 'string', \"expects string as the type, but found \" + _typeof(type) + \".\");\n }\n\n return {\n type: type,\n payload: payload,\n options: options\n };\n}\n\nfunction install(_Vue) {\n if (Vue && _Vue === Vue) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('[vuex] already installed. Vue.use(Vuex) should be called only once.');\n }\n\n return;\n }\n\n Vue = _Vue;\n applyMixin(Vue);\n}\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\n\n\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(states)) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState() {\n var state = this.$store.state;\n var getters = this.$store.getters;\n\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n\n if (!module) {\n return;\n }\n\n state = module.context.state;\n getters = module.context.getters;\n }\n\n return typeof val === 'function' ? val.call(this, state, getters) : state[val];\n }; // mark vuex getter for devtools\n\n\n res[key].vuex = true;\n });\n return res;\n});\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\n\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(mutations)) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n } // Get the commit method from store\n\n\n var commit = this.$store.commit;\n\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n\n if (!module) {\n return;\n }\n\n commit = module.context.commit;\n }\n\n return typeof val === 'function' ? val.apply(this, [commit].concat(args)) : commit.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n});\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\n\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(getters)) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val; // The namespace has been mutated by normalizeNamespace\n\n val = namespace + val;\n\n res[key] = function mappedGetter() {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production' && !(val in this.$store.getters)) {\n console.error(\"[vuex] unknown getter: \" + val);\n return;\n }\n\n return this.$store.getters[val];\n }; // mark vuex getter for devtools\n\n\n res[key].vuex = true;\n });\n return res;\n});\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\n\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(actions)) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n } // get dispatch function from store\n\n\n var dispatch = this.$store.dispatch;\n\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n\n if (!module) {\n return;\n }\n\n dispatch = module.context.dispatch;\n }\n\n return typeof val === 'function' ? val.apply(this, [dispatch].concat(args)) : dispatch.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n});\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\n\nvar createNamespacedHelpers = function createNamespacedHelpers(namespace) {\n return {\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n };\n};\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\n\n\nfunction normalizeMap(map) {\n if (!isValidMap(map)) {\n return [];\n }\n\n return Array.isArray(map) ? map.map(function (key) {\n return {\n key: key,\n val: key\n };\n }) : Object.keys(map).map(function (key) {\n return {\n key: key,\n val: map[key]\n };\n });\n}\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\n\n\nfunction isValidMap(map) {\n return Array.isArray(map) || isObject(map);\n}\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\n\n\nfunction normalizeNamespace(fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n\n return fn(namespace, map);\n };\n}\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\n\n\nfunction getModuleByNamespace(store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n\n if (process.env.NODE_ENV !== 'production' && !module) {\n console.error(\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace);\n }\n\n return module;\n} // Credits: borrowed code from fcomb/redux-logger\n\n\nfunction createLogger(ref) {\n if (ref === void 0) ref = {};\n var collapsed = ref.collapsed;\n if (collapsed === void 0) collapsed = true;\n var filter = ref.filter;\n if (filter === void 0) filter = function filter(mutation, stateBefore, stateAfter) {\n return true;\n };\n var transformer = ref.transformer;\n if (transformer === void 0) transformer = function transformer(state) {\n return state;\n };\n var mutationTransformer = ref.mutationTransformer;\n if (mutationTransformer === void 0) mutationTransformer = function mutationTransformer(mut) {\n return mut;\n };\n var actionFilter = ref.actionFilter;\n if (actionFilter === void 0) actionFilter = function actionFilter(action, state) {\n return true;\n };\n var actionTransformer = ref.actionTransformer;\n if (actionTransformer === void 0) actionTransformer = function actionTransformer(act) {\n return act;\n };\n var logMutations = ref.logMutations;\n if (logMutations === void 0) logMutations = true;\n var logActions = ref.logActions;\n if (logActions === void 0) logActions = true;\n var logger = ref.logger;\n if (logger === void 0) logger = console;\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return;\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + mutation.type + formattedTime;\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + action.type + formattedTime;\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n };\n}\n\nfunction startMessage(logger, message, collapsed) {\n var startMessage = collapsed ? logger.groupCollapsed : logger.group; // render\n\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n}\n\nfunction endMessage(logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n}\n\nfunction getFormattedTime() {\n var time = new Date();\n return \" @ \" + pad(time.getHours(), 2) + \":\" + pad(time.getMinutes(), 2) + \":\" + pad(time.getSeconds(), 2) + \".\" + pad(time.getMilliseconds(), 3);\n}\n\nfunction repeat(str, times) {\n return new Array(times + 1).join(str);\n}\n\nfunction pad(num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num;\n}\n\nvar index = {\n Store: Store,\n install: install,\n version: '3.6.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers,\n createLogger: createLogger\n};\nexport default index;\nexport { Store, createLogger, createNamespacedHelpers, install, mapActions, mapGetters, mapMutations, mapState };","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexports.__esModule = true;\nexports.isInContainer = exports.getScrollContainer = exports.isScroll = exports.getStyle = exports.once = exports.off = exports.on = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n/* istanbul ignore next */\n\n\nexports.hasClass = hasClass;\nexports.addClass = addClass;\nexports.removeClass = removeClass;\nexports.setStyle = setStyle;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar isServer = _vue2[\"default\"].prototype.$isServer;\nvar SPECIAL_CHARS_REGEXP = /([\\:\\-\\_]+(.))/g;\nvar MOZ_HACK_REGEXP = /^moz([A-Z])/;\nvar ieVersion = isServer ? 0 : Number(document.documentMode);\n/* istanbul ignore next */\n\nvar trim = function trim(string) {\n return (string || '').replace(/^[\\s\\uFEFF]+|[\\s\\uFEFF]+$/g, '');\n};\n/* istanbul ignore next */\n\n\nvar camelCase = function camelCase(name) {\n return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) {\n return offset ? letter.toUpperCase() : letter;\n }).replace(MOZ_HACK_REGEXP, 'Moz$1');\n};\n/* istanbul ignore next */\n\n\nvar on = exports.on = function () {\n if (!isServer && document.addEventListener) {\n return function (element, event, handler) {\n if (element && event && handler) {\n element.addEventListener(event, handler, false);\n }\n };\n } else {\n return function (element, event, handler) {\n if (element && event && handler) {\n element.attachEvent('on' + event, handler);\n }\n };\n }\n}();\n/* istanbul ignore next */\n\n\nvar off = exports.off = function () {\n if (!isServer && document.removeEventListener) {\n return function (element, event, handler) {\n if (element && event) {\n element.removeEventListener(event, handler, false);\n }\n };\n } else {\n return function (element, event, handler) {\n if (element && event) {\n element.detachEvent('on' + event, handler);\n }\n };\n }\n}();\n/* istanbul ignore next */\n\n\nvar once = exports.once = function once(el, event, fn) {\n var listener = function listener() {\n if (fn) {\n fn.apply(this, arguments);\n }\n\n off(el, event, listener);\n };\n\n on(el, event, listener);\n};\n/* istanbul ignore next */\n\n\nfunction hasClass(el, cls) {\n if (!el || !cls) return false;\n if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.');\n\n if (el.classList) {\n return el.classList.contains(cls);\n } else {\n return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1;\n }\n}\n\n;\n/* istanbul ignore next */\n\nfunction addClass(el, cls) {\n if (!el) return;\n var curClass = el.className;\n var classes = (cls || '').split(' ');\n\n for (var i = 0, j = classes.length; i < j; i++) {\n var clsName = classes[i];\n if (!clsName) continue;\n\n if (el.classList) {\n el.classList.add(clsName);\n } else if (!hasClass(el, clsName)) {\n curClass += ' ' + clsName;\n }\n }\n\n if (!el.classList) {\n el.setAttribute('class', curClass);\n }\n}\n\n;\n/* istanbul ignore next */\n\nfunction removeClass(el, cls) {\n if (!el || !cls) return;\n var classes = cls.split(' ');\n var curClass = ' ' + el.className + ' ';\n\n for (var i = 0, j = classes.length; i < j; i++) {\n var clsName = classes[i];\n if (!clsName) continue;\n\n if (el.classList) {\n el.classList.remove(clsName);\n } else if (hasClass(el, clsName)) {\n curClass = curClass.replace(' ' + clsName + ' ', ' ');\n }\n }\n\n if (!el.classList) {\n el.setAttribute('class', trim(curClass));\n }\n}\n\n;\n/* istanbul ignore next */\n\nvar getStyle = exports.getStyle = ieVersion < 9 ? function (element, styleName) {\n if (isServer) return;\n if (!element || !styleName) return null;\n styleName = camelCase(styleName);\n\n if (styleName === 'float') {\n styleName = 'styleFloat';\n }\n\n try {\n switch (styleName) {\n case 'opacity':\n try {\n return element.filters.item('alpha').opacity / 100;\n } catch (e) {\n return 1.0;\n }\n\n default:\n return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null;\n }\n } catch (e) {\n return element.style[styleName];\n }\n} : function (element, styleName) {\n if (isServer) return;\n if (!element || !styleName) return null;\n styleName = camelCase(styleName);\n\n if (styleName === 'float') {\n styleName = 'cssFloat';\n }\n\n try {\n var computed = document.defaultView.getComputedStyle(element, '');\n return element.style[styleName] || computed ? computed[styleName] : null;\n } catch (e) {\n return element.style[styleName];\n }\n};\n/* istanbul ignore next */\n\nfunction setStyle(element, styleName, value) {\n if (!element || !styleName) return;\n\n if ((typeof styleName === 'undefined' ? 'undefined' : _typeof(styleName)) === 'object') {\n for (var prop in styleName) {\n if (styleName.hasOwnProperty(prop)) {\n setStyle(element, prop, styleName[prop]);\n }\n }\n } else {\n styleName = camelCase(styleName);\n\n if (styleName === 'opacity' && ieVersion < 9) {\n element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')';\n } else {\n element.style[styleName] = value;\n }\n }\n}\n\n;\n\nvar isScroll = exports.isScroll = function isScroll(el, vertical) {\n if (isServer) return;\n var determinedDirection = vertical !== null && vertical !== undefined;\n var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');\n return overflow.match(/(scroll|auto|overlay)/);\n};\n\nvar getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {\n if (isServer) return;\n var parent = el;\n\n while (parent) {\n if ([window, document, document.documentElement].includes(parent)) {\n return window;\n }\n\n if (isScroll(parent, vertical)) {\n return parent;\n }\n\n parent = parent.parentNode;\n }\n\n return parent;\n};\n\nvar isInContainer = exports.isInContainer = function isInContainer(el, container) {\n if (isServer || !el || !container) return false;\n var elRect = el.getBoundingClientRect();\n var containerRect = void 0;\n\n if ([window, document, document.documentElement, null, undefined].includes(container)) {\n containerRect = {\n top: 0,\n right: window.innerWidth,\n bottom: window.innerHeight,\n left: 0\n };\n } else {\n containerRect = container.getBoundingClientRect();\n }\n\n return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right;\n};","export default function _has(prop, obj) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}","import _curry1 from './internal/_curry1.js';\nimport _has from './internal/_has.js';\nimport _isArguments from './internal/_isArguments.js'; // cover IE < 9 keys issues\n\nvar hasEnumBug = !\n/*#__PURE__*/\n{\n toString: null\n}.propertyIsEnumerable('toString');\nvar nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; // Safari bug\n\nvar hasArgsEnumBug =\n/*#__PURE__*/\nfunction () {\n 'use strict';\n\n return arguments.propertyIsEnumerable('length');\n}();\n\nvar contains = function contains(list, item) {\n var idx = 0;\n\n while (idx < list.length) {\n if (list[idx] === item) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n};\n/**\n * Returns a list containing the names of all the enumerable own properties of\n * the supplied object.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [k]\n * @param {Object} obj The object to extract properties from\n * @return {Array} An array of the object's own properties.\n * @see R.keysIn, R.values\n * @example\n *\n * R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']\n */\n\n\nvar keys = typeof Object.keys === 'function' && !hasArgsEnumBug ?\n/*#__PURE__*/\n_curry1(function keys(obj) {\n return Object(obj) !== obj ? [] : Object.keys(obj);\n}) :\n/*#__PURE__*/\n_curry1(function keys(obj) {\n if (Object(obj) !== obj) {\n return [];\n }\n\n var prop, nIdx;\n var ks = [];\n\n var checkArgsLength = hasArgsEnumBug && _isArguments(obj);\n\n for (prop in obj) {\n if (_has(prop, obj) && (!checkArgsLength || prop !== 'length')) {\n ks[ks.length] = prop;\n }\n }\n\n if (hasEnumBug) {\n nIdx = nonEnumerableProps.length - 1;\n\n while (nIdx >= 0) {\n prop = nonEnumerableProps[nIdx];\n\n if (_has(prop, obj) && !contains(ks, prop)) {\n ks[ks.length] = prop;\n }\n\n nIdx -= 1;\n }\n }\n\n return ks;\n});\nexport default keys;","import _arity from './_arity.js';\nimport _isPlaceholder from './_isPlaceholder.js';\n/**\n * Internal curryN function.\n *\n * @private\n * @category Function\n * @param {Number} length The arity of the curried function.\n * @param {Array} received An array of arguments received thus far.\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curryN(length, received, fn) {\n return function () {\n var combined = [];\n var argsIdx = 0;\n var left = length;\n var combinedIdx = 0;\n\n while (combinedIdx < received.length || argsIdx < arguments.length) {\n var result;\n\n if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {\n result = received[combinedIdx];\n } else {\n result = arguments[argsIdx];\n argsIdx += 1;\n }\n\n combined[combinedIdx] = result;\n\n if (!_isPlaceholder(result)) {\n left -= 1;\n }\n\n combinedIdx += 1;\n }\n\n return left <= 0 ? fn.apply(this, combined) : _arity(left, _curryN(length, combined, fn));\n };\n}","import _arity from './internal/_arity.js';\nimport _curry1 from './internal/_curry1.js';\nimport _curry2 from './internal/_curry2.js';\nimport _curryN from './internal/_curryN.js';\n/**\n * Returns a curried equivalent of the provided function, with the specified\n * arity. The curried function has two unusual capabilities. First, its\n * arguments needn't be provided one at a time. If `g` is `R.curryN(3, f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @func\n * @memberOf R\n * @since v0.5.0\n * @category Function\n * @sig Number -> (* -> a) -> (* -> a)\n * @param {Number} length The arity for the returned function.\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curry\n * @example\n *\n * const sumArgs = (...args) => R.sum(args);\n *\n * const curriedAddFourNumbers = R.curryN(4, sumArgs);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n */\n\nvar curryN =\n/*#__PURE__*/\n_curry2(function curryN(length, fn) {\n if (length === 1) {\n return _curry1(fn);\n }\n\n return _arity(length, _curryN(length, [], fn));\n});\n\nexport default curryN;","import _curry1 from './_curry1.js';\nimport _curry2 from './_curry2.js';\nimport _isPlaceholder from './_isPlaceholder.js';\n/**\n * Optimized internal three-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\nexport default function _curry3(fn) {\n return function f3(a, b, c) {\n switch (arguments.length) {\n case 0:\n return f3;\n\n case 1:\n return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n });\n\n case 2:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _curry1(function (_c) {\n return fn(a, b, _c);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {\n return fn(_a, _b, c);\n }) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b, c);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b, c);\n }) : _isPlaceholder(c) ? _curry1(function (_c) {\n return fn(a, b, _c);\n }) : fn(a, b, c);\n }\n };\n}","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","'use strict';\n\nexports.__esModule = true;\nexports.i18n = exports.use = exports.t = undefined;\n\nvar _zhCN = require('element-ui/lib/locale/lang/zh-CN');\n\nvar _zhCN2 = _interopRequireDefault(_zhCN);\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nvar _deepmerge = require('deepmerge');\n\nvar _deepmerge2 = _interopRequireDefault(_deepmerge);\n\nvar _format = require('./format');\n\nvar _format2 = _interopRequireDefault(_format);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar format = (0, _format2[\"default\"])(_vue2[\"default\"]);\nvar lang = _zhCN2[\"default\"];\nvar merged = false;\n\nvar i18nHandler = function i18nHandler() {\n var vuei18n = Object.getPrototypeOf(this || _vue2[\"default\"]).$t;\n\n if (typeof vuei18n === 'function' && !!_vue2[\"default\"].locale) {\n if (!merged) {\n merged = true;\n\n _vue2[\"default\"].locale(_vue2[\"default\"].config.lang, (0, _deepmerge2[\"default\"])(lang, _vue2[\"default\"].locale(_vue2[\"default\"].config.lang) || {}, {\n clone: true\n }));\n }\n\n return vuei18n.apply(this, arguments);\n }\n};\n\nvar t = exports.t = function t(path, options) {\n var value = i18nHandler.apply(this, arguments);\n if (value !== null && value !== undefined) return value;\n var array = path.split('.');\n var current = lang;\n\n for (var i = 0, j = array.length; i < j; i++) {\n var property = array[i];\n value = current[property];\n if (i === j - 1) return format(value, options);\n if (!value) return '';\n current = value;\n }\n\n return '';\n};\n\nvar use = exports.use = function use(l) {\n lang = l || lang;\n};\n\nvar i18n = exports.i18n = function i18n(fn) {\n i18nHandler = fn || i18nHandler;\n};\n\nexports[\"default\"] = {\n use: use,\n t: t,\n i18n: i18n\n};","module.exports = require('./lib/axios');","var DEFAULT_ENVIRONMENT = 'production';\nexport { DEFAULT_ENVIRONMENT };","/**\n * Tests whether or not an object is an array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is an array, `false` otherwise.\n * @example\n *\n * _isArray([]); //=> true\n * _isArray(null); //=> false\n * _isArray({}); //=> false\n */\nexport default Array.isArray || function _isArray(val) {\n return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';\n};","export default function _arity(n, fn) {\n /* eslint-disable no-unused-vars */\n switch (n) {\n case 0:\n return function () {\n return fn.apply(this, arguments);\n };\n\n case 1:\n return function (a0) {\n return fn.apply(this, arguments);\n };\n\n case 2:\n return function (a0, a1) {\n return fn.apply(this, arguments);\n };\n\n case 3:\n return function (a0, a1, a2) {\n return fn.apply(this, arguments);\n };\n\n case 4:\n return function (a0, a1, a2, a3) {\n return fn.apply(this, arguments);\n };\n\n case 5:\n return function (a0, a1, a2, a3, a4) {\n return fn.apply(this, arguments);\n };\n\n case 6:\n return function (a0, a1, a2, a3, a4, a5) {\n return fn.apply(this, arguments);\n };\n\n case 7:\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return fn.apply(this, arguments);\n };\n\n case 8:\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return fn.apply(this, arguments);\n };\n\n case 9:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {\n return fn.apply(this, arguments);\n };\n\n case 10:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return fn.apply(this, arguments);\n };\n\n default:\n throw new Error('First argument to _arity must be a non-negative integer no greater than ten');\n }\n}","import Vue from'vue';export var events=new Vue({name:'VueConfirmDialog'});","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('label',{staticClass:\"el-checkbox\",class:[\n _vm.border && _vm.checkboxSize ? 'el-checkbox--' + _vm.checkboxSize : '',\n { 'is-disabled': _vm.isDisabled },\n { 'is-bordered': _vm.border },\n { 'is-checked': _vm.isChecked }\n ],attrs:{\"id\":_vm.id}},[_c('span',{staticClass:\"el-checkbox__input\",class:{\n 'is-disabled': _vm.isDisabled,\n 'is-checked': _vm.isChecked,\n 'is-indeterminate': _vm.indeterminate,\n 'is-focus': _vm.focus\n },attrs:{\"tabindex\":_vm.indeterminate ? 0 : false,\"role\":_vm.indeterminate ? 'checkbox' : false,\"aria-checked\":_vm.indeterminate ? 'mixed' : false}},[_c('span',{staticClass:\"el-checkbox__inner\"}),_vm._v(\" \"),(_vm.trueLabel || _vm.falseLabel)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model),expression:\"model\"}],staticClass:\"el-checkbox__original\",attrs:{\"type\":\"checkbox\",\"aria-hidden\":_vm.indeterminate ? 'true' : 'false',\"name\":_vm.name,\"disabled\":_vm.isDisabled,\"true-value\":_vm.trueLabel,\"false-value\":_vm.falseLabel},domProps:{\"checked\":Array.isArray(_vm.model)?_vm._i(_vm.model,null)>-1:_vm._q(_vm.model,_vm.trueLabel)},on:{\"change\":[function($event){var $$a=_vm.model,$$el=$event.target,$$c=$$el.checked?(_vm.trueLabel):(_vm.falseLabel);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.model=$$a.concat([$$v]))}else{$$i>-1&&(_vm.model=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.model=$$c}},_vm.handleChange],\"focus\":function($event){_vm.focus = true},\"blur\":function($event){_vm.focus = false}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model),expression:\"model\"}],staticClass:\"el-checkbox__original\",attrs:{\"type\":\"checkbox\",\"aria-hidden\":_vm.indeterminate ? 'true' : 'false',\"disabled\":_vm.isDisabled,\"name\":_vm.name},domProps:{\"value\":_vm.label,\"checked\":Array.isArray(_vm.model)?_vm._i(_vm.model,_vm.label)>-1:(_vm.model)},on:{\"change\":[function($event){var $$a=_vm.model,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=_vm.label,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.model=$$a.concat([$$v]))}else{$$i>-1&&(_vm.model=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.model=$$c}},_vm.handleChange],\"focus\":function($event){_vm.focus = true},\"blur\":function($event){_vm.focus = false}}})]),_vm._v(\" \"),(_vm.$slots.default || _vm.label)?_c('span',{staticClass:\"el-checkbox__label\"},[_vm._t(\"default\"),_vm._v(\" \"),(!_vm.$slots.default)?[_vm._v(_vm._s(_vm.label))]:_vm._e()],2):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../babel-loader/lib/index.js??ref--5-0!../../../../vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../babel-loader/lib/index.js??ref--5-0!../../../../vue-loader/lib/index.js??vue-loader-options!./checkbox.vue?vue&type=script&lang=js&\"","import Emitter from 'element-ui/src/mixins/emitter';\nexport default {\n name: 'ElCheckbox',\n mixins: [Emitter],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n componentName: 'ElCheckbox',\n data: function data() {\n return {\n selfModel: false,\n focus: false,\n isLimitExceeded: false\n };\n },\n computed: {\n model: {\n get: function get() {\n return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel;\n },\n set: function set(val) {\n if (this.isGroup) {\n this.isLimitExceeded = false;\n this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true);\n this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true);\n this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]);\n } else {\n this.$emit('input', val);\n this.selfModel = val;\n }\n }\n },\n isChecked: function isChecked() {\n if ({}.toString.call(this.model) === '[object Boolean]') {\n return this.model;\n } else if (Array.isArray(this.model)) {\n return this.model.indexOf(this.label) > -1;\n } else if (this.model !== null && this.model !== undefined) {\n return this.model === this.trueLabel;\n }\n },\n isGroup: function isGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElCheckboxGroup') {\n parent = parent.$parent;\n } else {\n this._checkboxGroup = parent;\n return true;\n }\n }\n\n return false;\n },\n store: function store() {\n return this._checkboxGroup ? this._checkboxGroup.value : this.value;\n },\n\n /* used to make the isDisabled judgment under max/min props */\n isLimitDisabled: function isLimitDisabled() {\n var _this$_checkboxGroup = this._checkboxGroup,\n max = _this$_checkboxGroup.max,\n min = _this$_checkboxGroup.min;\n return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked;\n },\n isDisabled: function isDisabled() {\n return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled;\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxSize: function checkboxSize() {\n var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize;\n }\n },\n props: {\n value: {},\n label: {},\n indeterminate: Boolean,\n disabled: Boolean,\n checked: Boolean,\n name: String,\n trueLabel: [String, Number],\n falseLabel: [String, Number],\n id: String,\n\n /* 当indeterminate为真时,为controlsæ供相关连的checkboxçš„idï¼Œè¡¨æ˜Žå…ƒç´ é—´çš„æŽ§åˆ¶å…³ç³»*/\n controls: String,\n\n /* 当indeterminate为真时,为controlsæ供相关连的checkboxçš„idï¼Œè¡¨æ˜Žå…ƒç´ é—´çš„æŽ§åˆ¶å…³ç³»*/\n border: Boolean,\n size: String\n },\n methods: {\n addToStore: function addToStore() {\n if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) {\n this.model.push(this.label);\n } else {\n this.model = this.trueLabel || true;\n }\n },\n handleChange: function handleChange(ev) {\n var _this = this;\n\n if (this.isLimitExceeded) return;\n var value;\n\n if (ev.target.checked) {\n value = this.trueLabel === undefined ? true : this.trueLabel;\n } else {\n value = this.falseLabel === undefined ? false : this.falseLabel;\n }\n\n this.$emit('change', value, ev);\n this.$nextTick(function () {\n if (_this.isGroup) {\n _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]);\n }\n });\n }\n },\n created: function created() {\n this.checked && this.addToStore();\n },\n mounted: function mounted() {\n // 为indeterminateå…ƒç´ æ·»åŠ aria-controls 属性\n if (this.indeterminate) {\n this.$el.setAttribute('aria-controls', this.controls);\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', _value);\n }\n }\n};","import { render, staticRenderFns } from \"./checkbox.vue?vue&type=template&id=2f16cb9e&\"\nimport script from \"./checkbox.vue?vue&type=script&lang=js&\"\nexport * from \"./checkbox.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import ElCheckbox from './src/checkbox';\n/* istanbul ignore next */\n\nElCheckbox.install = function (Vue) {\n Vue.component(ElCheckbox.name, ElCheckbox);\n};\n\nexport default ElCheckbox;","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { SyncPromise, logger, isThenable, getGlobalSingleton } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\n/**\n * Returns the global event processors.\n * @deprecated Global event processors will be removed in v8.\n */\n\nfunction getGlobalEventProcessors() {\n return getGlobalSingleton('globalEventProcessors', function () {\n return [];\n });\n}\n/**\n * Add a EventProcessor to be kept globally.\n * @deprecated Use `addEventProcessor` instead. Global event processors will be removed in v8.\n */\n\n\nfunction addGlobalEventProcessor(callback) {\n // eslint-disable-next-line deprecation/deprecation\n getGlobalEventProcessors().push(callback);\n}\n/**\n * Process an array of event processors, returning the processed event (or `null` if the event was dropped).\n */\n\n\nfunction notifyEventProcessors(processors, event, hint) {\n var index = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n return new SyncPromise(function (resolve, reject) {\n var processor = processors[index];\n\n if (event === null || typeof processor !== 'function') {\n resolve(event);\n } else {\n var result = processor(_objectSpread({}, event), hint);\n DEBUG_BUILD && processor.id && result === null && logger.log(\"Event processor \\\"\".concat(processor.id, \"\\\" dropped event\"));\n\n if (isThenable(result)) {\n void result.then(function (_final) {\n return notifyEventProcessors(processors, _final, hint, index + 1).then(resolve);\n }).then(null, reject);\n } else {\n void notifyEventProcessors(processors, result, hint, index + 1).then(resolve).then(null, reject);\n }\n }\n });\n}\n\nexport { addGlobalEventProcessor, getGlobalEventProcessors, notifyEventProcessors };","export default function (target) {\n for (var i = 1, j = arguments.length; i < j; i++) {\n var source = arguments[i] || {};\n\n for (var prop in source) {\n if (source.hasOwnProperty(prop)) {\n var value = source[prop];\n\n if (value !== undefined) {\n target[prop] = value;\n }\n }\n }\n }\n\n return target;\n}\n;","import Vue from 'vue';\nimport { addClass, removeClass } from 'element-ui/src/utils/dom';\nvar hasModal = false;\nvar hasInitZIndex = false;\nvar zIndex;\n\nvar getModal = function getModal() {\n if (Vue.prototype.$isServer) return;\n var modalDom = PopupManager.modalDom;\n\n if (modalDom) {\n hasModal = true;\n } else {\n hasModal = false;\n modalDom = document.createElement('div');\n PopupManager.modalDom = modalDom;\n modalDom.addEventListener('touchmove', function (event) {\n event.preventDefault();\n event.stopPropagation();\n });\n modalDom.addEventListener('click', function () {\n PopupManager.doOnModalClick && PopupManager.doOnModalClick();\n });\n }\n\n return modalDom;\n};\n\nvar instances = {};\nvar PopupManager = {\n modalFade: true,\n getInstance: function getInstance(id) {\n return instances[id];\n },\n register: function register(id, instance) {\n if (id && instance) {\n instances[id] = instance;\n }\n },\n deregister: function deregister(id) {\n if (id) {\n instances[id] = null;\n delete instances[id];\n }\n },\n nextZIndex: function nextZIndex() {\n return PopupManager.zIndex++;\n },\n modalStack: [],\n doOnModalClick: function doOnModalClick() {\n var topItem = PopupManager.modalStack[PopupManager.modalStack.length - 1];\n if (!topItem) return;\n var instance = PopupManager.getInstance(topItem.id);\n\n if (instance && instance.closeOnClickModal) {\n instance.close();\n }\n },\n openModal: function openModal(id, zIndex, dom, modalClass, modalFade) {\n if (Vue.prototype.$isServer) return;\n if (!id || zIndex === undefined) return;\n this.modalFade = modalFade;\n var modalStack = this.modalStack;\n\n for (var i = 0, j = modalStack.length; i < j; i++) {\n var item = modalStack[i];\n\n if (item.id === id) {\n return;\n }\n }\n\n var modalDom = getModal();\n addClass(modalDom, 'v-modal');\n\n if (this.modalFade && !hasModal) {\n addClass(modalDom, 'v-modal-enter');\n }\n\n if (modalClass) {\n var classArr = modalClass.trim().split(/\\s+/);\n classArr.forEach(function (item) {\n return addClass(modalDom, item);\n });\n }\n\n setTimeout(function () {\n removeClass(modalDom, 'v-modal-enter');\n }, 200);\n\n if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) {\n dom.parentNode.appendChild(modalDom);\n } else {\n document.body.appendChild(modalDom);\n }\n\n if (zIndex) {\n modalDom.style.zIndex = zIndex;\n }\n\n modalDom.tabIndex = 0;\n modalDom.style.display = '';\n this.modalStack.push({\n id: id,\n zIndex: zIndex,\n modalClass: modalClass\n });\n },\n closeModal: function closeModal(id) {\n var modalStack = this.modalStack;\n var modalDom = getModal();\n\n if (modalStack.length > 0) {\n var topItem = modalStack[modalStack.length - 1];\n\n if (topItem.id === id) {\n if (topItem.modalClass) {\n var classArr = topItem.modalClass.trim().split(/\\s+/);\n classArr.forEach(function (item) {\n return removeClass(modalDom, item);\n });\n }\n\n modalStack.pop();\n\n if (modalStack.length > 0) {\n modalDom.style.zIndex = modalStack[modalStack.length - 1].zIndex;\n }\n } else {\n for (var i = modalStack.length - 1; i >= 0; i--) {\n if (modalStack[i].id === id) {\n modalStack.splice(i, 1);\n break;\n }\n }\n }\n }\n\n if (modalStack.length === 0) {\n if (this.modalFade) {\n addClass(modalDom, 'v-modal-leave');\n }\n\n setTimeout(function () {\n if (modalStack.length === 0) {\n if (modalDom.parentNode) modalDom.parentNode.removeChild(modalDom);\n modalDom.style.display = 'none';\n PopupManager.modalDom = undefined;\n }\n\n removeClass(modalDom, 'v-modal-leave');\n }, 200);\n }\n }\n};\nObject.defineProperty(PopupManager, 'zIndex', {\n configurable: true,\n get: function get() {\n if (!hasInitZIndex) {\n zIndex = zIndex || (Vue.prototype.$ELEMENT || {}).zIndex || 2000;\n hasInitZIndex = true;\n }\n\n return zIndex;\n },\n set: function set(value) {\n zIndex = value;\n }\n});\n\nvar getTopPopup = function getTopPopup() {\n if (Vue.prototype.$isServer) return;\n\n if (PopupManager.modalStack.length > 0) {\n var topPopup = PopupManager.modalStack[PopupManager.modalStack.length - 1];\n if (!topPopup) return;\n var instance = PopupManager.getInstance(topPopup.id);\n return instance;\n }\n};\n\nif (!Vue.prototype.$isServer) {\n // handle `esc` key when the popup is shown\n window.addEventListener('keydown', function (event) {\n if (event.keyCode === 27) {\n var topPopup = getTopPopup();\n\n if (topPopup && topPopup.closeOnPressEscape) {\n topPopup.handleClose ? topPopup.handleClose() : topPopup.handleAction ? topPopup.handleAction('cancel') : topPopup.close();\n }\n }\n });\n}\n\nexport default PopupManager;","import Vue from 'vue';\nimport merge from 'element-ui/src/utils/merge';\nimport PopupManager from 'element-ui/src/utils/popup/popup-manager';\nimport getScrollBarWidth from '../scrollbar-width';\nimport { getStyle, addClass, removeClass, hasClass } from '../dom';\nvar idSeed = 1;\nvar scrollBarWidth;\nexport default {\n props: {\n visible: {\n type: Boolean,\n \"default\": false\n },\n openDelay: {},\n closeDelay: {},\n zIndex: {},\n modal: {\n type: Boolean,\n \"default\": false\n },\n modalFade: {\n type: Boolean,\n \"default\": true\n },\n modalClass: {},\n modalAppendToBody: {\n type: Boolean,\n \"default\": false\n },\n lockScroll: {\n type: Boolean,\n \"default\": true\n },\n closeOnPressEscape: {\n type: Boolean,\n \"default\": false\n },\n closeOnClickModal: {\n type: Boolean,\n \"default\": false\n }\n },\n beforeMount: function beforeMount() {\n this._popupId = 'popup-' + idSeed++;\n PopupManager.register(this._popupId, this);\n },\n beforeDestroy: function beforeDestroy() {\n PopupManager.deregister(this._popupId);\n PopupManager.closeModal(this._popupId);\n this.restoreBodyStyle();\n },\n data: function data() {\n return {\n opened: false,\n bodyPaddingRight: null,\n computedBodyPaddingRight: 0,\n withoutHiddenClass: true,\n rendered: false\n };\n },\n watch: {\n visible: function visible(val) {\n var _this = this;\n\n if (val) {\n if (this._opening) return;\n\n if (!this.rendered) {\n this.rendered = true;\n Vue.nextTick(function () {\n _this.open();\n });\n } else {\n this.open();\n }\n } else {\n this.close();\n }\n }\n },\n methods: {\n open: function open(options) {\n var _this2 = this;\n\n if (!this.rendered) {\n this.rendered = true;\n }\n\n var props = merge({}, this.$props || this, options);\n\n if (this._closeTimer) {\n clearTimeout(this._closeTimer);\n this._closeTimer = null;\n }\n\n clearTimeout(this._openTimer);\n var openDelay = Number(props.openDelay);\n\n if (openDelay > 0) {\n this._openTimer = setTimeout(function () {\n _this2._openTimer = null;\n\n _this2.doOpen(props);\n }, openDelay);\n } else {\n this.doOpen(props);\n }\n },\n doOpen: function doOpen(props) {\n if (this.$isServer) return;\n if (this.willOpen && !this.willOpen()) return;\n if (this.opened) return;\n this._opening = true;\n var dom = this.$el;\n var modal = props.modal;\n var zIndex = props.zIndex;\n\n if (zIndex) {\n PopupManager.zIndex = zIndex;\n }\n\n if (modal) {\n if (this._closing) {\n PopupManager.closeModal(this._popupId);\n this._closing = false;\n }\n\n PopupManager.openModal(this._popupId, PopupManager.nextZIndex(), this.modalAppendToBody ? undefined : dom, props.modalClass, props.modalFade);\n\n if (props.lockScroll) {\n this.withoutHiddenClass = !hasClass(document.body, 'el-popup-parent--hidden');\n\n if (this.withoutHiddenClass) {\n this.bodyPaddingRight = document.body.style.paddingRight;\n this.computedBodyPaddingRight = parseInt(getStyle(document.body, 'paddingRight'), 10);\n }\n\n scrollBarWidth = getScrollBarWidth();\n var bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;\n var bodyOverflowY = getStyle(document.body, 'overflowY');\n\n if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === 'scroll') && this.withoutHiddenClass) {\n document.body.style.paddingRight = this.computedBodyPaddingRight + scrollBarWidth + 'px';\n }\n\n addClass(document.body, 'el-popup-parent--hidden');\n }\n }\n\n if (getComputedStyle(dom).position === 'static') {\n dom.style.position = 'absolute';\n }\n\n dom.style.zIndex = PopupManager.nextZIndex();\n this.opened = true;\n this.onOpen && this.onOpen();\n this.doAfterOpen();\n },\n doAfterOpen: function doAfterOpen() {\n this._opening = false;\n },\n close: function close() {\n var _this3 = this;\n\n if (this.willClose && !this.willClose()) return;\n\n if (this._openTimer !== null) {\n clearTimeout(this._openTimer);\n this._openTimer = null;\n }\n\n clearTimeout(this._closeTimer);\n var closeDelay = Number(this.closeDelay);\n\n if (closeDelay > 0) {\n this._closeTimer = setTimeout(function () {\n _this3._closeTimer = null;\n\n _this3.doClose();\n }, closeDelay);\n } else {\n this.doClose();\n }\n },\n doClose: function doClose() {\n this._closing = true;\n this.onClose && this.onClose();\n\n if (this.lockScroll) {\n setTimeout(this.restoreBodyStyle, 200);\n }\n\n this.opened = false;\n this.doAfterClose();\n },\n doAfterClose: function doAfterClose() {\n PopupManager.closeModal(this._popupId);\n this._closing = false;\n },\n restoreBodyStyle: function restoreBodyStyle() {\n if (this.modal && this.withoutHiddenClass) {\n document.body.style.paddingRight = this.bodyPaddingRight;\n removeClass(document.body, 'el-popup-parent--hidden');\n }\n\n this.withoutHiddenClass = true;\n }\n }\n};\nexport { PopupManager };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { isNaN, isVueViewModel, isSyntheticEvent } from './is.js';\nimport { memoBuilder } from './memo.js';\nimport { convertToPlainObject } from './object.js';\nimport { getFunctionName } from './stacktrace.js';\n/**\n * Recursively normalizes the given object.\n *\n * - Creates a copy to prevent original input mutation\n * - Skips non-enumerable properties\n * - When stringifying, calls `toJSON` if implemented\n * - Removes circular references\n * - Translates non-serializable values (`undefined`/`NaN`/functions) to serializable format\n * - Translates known global objects/classes to a string representations\n * - Takes care of `Error` object serialization\n * - Optionally limits depth of final output\n * - Optionally limits number of properties/elements included in any single object/array\n *\n * @param input The object to be normalized.\n * @param depth The max depth to which to normalize the object. (Anything deeper stringified whole.)\n * @param maxProperties The max number of elements or properties to be included in any single array or\n * object in the normallized output.\n * @returns A normalized version of the object, or `\"**non-serializable**\"` if any errors are thrown during normalization.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\nfunction normalize(input) {\n var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;\n var maxProperties = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : +Infinity;\n\n try {\n // since we're at the outermost level, we don't provide a key\n return visit('', input, depth, maxProperties);\n } catch (err) {\n return {\n ERROR: \"**non-serializable** (\".concat(err, \")\")\n };\n }\n}\n/** JSDoc */\n\n\nfunction normalizeToSize( // eslint-disable-next-line @typescript-eslint/no-explicit-any\nobject) {\n var depth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 3;\n var maxSize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 100 * 1024;\n var normalized = normalize(object, depth);\n\n if (jsonSize(normalized) > maxSize) {\n return normalizeToSize(object, depth - 1, maxSize);\n }\n\n return normalized;\n}\n/**\n * Visits a node to perform normalization on it\n *\n * @param key The key corresponding to the given node\n * @param value The node to be visited\n * @param depth Optional number indicating the maximum recursion depth\n * @param maxProperties Optional maximum number of properties/elements included in any single object/array\n * @param memo Optional Memo class handling decycling\n */\n\n\nfunction visit(key, value) {\n var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : +Infinity;\n var maxProperties = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : +Infinity;\n var memo = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : memoBuilder();\n\n var _memo = _slicedToArray(memo, 2),\n memoize = _memo[0],\n unmemoize = _memo[1]; // Get the simple cases out of the way first\n\n\n if (value == null || // this matches null and undefined -> eqeq not eqeqeq\n ['number', 'boolean', 'string'].includes(_typeof(value)) && !isNaN(value)) {\n return value;\n }\n\n var stringified = stringifyValue(key, value); // Anything we could potentially dig into more (objects or arrays) will have come back as `\"[object XXXX]\"`.\n // Everything else will have already been serialized, so if we don't see that pattern, we're done.\n\n if (!stringified.startsWith('[object ')) {\n return stringified;\n } // From here on, we can assert that `value` is either an object or an array.\n // Do not normalize objects that we know have already been normalized. As a general rule, the\n // \"__sentry_skip_normalization__\" property should only be used sparingly and only should only be set on objects that\n // have already been normalized.\n\n\n if (value['__sentry_skip_normalization__']) {\n return value;\n } // We can set `__sentry_override_normalization_depth__` on an object to ensure that from there\n // We keep a certain amount of depth.\n // This should be used sparingly, e.g. we use it for the redux integration to ensure we get a certain amount of state.\n\n\n var remainingDepth = typeof value['__sentry_override_normalization_depth__'] === 'number' ? value['__sentry_override_normalization_depth__'] : depth; // We're also done if we've reached the max depth\n\n if (remainingDepth === 0) {\n // At this point we know `serialized` is a string of the form `\"[object XXXX]\"`. Clean it up so it's just `\"[XXXX]\"`.\n return stringified.replace('object ', '');\n } // If we've already visited this branch, bail out, as it's circular reference. If not, note that we're seeing it now.\n\n\n if (memoize(value)) {\n return '[Circular ~]';\n } // If the value has a `toJSON` method, we call it to extract more information\n\n\n var valueWithToJSON = value;\n\n if (valueWithToJSON && typeof valueWithToJSON.toJSON === 'function') {\n try {\n var jsonValue = valueWithToJSON.toJSON(); // We need to normalize the return value of `.toJSON()` in case it has circular references\n\n return visit('', jsonValue, remainingDepth - 1, maxProperties, memo);\n } catch (err) {// pass (The built-in `toJSON` failed, but we can still try to do it ourselves)\n }\n } // At this point we know we either have an object or an array, we haven't seen it before, and we're going to recurse\n // because we haven't yet reached the max depth. Create an accumulator to hold the results of visiting each\n // property/entry, and keep track of the number of items we add to it.\n\n\n var normalized = Array.isArray(value) ? [] : {};\n var numAdded = 0; // Before we begin, convert`Error` and`Event` instances into plain objects, since some of each of their relevant\n // properties are non-enumerable and otherwise would get missed.\n\n var visitable = convertToPlainObject(value);\n\n for (var visitKey in visitable) {\n // Avoid iterating over fields in the prototype if they've somehow been exposed to enumeration.\n if (!Object.prototype.hasOwnProperty.call(visitable, visitKey)) {\n continue;\n }\n\n if (numAdded >= maxProperties) {\n normalized[visitKey] = '[MaxProperties ~]';\n break;\n } // Recursively visit all the child nodes\n\n\n var visitValue = visitable[visitKey];\n normalized[visitKey] = visit(visitKey, visitValue, remainingDepth - 1, maxProperties, memo);\n numAdded++;\n } // Once we've visited all the branches, remove the parent from memo storage\n\n\n unmemoize(value); // Return accumulated values\n\n return normalized;\n}\n/* eslint-disable complexity */\n\n/**\n * Stringify the given value. Handles various known special values and types.\n *\n * Not meant to be used on simple primitives which already have a string representation, as it will, for example, turn\n * the number 1231 into \"[Object Number]\", nor on `null`, as it will throw.\n *\n * @param value The value to stringify\n * @returns A stringified representation of the given value\n */\n\n\nfunction stringifyValue(key, // this type is a tiny bit of a cheat, since this function does handle NaN (which is technically a number), but for\n// our internal use, it'll do\nvalue) {\n try {\n if (key === 'domain' && value && _typeof(value) === 'object' && value._events) {\n return '[Domain]';\n }\n\n if (key === 'domainEmitter') {\n return '[DomainEmitter]';\n } // It's safe to use `global`, `window`, and `document` here in this manner, as we are asserting using `typeof` first\n // which won't throw if they are not present.\n\n\n if (typeof global !== 'undefined' && value === global) {\n return '[Global]';\n } // eslint-disable-next-line no-restricted-globals\n\n\n if (typeof window !== 'undefined' && value === window) {\n return '[Window]';\n } // eslint-disable-next-line no-restricted-globals\n\n\n if (typeof document !== 'undefined' && value === document) {\n return '[Document]';\n }\n\n if (isVueViewModel(value)) {\n return '[VueViewModel]';\n } // React's SyntheticEvent thingy\n\n\n if (isSyntheticEvent(value)) {\n return '[SyntheticEvent]';\n }\n\n if (typeof value === 'number' && value !== value) {\n return '[NaN]';\n }\n\n if (typeof value === 'function') {\n return \"[Function: \".concat(getFunctionName(value), \"]\");\n }\n\n if (_typeof(value) === 'symbol') {\n return \"[\".concat(String(value), \"]\");\n } // stringified BigInts are indistinguishable from regular numbers, so we need to label them to avoid confusion\n\n\n if (typeof value === 'bigint') {\n return \"[BigInt: \".concat(String(value), \"]\");\n } // Now that we've knocked out all the special cases and the primitives, all we have left are objects. Simply casting\n // them to strings means that instances of classes which haven't defined their `toStringTag` will just come out as\n // `\"[object Object]\"`. If we instead look at the constructor's name (which is the same as the name of the class),\n // we can make sure that only plain objects come out that way.\n\n\n var objName = getConstructorName(value); // Handle HTML Elements\n\n if (/^HTML(\\w*)Element$/.test(objName)) {\n return \"[HTMLElement: \".concat(objName, \"]\");\n }\n\n return \"[object \".concat(objName, \"]\");\n } catch (err) {\n return \"**non-serializable** (\".concat(err, \")\");\n }\n}\n/* eslint-enable complexity */\n\n\nfunction getConstructorName(value) {\n var prototype = Object.getPrototypeOf(value);\n return prototype ? prototype.constructor.name : 'null prototype';\n}\n/** Calculates bytes size of input string */\n\n\nfunction utf8Length(value) {\n // eslint-disable-next-line no-bitwise\n return ~-encodeURI(value).split(/%..|./).length;\n}\n/** Calculates bytes size of input object */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction jsonSize(value) {\n return utf8Length(JSON.stringify(value));\n}\n/**\n * Normalizes URLs in exceptions and stacktraces to a base path so Sentry can fingerprint\n * across platforms and working directory.\n *\n * @param url The URL to be normalized.\n * @param basePath The application base path.\n * @returns The normalized URL.\n */\n\n\nfunction normalizeUrlToBase(url, basePath) {\n var escapedBase = basePath // Backslash to forward\n .replace(/\\\\/g, '/') // Escape RegExp special characters\n .replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&');\n var newUrl = url;\n\n try {\n newUrl = decodeURI(url);\n } catch (_Oo) {// Sometime this breaks\n }\n\n return newUrl.replace(/\\\\/g, '/').replace(/webpack:\\/?/g, '') // Remove intermediate base path\n // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor\n .replace(new RegExp(\"(file://)?/*\".concat(escapedBase, \"/*\"), 'ig'), 'app:///');\n}\n\nexport { normalize, normalizeToSize, normalizeUrlToBase, visit as walk };","\"use strict\";\n\nexports.__esModule = true;\n\nfunction _broadcast(componentName, eventName, params) {\n this.$children.forEach(function (child) {\n var name = child.$options.componentName;\n\n if (name === componentName) {\n child.$emit.apply(child, [eventName].concat(params));\n } else {\n _broadcast.apply(child, [componentName, eventName].concat([params]));\n }\n });\n}\n\nexports[\"default\"] = {\n methods: {\n dispatch: function dispatch(componentName, eventName, params) {\n var parent = this.$parent || this.$root;\n var name = parent.$options.componentName;\n\n while (parent && (!name || name !== componentName)) {\n parent = parent.$parent;\n\n if (parent) {\n name = parent.$options.componentName;\n }\n }\n\n if (parent) {\n parent.$emit.apply(parent, [eventName].concat(params));\n }\n },\n broadcast: function broadcast(componentName, eventName, params) {\n _broadcast.call(this, componentName, eventName, params);\n }\n }\n};","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ElButton',{class:[\n _vm.dropdown || _vm.newDropdown && 'el-button--dropdown',\n _vm.kind && `el-button--${_vm.kind}`,\n _vm.opacity && 'el-button--unimpressed',\n _vm.size && `el-button--${_vm.size || ''}`,\n _vm.type && `el-button--${_vm.type || ''}`,\n _vm.fullWidth && !_vm.icon && 'el-button--full-width',\n _vm.fullWidth && _vm.icon && 'el-button--full-width-with-icon',\n {\n 'is-circle': _vm.circle,\n 'is-disabled': _vm.disabled,\n 'is-loading': _vm.loading,\n 'is-no-border': _vm.noBorder,\n 'is-like-anchor': _vm.likeAnchor,\n 'is-plain': _vm.plain,\n 'is-round': _vm.round,\n 'el-button--long-text': _vm.withLongText,\n 'el-button-warning': _vm.warningNew,\n 'el-button--new-design': _vm.newDesign,\n 'el-button--navbar': _vm.isNavbarButton,\n 'el-button--state-badge': _vm.hasStateBadge,\n\n },\n ],attrs:{\"disabled\":_vm.disabled,\"autofocus\":_vm.autofocus,\"type\":_vm.nativeType},on:{\"click\":_vm.handleClick}},[(_vm.loading)?_c('i',{staticClass:\"el-icon-loading\"}):_vm._e(),_vm._v(\" \"),(_vm.icon && !_vm.loading)?_c('i',{class:_vm.icon}):_vm._e(),_vm._v(\" \"),(_vm.$slots.default)?_c('span',[_vm._t(\"default\")],2):_vm._e(),_vm._v(\" \"),(_vm.newDropdown && !_vm.loading)?_c('i',{staticClass:\"icon icon--right-side icon-chevron-down-small\"}):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Button.vue?vue&type=script&lang=js&\"","import{Button as ElButton}from'element-ui';export default{components:{ElButton:ElButton},props:{autofocus:Boolean,circle:Boolean,disabled:Boolean,dropdown:Boolean,fullWidth:Boolean,hasStateBadge:Boolean,icon:String,isNavbarButton:Boolean,kind:String,likeAnchor:Boolean,loading:Boolean,nativeType:String,newDesign:Boolean,newDropdown:Boolean,noBorder:Boolean,opacity:Boolean,plain:Boolean,round:Boolean,size:String,to:String,type:String,warningNew:Boolean,withLongText:Boolean,link:String},methods:{handleClick:function handleClick(evt){if(this.$attrs['data-analytics-id']){this.$store.dispatch('analytics/trackEvent',{analytics:{category:this.$route.name,action:'click',label:this.$attrs['data-analytics-id']}});}this.$emit('click',evt);if(this.to){this.$router.push({name:this.to});}if(this.link){var link=this.$router.resolve({name:this.link}).href;window.location=link;}}}};","import { render, staticRenderFns } from \"./Button.vue?vue&type=template&id=667101b8&scoped=true&\"\nimport script from \"./Button.vue?vue&type=script&lang=js&\"\nexport * from \"./Button.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Button.vue?vue&type=style&index=0&id=667101b8&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"667101b8\",\n null\n \n)\n\nexport default component.exports","import{Select}from'element-ui';var __default__={\"extends\":Select,data:function data(){return{isAbUser:false};},computed:{bgcolor:function bgcolor(){return this.isAbUser?'transparent':'#097FB5';},carretcolor:function carretcolor(){return this.isAbUser?'#097FB5':'#FFFFFF';},iconClass:function iconClass(){return this.visible?'arrow-up is-reverse':'arrow-up';}},methods:{handleFocus:function handleFocus(event){if(!this.softFocus){if(this.automaticDropdown||this.filterable){if(this.filterable&&!this.visible){this.menuVisibleOnFocus=true;}this.visible=true;}this.$emit('focus',event);this.dispatch('ElFormItem','el.form.input.focus');}else{this.softFocus=false;}},handleBlur:function handleBlur(event){var _this=this;setTimeout(function(){if(_this.isSilentBlur){_this.isSilentBlur=false;}else{_this.$emit('blur',event);_this.dispatch('ElFormItem','el.form.input.blur');}},50);this.softFocus=false;}},mounted:function mounted(){var _this$$posthog,_this2=this;(_this$$posthog=this.$posthog)===null||_this$$posthog===void 0?void 0:_this$$posthog.onFeatureFlags(function(){var _this2$$posthog;if(((_this2$$posthog=_this2.$posthog)===null||_this2$$posthog===void 0?void 0:_this2$$posthog.getFeatureFlag('select-color'))==='test'){_this2.isAbUser=true;}else{_this2.isAbUser=false;}});}};import{useCssVars as _useCssVars}from'vue';var __injectCSSVars__=function __injectCSSVars__(){_useCssVars(function(_vm,_setup){return{\"36a2c1ae\":_vm.carretcolor,\"40d7109e\":_vm.bgcolor};});};var __setup__=__default__.setup;__default__.setup=__setup__?function(props,ctx){__injectCSSVars__();return __setup__(props,ctx);}:__injectCSSVars__;export default __default__;","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./Select.vue?vue&type=script&lang=js&\"\nexport * from \"./Select.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Select.vue?vue&type=style&index=0&id=1ca98d89&prod&lang=scss&\"\nimport style1 from \"./Select.vue?vue&type=style&index=1&id=1ca98d89&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1ca98d89\",\n null\n \n)\n\nexport default component.exports","function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break;}}catch(err){_d=true;_e=err;}finally{try{if(!_n&&_i[\"return\"]!=null)_i[\"return\"]();}finally{if(_d)throw _e;}}return _arr;}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}export var extractCountryCode=function extractCountryCode(lang){var _ref=(lang===null||lang===void 0?void 0:lang.split('-'))||[],_ref2=_slicedToArray(_ref,2),languageCode=_ref2[0],countryCode=_ref2[1];var formattedLanguageCode=(languageCode===null||languageCode===void 0?void 0:languageCode.toLowerCase())||'';if(!languageCode){return'cs';}if(formattedLanguageCode==='en'){return(countryCode===null||countryCode===void 0?void 0:countryCode.toUpperCase())==='US'?'en':countryCode===null||countryCode===void 0?void 0:countryCode.toLowerCase();}if(formattedLanguageCode==='nl'){return formattedLanguageCode;}return formattedLanguageCode;};","\"use strict\";\n\n(function () {\n var buf,\n bufIdx = 0,\n hexBytes = [],\n i; // Pre-calculate toString(16) for speed\n\n for (i = 0; i < 256; i++) {\n hexBytes[i] = (i + 0x100).toString(16).substr(1);\n } // Buffer random numbers for speed\n // Reduce memory usage by decreasing this number (min 16)\n // or improve speed by increasing this number (try 16384)\n\n\n uuid.BUFFER_SIZE = 4096; // Binary uuids\n\n uuid.bin = uuidBin; // Clear buffer\n\n uuid.clearBuffer = function () {\n buf = null;\n bufIdx = 0;\n }; // Test for uuid\n\n\n uuid.test = function (uuid) {\n if (typeof uuid === 'string') {\n return /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(uuid);\n }\n\n return false;\n }; // Node & Browser support\n\n\n var crypt0;\n\n if (typeof crypto !== 'undefined') {\n crypt0 = crypto;\n } else if (typeof window !== 'undefined' && typeof window.msCrypto !== 'undefined') {\n crypt0 = window.msCrypto; // IE11\n }\n\n if (typeof module !== 'undefined' && typeof require === 'function') {\n crypt0 = crypt0 || require('crypto');\n module.exports = uuid;\n } else if (typeof window !== 'undefined') {\n window.uuid = uuid;\n } // Use best available PRNG\n // Also expose this so you can override it.\n\n\n uuid.randomBytes = function () {\n if (crypt0) {\n if (crypt0.randomBytes) {\n return crypt0.randomBytes;\n }\n\n if (crypt0.getRandomValues) {\n if (typeof Uint8Array.prototype.slice !== 'function') {\n return function (n) {\n var bytes = new Uint8Array(n);\n crypt0.getRandomValues(bytes);\n return Array.from(bytes);\n };\n }\n\n return function (n) {\n var bytes = new Uint8Array(n);\n crypt0.getRandomValues(bytes);\n return bytes;\n };\n }\n }\n\n return function (n) {\n var i,\n r = [];\n\n for (i = 0; i < n; i++) {\n r.push(Math.floor(Math.random() * 256));\n }\n\n return r;\n };\n }(); // Buffer some random bytes for speed\n\n\n function randomBytesBuffered(n) {\n if (!buf || bufIdx + n > uuid.BUFFER_SIZE) {\n bufIdx = 0;\n buf = uuid.randomBytes(uuid.BUFFER_SIZE);\n }\n\n return buf.slice(bufIdx, bufIdx += n);\n } // uuid.bin\n\n\n function uuidBin() {\n var b = randomBytesBuffered(16);\n b[6] = b[6] & 0x0f | 0x40;\n b[8] = b[8] & 0x3f | 0x80;\n return b;\n } // String UUIDv4 (Random)\n\n\n function uuid() {\n var b = uuidBin();\n return hexBytes[b[0]] + hexBytes[b[1]] + hexBytes[b[2]] + hexBytes[b[3]] + '-' + hexBytes[b[4]] + hexBytes[b[5]] + '-' + hexBytes[b[6]] + hexBytes[b[7]] + '-' + hexBytes[b[8]] + hexBytes[b[9]] + '-' + hexBytes[b[10]] + hexBytes[b[11]] + hexBytes[b[12]] + hexBytes[b[13]] + hexBytes[b[14]] + hexBytes[b[15]];\n }\n})();","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\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); return Constructor; }\n\nimport { isPlainObject, dateTimestampInSeconds, uuid4, logger } from '@sentry/utils';\nimport { getGlobalEventProcessors, notifyEventProcessors } from './eventProcessors.js';\nimport { updateSession } from './session.js';\nimport { applyScopeDataToEvent } from './utils/applyScopeDataToEvent.js';\n/**\n * Default value for maximum number of breadcrumbs added to an event.\n */\n\nvar DEFAULT_MAX_BREADCRUMBS = 100;\n/**\n * The global scope is kept in this module.\n * When accessing this via `getGlobalScope()` we'll make sure to set one if none is currently present.\n */\n\nvar globalScope;\n/**\n * Holds additional event information. {@link Scope.applyToEvent} will be\n * called by the client before an event will be sent.\n */\n\nvar Scope =\n/*#__PURE__*/\nfunction () {\n /** Flag if notifying is happening. */\n\n /** Callback for client to receive scope changes. */\n\n /** Callback list that will be called after {@link applyToEvent}. */\n\n /** Array of breadcrumbs. */\n\n /** User */\n\n /** Tags */\n\n /** Extra */\n\n /** Contexts */\n\n /** Attachments */\n\n /** Propagation Context for distributed tracing */\n\n /**\n * A place to stash data which is needed at some point in the SDK's event processing pipeline but which shouldn't get\n * sent to Sentry\n */\n\n /** Fingerprint */\n\n /** Severity */\n // eslint-disable-next-line deprecation/deprecation\n\n /**\n * Transaction Name\n */\n\n /** Span */\n\n /** Session */\n\n /** Request Mode Session Status */\n\n /** The client on this scope */\n // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.\n function Scope() {\n _classCallCheck(this, Scope);\n\n this._notifyingListeners = false;\n this._scopeListeners = [];\n this._eventProcessors = [];\n this._breadcrumbs = [];\n this._attachments = [];\n this._user = {};\n this._tags = {};\n this._extra = {};\n this._contexts = {};\n this._sdkProcessingMetadata = {};\n this._propagationContext = generatePropagationContext();\n }\n /**\n * Inherit values from the parent scope.\n * @deprecated Use `scope.clone()` and `new Scope()` instead.\n */\n\n\n _createClass(Scope, [{\n key: \"clone\",\n\n /**\n * Clone this scope instance.\n */\n value: function clone() {\n var newScope = new Scope();\n newScope._breadcrumbs = _toConsumableArray(this._breadcrumbs);\n newScope._tags = _objectSpread({}, this._tags);\n newScope._extra = _objectSpread({}, this._extra);\n newScope._contexts = _objectSpread({}, this._contexts);\n newScope._user = this._user;\n newScope._level = this._level;\n newScope._span = this._span;\n newScope._session = this._session;\n newScope._transactionName = this._transactionName;\n newScope._fingerprint = this._fingerprint;\n newScope._eventProcessors = _toConsumableArray(this._eventProcessors);\n newScope._requestSession = this._requestSession;\n newScope._attachments = _toConsumableArray(this._attachments);\n newScope._sdkProcessingMetadata = _objectSpread({}, this._sdkProcessingMetadata);\n newScope._propagationContext = _objectSpread({}, this._propagationContext);\n newScope._client = this._client;\n return newScope;\n }\n /** Update the client on the scope. */\n\n }, {\n key: \"setClient\",\n value: function setClient(client) {\n this._client = client;\n }\n /**\n * Get the client assigned to this scope.\n *\n * It is generally recommended to use the global function `Sentry.getClient()` instead, unless you know what you are doing.\n */\n\n }, {\n key: \"getClient\",\n value: function getClient() {\n return this._client;\n }\n /**\n * Add internal on change listener. Used for sub SDKs that need to store the scope.\n * @hidden\n */\n\n }, {\n key: \"addScopeListener\",\n value: function addScopeListener(callback) {\n this._scopeListeners.push(callback);\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"addEventProcessor\",\n value: function addEventProcessor(callback) {\n this._eventProcessors.push(callback);\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setUser\",\n value: function setUser(user) {\n // If null is passed we want to unset everything, but still define keys,\n // so that later down in the pipeline any existing values are cleared.\n this._user = user || {\n email: undefined,\n id: undefined,\n ip_address: undefined,\n segment: undefined,\n username: undefined\n };\n\n if (this._session) {\n updateSession(this._session, {\n user: user\n });\n }\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getUser\",\n value: function getUser() {\n return this._user;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getRequestSession\",\n value: function getRequestSession() {\n return this._requestSession;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setRequestSession\",\n value: function setRequestSession(requestSession) {\n this._requestSession = requestSession;\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setTags\",\n value: function setTags(tags) {\n this._tags = _objectSpread(_objectSpread({}, this._tags), tags);\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setTag\",\n value: function setTag(key, value) {\n this._tags = _objectSpread(_objectSpread({}, this._tags), {}, _defineProperty({}, key, value));\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setExtras\",\n value: function setExtras(extras) {\n this._extra = _objectSpread(_objectSpread({}, this._extra), extras);\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setExtra\",\n value: function setExtra(key, extra) {\n this._extra = _objectSpread(_objectSpread({}, this._extra), {}, _defineProperty({}, key, extra));\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setFingerprint\",\n value: function setFingerprint(fingerprint) {\n this._fingerprint = fingerprint;\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setLevel\",\n value: function setLevel( // eslint-disable-next-line deprecation/deprecation\n level) {\n this._level = level;\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * Sets the transaction name on the scope for future events.\n * @deprecated Use extra or tags instead.\n */\n\n }, {\n key: \"setTransactionName\",\n value: function setTransactionName(name) {\n this._transactionName = name;\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setContext\",\n value: function setContext(key, context) {\n if (context === null) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete this._contexts[key];\n } else {\n this._contexts[key] = context;\n }\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * Sets the Span on the scope.\n * @param span Span\n * @deprecated Instead of setting a span on a scope, use `startSpan()`/`startSpanManual()` instead.\n */\n\n }, {\n key: \"setSpan\",\n value: function setSpan(span) {\n this._span = span;\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * Returns the `Span` if there is one.\n * @deprecated Use `getActiveSpan()` instead.\n */\n\n }, {\n key: \"getSpan\",\n value: function getSpan() {\n return this._span;\n }\n /**\n * Returns the `Transaction` attached to the scope (if there is one).\n * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n */\n\n }, {\n key: \"getTransaction\",\n value: function getTransaction() {\n // Often, this span (if it exists at all) will be a transaction, but it's not guaranteed to be. Regardless, it will\n // have a pointer to the currently-active transaction.\n var span = this._span; // Cannot replace with getRootSpan because getRootSpan returns a span, not a transaction\n // Also, this method will be removed anyway.\n // eslint-disable-next-line deprecation/deprecation\n\n return span && span.transaction;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setSession\",\n value: function setSession(session) {\n if (!session) {\n delete this._session;\n } else {\n this._session = session;\n }\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getSession\",\n value: function getSession() {\n return this._session;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"update\",\n value: function update(captureContext) {\n if (!captureContext) {\n return this;\n }\n\n if (typeof captureContext === 'function') {\n var updatedScope = captureContext(this);\n return updatedScope instanceof Scope ? updatedScope : this;\n }\n\n if (captureContext instanceof Scope) {\n this._tags = _objectSpread(_objectSpread({}, this._tags), captureContext._tags);\n this._extra = _objectSpread(_objectSpread({}, this._extra), captureContext._extra);\n this._contexts = _objectSpread(_objectSpread({}, this._contexts), captureContext._contexts);\n\n if (captureContext._user && Object.keys(captureContext._user).length) {\n this._user = captureContext._user;\n }\n\n if (captureContext._level) {\n this._level = captureContext._level;\n }\n\n if (captureContext._fingerprint) {\n this._fingerprint = captureContext._fingerprint;\n }\n\n if (captureContext._requestSession) {\n this._requestSession = captureContext._requestSession;\n }\n\n if (captureContext._propagationContext) {\n this._propagationContext = captureContext._propagationContext;\n }\n } else if (isPlainObject(captureContext)) {\n // eslint-disable-next-line no-param-reassign\n captureContext = captureContext;\n this._tags = _objectSpread(_objectSpread({}, this._tags), captureContext.tags);\n this._extra = _objectSpread(_objectSpread({}, this._extra), captureContext.extra);\n this._contexts = _objectSpread(_objectSpread({}, this._contexts), captureContext.contexts);\n\n if (captureContext.user) {\n this._user = captureContext.user;\n }\n\n if (captureContext.level) {\n this._level = captureContext.level;\n }\n\n if (captureContext.fingerprint) {\n this._fingerprint = captureContext.fingerprint;\n }\n\n if (captureContext.requestSession) {\n this._requestSession = captureContext.requestSession;\n }\n\n if (captureContext.propagationContext) {\n this._propagationContext = captureContext.propagationContext;\n }\n }\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"clear\",\n value: function clear() {\n this._breadcrumbs = [];\n this._tags = {};\n this._extra = {};\n this._user = {};\n this._contexts = {};\n this._level = undefined;\n this._transactionName = undefined;\n this._fingerprint = undefined;\n this._requestSession = undefined;\n this._span = undefined;\n this._session = undefined;\n\n this._notifyScopeListeners();\n\n this._attachments = [];\n this._propagationContext = generatePropagationContext();\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"addBreadcrumb\",\n value: function addBreadcrumb(breadcrumb, maxBreadcrumbs) {\n var maxCrumbs = typeof maxBreadcrumbs === 'number' ? maxBreadcrumbs : DEFAULT_MAX_BREADCRUMBS; // No data has been changed, so don't notify scope listeners\n\n if (maxCrumbs <= 0) {\n return this;\n }\n\n var mergedBreadcrumb = _objectSpread({\n timestamp: dateTimestampInSeconds()\n }, breadcrumb);\n\n var breadcrumbs = this._breadcrumbs;\n breadcrumbs.push(mergedBreadcrumb);\n this._breadcrumbs = breadcrumbs.length > maxCrumbs ? breadcrumbs.slice(-maxCrumbs) : breadcrumbs;\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getLastBreadcrumb\",\n value: function getLastBreadcrumb() {\n return this._breadcrumbs[this._breadcrumbs.length - 1];\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"clearBreadcrumbs\",\n value: function clearBreadcrumbs() {\n this._breadcrumbs = [];\n\n this._notifyScopeListeners();\n\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"addAttachment\",\n value: function addAttachment(attachment) {\n this._attachments.push(attachment);\n\n return this;\n }\n /**\n * @inheritDoc\n * @deprecated Use `getScopeData()` instead.\n */\n\n }, {\n key: \"getAttachments\",\n value: function getAttachments() {\n var data = this.getScopeData();\n return data.attachments;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"clearAttachments\",\n value: function clearAttachments() {\n this._attachments = [];\n return this;\n }\n /** @inheritDoc */\n\n }, {\n key: \"getScopeData\",\n value: function getScopeData() {\n var _breadcrumbs = this._breadcrumbs,\n _attachments = this._attachments,\n _contexts = this._contexts,\n _tags = this._tags,\n _extra = this._extra,\n _user = this._user,\n _level = this._level,\n _fingerprint = this._fingerprint,\n _eventProcessors = this._eventProcessors,\n _propagationContext = this._propagationContext,\n _sdkProcessingMetadata = this._sdkProcessingMetadata,\n _transactionName = this._transactionName,\n _span = this._span;\n return {\n breadcrumbs: _breadcrumbs,\n attachments: _attachments,\n contexts: _contexts,\n tags: _tags,\n extra: _extra,\n user: _user,\n level: _level,\n fingerprint: _fingerprint || [],\n eventProcessors: _eventProcessors,\n propagationContext: _propagationContext,\n sdkProcessingMetadata: _sdkProcessingMetadata,\n transactionName: _transactionName,\n span: _span\n };\n }\n /**\n * Applies data from the scope to the event and runs all event processors on it.\n *\n * @param event Event\n * @param hint Object containing additional information about the original exception, for use by the event processors.\n * @hidden\n * @deprecated Use `applyScopeDataToEvent()` directly\n */\n\n }, {\n key: \"applyToEvent\",\n value: function applyToEvent(event) {\n var hint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var additionalEventProcessors = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n applyScopeDataToEvent(event, this.getScopeData()); // TODO (v8): Update this order to be: Global > Client > Scope\n\n var eventProcessors = [].concat(_toConsumableArray(additionalEventProcessors), _toConsumableArray(getGlobalEventProcessors()), _toConsumableArray(this._eventProcessors));\n return notifyEventProcessors(eventProcessors, event, hint);\n }\n /**\n * Add data which will be accessible during event processing but won't get sent to Sentry\n */\n\n }, {\n key: \"setSDKProcessingMetadata\",\n value: function setSDKProcessingMetadata(newData) {\n this._sdkProcessingMetadata = _objectSpread(_objectSpread({}, this._sdkProcessingMetadata), newData);\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"setPropagationContext\",\n value: function setPropagationContext(context) {\n this._propagationContext = context;\n return this;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getPropagationContext\",\n value: function getPropagationContext() {\n return this._propagationContext;\n }\n /**\n * Capture an exception for this scope.\n *\n * @param exception The exception to capture.\n * @param hint Optinal additional data to attach to the Sentry event.\n * @returns the id of the captured Sentry event.\n */\n\n }, {\n key: \"captureException\",\n value: function captureException(exception, hint) {\n var eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture exception!');\n return eventId;\n }\n\n var syntheticException = new Error('Sentry syntheticException');\n\n this._client.captureException(exception, _objectSpread(_objectSpread({\n originalException: exception,\n syntheticException: syntheticException\n }, hint), {}, {\n event_id: eventId\n }), this);\n\n return eventId;\n }\n /**\n * Capture a message for this scope.\n *\n * @param message The message to capture.\n * @param level An optional severity level to report the message with.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured message.\n */\n\n }, {\n key: \"captureMessage\",\n value: function captureMessage(message, level, hint) {\n var eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture message!');\n return eventId;\n }\n\n var syntheticException = new Error(message);\n\n this._client.captureMessage(message, level, _objectSpread(_objectSpread({\n originalException: message,\n syntheticException: syntheticException\n }, hint), {}, {\n event_id: eventId\n }), this);\n\n return eventId;\n }\n /**\n * Captures a manually created event for this scope and sends it to Sentry.\n *\n * @param exception The event to capture.\n * @param hint Optional additional data to attach to the Sentry event.\n * @returns the id of the captured event.\n */\n\n }, {\n key: \"captureEvent\",\n value: function captureEvent(event, hint) {\n var eventId = hint && hint.event_id ? hint.event_id : uuid4();\n\n if (!this._client) {\n logger.warn('No client configured on scope - will not capture event!');\n return eventId;\n }\n\n this._client.captureEvent(event, _objectSpread(_objectSpread({}, hint), {}, {\n event_id: eventId\n }), this);\n\n return eventId;\n }\n /**\n * This will be called on every set call.\n */\n\n }, {\n key: \"_notifyScopeListeners\",\n value: function _notifyScopeListeners() {\n var _this = this;\n\n // We need this check for this._notifyingListeners to be able to work on scope during updates\n // If this check is not here we'll produce endless recursion when something is done with the scope\n // during the callback.\n if (!this._notifyingListeners) {\n this._notifyingListeners = true;\n\n this._scopeListeners.forEach(function (callback) {\n callback(_this);\n });\n\n this._notifyingListeners = false;\n }\n }\n }], [{\n key: \"clone\",\n value: function clone(scope) {\n return scope ? scope.clone() : new Scope();\n }\n }]);\n\n return Scope;\n}();\n/**\n * Get the global scope.\n * This scope is applied to _all_ events.\n */\n\n\nfunction getGlobalScope() {\n if (!globalScope) {\n globalScope = new Scope();\n }\n\n return globalScope;\n}\n/**\n * This is mainly needed for tests.\n * DO NOT USE this, as this is an internal API and subject to change.\n * @hidden\n */\n\n\nfunction setGlobalScope(scope) {\n globalScope = scope;\n}\n\nfunction generatePropagationContext() {\n return {\n traceId: uuid4(),\n spanId: uuid4().substring(16)\n };\n}\n\nexport { Scope, getGlobalScope, setGlobalScope };","\"use strict\";\n\nexports.__esModule = true;\n\nvar _assign = require(\"../core-js/object/assign\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || 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};","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};","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","export default{prefix:'',suffix:'',thousands:',',decimal:'.',precision:2,allowBlank:false};","import SelectDialog from'./SelectDialog.vue';import{events}from'./events';export default{install:function install(Vue){var args=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};if(this.installed)return;this.installed=true;this.params=args;Vue.component(args.componentName||'SelectDialog',SelectDialog);var selectDialog=function selectDialog(params){if(typeof params!=='object'||Array.isArray(params)){var caughtType=typeof params;if(Array.isArray(params))caughtType='array';throw new Error(\"Options type must be an object. Caught: \".concat(caughtType,\". Expected: object\"));}if(typeof params==='object'){if(Object.prototype.hasOwnProperty.call(params,'callback')&&typeof params.callback!=='function'){var callbackType=typeof params.callback;throw new Error(\"Callback type must be an function. Caught: \".concat(callbackType,\". Expected: function\"));}events.$emit('openSelectDialog',params);}};selectDialog.close=function(){events.$emit('closeSelectDialog');};Vue.prototype.$selectDialog=selectDialog;Vue.$selectDialog=selectDialog;}};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { hasOwn } from 'element-ui/src/utils/util';\nexport function isVNode(node) {\n return node !== null && _typeof(node) === 'object' && hasOwn(node, 'componentOptions');\n}\n;","/* eslint-disable */import Vue from'vue';import merge from'element-ui/src/utils/merge';import{PopupManager}from'element-ui/src/utils/popup';import{isVNode}from'element-ui/src/utils/vdom';import Main from'./main.vue';var NotificationConstructor=Vue.extend(Main);var instance;var instances=[];var seed=1;var Notification=function Notification(options){if(Vue.prototype.$isServer)return;options=merge({},options);var userOnClose=options.onClose;var id=\"notification_\".concat(seed++);var position=options.position||'top-right';options.onClose=function(){Notification.close(id,userOnClose);};instance=new NotificationConstructor({data:options});if(isVNode(options.message)){instance.$slots[\"default\"]=[options.message];options.message='REPLACED_BY_VNODE';}instance.id=id;instance.$mount();document.body.appendChild(instance.$el);instance.visible=true;instance.dom=instance.$el;instance.dom.style.zIndex=PopupManager.nextZIndex();var verticalOffset=options.offset||0;instances.filter(function(item){return item.position===position;}).forEach(function(item){verticalOffset+=item.$el.offsetHeight+16;});verticalOffset+=16;instance.verticalOffset=verticalOffset;instances.push(instance);return instance;};['success','warning','info','error'].forEach(function(type){Notification[type]=function(options){if(typeof options==='string'||isVNode(options)){options={message:options};}options.type=type;return Notification(options);};});Notification.close=function(id,userOnClose){var index=-1;var len=instances.length;var instance=instances.filter(function(instance,i){if(instance.id===id){index=i;return true;}return false;})[0];if(!instance)return;if(typeof userOnClose==='function'){userOnClose(instance);}instances.splice(index,1);if(len<=1)return;var position=instance.position;var removedHeight=instance.dom.offsetHeight;for(var i=index;i<len-1;i++){if(instances[i].position===position){instances[i].dom.style[instance.verticalProperty]=\"\".concat(parseInt(instances[i].dom.style[instance.verticalProperty],10)-removedHeight-16,\"px\");}}};Notification.closeAll=function(){for(var i=instances.length-1;i>=0;i--){instances[i].close();}};export default Notification;/* eslint-enable */","import{isAfter,isSameDay}from'date-fns';var dateIsAfterDate=function dateIsAfterDate(from,ito){return isAfter(ito,from)||isSameDay(ito,from);};export default dateIsAfterDate;","import startOfDay from '../startOfDay/index.js';\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day?\n *\n * @description\n * Are the given dates in the same day?\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * var result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n */\n\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar MAX_ARRAY_LENGTH = 10;\nvar MAX_RECURSIVE_DEPTH = 2;\n/**\n * Used to print values in error messages.\n */\n\nexport function inspect(value) {\n return formatValue(value, []);\n}\n\nfunction formatValue(value, seenValues) {\n switch (_typeof(value)) {\n case 'string':\n return JSON.stringify(value);\n\n case 'function':\n return value.name ? \"[function \".concat(value.name, \"]\") : '[function]';\n\n case 'object':\n return formatObjectValue(value, seenValues);\n\n default:\n return String(value);\n }\n}\n\nfunction formatObjectValue(value, previouslySeenValues) {\n if (value === null) {\n return 'null';\n }\n\n if (previouslySeenValues.includes(value)) {\n return '[Circular]';\n }\n\n var seenValues = [].concat(_toConsumableArray(previouslySeenValues), [value]);\n\n if (isJSONable(value)) {\n var jsonValue = value.toJSON(); // check for infinite recursion\n\n if (jsonValue !== value) {\n return typeof jsonValue === 'string' ? jsonValue : formatValue(jsonValue, seenValues);\n }\n } else if (Array.isArray(value)) {\n return formatArray(value, seenValues);\n }\n\n return formatObject(value, seenValues);\n}\n\nfunction isJSONable(value) {\n return typeof value.toJSON === 'function';\n}\n\nfunction formatObject(object, seenValues) {\n var entries = Object.entries(object);\n\n if (entries.length === 0) {\n return '{}';\n }\n\n if (seenValues.length > MAX_RECURSIVE_DEPTH) {\n return '[' + getObjectTag(object) + ']';\n }\n\n var properties = entries.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n return key + ': ' + formatValue(value, seenValues);\n });\n return '{ ' + properties.join(', ') + ' }';\n}\n\nfunction formatArray(array, seenValues) {\n if (array.length === 0) {\n return '[]';\n }\n\n if (seenValues.length > MAX_RECURSIVE_DEPTH) {\n return '[Array]';\n }\n\n var len = Math.min(MAX_ARRAY_LENGTH, array.length);\n var remaining = array.length - len;\n var items = [];\n\n for (var i = 0; i < len; ++i) {\n items.push(formatValue(array[i], seenValues));\n }\n\n if (remaining === 1) {\n items.push('... 1 more item');\n } else if (remaining > 1) {\n items.push(\"... \".concat(remaining, \" more items\"));\n }\n\n return '[' + items.join(', ') + ']';\n}\n\nfunction getObjectTag(object) {\n var tag = Object.prototype.toString.call(object).replace(/^\\[object /, '').replace(/]$/, '');\n\n if (tag === 'Object' && typeof object.constructor === 'function') {\n var name = object.constructor.name;\n\n if (typeof name === 'string' && name !== '') {\n return name;\n }\n }\n\n return tag;\n}","export function devAssert(condition, message) {\n var booleanCondition = Boolean(condition);\n\n if (!booleanCondition) {\n throw new Error(message);\n }\n}","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { dropUndefinedKeys, arrayify } from '@sentry/utils';\nimport { getDynamicSamplingContextFromSpan } from '../tracing/dynamicSamplingContext.js';\nimport { getRootSpan } from './getRootSpan.js';\nimport { spanToTraceContext, spanToJSON } from './spanUtils.js';\n/**\n * Applies data from the scope to the event and runs all event processors on it.\n */\n\nfunction applyScopeDataToEvent(event, data) {\n var fingerprint = data.fingerprint,\n span = data.span,\n breadcrumbs = data.breadcrumbs,\n sdkProcessingMetadata = data.sdkProcessingMetadata; // Apply general data\n\n applyDataToEvent(event, data); // We want to set the trace context for normal events only if there isn't already\n // a trace context on the event. There is a product feature in place where we link\n // errors with transaction and it relies on that.\n\n if (span) {\n applySpanToEvent(event, span);\n }\n\n applyFingerprintToEvent(event, fingerprint);\n applyBreadcrumbsToEvent(event, breadcrumbs);\n applySdkMetadataToEvent(event, sdkProcessingMetadata);\n}\n/** Merge data of two scopes together. */\n\n\nfunction mergeScopeData(data, mergeData) {\n var extra = mergeData.extra,\n tags = mergeData.tags,\n user = mergeData.user,\n contexts = mergeData.contexts,\n level = mergeData.level,\n sdkProcessingMetadata = mergeData.sdkProcessingMetadata,\n breadcrumbs = mergeData.breadcrumbs,\n fingerprint = mergeData.fingerprint,\n eventProcessors = mergeData.eventProcessors,\n attachments = mergeData.attachments,\n propagationContext = mergeData.propagationContext,\n transactionName = mergeData.transactionName,\n span = mergeData.span;\n mergeAndOverwriteScopeData(data, 'extra', extra);\n mergeAndOverwriteScopeData(data, 'tags', tags);\n mergeAndOverwriteScopeData(data, 'user', user);\n mergeAndOverwriteScopeData(data, 'contexts', contexts);\n mergeAndOverwriteScopeData(data, 'sdkProcessingMetadata', sdkProcessingMetadata);\n\n if (level) {\n data.level = level;\n }\n\n if (transactionName) {\n // eslint-disable-next-line deprecation/deprecation\n data.transactionName = transactionName;\n }\n\n if (span) {\n data.span = span;\n }\n\n if (breadcrumbs.length) {\n data.breadcrumbs = [].concat(_toConsumableArray(data.breadcrumbs), _toConsumableArray(breadcrumbs));\n }\n\n if (fingerprint.length) {\n data.fingerprint = [].concat(_toConsumableArray(data.fingerprint), _toConsumableArray(fingerprint));\n }\n\n if (eventProcessors.length) {\n data.eventProcessors = [].concat(_toConsumableArray(data.eventProcessors), _toConsumableArray(eventProcessors));\n }\n\n if (attachments.length) {\n data.attachments = [].concat(_toConsumableArray(data.attachments), _toConsumableArray(attachments));\n }\n\n data.propagationContext = _objectSpread(_objectSpread({}, data.propagationContext), propagationContext);\n}\n/**\n * Merges certain scope data. Undefined values will overwrite any existing values.\n * Exported only for tests.\n */\n\n\nfunction mergeAndOverwriteScopeData(data, prop, mergeVal) {\n if (mergeVal && Object.keys(mergeVal).length) {\n // Clone object\n data[prop] = _objectSpread({}, data[prop]);\n\n for (var key in mergeVal) {\n if (Object.prototype.hasOwnProperty.call(mergeVal, key)) {\n data[prop][key] = mergeVal[key];\n }\n }\n }\n}\n\nfunction applyDataToEvent(event, data) {\n var extra = data.extra,\n tags = data.tags,\n user = data.user,\n contexts = data.contexts,\n level = data.level,\n transactionName = data.transactionName;\n var cleanedExtra = dropUndefinedKeys(extra);\n\n if (cleanedExtra && Object.keys(cleanedExtra).length) {\n event.extra = _objectSpread(_objectSpread({}, cleanedExtra), event.extra);\n }\n\n var cleanedTags = dropUndefinedKeys(tags);\n\n if (cleanedTags && Object.keys(cleanedTags).length) {\n event.tags = _objectSpread(_objectSpread({}, cleanedTags), event.tags);\n }\n\n var cleanedUser = dropUndefinedKeys(user);\n\n if (cleanedUser && Object.keys(cleanedUser).length) {\n event.user = _objectSpread(_objectSpread({}, cleanedUser), event.user);\n }\n\n var cleanedContexts = dropUndefinedKeys(contexts);\n\n if (cleanedContexts && Object.keys(cleanedContexts).length) {\n event.contexts = _objectSpread(_objectSpread({}, cleanedContexts), event.contexts);\n }\n\n if (level) {\n event.level = level;\n }\n\n if (transactionName) {\n event.transaction = transactionName;\n }\n}\n\nfunction applyBreadcrumbsToEvent(event, breadcrumbs) {\n var mergedBreadcrumbs = [].concat(_toConsumableArray(event.breadcrumbs || []), _toConsumableArray(breadcrumbs));\n event.breadcrumbs = mergedBreadcrumbs.length ? mergedBreadcrumbs : undefined;\n}\n\nfunction applySdkMetadataToEvent(event, sdkProcessingMetadata) {\n event.sdkProcessingMetadata = _objectSpread(_objectSpread({}, event.sdkProcessingMetadata), sdkProcessingMetadata);\n}\n\nfunction applySpanToEvent(event, span) {\n event.contexts = _objectSpread({\n trace: spanToTraceContext(span)\n }, event.contexts);\n var rootSpan = getRootSpan(span);\n\n if (rootSpan) {\n event.sdkProcessingMetadata = _objectSpread({\n dynamicSamplingContext: getDynamicSamplingContextFromSpan(span)\n }, event.sdkProcessingMetadata);\n var transactionName = spanToJSON(rootSpan).description;\n\n if (transactionName) {\n event.tags = _objectSpread({\n transaction: transactionName\n }, event.tags);\n }\n }\n}\n/**\n * Applies fingerprint from the scope to the event if there's one,\n * uses message if there's one instead or get rid of empty fingerprint\n */\n\n\nfunction applyFingerprintToEvent(event, fingerprint) {\n // Make sure it's an array first and we actually have something in place\n event.fingerprint = event.fingerprint ? arrayify(event.fingerprint) : []; // If we have something on the scope, then merge it with event\n\n if (fingerprint) {\n event.fingerprint = event.fingerprint.concat(fingerprint);\n } // If we have no data at all, remove empty array default\n\n\n if (event.fingerprint && !event.fingerprint.length) {\n delete event.fingerprint;\n }\n}\n\nexport { applyScopeDataToEvent, mergeAndOverwriteScopeData, mergeScopeData };","import toDate from '../toDate/index.js';\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * var result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","export default {\n init: function init() {\n return this.xf['@@transducer/init']();\n },\n result: function result(_result) {\n return this.xf['@@transducer/result'](_result);\n }\n};","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\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;","'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 mini browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n\n if (utils.isMiniBrowserEnv()) {\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 _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break;}}catch(err){_d=true;_e=err;}finally{try{if(!_n&&_i[\"return\"]!=null)_i[\"return\"]();}finally{if(_d)throw _e;}}return _arr;}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}import Vue from'vue';import{InfiniteScroll,Loading,MessageBox}from'element-ui';import Progress from'element-ui/lib/progress';import FormSection from'~/modules/FormSection.vue';import Notification from'./notification';import ColorPicker from'./ColorPickerCustom.vue';import Anchor from'./Anchor.vue';import Button from'./Button.vue';import Column from'./Column.vue';import Dropdown from'./Dropdown.vue';import DateSelect from'./DateSelect.vue';import DropdownItem from'./DropdownItem.vue';import DropdownMenu from'./DropdownMenu.vue';import Form from'./Form.vue';import FormGroup from'./FormGroup.vue';import Heading from'./Heading.vue';import NumericInputCustom from'./NumericInputCustom.vue';import Option from'./Option.vue';import Popover from'./Popover.vue';import Radio from'./Radio.vue';import RadioGroup from'./RadioGroup.vue';import Row from'./Row.vue';import Select from'./Select.vue';import SelectDialog from'./selectDialog';import Table from'./Table.vue';import TableColumn from'./TableColumn.vue';import TextInput from'./TextInput.vue';import Tooltip from'./Tooltip.vue';import WhiteContainer from'./WhiteContainer.vue';import Drawer from'./Drawer.vue';import VMoney from'./money/directive';Vue.directive('money',VMoney);Vue.use(InfiniteScroll);Vue.use(Loading.directive);Vue.use(SelectDialog);Vue.prototype.$loading=Loading.service;Vue.prototype.$msgbox=MessageBox;Vue.prototype.$notify=Notification;Vue.prototype.$alert=MessageBox.alert;Vue.prototype.$confirm=MessageBox.confirm;Vue.prototype.$prompt=MessageBox.prompt;Vue.component('CollapseTransition',function(){return import(/* webpackChunkName: \"ui-components\" */'element-ui/lib/transitions/collapse-transition');});Vue.component('ContainerWrapper',function(){return import(/* webpackChunkName: \"ui-components\" */'~/modules/layout/ContainerWrapper.vue');});Vue.component('TableHeading',function(){return import(/* webpackChunkName: \"ui-components\" */'~/modules/TableHeading.vue');});Vue.component('CountryField',function(){return import(/* webpackChunkName: \"ui-components\" */'~/components/Common/CountryField.vue');});Vue.component('Anchor',Anchor);Vue.component('Button',Button);Vue.component('ColorPicker',ColorPicker);Vue.component('Column',Column);Vue.component('DateSelect',DateSelect);Vue.component('Drawer',Drawer);Vue.component('Dropdown',Dropdown);Vue.component('DropdownItem',DropdownItem);Vue.component('DropdownMenu',DropdownMenu);Vue.component('Form',Form);Vue.component('FormGroup',FormGroup);Vue.component('FormSection',FormSection);Vue.component('Heading',Heading);Vue.component('InfiniteScroll',InfiniteScroll);Vue.component('NumericInputCustom',NumericInputCustom);Vue.component('Option',Option);Vue.component('Popover',Popover);Vue.component('Progress',Progress);Vue.component('Radio',Radio);Vue.component('RadioGroup',RadioGroup);Vue.component('Row',Row);Vue.component('Select',Select);Vue.component('Table',Table);Vue.component('TableColumn',TableColumn);Vue.component('TextInput',TextInput);Vue.component('Tooltip',Tooltip);Vue.component('WhiteContainer',WhiteContainer);var customComponents={Alert:'./Alert.vue',Autocomplete:'./Autocomplete.vue',BooleanSelect:'./BooleanSelect.vue',ButtonGroup:'./ButtonGroup.vue',ButtonHolder:'./ButtonHolder.vue',Card:'./Card.vue',Checkbox:'./Checkbox.vue',CheckboxGroup:'./CheckboxGroup.vue',ContentLoader:'./ContentLoader.vue',DatePicker:'./DatePicker.vue',Dialog:'./Dialog.vue',Divider:'./Divider.vue',EditableSelect:'./EditableSelect.vue',IconBox:'./IconBox.vue',InputHelp:'./InputHelp.vue',NumericInput:'./NumericInput.vue',Pagination:'./Pagination.vue',Tag:'./Tag.vue',ToggleSwitch:'./Switch.vue',Upload:'./Upload.vue'};Object.entries(customComponents).forEach(function(_ref){var _ref2=_slicedToArray(_ref,2),name=_ref2[0],path=_ref2[1];Vue.component(name,function(){return import(/* webpackChunkName: \"ui-components\" */\"\".concat(path));});});","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:[\n _vm.type === 'textarea' ? 'el-textarea' : 'el-input',\n _vm.inputSize ? 'el-input--' + _vm.inputSize : '',\n {\n 'is-disabled': _vm.inputDisabled,\n 'is-exceed': _vm.inputExceed,\n 'el-input-group': _vm.$slots.prepend || _vm.$slots.append,\n 'el-input-group--append': _vm.$slots.append,\n 'el-input-group--prepend': _vm.$slots.prepend,\n 'el-input--prefix': _vm.$slots.prefix || _vm.prefixIcon,\n 'el-input--suffix': _vm.$slots.suffix || _vm.suffixIcon || _vm.clearable || _vm.showPassword,\n 'el-input--with-state-icon': _vm.stateIcon && _vm.stateIconSrc,\n 'el-input--with-arrow': _vm.hasArrow,\n }\n ],on:{\"mouseenter\":function($event){_vm.hovering = true},\"mouseleave\":function($event){_vm.hovering = false}}},[(_vm.type !== 'textarea')?[(_vm.$slots.prepend)?_c('div',{staticClass:\"el-input-group__prepend\"},[_vm._t(\"prepend\")],2):_vm._e(),_vm._v(\" \"),(_vm.type !== 'textarea')?_c('input',_vm._b({ref:\"input\",staticClass:\"el-input__inner\",attrs:{\"tabindex\":_vm.tabindex,\"type\":_vm.showPassword ? (_vm.passwordVisible ? 'text': 'password') : _vm.type,\"disabled\":_vm.inputDisabled,\"readonly\":_vm.readonly,\"autocomplete\":_vm.autoComplete || _vm.autocomplete,\"aria-label\":_vm.label},on:{\"compositionstart\":_vm.handleCompositionStart,\"compositionupdate\":_vm.handleCompositionUpdate,\"compositionend\":_vm.handleCompositionEnd,\"input\":_vm.handleInput,\"focus\":_vm.handleFocus,\"blur\":_vm.handleBlur,\"change\":_vm.handleChange}},'input',_vm.$attrs,false)):_vm._e(),_vm._v(\" \"),(_vm.$slots.prefix || _vm.prefixIcon)?_c('span',{staticClass:\"el-input__prefix\"},[_vm._t(\"prefix\"),_vm._v(\" \"),(_vm.prefixIcon)?_c('i',{staticClass:\"el-input__icon\",class:_vm.prefixIcon}):_vm._e()],2):_vm._e(),_vm._v(\" \"),(_vm.getSuffixVisible())?_c('span',{staticClass:\"el-input__suffix\"},[_c('span',{staticClass:\"el-input__suffix-inner\"},[(!_vm.showClear || !_vm.showPwdVisible || !_vm.isWordLimitVisible)?[_vm._t(\"suffix\"),_vm._v(\" \"),(_vm.suffixIcon)?_c('i',{staticClass:\"el-input__icon\",class:_vm.suffixIcon}):_vm._e()]:_vm._e(),_vm._v(\" \"),(_vm.showClear)?_c('i',{staticClass:\"el-input__icon el-icon-circle-close el-input__clear\",on:{\"mousedown\":function($event){$event.preventDefault();},\"click\":_vm.clear}}):_vm._e(),_vm._v(\" \"),(_vm.showPwdVisible)?_c('i',{staticClass:\"el-input__icon el-icon-view el-input__clear\",on:{\"click\":_vm.handlePasswordVisible}}):_vm._e(),_vm._v(\" \"),(_vm.isWordLimitVisible)?_c('span',{staticClass:\"el-input__count\"},[_c('span',{staticClass:\"el-input__count-inner\"},[_vm._v(\"\\n \"+_vm._s(_vm.textLength)+\"/\"+_vm._s(_vm.upperLimit)+\"\\n \")])]):_vm._e()],2),_vm._v(\" \"),(_vm.validateState)?_c('i',{staticClass:\"el-input__icon\",class:['el-input__validateIcon', _vm.validateIcon]}):_vm._e()]):_vm._e(),_vm._v(\" \"),((_vm.stateIcon && _vm.stateIconSrc) || _vm.hasArrow)?_c('span',{staticClass:\"el-input__suffix\"},[_c('span',{staticClass:\"el-input__suffix-inner el-input__suffix-inner--no-events\"},[_c('transition',{attrs:{\"name\":\"icon-fade\",\"mode\":\"out-in\"}},[_c('img',{key:_vm.stateIcon,class:`input-state-icon ${_vm.stateIcon}`,attrs:{\"src\":_vm.stateIconSrc}})]),_vm._v(\" \"),(_vm.hasArrow)?_c('i',{staticClass:\"el-input__arrow icon icon-chevron-up-small\"}):_vm._e()],1)]):_vm._e(),_vm._v(\" \"),(_vm.$slots.append)?_c('div',{staticClass:\"el-input-group__append\"},[_vm._t(\"append\")],2):_vm._e()]:_c('textarea',_vm._b({ref:\"textarea\",staticClass:\"el-textarea__inner\",style:(_vm.textareaStyle),attrs:{\"tabindex\":_vm.tabindex,\"disabled\":_vm.inputDisabled,\"readonly\":_vm.readonly,\"autocomplete\":_vm.autoComplete || _vm.autocomplete,\"aria-label\":_vm.label},on:{\"compositionstart\":_vm.handleCompositionStart,\"compositionupdate\":_vm.handleCompositionUpdate,\"compositionend\":_vm.handleCompositionEnd,\"input\":_vm.handleInput,\"focus\":_vm.handleFocus,\"blur\":_vm.handleBlur,\"change\":_vm.handleChange}},'textarea',_vm.$attrs,false)),_vm._v(\" \"),(_vm.isWordLimitVisible && _vm.type === 'textarea')?_c('span',{staticClass:\"el-input__count\"},[_vm._v(_vm._s(_vm.textLength)+\"/\"+_vm._s(_vm.upperLimit))]):_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=script&lang=js&\"","import{Input}from'element-ui';export default{\"extends\":Input,props:{autocomplete:{type:String,\"default\":''},hasArrow:{type:Boolean,\"default\":false},stateIcon:String},computed:{stateIconSrc:function stateIconSrc(){return this.stateIcon?this.getStateIconSrc(this.stateIcon):'';}},methods:{handleFocus:function handleFocus(event){this.focused=true;this.$emit('focus',event);this.dispatch('ElFormItem','el.form.input.focus');},handleBlur:function handleBlur(event){this.focused=false;this.$emit('blur',event);if(this.validateEvent){this.dispatch('ElFormItem','el.form.blur',[this.value]);}this.dispatch('ElFormItem','el.form.input.blur');},checkImageExists:function checkImageExists(image,req){try{return req.keys().includes(\"./\".concat(image,\".svg\"));}catch(error){return false;}},getStateIconSrc:function getStateIconSrc(image){var req=require.context('~/images/input_state_icon',false,/\\.svg$/);return this.checkImageExists(image,req)?req(\"./\".concat(image,\".svg\")):'';}}};","import { render, staticRenderFns } from \"./TextInput.vue?vue&type=template&id=0e020125&scoped=true&\"\nimport script from \"./TextInput.vue?vue&type=script&lang=js&\"\nexport * from \"./TextInput.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TextInput.vue?vue&type=style&index=0&id=0e020125&prod&lang=scss&\"\nimport style1 from \"./TextInput.vue?vue&type=style&index=1&id=0e020125&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e020125\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPickerCustom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPickerCustom.vue?vue&type=script&lang=js&\"","import{ColorPicker}from'element-ui';export default{\"extends\":ColorPicker,watch:{showPicker:{handler:function handler(newValue){if(newValue===false){this.$emit('input',this.color.value);this.$emit('change',this.color.value);}}}}};","var render, staticRenderFns\nimport script from \"./ColorPickerCustom.vue?vue&type=script&lang=js&\"\nexport * from \"./ColorPickerCustom.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","'use strict';\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar isMergeableObject = function isMergeableObject(value) {\n return isNonNullObject(value) && !isSpecial(value);\n};\n\nfunction isNonNullObject(value) {\n return !!value && _typeof(value) === 'object';\n}\n\nfunction isSpecial(value) {\n var stringValue = Object.prototype.toString.call(value);\n return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value);\n} // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\n\n\nvar canUseSymbol = typeof Symbol === 'function' && Symbol[\"for\"];\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol[\"for\"]('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n return value.$$typeof === REACT_ELEMENT_TYPE;\n}\n\nfunction emptyTarget(val) {\n return Array.isArray(val) ? [] : {};\n}\n\nfunction cloneIfNecessary(value, optionsArgument) {\n var clone = optionsArgument && optionsArgument.clone === true;\n return clone && isMergeableObject(value) ? deepmerge(emptyTarget(value), value, optionsArgument) : value;\n}\n\nfunction defaultArrayMerge(target, source, optionsArgument) {\n var destination = target.slice();\n source.forEach(function (e, i) {\n if (typeof destination[i] === 'undefined') {\n destination[i] = cloneIfNecessary(e, optionsArgument);\n } else if (isMergeableObject(e)) {\n destination[i] = deepmerge(target[i], e, optionsArgument);\n } else if (target.indexOf(e) === -1) {\n destination.push(cloneIfNecessary(e, optionsArgument));\n }\n });\n return destination;\n}\n\nfunction mergeObject(target, source, optionsArgument) {\n var destination = {};\n\n if (isMergeableObject(target)) {\n Object.keys(target).forEach(function (key) {\n destination[key] = cloneIfNecessary(target[key], optionsArgument);\n });\n }\n\n Object.keys(source).forEach(function (key) {\n if (!isMergeableObject(source[key]) || !target[key]) {\n destination[key] = cloneIfNecessary(source[key], optionsArgument);\n } else {\n destination[key] = deepmerge(target[key], source[key], optionsArgument);\n }\n });\n return destination;\n}\n\nfunction deepmerge(target, source, optionsArgument) {\n var sourceIsArray = Array.isArray(source);\n var targetIsArray = Array.isArray(target);\n var options = optionsArgument || {\n arrayMerge: defaultArrayMerge\n };\n var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n if (!sourceAndTargetTypesMatch) {\n return cloneIfNecessary(source, optionsArgument);\n } else if (sourceIsArray) {\n var arrayMerge = options.arrayMerge || defaultArrayMerge;\n return arrayMerge(target, source, optionsArgument);\n } else {\n return mergeObject(target, source, optionsArgument);\n }\n}\n\ndeepmerge.all = function deepmergeAll(array, optionsArgument) {\n if (!Array.isArray(array) || array.length < 2) {\n throw new Error('first argument should be an array with at least two elements');\n } // we are sure there are at least 2 values, so it is safe to have no initial value\n\n\n return array.reduce(function (prev, next) {\n return deepmerge(prev, next, optionsArgument);\n });\n};\n\nvar deepmerge_1 = deepmerge;\nmodule.exports = deepmerge_1;","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{directives:[{name:\"clickoutside\",rawName:\"v-clickoutside\",value:(_vm.handleClose),expression:\"handleClose\"}],staticClass:\"el-select el-select--date\",class:[_vm.selectSize ? 'el-select--' + _vm.selectSize : '', { 'el-select--custom-label': _vm.showLabelWithDate}],on:{\"click\":function($event){$event.stopPropagation();return _vm.toggleMenu.apply(null, arguments)}}},[_c('el-input',{ref:\"reference\",class:{ 'is-focus': _vm.visible },attrs:{\"type\":\"text\",\"autocomplete\":_vm.autoComplete || _vm.autocomplete,\"disabled\":_vm.selectDisabled,\"hidden\":_vm.showLabelWithDate,\"id\":_vm.id,\"name\":_vm.name,\"placeholder\":_vm.currentPlaceholder,\"readonly\":_vm.readonly,\"size\":_vm.selectSize,\"tabindex\":(_vm.multiple && _vm.filterable) ? '-1' : null,\"validate-event\":false},on:{\"focus\":_vm.handleFocus,\"blur\":_vm.handleBlur,\"input\":_vm.debouncedOnInputChange,\"compositionstart\":_vm.handleComposition,\"compositionupdate\":_vm.handleComposition,\"compositionend\":_vm.handleComposition},nativeOn:{\"keydown\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"down\",40,$event.key,[\"Down\",\"ArrowDown\"]))return null;$event.stopPropagation();$event.preventDefault();return _vm.handleNavigate('next')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"up\",38,$event.key,[\"Up\",\"ArrowUp\"]))return null;$event.stopPropagation();$event.preventDefault();return _vm.handleNavigate('prev')},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;$event.preventDefault();return _vm.selectOption.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"]))return null;$event.stopPropagation();$event.preventDefault();_vm.visible = false},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"tab\",9,$event.key,\"Tab\"))return null;_vm.visible = false}],\"mouseenter\":function($event){_vm.inputHovering = true},\"mouseleave\":function($event){_vm.inputHovering = false}},model:{value:(_vm.selectedLabel),callback:function ($$v) {_vm.selectedLabel=$$v},expression:\"selectedLabel\"}},[(_vm.showLabelWithDate)?_c('template',{slot:\"prepend\"},[_c('div',{staticClass:\"el-select__custom-label\",attrs:{\"slot\":\"customLabel\"},slot:\"customLabel\"},[(_vm.isCustomRange)?[_c('div',{staticClass:\"date__wrapper\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedLabel)+\"\\n \"),_c('span',{staticClass:\"date__text\"},[_vm._v(\"(\"+_vm._s(_vm._f(\"formatDate\")(_vm.customRange[0],_vm.dateFormats.dateFns))+\" - \"+_vm._s(_vm._f(\"formatDate\")(_vm.customRange[1],_vm.dateFormats.dateFns))+\")\")])]),_vm._v(\" \"),(!_vm.isMobile)?_c('i',{staticClass:\"calendar-icon icon icon-calendar-line px-4 ml-auto\",on:{\"click\":function($event){$event.stopPropagation();return _vm.handleCalendarClick.apply(null, arguments)}}}):_vm._e()]:_c('div',{staticClass:\"date__wrapper\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedLabel)+\"\\n \"),_c('span',{staticClass:\"date__text\"},[_vm._v(_vm._s(_vm.getFormatedDateRange(_vm.value)))])])],2)]):_vm._e(),_vm._v(\" \"),(_vm.$slots.prefix)?_c('template',{slot:\"prefix\"},[_vm._t(\"prefix\")],2):_vm._e(),_vm._v(\" \"),_c('template',{slot:\"suffix\"},[_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showClose),expression:\"!showClose\"}],class:['el-select__caret', 'el-input__icon', 'el-icon-' + _vm.iconClass]}),_vm._v(\" \"),(_vm.showClose)?_c('i',{staticClass:\"el-select__caret el-input__icon el-icon-circle-close\",on:{\"click\":_vm.handleClearClick}}):_vm._e()])],2),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"el-zoom-in-top\"},on:{\"before-enter\":_vm.handleMenuEnter,\"after-leave\":_vm.doDestroy}},[_c('el-select-menu',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible && _vm.emptyText !== false),expression:\"visible && emptyText !== false\"}],ref:\"popper\",attrs:{\"append-to-body\":_vm.popperAppendToBody}},[_c('el-scrollbar',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.options.length > 0 && !_vm.loading),expression:\"options.length > 0 && !loading\"}],ref:\"scrollbar\",class:{ 'is-empty': !_vm.allowCreate && _vm.query && _vm.filteredOptionsCount === 0 },attrs:{\"tag\":\"ul\",\"wrap-class\":\"el-select-dropdown__wrap\",\"view-class\":\"el-select-dropdown__list\"}},[(_vm.showNewOption)?_c('el-option',{attrs:{\"value\":_vm.query,\"created\":\"\"}}):_vm._e(),_vm._v(\" \"),_vm._l((_vm.periods),function(option){return _c('Option',{key:option,attrs:{\"value\":option,\"label\":_vm.$t(`dateSelect.options.${option}`)}})}),_vm._v(\" \"),_vm._t(\"default\")],2),_vm._v(\" \"),(_vm.emptyText && (!_vm.allowCreate || _vm.loading || (_vm.allowCreate && _vm.options.length === 0 )))?[(_vm.$slots.empty)?_vm._t(\"empty\"):_c('p',{staticClass:\"el-select-dropdown__empty\"},[_vm._v(\"\\n \"+_vm._s(_vm.emptyText)+\"\\n \")])]:_vm._e()],2)],1)],1),_vm._v(\" \"),(_vm.isCustomRange && _vm.isMobile)?_c('div',{staticClass:\"d-flex align-items-center mt-24\"},[_c('DatePicker',{staticClass:\"date-picker date-picker--small\",attrs:{\"clearable\":false,\"format\":_vm.dateFormats.elementUi},model:{value:(_vm.customRange[0]),callback:function ($$v) {_vm.$set(_vm.customRange, 0, $$v)},expression:\"customRange[0]\"}}),_vm._v(\" \"),_c('span',{staticClass:\"px-8\"},[_vm._v(_vm._s(_vm.dateFormats.rangeSeparator))]),_vm._v(\" \"),_c('DatePicker',{staticClass:\"date-picker date-picker--small\",attrs:{\"clearable\":false,\"format\":_vm.dateFormats.elementUi},model:{value:(_vm.customRange[1]),callback:function ($$v) {_vm.$set(_vm.customRange, 1, $$v)},expression:\"customRange[1]\"}})],1):_vm._e(),_vm._v(\" \"),(_vm.isCustomRange && !_vm.isMobile)?_c('DatePicker',{ref:\"dateRangePicker\",staticClass:\"date-picker date-picker--small date-picker--hidden\",attrs:{\"append-to-body\":true,\"clearable\":false,\"format\":_vm.dateFormats.elementUi,\"type\":\"daterange\"},on:{\"change\":_vm.handlePickerChange},model:{value:(_vm.customRange),callback:function ($$v) {_vm.customRange=$$v},expression:\"customRange\"}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import toDate from '../toDate/index.js';\n/**\n * @name startOfYear\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * var result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\n\nexport default function startOfYear(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var cleanDate = toDate(dirtyDate);\n var date = new Date(0);\n date.setFullYear(cleanDate.getFullYear(), 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import toDate from '../toDate/index.js';\n/**\n * @name endOfYear\n * @category Year Helpers\n * @summary Return the end of a year for the given date.\n *\n * @description\n * Return the end of a year for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a year for 2 September 2014 11:55:00:\n * var result = endOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Dec 31 2014 23:59:59.999\n */\n\nexport default function endOfYear(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var year = date.getFullYear();\n date.setFullYear(year + 1, 0, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toInteger from '../_lib/toInteger/index.js';\nimport addYears from '../addYears/index.js';\n/**\n * @name subYears\n * @category Year Helpers\n * @summary Subtract the specified number of years from the given date.\n *\n * @description\n * Subtract the specified number of years from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be subtracted\n * @returns {Date} the new date with the years subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 5 years from 1 September 2014:\n * var result = subYears(new Date(2014, 8, 1), 5)\n * //=> Tue Sep 01 2009 00:00:00\n */\n\nexport default function subYears(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var amount = toInteger(dirtyAmount);\n return addYears(dirtyDate, -amount);\n}","import{startOfMonth,endOfMonth,startOfYear,endOfYear,subDays,subMonths,subYears,format}from'date-fns';export var formatDate=function formatDate(date){var dateFormat=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'dd. MM. yyyy';if(!date)return'';return format(date,dateFormat);};export var formatedDateRange=function formatedDateRange(period){var _ref=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},_ref$dateFns=_ref.dateFns,dateFns=_ref$dateFns===void 0?'dd. MM. yyyy':_ref$dateFns,_ref$rangeSeparator=_ref.rangeSeparator,rangeSeparator=_ref$rangeSeparator===void 0?' - ':_ref$rangeSeparator;try{var today=new Date();var from=null;var to=null;var tempDate;switch(period){case'today':from=today;break;case'yesterday':from=subDays(today,1);break;case'this_month':from=startOfMonth(today);to=endOfMonth(today);break;case'last_month':tempDate=subMonths(today,1);from=startOfMonth(tempDate);to=endOfMonth(tempDate);break;case'this_year':from=startOfYear(today);to=endOfYear(today);break;case'last_year':tempDate=subYears(today,1);from=startOfYear(tempDate);to=endOfYear(tempDate);break;case'last_12_months':from=subYears(today,1);to=today;break;case'q1':from=startOfYear(today);to=new Date(today.getFullYear(),2,31);break;case'q2':from=new Date(today.getFullYear(),3,1);to=new Date(today.getFullYear(),5,30);break;case'q3':from=new Date(today.getFullYear(),6,1);to=new Date(today.getFullYear(),8,30);break;case'q4':from=new Date(today.getFullYear(),9,1);to=new Date(today.getFullYear(),11,31);break;case'custom':from=today;to=today;break;default:from=null;to=null;break;}if(!from&&!to){return'';}return\"(\".concat(formatDate(from,dateFns)).concat(to?rangeSeparator:'').concat(to?formatDate(to,dateFns):'',\")\");}catch(error){return null;}};","import toInteger from '../_lib/toInteger/index.js';\nimport addDays from '../addDays/index.js';\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * var result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\n\nexport default function subDays(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import toInteger from '../_lib/toInteger/index.js';\nimport addMonths from '../addMonths/index.js';\n/**\n * @name subMonths\n * @category Month Helpers\n * @summary Subtract the specified number of months from the given date.\n *\n * @description\n * Subtract the specified number of months from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be subtracted\n * @returns {Date} the new date with the months subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 5 months from 1 February 2015:\n * var result = subMonths(new Date(2015, 1, 1), 5)\n * //=> Mon Sep 01 2014 00:00:00\n */\n\nexport default function subMonths(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, -amount);\n}","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import Select from'~/ui-library/Select.vue';import{formatedDateRange}from'~/lib/formatedDateRange';import{mapGetters}from'vuex';export default{name:'DateSelect',\"extends\":Select,props:{periods:{type:Array,\"default\":function _default(){return['all','today','yesterday','this_month','last_month','this_year','last_year','last_12_months','q1','q2','q3','q4','custom'];}},showLabelWithDate:{type:Boolean,\"default\":true}},data:function data(){return{customRange:[new Date(),new Date()],isDatePickerOpen:false,isClosing:false};},computed:_objectSpread(_objectSpread({},mapGetters('env',['dateFormats'])),{},{isCustomRange:function isCustomRange(){return this.value==='custom';}}),methods:{getFormatedDateRange:function getFormatedDateRange(period){return formatedDateRange(period,this.dateFormats);},handleCalendarClick:function handleCalendarClick(){if(this.isDatePickerOpen){this.$refs.dateRangePicker.blur();}else{this.$refs.dateRangePicker.focus();}this.isDatePickerOpen=!this.isDatePickerOpen;},handlePickerChange:function handlePickerChange(){this.isDatePickerOpen=false;},resetCustomRange:function resetCustomRange(){this.customRange=[new Date(),new Date()];}},watch:{customRange:function customRange(value){this.$emit('change-custom-range',value);}}};","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateSelect.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateSelect.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateSelect.vue?vue&type=template&id=7b281959&\"\nimport script from \"./DateSelect.vue?vue&type=script&lang=js&\"\nexport * from \"./DateSelect.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('FormItem',{ref:\"formItem\",class:[\n _vm.inlineForm ? 'el-form--inline-form' : '',\n _vm.inputNarrow ? 'el-form-item--input-narrow' : '',\n _vm.spacing ? 'el-form-item--' + _vm.spacing : '',\n _vm.radio ? 'el-form-item--radio' : '',\n _vm.offset ? 'el-form-item--offset' + _vm.offsetSize : '',\n _vm.vertical ? 'el-form-item--vertical': '',\n _vm.errorStyled ? 'el-form-item--error-styled' : '',\n _vm.floatingLabel ? 'floating-label' : '',\n _vm.floatingLabelNoColunm ? 'floating-label-no-colunm' : '',\n _vm.floatingLabelHide ? 'floating-label--desktop-up-hidden' : '',\n _vm.invalid ? 'is-invalid' : '',\n _vm.valid ? 'is-valid' : '',\n _vm.noMargin ? 'el-form-item--no-margin' : '',\n ],attrs:{\"prop\":_vm.prop,\"label\":_vm.floatingLabel ? '' : _vm.label,\"error\":_vm.errorMessage,\"without-text-animation\":_vm.withoutTextAnimation},on:{\"input:focus\":_vm.handleFocus,\"input:blur\":_vm.handleBlur},scopedSlots:_vm._u([{key:\"error\",fn:function(slotProps){return _c('div',{class:['el-form-item__error', { 'el-form-item__error--fixed': _vm.fixedErrorMessage }]},[(_vm.errorMessage)?[(_vm.errorAlert)?_c('Alert',{class:[{'el-alert--new-design': _vm.errorAlertNewDesign}],attrs:{\"closable\":false,\"show-icon\":!_vm.errorAlertNewDesign,\"type\":\"error\"}},[_c('template',{slot:\"title\"},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.errorMessage)},on:{\"click\":_vm.errorOnClick}})])],2):_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.errorMessage)}})]:(_vm.errorStyled)?[(_vm.errorStyled)?_c('InputHelp',{attrs:{\"type\":\"box\",\"state\":\"error\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(`errors.${slotProps.error}`))+\"\\n \")]):_vm._e()]:(_vm.errorAlert)?[(_vm.errorAlert)?_c('Alert',{attrs:{\"type\":\"error\",\"show-icon\":\"\",\"closable\":false}},[_c('template',{slot:\"title\"},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t(`errors.${slotProps.error}`))}})])],2):_vm._e()]:[_vm._v(\"\\n \"+_vm._s(_vm.$t(`errors.${slotProps.error}`))+\"\\n \")]],2)}}])},[(_vm.floatingLabel)?[_c('div',{class:['el-input', _vm.focused || _vm.hasInputValue || _vm.hasForceFocus ? 'is-focused' : '']},[_vm._t(\"default\"),_vm._v(\" \"),_c('span',{class:['el-input__label', _vm.focused || _vm.hasInputValue || _vm.hasForceFocus ? 'is-floating' : '']},[_vm._t(\"custom-label\"),_vm._v(\" \"),_vm._t(\"label-link\"),_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \"),(_vm.tooltipContent)?_c('Tooltip',{attrs:{\"effect\":\"blue\",\"content\":_vm.tooltipContent,\"placement\":\"top\"}},[_c('i',{staticClass:\"icon icon-question-circle\",staticStyle:{\"margin-left\":\"5px\",\"cursor\":\"help\"}})]):_vm._e()],2)],2)]:(!_vm.floatingLabel)?[_c('template',{slot:\"label\"},[_vm._t(\"label\")],2),_vm._v(\" \"),_vm._t(\"default\")]:_vm._e(),_vm._v(\" \"),_vm._v(\" \"),(_vm.successMessage && !_vm.errorMessage)?_c('div',{staticClass:\"el-form-item__success\"},[(typeof _vm.successMessage === 'object')?[_vm._v(\"\\n \"+_vm._s(_vm.successMessage.text)+\"\\n \"),_c('Anchor',{on:{\"click\":_vm.successMessage.link.action}},[_vm._v(\"\\n \"+_vm._s(_vm.successMessage.link.text)+\"\\n \")])]:[_vm._v(\"\\n \"+_vm._s(_vm.successMessage)+\"\\n \")]],2):_vm._e(),_vm._v(\" \"),(_vm.help)?_c('InputHelp',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.help)}})]):_vm._e(),_vm._v(\" \"),_vm._t(\"custom-help\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import _curry2 from './internal/_curry2.js';\n/**\n * Returns `true` if both arguments are `true`; `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any} the first argument if it is falsy, otherwise the second argument.\n * @see R.both\n * @example\n *\n * R.and(true, true); //=> true\n * R.and(true, false); //=> false\n * R.and(false, true); //=> false\n * R.and(false, false); //=> false\n */\n\nvar and =\n/*#__PURE__*/\n_curry2(function and(a, b) {\n return a && b;\n});\n\nexport default and;","import _curry2 from './internal/_curry2.js';\nimport _isFunction from './internal/_isFunction.js';\nimport and from './and.js';\nimport lift from './lift.js';\n/**\n * A function which calls the two provided functions and returns the `&&`\n * of the results.\n * It returns the result of the first function if it is false-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * false-y value.\n *\n * In addition to functions, `R.both` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f A predicate\n * @param {Function} g Another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together.\n * @see R.and\n * @example\n *\n * const gt10 = R.gt(R.__, 10)\n * const lt20 = R.lt(R.__, 20)\n * const f = R.both(gt10, lt20);\n * f(15); //=> true\n * f(30); //=> false\n *\n * R.both(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(false)\n * R.both([false, false, 'a'], [11]); //=> [false, false, 11]\n */\n\nvar both =\n/*#__PURE__*/\n_curry2(function both(f, g) {\n return _isFunction(f) ? function _both() {\n return f.apply(this, arguments) && g.apply(this, arguments);\n } : lift(and)(f, g);\n});\n\nexport default both;","import _curry1 from './internal/_curry1.js';\n/**\n * A function that returns the `!` of its argument. It will return `true` when\n * passed false-y value, and `false` when passed a truth-y one.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig * -> Boolean\n * @param {*} a any value\n * @return {Boolean} the logical inverse of passed argument.\n * @see R.complement\n * @example\n *\n * R.not(true); //=> false\n * R.not(false); //=> true\n * R.not(0); //=> true\n * R.not(1); //=> false\n */\n\nvar not =\n/*#__PURE__*/\n_curry1(function not(a) {\n return !a;\n});\n\nexport default not;","import lift from './lift.js';\nimport not from './not.js';\n/**\n * Takes a function `f` and returns a function `g` such that if called with the same arguments\n * when `f` returns a \"truthy\" value, `g` returns `false` and when `f` returns a \"falsy\" value `g` returns `true`.\n *\n * `R.complement` may be applied to any functor\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> *) -> (*... -> Boolean)\n * @param {Function} f\n * @return {Function}\n * @see R.not\n * @example\n *\n * const isNotNil = R.complement(R.isNil);\n * isNil(null); //=> true\n * isNotNil(null); //=> false\n * isNil(7); //=> false\n * isNotNil(7); //=> true\n */\n\nvar complement =\n/*#__PURE__*/\nlift(not);\nexport default complement;","import{both,isNil,isEmpty,complement}from'ramda';import FormItem from'./FormItem.vue';var isNotNilOrEmpty=both(complement(isNil),complement(isEmpty));export default{components:{FormItem:FormItem},props:{prop:String,label:String,inlineForm:Boolean,radio:Boolean,offset:[Boolean,String],vertical:Boolean,spacing:{type:String},errorMessage:String,help:String,inputNarrow:Boolean,errorStyled:{type:Boolean,\"default\":false},errorAlert:{type:Boolean,\"default\":false},errorAlertNewDesign:{type:Boolean,\"default\":false},errorOnClick:{type:Function,\"default\":function _default(){}},fixedErrorMessage:{type:Boolean,\"default\":false},floatingLabel:{type:Boolean,\"default\":false},floatingLabelHide:{type:Boolean,\"default\":false},hasForceFocus:{type:Boolean,\"default\":false},inputValue:{type:null,\"default\":false},tooltipContent:String,floatingLabelNoColunm:{type:Boolean,\"default\":false},invalid:{type:Boolean,\"default\":false},dataTestError:{type:String,\"default\":'form_input_error_message'},dataTestValid:{type:String,\"default\":'form_input_valid_message'},noMargin:{type:Boolean,\"default\":false},successMessage:{type:[String,Object],\"default\":''},valid:{type:Boolean,\"default\":false},withoutTextAnimation:{type:Boolean,\"default\":false}},data:function data(){return{focused:false};},computed:{hasInputValue:function hasInputValue(){return isNotNilOrEmpty(this.inputValue);},offsetSize:function offsetSize(){if(this.offset===true){return'';}return\"--\".concat(this.offset);}},methods:{handleFocus:function handleFocus(){this.focused=true;},handleBlur:function handleBlur(){this.focused=false;}}};","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormGroup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormGroup.vue?vue&type=template&id=d9f1b17c&\"\nimport script from \"./FormGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./FormGroup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormGroup.vue?vue&type=style&index=0&id=d9f1b17c&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('a',{attrs:{\"href\":_vm.href,\"target\":_vm.target},on:{\"click\":_vm.onClick}},[(_vm.icon)?_c('i',{class:_vm.icon}):_vm._e(),_vm._v(\" \"),_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Anchor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Anchor.vue?vue&type=script&lang=js&\"","export default{props:{href:{type:String,\"default\":''},target:{type:String,\"default\":'_self'},icon:{type:String},customClickHandler:Function},methods:{onClick:function onClick(event){if(this.$attrs['data-analytics-id']){this.$store.dispatch('analytics/trackEvent',{analytics:{category:this.$route.name,action:'click',label:this.$attrs['data-analytics-id']}});}// Emit the click event regardless\nthis.$emit('click',event);if(this.customClickHandler){this.customClickHandler(event);}if(!event.defaultPrevented){var preventedRefs=['','#',undefined];if(preventedRefs.includes(this.href)){event.preventDefault();}else{try{if(this.href==='/'){window.location=this.href;}else{var route=this.$router.resolve(this.href);if(route.route.matched.length){event.preventDefault();this.$router.push(this.href);}}}catch(e){window.location=this.href;}}}}}};","import { render, staticRenderFns } from \"./Anchor.vue?vue&type=template&id=054a68a5&\"\nimport script from \"./Anchor.vue?vue&type=script&lang=js&\"\nexport * from \"./Anchor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Anchor.vue?vue&type=style&index=0&id=054a68a5&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('li',{class:[\n 'el-dropdown-menu__item',\n _vm.newDesign && 'el-dropdown-menu__item--new-design',\n _vm.disabled && 'is-disabled',\n _vm.divided && 'el-dropdown-menu__item--divided',\n _vm.icon && 'el-dropdown-menu__item--with-icon',\n ],attrs:{\"aria-disabled\":_vm.disabled,\"tabindex\":_vm.disabled ? null : -1},on:{\"click\":_vm.handleClick}},[(_vm.icon)?_c('i',{class:['icon ' + 'icon-' + _vm.icon]}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"el-dropdown-menu__content\"},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownItem.vue?vue&type=script&lang=js&\"","import{DropdownItem as ElDropdownItem}from'element-ui';export default{name:'DropdownItem',// Need fix this\n\"extends\":ElDropdownItem,// components: {\n// ElDropdownItem,\n// },\nprops:{disabled:Boolean,divided:Boolean,icon:String,command:{},newDesign:Boolean},methods:{handleClick:function handleClick(){this.dispatch('ElDropdown','menu-item-click',[this.command,this]);}}};","import { render, staticRenderFns } from \"./DropdownItem.vue?vue&type=template&id=21ebb202&\"\nimport script from \"./DropdownItem.vue?vue&type=script&lang=js&\"\nexport * from \"./DropdownItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DropdownItem.vue?vue&type=style&index=0&id=21ebb202&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c(_vm.kind,{tag:\"component\",class:[_vm.type, {'heading-with-icon' : _vm.icon}, {'heading-with-image' : _vm.image}]},[(_vm.icon)?_c('span',{class:`icon icon-${_vm.icon}`}):_vm._e(),_vm._v(\" \"),(_vm.image)?_c('img',{attrs:{\"src\":_vm.image}}):_vm._e(),_vm._v(\" \"),(_vm.$slots.default)?[_vm._t(\"default\")]:_vm._e()],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Heading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Heading.vue?vue&type=script&lang=js&\"","export default{name:'Heading',props:{kind:{\"default\":'h1',validator:function validator(value){return['h1','h2','h3','h4','h5','h6'].indexOf(value)!==-1;}},type:{validator:function validator(value){return['h1','h2','h3','h4','h5','h6'].indexOf(value)!==-1;}},icon:String,image:String}};","import { render, staticRenderFns } from \"./Heading.vue?vue&type=template&id=3020539f&scoped=true&\"\nimport script from \"./Heading.vue?vue&type=script&lang=js&\"\nexport * from \"./Heading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Heading.vue?vue&type=style&index=0&id=3020539f&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3020539f\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"number-input\"},[_c('Button',{staticClass:\"decrement-button\",attrs:{\"type\":\"icon\",\"icon\":\"icon icon-minus\",\"size\":\"medium\",\"data-analytics-id\":\"icon-minus\"},on:{\"click\":_vm.decrement}}),_vm._v(\" \"),_c('input',{staticClass:\"el-input__inner number-input__field\",attrs:{\"type\":\"number\"},domProps:{\"value\":_vm.internalValue},on:{\"input\":function($event){return _vm.updateValue($event.target.value)}}}),_vm._v(\" \"),_c('Button',{staticClass:\"increment-button\",attrs:{\"type\":\"icon\",\"icon\":\"icon icon-add-3\",\"size\":\"medium\",\"data-analytics-id\":\"icon-add-3\"},on:{\"click\":_vm.increment}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumericInputCustom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumericInputCustom.vue?vue&type=script&lang=js&\"","import Button from'./Button.vue';export default{components:{Button:Button},props:{value:{type:Number,\"default\":0},min:{type:Number,\"default\":Infinity},max:{type:Number,\"default\":Infinity},step:{type:Number,\"default\":1}},data:function data(){return{internalValue:this.value};},methods:{increment:function increment(){this.internalValue+=this.step;this.$emit('input',this.internalValue);},decrement:function decrement(){this.internalValue-=this.step;this.$emit('input',this.internalValue);},updateValue:function updateValue(value){var numericValue=Number(value);this.internalValue=numericValue;this.$emit('input',numericValue);}},watch:{value:function value(_value){this.internalValue=_value;}}};","import { render, staticRenderFns } from \"./NumericInputCustom.vue?vue&type=template&id=95551e02&\"\nimport script from \"./NumericInputCustom.vue?vue&type=script&lang=js&\"\nexport * from \"./NumericInputCustom.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NumericInputCustom.vue?vue&type=style&index=0&id=95551e02&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ElRow',{class:[_vm.spacing ? 'el-row--' + _vm.spacing : '', _vm.line && 'el-row--line', _vm.align === 'baseline' && 'el-row--align-baseline'],attrs:{\"tag\":_vm.tag,\"gutter\":_vm.gutter,\"type\":_vm.type,\"justify\":_vm.justify,\"align\":_vm.align}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Row.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Row.vue?vue&type=script&lang=js&\"","import{Row as ElRow}from'element-ui';export default{components:{ElRow:ElRow},props:{tag:{type:String},gutter:Number,type:String,justify:{type:String},align:{type:String},spacing:{type:String},line:{type:Boolean}}};","import { render, staticRenderFns } from \"./Row.vue?vue&type=template&id=07ce282f&\"\nimport script from \"./Row.vue?vue&type=script&lang=js&\"\nexport * from \"./Row.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Row.vue?vue&type=style&index=0&id=07ce282f&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"white-container--with-padding\",class:[\n {\n 'white-container--with-header': _vm.title,\n 'white-container--with-small-padding': _vm.title && _vm.smallPadding,\n 'white-container--with-header-no-separator': _vm.hideHeaderSeparator,\n [`white-container--${_vm.type}`]: _vm.type,\n [`white-container--${_vm.headerSize}`]: _vm.headerSize,\n 'white-container--square': _vm.withoutRadius,\n },\n ]},[(_vm.hasHeaderSlot)?_c('div',[_vm._t(\"header\")],2):_vm._e(),_vm._v(\" \"),((_vm.title && !_vm.hasHeaderSlot))?_c('div',{class:['header', _vm.headerClass]},[_c('div',{class:[\n 'header-col',\n `white-container-header--${_vm.titleSize}`\n ]},[_c('div',{staticClass:\"header-with-image\"},[(_vm.titleIcon)?_c('img',{attrs:{\"src\":_vm.titleIcon}}):_vm._e(),_vm._v(\" \"),_c('Heading',{staticClass:\"heading--semibold my-0\",attrs:{\"kind\":\"h2\",\"type\":\"h2\"}},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")])],1),_vm._v(\" \"),(!!this.$slots['header-extra-content'])?_c('div',{staticClass:\"header-extra-content\"},[_vm._t(\"header-extra-content\")],2):_vm._e()]),_vm._v(\" \"),(!!this.$slots['header-center'])?_c('div',{staticClass:\"header-col-center\"},[_vm._t(\"header-center\")],2):_vm._e(),_vm._v(\" \"),(!!this.$slots['header-right'])?_c('div',{staticClass:\"header-col-right\"},[_vm._t(\"header-right\")],2):_vm._e()]):_vm._e(),_vm._v(\" \"),_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WhiteContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WhiteContainer.vue?vue&type=script&lang=js&\"","export default{name:'WhiteContainer',props:{title:{type:String},titleSize:{type:String,\"default\":'normal'},titleIcon:{type:String},headerClass:{type:String},hideHeaderSeparator:{type:Boolean},type:{type:String},headerSize:{type:String,\"default\":'normal'},smallPadding:{type:Boolean},withoutRadius:{type:Boolean,\"default\":false}},computed:{hasHeaderSlot:function hasHeaderSlot(){return!!this.$slots.header;}}};","import { render, staticRenderFns } from \"./WhiteContainer.vue?vue&type=template&id=30462e1b&scoped=true&\"\nimport script from \"./WhiteContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./WhiteContainer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WhiteContainer.vue?vue&type=style&index=0&id=30462e1b&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"30462e1b\",\n null\n \n)\n\nexport default component.exports","function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var typeMap={success:'success',info:'info',warning:'warning',error:'error'};var iconTypeMap={success:'check-circle',info:'info-new',warning:'warning',error:'cross-circle'};export default{data:function data(){return{visible:false,title:'',message:'',duration:4500,type:'',showClose:true,customClass:'',iconClass:'',onClose:null,onClick:null,closed:false,verticalOffset:0,timer:null,dangerouslyUseHTMLString:true,position:'top-right',progress:0,intervalId:null,startTime:null,callback:function callback(){}};},computed:{typeClass:function typeClass(){return this.type&&iconTypeMap[this.type]?\"icon icon-\".concat(iconTypeMap[this.type]):'';},backgroundClass:function backgroundClass(){return this.type&&typeMap[this.type]?\"notification--\".concat(typeMap[this.type]):'';},horizontalClass:function horizontalClass(){return this.position.indexOf('right')>-1?'right':'left';},verticalProperty:function verticalProperty(){return /^top-/.test(this.position)?'top':'bottom';},positionStyle:function positionStyle(){return _defineProperty({},this.verticalProperty,\"\".concat(this.verticalOffset,\"px\"));}},methods:{destroyElement:function destroyElement(){clearInterval(this.intervalId);this.$el.removeEventListener('transitionend',this.destroyElement);this.$destroy(true);this.$el.parentNode.removeChild(this.$el);},click:function click(){if(typeof this.onClick==='function'){this.onClick();}},close:function close(){this.closed=true;this.progress=100;clearInterval(this.intervalId);if(typeof this.onClose==='function'){this.onClose();}},clearTimer:function clearTimer(){clearTimeout(this.timer);clearInterval(this.intervalId);},startTimer:function startTimer(){var _this=this;if(this.duration>0){this.startTime=Date.now();clearInterval(this.intervalId);var updateInterval=100;this.intervalId=setInterval(function(){var elapsed=Date.now()-_this.startTime;_this.progress=Math.min(elapsed/_this.duration*100,100);},updateInterval);this.timer=setTimeout(function(){if(!_this.closed){_this.close();}},this.duration);}},keydown:function keydown(e){if(e.keyCode===46||e.keyCode===8){this.clearTimer();}else if(e.keyCode===27){if(!this.closed){this.close();}}else{this.startTimer();}}},watch:{closed:function closed(newVal){if(newVal){this.visible=false;this.$el.addEventListener('transitionend',this.destroyElement);}}},mounted:function mounted(){if(this.duration>0){this.startTimer();}document.addEventListener('keydown',this.keydown);},beforeDestroy:function beforeDestroy(){document.removeEventListener('keydown',this.keydown);}};","import mod from \"-!../../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./main.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./main.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./main.vue?vue&type=template&id=8bda0038&scoped=true&\"\nimport script from \"./main.vue?vue&type=script&lang=js&\"\nexport * from \"./main.vue?vue&type=script&lang=js&\"\nimport style0 from \"./main.vue?vue&type=style&index=0&id=8bda0038&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8bda0038\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{\"name\":\"el-notification-fade\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.visible),expression:\"visible\"}],class:['el-notification', 'el-notification--center', _vm.customClass, _vm.horizontalClass, _vm.backgroundClass, {'el-notification--with-progress': _vm.duration > 0 }],style:(_vm.positionStyle),attrs:{\"role\":\"alert\"},on:{\"mouseenter\":function($event){return _vm.clearTimer()},\"mouseleave\":function($event){return _vm.startTimer()},\"click\":_vm.click}},[(_vm.type || _vm.iconClass)?_c('i',{staticClass:\"el-notification__icon\",class:[ _vm.typeClass, _vm.iconClass ]}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"el-notification__group ml-8\",class:{ 'is-with-icon': _vm.typeClass || _vm.iconClass }},[_c('div',{staticClass:\"el-notification__title\",domProps:{\"textContent\":_vm._s(_vm.title)}}),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.message),expression:\"message\"}],staticClass:\"el-notification__content mt-2\"},[_vm._t(\"default\",function(){return [(!_vm.dangerouslyUseHTMLString)?_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.message)+\"\\n \")]):_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.message)},on:{\"click\":_vm.callback}})]})],2),_vm._v(\" \"),(_vm.showClose)?_c('div',{staticClass:\"el-notification__closeBtn el-icon-close close-button\",on:{\"click\":function($event){$event.stopPropagation();return _vm.close.apply(null, arguments)}}}):_vm._e()]),_vm._v(\" \"),_c('Progress',{staticClass:\"notification__progress-bar\",attrs:{\"percentage\":_vm.progress,\"show-text\":false,\"stroke-width\":2,\"color\":\"#ffffff\",\"define-back-color\":\"transparent\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"el-form-item\",class:[{\n 'el-form-item--feedback': _vm.elForm && _vm.elForm.statusIcon,\n 'is-error': _vm.validateState === 'error',\n 'is-validating': _vm.validateState === 'validating',\n 'is-success': _vm.validateState === 'success',\n 'is-required': _vm.isRequired || _vm.required,\n 'is-no-asterisk': _vm.elForm && _vm.elForm.hideRequiredAsterisk\n },\n _vm.sizeClass ? 'el-form-item--' + _vm.sizeClass : ''\n ]},[_c('label-wrap',{attrs:{\"is-auto-width\":_vm.labelStyle && _vm.labelStyle.width === 'auto',\"update-all\":_vm.form.labelWidth === 'auto'}},[(_vm.label || _vm.$slots.label)?_c('label',{staticClass:\"el-form-item__label\",style:(_vm.labelStyle),attrs:{\"for\":_vm.labelFor}},[_vm._t(\"label\",function(){return [_vm._v(_vm._s(_vm.label + _vm.form.labelSuffix))]})],2):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"el-form-item__content\",style:(_vm.contentStyle)},[_vm._t(\"default\"),_vm._v(\" \"),(_vm.withoutTextAnimation)?[(_vm.validateState === 'error' && _vm.showMessage && _vm.form.showMessage)?_vm._t(\"error\",function(){return [_c('div',{staticClass:\"el-form-item__error\",class:{\n 'el-form-item__error--inline': typeof _vm.inlineMessage === 'boolean'\n ? _vm.inlineMessage\n : (_vm.elForm && _vm.elForm.inlineMessage || false)\n }},[_vm._v(\"\\n \"+_vm._s(_vm.validateMessage)+\"\\n \")])]},{\"error\":_vm.validateMessage}):_vm._e()]:_c('transition',{attrs:{\"name\":\"el-zoom-in-top\"}},[(_vm.validateState === 'error' && _vm.showMessage && _vm.form.showMessage)?_vm._t(\"error\",function(){return [_c('div',{staticClass:\"el-form-item__error\",class:{\n 'el-form-item__error--inline': typeof _vm.inlineMessage === 'boolean'\n ? _vm.inlineMessage\n : (_vm.elForm && _vm.elForm.inlineMessage || false)\n }},[_vm._v(\"\\n \"+_vm._s(_vm.validateMessage)+\"\\n \")])]},{\"error\":_vm.validateMessage}):_vm._e()],2)],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormItem.vue?vue&type=script&lang=js&\"","import{FormItem}from'element-ui';export default{\"extends\":FormItem,props:{withoutTextAnimation:{type:Boolean,\"default\":false}},methods:{emitBlur:function emitBlur(){this.$emit('input:blur');},emitFocus:function emitFocus(){this.$emit('input:focus');}},mounted:function mounted(){this.$on('el.form.input.blur',this.emitBlur);this.$on('el.form.input.focus',this.emitFocus);}};","import { render, staticRenderFns } from \"./FormItem.vue?vue&type=template&id=d74a1652&\"\nimport script from \"./FormItem.vue?vue&type=script&lang=js&\"\nexport * from \"./FormItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.isShow)?_c('div',{staticClass:\"vc-overlay\",attrs:{\"id\":\"vueSelect\"},on:{\"click\":_vm.handleClickOverlay}},[_c('transition',{attrs:{\"name\":\"zoom\"}},[(_vm.isShow)?_c('div',{ref:\"SelectDialog\",staticClass:\"vc-container\"},[_c('span',{staticClass:\"vc-text-grid\"},[(_vm.dialog.title)?_c('h5',{staticClass:\"vc-title\",domProps:{\"innerHTML\":_vm._s(_vm.dialog.title)}}):_vm._e(),_vm._v(\" \"),(_vm.dialog.message)?_c('p',{staticClass:\"vc-text\",domProps:{\"innerHTML\":_vm._s(_vm.dialog.message)}}):_vm._e()]),_vm._v(\" \"),(_vm.hasMultipleButtons)?_c('div',{staticClass:\"vc-btn-grid is-mono\"},_vm._l((_vm.dialog.buttons),function(button){return _c('button',{key:button.value,class:['vc-btn', { 'vc-btn--without-delimiter': button.withoutDelimiter }],attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return (e => _vm.handleClickButton(e, button.value)).apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(button.label)+\"\\n \")])}),0):_c('div',{staticClass:\"vc-btn-grid\",class:{ isMono: !_vm.dialog.button.no || !_vm.dialog.button.yes }},[(_vm.dialog.button.no)?_c('button',{staticClass:\"vc-btn left\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return (e => _vm.handleClickButton(e, false)).apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(_vm.dialog.button.no)+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.dialog.button.yes)?_c('button',{staticClass:\"vc-btn\",attrs:{\"disabled\":_vm.dialog.auth ? !_vm.password : false,\"type\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return (e => _vm.handleClickButton(e, true)).apply(null, arguments)}}},[_vm._v(\"\\n \"+_vm._s(_vm.dialog.button.yes)+\"\\n \")]):_vm._e()])]):_vm._e()])],1):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break;}}catch(err){_d=true;_e=err;}finally{try{if(!_n&&_i[\"return\"]!=null)_i[\"return\"]();}finally{if(_d)throw _e;}}return _arr;}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}import Vue from'vue';import{events}from'./events';Vue.directive('focus',{inserted:function inserted(el){el.focus();}});export default{name:'SelectDialog',data:function data(){return{isShow:false,dialog:{title:'',message:'',buttons:[],button:{}},params:{}};},computed:{hasMultipleButtons:function hasMultipleButtons(){return this.dialog.buttons.length>0;}},methods:{resetState:function resetState(){this.dialog={title:'',message:'',buttons:[],button:{},callback:function callback(){}};},handleClickButton:function handleClickButton(e,value){if(e.target.id==='vueSelect')return;this.closeDialog();this.$emit('action',value);if(this.params.callback){this.params.callback(value);}},handleClickOverlay:function handleClickOverlay(_ref){var target=_ref.target;if(target.id==='vueSelect'){this.closeDialog();if(this.params.callback){this.params.callback(false);}}},handleKeyUp:function handleKeyUp(_ref2){var keyCode=_ref2.keyCode;if(keyCode===27){this.handleClickOverlay({target:{id:'vueSelect'}});}},open:function open(params){var _this=this;this.resetState();this.params=params;this.isShow=true;window.addEventListener('touchmove',this.preventScroll,{passive:false});Object.entries(params).forEach(function(_ref3){var _ref4=_slicedToArray(_ref3,2),key=_ref4[0],value=_ref4[1];if(typeof value===typeof _this.dialog[key]){_this.dialog[key]=value;}});},preventScroll:function preventScroll(e){e.preventDefault();},closeDialog:function closeDialog(){this.isShow=false;window.removeEventListener('touchmove',this.preventScroll,{passive:false});}},mounted:function mounted(){var _this2=this;if(!document)return;events.$on('openSelectDialog',this.open);events.$on('closeSelectDialog',function(){_this2.handleClickOverlay({target:{id:'vueSelect'}});});}};","import mod from \"-!../../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectDialog.vue?vue&type=template&id=a8315e28&\"\nimport script from \"./SelectDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SelectDialog.vue?vue&type=style&index=0&id=a8315e28&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Column.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Column.vue?vue&type=script&lang=js&\"","import{Col}from'element-ui';export default{\"extends\":Col};","var render, staticRenderFns\nimport script from \"./Column.vue?vue&type=script&lang=js&\"\nexport * from \"./Column.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Column.vue?vue&type=style&index=0&id=8ea86386&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dropdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dropdown.vue?vue&type=script&lang=js&\"","import{Dropdown}from'element-ui';export default{\"extends\":Dropdown,methods:{handleMenuItemClickAnalytics:function handleMenuItemClickAnalytics(command,instance){var _instance$$el$attribu;if((_instance$$el$attribu=instance.$el.attributes['data-analytics-id'])!==null&&_instance$$el$attribu!==void 0&&_instance$$el$attribu.value){var _instance$$el$attribu2;this.$store.dispatch('analytics/trackEvent',{analytics:{category:this.$route.name,action:'click',label:(_instance$$el$attribu2=instance.$el.attributes['data-analytics-id'])===null||_instance$$el$attribu2===void 0?void 0:_instance$$el$attribu2.value}});}},handleVisibleChange:function handleVisibleChange(isVisible){if(isVisible){this.$el.classList.add('open');}else{this.$el.classList.remove('open');}}},mounted:function mounted(){this.$on('menu-item-click',this.handleMenuItemClickAnalytics);this.$on('visible-change',this.handleVisibleChange);}};","var render, staticRenderFns\nimport script from \"./Dropdown.vue?vue&type=script&lang=js&\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownMenu.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownMenu.vue?vue&type=script&lang=js&\"","import{DropdownMenu}from'element-ui';export default{\"extends\":DropdownMenu};","var render, staticRenderFns\nimport script from \"./DropdownMenu.vue?vue&type=script&lang=js&\"\nexport * from \"./DropdownMenu.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DropdownMenu.vue?vue&type=style&index=0&id=67e16932&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67e16932\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Form.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Form.vue?vue&type=script&lang=js&\"","import{Form}from'element-ui';export default{\"extends\":Form};","var render, staticRenderFns\nimport script from \"./Form.vue?vue&type=script&lang=js&\"\nexport * from \"./Form.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Option.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Option.vue?vue&type=script&lang=js&\"","import{Option}from'element-ui';export default{\"extends\":Option};","var render, staticRenderFns\nimport script from \"./Option.vue?vue&type=script&lang=js&\"\nexport * from \"./Option.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=script&lang=js&\"","import{Popover}from'element-ui';export default{\"extends\":Popover};","var render, staticRenderFns\nimport script from \"./Popover.vue?vue&type=script&lang=js&\"\nexport * from \"./Popover.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Popover.vue?vue&type=style&index=0&id=948e5918&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Radio.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Radio.vue?vue&type=script&lang=js&\"","import{Radio}from'element-ui';export default{\"extends\":Radio};","var render, staticRenderFns\nimport script from \"./Radio.vue?vue&type=script&lang=js&\"\nexport * from \"./Radio.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Radio.vue?vue&type=style&index=0&id=afc8219e&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioGroup.vue?vue&type=script&lang=js&\"","import{RadioGroup}from'element-ui';export default{\"extends\":RadioGroup};","var render, staticRenderFns\nimport script from \"./RadioGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./RadioGroup.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RadioGroup.vue?vue&type=style&index=0&id=6cc3ff54&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Table.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Table.vue?vue&type=script&lang=js&\"","import{Table}from'element-ui';import TableHeader from'./table/header';import TableBody from'./table/body';export default{components:{TableHeader:TableHeader,TableBody:TableBody},\"extends\":Table};","var render, staticRenderFns\nimport script from \"./Table.vue?vue&type=script&lang=js&\"\nexport * from \"./Table.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Table.vue?vue&type=style&index=0&id=6b431cb4&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableColumn.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableColumn.vue?vue&type=script&lang=js&\"","import{TableColumn}from'element-ui';export default{\"extends\":TableColumn};","var render, staticRenderFns\nimport script from \"./TableColumn.vue?vue&type=script&lang=js&\"\nexport * from \"./TableColumn.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tooltip.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tooltip.vue?vue&type=script&lang=js&\"","import{Tooltip}from'element-ui';export default{\"extends\":Tooltip,props:{openDelay:{type:Number,\"default\":500}}};","var render, staticRenderFns\nimport script from \"./Tooltip.vue?vue&type=script&lang=js&\"\nexport * from \"./Tooltip.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Tooltip.vue?vue&type=style&index=0&id=a7aa1250&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a7aa1250\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Drawer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Drawer.vue?vue&type=script&lang=js&\"","import{Drawer}from'element-ui';export default{\"extends\":Drawer};","var render, staticRenderFns\nimport script from \"./Drawer.vue?vue&type=script&lang=js&\"\nexport * from \"./Drawer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Drawer.vue?vue&type=style&index=0&id=3d489758&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d489758\",\n null\n \n)\n\nexport default component.exports","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import ElCheckbox from'element-ui/packages/checkbox';export default{name:'ElTableRow',props:['columns','row','index','isSelected','isExpanded','store','context','firstDefaultColumnIndex','treeRowData','treeIndent','columnsHidden','getSpan','getColspanRealWidth','getCellStyle','getCellClass','handleCellMouseLeave','handleCellMouseEnter','fixed'],components:{ElCheckbox:ElCheckbox},methods:{getCellDataTest:function getCellDataTest(column){var columnName=column.property||column.type;return\"\".concat(columnName,\"_column\");}},render:function render(){var _this=this;var h=arguments[0];var columns=this.columns,row=this.row,$index=this.index,store=this.store,context=this.context,firstDefaultColumnIndex=this.firstDefaultColumnIndex,treeRowData=this.treeRowData,treeIndent=this.treeIndent,_this$columnsHidden=this.columnsHidden,columnsHidden=_this$columnsHidden===void 0?[]:_this$columnsHidden,isSelected=this.isSelected,isExpanded=this.isExpanded;return h(\"tr\",[columns.map(function(column,cellIndex){var _this$getSpan=_this.getSpan(row,column,$index,cellIndex),rowspan=_this$getSpan.rowspan,colspan=_this$getSpan.colspan;if(!rowspan||!colspan){return null;}var columnData=_objectSpread({},column);columnData.realWidth=_this.getColspanRealWidth(columns,colspan,cellIndex);var data={store:store,isSelected:isSelected,isExpanded:isExpanded,_self:context,column:columnData,row:row,$index:$index};if(cellIndex===firstDefaultColumnIndex&&treeRowData){data.treeNode={indent:treeRowData.level*treeIndent,level:treeRowData.level};if(typeof treeRowData.expanded==='boolean'){data.treeNode.expanded=treeRowData.expanded;// è¡¨æ˜Žæ˜¯æ‡’åŠ è½½\nif('loading'in treeRowData){data.treeNode.loading=treeRowData.loading;}if('noLazyChildren'in treeRowData){data.treeNode.noLazyChildren=treeRowData.noLazyChildren;}}}return h(\"td\",{\"style\":_this.getCellStyle($index,cellIndex,row,column),\"class\":_this.getCellClass($index,cellIndex,row,column),\"attrs\":{\"rowspan\":rowspan,\"colspan\":colspan,\"data-test\":_this.getCellDataTest(data.column)},\"on\":{\"mouseenter\":function mouseenter($event){return _this.handleCellMouseEnter($event,row);},\"mouseleave\":_this.handleCellMouseLeave}},[column.renderCell.call(_this._renderProxy,_this.$createElement,data,columnsHidden[cellIndex])]);})]);}};","var SDK_VERSION = '7.101.0';\nexport { SDK_VERSION };","/* 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 _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); return Constructor; }\n\nimport { isThenable } from './is.js';\n/* eslint-disable @typescript-eslint/explicit-function-return-type */\n\n/** SyncPromise internal states */\n\nvar States;\n\n(function (States) {\n /** Pending */\n var PENDING = 0;\n States[States[\"PENDING\"] = PENDING] = \"PENDING\";\n /** Resolved / OK */\n\n var RESOLVED = 1;\n States[States[\"RESOLVED\"] = RESOLVED] = \"RESOLVED\";\n /** Rejected / Error */\n\n var REJECTED = 2;\n States[States[\"REJECTED\"] = REJECTED] = \"REJECTED\";\n})(States || (States = {})); // Overloads so we can call resolvedSyncPromise without arguments and generic argument\n\n/**\n * Creates a resolved sync promise.\n *\n * @param value the value to resolve the promise with\n * @returns the resolved sync promise\n */\n\n\nfunction resolvedSyncPromise(value) {\n return new SyncPromise(function (resolve) {\n resolve(value);\n });\n}\n/**\n * Creates a rejected sync promise.\n *\n * @param value the value to reject the promise with\n * @returns the rejected sync promise\n */\n\n\nfunction rejectedSyncPromise(reason) {\n return new SyncPromise(function (_, reject) {\n reject(reason);\n });\n}\n/**\n * Thenable class that behaves like a Promise and follows it's interface\n * but is not async internally\n */\n\n\nvar SyncPromise =\n/*#__PURE__*/\nfunction () {\n function SyncPromise(executor) {\n _classCallCheck(this, SyncPromise);\n\n SyncPromise.prototype.__init.call(this);\n\n SyncPromise.prototype.__init2.call(this);\n\n SyncPromise.prototype.__init3.call(this);\n\n SyncPromise.prototype.__init4.call(this);\n\n this._state = States.PENDING;\n this._handlers = [];\n\n try {\n executor(this._resolve, this._reject);\n } catch (e) {\n this._reject(e);\n }\n }\n /** JSDoc */\n\n\n _createClass(SyncPromise, [{\n key: \"then\",\n value: function then(onfulfilled, onrejected) {\n var _this = this;\n\n return new SyncPromise(function (resolve, reject) {\n _this._handlers.push([false, function (result) {\n if (!onfulfilled) {\n // TODO: ¯\\_(ツ)_/¯\n // TODO: FIXME\n resolve(result);\n } else {\n try {\n resolve(onfulfilled(result));\n } catch (e) {\n reject(e);\n }\n }\n }, function (reason) {\n if (!onrejected) {\n reject(reason);\n } else {\n try {\n resolve(onrejected(reason));\n } catch (e) {\n reject(e);\n }\n }\n }]);\n\n _this._executeHandlers();\n });\n }\n /** JSDoc */\n\n }, {\n key: \"catch\",\n value: function _catch(onrejected) {\n return this.then(function (val) {\n return val;\n }, onrejected);\n }\n /** JSDoc */\n\n }, {\n key: \"finally\",\n value: function _finally(onfinally) {\n var _this2 = this;\n\n return new SyncPromise(function (resolve, reject) {\n var val;\n var isRejected;\n return _this2.then(function (value) {\n isRejected = false;\n val = value;\n\n if (onfinally) {\n onfinally();\n }\n }, function (reason) {\n isRejected = true;\n val = reason;\n\n if (onfinally) {\n onfinally();\n }\n }).then(function () {\n if (isRejected) {\n reject(val);\n return;\n }\n\n resolve(val);\n });\n });\n }\n /** JSDoc */\n\n }, {\n key: \"__init\",\n value: function __init() {\n var _this3 = this;\n\n this._resolve = function (value) {\n _this3._setResult(States.RESOLVED, value);\n };\n }\n /** JSDoc */\n\n }, {\n key: \"__init2\",\n value: function __init2() {\n var _this4 = this;\n\n this._reject = function (reason) {\n _this4._setResult(States.REJECTED, reason);\n };\n }\n /** JSDoc */\n\n }, {\n key: \"__init3\",\n value: function __init3() {\n var _this5 = this;\n\n this._setResult = function (state, value) {\n if (_this5._state !== States.PENDING) {\n return;\n }\n\n if (isThenable(value)) {\n void value.then(_this5._resolve, _this5._reject);\n return;\n }\n\n _this5._state = state;\n _this5._value = value;\n\n _this5._executeHandlers();\n };\n }\n /** JSDoc */\n\n }, {\n key: \"__init4\",\n value: function __init4() {\n var _this6 = this;\n\n this._executeHandlers = function () {\n if (_this6._state === States.PENDING) {\n return;\n }\n\n var cachedHandlers = _this6._handlers.slice();\n\n _this6._handlers = [];\n cachedHandlers.forEach(function (handler) {\n if (handler[0]) {\n return;\n }\n\n if (_this6._state === States.RESOLVED) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n handler[1](_this6._value);\n }\n\n if (_this6._state === States.REJECTED) {\n handler[2](_this6._value);\n }\n\n handler[0] = true;\n });\n };\n }\n }]);\n\n return SyncPromise;\n}();\n\nexport { SyncPromise, rejectedSyncPromise, resolvedSyncPromise };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n\n/* global Reflect, Promise */\nvar _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nvar _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\nexport { _assign as __assign };\nexport function __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {\n if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n }\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nexport function __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nexport function __metadata(metadataKey, metadataValue) {\n if ((typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nexport function __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function sent() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n\n while (_) {\n try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n\n case 7:\n op = _.ops.pop();\n\n _.trys.pop();\n\n continue;\n\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n\n if (t && _.label < t[2]) {\n _.label = t[2];\n\n _.ops.push(op);\n\n break;\n }\n\n if (t[2]) _.ops.pop();\n\n _.trys.pop();\n\n continue;\n }\n\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n }\n\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nexport var __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function get() {\n return m[k];\n }\n };\n }\n\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nexport function __exportStar(m, o) {\n for (var p in m) {\n if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n }\n}\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function next() {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {\n ar.push(r.value);\n }\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n\n return ar;\n}\n/** @deprecated */\n\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) {\n ar = ar.concat(__read(arguments[i]));\n }\n\n return ar;\n}\n/** @deprecated */\n\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) {\n s += arguments[i].length;\n }\n\n for (var r = Array(s), k = 0, i = 0; i < il; i++) {\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {\n r[k] = a[j];\n }\n }\n\n return r;\n}\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n\n function fulfill(value) {\n resume(\"next\", value);\n }\n\n function reject(value) {\n resume(\"throw\", value);\n }\n\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: n === \"return\"\n } : f ? f(v) : v;\n } : f;\n }\n}\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n\n return cooked;\n}\n;\n\nvar __setModuleDefault = Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n }\n\n __setModuleDefault(result, mod);\n\n return result;\n}\nexport function __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n}\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;\n}\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || _typeof(receiver) !== \"object\" && typeof receiver !== \"function\") throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Return true if `value` is object-like. A value is object-like if it's not\n * `null` and has a `typeof` result of \"object\".\n */\nexport function isObjectLike(value) {\n return _typeof(value) == 'object' && value !== null;\n}","export function invariant(condition, message) {\n var booleanCondition = Boolean(condition);\n\n if (!booleanCondition) {\n throw new Error(message != null ? message : 'Unexpected invariant triggered.');\n }\n}","import { invariant } from '../jsutils/invariant.mjs';\nvar LineRegExp = /\\r\\n|[\\n\\r]/g;\n/**\n * Represents a location in a Source.\n */\n\n/**\n * Takes a Source and a UTF-8 character offset, and returns the corresponding\n * line and column as a SourceLocation.\n */\n\nexport function getLocation(source, position) {\n var lastLineStart = 0;\n var line = 1;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = source.body.matchAll(LineRegExp)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var match = _step.value;\n typeof match.index === 'number' || invariant(false);\n\n if (match.index >= position) {\n break;\n }\n\n lastLineStart = match.index + match[0].length;\n line += 1;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return {\n line: line,\n column: position + 1 - lastLineStart\n };\n}","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { getLocation } from './location.mjs';\n/**\n * Render a helpful description of the location in the GraphQL Source document.\n */\n\nexport function printLocation(location) {\n return printSourceLocation(location.source, getLocation(location.source, location.start));\n}\n/**\n * Render a helpful description of the location in the GraphQL Source document.\n */\n\nexport function printSourceLocation(source, sourceLocation) {\n var firstLineColumnOffset = source.locationOffset.column - 1;\n var body = ''.padStart(firstLineColumnOffset) + source.body;\n var lineIndex = sourceLocation.line - 1;\n var lineOffset = source.locationOffset.line - 1;\n var lineNum = sourceLocation.line + lineOffset;\n var columnOffset = sourceLocation.line === 1 ? firstLineColumnOffset : 0;\n var columnNum = sourceLocation.column + columnOffset;\n var locationStr = \"\".concat(source.name, \":\").concat(lineNum, \":\").concat(columnNum, \"\\n\");\n var lines = body.split(/\\r\\n|[\\n\\r]/g);\n var locationLine = lines[lineIndex]; // Special case for minified documents\n\n if (locationLine.length > 120) {\n var subLineIndex = Math.floor(columnNum / 80);\n var subLineColumnNum = columnNum % 80;\n var subLines = [];\n\n for (var i = 0; i < locationLine.length; i += 80) {\n subLines.push(locationLine.slice(i, i + 80));\n }\n\n return locationStr + printPrefixedLines([[\"\".concat(lineNum, \" |\"), subLines[0]]].concat(_toConsumableArray(subLines.slice(1, subLineIndex + 1).map(function (subLine) {\n return ['|', subLine];\n })), [['|', '^'.padStart(subLineColumnNum)], ['|', subLines[subLineIndex + 1]]]));\n }\n\n return locationStr + printPrefixedLines([// Lines specified like this: [\"prefix\", \"string\"],\n [\"\".concat(lineNum - 1, \" |\"), lines[lineIndex - 1]], [\"\".concat(lineNum, \" |\"), locationLine], ['|', '^'.padStart(columnNum)], [\"\".concat(lineNum + 1, \" |\"), lines[lineIndex + 1]]]);\n}\n\nfunction printPrefixedLines(lines) {\n var existingLines = lines.filter(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n _ = _ref2[0],\n line = _ref2[1];\n\n return line !== undefined;\n });\n var padLen = Math.max.apply(Math, _toConsumableArray(existingLines.map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 1),\n prefix = _ref4[0];\n\n return prefix.length;\n })));\n return existingLines.map(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n prefix = _ref6[0],\n line = _ref6[1];\n\n return prefix.padStart(padLen) + (line ? ' ' + line : '');\n }).join('\\n');\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\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); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } 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 _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nimport { isObjectLike } from '../jsutils/isObjectLike.mjs';\nimport { getLocation } from '../language/location.mjs';\nimport { printLocation, printSourceLocation } from '../language/printLocation.mjs';\n\nfunction toNormalizedOptions(args) {\n var firstArg = args[0];\n\n if (firstArg == null || 'kind' in firstArg || 'length' in firstArg) {\n return {\n nodes: firstArg,\n source: args[1],\n positions: args[2],\n path: args[3],\n originalError: args[4],\n extensions: args[5]\n };\n }\n\n return firstArg;\n}\n/**\n * A GraphQLError describes an Error found during the parse, validate, or\n * execute phases of performing a GraphQL operation. In addition to a message\n * and stack trace, it also includes information about the locations in a\n * GraphQL document and/or execution result that correspond to the Error.\n */\n\n\nexport var GraphQLError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(GraphQLError, _Error);\n\n /**\n * An array of `{ line, column }` locations within the source GraphQL document\n * which correspond to this error.\n *\n * Errors during validation often contain multiple locations, for example to\n * point out two things with the same name. Errors during execution include a\n * single location, the field which produced the error.\n *\n * Enumerable, and appears in the result of JSON.stringify().\n */\n\n /**\n * An array describing the JSON-path into the execution response which\n * corresponds to this error. Only included for errors during execution.\n *\n * Enumerable, and appears in the result of JSON.stringify().\n */\n\n /**\n * An array of GraphQL AST Nodes corresponding to this error.\n */\n\n /**\n * The source GraphQL document for the first location of this error.\n *\n * Note that if this Error represents more than one node, the source may not\n * represent nodes after the first node.\n */\n\n /**\n * An array of character offsets within the source GraphQL document\n * which correspond to this error.\n */\n\n /**\n * The original error thrown from a field resolver during execution.\n */\n\n /**\n * Extension fields to add to the formatted error.\n */\n\n /**\n * @deprecated Please use the `GraphQLErrorOptions` constructor overload instead.\n */\n function GraphQLError(message) {\n var _this;\n\n _classCallCheck(this, GraphQLError);\n\n var _this$nodes, _nodeLocations$, _ref;\n\n for (var _len = arguments.length, rawArgs = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n rawArgs[_key - 1] = arguments[_key];\n }\n\n var _toNormalizedOptions = toNormalizedOptions(rawArgs),\n nodes = _toNormalizedOptions.nodes,\n source = _toNormalizedOptions.source,\n positions = _toNormalizedOptions.positions,\n path = _toNormalizedOptions.path,\n originalError = _toNormalizedOptions.originalError,\n extensions = _toNormalizedOptions.extensions;\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(GraphQLError).call(this, message));\n _this.name = 'GraphQLError';\n _this.path = path !== null && path !== void 0 ? path : undefined;\n _this.originalError = originalError !== null && originalError !== void 0 ? originalError : undefined; // Compute list of blame nodes.\n\n _this.nodes = undefinedIfEmpty(Array.isArray(nodes) ? nodes : nodes ? [nodes] : undefined);\n var nodeLocations = undefinedIfEmpty((_this$nodes = _this.nodes) === null || _this$nodes === void 0 ? void 0 : _this$nodes.map(function (node) {\n return node.loc;\n }).filter(function (loc) {\n return loc != null;\n })); // Compute locations in the source for the given nodes/positions.\n\n _this.source = source !== null && source !== void 0 ? source : nodeLocations === null || nodeLocations === void 0 ? void 0 : (_nodeLocations$ = nodeLocations[0]) === null || _nodeLocations$ === void 0 ? void 0 : _nodeLocations$.source;\n _this.positions = positions !== null && positions !== void 0 ? positions : nodeLocations === null || nodeLocations === void 0 ? void 0 : nodeLocations.map(function (loc) {\n return loc.start;\n });\n _this.locations = positions && source ? positions.map(function (pos) {\n return getLocation(source, pos);\n }) : nodeLocations === null || nodeLocations === void 0 ? void 0 : nodeLocations.map(function (loc) {\n return getLocation(loc.source, loc.start);\n });\n var originalExtensions = isObjectLike(originalError === null || originalError === void 0 ? void 0 : originalError.extensions) ? originalError === null || originalError === void 0 ? void 0 : originalError.extensions : undefined;\n _this.extensions = (_ref = extensions !== null && extensions !== void 0 ? extensions : originalExtensions) !== null && _ref !== void 0 ? _ref : Object.create(null); // Only properties prescribed by the spec should be enumerable.\n // Keep the rest as non-enumerable.\n\n Object.defineProperties(_assertThisInitialized(_this), {\n message: {\n writable: true,\n enumerable: true\n },\n name: {\n enumerable: false\n },\n nodes: {\n enumerable: false\n },\n source: {\n enumerable: false\n },\n positions: {\n enumerable: false\n },\n originalError: {\n enumerable: false\n }\n }); // Include (non-enumerable) stack trace.\n\n /* c8 ignore start */\n // FIXME: https://github.com/graphql/graphql-js/issues/2317\n\n if (originalError !== null && originalError !== void 0 && originalError.stack) {\n Object.defineProperty(_assertThisInitialized(_this), 'stack', {\n value: originalError.stack,\n writable: true,\n configurable: true\n });\n } else if (Error.captureStackTrace) {\n Error.captureStackTrace(_assertThisInitialized(_this), GraphQLError);\n } else {\n Object.defineProperty(_assertThisInitialized(_this), 'stack', {\n value: Error().stack,\n writable: true,\n configurable: true\n });\n }\n /* c8 ignore stop */\n\n\n return _this;\n }\n\n _createClass(GraphQLError, [{\n key: \"toString\",\n value: function toString() {\n var output = this.message;\n\n if (this.nodes) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = this.nodes[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var node = _step.value;\n\n if (node.loc) {\n output += '\\n\\n' + printLocation(node.loc);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n } else if (this.source && this.locations) {\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = this.locations[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var location = _step2.value;\n output += '\\n\\n' + printSourceLocation(this.source, location);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n\n return output;\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n var formattedError = {\n message: this.message\n };\n\n if (this.locations != null) {\n formattedError.locations = this.locations;\n }\n\n if (this.path != null) {\n formattedError.path = this.path;\n }\n\n if (this.extensions != null && Object.keys(this.extensions).length > 0) {\n formattedError.extensions = this.extensions;\n }\n\n return formattedError;\n }\n }, {\n key: Symbol.toStringTag,\n get: function get() {\n return 'GraphQLError';\n }\n }]);\n\n return GraphQLError;\n}(_wrapNativeSuper(Error));\n\nfunction undefinedIfEmpty(array) {\n return array === undefined || array.length === 0 ? undefined : array;\n}\n/**\n * See: https://spec.graphql.org/draft/#sec-Errors\n */\n\n/**\n * Prints a GraphQLError to a string, representing useful location information\n * about the error's position in the source.\n *\n * @deprecated Please use `error.toString` instead. Will be removed in v17\n */\n\n\nexport function printError(error) {\n return error.toString();\n}\n/**\n * Given a GraphQLError, format it according to the rules described by the\n * Response Format, Errors section of the GraphQL Specification.\n *\n * @deprecated Please use `error.toJSON` instead. Will be removed in v17\n */\n\nexport function formatError(error) {\n return error.toJSON();\n}","import { GraphQLError } from './GraphQLError.mjs';\n/**\n * Produces a GraphQLError representing a syntax error, containing useful\n * descriptive information about the syntax error's position in the source.\n */\n\nexport function syntaxError(source, position, description) {\n return new GraphQLError(\"Syntax Error: \".concat(description), {\n source: source,\n positions: [position]\n });\n}","/**\n * The set of allowed directive location values.\n */\nvar DirectiveLocation;\n\n(function (DirectiveLocation) {\n DirectiveLocation['QUERY'] = 'QUERY';\n DirectiveLocation['MUTATION'] = 'MUTATION';\n DirectiveLocation['SUBSCRIPTION'] = 'SUBSCRIPTION';\n DirectiveLocation['FIELD'] = 'FIELD';\n DirectiveLocation['FRAGMENT_DEFINITION'] = 'FRAGMENT_DEFINITION';\n DirectiveLocation['FRAGMENT_SPREAD'] = 'FRAGMENT_SPREAD';\n DirectiveLocation['INLINE_FRAGMENT'] = 'INLINE_FRAGMENT';\n DirectiveLocation['VARIABLE_DEFINITION'] = 'VARIABLE_DEFINITION';\n DirectiveLocation['SCHEMA'] = 'SCHEMA';\n DirectiveLocation['SCALAR'] = 'SCALAR';\n DirectiveLocation['OBJECT'] = 'OBJECT';\n DirectiveLocation['FIELD_DEFINITION'] = 'FIELD_DEFINITION';\n DirectiveLocation['ARGUMENT_DEFINITION'] = 'ARGUMENT_DEFINITION';\n DirectiveLocation['INTERFACE'] = 'INTERFACE';\n DirectiveLocation['UNION'] = 'UNION';\n DirectiveLocation['ENUM'] = 'ENUM';\n DirectiveLocation['ENUM_VALUE'] = 'ENUM_VALUE';\n DirectiveLocation['INPUT_OBJECT'] = 'INPUT_OBJECT';\n DirectiveLocation['INPUT_FIELD_DEFINITION'] = 'INPUT_FIELD_DEFINITION';\n})(DirectiveLocation || (DirectiveLocation = {}));\n\nexport { DirectiveLocation };\n/**\n * The enum type representing the directive location values.\n *\n * @deprecated Please use `DirectiveLocation`. Will be remove in v17.\n */","/**\n * An exported enum describing the different kinds of tokens that the\n * lexer emits.\n */\nvar TokenKind;\n\n(function (TokenKind) {\n TokenKind['SOF'] = '<SOF>';\n TokenKind['EOF'] = '<EOF>';\n TokenKind['BANG'] = '!';\n TokenKind['DOLLAR'] = '$';\n TokenKind['AMP'] = '&';\n TokenKind['PAREN_L'] = '(';\n TokenKind['PAREN_R'] = ')';\n TokenKind['SPREAD'] = '...';\n TokenKind['COLON'] = ':';\n TokenKind['EQUALS'] = '=';\n TokenKind['AT'] = '@';\n TokenKind['BRACKET_L'] = '[';\n TokenKind['BRACKET_R'] = ']';\n TokenKind['BRACE_L'] = '{';\n TokenKind['PIPE'] = '|';\n TokenKind['BRACE_R'] = '}';\n TokenKind['NAME'] = 'Name';\n TokenKind['INT'] = 'Int';\n TokenKind['FLOAT'] = 'Float';\n TokenKind['STRING'] = 'String';\n TokenKind['BLOCK_STRING'] = 'BlockString';\n TokenKind['COMMENT'] = 'Comment';\n})(TokenKind || (TokenKind = {}));\n\nexport { TokenKind };\n/**\n * The enum type representing the token kinds values.\n *\n * @deprecated Please use `TokenKind`. Will be remove in v17.\n */","function _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); return Constructor; }\n\nimport { syntaxError } from '../error/syntaxError.mjs';\nimport { Token } from './ast.mjs';\nimport { dedentBlockStringLines } from './blockString.mjs';\nimport { isDigit, isNameContinue, isNameStart } from './characterClasses.mjs';\nimport { TokenKind } from './tokenKind.mjs';\n/**\n * Given a Source object, creates a Lexer for that source.\n * A Lexer is a stateful stream generator in that every time\n * it is advanced, it returns the next token in the Source. Assuming the\n * source lexes, the final Token emitted by the lexer will be of kind\n * EOF, after which the lexer will repeatedly return the same EOF token\n * whenever called.\n */\n\nexport var Lexer =\n/*#__PURE__*/\nfunction () {\n /**\n * The previously focused non-ignored token.\n */\n\n /**\n * The currently focused non-ignored token.\n */\n\n /**\n * The (1-indexed) line containing the current token.\n */\n\n /**\n * The character offset at which the current line begins.\n */\n function Lexer(source) {\n _classCallCheck(this, Lexer);\n\n var startOfFileToken = new Token(TokenKind.SOF, 0, 0, 0, 0);\n this.source = source;\n this.lastToken = startOfFileToken;\n this.token = startOfFileToken;\n this.line = 1;\n this.lineStart = 0;\n }\n\n _createClass(Lexer, [{\n key: \"advance\",\n\n /**\n * Advances the token stream to the next non-ignored token.\n */\n value: function advance() {\n this.lastToken = this.token;\n var token = this.token = this.lookahead();\n return token;\n }\n /**\n * Looks ahead and returns the next non-ignored token, but does not change\n * the state of Lexer.\n */\n\n }, {\n key: \"lookahead\",\n value: function lookahead() {\n var token = this.token;\n\n if (token.kind !== TokenKind.EOF) {\n do {\n if (token.next) {\n token = token.next;\n } else {\n // Read the next token and form a link in the token linked-list.\n var nextToken = readNextToken(this, token.end); // @ts-expect-error next is only mutable during parsing.\n\n token.next = nextToken; // @ts-expect-error prev is only mutable during parsing.\n\n nextToken.prev = token;\n token = nextToken;\n }\n } while (token.kind === TokenKind.COMMENT);\n }\n\n return token;\n }\n }, {\n key: Symbol.toStringTag,\n get: function get() {\n return 'Lexer';\n }\n }]);\n\n return Lexer;\n}();\n/**\n * @internal\n */\n\nexport function isPunctuatorTokenKind(kind) {\n return kind === TokenKind.BANG || kind === TokenKind.DOLLAR || kind === TokenKind.AMP || kind === TokenKind.PAREN_L || kind === TokenKind.PAREN_R || kind === TokenKind.SPREAD || kind === TokenKind.COLON || kind === TokenKind.EQUALS || kind === TokenKind.AT || kind === TokenKind.BRACKET_L || kind === TokenKind.BRACKET_R || kind === TokenKind.BRACE_L || kind === TokenKind.PIPE || kind === TokenKind.BRACE_R;\n}\n/**\n * A Unicode scalar value is any Unicode code point except surrogate code\n * points. In other words, the inclusive ranges of values 0x0000 to 0xD7FF and\n * 0xE000 to 0x10FFFF.\n *\n * SourceCharacter ::\n * - \"Any Unicode scalar value\"\n */\n\nfunction isUnicodeScalarValue(code) {\n return code >= 0x0000 && code <= 0xd7ff || code >= 0xe000 && code <= 0x10ffff;\n}\n/**\n * The GraphQL specification defines source text as a sequence of unicode scalar\n * values (which Unicode defines to exclude surrogate code points). However\n * JavaScript defines strings as a sequence of UTF-16 code units which may\n * include surrogates. A surrogate pair is a valid source character as it\n * encodes a supplementary code point (above U+FFFF), but unpaired surrogate\n * code points are not valid source characters.\n */\n\n\nfunction isSupplementaryCodePoint(body, location) {\n return isLeadingSurrogate(body.charCodeAt(location)) && isTrailingSurrogate(body.charCodeAt(location + 1));\n}\n\nfunction isLeadingSurrogate(code) {\n return code >= 0xd800 && code <= 0xdbff;\n}\n\nfunction isTrailingSurrogate(code) {\n return code >= 0xdc00 && code <= 0xdfff;\n}\n/**\n * Prints the code point (or end of file reference) at a given location in a\n * source for use in error messages.\n *\n * Printable ASCII is printed quoted, while other points are printed in Unicode\n * code point form (ie. U+1234).\n */\n\n\nfunction printCodePointAt(lexer, location) {\n var code = lexer.source.body.codePointAt(location);\n\n if (code === undefined) {\n return TokenKind.EOF;\n } else if (code >= 0x0020 && code <= 0x007e) {\n // Printable ASCII\n var _char = String.fromCodePoint(code);\n\n return _char === '\"' ? \"'\\\"'\" : \"\\\"\".concat(_char, \"\\\"\");\n } // Unicode code point\n\n\n return 'U+' + code.toString(16).toUpperCase().padStart(4, '0');\n}\n/**\n * Create a token with line and column location information.\n */\n\n\nfunction createToken(lexer, kind, start, end, value) {\n var line = lexer.line;\n var col = 1 + start - lexer.lineStart;\n return new Token(kind, start, end, line, col, value);\n}\n/**\n * Gets the next token from the source starting at the given position.\n *\n * This skips over whitespace until it finds the next lexable token, then lexes\n * punctuators immediately or calls the appropriate helper function for more\n * complicated tokens.\n */\n\n\nfunction readNextToken(lexer, start) {\n var body = lexer.source.body;\n var bodyLength = body.length;\n var position = start;\n\n while (position < bodyLength) {\n var code = body.charCodeAt(position); // SourceCharacter\n\n switch (code) {\n // Ignored ::\n // - UnicodeBOM\n // - WhiteSpace\n // - LineTerminator\n // - Comment\n // - Comma\n //\n // UnicodeBOM :: \"Byte Order Mark (U+FEFF)\"\n //\n // WhiteSpace ::\n // - \"Horizontal Tab (U+0009)\"\n // - \"Space (U+0020)\"\n //\n // Comma :: ,\n case 0xfeff: // <BOM>\n\n case 0x0009: // \\t\n\n case 0x0020: // <space>\n\n case 0x002c:\n // ,\n ++position;\n continue;\n // LineTerminator ::\n // - \"New Line (U+000A)\"\n // - \"Carriage Return (U+000D)\" [lookahead != \"New Line (U+000A)\"]\n // - \"Carriage Return (U+000D)\" \"New Line (U+000A)\"\n\n case 0x000a:\n // \\n\n ++position;\n ++lexer.line;\n lexer.lineStart = position;\n continue;\n\n case 0x000d:\n // \\r\n if (body.charCodeAt(position + 1) === 0x000a) {\n position += 2;\n } else {\n ++position;\n }\n\n ++lexer.line;\n lexer.lineStart = position;\n continue;\n // Comment\n\n case 0x0023:\n // #\n return readComment(lexer, position);\n // Token ::\n // - Punctuator\n // - Name\n // - IntValue\n // - FloatValue\n // - StringValue\n //\n // Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | }\n\n case 0x0021:\n // !\n return createToken(lexer, TokenKind.BANG, position, position + 1);\n\n case 0x0024:\n // $\n return createToken(lexer, TokenKind.DOLLAR, position, position + 1);\n\n case 0x0026:\n // &\n return createToken(lexer, TokenKind.AMP, position, position + 1);\n\n case 0x0028:\n // (\n return createToken(lexer, TokenKind.PAREN_L, position, position + 1);\n\n case 0x0029:\n // )\n return createToken(lexer, TokenKind.PAREN_R, position, position + 1);\n\n case 0x002e:\n // .\n if (body.charCodeAt(position + 1) === 0x002e && body.charCodeAt(position + 2) === 0x002e) {\n return createToken(lexer, TokenKind.SPREAD, position, position + 3);\n }\n\n break;\n\n case 0x003a:\n // :\n return createToken(lexer, TokenKind.COLON, position, position + 1);\n\n case 0x003d:\n // =\n return createToken(lexer, TokenKind.EQUALS, position, position + 1);\n\n case 0x0040:\n // @\n return createToken(lexer, TokenKind.AT, position, position + 1);\n\n case 0x005b:\n // [\n return createToken(lexer, TokenKind.BRACKET_L, position, position + 1);\n\n case 0x005d:\n // ]\n return createToken(lexer, TokenKind.BRACKET_R, position, position + 1);\n\n case 0x007b:\n // {\n return createToken(lexer, TokenKind.BRACE_L, position, position + 1);\n\n case 0x007c:\n // |\n return createToken(lexer, TokenKind.PIPE, position, position + 1);\n\n case 0x007d:\n // }\n return createToken(lexer, TokenKind.BRACE_R, position, position + 1);\n // StringValue\n\n case 0x0022:\n // \"\n if (body.charCodeAt(position + 1) === 0x0022 && body.charCodeAt(position + 2) === 0x0022) {\n return readBlockString(lexer, position);\n }\n\n return readString(lexer, position);\n } // IntValue | FloatValue (Digit | -)\n\n\n if (isDigit(code) || code === 0x002d) {\n return readNumber(lexer, position, code);\n } // Name\n\n\n if (isNameStart(code)) {\n return readName(lexer, position);\n }\n\n throw syntaxError(lexer.source, position, code === 0x0027 ? 'Unexpected single quote character (\\'), did you mean to use a double quote (\")?' : isUnicodeScalarValue(code) || isSupplementaryCodePoint(body, position) ? \"Unexpected character: \".concat(printCodePointAt(lexer, position), \".\") : \"Invalid character: \".concat(printCodePointAt(lexer, position), \".\"));\n }\n\n return createToken(lexer, TokenKind.EOF, bodyLength, bodyLength);\n}\n/**\n * Reads a comment token from the source file.\n *\n * ```\n * Comment :: # CommentChar* [lookahead != CommentChar]\n *\n * CommentChar :: SourceCharacter but not LineTerminator\n * ```\n */\n\n\nfunction readComment(lexer, start) {\n var body = lexer.source.body;\n var bodyLength = body.length;\n var position = start + 1;\n\n while (position < bodyLength) {\n var code = body.charCodeAt(position); // LineTerminator (\\n | \\r)\n\n if (code === 0x000a || code === 0x000d) {\n break;\n } // SourceCharacter\n\n\n if (isUnicodeScalarValue(code)) {\n ++position;\n } else if (isSupplementaryCodePoint(body, position)) {\n position += 2;\n } else {\n break;\n }\n }\n\n return createToken(lexer, TokenKind.COMMENT, start, position, body.slice(start + 1, position));\n}\n/**\n * Reads a number token from the source file, either a FloatValue or an IntValue\n * depending on whether a FractionalPart or ExponentPart is encountered.\n *\n * ```\n * IntValue :: IntegerPart [lookahead != {Digit, `.`, NameStart}]\n *\n * IntegerPart ::\n * - NegativeSign? 0\n * - NegativeSign? NonZeroDigit Digit*\n *\n * NegativeSign :: -\n *\n * NonZeroDigit :: Digit but not `0`\n *\n * FloatValue ::\n * - IntegerPart FractionalPart ExponentPart [lookahead != {Digit, `.`, NameStart}]\n * - IntegerPart FractionalPart [lookahead != {Digit, `.`, NameStart}]\n * - IntegerPart ExponentPart [lookahead != {Digit, `.`, NameStart}]\n *\n * FractionalPart :: . Digit+\n *\n * ExponentPart :: ExponentIndicator Sign? Digit+\n *\n * ExponentIndicator :: one of `e` `E`\n *\n * Sign :: one of + -\n * ```\n */\n\n\nfunction readNumber(lexer, start, firstCode) {\n var body = lexer.source.body;\n var position = start;\n var code = firstCode;\n var isFloat = false; // NegativeSign (-)\n\n if (code === 0x002d) {\n code = body.charCodeAt(++position);\n } // Zero (0)\n\n\n if (code === 0x0030) {\n code = body.charCodeAt(++position);\n\n if (isDigit(code)) {\n throw syntaxError(lexer.source, position, \"Invalid number, unexpected digit after 0: \".concat(printCodePointAt(lexer, position), \".\"));\n }\n } else {\n position = readDigits(lexer, position, code);\n code = body.charCodeAt(position);\n } // Full stop (.)\n\n\n if (code === 0x002e) {\n isFloat = true;\n code = body.charCodeAt(++position);\n position = readDigits(lexer, position, code);\n code = body.charCodeAt(position);\n } // E e\n\n\n if (code === 0x0045 || code === 0x0065) {\n isFloat = true;\n code = body.charCodeAt(++position); // + -\n\n if (code === 0x002b || code === 0x002d) {\n code = body.charCodeAt(++position);\n }\n\n position = readDigits(lexer, position, code);\n code = body.charCodeAt(position);\n } // Numbers cannot be followed by . or NameStart\n\n\n if (code === 0x002e || isNameStart(code)) {\n throw syntaxError(lexer.source, position, \"Invalid number, expected digit but got: \".concat(printCodePointAt(lexer, position), \".\"));\n }\n\n return createToken(lexer, isFloat ? TokenKind.FLOAT : TokenKind.INT, start, position, body.slice(start, position));\n}\n/**\n * Returns the new position in the source after reading one or more digits.\n */\n\n\nfunction readDigits(lexer, start, firstCode) {\n if (!isDigit(firstCode)) {\n throw syntaxError(lexer.source, start, \"Invalid number, expected digit but got: \".concat(printCodePointAt(lexer, start), \".\"));\n }\n\n var body = lexer.source.body;\n var position = start + 1; // +1 to skip first firstCode\n\n while (isDigit(body.charCodeAt(position))) {\n ++position;\n }\n\n return position;\n}\n/**\n * Reads a single-quote string token from the source file.\n *\n * ```\n * StringValue ::\n * - `\"\"` [lookahead != `\"`]\n * - `\"` StringCharacter+ `\"`\n *\n * StringCharacter ::\n * - SourceCharacter but not `\"` or `\\` or LineTerminator\n * - `\\u` EscapedUnicode\n * - `\\` EscapedCharacter\n *\n * EscapedUnicode ::\n * - `{` HexDigit+ `}`\n * - HexDigit HexDigit HexDigit HexDigit\n *\n * EscapedCharacter :: one of `\"` `\\` `/` `b` `f` `n` `r` `t`\n * ```\n */\n\n\nfunction readString(lexer, start) {\n var body = lexer.source.body;\n var bodyLength = body.length;\n var position = start + 1;\n var chunkStart = position;\n var value = '';\n\n while (position < bodyLength) {\n var code = body.charCodeAt(position); // Closing Quote (\")\n\n if (code === 0x0022) {\n value += body.slice(chunkStart, position);\n return createToken(lexer, TokenKind.STRING, start, position + 1, value);\n } // Escape Sequence (\\)\n\n\n if (code === 0x005c) {\n value += body.slice(chunkStart, position);\n\n var _escape = body.charCodeAt(position + 1) === 0x0075 // u\n ? body.charCodeAt(position + 2) === 0x007b // {\n ? readEscapedUnicodeVariableWidth(lexer, position) : readEscapedUnicodeFixedWidth(lexer, position) : readEscapedCharacter(lexer, position);\n\n value += _escape.value;\n position += _escape.size;\n chunkStart = position;\n continue;\n } // LineTerminator (\\n | \\r)\n\n\n if (code === 0x000a || code === 0x000d) {\n break;\n } // SourceCharacter\n\n\n if (isUnicodeScalarValue(code)) {\n ++position;\n } else if (isSupplementaryCodePoint(body, position)) {\n position += 2;\n } else {\n throw syntaxError(lexer.source, position, \"Invalid character within String: \".concat(printCodePointAt(lexer, position), \".\"));\n }\n }\n\n throw syntaxError(lexer.source, position, 'Unterminated string.');\n} // The string value and lexed size of an escape sequence.\n\n\nfunction readEscapedUnicodeVariableWidth(lexer, position) {\n var body = lexer.source.body;\n var point = 0;\n var size = 3; // Cannot be larger than 12 chars (\\u{00000000}).\n\n while (size < 12) {\n var code = body.charCodeAt(position + size++); // Closing Brace (})\n\n if (code === 0x007d) {\n // Must be at least 5 chars (\\u{0}) and encode a Unicode scalar value.\n if (size < 5 || !isUnicodeScalarValue(point)) {\n break;\n }\n\n return {\n value: String.fromCodePoint(point),\n size: size\n };\n } // Append this hex digit to the code point.\n\n\n point = point << 4 | readHexDigit(code);\n\n if (point < 0) {\n break;\n }\n }\n\n throw syntaxError(lexer.source, position, \"Invalid Unicode escape sequence: \\\"\".concat(body.slice(position, position + size), \"\\\".\"));\n}\n\nfunction readEscapedUnicodeFixedWidth(lexer, position) {\n var body = lexer.source.body;\n var code = read16BitHexCode(body, position + 2);\n\n if (isUnicodeScalarValue(code)) {\n return {\n value: String.fromCodePoint(code),\n size: 6\n };\n } // GraphQL allows JSON-style surrogate pair escape sequences, but only when\n // a valid pair is formed.\n\n\n if (isLeadingSurrogate(code)) {\n // \\u\n if (body.charCodeAt(position + 6) === 0x005c && body.charCodeAt(position + 7) === 0x0075) {\n var trailingCode = read16BitHexCode(body, position + 8);\n\n if (isTrailingSurrogate(trailingCode)) {\n // JavaScript defines strings as a sequence of UTF-16 code units and\n // encodes Unicode code points above U+FFFF using a surrogate pair of\n // code units. Since this is a surrogate pair escape sequence, just\n // include both codes into the JavaScript string value. Had JavaScript\n // not been internally based on UTF-16, then this surrogate pair would\n // be decoded to retrieve the supplementary code point.\n return {\n value: String.fromCodePoint(code, trailingCode),\n size: 12\n };\n }\n }\n }\n\n throw syntaxError(lexer.source, position, \"Invalid Unicode escape sequence: \\\"\".concat(body.slice(position, position + 6), \"\\\".\"));\n}\n/**\n * Reads four hexadecimal characters and returns the positive integer that 16bit\n * hexadecimal string represents. For example, \"000f\" will return 15, and \"dead\"\n * will return 57005.\n *\n * Returns a negative number if any char was not a valid hexadecimal digit.\n */\n\n\nfunction read16BitHexCode(body, position) {\n // readHexDigit() returns -1 on error. ORing a negative value with any other\n // value always produces a negative value.\n return readHexDigit(body.charCodeAt(position)) << 12 | readHexDigit(body.charCodeAt(position + 1)) << 8 | readHexDigit(body.charCodeAt(position + 2)) << 4 | readHexDigit(body.charCodeAt(position + 3));\n}\n/**\n * Reads a hexadecimal character and returns its positive integer value (0-15).\n *\n * '0' becomes 0, '9' becomes 9\n * 'A' becomes 10, 'F' becomes 15\n * 'a' becomes 10, 'f' becomes 15\n *\n * Returns -1 if the provided character code was not a valid hexadecimal digit.\n *\n * HexDigit :: one of\n * - `0` `1` `2` `3` `4` `5` `6` `7` `8` `9`\n * - `A` `B` `C` `D` `E` `F`\n * - `a` `b` `c` `d` `e` `f`\n */\n\n\nfunction readHexDigit(code) {\n return code >= 0x0030 && code <= 0x0039 // 0-9\n ? code - 0x0030 : code >= 0x0041 && code <= 0x0046 // A-F\n ? code - 0x0037 : code >= 0x0061 && code <= 0x0066 // a-f\n ? code - 0x0057 : -1;\n}\n/**\n * | Escaped Character | Code Point | Character Name |\n * | ----------------- | ---------- | ---------------------------- |\n * | `\"` | U+0022 | double quote |\n * | `\\` | U+005C | reverse solidus (back slash) |\n * | `/` | U+002F | solidus (forward slash) |\n * | `b` | U+0008 | backspace |\n * | `f` | U+000C | form feed |\n * | `n` | U+000A | line feed (new line) |\n * | `r` | U+000D | carriage return |\n * | `t` | U+0009 | horizontal tab |\n */\n\n\nfunction readEscapedCharacter(lexer, position) {\n var body = lexer.source.body;\n var code = body.charCodeAt(position + 1);\n\n switch (code) {\n case 0x0022:\n // \"\n return {\n value: \"\\\"\",\n size: 2\n };\n\n case 0x005c:\n // \\\n return {\n value: \"\\\\\",\n size: 2\n };\n\n case 0x002f:\n // /\n return {\n value: \"/\",\n size: 2\n };\n\n case 0x0062:\n // b\n return {\n value: \"\\b\",\n size: 2\n };\n\n case 0x0066:\n // f\n return {\n value: \"\\f\",\n size: 2\n };\n\n case 0x006e:\n // n\n return {\n value: \"\\n\",\n size: 2\n };\n\n case 0x0072:\n // r\n return {\n value: \"\\r\",\n size: 2\n };\n\n case 0x0074:\n // t\n return {\n value: \"\\t\",\n size: 2\n };\n }\n\n throw syntaxError(lexer.source, position, \"Invalid character escape sequence: \\\"\".concat(body.slice(position, position + 2), \"\\\".\"));\n}\n/**\n * Reads a block string token from the source file.\n *\n * ```\n * StringValue ::\n * - `\"\"\"` BlockStringCharacter* `\"\"\"`\n *\n * BlockStringCharacter ::\n * - SourceCharacter but not `\"\"\"` or `\\\"\"\"`\n * - `\\\"\"\"`\n * ```\n */\n\n\nfunction readBlockString(lexer, start) {\n var body = lexer.source.body;\n var bodyLength = body.length;\n var lineStart = lexer.lineStart;\n var position = start + 3;\n var chunkStart = position;\n var currentLine = '';\n var blockLines = [];\n\n while (position < bodyLength) {\n var code = body.charCodeAt(position); // Closing Triple-Quote (\"\"\")\n\n if (code === 0x0022 && body.charCodeAt(position + 1) === 0x0022 && body.charCodeAt(position + 2) === 0x0022) {\n currentLine += body.slice(chunkStart, position);\n blockLines.push(currentLine);\n var token = createToken(lexer, TokenKind.BLOCK_STRING, start, position + 3, // Return a string of the lines joined with U+000A.\n dedentBlockStringLines(blockLines).join('\\n'));\n lexer.line += blockLines.length - 1;\n lexer.lineStart = lineStart;\n return token;\n } // Escaped Triple-Quote (\\\"\"\")\n\n\n if (code === 0x005c && body.charCodeAt(position + 1) === 0x0022 && body.charCodeAt(position + 2) === 0x0022 && body.charCodeAt(position + 3) === 0x0022) {\n currentLine += body.slice(chunkStart, position);\n chunkStart = position + 1; // skip only slash\n\n position += 4;\n continue;\n } // LineTerminator\n\n\n if (code === 0x000a || code === 0x000d) {\n currentLine += body.slice(chunkStart, position);\n blockLines.push(currentLine);\n\n if (code === 0x000d && body.charCodeAt(position + 1) === 0x000a) {\n position += 2;\n } else {\n ++position;\n }\n\n currentLine = '';\n chunkStart = position;\n lineStart = position;\n continue;\n } // SourceCharacter\n\n\n if (isUnicodeScalarValue(code)) {\n ++position;\n } else if (isSupplementaryCodePoint(body, position)) {\n position += 2;\n } else {\n throw syntaxError(lexer.source, position, \"Invalid character within String: \".concat(printCodePointAt(lexer, position), \".\"));\n }\n }\n\n throw syntaxError(lexer.source, position, 'Unterminated string.');\n}\n/**\n * Reads an alphanumeric + underscore name from the source.\n *\n * ```\n * Name ::\n * - NameStart NameContinue* [lookahead != NameContinue]\n * ```\n */\n\n\nfunction readName(lexer, start) {\n var body = lexer.source.body;\n var bodyLength = body.length;\n var position = start + 1;\n\n while (position < bodyLength) {\n var code = body.charCodeAt(position);\n\n if (isNameContinue(code)) {\n ++position;\n } else {\n break;\n }\n }\n\n return createToken(lexer, TokenKind.NAME, start, position, body.slice(start, position));\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { inspect } from './inspect.mjs';\n/**\n * A replacement for instanceof which includes an error warning when multi-realm\n * constructors are detected.\n * See: https://expressjs.com/en/advanced/best-practice-performance.html#set-node_env-to-production\n * See: https://webpack.js.org/guides/production/\n */\n\nexport var instanceOf =\n/* c8 ignore next 6 */\n// FIXME: https://github.com/graphql/graphql-js/issues/2317\nglobalThis.process && globalThis.process.env.NODE_ENV === 'production' ? function instanceOf(value, constructor) {\n return value instanceof constructor;\n} : function instanceOf(value, constructor) {\n if (value instanceof constructor) {\n return true;\n }\n\n if (_typeof(value) === 'object' && value !== null) {\n var _value$constructor; // Prefer Symbol.toStringTag since it is immune to minification.\n\n\n var className = constructor.prototype[Symbol.toStringTag];\n var valueClassName = // We still need to support constructor's name to detect conflicts with older versions of this library.\n Symbol.toStringTag in value // @ts-expect-error TS bug see, https://github.com/microsoft/TypeScript/issues/38009\n ? value[Symbol.toStringTag] : (_value$constructor = value.constructor) === null || _value$constructor === void 0 ? void 0 : _value$constructor.name;\n\n if (className === valueClassName) {\n var stringifiedValue = inspect(value);\n throw new Error(\"Cannot use \".concat(className, \" \\\"\").concat(stringifiedValue, \"\\\" from another module or realm.\\n\\nEnsure that there is only one instance of \\\"graphql\\\" in the node_modules\\ndirectory. If different versions of \\\"graphql\\\" are the dependencies of other\\nrelied on modules, use \\\"resolutions\\\" to ensure only one version is installed.\\n\\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\\n\\nDuplicate \\\"graphql\\\" modules cannot be used at the same time since different\\nversions may have different capabilities and behavior. The data from one\\nversion used in the function from another could produce confusing and\\nspurious results.\"));\n }\n }\n\n return false;\n};","function _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); return Constructor; }\n\nimport { devAssert } from '../jsutils/devAssert.mjs';\nimport { inspect } from '../jsutils/inspect.mjs';\nimport { instanceOf } from '../jsutils/instanceOf.mjs';\n/**\n * A representation of source input to GraphQL. The `name` and `locationOffset` parameters are\n * optional, but they are useful for clients who store GraphQL documents in source files.\n * For example, if the GraphQL input starts at line 40 in a file named `Foo.graphql`, it might\n * be useful for `name` to be `\"Foo.graphql\"` and location to be `{ line: 40, column: 1 }`.\n * The `line` and `column` properties in `locationOffset` are 1-indexed.\n */\n\nexport var Source =\n/*#__PURE__*/\nfunction () {\n function Source(body) {\n var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'GraphQL request';\n var locationOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n line: 1,\n column: 1\n };\n\n _classCallCheck(this, Source);\n\n typeof body === 'string' || devAssert(false, \"Body must be a string. Received: \".concat(inspect(body), \".\"));\n this.body = body;\n this.name = name;\n this.locationOffset = locationOffset;\n this.locationOffset.line > 0 || devAssert(false, 'line in locationOffset is 1-indexed and must be positive.');\n this.locationOffset.column > 0 || devAssert(false, 'column in locationOffset is 1-indexed and must be positive.');\n }\n\n _createClass(Source, [{\n key: Symbol.toStringTag,\n get: function get() {\n return 'Source';\n }\n }]);\n\n return Source;\n}();\n/**\n * Test if the given value is a Source object.\n *\n * @internal\n */\n\nexport function isSource(source) {\n return instanceOf(source, Source);\n}","function _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); return Constructor; }\n\nimport { syntaxError } from '../error/syntaxError.mjs';\nimport { Location, OperationTypeNode } from './ast.mjs';\nimport { DirectiveLocation } from './directiveLocation.mjs';\nimport { Kind } from './kinds.mjs';\nimport { isPunctuatorTokenKind, Lexer } from './lexer.mjs';\nimport { isSource, Source } from './source.mjs';\nimport { TokenKind } from './tokenKind.mjs';\n/**\n * Configuration options to control parser behavior\n */\n\n/**\n * Given a GraphQL source, parses it into a Document.\n * Throws GraphQLError if a syntax error is encountered.\n */\n\nexport function parse(source, options) {\n var parser = new Parser(source, options);\n return parser.parseDocument();\n}\n/**\n * Given a string containing a GraphQL value (ex. `[42]`), parse the AST for\n * that value.\n * Throws GraphQLError if a syntax error is encountered.\n *\n * This is useful within tools that operate upon GraphQL Values directly and\n * in isolation of complete GraphQL documents.\n *\n * Consider providing the results to the utility function: valueFromAST().\n */\n\nexport function parseValue(source, options) {\n var parser = new Parser(source, options);\n parser.expectToken(TokenKind.SOF);\n var value = parser.parseValueLiteral(false);\n parser.expectToken(TokenKind.EOF);\n return value;\n}\n/**\n * Similar to parseValue(), but raises a parse error if it encounters a\n * variable. The return type will be a constant value.\n */\n\nexport function parseConstValue(source, options) {\n var parser = new Parser(source, options);\n parser.expectToken(TokenKind.SOF);\n var value = parser.parseConstValueLiteral();\n parser.expectToken(TokenKind.EOF);\n return value;\n}\n/**\n * Given a string containing a GraphQL Type (ex. `[Int!]`), parse the AST for\n * that type.\n * Throws GraphQLError if a syntax error is encountered.\n *\n * This is useful within tools that operate upon GraphQL Types directly and\n * in isolation of complete GraphQL documents.\n *\n * Consider providing the results to the utility function: typeFromAST().\n */\n\nexport function parseType(source, options) {\n var parser = new Parser(source, options);\n parser.expectToken(TokenKind.SOF);\n var type = parser.parseTypeReference();\n parser.expectToken(TokenKind.EOF);\n return type;\n}\n/**\n * This class is exported only to assist people in implementing their own parsers\n * without duplicating too much code and should be used only as last resort for cases\n * such as experimental syntax or if certain features could not be contributed upstream.\n *\n * It is still part of the internal API and is versioned, so any changes to it are never\n * considered breaking changes. If you still need to support multiple versions of the\n * library, please use the `versionInfo` variable for version detection.\n *\n * @internal\n */\n\nexport var Parser =\n/*#__PURE__*/\nfunction () {\n function Parser(source) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n _classCallCheck(this, Parser);\n\n var sourceObj = isSource(source) ? source : new Source(source);\n this._lexer = new Lexer(sourceObj);\n this._options = options;\n this._tokenCounter = 0;\n }\n /**\n * Converts a name lex token into a name parse node.\n */\n\n\n _createClass(Parser, [{\n key: \"parseName\",\n value: function parseName() {\n var token = this.expectToken(TokenKind.NAME);\n return this.node(token, {\n kind: Kind.NAME,\n value: token.value\n });\n } // Implements the parsing rules in the Document section.\n\n /**\n * Document : Definition+\n */\n\n }, {\n key: \"parseDocument\",\n value: function parseDocument() {\n return this.node(this._lexer.token, {\n kind: Kind.DOCUMENT,\n definitions: this.many(TokenKind.SOF, this.parseDefinition, TokenKind.EOF)\n });\n }\n /**\n * Definition :\n * - ExecutableDefinition\n * - TypeSystemDefinition\n * - TypeSystemExtension\n *\n * ExecutableDefinition :\n * - OperationDefinition\n * - FragmentDefinition\n *\n * TypeSystemDefinition :\n * - SchemaDefinition\n * - TypeDefinition\n * - DirectiveDefinition\n *\n * TypeDefinition :\n * - ScalarTypeDefinition\n * - ObjectTypeDefinition\n * - InterfaceTypeDefinition\n * - UnionTypeDefinition\n * - EnumTypeDefinition\n * - InputObjectTypeDefinition\n */\n\n }, {\n key: \"parseDefinition\",\n value: function parseDefinition() {\n if (this.peek(TokenKind.BRACE_L)) {\n return this.parseOperationDefinition();\n } // Many definitions begin with a description and require a lookahead.\n\n\n var hasDescription = this.peekDescription();\n var keywordToken = hasDescription ? this._lexer.lookahead() : this._lexer.token;\n\n if (keywordToken.kind === TokenKind.NAME) {\n switch (keywordToken.value) {\n case 'schema':\n return this.parseSchemaDefinition();\n\n case 'scalar':\n return this.parseScalarTypeDefinition();\n\n case 'type':\n return this.parseObjectTypeDefinition();\n\n case 'interface':\n return this.parseInterfaceTypeDefinition();\n\n case 'union':\n return this.parseUnionTypeDefinition();\n\n case 'enum':\n return this.parseEnumTypeDefinition();\n\n case 'input':\n return this.parseInputObjectTypeDefinition();\n\n case 'directive':\n return this.parseDirectiveDefinition();\n }\n\n if (hasDescription) {\n throw syntaxError(this._lexer.source, this._lexer.token.start, 'Unexpected description, descriptions are supported only on type definitions.');\n }\n\n switch (keywordToken.value) {\n case 'query':\n case 'mutation':\n case 'subscription':\n return this.parseOperationDefinition();\n\n case 'fragment':\n return this.parseFragmentDefinition();\n\n case 'extend':\n return this.parseTypeSystemExtension();\n }\n }\n\n throw this.unexpected(keywordToken);\n } // Implements the parsing rules in the Operations section.\n\n /**\n * OperationDefinition :\n * - SelectionSet\n * - OperationType Name? VariableDefinitions? Directives? SelectionSet\n */\n\n }, {\n key: \"parseOperationDefinition\",\n value: function parseOperationDefinition() {\n var start = this._lexer.token;\n\n if (this.peek(TokenKind.BRACE_L)) {\n return this.node(start, {\n kind: Kind.OPERATION_DEFINITION,\n operation: OperationTypeNode.QUERY,\n name: undefined,\n variableDefinitions: [],\n directives: [],\n selectionSet: this.parseSelectionSet()\n });\n }\n\n var operation = this.parseOperationType();\n var name;\n\n if (this.peek(TokenKind.NAME)) {\n name = this.parseName();\n }\n\n return this.node(start, {\n kind: Kind.OPERATION_DEFINITION,\n operation: operation,\n name: name,\n variableDefinitions: this.parseVariableDefinitions(),\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet()\n });\n }\n /**\n * OperationType : one of query mutation subscription\n */\n\n }, {\n key: \"parseOperationType\",\n value: function parseOperationType() {\n var operationToken = this.expectToken(TokenKind.NAME);\n\n switch (operationToken.value) {\n case 'query':\n return OperationTypeNode.QUERY;\n\n case 'mutation':\n return OperationTypeNode.MUTATION;\n\n case 'subscription':\n return OperationTypeNode.SUBSCRIPTION;\n }\n\n throw this.unexpected(operationToken);\n }\n /**\n * VariableDefinitions : ( VariableDefinition+ )\n */\n\n }, {\n key: \"parseVariableDefinitions\",\n value: function parseVariableDefinitions() {\n return this.optionalMany(TokenKind.PAREN_L, this.parseVariableDefinition, TokenKind.PAREN_R);\n }\n /**\n * VariableDefinition : Variable : Type DefaultValue? Directives[Const]?\n */\n\n }, {\n key: \"parseVariableDefinition\",\n value: function parseVariableDefinition() {\n return this.node(this._lexer.token, {\n kind: Kind.VARIABLE_DEFINITION,\n variable: this.parseVariable(),\n type: (this.expectToken(TokenKind.COLON), this.parseTypeReference()),\n defaultValue: this.expectOptionalToken(TokenKind.EQUALS) ? this.parseConstValueLiteral() : undefined,\n directives: this.parseConstDirectives()\n });\n }\n /**\n * Variable : $ Name\n */\n\n }, {\n key: \"parseVariable\",\n value: function parseVariable() {\n var start = this._lexer.token;\n this.expectToken(TokenKind.DOLLAR);\n return this.node(start, {\n kind: Kind.VARIABLE,\n name: this.parseName()\n });\n }\n /**\n * ```\n * SelectionSet : { Selection+ }\n * ```\n */\n\n }, {\n key: \"parseSelectionSet\",\n value: function parseSelectionSet() {\n return this.node(this._lexer.token, {\n kind: Kind.SELECTION_SET,\n selections: this.many(TokenKind.BRACE_L, this.parseSelection, TokenKind.BRACE_R)\n });\n }\n /**\n * Selection :\n * - Field\n * - FragmentSpread\n * - InlineFragment\n */\n\n }, {\n key: \"parseSelection\",\n value: function parseSelection() {\n return this.peek(TokenKind.SPREAD) ? this.parseFragment() : this.parseField();\n }\n /**\n * Field : Alias? Name Arguments? Directives? SelectionSet?\n *\n * Alias : Name :\n */\n\n }, {\n key: \"parseField\",\n value: function parseField() {\n var start = this._lexer.token;\n var nameOrAlias = this.parseName();\n var alias;\n var name;\n\n if (this.expectOptionalToken(TokenKind.COLON)) {\n alias = nameOrAlias;\n name = this.parseName();\n } else {\n name = nameOrAlias;\n }\n\n return this.node(start, {\n kind: Kind.FIELD,\n alias: alias,\n name: name,\n arguments: this.parseArguments(false),\n directives: this.parseDirectives(false),\n selectionSet: this.peek(TokenKind.BRACE_L) ? this.parseSelectionSet() : undefined\n });\n }\n /**\n * Arguments[Const] : ( Argument[?Const]+ )\n */\n\n }, {\n key: \"parseArguments\",\n value: function parseArguments(isConst) {\n var item = isConst ? this.parseConstArgument : this.parseArgument;\n return this.optionalMany(TokenKind.PAREN_L, item, TokenKind.PAREN_R);\n }\n /**\n * Argument[Const] : Name : Value[?Const]\n */\n\n }, {\n key: \"parseArgument\",\n value: function parseArgument() {\n var isConst = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var start = this._lexer.token;\n var name = this.parseName();\n this.expectToken(TokenKind.COLON);\n return this.node(start, {\n kind: Kind.ARGUMENT,\n name: name,\n value: this.parseValueLiteral(isConst)\n });\n }\n }, {\n key: \"parseConstArgument\",\n value: function parseConstArgument() {\n return this.parseArgument(true);\n } // Implements the parsing rules in the Fragments section.\n\n /**\n * Corresponds to both FragmentSpread and InlineFragment in the spec.\n *\n * FragmentSpread : ... FragmentName Directives?\n *\n * InlineFragment : ... TypeCondition? Directives? SelectionSet\n */\n\n }, {\n key: \"parseFragment\",\n value: function parseFragment() {\n var start = this._lexer.token;\n this.expectToken(TokenKind.SPREAD);\n var hasTypeCondition = this.expectOptionalKeyword('on');\n\n if (!hasTypeCondition && this.peek(TokenKind.NAME)) {\n return this.node(start, {\n kind: Kind.FRAGMENT_SPREAD,\n name: this.parseFragmentName(),\n directives: this.parseDirectives(false)\n });\n }\n\n return this.node(start, {\n kind: Kind.INLINE_FRAGMENT,\n typeCondition: hasTypeCondition ? this.parseNamedType() : undefined,\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet()\n });\n }\n /**\n * FragmentDefinition :\n * - fragment FragmentName on TypeCondition Directives? SelectionSet\n *\n * TypeCondition : NamedType\n */\n\n }, {\n key: \"parseFragmentDefinition\",\n value: function parseFragmentDefinition() {\n var start = this._lexer.token;\n this.expectKeyword('fragment'); // Legacy support for defining variables within fragments changes\n // the grammar of FragmentDefinition:\n // - fragment FragmentName VariableDefinitions? on TypeCondition Directives? SelectionSet\n\n if (this._options.allowLegacyFragmentVariables === true) {\n return this.node(start, {\n kind: Kind.FRAGMENT_DEFINITION,\n name: this.parseFragmentName(),\n variableDefinitions: this.parseVariableDefinitions(),\n typeCondition: (this.expectKeyword('on'), this.parseNamedType()),\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet()\n });\n }\n\n return this.node(start, {\n kind: Kind.FRAGMENT_DEFINITION,\n name: this.parseFragmentName(),\n typeCondition: (this.expectKeyword('on'), this.parseNamedType()),\n directives: this.parseDirectives(false),\n selectionSet: this.parseSelectionSet()\n });\n }\n /**\n * FragmentName : Name but not `on`\n */\n\n }, {\n key: \"parseFragmentName\",\n value: function parseFragmentName() {\n if (this._lexer.token.value === 'on') {\n throw this.unexpected();\n }\n\n return this.parseName();\n } // Implements the parsing rules in the Values section.\n\n /**\n * Value[Const] :\n * - [~Const] Variable\n * - IntValue\n * - FloatValue\n * - StringValue\n * - BooleanValue\n * - NullValue\n * - EnumValue\n * - ListValue[?Const]\n * - ObjectValue[?Const]\n *\n * BooleanValue : one of `true` `false`\n *\n * NullValue : `null`\n *\n * EnumValue : Name but not `true`, `false` or `null`\n */\n\n }, {\n key: \"parseValueLiteral\",\n value: function parseValueLiteral(isConst) {\n var token = this._lexer.token;\n\n switch (token.kind) {\n case TokenKind.BRACKET_L:\n return this.parseList(isConst);\n\n case TokenKind.BRACE_L:\n return this.parseObject(isConst);\n\n case TokenKind.INT:\n this.advanceLexer();\n return this.node(token, {\n kind: Kind.INT,\n value: token.value\n });\n\n case TokenKind.FLOAT:\n this.advanceLexer();\n return this.node(token, {\n kind: Kind.FLOAT,\n value: token.value\n });\n\n case TokenKind.STRING:\n case TokenKind.BLOCK_STRING:\n return this.parseStringLiteral();\n\n case TokenKind.NAME:\n this.advanceLexer();\n\n switch (token.value) {\n case 'true':\n return this.node(token, {\n kind: Kind.BOOLEAN,\n value: true\n });\n\n case 'false':\n return this.node(token, {\n kind: Kind.BOOLEAN,\n value: false\n });\n\n case 'null':\n return this.node(token, {\n kind: Kind.NULL\n });\n\n default:\n return this.node(token, {\n kind: Kind.ENUM,\n value: token.value\n });\n }\n\n case TokenKind.DOLLAR:\n if (isConst) {\n this.expectToken(TokenKind.DOLLAR);\n\n if (this._lexer.token.kind === TokenKind.NAME) {\n var varName = this._lexer.token.value;\n throw syntaxError(this._lexer.source, token.start, \"Unexpected variable \\\"$\".concat(varName, \"\\\" in constant value.\"));\n } else {\n throw this.unexpected(token);\n }\n }\n\n return this.parseVariable();\n\n default:\n throw this.unexpected();\n }\n }\n }, {\n key: \"parseConstValueLiteral\",\n value: function parseConstValueLiteral() {\n return this.parseValueLiteral(true);\n }\n }, {\n key: \"parseStringLiteral\",\n value: function parseStringLiteral() {\n var token = this._lexer.token;\n this.advanceLexer();\n return this.node(token, {\n kind: Kind.STRING,\n value: token.value,\n block: token.kind === TokenKind.BLOCK_STRING\n });\n }\n /**\n * ListValue[Const] :\n * - [ ]\n * - [ Value[?Const]+ ]\n */\n\n }, {\n key: \"parseList\",\n value: function parseList(isConst) {\n var _this = this;\n\n var item = function item() {\n return _this.parseValueLiteral(isConst);\n };\n\n return this.node(this._lexer.token, {\n kind: Kind.LIST,\n values: this.any(TokenKind.BRACKET_L, item, TokenKind.BRACKET_R)\n });\n }\n /**\n * ```\n * ObjectValue[Const] :\n * - { }\n * - { ObjectField[?Const]+ }\n * ```\n */\n\n }, {\n key: \"parseObject\",\n value: function parseObject(isConst) {\n var _this2 = this;\n\n var item = function item() {\n return _this2.parseObjectField(isConst);\n };\n\n return this.node(this._lexer.token, {\n kind: Kind.OBJECT,\n fields: this.any(TokenKind.BRACE_L, item, TokenKind.BRACE_R)\n });\n }\n /**\n * ObjectField[Const] : Name : Value[?Const]\n */\n\n }, {\n key: \"parseObjectField\",\n value: function parseObjectField(isConst) {\n var start = this._lexer.token;\n var name = this.parseName();\n this.expectToken(TokenKind.COLON);\n return this.node(start, {\n kind: Kind.OBJECT_FIELD,\n name: name,\n value: this.parseValueLiteral(isConst)\n });\n } // Implements the parsing rules in the Directives section.\n\n /**\n * Directives[Const] : Directive[?Const]+\n */\n\n }, {\n key: \"parseDirectives\",\n value: function parseDirectives(isConst) {\n var directives = [];\n\n while (this.peek(TokenKind.AT)) {\n directives.push(this.parseDirective(isConst));\n }\n\n return directives;\n }\n }, {\n key: \"parseConstDirectives\",\n value: function parseConstDirectives() {\n return this.parseDirectives(true);\n }\n /**\n * ```\n * Directive[Const] : @ Name Arguments[?Const]?\n * ```\n */\n\n }, {\n key: \"parseDirective\",\n value: function parseDirective(isConst) {\n var start = this._lexer.token;\n this.expectToken(TokenKind.AT);\n return this.node(start, {\n kind: Kind.DIRECTIVE,\n name: this.parseName(),\n arguments: this.parseArguments(isConst)\n });\n } // Implements the parsing rules in the Types section.\n\n /**\n * Type :\n * - NamedType\n * - ListType\n * - NonNullType\n */\n\n }, {\n key: \"parseTypeReference\",\n value: function parseTypeReference() {\n var start = this._lexer.token;\n var type;\n\n if (this.expectOptionalToken(TokenKind.BRACKET_L)) {\n var innerType = this.parseTypeReference();\n this.expectToken(TokenKind.BRACKET_R);\n type = this.node(start, {\n kind: Kind.LIST_TYPE,\n type: innerType\n });\n } else {\n type = this.parseNamedType();\n }\n\n if (this.expectOptionalToken(TokenKind.BANG)) {\n return this.node(start, {\n kind: Kind.NON_NULL_TYPE,\n type: type\n });\n }\n\n return type;\n }\n /**\n * NamedType : Name\n */\n\n }, {\n key: \"parseNamedType\",\n value: function parseNamedType() {\n return this.node(this._lexer.token, {\n kind: Kind.NAMED_TYPE,\n name: this.parseName()\n });\n } // Implements the parsing rules in the Type Definition section.\n\n }, {\n key: \"peekDescription\",\n value: function peekDescription() {\n return this.peek(TokenKind.STRING) || this.peek(TokenKind.BLOCK_STRING);\n }\n /**\n * Description : StringValue\n */\n\n }, {\n key: \"parseDescription\",\n value: function parseDescription() {\n if (this.peekDescription()) {\n return this.parseStringLiteral();\n }\n }\n /**\n * ```\n * SchemaDefinition : Description? schema Directives[Const]? { OperationTypeDefinition+ }\n * ```\n */\n\n }, {\n key: \"parseSchemaDefinition\",\n value: function parseSchemaDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('schema');\n var directives = this.parseConstDirectives();\n var operationTypes = this.many(TokenKind.BRACE_L, this.parseOperationTypeDefinition, TokenKind.BRACE_R);\n return this.node(start, {\n kind: Kind.SCHEMA_DEFINITION,\n description: description,\n directives: directives,\n operationTypes: operationTypes\n });\n }\n /**\n * OperationTypeDefinition : OperationType : NamedType\n */\n\n }, {\n key: \"parseOperationTypeDefinition\",\n value: function parseOperationTypeDefinition() {\n var start = this._lexer.token;\n var operation = this.parseOperationType();\n this.expectToken(TokenKind.COLON);\n var type = this.parseNamedType();\n return this.node(start, {\n kind: Kind.OPERATION_TYPE_DEFINITION,\n operation: operation,\n type: type\n });\n }\n /**\n * ScalarTypeDefinition : Description? scalar Name Directives[Const]?\n */\n\n }, {\n key: \"parseScalarTypeDefinition\",\n value: function parseScalarTypeDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('scalar');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.SCALAR_TYPE_DEFINITION,\n description: description,\n name: name,\n directives: directives\n });\n }\n /**\n * ObjectTypeDefinition :\n * Description?\n * type Name ImplementsInterfaces? Directives[Const]? FieldsDefinition?\n */\n\n }, {\n key: \"parseObjectTypeDefinition\",\n value: function parseObjectTypeDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('type');\n var name = this.parseName();\n var interfaces = this.parseImplementsInterfaces();\n var directives = this.parseConstDirectives();\n var fields = this.parseFieldsDefinition();\n return this.node(start, {\n kind: Kind.OBJECT_TYPE_DEFINITION,\n description: description,\n name: name,\n interfaces: interfaces,\n directives: directives,\n fields: fields\n });\n }\n /**\n * ImplementsInterfaces :\n * - implements `&`? NamedType\n * - ImplementsInterfaces & NamedType\n */\n\n }, {\n key: \"parseImplementsInterfaces\",\n value: function parseImplementsInterfaces() {\n return this.expectOptionalKeyword('implements') ? this.delimitedMany(TokenKind.AMP, this.parseNamedType) : [];\n }\n /**\n * ```\n * FieldsDefinition : { FieldDefinition+ }\n * ```\n */\n\n }, {\n key: \"parseFieldsDefinition\",\n value: function parseFieldsDefinition() {\n return this.optionalMany(TokenKind.BRACE_L, this.parseFieldDefinition, TokenKind.BRACE_R);\n }\n /**\n * FieldDefinition :\n * - Description? Name ArgumentsDefinition? : Type Directives[Const]?\n */\n\n }, {\n key: \"parseFieldDefinition\",\n value: function parseFieldDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n var name = this.parseName();\n var args = this.parseArgumentDefs();\n this.expectToken(TokenKind.COLON);\n var type = this.parseTypeReference();\n var directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.FIELD_DEFINITION,\n description: description,\n name: name,\n arguments: args,\n type: type,\n directives: directives\n });\n }\n /**\n * ArgumentsDefinition : ( InputValueDefinition+ )\n */\n\n }, {\n key: \"parseArgumentDefs\",\n value: function parseArgumentDefs() {\n return this.optionalMany(TokenKind.PAREN_L, this.parseInputValueDef, TokenKind.PAREN_R);\n }\n /**\n * InputValueDefinition :\n * - Description? Name : Type DefaultValue? Directives[Const]?\n */\n\n }, {\n key: \"parseInputValueDef\",\n value: function parseInputValueDef() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n var name = this.parseName();\n this.expectToken(TokenKind.COLON);\n var type = this.parseTypeReference();\n var defaultValue;\n\n if (this.expectOptionalToken(TokenKind.EQUALS)) {\n defaultValue = this.parseConstValueLiteral();\n }\n\n var directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.INPUT_VALUE_DEFINITION,\n description: description,\n name: name,\n type: type,\n defaultValue: defaultValue,\n directives: directives\n });\n }\n /**\n * InterfaceTypeDefinition :\n * - Description? interface Name Directives[Const]? FieldsDefinition?\n */\n\n }, {\n key: \"parseInterfaceTypeDefinition\",\n value: function parseInterfaceTypeDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('interface');\n var name = this.parseName();\n var interfaces = this.parseImplementsInterfaces();\n var directives = this.parseConstDirectives();\n var fields = this.parseFieldsDefinition();\n return this.node(start, {\n kind: Kind.INTERFACE_TYPE_DEFINITION,\n description: description,\n name: name,\n interfaces: interfaces,\n directives: directives,\n fields: fields\n });\n }\n /**\n * UnionTypeDefinition :\n * - Description? union Name Directives[Const]? UnionMemberTypes?\n */\n\n }, {\n key: \"parseUnionTypeDefinition\",\n value: function parseUnionTypeDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('union');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n var types = this.parseUnionMemberTypes();\n return this.node(start, {\n kind: Kind.UNION_TYPE_DEFINITION,\n description: description,\n name: name,\n directives: directives,\n types: types\n });\n }\n /**\n * UnionMemberTypes :\n * - = `|`? NamedType\n * - UnionMemberTypes | NamedType\n */\n\n }, {\n key: \"parseUnionMemberTypes\",\n value: function parseUnionMemberTypes() {\n return this.expectOptionalToken(TokenKind.EQUALS) ? this.delimitedMany(TokenKind.PIPE, this.parseNamedType) : [];\n }\n /**\n * EnumTypeDefinition :\n * - Description? enum Name Directives[Const]? EnumValuesDefinition?\n */\n\n }, {\n key: \"parseEnumTypeDefinition\",\n value: function parseEnumTypeDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('enum');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n var values = this.parseEnumValuesDefinition();\n return this.node(start, {\n kind: Kind.ENUM_TYPE_DEFINITION,\n description: description,\n name: name,\n directives: directives,\n values: values\n });\n }\n /**\n * ```\n * EnumValuesDefinition : { EnumValueDefinition+ }\n * ```\n */\n\n }, {\n key: \"parseEnumValuesDefinition\",\n value: function parseEnumValuesDefinition() {\n return this.optionalMany(TokenKind.BRACE_L, this.parseEnumValueDefinition, TokenKind.BRACE_R);\n }\n /**\n * EnumValueDefinition : Description? EnumValue Directives[Const]?\n */\n\n }, {\n key: \"parseEnumValueDefinition\",\n value: function parseEnumValueDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n var name = this.parseEnumValueName();\n var directives = this.parseConstDirectives();\n return this.node(start, {\n kind: Kind.ENUM_VALUE_DEFINITION,\n description: description,\n name: name,\n directives: directives\n });\n }\n /**\n * EnumValue : Name but not `true`, `false` or `null`\n */\n\n }, {\n key: \"parseEnumValueName\",\n value: function parseEnumValueName() {\n if (this._lexer.token.value === 'true' || this._lexer.token.value === 'false' || this._lexer.token.value === 'null') {\n throw syntaxError(this._lexer.source, this._lexer.token.start, \"\".concat(getTokenDesc(this._lexer.token), \" is reserved and cannot be used for an enum value.\"));\n }\n\n return this.parseName();\n }\n /**\n * InputObjectTypeDefinition :\n * - Description? input Name Directives[Const]? InputFieldsDefinition?\n */\n\n }, {\n key: \"parseInputObjectTypeDefinition\",\n value: function parseInputObjectTypeDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('input');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n var fields = this.parseInputFieldsDefinition();\n return this.node(start, {\n kind: Kind.INPUT_OBJECT_TYPE_DEFINITION,\n description: description,\n name: name,\n directives: directives,\n fields: fields\n });\n }\n /**\n * ```\n * InputFieldsDefinition : { InputValueDefinition+ }\n * ```\n */\n\n }, {\n key: \"parseInputFieldsDefinition\",\n value: function parseInputFieldsDefinition() {\n return this.optionalMany(TokenKind.BRACE_L, this.parseInputValueDef, TokenKind.BRACE_R);\n }\n /**\n * TypeSystemExtension :\n * - SchemaExtension\n * - TypeExtension\n *\n * TypeExtension :\n * - ScalarTypeExtension\n * - ObjectTypeExtension\n * - InterfaceTypeExtension\n * - UnionTypeExtension\n * - EnumTypeExtension\n * - InputObjectTypeDefinition\n */\n\n }, {\n key: \"parseTypeSystemExtension\",\n value: function parseTypeSystemExtension() {\n var keywordToken = this._lexer.lookahead();\n\n if (keywordToken.kind === TokenKind.NAME) {\n switch (keywordToken.value) {\n case 'schema':\n return this.parseSchemaExtension();\n\n case 'scalar':\n return this.parseScalarTypeExtension();\n\n case 'type':\n return this.parseObjectTypeExtension();\n\n case 'interface':\n return this.parseInterfaceTypeExtension();\n\n case 'union':\n return this.parseUnionTypeExtension();\n\n case 'enum':\n return this.parseEnumTypeExtension();\n\n case 'input':\n return this.parseInputObjectTypeExtension();\n }\n }\n\n throw this.unexpected(keywordToken);\n }\n /**\n * ```\n * SchemaExtension :\n * - extend schema Directives[Const]? { OperationTypeDefinition+ }\n * - extend schema Directives[Const]\n * ```\n */\n\n }, {\n key: \"parseSchemaExtension\",\n value: function parseSchemaExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('schema');\n var directives = this.parseConstDirectives();\n var operationTypes = this.optionalMany(TokenKind.BRACE_L, this.parseOperationTypeDefinition, TokenKind.BRACE_R);\n\n if (directives.length === 0 && operationTypes.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.SCHEMA_EXTENSION,\n directives: directives,\n operationTypes: operationTypes\n });\n }\n /**\n * ScalarTypeExtension :\n * - extend scalar Name Directives[Const]\n */\n\n }, {\n key: \"parseScalarTypeExtension\",\n value: function parseScalarTypeExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('scalar');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n\n if (directives.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.SCALAR_TYPE_EXTENSION,\n name: name,\n directives: directives\n });\n }\n /**\n * ObjectTypeExtension :\n * - extend type Name ImplementsInterfaces? Directives[Const]? FieldsDefinition\n * - extend type Name ImplementsInterfaces? Directives[Const]\n * - extend type Name ImplementsInterfaces\n */\n\n }, {\n key: \"parseObjectTypeExtension\",\n value: function parseObjectTypeExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('type');\n var name = this.parseName();\n var interfaces = this.parseImplementsInterfaces();\n var directives = this.parseConstDirectives();\n var fields = this.parseFieldsDefinition();\n\n if (interfaces.length === 0 && directives.length === 0 && fields.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.OBJECT_TYPE_EXTENSION,\n name: name,\n interfaces: interfaces,\n directives: directives,\n fields: fields\n });\n }\n /**\n * InterfaceTypeExtension :\n * - extend interface Name ImplementsInterfaces? Directives[Const]? FieldsDefinition\n * - extend interface Name ImplementsInterfaces? Directives[Const]\n * - extend interface Name ImplementsInterfaces\n */\n\n }, {\n key: \"parseInterfaceTypeExtension\",\n value: function parseInterfaceTypeExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('interface');\n var name = this.parseName();\n var interfaces = this.parseImplementsInterfaces();\n var directives = this.parseConstDirectives();\n var fields = this.parseFieldsDefinition();\n\n if (interfaces.length === 0 && directives.length === 0 && fields.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.INTERFACE_TYPE_EXTENSION,\n name: name,\n interfaces: interfaces,\n directives: directives,\n fields: fields\n });\n }\n /**\n * UnionTypeExtension :\n * - extend union Name Directives[Const]? UnionMemberTypes\n * - extend union Name Directives[Const]\n */\n\n }, {\n key: \"parseUnionTypeExtension\",\n value: function parseUnionTypeExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('union');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n var types = this.parseUnionMemberTypes();\n\n if (directives.length === 0 && types.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.UNION_TYPE_EXTENSION,\n name: name,\n directives: directives,\n types: types\n });\n }\n /**\n * EnumTypeExtension :\n * - extend enum Name Directives[Const]? EnumValuesDefinition\n * - extend enum Name Directives[Const]\n */\n\n }, {\n key: \"parseEnumTypeExtension\",\n value: function parseEnumTypeExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('enum');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n var values = this.parseEnumValuesDefinition();\n\n if (directives.length === 0 && values.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.ENUM_TYPE_EXTENSION,\n name: name,\n directives: directives,\n values: values\n });\n }\n /**\n * InputObjectTypeExtension :\n * - extend input Name Directives[Const]? InputFieldsDefinition\n * - extend input Name Directives[Const]\n */\n\n }, {\n key: \"parseInputObjectTypeExtension\",\n value: function parseInputObjectTypeExtension() {\n var start = this._lexer.token;\n this.expectKeyword('extend');\n this.expectKeyword('input');\n var name = this.parseName();\n var directives = this.parseConstDirectives();\n var fields = this.parseInputFieldsDefinition();\n\n if (directives.length === 0 && fields.length === 0) {\n throw this.unexpected();\n }\n\n return this.node(start, {\n kind: Kind.INPUT_OBJECT_TYPE_EXTENSION,\n name: name,\n directives: directives,\n fields: fields\n });\n }\n /**\n * ```\n * DirectiveDefinition :\n * - Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations\n * ```\n */\n\n }, {\n key: \"parseDirectiveDefinition\",\n value: function parseDirectiveDefinition() {\n var start = this._lexer.token;\n var description = this.parseDescription();\n this.expectKeyword('directive');\n this.expectToken(TokenKind.AT);\n var name = this.parseName();\n var args = this.parseArgumentDefs();\n var repeatable = this.expectOptionalKeyword('repeatable');\n this.expectKeyword('on');\n var locations = this.parseDirectiveLocations();\n return this.node(start, {\n kind: Kind.DIRECTIVE_DEFINITION,\n description: description,\n name: name,\n arguments: args,\n repeatable: repeatable,\n locations: locations\n });\n }\n /**\n * DirectiveLocations :\n * - `|`? DirectiveLocation\n * - DirectiveLocations | DirectiveLocation\n */\n\n }, {\n key: \"parseDirectiveLocations\",\n value: function parseDirectiveLocations() {\n return this.delimitedMany(TokenKind.PIPE, this.parseDirectiveLocation);\n }\n /*\n * DirectiveLocation :\n * - ExecutableDirectiveLocation\n * - TypeSystemDirectiveLocation\n *\n * ExecutableDirectiveLocation : one of\n * `QUERY`\n * `MUTATION`\n * `SUBSCRIPTION`\n * `FIELD`\n * `FRAGMENT_DEFINITION`\n * `FRAGMENT_SPREAD`\n * `INLINE_FRAGMENT`\n *\n * TypeSystemDirectiveLocation : one of\n * `SCHEMA`\n * `SCALAR`\n * `OBJECT`\n * `FIELD_DEFINITION`\n * `ARGUMENT_DEFINITION`\n * `INTERFACE`\n * `UNION`\n * `ENUM`\n * `ENUM_VALUE`\n * `INPUT_OBJECT`\n * `INPUT_FIELD_DEFINITION`\n */\n\n }, {\n key: \"parseDirectiveLocation\",\n value: function parseDirectiveLocation() {\n var start = this._lexer.token;\n var name = this.parseName();\n\n if (Object.prototype.hasOwnProperty.call(DirectiveLocation, name.value)) {\n return name;\n }\n\n throw this.unexpected(start);\n } // Core parsing utility functions\n\n /**\n * Returns a node that, if configured to do so, sets a \"loc\" field as a\n * location object, used to identify the place in the source that created a\n * given parsed object.\n */\n\n }, {\n key: \"node\",\n value: function node(startToken, _node) {\n if (this._options.noLocation !== true) {\n _node.loc = new Location(startToken, this._lexer.lastToken, this._lexer.source);\n }\n\n return _node;\n }\n /**\n * Determines if the next token is of a given kind\n */\n\n }, {\n key: \"peek\",\n value: function peek(kind) {\n return this._lexer.token.kind === kind;\n }\n /**\n * If the next token is of the given kind, return that token after advancing the lexer.\n * Otherwise, do not change the parser state and throw an error.\n */\n\n }, {\n key: \"expectToken\",\n value: function expectToken(kind) {\n var token = this._lexer.token;\n\n if (token.kind === kind) {\n this.advanceLexer();\n return token;\n }\n\n throw syntaxError(this._lexer.source, token.start, \"Expected \".concat(getTokenKindDesc(kind), \", found \").concat(getTokenDesc(token), \".\"));\n }\n /**\n * If the next token is of the given kind, return \"true\" after advancing the lexer.\n * Otherwise, do not change the parser state and return \"false\".\n */\n\n }, {\n key: \"expectOptionalToken\",\n value: function expectOptionalToken(kind) {\n var token = this._lexer.token;\n\n if (token.kind === kind) {\n this.advanceLexer();\n return true;\n }\n\n return false;\n }\n /**\n * If the next token is a given keyword, advance the lexer.\n * Otherwise, do not change the parser state and throw an error.\n */\n\n }, {\n key: \"expectKeyword\",\n value: function expectKeyword(value) {\n var token = this._lexer.token;\n\n if (token.kind === TokenKind.NAME && token.value === value) {\n this.advanceLexer();\n } else {\n throw syntaxError(this._lexer.source, token.start, \"Expected \\\"\".concat(value, \"\\\", found \").concat(getTokenDesc(token), \".\"));\n }\n }\n /**\n * If the next token is a given keyword, return \"true\" after advancing the lexer.\n * Otherwise, do not change the parser state and return \"false\".\n */\n\n }, {\n key: \"expectOptionalKeyword\",\n value: function expectOptionalKeyword(value) {\n var token = this._lexer.token;\n\n if (token.kind === TokenKind.NAME && token.value === value) {\n this.advanceLexer();\n return true;\n }\n\n return false;\n }\n /**\n * Helper function for creating an error when an unexpected lexed token is encountered.\n */\n\n }, {\n key: \"unexpected\",\n value: function unexpected(atToken) {\n var token = atToken !== null && atToken !== void 0 ? atToken : this._lexer.token;\n return syntaxError(this._lexer.source, token.start, \"Unexpected \".concat(getTokenDesc(token), \".\"));\n }\n /**\n * Returns a possibly empty list of parse nodes, determined by the parseFn.\n * This list begins with a lex token of openKind and ends with a lex token of closeKind.\n * Advances the parser to the next lex token after the closing token.\n */\n\n }, {\n key: \"any\",\n value: function any(openKind, parseFn, closeKind) {\n this.expectToken(openKind);\n var nodes = [];\n\n while (!this.expectOptionalToken(closeKind)) {\n nodes.push(parseFn.call(this));\n }\n\n return nodes;\n }\n /**\n * Returns a list of parse nodes, determined by the parseFn.\n * It can be empty only if open token is missing otherwise it will always return non-empty list\n * that begins with a lex token of openKind and ends with a lex token of closeKind.\n * Advances the parser to the next lex token after the closing token.\n */\n\n }, {\n key: \"optionalMany\",\n value: function optionalMany(openKind, parseFn, closeKind) {\n if (this.expectOptionalToken(openKind)) {\n var nodes = [];\n\n do {\n nodes.push(parseFn.call(this));\n } while (!this.expectOptionalToken(closeKind));\n\n return nodes;\n }\n\n return [];\n }\n /**\n * Returns a non-empty list of parse nodes, determined by the parseFn.\n * This list begins with a lex token of openKind and ends with a lex token of closeKind.\n * Advances the parser to the next lex token after the closing token.\n */\n\n }, {\n key: \"many\",\n value: function many(openKind, parseFn, closeKind) {\n this.expectToken(openKind);\n var nodes = [];\n\n do {\n nodes.push(parseFn.call(this));\n } while (!this.expectOptionalToken(closeKind));\n\n return nodes;\n }\n /**\n * Returns a non-empty list of parse nodes, determined by the parseFn.\n * This list may begin with a lex token of delimiterKind followed by items separated by lex tokens of tokenKind.\n * Advances the parser to the next lex token after last item in the list.\n */\n\n }, {\n key: \"delimitedMany\",\n value: function delimitedMany(delimiterKind, parseFn) {\n this.expectOptionalToken(delimiterKind);\n var nodes = [];\n\n do {\n nodes.push(parseFn.call(this));\n } while (this.expectOptionalToken(delimiterKind));\n\n return nodes;\n }\n }, {\n key: \"advanceLexer\",\n value: function advanceLexer() {\n var maxTokens = this._options.maxTokens;\n\n var token = this._lexer.advance();\n\n if (maxTokens !== undefined && token.kind !== TokenKind.EOF) {\n ++this._tokenCounter;\n\n if (this._tokenCounter > maxTokens) {\n throw syntaxError(this._lexer.source, token.start, \"Document contains more that \".concat(maxTokens, \" tokens. Parsing aborted.\"));\n }\n }\n }\n }]);\n\n return Parser;\n}();\n/**\n * A helper function to describe a token as a string for debugging.\n */\n\nfunction getTokenDesc(token) {\n var value = token.value;\n return getTokenKindDesc(token.kind) + (value != null ? \" \\\"\".concat(value, \"\\\"\") : '');\n}\n/**\n * A helper function to describe a token kind as a string for debugging.\n */\n\n\nfunction getTokenKindDesc(kind) {\n return isPunctuatorTokenKind(kind) ? \"\\\"\".concat(kind, \"\\\"\") : kind;\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { __assign } from \"tslib\";\nimport { parse } from 'graphql';\nvar docCache = new Map();\nvar fragmentSourceMap = new Map();\nvar printFragmentWarnings = true;\nvar experimentalFragmentVariables = false;\n\nfunction normalize(string) {\n return string.replace(/[\\s,]+/g, ' ').trim();\n}\n\nfunction cacheKeyFromLoc(loc) {\n return normalize(loc.source.body.substring(loc.start, loc.end));\n}\n\nfunction processFragments(ast) {\n var seenKeys = new Set();\n var definitions = [];\n ast.definitions.forEach(function (fragmentDefinition) {\n if (fragmentDefinition.kind === 'FragmentDefinition') {\n var fragmentName = fragmentDefinition.name.value;\n var sourceKey = cacheKeyFromLoc(fragmentDefinition.loc);\n var sourceKeySet = fragmentSourceMap.get(fragmentName);\n\n if (sourceKeySet && !sourceKeySet.has(sourceKey)) {\n if (printFragmentWarnings) {\n console.warn(\"Warning: fragment with name \" + fragmentName + \" already exists.\\n\" + \"graphql-tag enforces all fragment names across your application to be unique; read more about\\n\" + \"this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names\");\n }\n } else if (!sourceKeySet) {\n fragmentSourceMap.set(fragmentName, sourceKeySet = new Set());\n }\n\n sourceKeySet.add(sourceKey);\n\n if (!seenKeys.has(sourceKey)) {\n seenKeys.add(sourceKey);\n definitions.push(fragmentDefinition);\n }\n } else {\n definitions.push(fragmentDefinition);\n }\n });\n return __assign(__assign({}, ast), {\n definitions: definitions\n });\n}\n\nfunction stripLoc(doc) {\n var workSet = new Set(doc.definitions);\n workSet.forEach(function (node) {\n if (node.loc) delete node.loc;\n Object.keys(node).forEach(function (key) {\n var value = node[key];\n\n if (value && _typeof(value) === 'object') {\n workSet.add(value);\n }\n });\n });\n var loc = doc.loc;\n\n if (loc) {\n delete loc.startToken;\n delete loc.endToken;\n }\n\n return doc;\n}\n\nfunction parseDocument(source) {\n var cacheKey = normalize(source);\n\n if (!docCache.has(cacheKey)) {\n var parsed = parse(source, {\n experimentalFragmentVariables: experimentalFragmentVariables,\n allowLegacyFragmentVariables: experimentalFragmentVariables\n });\n\n if (!parsed || parsed.kind !== 'Document') {\n throw new Error('Not a valid GraphQL document.');\n }\n\n docCache.set(cacheKey, stripLoc(processFragments(parsed)));\n }\n\n return docCache.get(cacheKey);\n}\n\nexport function gql(literals) {\n var args = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n\n if (typeof literals === 'string') {\n literals = [literals];\n }\n\n var result = literals[0];\n args.forEach(function (arg, i) {\n if (arg && arg.kind === 'Document') {\n result += arg.loc.source.body;\n } else {\n result += arg;\n }\n\n result += literals[i + 1];\n });\n return parseDocument(result);\n}\nexport function resetCaches() {\n docCache.clear();\n fragmentSourceMap.clear();\n}\nexport function disableFragmentWarnings() {\n printFragmentWarnings = false;\n}\nexport function enableExperimentalFragmentVariables() {\n experimentalFragmentVariables = true;\n}\nexport function disableExperimentalFragmentVariables() {\n experimentalFragmentVariables = false;\n}\nvar extras = {\n gql: gql,\n resetCaches: resetCaches,\n disableFragmentWarnings: disableFragmentWarnings,\n enableExperimentalFragmentVariables: enableExperimentalFragmentVariables,\n disableExperimentalFragmentVariables: disableExperimentalFragmentVariables\n};\n\n(function (gql_1) {\n gql_1.gql = extras.gql, gql_1.resetCaches = extras.resetCaches, gql_1.disableFragmentWarnings = extras.disableFragmentWarnings, gql_1.enableExperimentalFragmentVariables = extras.enableExperimentalFragmentVariables, gql_1.disableExperimentalFragmentVariables = extras.disableExperimentalFragmentVariables;\n})(gql || (gql = {}));\n\ngql[\"default\"] = gql;\nexport default gql;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport equals from '../equals.js';\nexport default function _indexOf(list, a, idx) {\n var inf, item; // Array.prototype.indexOf doesn't exist below IE9\n\n if (typeof list.indexOf === 'function') {\n switch (_typeof(a)) {\n case 'number':\n if (a === 0) {\n // manually crawl the list to distinguish between +0 and -0\n inf = 1 / a;\n\n while (idx < list.length) {\n item = list[idx];\n\n if (item === 0 && 1 / item === inf) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } else if (a !== a) {\n // NaN\n while (idx < list.length) {\n item = list[idx];\n\n if (typeof item === 'number' && item !== item) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } // non-zero numbers can utilise Set\n\n\n return list.indexOf(a, idx);\n // all these types can utilise Set\n\n case 'string':\n case 'boolean':\n case 'function':\n case 'undefined':\n return list.indexOf(a, idx);\n\n case 'object':\n if (a === null) {\n // null can utilise Set\n return list.indexOf(a, idx);\n }\n\n }\n } // anything else not covered above, defer to R.equals\n\n\n while (idx < list.length) {\n if (equals(list[idx], a)) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n}","import _indexOf from './_indexOf.js';\nexport default function _includes(a, list) {\n return _indexOf(list, a, 0) >= 0;\n}","export var trackPageview=function trackPageview(url){var title=arguments.length>1&&arguments[1]!==undefined?arguments[1]:document.title;window.dataLayer.push({event:'GAtrackVirtualPageview',virtualPageviewUrl:url,virtualPageviewTitle:title});};export var trackEvent=function trackEvent(_ref){var category=_ref.category,action=_ref.action,label=_ref.label,value=_ref.value;window.dataLayer.push({event:'GAevent',eventCategory:category,eventAction:action,eventLabel:label,eventValue:value});};","function _broadcast(componentName, eventName, params) {\n this.$children.forEach(function (child) {\n var name = child.$options.componentName;\n\n if (name === componentName) {\n child.$emit.apply(child, [eventName].concat(params));\n } else {\n _broadcast.apply(child, [componentName, eventName].concat([params]));\n }\n });\n}\n\nexport default {\n methods: {\n dispatch: function dispatch(componentName, eventName, params) {\n var parent = this.$parent || this.$root;\n var name = parent.$options.componentName;\n\n while (parent && (!name || name !== componentName)) {\n parent = parent.$parent;\n\n if (parent) {\n name = parent.$options.componentName;\n }\n }\n\n if (parent) {\n parent.$emit.apply(parent, [eventName].concat(params));\n }\n },\n broadcast: function broadcast(componentName, eventName, params) {\n _broadcast.call(this, componentName, eventName, params);\n }\n }\n};","import _concat from './internal/_concat.js';\nimport _curry2 from './internal/_curry2.js';\nimport _reduce from './internal/_reduce.js';\nimport map from './map.js';\n/**\n * ap applies a list of functions to a list of values.\n *\n * Dispatches to the `ap` method of the second argument, if present. Also\n * treats curried functions as applicatives.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig [a -> b] -> [a] -> [b]\n * @sig Apply f => f (a -> b) -> f a -> f b\n * @sig (r -> a -> b) -> (r -> a) -> (r -> b)\n * @param {*} applyF\n * @param {*} applyX\n * @return {*}\n * @example\n *\n * R.ap([R.multiply(2), R.add(3)], [1,2,3]); //=> [2, 4, 6, 4, 5, 6]\n * R.ap([R.concat('tasty '), R.toUpper], ['pizza', 'salad']); //=> [\"tasty pizza\", \"tasty salad\", \"PIZZA\", \"SALAD\"]\n *\n * // R.ap can also be used as S combinator\n * // when only two functions are passed\n * R.ap(R.concat, R.toUpper)('Ramda') //=> 'RamdaRAMDA'\n * @symb R.ap([f, g], [a, b]) = [f(a), f(b), g(a), g(b)]\n */\n\nvar ap =\n/*#__PURE__*/\n_curry2(function ap(applyF, applyX) {\n return typeof applyX['fantasy-land/ap'] === 'function' ? applyX['fantasy-land/ap'](applyF) : typeof applyF.ap === 'function' ? applyF.ap(applyX) : typeof applyF === 'function' ? function (x) {\n return applyF(x)(applyX(x));\n } : _reduce(function (acc, f) {\n return _concat(acc, map(f, applyX));\n }, [], applyF);\n});\n\nexport default ap;","/**\n * Private `concat` function to merge two array-like objects.\n *\n * @private\n * @param {Array|Arguments} [set1=[]] An array-like object.\n * @param {Array|Arguments} [set2=[]] An array-like object.\n * @return {Array} A new, merged array.\n * @example\n *\n * _concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n */\nexport default function _concat(set1, set2) {\n set1 = set1 || [];\n set2 = set2 || [];\n var idx;\n var len1 = set1.length;\n var len2 = set2.length;\n var result = [];\n idx = 0;\n\n while (idx < len1) {\n result[result.length] = set1[idx];\n idx += 1;\n }\n\n idx = 0;\n\n while (idx < len2) {\n result[result.length] = set2[idx];\n idx += 1;\n }\n\n return result;\n}","import _curry2 from './internal/_curry2.js';\nimport _reduce from './internal/_reduce.js';\nimport ap from './ap.js';\nimport curryN from './curryN.js';\nimport map from './map.js';\n/**\n * \"lifts\" a function to be the specified arity, so that it may \"map over\" that\n * many lists, Functions or other objects that satisfy the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig Number -> (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.lift, R.ap\n * @example\n *\n * const madd3 = R.liftN(3, (...args) => R.sum(args));\n * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]\n */\n\nvar liftN =\n/*#__PURE__*/\n_curry2(function liftN(arity, fn) {\n var lifted = curryN(arity, fn);\n return curryN(arity, function () {\n return _reduce(ap, map(lifted, arguments[0]), Array.prototype.slice.call(arguments, 1));\n });\n});\n\nexport default liftN;","import _curry1 from './internal/_curry1.js';\nimport liftN from './liftN.js';\n/**\n * \"lifts\" a function of arity > 1 so that it may \"map over\" a list, Function or other\n * object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.liftN\n * @example\n *\n * const madd3 = R.lift((a, b, c) => a + b + c);\n *\n * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]\n *\n * const madd5 = R.lift((a, b, c, d, e) => a + b + c + d + e);\n *\n * madd5([1,2], [3], [4, 5], [6], [7, 8]); //=> [21, 22, 22, 23, 22, 23, 23, 24]\n */\n\nvar lift =\n/*#__PURE__*/\n_curry1(function lift(fn) {\n return liftN(fn.length, fn);\n});\n\nexport default lift;","import toInteger from '../_lib/toInteger/index.js';\nimport toDate from '../toDate/index.js';\nimport getDaysInMonth from '../getDaysInMonth/index.js';\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * var result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\n\nexport default function addMonths(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n var desiredMonth = date.getMonth() + amount;\n var dateWithDesiredMonth = new Date(0);\n dateWithDesiredMonth.setFullYear(date.getFullYear(), desiredMonth, 1);\n dateWithDesiredMonth.setHours(0, 0, 0, 0);\n var daysInMonth = getDaysInMonth(dateWithDesiredMonth); // Set the last day of the new month\n // if the original date was the last day of the longer month\n\n date.setMonth(desiredMonth, Math.min(daysInMonth, date.getDate()));\n return date;\n}","import toDate from '../toDate/index.js';\n/**\n * @name getDaysInMonth\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the number of days in a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // How many days are in February 2000?\n * var result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\n\nexport default function getDaysInMonth(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var year = date.getFullYear();\n var monthIndex = date.getMonth();\n var lastDayOfMonth = new Date(0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{format,setCursor,event}from'./utils';import assign from'./assign';import defaults from'./options';function addThousandSeparator(integer,separator){return integer.replace(/(\\d)(?=(?:\\d{3})+\\b)/gm,\"$1\".concat(separator));}function escapeRegExp(string){return string.replace(/[.*+?^${}()|[\\]\\\\]/g,'\\\\$&');}function countOccurrences(str,sub){var re=new RegExp(escapeRegExp(sub),'g');var matches=str.match(re);return matches?matches.length:0;}export default function(el,binding){if(!binding.value)return;var opt=assign(defaults,binding.value);if(el.tagName.toUpperCase()!=='INPUT'){var els=el.getElementsByTagName('input');if(els.length!==1)return;// eslint-disable-next-line prefer-destructuring, no-param-reassign\nel=els[0];}el.addEventListener('focus',function(){if(!el._justFocused){el.select();el._justFocused=true;}});el.addEventListener('mousedown',function(){if(el._justFocused){el._justFocused=false;}});el.addEventListener('blur',function(){el._justFocused=false;});var skipFormat=false;var fullReset=false;el.onkeydown=function(e){var allowedKeys=['Backspace','Delete','ArrowLeft','ArrowRight','Tab','Home','End','Enter','Escape',',','.','-'];var isDigit=/\\d/.test(e.key);var isAllowedKey=allowedKeys.includes(e.key);var isModifierKey=e.ctrlKey||e.metaKey;var isClipboardOperation=isModifierKey&&(e.key==='v'||e.key==='c'||e.key==='x'||e.key==='a');if(e.key==='-'){var isAtStart=el.selectionStart===opt.prefix.length;var isAllSelected=el.selectionStart===0&&el.selectionEnd===el.value.length;var hasMinusAlready=el.value.charAt(opt.prefix.length)==='-';if(hasMinusAlready){e.preventDefault();if(isAllSelected){var _decimalIndex=el.value.indexOf(opt.decimal);var wholePart='0';var decimalPart='0'.repeat(opt.precision);if(_decimalIndex!==-1){var formattedInteger=el.value.slice(opt.prefix.length,_decimalIndex);var strippedInteger=formattedInteger.replace(/-/g,'');wholePart=strippedInteger||'0';decimalPart=el.value.slice(_decimalIndex+1,el.value.length-(opt.suffix?opt.suffix.length:0));decimalPart=decimalPart.padEnd(opt.precision,'0').slice(0,opt.precision);}var newValue=\"\".concat(opt.prefix,\"-\").concat(wholePart).concat(opt.decimal).concat(decimalPart).concat(opt.suffix||'');el.value=newValue;setCursor(el,opt.prefix.length+1);el.dispatchEvent(event('change'));}return;}if(!isAtStart&&!isAllSelected){e.preventDefault();return;}if(isAtStart){e.preventDefault();skipFormat=true;var _decimalIndex2=el.value.indexOf(opt.decimal);var integerPart=el.value.slice(opt.prefix.length,_decimalIndex2);var currentDecimal='0'.repeat(opt.precision);if(_decimalIndex2!==-1){currentDecimal=el.value.slice(_decimalIndex2+1,el.value.length-(opt.suffix?opt.suffix.length:0));currentDecimal=currentDecimal.padEnd(opt.precision,'0').slice(0,opt.precision);}var _newValue=\"\".concat(opt.prefix,\"-\").concat(integerPart).concat(opt.decimal).concat(currentDecimal).concat(opt.suffix||'');el.value=_newValue;setCursor(el,opt.prefix.length+1);el.dispatchEvent(event('change'));return;}}if(isModifierKey&&e.key==='v'){if(!(el.selectionStart===0&&el.selectionEnd===el.value.length)){el.select();}}if(!isDigit&&!isAllowedKey&&!isClipboardOperation){e.preventDefault();return;}var caretPos=el.selectionStart;var _el=el,value=_el.value;var decimalIndex=value.indexOf(opt.decimal);if(/\\d/.test(e.key)){var hasMinusPrefix=value.charAt(opt.prefix.length)==='-';if(el.selectionStart===0&&el.selectionEnd===value.length){e.preventDefault();var initialValue=\"\".concat(opt.prefix,\"0\").concat(opt.decimal).concat('0'.repeat(opt.precision)).concat(opt.suffix||'');el.value=initialValue;setCursor(el,opt.prefix.length);fullReset=true;}if(fullReset){caretPos=el.selectionStart;value=el.value;decimalIndex=value.indexOf(opt.decimal);fullReset=false;}if(hasMinusPrefix&&caretPos===opt.prefix.length+1){e.preventDefault();skipFormat=true;var formattedInteger=value.slice(opt.prefix.length+1,decimalIndex);var currentDecimal=value.slice(decimalIndex+1,value.length-(opt.suffix?opt.suffix.length:0));currentDecimal=currentDecimal.padEnd(opt.precision,'0').slice(0,opt.precision);// Kontrola, zda je celoÄÃselná Äást nula - pokud ano, nahradÃme ji, jinak pÅ™idáme pÅ™ed\nvar isZero=formattedInteger==='0'||formattedInteger==='';var newValue=isZero?\"\".concat(opt.prefix,\"-\").concat(e.key).concat(opt.decimal).concat(currentDecimal).concat(opt.suffix||''):\"\".concat(opt.prefix,\"-\").concat(e.key).concat(formattedInteger).concat(opt.decimal).concat(currentDecimal).concat(opt.suffix||'');el.value=newValue;setCursor(el,opt.prefix.length+2);el.dispatchEvent(event('change'));return;}}if(e.key==='Backspace'&&caretPos>opt.prefix.length&&caretPos<=decimalIndex){e.preventDefault();skipFormat=true;var _formattedInteger=value.slice(opt.prefix.length,decimalIndex);var rawWhole=_formattedInteger.replace(new RegExp(escapeRegExp(opt.thousands),'g'),'');var caretInInteger=caretPos-opt.prefix.length;var sepCount=countOccurrences(_formattedInteger.slice(0,caretInInteger),opt.thousands);var rawIndex=caretInInteger-sepCount;if(rawIndex>0){var deletionIndex=rawIndex-1;rawWhole=rawWhole.slice(0,deletionIndex)+rawWhole.slice(deletionIndex+1);var formattedWhole=addThousandSeparator(rawWhole||'0',opt.thousands);var _currentDecimal=value.slice(decimalIndex+1,value.length-(opt.suffix?opt.suffix.length:0));_currentDecimal=_currentDecimal.padEnd(opt.precision,'0').slice(0,opt.precision);var _newValue2=opt.prefix+formattedWhole+opt.decimal+_currentDecimal+(opt.suffix||'');el.value=_newValue2;var rawSubstr=rawWhole.slice(0,deletionIndex);var formattedCaretWhole=addThousandSeparator(rawSubstr,opt.thousands);var newCaretPos=opt.prefix.length+formattedCaretWhole.length;setCursor(el,newCaretPos);el.dispatchEvent(event('change'));return;}}if((e.key==='Backspace'||e.key==='Delete')&&decimalIndex!==-1&&caretPos>decimalIndex){e.preventDefault();skipFormat=true;var _currentDecimal2=value.slice(decimalIndex+1,value.length-(opt.suffix?opt.suffix.length:0));var relIndex=caretPos-(decimalIndex+1);var _deletionIndex;var newCaret;var suffixPart=opt.suffix&&value.endsWith(opt.suffix)?opt.suffix:'';if(e.key==='Delete'){if(relIndex===0){_deletionIndex=0;newCaret=caretPos;}else if(relIndex>=_currentDecimal2.length){return;}else{_deletionIndex=relIndex;newCaret=caretPos;}}else if(e.key==='Backspace'){if(relIndex===0){var _formattedInteger2=value.slice(opt.prefix.length,decimalIndex);var _rawWhole=_formattedInteger2.replace(new RegExp(escapeRegExp(opt.thousands),'g'),'');if(_rawWhole.length>1){_rawWhole=_rawWhole.slice(0,-1);}else{_rawWhole='0';}var _formattedWhole=addThousandSeparator(_rawWhole,opt.thousands);var _newValue4=opt.prefix+_formattedWhole+opt.decimal+_currentDecimal2+suffixPart;el.value=_newValue4;var _newCaretPos=opt.prefix.length+_formattedWhole.length;setCursor(el,_newCaretPos);el.dispatchEvent(event('change'));return;}_deletionIndex=relIndex-1;newCaret=caretPos-1;}var newDecimal=_currentDecimal2;if(_deletionIndex>=0&&_deletionIndex<_currentDecimal2.length){newDecimal=_currentDecimal2.substring(0,_deletionIndex)+_currentDecimal2.substring(_deletionIndex+1);}if(newDecimal.length<opt.precision){newDecimal=newDecimal.padEnd(opt.precision,'0');}var integerPart=value.slice(0,decimalIndex);var _newValue3=integerPart+opt.decimal+newDecimal+suffixPart;el.value=_newValue3;setCursor(el,newCaret);el.dispatchEvent(event('change'));return;}if(/\\d/.test(e.key)){var _hasMinusPrefix=value.charAt(opt.prefix.length)==='-';if(el.selectionStart===0&&el.selectionEnd===value.length){e.preventDefault();var _initialValue=\"\".concat(opt.prefix,\"0\").concat(opt.decimal).concat('0'.repeat(opt.precision)).concat(opt.suffix||'');el.value=_initialValue;setCursor(el,opt.prefix.length);fullReset=true;}if(fullReset){caretPos=el.selectionStart;value=el.value;decimalIndex=value.indexOf(opt.decimal);fullReset=false;}if(_hasMinusPrefix&&caretPos===opt.prefix.length+1){e.preventDefault();skipFormat=true;var _formattedInteger3=value.slice(opt.prefix.length+1,decimalIndex);var _currentDecimal3=value.slice(decimalIndex+1,value.length-(opt.suffix?opt.suffix.length:0));_currentDecimal3=_currentDecimal3.padEnd(opt.precision,'0').slice(0,opt.precision);// Kontrola, zda je celoÄÃselná Äást nula - pokud ano, nahradÃme ji, jinak pÅ™idáme pÅ™ed\nvar _isZero=_formattedInteger3==='0'||_formattedInteger3==='';var _newValue5=_isZero?\"\".concat(opt.prefix,\"-\").concat(e.key).concat(opt.decimal).concat(_currentDecimal3).concat(opt.suffix||''):\"\".concat(opt.prefix,\"-\").concat(e.key).concat(_formattedInteger3).concat(opt.decimal).concat(_currentDecimal3).concat(opt.suffix||'');el.value=_newValue5;setCursor(el,opt.prefix.length+2);el.dispatchEvent(event('change'));return;}if(caretPos<=decimalIndex){e.preventDefault();skipFormat=true;var _formattedInteger4=value.slice(opt.prefix.length,decimalIndex);var _rawWhole2=_formattedInteger4.replace(new RegExp(escapeRegExp(opt.thousands),'g'),'');var _caretInInteger=caretPos-opt.prefix.length;var _sepCount=countOccurrences(_formattedInteger4.slice(0,_caretInInteger),opt.thousands);var _rawIndex=_caretInInteger-_sepCount;if(_rawWhole2==='0'){_rawWhole2='';_rawIndex=0;}_rawWhole2=_rawWhole2.slice(0,_rawIndex)+e.key+_rawWhole2.slice(_rawIndex);var _formattedWhole2=addThousandSeparator(_rawWhole2||'0',opt.thousands);var _currentDecimal4=value.slice(decimalIndex+1,value.length-(opt.suffix?opt.suffix.length:0));_currentDecimal4=_currentDecimal4.padEnd(opt.precision,'0').slice(0,opt.precision);var _newValue6=opt.prefix+_formattedWhole2+opt.decimal+_currentDecimal4+(opt.suffix||'');el.value=_newValue6;var _rawSubstr=_rawWhole2.slice(0,_rawIndex+1);var _formattedCaretWhole=addThousandSeparator(_rawSubstr,opt.thousands);var _newCaretPos2=opt.prefix.length+_formattedCaretWhole.length;_newCaretPos2=Math.min(_newCaretPos2,_newValue6.indexOf(opt.decimal));setCursor(el,_newCaretPos2);el.dispatchEvent(event('change'));}else{var _relIndex=caretPos-decimalIndex-1;e.preventDefault();skipFormat=true;var _currentDecimal5=value.slice(decimalIndex+1,value.length-(opt.suffix?opt.suffix.length:0));var newDecimalArr=_currentDecimal5.split('');while(_relIndex>=newDecimalArr.length){newDecimalArr.push('0');}newDecimalArr[_relIndex]=e.key;var _newDecimal=newDecimalArr.join('');var _integerPart=value.slice(0,decimalIndex);var _suffixPart=opt.suffix&&value.endsWith(opt.suffix)?opt.suffix:'';var _newValue7=_integerPart+opt.decimal+_newDecimal+_suffixPart;el.value=_newValue7;setCursor(el,decimalIndex+1+_relIndex+1);el.dispatchEvent(event('change'));}}};el.oninput=function(){if(skipFormat){skipFormat=false;return;}var cursorPos=el.selectionStart;var rawValue=el.value;if(rawValue.startsWith(opt.prefix)){rawValue=rawValue.slice(opt.prefix.length);}if(opt.suffix&&rawValue.endsWith(opt.suffix)){rawValue=rawValue.slice(0,-opt.suffix.length);}var parts=rawValue.split(opt.decimal);var hasCustomDecimal=parts.length>1&&parts[1].length>opt.precision;var formatted=format(rawValue,_objectSpread(_objectSpread({},opt),hasCustomDecimal?{precision:parts[1].length}:{}));el.value=formatted;setCursor(el,cursorPos);el.dispatchEvent(event('change'));};el.oninput();el.dispatchEvent(event('input'));}","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexports.__esModule = true;\nexports.isDefined = exports.isUndefined = exports.isFunction = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n\nexports.isString = isString;\nexports.isObject = isObject;\nexports.isHtmlElement = isHtmlElement;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nfunction isString(obj) {\n return Object.prototype.toString.call(obj) === '[object String]';\n}\n\nfunction isObject(obj) {\n return Object.prototype.toString.call(obj) === '[object Object]';\n}\n\nfunction isHtmlElement(node) {\n return node && node.nodeType === Node.ELEMENT_NODE;\n}\n/**\n * - Inspired:\n * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js\n */\n\n\nvar isFunction = function isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n};\n\nif (typeof /./ !== 'function' && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) !== 'object' && (_vue2[\"default\"].prototype.$isServer || typeof document.childNodes !== 'function')) {\n exports.isFunction = isFunction = function isFunction(obj) {\n return typeof obj === 'function' || false;\n };\n}\n\nexports.isFunction = isFunction;\n\nvar isUndefined = exports.isUndefined = function isUndefined(val) {\n return val === void 0;\n};\n\nvar isDefined = exports.isDefined = function isDefined(val) {\n return val !== undefined && val !== null;\n};","/* globals __webpack_amd_options__ */\nmodule.exports = __webpack_amd_options__;\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports = function (modules) {\n function __webpack_require__(moduleId) {\n if (installedModules[moduleId]) return installedModules[moduleId].exports;\n var module = installedModules[moduleId] = {\n i: moduleId,\n l: !1,\n exports: {}\n };\n return modules[moduleId].call(module.exports, module, module.exports, __webpack_require__), module.l = !0, module.exports;\n }\n\n var installedModules = {};\n return __webpack_require__.m = modules, __webpack_require__.c = installedModules, __webpack_require__.i = function (value) {\n return value;\n }, __webpack_require__.d = function (exports, name, getter) {\n __webpack_require__.o(exports, name) || Object.defineProperty(exports, name, {\n configurable: !1,\n enumerable: !0,\n get: getter\n });\n }, __webpack_require__.n = function (module) {\n var getter = module && module.__esModule ? function () {\n return module[\"default\"];\n } : function () {\n return module;\n };\n return __webpack_require__.d(getter, \"a\", getter), getter;\n }, __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n }, __webpack_require__.p = \"\", __webpack_require__(__webpack_require__.s = 5);\n}([function (module, exports) {\n module.exports = function (rawScriptExports, compiledTemplate, scopeId, cssModules) {\n var esModule,\n scriptExports = rawScriptExports = rawScriptExports || {},\n type = _typeof(rawScriptExports[\"default\"]);\n\n \"object\" !== type && \"function\" !== type || (esModule = rawScriptExports, scriptExports = rawScriptExports[\"default\"]);\n var options = \"function\" == typeof scriptExports ? scriptExports.options : scriptExports;\n\n if (compiledTemplate && (options.render = compiledTemplate.render, options.staticRenderFns = compiledTemplate.staticRenderFns), scopeId && (options._scopeId = scopeId), cssModules) {\n var computed = options.computed || (options.computed = {});\n Object.keys(cssModules).forEach(function (key) {\n var module = cssModules[key];\n\n computed[key] = function () {\n return module;\n };\n });\n }\n\n return {\n esModule: esModule,\n exports: scriptExports,\n options: options\n };\n };\n}, function (module, exports, __webpack_require__) {\n __webpack_require__(10);\n\n var Component = __webpack_require__(0)(__webpack_require__(6), __webpack_require__(12), null, null);\n\n module.exports = Component.exports;\n}, function (module, exports, __webpack_require__) {\n var Component = __webpack_require__(0)(__webpack_require__(7), __webpack_require__(11), null, null);\n\n module.exports = Component.exports;\n}, function (module, exports, __webpack_require__) {\n var Component = __webpack_require__(0)(__webpack_require__(8), __webpack_require__(14), null, null);\n\n module.exports = Component.exports;\n}, function (module, exports, __webpack_require__) {\n var Component = __webpack_require__(0)(__webpack_require__(9), __webpack_require__(13), null, null);\n\n module.exports = Component.exports;\n}, function (module, exports, __webpack_require__) {\n \"use strict\";\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n }\n\n function install(Vue) {\n Vue.component(\"ContentPlaceholders\", _ContentPlaceholders2[\"default\"]), Vue.component(\"ContentPlaceholdersHeading\", _ContentPlaceholdersHeading2[\"default\"]), Vue.component(\"ContentPlaceholdersImg\", _ContentPlaceholdersImg2[\"default\"]), Vue.component(\"ContentPlaceholdersText\", _ContentPlaceholdersText2[\"default\"]);\n }\n\n Object.defineProperty(exports, \"__esModule\", {\n value: !0\n }), exports.ContentPlaceholdersText = exports.ContentPlaceholdersImg = exports.ContentPlaceholdersHeading = exports.ContentPlaceholders = void 0, exports.install = install;\n\n var _ContentPlaceholders = __webpack_require__(1),\n _ContentPlaceholders2 = _interopRequireDefault(_ContentPlaceholders),\n _ContentPlaceholdersHeading = __webpack_require__(2),\n _ContentPlaceholdersHeading2 = _interopRequireDefault(_ContentPlaceholdersHeading),\n _ContentPlaceholdersImg = __webpack_require__(3),\n _ContentPlaceholdersImg2 = _interopRequireDefault(_ContentPlaceholdersImg),\n _ContentPlaceholdersText = __webpack_require__(4),\n _ContentPlaceholdersText2 = _interopRequireDefault(_ContentPlaceholdersText);\n\n exports.ContentPlaceholders = _ContentPlaceholders2[\"default\"], exports.ContentPlaceholdersHeading = _ContentPlaceholdersHeading2[\"default\"], exports.ContentPlaceholdersImg = _ContentPlaceholdersImg2[\"default\"], exports.ContentPlaceholdersText = _ContentPlaceholdersText2[\"default\"];\n var plugin = {\n version: \"0.2.1\",\n install: install\n };\n exports[\"default\"] = plugin;\n var GlobalVue = null;\n \"undefined\" != typeof window ? GlobalVue = window.Vue : \"undefined\" != typeof global && (GlobalVue = global.Vue), GlobalVue && GlobalVue.use(plugin);\n}, function (module, exports, __webpack_require__) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: !0\n }), exports[\"default\"] = {\n name: \"content-placeholders\",\n computed: {\n classObject: function classObject() {\n return {\n \"vue-content-placeholders\": !0,\n \"vue-content-placeholders-is-rounded\": this.rounded,\n \"vue-content-placeholders-is-centered\": this.centered,\n \"vue-content-placeholders-is-animated\": this.animated\n };\n }\n },\n props: {\n rounded: {\n type: Boolean,\n \"default\": !1\n },\n centered: {\n type: Boolean,\n \"default\": !1\n },\n animated: {\n type: Boolean,\n \"default\": !0\n }\n }\n };\n}, function (module, exports, __webpack_require__) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: !0\n }), exports[\"default\"] = {\n name: \"content-placeholders-heading\",\n data: function data() {\n return {\n className: \"vue-content-placeholders-heading\"\n };\n },\n props: {\n img: {\n type: Boolean,\n \"default\": !1\n }\n }\n };\n}, function (module, exports, __webpack_require__) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: !0\n }), exports[\"default\"] = {\n name: \"content-placeholders-img\",\n data: function data() {\n return {\n className: \"vue-content-placeholders-img\"\n };\n }\n };\n}, function (module, exports, __webpack_require__) {\n \"use strict\";\n\n Object.defineProperty(exports, \"__esModule\", {\n value: !0\n }), exports[\"default\"] = {\n name: \"content-placeholders-text\",\n data: function data() {\n return {\n className: \"vue-content-placeholders-text\"\n };\n },\n props: {\n lines: {\n type: Number,\n \"default\": 4\n }\n }\n };\n}, function (module, exports) {}, function (module, exports) {\n module.exports = {\n render: function render() {\n var _vm = this,\n _h = _vm.$createElement,\n _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": _vm.className\n }, [_vm.img ? _c(\"div\", {\n \"class\": _vm.className + \"__img\"\n }) : _vm._e(), _vm._v(\" \"), _c(\"div\", {\n \"class\": _vm.className + \"__content\"\n }, [_c(\"div\", {\n \"class\": _vm.className + \"__title\"\n }), _vm._v(\" \"), _c(\"div\", {\n \"class\": _vm.className + \"__subtitle\"\n })])]);\n },\n staticRenderFns: []\n };\n}, function (module, exports) {\n module.exports = {\n render: function render() {\n var _vm = this,\n _h = _vm.$createElement;\n\n return (_vm._self._c || _h)(\"div\", {\n \"class\": _vm.classObject\n }, [_vm._t(\"default\")], 2);\n },\n staticRenderFns: []\n };\n}, function (module, exports) {\n module.exports = {\n render: function render() {\n var _vm = this,\n _h = _vm.$createElement,\n _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": _vm.className\n }, _vm._l(_vm.lines, function (n) {\n return _c(\"div\", {\n key: n,\n \"class\": _vm.className + \"__line\"\n });\n }));\n },\n staticRenderFns: []\n };\n}, function (module, exports) {\n module.exports = {\n render: function render() {\n var _vm = this,\n _h = _vm.$createElement;\n\n return (_vm._self._c || _h)(\"div\", {\n \"class\": _vm.className\n });\n },\n staticRenderFns: []\n };\n}]);","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = buildFormatLongFn;\n\nfunction buildFormatLongFn(args) {\n return function (dirtyOptions) {\n var options = dirtyOptions || {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = buildLocalizeFn;\n\nfunction buildLocalizeFn(args) {\n return function (dirtyIndex, dirtyOptions) {\n var options = dirtyOptions || {};\n var context = options.context ? String(options.context) : 'standalone';\n var valuesArray;\n\n if (context === 'formatting' && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n\n var _width = options.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n\n var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;\n return valuesArray[index];\n };\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = buildMatchPatternFn;\n\nfunction buildMatchPatternFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var matchResult = string.match(args.matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n\n if (!parseResult) {\n return null;\n }\n\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = buildMatchFn;\n\nfunction buildMatchFn(args) {\n return function (dirtyString, dirtyOptions) {\n var string = String(dirtyString);\n var options = dirtyOptions || {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var value;\n\n if (Object.prototype.toString.call(parsePatterns) === '[object Array]') {\n value = parsePatterns.findIndex(function (pattern) {\n return pattern.test(string);\n });\n } else {\n value = findKey(parsePatterns, function (pattern) {\n return pattern.test(string);\n });\n }\n\n value = args.valueCallback ? args.valueCallback(value) : value;\n value = options.valueCallback ? options.valueCallback(value) : value;\n return {\n value: value,\n rest: string.slice(matchedString.length)\n };\n };\n}\n\nfunction findKey(object, predicate) {\n for (var key in object) {\n if (object.hasOwnProperty(key) && predicate(object[key])) {\n return key;\n }\n }\n}\n\nmodule.exports = exports[\"default\"];","export default function _isObject(x) {\n return Object.prototype.toString.call(x) === '[object Object]';\n}","'use strict';\n\nexports.__esModule = true;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nvar _popup = require('element-ui/lib/utils/popup');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar PopperJS = _vue2[\"default\"].prototype.$isServer ? function () {} : require('./popper');\n\nvar stop = function stop(e) {\n return e.stopPropagation();\n};\n/**\n * @param {HTMLElement} [reference=$refs.reference] - The reference element used to position the popper.\n * @param {HTMLElement} [popper=$refs.popper] - The HTML element used as popper, or a configuration used to generate the popper.\n * @param {String} [placement=button] - Placement of the popper accepted values: top(-start, -end), right(-start, -end), bottom(-start, -end), left(-start, -end)\n * @param {Number} [offset=0] - Amount of pixels the popper will be shifted (can be negative).\n * @param {Boolean} [visible=false] Visibility of the popup element.\n * @param {Boolean} [visible-arrow=false] Visibility of the arrow, no style.\n */\n\n\nexports[\"default\"] = {\n props: {\n transformOrigin: {\n type: [Boolean, String],\n \"default\": true\n },\n placement: {\n type: String,\n \"default\": 'bottom'\n },\n boundariesPadding: {\n type: Number,\n \"default\": 5\n },\n reference: {},\n popper: {},\n offset: {\n \"default\": 0\n },\n value: Boolean,\n visibleArrow: Boolean,\n arrowOffset: {\n type: Number,\n \"default\": 35\n },\n appendToBody: {\n type: Boolean,\n \"default\": true\n },\n popperOptions: {\n type: Object,\n \"default\": function _default() {\n return {\n gpuAcceleration: false\n };\n }\n }\n },\n data: function data() {\n return {\n showPopper: false,\n currentPlacement: ''\n };\n },\n watch: {\n value: {\n immediate: true,\n handler: function handler(val) {\n this.showPopper = val;\n this.$emit('input', val);\n }\n },\n showPopper: function showPopper(val) {\n if (this.disabled) return;\n val ? this.updatePopper() : this.destroyPopper();\n this.$emit('input', val);\n }\n },\n methods: {\n createPopper: function createPopper() {\n var _this = this;\n\n if (this.$isServer) return;\n this.currentPlacement = this.currentPlacement || this.placement;\n\n if (!/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement)) {\n return;\n }\n\n var options = this.popperOptions;\n var popper = this.popperElm = this.popperElm || this.popper || this.$refs.popper;\n var reference = this.referenceElm = this.referenceElm || this.reference || this.$refs.reference;\n\n if (!reference && this.$slots.reference && this.$slots.reference[0]) {\n reference = this.referenceElm = this.$slots.reference[0].elm;\n }\n\n if (!popper || !reference) return;\n if (this.visibleArrow) this.appendArrow(popper);\n if (this.appendToBody) document.body.appendChild(this.popperElm);\n\n if (this.popperJS && this.popperJS.destroy) {\n this.popperJS.destroy();\n }\n\n options.placement = this.currentPlacement;\n options.offset = this.offset;\n options.arrowOffset = this.arrowOffset;\n this.popperJS = new PopperJS(reference, popper, options);\n this.popperJS.onCreate(function (_) {\n _this.$emit('created', _this);\n\n _this.resetTransformOrigin();\n\n _this.$nextTick(_this.updatePopper);\n });\n\n if (typeof options.onUpdate === 'function') {\n this.popperJS.onUpdate(options.onUpdate);\n }\n\n this.popperJS._popper.style.zIndex = _popup.PopupManager.nextZIndex();\n this.popperElm.addEventListener('click', stop);\n },\n updatePopper: function updatePopper() {\n var popperJS = this.popperJS;\n\n if (popperJS) {\n popperJS.update();\n\n if (popperJS._popper) {\n popperJS._popper.style.zIndex = _popup.PopupManager.nextZIndex();\n }\n } else {\n this.createPopper();\n }\n },\n doDestroy: function doDestroy(forceDestroy) {\n /* istanbul ignore if */\n if (!this.popperJS || this.showPopper && !forceDestroy) return;\n this.popperJS.destroy();\n this.popperJS = null;\n },\n destroyPopper: function destroyPopper() {\n if (this.popperJS) {\n this.resetTransformOrigin();\n }\n },\n resetTransformOrigin: function resetTransformOrigin() {\n if (!this.transformOrigin) return;\n var placementMap = {\n top: 'bottom',\n bottom: 'top',\n left: 'right',\n right: 'left'\n };\n\n var placement = this.popperJS._popper.getAttribute('x-placement').split('-')[0];\n\n var origin = placementMap[placement];\n this.popperJS._popper.style.transformOrigin = typeof this.transformOrigin === 'string' ? this.transformOrigin : ['top', 'bottom'].indexOf(placement) > -1 ? 'center ' + origin : origin + ' center';\n },\n appendArrow: function appendArrow(element) {\n var hash = void 0;\n\n if (this.appended) {\n return;\n }\n\n this.appended = true;\n\n for (var item in element.attributes) {\n if (/^_v-/.test(element.attributes[item].name)) {\n hash = element.attributes[item].name;\n break;\n }\n }\n\n var arrow = document.createElement('div');\n\n if (hash) {\n arrow.setAttribute(hash, '');\n }\n\n arrow.setAttribute('x-arrow', '');\n arrow.className = 'popper__arrow';\n element.appendChild(arrow);\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.doDestroy(true);\n\n if (this.popperElm && this.popperElm.parentNode === document.body) {\n this.popperElm.removeEventListener('click', stop);\n document.body.removeChild(this.popperElm);\n }\n },\n // call destroy in keep-alive mode\n deactivated: function deactivated() {\n this.$options.beforeDestroy[0].call(this);\n }\n};","\"use strict\";\n\nexports.__esModule = true;\n\nexports[\"default\"] = function (target) {\n for (var i = 1, j = arguments.length; i < j; i++) {\n var source = arguments[i] || {};\n\n for (var prop in source) {\n if (source.hasOwnProperty(prop)) {\n var value = source[prop];\n\n if (value !== undefined) {\n target[prop] = value;\n }\n }\n }\n }\n\n return target;\n};\n\n;","\"use strict\";\n\nexports.__esModule = true;\nexports.isDef = isDef;\nexports.isKorean = isKorean;\n\nfunction isDef(val) {\n return val !== undefined && val !== null;\n}\n\nfunction isKorean(text) {\n var reg = /([(\\uAC00-\\uD7AF)|(\\u3130-\\u318F)])+/gi;\n return reg.test(text);\n}","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","module.exports = true;\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","exports.f = {}.propertyIsEnumerable;\n","import Vue from 'vue';\nimport { PopupManager } from 'element-ui/src/utils/popup';\nvar PopperJS = Vue.prototype.$isServer ? function () {} : require('./popper');\n\nvar stop = function stop(e) {\n return e.stopPropagation();\n};\n/**\n * @param {HTMLElement} [reference=$refs.reference] - The reference element used to position the popper.\n * @param {HTMLElement} [popper=$refs.popper] - The HTML element used as popper, or a configuration used to generate the popper.\n * @param {String} [placement=button] - Placement of the popper accepted values: top(-start, -end), right(-start, -end), bottom(-start, -end), left(-start, -end)\n * @param {Number} [offset=0] - Amount of pixels the popper will be shifted (can be negative).\n * @param {Boolean} [visible=false] Visibility of the popup element.\n * @param {Boolean} [visible-arrow=false] Visibility of the arrow, no style.\n */\n\n\nexport default {\n props: {\n transformOrigin: {\n type: [Boolean, String],\n \"default\": true\n },\n placement: {\n type: String,\n \"default\": 'bottom'\n },\n boundariesPadding: {\n type: Number,\n \"default\": 5\n },\n reference: {},\n popper: {},\n offset: {\n \"default\": 0\n },\n value: Boolean,\n visibleArrow: Boolean,\n arrowOffset: {\n type: Number,\n \"default\": 35\n },\n appendToBody: {\n type: Boolean,\n \"default\": true\n },\n popperOptions: {\n type: Object,\n \"default\": function _default() {\n return {\n gpuAcceleration: false\n };\n }\n }\n },\n data: function data() {\n return {\n showPopper: false,\n currentPlacement: ''\n };\n },\n watch: {\n value: {\n immediate: true,\n handler: function handler(val) {\n this.showPopper = val;\n this.$emit('input', val);\n }\n },\n showPopper: function showPopper(val) {\n if (this.disabled) return;\n val ? this.updatePopper() : this.destroyPopper();\n this.$emit('input', val);\n }\n },\n methods: {\n createPopper: function createPopper() {\n var _this = this;\n\n if (this.$isServer) return;\n this.currentPlacement = this.currentPlacement || this.placement;\n\n if (!/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement)) {\n return;\n }\n\n var options = this.popperOptions;\n var popper = this.popperElm = this.popperElm || this.popper || this.$refs.popper;\n var reference = this.referenceElm = this.referenceElm || this.reference || this.$refs.reference;\n\n if (!reference && this.$slots.reference && this.$slots.reference[0]) {\n reference = this.referenceElm = this.$slots.reference[0].elm;\n }\n\n if (!popper || !reference) return;\n if (this.visibleArrow) this.appendArrow(popper);\n if (this.appendToBody) document.body.appendChild(this.popperElm);\n\n if (this.popperJS && this.popperJS.destroy) {\n this.popperJS.destroy();\n }\n\n options.placement = this.currentPlacement;\n options.offset = this.offset;\n options.arrowOffset = this.arrowOffset;\n this.popperJS = new PopperJS(reference, popper, options);\n this.popperJS.onCreate(function (_) {\n _this.$emit('created', _this);\n\n _this.resetTransformOrigin();\n\n _this.$nextTick(_this.updatePopper);\n });\n\n if (typeof options.onUpdate === 'function') {\n this.popperJS.onUpdate(options.onUpdate);\n }\n\n this.popperJS._popper.style.zIndex = PopupManager.nextZIndex();\n this.popperElm.addEventListener('click', stop);\n },\n updatePopper: function updatePopper() {\n var popperJS = this.popperJS;\n\n if (popperJS) {\n popperJS.update();\n\n if (popperJS._popper) {\n popperJS._popper.style.zIndex = PopupManager.nextZIndex();\n }\n } else {\n this.createPopper();\n }\n },\n doDestroy: function doDestroy(forceDestroy) {\n /* istanbul ignore if */\n if (!this.popperJS || this.showPopper && !forceDestroy) return;\n this.popperJS.destroy();\n this.popperJS = null;\n },\n destroyPopper: function destroyPopper() {\n if (this.popperJS) {\n this.resetTransformOrigin();\n }\n },\n resetTransformOrigin: function resetTransformOrigin() {\n if (!this.transformOrigin) return;\n var placementMap = {\n top: 'bottom',\n bottom: 'top',\n left: 'right',\n right: 'left'\n };\n\n var placement = this.popperJS._popper.getAttribute('x-placement').split('-')[0];\n\n var origin = placementMap[placement];\n this.popperJS._popper.style.transformOrigin = typeof this.transformOrigin === 'string' ? this.transformOrigin : ['top', 'bottom'].indexOf(placement) > -1 ? \"center \".concat(origin) : \"\".concat(origin, \" center\");\n },\n appendArrow: function appendArrow(element) {\n var hash;\n\n if (this.appended) {\n return;\n }\n\n this.appended = true;\n\n for (var item in element.attributes) {\n if (/^_v-/.test(element.attributes[item].name)) {\n hash = element.attributes[item].name;\n break;\n }\n }\n\n var arrow = document.createElement('div');\n\n if (hash) {\n arrow.setAttribute(hash, '');\n }\n\n arrow.setAttribute('x-arrow', '');\n arrow.className = 'popper__arrow';\n element.appendChild(arrow);\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.doDestroy(true);\n\n if (this.popperElm && this.popperElm.parentNode === document.body) {\n this.popperElm.removeEventListener('click', stop);\n document.body.removeChild(this.popperElm);\n }\n },\n // call destroy in keep-alive mode\n deactivated: function deactivated() {\n this.$options.beforeDestroy[0].call(this);\n }\n};","var throttle = require('./throttle');\n\nvar debounce = require('./debounce');\n\nmodule.exports = {\n throttle: throttle,\n debounce: debounce\n};","export default function(defaults,extras){var resolvedDefaults=defaults||{};var resolvedExtras=extras||{};return Object.keys(resolvedDefaults).concat(Object.keys(resolvedExtras)).reduce(function(acc,val){acc[val]=resolvedExtras[val]===undefined?resolvedDefaults[val]:resolvedExtras[val];return acc;},{});}","import Vue from 'vue';\nimport { on } from 'element-ui/src/utils/dom';\nvar nodeList = [];\nvar ctx = '@@clickoutsideContext';\nvar startClick;\nvar seed = 0;\n!Vue.prototype.$isServer && on(document, 'mousedown', function (e) {\n return startClick = e;\n});\n!Vue.prototype.$isServer && on(document, 'mouseup', function (e) {\n nodeList.forEach(function (node) {\n return node[ctx].documentHandler(e, startClick);\n });\n});\n\nfunction createDocumentHandler(el, binding, vnode) {\n return function () {\n var mouseup = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var mousedown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!vnode || !vnode.context || !mouseup.target || !mousedown.target || el.contains(mouseup.target) || el.contains(mousedown.target) || el === mouseup.target || vnode.context.popperElm && (vnode.context.popperElm.contains(mouseup.target) || vnode.context.popperElm.contains(mousedown.target))) return;\n\n if (binding.expression && el[ctx].methodName && vnode.context[el[ctx].methodName]) {\n vnode.context[el[ctx].methodName]();\n } else {\n el[ctx].bindingFn && el[ctx].bindingFn();\n }\n };\n}\n/**\n * v-clickoutside\n * @desc ç‚¹å‡»å…ƒç´ å¤–é¢æ‰ä¼šè§¦å‘的事件\n * @example\n * ```vue\n * <div v-element-clickoutside=\"handleClose\">\n * ```\n */\n\n\nexport default {\n bind: function bind(el, binding, vnode) {\n nodeList.push(el);\n var id = seed++;\n el[ctx] = {\n id: id,\n documentHandler: createDocumentHandler(el, binding, vnode),\n methodName: binding.expression,\n bindingFn: binding.value\n };\n },\n update: function update(el, binding, vnode) {\n el[ctx].documentHandler = createDocumentHandler(el, binding, vnode);\n el[ctx].methodName = binding.expression;\n el[ctx].bindingFn = binding.value;\n },\n unbind: function unbind(el) {\n var len = nodeList.length;\n\n for (var i = 0; i < len; i++) {\n if (nodeList[i][ctx].id === el[ctx].id) {\n nodeList.splice(i, 1);\n break;\n }\n }\n\n delete el[ctx];\n }\n};","import Vue from 'vue';\nvar dropdowns = [];\n!Vue.prototype.$isServer && document.addEventListener('click', function (event) {\n dropdowns.forEach(function (dropdown) {\n var target = event.target;\n if (!dropdown || !dropdown.$el) return;\n\n if (target === dropdown.$el || dropdown.$el.contains(target)) {\n return;\n }\n\n dropdown.handleOutsideClick && dropdown.handleOutsideClick(event);\n });\n});\nexport default {\n open: function open(instance) {\n if (instance) {\n dropdowns.push(instance);\n }\n },\n close: function close(instance) {\n var index = dropdowns.indexOf(instance);\n\n if (index !== -1) {\n dropdowns.splice(instance, 1);\n }\n }\n};","import mod from \"-!../../../../simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../babel-loader/lib/index.js??ref--5-0!../../../../vue-loader/lib/index.js??vue-loader-options!./checkbox-group.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../babel-loader/lib/index.js??ref--5-0!../../../../vue-loader/lib/index.js??vue-loader-options!./checkbox-group.vue?vue&type=script&lang=js&\"","import Emitter from 'element-ui/src/mixins/emitter';\nexport default {\n name: 'ElCheckboxGroup',\n componentName: 'ElCheckboxGroup',\n mixins: [Emitter],\n inject: {\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n value: {},\n disabled: Boolean,\n min: Number,\n max: Number,\n size: String,\n fill: String,\n textColor: String\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxGroupSize: function checkboxGroupSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', [_value]);\n }\n }\n};","import { render, staticRenderFns } from \"./checkbox-group.vue?vue&type=template&id=ca89dba2&\"\nimport script from \"./checkbox-group.vue?vue&type=script&lang=js&\"\nexport * from \"./checkbox-group.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"el-checkbox-group\",attrs:{\"role\":\"group\",\"aria-label\":\"checkbox-group\"}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import ElCheckboxGroup from '../checkbox/src/checkbox-group.vue';\n/* istanbul ignore next */\n\nElCheckboxGroup.install = function (Vue) {\n Vue.component(ElCheckboxGroup.name, ElCheckboxGroup);\n};\n\nexport default ElCheckboxGroup;","import mod from \"-!../../../../simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../babel-loader/lib/index.js??ref--5-0!../../../../vue-loader/lib/index.js??vue-loader-options!./filter-panel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../babel-loader/lib/index.js??ref--5-0!../../../../vue-loader/lib/index.js??vue-loader-options!./filter-panel.vue?vue&type=script&lang=js&\"","import Popper from 'element-ui/src/utils/vue-popper';\nimport { PopupManager } from 'element-ui/src/utils/popup';\nimport Locale from 'element-ui/src/mixins/locale';\nimport Clickoutside from 'element-ui/src/utils/clickoutside';\nimport Dropdown from './dropdown';\nimport ElCheckbox from 'element-ui/packages/checkbox';\nimport ElCheckboxGroup from 'element-ui/packages/checkbox-group';\nimport ElScrollbar from 'element-ui/packages/scrollbar';\nexport default {\n name: 'ElTableFilterPanel',\n mixins: [Popper, Locale],\n directives: {\n Clickoutside: Clickoutside\n },\n components: {\n ElCheckbox: ElCheckbox,\n ElCheckboxGroup: ElCheckboxGroup,\n ElScrollbar: ElScrollbar\n },\n props: {\n placement: {\n type: String,\n \"default\": 'bottom-end'\n }\n },\n methods: {\n isActive: function isActive(filter) {\n return filter.value === this.filterValue;\n },\n handleOutsideClick: function handleOutsideClick() {\n var _this = this;\n\n setTimeout(function () {\n _this.showPopper = false;\n }, 16);\n },\n handleConfirm: function handleConfirm() {\n this.confirmFilter(this.filteredValue);\n this.handleOutsideClick();\n },\n handleReset: function handleReset() {\n this.filteredValue = [];\n this.confirmFilter(this.filteredValue);\n this.handleOutsideClick();\n },\n handleSelect: function handleSelect(filterValue) {\n this.filterValue = filterValue;\n\n if (typeof filterValue !== 'undefined' && filterValue !== null) {\n this.confirmFilter(this.filteredValue);\n } else {\n this.confirmFilter([]);\n }\n\n this.handleOutsideClick();\n },\n confirmFilter: function confirmFilter(filteredValue) {\n this.table.store.commit('filterChange', {\n column: this.column,\n values: filteredValue\n });\n this.table.store.updateAllSelected();\n }\n },\n data: function data() {\n return {\n table: null,\n cell: null,\n column: null\n };\n },\n computed: {\n filters: function filters() {\n return this.column && this.column.filters;\n },\n filterValue: {\n get: function get() {\n return (this.column.filteredValue || [])[0];\n },\n set: function set(value) {\n if (this.filteredValue) {\n if (typeof value !== 'undefined' && value !== null) {\n this.filteredValue.splice(0, 1, value);\n } else {\n this.filteredValue.splice(0, 1);\n }\n }\n }\n },\n filteredValue: {\n get: function get() {\n if (this.column) {\n return this.column.filteredValue || [];\n }\n\n return [];\n },\n set: function set(value) {\n if (this.column) {\n this.column.filteredValue = value;\n }\n }\n },\n multiple: function multiple() {\n if (this.column) {\n return this.column.filterMultiple;\n }\n\n return true;\n }\n },\n mounted: function mounted() {\n var _this2 = this;\n\n this.popperElm = this.$el;\n this.referenceElm = this.cell;\n this.table.bodyWrapper.addEventListener('scroll', function () {\n _this2.updatePopper();\n });\n this.$watch('showPopper', function (value) {\n if (_this2.column) _this2.column.filterOpened = value;\n\n if (value) {\n Dropdown.open(_this2);\n } else {\n Dropdown.close(_this2);\n }\n });\n },\n watch: {\n showPopper: function showPopper(val) {\n if (val === true && parseInt(this.popperJS._popper.style.zIndex, 10) < PopupManager.zIndex) {\n this.popperJS._popper.style.zIndex = PopupManager.nextZIndex();\n }\n }\n }\n};","import { render, staticRenderFns } from \"./filter-panel.vue?vue&type=template&id=2ddfc96a&\"\nimport script from \"./filter-panel.vue?vue&type=script&lang=js&\"\nexport * from \"./filter-panel.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{\"name\":\"el-zoom-in-top\"}},[(_vm.multiple)?_c('div',{directives:[{name:\"clickoutside\",rawName:\"v-clickoutside\",value:(_vm.handleOutsideClick),expression:\"handleOutsideClick\"},{name:\"show\",rawName:\"v-show\",value:(_vm.showPopper),expression:\"showPopper\"}],staticClass:\"el-table-filter\"},[_c('div',{staticClass:\"el-table-filter__content\"},[_c('el-scrollbar',{attrs:{\"wrap-class\":\"el-table-filter__wrap\"}},[_c('el-checkbox-group',{staticClass:\"el-table-filter__checkbox-group\",model:{value:(_vm.filteredValue),callback:function ($$v) {_vm.filteredValue=$$v},expression:\"filteredValue\"}},_vm._l((_vm.filters),function(filter){return _c('el-checkbox',{key:filter.value,attrs:{\"label\":filter.value}},[_vm._v(_vm._s(filter.text))])}),1)],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"el-table-filter__bottom\"},[_c('button',{class:{ 'is-disabled': _vm.filteredValue.length === 0 },attrs:{\"disabled\":_vm.filteredValue.length === 0},on:{\"click\":_vm.handleConfirm}},[_vm._v(_vm._s(_vm.t('el.table.confirmFilter')))]),_vm._v(\" \"),_c('button',{on:{\"click\":_vm.handleReset}},[_vm._v(_vm._s(_vm.t('el.table.resetFilter')))])])]):_c('div',{directives:[{name:\"clickoutside\",rawName:\"v-clickoutside\",value:(_vm.handleOutsideClick),expression:\"handleOutsideClick\"},{name:\"show\",rawName:\"v-show\",value:(_vm.showPopper),expression:\"showPopper\"}],staticClass:\"el-table-filter\"},[_c('ul',{staticClass:\"el-table-filter__list\"},[_c('li',{staticClass:\"el-table-filter__list-item\",class:{ 'is-active': _vm.filterValue === undefined || _vm.filterValue === null },on:{\"click\":function($event){return _vm.handleSelect(null)}}},[_vm._v(_vm._s(_vm.t('el.table.clearFilter')))]),_vm._v(\" \"),_vm._l((_vm.filters),function(filter){return _c('li',{key:filter.value,staticClass:\"el-table-filter__list-item\",class:{ 'is-active': _vm.isActive(filter) },attrs:{\"label\":filter.value},on:{\"click\":function($event){return _vm.handleSelect(filter.value)}}},[_vm._v(_vm._s(filter.text))])})],2)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}/* eslint-disable */import Vue from'vue';import{hasClass,addClass,removeClass}from'element-ui/src/utils/dom';import ElCheckbox from'element-ui/packages/checkbox';import LayoutObserver from'element-ui/packages/table/src/layout-observer';import{mapStates}from'element-ui/packages/table/src/store/helper';import FilterPanel from'element-ui/packages/table/src/filter-panel.vue';var getAllColumns=function getAllColumns(columns){var result=[];columns.forEach(function(column){if(column.children){result.push(column);result.push.apply(result,getAllColumns(column.children));}else{result.push(column);}});return result;};var convertToRows=function convertToRows(originColumns){var maxLevel=1;var traverse=function traverse(column,parent){if(parent){column.level=parent.level+1;if(maxLevel<column.level){maxLevel=column.level;}}if(column.children){var colSpan=0;column.children.forEach(function(subColumn){traverse(subColumn,column);colSpan+=subColumn.colSpan;});column.colSpan=colSpan;}else{column.colSpan=1;}};originColumns.forEach(function(column){column.level=1;traverse(column);});var rows=[];for(var i=0;i<maxLevel;i++){rows.push([]);}var allColumns=getAllColumns(originColumns);allColumns.forEach(function(column){if(!column.children){column.rowSpan=maxLevel-column.level+1;}else{column.rowSpan=1;}rows[column.level-1].push(column);});return rows;};export default{name:'ElTableHeader',mixins:[LayoutObserver],render:function render(h){var _this=this;var originColumns=this.store.states.originColumns;var columnRows=convertToRows(originColumns,this.columns);// 是å¦æ‹¥æœ‰å¤šçº§è¡¨å¤´\nvar isGroup=columnRows.length>1;if(isGroup)this.$parent.isGroup=true;return h(\"table\",{\"class\":\"el-table__header\",\"attrs\":{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"border\":\"0\"}},[h(\"colgroup\",[this.columns.map(function(column){return h(\"col\",{\"attrs\":{\"name\":column.id},\"key\":column.id});}),this.hasGutter?h(\"col\",{\"attrs\":{\"name\":\"gutter\"}}):'']),h(\"thead\",{\"class\":[{'is-group':isGroup,'has-gutter':this.hasGutter}]},[this._l(columnRows,function(columns,rowIndex){return h(\"tr\",{\"style\":_this.getHeaderRowStyle(rowIndex),\"class\":_this.getHeaderRowClass(rowIndex)},[columns.map(function(column,cellIndex){return h(\"th\",{\"attrs\":{\"colspan\":column.colSpan,\"rowspan\":column.rowSpan,\"data-test\":_this.getCellDataTest(column)},\"on\":{\"mousemove\":function mousemove($event){return _this.handleMouseMove($event,column);},\"mouseout\":_this.handleMouseOut,\"mousedown\":function mousedown($event){return _this.handleMouseDown($event,column);},\"click\":function click($event){return _this.handleHeaderClick($event,column);},\"contextmenu\":function contextmenu($event){return _this.handleHeaderContextMenu($event,column);}},\"style\":_this.getHeaderCellStyle(rowIndex,cellIndex,columns,column),\"class\":_this.getHeaderCellClass(rowIndex,cellIndex,columns,column),\"key\":column.id},[h(\"div\",{\"class\":['cell',column.filteredValue&&column.filteredValue.length>0?'highlight':'',column.labelClassName]},[column.renderHeader?column.renderHeader.call(_this._renderProxy,h,{column:column,$index:cellIndex,store:_this.store,_self:_this.$parent.$vnode.context}):column.label,column.sortable?h(\"span\",{\"class\":\"caret-wrapper\",\"on\":{\"click\":function click($event){return _this.handleSortClick($event,column);}}},[h(\"i\",{\"class\":\"sort-caret ascending\",\"on\":{\"click\":function click($event){return _this.handleSortClick($event,column,'ascending');}}}),h(\"i\",{\"class\":\"sort-caret descending\",\"on\":{\"click\":function click($event){return _this.handleSortClick($event,column,'descending');}}})]):'',column.filterable?h(\"span\",{\"class\":\"el-table__column-filter-trigger\",\"on\":{\"click\":function click($event){return _this.handleFilterClick($event,column);}}},[h(\"i\",{\"class\":['el-icon-arrow-down',column.filterOpened?'el-icon-arrow-up':'']})]):''])]);}),_this.hasGutter?h(\"th\",{\"class\":\"el-table__cell gutter\"}):'']);})])]);},props:{fixed:String,store:{required:true},border:Boolean,defaultSort:{type:Object,\"default\":function _default(){return{prop:'',order:''};}}},components:{ElCheckbox:ElCheckbox},computed:_objectSpread({table:function table(){return this.$parent;},hasGutter:function hasGutter(){return!this.fixed&&this.tableLayout.gutterWidth;}},mapStates({columns:'columns',isAllSelected:'isAllSelected',leftFixedLeafCount:'fixedLeafColumnsLength',rightFixedLeafCount:'rightFixedLeafColumnsLength',columnsCount:function columnsCount(states){return states.columns.length;},leftFixedCount:function leftFixedCount(states){return states.fixedColumns.length;},rightFixedCount:function rightFixedCount(states){return states.rightFixedColumns.length;}})),created:function created(){this.filterPanels={};},mounted:function mounted(){var _this2=this;// nextTick 是有必è¦çš„ https://github.com/ElemeFE/element/pull/11311\nthis.$nextTick(function(){var _this2$defaultSort=_this2.defaultSort,prop=_this2$defaultSort.prop,order=_this2$defaultSort.order;var init=true;_this2.store.commit('sort',{prop:prop,order:order,init:init});});},beforeDestroy:function beforeDestroy(){var panels=this.filterPanels;for(var prop in panels){if(panels.hasOwnProperty(prop)&&panels[prop]){panels[prop].$destroy(true);}}},methods:{isCellHidden:function isCellHidden(index,columns){var start=0;for(var i=0;i<index;i++){start+=columns[i].colSpan;}var after=start+columns[index].colSpan-1;if(this.fixed===true||this.fixed==='left'){return after>=this.leftFixedLeafCount;}if(this.fixed==='right'){return start<this.columnsCount-this.rightFixedLeafCount;}return after<this.leftFixedLeafCount||start>=this.columnsCount-this.rightFixedLeafCount;},getHeaderRowStyle:function getHeaderRowStyle(rowIndex){var headerRowStyle=this.table.headerRowStyle;if(typeof headerRowStyle==='function'){return headerRowStyle.call(null,{rowIndex:rowIndex});}return headerRowStyle;},getHeaderRowClass:function getHeaderRowClass(rowIndex){var classes=[];var headerRowClassName=this.table.headerRowClassName;if(typeof headerRowClassName==='string'){classes.push(headerRowClassName);}else if(typeof headerRowClassName==='function'){classes.push(headerRowClassName.call(null,{rowIndex:rowIndex}));}return classes.join(' ');},getHeaderCellStyle:function getHeaderCellStyle(rowIndex,columnIndex,row,column){var headerCellStyle=this.table.headerCellStyle;if(typeof headerCellStyle==='function'){return headerCellStyle.call(null,{rowIndex:rowIndex,columnIndex:columnIndex,row:row,column:column});}return headerCellStyle;},getCellDataTest:function getCellDataTest(column){var columnName=column.property||column.type;return\"\".concat(columnName,\"_column\");},getHeaderCellClass:function getHeaderCellClass(rowIndex,columnIndex,row,column){var classes=[column.id,column.order,column.headerAlign,column.className,column.labelClassName];if(rowIndex===0&&this.isCellHidden(columnIndex,row)){classes.push('is-hidden');}if(!column.children){classes.push('is-leaf');}if(column.sortable){classes.push('is-sortable');}var headerCellClassName=this.table.headerCellClassName;if(typeof headerCellClassName==='string'){classes.push(headerCellClassName);}else if(typeof headerCellClassName==='function'){classes.push(headerCellClassName.call(null,{rowIndex:rowIndex,columnIndex:columnIndex,row:row,column:column}));}classes.push('el-table__cell');return classes.join(' ');},toggleAllSelection:function toggleAllSelection(){this.store.commit('toggleAllSelection');},handleFilterClick:function handleFilterClick(event,column){event.stopPropagation();var target=event.target;var cell=target.tagName==='TH'?target:target.parentNode;if(hasClass(cell,'noclick'))return;cell=cell.querySelector('.el-table__column-filter-trigger')||cell;var table=this.$parent;var filterPanel=this.filterPanels[column.id];if(filterPanel&&column.filterOpened){filterPanel.showPopper=false;return;}if(!filterPanel){filterPanel=new Vue(FilterPanel);this.filterPanels[column.id]=filterPanel;if(column.filterPlacement){filterPanel.placement=column.filterPlacement;}filterPanel.table=table;filterPanel.cell=cell;filterPanel.column=column;!this.$isServer&&filterPanel.$mount(document.createElement('div'));}setTimeout(function(){filterPanel.showPopper=true;},16);},handleHeaderClick:function handleHeaderClick(event,column){if(!column.filters&&column.sortable){this.handleSortClick(event,column);}else if(column.filterable&&!column.sortable){this.handleFilterClick(event,column);}this.$parent.$emit('header-click',column,event);},handleHeaderContextMenu:function handleHeaderContextMenu(event,column){this.$parent.$emit('header-contextmenu',column,event);},handleMouseDown:function handleMouseDown(event,column){var _this3=this;if(this.$isServer)return;if(column.children&&column.children.length>0)return;/* istanbul ignore if */if(this.draggingColumn&&this.border){this.dragging=true;this.$parent.resizeProxyVisible=true;var table=this.$parent;var tableEl=table.$el;var tableLeft=tableEl.getBoundingClientRect().left;var columnEl=this.$el.querySelector(\"th.\".concat(column.id));var columnRect=columnEl.getBoundingClientRect();var minLeft=columnRect.left-tableLeft+30;addClass(columnEl,'noclick');this.dragState={startMouseLeft:event.clientX,startLeft:columnRect.right-tableLeft,startColumnLeft:columnRect.left-tableLeft,tableLeft:tableLeft};var resizeProxy=table.$refs.resizeProxy;resizeProxy.style.left=\"\".concat(this.dragState.startLeft,\"px\");document.onselectstart=function(){return false;};document.ondragstart=function(){return false;};var handleMouseMove=function handleMouseMove(event){var deltaLeft=event.clientX-_this3.dragState.startMouseLeft;var proxyLeft=_this3.dragState.startLeft+deltaLeft;resizeProxy.style.left=\"\".concat(Math.max(minLeft,proxyLeft),\"px\");};var handleMouseUp=function handleMouseUp(){if(_this3.dragging){var _this3$dragState=_this3.dragState,startColumnLeft=_this3$dragState.startColumnLeft,startLeft=_this3$dragState.startLeft;var finalLeft=parseInt(resizeProxy.style.left,10);var columnWidth=finalLeft-startColumnLeft;column.width=column.realWidth=columnWidth;table.$emit('header-dragend',column.width,startLeft-startColumnLeft,column,event);_this3.store.scheduleLayout();document.body.style.cursor='';_this3.dragging=false;_this3.draggingColumn=null;_this3.dragState={};table.resizeProxyVisible=false;}document.removeEventListener('mousemove',handleMouseMove);document.removeEventListener('mouseup',handleMouseUp);document.onselectstart=null;document.ondragstart=null;setTimeout(function(){removeClass(columnEl,'noclick');},0);};document.addEventListener('mousemove',handleMouseMove);document.addEventListener('mouseup',handleMouseUp);}},handleMouseMove:function handleMouseMove(event,column){if(column.children&&column.children.length>0)return;var target=event.target;while(target&&target.tagName!=='TH'){target=target.parentNode;}if(!column||!column.resizable)return;if(!this.dragging&&this.border){var rect=target.getBoundingClientRect();var bodyStyle=document.body.style;if(rect.width>12&&rect.right-event.pageX<8){bodyStyle.cursor='col-resize';if(hasClass(target,'is-sortable')){target.style.cursor='col-resize';}this.draggingColumn=column;}else if(!this.dragging){bodyStyle.cursor='';if(hasClass(target,'is-sortable')){target.style.cursor='pointer';}this.draggingColumn=null;}}},handleMouseOut:function handleMouseOut(){if(this.$isServer)return;document.body.style.cursor='';},toggleOrder:function toggleOrder(_ref){var order=_ref.order,sortOrders=_ref.sortOrders;if(order==='')return sortOrders[0];var index=sortOrders.indexOf(order||null);return sortOrders[index>sortOrders.length-2?0:index+1];},handleSortClick:function handleSortClick(event,column,givenOrder){event.stopPropagation();var order=column.order===givenOrder?null:givenOrder||this.toggleOrder(column);var target=event.target;while(target&&target.tagName!=='TH'){target=target.parentNode;}if(target&&target.tagName==='TH'){if(hasClass(target,'noclick')){removeClass(target,'noclick');return;}}if(!column.sortable)return;var states=this.store.states;var sortProp=states.sortProp;var sortOrder;var sortingColumn=states.sortingColumn;if(sortingColumn!==column||sortingColumn===column&&sortingColumn.order===null){if(sortingColumn){sortingColumn.order=null;}states.sortingColumn=column;sortProp=column.property;}if(!order){sortOrder=column.order=null;}else{sortOrder=column.order=order;}states.sortProp=sortProp;states.sortOrder=sortOrder;this.store.commit('changeSortCondition');}},data:function data(){return{draggingColumn:null,dragging:false,dragState:{}};}};/* eslint-enable */","import Popper from 'element-ui/src/utils/vue-popper';\nimport debounce from 'throttle-debounce/debounce';\nimport { addClass, removeClass, on, off } from 'element-ui/src/utils/dom';\nimport { generateId } from 'element-ui/src/utils/util';\nimport Vue from 'vue';\nexport default {\n name: 'ElTooltip',\n mixins: [Popper],\n props: {\n openDelay: {\n type: Number,\n \"default\": 0\n },\n disabled: Boolean,\n manual: Boolean,\n effect: {\n type: String,\n \"default\": 'dark'\n },\n arrowOffset: {\n type: Number,\n \"default\": 0\n },\n popperClass: String,\n content: String,\n visibleArrow: {\n \"default\": true\n },\n transition: {\n type: String,\n \"default\": 'el-fade-in-linear'\n },\n popperOptions: {\n \"default\": function _default() {\n return {\n boundariesPadding: 10,\n gpuAcceleration: false\n };\n }\n },\n enterable: {\n type: Boolean,\n \"default\": true\n },\n hideAfter: {\n type: Number,\n \"default\": 0\n },\n tabindex: {\n type: Number,\n \"default\": 0\n }\n },\n data: function data() {\n return {\n tooltipId: \"el-tooltip-\".concat(generateId()),\n timeoutPending: null,\n focusing: false\n };\n },\n beforeCreate: function beforeCreate() {\n var _this = this;\n\n if (this.$isServer) return;\n this.popperVM = new Vue({\n data: {\n node: ''\n },\n render: function render(h) {\n return this.node;\n }\n }).$mount();\n this.debounceClose = debounce(200, function () {\n return _this.handleClosePopper();\n });\n },\n render: function render(h) {\n var _this2 = this;\n\n if (this.popperVM) {\n this.popperVM.node = h(\"transition\", {\n \"attrs\": {\n \"name\": this.transition\n },\n \"on\": {\n \"afterLeave\": this.doDestroy\n }\n }, [h(\"div\", {\n \"on\": {\n \"mouseleave\": function mouseleave() {\n _this2.setExpectedState(false);\n\n _this2.debounceClose();\n },\n \"mouseenter\": function mouseenter() {\n _this2.setExpectedState(true);\n }\n },\n \"ref\": \"popper\",\n \"attrs\": {\n \"role\": \"tooltip\",\n \"id\": this.tooltipId,\n \"aria-hidden\": this.disabled || !this.showPopper ? 'true' : 'false'\n },\n \"directives\": [{\n name: \"show\",\n value: !this.disabled && this.showPopper\n }],\n \"class\": ['el-tooltip__popper', 'is-' + this.effect, this.popperClass]\n }, [this.$slots.content || this.content])]);\n }\n\n var firstElement = this.getFirstElement();\n if (!firstElement) return null;\n var data = firstElement.data = firstElement.data || {};\n data.staticClass = this.addTooltipClass(data.staticClass);\n return firstElement;\n },\n mounted: function mounted() {\n var _this3 = this;\n\n this.referenceElm = this.$el;\n\n if (this.$el.nodeType === 1) {\n this.$el.setAttribute('aria-describedby', this.tooltipId);\n this.$el.setAttribute('tabindex', this.tabindex);\n on(this.referenceElm, 'mouseenter', this.show);\n on(this.referenceElm, 'mouseleave', this.hide);\n on(this.referenceElm, 'focus', function () {\n if (!_this3.$slots[\"default\"] || !_this3.$slots[\"default\"].length) {\n _this3.handleFocus();\n\n return;\n }\n\n var instance = _this3.$slots[\"default\"][0].componentInstance;\n\n if (instance && instance.focus) {\n instance.focus();\n } else {\n _this3.handleFocus();\n }\n });\n on(this.referenceElm, 'blur', this.handleBlur);\n on(this.referenceElm, 'click', this.removeFocusing);\n } // fix issue https://github.com/ElemeFE/element/issues/14424\n\n\n if (this.value && this.popperVM) {\n this.popperVM.$nextTick(function () {\n if (_this3.value) {\n _this3.updatePopper();\n }\n });\n }\n },\n watch: {\n focusing: function focusing(val) {\n if (val) {\n addClass(this.referenceElm, 'focusing');\n } else {\n removeClass(this.referenceElm, 'focusing');\n }\n }\n },\n methods: {\n show: function show() {\n this.setExpectedState(true);\n this.handleShowPopper();\n },\n hide: function hide() {\n this.setExpectedState(false);\n this.debounceClose();\n },\n handleFocus: function handleFocus() {\n this.focusing = true;\n this.show();\n },\n handleBlur: function handleBlur() {\n this.focusing = false;\n this.hide();\n },\n removeFocusing: function removeFocusing() {\n this.focusing = false;\n },\n addTooltipClass: function addTooltipClass(prev) {\n if (!prev) {\n return 'el-tooltip';\n } else {\n return 'el-tooltip ' + prev.replace('el-tooltip', '');\n }\n },\n handleShowPopper: function handleShowPopper() {\n var _this4 = this;\n\n if (!this.expectedState || this.manual) return;\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n _this4.showPopper = true;\n }, this.openDelay);\n\n if (this.hideAfter > 0) {\n this.timeoutPending = setTimeout(function () {\n _this4.showPopper = false;\n }, this.hideAfter);\n }\n },\n handleClosePopper: function handleClosePopper() {\n if (this.enterable && this.expectedState || this.manual) return;\n clearTimeout(this.timeout);\n\n if (this.timeoutPending) {\n clearTimeout(this.timeoutPending);\n }\n\n this.showPopper = false;\n\n if (this.disabled) {\n this.doDestroy();\n }\n },\n setExpectedState: function setExpectedState(expectedState) {\n if (expectedState === false) {\n clearTimeout(this.timeoutPending);\n }\n\n this.expectedState = expectedState;\n },\n getFirstElement: function getFirstElement() {\n var slots = this.$slots[\"default\"];\n if (!Array.isArray(slots)) return null;\n var element = null;\n\n for (var index = 0; index < slots.length; index++) {\n if (slots[index] && slots[index].tag) {\n element = slots[index];\n break;\n }\n\n ;\n }\n\n return element;\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.popperVM && this.popperVM.$destroy();\n },\n destroyed: function destroyed() {\n var reference = this.referenceElm;\n\n if (reference.nodeType === 1) {\n off(reference, 'mouseenter', this.show);\n off(reference, 'mouseleave', this.hide);\n off(reference, 'focus', this.handleFocus);\n off(reference, 'blur', this.handleBlur);\n off(reference, 'click', this.removeFocusing);\n }\n }\n};","import Tooltip from './src/main';\n/* istanbul ignore next */\n\nTooltip.install = function (Vue) {\n Vue.component(Tooltip.name, Tooltip);\n};\n\nexport default Tooltip;","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}/* eslint-disable */import{arrayFindIndex}from'element-ui/src/utils/util';import{getCell,getColumnByCell,getRowIdentity,objectEquals}from'element-ui/packages/table/src/util';import{getStyle,hasClass,removeClass,addClass}from'element-ui/src/utils/dom';import ElCheckbox from'element-ui/packages/checkbox';import ElTooltip from'element-ui/packages/tooltip';import debounce from'throttle-debounce/debounce';import LayoutObserver from'element-ui/packages/table/src/layout-observer';import{mapStates}from'element-ui/packages/table/src/store/helper';import TableRow from'./row';export default{name:'ElTableBody',mixins:[LayoutObserver],components:{ElCheckbox:ElCheckbox,ElTooltip:ElTooltip,TableRow:TableRow},props:{store:{required:true},stripe:Boolean,context:{},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:String,highlight:Boolean},render:function render(h){var _this=this;var data=this.data||[];return h(\"table\",{\"class\":\"el-table__body\",\"attrs\":{\"cellspacing\":\"0\",\"cellpadding\":\"0\",\"border\":\"0\"}},[h(\"colgroup\",[this.columns.map(function(column){return h(\"col\",{\"attrs\":{\"name\":column.id},\"key\":column.id});})]),h(\"tbody\",[data.reduce(function(acc,row){return acc.concat(_this.wrappedRowRender(row,acc.length));},[]),h(\"el-tooltip\",{\"attrs\":{\"effect\":this.table.tooltipEffect,\"placement\":\"top\",\"content\":this.tooltipContent},\"ref\":\"tooltip\"})])]);},computed:_objectSpread(_objectSpread({table:function table(){return this.$parent;}},mapStates({data:'data',columns:'columns',treeIndent:'indent',leftFixedLeafCount:'fixedLeafColumnsLength',rightFixedLeafCount:'rightFixedLeafColumnsLength',columnsCount:function columnsCount(states){return states.columns.length;},leftFixedCount:function leftFixedCount(states){return states.fixedColumns.length;},rightFixedCount:function rightFixedCount(states){return states.rightFixedColumns.length;},hasExpandColumn:function hasExpandColumn(states){return states.columns.some(function(_ref){var type=_ref.type;return type==='expand';});}})),{},{columnsHidden:function columnsHidden(){var _this2=this;return this.columns.map(function(column,index){return _this2.isColumnHidden(index);});},firstDefaultColumnIndex:function firstDefaultColumnIndex(){return arrayFindIndex(this.columns,function(_ref2){var type=_ref2.type;return type==='default';});}}),watch:{// don't trigger getter of currentRow in getCellClass. see https://jsfiddle.net/oe2b4hqt/\n// update DOM manually. see https://github.com/ElemeFE/element/pull/13954/files#diff-9b450c00d0a9dec0ffad5a3176972e40\n'store.states.hoverRow':function storeStatesHoverRow(newVal,oldVal){var _this3=this;if(!this.store.states.isComplex||this.$isServer)return;var raf=window.requestAnimationFrame;if(!raf){raf=function raf(fn){return setTimeout(fn,16);};}raf(function(){var rows=_this3.$el.querySelectorAll('.el-table__row');var oldRow=rows[oldVal];var newRow=rows[newVal];if(oldRow){removeClass(oldRow,'hover-row');}if(newRow){addClass(newRow,'hover-row');}});}},data:function data(){return{tooltipContent:''};},created:function created(){this.activateTooltip=debounce(50,function(tooltip){return tooltip.handleShowPopper();});},methods:{getKeyOfRow:function getKeyOfRow(row,index){var rowKey=this.table.rowKey;if(rowKey){return getRowIdentity(row,rowKey);}return index;},isColumnHidden:function isColumnHidden(index){if(this.fixed===true||this.fixed==='left'){return index>=this.leftFixedLeafCount;}if(this.fixed==='right'){return index<this.columnsCount-this.rightFixedLeafCount;}return index<this.leftFixedLeafCount||index>=this.columnsCount-this.rightFixedLeafCount;},getSpan:function getSpan(row,column,rowIndex,columnIndex){var rowspan=1;var colspan=1;var fn=this.table.spanMethod;if(typeof fn==='function'){var result=fn({row:row,column:column,rowIndex:rowIndex,columnIndex:columnIndex});if(Array.isArray(result)){rowspan=result[0];colspan=result[1];}else if(typeof result==='object'){rowspan=result.rowspan;colspan=result.colspan;}}return{rowspan:rowspan,colspan:colspan};},getRowStyle:function getRowStyle(row,rowIndex){var rowStyle=this.table.rowStyle;if(typeof rowStyle==='function'){return rowStyle.call(null,{row:row,rowIndex:rowIndex});}return rowStyle||null;},getRowClass:function getRowClass(row,rowIndex){var selection=this.store.states.selection;var classes=['el-table__row'];if(this.table.highlightCurrentRow&&row===this.store.states.currentRow){classes.push('current-row');}if(this.table.highlightSelectionRow){for(var i=0;i<selection.length;i++){if(objectEquals(row,selection[i])){classes.push('selection-row');}}}if(this.stripe&&rowIndex%2===1){classes.push('el-table__row--striped');}var rowClassName=this.table.rowClassName;if(typeof rowClassName==='string'){classes.push(rowClassName);}else if(typeof rowClassName==='function'){classes.push(rowClassName.call(null,{row:row,rowIndex:rowIndex}));}if(this.store.states.expandRows.indexOf(row)>-1){classes.push('expanded');}return classes;},getCellStyle:function getCellStyle(rowIndex,columnIndex,row,column){var cellStyle=this.table.cellStyle;if(typeof cellStyle==='function'){return cellStyle.call(null,{rowIndex:rowIndex,columnIndex:columnIndex,row:row,column:column});}return cellStyle;},getCellClass:function getCellClass(rowIndex,columnIndex,row,column){var classes=[column.id,column.align,column.className];if(this.isColumnHidden(columnIndex)){classes.push('is-hidden');}var cellClassName=this.table.cellClassName;if(typeof cellClassName==='string'){classes.push(cellClassName);}else if(typeof cellClassName==='function'){classes.push(cellClassName.call(null,{rowIndex:rowIndex,columnIndex:columnIndex,row:row,column:column}));}classes.push('el-table__cell');return classes.join(' ');},getColspanRealWidth:function getColspanRealWidth(columns,colspan,index){if(colspan<1){return columns[index].realWidth;}var widthArr=columns.map(function(_ref3){var realWidth=_ref3.realWidth;return realWidth;}).slice(index,index+colspan);return widthArr.reduce(function(acc,width){return acc+width;},-1);},handleCellMouseEnter:function handleCellMouseEnter(event,row){var table=this.table;var cell=getCell(event);if(cell){var column=getColumnByCell(table,cell);var hoverState=table.hoverState={cell:cell,column:column,row:row};table.$emit('cell-mouse-enter',hoverState.row,hoverState.column,hoverState.cell,event);}// 判æ–是å¦text-overflow, 如果是就显示tooltip\nvar cellChild=event.target.querySelector('.cell');if(!(hasClass(cellChild,'el-tooltip')&&cellChild.childNodes.length)){return;}// use range width instead of scrollWidth to determine whether the text is overflowing\n// to address a potential FireFox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1074543#c3\nvar range=document.createRange();range.setStart(cellChild,0);range.setEnd(cellChild,cellChild.childNodes.length);var rangeWidth=range.getBoundingClientRect().width;var padding=(parseInt(getStyle(cellChild,'paddingLeft'),10)||0)+(parseInt(getStyle(cellChild,'paddingRight'),10)||0);if((rangeWidth+padding>cellChild.offsetWidth||cellChild.scrollWidth>cellChild.offsetWidth)&&this.$refs.tooltip){var tooltip=this.$refs.tooltip;// TODO 会引起整个 Table çš„é‡æ–°æ¸²æŸ“,需è¦ä¼˜åŒ–\nthis.tooltipContent=cell.innerText||cell.textContent;tooltip.referenceElm=cell;tooltip.$refs.popper&&(tooltip.$refs.popper.style.display='none');tooltip.doDestroy();tooltip.setExpectedState(true);this.activateTooltip(tooltip);}},handleCellMouseLeave:function handleCellMouseLeave(event){var tooltip=this.$refs.tooltip;if(tooltip){tooltip.setExpectedState(false);tooltip.handleClosePopper();}var cell=getCell(event);if(!cell)return;var oldHoverState=this.table.hoverState||{};this.table.$emit('cell-mouse-leave',oldHoverState.row,oldHoverState.column,oldHoverState.cell,event);},handleMouseEnter:debounce(30,function(index){this.store.commit('setHoverRow',index);}),handleMouseLeave:debounce(30,function(){this.store.commit('setHoverRow',null);}),handleContextMenu:function handleContextMenu(event,row){this.handleEvent(event,row,'contextmenu');},handleDoubleClick:function handleDoubleClick(event,row){this.handleEvent(event,row,'dblclick');},handleClick:function handleClick(event,row){this.store.commit('setCurrentRow',row);this.handleEvent(event,row,'click');},handleEvent:function handleEvent(event,row,name){var table=this.table;var cell=getCell(event);var column;if(cell){column=getColumnByCell(table,cell);if(column){table.$emit(\"cell-\".concat(name),row,column,cell,event);}}table.$emit(\"row-\".concat(name),row,column,event);},rowRender:function rowRender(row,$index,treeRowData){var _this4=this;var h=this.$createElement;var treeIndent=this.treeIndent,columns=this.columns,firstDefaultColumnIndex=this.firstDefaultColumnIndex;var rowClasses=this.getRowClass(row,$index);var display=true;if(treeRowData){rowClasses.push(\"el-table__row--level-\".concat(treeRowData.level));display=treeRowData.display;}// 指令 v-show 会覆盖 row-style ä¸ display\n// 使用 :style 代替 v-show https://github.com/ElemeFE/element/issues/16995\nvar displayStyle=display?null:{display:'none'};return h(TableRow,{\"style\":[displayStyle,this.getRowStyle(row,$index)],\"class\":rowClasses,\"key\":this.getKeyOfRow(row,$index),\"nativeOn\":{\"dblclick\":function dblclick($event){return _this4.handleDoubleClick($event,row);},\"click\":function click($event){return _this4.handleClick($event,row);},\"contextmenu\":function contextmenu($event){return _this4.handleContextMenu($event,row);},\"mouseenter\":function mouseenter(_){return _this4.handleMouseEnter($index);},\"mouseleave\":this.handleMouseLeave},\"attrs\":{\"columns\":columns,\"row\":row,\"index\":$index,\"store\":this.store,\"context\":this.context||this.table.$vnode.context,\"firstDefaultColumnIndex\":firstDefaultColumnIndex,\"treeRowData\":treeRowData,\"treeIndent\":treeIndent,\"columnsHidden\":this.columnsHidden,\"getSpan\":this.getSpan,\"getColspanRealWidth\":this.getColspanRealWidth,\"getCellStyle\":this.getCellStyle,\"getCellClass\":this.getCellClass,\"handleCellMouseEnter\":this.handleCellMouseEnter,\"handleCellMouseLeave\":this.handleCellMouseLeave,\"isSelected\":this.store.isSelected(row),\"isExpanded\":this.store.states.expandRows.indexOf(row)>-1,\"fixed\":this.fixed}});},wrappedRowRender:function wrappedRowRender(row,$index){var _this5=this;var h=this.$createElement;var store=this.store;var isRowExpanded=store.isRowExpanded,assertRowKey=store.assertRowKey;var _store$states=store.states,treeData=_store$states.treeData,lazyTreeNodeMap=_store$states.lazyTreeNodeMap,childrenColumnName=_store$states.childrenColumnName,rowKey=_store$states.rowKey;if(this.hasExpandColumn&&isRowExpanded(row)){var renderExpanded=this.table.renderExpanded;var tr=this.rowRender(row,$index);if(!renderExpanded){console.error('[Element Error]renderExpanded is required.');return tr;}// 使用二维数组,é¿å…修改 $index\nreturn[[tr,h(\"tr\",{\"key\":\"expanded-row__\".concat(tr.key)},[h(\"td\",{\"attrs\":{\"colspan\":this.columnsCount},\"class\":\"el-table__cell el-table__expanded-cell\"},[renderExpanded(this.$createElement,{row:row,$index:$index,store:this.store})])])]];}if(Object.keys(treeData).length){assertRowKey();// TreeTable 时,rowKey 必须由用户设定,ä¸ä½¿ç”¨ getKeyOfRow 计算\n// 在调用 rowRender 函数时,ä»ç„¶ä¼šè®¡ç®— rowKey,ä¸å¤ªå¥½çš„æ“作\nvar key=getRowIdentity(row,rowKey);var cur=treeData[key];var treeRowData=null;if(cur){treeRowData={expanded:cur.expanded,level:cur.level,display:true};if(typeof cur.lazy==='boolean'){if(typeof cur.loaded==='boolean'&&cur.loaded){treeRowData.noLazyChildren=!(cur.children&&cur.children.length);}treeRowData.loading=cur.loading;}}var tmp=[this.rowRender(row,$index,treeRowData)];// 渲染嵌套数æ®\nif(cur){// currentRow 记录的是 indexï¼Œæ‰€ä»¥è¿˜éœ€ä¸»åŠ¨å¢žåŠ TreeTable çš„ index\nvar i=0;var traverse=function traverse(children,parent){if(!(children&&children.length&&parent))return;children.forEach(function(node){// 父节点的 display 状æ€å½±å“å节点的显示状æ€\nvar innerTreeRowData={display:parent.display&&parent.expanded,level:parent.level+1};var childKey=getRowIdentity(node,rowKey);if(childKey===undefined||childKey===null){throw new Error('for nested data item, row-key is required.');}cur=_objectSpread({},treeData[childKey]);// 对于当å‰èŠ‚点,分æˆæœ‰æ— å节点两ç§æƒ…况。\n// 如果包å«å节点的,设置 expanded 属性。\n// 对于它å节点的 display 属性由它本身的 expanded 与 display å…±åŒå†³å®šã€‚\nif(cur){innerTreeRowData.expanded=cur.expanded;// æ‡’åŠ è½½çš„æŸäº›èŠ‚点,level 未知\ncur.level=cur.level||innerTreeRowData.level;cur.display=!!(cur.expanded&&innerTreeRowData.display);if(typeof cur.lazy==='boolean'){if(typeof cur.loaded==='boolean'&&cur.loaded){innerTreeRowData.noLazyChildren=!(cur.children&&cur.children.length);}innerTreeRowData.loading=cur.loading;}}i++;tmp.push(_this5.rowRender(node,$index+i,innerTreeRowData));if(cur){var _nodes=lazyTreeNodeMap[childKey]||node[childrenColumnName];traverse(_nodes,cur);}});};// 对于 root 节点,display 一定为 true\ncur.display=true;var nodes=lazyTreeNodeMap[key]||row[childrenColumnName];traverse(nodes,cur);}return tmp;}return this.rowRender(row,$index);}}};/* eslint-enable */","import { isWhiteSpace } from './characterClasses.mjs';\n/**\n * Produces the value of a block string from its parsed raw value, similar to\n * CoffeeScript's block string, Python's docstring trim or Ruby's strip_heredoc.\n *\n * This implements the GraphQL spec's BlockStringValue() static algorithm.\n *\n * @internal\n */\n\nexport function dedentBlockStringLines(lines) {\n var _firstNonEmptyLine2;\n\n var commonIndent = Number.MAX_SAFE_INTEGER;\n var firstNonEmptyLine = null;\n var lastNonEmptyLine = -1;\n\n for (var i = 0; i < lines.length; ++i) {\n var _firstNonEmptyLine;\n\n var line = lines[i];\n var indent = leadingWhitespace(line);\n\n if (indent === line.length) {\n continue; // skip empty lines\n }\n\n firstNonEmptyLine = (_firstNonEmptyLine = firstNonEmptyLine) !== null && _firstNonEmptyLine !== void 0 ? _firstNonEmptyLine : i;\n lastNonEmptyLine = i;\n\n if (i !== 0 && indent < commonIndent) {\n commonIndent = indent;\n }\n }\n\n return lines // Remove common indentation from all lines but first.\n .map(function (line, i) {\n return i === 0 ? line : line.slice(commonIndent);\n }) // Remove leading and trailing blank lines.\n .slice((_firstNonEmptyLine2 = firstNonEmptyLine) !== null && _firstNonEmptyLine2 !== void 0 ? _firstNonEmptyLine2 : 0, lastNonEmptyLine + 1);\n}\n\nfunction leadingWhitespace(str) {\n var i = 0;\n\n while (i < str.length && isWhiteSpace(str.charCodeAt(i))) {\n ++i;\n }\n\n return i;\n}\n/**\n * @internal\n */\n\n\nexport function isPrintableAsBlockString(value) {\n if (value === '') {\n return true; // empty string is printable\n }\n\n var isEmptyLine = true;\n var hasIndent = false;\n var hasCommonIndent = true;\n var seenNonEmptyLine = false;\n\n for (var i = 0; i < value.length; ++i) {\n switch (value.codePointAt(i)) {\n case 0x0000:\n case 0x0001:\n case 0x0002:\n case 0x0003:\n case 0x0004:\n case 0x0005:\n case 0x0006:\n case 0x0007:\n case 0x0008:\n case 0x000b:\n case 0x000c:\n case 0x000e:\n case 0x000f:\n return false;\n // Has non-printable characters\n\n case 0x000d:\n // \\r\n return false;\n // Has \\r or \\r\\n which will be replaced as \\n\n\n case 10:\n // \\n\n if (isEmptyLine && !seenNonEmptyLine) {\n return false; // Has leading new line\n }\n\n seenNonEmptyLine = true;\n isEmptyLine = true;\n hasIndent = false;\n break;\n\n case 9: // \\t\n\n case 32:\n // <space>\n hasIndent || (hasIndent = isEmptyLine);\n break;\n\n default:\n hasCommonIndent && (hasCommonIndent = hasIndent);\n isEmptyLine = false;\n }\n }\n\n if (isEmptyLine) {\n return false; // Has trailing empty lines\n }\n\n if (hasCommonIndent && seenNonEmptyLine) {\n return false; // Has internal indent\n }\n\n return true;\n}\n/**\n * Print a block string in the indented block form by adding a leading and\n * trailing blank line. However, if a block string starts with whitespace and is\n * a single-line, adding a leading blank line would strip that whitespace.\n *\n * @internal\n */\n\nexport function printBlockString(value, options) {\n var escapedValue = value.replace(/\"\"\"/g, '\\\\\"\"\"'); // Expand a block string's raw value into independent lines.\n\n var lines = escapedValue.split(/\\r\\n|[\\n\\r]/g);\n var isSingleLine = lines.length === 1; // If common indentation is found we can fix some of those cases by adding leading new line\n\n var forceLeadingNewLine = lines.length > 1 && lines.slice(1).every(function (line) {\n return line.length === 0 || isWhiteSpace(line.charCodeAt(0));\n }); // Trailing triple quotes just looks confusing but doesn't force trailing new line\n\n var hasTrailingTripleQuotes = escapedValue.endsWith('\\\\\"\"\"'); // Trailing quote (single or double) or slash forces trailing new line\n\n var hasTrailingQuote = value.endsWith('\"') && !hasTrailingTripleQuotes;\n var hasTrailingSlash = value.endsWith('\\\\');\n var forceTrailingNewline = hasTrailingQuote || hasTrailingSlash;\n var printAsMultipleLines = !(options !== null && options !== void 0 && options.minimize) && ( // add leading and trailing new lines only if it improves readability\n !isSingleLine || value.length > 70 || forceTrailingNewline || forceLeadingNewLine || hasTrailingTripleQuotes);\n var result = ''; // Format a multi-line block quote to account for leading space.\n\n var skipLeadingNewLine = isSingleLine && isWhiteSpace(value.charCodeAt(0));\n\n if (printAsMultipleLines && !skipLeadingNewLine || forceLeadingNewLine) {\n result += '\\n';\n }\n\n result += escapedValue;\n\n if (printAsMultipleLines || forceTrailingNewline) {\n result += '\\n';\n }\n\n return '\"\"\"' + result + '\"\"\"';\n}","/**\n * Returns the root span of a given span.\n *\n * As long as we use `Transaction`s internally, the returned root span\n * will be a `Transaction` but be aware that this might change in the future.\n *\n * If the given span has no root span or transaction, `undefined` is returned.\n */\nfunction getRootSpan(span) {\n // TODO (v8): Remove this check and just return span\n // eslint-disable-next-line deprecation/deprecation\n return span.transaction;\n}\n\nexport { getRootSpan };","import { dropUndefinedKeys } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from '../constants.js';\nimport { getClient, getCurrentScope } from '../exports.js';\nimport { getRootSpan } from '../utils/getRootSpan.js';\nimport { spanToJSON, spanIsSampled } from '../utils/spanUtils.js';\n/**\n * Creates a dynamic sampling context from a client.\n *\n * Dispatches the `createDsc` lifecycle hook as a side effect.\n */\n\nfunction getDynamicSamplingContextFromClient(trace_id, client, scope) {\n var options = client.getOptions();\n\n var _ref = client.getDsn() || {},\n public_key = _ref.publicKey; // TODO(v8): Remove segment from User\n // eslint-disable-next-line deprecation/deprecation\n\n\n var _ref2 = scope && scope.getUser() || {},\n user_segment = _ref2.segment;\n\n var dsc = dropUndefinedKeys({\n environment: options.environment || DEFAULT_ENVIRONMENT,\n release: options.release,\n user_segment: user_segment,\n public_key: public_key,\n trace_id: trace_id\n });\n client.emit && client.emit('createDsc', dsc);\n return dsc;\n}\n/**\n * A Span with a frozen dynamic sampling context.\n */\n\n/**\n * Creates a dynamic sampling context from a span (and client and scope)\n *\n * @param span the span from which a few values like the root span name and sample rate are extracted.\n *\n * @returns a dynamic sampling context\n */\n\n\nfunction getDynamicSamplingContextFromSpan(span) {\n var client = getClient();\n\n if (!client) {\n return {};\n } // passing emit=false here to only emit later once the DSC is actually populated\n\n\n var dsc = getDynamicSamplingContextFromClient(spanToJSON(span).trace_id || '', client, getCurrentScope()); // TODO (v8): Remove v7FrozenDsc as a Transaction will no longer have _frozenDynamicSamplingContext\n\n var txn = getRootSpan(span);\n\n if (!txn) {\n return dsc;\n } // TODO (v8): Remove v7FrozenDsc as a Transaction will no longer have _frozenDynamicSamplingContext\n // For now we need to avoid breaking users who directly created a txn with a DSC, where this field is still set.\n // @see Transaction class constructor\n\n\n var v7FrozenDsc = txn && txn._frozenDynamicSamplingContext;\n\n if (v7FrozenDsc) {\n return v7FrozenDsc;\n } // TODO (v8): Replace txn.metadata with txn.attributes[]\n // We can't do this yet because attributes aren't always set yet.\n // eslint-disable-next-line deprecation/deprecation\n\n\n var _txn$metadata = txn.metadata,\n maybeSampleRate = _txn$metadata.sampleRate,\n source = _txn$metadata.source;\n\n if (maybeSampleRate != null) {\n dsc.sample_rate = \"\".concat(maybeSampleRate);\n } // We don't want to have a transaction name in the DSC if the source is \"url\" because URLs might contain PII\n\n\n var jsonSpan = spanToJSON(txn); // after JSON conversion, txn.name becomes jsonSpan.description\n\n if (source && source !== 'url') {\n dsc.transaction = jsonSpan.description;\n }\n\n dsc.sampled = String(spanIsSampled(txn));\n client.emit && client.emit('createDsc', dsc);\n return dsc;\n}\n\nexport { getDynamicSamplingContextFromClient, getDynamicSamplingContextFromSpan };","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { uuid4, dateTimestampInSeconds, addExceptionMechanism, truncate, GLOBAL_OBJ, normalize } from '@sentry/utils';\nimport { DEFAULT_ENVIRONMENT } from '../constants.js';\nimport { getGlobalEventProcessors, notifyEventProcessors } from '../eventProcessors.js';\nimport { getGlobalScope, Scope } from '../scope.js';\nimport { mergeScopeData, applyScopeDataToEvent } from './applyScopeDataToEvent.js';\nimport { spanToJSON } from './spanUtils.js';\n/**\n * This type makes sure that we get either a CaptureContext, OR an EventHint.\n * It does not allow mixing them, which could lead to unexpected outcomes, e.g. this is disallowed:\n * { user: { id: '123' }, mechanism: { handled: false } }\n */\n\n/**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * Note: This also triggers callbacks for `addGlobalEventProcessor`, but not `beforeSend`.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n * @hidden\n */\n\nfunction prepareEvent(options, event, hint, scope, client, isolationScope) {\n var _options$normalizeDep = options.normalizeDepth,\n normalizeDepth = _options$normalizeDep === void 0 ? 3 : _options$normalizeDep,\n _options$normalizeMax = options.normalizeMaxBreadth,\n normalizeMaxBreadth = _options$normalizeMax === void 0 ? 1000 : _options$normalizeMax;\n\n var prepared = _objectSpread(_objectSpread({}, event), {}, {\n event_id: event.event_id || hint.event_id || uuid4(),\n timestamp: event.timestamp || dateTimestampInSeconds()\n });\n\n var integrations = hint.integrations || options.integrations.map(function (i) {\n return i.name;\n });\n applyClientOptions(prepared, options);\n applyIntegrationsMetadata(prepared, integrations); // Only put debug IDs onto frames for error events.\n\n if (event.type === undefined) {\n applyDebugIds(prepared, options.stackParser);\n } // If we have scope given to us, use it as the base for further modifications.\n // This allows us to prevent unnecessary copying of data if `captureContext` is not provided.\n\n\n var finalScope = getFinalScope(scope, hint.captureContext);\n\n if (hint.mechanism) {\n addExceptionMechanism(prepared, hint.mechanism);\n }\n\n var clientEventProcessors = client && client.getEventProcessors ? client.getEventProcessors() : []; // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n // Merge scope data together\n\n var data = getGlobalScope().getScopeData();\n\n if (isolationScope) {\n var isolationData = isolationScope.getScopeData();\n mergeScopeData(data, isolationData);\n }\n\n if (finalScope) {\n var finalScopeData = finalScope.getScopeData();\n mergeScopeData(data, finalScopeData);\n }\n\n var attachments = [].concat(_toConsumableArray(hint.attachments || []), _toConsumableArray(data.attachments));\n\n if (attachments.length) {\n hint.attachments = attachments;\n }\n\n applyScopeDataToEvent(prepared, data); // TODO (v8): Update this order to be: Global > Client > Scope\n\n var eventProcessors = [].concat(_toConsumableArray(clientEventProcessors), _toConsumableArray(getGlobalEventProcessors()), _toConsumableArray(data.eventProcessors));\n var result = notifyEventProcessors(eventProcessors, prepared, hint);\n return result.then(function (evt) {\n if (evt) {\n // We apply the debug_meta field only after all event processors have ran, so that if any event processors modified\n // file names (e.g.the RewriteFrames integration) the filename -> debug ID relationship isn't destroyed.\n // This should not cause any PII issues, since we're only moving data that is already on the event and not adding\n // any new data\n applyDebugMeta(evt);\n }\n\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return normalizeEvent(evt, normalizeDepth, normalizeMaxBreadth);\n }\n\n return evt;\n });\n}\n/**\n * Enhances event using the client configuration.\n * It takes care of all \"static\" values like environment, release and `dist`,\n * as well as truncating overly long values.\n * @param event event instance to be enhanced\n */\n\n\nfunction applyClientOptions(event, options) {\n var environment = options.environment,\n release = options.release,\n dist = options.dist,\n _options$maxValueLeng = options.maxValueLength,\n maxValueLength = _options$maxValueLeng === void 0 ? 250 : _options$maxValueLeng;\n\n if (!('environment' in event)) {\n event.environment = 'environment' in options ? environment : DEFAULT_ENVIRONMENT;\n }\n\n if (event.release === undefined && release !== undefined) {\n event.release = release;\n }\n\n if (event.dist === undefined && dist !== undefined) {\n event.dist = dist;\n }\n\n if (event.message) {\n event.message = truncate(event.message, maxValueLength);\n }\n\n var exception = event.exception && event.exception.values && event.exception.values[0];\n\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n var request = event.request;\n\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n}\n\nvar debugIdStackParserCache = new WeakMap();\n/**\n * Puts debug IDs into the stack frames of an error event.\n */\n\nfunction applyDebugIds(event, stackParser) {\n var debugIdMap = GLOBAL_OBJ._sentryDebugIds;\n\n if (!debugIdMap) {\n return;\n }\n\n var debugIdStackFramesCache;\n var cachedDebugIdStackFrameCache = debugIdStackParserCache.get(stackParser);\n\n if (cachedDebugIdStackFrameCache) {\n debugIdStackFramesCache = cachedDebugIdStackFrameCache;\n } else {\n debugIdStackFramesCache = new Map();\n debugIdStackParserCache.set(stackParser, debugIdStackFramesCache);\n } // Build a map of filename -> debug_id\n\n\n var filenameDebugIdMap = Object.keys(debugIdMap).reduce(function (acc, debugIdStackTrace) {\n var parsedStack;\n var cachedParsedStack = debugIdStackFramesCache.get(debugIdStackTrace);\n\n if (cachedParsedStack) {\n parsedStack = cachedParsedStack;\n } else {\n parsedStack = stackParser(debugIdStackTrace);\n debugIdStackFramesCache.set(debugIdStackTrace, parsedStack);\n }\n\n for (var i = parsedStack.length - 1; i >= 0; i--) {\n var stackFrame = parsedStack[i];\n\n if (stackFrame.filename) {\n acc[stackFrame.filename] = debugIdMap[debugIdStackTrace];\n break;\n }\n }\n\n return acc;\n }, {});\n\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values.forEach(function (exception) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n exception.stacktrace.frames.forEach(function (frame) {\n if (frame.filename) {\n frame.debug_id = filenameDebugIdMap[frame.filename];\n }\n });\n });\n } catch (e) {// To save bundle size we're just try catching here instead of checking for the existence of all the different objects.\n }\n}\n/**\n * Moves debug IDs from the stack frames of an error event into the debug_meta field.\n */\n\n\nfunction applyDebugMeta(event) {\n // Extract debug IDs and filenames from the stack frames on the event.\n var filenameDebugIdMap = {};\n\n try {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n event.exception.values.forEach(function (exception) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n exception.stacktrace.frames.forEach(function (frame) {\n if (frame.debug_id) {\n if (frame.abs_path) {\n filenameDebugIdMap[frame.abs_path] = frame.debug_id;\n } else if (frame.filename) {\n filenameDebugIdMap[frame.filename] = frame.debug_id;\n }\n\n delete frame.debug_id;\n }\n });\n });\n } catch (e) {// To save bundle size we're just try catching here instead of checking for the existence of all the different objects.\n }\n\n if (Object.keys(filenameDebugIdMap).length === 0) {\n return;\n } // Fill debug_meta information\n\n\n event.debug_meta = event.debug_meta || {};\n event.debug_meta.images = event.debug_meta.images || [];\n var images = event.debug_meta.images;\n Object.keys(filenameDebugIdMap).forEach(function (filename) {\n images.push({\n type: 'sourcemap',\n code_file: filename,\n debug_id: filenameDebugIdMap[filename]\n });\n });\n}\n/**\n * This function adds all used integrations to the SDK info in the event.\n * @param event The event that will be filled with all integrations.\n */\n\n\nfunction applyIntegrationsMetadata(event, integrationNames) {\n if (integrationNames.length > 0) {\n event.sdk = event.sdk || {};\n event.sdk.integrations = [].concat(_toConsumableArray(event.sdk.integrations || []), _toConsumableArray(integrationNames));\n }\n}\n/**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\n\n\nfunction normalizeEvent(event, depth, maxBreadth) {\n if (!event) {\n return null;\n }\n\n var normalized = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, event), event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(function (b) {\n return _objectSpread(_objectSpread({}, b), b.data && {\n data: normalize(b.data, depth, maxBreadth)\n });\n })\n }), event.user && {\n user: normalize(event.user, depth, maxBreadth)\n }), event.contexts && {\n contexts: normalize(event.contexts, depth, maxBreadth)\n }), event.extra && {\n extra: normalize(event.extra, depth, maxBreadth)\n }); // event.contexts.trace stores information about a Transaction. Similarly,\n // event.spans[] stores information about child Spans. Given that a\n // Transaction is conceptually a Span, normalization should apply to both\n // Transactions and Spans consistently.\n // For now the decision is to skip normalization of Transactions and Spans,\n // so this block overwrites the normalized event to add back the original\n // Transaction information prior to normalization.\n\n\n if (event.contexts && event.contexts.trace && normalized.contexts) {\n normalized.contexts.trace = event.contexts.trace; // event.contexts.trace.data may contain circular/dangerous data so we need to normalize it\n\n if (event.contexts.trace.data) {\n normalized.contexts.trace.data = normalize(event.contexts.trace.data, depth, maxBreadth);\n }\n } // event.spans[].data may contain circular/dangerous data so we need to normalize it\n\n\n if (event.spans) {\n normalized.spans = event.spans.map(function (span) {\n var data = spanToJSON(span).data;\n\n if (data) {\n // This is a bit weird, as we generally have `Span` instances here, but to be safe we do not assume so\n // eslint-disable-next-line deprecation/deprecation\n span.data = normalize(data, depth, maxBreadth);\n }\n\n return span;\n });\n }\n\n return normalized;\n}\n\nfunction getFinalScope(scope, captureContext) {\n if (!captureContext) {\n return scope;\n }\n\n var finalScope = scope ? scope.clone() : new Scope();\n finalScope.update(captureContext);\n return finalScope;\n}\n/**\n * Parse either an `EventHint` directly, or convert a `CaptureContext` to an `EventHint`.\n * This is used to allow to update method signatures that used to accept a `CaptureContext` but should now accept an `EventHint`.\n */\n\n\nfunction parseEventHintOrCaptureContext(hint) {\n if (!hint) {\n return undefined;\n } // If you pass a Scope or `() => Scope` as CaptureContext, we just return this as captureContext\n\n\n if (hintIsScopeOrFunction(hint)) {\n return {\n captureContext: hint\n };\n }\n\n if (hintIsScopeContext(hint)) {\n return {\n captureContext: hint\n };\n }\n\n return hint;\n}\n\nfunction hintIsScopeOrFunction(hint) {\n return hint instanceof Scope || typeof hint === 'function';\n}\n\nvar captureContextKeys = ['user', 'level', 'extra', 'contexts', 'tags', 'fingerprint', 'requestSession', 'propagationContext'];\n\nfunction hintIsScopeContext(hint) {\n return Object.keys(hint).some(function (key) {\n return captureContextKeys.includes(key);\n });\n}\n\nexport { applyDebugIds, applyDebugMeta, parseEventHintOrCaptureContext, prepareEvent };","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var result;\n\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n}","var formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n \"short\": ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`:\n //\n // var options = dirtyOptions || {}\n // var unit = String(options.unit)\n //\n // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nimport buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n \"short\": /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import fnsCs from'date-fns/locale/cs';import fnsEn from'date-fns/locale/en-US';import fnsPl from'date-fns/locale/pl';import fnsSk from'date-fns/locale/sk';var locales={en:fnsEn,cs:fnsCs,pl:fnsPl,sk:fnsSk};var getFnsLocale=function getFnsLocale(language){return{locale:locales[language]};};export default getFnsLocale;","import toDate from '../toDate/index.js';\n/**\n * @name differenceInMilliseconds\n * @category Millisecond Helpers\n * @summary Get the number of milliseconds between the given dates.\n *\n * @description\n * Get the number of milliseconds between the given dates.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of milliseconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many milliseconds are between\n * // 2 July 2014 12:30:20.600 and 2 July 2014 12:30:21.700?\n * var result = differenceInMilliseconds(\n * new Date(2014, 6, 2, 12, 30, 21, 700),\n * new Date(2014, 6, 2, 12, 30, 20, 600)\n * )\n * //=> 1100\n */\n\nexport default function differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getTime() - dateRight.getTime();\n}","import _has from './_has.js';\nvar toString = Object.prototype.toString;\n\nvar _isArguments =\n/*#__PURE__*/\nfunction () {\n return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {\n return toString.call(x) === '[object Arguments]';\n } : function _isArguments(x) {\n return _has('callee', x);\n };\n}();\n\nexport default _isArguments;","export default function _isString(x) {\n return Object.prototype.toString.call(x) === '[object String]';\n}","import Vue from 'vue';\nvar scrollBarWidth;\nexport default function () {\n if (Vue.prototype.$isServer) return 0;\n if (scrollBarWidth !== undefined) return scrollBarWidth;\n var outer = document.createElement('div');\n outer.className = 'el-scrollbar__wrap';\n outer.style.visibility = 'hidden';\n outer.style.width = '100px';\n outer.style.position = 'absolute';\n outer.style.top = '-9999px';\n document.body.appendChild(outer);\n var widthNoScroll = outer.offsetWidth;\n outer.style.overflow = 'scroll';\n var inner = document.createElement('div');\n inner.style.width = '100%';\n outer.appendChild(inner);\n var widthWithScroll = inner.offsetWidth;\n outer.parentNode.removeChild(outer);\n scrollBarWidth = widthNoScroll - widthWithScroll;\n return scrollBarWidth;\n}\n;","export default {\n created: function created() {\n this.tableLayout.addObserver(this);\n },\n destroyed: function destroyed() {\n this.tableLayout.removeObserver(this);\n },\n computed: {\n tableLayout: function tableLayout() {\n var layout = this.layout;\n\n if (!layout && this.table) {\n layout = this.table.layout;\n }\n\n if (!layout) {\n throw new Error('Can not find table layout.');\n }\n\n return layout;\n }\n },\n mounted: function mounted() {\n this.onColumnsChange(this.tableLayout);\n this.onScrollableChange(this.tableLayout);\n },\n updated: function updated() {\n if (this.__updated__) return;\n this.onColumnsChange(this.tableLayout);\n this.onScrollableChange(this.tableLayout);\n this.__updated__ = true;\n },\n methods: {\n onColumnsChange: function onColumnsChange(layout) {\n var cols = this.$el.querySelectorAll('colgroup > col');\n if (!cols.length) return;\n var flattenColumns = layout.getFlattenColumns();\n var columnsMap = {};\n flattenColumns.forEach(function (column) {\n columnsMap[column.id] = column;\n });\n\n for (var i = 0, j = cols.length; i < j; i++) {\n var col = cols[i];\n var name = col.getAttribute('name');\n var column = columnsMap[name];\n\n if (column) {\n col.setAttribute('width', column.realWidth || column.width);\n }\n }\n },\n onScrollableChange: function onScrollableChange(layout) {\n var cols = this.$el.querySelectorAll('colgroup > col[name=gutter]');\n\n for (var i = 0, j = cols.length; i < j; i++) {\n var col = cols[i];\n col.setAttribute('width', layout.scrollY ? layout.gutterWidth : '0');\n }\n\n var ths = this.$el.querySelectorAll('th.gutter');\n\n for (var _i = 0, _j = ths.length; _i < _j; _i++) {\n var th = ths[_i];\n th.style.width = layout.scrollY ? layout.gutterWidth + 'px' : '0';\n th.style.display = layout.scrollY ? '' : 'none';\n }\n }\n }\n};","export default function _arrayFromIterator(iter) {\n var list = [];\n var next;\n\n while (!(next = iter.next()).done) {\n list.push(next.value);\n }\n\n return list;\n}","export default function _includesWith(pred, x, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (pred(x, list[idx])) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n}","// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction _objectIs(a, b) {\n // SameValue algorithm\n if (a === b) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return a !== 0 || 1 / a === 1 / b;\n } else {\n // Step 6.a: NaN == NaN\n return a !== a && b !== b;\n }\n}\n\nexport default typeof Object.is === 'function' ? Object.is : _objectIs;","import _curry1 from './internal/_curry1.js';\n/**\n * Gives a single-word string description of the (native) type of a value,\n * returning such answers as 'Object', 'Number', 'Array', or 'Null'. Does not\n * attempt to distinguish user Object types any further, reporting them all as\n * 'Object'.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Type\n * @sig (* -> {*}) -> String\n * @param {*} val The value to test\n * @return {String}\n * @example\n *\n * R.type({}); //=> \"Object\"\n * R.type(1); //=> \"Number\"\n * R.type(false); //=> \"Boolean\"\n * R.type('s'); //=> \"String\"\n * R.type(null); //=> \"Null\"\n * R.type([]); //=> \"Array\"\n * R.type(/[A-z]/); //=> \"RegExp\"\n * R.type(() => {}); //=> \"Function\"\n * R.type(undefined); //=> \"Undefined\"\n */\n\nvar type =\n/*#__PURE__*/\n_curry1(function type(val) {\n return val === null ? 'Null' : val === undefined ? 'Undefined' : Object.prototype.toString.call(val).slice(8, -1);\n});\n\nexport default type;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport _arrayFromIterator from './_arrayFromIterator.js';\nimport _includesWith from './_includesWith.js';\nimport _functionName from './_functionName.js';\nimport _has from './_has.js';\nimport _objectIs from './_objectIs.js';\nimport keys from '../keys.js';\nimport type from '../type.js';\n/**\n * private _uniqContentEquals function.\n * That function is checking equality of 2 iterator contents with 2 assumptions\n * - iterators lengths are the same\n * - iterators values are unique\n *\n * false-positive result will be returned for comparision of, e.g.\n * - [1,2,3] and [1,2,3,4]\n * - [1,1,1] and [1,2,3]\n * */\n\nfunction _uniqContentEquals(aIterator, bIterator, stackA, stackB) {\n var a = _arrayFromIterator(aIterator);\n\n var b = _arrayFromIterator(bIterator);\n\n function eq(_a, _b) {\n return _equals(_a, _b, stackA.slice(), stackB.slice());\n } // if *a* array contains any element that is not included in *b*\n\n\n return !_includesWith(function (b, aItem) {\n return !_includesWith(eq, aItem, b);\n }, b, a);\n}\n\nexport default function _equals(a, b, stackA, stackB) {\n if (_objectIs(a, b)) {\n return true;\n }\n\n var typeA = type(a);\n\n if (typeA !== type(b)) {\n return false;\n }\n\n if (a == null || b == null) {\n return false;\n }\n\n if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {\n return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);\n }\n\n if (typeof a.equals === 'function' || typeof b.equals === 'function') {\n return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);\n }\n\n switch (typeA) {\n case 'Arguments':\n case 'Array':\n case 'Object':\n if (typeof a.constructor === 'function' && _functionName(a.constructor) === 'Promise') {\n return a === b;\n }\n\n break;\n\n case 'Boolean':\n case 'Number':\n case 'String':\n if (!(_typeof(a) === _typeof(b) && _objectIs(a.valueOf(), b.valueOf()))) {\n return false;\n }\n\n break;\n\n case 'Date':\n if (!_objectIs(a.valueOf(), b.valueOf())) {\n return false;\n }\n\n break;\n\n case 'Error':\n return a.name === b.name && a.message === b.message;\n\n case 'RegExp':\n if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {\n return false;\n }\n\n break;\n }\n\n var idx = stackA.length - 1;\n\n while (idx >= 0) {\n if (stackA[idx] === a) {\n return stackB[idx] === b;\n }\n\n idx -= 1;\n }\n\n switch (typeA) {\n case 'Map':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Set':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Arguments':\n case 'Array':\n case 'Object':\n case 'Boolean':\n case 'Number':\n case 'String':\n case 'Date':\n case 'Error':\n case 'RegExp':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'ArrayBuffer':\n break;\n\n default:\n // Values of other types are only equal if identical.\n return false;\n }\n\n var keysA = keys(a);\n\n if (keysA.length !== keys(b).length) {\n return false;\n }\n\n var extendedStackA = stackA.concat([a]);\n var extendedStackB = stackB.concat([b]);\n idx = keysA.length - 1;\n\n while (idx >= 0) {\n var key = keysA[idx];\n\n if (!(_has(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {\n return false;\n }\n\n idx -= 1;\n }\n\n return true;\n}","export default function _functionName(f) {\n // String(x => x) evaluates to \"x => x\", so the pattern may not match.\n var match = String(f).match(/^function (\\w*)/);\n return match == null ? '' : match[1];\n}","import _curry2 from './internal/_curry2.js';\nimport _equals from './internal/_equals.js';\n/**\n * Returns `true` if its arguments are equivalent, `false` otherwise. Handles\n * cyclical data structures.\n *\n * Dispatches symmetrically to the `equals` methods of both arguments, if\n * present.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> b -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * R.equals(1, 1); //=> true\n * R.equals(1, '1'); //=> false\n * R.equals([1, 2, 3], [1, 2, 3]); //=> true\n *\n * const a = {}; a.v = a;\n * const b = {}; b.v = b;\n * R.equals(a, b); //=> true\n */\n\nvar equals =\n/*#__PURE__*/\n_curry2(function equals(a, b) {\n return _equals(a, b, [], []);\n});\n\nexport default equals;","import { toggleRowStatus, getKeysMap, getRowIdentity } from '../util';\nexport default {\n data: function data() {\n return {\n states: {\n defaultExpandAll: false,\n expandRows: []\n }\n };\n },\n methods: {\n updateExpandRows: function updateExpandRows() {\n var _this$states = this.states,\n _this$states$data = _this$states.data,\n data = _this$states$data === void 0 ? [] : _this$states$data,\n rowKey = _this$states.rowKey,\n defaultExpandAll = _this$states.defaultExpandAll,\n expandRows = _this$states.expandRows;\n\n if (defaultExpandAll) {\n this.states.expandRows = data.slice();\n } else if (rowKey) {\n // TODO:这里的代ç å¯ä»¥ä¼˜åŒ–\n var expandRowsMap = getKeysMap(expandRows, rowKey);\n this.states.expandRows = data.reduce(function (prev, row) {\n var rowId = getRowIdentity(row, rowKey);\n var rowInfo = expandRowsMap[rowId];\n\n if (rowInfo) {\n prev.push(row);\n }\n\n return prev;\n }, []);\n } else {\n this.states.expandRows = [];\n }\n },\n toggleRowExpansion: function toggleRowExpansion(row, expanded) {\n var changed = toggleRowStatus(this.states.expandRows, row, expanded);\n\n if (changed) {\n this.table.$emit('expand-change', row, this.states.expandRows.slice());\n this.scheduleLayout();\n }\n },\n setExpandRowKeys: function setExpandRowKeys(rowKeys) {\n this.assertRowKey(); // TODO:这里的代ç å¯ä»¥ä¼˜åŒ–\n\n var _this$states2 = this.states,\n data = _this$states2.data,\n rowKey = _this$states2.rowKey;\n var keysMap = getKeysMap(data, rowKey);\n this.states.expandRows = rowKeys.reduce(function (prev, cur) {\n var info = keysMap[cur];\n\n if (info) {\n prev.push(info.row);\n }\n\n return prev;\n }, []);\n },\n isRowExpanded: function isRowExpanded(row) {\n var _this$states3 = this.states,\n _this$states3$expandR = _this$states3.expandRows,\n expandRows = _this$states3$expandR === void 0 ? [] : _this$states3$expandR,\n rowKey = _this$states3.rowKey;\n\n if (rowKey) {\n var expandMap = getKeysMap(expandRows, rowKey);\n return !!expandMap[getRowIdentity(row, rowKey)];\n }\n\n return expandRows.indexOf(row) !== -1;\n }\n }\n};","import { arrayFind } from 'element-ui/src/utils/util';\nimport { getRowIdentity } from '../util';\nexport default {\n data: function data() {\n return {\n states: {\n // ä¸å¯å“应的,设置 currentRowKey 时,data ä¸ä¸€å®šå˜åœ¨ï¼Œä¹Ÿè®¸æ— 法算出æ£ç¡®çš„ currentRow\n // 把该值缓å˜ä¸€ä¸‹ï¼Œå½“用户点击修改 currentRow 时,把该值é‡ç½®ä¸º null\n _currentRowKey: null,\n currentRow: null\n }\n };\n },\n methods: {\n setCurrentRowKey: function setCurrentRowKey(key) {\n this.assertRowKey();\n this.states._currentRowKey = key;\n this.setCurrentRowByKey(key);\n },\n restoreCurrentRowKey: function restoreCurrentRowKey() {\n this.states._currentRowKey = null;\n },\n setCurrentRowByKey: function setCurrentRowByKey(key) {\n var states = this.states;\n var _states$data = states.data,\n data = _states$data === void 0 ? [] : _states$data,\n rowKey = states.rowKey;\n var currentRow = null;\n\n if (rowKey) {\n currentRow = arrayFind(data, function (item) {\n return getRowIdentity(item, rowKey) === key;\n });\n }\n\n states.currentRow = currentRow;\n },\n updateCurrentRow: function updateCurrentRow(currentRow) {\n var states = this.states,\n table = this.table;\n var oldCurrentRow = states.currentRow;\n\n if (currentRow && currentRow !== oldCurrentRow) {\n states.currentRow = currentRow;\n table.$emit('current-change', currentRow, oldCurrentRow);\n return;\n }\n\n if (!currentRow && oldCurrentRow) {\n states.currentRow = null;\n table.$emit('current-change', null, oldCurrentRow);\n }\n },\n updateCurrentRowData: function updateCurrentRowData() {\n var states = this.states,\n table = this.table;\n var rowKey = states.rowKey,\n _currentRowKey = states._currentRowKey; // data 为 null 时,解构时的默认值会被忽略\n\n var data = states.data || [];\n var oldCurrentRow = states.currentRow; // 当 currentRow ä¸åœ¨ data ä¸æ—¶å°è¯•æ›´æ–°æ•°æ®\n\n if (data.indexOf(oldCurrentRow) === -1 && oldCurrentRow) {\n if (rowKey) {\n var currentRowKey = getRowIdentity(oldCurrentRow, rowKey);\n this.setCurrentRowByKey(currentRowKey);\n } else {\n states.currentRow = null;\n }\n\n if (states.currentRow === null) {\n table.$emit('current-change', null, oldCurrentRow);\n }\n } else if (_currentRowKey) {\n // 把åˆå§‹æ—¶ä¸‹è®¾ç½®çš„ rowKey è½¬åŒ–æˆ rowData\n this.setCurrentRowByKey(_currentRowKey);\n this.restoreCurrentRowKey();\n }\n }\n }\n};","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { walkTreeNode, getRowIdentity } from '../util';\nexport default {\n data: function data() {\n return {\n states: {\n // defaultExpandAll å˜åœ¨äºŽ expand.js ä¸ï¼Œè¿™é‡Œä¸é‡å¤æ·»åŠ \n // 在展开行ä¸ï¼ŒexpandRowKeys ä¼šè¢«è½¬åŒ–æˆ expandRows,expandRowKeys 这个属性åªæ˜¯è®°å½•äº† TreeTable 行的展开\n // TODO: 拆分为独立的 TreeTable,统一用法\n expandRowKeys: [],\n treeData: {},\n indent: 16,\n lazy: false,\n lazyTreeNodeMap: {},\n lazyColumnIdentifier: 'hasChildren',\n childrenColumnName: 'children'\n }\n };\n },\n computed: {\n // 嵌入型的数æ®ï¼Œwatch æ— æ³•æ˜¯æ£€æµ‹åˆ°å˜åŒ– https://github.com/ElemeFE/element/issues/14998\n // TODO: 使用 computed 解决该问题,是å¦ä¼šé€ æˆæ€§èƒ½é—®é¢˜ï¼Ÿ\n // @return { id: { level, children } }\n normalizedData: function normalizedData() {\n if (!this.states.rowKey) return {};\n var data = this.states.data || [];\n return this.normalize(data);\n },\n // @return { id: { children } }\n // é’ˆå¯¹æ‡’åŠ è½½çš„æƒ…å½¢ï¼Œä¸å¤„ç†åµŒå¥—æ•°æ®\n normalizedLazyNode: function normalizedLazyNode() {\n var _this$states = this.states,\n rowKey = _this$states.rowKey,\n lazyTreeNodeMap = _this$states.lazyTreeNodeMap,\n lazyColumnIdentifier = _this$states.lazyColumnIdentifier;\n var keys = Object.keys(lazyTreeNodeMap);\n var res = {};\n if (!keys.length) return res;\n keys.forEach(function (key) {\n if (lazyTreeNodeMap[key].length) {\n var item = {\n children: []\n };\n lazyTreeNodeMap[key].forEach(function (row) {\n var currentRowKey = getRowIdentity(row, rowKey);\n item.children.push(currentRowKey);\n\n if (row[lazyColumnIdentifier] && !res[currentRowKey]) {\n res[currentRowKey] = {\n children: []\n };\n }\n });\n res[key] = item;\n }\n });\n return res;\n }\n },\n watch: {\n normalizedData: 'updateTreeData',\n normalizedLazyNode: 'updateTreeData'\n },\n methods: {\n normalize: function normalize(data) {\n var _this$states2 = this.states,\n childrenColumnName = _this$states2.childrenColumnName,\n lazyColumnIdentifier = _this$states2.lazyColumnIdentifier,\n rowKey = _this$states2.rowKey,\n lazy = _this$states2.lazy;\n var res = {};\n walkTreeNode(data, function (parent, children, level) {\n var parentId = getRowIdentity(parent, rowKey);\n\n if (Array.isArray(children)) {\n res[parentId] = {\n children: children.map(function (row) {\n return getRowIdentity(row, rowKey);\n }),\n level: level\n };\n } else if (lazy) {\n // 当 children ä¸å˜åœ¨ä¸” lazy 为 true,该节点å³ä¸ºæ‡’åŠ è½½çš„èŠ‚ç‚¹\n res[parentId] = {\n children: [],\n lazy: true,\n level: level\n };\n }\n }, childrenColumnName, lazyColumnIdentifier);\n return res;\n },\n updateTreeData: function updateTreeData() {\n var nested = this.normalizedData;\n var normalizedLazyNode = this.normalizedLazyNode;\n var keys = Object.keys(nested);\n var newTreeData = {};\n\n if (keys.length) {\n var _this$states3 = this.states,\n oldTreeData = _this$states3.treeData,\n defaultExpandAll = _this$states3.defaultExpandAll,\n expandRowKeys = _this$states3.expandRowKeys,\n lazy = _this$states3.lazy;\n var rootLazyRowKeys = [];\n\n var getExpanded = function getExpanded(oldValue, key) {\n var included = defaultExpandAll || expandRowKeys && expandRowKeys.indexOf(key) !== -1;\n return !!(oldValue && oldValue.expanded || included);\n }; // åˆå¹¶ expanded 与 display,确ä¿æ•°æ®åˆ·æ–°åŽï¼ŒçŠ¶æ€ä¸å˜\n\n\n keys.forEach(function (key) {\n var oldValue = oldTreeData[key];\n\n var newValue = _objectSpread({}, nested[key]);\n\n newValue.expanded = getExpanded(oldValue, key);\n\n if (newValue.lazy) {\n var _ref = oldValue || {},\n _ref$loaded = _ref.loaded,\n loaded = _ref$loaded === void 0 ? false : _ref$loaded,\n _ref$loading = _ref.loading,\n loading = _ref$loading === void 0 ? false : _ref$loading;\n\n newValue.loaded = !!loaded;\n newValue.loading = !!loading;\n rootLazyRowKeys.push(key);\n }\n\n newTreeData[key] = newValue;\n }); // æ ¹æ®æ‡’åŠ è½½æ•°æ®æ›´æ–° treeData\n\n var lazyKeys = Object.keys(normalizedLazyNode);\n\n if (lazy && lazyKeys.length && rootLazyRowKeys.length) {\n lazyKeys.forEach(function (key) {\n var oldValue = oldTreeData[key];\n var lazyNodeChildren = normalizedLazyNode[key].children;\n\n if (rootLazyRowKeys.indexOf(key) !== -1) {\n // æ‡’åŠ è½½çš„ root 节点,更新一下原有的数æ®ï¼ŒåŽŸæ¥çš„ children 一定是空数组\n if (newTreeData[key].children.length !== 0) {\n throw new Error('[ElTable]children must be an empty array.');\n }\n\n newTreeData[key].children = lazyNodeChildren;\n } else {\n var _ref2 = oldValue || {},\n _ref2$loaded = _ref2.loaded,\n loaded = _ref2$loaded === void 0 ? false : _ref2$loaded,\n _ref2$loading = _ref2.loading,\n loading = _ref2$loading === void 0 ? false : _ref2$loading;\n\n newTreeData[key] = {\n lazy: true,\n loaded: !!loaded,\n loading: !!loading,\n expanded: getExpanded(oldValue, key),\n children: lazyNodeChildren,\n level: ''\n };\n }\n });\n }\n }\n\n this.states.treeData = newTreeData;\n this.updateTableScrollY();\n },\n updateTreeExpandKeys: function updateTreeExpandKeys(value) {\n this.states.expandRowKeys = value;\n this.updateTreeData();\n },\n toggleTreeExpansion: function toggleTreeExpansion(row, expanded) {\n this.assertRowKey();\n var _this$states4 = this.states,\n rowKey = _this$states4.rowKey,\n treeData = _this$states4.treeData;\n var id = getRowIdentity(row, rowKey);\n var data = id && treeData[id];\n\n if (id && data && 'expanded' in data) {\n var oldExpanded = data.expanded;\n expanded = typeof expanded === 'undefined' ? !data.expanded : expanded;\n treeData[id].expanded = expanded;\n\n if (oldExpanded !== expanded) {\n this.table.$emit('expand-change', row, expanded);\n }\n\n this.updateTableScrollY();\n }\n },\n loadOrToggle: function loadOrToggle(row) {\n this.assertRowKey();\n var _this$states5 = this.states,\n lazy = _this$states5.lazy,\n treeData = _this$states5.treeData,\n rowKey = _this$states5.rowKey;\n var id = getRowIdentity(row, rowKey);\n var data = treeData[id];\n\n if (lazy && data && 'loaded' in data && !data.loaded) {\n this.loadData(row, id, data);\n } else {\n this.toggleTreeExpansion(row);\n }\n },\n loadData: function loadData(row, key, treeNode) {\n var _this = this;\n\n var load = this.table.load;\n var rawTreeData = this.states.treeData;\n\n if (load && !rawTreeData[key].loaded) {\n rawTreeData[key].loading = true;\n load(row, treeNode, function (data) {\n if (!Array.isArray(data)) {\n throw new Error('[ElTable] data must be an array');\n }\n\n var _this$states6 = _this.states,\n lazyTreeNodeMap = _this$states6.lazyTreeNodeMap,\n treeData = _this$states6.treeData;\n treeData[key].loading = false;\n treeData[key].loaded = true;\n treeData[key].expanded = true;\n\n if (data.length) {\n _this.$set(lazyTreeNodeMap, key, data);\n }\n\n _this.table.$emit('expand-change', row, true);\n });\n }\n }\n }\n};","import Vue from 'vue';\nimport merge from 'element-ui/src/utils/merge';\nimport { getKeysMap, getRowIdentity, getColumnById, getColumnByKey, orderBy, toggleRowStatus } from '../util';\nimport expand from './expand';\nimport current from './current';\nimport tree from './tree';\n\nvar sortData = function sortData(data, states) {\n var sortingColumn = states.sortingColumn;\n\n if (!sortingColumn || typeof sortingColumn.sortable === 'string') {\n return data;\n }\n\n return orderBy(data, states.sortProp, states.sortOrder, sortingColumn.sortMethod, sortingColumn.sortBy);\n};\n\nvar doFlattenColumns = function doFlattenColumns(columns) {\n var result = [];\n columns.forEach(function (column) {\n if (column.children) {\n result.push.apply(result, doFlattenColumns(column.children));\n } else {\n result.push(column);\n }\n });\n return result;\n};\n\nexport default Vue.extend({\n data: function data() {\n return {\n states: {\n // 3.0 版本åŽè¦æ±‚必须设置该属性\n rowKey: null,\n // 渲染的数æ®æ¥æºï¼Œæ˜¯å¯¹ table ä¸çš„ data 过滤排åºåŽçš„结果\n data: [],\n // 是å¦åŒ…å«å›ºå®šåˆ—\n isComplex: false,\n // 列\n _columns: [],\n // ä¸å¯å“应的\n originColumns: [],\n columns: [],\n fixedColumns: [],\n rightFixedColumns: [],\n leafColumns: [],\n fixedLeafColumns: [],\n rightFixedLeafColumns: [],\n leafColumnsLength: 0,\n fixedLeafColumnsLength: 0,\n rightFixedLeafColumnsLength: 0,\n // 选择\n isAllSelected: false,\n selection: [],\n reserveSelection: false,\n selectOnIndeterminate: false,\n selectable: null,\n // 过滤\n filters: {},\n // ä¸å¯å“应的\n filteredData: null,\n // 排åº\n sortingColumn: null,\n sortProp: null,\n sortOrder: null,\n hoverRow: null\n }\n };\n },\n mixins: [expand, current, tree],\n methods: {\n // 检查 rowKey 是å¦å˜åœ¨\n assertRowKey: function assertRowKey() {\n var rowKey = this.states.rowKey;\n if (!rowKey) throw new Error('[ElTable] prop row-key is required');\n },\n // 更新列\n updateColumns: function updateColumns() {\n var states = this.states;\n\n var _columns = states._columns || [];\n\n states.fixedColumns = _columns.filter(function (column) {\n return column.fixed === true || column.fixed === 'left';\n });\n states.rightFixedColumns = _columns.filter(function (column) {\n return column.fixed === 'right';\n });\n\n if (states.fixedColumns.length > 0 && _columns[0] && _columns[0].type === 'selection' && !_columns[0].fixed) {\n _columns[0].fixed = true;\n states.fixedColumns.unshift(_columns[0]);\n }\n\n var notFixedColumns = _columns.filter(function (column) {\n return !column.fixed;\n });\n\n states.originColumns = [].concat(states.fixedColumns).concat(notFixedColumns).concat(states.rightFixedColumns);\n var leafColumns = doFlattenColumns(notFixedColumns);\n var fixedLeafColumns = doFlattenColumns(states.fixedColumns);\n var rightFixedLeafColumns = doFlattenColumns(states.rightFixedColumns);\n states.leafColumnsLength = leafColumns.length;\n states.fixedLeafColumnsLength = fixedLeafColumns.length;\n states.rightFixedLeafColumnsLength = rightFixedLeafColumns.length;\n states.columns = [].concat(fixedLeafColumns).concat(leafColumns).concat(rightFixedLeafColumns);\n states.isComplex = states.fixedColumns.length > 0 || states.rightFixedColumns.length > 0;\n },\n // æ›´æ–° DOM\n scheduleLayout: function scheduleLayout(needUpdateColumns) {\n if (needUpdateColumns) {\n this.updateColumns();\n }\n\n this.table.debouncedUpdateLayout();\n },\n // 选择\n isSelected: function isSelected(row) {\n var _this$states$selectio = this.states.selection,\n selection = _this$states$selectio === void 0 ? [] : _this$states$selectio;\n return selection.indexOf(row) > -1;\n },\n clearSelection: function clearSelection() {\n var states = this.states;\n states.isAllSelected = false;\n var oldSelection = states.selection;\n\n if (oldSelection.length) {\n states.selection = [];\n this.table.$emit('selection-change', []);\n }\n },\n cleanSelection: function cleanSelection() {\n var states = this.states;\n var data = states.data,\n rowKey = states.rowKey,\n selection = states.selection;\n var deleted;\n\n if (rowKey) {\n deleted = [];\n var selectedMap = getKeysMap(selection, rowKey);\n var dataMap = getKeysMap(data, rowKey);\n\n for (var key in selectedMap) {\n if (selectedMap.hasOwnProperty(key) && !dataMap[key]) {\n deleted.push(selectedMap[key].row);\n }\n }\n } else {\n deleted = selection.filter(function (item) {\n return data.indexOf(item) === -1;\n });\n }\n\n if (deleted.length) {\n var newSelection = selection.filter(function (item) {\n return deleted.indexOf(item) === -1;\n });\n states.selection = newSelection;\n this.table.$emit('selection-change', newSelection.slice());\n }\n },\n toggleRowSelection: function toggleRowSelection(row, selected) {\n var emitChange = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var changed = toggleRowStatus(this.states.selection, row, selected);\n\n if (changed) {\n var newSelection = (this.states.selection || []).slice(); // 调用 API 修改选ä¸å€¼ï¼Œä¸è§¦å‘ select 事件\n\n if (emitChange) {\n this.table.$emit('select', newSelection, row);\n }\n\n this.table.$emit('selection-change', newSelection);\n }\n },\n _toggleAllSelection: function _toggleAllSelection() {\n var states = this.states;\n var _states$data = states.data,\n data = _states$data === void 0 ? [] : _states$data,\n selection = states.selection; // when only some rows are selected (but not all), select or deselect all of them\n // depending on the value of selectOnIndeterminate\n\n var value = states.selectOnIndeterminate ? !states.isAllSelected : !(states.isAllSelected || selection.length);\n states.isAllSelected = value;\n var selectionChanged = false;\n data.forEach(function (row, index) {\n if (states.selectable) {\n if (states.selectable.call(null, row, index) && toggleRowStatus(selection, row, value)) {\n selectionChanged = true;\n }\n } else {\n if (toggleRowStatus(selection, row, value)) {\n selectionChanged = true;\n }\n }\n });\n\n if (selectionChanged) {\n this.table.$emit('selection-change', selection ? selection.slice() : []);\n }\n\n this.table.$emit('select-all', selection);\n },\n updateSelectionByRowKey: function updateSelectionByRowKey() {\n var states = this.states;\n var selection = states.selection,\n rowKey = states.rowKey,\n data = states.data;\n var selectedMap = getKeysMap(selection, rowKey);\n data.forEach(function (row) {\n var rowId = getRowIdentity(row, rowKey);\n var rowInfo = selectedMap[rowId];\n\n if (rowInfo) {\n selection[rowInfo.index] = row;\n }\n });\n },\n updateAllSelected: function updateAllSelected() {\n var states = this.states;\n var selection = states.selection,\n rowKey = states.rowKey,\n selectable = states.selectable; // data 为 null 时,解构时的默认值会被忽略\n\n var data = states.data || [];\n\n if (data.length === 0) {\n states.isAllSelected = false;\n return;\n }\n\n var selectedMap;\n\n if (rowKey) {\n selectedMap = getKeysMap(selection, rowKey);\n }\n\n var isSelected = function isSelected(row) {\n if (selectedMap) {\n return !!selectedMap[getRowIdentity(row, rowKey)];\n } else {\n return selection.indexOf(row) !== -1;\n }\n };\n\n var isAllSelected = true;\n var selectedCount = 0;\n\n for (var i = 0, j = data.length; i < j; i++) {\n var item = data[i];\n var isRowSelectable = selectable && selectable.call(null, item, i);\n\n if (!isSelected(item)) {\n if (!selectable || isRowSelectable) {\n isAllSelected = false;\n break;\n }\n } else {\n selectedCount++;\n }\n }\n\n if (selectedCount === 0) isAllSelected = false;\n states.isAllSelected = isAllSelected;\n },\n // 过滤与排åº\n updateFilters: function updateFilters(columns, values) {\n if (!Array.isArray(columns)) {\n columns = [columns];\n }\n\n var states = this.states;\n var filters = {};\n columns.forEach(function (col) {\n states.filters[col.id] = values;\n filters[col.columnKey || col.id] = values;\n });\n return filters;\n },\n updateSort: function updateSort(column, prop, order) {\n if (this.states.sortingColumn && this.states.sortingColumn !== column) {\n this.states.sortingColumn.order = null;\n }\n\n this.states.sortingColumn = column;\n this.states.sortProp = prop;\n this.states.sortOrder = order;\n },\n execFilter: function execFilter() {\n var _this = this;\n\n var states = this.states;\n var _data = states._data,\n filters = states.filters;\n var data = _data;\n Object.keys(filters).forEach(function (columnId) {\n var values = states.filters[columnId];\n if (!values || values.length === 0) return;\n var column = getColumnById(_this.states, columnId);\n\n if (column && column.filterMethod) {\n data = data.filter(function (row) {\n return values.some(function (value) {\n return column.filterMethod.call(null, value, row, column);\n });\n });\n }\n });\n states.filteredData = data;\n },\n execSort: function execSort() {\n var states = this.states;\n states.data = sortData(states.filteredData, states);\n },\n // æ ¹æ® filters 与 sort 去过滤 data\n execQuery: function execQuery(ignore) {\n if (!(ignore && ignore.filter)) {\n this.execFilter();\n }\n\n this.execSort();\n },\n clearFilter: function clearFilter(columnKeys) {\n var states = this.states;\n var _this$table$$refs = this.table.$refs,\n tableHeader = _this$table$$refs.tableHeader,\n fixedTableHeader = _this$table$$refs.fixedTableHeader,\n rightFixedTableHeader = _this$table$$refs.rightFixedTableHeader;\n var panels = {};\n if (tableHeader) panels = merge(panels, tableHeader.filterPanels);\n if (fixedTableHeader) panels = merge(panels, fixedTableHeader.filterPanels);\n if (rightFixedTableHeader) panels = merge(panels, rightFixedTableHeader.filterPanels);\n var keys = Object.keys(panels);\n if (!keys.length) return;\n\n if (typeof columnKeys === 'string') {\n columnKeys = [columnKeys];\n }\n\n if (Array.isArray(columnKeys)) {\n var columns = columnKeys.map(function (key) {\n return getColumnByKey(states, key);\n });\n keys.forEach(function (key) {\n var column = columns.find(function (col) {\n return col.id === key;\n });\n\n if (column) {\n // TODO: 优化这里的代ç \n panels[key].filteredValue = [];\n }\n });\n this.commit('filterChange', {\n column: columns,\n values: [],\n silent: true,\n multi: true\n });\n } else {\n keys.forEach(function (key) {\n // TODO: 优化这里的代ç \n panels[key].filteredValue = [];\n });\n states.filters = {};\n this.commit('filterChange', {\n column: {},\n values: [],\n silent: true\n });\n }\n },\n clearSort: function clearSort() {\n var states = this.states;\n if (!states.sortingColumn) return;\n this.updateSort(null, null, null);\n this.commit('changeSortCondition', {\n silent: true\n });\n },\n // 适é…层,expand-row-keys 在 Expand 与 TreeTable ä¸éƒ½æœ‰ä½¿ç”¨\n setExpandRowKeysAdapter: function setExpandRowKeysAdapter(val) {\n // 这里会触å‘é¢å¤–的计算,但为了兼容性,暂时这么åš\n this.setExpandRowKeys(val);\n this.updateTreeExpandKeys(val);\n },\n // 展开行与 TreeTable 都è¦ä½¿ç”¨\n toggleRowExpansionAdapter: function toggleRowExpansionAdapter(row, expanded) {\n var hasExpandColumn = this.states.columns.some(function (_ref) {\n var type = _ref.type;\n return type === 'expand';\n });\n\n if (hasExpandColumn) {\n this.toggleRowExpansion(row, expanded);\n } else {\n this.toggleTreeExpansion(row, expanded);\n }\n }\n }\n});","import Vue from 'vue';\nimport Watcher from './watcher';\nimport { arrayFind } from 'element-ui/src/utils/util';\nWatcher.prototype.mutations = {\n setData: function setData(states, data) {\n var dataInstanceChanged = states._data !== data;\n states._data = data;\n this.execQuery(); // æ•°æ®å˜åŒ–,更新部分数æ®ã€‚\n // 没有使用 computedï¼Œè€Œæ˜¯æ‰‹åŠ¨æ›´æ–°éƒ¨åˆ†æ•°æ® https://github.com/vuejs/vue/issues/6660#issuecomment-331417140\n\n this.updateCurrentRowData();\n this.updateExpandRows();\n\n if (states.reserveSelection) {\n this.assertRowKey();\n this.updateSelectionByRowKey();\n } else {\n if (dataInstanceChanged) {\n this.clearSelection();\n } else {\n this.cleanSelection();\n }\n }\n\n this.updateAllSelected();\n this.updateTableScrollY();\n },\n insertColumn: function insertColumn(states, column, index, parent) {\n var array = states._columns;\n\n if (parent) {\n array = parent.children;\n if (!array) array = parent.children = [];\n }\n\n if (typeof index !== 'undefined') {\n array.splice(index, 0, column);\n } else {\n array.push(column);\n }\n\n if (column.type === 'selection') {\n states.selectable = column.selectable;\n states.reserveSelection = column.reserveSelection;\n }\n\n if (this.table.$ready) {\n this.updateColumns(); // hack for dynamics insert column\n\n this.scheduleLayout();\n }\n },\n removeColumn: function removeColumn(states, column, parent) {\n var array = states._columns;\n\n if (parent) {\n array = parent.children;\n if (!array) array = parent.children = [];\n }\n\n if (array) {\n array.splice(array.indexOf(column), 1);\n }\n\n if (this.table.$ready) {\n this.updateColumns(); // hack for dynamics remove column\n\n this.scheduleLayout();\n }\n },\n sort: function sort(states, options) {\n var prop = options.prop,\n order = options.order,\n init = options.init;\n\n if (prop) {\n var column = arrayFind(states.columns, function (column) {\n return column.property === prop;\n });\n\n if (column) {\n column.order = order;\n this.updateSort(column, prop, order);\n this.commit('changeSortCondition', {\n init: init\n });\n }\n }\n },\n changeSortCondition: function changeSortCondition(states, options) {\n // ä¿®å¤ pr https://github.com/ElemeFE/element/pull/15012 导致的 bug\n var column = states.sortingColumn,\n prop = states.sortProp,\n order = states.sortOrder;\n\n if (order === null) {\n states.sortingColumn = null;\n states.sortProp = null;\n }\n\n var ingore = {\n filter: true\n };\n this.execQuery(ingore);\n\n if (!options || !(options.silent || options.init)) {\n this.table.$emit('sort-change', {\n column: column,\n prop: prop,\n order: order\n });\n }\n\n this.updateTableScrollY();\n },\n filterChange: function filterChange(states, options) {\n var column = options.column,\n values = options.values,\n silent = options.silent;\n var newFilters = this.updateFilters(column, values);\n this.execQuery();\n\n if (!silent) {\n this.table.$emit('filter-change', newFilters);\n }\n\n this.updateTableScrollY();\n },\n toggleAllSelection: function toggleAllSelection() {\n this.toggleAllSelection();\n },\n rowSelectedChanged: function rowSelectedChanged(states, row) {\n this.toggleRowSelection(row);\n this.updateAllSelected();\n },\n setHoverRow: function setHoverRow(states, row) {\n states.hoverRow = row;\n },\n setCurrentRow: function setCurrentRow(states, row) {\n this.updateCurrentRow(row);\n }\n};\n\nWatcher.prototype.commit = function (name) {\n var mutations = this.mutations;\n\n if (mutations[name]) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n mutations[name].apply(this, [this.states].concat(args));\n } else {\n throw new Error(\"Action not found: \".concat(name));\n }\n};\n\nWatcher.prototype.updateTableScrollY = function () {\n Vue.nextTick(this.table.updateScrollY);\n};\n\nexport default Watcher;","import Store from './index';\nimport debounce from 'throttle-debounce/debounce';\nexport function createStore(table) {\n var initialState = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (!table) {\n throw new Error('Table is required.');\n }\n\n var store = new Store();\n store.table = table; // fix https://github.com/ElemeFE/element/issues/14075\n // related pr https://github.com/ElemeFE/element/pull/14146\n\n store.toggleAllSelection = debounce(10, store._toggleAllSelection);\n Object.keys(initialState).forEach(function (key) {\n store.states[key] = initialState[key];\n });\n return store;\n}\nexport function mapStates(mapper) {\n var res = {};\n Object.keys(mapper).forEach(function (key) {\n var value = mapper[key];\n var fn;\n\n if (typeof value === 'string') {\n fn = function fn() {\n return this.store.states[value];\n };\n } else if (typeof value === 'function') {\n fn = function fn() {\n return value.call(this, this.store.states);\n };\n } else {\n console.error('invalid value type');\n }\n\n if (fn) {\n res[key] = fn;\n }\n });\n return res;\n}\n;","import _curry2 from './_curry2.js';\nimport _xfBase from './_xfBase.js';\n\nvar XMap =\n/*#__PURE__*/\nfunction () {\n function XMap(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XMap.prototype['@@transducer/init'] = _xfBase.init;\n XMap.prototype['@@transducer/result'] = _xfBase.result;\n\n XMap.prototype['@@transducer/step'] = function (result, input) {\n return this.xf['@@transducer/step'](result, this.f(input));\n };\n\n return XMap;\n}();\n\nvar _xmap =\n/*#__PURE__*/\n_curry2(function _xmap(f, xf) {\n return new XMap(f, xf);\n});\n\nexport default _xmap;","import _curry2 from './internal/_curry2.js';\nimport _dispatchable from './internal/_dispatchable.js';\nimport _map from './internal/_map.js';\nimport _reduce from './internal/_reduce.js';\nimport _xmap from './internal/_xmap.js';\nimport curryN from './curryN.js';\nimport keys from './keys.js';\n/**\n * Takes a function and\n * a [functor](https://github.com/fantasyland/fantasy-land#functor),\n * applies the function to each of the functor's values, and returns\n * a functor of the same shape.\n *\n * Ramda provides suitable `map` implementations for `Array` and `Object`,\n * so this function may be applied to `[1, 2, 3]` or `{x: 1, y: 2, z: 3}`.\n *\n * Dispatches to the `map` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * Also treats functions as functors and will compose them together.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => (a -> b) -> f a -> f b\n * @param {Function} fn The function to be called on every element of the input `list`.\n * @param {Array} list The list to be iterated over.\n * @return {Array} The new list.\n * @see R.transduce, R.addIndex\n * @example\n *\n * const double = x => x * 2;\n *\n * R.map(double, [1, 2, 3]); //=> [2, 4, 6]\n *\n * R.map(double, {x: 1, y: 2, z: 3}); //=> {x: 2, y: 4, z: 6}\n * @symb R.map(f, [a, b]) = [f(a), f(b)]\n * @symb R.map(f, { x: a, y: b }) = { x: f(a), y: f(b) }\n * @symb R.map(f, functor_o) = functor_o.map(f)\n */\n\nvar map =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/map', 'map'], _xmap, function map(fn, functor) {\n switch (Object.prototype.toString.call(functor)) {\n case '[object Function]':\n return curryN(functor.length, function () {\n return fn.call(this, functor.apply(this, arguments));\n });\n\n case '[object Object]':\n return _reduce(function (acc, key) {\n acc[key] = fn(functor[key]);\n return acc;\n }, {}, keys(functor));\n\n default:\n return _map(fn, functor);\n }\n}));\n\nexport default map;","export default function _map(fn, functor) {\n var idx = 0;\n var len = functor.length;\n var result = Array(len);\n\n while (idx < len) {\n result[idx] = fn(functor[idx]);\n idx += 1;\n }\n\n return result;\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n \"long\": 'MMMM do, y',\n medium: 'MMM d, y',\n \"short\": 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n \"long\": 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n \"short\": 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n \"long\": \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nexport default locale;","import _isArray from './_isArray.js';\nimport _isTransformer from './_isTransformer.js';\n/**\n * Returns a function that dispatches with different strategies based on the\n * object in list position (last argument). If it is an array, executes [fn].\n * Otherwise, if it has a function with one of the given method names, it will\n * execute that function (functor case). Otherwise, if it is a transformer,\n * uses transducer [xf] to return a new transformer (transducer case).\n * Otherwise, it will default to executing [fn].\n *\n * @private\n * @param {Array} methodNames properties to check for a custom implementation\n * @param {Function} xf transducer to initialize if object is transformer\n * @param {Function} fn default ramda implementation\n * @return {Function} A function that dispatches on object in list position\n */\n\nexport default function _dispatchable(methodNames, xf, fn) {\n return function () {\n if (arguments.length === 0) {\n return fn();\n }\n\n var args = Array.prototype.slice.call(arguments, 0);\n var obj = args.pop();\n\n if (!_isArray(obj)) {\n var idx = 0;\n\n while (idx < methodNames.length) {\n if (typeof obj[methodNames[idx]] === 'function') {\n return obj[methodNames[idx]].apply(obj, args);\n }\n\n idx += 1;\n }\n\n if (_isTransformer(obj)) {\n var transducer = xf.apply(null, args);\n return transducer(obj);\n }\n }\n\n return fn.apply(this, arguments);\n };\n}","export default function _isTransformer(obj) {\n return obj != null && typeof obj['@@transducer/step'] === 'function';\n}","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { node } from './node-stack-trace.js';\nexport { filenameIsInApp } from './node-stack-trace.js';\nvar STACKTRACE_FRAME_LIMIT = 50; // Used to sanitize webpack (error: *) wrapped stack errors\n\nvar WEBPACK_ERROR_REGEXP = /\\(error: (.*)\\)/;\nvar STRIP_FRAME_REGEXP = /captureMessage|captureException/;\n/**\n * Creates a stack parser with the supplied line parsers\n *\n * StackFrames are returned in the correct order for Sentry Exception\n * frames and with Sentry SDK internal frames removed from the top and bottom\n *\n */\n\nfunction createStackParser() {\n for (var _len = arguments.length, parsers = new Array(_len), _key = 0; _key < _len; _key++) {\n parsers[_key] = arguments[_key];\n }\n\n var sortedParsers = parsers.sort(function (a, b) {\n return a[0] - b[0];\n }).map(function (p) {\n return p[1];\n });\n return function (stack) {\n var skipFirst = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var frames = [];\n var lines = stack.split('\\n');\n\n for (var i = skipFirst; i < lines.length; i++) {\n var line = lines[i]; // Ignore lines over 1kb as they are unlikely to be stack frames.\n // Many of the regular expressions use backtracking which results in run time that increases exponentially with\n // input size. Huge strings can result in hangs/Denial of Service:\n // https://github.com/getsentry/sentry-javascript/issues/2286\n\n if (line.length > 1024) {\n continue;\n } // https://github.com/getsentry/sentry-javascript/issues/5459\n // Remove webpack (error: *) wrappers\n\n\n var cleanedLine = WEBPACK_ERROR_REGEXP.test(line) ? line.replace(WEBPACK_ERROR_REGEXP, '$1') : line; // https://github.com/getsentry/sentry-javascript/issues/7813\n // Skip Error: lines\n\n if (cleanedLine.match(/\\S*Error: /)) {\n continue;\n }\n\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = sortedParsers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var parser = _step.value;\n var frame = parser(cleanedLine);\n\n if (frame) {\n frames.push(frame);\n break;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n if (frames.length >= STACKTRACE_FRAME_LIMIT) {\n break;\n }\n }\n\n return stripSentryFramesAndReverse(frames);\n };\n}\n/**\n * Gets a stack parser implementation from Options.stackParser\n * @see Options\n *\n * If options contains an array of line parsers, it is converted into a parser\n */\n\n\nfunction stackParserFromStackParserOptions(stackParser) {\n if (Array.isArray(stackParser)) {\n return createStackParser.apply(void 0, _toConsumableArray(stackParser));\n }\n\n return stackParser;\n}\n/**\n * Removes Sentry frames from the top and bottom of the stack if present and enforces a limit of max number of frames.\n * Assumes stack input is ordered from top to bottom and returns the reverse representation so call site of the\n * function that caused the crash is the last frame in the array.\n * @hidden\n */\n\n\nfunction stripSentryFramesAndReverse(stack) {\n if (!stack.length) {\n return [];\n }\n\n var localStack = Array.from(stack); // If stack starts with one of our API calls, remove it (starts, meaning it's the top of the stack - aka last call)\n\n if (/sentryWrapped/.test(localStack[localStack.length - 1][\"function\"] || '')) {\n localStack.pop();\n } // Reversing in the middle of the procedure allows us to just pop the values off the stack\n\n\n localStack.reverse(); // If stack ends with one of our internal API calls, remove it (ends, meaning it's the bottom of the stack - aka top-most call)\n\n if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1][\"function\"] || '')) {\n localStack.pop(); // When using synthetic events, we will have a 2 levels deep stack, as `new Error('Sentry syntheticException')`\n // is produced within the hub itself, making it:\n //\n // Sentry.captureException()\n // getCurrentHub().captureException()\n //\n // instead of just the top `Sentry` call itself.\n // This forces us to possibly strip an additional frame in the exact same was as above.\n\n if (STRIP_FRAME_REGEXP.test(localStack[localStack.length - 1][\"function\"] || '')) {\n localStack.pop();\n }\n }\n\n return localStack.slice(0, STACKTRACE_FRAME_LIMIT).map(function (frame) {\n return _objectSpread(_objectSpread({}, frame), {}, {\n filename: frame.filename || localStack[localStack.length - 1].filename,\n \"function\": frame[\"function\"] || '?'\n });\n });\n}\n\nvar defaultFunctionName = '<anonymous>';\n/**\n * Safely extract function name from itself\n */\n\nfunction getFunctionName(fn) {\n try {\n if (!fn || typeof fn !== 'function') {\n return defaultFunctionName;\n }\n\n return fn.name || defaultFunctionName;\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n return defaultFunctionName;\n }\n}\n/**\n * Node.js stack line parser\n *\n * This is in @sentry/utils so it can be used from the Electron SDK in the browser for when `nodeIntegration == true`.\n * This allows it to be used without referencing or importing any node specific code which causes bundlers to complain\n */\n\n\nfunction nodeStackLineParser(getModule) {\n return [90, node(getModule)];\n}\n\nexport { createStackParser, getFunctionName, nodeStackLineParser, stackParserFromStackParserOptions, stripSentryFramesAndReverse };","import smoothscroll from'smoothscroll-polyfill';smoothscroll.polyfill();var scrollTo=function scrollTo(_ref){var left=_ref.left,top=_ref.top,_ref$behavior=_ref.behavior,behavior=_ref$behavior===void 0?'smooth':_ref$behavior;// timeout hack for firefox\nsetTimeout(function(){window.scrollTo({left:left,top:top,behavior:behavior});},50);};export default scrollTo;","'use strict';\n\nexports.__esModule = true;\nexports.removeResizeListener = exports.addResizeListener = undefined;\n\nvar _resizeObserverPolyfill = require('resize-observer-polyfill');\n\nvar _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);\n\nvar _throttleDebounce = require('throttle-debounce');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar isServer = typeof window === 'undefined';\n/* istanbul ignore next */\n\nvar resizeHandler = function resizeHandler(entries) {\n for (var _iterator = entries, _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 entry = _ref;\n var listeners = entry.target.__resizeListeners__ || [];\n\n if (listeners.length) {\n listeners.forEach(function (fn) {\n fn();\n });\n }\n }\n};\n/* istanbul ignore next */\n\n\nvar addResizeListener = exports.addResizeListener = function addResizeListener(element, fn) {\n if (isServer) return;\n\n if (!element.__resizeListeners__) {\n element.__resizeListeners__ = [];\n element.__ro__ = new _resizeObserverPolyfill2[\"default\"]((0, _throttleDebounce.debounce)(16, resizeHandler));\n\n element.__ro__.observe(element);\n }\n\n element.__resizeListeners__.push(fn);\n};\n/* istanbul ignore next */\n\n\nvar removeResizeListener = exports.removeResizeListener = function removeResizeListener(element, fn) {\n if (!element || !element.__resizeListeners__) return;\n\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n\n if (!element.__resizeListeners__.length) {\n element.__ro__.disconnect();\n }\n};","/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset)\n * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @return {Function} A new, throttled, function.\n */\nmodule.exports = function (delay, noTrailing, callback, debounceMode) {\n // After wrapper has stopped being called, this timeout ensures that\n // `callback` is executed at the proper times in `throttle` and `end`\n // debounce modes.\n var timeoutID; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // `noTrailing` defaults to falsy.\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n } // The `wrapper` function encapsulates all of the throttling / debouncing\n // functionality and when executed will limit the rate at which `callback`\n // is executed.\n\n\n function wrapper() {\n var self = this;\n var elapsed = Number(new Date()) - lastExec;\n var args = arguments; // Execute `callback` and update the `lastExec` timestamp.\n\n function exec() {\n lastExec = Number(new Date());\n callback.apply(self, args);\n } // If `debounceMode` is true (at begin) this is used to clear the flag\n // to allow future `callback` executions.\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n // Since `wrapper` is being called for the first time and\n // `debounceMode` is true (at begin), execute `callback`.\n exec();\n } // Clear any existing timeout.\n\n\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n\n if (debounceMode === undefined && elapsed > delay) {\n // In throttle mode, if `delay` time has been exceeded, execute\n // `callback`.\n exec();\n } else if (noTrailing !== true) {\n // In trailing throttle mode, since `delay` time has not been\n // exceeded, schedule `callback` to execute `delay` ms after most\n // recent execution.\n //\n // If `debounceMode` is true (at begin), schedule `clear` to execute\n // after `delay` ms.\n //\n // If `debounceMode` is false (at end), schedule `callback` to\n // execute after `delay` ms.\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n } // Return the wrapper function.\n\n\n return wrapper;\n};","'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = {\n el: {\n colorpicker: {\n confirm: '确定',\n clear: '清空'\n },\n datepicker: {\n now: 'æ¤åˆ»',\n today: '今天',\n cancel: 'å–消',\n clear: '清空',\n confirm: '确定',\n selectDate: '选择日期',\n selectTime: '选择时间',\n startDate: '开始日期',\n startTime: '开始时间',\n endDate: '结æŸæ—¥æœŸ',\n endTime: '结æŸæ—¶é—´',\n prevYear: 'å‰ä¸€å¹´',\n nextYear: 'åŽä¸€å¹´',\n prevMonth: '上个月',\n nextMonth: '下个月',\n year: 'å¹´',\n month1: '1 月',\n month2: '2 月',\n month3: '3 月',\n month4: '4 月',\n month5: '5 月',\n month6: '6 月',\n month7: '7 月',\n month8: '8 月',\n month9: '9 月',\n month10: '10 月',\n month11: '11 月',\n month12: '12 月',\n // week: '周次',\n weeks: {\n sun: 'æ—¥',\n mon: '一',\n tue: '二',\n wed: '三',\n thu: 'å››',\n fri: '五',\n sat: 'å…'\n },\n months: {\n jan: '一月',\n feb: '二月',\n mar: '三月',\n apr: '四月',\n may: '五月',\n jun: 'å…月',\n jul: '七月',\n aug: '八月',\n sep: 'ä¹æœˆ',\n oct: 'å月',\n nov: 'å一月',\n dec: 'å二月'\n }\n },\n select: {\n loading: 'åŠ è½½ä¸',\n noMatch: 'æ— åŒ¹é…æ•°æ®',\n noData: 'æ— æ•°æ®',\n placeholder: '请选择'\n },\n cascader: {\n noMatch: 'æ— åŒ¹é…æ•°æ®',\n loading: 'åŠ è½½ä¸',\n placeholder: '请选择',\n noData: 'æš‚æ— æ•°æ®'\n },\n pagination: {\n \"goto\": 'å‰å¾€',\n pagesize: 'æ¡/页',\n total: 'å…± {total} æ¡',\n pageClassifier: '页'\n },\n messagebox: {\n title: 'æ示',\n confirm: '确定',\n cancel: 'å–消',\n error: '输入的数æ®ä¸åˆæ³•!'\n },\n upload: {\n deleteTip: '按 delete é”®å¯åˆ 除',\n \"delete\": 'åˆ é™¤',\n preview: '查看图片',\n \"continue\": '继ç»ä¸Šä¼ '\n },\n table: {\n emptyText: 'æš‚æ— æ•°æ®',\n confirmFilter: 'ç›é€‰',\n resetFilter: 'é‡ç½®',\n clearFilter: '全部',\n sumText: 'åˆè®¡'\n },\n tree: {\n emptyText: 'æš‚æ— æ•°æ®'\n },\n transfer: {\n noMatch: 'æ— åŒ¹é…æ•°æ®',\n noData: 'æ— æ•°æ®',\n titles: ['列表 1', '列表 2'],\n filterPlaceholder: '请输入æœç´¢å†…容',\n noCheckedFormat: 'å…± {total} 项',\n hasCheckedFormat: '已选 {checked}/{total} 项'\n },\n image: {\n error: 'åŠ è½½å¤±è´¥'\n },\n pageHeader: {\n title: '返回'\n },\n popconfirm: {\n confirmButtonText: '确定',\n cancelButtonText: 'å–消'\n },\n empty: {\n description: 'æš‚æ— æ•°æ®'\n }\n }\n};","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n\nexports[\"default\"] = function (Vue) {\n /**\n * template\n *\n * @param {String} string\n * @param {Array} ...args\n * @return {String}\n */\n function template(string) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (args.length === 1 && _typeof(args[0]) === 'object') {\n args = args[0];\n }\n\n if (!args || !args.hasOwnProperty) {\n args = {};\n }\n\n return string.replace(RE_NARGS, function (match, prefix, i, index) {\n var result = void 0;\n\n if (string[index - 1] === '{' && string[index + match.length] === '}') {\n return i;\n } else {\n result = (0, _util.hasOwn)(args, i) ? args[i] : null;\n\n if (result === null || result === undefined) {\n return '';\n }\n\n return result;\n }\n });\n }\n\n return template;\n};\n\nvar _util = require('element-ui/lib/utils/util');\n\nvar RE_NARGS = /(%|)\\{([0-9a-zA-Z_]+)\\}/g;\n/**\n * String format template\n * - Inspired:\n * https://github.com/Matt-Esch/string-template/index.js\n */","var map = {\n\t\"./cs/cs.js\": [\n\t\t572,\n\t\t207\n\t],\n\t\"./de/de.js\": [\n\t\t573,\n\t\t208\n\t],\n\t\"./en/en.js\": [\n\t\t567,\n\t\t93\n\t],\n\t\"./gb/gb.js\": [\n\t\t574,\n\t\t209\n\t],\n\t\"./nl/nl.js\": [\n\t\t575,\n\t\t210\n\t],\n\t\"./pl/pl.js\": [\n\t\t576,\n\t\t211\n\t],\n\t\"./rs/rs.js\": [\n\t\t578,\n\t\t93,\n\t\t212\n\t],\n\t\"./sk/sk.js\": [\n\t\t577,\n\t\t213\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 236;\nmodule.exports = webpackAsyncContext;","'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 // Mini\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, premium, 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.isMiniBrowserEnv() ? // Mini 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 miniBrowserEnv() {\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 mini browser envs (web workers, react-native) lack needed support.\nfunction nonMiniBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n}();","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = utils.isMiniBrowserEnv() ? // Mini browser envs support document.cookie\nfunction miniBrowserEnv() {\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 mini browser env (web workers, react-native) lack needed support.\nfunction nonMiniBrowserEnv() {\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};","'use strict';\n\nexports.__esModule = true;\n\nvar _locale = require('element-ui/lib/locale');\n\nexports[\"default\"] = {\n methods: {\n t: function t() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _locale.t.apply(this, args);\n }\n }\n};","'use strict';\n\nexports.__esModule = true;\n\nexports[\"default\"] = function () {\n if (_vue2[\"default\"].prototype.$isServer) return 0;\n if (scrollBarWidth !== undefined) return scrollBarWidth;\n var outer = document.createElement('div');\n outer.className = 'el-scrollbar__wrap';\n outer.style.visibility = 'hidden';\n outer.style.width = '100px';\n outer.style.position = 'absolute';\n outer.style.top = '-9999px';\n document.body.appendChild(outer);\n var widthNoScroll = outer.offsetWidth;\n outer.style.overflow = 'scroll';\n var inner = document.createElement('div');\n inner.style.width = '100%';\n outer.appendChild(inner);\n var widthWithScroll = inner.offsetWidth;\n outer.parentNode.removeChild(outer);\n scrollBarWidth = widthNoScroll - widthWithScroll;\n return scrollBarWidth;\n};\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar scrollBarWidth = void 0;\n;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 75);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 11:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/migrating\");\n /***/\n },\n\n /***/\n 21:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/shared\");\n /***/\n },\n\n /***/\n 4:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n },\n\n /***/\n 75:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=343dd774&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [_vm.type === \"textarea\" ? \"el-textarea\" : \"el-input\", _vm.inputSize ? \"el-input--\" + _vm.inputSize : \"\", {\n \"is-disabled\": _vm.inputDisabled,\n \"is-exceed\": _vm.inputExceed,\n \"el-input-group\": _vm.$slots.prepend || _vm.$slots.append,\n \"el-input-group--append\": _vm.$slots.append,\n \"el-input-group--prepend\": _vm.$slots.prepend,\n \"el-input--prefix\": _vm.$slots.prefix || _vm.prefixIcon,\n \"el-input--suffix\": _vm.$slots.suffix || _vm.suffixIcon || _vm.clearable || _vm.showPassword\n }],\n on: {\n mouseenter: function mouseenter($event) {\n _vm.hovering = true;\n },\n mouseleave: function mouseleave($event) {\n _vm.hovering = false;\n }\n }\n }, [_vm.type !== \"textarea\" ? [_vm.$slots.prepend ? _c(\"div\", {\n staticClass: \"el-input-group__prepend\"\n }, [_vm._t(\"prepend\")], 2) : _vm._e(), _vm.type !== \"textarea\" ? _c(\"input\", _vm._b({\n ref: \"input\",\n staticClass: \"el-input__inner\",\n attrs: {\n tabindex: _vm.tabindex,\n type: _vm.showPassword ? _vm.passwordVisible ? \"text\" : \"password\" : _vm.type,\n disabled: _vm.inputDisabled,\n readonly: _vm.readonly,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n \"aria-label\": _vm.label\n },\n on: {\n compositionstart: _vm.handleCompositionStart,\n compositionupdate: _vm.handleCompositionUpdate,\n compositionend: _vm.handleCompositionEnd,\n input: _vm.handleInput,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n change: _vm.handleChange\n }\n }, \"input\", _vm.$attrs, false)) : _vm._e(), _vm.$slots.prefix || _vm.prefixIcon ? _c(\"span\", {\n staticClass: \"el-input__prefix\"\n }, [_vm._t(\"prefix\"), _vm.prefixIcon ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": _vm.prefixIcon\n }) : _vm._e()], 2) : _vm._e(), _vm.getSuffixVisible() ? _c(\"span\", {\n staticClass: \"el-input__suffix\"\n }, [_c(\"span\", {\n staticClass: \"el-input__suffix-inner\"\n }, [!_vm.showClear || !_vm.showPwdVisible || !_vm.isWordLimitVisible ? [_vm._t(\"suffix\"), _vm.suffixIcon ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": _vm.suffixIcon\n }) : _vm._e()] : _vm._e(), _vm.showClear ? _c(\"i\", {\n staticClass: \"el-input__icon el-icon-circle-close el-input__clear\",\n on: {\n mousedown: function mousedown($event) {\n $event.preventDefault();\n },\n click: _vm.clear\n }\n }) : _vm._e(), _vm.showPwdVisible ? _c(\"i\", {\n staticClass: \"el-input__icon el-icon-view el-input__clear\",\n on: {\n click: _vm.handlePasswordVisible\n }\n }) : _vm._e(), _vm.isWordLimitVisible ? _c(\"span\", {\n staticClass: \"el-input__count\"\n }, [_c(\"span\", {\n staticClass: \"el-input__count-inner\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.textLength) + \"/\" + _vm._s(_vm.upperLimit) + \"\\n \")])]) : _vm._e()], 2), _vm.validateState ? _c(\"i\", {\n staticClass: \"el-input__icon\",\n \"class\": [\"el-input__validateIcon\", _vm.validateIcon]\n }) : _vm._e()]) : _vm._e(), _vm.$slots.append ? _c(\"div\", {\n staticClass: \"el-input-group__append\"\n }, [_vm._t(\"append\")], 2) : _vm._e()] : _c(\"textarea\", _vm._b({\n ref: \"textarea\",\n staticClass: \"el-textarea__inner\",\n style: _vm.textareaStyle,\n attrs: {\n tabindex: _vm.tabindex,\n disabled: _vm.inputDisabled,\n readonly: _vm.readonly,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n \"aria-label\": _vm.label\n },\n on: {\n compositionstart: _vm.handleCompositionStart,\n compositionupdate: _vm.handleCompositionUpdate,\n compositionend: _vm.handleCompositionEnd,\n input: _vm.handleInput,\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n change: _vm.handleChange\n }\n }, \"textarea\", _vm.$attrs, false)), _vm.isWordLimitVisible && _vm.type === \"textarea\" ? _c(\"span\", {\n staticClass: \"el-input__count\"\n }, [_vm._v(_vm._s(_vm.textLength) + \"/\" + _vm._s(_vm.upperLimit))]) : _vm._e()], 2);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=343dd774&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/migrating\"\n\n\n var migrating_ = __webpack_require__(11);\n\n var migrating_default =\n /*#__PURE__*/\n __webpack_require__.n(migrating_); // CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js\n\n\n var hiddenTextarea = void 0;\n var HIDDEN_STYLE = '\\n height:0 !important;\\n visibility:hidden !important;\\n overflow:hidden !important;\\n position:absolute !important;\\n z-index:-1000 !important;\\n top:0 !important;\\n right:0 !important\\n';\n var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing'];\n\n function calculateNodeStyling(targetElement) {\n var style = window.getComputedStyle(targetElement);\n var boxSizing = style.getPropertyValue('box-sizing');\n var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top'));\n var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width'));\n var contextStyle = CONTEXT_STYLE.map(function (name) {\n return name + ':' + style.getPropertyValue(name);\n }).join(';');\n return {\n contextStyle: contextStyle,\n paddingSize: paddingSize,\n borderSize: borderSize,\n boxSizing: boxSizing\n };\n }\n\n function calcTextareaHeight(targetElement) {\n var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n if (!hiddenTextarea) {\n hiddenTextarea = document.createElement('textarea');\n document.body.appendChild(hiddenTextarea);\n }\n\n var _calculateNodeStyling = calculateNodeStyling(targetElement),\n paddingSize = _calculateNodeStyling.paddingSize,\n borderSize = _calculateNodeStyling.borderSize,\n boxSizing = _calculateNodeStyling.boxSizing,\n contextStyle = _calculateNodeStyling.contextStyle;\n\n hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE);\n hiddenTextarea.value = targetElement.value || targetElement.placeholder || '';\n var height = hiddenTextarea.scrollHeight;\n var result = {};\n\n if (boxSizing === 'border-box') {\n height = height + borderSize;\n } else if (boxSizing === 'content-box') {\n height = height - paddingSize;\n }\n\n hiddenTextarea.value = '';\n var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;\n\n if (minRows !== null) {\n var minHeight = singleRowHeight * minRows;\n\n if (boxSizing === 'border-box') {\n minHeight = minHeight + paddingSize + borderSize;\n }\n\n height = Math.max(minHeight, height);\n result.minHeight = minHeight + 'px';\n }\n\n if (maxRows !== null) {\n var maxHeight = singleRowHeight * maxRows;\n\n if (boxSizing === 'border-box') {\n maxHeight = maxHeight + paddingSize + borderSize;\n }\n\n height = Math.min(maxHeight, height);\n }\n\n result.height = height + 'px';\n hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea);\n hiddenTextarea = null;\n return result;\n }\n\n ; // EXTERNAL MODULE: external \"element-ui/lib/utils/merge\"\n\n var merge_ = __webpack_require__(9);\n\n var merge_default =\n /*#__PURE__*/\n __webpack_require__.n(merge_); // EXTERNAL MODULE: external \"element-ui/lib/utils/shared\"\n\n\n var shared_ = __webpack_require__(21); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var inputvue_type_script_lang_js_ = {\n name: 'ElInput',\n componentName: 'ElInput',\n mixins: [emitter_default.a, migrating_default.a],\n inheritAttrs: false,\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n data: function data() {\n return {\n textareaCalcStyle: {},\n hovering: false,\n focused: false,\n isComposing: false,\n passwordVisible: false\n };\n },\n props: {\n value: [String, Number],\n size: String,\n resize: String,\n form: String,\n disabled: Boolean,\n readonly: Boolean,\n type: {\n type: String,\n \"default\": 'text'\n },\n autosize: {\n type: [Boolean, Object],\n \"default\": false\n },\n autocomplete: {\n type: String,\n \"default\": 'off'\n },\n\n /** @Deprecated in next major version */\n autoComplete: {\n type: String,\n validator: function validator(val) {\n false && false;\n return true;\n }\n },\n validateEvent: {\n type: Boolean,\n \"default\": true\n },\n suffixIcon: String,\n prefixIcon: String,\n label: String,\n clearable: {\n type: Boolean,\n \"default\": false\n },\n showPassword: {\n type: Boolean,\n \"default\": false\n },\n showWordLimit: {\n type: Boolean,\n \"default\": false\n },\n tabindex: String\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n validateState: function validateState() {\n return this.elFormItem ? this.elFormItem.validateState : '';\n },\n needStatusIcon: function needStatusIcon() {\n return this.elForm ? this.elForm.statusIcon : false;\n },\n validateIcon: function validateIcon() {\n return {\n validating: 'el-icon-loading',\n success: 'el-icon-circle-check',\n error: 'el-icon-circle-close'\n }[this.validateState];\n },\n textareaStyle: function textareaStyle() {\n return merge_default()({}, this.textareaCalcStyle, {\n resize: this.resize\n });\n },\n inputSize: function inputSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n inputDisabled: function inputDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n nativeInputValue: function nativeInputValue() {\n return this.value === null || this.value === undefined ? '' : String(this.value);\n },\n showClear: function showClear() {\n return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering);\n },\n showPwdVisible: function showPwdVisible() {\n return this.showPassword && !this.inputDisabled && !this.readonly && (!!this.nativeInputValue || this.focused);\n },\n isWordLimitVisible: function isWordLimitVisible() {\n return this.showWordLimit && this.$attrs.maxlength && (this.type === 'text' || this.type === 'textarea') && !this.inputDisabled && !this.readonly && !this.showPassword;\n },\n upperLimit: function upperLimit() {\n return this.$attrs.maxlength;\n },\n textLength: function textLength() {\n if (typeof this.value === 'number') {\n return String(this.value).length;\n }\n\n return (this.value || '').length;\n },\n inputExceed: function inputExceed() {\n // show exceed style if length of initial value greater then maxlength\n return this.isWordLimitVisible && this.textLength > this.upperLimit;\n }\n },\n watch: {\n value: function value(val) {\n this.$nextTick(this.resizeTextarea);\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.change', [val]);\n }\n },\n // native input value is set explicitly\n // do not use v-model / :value in template\n // see: https://github.com/ElemeFE/element/issues/14521\n nativeInputValue: function nativeInputValue() {\n this.setNativeInputValue();\n },\n // when change between <input> and <textarea>,\n // update DOM dependent value and styles\n // https://github.com/ElemeFE/element/issues/14857\n type: function type() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.setNativeInputValue();\n\n _this.resizeTextarea();\n\n _this.updateIconOffset();\n });\n }\n },\n methods: {\n focus: function focus() {\n this.getInput().focus();\n },\n blur: function blur() {\n this.getInput().blur();\n },\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {\n 'icon': 'icon is removed, use suffix-icon / prefix-icon instead.',\n 'on-icon-click': 'on-icon-click is removed.'\n },\n events: {\n 'click': 'click is removed.'\n }\n };\n },\n handleBlur: function handleBlur(event) {\n this.focused = false;\n this.$emit('blur', event);\n\n if (this.validateEvent) {\n this.dispatch('ElFormItem', 'el.form.blur', [this.value]);\n }\n },\n select: function select() {\n this.getInput().select();\n },\n resizeTextarea: function resizeTextarea() {\n if (this.$isServer) return;\n var autosize = this.autosize,\n type = this.type;\n if (type !== 'textarea') return;\n\n if (!autosize) {\n this.textareaCalcStyle = {\n minHeight: calcTextareaHeight(this.$refs.textarea).minHeight\n };\n return;\n }\n\n var minRows = autosize.minRows;\n var maxRows = autosize.maxRows;\n this.textareaCalcStyle = calcTextareaHeight(this.$refs.textarea, minRows, maxRows);\n },\n setNativeInputValue: function setNativeInputValue() {\n var input = this.getInput();\n if (!input) return;\n if (input.value === this.nativeInputValue) return;\n input.value = this.nativeInputValue;\n },\n handleFocus: function handleFocus(event) {\n this.focused = true;\n this.$emit('focus', event);\n },\n handleCompositionStart: function handleCompositionStart(event) {\n this.$emit('compositionstart', event);\n this.isComposing = true;\n },\n handleCompositionUpdate: function handleCompositionUpdate(event) {\n this.$emit('compositionupdate', event);\n var text = event.target.value;\n var lastCharacter = text[text.length - 1] || '';\n this.isComposing = !Object(shared_[\"isKorean\"])(lastCharacter);\n },\n handleCompositionEnd: function handleCompositionEnd(event) {\n this.$emit('compositionend', event);\n\n if (this.isComposing) {\n this.isComposing = false;\n this.handleInput(event);\n }\n },\n handleInput: function handleInput(event) {\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (this.isComposing) return; // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n\n if (event.target.value === this.nativeInputValue) return;\n this.$emit('input', event.target.value); // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n\n this.$nextTick(this.setNativeInputValue);\n },\n handleChange: function handleChange(event) {\n this.$emit('change', event.target.value);\n },\n calcIconOffset: function calcIconOffset(place) {\n var elList = [].slice.call(this.$el.querySelectorAll('.el-input__' + place) || []);\n if (!elList.length) return;\n var el = null;\n\n for (var i = 0; i < elList.length; i++) {\n if (elList[i].parentNode === this.$el) {\n el = elList[i];\n break;\n }\n }\n\n if (!el) return;\n var pendantMap = {\n suffix: 'append',\n prefix: 'prepend'\n };\n var pendant = pendantMap[place];\n\n if (this.$slots[pendant]) {\n el.style.transform = 'translateX(' + (place === 'suffix' ? '-' : '') + this.$el.querySelector('.el-input-group__' + pendant).offsetWidth + 'px)';\n } else {\n el.removeAttribute('style');\n }\n },\n updateIconOffset: function updateIconOffset() {\n this.calcIconOffset('prefix');\n this.calcIconOffset('suffix');\n },\n clear: function clear() {\n this.$emit('input', '');\n this.$emit('change', '');\n this.$emit('clear');\n },\n handlePasswordVisible: function handlePasswordVisible() {\n var _this2 = this;\n\n this.passwordVisible = !this.passwordVisible;\n this.$nextTick(function () {\n _this2.focus();\n });\n },\n getInput: function getInput() {\n return this.$refs.input || this.$refs.textarea;\n },\n getSuffixVisible: function getSuffixVisible() {\n return this.$slots.suffix || this.suffixIcon || this.showClear || this.showPassword || this.isWordLimitVisible || this.validateState && this.needStatusIcon;\n }\n },\n created: function created() {\n this.$on('inputSelect', this.select);\n },\n mounted: function mounted() {\n this.setNativeInputValue();\n this.resizeTextarea();\n this.updateIconOffset();\n },\n updated: function updated() {\n this.$nextTick(this.updateIconOffset);\n }\n }; // CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_inputvue_type_script_lang_js_ = inputvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/input/src/input.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_inputvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/input/src/input.vue\";\n /* harmony default export */\n\n var input = component.exports; // CONCATENATED MODULE: ./packages/input/index.js\n\n /* istanbul ignore next */\n\n input.install = function (Vue) {\n Vue.component(input.name, input);\n };\n /* harmony default export */\n\n\n var packages_input = __webpack_exports__[\"default\"] = input;\n /***/\n },\n\n /***/\n 9:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/merge\");\n /***/\n }\n /******/\n\n});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 133);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 133:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external \"element-ui/lib/utils/resize-event\"\n\n\n var resize_event_ = __webpack_require__(16); // EXTERNAL MODULE: external \"element-ui/lib/utils/scrollbar-width\"\n\n\n var scrollbar_width_ = __webpack_require__(39);\n\n var scrollbar_width_default =\n /*#__PURE__*/\n __webpack_require__.n(scrollbar_width_); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // EXTERNAL MODULE: external \"element-ui/lib/utils/dom\"\n\n\n var dom_ = __webpack_require__(2); // CONCATENATED MODULE: ./packages/scrollbar/src/util.js\n\n\n var BAR_MAP = {\n vertical: {\n offset: 'offsetHeight',\n scroll: 'scrollTop',\n scrollSize: 'scrollHeight',\n size: 'height',\n key: 'vertical',\n axis: 'Y',\n client: 'clientY',\n direction: 'top'\n },\n horizontal: {\n offset: 'offsetWidth',\n scroll: 'scrollLeft',\n scrollSize: 'scrollWidth',\n size: 'width',\n key: 'horizontal',\n axis: 'X',\n client: 'clientX',\n direction: 'left'\n }\n };\n\n function renderThumbStyle(_ref) {\n var move = _ref.move,\n size = _ref.size,\n bar = _ref.bar;\n var style = {};\n var translate = 'translate' + bar.axis + '(' + move + '%)';\n style[bar.size] = size;\n style.transform = translate;\n style.msTransform = translate;\n style.webkitTransform = translate;\n return style;\n }\n\n ; // CONCATENATED MODULE: ./packages/scrollbar/src/bar.js\n\n /* istanbul ignore next */\n\n /* harmony default export */\n\n var src_bar = {\n name: 'Bar',\n props: {\n vertical: Boolean,\n size: String,\n move: Number\n },\n computed: {\n bar: function bar() {\n return BAR_MAP[this.vertical ? 'vertical' : 'horizontal'];\n },\n wrap: function wrap() {\n return this.$parent.wrap;\n }\n },\n render: function render(h) {\n var size = this.size,\n move = this.move,\n bar = this.bar;\n return h('div', {\n 'class': ['el-scrollbar__bar', 'is-' + bar.key],\n on: {\n 'mousedown': this.clickTrackHandler\n }\n }, [h('div', {\n ref: 'thumb',\n 'class': 'el-scrollbar__thumb',\n on: {\n 'mousedown': this.clickThumbHandler\n },\n style: renderThumbStyle({\n size: size,\n move: move,\n bar: bar\n })\n })]);\n },\n methods: {\n clickThumbHandler: function clickThumbHandler(e) {\n // prevent click event of right button\n if (e.ctrlKey || e.button === 2) {\n return;\n }\n\n this.startDrag(e);\n this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]);\n },\n clickTrackHandler: function clickTrackHandler(e) {\n var offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]);\n var thumbHalf = this.$refs.thumb[this.bar.offset] / 2;\n var thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset];\n this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;\n },\n startDrag: function startDrag(e) {\n e.stopImmediatePropagation();\n this.cursorDown = true;\n Object(dom_[\"on\"])(document, 'mousemove', this.mouseMoveDocumentHandler);\n Object(dom_[\"on\"])(document, 'mouseup', this.mouseUpDocumentHandler);\n\n document.onselectstart = function () {\n return false;\n };\n },\n mouseMoveDocumentHandler: function mouseMoveDocumentHandler(e) {\n if (this.cursorDown === false) return;\n var prevPage = this[this.bar.axis];\n if (!prevPage) return;\n var offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1;\n var thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage;\n var thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset];\n this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;\n },\n mouseUpDocumentHandler: function mouseUpDocumentHandler(e) {\n this.cursorDown = false;\n this[this.bar.axis] = 0;\n Object(dom_[\"off\"])(document, 'mousemove', this.mouseMoveDocumentHandler);\n document.onselectstart = null;\n }\n },\n destroyed: function destroyed() {\n Object(dom_[\"off\"])(document, 'mouseup', this.mouseUpDocumentHandler);\n }\n }; // CONCATENATED MODULE: ./packages/scrollbar/src/main.js\n // reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js\n\n /* istanbul ignore next */\n\n /* harmony default export */\n\n var main = {\n name: 'ElScrollbar',\n components: {\n Bar: src_bar\n },\n props: {\n \"native\": Boolean,\n wrapStyle: {},\n wrapClass: {},\n viewClass: {},\n viewStyle: {},\n noresize: Boolean,\n // 如果 container 尺寸ä¸ä¼šå‘生å˜åŒ–,最好设置它å¯ä»¥ä¼˜åŒ–性能\n tag: {\n type: String,\n \"default\": 'div'\n }\n },\n data: function data() {\n return {\n sizeWidth: '0',\n sizeHeight: '0',\n moveX: 0,\n moveY: 0\n };\n },\n computed: {\n wrap: function wrap() {\n return this.$refs.wrap;\n }\n },\n render: function render(h) {\n var gutter = scrollbar_width_default()();\n var style = this.wrapStyle;\n\n if (gutter) {\n var gutterWith = '-' + gutter + 'px';\n var gutterStyle = 'margin-bottom: ' + gutterWith + '; margin-right: ' + gutterWith + ';';\n\n if (Array.isArray(this.wrapStyle)) {\n style = Object(util_[\"toObject\"])(this.wrapStyle);\n style.marginRight = style.marginBottom = gutterWith;\n } else if (typeof this.wrapStyle === 'string') {\n style += gutterStyle;\n } else {\n style = gutterStyle;\n }\n }\n\n var view = h(this.tag, {\n \"class\": ['el-scrollbar__view', this.viewClass],\n style: this.viewStyle,\n ref: 'resize'\n }, this.$slots[\"default\"]);\n var wrap = h('div', {\n ref: 'wrap',\n style: style,\n on: {\n 'scroll': this.handleScroll\n },\n 'class': [this.wrapClass, 'el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default']\n }, [[view]]);\n var nodes = void 0;\n\n if (!this[\"native\"]) {\n nodes = [wrap, h(src_bar, {\n attrs: {\n move: this.moveX,\n size: this.sizeWidth\n }\n }), h(src_bar, {\n attrs: {\n vertical: true,\n move: this.moveY,\n size: this.sizeHeight\n }\n })];\n } else {\n nodes = [h('div', {\n ref: 'wrap',\n 'class': [this.wrapClass, 'el-scrollbar__wrap'],\n style: style\n }, [[view]])];\n }\n\n return h('div', {\n \"class\": 'el-scrollbar'\n }, nodes);\n },\n methods: {\n handleScroll: function handleScroll() {\n var wrap = this.wrap;\n this.moveY = wrap.scrollTop * 100 / wrap.clientHeight;\n this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth;\n },\n update: function update() {\n var heightPercentage = void 0,\n widthPercentage = void 0;\n var wrap = this.wrap;\n if (!wrap) return;\n heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight;\n widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth;\n this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : '';\n this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : '';\n }\n },\n mounted: function mounted() {\n if (this[\"native\"]) return;\n this.$nextTick(this.update);\n !this.noresize && Object(resize_event_[\"addResizeListener\"])(this.$refs.resize, this.update);\n },\n beforeDestroy: function beforeDestroy() {\n if (this[\"native\"]) return;\n !this.noresize && Object(resize_event_[\"removeResizeListener\"])(this.$refs.resize, this.update);\n }\n }; // CONCATENATED MODULE: ./packages/scrollbar/index.js\n\n /* istanbul ignore next */\n\n main.install = function (Vue) {\n Vue.component(main.name, main);\n };\n /* harmony default export */\n\n\n var scrollbar = __webpack_exports__[\"default\"] = main;\n /***/\n },\n\n /***/\n 16:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/resize-event\");\n /***/\n },\n\n /***/\n 2:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/dom\");\n /***/\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 39:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/scrollbar-width\");\n /***/\n }\n /******/\n\n});","\"use strict\";\n\nexports.__esModule = true;\n\nexports[\"default\"] = function (ref) {\n return {\n methods: {\n focus: function focus() {\n this.$refs[ref].focus();\n }\n }\n };\n};\n\n;","'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = scrollIntoView;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nfunction scrollIntoView(container, selected) {\n if (_vue2[\"default\"].prototype.$isServer) return;\n\n if (!selected) {\n container.scrollTop = 0;\n return;\n }\n\n var offsetParents = [];\n var pointer = selected.offsetParent;\n\n while (pointer && container !== pointer && container.contains(pointer)) {\n offsetParents.push(pointer);\n pointer = pointer.offsetParent;\n }\n\n var top = selected.offsetTop + offsetParents.reduce(function (prev, curr) {\n return prev + curr.offsetTop;\n }, 0);\n var bottom = top + selected.offsetHeight;\n var viewRectTop = container.scrollTop;\n var viewRectBottom = viewRectTop + container.clientHeight;\n\n if (top < viewRectTop) {\n container.scrollTop = top;\n } else if (bottom > viewRectBottom) {\n container.scrollTop = bottom - container.clientHeight;\n }\n}","'use strict';\n\nexports.__esModule = true;\nvar aria = aria || {};\naria.Utils = aria.Utils || {};\n/**\n * @desc Set focus on descendant nodes until the first focusable element is\n * found.\n * @param element\n * DOM node for which to find the first focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\n\naria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n\n return false;\n};\n/**\n * @desc Find the last descendant node that is focusable.\n * @param element\n * DOM node for which to find the last focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\n\n\naria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n\n if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n\n return false;\n};\n/**\n * @desc Set Attempt to set focus on the current node.\n * @param element\n * The node to attempt to focus on.\n * @returns\n * true if element is focused.\n */\n\n\naria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n\n aria.Utils.IgnoreUtilFocusChanges = true;\n\n try {\n element.focus();\n } catch (e) {}\n\n aria.Utils.IgnoreUtilFocusChanges = false;\n return document.activeElement === element;\n};\n\naria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null) {\n return true;\n }\n\n if (element.disabled) {\n return false;\n }\n\n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel !== 'ignore';\n\n case 'INPUT':\n return element.type !== 'hidden' && element.type !== 'file';\n\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n\n default:\n return false;\n }\n};\n/**\n * 触å‘一个事件\n * mouseenter, mouseleave, mouseover, keyup, change, click ç‰\n * @param {Element} elm\n * @param {String} name\n * @param {*} opts\n */\n\n\naria.Utils.triggerEvent = function (elm, name) {\n var eventName = void 0;\n\n if (/^mouse|click/.test(name)) {\n eventName = 'MouseEvents';\n } else if (/^key/.test(name)) {\n eventName = 'KeyboardEvent';\n } else {\n eventName = 'HTMLEvents';\n }\n\n var evt = document.createEvent(eventName);\n\n for (var _len = arguments.length, opts = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n opts[_key - 2] = arguments[_key];\n }\n\n evt.initEvent.apply(evt, [name].concat(opts));\n elm.dispatchEvent ? elm.dispatchEvent(evt) : elm.fireEvent('on' + name, evt);\n return elm;\n};\n\naria.Utils.keys = {\n tab: 9,\n enter: 13,\n space: 32,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n esc: 27\n};\nexports[\"default\"] = aria.Utils;","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","exports.f = Object.getOwnPropertySymbols;\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","module.exports = {};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","exports.f = require('./_wks');\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","export var MSG_INVOICE_CREATING={key:'invoiceCreating',kind:'info'};export var MSG_INVOICE_CREATE_ERROR={key:'invoiceCreateError',kind:'error'};export var MSG_INVOICE_EET_EDIT_BLOCKED={key:'invoiceEetEditBlocked',kind:'info',button:{action:'',key:'invoiceEetEditBlockedButton'}};export var MSG_INVOICE_EET_REGISTER={key:'invoiceEetRemindRegister',kind:'info'};","/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\n\n/* eslint-disable require-jsdoc, valid-jsdoc */\nvar MapShim = function () {\n if (typeof Map !== 'undefined') {\n return Map;\n }\n /**\r\n * Returns index in provided array that matches the specified key.\r\n *\r\n * @param {Array<Array>} arr\r\n * @param {*} key\r\n * @returns {number}\r\n */\n\n\n function getIndex(arr, key) {\n var result = -1;\n arr.some(function (entry, index) {\n if (entry[0] === key) {\n result = index;\n return true;\n }\n\n return false;\n });\n return result;\n }\n\n return (\n /** @class */\n function () {\n function class_1() {\n this.__entries__ = [];\n }\n\n Object.defineProperty(class_1.prototype, \"size\", {\n /**\r\n * @returns {boolean}\r\n */\n get: function get() {\n return this.__entries__.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\r\n * @param {*} key\r\n * @returns {*}\r\n */\n\n class_1.prototype.get = function (key) {\n var index = getIndex(this.__entries__, key);\n var entry = this.__entries__[index];\n return entry && entry[1];\n };\n /**\r\n * @param {*} key\r\n * @param {*} value\r\n * @returns {void}\r\n */\n\n\n class_1.prototype.set = function (key, value) {\n var index = getIndex(this.__entries__, key);\n\n if (~index) {\n this.__entries__[index][1] = value;\n } else {\n this.__entries__.push([key, value]);\n }\n };\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\n\n\n class_1.prototype[\"delete\"] = function (key) {\n var entries = this.__entries__;\n var index = getIndex(entries, key);\n\n if (~index) {\n entries.splice(index, 1);\n }\n };\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\n\n\n class_1.prototype.has = function (key) {\n return !!~getIndex(this.__entries__, key);\n };\n /**\r\n * @returns {void}\r\n */\n\n\n class_1.prototype.clear = function () {\n this.__entries__.splice(0);\n };\n /**\r\n * @param {Function} callback\r\n * @param {*} [ctx=null]\r\n * @returns {void}\r\n */\n\n\n class_1.prototype.forEach = function (callback, ctx) {\n if (ctx === void 0) {\n ctx = null;\n }\n\n for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {\n var entry = _a[_i];\n callback.call(ctx, entry[1], entry[0]);\n }\n };\n\n return class_1;\n }()\n );\n}();\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\n\n\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document; // Returns global object of a current environment.\n\nvar global$1 = function () {\n if (typeof global !== 'undefined' && global.Math === Math) {\n return global;\n }\n\n if (typeof self !== 'undefined' && self.Math === Math) {\n return self;\n }\n\n if (typeof window !== 'undefined' && window.Math === Math) {\n return window;\n } // eslint-disable-next-line no-new-func\n\n\n return Function('return this')();\n}();\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\n\n\nvar requestAnimationFrame$1 = function () {\n if (typeof requestAnimationFrame === 'function') {\n // It's required to use a bounded function because IE sometimes throws\n // an \"Invalid calling object\" error if rAF is invoked without the global\n // object on the left hand side.\n return requestAnimationFrame.bind(global$1);\n }\n\n return function (callback) {\n return setTimeout(function () {\n return callback(Date.now());\n }, 1000 / 60);\n };\n}(); // Defines minimum timeout before adding a trailing call.\n\n\nvar trailingTimeout = 2;\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\n\nfunction throttle(callback, delay) {\n var leadingCall = false,\n trailingCall = false,\n lastCallTime = 0;\n /**\r\n * Invokes the original callback function and schedules new invocation if\r\n * the \"proxy\" was called during current request.\r\n *\r\n * @returns {void}\r\n */\n\n function resolvePending() {\n if (leadingCall) {\n leadingCall = false;\n callback();\n }\n\n if (trailingCall) {\n proxy();\n }\n }\n /**\r\n * Callback invoked after the specified delay. It will further postpone\r\n * invocation of the original function delegating it to the\r\n * requestAnimationFrame.\r\n *\r\n * @returns {void}\r\n */\n\n\n function timeoutCallback() {\n requestAnimationFrame$1(resolvePending);\n }\n /**\r\n * Schedules invocation of the original function.\r\n *\r\n * @returns {void}\r\n */\n\n\n function proxy() {\n var timeStamp = Date.now();\n\n if (leadingCall) {\n // Reject immediately following calls.\n if (timeStamp - lastCallTime < trailingTimeout) {\n return;\n } // Schedule new call to be in invoked when the pending one is resolved.\n // This is important for \"transitions\" which never actually start\n // immediately so there is a chance that we might miss one if change\n // happens amids the pending invocation.\n\n\n trailingCall = true;\n } else {\n leadingCall = true;\n trailingCall = false;\n setTimeout(timeoutCallback, delay);\n }\n\n lastCallTime = timeStamp;\n }\n\n return proxy;\n} // Minimum delay before invoking the update of observers.\n\n\nvar REFRESH_DELAY = 20; // A list of substrings of CSS properties used to find transition events that\n// might affect dimensions of observed elements.\n\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight']; // Check if MutationObserver is available.\n\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\n\nvar ResizeObserverController =\n/** @class */\nfunction () {\n /**\r\n * Creates a new instance of ResizeObserverController.\r\n *\r\n * @private\r\n */\n function ResizeObserverController() {\n /**\r\n * Indicates whether DOM listeners have been added.\r\n *\r\n * @private {boolean}\r\n */\n this.connected_ = false;\n /**\r\n * Tells that controller has subscribed for Mutation Events.\r\n *\r\n * @private {boolean}\r\n */\n\n this.mutationEventsAdded_ = false;\n /**\r\n * Keeps reference to the instance of MutationObserver.\r\n *\r\n * @private {MutationObserver}\r\n */\n\n this.mutationsObserver_ = null;\n /**\r\n * A list of connected observers.\r\n *\r\n * @private {Array<ResizeObserverSPI>}\r\n */\n\n this.observers_ = [];\n this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\n this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\n }\n /**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be added.\r\n * @returns {void}\r\n */\n\n\n ResizeObserverController.prototype.addObserver = function (observer) {\n if (!~this.observers_.indexOf(observer)) {\n this.observers_.push(observer);\n } // Add listeners if they haven't been added yet.\n\n\n if (!this.connected_) {\n this.connect_();\n }\n };\n /**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n * @returns {void}\r\n */\n\n\n ResizeObserverController.prototype.removeObserver = function (observer) {\n var observers = this.observers_;\n var index = observers.indexOf(observer); // Remove observer if it's present in registry.\n\n if (~index) {\n observers.splice(index, 1);\n } // Remove listeners if controller has no connected observers.\n\n\n if (!observers.length && this.connected_) {\n this.disconnect_();\n }\n };\n /**\r\n * Invokes the update of observers. It will continue running updates insofar\r\n * it detects changes.\r\n *\r\n * @returns {void}\r\n */\n\n\n ResizeObserverController.prototype.refresh = function () {\n var changesDetected = this.updateObservers_(); // Continue running updates if changes have been detected as there might\n // be future ones caused by CSS transitions.\n\n if (changesDetected) {\n this.refresh();\n }\n };\n /**\r\n * Updates every observer from observers list and notifies them of queued\r\n * entries.\r\n *\r\n * @private\r\n * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n * dimensions of it's elements.\r\n */\n\n\n ResizeObserverController.prototype.updateObservers_ = function () {\n // Collect observers that have active observations.\n var activeObservers = this.observers_.filter(function (observer) {\n return observer.gatherActive(), observer.hasActive();\n }); // Deliver notifications in a separate cycle in order to avoid any\n // collisions between observers, e.g. when multiple instances of\n // ResizeObserver are tracking the same element and the callback of one\n // of them changes content dimensions of the observed target. Sometimes\n // this may result in notifications being blocked for the rest of observers.\n\n activeObservers.forEach(function (observer) {\n return observer.broadcastActive();\n });\n return activeObservers.length > 0;\n };\n /**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\n\n\n ResizeObserverController.prototype.connect_ = function () {\n // Do nothing if running in a non-browser environment or if listeners\n // have been already added.\n if (!isBrowser || this.connected_) {\n return;\n } // Subscription to the \"Transitionend\" event is used as a workaround for\n // delayed transitions. This way it's possible to capture at least the\n // final state of an element.\n\n\n document.addEventListener('transitionend', this.onTransitionEnd_);\n window.addEventListener('resize', this.refresh);\n\n if (mutationObserverSupported) {\n this.mutationsObserver_ = new MutationObserver(this.refresh);\n this.mutationsObserver_.observe(document, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true\n });\n } else {\n document.addEventListener('DOMSubtreeModified', this.refresh);\n this.mutationEventsAdded_ = true;\n }\n\n this.connected_ = true;\n };\n /**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\n\n\n ResizeObserverController.prototype.disconnect_ = function () {\n // Do nothing if running in a non-browser environment or if listeners\n // have been already removed.\n if (!isBrowser || !this.connected_) {\n return;\n }\n\n document.removeEventListener('transitionend', this.onTransitionEnd_);\n window.removeEventListener('resize', this.refresh);\n\n if (this.mutationsObserver_) {\n this.mutationsObserver_.disconnect();\n }\n\n if (this.mutationEventsAdded_) {\n document.removeEventListener('DOMSubtreeModified', this.refresh);\n }\n\n this.mutationsObserver_ = null;\n this.mutationEventsAdded_ = false;\n this.connected_ = false;\n };\n /**\r\n * \"Transitionend\" event handler.\r\n *\r\n * @private\r\n * @param {TransitionEvent} event\r\n * @returns {void}\r\n */\n\n\n ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {\n var _b = _a.propertyName,\n propertyName = _b === void 0 ? '' : _b; // Detect whether transition may affect dimensions of an element.\n\n var isReflowProperty = transitionKeys.some(function (key) {\n return !!~propertyName.indexOf(key);\n });\n\n if (isReflowProperty) {\n this.refresh();\n }\n };\n /**\r\n * Returns instance of the ResizeObserverController.\r\n *\r\n * @returns {ResizeObserverController}\r\n */\n\n\n ResizeObserverController.getInstance = function () {\n if (!this.instance_) {\n this.instance_ = new ResizeObserverController();\n }\n\n return this.instance_;\n };\n /**\r\n * Holds reference to the controller's instance.\r\n *\r\n * @private {ResizeObserverController}\r\n */\n\n\n ResizeObserverController.instance_ = null;\n return ResizeObserverController;\n}();\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\n\n\nvar defineConfigurable = function defineConfigurable(target, props) {\n for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\n var key = _a[_i];\n Object.defineProperty(target, key, {\n value: props[key],\n enumerable: false,\n writable: false,\n configurable: true\n });\n }\n\n return target;\n};\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\n\n\nvar getWindowOf = function getWindowOf(target) {\n // Assume that the element is an instance of Node, which means that it\n // has the \"ownerDocument\" property from which we can retrieve a\n // corresponding global object.\n var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView; // Return the local global object if it's not possible extract one from\n // provided element.\n\n return ownerGlobal || global$1;\n}; // Placeholder of an empty content rectangle.\n\n\nvar emptyRect = createRectInit(0, 0, 0, 0);\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\n\nfunction toFloat(value) {\n return parseFloat(value) || 0;\n}\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\n\n\nfunction getBordersSize(styles) {\n var positions = [];\n\n for (var _i = 1; _i < arguments.length; _i++) {\n positions[_i - 1] = arguments[_i];\n }\n\n return positions.reduce(function (size, position) {\n var value = styles['border-' + position + '-width'];\n return size + toFloat(value);\n }, 0);\n}\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\n\n\nfunction getPaddings(styles) {\n var positions = ['top', 'right', 'bottom', 'left'];\n var paddings = {};\n\n for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {\n var position = positions_1[_i];\n var value = styles['padding-' + position];\n paddings[position] = toFloat(value);\n }\n\n return paddings;\n}\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n * to be calculated.\r\n * @returns {DOMRectInit}\r\n */\n\n\nfunction getSVGContentRect(target) {\n var bbox = target.getBBox();\n return createRectInit(0, 0, bbox.width, bbox.height);\n}\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\n\n\nfunction getHTMLElementContentRect(target) {\n // Client width & height properties can't be\n // used exclusively as they provide rounded values.\n var clientWidth = target.clientWidth,\n clientHeight = target.clientHeight; // By this condition we can catch all non-replaced inline, hidden and\n // detached elements. Though elements with width & height properties less\n // than 0.5 will be discarded as well.\n //\n // Without it we would need to implement separate methods for each of\n // those cases and it's not possible to perform a precise and performance\n // effective test for hidden elements. E.g. even jQuery's ':visible' filter\n // gives wrong results for elements with width & height less than 0.5.\n\n if (!clientWidth && !clientHeight) {\n return emptyRect;\n }\n\n var styles = getWindowOf(target).getComputedStyle(target);\n var paddings = getPaddings(styles);\n var horizPad = paddings.left + paddings.right;\n var vertPad = paddings.top + paddings.bottom; // Computed styles of width & height are being used because they are the\n // only dimensions available to JS that contain non-rounded values. It could\n // be possible to utilize the getBoundingClientRect if only it's data wasn't\n // affected by CSS transformations let alone paddings, borders and scroll bars.\n\n var width = toFloat(styles.width),\n height = toFloat(styles.height); // Width & height include paddings and borders when the 'border-box' box\n // model is applied (except for IE).\n\n if (styles.boxSizing === 'border-box') {\n // Following conditions are required to handle Internet Explorer which\n // doesn't include paddings and borders to computed CSS dimensions.\n //\n // We can say that if CSS dimensions + paddings are equal to the \"client\"\n // properties then it's either IE, and thus we don't need to subtract\n // anything, or an element merely doesn't have paddings/borders styles.\n if (Math.round(width + horizPad) !== clientWidth) {\n width -= getBordersSize(styles, 'left', 'right') + horizPad;\n }\n\n if (Math.round(height + vertPad) !== clientHeight) {\n height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\n }\n } // Following steps can't be applied to the document's root element as its\n // client[Width/Height] properties represent viewport area of the window.\n // Besides, it's as well not necessary as the <html> itself neither has\n // rendered scroll bars nor it can be clipped.\n\n\n if (!isDocumentElement(target)) {\n // In some browsers (only in Firefox, actually) CSS width & height\n // include scroll bars size which can be removed at this step as scroll\n // bars are the only difference between rounded dimensions + paddings\n // and \"client\" properties, though that is not always true in Chrome.\n var vertScrollbar = Math.round(width + horizPad) - clientWidth;\n var horizScrollbar = Math.round(height + vertPad) - clientHeight; // Chrome has a rather weird rounding of \"client\" properties.\n // E.g. for an element with content width of 314.2px it sometimes gives\n // the client width of 315px and for the width of 314.7px it may give\n // 314px. And it doesn't happen all the time. So just ignore this delta\n // as a non-relevant.\n\n if (Math.abs(vertScrollbar) !== 1) {\n width -= vertScrollbar;\n }\n\n if (Math.abs(horizScrollbar) !== 1) {\n height -= horizScrollbar;\n }\n }\n\n return createRectInit(paddings.left, paddings.top, width, height);\n}\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\n\n\nvar isSVGGraphicsElement = function () {\n // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\n // interface.\n if (typeof SVGGraphicsElement !== 'undefined') {\n return function (target) {\n return target instanceof getWindowOf(target).SVGGraphicsElement;\n };\n } // If it's so, then check that element is at least an instance of the\n // SVGElement and that it has the \"getBBox\" method.\n // eslint-disable-next-line no-extra-parens\n\n\n return function (target) {\n return target instanceof getWindowOf(target).SVGElement && typeof target.getBBox === 'function';\n };\n}();\n/**\r\n * Checks whether provided element is a document element (<html>).\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\n\n\nfunction isDocumentElement(target) {\n return target === getWindowOf(target).document.documentElement;\n}\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\n\n\nfunction getContentRect(target) {\n if (!isBrowser) {\n return emptyRect;\n }\n\n if (isSVGGraphicsElement(target)) {\n return getSVGContentRect(target);\n }\n\n return getHTMLElementContentRect(target);\n}\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\n\n\nfunction createReadOnlyRect(_a) {\n var x = _a.x,\n y = _a.y,\n width = _a.width,\n height = _a.height; // If DOMRectReadOnly is available use it as a prototype for the rectangle.\n\n var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\n var rect = Object.create(Constr.prototype); // Rectangle's properties are not writable and non-enumerable.\n\n defineConfigurable(rect, {\n x: x,\n y: y,\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: height + y,\n left: x\n });\n return rect;\n}\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\n\n\nfunction createRectInit(x, y, width, height) {\n return {\n x: x,\n y: y,\n width: width,\n height: height\n };\n}\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\n\n\nvar ResizeObservation =\n/** @class */\nfunction () {\n /**\r\n * Creates an instance of ResizeObservation.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n */\n function ResizeObservation(target) {\n /**\r\n * Broadcasted width of content rectangle.\r\n *\r\n * @type {number}\r\n */\n this.broadcastWidth = 0;\n /**\r\n * Broadcasted height of content rectangle.\r\n *\r\n * @type {number}\r\n */\n\n this.broadcastHeight = 0;\n /**\r\n * Reference to the last observed content rectangle.\r\n *\r\n * @private {DOMRectInit}\r\n */\n\n this.contentRect_ = createRectInit(0, 0, 0, 0);\n this.target = target;\n }\n /**\r\n * Updates content rectangle and tells whether it's width or height properties\r\n * have changed since the last broadcast.\r\n *\r\n * @returns {boolean}\r\n */\n\n\n ResizeObservation.prototype.isActive = function () {\n var rect = getContentRect(this.target);\n this.contentRect_ = rect;\n return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;\n };\n /**\r\n * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n * from the corresponding properties of the last observed content rectangle.\r\n *\r\n * @returns {DOMRectInit} Last observed content rectangle.\r\n */\n\n\n ResizeObservation.prototype.broadcastRect = function () {\n var rect = this.contentRect_;\n this.broadcastWidth = rect.width;\n this.broadcastHeight = rect.height;\n return rect;\n };\n\n return ResizeObservation;\n}();\n\nvar ResizeObserverEntry =\n/** @class */\nfunction () {\n /**\r\n * Creates an instance of ResizeObserverEntry.\r\n *\r\n * @param {Element} target - Element that is being observed.\r\n * @param {DOMRectInit} rectInit - Data of the element's content rectangle.\r\n */\n function ResizeObserverEntry(target, rectInit) {\n var contentRect = createReadOnlyRect(rectInit); // According to the specification following properties are not writable\n // and are also not enumerable in the native implementation.\n //\n // Property accessors are not being used as they'd require to define a\n // private WeakMap storage which may cause memory leaks in browsers that\n // don't support this type of collections.\n\n defineConfigurable(this, {\n target: target,\n contentRect: contentRect\n });\n }\n\n return ResizeObserverEntry;\n}();\n\nvar ResizeObserverSPI =\n/** @class */\nfunction () {\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback function that is invoked\r\n * when one of the observed elements changes it's content dimensions.\r\n * @param {ResizeObserverController} controller - Controller instance which\r\n * is responsible for the updates of observer.\r\n * @param {ResizeObserver} callbackCtx - Reference to the public\r\n * ResizeObserver instance which will be passed to callback function.\r\n */\n function ResizeObserverSPI(callback, controller, callbackCtx) {\n /**\r\n * Collection of resize observations that have detected changes in dimensions\r\n * of elements.\r\n *\r\n * @private {Array<ResizeObservation>}\r\n */\n this.activeObservations_ = [];\n /**\r\n * Registry of the ResizeObservation instances.\r\n *\r\n * @private {Map<Element, ResizeObservation>}\r\n */\n\n this.observations_ = new MapShim();\n\n if (typeof callback !== 'function') {\n throw new TypeError('The callback provided as parameter 1 is not a function.');\n }\n\n this.callback_ = callback;\n this.controller_ = controller;\n this.callbackCtx_ = callbackCtx;\n }\n /**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n * @returns {void}\r\n */\n\n\n ResizeObserverSPI.prototype.observe = function (target) {\n if (!arguments.length) {\n throw new TypeError('1 argument required, but only 0 present.');\n } // Do nothing if current environment doesn't have the Element interface.\n\n\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n return;\n }\n\n if (!(target instanceof getWindowOf(target).Element)) {\n throw new TypeError('parameter 1 is not of type \"Element\".');\n }\n\n var observations = this.observations_; // Do nothing if element is already being observed.\n\n if (observations.has(target)) {\n return;\n }\n\n observations.set(target, new ResizeObservation(target));\n this.controller_.addObserver(this); // Force the update of observations.\n\n this.controller_.refresh();\n };\n /**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n * @returns {void}\r\n */\n\n\n ResizeObserverSPI.prototype.unobserve = function (target) {\n if (!arguments.length) {\n throw new TypeError('1 argument required, but only 0 present.');\n } // Do nothing if current environment doesn't have the Element interface.\n\n\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n return;\n }\n\n if (!(target instanceof getWindowOf(target).Element)) {\n throw new TypeError('parameter 1 is not of type \"Element\".');\n }\n\n var observations = this.observations_; // Do nothing if element is not being observed.\n\n if (!observations.has(target)) {\n return;\n }\n\n observations[\"delete\"](target);\n\n if (!observations.size) {\n this.controller_.removeObserver(this);\n }\n };\n /**\r\n * Stops observing all elements.\r\n *\r\n * @returns {void}\r\n */\n\n\n ResizeObserverSPI.prototype.disconnect = function () {\n this.clearActive();\n this.observations_.clear();\n this.controller_.removeObserver(this);\n };\n /**\r\n * Collects observation instances the associated element of which has changed\r\n * it's content rectangle.\r\n *\r\n * @returns {void}\r\n */\n\n\n ResizeObserverSPI.prototype.gatherActive = function () {\n var _this = this;\n\n this.clearActive();\n this.observations_.forEach(function (observation) {\n if (observation.isActive()) {\n _this.activeObservations_.push(observation);\n }\n });\n };\n /**\r\n * Invokes initial callback function with a list of ResizeObserverEntry\r\n * instances collected from active resize observations.\r\n *\r\n * @returns {void}\r\n */\n\n\n ResizeObserverSPI.prototype.broadcastActive = function () {\n // Do nothing if observer doesn't have active observations.\n if (!this.hasActive()) {\n return;\n }\n\n var ctx = this.callbackCtx_; // Create ResizeObserverEntry instance for every active observation.\n\n var entries = this.activeObservations_.map(function (observation) {\n return new ResizeObserverEntry(observation.target, observation.broadcastRect());\n });\n this.callback_.call(ctx, entries, ctx);\n this.clearActive();\n };\n /**\r\n * Clears the collection of active observations.\r\n *\r\n * @returns {void}\r\n */\n\n\n ResizeObserverSPI.prototype.clearActive = function () {\n this.activeObservations_.splice(0);\n };\n /**\r\n * Tells whether observer has active observations.\r\n *\r\n * @returns {boolean}\r\n */\n\n\n ResizeObserverSPI.prototype.hasActive = function () {\n return this.activeObservations_.length > 0;\n };\n\n return ResizeObserverSPI;\n}(); // Registry of internal observers. If WeakMap is not available use current shim\n// for the Map collection as it has all required methods and because WeakMap\n// can't be fully polyfilled anyway.\n\n\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\n\nvar ResizeObserver =\n/** @class */\nfunction () {\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback that is invoked when\r\n * dimensions of the observed elements change.\r\n */\n function ResizeObserver(callback) {\n if (!(this instanceof ResizeObserver)) {\n throw new TypeError('Cannot call a class as a function.');\n }\n\n if (!arguments.length) {\n throw new TypeError('1 argument required, but only 0 present.');\n }\n\n var controller = ResizeObserverController.getInstance();\n var observer = new ResizeObserverSPI(callback, controller, this);\n observers.set(this, observer);\n }\n\n return ResizeObserver;\n}(); // Expose public methods of ResizeObserver.\n\n\n['observe', 'unobserve', 'disconnect'].forEach(function (method) {\n ResizeObserver.prototype[method] = function () {\n var _a;\n\n return (_a = observers.get(this))[method].apply(_a, arguments);\n };\n});\n\nvar index = function () {\n // Export existing implementation if available.\n if (typeof global$1.ResizeObserver !== 'undefined') {\n return global$1.ResizeObserver;\n }\n\n return ResizeObserver;\n}();\n\nexport default index;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 104);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 104:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=template&id=229ee406&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-progress\",\n \"class\": [\"el-progress--\" + _vm.type, _vm.status ? \"is-\" + _vm.status : \"\", {\n \"el-progress--without-text\": !_vm.showText,\n \"el-progress--text-inside\": _vm.textInside\n }],\n attrs: {\n role: \"progressbar\",\n \"aria-valuenow\": _vm.percentage,\n \"aria-valuemin\": \"0\",\n \"aria-valuemax\": \"100\"\n }\n }, [_vm.type === \"line\" ? _c(\"div\", {\n staticClass: \"el-progress-bar\"\n }, [_c(\"div\", {\n staticClass: \"el-progress-bar__outer\",\n style: {\n height: _vm.strokeWidth + \"px\",\n backgroundColor: _vm.defineBackColor\n }\n }, [_c(\"div\", {\n staticClass: \"el-progress-bar__inner\",\n style: _vm.barStyle\n }, [_vm.showText && _vm.textInside ? _c(\"div\", {\n staticClass: \"el-progress-bar__innerText\",\n style: {\n color: _vm.textColor\n }\n }, [_vm._v(_vm._s(_vm.content))]) : _vm._e()])])]) : _c(\"div\", {\n staticClass: \"el-progress-circle\",\n style: {\n height: _vm.width + \"px\",\n width: _vm.width + \"px\"\n }\n }, [_c(\"svg\", {\n attrs: {\n viewBox: \"0 0 100 100\"\n }\n }, [_c(\"path\", {\n staticClass: \"el-progress-circle__track\",\n style: _vm.trailPathStyle,\n attrs: {\n d: _vm.trackPath,\n stroke: _vm.defineBackColor,\n \"stroke-width\": _vm.relativeStrokeWidth,\n fill: \"none\"\n }\n }), _c(\"path\", {\n staticClass: \"el-progress-circle__path\",\n style: _vm.circlePathStyle,\n attrs: {\n d: _vm.trackPath,\n stroke: _vm.stroke,\n fill: \"none\",\n \"stroke-linecap\": _vm.strokeLinecap,\n \"stroke-width\": _vm.percentage ? _vm.relativeStrokeWidth : 0\n }\n })])]), _vm.showText && !_vm.textInside ? _c(\"div\", {\n staticClass: \"el-progress__text\",\n style: {\n fontSize: _vm.progressTextSize + \"px\",\n color: _vm.textColor\n }\n }, [!_vm.status ? [_vm._v(_vm._s(_vm.content))] : _c(\"i\", {\n \"class\": _vm.iconClass\n })], 2) : _vm._e()]);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=template&id=229ee406&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/progress/src/progress.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var progressvue_type_script_lang_js_ = {\n name: 'ElProgress',\n props: {\n type: {\n type: String,\n \"default\": 'line',\n validator: function validator(val) {\n return ['line', 'circle', 'dashboard'].indexOf(val) > -1;\n }\n },\n percentage: {\n type: Number,\n \"default\": 0,\n required: true,\n validator: function validator(val) {\n return val >= 0 && val <= 100;\n }\n },\n status: {\n type: String,\n validator: function validator(val) {\n return ['success', 'exception', 'warning'].indexOf(val) > -1;\n }\n },\n strokeWidth: {\n type: Number,\n \"default\": 6\n },\n strokeLinecap: {\n type: String,\n \"default\": 'round'\n },\n textInside: {\n type: Boolean,\n \"default\": false\n },\n width: {\n type: Number,\n \"default\": 126\n },\n showText: {\n type: Boolean,\n \"default\": true\n },\n color: {\n type: [String, Array, Function],\n \"default\": ''\n },\n defineBackColor: {\n type: [String, Array, Function],\n \"default\": '#ebeef5'\n },\n textColor: {\n type: [String, Array, Function],\n \"default\": '#606266'\n },\n format: Function\n },\n computed: {\n barStyle: function barStyle() {\n var style = {};\n style.width = this.percentage + '%';\n style.backgroundColor = this.getCurrentColor(this.percentage);\n return style;\n },\n relativeStrokeWidth: function relativeStrokeWidth() {\n return (this.strokeWidth / this.width * 100).toFixed(1);\n },\n radius: function radius() {\n if (this.type === 'circle' || this.type === 'dashboard') {\n return parseInt(50 - parseFloat(this.relativeStrokeWidth) / 2, 10);\n } else {\n return 0;\n }\n },\n trackPath: function trackPath() {\n var radius = this.radius;\n var isDashboard = this.type === 'dashboard';\n return '\\n M 50 50\\n m 0 ' + (isDashboard ? '' : '-') + radius + '\\n a ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '-' : '') + radius * 2 + '\\n a ' + radius + ' ' + radius + ' 0 1 1 0 ' + (isDashboard ? '' : '-') + radius * 2 + '\\n ';\n },\n perimeter: function perimeter() {\n return 2 * Math.PI * this.radius;\n },\n rate: function rate() {\n return this.type === 'dashboard' ? 0.75 : 1;\n },\n strokeDashoffset: function strokeDashoffset() {\n var offset = -1 * this.perimeter * (1 - this.rate) / 2;\n return offset + 'px';\n },\n trailPathStyle: function trailPathStyle() {\n return {\n strokeDasharray: this.perimeter * this.rate + 'px, ' + this.perimeter + 'px',\n strokeDashoffset: this.strokeDashoffset\n };\n },\n circlePathStyle: function circlePathStyle() {\n return {\n strokeDasharray: this.perimeter * this.rate * (this.percentage / 100) + 'px, ' + this.perimeter + 'px',\n strokeDashoffset: this.strokeDashoffset,\n transition: 'stroke-dasharray 0.6s ease 0s, stroke 0.6s ease'\n };\n },\n stroke: function stroke() {\n var ret = void 0;\n\n if (this.color) {\n ret = this.getCurrentColor(this.percentage);\n } else {\n switch (this.status) {\n case 'success':\n ret = '#13ce66';\n break;\n\n case 'exception':\n ret = '#ff4949';\n break;\n\n case 'warning':\n ret = '#e6a23c';\n break;\n\n default:\n ret = '#20a0ff';\n }\n }\n\n return ret;\n },\n iconClass: function iconClass() {\n if (this.status === 'warning') {\n return 'el-icon-warning';\n }\n\n if (this.type === 'line') {\n return this.status === 'success' ? 'el-icon-circle-check' : 'el-icon-circle-close';\n } else {\n return this.status === 'success' ? 'el-icon-check' : 'el-icon-close';\n }\n },\n progressTextSize: function progressTextSize() {\n return this.type === 'line' ? 12 + this.strokeWidth * 0.4 : this.width * 0.111111 + 2;\n },\n content: function content() {\n if (typeof this.format === 'function') {\n return this.format(this.percentage) || '';\n } else {\n return this.percentage + '%';\n }\n }\n },\n methods: {\n getCurrentColor: function getCurrentColor(percentage) {\n if (typeof this.color === 'function') {\n return this.color(percentage);\n } else if (typeof this.color === 'string') {\n return this.color;\n } else {\n return this.getLevelColor(percentage);\n }\n },\n getLevelColor: function getLevelColor(percentage) {\n var colorArray = this.getColorArray().sort(function (a, b) {\n return a.percentage - b.percentage;\n });\n\n for (var i = 0; i < colorArray.length; i++) {\n if (colorArray[i].percentage > percentage) {\n return colorArray[i].color;\n }\n }\n\n return colorArray[colorArray.length - 1].color;\n },\n getColorArray: function getColorArray() {\n var color = this.color;\n var span = 100 / color.length;\n return color.map(function (seriesColor, index) {\n if (typeof seriesColor === 'string') {\n return {\n color: seriesColor,\n percentage: (index + 1) * span\n };\n }\n\n return seriesColor;\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/progress/src/progress.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_progressvue_type_script_lang_js_ = progressvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/progress/src/progress.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_progressvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/progress/src/progress.vue\";\n /* harmony default export */\n\n var progress = component.exports; // CONCATENATED MODULE: ./packages/progress/index.js\n\n /* istanbul ignore next */\n\n progress.install = function (Vue) {\n Vue.component(progress.name, progress);\n };\n /* harmony default export */\n\n\n var packages_progress = __webpack_exports__[\"default\"] = progress;\n /***/\n }\n /******/\n\n});","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',_vm._b({},'div',_vm.$attrs,false),[(_vm.$slots.control || _vm.title)?_c('div',{class:['section-header', { 'section-header--two-columns': _vm.hasTwoColumnsHeader}]},[(_vm.title)?_c('Heading',{staticClass:\"heading\",style:(`minWidth: ${_vm.headingWidth}`),attrs:{\"icon\":_vm.icon,\"image\":_vm.image,\"kind\":\"h2\",\"type\":\"h2\"}},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \"),(_vm.description)?_c('span',{staticClass:\"heading-description\"},[_vm._v(_vm._s(_vm.description))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.$slots.control)?[_c('div',{staticClass:\"section-header__control\"},[_vm._t(\"control\")],2)]:_vm._e()],2):_vm._e(),_vm._v(\" \"),_c('div',{class:{'col-layout-two': _vm.twoColLayout, [_vm.customClass]: _vm.customClass}},[_vm._t(\"default\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormSection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/babel-loader/lib/index.js??ref--6-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormSection.vue?vue&type=script&lang=js&\"","export default{props:{customClass:String,description:String,icon:String,image:String,hasTwoColumnsHeader:{type:Boolean,\"default\":false},headingWidth:String,title:{type:String,required:false},twoColLayout:{type:Boolean}}};","import { render, staticRenderFns } from \"./FormSection.vue?vue&type=template&id=3075e2a2&scoped=true&\"\nimport script from \"./FormSection.vue?vue&type=script&lang=js&\"\nexport * from \"./FormSection.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormSection.vue?vue&type=style&index=0&id=3075e2a2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3075e2a2\",\n null\n \n)\n\nexport default component.exports","function _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nimport gql from 'graphql-tag';\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\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}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n\n if (i % 2) {\n ownKeys(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 _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 _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\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 && (_typeof2(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = _getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n}\n\nfunction _get(target, property, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get;\n } else {\n _get = function _get(target, property, receiver) {\n var base = _superPropBase(target, property);\n\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(receiver);\n }\n\n return desc.value;\n };\n }\n\n return _get(target, property, receiver || target);\n}\n\nfunction _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nfunction _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\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 _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\nfunction unwrapExports(x) {\n return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nfunction createCommonjsModule(fn, module) {\n return module = {\n exports: {}\n }, fn(module, module.exports), module.exports;\n}\n\nvar index_umd = createCommonjsModule(function (module, exports) {\n (function (global, factory) {\n factory(exports);\n })(commonjsGlobal, function (exports) {\n /* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n /**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the\n * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time\n * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,\n * the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the throttled-function is executed.\n * @param {boolean} [debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),\n * schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\n function throttle(delay, noTrailing, callback, debounceMode) {\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false; // Keep track of the last time `callback` was executed.\n\n var lastExec = 0; // Function to clear existing timeout\n\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n } // Function to cancel next exec\n\n\n function cancel() {\n clearExistingTimeout();\n cancelled = true;\n } // `noTrailing` defaults to falsy.\n\n\n if (typeof noTrailing !== 'boolean') {\n debounceMode = callback;\n callback = noTrailing;\n noTrailing = undefined;\n }\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n\n\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n\n var self = this;\n var elapsed = Date.now() - lastExec;\n\n if (cancelled) {\n return;\n } // Execute `callback` and update the `lastExec` timestamp.\n\n\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n\n\n function clear() {\n timeoutID = undefined;\n }\n\n if (debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`.\n */\n exec();\n }\n\n clearExistingTimeout();\n\n if (debounceMode === undefined && elapsed > delay) {\n /*\n * In throttle mode, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n\n wrapper.cancel = cancel; // Return the wrapper function.\n\n return wrapper;\n }\n /* eslint-disable no-undefined */\n\n /**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {boolean} [atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n *\n * @returns {Function} A new, debounced function.\n */\n\n\n function debounce(delay, atBegin, callback) {\n return callback === undefined ? throttle(delay, atBegin, false) : throttle(delay, callback, atBegin !== false);\n }\n\n exports.debounce = debounce;\n exports.throttle = throttle;\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n });\n});\nunwrapExports(index_umd);\nvar utils = createCommonjsModule(function (module, exports) {\n var Globals = exports.Globals = {};\n\n function factory(action) {\n return function (cb, time) {\n return action(time, cb);\n };\n }\n\n exports.throttle = factory(index_umd.throttle);\n exports.debounce = factory(index_umd.debounce);\n\n exports.getMergedDefinition = function (def) {\n return Globals.Vue.util.mergeOptions({}, def);\n };\n\n exports.reapply = function (options, context) {\n while (typeof options === 'function') {\n options = options.call(context);\n }\n\n return options;\n };\n\n exports.omit = function (obj, properties) {\n return Object.entries(obj).filter(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 1),\n key = _ref2[0];\n\n return !properties.includes(key);\n }).reduce(function (c, _ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n key = _ref4[0],\n val = _ref4[1];\n\n c[key] = val;\n return c;\n }, {});\n };\n\n exports.addGqlError = function (error) {\n if (error.graphQLErrors && error.graphQLErrors.length) {\n error.gqlError = error.graphQLErrors[0];\n }\n }; // eslint-disable-next-line @typescript-eslint/no-empty-function\n\n\n exports.noop = function () {};\n});\nvar utils_1 = utils.Globals;\nvar utils_2 = utils.throttle;\nvar utils_3 = utils.debounce;\nvar utils_4 = utils.getMergedDefinition;\nvar utils_5 = utils.reapply;\nvar utils_6 = utils.omit;\nvar utils_7 = utils.addGqlError;\nvar utils_8 = utils.noop;\nvar skippAllKeys = {\n query: '_skipAllQueries',\n subscription: '_skipAllSubscriptions'\n};\n\nvar SmartApollo =\n/*#__PURE__*/\nfunction () {\n function SmartApollo(vm, key, options) {\n _classCallCheck(this, SmartApollo);\n\n _defineProperty(this, \"type\", null);\n\n _defineProperty(this, \"vueApolloSpecialKeys\", []);\n\n this.vm = vm;\n this.key = key;\n this.initialOptions = options;\n this.options = Object.assign({}, options);\n this._skip = false;\n this._pollInterval = null;\n this._watchers = [];\n this._destroyed = false;\n this.lastApolloOptions = null;\n }\n\n _createClass(SmartApollo, [{\n key: \"autostart\",\n value: function autostart() {\n var _this = this;\n\n if (typeof this.options.skip === 'function') {\n this._skipWatcher = this.vm.$watch(function () {\n return _this.options.skip.call(_this.vm, _this.vm, _this.key);\n }, this.skipChanged.bind(this), {\n immediate: true,\n deep: this.options.deep\n });\n } else if (!this.options.skip && !this.allSkip) {\n this.start();\n } else {\n this._skip = true;\n }\n\n if (typeof this.options.pollInterval === 'function') {\n this._pollWatcher = this.vm.$watch(this.options.pollInterval.bind(this.vm), this.pollIntervalChanged.bind(this), {\n immediate: true\n });\n }\n }\n }, {\n key: \"pollIntervalChanged\",\n value: function pollIntervalChanged(value, oldValue) {\n if (value !== oldValue) {\n this.pollInterval = value;\n\n if (value == null) {\n this.stopPolling();\n } else {\n this.startPolling(value);\n }\n }\n }\n }, {\n key: \"skipChanged\",\n value: function skipChanged(value, oldValue) {\n if (value !== oldValue) {\n this.skip = value;\n }\n }\n }, {\n key: \"pollInterval\",\n get: function get() {\n return this._pollInterval;\n },\n set: function set(value) {\n this._pollInterval = value;\n }\n }, {\n key: \"skip\",\n get: function get() {\n return this._skip;\n },\n set: function set(value) {\n if (value || this.allSkip) {\n this.stop();\n } else {\n this.start();\n }\n\n this._skip = value;\n }\n }, {\n key: \"allSkip\",\n get: function get() {\n return this.vm.$apollo[skippAllKeys[this.type]];\n }\n }, {\n key: \"refresh\",\n value: function refresh() {\n if (!this._skip) {\n this.stop();\n this.start();\n }\n }\n }, {\n key: \"start\",\n value: function start() {\n var _this2 = this;\n\n this.starting = true; // Reactive options\n\n var _loop = function _loop(_i2, _ref2) {\n var prop = _ref2[_i2];\n\n if (typeof _this2.initialOptions[prop] === 'function') {\n var queryCb = _this2.initialOptions[prop].bind(_this2.vm);\n\n _this2.options[prop] = queryCb();\n\n var cb = function cb(query) {\n _this2.options[prop] = query;\n\n _this2.refresh();\n };\n\n if (!_this2.vm.$isServer) {\n cb = _this2.options.throttle ? utils_2(cb, _this2.options.throttle) : cb;\n cb = _this2.options.debounce ? utils_3(cb, _this2.options.debounce) : cb;\n }\n\n _this2._watchers.push(_this2.vm.$watch(queryCb, cb, {\n deep: _this2.options.deep\n }));\n }\n };\n\n for (var _i2 = 0, _ref2 = ['query', 'document', 'context']; _i2 < _ref2.length; _i2++) {\n _loop(_i2, _ref2);\n } // GraphQL Variables\n\n\n if (typeof this.options.variables === 'function') {\n var cb = this.executeApollo.bind(this);\n\n if (!this.vm.$isServer) {\n cb = this.options.throttle ? utils_2(cb, this.options.throttle) : cb;\n cb = this.options.debounce ? utils_3(cb, this.options.debounce) : cb;\n }\n\n this._watchers.push(this.vm.$watch(function () {\n return typeof _this2.options.variables === 'function' ? _this2.options.variables.call(_this2.vm) : _this2.options.variables;\n }, cb, {\n immediate: true,\n deep: this.options.deep\n }));\n } else {\n this.executeApollo(this.options.variables);\n }\n }\n }, {\n key: \"stop\",\n value: function stop() {\n for (var _i4 = 0, _this$_watchers2 = this._watchers; _i4 < _this$_watchers2.length; _i4++) {\n var unwatch = _this$_watchers2[_i4];\n unwatch();\n }\n\n if (this.sub) {\n this.sub.unsubscribe();\n this.sub = null;\n }\n }\n }, {\n key: \"generateApolloOptions\",\n value: function generateApolloOptions(variables) {\n var apolloOptions = utils_6(this.options, this.vueApolloSpecialKeys);\n apolloOptions.variables = variables;\n this.lastApolloOptions = apolloOptions;\n return apolloOptions;\n }\n }, {\n key: \"executeApollo\",\n value: function executeApollo(variables) {\n this.starting = false;\n }\n }, {\n key: \"nextResult\",\n value: function nextResult(result) {\n var error = result.error;\n if (error) utils_7(error);\n }\n }, {\n key: \"callHandlers\",\n value: function callHandlers(handlers) {\n var catched = false;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n for (var _i6 = 0; _i6 < handlers.length; _i6++) {\n var handler = handlers[_i6];\n\n if (handler) {\n catched = true;\n var result = handler.apply(this.vm, args);\n\n if (typeof result !== 'undefined' && !result) {\n break;\n }\n }\n }\n\n return catched;\n }\n }, {\n key: \"errorHandler\",\n value: function errorHandler() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return this.callHandlers.apply(this, [[this.options.error, this.vm.$apollo.error, this.vm.$apollo.provider.errorHandler]].concat(args));\n }\n }, {\n key: \"catchError\",\n value: function catchError(error) {\n utils_7(error);\n var catched = this.errorHandler(error, this.vm, this.key, this.type, this.lastApolloOptions);\n if (catched) return;\n\n if (error.graphQLErrors && error.graphQLErrors.length !== 0) {\n console.error(\"GraphQL execution errors for \".concat(this.type, \" '\").concat(this.key, \"'\"));\n\n for (var _i8 = 0, _error$graphQLErrors2 = error.graphQLErrors; _i8 < _error$graphQLErrors2.length; _i8++) {\n var e = _error$graphQLErrors2[_i8];\n console.error(e);\n }\n } else if (error.networkError) {\n console.error(\"Error sending the \".concat(this.type, \" '\").concat(this.key, \"'\"), error.networkError);\n } else {\n console.error(\"[vue-apollo] An error has occurred for \".concat(this.type, \" '\").concat(this.key, \"'\"));\n\n if (Array.isArray(error)) {\n var _console;\n\n (_console = console).error.apply(_console, _toConsumableArray(error));\n } else {\n console.error(error);\n }\n }\n }\n }, {\n key: \"destroy\",\n value: function destroy() {\n if (this._destroyed) return;\n this._destroyed = true;\n this.stop();\n\n if (this._skipWatcher) {\n this._skipWatcher();\n }\n }\n }]);\n\n return SmartApollo;\n}();\n\nvar VUE_APOLLO_QUERY_KEYWORDS = ['variables', 'watch', 'update', 'result', 'error', 'loadingKey', 'watchLoading', 'skip', 'throttle', 'debounce', 'subscribeToMore', 'prefetch', 'manual'];\n\nvar SmartQuery =\n/*#__PURE__*/\nfunction (_SmartApollo) {\n _inherits(SmartQuery, _SmartApollo);\n\n var _super = _createSuper(SmartQuery);\n\n function SmartQuery(vm, key, options) {\n var _this;\n\n var autostart = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\n _classCallCheck(this, SmartQuery); // Add reactive data related to the query\n\n\n if (vm.$data.$apolloData && !vm.$data.$apolloData.queries[key]) {\n vm.$set(vm.$data.$apolloData.queries, key, {\n loading: false\n });\n }\n\n _this = _super.call(this, vm, key, options);\n\n _defineProperty(_assertThisInitialized(_this), \"type\", 'query');\n\n _defineProperty(_assertThisInitialized(_this), \"vueApolloSpecialKeys\", VUE_APOLLO_QUERY_KEYWORDS);\n\n _defineProperty(_assertThisInitialized(_this), \"_loading\", false);\n\n _defineProperty(_assertThisInitialized(_this), \"_linkedSubscriptions\", []);\n\n if (vm.$isServer) {\n _this.firstRun = new Promise(function (resolve, reject) {\n _this._firstRunResolve = resolve;\n _this._firstRunReject = reject;\n });\n }\n\n if (_this.vm.$isServer) {\n _this.options.fetchPolicy = 'network-only';\n }\n\n if (!options.manual) {\n _this.hasDataField = Object.prototype.hasOwnProperty.call(_this.vm.$data, key);\n\n if (_this.hasDataField) {\n Object.defineProperty(_this.vm.$data.$apolloData.data, key, {\n get: function get() {\n return _this.vm.$data[key];\n },\n enumerable: true,\n configurable: true\n });\n } else {\n Object.defineProperty(_this.vm.$data, key, {\n get: function get() {\n return _this.vm.$data.$apolloData.data[key];\n },\n enumerable: true,\n configurable: true\n });\n }\n }\n\n if (autostart) {\n _this.autostart();\n }\n\n return _this;\n }\n\n _createClass(SmartQuery, [{\n key: \"client\",\n get: function get() {\n return this.vm.$apollo.getClient(this.options);\n }\n }, {\n key: \"loading\",\n get: function get() {\n return this.vm.$data.$apolloData && this.vm.$data.$apolloData.queries[this.key] ? this.vm.$data.$apolloData.queries[this.key].loading : this._loading;\n },\n set: function set(value) {\n if (this._loading !== value) {\n this._loading = value;\n\n if (this.vm.$data.$apolloData && this.vm.$data.$apolloData.queries[this.key]) {\n this.vm.$data.$apolloData.queries[this.key].loading = value;\n this.vm.$data.$apolloData.loading += value ? 1 : -1;\n }\n }\n }\n }, {\n key: \"stop\",\n value: function stop() {\n _get(_getPrototypeOf(SmartQuery.prototype), \"stop\", this).call(this);\n\n this.loadingDone();\n\n if (this.observer) {\n this.observer.stopPolling();\n this.observer = null;\n }\n }\n }, {\n key: \"generateApolloOptions\",\n value: function generateApolloOptions(variables) {\n var apolloOptions = _get(_getPrototypeOf(SmartQuery.prototype), \"generateApolloOptions\", this).call(this, variables);\n\n if (this.vm.$isServer) {\n // Don't poll on the server, that would run indefinitely\n delete apolloOptions.pollInterval;\n }\n\n return apolloOptions;\n }\n }, {\n key: \"executeApollo\",\n value: function executeApollo(variables) {\n var variablesJson = JSON.stringify(variables);\n\n if (this.sub) {\n if (variablesJson === this.previousVariablesJson) {\n return;\n }\n\n this.sub.unsubscribe(); // Subscribe to more subs\n\n for (var _i2 = 0, _this$_linkedSubscrip2 = this._linkedSubscriptions; _i2 < _this$_linkedSubscrip2.length; _i2++) {\n var sub = _this$_linkedSubscrip2[_i2];\n sub.stop();\n }\n }\n\n this.previousVariablesJson = variablesJson; // Create observer\n\n this.observer = this.vm.$apollo.watchQuery(this.generateApolloOptions(variables));\n this.startQuerySubscription();\n\n if (this.options.fetchPolicy !== 'no-cache' || this.options.notifyOnNetworkStatusChange) {\n var currentResult = this.retrieveCurrentResult();\n\n if (this.options.notifyOnNetworkStatusChange || // Initial call of next result when it's not loading (for Apollo Client 3)\n this.observer.getCurrentResult && !currentResult.loading) {\n this.nextResult(currentResult);\n }\n }\n\n _get(_getPrototypeOf(SmartQuery.prototype), \"executeApollo\", this).call(this, variables); // Subscribe to more subs\n\n\n for (var _i4 = 0, _this$_linkedSubscrip4 = this._linkedSubscriptions; _i4 < _this$_linkedSubscrip4.length; _i4++) {\n var _sub = _this$_linkedSubscrip4[_i4];\n\n _sub.start();\n }\n }\n }, {\n key: \"startQuerySubscription\",\n value: function startQuerySubscription() {\n if (this.sub && !this.sub.closed) return; // Create subscription\n\n this.sub = this.observer.subscribe({\n next: this.nextResult.bind(this),\n error: this.catchError.bind(this)\n });\n }\n /**\n * May update loading state\n */\n\n }, {\n key: \"retrieveCurrentResult\",\n value: function retrieveCurrentResult() {\n var force = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var currentResult = this.observer.getCurrentResult ? this.observer.getCurrentResult() : this.observer.currentResult();\n\n if (force || currentResult.loading) {\n if (!this.loading) {\n this.applyLoadingModifier(1);\n }\n\n this.loading = true;\n }\n\n return currentResult;\n }\n }, {\n key: \"nextResult\",\n value: function nextResult(result) {\n _get(_getPrototypeOf(SmartQuery.prototype), \"nextResult\", this).call(this, result);\n\n var data = result.data,\n loading = result.loading,\n error = result.error,\n errors = result.errors;\n var anyErrors = errors && errors.length;\n\n if (error || anyErrors) {\n this.firstRunReject(error);\n }\n\n if (!loading) {\n this.loadingDone();\n } // If `errorPolicy` is set to `all`, an error won't be thrown\n // Instead result will have an `errors` array of GraphQL Errors\n // so we need to reconstruct an error object similar to the normal one\n\n\n if (anyErrors) {\n var e = new Error(\"GraphQL error: \".concat(errors.map(function (e) {\n return e.message;\n }).join(' | ')));\n Object.assign(e, {\n graphQLErrors: errors,\n networkError: null\n }); // We skip query catchError logic\n // as we only want to dispatch the error\n\n _get(_getPrototypeOf(SmartQuery.prototype), \"catchError\", this).call(this, e);\n }\n\n if (this.observer.options.errorPolicy === 'none' && (error || anyErrors)) {\n // Don't apply result\n return;\n }\n\n var hasResultCallback = typeof this.options.result === 'function';\n if (data == null) ;else if (!this.options.manual) {\n if (typeof this.options.update === 'function') {\n this.setData(this.options.update.call(this.vm, data));\n } else if (typeof data[this.key] === 'undefined' && Object.keys(data).length) {\n console.error(\"Missing \".concat(this.key, \" attribute on result\"), data);\n } else {\n this.setData(data[this.key]);\n }\n } else if (!hasResultCallback) {\n console.error(\"\".concat(this.key, \" query must have a 'result' hook in manual mode\"));\n }\n\n if (hasResultCallback) {\n this.options.result.call(this.vm, result, this.key);\n }\n }\n }, {\n key: \"setData\",\n value: function setData(value) {\n this.vm.$set(this.hasDataField ? this.vm.$data : this.vm.$data.$apolloData.data, this.key, value);\n }\n }, {\n key: \"catchError\",\n value: function catchError(error) {\n _get(_getPrototypeOf(SmartQuery.prototype), \"catchError\", this).call(this, error);\n\n this.firstRunReject(error);\n this.loadingDone(error);\n this.nextResult(this.observer.getCurrentResult ? this.observer.getCurrentResult() : this.observer.currentResult()); // The observable closes the sub if an error occurs\n\n this.resubscribeToQuery();\n }\n }, {\n key: \"resubscribeToQuery\",\n value: function resubscribeToQuery() {\n var lastError = this.observer.getLastError();\n var lastResult = this.observer.getLastResult();\n this.observer.resetLastResults();\n this.startQuerySubscription();\n Object.assign(this.observer, {\n lastError: lastError,\n lastResult: lastResult\n });\n }\n }, {\n key: \"loadingKey\",\n get: function get() {\n return this.options.loadingKey || this.vm.$apollo.loadingKey;\n }\n }, {\n key: \"watchLoading\",\n value: function watchLoading() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return this.callHandlers.apply(this, [[this.options.watchLoading, this.vm.$apollo.watchLoading, this.vm.$apollo.provider.watchLoading]].concat(args, [this]));\n }\n }, {\n key: \"applyLoadingModifier\",\n value: function applyLoadingModifier(value) {\n var loadingKey = this.loadingKey;\n\n if (loadingKey && typeof this.vm[loadingKey] === 'number') {\n this.vm[loadingKey] += value;\n }\n\n this.watchLoading(value === 1, value);\n }\n }, {\n key: \"loadingDone\",\n value: function loadingDone() {\n var error = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n if (this.loading) {\n this.applyLoadingModifier(-1);\n }\n\n this.loading = false;\n\n if (!error) {\n this.firstRunResolve();\n }\n }\n }, {\n key: \"fetchMore\",\n value: function fetchMore() {\n var _this2 = this;\n\n if (this.observer) {\n var _this$observer;\n\n this.retrieveCurrentResult(true);\n return (_this$observer = this.observer).fetchMore.apply(_this$observer, arguments).then(function (result) {\n if (!result.loading) {\n _this2.loadingDone();\n }\n\n return result;\n });\n }\n }\n }, {\n key: \"subscribeToMore\",\n value: function subscribeToMore() {\n if (this.observer) {\n var _this$observer2;\n\n return {\n unsubscribe: (_this$observer2 = this.observer).subscribeToMore.apply(_this$observer2, arguments)\n };\n }\n }\n }, {\n key: \"refetch\",\n value: function refetch(variables) {\n var _this3 = this;\n\n variables && (this.options.variables = variables);\n\n if (this.observer) {\n var result = this.observer.refetch(variables).then(function (result) {\n if (!result.loading) {\n _this3.loadingDone();\n }\n\n return result;\n });\n this.retrieveCurrentResult();\n return result;\n }\n }\n }, {\n key: \"setVariables\",\n value: function setVariables(variables, tryFetch) {\n this.options.variables = variables;\n\n if (this.observer) {\n var result = this.observer.setVariables(variables, tryFetch);\n this.retrieveCurrentResult();\n return result;\n }\n }\n }, {\n key: \"setOptions\",\n value: function setOptions(options) {\n Object.assign(this.options, options);\n\n if (this.observer) {\n var result = this.observer.setOptions(options);\n this.retrieveCurrentResult();\n return result;\n }\n }\n }, {\n key: \"startPolling\",\n value: function startPolling() {\n if (this.observer) {\n var _this$observer3;\n\n return (_this$observer3 = this.observer).startPolling.apply(_this$observer3, arguments);\n }\n }\n }, {\n key: \"stopPolling\",\n value: function stopPolling() {\n if (this.observer) {\n var _this$observer4;\n\n return (_this$observer4 = this.observer).stopPolling.apply(_this$observer4, arguments);\n }\n }\n }, {\n key: \"firstRunResolve\",\n value: function firstRunResolve() {\n if (this._firstRunResolve) {\n this._firstRunResolve();\n\n this._firstRunResolve = null;\n }\n }\n }, {\n key: \"firstRunReject\",\n value: function firstRunReject(error) {\n if (this._firstRunReject) {\n this._firstRunReject(error);\n\n this._firstRunReject = null;\n }\n }\n }, {\n key: \"destroy\",\n value: function destroy() {\n _get(_getPrototypeOf(SmartQuery.prototype), \"destroy\", this).call(this);\n\n if (this.loading) {\n this.watchLoading(false, -1);\n }\n\n this.loading = false;\n }\n }]);\n\n return SmartQuery;\n}(SmartApollo);\n\nvar SmartSubscription =\n/*#__PURE__*/\nfunction (_SmartApollo) {\n _inherits(SmartSubscription, _SmartApollo);\n\n var _super = _createSuper(SmartSubscription);\n\n function SmartSubscription(vm, key, options) {\n var _this;\n\n var autostart = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;\n\n _classCallCheck(this, SmartSubscription);\n\n _this = _super.call(this, vm, key, options);\n\n _defineProperty(_assertThisInitialized(_this), \"type\", 'subscription');\n\n _defineProperty(_assertThisInitialized(_this), \"vueApolloSpecialKeys\", ['variables', 'result', 'error', 'throttle', 'debounce', 'linkedQuery']);\n\n if (autostart) {\n _this.autostart();\n }\n\n return _this;\n }\n\n _createClass(SmartSubscription, [{\n key: \"generateApolloOptions\",\n value: function generateApolloOptions(variables) {\n var apolloOptions = _get(_getPrototypeOf(SmartSubscription.prototype), \"generateApolloOptions\", this).call(this, variables);\n\n apolloOptions.onError = this.catchError.bind(this);\n return apolloOptions;\n }\n }, {\n key: \"executeApollo\",\n value: function executeApollo(variables) {\n var variablesJson = JSON.stringify(variables);\n\n if (this.sub) {\n // do nothing if subscription is already running using exactly the same variables\n if (variablesJson === this.previousVariablesJson) {\n return;\n }\n\n this.sub.unsubscribe();\n }\n\n this.previousVariablesJson = variablesJson;\n var apolloOptions = this.generateApolloOptions(variables);\n\n if (typeof apolloOptions.updateQuery === 'function') {\n apolloOptions.updateQuery = apolloOptions.updateQuery.bind(this.vm);\n }\n\n if (this.options.linkedQuery) {\n if (typeof this.options.result === 'function') {\n var rcb = this.options.result.bind(this.vm);\n var ucb = apolloOptions.updateQuery && apolloOptions.updateQuery.bind(this.vm);\n\n apolloOptions.updateQuery = function () {\n rcb.apply(void 0, arguments);\n return ucb && ucb.apply(void 0, arguments);\n };\n }\n\n this.sub = this.options.linkedQuery.subscribeToMore(apolloOptions);\n } else {\n // Create observer\n this.observer = this.vm.$apollo.subscribe(apolloOptions); // Create subscription\n\n this.sub = this.observer.subscribe({\n next: this.nextResult.bind(this),\n error: this.catchError.bind(this)\n });\n }\n\n _get(_getPrototypeOf(SmartSubscription.prototype), \"executeApollo\", this).call(this, variables);\n }\n }, {\n key: \"nextResult\",\n value: function nextResult(data) {\n _get(_getPrototypeOf(SmartSubscription.prototype), \"nextResult\", this).call(this, data);\n\n if (typeof this.options.result === 'function') {\n this.options.result.call(this.vm, data, this.key);\n }\n }\n }, {\n key: \"catchError\",\n value: function catchError(error) {\n _get(_getPrototypeOf(SmartSubscription.prototype), \"catchError\", this).call(this, error); // Restart the subscription\n\n\n if (!this.skip) {\n this.stop();\n this.start();\n }\n }\n }]);\n\n return SmartSubscription;\n}(SmartApollo);\n\nvar DollarApollo =\n/*#__PURE__*/\nfunction () {\n function DollarApollo(vm) {\n _classCallCheck(this, DollarApollo);\n\n this._apolloSubscriptions = [];\n this._watchers = [];\n this.vm = vm;\n this.queries = {};\n this.subscriptions = {};\n this.client = undefined;\n this.loadingKey = undefined;\n this.error = undefined;\n }\n\n _createClass(DollarApollo, [{\n key: \"provider\",\n get: function get() {\n return this.vm.$apolloProvider;\n }\n }, {\n key: \"getClient\",\n value: function getClient() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n if (!options || !options.client) {\n if (_typeof(this.client) === 'object') {\n return this.client;\n }\n\n if (this.client) {\n if (!this.provider.clients) {\n throw new Error('[vue-apollo] Missing \\'clients\\' options in \\'apolloProvider\\'');\n } else {\n var _client = this.provider.clients[this.client];\n\n if (!_client) {\n throw new Error(\"[vue-apollo] Missing client '\".concat(this.client, \"' in 'apolloProvider'\"));\n }\n\n return _client;\n }\n }\n\n return this.provider.defaultClient;\n }\n\n var client = this.provider.clients[options.client];\n\n if (!client) {\n throw new Error(\"[vue-apollo] Missing client '\".concat(options.client, \"' in 'apolloProvider'\"));\n }\n\n return client;\n }\n }, {\n key: \"query\",\n value: function query(options) {\n return this.getClient(options).query(options);\n }\n }, {\n key: \"watchQuery\",\n value: function watchQuery(options) {\n var _this = this;\n\n var observable = this.getClient(options).watchQuery(options);\n\n var _subscribe = observable.subscribe.bind(observable);\n\n observable.subscribe = function (options) {\n var sub = _subscribe(options);\n\n _this._apolloSubscriptions.push(sub);\n\n return sub;\n };\n\n return observable;\n }\n }, {\n key: \"mutate\",\n value: function mutate(options) {\n return this.getClient(options).mutate(options);\n }\n }, {\n key: \"subscribe\",\n value: function subscribe(options) {\n var _this2 = this;\n\n if (!this.vm.$isServer) {\n var observable = this.getClient(options).subscribe(options);\n\n var _subscribe = observable.subscribe.bind(observable);\n\n observable.subscribe = function (options) {\n var sub = _subscribe(options);\n\n _this2._apolloSubscriptions.push(sub);\n\n return sub;\n };\n\n return observable;\n }\n }\n }, {\n key: \"loading\",\n get: function get() {\n return this.vm.$data.$apolloData.loading !== 0;\n }\n }, {\n key: \"data\",\n get: function get() {\n return this.vm.$data.$apolloData.data;\n }\n }, {\n key: \"addSmartQuery\",\n value: function addSmartQuery(key, options) {\n var _this3 = this;\n\n var finalOptions = utils_5(options, this.vm); // Simple query\n\n if (!finalOptions.query) {\n var query = finalOptions;\n finalOptions = {\n query: query\n };\n }\n\n var apollo = this.vm.$options.apollo;\n var defaultOptions = this.provider.defaultOptions;\n var $query;\n\n if (defaultOptions && defaultOptions.$query) {\n $query = defaultOptions.$query;\n }\n\n if (apollo && apollo.$query) {\n $query = _objectSpread2(_objectSpread2({}, $query || {}), apollo.$query);\n }\n\n if ($query) {\n // Also replaces 'undefined' values\n for (var _key in $query) {\n if (typeof finalOptions[_key] === 'undefined') {\n finalOptions[_key] = $query[_key];\n }\n }\n }\n\n var smart = this.queries[key] = new SmartQuery(this.vm, key, finalOptions, false);\n\n if (!this.vm.$isServer || finalOptions.prefetch !== false) {\n smart.autostart();\n }\n\n if (!this.vm.$isServer) {\n var subs = finalOptions.subscribeToMore;\n\n if (subs) {\n if (Array.isArray(subs)) {\n subs.forEach(function (sub, index) {\n _this3.addSmartSubscription(\"\".concat(key).concat(index), _objectSpread2(_objectSpread2({}, sub), {}, {\n linkedQuery: smart\n }));\n });\n } else {\n this.addSmartSubscription(key, _objectSpread2(_objectSpread2({}, subs), {}, {\n linkedQuery: smart\n }));\n }\n }\n }\n\n return smart;\n }\n }, {\n key: \"addSmartSubscription\",\n value: function addSmartSubscription(key, options) {\n if (!this.vm.$isServer) {\n options = utils_5(options, this.vm);\n var smart = this.subscriptions[key] = new SmartSubscription(this.vm, key, options, false);\n smart.autostart();\n\n if (options.linkedQuery) {\n options.linkedQuery._linkedSubscriptions.push(smart);\n }\n\n return smart;\n }\n }\n }, {\n key: \"defineReactiveSetter\",\n value: function defineReactiveSetter(key, func, deep) {\n var _this4 = this;\n\n this._watchers.push(this.vm.$watch(func, function (value) {\n _this4[key] = value;\n }, {\n immediate: true,\n deep: deep\n }));\n } // eslint-disable-next-line accessor-pairs\n\n }, {\n key: \"skipAllQueries\",\n set: function set(value) {\n this._skipAllQueries = value;\n\n for (var key in this.queries) {\n this.queries[key].skip = value;\n }\n } // eslint-disable-next-line accessor-pairs\n\n }, {\n key: \"skipAllSubscriptions\",\n set: function set(value) {\n this._skipAllSubscriptions = value;\n\n for (var key in this.subscriptions) {\n this.subscriptions[key].skip = value;\n }\n } // eslint-disable-next-line accessor-pairs\n\n }, {\n key: \"skipAll\",\n set: function set(value) {\n this.skipAllQueries = value;\n this.skipAllSubscriptions = value;\n }\n }, {\n key: \"destroy\",\n value: function destroy() {\n for (var _i2 = 0, _this$_watchers2 = this._watchers; _i2 < _this$_watchers2.length; _i2++) {\n var unwatch = _this$_watchers2[_i2];\n unwatch();\n }\n\n for (var key in this.queries) {\n this.queries[key].destroy();\n }\n\n for (var _key2 in this.subscriptions) {\n this.subscriptions[_key2].destroy();\n }\n\n this._apolloSubscriptions.forEach(function (sub) {\n sub.unsubscribe();\n });\n }\n }]);\n\n return DollarApollo;\n}();\n\nvar ApolloProvider =\n/*#__PURE__*/\nfunction () {\n function ApolloProvider(options) {\n _classCallCheck(this, ApolloProvider);\n\n if (!options) {\n throw new Error('Options argument required');\n }\n\n this.clients = options.clients || {};\n\n if (options.defaultClient) {\n this.clients.defaultClient = this.defaultClient = options.defaultClient;\n }\n\n this.defaultOptions = options.defaultOptions;\n this.watchLoading = options.watchLoading;\n this.errorHandler = options.errorHandler;\n this.prefetch = options.prefetch;\n }\n\n _createClass(ApolloProvider, [{\n key: \"provide\",\n value: function provide() {\n var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '$apolloProvider';\n console.warn('<ApolloProvider>.provide() is deprecated. Use the \\'apolloProvider\\' option instead with the provider object directly.');\n return _defineProperty({}, key, this);\n }\n }]);\n\n return ApolloProvider;\n}();\n\nfunction isDataFilled(data) {\n return data && Object.keys(data).length > 0;\n}\n\nvar CApolloQuery = {\n name: 'ApolloQuery',\n provide: function provide() {\n return {\n getDollarApollo: this.getDollarApollo,\n getApolloQuery: this.getApolloQuery\n };\n },\n props: {\n query: {\n type: [Function, Object],\n required: true\n },\n variables: {\n type: Object,\n \"default\": undefined\n },\n fetchPolicy: {\n type: String,\n \"default\": undefined\n },\n pollInterval: {\n type: Number,\n \"default\": undefined\n },\n notifyOnNetworkStatusChange: {\n type: Boolean,\n \"default\": undefined\n },\n context: {\n type: Object,\n \"default\": undefined\n },\n update: {\n type: Function,\n \"default\": function _default(data) {\n return data;\n }\n },\n skip: {\n type: Boolean,\n \"default\": false\n },\n debounce: {\n type: Number,\n \"default\": 0\n },\n throttle: {\n type: Number,\n \"default\": 0\n },\n clientId: {\n type: String,\n \"default\": undefined\n },\n deep: {\n type: Boolean,\n \"default\": undefined\n },\n tag: {\n type: String,\n \"default\": 'div'\n },\n prefetch: {\n type: Boolean,\n \"default\": true\n },\n options: {\n type: Object,\n \"default\": function _default() {\n return {};\n }\n }\n },\n data: function data() {\n return {\n result: {\n data: null,\n loading: false,\n networkStatus: 7,\n error: null\n },\n times: 0\n };\n },\n watch: {\n fetchPolicy: function fetchPolicy(value) {\n this.$apollo.queries.query.setOptions({\n fetchPolicy: value\n });\n },\n pollInterval: function pollInterval(value) {\n this.$apollo.queries.query.setOptions({\n pollInterval: value\n });\n },\n notifyOnNetworkStatusChange: function notifyOnNetworkStatusChange(value) {\n this.$apollo.queries.query.setOptions({\n notifyOnNetworkStatusChange: value\n });\n },\n '$data.$apolloData.loading': function $data$apolloDataLoading(value) {\n this.$emit('loading', !!value);\n }\n },\n apollo: {\n $client: function $client() {\n return this.clientId;\n },\n query: function query() {\n return _objectSpread2(_objectSpread2({\n query: function query() {\n if (typeof this.query === 'function') {\n return this.query(gql);\n }\n\n return this.query;\n },\n variables: function variables() {\n return this.variables;\n },\n fetchPolicy: this.fetchPolicy,\n pollInterval: this.pollInterval,\n debounce: this.debounce,\n throttle: this.throttle,\n notifyOnNetworkStatusChange: this.notifyOnNetworkStatusChange,\n context: function context() {\n return this.context;\n },\n skip: function skip() {\n return this.skip;\n },\n deep: this.deep,\n prefetch: this.prefetch\n }, this.options), {}, {\n manual: true,\n result: function result(_result) {\n var _result2 = _result,\n errors = _result2.errors,\n loading = _result2.loading,\n networkStatus = _result2.networkStatus;\n var _result3 = _result,\n error = _result3.error;\n _result = Object.assign({}, _result);\n\n if (errors && errors.length) {\n error = new Error(\"Apollo errors occurred (\".concat(errors.length, \")\"));\n error.graphQLErrors = errors;\n }\n\n var data = {};\n\n if (loading) {\n Object.assign(data, this.$_previousData, _result.data);\n } else if (error) {\n Object.assign(data, this.$apollo.queries.query.observer.getLastResult() || {}, _result.data);\n } else {\n data = _result.data;\n this.$_previousData = _result.data;\n }\n\n var dataNotEmpty = isDataFilled(data);\n this.result = {\n data: dataNotEmpty ? this.update(data) : undefined,\n fullData: dataNotEmpty ? data : undefined,\n loading: loading,\n error: error,\n networkStatus: networkStatus\n };\n this.times = ++this.$_times;\n this.$emit('result', this.result);\n },\n error: function error(_error) {\n this.result.loading = false;\n this.result.error = _error;\n this.$emit('error', _error);\n }\n });\n }\n },\n created: function created() {\n this.$_times = 0;\n },\n methods: {\n getDollarApollo: function getDollarApollo() {\n return this.$apollo;\n },\n getApolloQuery: function getApolloQuery() {\n return this.$apollo.queries.query;\n }\n },\n render: function render(h) {\n var result = this.$scopedSlots[\"default\"]({\n result: this.result,\n times: this.times,\n query: this.$apollo.queries.query,\n isLoading: this.$apolloData.loading,\n gqlError: this.result && this.result.error && this.result.error.gqlError\n });\n\n if (Array.isArray(result)) {\n result = result.concat(this.$slots[\"default\"]);\n } else {\n result = [result].concat(this.$slots[\"default\"]);\n }\n\n return this.tag ? h(this.tag, result) : result[0];\n }\n};\nvar uid = 0;\nvar CApolloSubscribeToMore = {\n name: 'ApolloSubscribeToMore',\n inject: ['getDollarApollo', 'getApolloQuery'],\n props: {\n document: {\n type: [Function, Object],\n required: true\n },\n variables: {\n type: Object,\n \"default\": undefined\n },\n updateQuery: {\n type: Function,\n \"default\": undefined\n }\n },\n watch: {\n document: 'refresh',\n variables: 'refresh'\n },\n created: function created() {\n this.$_key = \"sub_component_\".concat(uid++);\n },\n mounted: function mounted() {\n this.refresh();\n },\n beforeDestroy: function beforeDestroy() {\n this.destroy();\n },\n methods: {\n destroy: function destroy() {\n if (this.$_sub) {\n this.$_sub.destroy();\n }\n },\n refresh: function refresh() {\n this.destroy();\n var document = this.document;\n\n if (typeof document === 'function') {\n document = document(gql);\n }\n\n this.$_sub = this.getDollarApollo().addSmartSubscription(this.$_key, {\n document: document,\n variables: this.variables,\n updateQuery: this.updateQuery,\n linkedQuery: this.getApolloQuery()\n });\n }\n },\n render: function render(h) {\n return null;\n }\n};\nvar CApolloMutation = {\n props: {\n mutation: {\n type: [Function, Object],\n required: true\n },\n variables: {\n type: Object,\n \"default\": undefined\n },\n optimisticResponse: {\n type: Object,\n \"default\": undefined\n },\n update: {\n type: Function,\n \"default\": undefined\n },\n refetchQueries: {\n type: Function,\n \"default\": undefined\n },\n clientId: {\n type: String,\n \"default\": undefined\n },\n tag: {\n type: String,\n \"default\": 'div'\n },\n context: {\n type: Object,\n \"default\": undefined\n }\n },\n data: function data() {\n return {\n loading: false,\n error: null\n };\n },\n watch: {\n loading: function loading(value) {\n this.$emit('loading', value);\n }\n },\n methods: {\n mutate: function mutate(options) {\n var _this = this;\n\n this.loading = true;\n this.error = null;\n var mutation = this.mutation;\n\n if (typeof mutation === 'function') {\n mutation = mutation(gql);\n }\n\n return this.$apollo.mutate(_objectSpread2({\n mutation: mutation,\n client: this.clientId,\n variables: this.variables,\n optimisticResponse: this.optimisticResponse,\n update: this.update,\n refetchQueries: this.refetchQueries,\n context: this.context\n }, options)).then(function (result) {\n _this.$emit('done', result);\n\n _this.loading = false;\n })[\"catch\"](function (e) {\n utils_7(e);\n _this.error = e;\n\n _this.$emit('error', e);\n\n _this.loading = false;\n });\n }\n },\n render: function render(h) {\n var result = this.$scopedSlots[\"default\"]({\n mutate: this.mutate,\n loading: this.loading,\n error: this.error,\n gqlError: this.error && this.error.gqlError\n });\n\n if (Array.isArray(result)) {\n result = result.concat(this.$slots[\"default\"]);\n } else {\n result = [result].concat(this.$slots[\"default\"]);\n }\n\n return this.tag ? h(this.tag, result) : result[0];\n }\n};\n\nfunction hasProperty(holder, key) {\n return typeof holder !== 'undefined' && Object.prototype.hasOwnProperty.call(holder, key);\n}\n\nfunction initProvider() {\n var options = this.$options; // ApolloProvider injection\n\n var optionValue = options.apolloProvider;\n\n if (optionValue) {\n this.$apolloProvider = typeof optionValue === 'function' ? optionValue() : optionValue;\n } else if (options.parent && options.parent.$apolloProvider) {\n this.$apolloProvider = options.parent.$apolloProvider;\n } else if (options.provide) {\n // TODO remove\n // Temporary retro-compatibility\n var provided = typeof options.provide === 'function' ? options.provide.call(this) : options.provide;\n\n if (provided && provided.$apolloProvider) {\n this.$apolloProvider = provided.$apolloProvider;\n }\n }\n}\n\nfunction proxyData() {\n var _this = this;\n\n this.$_apolloInitData = {};\n var apollo = this.$options.apollo;\n\n if (apollo) {\n var _loop = function _loop(key) {\n if (key.charAt(0) !== '$') {\n var options = apollo[key]; // Property proxy\n\n if (!options.manual && !hasProperty(_this.$options.props, key) && !hasProperty(_this.$options.computed, key) && !hasProperty(_this.$options.methods, key)) {\n Object.defineProperty(_this, key, {\n get: function get() {\n return _this.$data.$apolloData.data[key];\n },\n // For component class constructor\n set: function set(value) {\n return _this.$_apolloInitData[key] = value;\n },\n enumerable: true,\n configurable: true\n });\n }\n }\n }; // watchQuery\n\n\n for (var key in apollo) {\n _loop(key);\n }\n }\n}\n\nfunction launch() {\n var _this2 = this;\n\n var apolloProvider = this.$apolloProvider;\n if (this._apolloLaunched || !apolloProvider) return;\n this._apolloLaunched = true; // Prepare properties\n\n var apollo = this.$options.apollo;\n\n if (apollo) {\n this.$_apolloPromises = [];\n\n if (!apollo.$init) {\n apollo.$init = true; // Default options applied to `apollo` options\n\n if (apolloProvider.defaultOptions) {\n apollo = this.$options.apollo = Object.assign({}, apolloProvider.defaultOptions, apollo);\n }\n }\n\n defineReactiveSetter(this.$apollo, 'skipAll', apollo.$skipAll, apollo.$deep);\n defineReactiveSetter(this.$apollo, 'skipAllQueries', apollo.$skipAllQueries, apollo.$deep);\n defineReactiveSetter(this.$apollo, 'skipAllSubscriptions', apollo.$skipAllSubscriptions, apollo.$deep);\n defineReactiveSetter(this.$apollo, 'client', apollo.$client, apollo.$deep);\n defineReactiveSetter(this.$apollo, 'loadingKey', apollo.$loadingKey, apollo.$deep);\n defineReactiveSetter(this.$apollo, 'error', apollo.$error, apollo.$deep);\n defineReactiveSetter(this.$apollo, 'watchLoading', apollo.$watchLoading, apollo.$deep); // Apollo Data\n\n Object.defineProperty(this, '$apolloData', {\n get: function get() {\n return _this2.$data.$apolloData;\n },\n enumerable: true,\n configurable: true\n }); // watchQuery\n\n for (var key in apollo) {\n if (key.charAt(0) !== '$') {\n var options = apollo[key];\n var smart = this.$apollo.addSmartQuery(key, options);\n\n if (this.$isServer) {\n options = utils_5(options, this);\n\n if (apolloProvider.prefetch !== false && options.prefetch !== false && apollo.$prefetch !== false && !smart.skip) {\n this.$_apolloPromises.push(smart.firstRun);\n }\n }\n }\n }\n\n if (apollo.subscribe) {\n utils_1.Vue.util.warn('vue-apollo -> `subscribe` option is deprecated. Use the `$subscribe` option instead.');\n }\n\n if (apollo.$subscribe) {\n for (var _key in apollo.$subscribe) {\n this.$apollo.addSmartSubscription(_key, apollo.$subscribe[_key]);\n }\n }\n }\n}\n\nfunction defineReactiveSetter($apollo, key, value, deep) {\n if (typeof value !== 'undefined') {\n if (typeof value === 'function') {\n $apollo.defineReactiveSetter(key, value, deep);\n } else {\n $apollo[key] = value;\n }\n }\n}\n\nfunction destroy() {\n if (this.$_apollo) {\n this.$_apollo.destroy();\n }\n}\n\nfunction installMixin(Vue, vueVersion) {\n Vue.mixin(_objectSpread2(_objectSpread2(_objectSpread2({}, vueVersion === '1' ? {\n init: initProvider\n } : {}), vueVersion === '2' ? {\n data: function data() {\n return {\n $apolloData: {\n queries: {},\n loading: 0,\n data: this.$_apolloInitData\n }\n };\n },\n beforeCreate: function beforeCreate() {\n initProvider.call(this);\n proxyData.call(this);\n },\n serverPrefetch: function serverPrefetch() {\n var _this3 = this;\n\n if (this.$_apolloPromises) {\n return Promise.all(this.$_apolloPromises).then(function () {\n destroy.call(_this3);\n })[\"catch\"](function (e) {\n destroy.call(_this3);\n return Promise.reject(e);\n });\n }\n }\n } : {}), {}, {\n created: launch,\n destroyed: destroy\n }));\n}\n\nvar keywords = ['$subscribe'];\n\nfunction install(Vue, options) {\n if (install.installed) return;\n install.installed = true;\n utils_1.Vue = Vue;\n var vueVersion = Vue.version.substr(0, Vue.version.indexOf('.')); // Options merging\n\n var merge = Vue.config.optionMergeStrategies.methods;\n\n Vue.config.optionMergeStrategies.apollo = function (toVal, fromVal, vm) {\n if (!toVal) return fromVal;\n if (!fromVal) return toVal;\n var toData = Object.assign({}, utils_6(toVal, keywords), toVal.data);\n var fromData = Object.assign({}, utils_6(fromVal, keywords), fromVal.data);\n var map = {};\n\n for (var i = 0; i < keywords.length; i++) {\n var key = keywords[i];\n map[key] = merge(toVal[key], fromVal[key]);\n }\n\n return Object.assign(map, merge(toData, fromData));\n }; // Lazy creation\n\n\n if (!Object.prototype.hasOwnProperty.call(Vue, '$apollo')) {\n Object.defineProperty(Vue.prototype, '$apollo', {\n get: function get() {\n if (!this.$_apollo) {\n this.$_apollo = new DollarApollo(this);\n }\n\n return this.$_apollo;\n }\n });\n }\n\n installMixin(Vue, vueVersion);\n\n if (vueVersion === '2') {\n Vue.component('ApolloQuery', CApolloQuery);\n Vue.component('ApolloQuery', CApolloQuery);\n Vue.component('ApolloSubscribeToMore', CApolloSubscribeToMore);\n Vue.component('ApolloSubscribeToMore', CApolloSubscribeToMore);\n Vue.component('ApolloMutation', CApolloMutation);\n Vue.component('ApolloMutation', CApolloMutation);\n }\n}\n\nApolloProvider.install = install; // eslint-disable-next-line no-undef\n\nApolloProvider.version = \"3.1.0\"; // Apollo provider\n\nvar ApolloProvider$1 = ApolloProvider; // Components\n\nvar ApolloQuery = CApolloQuery;\nvar ApolloSubscribeToMore = CApolloSubscribeToMore;\nvar ApolloMutation = CApolloMutation; // Auto-install\n\nvar GlobalVue = null;\n\nif (typeof window !== 'undefined') {\n GlobalVue = window.Vue;\n} else if (typeof global !== 'undefined') {\n GlobalVue = global.Vue;\n}\n\nif (GlobalVue) {\n GlobalVue.use(ApolloProvider);\n}\n\nexport default ApolloProvider;\nexport { ApolloMutation, ApolloProvider$1 as ApolloProvider, ApolloQuery, ApolloSubscribeToMore, install };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * vue-router v3.0.6\n * (c) 2019 Evan You\n * @license MIT\n */\n\n/* */\nfunction assert(condition, message) {\n if (!condition) {\n throw new Error(\"[vue-router] \" + message);\n }\n}\n\nfunction warn(condition, message) {\n if (process.env.NODE_ENV !== 'production' && !condition) {\n typeof console !== 'undefined' && console.warn(\"[vue-router] \" + message);\n }\n}\n\nfunction isError(err) {\n return Object.prototype.toString.call(err).indexOf('Error') > -1;\n}\n\nfunction extend(a, b) {\n for (var key in b) {\n a[key] = b[key];\n }\n\n return a;\n}\n\nvar View = {\n name: 'RouterView',\n functional: true,\n props: {\n name: {\n type: String,\n \"default\": 'default'\n }\n },\n render: function render(_, ref) {\n var props = ref.props;\n var children = ref.children;\n var parent = ref.parent;\n var data = ref.data; // used by devtools to display a router-view badge\n\n data.routerView = true; // directly use parent context's createElement() function\n // so that components rendered by router-view can resolve named slots\n\n var h = parent.$createElement;\n var name = props.name;\n var route = parent.$route;\n var cache = parent._routerViewCache || (parent._routerViewCache = {}); // determine current view depth, also check to see if the tree\n // has been toggled inactive but kept-alive.\n\n var depth = 0;\n var inactive = false;\n\n while (parent && parent._routerRoot !== parent) {\n var vnodeData = parent.$vnode && parent.$vnode.data;\n\n if (vnodeData) {\n if (vnodeData.routerView) {\n depth++;\n }\n\n if (vnodeData.keepAlive && parent._inactive) {\n inactive = true;\n }\n }\n\n parent = parent.$parent;\n }\n\n data.routerViewDepth = depth; // render previous view if the tree is inactive and kept-alive\n\n if (inactive) {\n return h(cache[name], data, children);\n }\n\n var matched = route.matched[depth]; // render empty node if no matched route\n\n if (!matched) {\n cache[name] = null;\n return h();\n }\n\n var component = cache[name] = matched.components[name]; // attach instance registration hook\n // this will be called in the instance's injected lifecycle hooks\n\n data.registerRouteInstance = function (vm, val) {\n // val could be undefined for unregistration\n var current = matched.instances[name];\n\n if (val && current !== vm || !val && current === vm) {\n matched.instances[name] = val;\n }\n } // also register instance in prepatch hook\n // in case the same component instance is reused across different routes\n ;\n\n (data.hook || (data.hook = {})).prepatch = function (_, vnode) {\n matched.instances[name] = vnode.componentInstance;\n }; // register instance in init hook\n // in case kept-alive component be actived when routes changed\n\n\n data.hook.init = function (vnode) {\n if (vnode.data.keepAlive && vnode.componentInstance && vnode.componentInstance !== matched.instances[name]) {\n matched.instances[name] = vnode.componentInstance;\n }\n }; // resolve props\n\n\n var propsToPass = data.props = resolveProps(route, matched.props && matched.props[name]);\n\n if (propsToPass) {\n // clone to prevent mutation\n propsToPass = data.props = extend({}, propsToPass); // pass non-declared props as attrs\n\n var attrs = data.attrs = data.attrs || {};\n\n for (var key in propsToPass) {\n if (!component.props || !(key in component.props)) {\n attrs[key] = propsToPass[key];\n delete propsToPass[key];\n }\n }\n }\n\n return h(component, data, children);\n }\n};\n\nfunction resolveProps(route, config) {\n switch (_typeof(config)) {\n case 'undefined':\n return;\n\n case 'object':\n return config;\n\n case 'function':\n return config(route);\n\n case 'boolean':\n return config ? route.params : undefined;\n\n default:\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"props in \\\"\" + route.path + \"\\\" is a \" + _typeof(config) + \", \" + \"expecting an object, function or boolean.\");\n }\n\n }\n}\n/* */\n\n\nvar encodeReserveRE = /[!'()*]/g;\n\nvar encodeReserveReplacer = function encodeReserveReplacer(c) {\n return '%' + c.charCodeAt(0).toString(16);\n};\n\nvar commaRE = /%2C/g; // fixed encodeURIComponent which is more conformant to RFC3986:\n// - escapes [!'()*]\n// - preserve commas\n\nvar encode = function encode(str) {\n return encodeURIComponent(str).replace(encodeReserveRE, encodeReserveReplacer).replace(commaRE, ',');\n};\n\nvar decode = decodeURIComponent;\n\nfunction resolveQuery(query, extraQuery, _parseQuery) {\n if (extraQuery === void 0) extraQuery = {};\n var parse = _parseQuery || parseQuery;\n var parsedQuery;\n\n try {\n parsedQuery = parse(query || '');\n } catch (e) {\n process.env.NODE_ENV !== 'production' && warn(false, e.message);\n parsedQuery = {};\n }\n\n for (var key in extraQuery) {\n parsedQuery[key] = extraQuery[key];\n }\n\n return parsedQuery;\n}\n\nfunction parseQuery(query) {\n var res = {};\n query = query.trim().replace(/^(\\?|#|&)/, '');\n\n if (!query) {\n return res;\n }\n\n query.split('&').forEach(function (param) {\n var parts = param.replace(/\\+/g, ' ').split('=');\n var key = decode(parts.shift());\n var val = parts.length > 0 ? decode(parts.join('=')) : null;\n\n if (res[key] === undefined) {\n res[key] = val;\n } else if (Array.isArray(res[key])) {\n res[key].push(val);\n } else {\n res[key] = [res[key], val];\n }\n });\n return res;\n}\n\nfunction stringifyQuery(obj) {\n var res = obj ? Object.keys(obj).map(function (key) {\n var val = obj[key];\n\n if (val === undefined) {\n return '';\n }\n\n if (val === null) {\n return encode(key);\n }\n\n if (Array.isArray(val)) {\n var result = [];\n val.forEach(function (val2) {\n if (val2 === undefined) {\n return;\n }\n\n if (val2 === null) {\n result.push(encode(key));\n } else {\n result.push(encode(key) + '=' + encode(val2));\n }\n });\n return result.join('&');\n }\n\n return encode(key) + '=' + encode(val);\n }).filter(function (x) {\n return x.length > 0;\n }).join('&') : null;\n return res ? \"?\" + res : '';\n}\n/* */\n\n\nvar trailingSlashRE = /\\/?$/;\n\nfunction createRoute(record, location, redirectedFrom, router) {\n var stringifyQuery$$1 = router && router.options.stringifyQuery;\n var query = location.query || {};\n\n try {\n query = clone(query);\n } catch (e) {}\n\n var route = {\n name: location.name || record && record.name,\n meta: record && record.meta || {},\n path: location.path || '/',\n hash: location.hash || '',\n query: query,\n params: location.params || {},\n fullPath: getFullPath(location, stringifyQuery$$1),\n matched: record ? formatMatch(record) : []\n };\n\n if (redirectedFrom) {\n route.redirectedFrom = getFullPath(redirectedFrom, stringifyQuery$$1);\n }\n\n return Object.freeze(route);\n}\n\nfunction clone(value) {\n if (Array.isArray(value)) {\n return value.map(clone);\n } else if (value && _typeof(value) === 'object') {\n var res = {};\n\n for (var key in value) {\n res[key] = clone(value[key]);\n }\n\n return res;\n } else {\n return value;\n }\n} // the starting route that represents the initial state\n\n\nvar START = createRoute(null, {\n path: '/'\n});\n\nfunction formatMatch(record) {\n var res = [];\n\n while (record) {\n res.unshift(record);\n record = record.parent;\n }\n\n return res;\n}\n\nfunction getFullPath(ref, _stringifyQuery) {\n var path = ref.path;\n var query = ref.query;\n if (query === void 0) query = {};\n var hash = ref.hash;\n if (hash === void 0) hash = '';\n var stringify = _stringifyQuery || stringifyQuery;\n return (path || '/') + stringify(query) + hash;\n}\n\nfunction isSameRoute(a, b) {\n if (b === START) {\n return a === b;\n } else if (!b) {\n return false;\n } else if (a.path && b.path) {\n return a.path.replace(trailingSlashRE, '') === b.path.replace(trailingSlashRE, '') && a.hash === b.hash && isObjectEqual(a.query, b.query);\n } else if (a.name && b.name) {\n return a.name === b.name && a.hash === b.hash && isObjectEqual(a.query, b.query) && isObjectEqual(a.params, b.params);\n } else {\n return false;\n }\n}\n\nfunction isObjectEqual(a, b) {\n if (a === void 0) a = {};\n if (b === void 0) b = {}; // handle null value #1566\n\n if (!a || !b) {\n return a === b;\n }\n\n var aKeys = Object.keys(a);\n var bKeys = Object.keys(b);\n\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n\n return aKeys.every(function (key) {\n var aVal = a[key];\n var bVal = b[key]; // check nested equality\n\n if (_typeof(aVal) === 'object' && _typeof(bVal) === 'object') {\n return isObjectEqual(aVal, bVal);\n }\n\n return String(aVal) === String(bVal);\n });\n}\n\nfunction isIncludedRoute(current, target) {\n return current.path.replace(trailingSlashRE, '/').indexOf(target.path.replace(trailingSlashRE, '/')) === 0 && (!target.hash || current.hash === target.hash) && queryIncludes(current.query, target.query);\n}\n\nfunction queryIncludes(current, target) {\n for (var key in target) {\n if (!(key in current)) {\n return false;\n }\n }\n\n return true;\n}\n/* */\n// work around weird flow bug\n\n\nvar toTypes = [String, Object];\nvar eventTypes = [String, Array];\nvar Link = {\n name: 'RouterLink',\n props: {\n to: {\n type: toTypes,\n required: true\n },\n tag: {\n type: String,\n \"default\": 'a'\n },\n exact: Boolean,\n append: Boolean,\n replace: Boolean,\n activeClass: String,\n exactActiveClass: String,\n event: {\n type: eventTypes,\n \"default\": 'click'\n }\n },\n render: function render(h) {\n var this$1 = this;\n var router = this.$router;\n var current = this.$route;\n var ref = router.resolve(this.to, current, this.append);\n var location = ref.location;\n var route = ref.route;\n var href = ref.href;\n var classes = {};\n var globalActiveClass = router.options.linkActiveClass;\n var globalExactActiveClass = router.options.linkExactActiveClass; // Support global empty active class\n\n var activeClassFallback = globalActiveClass == null ? 'router-link-active' : globalActiveClass;\n var exactActiveClassFallback = globalExactActiveClass == null ? 'router-link-exact-active' : globalExactActiveClass;\n var activeClass = this.activeClass == null ? activeClassFallback : this.activeClass;\n var exactActiveClass = this.exactActiveClass == null ? exactActiveClassFallback : this.exactActiveClass;\n var compareTarget = location.path ? createRoute(null, location, null, router) : route;\n classes[exactActiveClass] = isSameRoute(current, compareTarget);\n classes[activeClass] = this.exact ? classes[exactActiveClass] : isIncludedRoute(current, compareTarget);\n\n var handler = function handler(e) {\n if (guardEvent(e)) {\n if (this$1.replace) {\n router.replace(location);\n } else {\n router.push(location);\n }\n }\n };\n\n var on = {\n click: guardEvent\n };\n\n if (Array.isArray(this.event)) {\n this.event.forEach(function (e) {\n on[e] = handler;\n });\n } else {\n on[this.event] = handler;\n }\n\n var data = {\n \"class\": classes\n };\n\n if (this.tag === 'a') {\n data.on = on;\n data.attrs = {\n href: href\n };\n } else {\n // find the first <a> child and apply listener and href\n var a = findAnchor(this.$slots[\"default\"]);\n\n if (a) {\n // in case the <a> is a static node\n a.isStatic = false;\n var aData = a.data = extend({}, a.data);\n aData.on = on;\n var aAttrs = a.data.attrs = extend({}, a.data.attrs);\n aAttrs.href = href;\n } else {\n // doesn't have <a> child, apply listener to self\n data.on = on;\n }\n }\n\n return h(this.tag, data, this.$slots[\"default\"]);\n }\n};\n\nfunction guardEvent(e) {\n // don't redirect with control keys\n if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) {\n return;\n } // don't redirect when preventDefault called\n\n\n if (e.defaultPrevented) {\n return;\n } // don't redirect on right click\n\n\n if (e.button !== undefined && e.button !== 0) {\n return;\n } // don't redirect if `target=\"_blank\"`\n\n\n if (e.currentTarget && e.currentTarget.getAttribute) {\n var target = e.currentTarget.getAttribute('target');\n\n if (/\\b_blank\\b/i.test(target)) {\n return;\n }\n } // this may be a Weex event which doesn't have this method\n\n\n if (e.preventDefault) {\n e.preventDefault();\n }\n\n return true;\n}\n\nfunction findAnchor(children) {\n if (children) {\n var child;\n\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n\n if (child.tag === 'a') {\n return child;\n }\n\n if (child.children && (child = findAnchor(child.children))) {\n return child;\n }\n }\n }\n}\n\nvar _Vue;\n\nfunction install(Vue) {\n if (install.installed && _Vue === Vue) {\n return;\n }\n\n install.installed = true;\n _Vue = Vue;\n\n var isDef = function isDef(v) {\n return v !== undefined;\n };\n\n var registerInstance = function registerInstance(vm, callVal) {\n var i = vm.$options._parentVnode;\n\n if (isDef(i) && isDef(i = i.data) && isDef(i = i.registerRouteInstance)) {\n i(vm, callVal);\n }\n };\n\n Vue.mixin({\n beforeCreate: function beforeCreate() {\n if (isDef(this.$options.router)) {\n this._routerRoot = this;\n this._router = this.$options.router;\n\n this._router.init(this);\n\n Vue.util.defineReactive(this, '_route', this._router.history.current);\n } else {\n this._routerRoot = this.$parent && this.$parent._routerRoot || this;\n }\n\n registerInstance(this, this);\n },\n destroyed: function destroyed() {\n registerInstance(this);\n }\n });\n Object.defineProperty(Vue.prototype, '$router', {\n get: function get() {\n return this._routerRoot._router;\n }\n });\n Object.defineProperty(Vue.prototype, '$route', {\n get: function get() {\n return this._routerRoot._route;\n }\n });\n Vue.component('RouterView', View);\n Vue.component('RouterLink', Link);\n var strats = Vue.config.optionMergeStrategies; // use the same hook merging strategy for route hooks\n\n strats.beforeRouteEnter = strats.beforeRouteLeave = strats.beforeRouteUpdate = strats.created;\n}\n/* */\n\n\nvar inBrowser = typeof window !== 'undefined';\n/* */\n\nfunction resolvePath(relative, base, append) {\n var firstChar = relative.charAt(0);\n\n if (firstChar === '/') {\n return relative;\n }\n\n if (firstChar === '?' || firstChar === '#') {\n return base + relative;\n }\n\n var stack = base.split('/'); // remove trailing segment if:\n // - not appending\n // - appending to trailing slash (last segment is empty)\n\n if (!append || !stack[stack.length - 1]) {\n stack.pop();\n } // resolve relative path\n\n\n var segments = relative.replace(/^\\//, '').split('/');\n\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n\n if (segment === '..') {\n stack.pop();\n } else if (segment !== '.') {\n stack.push(segment);\n }\n } // ensure leading slash\n\n\n if (stack[0] !== '') {\n stack.unshift('');\n }\n\n return stack.join('/');\n}\n\nfunction parsePath(path) {\n var hash = '';\n var query = '';\n var hashIndex = path.indexOf('#');\n\n if (hashIndex >= 0) {\n hash = path.slice(hashIndex);\n path = path.slice(0, hashIndex);\n }\n\n var queryIndex = path.indexOf('?');\n\n if (queryIndex >= 0) {\n query = path.slice(queryIndex + 1);\n path = path.slice(0, queryIndex);\n }\n\n return {\n path: path,\n query: query,\n hash: hash\n };\n}\n\nfunction cleanPath(path) {\n return path.replace(/\\/\\//g, '/');\n}\n\nvar isarray = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n/**\n * Expose `pathToRegexp`.\n */\n\n\nvar pathToRegexp_1 = pathToRegexp;\nvar parse_1 = parse;\nvar compile_1 = compile;\nvar tokensToFunction_1 = tokensToFunction;\nvar tokensToRegExp_1 = 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));\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) {\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 + ')$');\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.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}\n\npathToRegexp_1.parse = parse_1;\npathToRegexp_1.compile = compile_1;\npathToRegexp_1.tokensToFunction = tokensToFunction_1;\npathToRegexp_1.tokensToRegExp = tokensToRegExp_1;\n/* */\n// $flow-disable-line\n\nvar regexpCompileCache = Object.create(null);\n\nfunction fillParams(path, params, routeMsg) {\n params = params || {};\n\n try {\n var filler = regexpCompileCache[path] || (regexpCompileCache[path] = pathToRegexp_1.compile(path)); // Fix #2505 resolving asterisk routes { name: 'not-found', params: { pathMatch: '/not-found' }}\n\n if (params.pathMatch) {\n params[0] = params.pathMatch;\n }\n\n return filler(params, {\n pretty: true\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"missing param for \" + routeMsg + \": \" + e.message);\n }\n\n return '';\n } finally {\n // delete the 0 if it was added\n delete params[0];\n }\n}\n/* */\n\n\nfunction createRouteMap(routes, oldPathList, oldPathMap, oldNameMap) {\n // the path list is used to control path matching priority\n var pathList = oldPathList || []; // $flow-disable-line\n\n var pathMap = oldPathMap || Object.create(null); // $flow-disable-line\n\n var nameMap = oldNameMap || Object.create(null);\n routes.forEach(function (route) {\n addRouteRecord(pathList, pathMap, nameMap, route);\n }); // ensure wildcard routes are always at the end\n\n for (var i = 0, l = pathList.length; i < l; i++) {\n if (pathList[i] === '*') {\n pathList.push(pathList.splice(i, 1)[0]);\n l--;\n i--;\n }\n }\n\n return {\n pathList: pathList,\n pathMap: pathMap,\n nameMap: nameMap\n };\n}\n\nfunction addRouteRecord(pathList, pathMap, nameMap, route, parent, matchAs) {\n var path = route.path;\n var name = route.name;\n\n if (process.env.NODE_ENV !== 'production') {\n assert(path != null, \"\\\"path\\\" is required in a route configuration.\");\n assert(typeof route.component !== 'string', \"route config \\\"component\\\" for path: \" + String(path || name) + \" cannot be a \" + \"string id. Use an actual component instead.\");\n }\n\n var pathToRegexpOptions = route.pathToRegexpOptions || {};\n var normalizedPath = normalizePath(path, parent, pathToRegexpOptions.strict);\n\n if (typeof route.caseSensitive === 'boolean') {\n pathToRegexpOptions.sensitive = route.caseSensitive;\n }\n\n var record = {\n path: normalizedPath,\n regex: compileRouteRegex(normalizedPath, pathToRegexpOptions),\n components: route.components || {\n \"default\": route.component\n },\n instances: {},\n name: name,\n parent: parent,\n matchAs: matchAs,\n redirect: route.redirect,\n beforeEnter: route.beforeEnter,\n meta: route.meta || {},\n props: route.props == null ? {} : route.components ? route.props : {\n \"default\": route.props\n }\n };\n\n if (route.children) {\n // Warn if route is named, does not redirect and has a default child route.\n // If users navigate to this route by name, the default child will\n // not be rendered (GH Issue #629)\n if (process.env.NODE_ENV !== 'production') {\n if (route.name && !route.redirect && route.children.some(function (child) {\n return /^\\/?$/.test(child.path);\n })) {\n warn(false, \"Named Route '\" + route.name + \"' has a default child route. \" + \"When navigating to this named route (:to=\\\"{name: '\" + route.name + \"'\\\"), \" + \"the default child route will not be rendered. Remove the name from \" + \"this route and use the name of the default child route for named \" + \"links instead.\");\n }\n }\n\n route.children.forEach(function (child) {\n var childMatchAs = matchAs ? cleanPath(matchAs + \"/\" + child.path) : undefined;\n addRouteRecord(pathList, pathMap, nameMap, child, record, childMatchAs);\n });\n }\n\n if (route.alias !== undefined) {\n var aliases = Array.isArray(route.alias) ? route.alias : [route.alias];\n aliases.forEach(function (alias) {\n var aliasRoute = {\n path: alias,\n children: route.children\n };\n addRouteRecord(pathList, pathMap, nameMap, aliasRoute, parent, record.path || '/' // matchAs\n );\n });\n }\n\n if (!pathMap[record.path]) {\n pathList.push(record.path);\n pathMap[record.path] = record;\n }\n\n if (name) {\n if (!nameMap[name]) {\n nameMap[name] = record;\n } else if (process.env.NODE_ENV !== 'production' && !matchAs) {\n warn(false, \"Duplicate named routes definition: \" + \"{ name: \\\"\" + name + \"\\\", path: \\\"\" + record.path + \"\\\" }\");\n }\n }\n}\n\nfunction compileRouteRegex(path, pathToRegexpOptions) {\n var regex = pathToRegexp_1(path, [], pathToRegexpOptions);\n\n if (process.env.NODE_ENV !== 'production') {\n var keys = Object.create(null);\n regex.keys.forEach(function (key) {\n warn(!keys[key.name], \"Duplicate param keys in route with path: \\\"\" + path + \"\\\"\");\n keys[key.name] = true;\n });\n }\n\n return regex;\n}\n\nfunction normalizePath(path, parent, strict) {\n if (!strict) {\n path = path.replace(/\\/$/, '');\n }\n\n if (path[0] === '/') {\n return path;\n }\n\n if (parent == null) {\n return path;\n }\n\n return cleanPath(parent.path + \"/\" + path);\n}\n/* */\n\n\nfunction normalizeLocation(raw, current, append, router) {\n var next = typeof raw === 'string' ? {\n path: raw\n } : raw; // named target\n\n if (next._normalized) {\n return next;\n } else if (next.name) {\n return extend({}, raw);\n } // relative params\n\n\n if (!next.path && next.params && current) {\n next = extend({}, next);\n next._normalized = true;\n var params = extend(extend({}, current.params), next.params);\n\n if (current.name) {\n next.name = current.name;\n next.params = params;\n } else if (current.matched.length) {\n var rawPath = current.matched[current.matched.length - 1].path;\n next.path = fillParams(rawPath, params, \"path \" + current.path);\n } else if (process.env.NODE_ENV !== 'production') {\n warn(false, \"relative params navigation requires a current route.\");\n }\n\n return next;\n }\n\n var parsedPath = parsePath(next.path || '');\n var basePath = current && current.path || '/';\n var path = parsedPath.path ? resolvePath(parsedPath.path, basePath, append || next.append) : basePath;\n var query = resolveQuery(parsedPath.query, next.query, router && router.options.parseQuery);\n var hash = next.hash || parsedPath.hash;\n\n if (hash && hash.charAt(0) !== '#') {\n hash = \"#\" + hash;\n }\n\n return {\n _normalized: true,\n path: path,\n query: query,\n hash: hash\n };\n}\n/* */\n\n\nfunction createMatcher(routes, router) {\n var ref = createRouteMap(routes);\n var pathList = ref.pathList;\n var pathMap = ref.pathMap;\n var nameMap = ref.nameMap;\n\n function addRoutes(routes) {\n createRouteMap(routes, pathList, pathMap, nameMap);\n }\n\n function match(raw, currentRoute, redirectedFrom) {\n var location = normalizeLocation(raw, currentRoute, false, router);\n var name = location.name;\n\n if (name) {\n var record = nameMap[name];\n\n if (process.env.NODE_ENV !== 'production') {\n warn(record, \"Route with name '\" + name + \"' does not exist\");\n }\n\n if (!record) {\n return _createRoute(null, location);\n }\n\n var paramNames = record.regex.keys.filter(function (key) {\n return !key.optional;\n }).map(function (key) {\n return key.name;\n });\n\n if (_typeof(location.params) !== 'object') {\n location.params = {};\n }\n\n if (currentRoute && _typeof(currentRoute.params) === 'object') {\n for (var key in currentRoute.params) {\n if (!(key in location.params) && paramNames.indexOf(key) > -1) {\n location.params[key] = currentRoute.params[key];\n }\n }\n }\n\n if (record) {\n location.path = fillParams(record.path, location.params, \"named route \\\"\" + name + \"\\\"\");\n return _createRoute(record, location, redirectedFrom);\n }\n } else if (location.path) {\n location.params = {};\n\n for (var i = 0; i < pathList.length; i++) {\n var path = pathList[i];\n var record$1 = pathMap[path];\n\n if (matchRoute(record$1.regex, location.path, location.params)) {\n return _createRoute(record$1, location, redirectedFrom);\n }\n }\n } // no match\n\n\n return _createRoute(null, location);\n }\n\n function redirect(record, location) {\n var originalRedirect = record.redirect;\n var redirect = typeof originalRedirect === 'function' ? originalRedirect(createRoute(record, location, null, router)) : originalRedirect;\n\n if (typeof redirect === 'string') {\n redirect = {\n path: redirect\n };\n }\n\n if (!redirect || _typeof(redirect) !== 'object') {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n }\n\n return _createRoute(null, location);\n }\n\n var re = redirect;\n var name = re.name;\n var path = re.path;\n var query = location.query;\n var hash = location.hash;\n var params = location.params;\n query = re.hasOwnProperty('query') ? re.query : query;\n hash = re.hasOwnProperty('hash') ? re.hash : hash;\n params = re.hasOwnProperty('params') ? re.params : params;\n\n if (name) {\n // resolved named direct\n var targetRecord = nameMap[name];\n\n if (process.env.NODE_ENV !== 'production') {\n assert(targetRecord, \"redirect failed: named route \\\"\" + name + \"\\\" not found.\");\n }\n\n return match({\n _normalized: true,\n name: name,\n query: query,\n hash: hash,\n params: params\n }, undefined, location);\n } else if (path) {\n // 1. resolve relative redirect\n var rawPath = resolveRecordPath(path, record); // 2. resolve params\n\n var resolvedPath = fillParams(rawPath, params, \"redirect route with path \\\"\" + rawPath + \"\\\"\"); // 3. rematch with existing query and hash\n\n return match({\n _normalized: true,\n path: resolvedPath,\n query: query,\n hash: hash\n }, undefined, location);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n warn(false, \"invalid redirect option: \" + JSON.stringify(redirect));\n }\n\n return _createRoute(null, location);\n }\n }\n\n function alias(record, location, matchAs) {\n var aliasedPath = fillParams(matchAs, location.params, \"aliased route with path \\\"\" + matchAs + \"\\\"\");\n var aliasedMatch = match({\n _normalized: true,\n path: aliasedPath\n });\n\n if (aliasedMatch) {\n var matched = aliasedMatch.matched;\n var aliasedRecord = matched[matched.length - 1];\n location.params = aliasedMatch.params;\n return _createRoute(aliasedRecord, location);\n }\n\n return _createRoute(null, location);\n }\n\n function _createRoute(record, location, redirectedFrom) {\n if (record && record.redirect) {\n return redirect(record, redirectedFrom || location);\n }\n\n if (record && record.matchAs) {\n return alias(record, location, record.matchAs);\n }\n\n return createRoute(record, location, redirectedFrom, router);\n }\n\n return {\n match: match,\n addRoutes: addRoutes\n };\n}\n\nfunction matchRoute(regex, path, params) {\n var m = path.match(regex);\n\n if (!m) {\n return false;\n } else if (!params) {\n return true;\n }\n\n for (var i = 1, len = m.length; i < len; ++i) {\n var key = regex.keys[i - 1];\n var val = typeof m[i] === 'string' ? decodeURIComponent(m[i]) : m[i];\n\n if (key) {\n // Fix #1994: using * with props: true generates a param named 0\n params[key.name || 'pathMatch'] = val;\n }\n }\n\n return true;\n}\n\nfunction resolveRecordPath(path, record) {\n return resolvePath(path, record.parent ? record.parent.path : '/', true);\n}\n/* */\n\n\nvar positionStore = Object.create(null);\n\nfunction setupScroll() {\n // Fix for #1585 for Firefox\n // Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678\n window.history.replaceState({\n key: getStateKey()\n }, '', window.location.href.replace(window.location.origin, ''));\n window.addEventListener('popstate', function (e) {\n saveScrollPosition();\n\n if (e.state && e.state.key) {\n setStateKey(e.state.key);\n }\n });\n}\n\nfunction handleScroll(router, to, from, isPop) {\n if (!router.app) {\n return;\n }\n\n var behavior = router.options.scrollBehavior;\n\n if (!behavior) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof behavior === 'function', \"scrollBehavior must be a function\");\n } // wait until re-render finishes before scrolling\n\n\n router.app.$nextTick(function () {\n var position = getScrollPosition();\n var shouldScroll = behavior.call(router, to, from, isPop ? position : null);\n\n if (!shouldScroll) {\n return;\n }\n\n if (typeof shouldScroll.then === 'function') {\n shouldScroll.then(function (shouldScroll) {\n scrollToPosition(shouldScroll, position);\n })[\"catch\"](function (err) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, err.toString());\n }\n });\n } else {\n scrollToPosition(shouldScroll, position);\n }\n });\n}\n\nfunction saveScrollPosition() {\n var key = getStateKey();\n\n if (key) {\n positionStore[key] = {\n x: window.pageXOffset,\n y: window.pageYOffset\n };\n }\n}\n\nfunction getScrollPosition() {\n var key = getStateKey();\n\n if (key) {\n return positionStore[key];\n }\n}\n\nfunction getElementPosition(el, offset) {\n var docEl = document.documentElement;\n var docRect = docEl.getBoundingClientRect();\n var elRect = el.getBoundingClientRect();\n return {\n x: elRect.left - docRect.left - offset.x,\n y: elRect.top - docRect.top - offset.y\n };\n}\n\nfunction isValidPosition(obj) {\n return isNumber(obj.x) || isNumber(obj.y);\n}\n\nfunction normalizePosition(obj) {\n return {\n x: isNumber(obj.x) ? obj.x : window.pageXOffset,\n y: isNumber(obj.y) ? obj.y : window.pageYOffset\n };\n}\n\nfunction normalizeOffset(obj) {\n return {\n x: isNumber(obj.x) ? obj.x : 0,\n y: isNumber(obj.y) ? obj.y : 0\n };\n}\n\nfunction isNumber(v) {\n return typeof v === 'number';\n}\n\nfunction scrollToPosition(shouldScroll, position) {\n var isObject = _typeof(shouldScroll) === 'object';\n\n if (isObject && typeof shouldScroll.selector === 'string') {\n var el = document.querySelector(shouldScroll.selector);\n\n if (el) {\n var offset = shouldScroll.offset && _typeof(shouldScroll.offset) === 'object' ? shouldScroll.offset : {};\n offset = normalizeOffset(offset);\n position = getElementPosition(el, offset);\n } else if (isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n } else if (isObject && isValidPosition(shouldScroll)) {\n position = normalizePosition(shouldScroll);\n }\n\n if (position) {\n window.scrollTo(position.x, position.y);\n }\n}\n/* */\n\n\nvar supportsPushState = inBrowser && function () {\n var ua = window.navigator.userAgent;\n\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) {\n return false;\n }\n\n return window.history && 'pushState' in window.history;\n}(); // use User Timing api (if present) for more accurate key precision\n\n\nvar Time = inBrowser && window.performance && window.performance.now ? window.performance : Date;\n\nvar _key = genKey();\n\nfunction genKey() {\n return Time.now().toFixed(3);\n}\n\nfunction getStateKey() {\n return _key;\n}\n\nfunction setStateKey(key) {\n _key = key;\n}\n\nfunction pushState(url, replace) {\n saveScrollPosition(); // try...catch the pushState call to get around Safari\n // DOM Exception 18 where it limits to 100 pushState calls\n\n var history = window.history;\n\n try {\n if (replace) {\n history.replaceState({\n key: _key\n }, '', url);\n } else {\n _key = genKey();\n history.pushState({\n key: _key\n }, '', url);\n }\n } catch (e) {\n window.location[replace ? 'replace' : 'assign'](url);\n }\n}\n\nfunction replaceState(url) {\n pushState(url, true);\n}\n/* */\n\n\nfunction runQueue(queue, fn, cb) {\n var step = function step(index) {\n if (index >= queue.length) {\n cb();\n } else {\n if (queue[index]) {\n fn(queue[index], function () {\n step(index + 1);\n });\n } else {\n step(index + 1);\n }\n }\n };\n\n step(0);\n}\n/* */\n\n\nfunction resolveAsyncComponents(matched) {\n return function (to, from, next) {\n var hasAsync = false;\n var pending = 0;\n var error = null;\n flatMapComponents(matched, function (def, _, match, key) {\n // if it's a function and doesn't have cid attached,\n // assume it's an async component resolve function.\n // we are not using Vue's default async resolving mechanism because\n // we want to halt the navigation until the incoming component has been\n // resolved.\n if (typeof def === 'function' && def.cid === undefined) {\n hasAsync = true;\n pending++;\n var resolve = once(function (resolvedDef) {\n if (isESModule(resolvedDef)) {\n resolvedDef = resolvedDef[\"default\"];\n } // save resolved on async factory in case it's used elsewhere\n\n\n def.resolved = typeof resolvedDef === 'function' ? resolvedDef : _Vue.extend(resolvedDef);\n match.components[key] = resolvedDef;\n pending--;\n\n if (pending <= 0) {\n next();\n }\n });\n var reject = once(function (reason) {\n var msg = \"Failed to resolve async component \" + key + \": \" + reason;\n process.env.NODE_ENV !== 'production' && warn(false, msg);\n\n if (!error) {\n error = isError(reason) ? reason : new Error(msg);\n next(error);\n }\n });\n var res;\n\n try {\n res = def(resolve, reject);\n } catch (e) {\n reject(e);\n }\n\n if (res) {\n if (typeof res.then === 'function') {\n res.then(resolve, reject);\n } else {\n // new syntax in Vue 2.3\n var comp = res.component;\n\n if (comp && typeof comp.then === 'function') {\n comp.then(resolve, reject);\n }\n }\n }\n }\n });\n\n if (!hasAsync) {\n next();\n }\n };\n}\n\nfunction flatMapComponents(matched, fn) {\n return flatten(matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return fn(m.components[key], m.instances[key], m, key);\n });\n }));\n}\n\nfunction flatten(arr) {\n return Array.prototype.concat.apply([], arr);\n}\n\nvar hasSymbol = typeof Symbol === 'function' && _typeof(Symbol.toStringTag) === 'symbol';\n\nfunction isESModule(obj) {\n return obj.__esModule || hasSymbol && obj[Symbol.toStringTag] === 'Module';\n} // in Webpack 2, require.ensure now also returns a Promise\n// so the resolve/reject functions may get called an extra time\n// if the user uses an arrow function shorthand that happens to\n// return that Promise.\n\n\nfunction once(fn) {\n var called = false;\n return function () {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n }\n\n if (called) {\n return;\n }\n\n called = true;\n return fn.apply(this, args);\n };\n}\n/* */\n\n\nvar History = function History(router, base) {\n this.router = router;\n this.base = normalizeBase(base); // start with a route object that stands for \"nowhere\"\n\n this.current = START;\n this.pending = null;\n this.ready = false;\n this.readyCbs = [];\n this.readyErrorCbs = [];\n this.errorCbs = [];\n};\n\nHistory.prototype.listen = function listen(cb) {\n this.cb = cb;\n};\n\nHistory.prototype.onReady = function onReady(cb, errorCb) {\n if (this.ready) {\n cb();\n } else {\n this.readyCbs.push(cb);\n\n if (errorCb) {\n this.readyErrorCbs.push(errorCb);\n }\n }\n};\n\nHistory.prototype.onError = function onError(errorCb) {\n this.errorCbs.push(errorCb);\n};\n\nHistory.prototype.transitionTo = function transitionTo(location, onComplete, onAbort) {\n var this$1 = this;\n var route = this.router.match(location, this.current);\n this.confirmTransition(route, function () {\n this$1.updateRoute(route);\n onComplete && onComplete(route);\n this$1.ensureURL(); // fire ready cbs once\n\n if (!this$1.ready) {\n this$1.ready = true;\n this$1.readyCbs.forEach(function (cb) {\n cb(route);\n });\n }\n }, function (err) {\n if (onAbort) {\n onAbort(err);\n }\n\n if (err && !this$1.ready) {\n this$1.ready = true;\n this$1.readyErrorCbs.forEach(function (cb) {\n cb(err);\n });\n }\n });\n};\n\nHistory.prototype.confirmTransition = function confirmTransition(route, onComplete, onAbort) {\n var this$1 = this;\n var current = this.current;\n\n var abort = function abort(err) {\n if (isError(err)) {\n if (this$1.errorCbs.length) {\n this$1.errorCbs.forEach(function (cb) {\n cb(err);\n });\n } else {\n warn(false, 'uncaught error during route navigation:');\n console.error(err);\n }\n }\n\n onAbort && onAbort(err);\n };\n\n if (isSameRoute(route, current) && // in the case the route map has been dynamically appended to\n route.matched.length === current.matched.length) {\n this.ensureURL();\n return abort();\n }\n\n var ref = resolveQueue(this.current.matched, route.matched);\n var updated = ref.updated;\n var deactivated = ref.deactivated;\n var activated = ref.activated;\n var queue = [].concat( // in-component leave guards\n extractLeaveGuards(deactivated), // global before hooks\n this.router.beforeHooks, // in-component update hooks\n extractUpdateHooks(updated), // in-config enter guards\n activated.map(function (m) {\n return m.beforeEnter;\n }), // async components\n resolveAsyncComponents(activated));\n this.pending = route;\n\n var iterator = function iterator(hook, next) {\n if (this$1.pending !== route) {\n return abort();\n }\n\n try {\n hook(route, current, function (to) {\n if (to === false || isError(to)) {\n // next(false) -> abort navigation, ensure current URL\n this$1.ensureURL(true);\n abort(to);\n } else if (typeof to === 'string' || _typeof(to) === 'object' && (typeof to.path === 'string' || typeof to.name === 'string')) {\n // next('/') or next({ path: '/' }) -> redirect\n abort();\n\n if (_typeof(to) === 'object' && to.replace) {\n this$1.replace(to);\n } else {\n this$1.push(to);\n }\n } else {\n // confirm transition and pass on the value\n next(to);\n }\n });\n } catch (e) {\n abort(e);\n }\n };\n\n runQueue(queue, iterator, function () {\n var postEnterCbs = [];\n\n var isValid = function isValid() {\n return this$1.current === route;\n }; // wait until async components are resolved before\n // extracting in-component enter guards\n\n\n var enterGuards = extractEnterGuards(activated, postEnterCbs, isValid);\n var queue = enterGuards.concat(this$1.router.resolveHooks);\n runQueue(queue, iterator, function () {\n if (this$1.pending !== route) {\n return abort();\n }\n\n this$1.pending = null;\n onComplete(route);\n\n if (this$1.router.app) {\n this$1.router.app.$nextTick(function () {\n postEnterCbs.forEach(function (cb) {\n cb();\n });\n });\n }\n });\n });\n};\n\nHistory.prototype.updateRoute = function updateRoute(route) {\n var prev = this.current;\n this.current = route;\n this.cb && this.cb(route);\n this.router.afterHooks.forEach(function (hook) {\n hook && hook(route, prev);\n });\n};\n\nfunction normalizeBase(base) {\n if (!base) {\n if (inBrowser) {\n // respect <base> tag\n var baseEl = document.querySelector('base');\n base = baseEl && baseEl.getAttribute('href') || '/'; // strip full URL origin\n\n base = base.replace(/^https?:\\/\\/[^\\/]+/, '');\n } else {\n base = '/';\n }\n } // make sure there's the starting slash\n\n\n if (base.charAt(0) !== '/') {\n base = '/' + base;\n } // remove trailing slash\n\n\n return base.replace(/\\/$/, '');\n}\n\nfunction resolveQueue(current, next) {\n var i;\n var max = Math.max(current.length, next.length);\n\n for (i = 0; i < max; i++) {\n if (current[i] !== next[i]) {\n break;\n }\n }\n\n return {\n updated: next.slice(0, i),\n activated: next.slice(i),\n deactivated: current.slice(i)\n };\n}\n\nfunction extractGuards(records, name, bind, reverse) {\n var guards = flatMapComponents(records, function (def, instance, match, key) {\n var guard = extractGuard(def, name);\n\n if (guard) {\n return Array.isArray(guard) ? guard.map(function (guard) {\n return bind(guard, instance, match, key);\n }) : bind(guard, instance, match, key);\n }\n });\n return flatten(reverse ? guards.reverse() : guards);\n}\n\nfunction extractGuard(def, key) {\n if (typeof def !== 'function') {\n // extend now so that global mixins are applied.\n def = _Vue.extend(def);\n }\n\n return def.options[key];\n}\n\nfunction extractLeaveGuards(deactivated) {\n return extractGuards(deactivated, 'beforeRouteLeave', bindGuard, true);\n}\n\nfunction extractUpdateHooks(updated) {\n return extractGuards(updated, 'beforeRouteUpdate', bindGuard);\n}\n\nfunction bindGuard(guard, instance) {\n if (instance) {\n return function boundRouteGuard() {\n return guard.apply(instance, arguments);\n };\n }\n}\n\nfunction extractEnterGuards(activated, cbs, isValid) {\n return extractGuards(activated, 'beforeRouteEnter', function (guard, _, match, key) {\n return bindEnterGuard(guard, match, key, cbs, isValid);\n });\n}\n\nfunction bindEnterGuard(guard, match, key, cbs, isValid) {\n return function routeEnterGuard(to, from, next) {\n return guard(to, from, function (cb) {\n next(cb);\n\n if (typeof cb === 'function') {\n cbs.push(function () {\n // #750\n // if a router-view is wrapped with an out-in transition,\n // the instance may not have been registered at this time.\n // we will need to poll for registration until current route\n // is no longer valid.\n poll(cb, match.instances, key, isValid);\n });\n }\n });\n };\n}\n\nfunction poll(cb, // somehow flow cannot infer this is a function\ninstances, key, isValid) {\n if (instances[key] && !instances[key]._isBeingDestroyed // do not reuse being destroyed instance\n ) {\n cb(instances[key]);\n } else if (isValid()) {\n setTimeout(function () {\n poll(cb, instances, key, isValid);\n }, 16);\n }\n}\n/* */\n\n\nvar HTML5History =\n/*@__PURE__*/\nfunction (History$$1) {\n function HTML5History(router, base) {\n var this$1 = this;\n History$$1.call(this, router, base);\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n setupScroll();\n }\n\n var initLocation = getLocation(this.base);\n window.addEventListener('popstate', function (e) {\n var current = this$1.current; // Avoiding first `popstate` event dispatched in some browsers but first\n // history route not updated since async guard at the same time.\n\n var location = getLocation(this$1.base);\n\n if (this$1.current === START && location === initLocation) {\n return;\n }\n\n this$1.transitionTo(location, function (route) {\n if (supportsScroll) {\n handleScroll(router, route, current, true);\n }\n });\n });\n }\n\n if (History$$1) HTML5History.__proto__ = History$$1;\n HTML5History.prototype = Object.create(History$$1 && History$$1.prototype);\n HTML5History.prototype.constructor = HTML5History;\n\n HTML5History.prototype.go = function go(n) {\n window.history.go(n);\n };\n\n HTML5History.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceState(cleanPath(this$1.base + route.fullPath));\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HTML5History.prototype.ensureURL = function ensureURL(push) {\n if (getLocation(this.base) !== this.current.fullPath) {\n var current = cleanPath(this.base + this.current.fullPath);\n push ? pushState(current) : replaceState(current);\n }\n };\n\n HTML5History.prototype.getCurrentLocation = function getCurrentLocation() {\n return getLocation(this.base);\n };\n\n return HTML5History;\n}(History);\n\nfunction getLocation(base) {\n var path = decodeURI(window.location.pathname);\n\n if (base && path.indexOf(base) === 0) {\n path = path.slice(base.length);\n }\n\n return (path || '/') + window.location.search + window.location.hash;\n}\n/* */\n\n\nvar HashHistory =\n/*@__PURE__*/\nfunction (History$$1) {\n function HashHistory(router, base, fallback) {\n History$$1.call(this, router, base); // check history fallback deeplinking\n\n if (fallback && checkFallback(this.base)) {\n return;\n }\n\n ensureSlash();\n }\n\n if (History$$1) HashHistory.__proto__ = History$$1;\n HashHistory.prototype = Object.create(History$$1 && History$$1.prototype);\n HashHistory.prototype.constructor = HashHistory; // this is delayed until the app mounts\n // to avoid the hashchange listener being fired too early\n\n HashHistory.prototype.setupListeners = function setupListeners() {\n var this$1 = this;\n var router = this.router;\n var expectScroll = router.options.scrollBehavior;\n var supportsScroll = supportsPushState && expectScroll;\n\n if (supportsScroll) {\n setupScroll();\n }\n\n window.addEventListener(supportsPushState ? 'popstate' : 'hashchange', function () {\n var current = this$1.current;\n\n if (!ensureSlash()) {\n return;\n }\n\n this$1.transitionTo(getHash(), function (route) {\n if (supportsScroll) {\n handleScroll(this$1.router, route, current, true);\n }\n\n if (!supportsPushState) {\n replaceHash(route.fullPath);\n }\n });\n });\n };\n\n HashHistory.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n pushHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HashHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n var ref = this;\n var fromRoute = ref.current;\n this.transitionTo(location, function (route) {\n replaceHash(route.fullPath);\n handleScroll(this$1.router, route, fromRoute, false);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n HashHistory.prototype.go = function go(n) {\n window.history.go(n);\n };\n\n HashHistory.prototype.ensureURL = function ensureURL(push) {\n var current = this.current.fullPath;\n\n if (getHash() !== current) {\n push ? pushHash(current) : replaceHash(current);\n }\n };\n\n HashHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n return getHash();\n };\n\n return HashHistory;\n}(History);\n\nfunction checkFallback(base) {\n var location = getLocation(base);\n\n if (!/^\\/#/.test(location)) {\n window.location.replace(cleanPath(base + '/#' + location));\n return true;\n }\n}\n\nfunction ensureSlash() {\n var path = getHash();\n\n if (path.charAt(0) === '/') {\n return true;\n }\n\n replaceHash('/' + path);\n return false;\n}\n\nfunction getHash() {\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 index = href.indexOf('#'); // empty path\n\n if (index < 0) {\n return '';\n }\n\n href = href.slice(index + 1); // decode the hash but not the search or hash\n // as search(query) is already decoded\n // https://github.com/vuejs/vue-router/issues/2708\n\n var searchIndex = href.indexOf('?');\n\n if (searchIndex < 0) {\n var hashIndex = href.indexOf('#');\n\n if (hashIndex > -1) {\n href = decodeURI(href.slice(0, hashIndex)) + href.slice(hashIndex);\n } else {\n href = decodeURI(href);\n }\n } else {\n if (searchIndex > -1) {\n href = decodeURI(href.slice(0, searchIndex)) + href.slice(searchIndex);\n }\n }\n\n return href;\n}\n\nfunction getUrl(path) {\n var href = window.location.href;\n var i = href.indexOf('#');\n var base = i >= 0 ? href.slice(0, i) : href;\n return base + \"#\" + path;\n}\n\nfunction pushHash(path) {\n if (supportsPushState) {\n pushState(getUrl(path));\n } else {\n window.location.hash = path;\n }\n}\n\nfunction replaceHash(path) {\n if (supportsPushState) {\n replaceState(getUrl(path));\n } else {\n window.location.replace(getUrl(path));\n }\n}\n/* */\n\n\nvar AbstractHistory =\n/*@__PURE__*/\nfunction (History$$1) {\n function AbstractHistory(router, base) {\n History$$1.call(this, router, base);\n this.stack = [];\n this.index = -1;\n }\n\n if (History$$1) AbstractHistory.__proto__ = History$$1;\n AbstractHistory.prototype = Object.create(History$$1 && History$$1.prototype);\n AbstractHistory.prototype.constructor = AbstractHistory;\n\n AbstractHistory.prototype.push = function push(location, onComplete, onAbort) {\n var this$1 = this;\n this.transitionTo(location, function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index + 1).concat(route);\n this$1.index++;\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n AbstractHistory.prototype.replace = function replace(location, onComplete, onAbort) {\n var this$1 = this;\n this.transitionTo(location, function (route) {\n this$1.stack = this$1.stack.slice(0, this$1.index).concat(route);\n onComplete && onComplete(route);\n }, onAbort);\n };\n\n AbstractHistory.prototype.go = function go(n) {\n var this$1 = this;\n var targetIndex = this.index + n;\n\n if (targetIndex < 0 || targetIndex >= this.stack.length) {\n return;\n }\n\n var route = this.stack[targetIndex];\n this.confirmTransition(route, function () {\n this$1.index = targetIndex;\n this$1.updateRoute(route);\n });\n };\n\n AbstractHistory.prototype.getCurrentLocation = function getCurrentLocation() {\n var current = this.stack[this.stack.length - 1];\n return current ? current.fullPath : '/';\n };\n\n AbstractHistory.prototype.ensureURL = function ensureURL() {// noop\n };\n\n return AbstractHistory;\n}(History);\n/* */\n\n\nvar VueRouter = function VueRouter(options) {\n if (options === void 0) options = {};\n this.app = null;\n this.apps = [];\n this.options = options;\n this.beforeHooks = [];\n this.resolveHooks = [];\n this.afterHooks = [];\n this.matcher = createMatcher(options.routes || [], this);\n var mode = options.mode || 'hash';\n this.fallback = mode === 'history' && !supportsPushState && options.fallback !== false;\n\n if (this.fallback) {\n mode = 'hash';\n }\n\n if (!inBrowser) {\n mode = 'abstract';\n }\n\n this.mode = mode;\n\n switch (mode) {\n case 'history':\n this.history = new HTML5History(this, options.base);\n break;\n\n case 'hash':\n this.history = new HashHistory(this, options.base, this.fallback);\n break;\n\n case 'abstract':\n this.history = new AbstractHistory(this, options.base);\n break;\n\n default:\n if (process.env.NODE_ENV !== 'production') {\n assert(false, \"invalid mode: \" + mode);\n }\n\n }\n};\n\nvar prototypeAccessors = {\n currentRoute: {\n configurable: true\n }\n};\n\nVueRouter.prototype.match = function match(raw, current, redirectedFrom) {\n return this.matcher.match(raw, current, redirectedFrom);\n};\n\nprototypeAccessors.currentRoute.get = function () {\n return this.history && this.history.current;\n};\n\nVueRouter.prototype.init = function init(app\n/* Vue component instance */\n) {\n var this$1 = this;\n process.env.NODE_ENV !== 'production' && assert(install.installed, \"not installed. Make sure to call `Vue.use(VueRouter)` \" + \"before creating root instance.\");\n this.apps.push(app); // set up app destroyed handler\n // https://github.com/vuejs/vue-router/issues/2639\n\n app.$once('hook:destroyed', function () {\n // clean out app from this.apps array once destroyed\n var index = this$1.apps.indexOf(app);\n\n if (index > -1) {\n this$1.apps.splice(index, 1);\n } // ensure we still have a main app or null if no apps\n // we do not release the router so it can be reused\n\n\n if (this$1.app === app) {\n this$1.app = this$1.apps[0] || null;\n }\n }); // main app previously initialized\n // return as we don't need to set up new history listener\n\n if (this.app) {\n return;\n }\n\n this.app = app;\n var history = this.history;\n\n if (history instanceof HTML5History) {\n history.transitionTo(history.getCurrentLocation());\n } else if (history instanceof HashHistory) {\n var setupHashListener = function setupHashListener() {\n history.setupListeners();\n };\n\n history.transitionTo(history.getCurrentLocation(), setupHashListener, setupHashListener);\n }\n\n history.listen(function (route) {\n this$1.apps.forEach(function (app) {\n app._route = route;\n });\n });\n};\n\nVueRouter.prototype.beforeEach = function beforeEach(fn) {\n return registerHook(this.beforeHooks, fn);\n};\n\nVueRouter.prototype.beforeResolve = function beforeResolve(fn) {\n return registerHook(this.resolveHooks, fn);\n};\n\nVueRouter.prototype.afterEach = function afterEach(fn) {\n return registerHook(this.afterHooks, fn);\n};\n\nVueRouter.prototype.onReady = function onReady(cb, errorCb) {\n this.history.onReady(cb, errorCb);\n};\n\nVueRouter.prototype.onError = function onError(errorCb) {\n this.history.onError(errorCb);\n};\n\nVueRouter.prototype.push = function push(location, onComplete, onAbort) {\n this.history.push(location, onComplete, onAbort);\n};\n\nVueRouter.prototype.replace = function replace(location, onComplete, onAbort) {\n this.history.replace(location, onComplete, onAbort);\n};\n\nVueRouter.prototype.go = function go(n) {\n this.history.go(n);\n};\n\nVueRouter.prototype.back = function back() {\n this.go(-1);\n};\n\nVueRouter.prototype.forward = function forward() {\n this.go(1);\n};\n\nVueRouter.prototype.getMatchedComponents = function getMatchedComponents(to) {\n var route = to ? to.matched ? to : this.resolve(to).route : this.currentRoute;\n\n if (!route) {\n return [];\n }\n\n return [].concat.apply([], route.matched.map(function (m) {\n return Object.keys(m.components).map(function (key) {\n return m.components[key];\n });\n }));\n};\n\nVueRouter.prototype.resolve = function resolve(to, current, append) {\n current = current || this.history.current;\n var location = normalizeLocation(to, current, append, this);\n var route = this.match(location, current);\n var fullPath = route.redirectedFrom || route.fullPath;\n var base = this.history.base;\n var href = createHref(base, fullPath, this.mode);\n return {\n location: location,\n route: route,\n href: href,\n // for backwards compat\n normalizedTo: location,\n resolved: route\n };\n};\n\nVueRouter.prototype.addRoutes = function addRoutes(routes) {\n this.matcher.addRoutes(routes);\n\n if (this.history.current !== START) {\n this.history.transitionTo(this.history.getCurrentLocation());\n }\n};\n\nObject.defineProperties(VueRouter.prototype, prototypeAccessors);\n\nfunction registerHook(list, fn) {\n list.push(fn);\n return function () {\n var i = list.indexOf(fn);\n\n if (i > -1) {\n list.splice(i, 1);\n }\n };\n}\n\nfunction createHref(base, fullPath, mode) {\n var path = mode === 'hash' ? '#' + fullPath : fullPath;\n return base ? cleanPath(base + '/' + path) : path;\n}\n\nVueRouter.install = install;\nVueRouter.version = '3.0.6';\n\nif (inBrowser && window.Vue) {\n window.Vue.use(VueRouter);\n}\n\nexport default VueRouter;","var formatCurrency=function formatCurrency(value,currency,locale){var decimalPlaces=arguments.length>3&&arguments[3]!==undefined?arguments[3]:2;var minDecimalPlaces=arguments.length>4&&arguments[4]!==undefined?arguments[4]:null;var minimumDecimalPlaces=minDecimalPlaces===null?decimalPlaces:minDecimalPlaces;var language=locale;if(locale==='gb'){language='en-gb';}var formatted=new Intl.NumberFormat(language,{minimumFractionDigits:minimumDecimalPlaces,maximumFractionDigits:decimalPlaces,style:'currency',currency:currency,useGrouping:true}).format(value);if(currency==='AUD'){formatted=formatted.replace('AU$','A$');}if(currency==='CAD'){formatted=formatted.replace('CA$','C$');}if(currency==='MXN'){formatted=formatted.replace('MX$','MEX$');}if(currency==='SGD'){formatted=formatted.replace('SGD','S$');}return formatted;};export default formatCurrency;","import{EET_REQUIRED_MEANS_OF_PAYMENT}from'~/config/constants';var isForcedEetAtPayment=function isForcedEetAtPayment(payment){return Boolean(EET_REQUIRED_MEANS_OF_PAYMENT.filter(function(val){return val===payment;}).length);};export default isForcedEetAtPayment;","import zenObservable from 'zen-observable';\nvar Observable = zenObservable;\nexport default Observable;\nexport { Observable };","import Observable from 'zen-observable-ts';\nexport { default as Observable } from 'zen-observable-ts';\nimport { invariant, InvariantError } from 'ts-invariant';\nimport { __extends, __assign } from 'tslib';\nimport { getOperationName } from 'apollo-utilities';\nexport { getOperationName } from 'apollo-utilities';\n\nfunction validateOperation(operation) {\n var OPERATION_FIELDS = ['query', 'operationName', 'variables', 'extensions', 'context'];\n\n for (var _i = 0, _a = Object.keys(operation); _i < _a.length; _i++) {\n var key = _a[_i];\n\n if (OPERATION_FIELDS.indexOf(key) < 0) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(2) : new InvariantError(\"illegal argument: \" + key);\n }\n }\n\n return operation;\n}\n\nvar LinkError = function (_super) {\n __extends(LinkError, _super);\n\n function LinkError(message, link) {\n var _this = _super.call(this, message) || this;\n\n _this.link = link;\n return _this;\n }\n\n return LinkError;\n}(Error);\n\nfunction isTerminating(link) {\n return link.request.length <= 1;\n}\n\nfunction toPromise(observable) {\n var completed = false;\n return new Promise(function (resolve, reject) {\n observable.subscribe({\n next: function next(data) {\n if (completed) {\n process.env.NODE_ENV === \"production\" || invariant.warn(\"Promise Wrapper does not support multiple results from Observable\");\n } else {\n completed = true;\n resolve(data);\n }\n },\n error: reject\n });\n });\n}\n\nvar makePromise = toPromise;\n\nfunction fromPromise(promise) {\n return new Observable(function (observer) {\n promise.then(function (value) {\n observer.next(value);\n observer.complete();\n })[\"catch\"](observer.error.bind(observer));\n });\n}\n\nfunction fromError(errorValue) {\n return new Observable(function (observer) {\n observer.error(errorValue);\n });\n}\n\nfunction transformOperation(operation) {\n var transformedOperation = {\n variables: operation.variables || {},\n extensions: operation.extensions || {},\n operationName: operation.operationName,\n query: operation.query\n };\n\n if (!transformedOperation.operationName) {\n transformedOperation.operationName = typeof transformedOperation.query !== 'string' ? getOperationName(transformedOperation.query) : '';\n }\n\n return transformedOperation;\n}\n\nfunction createOperation(starting, operation) {\n var context = __assign({}, starting);\n\n var setContext = function setContext(next) {\n if (typeof next === 'function') {\n context = __assign({}, context, next(context));\n } else {\n context = __assign({}, context, next);\n }\n };\n\n var getContext = function getContext() {\n return __assign({}, context);\n };\n\n Object.defineProperty(operation, 'setContext', {\n enumerable: false,\n value: setContext\n });\n Object.defineProperty(operation, 'getContext', {\n enumerable: false,\n value: getContext\n });\n Object.defineProperty(operation, 'toKey', {\n enumerable: false,\n value: function value() {\n return getKey(operation);\n }\n });\n return operation;\n}\n\nfunction getKey(operation) {\n var query = operation.query,\n variables = operation.variables,\n operationName = operation.operationName;\n return JSON.stringify([operationName, query, variables]);\n}\n\nfunction passthrough(op, forward) {\n return forward ? forward(op) : Observable.of();\n}\n\nfunction toLink(handler) {\n return typeof handler === 'function' ? new ApolloLink(handler) : handler;\n}\n\nfunction empty() {\n return new ApolloLink(function () {\n return Observable.of();\n });\n}\n\nfunction from(links) {\n if (links.length === 0) return empty();\n return links.map(toLink).reduce(function (x, y) {\n return x.concat(y);\n });\n}\n\nfunction split(test, left, right) {\n var leftLink = toLink(left);\n var rightLink = toLink(right || new ApolloLink(passthrough));\n\n if (isTerminating(leftLink) && isTerminating(rightLink)) {\n return new ApolloLink(function (operation) {\n return test(operation) ? leftLink.request(operation) || Observable.of() : rightLink.request(operation) || Observable.of();\n });\n } else {\n return new ApolloLink(function (operation, forward) {\n return test(operation) ? leftLink.request(operation, forward) || Observable.of() : rightLink.request(operation, forward) || Observable.of();\n });\n }\n}\n\nvar concat = function concat(first, second) {\n var firstLink = toLink(first);\n\n if (isTerminating(firstLink)) {\n process.env.NODE_ENV === \"production\" || invariant.warn(new LinkError(\"You are calling concat on a terminating link, which will have no effect\", firstLink));\n return firstLink;\n }\n\n var nextLink = toLink(second);\n\n if (isTerminating(nextLink)) {\n return new ApolloLink(function (operation) {\n return firstLink.request(operation, function (op) {\n return nextLink.request(op) || Observable.of();\n }) || Observable.of();\n });\n } else {\n return new ApolloLink(function (operation, forward) {\n return firstLink.request(operation, function (op) {\n return nextLink.request(op, forward) || Observable.of();\n }) || Observable.of();\n });\n }\n};\n\nvar ApolloLink = function () {\n function ApolloLink(request) {\n if (request) this.request = request;\n }\n\n ApolloLink.prototype.split = function (test, left, right) {\n return this.concat(split(test, left, right || new ApolloLink(passthrough)));\n };\n\n ApolloLink.prototype.concat = function (next) {\n return concat(this, next);\n };\n\n ApolloLink.prototype.request = function (operation, forward) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(1) : new InvariantError('request is not implemented');\n };\n\n ApolloLink.empty = empty;\n ApolloLink.from = from;\n ApolloLink.split = split;\n ApolloLink.execute = execute;\n return ApolloLink;\n}();\n\nfunction execute(link, operation) {\n return link.request(createOperation(operation.context, transformOperation(validateOperation(operation)))) || Observable.of();\n}\n\nexport { ApolloLink, concat, createOperation, empty, execute, from, fromError, fromPromise, makePromise, split, toPromise };","/**\n * Prints a string as a GraphQL StringValue literal. Replaces control characters\n * and excluded characters (\" U+0022 and \\\\ U+005C) with escape sequences.\n */\nexport function printString(str) {\n return \"\\\"\".concat(str.replace(escapedRegExp, escapedReplacer), \"\\\"\");\n} // eslint-disable-next-line no-control-regex\n\nvar escapedRegExp = /[\\x00-\\x1f\\x22\\x5c\\x7f-\\x9f]/g;\n\nfunction escapedReplacer(str) {\n return escapeSequences[str.charCodeAt(0)];\n} // prettier-ignore\n\n\nvar escapeSequences = [\"\\\\u0000\", \"\\\\u0001\", \"\\\\u0002\", \"\\\\u0003\", \"\\\\u0004\", \"\\\\u0005\", \"\\\\u0006\", \"\\\\u0007\", '\\\\b', '\\\\t', '\\\\n', \"\\\\u000B\", '\\\\f', '\\\\r', \"\\\\u000E\", \"\\\\u000F\", \"\\\\u0010\", \"\\\\u0011\", \"\\\\u0012\", \"\\\\u0013\", \"\\\\u0014\", \"\\\\u0015\", \"\\\\u0016\", \"\\\\u0017\", \"\\\\u0018\", \"\\\\u0019\", \"\\\\u001A\", \"\\\\u001B\", \"\\\\u001C\", \"\\\\u001D\", \"\\\\u001E\", \"\\\\u001F\", '', '', '\\\\\"', '', '', '', '', '', '', '', '', '', '', '', '', '', // 2F\n'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', // 3F\n'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', // 4F\n'', '', '', '', '', '', '', '', '', '', '', '', '\\\\\\\\', '', '', '', // 5F\n'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', // 6F\n'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', \"\\\\u007F\", \"\\\\u0080\", \"\\\\u0081\", \"\\\\u0082\", \"\\\\u0083\", \"\\\\u0084\", \"\\\\u0085\", \"\\\\u0086\", \"\\\\u0087\", \"\\\\u0088\", \"\\\\u0089\", \"\\\\u008A\", \"\\\\u008B\", \"\\\\u008C\", \"\\\\u008D\", \"\\\\u008E\", \"\\\\u008F\", \"\\\\u0090\", \"\\\\u0091\", \"\\\\u0092\", \"\\\\u0093\", \"\\\\u0094\", \"\\\\u0095\", \"\\\\u0096\", \"\\\\u0097\", \"\\\\u0098\", \"\\\\u0099\", \"\\\\u009A\", \"\\\\u009B\", \"\\\\u009C\", \"\\\\u009D\", \"\\\\u009E\", \"\\\\u009F\"];","import { printBlockString } from './blockString.mjs';\nimport { printString } from './printString.mjs';\nimport { visit } from './visitor.mjs';\n/**\n * Converts an AST into a string, using one set of reasonable\n * formatting rules.\n */\n\nexport function print(ast) {\n return visit(ast, printDocASTReducer);\n}\nvar MAX_LINE_LENGTH = 80;\nvar printDocASTReducer = {\n Name: {\n leave: function leave(node) {\n return node.value;\n }\n },\n Variable: {\n leave: function leave(node) {\n return '$' + node.name;\n }\n },\n // Document\n Document: {\n leave: function leave(node) {\n return join(node.definitions, '\\n\\n');\n }\n },\n OperationDefinition: {\n leave: function leave(node) {\n var varDefs = wrap('(', join(node.variableDefinitions, ', '), ')');\n var prefix = join([node.operation, join([node.name, varDefs]), join(node.directives, ' ')], ' '); // Anonymous queries with no directives or variable definitions can use\n // the query short form.\n\n return (prefix === 'query' ? '' : prefix + ' ') + node.selectionSet;\n }\n },\n VariableDefinition: {\n leave: function leave(_ref) {\n var variable = _ref.variable,\n type = _ref.type,\n defaultValue = _ref.defaultValue,\n directives = _ref.directives;\n return variable + ': ' + type + wrap(' = ', defaultValue) + wrap(' ', join(directives, ' '));\n }\n },\n SelectionSet: {\n leave: function leave(_ref2) {\n var selections = _ref2.selections;\n return block(selections);\n }\n },\n Field: {\n leave: function leave(_ref3) {\n var alias = _ref3.alias,\n name = _ref3.name,\n args = _ref3.arguments,\n directives = _ref3.directives,\n selectionSet = _ref3.selectionSet;\n var prefix = wrap('', alias, ': ') + name;\n var argsLine = prefix + wrap('(', join(args, ', '), ')');\n\n if (argsLine.length > MAX_LINE_LENGTH) {\n argsLine = prefix + wrap('(\\n', indent(join(args, '\\n')), '\\n)');\n }\n\n return join([argsLine, join(directives, ' '), selectionSet], ' ');\n }\n },\n Argument: {\n leave: function leave(_ref4) {\n var name = _ref4.name,\n value = _ref4.value;\n return name + ': ' + value;\n }\n },\n // Fragments\n FragmentSpread: {\n leave: function leave(_ref5) {\n var name = _ref5.name,\n directives = _ref5.directives;\n return '...' + name + wrap(' ', join(directives, ' '));\n }\n },\n InlineFragment: {\n leave: function leave(_ref6) {\n var typeCondition = _ref6.typeCondition,\n directives = _ref6.directives,\n selectionSet = _ref6.selectionSet;\n return join(['...', wrap('on ', typeCondition), join(directives, ' '), selectionSet], ' ');\n }\n },\n FragmentDefinition: {\n leave: function leave(_ref7) {\n var name = _ref7.name,\n typeCondition = _ref7.typeCondition,\n variableDefinitions = _ref7.variableDefinitions,\n directives = _ref7.directives,\n selectionSet = _ref7.selectionSet;\n return (// Note: fragment variable definitions are experimental and may be changed\n // or removed in the future.\n \"fragment \".concat(name).concat(wrap('(', join(variableDefinitions, ', '), ')'), \" \") + \"on \".concat(typeCondition, \" \").concat(wrap('', join(directives, ' '), ' ')) + selectionSet\n );\n }\n },\n // Value\n IntValue: {\n leave: function leave(_ref8) {\n var value = _ref8.value;\n return value;\n }\n },\n FloatValue: {\n leave: function leave(_ref9) {\n var value = _ref9.value;\n return value;\n }\n },\n StringValue: {\n leave: function leave(_ref10) {\n var value = _ref10.value,\n isBlockString = _ref10.block;\n return isBlockString ? printBlockString(value) : printString(value);\n }\n },\n BooleanValue: {\n leave: function leave(_ref11) {\n var value = _ref11.value;\n return value ? 'true' : 'false';\n }\n },\n NullValue: {\n leave: function leave() {\n return 'null';\n }\n },\n EnumValue: {\n leave: function leave(_ref12) {\n var value = _ref12.value;\n return value;\n }\n },\n ListValue: {\n leave: function leave(_ref13) {\n var values = _ref13.values;\n return '[' + join(values, ', ') + ']';\n }\n },\n ObjectValue: {\n leave: function leave(_ref14) {\n var fields = _ref14.fields;\n return '{' + join(fields, ', ') + '}';\n }\n },\n ObjectField: {\n leave: function leave(_ref15) {\n var name = _ref15.name,\n value = _ref15.value;\n return name + ': ' + value;\n }\n },\n // Directive\n Directive: {\n leave: function leave(_ref16) {\n var name = _ref16.name,\n args = _ref16.arguments;\n return '@' + name + wrap('(', join(args, ', '), ')');\n }\n },\n // Type\n NamedType: {\n leave: function leave(_ref17) {\n var name = _ref17.name;\n return name;\n }\n },\n ListType: {\n leave: function leave(_ref18) {\n var type = _ref18.type;\n return '[' + type + ']';\n }\n },\n NonNullType: {\n leave: function leave(_ref19) {\n var type = _ref19.type;\n return type + '!';\n }\n },\n // Type System Definitions\n SchemaDefinition: {\n leave: function leave(_ref20) {\n var description = _ref20.description,\n directives = _ref20.directives,\n operationTypes = _ref20.operationTypes;\n return wrap('', description, '\\n') + join(['schema', join(directives, ' '), block(operationTypes)], ' ');\n }\n },\n OperationTypeDefinition: {\n leave: function leave(_ref21) {\n var operation = _ref21.operation,\n type = _ref21.type;\n return operation + ': ' + type;\n }\n },\n ScalarTypeDefinition: {\n leave: function leave(_ref22) {\n var description = _ref22.description,\n name = _ref22.name,\n directives = _ref22.directives;\n return wrap('', description, '\\n') + join(['scalar', name, join(directives, ' ')], ' ');\n }\n },\n ObjectTypeDefinition: {\n leave: function leave(_ref23) {\n var description = _ref23.description,\n name = _ref23.name,\n interfaces = _ref23.interfaces,\n directives = _ref23.directives,\n fields = _ref23.fields;\n return wrap('', description, '\\n') + join(['type', name, wrap('implements ', join(interfaces, ' & ')), join(directives, ' '), block(fields)], ' ');\n }\n },\n FieldDefinition: {\n leave: function leave(_ref24) {\n var description = _ref24.description,\n name = _ref24.name,\n args = _ref24.arguments,\n type = _ref24.type,\n directives = _ref24.directives;\n return wrap('', description, '\\n') + name + (hasMultilineItems(args) ? wrap('(\\n', indent(join(args, '\\n')), '\\n)') : wrap('(', join(args, ', '), ')')) + ': ' + type + wrap(' ', join(directives, ' '));\n }\n },\n InputValueDefinition: {\n leave: function leave(_ref25) {\n var description = _ref25.description,\n name = _ref25.name,\n type = _ref25.type,\n defaultValue = _ref25.defaultValue,\n directives = _ref25.directives;\n return wrap('', description, '\\n') + join([name + ': ' + type, wrap('= ', defaultValue), join(directives, ' ')], ' ');\n }\n },\n InterfaceTypeDefinition: {\n leave: function leave(_ref26) {\n var description = _ref26.description,\n name = _ref26.name,\n interfaces = _ref26.interfaces,\n directives = _ref26.directives,\n fields = _ref26.fields;\n return wrap('', description, '\\n') + join(['interface', name, wrap('implements ', join(interfaces, ' & ')), join(directives, ' '), block(fields)], ' ');\n }\n },\n UnionTypeDefinition: {\n leave: function leave(_ref27) {\n var description = _ref27.description,\n name = _ref27.name,\n directives = _ref27.directives,\n types = _ref27.types;\n return wrap('', description, '\\n') + join(['union', name, join(directives, ' '), wrap('= ', join(types, ' | '))], ' ');\n }\n },\n EnumTypeDefinition: {\n leave: function leave(_ref28) {\n var description = _ref28.description,\n name = _ref28.name,\n directives = _ref28.directives,\n values = _ref28.values;\n return wrap('', description, '\\n') + join(['enum', name, join(directives, ' '), block(values)], ' ');\n }\n },\n EnumValueDefinition: {\n leave: function leave(_ref29) {\n var description = _ref29.description,\n name = _ref29.name,\n directives = _ref29.directives;\n return wrap('', description, '\\n') + join([name, join(directives, ' ')], ' ');\n }\n },\n InputObjectTypeDefinition: {\n leave: function leave(_ref30) {\n var description = _ref30.description,\n name = _ref30.name,\n directives = _ref30.directives,\n fields = _ref30.fields;\n return wrap('', description, '\\n') + join(['input', name, join(directives, ' '), block(fields)], ' ');\n }\n },\n DirectiveDefinition: {\n leave: function leave(_ref31) {\n var description = _ref31.description,\n name = _ref31.name,\n args = _ref31.arguments,\n repeatable = _ref31.repeatable,\n locations = _ref31.locations;\n return wrap('', description, '\\n') + 'directive @' + name + (hasMultilineItems(args) ? wrap('(\\n', indent(join(args, '\\n')), '\\n)') : wrap('(', join(args, ', '), ')')) + (repeatable ? ' repeatable' : '') + ' on ' + join(locations, ' | ');\n }\n },\n SchemaExtension: {\n leave: function leave(_ref32) {\n var directives = _ref32.directives,\n operationTypes = _ref32.operationTypes;\n return join(['extend schema', join(directives, ' '), block(operationTypes)], ' ');\n }\n },\n ScalarTypeExtension: {\n leave: function leave(_ref33) {\n var name = _ref33.name,\n directives = _ref33.directives;\n return join(['extend scalar', name, join(directives, ' ')], ' ');\n }\n },\n ObjectTypeExtension: {\n leave: function leave(_ref34) {\n var name = _ref34.name,\n interfaces = _ref34.interfaces,\n directives = _ref34.directives,\n fields = _ref34.fields;\n return join(['extend type', name, wrap('implements ', join(interfaces, ' & ')), join(directives, ' '), block(fields)], ' ');\n }\n },\n InterfaceTypeExtension: {\n leave: function leave(_ref35) {\n var name = _ref35.name,\n interfaces = _ref35.interfaces,\n directives = _ref35.directives,\n fields = _ref35.fields;\n return join(['extend interface', name, wrap('implements ', join(interfaces, ' & ')), join(directives, ' '), block(fields)], ' ');\n }\n },\n UnionTypeExtension: {\n leave: function leave(_ref36) {\n var name = _ref36.name,\n directives = _ref36.directives,\n types = _ref36.types;\n return join(['extend union', name, join(directives, ' '), wrap('= ', join(types, ' | '))], ' ');\n }\n },\n EnumTypeExtension: {\n leave: function leave(_ref37) {\n var name = _ref37.name,\n directives = _ref37.directives,\n values = _ref37.values;\n return join(['extend enum', name, join(directives, ' '), block(values)], ' ');\n }\n },\n InputObjectTypeExtension: {\n leave: function leave(_ref38) {\n var name = _ref38.name,\n directives = _ref38.directives,\n fields = _ref38.fields;\n return join(['extend input', name, join(directives, ' '), block(fields)], ' ');\n }\n }\n};\n/**\n * Given maybeArray, print an empty string if it is null or empty, otherwise\n * print all items together separated by separator if provided\n */\n\nfunction join(maybeArray) {\n var separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n var _maybeArray$filter$jo;\n\n return (_maybeArray$filter$jo = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.filter(function (x) {\n return x;\n }).join(separator)) !== null && _maybeArray$filter$jo !== void 0 ? _maybeArray$filter$jo : '';\n}\n/**\n * Given array, print each item on its own line, wrapped in an indented `{ }` block.\n */\n\n\nfunction block(array) {\n return wrap('{\\n', indent(join(array, '\\n')), '\\n}');\n}\n/**\n * If maybeString is not null or empty, then wrap with start and end, otherwise print an empty string.\n */\n\n\nfunction wrap(start, maybeString) {\n var end = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n return maybeString != null && maybeString !== '' ? start + maybeString + end : '';\n}\n\nfunction indent(str) {\n return wrap(' ', str.replace(/\\n/g, '\\n '));\n}\n\nfunction hasMultilineItems(maybeArray) {\n var _maybeArray$some; // FIXME: https://github.com/graphql/graphql-js/issues/2203\n\n /* c8 ignore next */\n\n\n return (_maybeArray$some = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.some(function (str) {\n return str.includes('\\n');\n })) !== null && _maybeArray$some !== void 0 ? _maybeArray$some : false;\n}","import { __assign } from 'tslib';\nimport { print } from 'graphql/language/printer';\nimport { InvariantError } from 'ts-invariant';\nvar defaultHttpOptions = {\n includeQuery: true,\n includeExtensions: false\n};\nvar defaultHeaders = {\n accept: '*/*',\n 'content-type': 'application/json'\n};\nvar defaultOptions = {\n method: 'POST'\n};\nvar fallbackHttpConfig = {\n http: defaultHttpOptions,\n headers: defaultHeaders,\n options: defaultOptions\n};\n\nvar throwServerError = function throwServerError(response, result, message) {\n var error = new Error(message);\n error.name = 'ServerError';\n error.response = response;\n error.statusCode = response.status;\n error.result = result;\n throw error;\n};\n\nvar parseAndCheckHttpResponse = function parseAndCheckHttpResponse(operations) {\n return function (response) {\n return response.text().then(function (bodyText) {\n try {\n return JSON.parse(bodyText);\n } catch (err) {\n var parseError = err;\n parseError.name = 'ServerParseError';\n parseError.response = response;\n parseError.statusCode = response.status;\n parseError.bodyText = bodyText;\n return Promise.reject(parseError);\n }\n }).then(function (result) {\n if (response.status >= 300) {\n throwServerError(response, result, \"Response not successful: Received status code \" + response.status);\n }\n\n if (!Array.isArray(result) && !result.hasOwnProperty('data') && !result.hasOwnProperty('errors')) {\n throwServerError(response, result, \"Server response was missing for query '\" + (Array.isArray(operations) ? operations.map(function (op) {\n return op.operationName;\n }) : operations.operationName) + \"'.\");\n }\n\n return result;\n });\n };\n};\n\nvar checkFetcher = function checkFetcher(fetcher) {\n if (!fetcher && typeof fetch === 'undefined') {\n var library = 'unfetch';\n if (typeof window === 'undefined') library = 'node-fetch';\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(1) : new InvariantError(\"\\nfetch is not found globally and no fetcher passed, to fix pass a fetch for\\nyour environment like https://www.npmjs.com/package/\" + library + \".\\n\\nFor example:\\nimport fetch from '\" + library + \"';\\nimport { createHttpLink } from 'apollo-link-http';\\n\\nconst link = createHttpLink({ uri: '/graphql', fetch: fetch });\");\n }\n};\n\nvar createSignalIfSupported = function createSignalIfSupported() {\n if (typeof AbortController === 'undefined') return {\n controller: false,\n signal: false\n };\n var controller = new AbortController();\n var signal = controller.signal;\n return {\n controller: controller,\n signal: signal\n };\n};\n\nvar selectHttpOptionsAndBody = function selectHttpOptionsAndBody(operation, fallbackConfig) {\n var configs = [];\n\n for (var _i = 2; _i < arguments.length; _i++) {\n configs[_i - 2] = arguments[_i];\n }\n\n var options = __assign({}, fallbackConfig.options, {\n headers: fallbackConfig.headers,\n credentials: fallbackConfig.credentials\n });\n\n var http = fallbackConfig.http;\n configs.forEach(function (config) {\n options = __assign({}, options, config.options, {\n headers: __assign({}, options.headers, config.headers)\n });\n if (config.credentials) options.credentials = config.credentials;\n http = __assign({}, http, config.http);\n });\n var operationName = operation.operationName,\n extensions = operation.extensions,\n variables = operation.variables,\n query = operation.query;\n var body = {\n operationName: operationName,\n variables: variables\n };\n if (http.includeExtensions) body.extensions = extensions;\n if (http.includeQuery) body.query = print(query);\n return {\n options: options,\n body: body\n };\n};\n\nvar serializeFetchParameter = function serializeFetchParameter(p, label) {\n var serialized;\n\n try {\n serialized = JSON.stringify(p);\n } catch (e) {\n var parseError = process.env.NODE_ENV === \"production\" ? new InvariantError(2) : new InvariantError(\"Network request failed. \" + label + \" is not serializable: \" + e.message);\n parseError.parseError = e;\n throw parseError;\n }\n\n return serialized;\n};\n\nvar selectURI = function selectURI(operation, fallbackURI) {\n var context = operation.getContext();\n var contextURI = context.uri;\n\n if (contextURI) {\n return contextURI;\n } else if (typeof fallbackURI === 'function') {\n return fallbackURI(operation);\n } else {\n return fallbackURI || '/graphql';\n }\n};\n\nexport { checkFetcher, createSignalIfSupported, fallbackHttpConfig, parseAndCheckHttpResponse, selectHttpOptionsAndBody, selectURI, serializeFetchParameter, throwServerError };","import { __rest, __assign, __extends } from 'tslib';\nimport { ApolloLink, fromError, Observable } from 'apollo-link';\nimport { checkFetcher, selectURI, selectHttpOptionsAndBody, fallbackHttpConfig, createSignalIfSupported, serializeFetchParameter, parseAndCheckHttpResponse } from 'apollo-link-http-common';\n\nvar createHttpLink = function createHttpLink(linkOptions) {\n if (linkOptions === void 0) {\n linkOptions = {};\n }\n\n var _a = linkOptions.uri,\n uri = _a === void 0 ? '/graphql' : _a,\n fetcher = linkOptions.fetch,\n includeExtensions = linkOptions.includeExtensions,\n useGETForQueries = linkOptions.useGETForQueries,\n requestOptions = __rest(linkOptions, [\"uri\", \"fetch\", \"includeExtensions\", \"useGETForQueries\"]);\n\n checkFetcher(fetcher);\n\n if (!fetcher) {\n fetcher = fetch;\n }\n\n var linkConfig = {\n http: {\n includeExtensions: includeExtensions\n },\n options: requestOptions.fetchOptions,\n credentials: requestOptions.credentials,\n headers: requestOptions.headers\n };\n return new ApolloLink(function (operation) {\n var chosenURI = selectURI(operation, uri);\n var context = operation.getContext();\n var clientAwarenessHeaders = {};\n\n if (context.clientAwareness) {\n var _a = context.clientAwareness,\n name_1 = _a.name,\n version = _a.version;\n\n if (name_1) {\n clientAwarenessHeaders['apollographql-client-name'] = name_1;\n }\n\n if (version) {\n clientAwarenessHeaders['apollographql-client-version'] = version;\n }\n }\n\n var contextHeaders = __assign({}, clientAwarenessHeaders, context.headers);\n\n var contextConfig = {\n http: context.http,\n options: context.fetchOptions,\n credentials: context.credentials,\n headers: contextHeaders\n };\n\n var _b = selectHttpOptionsAndBody(operation, fallbackHttpConfig, linkConfig, contextConfig),\n options = _b.options,\n body = _b.body;\n\n var controller;\n\n if (!options.signal) {\n var _c = createSignalIfSupported(),\n _controller = _c.controller,\n signal = _c.signal;\n\n controller = _controller;\n if (controller) options.signal = signal;\n }\n\n var definitionIsMutation = function definitionIsMutation(d) {\n return d.kind === 'OperationDefinition' && d.operation === 'mutation';\n };\n\n if (useGETForQueries && !operation.query.definitions.some(definitionIsMutation)) {\n options.method = 'GET';\n }\n\n if (options.method === 'GET') {\n var _d = rewriteURIForGET(chosenURI, body),\n newURI = _d.newURI,\n parseError = _d.parseError;\n\n if (parseError) {\n return fromError(parseError);\n }\n\n chosenURI = newURI;\n } else {\n try {\n options.body = serializeFetchParameter(body, 'Payload');\n } catch (parseError) {\n return fromError(parseError);\n }\n }\n\n return new Observable(function (observer) {\n fetcher(chosenURI, options).then(function (response) {\n operation.setContext({\n response: response\n });\n return response;\n }).then(parseAndCheckHttpResponse(operation)).then(function (result) {\n observer.next(result);\n observer.complete();\n return result;\n })[\"catch\"](function (err) {\n if (err.name === 'AbortError') return;\n\n if (err.result && err.result.errors && err.result.data) {\n observer.next(err.result);\n }\n\n observer.error(err);\n });\n return function () {\n if (controller) controller.abort();\n };\n });\n });\n};\n\nfunction rewriteURIForGET(chosenURI, body) {\n var queryParams = [];\n\n var addQueryParam = function addQueryParam(key, value) {\n queryParams.push(key + \"=\" + encodeURIComponent(value));\n };\n\n if ('query' in body) {\n addQueryParam('query', body.query);\n }\n\n if (body.operationName) {\n addQueryParam('operationName', body.operationName);\n }\n\n if (body.variables) {\n var serializedVariables = void 0;\n\n try {\n serializedVariables = serializeFetchParameter(body.variables, 'Variables map');\n } catch (parseError) {\n return {\n parseError: parseError\n };\n }\n\n addQueryParam('variables', serializedVariables);\n }\n\n if (body.extensions) {\n var serializedExtensions = void 0;\n\n try {\n serializedExtensions = serializeFetchParameter(body.extensions, 'Extensions map');\n } catch (parseError) {\n return {\n parseError: parseError\n };\n }\n\n addQueryParam('extensions', serializedExtensions);\n }\n\n var fragment = '',\n preFragment = chosenURI;\n var fragmentStart = chosenURI.indexOf('#');\n\n if (fragmentStart !== -1) {\n fragment = chosenURI.substr(fragmentStart);\n preFragment = chosenURI.substr(0, fragmentStart);\n }\n\n var queryParamsPrefix = preFragment.indexOf('?') === -1 ? '?' : '&';\n var newURI = preFragment + queryParamsPrefix + queryParams.join('&') + fragment;\n return {\n newURI: newURI\n };\n}\n\nvar HttpLink = function (_super) {\n __extends(HttpLink, _super);\n\n function HttpLink(opts) {\n return _super.call(this, createHttpLink(opts).request) || this;\n }\n\n return HttpLink;\n}(ApolloLink);\n\nexport { HttpLink, createHttpLink };","import { getFragmentQueryDocument } from 'apollo-utilities';\n\nfunction queryFromPojo(obj) {\n var op = {\n kind: 'OperationDefinition',\n operation: 'query',\n name: {\n kind: 'Name',\n value: 'GeneratedClientQuery'\n },\n selectionSet: selectionSetFromObj(obj)\n };\n var out = {\n kind: 'Document',\n definitions: [op]\n };\n return out;\n}\n\nfunction fragmentFromPojo(obj, typename) {\n var frag = {\n kind: 'FragmentDefinition',\n typeCondition: {\n kind: 'NamedType',\n name: {\n kind: 'Name',\n value: typename || '__FakeType'\n }\n },\n name: {\n kind: 'Name',\n value: 'GeneratedClientQuery'\n },\n selectionSet: selectionSetFromObj(obj)\n };\n var out = {\n kind: 'Document',\n definitions: [frag]\n };\n return out;\n}\n\nfunction selectionSetFromObj(obj) {\n if (typeof obj === 'number' || typeof obj === 'boolean' || typeof obj === 'string' || typeof obj === 'undefined' || obj === null) {\n return null;\n }\n\n if (Array.isArray(obj)) {\n return selectionSetFromObj(obj[0]);\n }\n\n var selections = [];\n Object.keys(obj).forEach(function (key) {\n var nestedSelSet = selectionSetFromObj(obj[key]);\n var field = {\n kind: 'Field',\n name: {\n kind: 'Name',\n value: key\n },\n selectionSet: nestedSelSet || undefined\n };\n selections.push(field);\n });\n var selectionSet = {\n kind: 'SelectionSet',\n selections: selections\n };\n return selectionSet;\n}\n\nvar justTypenameQuery = {\n kind: 'Document',\n definitions: [{\n kind: 'OperationDefinition',\n operation: 'query',\n name: null,\n variableDefinitions: null,\n directives: [],\n selectionSet: {\n kind: 'SelectionSet',\n selections: [{\n kind: 'Field',\n alias: null,\n name: {\n kind: 'Name',\n value: '__typename'\n },\n arguments: [],\n directives: [],\n selectionSet: null\n }]\n }\n }]\n};\n\nvar ApolloCache = function () {\n function ApolloCache() {}\n\n ApolloCache.prototype.transformDocument = function (document) {\n return document;\n };\n\n ApolloCache.prototype.transformForLink = function (document) {\n return document;\n };\n\n ApolloCache.prototype.readQuery = function (options, optimistic) {\n if (optimistic === void 0) {\n optimistic = false;\n }\n\n return this.read({\n query: options.query,\n variables: options.variables,\n optimistic: optimistic\n });\n };\n\n ApolloCache.prototype.readFragment = function (options, optimistic) {\n if (optimistic === void 0) {\n optimistic = false;\n }\n\n return this.read({\n query: getFragmentQueryDocument(options.fragment, options.fragmentName),\n variables: options.variables,\n rootId: options.id,\n optimistic: optimistic\n });\n };\n\n ApolloCache.prototype.writeQuery = function (options) {\n this.write({\n dataId: 'ROOT_QUERY',\n result: options.data,\n query: options.query,\n variables: options.variables\n });\n };\n\n ApolloCache.prototype.writeFragment = function (options) {\n this.write({\n dataId: options.id,\n result: options.data,\n variables: options.variables,\n query: getFragmentQueryDocument(options.fragment, options.fragmentName)\n });\n };\n\n ApolloCache.prototype.writeData = function (_a) {\n var id = _a.id,\n data = _a.data;\n\n if (typeof id !== 'undefined') {\n var typenameResult = null;\n\n try {\n typenameResult = this.read({\n rootId: id,\n optimistic: false,\n query: justTypenameQuery\n });\n } catch (e) {}\n\n var __typename = typenameResult && typenameResult.__typename || '__ClientData';\n\n var dataToWrite = Object.assign({\n __typename: __typename\n }, data);\n this.writeFragment({\n id: id,\n fragment: fragmentFromPojo(dataToWrite, __typename),\n data: dataToWrite\n });\n } else {\n this.writeQuery({\n query: queryFromPojo(data),\n data: data\n });\n }\n };\n\n return ApolloCache;\n}();\n\nvar Cache;\n\n(function (Cache) {})(Cache || (Cache = {}));\n\nexport { ApolloCache, Cache };","// This currentContext variable will only be used if the makeSlotClass\n// function is called, which happens only if this is the first copy of the\n// @wry/context package to be imported.\nvar currentContext = null; // This unique internal object is used to denote the absence of a value\n// for a given Slot, and is never exposed to outside code.\n\nvar MISSING_VALUE = {};\nvar idCounter = 1; // Although we can't do anything about the cost of duplicated code from\n// accidentally bundling multiple copies of the @wry/context package, we can\n// avoid creating the Slot class more than once using makeSlotClass.\n\nvar makeSlotClass = function makeSlotClass() {\n return (\n /** @class */\n function () {\n function Slot() {\n // If you have a Slot object, you can find out its slot.id, but you cannot\n // guess the slot.id of a Slot you don't have access to, thanks to the\n // randomized suffix.\n this.id = [\"slot\", idCounter++, Date.now(), Math.random().toString(36).slice(2)].join(\":\");\n }\n\n Slot.prototype.hasValue = function () {\n for (var context_1 = currentContext; context_1; context_1 = context_1.parent) {\n // We use the Slot object iself as a key to its value, which means the\n // value cannot be obtained without a reference to the Slot object.\n if (this.id in context_1.slots) {\n var value = context_1.slots[this.id];\n if (value === MISSING_VALUE) break;\n\n if (context_1 !== currentContext) {\n // Cache the value in currentContext.slots so the next lookup will\n // be faster. This caching is safe because the tree of contexts and\n // the values of the slots are logically immutable.\n currentContext.slots[this.id] = value;\n }\n\n return true;\n }\n }\n\n if (currentContext) {\n // If a value was not found for this Slot, it's never going to be found\n // no matter how many times we look it up, so we might as well cache\n // the absence of the value, too.\n currentContext.slots[this.id] = MISSING_VALUE;\n }\n\n return false;\n };\n\n Slot.prototype.getValue = function () {\n if (this.hasValue()) {\n return currentContext.slots[this.id];\n }\n };\n\n Slot.prototype.withValue = function (value, callback, // Given the prevalence of arrow functions, specifying arguments is likely\n // to be much more common than specifying `this`, hence this ordering:\n args, thisArg) {\n var _a;\n\n var slots = (_a = {\n __proto__: null\n }, _a[this.id] = value, _a);\n var parent = currentContext;\n currentContext = {\n parent: parent,\n slots: slots\n };\n\n try {\n // Function.prototype.apply allows the arguments array argument to be\n // omitted or undefined, so args! is fine here.\n return callback.apply(thisArg, args);\n } finally {\n currentContext = parent;\n }\n }; // Capture the current context and wrap a callback function so that it\n // reestablishes the captured context when called.\n\n\n Slot.bind = function (callback) {\n var context = currentContext;\n return function () {\n var saved = currentContext;\n\n try {\n currentContext = context;\n return callback.apply(this, arguments);\n } finally {\n currentContext = saved;\n }\n };\n }; // Immediately run a callback function without any captured context.\n\n\n Slot.noContext = function (callback, // Given the prevalence of arrow functions, specifying arguments is likely\n // to be much more common than specifying `this`, hence this ordering:\n args, thisArg) {\n if (currentContext) {\n var saved = currentContext;\n\n try {\n currentContext = null; // Function.prototype.apply allows the arguments array argument to be\n // omitted or undefined, so args! is fine here.\n\n return callback.apply(thisArg, args);\n } finally {\n currentContext = saved;\n }\n } else {\n return callback.apply(thisArg, args);\n }\n };\n\n return Slot;\n }()\n );\n}; // We store a single global implementation of the Slot class as a permanent\n// non-enumerable symbol property of the Array constructor. This obfuscation\n// does nothing to prevent access to the Slot class, but at least it ensures\n// the implementation (i.e. currentContext) cannot be tampered with, and all\n// copies of the @wry/context package (hopefully just one) will share the\n// same Slot implementation. Since the first copy of the @wry/context package\n// to be imported wins, this technique imposes a very high cost for any\n// future breaking changes to the Slot class.\n\n\nvar globalKey = \"@wry/context:Slot\";\nvar host = Array;\n\nvar Slot = host[globalKey] || function () {\n var Slot = makeSlotClass();\n\n try {\n Object.defineProperty(host, globalKey, {\n value: host[globalKey] = Slot,\n enumerable: false,\n writable: false,\n configurable: false\n });\n } finally {\n return Slot;\n }\n}();\n\nvar bind = Slot.bind,\n noContext = Slot.noContext;\n\nfunction setTimeoutWithContext(callback, delay) {\n return setTimeout(bind(callback), delay);\n} // Turn any generator function into an async function (using yield instead\n// of await), with context automatically preserved across yields.\n\n\nfunction asyncFromGen(genFn) {\n return function () {\n var gen = genFn.apply(this, arguments);\n var boundNext = bind(gen.next);\n var boundThrow = bind(gen[\"throw\"]);\n return new Promise(function (resolve, reject) {\n function invoke(method, argument) {\n try {\n var result = method.call(gen, argument);\n } catch (error) {\n return reject(error);\n }\n\n var next = result.done ? resolve : invokeNext;\n\n if (isPromiseLike(result.value)) {\n result.value.then(next, result.done ? reject : invokeThrow);\n } else {\n next(result.value);\n }\n }\n\n var invokeNext = function invokeNext(value) {\n return invoke(boundNext, value);\n };\n\n var invokeThrow = function invokeThrow(error) {\n return invoke(boundThrow, error);\n };\n\n invokeNext();\n });\n };\n}\n\nfunction isPromiseLike(value) {\n return value && typeof value.then === \"function\";\n} // If you use the fibers npm package to implement coroutines in Node.js,\n// you should call this function at least once to ensure context management\n// remains coherent across any yields.\n\n\nvar wrappedFibers = [];\n\nfunction wrapYieldingFiberMethods(Fiber) {\n // There can be only one implementation of Fiber per process, so this array\n // should never grow longer than one element.\n if (wrappedFibers.indexOf(Fiber) < 0) {\n var wrap = function wrap(obj, method) {\n var fn = obj[method];\n\n obj[method] = function () {\n return noContext(fn, arguments, this);\n };\n }; // These methods can yield, according to\n // https://github.com/laverdet/node-fibers/blob/ddebed9b8ae3883e57f822e2108e6943e5c8d2a8/fibers.js#L97-L100\n\n\n wrap(Fiber, \"yield\");\n wrap(Fiber.prototype, \"run\");\n wrap(Fiber.prototype, \"throwInto\");\n wrappedFibers.push(Fiber);\n }\n\n return Fiber;\n}\n\nexport { Slot, asyncFromGen, bind, noContext, setTimeoutWithContext as setTimeout, wrapYieldingFiberMethods };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { Slot } from '@wry/context';\nexport { asyncFromGen, bind as bindContext, noContext, setTimeout } from '@wry/context';\n\nfunction defaultDispose() {}\n\nvar Cache =\n/** @class */\nfunction () {\n function Cache(max, dispose) {\n if (max === void 0) {\n max = Infinity;\n }\n\n if (dispose === void 0) {\n dispose = defaultDispose;\n }\n\n this.max = max;\n this.dispose = dispose;\n this.map = new Map();\n this.newest = null;\n this.oldest = null;\n }\n\n Cache.prototype.has = function (key) {\n return this.map.has(key);\n };\n\n Cache.prototype.get = function (key) {\n var entry = this.getEntry(key);\n return entry && entry.value;\n };\n\n Cache.prototype.getEntry = function (key) {\n var entry = this.map.get(key);\n\n if (entry && entry !== this.newest) {\n var older = entry.older,\n newer = entry.newer;\n\n if (newer) {\n newer.older = older;\n }\n\n if (older) {\n older.newer = newer;\n }\n\n entry.older = this.newest;\n entry.older.newer = entry;\n entry.newer = null;\n this.newest = entry;\n\n if (entry === this.oldest) {\n this.oldest = newer;\n }\n }\n\n return entry;\n };\n\n Cache.prototype.set = function (key, value) {\n var entry = this.getEntry(key);\n\n if (entry) {\n return entry.value = value;\n }\n\n entry = {\n key: key,\n value: value,\n newer: null,\n older: this.newest\n };\n\n if (this.newest) {\n this.newest.newer = entry;\n }\n\n this.newest = entry;\n this.oldest = this.oldest || entry;\n this.map.set(key, entry);\n return entry.value;\n };\n\n Cache.prototype.clean = function () {\n while (this.oldest && this.map.size > this.max) {\n this[\"delete\"](this.oldest.key);\n }\n };\n\n Cache.prototype[\"delete\"] = function (key) {\n var entry = this.map.get(key);\n\n if (entry) {\n if (entry === this.newest) {\n this.newest = entry.older;\n }\n\n if (entry === this.oldest) {\n this.oldest = entry.newer;\n }\n\n if (entry.newer) {\n entry.newer.older = entry.older;\n }\n\n if (entry.older) {\n entry.older.newer = entry.newer;\n }\n\n this.map[\"delete\"](key);\n this.dispose(entry.value, key);\n return true;\n }\n\n return false;\n };\n\n return Cache;\n}();\n\nvar parentEntrySlot = new Slot();\nvar reusableEmptyArray = [];\nvar emptySetPool = [];\nvar POOL_TARGET_SIZE = 100; // Since this package might be used browsers, we should avoid using the\n// Node built-in assert module.\n\nfunction assert(condition, optionalMessage) {\n if (!condition) {\n throw new Error(optionalMessage || \"assertion failure\");\n }\n}\n\nfunction valueIs(a, b) {\n var len = a.length;\n return (// Unknown values are not equal to each other.\n len > 0 && // Both values must be ordinary (or both exceptional) to be equal.\n len === b.length && // The underlying value or exception must be the same.\n a[len - 1] === b[len - 1]\n );\n}\n\nfunction valueGet(value) {\n switch (value.length) {\n case 0:\n throw new Error(\"unknown value\");\n\n case 1:\n return value[0];\n\n case 2:\n throw value[1];\n }\n}\n\nfunction valueCopy(value) {\n return value.slice(0);\n}\n\nvar Entry =\n/** @class */\nfunction () {\n function Entry(fn, args) {\n this.fn = fn;\n this.args = args;\n this.parents = new Set();\n this.childValues = new Map(); // When this Entry has children that are dirty, this property becomes\n // a Set containing other Entry objects, borrowed from emptySetPool.\n // When the set becomes empty, it gets recycled back to emptySetPool.\n\n this.dirtyChildren = null;\n this.dirty = true;\n this.recomputing = false;\n this.value = [];\n ++Entry.count;\n } // This is the most important method of the Entry API, because it\n // determines whether the cached this.value can be returned immediately,\n // or must be recomputed. The overall performance of the caching system\n // depends on the truth of the following observations: (1) this.dirty is\n // usually false, (2) this.dirtyChildren is usually null/empty, and thus\n // (3) valueGet(this.value) is usually returned without recomputation.\n\n\n Entry.prototype.recompute = function () {\n assert(!this.recomputing, \"already recomputing\");\n\n if (!rememberParent(this) && maybeReportOrphan(this)) {\n // The recipient of the entry.reportOrphan callback decided to dispose\n // of this orphan entry by calling entry.dispose(), so we don't need to\n // (and should not) proceed with the recomputation.\n return void 0;\n }\n\n return mightBeDirty(this) ? reallyRecompute(this) : valueGet(this.value);\n };\n\n Entry.prototype.setDirty = function () {\n if (this.dirty) return;\n this.dirty = true;\n this.value.length = 0;\n reportDirty(this); // We can go ahead and unsubscribe here, since any further dirty\n // notifications we receive will be redundant, and unsubscribing may\n // free up some resources, e.g. file watchers.\n\n maybeUnsubscribe(this);\n };\n\n Entry.prototype.dispose = function () {\n var _this = this;\n\n forgetChildren(this).forEach(maybeReportOrphan);\n maybeUnsubscribe(this); // Because this entry has been kicked out of the cache (in index.js),\n // we've lost the ability to find out if/when this entry becomes dirty,\n // whether that happens through a subscription, because of a direct call\n // to entry.setDirty(), or because one of its children becomes dirty.\n // Because of this loss of future information, we have to assume the\n // worst (that this entry might have become dirty very soon), so we must\n // immediately mark this entry's parents as dirty. Normally we could\n // just call entry.setDirty() rather than calling parent.setDirty() for\n // each parent, but that would leave this entry in parent.childValues\n // and parent.dirtyChildren, which would prevent the child from being\n // truly forgotten.\n\n this.parents.forEach(function (parent) {\n parent.setDirty();\n forgetChild(parent, _this);\n });\n };\n\n Entry.count = 0;\n return Entry;\n}();\n\nfunction rememberParent(child) {\n var parent = parentEntrySlot.getValue();\n\n if (parent) {\n child.parents.add(parent);\n\n if (!parent.childValues.has(child)) {\n parent.childValues.set(child, []);\n }\n\n if (mightBeDirty(child)) {\n reportDirtyChild(parent, child);\n } else {\n reportCleanChild(parent, child);\n }\n\n return parent;\n }\n}\n\nfunction reallyRecompute(entry) {\n // Since this recomputation is likely to re-remember some of this\n // entry's children, we forget our children here but do not call\n // maybeReportOrphan until after the recomputation finishes.\n var originalChildren = forgetChildren(entry); // Set entry as the parent entry while calling recomputeNewValue(entry).\n\n parentEntrySlot.withValue(entry, recomputeNewValue, [entry]);\n\n if (maybeSubscribe(entry)) {\n // If we successfully recomputed entry.value and did not fail to\n // (re)subscribe, then this Entry is no longer explicitly dirty.\n setClean(entry);\n } // Now that we've had a chance to re-remember any children that were\n // involved in the recomputation, we can safely report any orphan\n // children that remain.\n\n\n originalChildren.forEach(maybeReportOrphan);\n return valueGet(entry.value);\n}\n\nfunction recomputeNewValue(entry) {\n entry.recomputing = true; // Set entry.value as unknown.\n\n entry.value.length = 0;\n\n try {\n // If entry.fn succeeds, entry.value will become a normal Value.\n entry.value[0] = entry.fn.apply(null, entry.args);\n } catch (e) {\n // If entry.fn throws, entry.value will become exceptional.\n entry.value[1] = e;\n } // Either way, this line is always reached.\n\n\n entry.recomputing = false;\n}\n\nfunction mightBeDirty(entry) {\n return entry.dirty || !!(entry.dirtyChildren && entry.dirtyChildren.size);\n}\n\nfunction setClean(entry) {\n entry.dirty = false;\n\n if (mightBeDirty(entry)) {\n // This Entry may still have dirty children, in which case we can't\n // let our parents know we're clean just yet.\n return;\n }\n\n reportClean(entry);\n}\n\nfunction reportDirty(child) {\n child.parents.forEach(function (parent) {\n return reportDirtyChild(parent, child);\n });\n}\n\nfunction reportClean(child) {\n child.parents.forEach(function (parent) {\n return reportCleanChild(parent, child);\n });\n} // Let a parent Entry know that one of its children may be dirty.\n\n\nfunction reportDirtyChild(parent, child) {\n // Must have called rememberParent(child) before calling\n // reportDirtyChild(parent, child).\n assert(parent.childValues.has(child));\n assert(mightBeDirty(child));\n\n if (!parent.dirtyChildren) {\n parent.dirtyChildren = emptySetPool.pop() || new Set();\n } else if (parent.dirtyChildren.has(child)) {\n // If we already know this child is dirty, then we must have already\n // informed our own parents that we are dirty, so we can terminate\n // the recursion early.\n return;\n }\n\n parent.dirtyChildren.add(child);\n reportDirty(parent);\n} // Let a parent Entry know that one of its children is no longer dirty.\n\n\nfunction reportCleanChild(parent, child) {\n // Must have called rememberChild(child) before calling\n // reportCleanChild(parent, child).\n assert(parent.childValues.has(child));\n assert(!mightBeDirty(child));\n var childValue = parent.childValues.get(child);\n\n if (childValue.length === 0) {\n parent.childValues.set(child, valueCopy(child.value));\n } else if (!valueIs(childValue, child.value)) {\n parent.setDirty();\n }\n\n removeDirtyChild(parent, child);\n\n if (mightBeDirty(parent)) {\n return;\n }\n\n reportClean(parent);\n}\n\nfunction removeDirtyChild(parent, child) {\n var dc = parent.dirtyChildren;\n\n if (dc) {\n dc[\"delete\"](child);\n\n if (dc.size === 0) {\n if (emptySetPool.length < POOL_TARGET_SIZE) {\n emptySetPool.push(dc);\n }\n\n parent.dirtyChildren = null;\n }\n }\n} // If the given entry has a reportOrphan method, and no remaining parents,\n// call entry.reportOrphan and return true iff it returns true. The\n// reportOrphan function should return true to indicate entry.dispose()\n// has been called, and the entry has been removed from any other caches\n// (see index.js for the only current example).\n\n\nfunction maybeReportOrphan(entry) {\n return entry.parents.size === 0 && typeof entry.reportOrphan === \"function\" && entry.reportOrphan() === true;\n} // Removes all children from this entry and returns an array of the\n// removed children.\n\n\nfunction forgetChildren(parent) {\n var children = reusableEmptyArray;\n\n if (parent.childValues.size > 0) {\n children = [];\n parent.childValues.forEach(function (_value, child) {\n forgetChild(parent, child);\n children.push(child);\n });\n } // After we forget all our children, this.dirtyChildren must be empty\n // and therefore must have been reset to null.\n\n\n assert(parent.dirtyChildren === null);\n return children;\n}\n\nfunction forgetChild(parent, child) {\n child.parents[\"delete\"](parent);\n parent.childValues[\"delete\"](child);\n removeDirtyChild(parent, child);\n}\n\nfunction maybeSubscribe(entry) {\n if (typeof entry.subscribe === \"function\") {\n try {\n maybeUnsubscribe(entry); // Prevent double subscriptions.\n\n entry.unsubscribe = entry.subscribe.apply(null, entry.args);\n } catch (e) {\n // If this Entry has a subscribe function and it threw an exception\n // (or an unsubscribe function it previously returned now throws),\n // return false to indicate that we were not able to subscribe (or\n // unsubscribe), and this Entry should remain dirty.\n entry.setDirty();\n return false;\n }\n } // Returning true indicates either that there was no entry.subscribe\n // function or that it succeeded.\n\n\n return true;\n}\n\nfunction maybeUnsubscribe(entry) {\n var unsubscribe = entry.unsubscribe;\n\n if (typeof unsubscribe === \"function\") {\n entry.unsubscribe = void 0;\n unsubscribe();\n }\n} // A trie data structure that holds object keys weakly, yet can also hold\n// non-object keys, unlike the native `WeakMap`.\n\n\nvar KeyTrie =\n/** @class */\nfunction () {\n function KeyTrie(weakness) {\n this.weakness = weakness;\n }\n\n KeyTrie.prototype.lookup = function () {\n var array = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i] = arguments[_i];\n }\n\n return this.lookupArray(array);\n };\n\n KeyTrie.prototype.lookupArray = function (array) {\n var node = this;\n array.forEach(function (key) {\n return node = node.getChildTrie(key);\n });\n return node.data || (node.data = Object.create(null));\n };\n\n KeyTrie.prototype.getChildTrie = function (key) {\n var map = this.weakness && isObjRef(key) ? this.weak || (this.weak = new WeakMap()) : this.strong || (this.strong = new Map());\n var child = map.get(key);\n if (!child) map.set(key, child = new KeyTrie(this.weakness));\n return child;\n };\n\n return KeyTrie;\n}();\n\nfunction isObjRef(value) {\n switch (_typeof(value)) {\n case \"object\":\n if (value === null) break;\n // Fall through to return true...\n\n case \"function\":\n return true;\n }\n\n return false;\n} // The defaultMakeCacheKey function is remarkably powerful, because it gives\n// a unique object for any shallow-identical list of arguments. If you need\n// to implement a custom makeCacheKey function, you may find it helpful to\n// delegate the final work to defaultMakeCacheKey, which is why we export it\n// here. However, you may want to avoid defaultMakeCacheKey if your runtime\n// does not support WeakMap, or you have the ability to return a string key.\n// In those cases, just write your own custom makeCacheKey functions.\n\n\nvar keyTrie = new KeyTrie(typeof WeakMap === \"function\");\n\nfunction defaultMakeCacheKey() {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n return keyTrie.lookupArray(args);\n}\n\nvar caches = new Set();\n\nfunction wrap(originalFunction, options) {\n if (options === void 0) {\n options = Object.create(null);\n }\n\n var cache = new Cache(options.max || Math.pow(2, 16), function (entry) {\n return entry.dispose();\n });\n var disposable = !!options.disposable;\n var makeCacheKey = options.makeCacheKey || defaultMakeCacheKey;\n\n function optimistic() {\n if (disposable && !parentEntrySlot.hasValue()) {\n // If there's no current parent computation, and this wrapped\n // function is disposable (meaning we don't care about entry.value,\n // just dependency tracking), then we can short-cut everything else\n // in this function, because entry.recompute() is going to recycle\n // the entry object without recomputing anything, anyway.\n return void 0;\n }\n\n var key = makeCacheKey.apply(null, arguments);\n\n if (key === void 0) {\n return originalFunction.apply(null, arguments);\n }\n\n var args = Array.prototype.slice.call(arguments);\n var entry = cache.get(key);\n\n if (entry) {\n entry.args = args;\n } else {\n entry = new Entry(originalFunction, args);\n cache.set(key, entry);\n entry.subscribe = options.subscribe;\n\n if (disposable) {\n entry.reportOrphan = function () {\n return cache[\"delete\"](key);\n };\n }\n }\n\n var value = entry.recompute(); // Move this entry to the front of the least-recently used queue,\n // since we just finished computing its value.\n\n cache.set(key, entry);\n caches.add(cache); // Clean up any excess entries in the cache, but only if there is no\n // active parent entry, meaning we're not in the middle of a larger\n // computation that might be flummoxed by the cleaning.\n\n if (!parentEntrySlot.hasValue()) {\n caches.forEach(function (cache) {\n return cache.clean();\n });\n caches.clear();\n } // If options.disposable is truthy, the caller of wrap is telling us\n // they don't care about the result of entry.recompute(), so we should\n // avoid returning the value, so it won't be accidentally used.\n\n\n return disposable ? void 0 : value;\n }\n\n optimistic.dirty = function () {\n var key = makeCacheKey.apply(null, arguments);\n var child = key !== void 0 && cache.get(key);\n\n if (child) {\n child.setDirty();\n }\n };\n\n return optimistic;\n}\n\nexport { KeyTrie, defaultMakeCacheKey, wrap };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { __assign, __extends } from 'tslib';\nimport { ApolloCache } from 'apollo-cache';\nimport { isTest, getQueryDefinition, assign, getDefaultValues, isEqual, getMainDefinition, getFragmentDefinitions, createFragmentMap, shouldInclude, isField, resultKeyNameFromField, isInlineFragment, mergeDeepArray, argumentsObjectFromField, getDirectiveInfoFromField, maybeDeepFreeze, isIdValue, getStoreKeyName, toIdValue, isJsonValue, canUseWeakMap, getOperationDefinition, isProduction, storeKeyNameFromField, addTypenameToDocument } from 'apollo-utilities';\nimport { wrap, KeyTrie } from 'optimism';\nimport { invariant, InvariantError } from 'ts-invariant';\nvar haveWarned = false;\n\nfunction shouldWarn() {\n var answer = !haveWarned;\n\n if (!isTest()) {\n haveWarned = true;\n }\n\n return answer;\n}\n\nvar HeuristicFragmentMatcher = function () {\n function HeuristicFragmentMatcher() {}\n\n HeuristicFragmentMatcher.prototype.ensureReady = function () {\n return Promise.resolve();\n };\n\n HeuristicFragmentMatcher.prototype.canBypassInit = function () {\n return true;\n };\n\n HeuristicFragmentMatcher.prototype.match = function (idValue, typeCondition, context) {\n var obj = context.store.get(idValue.id);\n var isRootQuery = idValue.id === 'ROOT_QUERY';\n\n if (!obj) {\n return isRootQuery;\n }\n\n var _a = obj.__typename,\n __typename = _a === void 0 ? isRootQuery && 'Query' : _a;\n\n if (!__typename) {\n if (shouldWarn()) {\n process.env.NODE_ENV === \"production\" || invariant.warn(\"You're using fragments in your queries, but either don't have the addTypename:\\n true option set in Apollo Client, or you are trying to write a fragment to the store without the __typename.\\n Please turn on the addTypename option and include __typename when writing fragments so that Apollo Client\\n can accurately match fragments.\");\n process.env.NODE_ENV === \"production\" || invariant.warn('Could not find __typename on Fragment ', typeCondition, obj);\n process.env.NODE_ENV === \"production\" || invariant.warn(\"DEPRECATION WARNING: using fragments without __typename is unsupported behavior \" + \"and will be removed in future versions of Apollo client. You should fix this and set addTypename to true now.\");\n }\n\n return 'heuristic';\n }\n\n if (__typename === typeCondition) {\n return true;\n }\n\n if (shouldWarn()) {\n process.env.NODE_ENV === \"production\" || invariant.error('You are using the simple (heuristic) fragment matcher, but your ' + 'queries contain union or interface types. Apollo Client will not be ' + 'able to accurately map fragments. To make this error go away, use ' + 'the `IntrospectionFragmentMatcher` as described in the docs: ' + 'https://www.apollographql.com/docs/react/advanced/fragments.html#fragment-matcher');\n }\n\n return 'heuristic';\n };\n\n return HeuristicFragmentMatcher;\n}();\n\nvar IntrospectionFragmentMatcher = function () {\n function IntrospectionFragmentMatcher(options) {\n if (options && options.introspectionQueryResultData) {\n this.possibleTypesMap = this.parseIntrospectionResult(options.introspectionQueryResultData);\n this.isReady = true;\n } else {\n this.isReady = false;\n }\n\n this.match = this.match.bind(this);\n }\n\n IntrospectionFragmentMatcher.prototype.match = function (idValue, typeCondition, context) {\n process.env.NODE_ENV === \"production\" ? invariant(this.isReady, 1) : invariant(this.isReady, 'FragmentMatcher.match() was called before FragmentMatcher.init()');\n var obj = context.store.get(idValue.id);\n var isRootQuery = idValue.id === 'ROOT_QUERY';\n\n if (!obj) {\n return isRootQuery;\n }\n\n var _a = obj.__typename,\n __typename = _a === void 0 ? isRootQuery && 'Query' : _a;\n\n process.env.NODE_ENV === \"production\" ? invariant(__typename, 2) : invariant(__typename, \"Cannot match fragment because __typename property is missing: \" + JSON.stringify(obj));\n\n if (__typename === typeCondition) {\n return true;\n }\n\n var implementingTypes = this.possibleTypesMap[typeCondition];\n\n if (__typename && implementingTypes && implementingTypes.indexOf(__typename) > -1) {\n return true;\n }\n\n return false;\n };\n\n IntrospectionFragmentMatcher.prototype.parseIntrospectionResult = function (introspectionResultData) {\n var typeMap = {};\n\n introspectionResultData.__schema.types.forEach(function (type) {\n if (type.kind === 'UNION' || type.kind === 'INTERFACE') {\n typeMap[type.name] = type.possibleTypes.map(function (implementingType) {\n return implementingType.name;\n });\n }\n });\n\n return typeMap;\n };\n\n return IntrospectionFragmentMatcher;\n}();\n\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nvar DepTrackingCache = function () {\n function DepTrackingCache(data) {\n var _this = this;\n\n if (data === void 0) {\n data = Object.create(null);\n }\n\n this.data = data;\n this.depend = wrap(function (dataId) {\n return _this.data[dataId];\n }, {\n disposable: true,\n makeCacheKey: function makeCacheKey(dataId) {\n return dataId;\n }\n });\n }\n\n DepTrackingCache.prototype.toObject = function () {\n return this.data;\n };\n\n DepTrackingCache.prototype.get = function (dataId) {\n this.depend(dataId);\n return this.data[dataId];\n };\n\n DepTrackingCache.prototype.set = function (dataId, value) {\n var oldValue = this.data[dataId];\n\n if (value !== oldValue) {\n this.data[dataId] = value;\n this.depend.dirty(dataId);\n }\n };\n\n DepTrackingCache.prototype[\"delete\"] = function (dataId) {\n if (hasOwn.call(this.data, dataId)) {\n delete this.data[dataId];\n this.depend.dirty(dataId);\n }\n };\n\n DepTrackingCache.prototype.clear = function () {\n this.replace(null);\n };\n\n DepTrackingCache.prototype.replace = function (newData) {\n var _this = this;\n\n if (newData) {\n Object.keys(newData).forEach(function (dataId) {\n _this.set(dataId, newData[dataId]);\n });\n Object.keys(this.data).forEach(function (dataId) {\n if (!hasOwn.call(newData, dataId)) {\n _this[\"delete\"](dataId);\n }\n });\n } else {\n Object.keys(this.data).forEach(function (dataId) {\n _this[\"delete\"](dataId);\n });\n }\n };\n\n return DepTrackingCache;\n}();\n\nfunction defaultNormalizedCacheFactory(seed) {\n return new DepTrackingCache(seed);\n}\n\nvar StoreReader = function () {\n function StoreReader(_a) {\n var _this = this;\n\n var _b = _a === void 0 ? {} : _a,\n _c = _b.cacheKeyRoot,\n cacheKeyRoot = _c === void 0 ? new KeyTrie(canUseWeakMap) : _c,\n _d = _b.freezeResults,\n freezeResults = _d === void 0 ? false : _d;\n\n var _e = this,\n executeStoreQuery = _e.executeStoreQuery,\n executeSelectionSet = _e.executeSelectionSet,\n executeSubSelectedArray = _e.executeSubSelectedArray;\n\n this.freezeResults = freezeResults;\n this.executeStoreQuery = wrap(function (options) {\n return executeStoreQuery.call(_this, options);\n }, {\n makeCacheKey: function makeCacheKey(_a) {\n var query = _a.query,\n rootValue = _a.rootValue,\n contextValue = _a.contextValue,\n variableValues = _a.variableValues,\n fragmentMatcher = _a.fragmentMatcher;\n\n if (contextValue.store instanceof DepTrackingCache) {\n return cacheKeyRoot.lookup(contextValue.store, query, fragmentMatcher, JSON.stringify(variableValues), rootValue.id);\n }\n }\n });\n this.executeSelectionSet = wrap(function (options) {\n return executeSelectionSet.call(_this, options);\n }, {\n makeCacheKey: function makeCacheKey(_a) {\n var selectionSet = _a.selectionSet,\n rootValue = _a.rootValue,\n execContext = _a.execContext;\n\n if (execContext.contextValue.store instanceof DepTrackingCache) {\n return cacheKeyRoot.lookup(execContext.contextValue.store, selectionSet, execContext.fragmentMatcher, JSON.stringify(execContext.variableValues), rootValue.id);\n }\n }\n });\n this.executeSubSelectedArray = wrap(function (options) {\n return executeSubSelectedArray.call(_this, options);\n }, {\n makeCacheKey: function makeCacheKey(_a) {\n var field = _a.field,\n array = _a.array,\n execContext = _a.execContext;\n\n if (execContext.contextValue.store instanceof DepTrackingCache) {\n return cacheKeyRoot.lookup(execContext.contextValue.store, field, array, JSON.stringify(execContext.variableValues));\n }\n }\n });\n }\n\n StoreReader.prototype.readQueryFromStore = function (options) {\n return this.diffQueryAgainstStore(__assign(__assign({}, options), {\n returnPartialData: false\n })).result;\n };\n\n StoreReader.prototype.diffQueryAgainstStore = function (_a) {\n var store = _a.store,\n query = _a.query,\n variables = _a.variables,\n previousResult = _a.previousResult,\n _b = _a.returnPartialData,\n returnPartialData = _b === void 0 ? true : _b,\n _c = _a.rootId,\n rootId = _c === void 0 ? 'ROOT_QUERY' : _c,\n fragmentMatcherFunction = _a.fragmentMatcherFunction,\n config = _a.config;\n var queryDefinition = getQueryDefinition(query);\n variables = assign({}, getDefaultValues(queryDefinition), variables);\n var context = {\n store: store,\n dataIdFromObject: config && config.dataIdFromObject,\n cacheRedirects: config && config.cacheRedirects || {}\n };\n var execResult = this.executeStoreQuery({\n query: query,\n rootValue: {\n type: 'id',\n id: rootId,\n generated: true,\n typename: 'Query'\n },\n contextValue: context,\n variableValues: variables,\n fragmentMatcher: fragmentMatcherFunction\n });\n var hasMissingFields = execResult.missing && execResult.missing.length > 0;\n\n if (hasMissingFields && !returnPartialData) {\n execResult.missing.forEach(function (info) {\n if (info.tolerable) return;\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(8) : new InvariantError(\"Can't find field \" + info.fieldName + \" on object \" + JSON.stringify(info.object, null, 2) + \".\");\n });\n }\n\n if (previousResult) {\n if (isEqual(previousResult, execResult.result)) {\n execResult.result = previousResult;\n }\n }\n\n return {\n result: execResult.result,\n complete: !hasMissingFields\n };\n };\n\n StoreReader.prototype.executeStoreQuery = function (_a) {\n var query = _a.query,\n rootValue = _a.rootValue,\n contextValue = _a.contextValue,\n variableValues = _a.variableValues,\n _b = _a.fragmentMatcher,\n fragmentMatcher = _b === void 0 ? defaultFragmentMatcher : _b;\n var mainDefinition = getMainDefinition(query);\n var fragments = getFragmentDefinitions(query);\n var fragmentMap = createFragmentMap(fragments);\n var execContext = {\n query: query,\n fragmentMap: fragmentMap,\n contextValue: contextValue,\n variableValues: variableValues,\n fragmentMatcher: fragmentMatcher\n };\n return this.executeSelectionSet({\n selectionSet: mainDefinition.selectionSet,\n rootValue: rootValue,\n execContext: execContext\n });\n };\n\n StoreReader.prototype.executeSelectionSet = function (_a) {\n var _this = this;\n\n var selectionSet = _a.selectionSet,\n rootValue = _a.rootValue,\n execContext = _a.execContext;\n var fragmentMap = execContext.fragmentMap,\n contextValue = execContext.contextValue,\n variables = execContext.variableValues;\n var finalResult = {\n result: null\n };\n var objectsToMerge = [];\n var object = contextValue.store.get(rootValue.id);\n var typename = object && object.__typename || rootValue.id === 'ROOT_QUERY' && 'Query' || void 0;\n\n function handleMissing(result) {\n var _a;\n\n if (result.missing) {\n finalResult.missing = finalResult.missing || [];\n\n (_a = finalResult.missing).push.apply(_a, result.missing);\n }\n\n return result.result;\n }\n\n selectionSet.selections.forEach(function (selection) {\n var _a;\n\n if (!shouldInclude(selection, variables)) {\n return;\n }\n\n if (isField(selection)) {\n var fieldResult = handleMissing(_this.executeField(object, typename, selection, execContext));\n\n if (typeof fieldResult !== 'undefined') {\n objectsToMerge.push((_a = {}, _a[resultKeyNameFromField(selection)] = fieldResult, _a));\n }\n } else {\n var fragment = void 0;\n\n if (isInlineFragment(selection)) {\n fragment = selection;\n } else {\n fragment = fragmentMap[selection.name.value];\n\n if (!fragment) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(9) : new InvariantError(\"No fragment named \" + selection.name.value);\n }\n }\n\n var typeCondition = fragment.typeCondition && fragment.typeCondition.name.value;\n var match = !typeCondition || execContext.fragmentMatcher(rootValue, typeCondition, contextValue);\n\n if (match) {\n var fragmentExecResult = _this.executeSelectionSet({\n selectionSet: fragment.selectionSet,\n rootValue: rootValue,\n execContext: execContext\n });\n\n if (match === 'heuristic' && fragmentExecResult.missing) {\n fragmentExecResult = __assign(__assign({}, fragmentExecResult), {\n missing: fragmentExecResult.missing.map(function (info) {\n return __assign(__assign({}, info), {\n tolerable: true\n });\n })\n });\n }\n\n objectsToMerge.push(handleMissing(fragmentExecResult));\n }\n }\n });\n finalResult.result = mergeDeepArray(objectsToMerge);\n\n if (this.freezeResults && process.env.NODE_ENV !== 'production') {\n Object.freeze(finalResult.result);\n }\n\n return finalResult;\n };\n\n StoreReader.prototype.executeField = function (object, typename, field, execContext) {\n var variables = execContext.variableValues,\n contextValue = execContext.contextValue;\n var fieldName = field.name.value;\n var args = argumentsObjectFromField(field, variables);\n var info = {\n resultKey: resultKeyNameFromField(field),\n directives: getDirectiveInfoFromField(field, variables)\n };\n var readStoreResult = readStoreResolver(object, typename, fieldName, args, contextValue, info);\n\n if (Array.isArray(readStoreResult.result)) {\n return this.combineExecResults(readStoreResult, this.executeSubSelectedArray({\n field: field,\n array: readStoreResult.result,\n execContext: execContext\n }));\n }\n\n if (!field.selectionSet) {\n assertSelectionSetForIdValue(field, readStoreResult.result);\n\n if (this.freezeResults && process.env.NODE_ENV !== 'production') {\n maybeDeepFreeze(readStoreResult);\n }\n\n return readStoreResult;\n }\n\n if (readStoreResult.result == null) {\n return readStoreResult;\n }\n\n return this.combineExecResults(readStoreResult, this.executeSelectionSet({\n selectionSet: field.selectionSet,\n rootValue: readStoreResult.result,\n execContext: execContext\n }));\n };\n\n StoreReader.prototype.combineExecResults = function () {\n var execResults = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n execResults[_i] = arguments[_i];\n }\n\n var missing;\n execResults.forEach(function (execResult) {\n if (execResult.missing) {\n missing = missing || [];\n missing.push.apply(missing, execResult.missing);\n }\n });\n return {\n result: execResults.pop().result,\n missing: missing\n };\n };\n\n StoreReader.prototype.executeSubSelectedArray = function (_a) {\n var _this = this;\n\n var field = _a.field,\n array = _a.array,\n execContext = _a.execContext;\n var missing;\n\n function handleMissing(childResult) {\n if (childResult.missing) {\n missing = missing || [];\n missing.push.apply(missing, childResult.missing);\n }\n\n return childResult.result;\n }\n\n array = array.map(function (item) {\n if (item === null) {\n return null;\n }\n\n if (Array.isArray(item)) {\n return handleMissing(_this.executeSubSelectedArray({\n field: field,\n array: item,\n execContext: execContext\n }));\n }\n\n if (field.selectionSet) {\n return handleMissing(_this.executeSelectionSet({\n selectionSet: field.selectionSet,\n rootValue: item,\n execContext: execContext\n }));\n }\n\n assertSelectionSetForIdValue(field, item);\n return item;\n });\n\n if (this.freezeResults && process.env.NODE_ENV !== 'production') {\n Object.freeze(array);\n }\n\n return {\n result: array,\n missing: missing\n };\n };\n\n return StoreReader;\n}();\n\nfunction assertSelectionSetForIdValue(field, value) {\n if (!field.selectionSet && isIdValue(value)) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(10) : new InvariantError(\"Missing selection set for object of type \" + value.typename + \" returned for query field \" + field.name.value);\n }\n}\n\nfunction defaultFragmentMatcher() {\n return true;\n}\n\nfunction assertIdValue(idValue) {\n process.env.NODE_ENV === \"production\" ? invariant(isIdValue(idValue), 11) : invariant(isIdValue(idValue), \"Encountered a sub-selection on the query, but the store doesn't have an object reference. This should never happen during normal use unless you have custom code that is directly manipulating the store; please file an issue.\");\n}\n\nfunction readStoreResolver(object, typename, fieldName, args, context, _a) {\n var resultKey = _a.resultKey,\n directives = _a.directives;\n var storeKeyName = fieldName;\n\n if (args || directives) {\n storeKeyName = getStoreKeyName(storeKeyName, args, directives);\n }\n\n var fieldValue = void 0;\n\n if (object) {\n fieldValue = object[storeKeyName];\n\n if (typeof fieldValue === 'undefined' && context.cacheRedirects && typeof typename === 'string') {\n var type = context.cacheRedirects[typename];\n\n if (type) {\n var resolver = type[fieldName];\n\n if (resolver) {\n fieldValue = resolver(object, args, {\n getCacheKey: function getCacheKey(storeObj) {\n var id = context.dataIdFromObject(storeObj);\n return id && toIdValue({\n id: id,\n typename: storeObj.__typename\n });\n }\n });\n }\n }\n }\n }\n\n if (typeof fieldValue === 'undefined') {\n return {\n result: fieldValue,\n missing: [{\n object: object,\n fieldName: storeKeyName,\n tolerable: false\n }]\n };\n }\n\n if (isJsonValue(fieldValue)) {\n fieldValue = fieldValue.json;\n }\n\n return {\n result: fieldValue\n };\n}\n\nvar ObjectCache = function () {\n function ObjectCache(data) {\n if (data === void 0) {\n data = Object.create(null);\n }\n\n this.data = data;\n }\n\n ObjectCache.prototype.toObject = function () {\n return this.data;\n };\n\n ObjectCache.prototype.get = function (dataId) {\n return this.data[dataId];\n };\n\n ObjectCache.prototype.set = function (dataId, value) {\n this.data[dataId] = value;\n };\n\n ObjectCache.prototype[\"delete\"] = function (dataId) {\n this.data[dataId] = void 0;\n };\n\n ObjectCache.prototype.clear = function () {\n this.data = Object.create(null);\n };\n\n ObjectCache.prototype.replace = function (newData) {\n this.data = newData || Object.create(null);\n };\n\n return ObjectCache;\n}();\n\nfunction defaultNormalizedCacheFactory$1(seed) {\n return new ObjectCache(seed);\n}\n\nvar WriteError = function (_super) {\n __extends(WriteError, _super);\n\n function WriteError() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = 'WriteError';\n return _this;\n }\n\n return WriteError;\n}(Error);\n\nfunction enhanceErrorWithDocument(error, document) {\n var enhancedError = new WriteError(\"Error writing result to store for query:\\n \" + JSON.stringify(document));\n enhancedError.message += '\\n' + error.message;\n enhancedError.stack = error.stack;\n return enhancedError;\n}\n\nvar StoreWriter = function () {\n function StoreWriter() {}\n\n StoreWriter.prototype.writeQueryToStore = function (_a) {\n var query = _a.query,\n result = _a.result,\n _b = _a.store,\n store = _b === void 0 ? defaultNormalizedCacheFactory() : _b,\n variables = _a.variables,\n dataIdFromObject = _a.dataIdFromObject,\n fragmentMatcherFunction = _a.fragmentMatcherFunction;\n return this.writeResultToStore({\n dataId: 'ROOT_QUERY',\n result: result,\n document: query,\n store: store,\n variables: variables,\n dataIdFromObject: dataIdFromObject,\n fragmentMatcherFunction: fragmentMatcherFunction\n });\n };\n\n StoreWriter.prototype.writeResultToStore = function (_a) {\n var dataId = _a.dataId,\n result = _a.result,\n document = _a.document,\n _b = _a.store,\n store = _b === void 0 ? defaultNormalizedCacheFactory() : _b,\n variables = _a.variables,\n dataIdFromObject = _a.dataIdFromObject,\n fragmentMatcherFunction = _a.fragmentMatcherFunction;\n var operationDefinition = getOperationDefinition(document);\n\n try {\n return this.writeSelectionSetToStore({\n result: result,\n dataId: dataId,\n selectionSet: operationDefinition.selectionSet,\n context: {\n store: store,\n processedData: {},\n variables: assign({}, getDefaultValues(operationDefinition), variables),\n dataIdFromObject: dataIdFromObject,\n fragmentMap: createFragmentMap(getFragmentDefinitions(document)),\n fragmentMatcherFunction: fragmentMatcherFunction\n }\n });\n } catch (e) {\n throw enhanceErrorWithDocument(e, document);\n }\n };\n\n StoreWriter.prototype.writeSelectionSetToStore = function (_a) {\n var _this = this;\n\n var result = _a.result,\n dataId = _a.dataId,\n selectionSet = _a.selectionSet,\n context = _a.context;\n var variables = context.variables,\n store = context.store,\n fragmentMap = context.fragmentMap;\n selectionSet.selections.forEach(function (selection) {\n var _a;\n\n if (!shouldInclude(selection, variables)) {\n return;\n }\n\n if (isField(selection)) {\n var resultFieldKey = resultKeyNameFromField(selection);\n var value = result[resultFieldKey];\n\n if (typeof value !== 'undefined') {\n _this.writeFieldToStore({\n dataId: dataId,\n value: value,\n field: selection,\n context: context\n });\n } else {\n var isDefered = false;\n var isClient = false;\n\n if (selection.directives && selection.directives.length) {\n isDefered = selection.directives.some(function (directive) {\n return directive.name && directive.name.value === 'defer';\n });\n isClient = selection.directives.some(function (directive) {\n return directive.name && directive.name.value === 'client';\n });\n }\n\n if (!isDefered && !isClient && context.fragmentMatcherFunction) {\n process.env.NODE_ENV === \"production\" || invariant.warn(\"Missing field \" + resultFieldKey + \" in \" + JSON.stringify(result, null, 2).substring(0, 100));\n }\n }\n } else {\n var fragment = void 0;\n\n if (isInlineFragment(selection)) {\n fragment = selection;\n } else {\n fragment = (fragmentMap || {})[selection.name.value];\n process.env.NODE_ENV === \"production\" ? invariant(fragment, 3) : invariant(fragment, \"No fragment named \" + selection.name.value + \".\");\n }\n\n var matches = true;\n\n if (context.fragmentMatcherFunction && fragment.typeCondition) {\n var id = dataId || 'self';\n var idValue = toIdValue({\n id: id,\n typename: undefined\n });\n var fakeContext = {\n store: new ObjectCache((_a = {}, _a[id] = result, _a)),\n cacheRedirects: {}\n };\n var match = context.fragmentMatcherFunction(idValue, fragment.typeCondition.name.value, fakeContext);\n\n if (!isProduction() && match === 'heuristic') {\n process.env.NODE_ENV === \"production\" || invariant.error('WARNING: heuristic fragment matching going on!');\n }\n\n matches = !!match;\n }\n\n if (matches) {\n _this.writeSelectionSetToStore({\n result: result,\n selectionSet: fragment.selectionSet,\n dataId: dataId,\n context: context\n });\n }\n }\n });\n return store;\n };\n\n StoreWriter.prototype.writeFieldToStore = function (_a) {\n var _b;\n\n var field = _a.field,\n value = _a.value,\n dataId = _a.dataId,\n context = _a.context;\n var variables = context.variables,\n dataIdFromObject = context.dataIdFromObject,\n store = context.store;\n var storeValue;\n var storeObject;\n var storeFieldName = storeKeyNameFromField(field, variables);\n\n if (!field.selectionSet || value === null) {\n storeValue = value != null && _typeof(value) === 'object' ? {\n type: 'json',\n json: value\n } : value;\n } else if (Array.isArray(value)) {\n var generatedId = dataId + \".\" + storeFieldName;\n storeValue = this.processArrayValue(value, generatedId, field.selectionSet, context);\n } else {\n var valueDataId = dataId + \".\" + storeFieldName;\n var generated = true;\n\n if (!isGeneratedId(valueDataId)) {\n valueDataId = '$' + valueDataId;\n }\n\n if (dataIdFromObject) {\n var semanticId = dataIdFromObject(value);\n process.env.NODE_ENV === \"production\" ? invariant(!semanticId || !isGeneratedId(semanticId), 4) : invariant(!semanticId || !isGeneratedId(semanticId), 'IDs returned by dataIdFromObject cannot begin with the \"$\" character.');\n\n if (semanticId || typeof semanticId === 'number' && semanticId === 0) {\n valueDataId = semanticId;\n generated = false;\n }\n }\n\n if (!isDataProcessed(valueDataId, field, context.processedData)) {\n this.writeSelectionSetToStore({\n dataId: valueDataId,\n result: value,\n selectionSet: field.selectionSet,\n context: context\n });\n }\n\n var typename = value.__typename;\n storeValue = toIdValue({\n id: valueDataId,\n typename: typename\n }, generated);\n storeObject = store.get(dataId);\n var escapedId = storeObject && storeObject[storeFieldName];\n\n if (escapedId !== storeValue && isIdValue(escapedId)) {\n var hadTypename = escapedId.typename !== undefined;\n var hasTypename = typename !== undefined;\n var typenameChanged = hadTypename && hasTypename && escapedId.typename !== typename;\n process.env.NODE_ENV === \"production\" ? invariant(!generated || escapedId.generated || typenameChanged, 5) : invariant(!generated || escapedId.generated || typenameChanged, \"Store error: the application attempted to write an object with no provided id but the store already contains an id of \" + escapedId.id + \" for this object. The selectionSet that was trying to be written is:\\n\" + JSON.stringify(field));\n process.env.NODE_ENV === \"production\" ? invariant(!hadTypename || hasTypename, 6) : invariant(!hadTypename || hasTypename, \"Store error: the application attempted to write an object with no provided typename but the store already contains an object with typename of \" + escapedId.typename + \" for the object of id \" + escapedId.id + \". The selectionSet that was trying to be written is:\\n\" + JSON.stringify(field));\n\n if (escapedId.generated) {\n if (typenameChanged) {\n if (!generated) {\n store[\"delete\"](escapedId.id);\n }\n } else {\n mergeWithGenerated(escapedId.id, storeValue.id, store);\n }\n }\n }\n }\n\n storeObject = store.get(dataId);\n\n if (!storeObject || !isEqual(storeValue, storeObject[storeFieldName])) {\n store.set(dataId, __assign(__assign({}, storeObject), (_b = {}, _b[storeFieldName] = storeValue, _b)));\n }\n };\n\n StoreWriter.prototype.processArrayValue = function (value, generatedId, selectionSet, context) {\n var _this = this;\n\n return value.map(function (item, index) {\n if (item === null) {\n return null;\n }\n\n var itemDataId = generatedId + \".\" + index;\n\n if (Array.isArray(item)) {\n return _this.processArrayValue(item, itemDataId, selectionSet, context);\n }\n\n var generated = true;\n\n if (context.dataIdFromObject) {\n var semanticId = context.dataIdFromObject(item);\n\n if (semanticId) {\n itemDataId = semanticId;\n generated = false;\n }\n }\n\n if (!isDataProcessed(itemDataId, selectionSet, context.processedData)) {\n _this.writeSelectionSetToStore({\n dataId: itemDataId,\n result: item,\n selectionSet: selectionSet,\n context: context\n });\n }\n\n return toIdValue({\n id: itemDataId,\n typename: item.__typename\n }, generated);\n });\n };\n\n return StoreWriter;\n}();\n\nfunction isGeneratedId(id) {\n return id[0] === '$';\n}\n\nfunction mergeWithGenerated(generatedKey, realKey, cache) {\n if (generatedKey === realKey) {\n return false;\n }\n\n var generated = cache.get(generatedKey);\n var real = cache.get(realKey);\n var madeChanges = false;\n Object.keys(generated).forEach(function (key) {\n var value = generated[key];\n var realValue = real[key];\n\n if (isIdValue(value) && isGeneratedId(value.id) && isIdValue(realValue) && !isEqual(value, realValue) && mergeWithGenerated(value.id, realValue.id, cache)) {\n madeChanges = true;\n }\n });\n cache[\"delete\"](generatedKey);\n\n var newRealValue = __assign(__assign({}, generated), real);\n\n if (isEqual(newRealValue, real)) {\n return madeChanges;\n }\n\n cache.set(realKey, newRealValue);\n return true;\n}\n\nfunction isDataProcessed(dataId, field, processedData) {\n if (!processedData) {\n return false;\n }\n\n if (processedData[dataId]) {\n if (processedData[dataId].indexOf(field) >= 0) {\n return true;\n } else {\n processedData[dataId].push(field);\n }\n } else {\n processedData[dataId] = [field];\n }\n\n return false;\n}\n\nvar defaultConfig = {\n fragmentMatcher: new HeuristicFragmentMatcher(),\n dataIdFromObject: defaultDataIdFromObject,\n addTypename: true,\n resultCaching: true,\n freezeResults: false\n};\n\nfunction defaultDataIdFromObject(result) {\n if (result.__typename) {\n if (result.id !== undefined) {\n return result.__typename + \":\" + result.id;\n }\n\n if (result._id !== undefined) {\n return result.__typename + \":\" + result._id;\n }\n }\n\n return null;\n}\n\nvar hasOwn$1 = Object.prototype.hasOwnProperty;\n\nvar OptimisticCacheLayer = function (_super) {\n __extends(OptimisticCacheLayer, _super);\n\n function OptimisticCacheLayer(optimisticId, parent, transaction) {\n var _this = _super.call(this, Object.create(null)) || this;\n\n _this.optimisticId = optimisticId;\n _this.parent = parent;\n _this.transaction = transaction;\n return _this;\n }\n\n OptimisticCacheLayer.prototype.toObject = function () {\n return __assign(__assign({}, this.parent.toObject()), this.data);\n };\n\n OptimisticCacheLayer.prototype.get = function (dataId) {\n return hasOwn$1.call(this.data, dataId) ? this.data[dataId] : this.parent.get(dataId);\n };\n\n return OptimisticCacheLayer;\n}(ObjectCache);\n\nvar InMemoryCache = function (_super) {\n __extends(InMemoryCache, _super);\n\n function InMemoryCache(config) {\n if (config === void 0) {\n config = {};\n }\n\n var _this = _super.call(this) || this;\n\n _this.watches = new Set();\n _this.typenameDocumentCache = new Map();\n _this.cacheKeyRoot = new KeyTrie(canUseWeakMap);\n _this.silenceBroadcast = false;\n _this.config = __assign(__assign({}, defaultConfig), config);\n\n if (_this.config.customResolvers) {\n process.env.NODE_ENV === \"production\" || invariant.warn('customResolvers have been renamed to cacheRedirects. Please update your config as we will be deprecating customResolvers in the next major version.');\n _this.config.cacheRedirects = _this.config.customResolvers;\n }\n\n if (_this.config.cacheResolvers) {\n process.env.NODE_ENV === \"production\" || invariant.warn('cacheResolvers have been renamed to cacheRedirects. Please update your config as we will be deprecating cacheResolvers in the next major version.');\n _this.config.cacheRedirects = _this.config.cacheResolvers;\n }\n\n _this.addTypename = !!_this.config.addTypename;\n _this.data = _this.config.resultCaching ? new DepTrackingCache() : new ObjectCache();\n _this.optimisticData = _this.data;\n _this.storeWriter = new StoreWriter();\n _this.storeReader = new StoreReader({\n cacheKeyRoot: _this.cacheKeyRoot,\n freezeResults: config.freezeResults\n });\n var cache = _this;\n var maybeBroadcastWatch = cache.maybeBroadcastWatch;\n _this.maybeBroadcastWatch = wrap(function (c) {\n return maybeBroadcastWatch.call(_this, c);\n }, {\n makeCacheKey: function makeCacheKey(c) {\n if (c.optimistic) {\n return;\n }\n\n if (c.previousResult) {\n return;\n }\n\n if (cache.data instanceof DepTrackingCache) {\n return cache.cacheKeyRoot.lookup(c.query, JSON.stringify(c.variables));\n }\n }\n });\n return _this;\n }\n\n InMemoryCache.prototype.restore = function (data) {\n if (data) this.data.replace(data);\n return this;\n };\n\n InMemoryCache.prototype.extract = function (optimistic) {\n if (optimistic === void 0) {\n optimistic = false;\n }\n\n return (optimistic ? this.optimisticData : this.data).toObject();\n };\n\n InMemoryCache.prototype.read = function (options) {\n if (typeof options.rootId === 'string' && typeof this.data.get(options.rootId) === 'undefined') {\n return null;\n }\n\n var fragmentMatcher = this.config.fragmentMatcher;\n var fragmentMatcherFunction = fragmentMatcher && fragmentMatcher.match;\n return this.storeReader.readQueryFromStore({\n store: options.optimistic ? this.optimisticData : this.data,\n query: this.transformDocument(options.query),\n variables: options.variables,\n rootId: options.rootId,\n fragmentMatcherFunction: fragmentMatcherFunction,\n previousResult: options.previousResult,\n config: this.config\n }) || null;\n };\n\n InMemoryCache.prototype.write = function (write) {\n var fragmentMatcher = this.config.fragmentMatcher;\n var fragmentMatcherFunction = fragmentMatcher && fragmentMatcher.match;\n this.storeWriter.writeResultToStore({\n dataId: write.dataId,\n result: write.result,\n variables: write.variables,\n document: this.transformDocument(write.query),\n store: this.data,\n dataIdFromObject: this.config.dataIdFromObject,\n fragmentMatcherFunction: fragmentMatcherFunction\n });\n this.broadcastWatches();\n };\n\n InMemoryCache.prototype.diff = function (query) {\n var fragmentMatcher = this.config.fragmentMatcher;\n var fragmentMatcherFunction = fragmentMatcher && fragmentMatcher.match;\n return this.storeReader.diffQueryAgainstStore({\n store: query.optimistic ? this.optimisticData : this.data,\n query: this.transformDocument(query.query),\n variables: query.variables,\n returnPartialData: query.returnPartialData,\n previousResult: query.previousResult,\n fragmentMatcherFunction: fragmentMatcherFunction,\n config: this.config\n });\n };\n\n InMemoryCache.prototype.watch = function (watch) {\n var _this = this;\n\n this.watches.add(watch);\n return function () {\n _this.watches[\"delete\"](watch);\n };\n };\n\n InMemoryCache.prototype.evict = function (query) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(7) : new InvariantError(\"eviction is not implemented on InMemory Cache\");\n };\n\n InMemoryCache.prototype.reset = function () {\n this.data.clear();\n this.broadcastWatches();\n return Promise.resolve();\n };\n\n InMemoryCache.prototype.removeOptimistic = function (idToRemove) {\n var toReapply = [];\n var removedCount = 0;\n var layer = this.optimisticData;\n\n while (layer instanceof OptimisticCacheLayer) {\n if (layer.optimisticId === idToRemove) {\n ++removedCount;\n } else {\n toReapply.push(layer);\n }\n\n layer = layer.parent;\n }\n\n if (removedCount > 0) {\n this.optimisticData = layer;\n\n while (toReapply.length > 0) {\n var layer_1 = toReapply.pop();\n this.performTransaction(layer_1.transaction, layer_1.optimisticId);\n }\n\n this.broadcastWatches();\n }\n };\n\n InMemoryCache.prototype.performTransaction = function (transaction, optimisticId) {\n var _a = this,\n data = _a.data,\n silenceBroadcast = _a.silenceBroadcast;\n\n this.silenceBroadcast = true;\n\n if (typeof optimisticId === 'string') {\n this.data = this.optimisticData = new OptimisticCacheLayer(optimisticId, this.optimisticData, transaction);\n }\n\n try {\n transaction(this);\n } finally {\n this.silenceBroadcast = silenceBroadcast;\n this.data = data;\n }\n\n this.broadcastWatches();\n };\n\n InMemoryCache.prototype.recordOptimisticTransaction = function (transaction, id) {\n return this.performTransaction(transaction, id);\n };\n\n InMemoryCache.prototype.transformDocument = function (document) {\n if (this.addTypename) {\n var result = this.typenameDocumentCache.get(document);\n\n if (!result) {\n result = addTypenameToDocument(document);\n this.typenameDocumentCache.set(document, result);\n this.typenameDocumentCache.set(result, result);\n }\n\n return result;\n }\n\n return document;\n };\n\n InMemoryCache.prototype.broadcastWatches = function () {\n var _this = this;\n\n if (!this.silenceBroadcast) {\n this.watches.forEach(function (c) {\n return _this.maybeBroadcastWatch(c);\n });\n }\n };\n\n InMemoryCache.prototype.maybeBroadcastWatch = function (c) {\n c.callback(this.diff({\n query: c.query,\n variables: c.variables,\n previousResult: c.previousResult && c.previousResult(),\n optimistic: c.optimistic\n }));\n };\n\n return InMemoryCache;\n}(ApolloCache);\n\nexport { HeuristicFragmentMatcher, InMemoryCache, IntrospectionFragmentMatcher, ObjectCache, StoreReader, StoreWriter, WriteError, assertIdValue, defaultDataIdFromObject, defaultNormalizedCacheFactory$1 as defaultNormalizedCacheFactory, enhanceErrorWithDocument };","import { __extends, __assign, __awaiter, __generator } from 'tslib';\nimport { getOperationDefinition, isEqual, tryFunctionOrLogError, cloneDeep, mergeDeep, hasDirectives, removeClientSetsFromDocument, buildQueryFromSelectionSet, getMainDefinition, getFragmentDefinitions, createFragmentMap, mergeDeepArray, resultKeyNameFromField, argumentsObjectFromField, shouldInclude, isField, isInlineFragment, canUseWeakMap, graphQLResultHasError, removeConnectionDirectiveFromDocument, hasClientExports, getDefaultValues, getOperationName } from 'apollo-utilities';\nimport { Observable as Observable$1, execute, ApolloLink } from 'apollo-link';\nimport $$observable from 'symbol-observable';\nimport { InvariantError, invariant } from 'ts-invariant';\nimport { visit, BREAK } from 'graphql/language/visitor';\nvar NetworkStatus;\n\n(function (NetworkStatus) {\n NetworkStatus[NetworkStatus[\"loading\"] = 1] = \"loading\";\n NetworkStatus[NetworkStatus[\"setVariables\"] = 2] = \"setVariables\";\n NetworkStatus[NetworkStatus[\"fetchMore\"] = 3] = \"fetchMore\";\n NetworkStatus[NetworkStatus[\"refetch\"] = 4] = \"refetch\";\n NetworkStatus[NetworkStatus[\"poll\"] = 6] = \"poll\";\n NetworkStatus[NetworkStatus[\"ready\"] = 7] = \"ready\";\n NetworkStatus[NetworkStatus[\"error\"] = 8] = \"error\";\n})(NetworkStatus || (NetworkStatus = {}));\n\nfunction isNetworkRequestInFlight(networkStatus) {\n return networkStatus < 7;\n}\n\nvar Observable = function (_super) {\n __extends(Observable, _super);\n\n function Observable() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n Observable.prototype[$$observable] = function () {\n return this;\n };\n\n Observable.prototype['@@observable'] = function () {\n return this;\n };\n\n return Observable;\n}(Observable$1);\n\nfunction isNonEmptyArray(value) {\n return Array.isArray(value) && value.length > 0;\n}\n\nfunction isApolloError(err) {\n return err.hasOwnProperty('graphQLErrors');\n}\n\nvar generateErrorMessage = function generateErrorMessage(err) {\n var message = '';\n\n if (isNonEmptyArray(err.graphQLErrors)) {\n err.graphQLErrors.forEach(function (graphQLError) {\n var errorMessage = graphQLError ? graphQLError.message : 'Error message not found.';\n message += \"GraphQL error: \" + errorMessage + \"\\n\";\n });\n }\n\n if (err.networkError) {\n message += 'Network error: ' + err.networkError.message + '\\n';\n }\n\n message = message.replace(/\\n$/, '');\n return message;\n};\n\nvar ApolloError = function (_super) {\n __extends(ApolloError, _super);\n\n function ApolloError(_a) {\n var graphQLErrors = _a.graphQLErrors,\n networkError = _a.networkError,\n errorMessage = _a.errorMessage,\n extraInfo = _a.extraInfo;\n\n var _this = _super.call(this, errorMessage) || this;\n\n _this.graphQLErrors = graphQLErrors || [];\n _this.networkError = networkError || null;\n\n if (!errorMessage) {\n _this.message = generateErrorMessage(_this);\n } else {\n _this.message = errorMessage;\n }\n\n _this.extraInfo = extraInfo;\n _this.__proto__ = ApolloError.prototype;\n return _this;\n }\n\n return ApolloError;\n}(Error);\n\nvar FetchType;\n\n(function (FetchType) {\n FetchType[FetchType[\"normal\"] = 1] = \"normal\";\n FetchType[FetchType[\"refetch\"] = 2] = \"refetch\";\n FetchType[FetchType[\"poll\"] = 3] = \"poll\";\n})(FetchType || (FetchType = {}));\n\nvar hasError = function hasError(storeValue, policy) {\n if (policy === void 0) {\n policy = 'none';\n }\n\n return storeValue && (storeValue.networkError || policy === 'none' && isNonEmptyArray(storeValue.graphQLErrors));\n};\n\nvar ObservableQuery = function (_super) {\n __extends(ObservableQuery, _super);\n\n function ObservableQuery(_a) {\n var queryManager = _a.queryManager,\n options = _a.options,\n _b = _a.shouldSubscribe,\n shouldSubscribe = _b === void 0 ? true : _b;\n\n var _this = _super.call(this, function (observer) {\n return _this.onSubscribe(observer);\n }) || this;\n\n _this.observers = new Set();\n _this.subscriptions = new Set();\n _this.isTornDown = false;\n _this.options = options;\n _this.variables = options.variables || {};\n _this.queryId = queryManager.generateQueryId();\n _this.shouldSubscribe = shouldSubscribe;\n var opDef = getOperationDefinition(options.query);\n _this.queryName = opDef && opDef.name && opDef.name.value;\n _this.queryManager = queryManager;\n return _this;\n }\n\n ObservableQuery.prototype.result = function () {\n var _this = this;\n\n return new Promise(function (resolve, reject) {\n var observer = {\n next: function next(result) {\n resolve(result);\n\n _this.observers[\"delete\"](observer);\n\n if (!_this.observers.size) {\n _this.queryManager.removeQuery(_this.queryId);\n }\n\n setTimeout(function () {\n subscription.unsubscribe();\n }, 0);\n },\n error: reject\n };\n\n var subscription = _this.subscribe(observer);\n });\n };\n\n ObservableQuery.prototype.currentResult = function () {\n var result = this.getCurrentResult();\n\n if (result.data === undefined) {\n result.data = {};\n }\n\n return result;\n };\n\n ObservableQuery.prototype.getCurrentResult = function () {\n if (this.isTornDown) {\n var lastResult = this.lastResult;\n return {\n data: !this.lastError && lastResult && lastResult.data || void 0,\n error: this.lastError,\n loading: false,\n networkStatus: NetworkStatus.error\n };\n }\n\n var _a = this.queryManager.getCurrentQueryResult(this),\n data = _a.data,\n partial = _a.partial;\n\n var queryStoreValue = this.queryManager.queryStore.get(this.queryId);\n var result;\n var fetchPolicy = this.options.fetchPolicy;\n var isNetworkFetchPolicy = fetchPolicy === 'network-only' || fetchPolicy === 'no-cache';\n\n if (queryStoreValue) {\n var networkStatus = queryStoreValue.networkStatus;\n\n if (hasError(queryStoreValue, this.options.errorPolicy)) {\n return {\n data: void 0,\n loading: false,\n networkStatus: networkStatus,\n error: new ApolloError({\n graphQLErrors: queryStoreValue.graphQLErrors,\n networkError: queryStoreValue.networkError\n })\n };\n }\n\n if (queryStoreValue.variables) {\n this.options.variables = __assign(__assign({}, this.options.variables), queryStoreValue.variables);\n this.variables = this.options.variables;\n }\n\n result = {\n data: data,\n loading: isNetworkRequestInFlight(networkStatus),\n networkStatus: networkStatus\n };\n\n if (queryStoreValue.graphQLErrors && this.options.errorPolicy === 'all') {\n result.errors = queryStoreValue.graphQLErrors;\n }\n } else {\n var loading = isNetworkFetchPolicy || partial && fetchPolicy !== 'cache-only';\n result = {\n data: data,\n loading: loading,\n networkStatus: loading ? NetworkStatus.loading : NetworkStatus.ready\n };\n }\n\n if (!partial) {\n this.updateLastResult(__assign(__assign({}, result), {\n stale: false\n }));\n }\n\n return __assign(__assign({}, result), {\n partial: partial\n });\n };\n\n ObservableQuery.prototype.isDifferentFromLastResult = function (newResult) {\n var snapshot = this.lastResultSnapshot;\n return !(snapshot && newResult && snapshot.networkStatus === newResult.networkStatus && snapshot.stale === newResult.stale && isEqual(snapshot.data, newResult.data));\n };\n\n ObservableQuery.prototype.getLastResult = function () {\n return this.lastResult;\n };\n\n ObservableQuery.prototype.getLastError = function () {\n return this.lastError;\n };\n\n ObservableQuery.prototype.resetLastResults = function () {\n delete this.lastResult;\n delete this.lastResultSnapshot;\n delete this.lastError;\n this.isTornDown = false;\n };\n\n ObservableQuery.prototype.resetQueryStoreErrors = function () {\n var queryStore = this.queryManager.queryStore.get(this.queryId);\n\n if (queryStore) {\n queryStore.networkError = null;\n queryStore.graphQLErrors = [];\n }\n };\n\n ObservableQuery.prototype.refetch = function (variables) {\n var fetchPolicy = this.options.fetchPolicy;\n\n if (fetchPolicy === 'cache-only') {\n return Promise.reject(process.env.NODE_ENV === \"production\" ? new InvariantError(1) : new InvariantError('cache-only fetchPolicy option should not be used together with query refetch.'));\n }\n\n if (fetchPolicy !== 'no-cache' && fetchPolicy !== 'cache-and-network') {\n fetchPolicy = 'network-only';\n }\n\n if (!isEqual(this.variables, variables)) {\n this.variables = __assign(__assign({}, this.variables), variables);\n }\n\n if (!isEqual(this.options.variables, this.variables)) {\n this.options.variables = __assign(__assign({}, this.options.variables), this.variables);\n }\n\n return this.queryManager.fetchQuery(this.queryId, __assign(__assign({}, this.options), {\n fetchPolicy: fetchPolicy\n }), FetchType.refetch);\n };\n\n ObservableQuery.prototype.fetchMore = function (fetchMoreOptions) {\n var _this = this;\n\n process.env.NODE_ENV === \"production\" ? invariant(fetchMoreOptions.updateQuery, 2) : invariant(fetchMoreOptions.updateQuery, 'updateQuery option is required. This function defines how to update the query data with the new results.');\n\n var combinedOptions = __assign(__assign({}, fetchMoreOptions.query ? fetchMoreOptions : __assign(__assign(__assign({}, this.options), fetchMoreOptions), {\n variables: __assign(__assign({}, this.variables), fetchMoreOptions.variables)\n })), {\n fetchPolicy: 'network-only'\n });\n\n var qid = this.queryManager.generateQueryId();\n return this.queryManager.fetchQuery(qid, combinedOptions, FetchType.normal, this.queryId).then(function (fetchMoreResult) {\n _this.updateQuery(function (previousResult) {\n return fetchMoreOptions.updateQuery(previousResult, {\n fetchMoreResult: fetchMoreResult.data,\n variables: combinedOptions.variables\n });\n });\n\n _this.queryManager.stopQuery(qid);\n\n return fetchMoreResult;\n }, function (error) {\n _this.queryManager.stopQuery(qid);\n\n throw error;\n });\n };\n\n ObservableQuery.prototype.subscribeToMore = function (options) {\n var _this = this;\n\n var subscription = this.queryManager.startGraphQLSubscription({\n query: options.document,\n variables: options.variables\n }).subscribe({\n next: function next(subscriptionData) {\n var updateQuery = options.updateQuery;\n\n if (updateQuery) {\n _this.updateQuery(function (previous, _a) {\n var variables = _a.variables;\n return updateQuery(previous, {\n subscriptionData: subscriptionData,\n variables: variables\n });\n });\n }\n },\n error: function error(err) {\n if (options.onError) {\n options.onError(err);\n return;\n }\n\n process.env.NODE_ENV === \"production\" || invariant.error('Unhandled GraphQL subscription error', err);\n }\n });\n this.subscriptions.add(subscription);\n return function () {\n if (_this.subscriptions[\"delete\"](subscription)) {\n subscription.unsubscribe();\n }\n };\n };\n\n ObservableQuery.prototype.setOptions = function (opts) {\n var oldFetchPolicy = this.options.fetchPolicy;\n this.options = __assign(__assign({}, this.options), opts);\n\n if (opts.pollInterval) {\n this.startPolling(opts.pollInterval);\n } else if (opts.pollInterval === 0) {\n this.stopPolling();\n }\n\n var fetchPolicy = opts.fetchPolicy;\n return this.setVariables(this.options.variables, oldFetchPolicy !== fetchPolicy && (oldFetchPolicy === 'cache-only' || oldFetchPolicy === 'standby' || fetchPolicy === 'network-only'), opts.fetchResults);\n };\n\n ObservableQuery.prototype.setVariables = function (variables, tryFetch, fetchResults) {\n if (tryFetch === void 0) {\n tryFetch = false;\n }\n\n if (fetchResults === void 0) {\n fetchResults = true;\n }\n\n this.isTornDown = false;\n variables = variables || this.variables;\n\n if (!tryFetch && isEqual(variables, this.variables)) {\n return this.observers.size && fetchResults ? this.result() : Promise.resolve();\n }\n\n this.variables = this.options.variables = variables;\n\n if (!this.observers.size) {\n return Promise.resolve();\n }\n\n return this.queryManager.fetchQuery(this.queryId, this.options);\n };\n\n ObservableQuery.prototype.updateQuery = function (mapFn) {\n var queryManager = this.queryManager;\n\n var _a = queryManager.getQueryWithPreviousResult(this.queryId),\n previousResult = _a.previousResult,\n variables = _a.variables,\n document = _a.document;\n\n var newResult = tryFunctionOrLogError(function () {\n return mapFn(previousResult, {\n variables: variables\n });\n });\n\n if (newResult) {\n queryManager.dataStore.markUpdateQueryResult(document, variables, newResult);\n queryManager.broadcastQueries();\n }\n };\n\n ObservableQuery.prototype.stopPolling = function () {\n this.queryManager.stopPollingQuery(this.queryId);\n this.options.pollInterval = undefined;\n };\n\n ObservableQuery.prototype.startPolling = function (pollInterval) {\n assertNotCacheFirstOrOnly(this);\n this.options.pollInterval = pollInterval;\n this.queryManager.startPollingQuery(this.options, this.queryId);\n };\n\n ObservableQuery.prototype.updateLastResult = function (newResult) {\n var previousResult = this.lastResult;\n this.lastResult = newResult;\n this.lastResultSnapshot = this.queryManager.assumeImmutableResults ? newResult : cloneDeep(newResult);\n return previousResult;\n };\n\n ObservableQuery.prototype.onSubscribe = function (observer) {\n var _this = this;\n\n try {\n var subObserver = observer._subscription._observer;\n\n if (subObserver && !subObserver.error) {\n subObserver.error = defaultSubscriptionObserverErrorCallback;\n }\n } catch (_a) {}\n\n var first = !this.observers.size;\n this.observers.add(observer);\n if (observer.next && this.lastResult) observer.next(this.lastResult);\n if (observer.error && this.lastError) observer.error(this.lastError);\n\n if (first) {\n this.setUpQuery();\n }\n\n return function () {\n if (_this.observers[\"delete\"](observer) && !_this.observers.size) {\n _this.tearDownQuery();\n }\n };\n };\n\n ObservableQuery.prototype.setUpQuery = function () {\n var _this = this;\n\n var _a = this,\n queryManager = _a.queryManager,\n queryId = _a.queryId;\n\n if (this.shouldSubscribe) {\n queryManager.addObservableQuery(queryId, this);\n }\n\n if (this.options.pollInterval) {\n assertNotCacheFirstOrOnly(this);\n queryManager.startPollingQuery(this.options, queryId);\n }\n\n var onError = function onError(error) {\n _this.updateLastResult(__assign(__assign({}, _this.lastResult), {\n errors: error.graphQLErrors,\n networkStatus: NetworkStatus.error,\n loading: false\n }));\n\n iterateObserversSafely(_this.observers, 'error', _this.lastError = error);\n };\n\n queryManager.observeQuery(queryId, this.options, {\n next: function next(result) {\n if (_this.lastError || _this.isDifferentFromLastResult(result)) {\n var previousResult_1 = _this.updateLastResult(result);\n\n var _a = _this.options,\n query_1 = _a.query,\n variables = _a.variables,\n fetchPolicy_1 = _a.fetchPolicy;\n\n if (queryManager.transform(query_1).hasClientExports) {\n queryManager.getLocalState().addExportedVariables(query_1, variables).then(function (variables) {\n var previousVariables = _this.variables;\n _this.variables = _this.options.variables = variables;\n\n if (!result.loading && previousResult_1 && fetchPolicy_1 !== 'cache-only' && queryManager.transform(query_1).serverQuery && !isEqual(previousVariables, variables)) {\n _this.refetch();\n } else {\n iterateObserversSafely(_this.observers, 'next', result);\n }\n });\n } else {\n iterateObserversSafely(_this.observers, 'next', result);\n }\n }\n },\n error: onError\n })[\"catch\"](onError);\n };\n\n ObservableQuery.prototype.tearDownQuery = function () {\n var queryManager = this.queryManager;\n this.isTornDown = true;\n queryManager.stopPollingQuery(this.queryId);\n this.subscriptions.forEach(function (sub) {\n return sub.unsubscribe();\n });\n this.subscriptions.clear();\n queryManager.removeObservableQuery(this.queryId);\n queryManager.stopQuery(this.queryId);\n this.observers.clear();\n };\n\n return ObservableQuery;\n}(Observable);\n\nfunction defaultSubscriptionObserverErrorCallback(error) {\n process.env.NODE_ENV === \"production\" || invariant.error('Unhandled error', error.message, error.stack);\n}\n\nfunction iterateObserversSafely(observers, method, argument) {\n var observersWithMethod = [];\n observers.forEach(function (obs) {\n return obs[method] && observersWithMethod.push(obs);\n });\n observersWithMethod.forEach(function (obs) {\n return obs[method](argument);\n });\n}\n\nfunction assertNotCacheFirstOrOnly(obsQuery) {\n var fetchPolicy = obsQuery.options.fetchPolicy;\n process.env.NODE_ENV === \"production\" ? invariant(fetchPolicy !== 'cache-first' && fetchPolicy !== 'cache-only', 3) : invariant(fetchPolicy !== 'cache-first' && fetchPolicy !== 'cache-only', 'Queries that specify the cache-first and cache-only fetchPolicies cannot also be polling queries.');\n}\n\nvar MutationStore = function () {\n function MutationStore() {\n this.store = {};\n }\n\n MutationStore.prototype.getStore = function () {\n return this.store;\n };\n\n MutationStore.prototype.get = function (mutationId) {\n return this.store[mutationId];\n };\n\n MutationStore.prototype.initMutation = function (mutationId, mutation, variables) {\n this.store[mutationId] = {\n mutation: mutation,\n variables: variables || {},\n loading: true,\n error: null\n };\n };\n\n MutationStore.prototype.markMutationError = function (mutationId, error) {\n var mutation = this.store[mutationId];\n\n if (mutation) {\n mutation.loading = false;\n mutation.error = error;\n }\n };\n\n MutationStore.prototype.markMutationResult = function (mutationId) {\n var mutation = this.store[mutationId];\n\n if (mutation) {\n mutation.loading = false;\n mutation.error = null;\n }\n };\n\n MutationStore.prototype.reset = function () {\n this.store = {};\n };\n\n return MutationStore;\n}();\n\nvar QueryStore = function () {\n function QueryStore() {\n this.store = {};\n }\n\n QueryStore.prototype.getStore = function () {\n return this.store;\n };\n\n QueryStore.prototype.get = function (queryId) {\n return this.store[queryId];\n };\n\n QueryStore.prototype.initQuery = function (query) {\n var previousQuery = this.store[query.queryId];\n process.env.NODE_ENV === \"production\" ? invariant(!previousQuery || previousQuery.document === query.document || isEqual(previousQuery.document, query.document), 19) : invariant(!previousQuery || previousQuery.document === query.document || isEqual(previousQuery.document, query.document), 'Internal Error: may not update existing query string in store');\n var isSetVariables = false;\n var previousVariables = null;\n\n if (query.storePreviousVariables && previousQuery && previousQuery.networkStatus !== NetworkStatus.loading) {\n if (!isEqual(previousQuery.variables, query.variables)) {\n isSetVariables = true;\n previousVariables = previousQuery.variables;\n }\n }\n\n var networkStatus;\n\n if (isSetVariables) {\n networkStatus = NetworkStatus.setVariables;\n } else if (query.isPoll) {\n networkStatus = NetworkStatus.poll;\n } else if (query.isRefetch) {\n networkStatus = NetworkStatus.refetch;\n } else {\n networkStatus = NetworkStatus.loading;\n }\n\n var graphQLErrors = [];\n\n if (previousQuery && previousQuery.graphQLErrors) {\n graphQLErrors = previousQuery.graphQLErrors;\n }\n\n this.store[query.queryId] = {\n document: query.document,\n variables: query.variables,\n previousVariables: previousVariables,\n networkError: null,\n graphQLErrors: graphQLErrors,\n networkStatus: networkStatus,\n metadata: query.metadata\n };\n\n if (typeof query.fetchMoreForQueryId === 'string' && this.store[query.fetchMoreForQueryId]) {\n this.store[query.fetchMoreForQueryId].networkStatus = NetworkStatus.fetchMore;\n }\n };\n\n QueryStore.prototype.markQueryResult = function (queryId, result, fetchMoreForQueryId) {\n if (!this.store || !this.store[queryId]) return;\n this.store[queryId].networkError = null;\n this.store[queryId].graphQLErrors = isNonEmptyArray(result.errors) ? result.errors : [];\n this.store[queryId].previousVariables = null;\n this.store[queryId].networkStatus = NetworkStatus.ready;\n\n if (typeof fetchMoreForQueryId === 'string' && this.store[fetchMoreForQueryId]) {\n this.store[fetchMoreForQueryId].networkStatus = NetworkStatus.ready;\n }\n };\n\n QueryStore.prototype.markQueryError = function (queryId, error, fetchMoreForQueryId) {\n if (!this.store || !this.store[queryId]) return;\n this.store[queryId].networkError = error;\n this.store[queryId].networkStatus = NetworkStatus.error;\n\n if (typeof fetchMoreForQueryId === 'string') {\n this.markQueryResultClient(fetchMoreForQueryId, true);\n }\n };\n\n QueryStore.prototype.markQueryResultClient = function (queryId, complete) {\n var storeValue = this.store && this.store[queryId];\n\n if (storeValue) {\n storeValue.networkError = null;\n storeValue.previousVariables = null;\n\n if (complete) {\n storeValue.networkStatus = NetworkStatus.ready;\n }\n }\n };\n\n QueryStore.prototype.stopQuery = function (queryId) {\n delete this.store[queryId];\n };\n\n QueryStore.prototype.reset = function (observableQueryIds) {\n var _this = this;\n\n Object.keys(this.store).forEach(function (queryId) {\n if (observableQueryIds.indexOf(queryId) < 0) {\n _this.stopQuery(queryId);\n } else {\n _this.store[queryId].networkStatus = NetworkStatus.loading;\n }\n });\n };\n\n return QueryStore;\n}();\n\nfunction capitalizeFirstLetter(str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nvar LocalState = function () {\n function LocalState(_a) {\n var cache = _a.cache,\n client = _a.client,\n resolvers = _a.resolvers,\n fragmentMatcher = _a.fragmentMatcher;\n this.cache = cache;\n\n if (client) {\n this.client = client;\n }\n\n if (resolvers) {\n this.addResolvers(resolvers);\n }\n\n if (fragmentMatcher) {\n this.setFragmentMatcher(fragmentMatcher);\n }\n }\n\n LocalState.prototype.addResolvers = function (resolvers) {\n var _this = this;\n\n this.resolvers = this.resolvers || {};\n\n if (Array.isArray(resolvers)) {\n resolvers.forEach(function (resolverGroup) {\n _this.resolvers = mergeDeep(_this.resolvers, resolverGroup);\n });\n } else {\n this.resolvers = mergeDeep(this.resolvers, resolvers);\n }\n };\n\n LocalState.prototype.setResolvers = function (resolvers) {\n this.resolvers = {};\n this.addResolvers(resolvers);\n };\n\n LocalState.prototype.getResolvers = function () {\n return this.resolvers || {};\n };\n\n LocalState.prototype.runResolvers = function (_a) {\n var document = _a.document,\n remoteResult = _a.remoteResult,\n context = _a.context,\n variables = _a.variables,\n _b = _a.onlyRunForcedResolvers,\n onlyRunForcedResolvers = _b === void 0 ? false : _b;\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_c) {\n if (document) {\n return [2, this.resolveDocument(document, remoteResult.data, context, variables, this.fragmentMatcher, onlyRunForcedResolvers).then(function (localResult) {\n return __assign(__assign({}, remoteResult), {\n data: localResult.result\n });\n })];\n }\n\n return [2, remoteResult];\n });\n });\n };\n\n LocalState.prototype.setFragmentMatcher = function (fragmentMatcher) {\n this.fragmentMatcher = fragmentMatcher;\n };\n\n LocalState.prototype.getFragmentMatcher = function () {\n return this.fragmentMatcher;\n };\n\n LocalState.prototype.clientQuery = function (document) {\n if (hasDirectives(['client'], document)) {\n if (this.resolvers) {\n return document;\n }\n\n process.env.NODE_ENV === \"production\" || invariant.warn('Found @client directives in a query but no ApolloClient resolvers ' + 'were specified. This means ApolloClient local resolver handling ' + 'has been disabled, and @client directives will be passed through ' + 'to your link chain.');\n }\n\n return null;\n };\n\n LocalState.prototype.serverQuery = function (document) {\n return this.resolvers ? removeClientSetsFromDocument(document) : document;\n };\n\n LocalState.prototype.prepareContext = function (context) {\n if (context === void 0) {\n context = {};\n }\n\n var cache = this.cache;\n\n var newContext = __assign(__assign({}, context), {\n cache: cache,\n getCacheKey: function getCacheKey(obj) {\n if (cache.config) {\n return cache.config.dataIdFromObject(obj);\n } else {\n process.env.NODE_ENV === \"production\" ? invariant(false, 6) : invariant(false, 'To use context.getCacheKey, you need to use a cache that has ' + 'a configurable dataIdFromObject, like apollo-cache-inmemory.');\n }\n }\n });\n\n return newContext;\n };\n\n LocalState.prototype.addExportedVariables = function (document, variables, context) {\n if (variables === void 0) {\n variables = {};\n }\n\n if (context === void 0) {\n context = {};\n }\n\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (document) {\n return [2, this.resolveDocument(document, this.buildRootValueFromCache(document, variables) || {}, this.prepareContext(context), variables).then(function (data) {\n return __assign(__assign({}, variables), data.exportedVariables);\n })];\n }\n\n return [2, __assign({}, variables)];\n });\n });\n };\n\n LocalState.prototype.shouldForceResolvers = function (document) {\n var forceResolvers = false;\n visit(document, {\n Directive: {\n enter: function enter(node) {\n if (node.name.value === 'client' && node.arguments) {\n forceResolvers = node.arguments.some(function (arg) {\n return arg.name.value === 'always' && arg.value.kind === 'BooleanValue' && arg.value.value === true;\n });\n\n if (forceResolvers) {\n return BREAK;\n }\n }\n }\n }\n });\n return forceResolvers;\n };\n\n LocalState.prototype.buildRootValueFromCache = function (document, variables) {\n return this.cache.diff({\n query: buildQueryFromSelectionSet(document),\n variables: variables,\n returnPartialData: true,\n optimistic: false\n }).result;\n };\n\n LocalState.prototype.resolveDocument = function (document, rootValue, context, variables, fragmentMatcher, onlyRunForcedResolvers) {\n if (context === void 0) {\n context = {};\n }\n\n if (variables === void 0) {\n variables = {};\n }\n\n if (fragmentMatcher === void 0) {\n fragmentMatcher = function fragmentMatcher() {\n return true;\n };\n }\n\n if (onlyRunForcedResolvers === void 0) {\n onlyRunForcedResolvers = false;\n }\n\n return __awaiter(this, void 0, void 0, function () {\n var mainDefinition, fragments, fragmentMap, definitionOperation, defaultOperationType, _a, cache, client, execContext;\n\n return __generator(this, function (_b) {\n mainDefinition = getMainDefinition(document);\n fragments = getFragmentDefinitions(document);\n fragmentMap = createFragmentMap(fragments);\n definitionOperation = mainDefinition.operation;\n defaultOperationType = definitionOperation ? capitalizeFirstLetter(definitionOperation) : 'Query';\n _a = this, cache = _a.cache, client = _a.client;\n execContext = {\n fragmentMap: fragmentMap,\n context: __assign(__assign({}, context), {\n cache: cache,\n client: client\n }),\n variables: variables,\n fragmentMatcher: fragmentMatcher,\n defaultOperationType: defaultOperationType,\n exportedVariables: {},\n onlyRunForcedResolvers: onlyRunForcedResolvers\n };\n return [2, this.resolveSelectionSet(mainDefinition.selectionSet, rootValue, execContext).then(function (result) {\n return {\n result: result,\n exportedVariables: execContext.exportedVariables\n };\n })];\n });\n });\n };\n\n LocalState.prototype.resolveSelectionSet = function (selectionSet, rootValue, execContext) {\n return __awaiter(this, void 0, void 0, function () {\n var fragmentMap, context, variables, resultsToMerge, execute;\n\n var _this = this;\n\n return __generator(this, function (_a) {\n fragmentMap = execContext.fragmentMap, context = execContext.context, variables = execContext.variables;\n resultsToMerge = [rootValue];\n\n execute = function execute(selection) {\n return __awaiter(_this, void 0, void 0, function () {\n var fragment, typeCondition;\n return __generator(this, function (_a) {\n if (!shouldInclude(selection, variables)) {\n return [2];\n }\n\n if (isField(selection)) {\n return [2, this.resolveField(selection, rootValue, execContext).then(function (fieldResult) {\n var _a;\n\n if (typeof fieldResult !== 'undefined') {\n resultsToMerge.push((_a = {}, _a[resultKeyNameFromField(selection)] = fieldResult, _a));\n }\n })];\n }\n\n if (isInlineFragment(selection)) {\n fragment = selection;\n } else {\n fragment = fragmentMap[selection.name.value];\n process.env.NODE_ENV === \"production\" ? invariant(fragment, 7) : invariant(fragment, \"No fragment named \" + selection.name.value);\n }\n\n if (fragment && fragment.typeCondition) {\n typeCondition = fragment.typeCondition.name.value;\n\n if (execContext.fragmentMatcher(rootValue, typeCondition, context)) {\n return [2, this.resolveSelectionSet(fragment.selectionSet, rootValue, execContext).then(function (fragmentResult) {\n resultsToMerge.push(fragmentResult);\n })];\n }\n }\n\n return [2];\n });\n });\n };\n\n return [2, Promise.all(selectionSet.selections.map(execute)).then(function () {\n return mergeDeepArray(resultsToMerge);\n })];\n });\n });\n };\n\n LocalState.prototype.resolveField = function (field, rootValue, execContext) {\n return __awaiter(this, void 0, void 0, function () {\n var variables, fieldName, aliasedFieldName, aliasUsed, defaultResult, resultPromise, resolverType, resolverMap, resolve;\n\n var _this = this;\n\n return __generator(this, function (_a) {\n variables = execContext.variables;\n fieldName = field.name.value;\n aliasedFieldName = resultKeyNameFromField(field);\n aliasUsed = fieldName !== aliasedFieldName;\n defaultResult = rootValue[aliasedFieldName] || rootValue[fieldName];\n resultPromise = Promise.resolve(defaultResult);\n\n if (!execContext.onlyRunForcedResolvers || this.shouldForceResolvers(field)) {\n resolverType = rootValue.__typename || execContext.defaultOperationType;\n resolverMap = this.resolvers && this.resolvers[resolverType];\n\n if (resolverMap) {\n resolve = resolverMap[aliasUsed ? fieldName : aliasedFieldName];\n\n if (resolve) {\n resultPromise = Promise.resolve(resolve(rootValue, argumentsObjectFromField(field, variables), execContext.context, {\n field: field,\n fragmentMap: execContext.fragmentMap\n }));\n }\n }\n }\n\n return [2, resultPromise.then(function (result) {\n if (result === void 0) {\n result = defaultResult;\n }\n\n if (field.directives) {\n field.directives.forEach(function (directive) {\n if (directive.name.value === 'export' && directive.arguments) {\n directive.arguments.forEach(function (arg) {\n if (arg.name.value === 'as' && arg.value.kind === 'StringValue') {\n execContext.exportedVariables[arg.value.value] = result;\n }\n });\n }\n });\n }\n\n if (!field.selectionSet) {\n return result;\n }\n\n if (result == null) {\n return result;\n }\n\n if (Array.isArray(result)) {\n return _this.resolveSubSelectedArray(field, result, execContext);\n }\n\n if (field.selectionSet) {\n return _this.resolveSelectionSet(field.selectionSet, result, execContext);\n }\n })];\n });\n });\n };\n\n LocalState.prototype.resolveSubSelectedArray = function (field, result, execContext) {\n var _this = this;\n\n return Promise.all(result.map(function (item) {\n if (item === null) {\n return null;\n }\n\n if (Array.isArray(item)) {\n return _this.resolveSubSelectedArray(field, item, execContext);\n }\n\n if (field.selectionSet) {\n return _this.resolveSelectionSet(field.selectionSet, item, execContext);\n }\n }));\n };\n\n return LocalState;\n}();\n\nfunction multiplex(inner) {\n var observers = new Set();\n var sub = null;\n return new Observable(function (observer) {\n observers.add(observer);\n sub = sub || inner.subscribe({\n next: function next(value) {\n observers.forEach(function (obs) {\n return obs.next && obs.next(value);\n });\n },\n error: function error(_error) {\n observers.forEach(function (obs) {\n return obs.error && obs.error(_error);\n });\n },\n complete: function complete() {\n observers.forEach(function (obs) {\n return obs.complete && obs.complete();\n });\n }\n });\n return function () {\n if (observers[\"delete\"](observer) && !observers.size && sub) {\n sub.unsubscribe();\n sub = null;\n }\n };\n });\n}\n\nfunction asyncMap(observable, mapFn) {\n return new Observable(function (observer) {\n var _next = observer.next,\n _error2 = observer.error,\n _complete = observer.complete;\n var activeNextCount = 0;\n var completed = false;\n var handler = {\n next: function next(value) {\n ++activeNextCount;\n new Promise(function (resolve) {\n resolve(mapFn(value));\n }).then(function (result) {\n --activeNextCount;\n _next && _next.call(observer, result);\n completed && handler.complete();\n }, function (e) {\n --activeNextCount;\n _error2 && _error2.call(observer, e);\n });\n },\n error: function error(e) {\n _error2 && _error2.call(observer, e);\n },\n complete: function complete() {\n completed = true;\n\n if (!activeNextCount) {\n _complete && _complete.call(observer);\n }\n }\n };\n var sub = observable.subscribe(handler);\n return function () {\n return sub.unsubscribe();\n };\n });\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar QueryManager = function () {\n function QueryManager(_a) {\n var link = _a.link,\n _b = _a.queryDeduplication,\n queryDeduplication = _b === void 0 ? false : _b,\n store = _a.store,\n _c = _a.onBroadcast,\n onBroadcast = _c === void 0 ? function () {\n return undefined;\n } : _c,\n _d = _a.ssrMode,\n ssrMode = _d === void 0 ? false : _d,\n _e = _a.clientAwareness,\n clientAwareness = _e === void 0 ? {} : _e,\n localState = _a.localState,\n assumeImmutableResults = _a.assumeImmutableResults;\n this.mutationStore = new MutationStore();\n this.queryStore = new QueryStore();\n this.clientAwareness = {};\n this.idCounter = 1;\n this.queries = new Map();\n this.fetchQueryRejectFns = new Map();\n this.transformCache = new (canUseWeakMap ? WeakMap : Map)();\n this.inFlightLinkObservables = new Map();\n this.pollingInfoByQueryId = new Map();\n this.link = link;\n this.queryDeduplication = queryDeduplication;\n this.dataStore = store;\n this.onBroadcast = onBroadcast;\n this.clientAwareness = clientAwareness;\n this.localState = localState || new LocalState({\n cache: store.getCache()\n });\n this.ssrMode = ssrMode;\n this.assumeImmutableResults = !!assumeImmutableResults;\n }\n\n QueryManager.prototype.stop = function () {\n var _this = this;\n\n this.queries.forEach(function (_info, queryId) {\n _this.stopQueryNoBroadcast(queryId);\n });\n this.fetchQueryRejectFns.forEach(function (reject) {\n reject(process.env.NODE_ENV === \"production\" ? new InvariantError(8) : new InvariantError('QueryManager stopped while query was in flight'));\n });\n };\n\n QueryManager.prototype.mutate = function (_a) {\n var mutation = _a.mutation,\n variables = _a.variables,\n optimisticResponse = _a.optimisticResponse,\n updateQueriesByName = _a.updateQueries,\n _b = _a.refetchQueries,\n refetchQueries = _b === void 0 ? [] : _b,\n _c = _a.awaitRefetchQueries,\n awaitRefetchQueries = _c === void 0 ? false : _c,\n updateWithProxyFn = _a.update,\n _d = _a.errorPolicy,\n errorPolicy = _d === void 0 ? 'none' : _d,\n fetchPolicy = _a.fetchPolicy,\n _e = _a.context,\n context = _e === void 0 ? {} : _e;\n return __awaiter(this, void 0, void 0, function () {\n var mutationId, generateUpdateQueriesInfo, self;\n\n var _this = this;\n\n return __generator(this, function (_f) {\n switch (_f.label) {\n case 0:\n process.env.NODE_ENV === \"production\" ? invariant(mutation, 9) : invariant(mutation, 'mutation option is required. You must specify your GraphQL document in the mutation option.');\n process.env.NODE_ENV === \"production\" ? invariant(!fetchPolicy || fetchPolicy === 'no-cache', 10) : invariant(!fetchPolicy || fetchPolicy === 'no-cache', \"Mutations only support a 'no-cache' fetchPolicy. If you don't want to disable the cache, remove your fetchPolicy setting to proceed with the default mutation behavior.\");\n mutationId = this.generateQueryId();\n mutation = this.transform(mutation).document;\n this.setQuery(mutationId, function () {\n return {\n document: mutation\n };\n });\n variables = this.getVariables(mutation, variables);\n if (!this.transform(mutation).hasClientExports) return [3, 2];\n return [4, this.localState.addExportedVariables(mutation, variables, context)];\n\n case 1:\n variables = _f.sent();\n _f.label = 2;\n\n case 2:\n generateUpdateQueriesInfo = function generateUpdateQueriesInfo() {\n var ret = {};\n\n if (updateQueriesByName) {\n _this.queries.forEach(function (_a, queryId) {\n var observableQuery = _a.observableQuery;\n\n if (observableQuery) {\n var queryName = observableQuery.queryName;\n\n if (queryName && hasOwnProperty.call(updateQueriesByName, queryName)) {\n ret[queryId] = {\n updater: updateQueriesByName[queryName],\n query: _this.queryStore.get(queryId)\n };\n }\n }\n });\n }\n\n return ret;\n };\n\n this.mutationStore.initMutation(mutationId, mutation, variables);\n this.dataStore.markMutationInit({\n mutationId: mutationId,\n document: mutation,\n variables: variables,\n updateQueries: generateUpdateQueriesInfo(),\n update: updateWithProxyFn,\n optimisticResponse: optimisticResponse\n });\n this.broadcastQueries();\n self = this;\n return [2, new Promise(function (resolve, reject) {\n var storeResult;\n var error;\n self.getObservableFromLink(mutation, __assign(__assign({}, context), {\n optimisticResponse: optimisticResponse\n }), variables, false).subscribe({\n next: function next(result) {\n if (graphQLResultHasError(result) && errorPolicy === 'none') {\n error = new ApolloError({\n graphQLErrors: result.errors\n });\n return;\n }\n\n self.mutationStore.markMutationResult(mutationId);\n\n if (fetchPolicy !== 'no-cache') {\n self.dataStore.markMutationResult({\n mutationId: mutationId,\n result: result,\n document: mutation,\n variables: variables,\n updateQueries: generateUpdateQueriesInfo(),\n update: updateWithProxyFn\n });\n }\n\n storeResult = result;\n },\n error: function error(err) {\n self.mutationStore.markMutationError(mutationId, err);\n self.dataStore.markMutationComplete({\n mutationId: mutationId,\n optimisticResponse: optimisticResponse\n });\n self.broadcastQueries();\n self.setQuery(mutationId, function () {\n return {\n document: null\n };\n });\n reject(new ApolloError({\n networkError: err\n }));\n },\n complete: function complete() {\n if (error) {\n self.mutationStore.markMutationError(mutationId, error);\n }\n\n self.dataStore.markMutationComplete({\n mutationId: mutationId,\n optimisticResponse: optimisticResponse\n });\n self.broadcastQueries();\n\n if (error) {\n reject(error);\n return;\n }\n\n if (typeof refetchQueries === 'function') {\n refetchQueries = refetchQueries(storeResult);\n }\n\n var refetchQueryPromises = [];\n\n if (isNonEmptyArray(refetchQueries)) {\n refetchQueries.forEach(function (refetchQuery) {\n if (typeof refetchQuery === 'string') {\n self.queries.forEach(function (_a) {\n var observableQuery = _a.observableQuery;\n\n if (observableQuery && observableQuery.queryName === refetchQuery) {\n refetchQueryPromises.push(observableQuery.refetch());\n }\n });\n } else {\n var queryOptions = {\n query: refetchQuery.query,\n variables: refetchQuery.variables,\n fetchPolicy: 'network-only'\n };\n\n if (refetchQuery.context) {\n queryOptions.context = refetchQuery.context;\n }\n\n refetchQueryPromises.push(self.query(queryOptions));\n }\n });\n }\n\n Promise.all(awaitRefetchQueries ? refetchQueryPromises : []).then(function () {\n self.setQuery(mutationId, function () {\n return {\n document: null\n };\n });\n\n if (errorPolicy === 'ignore' && storeResult && graphQLResultHasError(storeResult)) {\n delete storeResult.errors;\n }\n\n resolve(storeResult);\n });\n }\n });\n })];\n }\n });\n });\n };\n\n QueryManager.prototype.fetchQuery = function (queryId, options, fetchType, fetchMoreForQueryId) {\n return __awaiter(this, void 0, void 0, function () {\n var _a, metadata, _b, fetchPolicy, _c, context, query, variables, storeResult, isNetworkOnly, needToFetch, _d, complete, result, shouldFetch, requestId, cancel, networkResult;\n\n var _this = this;\n\n return __generator(this, function (_e) {\n switch (_e.label) {\n case 0:\n _a = options.metadata, metadata = _a === void 0 ? null : _a, _b = options.fetchPolicy, fetchPolicy = _b === void 0 ? 'cache-first' : _b, _c = options.context, context = _c === void 0 ? {} : _c;\n query = this.transform(options.query).document;\n variables = this.getVariables(query, options.variables);\n if (!this.transform(query).hasClientExports) return [3, 2];\n return [4, this.localState.addExportedVariables(query, variables, context)];\n\n case 1:\n variables = _e.sent();\n _e.label = 2;\n\n case 2:\n options = __assign(__assign({}, options), {\n variables: variables\n });\n isNetworkOnly = fetchPolicy === 'network-only' || fetchPolicy === 'no-cache';\n needToFetch = isNetworkOnly;\n\n if (!isNetworkOnly) {\n _d = this.dataStore.getCache().diff({\n query: query,\n variables: variables,\n returnPartialData: true,\n optimistic: false\n }), complete = _d.complete, result = _d.result;\n needToFetch = !complete || fetchPolicy === 'cache-and-network';\n storeResult = result;\n }\n\n shouldFetch = needToFetch && fetchPolicy !== 'cache-only' && fetchPolicy !== 'standby';\n if (hasDirectives(['live'], query)) shouldFetch = true;\n requestId = this.idCounter++;\n cancel = fetchPolicy !== 'no-cache' ? this.updateQueryWatch(queryId, query, options) : undefined;\n this.setQuery(queryId, function () {\n return {\n document: query,\n lastRequestId: requestId,\n invalidated: true,\n cancel: cancel\n };\n });\n this.invalidate(fetchMoreForQueryId);\n this.queryStore.initQuery({\n queryId: queryId,\n document: query,\n storePreviousVariables: shouldFetch,\n variables: variables,\n isPoll: fetchType === FetchType.poll,\n isRefetch: fetchType === FetchType.refetch,\n metadata: metadata,\n fetchMoreForQueryId: fetchMoreForQueryId\n });\n this.broadcastQueries();\n\n if (shouldFetch) {\n networkResult = this.fetchRequest({\n requestId: requestId,\n queryId: queryId,\n document: query,\n options: options,\n fetchMoreForQueryId: fetchMoreForQueryId\n })[\"catch\"](function (error) {\n if (isApolloError(error)) {\n throw error;\n } else {\n if (requestId >= _this.getQuery(queryId).lastRequestId) {\n _this.queryStore.markQueryError(queryId, error, fetchMoreForQueryId);\n\n _this.invalidate(queryId);\n\n _this.invalidate(fetchMoreForQueryId);\n\n _this.broadcastQueries();\n }\n\n throw new ApolloError({\n networkError: error\n });\n }\n });\n\n if (fetchPolicy !== 'cache-and-network') {\n return [2, networkResult];\n }\n\n networkResult[\"catch\"](function () {});\n }\n\n this.queryStore.markQueryResultClient(queryId, !shouldFetch);\n this.invalidate(queryId);\n this.invalidate(fetchMoreForQueryId);\n\n if (this.transform(query).hasForcedResolvers) {\n return [2, this.localState.runResolvers({\n document: query,\n remoteResult: {\n data: storeResult\n },\n context: context,\n variables: variables,\n onlyRunForcedResolvers: true\n }).then(function (result) {\n _this.markQueryResult(queryId, result, options, fetchMoreForQueryId);\n\n _this.broadcastQueries();\n\n return result;\n })];\n }\n\n this.broadcastQueries();\n return [2, {\n data: storeResult\n }];\n }\n });\n });\n };\n\n QueryManager.prototype.markQueryResult = function (queryId, result, _a, fetchMoreForQueryId) {\n var fetchPolicy = _a.fetchPolicy,\n variables = _a.variables,\n errorPolicy = _a.errorPolicy;\n\n if (fetchPolicy === 'no-cache') {\n this.setQuery(queryId, function () {\n return {\n newData: {\n result: result.data,\n complete: true\n }\n };\n });\n } else {\n this.dataStore.markQueryResult(result, this.getQuery(queryId).document, variables, fetchMoreForQueryId, errorPolicy === 'ignore' || errorPolicy === 'all');\n }\n };\n\n QueryManager.prototype.queryListenerForObserver = function (queryId, options, observer) {\n var _this = this;\n\n function invoke(method, argument) {\n if (observer[method]) {\n try {\n observer[method](argument);\n } catch (e) {\n process.env.NODE_ENV === \"production\" || invariant.error(e);\n }\n } else if (method === 'error') {\n process.env.NODE_ENV === \"production\" || invariant.error(argument);\n }\n }\n\n return function (queryStoreValue, newData) {\n _this.invalidate(queryId, false);\n\n if (!queryStoreValue) return;\n\n var _a = _this.getQuery(queryId),\n observableQuery = _a.observableQuery,\n document = _a.document;\n\n var fetchPolicy = observableQuery ? observableQuery.options.fetchPolicy : options.fetchPolicy;\n if (fetchPolicy === 'standby') return;\n var loading = isNetworkRequestInFlight(queryStoreValue.networkStatus);\n var lastResult = observableQuery && observableQuery.getLastResult();\n var networkStatusChanged = !!(lastResult && lastResult.networkStatus !== queryStoreValue.networkStatus);\n var shouldNotifyIfLoading = options.returnPartialData || !newData && queryStoreValue.previousVariables || networkStatusChanged && options.notifyOnNetworkStatusChange || fetchPolicy === 'cache-only' || fetchPolicy === 'cache-and-network';\n\n if (loading && !shouldNotifyIfLoading) {\n return;\n }\n\n var hasGraphQLErrors = isNonEmptyArray(queryStoreValue.graphQLErrors);\n var errorPolicy = observableQuery && observableQuery.options.errorPolicy || options.errorPolicy || 'none';\n\n if (errorPolicy === 'none' && hasGraphQLErrors || queryStoreValue.networkError) {\n return invoke('error', new ApolloError({\n graphQLErrors: queryStoreValue.graphQLErrors,\n networkError: queryStoreValue.networkError\n }));\n }\n\n try {\n var data = void 0;\n var isMissing = void 0;\n\n if (newData) {\n if (fetchPolicy !== 'no-cache' && fetchPolicy !== 'network-only') {\n _this.setQuery(queryId, function () {\n return {\n newData: null\n };\n });\n }\n\n data = newData.result;\n isMissing = !newData.complete;\n } else {\n var lastError = observableQuery && observableQuery.getLastError();\n var errorStatusChanged = errorPolicy !== 'none' && (lastError && lastError.graphQLErrors) !== queryStoreValue.graphQLErrors;\n\n if (lastResult && lastResult.data && !errorStatusChanged) {\n data = lastResult.data;\n isMissing = false;\n } else {\n var diffResult = _this.dataStore.getCache().diff({\n query: document,\n variables: queryStoreValue.previousVariables || queryStoreValue.variables,\n returnPartialData: true,\n optimistic: true\n });\n\n data = diffResult.result;\n isMissing = !diffResult.complete;\n }\n }\n\n var stale = isMissing && !(options.returnPartialData || fetchPolicy === 'cache-only');\n var resultFromStore = {\n data: stale ? lastResult && lastResult.data : data,\n loading: loading,\n networkStatus: queryStoreValue.networkStatus,\n stale: stale\n };\n\n if (errorPolicy === 'all' && hasGraphQLErrors) {\n resultFromStore.errors = queryStoreValue.graphQLErrors;\n }\n\n invoke('next', resultFromStore);\n } catch (networkError) {\n invoke('error', new ApolloError({\n networkError: networkError\n }));\n }\n };\n };\n\n QueryManager.prototype.transform = function (document) {\n var transformCache = this.transformCache;\n\n if (!transformCache.has(document)) {\n var cache = this.dataStore.getCache();\n var transformed = cache.transformDocument(document);\n var forLink = removeConnectionDirectiveFromDocument(cache.transformForLink(transformed));\n var clientQuery = this.localState.clientQuery(transformed);\n var serverQuery = this.localState.serverQuery(forLink);\n var cacheEntry_1 = {\n document: transformed,\n hasClientExports: hasClientExports(transformed),\n hasForcedResolvers: this.localState.shouldForceResolvers(transformed),\n clientQuery: clientQuery,\n serverQuery: serverQuery,\n defaultVars: getDefaultValues(getOperationDefinition(transformed))\n };\n\n var add = function add(doc) {\n if (doc && !transformCache.has(doc)) {\n transformCache.set(doc, cacheEntry_1);\n }\n };\n\n add(document);\n add(transformed);\n add(clientQuery);\n add(serverQuery);\n }\n\n return transformCache.get(document);\n };\n\n QueryManager.prototype.getVariables = function (document, variables) {\n return __assign(__assign({}, this.transform(document).defaultVars), variables);\n };\n\n QueryManager.prototype.watchQuery = function (options, shouldSubscribe) {\n if (shouldSubscribe === void 0) {\n shouldSubscribe = true;\n }\n\n process.env.NODE_ENV === \"production\" ? invariant(options.fetchPolicy !== 'standby', 11) : invariant(options.fetchPolicy !== 'standby', 'client.watchQuery cannot be called with fetchPolicy set to \"standby\"');\n options.variables = this.getVariables(options.query, options.variables);\n\n if (typeof options.notifyOnNetworkStatusChange === 'undefined') {\n options.notifyOnNetworkStatusChange = false;\n }\n\n var transformedOptions = __assign({}, options);\n\n return new ObservableQuery({\n queryManager: this,\n options: transformedOptions,\n shouldSubscribe: shouldSubscribe\n });\n };\n\n QueryManager.prototype.query = function (options) {\n var _this = this;\n\n process.env.NODE_ENV === \"production\" ? invariant(options.query, 12) : invariant(options.query, 'query option is required. You must specify your GraphQL document ' + 'in the query option.');\n process.env.NODE_ENV === \"production\" ? invariant(options.query.kind === 'Document', 13) : invariant(options.query.kind === 'Document', 'You must wrap the query string in a \"gql\" tag.');\n process.env.NODE_ENV === \"production\" ? invariant(!options.returnPartialData, 14) : invariant(!options.returnPartialData, 'returnPartialData option only supported on watchQuery.');\n process.env.NODE_ENV === \"production\" ? invariant(!options.pollInterval, 15) : invariant(!options.pollInterval, 'pollInterval option only supported on watchQuery.');\n return new Promise(function (resolve, reject) {\n var watchedQuery = _this.watchQuery(options, false);\n\n _this.fetchQueryRejectFns.set(\"query:\" + watchedQuery.queryId, reject);\n\n watchedQuery.result().then(resolve, reject).then(function () {\n return _this.fetchQueryRejectFns[\"delete\"](\"query:\" + watchedQuery.queryId);\n });\n });\n };\n\n QueryManager.prototype.generateQueryId = function () {\n return String(this.idCounter++);\n };\n\n QueryManager.prototype.stopQueryInStore = function (queryId) {\n this.stopQueryInStoreNoBroadcast(queryId);\n this.broadcastQueries();\n };\n\n QueryManager.prototype.stopQueryInStoreNoBroadcast = function (queryId) {\n this.stopPollingQuery(queryId);\n this.queryStore.stopQuery(queryId);\n this.invalidate(queryId);\n };\n\n QueryManager.prototype.addQueryListener = function (queryId, listener) {\n this.setQuery(queryId, function (_a) {\n var listeners = _a.listeners;\n listeners.add(listener);\n return {\n invalidated: false\n };\n });\n };\n\n QueryManager.prototype.updateQueryWatch = function (queryId, document, options) {\n var _this = this;\n\n var cancel = this.getQuery(queryId).cancel;\n if (cancel) cancel();\n\n var previousResult = function previousResult() {\n var previousResult = null;\n\n var observableQuery = _this.getQuery(queryId).observableQuery;\n\n if (observableQuery) {\n var lastResult = observableQuery.getLastResult();\n\n if (lastResult) {\n previousResult = lastResult.data;\n }\n }\n\n return previousResult;\n };\n\n return this.dataStore.getCache().watch({\n query: document,\n variables: options.variables,\n optimistic: true,\n previousResult: previousResult,\n callback: function callback(newData) {\n _this.setQuery(queryId, function () {\n return {\n invalidated: true,\n newData: newData\n };\n });\n }\n });\n };\n\n QueryManager.prototype.addObservableQuery = function (queryId, observableQuery) {\n this.setQuery(queryId, function () {\n return {\n observableQuery: observableQuery\n };\n });\n };\n\n QueryManager.prototype.removeObservableQuery = function (queryId) {\n var cancel = this.getQuery(queryId).cancel;\n this.setQuery(queryId, function () {\n return {\n observableQuery: null\n };\n });\n if (cancel) cancel();\n };\n\n QueryManager.prototype.clearStore = function () {\n this.fetchQueryRejectFns.forEach(function (reject) {\n reject(process.env.NODE_ENV === \"production\" ? new InvariantError(16) : new InvariantError('Store reset while query was in flight (not completed in link chain)'));\n });\n var resetIds = [];\n this.queries.forEach(function (_a, queryId) {\n var observableQuery = _a.observableQuery;\n if (observableQuery) resetIds.push(queryId);\n });\n this.queryStore.reset(resetIds);\n this.mutationStore.reset();\n return this.dataStore.reset();\n };\n\n QueryManager.prototype.resetStore = function () {\n var _this = this;\n\n return this.clearStore().then(function () {\n return _this.reFetchObservableQueries();\n });\n };\n\n QueryManager.prototype.reFetchObservableQueries = function (includeStandby) {\n var _this = this;\n\n if (includeStandby === void 0) {\n includeStandby = false;\n }\n\n var observableQueryPromises = [];\n this.queries.forEach(function (_a, queryId) {\n var observableQuery = _a.observableQuery;\n\n if (observableQuery) {\n var fetchPolicy = observableQuery.options.fetchPolicy;\n observableQuery.resetLastResults();\n\n if (fetchPolicy !== 'cache-only' && (includeStandby || fetchPolicy !== 'standby')) {\n observableQueryPromises.push(observableQuery.refetch());\n }\n\n _this.setQuery(queryId, function () {\n return {\n newData: null\n };\n });\n\n _this.invalidate(queryId);\n }\n });\n this.broadcastQueries();\n return Promise.all(observableQueryPromises);\n };\n\n QueryManager.prototype.observeQuery = function (queryId, options, observer) {\n this.addQueryListener(queryId, this.queryListenerForObserver(queryId, options, observer));\n return this.fetchQuery(queryId, options);\n };\n\n QueryManager.prototype.startQuery = function (queryId, options, listener) {\n process.env.NODE_ENV === \"production\" || invariant.warn(\"The QueryManager.startQuery method has been deprecated\");\n this.addQueryListener(queryId, listener);\n this.fetchQuery(queryId, options)[\"catch\"](function () {\n return undefined;\n });\n return queryId;\n };\n\n QueryManager.prototype.startGraphQLSubscription = function (_a) {\n var _this = this;\n\n var query = _a.query,\n fetchPolicy = _a.fetchPolicy,\n variables = _a.variables;\n query = this.transform(query).document;\n variables = this.getVariables(query, variables);\n\n var makeObservable = function makeObservable(variables) {\n return _this.getObservableFromLink(query, {}, variables, false).map(function (result) {\n if (!fetchPolicy || fetchPolicy !== 'no-cache') {\n _this.dataStore.markSubscriptionResult(result, query, variables);\n\n _this.broadcastQueries();\n }\n\n if (graphQLResultHasError(result)) {\n throw new ApolloError({\n graphQLErrors: result.errors\n });\n }\n\n return result;\n });\n };\n\n if (this.transform(query).hasClientExports) {\n var observablePromise_1 = this.localState.addExportedVariables(query, variables).then(makeObservable);\n return new Observable(function (observer) {\n var sub = null;\n observablePromise_1.then(function (observable) {\n return sub = observable.subscribe(observer);\n }, observer.error);\n return function () {\n return sub && sub.unsubscribe();\n };\n });\n }\n\n return makeObservable(variables);\n };\n\n QueryManager.prototype.stopQuery = function (queryId) {\n this.stopQueryNoBroadcast(queryId);\n this.broadcastQueries();\n };\n\n QueryManager.prototype.stopQueryNoBroadcast = function (queryId) {\n this.stopQueryInStoreNoBroadcast(queryId);\n this.removeQuery(queryId);\n };\n\n QueryManager.prototype.removeQuery = function (queryId) {\n this.fetchQueryRejectFns[\"delete\"](\"query:\" + queryId);\n this.fetchQueryRejectFns[\"delete\"](\"fetchRequest:\" + queryId);\n this.getQuery(queryId).subscriptions.forEach(function (x) {\n return x.unsubscribe();\n });\n this.queries[\"delete\"](queryId);\n };\n\n QueryManager.prototype.getCurrentQueryResult = function (observableQuery, optimistic) {\n if (optimistic === void 0) {\n optimistic = true;\n }\n\n var _a = observableQuery.options,\n variables = _a.variables,\n query = _a.query,\n fetchPolicy = _a.fetchPolicy,\n returnPartialData = _a.returnPartialData;\n var lastResult = observableQuery.getLastResult();\n var newData = this.getQuery(observableQuery.queryId).newData;\n\n if (newData && newData.complete) {\n return {\n data: newData.result,\n partial: false\n };\n }\n\n if (fetchPolicy === 'no-cache' || fetchPolicy === 'network-only') {\n return {\n data: undefined,\n partial: false\n };\n }\n\n var _b = this.dataStore.getCache().diff({\n query: query,\n variables: variables,\n previousResult: lastResult ? lastResult.data : undefined,\n returnPartialData: true,\n optimistic: optimistic\n }),\n result = _b.result,\n complete = _b.complete;\n\n return {\n data: complete || returnPartialData ? result : void 0,\n partial: !complete\n };\n };\n\n QueryManager.prototype.getQueryWithPreviousResult = function (queryIdOrObservable) {\n var observableQuery;\n\n if (typeof queryIdOrObservable === 'string') {\n var foundObserveableQuery = this.getQuery(queryIdOrObservable).observableQuery;\n process.env.NODE_ENV === \"production\" ? invariant(foundObserveableQuery, 17) : invariant(foundObserveableQuery, \"ObservableQuery with this id doesn't exist: \" + queryIdOrObservable);\n observableQuery = foundObserveableQuery;\n } else {\n observableQuery = queryIdOrObservable;\n }\n\n var _a = observableQuery.options,\n variables = _a.variables,\n query = _a.query;\n return {\n previousResult: this.getCurrentQueryResult(observableQuery, false).data,\n variables: variables,\n document: query\n };\n };\n\n QueryManager.prototype.broadcastQueries = function () {\n var _this = this;\n\n this.onBroadcast();\n this.queries.forEach(function (info, id) {\n if (info.invalidated) {\n info.listeners.forEach(function (listener) {\n if (listener) {\n listener(_this.queryStore.get(id), info.newData);\n }\n });\n }\n });\n };\n\n QueryManager.prototype.getLocalState = function () {\n return this.localState;\n };\n\n QueryManager.prototype.getObservableFromLink = function (query, context, variables, deduplication) {\n var _this = this;\n\n if (deduplication === void 0) {\n deduplication = this.queryDeduplication;\n }\n\n var observable;\n var serverQuery = this.transform(query).serverQuery;\n\n if (serverQuery) {\n var _a = this,\n inFlightLinkObservables_1 = _a.inFlightLinkObservables,\n link = _a.link;\n\n var operation = {\n query: serverQuery,\n variables: variables,\n operationName: getOperationName(serverQuery) || void 0,\n context: this.prepareContext(__assign(__assign({}, context), {\n forceFetch: !deduplication\n }))\n };\n context = operation.context;\n\n if (deduplication) {\n var byVariables_1 = inFlightLinkObservables_1.get(serverQuery) || new Map();\n inFlightLinkObservables_1.set(serverQuery, byVariables_1);\n var varJson_1 = JSON.stringify(variables);\n observable = byVariables_1.get(varJson_1);\n\n if (!observable) {\n byVariables_1.set(varJson_1, observable = multiplex(execute(link, operation)));\n\n var cleanup = function cleanup() {\n byVariables_1[\"delete\"](varJson_1);\n if (!byVariables_1.size) inFlightLinkObservables_1[\"delete\"](serverQuery);\n cleanupSub_1.unsubscribe();\n };\n\n var cleanupSub_1 = observable.subscribe({\n next: cleanup,\n error: cleanup,\n complete: cleanup\n });\n }\n } else {\n observable = multiplex(execute(link, operation));\n }\n } else {\n observable = Observable.of({\n data: {}\n });\n context = this.prepareContext(context);\n }\n\n var clientQuery = this.transform(query).clientQuery;\n\n if (clientQuery) {\n observable = asyncMap(observable, function (result) {\n return _this.localState.runResolvers({\n document: clientQuery,\n remoteResult: result,\n context: context,\n variables: variables\n });\n });\n }\n\n return observable;\n };\n\n QueryManager.prototype.fetchRequest = function (_a) {\n var _this = this;\n\n var requestId = _a.requestId,\n queryId = _a.queryId,\n document = _a.document,\n options = _a.options,\n fetchMoreForQueryId = _a.fetchMoreForQueryId;\n var variables = options.variables,\n _b = options.errorPolicy,\n errorPolicy = _b === void 0 ? 'none' : _b,\n fetchPolicy = options.fetchPolicy;\n var resultFromStore;\n var errorsFromStore;\n return new Promise(function (resolve, reject) {\n var observable = _this.getObservableFromLink(document, options.context, variables);\n\n var fqrfId = \"fetchRequest:\" + queryId;\n\n _this.fetchQueryRejectFns.set(fqrfId, reject);\n\n var cleanup = function cleanup() {\n _this.fetchQueryRejectFns[\"delete\"](fqrfId);\n\n _this.setQuery(queryId, function (_a) {\n var subscriptions = _a.subscriptions;\n subscriptions[\"delete\"](subscription);\n });\n };\n\n var subscription = observable.map(function (result) {\n if (requestId >= _this.getQuery(queryId).lastRequestId) {\n _this.markQueryResult(queryId, result, options, fetchMoreForQueryId);\n\n _this.queryStore.markQueryResult(queryId, result, fetchMoreForQueryId);\n\n _this.invalidate(queryId);\n\n _this.invalidate(fetchMoreForQueryId);\n\n _this.broadcastQueries();\n }\n\n if (errorPolicy === 'none' && isNonEmptyArray(result.errors)) {\n return reject(new ApolloError({\n graphQLErrors: result.errors\n }));\n }\n\n if (errorPolicy === 'all') {\n errorsFromStore = result.errors;\n }\n\n if (fetchMoreForQueryId || fetchPolicy === 'no-cache') {\n resultFromStore = result.data;\n } else {\n var _a = _this.dataStore.getCache().diff({\n variables: variables,\n query: document,\n optimistic: false,\n returnPartialData: true\n }),\n result_1 = _a.result,\n complete = _a.complete;\n\n if (complete || options.returnPartialData) {\n resultFromStore = result_1;\n }\n }\n }).subscribe({\n error: function error(_error3) {\n cleanup();\n reject(_error3);\n },\n complete: function complete() {\n cleanup();\n resolve({\n data: resultFromStore,\n errors: errorsFromStore,\n loading: false,\n networkStatus: NetworkStatus.ready,\n stale: false\n });\n }\n });\n\n _this.setQuery(queryId, function (_a) {\n var subscriptions = _a.subscriptions;\n subscriptions.add(subscription);\n });\n });\n };\n\n QueryManager.prototype.getQuery = function (queryId) {\n return this.queries.get(queryId) || {\n listeners: new Set(),\n invalidated: false,\n document: null,\n newData: null,\n lastRequestId: 1,\n observableQuery: null,\n subscriptions: new Set()\n };\n };\n\n QueryManager.prototype.setQuery = function (queryId, updater) {\n var prev = this.getQuery(queryId);\n\n var newInfo = __assign(__assign({}, prev), updater(prev));\n\n this.queries.set(queryId, newInfo);\n };\n\n QueryManager.prototype.invalidate = function (queryId, invalidated) {\n if (invalidated === void 0) {\n invalidated = true;\n }\n\n if (queryId) {\n this.setQuery(queryId, function () {\n return {\n invalidated: invalidated\n };\n });\n }\n };\n\n QueryManager.prototype.prepareContext = function (context) {\n if (context === void 0) {\n context = {};\n }\n\n var newContext = this.localState.prepareContext(context);\n return __assign(__assign({}, newContext), {\n clientAwareness: this.clientAwareness\n });\n };\n\n QueryManager.prototype.checkInFlight = function (queryId) {\n var query = this.queryStore.get(queryId);\n return query && query.networkStatus !== NetworkStatus.ready && query.networkStatus !== NetworkStatus.error;\n };\n\n QueryManager.prototype.startPollingQuery = function (options, queryId, listener) {\n var _this = this;\n\n var pollInterval = options.pollInterval;\n process.env.NODE_ENV === \"production\" ? invariant(pollInterval, 18) : invariant(pollInterval, 'Attempted to start a polling query without a polling interval.');\n\n if (!this.ssrMode) {\n var info = this.pollingInfoByQueryId.get(queryId);\n\n if (!info) {\n this.pollingInfoByQueryId.set(queryId, info = {});\n }\n\n info.interval = pollInterval;\n info.options = __assign(__assign({}, options), {\n fetchPolicy: 'network-only'\n });\n\n var maybeFetch_1 = function maybeFetch_1() {\n var info = _this.pollingInfoByQueryId.get(queryId);\n\n if (info) {\n if (_this.checkInFlight(queryId)) {\n poll_1();\n } else {\n _this.fetchQuery(queryId, info.options, FetchType.poll).then(poll_1, poll_1);\n }\n }\n };\n\n var poll_1 = function poll_1() {\n var info = _this.pollingInfoByQueryId.get(queryId);\n\n if (info) {\n clearTimeout(info.timeout);\n info.timeout = setTimeout(maybeFetch_1, info.interval);\n }\n };\n\n if (listener) {\n this.addQueryListener(queryId, listener);\n }\n\n poll_1();\n }\n\n return queryId;\n };\n\n QueryManager.prototype.stopPollingQuery = function (queryId) {\n this.pollingInfoByQueryId[\"delete\"](queryId);\n };\n\n return QueryManager;\n}();\n\nvar DataStore = function () {\n function DataStore(initialCache) {\n this.cache = initialCache;\n }\n\n DataStore.prototype.getCache = function () {\n return this.cache;\n };\n\n DataStore.prototype.markQueryResult = function (result, document, variables, fetchMoreForQueryId, ignoreErrors) {\n if (ignoreErrors === void 0) {\n ignoreErrors = false;\n }\n\n var writeWithErrors = !graphQLResultHasError(result);\n\n if (ignoreErrors && graphQLResultHasError(result) && result.data) {\n writeWithErrors = true;\n }\n\n if (!fetchMoreForQueryId && writeWithErrors) {\n this.cache.write({\n result: result.data,\n dataId: 'ROOT_QUERY',\n query: document,\n variables: variables\n });\n }\n };\n\n DataStore.prototype.markSubscriptionResult = function (result, document, variables) {\n if (!graphQLResultHasError(result)) {\n this.cache.write({\n result: result.data,\n dataId: 'ROOT_SUBSCRIPTION',\n query: document,\n variables: variables\n });\n }\n };\n\n DataStore.prototype.markMutationInit = function (mutation) {\n var _this = this;\n\n if (mutation.optimisticResponse) {\n var optimistic_1;\n\n if (typeof mutation.optimisticResponse === 'function') {\n optimistic_1 = mutation.optimisticResponse(mutation.variables);\n } else {\n optimistic_1 = mutation.optimisticResponse;\n }\n\n this.cache.recordOptimisticTransaction(function (c) {\n var orig = _this.cache;\n _this.cache = c;\n\n try {\n _this.markMutationResult({\n mutationId: mutation.mutationId,\n result: {\n data: optimistic_1\n },\n document: mutation.document,\n variables: mutation.variables,\n updateQueries: mutation.updateQueries,\n update: mutation.update\n });\n } finally {\n _this.cache = orig;\n }\n }, mutation.mutationId);\n }\n };\n\n DataStore.prototype.markMutationResult = function (mutation) {\n var _this = this;\n\n if (!graphQLResultHasError(mutation.result)) {\n var cacheWrites_1 = [{\n result: mutation.result.data,\n dataId: 'ROOT_MUTATION',\n query: mutation.document,\n variables: mutation.variables\n }];\n var updateQueries_1 = mutation.updateQueries;\n\n if (updateQueries_1) {\n Object.keys(updateQueries_1).forEach(function (id) {\n var _a = updateQueries_1[id],\n query = _a.query,\n updater = _a.updater;\n\n var _b = _this.cache.diff({\n query: query.document,\n variables: query.variables,\n returnPartialData: true,\n optimistic: false\n }),\n currentQueryResult = _b.result,\n complete = _b.complete;\n\n if (complete) {\n var nextQueryResult = tryFunctionOrLogError(function () {\n return updater(currentQueryResult, {\n mutationResult: mutation.result,\n queryName: getOperationName(query.document) || undefined,\n queryVariables: query.variables\n });\n });\n\n if (nextQueryResult) {\n cacheWrites_1.push({\n result: nextQueryResult,\n dataId: 'ROOT_QUERY',\n query: query.document,\n variables: query.variables\n });\n }\n }\n });\n }\n\n this.cache.performTransaction(function (c) {\n cacheWrites_1.forEach(function (write) {\n return c.write(write);\n });\n var update = mutation.update;\n\n if (update) {\n tryFunctionOrLogError(function () {\n return update(c, mutation.result);\n });\n }\n });\n }\n };\n\n DataStore.prototype.markMutationComplete = function (_a) {\n var mutationId = _a.mutationId,\n optimisticResponse = _a.optimisticResponse;\n\n if (optimisticResponse) {\n this.cache.removeOptimistic(mutationId);\n }\n };\n\n DataStore.prototype.markUpdateQueryResult = function (document, variables, newResult) {\n this.cache.write({\n result: newResult,\n dataId: 'ROOT_QUERY',\n variables: variables,\n query: document\n });\n };\n\n DataStore.prototype.reset = function () {\n return this.cache.reset();\n };\n\n return DataStore;\n}();\n\nvar version = \"2.6.10\";\nvar hasSuggestedDevtools = false;\n\nvar ApolloClient = function () {\n function ApolloClient(options) {\n var _this = this;\n\n this.defaultOptions = {};\n this.resetStoreCallbacks = [];\n this.clearStoreCallbacks = [];\n var cache = options.cache,\n _a = options.ssrMode,\n ssrMode = _a === void 0 ? false : _a,\n _b = options.ssrForceFetchDelay,\n ssrForceFetchDelay = _b === void 0 ? 0 : _b,\n connectToDevTools = options.connectToDevTools,\n _c = options.queryDeduplication,\n queryDeduplication = _c === void 0 ? true : _c,\n defaultOptions = options.defaultOptions,\n _d = options.assumeImmutableResults,\n assumeImmutableResults = _d === void 0 ? false : _d,\n resolvers = options.resolvers,\n typeDefs = options.typeDefs,\n fragmentMatcher = options.fragmentMatcher,\n clientAwarenessName = options.name,\n clientAwarenessVersion = options.version;\n var link = options.link;\n\n if (!link && resolvers) {\n link = ApolloLink.empty();\n }\n\n if (!link || !cache) {\n throw process.env.NODE_ENV === \"production\" ? new InvariantError(4) : new InvariantError(\"In order to initialize Apollo Client, you must specify 'link' and 'cache' properties in the options object.\\n\" + \"These options are part of the upgrade requirements when migrating from Apollo Client 1.x to Apollo Client 2.x.\\n\" + \"For more information, please visit: https://www.apollographql.com/docs/tutorial/client.html#apollo-client-setup\");\n }\n\n this.link = link;\n this.cache = cache;\n this.store = new DataStore(cache);\n this.disableNetworkFetches = ssrMode || ssrForceFetchDelay > 0;\n this.queryDeduplication = queryDeduplication;\n this.defaultOptions = defaultOptions || {};\n this.typeDefs = typeDefs;\n\n if (ssrForceFetchDelay) {\n setTimeout(function () {\n return _this.disableNetworkFetches = false;\n }, ssrForceFetchDelay);\n }\n\n this.watchQuery = this.watchQuery.bind(this);\n this.query = this.query.bind(this);\n this.mutate = this.mutate.bind(this);\n this.resetStore = this.resetStore.bind(this);\n this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this);\n var defaultConnectToDevTools = process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && !window.__APOLLO_CLIENT__;\n\n if (typeof connectToDevTools === 'undefined' ? defaultConnectToDevTools : connectToDevTools && typeof window !== 'undefined') {\n window.__APOLLO_CLIENT__ = this;\n }\n\n if (!hasSuggestedDevtools && process.env.NODE_ENV !== 'production') {\n hasSuggestedDevtools = true;\n\n if (typeof window !== 'undefined' && window.document && window.top === window.self) {\n if (typeof window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {\n if (window.navigator && window.navigator.userAgent && window.navigator.userAgent.indexOf('Chrome') > -1) {\n console.debug('Download the Apollo DevTools ' + 'for a better development experience: ' + 'https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm');\n }\n }\n }\n }\n\n this.version = version;\n this.localState = new LocalState({\n cache: cache,\n client: this,\n resolvers: resolvers,\n fragmentMatcher: fragmentMatcher\n });\n this.queryManager = new QueryManager({\n link: this.link,\n store: this.store,\n queryDeduplication: queryDeduplication,\n ssrMode: ssrMode,\n clientAwareness: {\n name: clientAwarenessName,\n version: clientAwarenessVersion\n },\n localState: this.localState,\n assumeImmutableResults: assumeImmutableResults,\n onBroadcast: function onBroadcast() {\n if (_this.devToolsHookCb) {\n _this.devToolsHookCb({\n action: {},\n state: {\n queries: _this.queryManager.queryStore.getStore(),\n mutations: _this.queryManager.mutationStore.getStore()\n },\n dataWithOptimisticResults: _this.cache.extract(true)\n });\n }\n }\n });\n }\n\n ApolloClient.prototype.stop = function () {\n this.queryManager.stop();\n };\n\n ApolloClient.prototype.watchQuery = function (options) {\n if (this.defaultOptions.watchQuery) {\n options = __assign(__assign({}, this.defaultOptions.watchQuery), options);\n }\n\n if (this.disableNetworkFetches && (options.fetchPolicy === 'network-only' || options.fetchPolicy === 'cache-and-network')) {\n options = __assign(__assign({}, options), {\n fetchPolicy: 'cache-first'\n });\n }\n\n return this.queryManager.watchQuery(options);\n };\n\n ApolloClient.prototype.query = function (options) {\n if (this.defaultOptions.query) {\n options = __assign(__assign({}, this.defaultOptions.query), options);\n }\n\n process.env.NODE_ENV === \"production\" ? invariant(options.fetchPolicy !== 'cache-and-network', 5) : invariant(options.fetchPolicy !== 'cache-and-network', 'The cache-and-network fetchPolicy does not work with client.query, because ' + 'client.query can only return a single result. Please use client.watchQuery ' + 'to receive multiple results from the cache and the network, or consider ' + 'using a different fetchPolicy, such as cache-first or network-only.');\n\n if (this.disableNetworkFetches && options.fetchPolicy === 'network-only') {\n options = __assign(__assign({}, options), {\n fetchPolicy: 'cache-first'\n });\n }\n\n return this.queryManager.query(options);\n };\n\n ApolloClient.prototype.mutate = function (options) {\n if (this.defaultOptions.mutate) {\n options = __assign(__assign({}, this.defaultOptions.mutate), options);\n }\n\n return this.queryManager.mutate(options);\n };\n\n ApolloClient.prototype.subscribe = function (options) {\n return this.queryManager.startGraphQLSubscription(options);\n };\n\n ApolloClient.prototype.readQuery = function (options, optimistic) {\n if (optimistic === void 0) {\n optimistic = false;\n }\n\n return this.cache.readQuery(options, optimistic);\n };\n\n ApolloClient.prototype.readFragment = function (options, optimistic) {\n if (optimistic === void 0) {\n optimistic = false;\n }\n\n return this.cache.readFragment(options, optimistic);\n };\n\n ApolloClient.prototype.writeQuery = function (options) {\n var result = this.cache.writeQuery(options);\n this.queryManager.broadcastQueries();\n return result;\n };\n\n ApolloClient.prototype.writeFragment = function (options) {\n var result = this.cache.writeFragment(options);\n this.queryManager.broadcastQueries();\n return result;\n };\n\n ApolloClient.prototype.writeData = function (options) {\n var result = this.cache.writeData(options);\n this.queryManager.broadcastQueries();\n return result;\n };\n\n ApolloClient.prototype.__actionHookForDevTools = function (cb) {\n this.devToolsHookCb = cb;\n };\n\n ApolloClient.prototype.__requestRaw = function (payload) {\n return execute(this.link, payload);\n };\n\n ApolloClient.prototype.initQueryManager = function () {\n process.env.NODE_ENV === \"production\" || invariant.warn('Calling the initQueryManager method is no longer necessary, ' + 'and it will be removed from ApolloClient in version 3.0.');\n return this.queryManager;\n };\n\n ApolloClient.prototype.resetStore = function () {\n var _this = this;\n\n return Promise.resolve().then(function () {\n return _this.queryManager.clearStore();\n }).then(function () {\n return Promise.all(_this.resetStoreCallbacks.map(function (fn) {\n return fn();\n }));\n }).then(function () {\n return _this.reFetchObservableQueries();\n });\n };\n\n ApolloClient.prototype.clearStore = function () {\n var _this = this;\n\n return Promise.resolve().then(function () {\n return _this.queryManager.clearStore();\n }).then(function () {\n return Promise.all(_this.clearStoreCallbacks.map(function (fn) {\n return fn();\n }));\n });\n };\n\n ApolloClient.prototype.onResetStore = function (cb) {\n var _this = this;\n\n this.resetStoreCallbacks.push(cb);\n return function () {\n _this.resetStoreCallbacks = _this.resetStoreCallbacks.filter(function (c) {\n return c !== cb;\n });\n };\n };\n\n ApolloClient.prototype.onClearStore = function (cb) {\n var _this = this;\n\n this.clearStoreCallbacks.push(cb);\n return function () {\n _this.clearStoreCallbacks = _this.clearStoreCallbacks.filter(function (c) {\n return c !== cb;\n });\n };\n };\n\n ApolloClient.prototype.reFetchObservableQueries = function (includeStandby) {\n return this.queryManager.reFetchObservableQueries(includeStandby);\n };\n\n ApolloClient.prototype.extract = function (optimistic) {\n return this.cache.extract(optimistic);\n };\n\n ApolloClient.prototype.restore = function (serializedState) {\n return this.cache.restore(serializedState);\n };\n\n ApolloClient.prototype.addResolvers = function (resolvers) {\n this.localState.addResolvers(resolvers);\n };\n\n ApolloClient.prototype.setResolvers = function (resolvers) {\n this.localState.setResolvers(resolvers);\n };\n\n ApolloClient.prototype.getResolvers = function () {\n return this.localState.getResolvers();\n };\n\n ApolloClient.prototype.setLocalStateFragmentMatcher = function (fragmentMatcher) {\n this.localState.setFragmentMatcher(fragmentMatcher);\n };\n\n return ApolloClient;\n}();\n\nexport default ApolloClient;\nexport { ApolloClient, ApolloError, FetchType, NetworkStatus, ObservableQuery, isApolloError };","import { __extends } from 'tslib';\nimport { ApolloLink, Observable } from 'apollo-link';\n\nfunction onError(errorHandler) {\n return new ApolloLink(function (operation, forward) {\n return new Observable(function (observer) {\n var sub;\n var retriedSub;\n var retriedResult;\n\n try {\n sub = forward(operation).subscribe({\n next: function next(result) {\n if (result.errors) {\n retriedResult = errorHandler({\n graphQLErrors: result.errors,\n response: result,\n operation: operation,\n forward: forward\n });\n\n if (retriedResult) {\n retriedSub = retriedResult.subscribe({\n next: observer.next.bind(observer),\n error: observer.error.bind(observer),\n complete: observer.complete.bind(observer)\n });\n return;\n }\n }\n\n observer.next(result);\n },\n error: function error(networkError) {\n retriedResult = errorHandler({\n operation: operation,\n networkError: networkError,\n graphQLErrors: networkError && networkError.result && networkError.result.errors,\n forward: forward\n });\n\n if (retriedResult) {\n retriedSub = retriedResult.subscribe({\n next: observer.next.bind(observer),\n error: observer.error.bind(observer),\n complete: observer.complete.bind(observer)\n });\n return;\n }\n\n observer.error(networkError);\n },\n complete: function complete() {\n if (!retriedResult) {\n observer.complete.bind(observer)();\n }\n }\n });\n } catch (e) {\n errorHandler({\n networkError: e,\n operation: operation,\n forward: forward\n });\n observer.error(e);\n }\n\n return function () {\n if (sub) sub.unsubscribe();\n if (retriedSub) sub.unsubscribe();\n };\n });\n });\n}\n\nvar ErrorLink = function (_super) {\n __extends(ErrorLink, _super);\n\n function ErrorLink(errorHandler) {\n var _this = _super.call(this) || this;\n\n _this.link = onError(errorHandler);\n return _this;\n }\n\n ErrorLink.prototype.request = function (operation, forward) {\n return this.link.request(operation, forward);\n };\n\n return ErrorLink;\n}(ApolloLink);\n\nexport { ErrorLink, onError };","import { __extends, __awaiter, __generator } from 'tslib';\nimport { Observable, ApolloLink } from 'apollo-link';\n\nfunction buildDelayFunction(delayOptions) {\n var _a = delayOptions || {},\n _b = _a.initial,\n initial = _b === void 0 ? 300 : _b,\n _c = _a.jitter,\n jitter = _c === void 0 ? true : _c,\n _d = _a.max,\n max = _d === void 0 ? Infinity : _d;\n\n var baseDelay = jitter ? initial : initial / 2;\n return function delayFunction(count) {\n var delay = Math.min(max, baseDelay * Math.pow(2, count));\n\n if (jitter) {\n delay = Math.random() * delay;\n }\n\n return delay;\n };\n}\n\nfunction buildRetryFunction(retryOptions) {\n var _a = retryOptions || {},\n retryIf = _a.retryIf,\n _b = _a.max,\n max = _b === void 0 ? 5 : _b;\n\n return function retryFunction(count, operation, error) {\n if (count >= max) return false;\n return retryIf ? retryIf(error, operation) : !!error;\n };\n}\n\nvar RetryableOperation = function () {\n function RetryableOperation(operation, nextLink, delayFor, retryIf) {\n var _this = this;\n\n this.operation = operation;\n this.nextLink = nextLink;\n this.delayFor = delayFor;\n this.retryIf = retryIf;\n this.retryCount = 0;\n this.values = [];\n this.complete = false;\n this.canceled = false;\n this.observers = [];\n this.currentSubscription = null;\n\n this.onNext = function (value) {\n _this.values.push(value);\n\n for (var _i = 0, _a = _this.observers; _i < _a.length; _i++) {\n var observer = _a[_i];\n if (!observer) continue;\n observer.next(value);\n }\n };\n\n this.onComplete = function () {\n _this.complete = true;\n\n for (var _i = 0, _a = _this.observers; _i < _a.length; _i++) {\n var observer = _a[_i];\n if (!observer) continue;\n observer.complete();\n }\n };\n\n this.onError = function (error) {\n return __awaiter(_this, void 0, void 0, function () {\n var shouldRetry, _i, _a, observer;\n\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n this.retryCount += 1;\n return [4, this.retryIf(this.retryCount, this.operation, error)];\n\n case 1:\n shouldRetry = _b.sent();\n\n if (shouldRetry) {\n this.scheduleRetry(this.delayFor(this.retryCount, this.operation, error));\n return [2];\n }\n\n this.error = error;\n\n for (_i = 0, _a = this.observers; _i < _a.length; _i++) {\n observer = _a[_i];\n if (!observer) continue;\n observer.error(error);\n }\n\n return [2];\n }\n });\n });\n };\n }\n\n RetryableOperation.prototype.subscribe = function (observer) {\n if (this.canceled) {\n throw new Error(\"Subscribing to a retryable link that was canceled is not supported\");\n }\n\n this.observers.push(observer);\n\n for (var _i = 0, _a = this.values; _i < _a.length; _i++) {\n var value = _a[_i];\n observer.next(value);\n }\n\n if (this.complete) {\n observer.complete();\n } else if (this.error) {\n observer.error(this.error);\n }\n };\n\n RetryableOperation.prototype.unsubscribe = function (observer) {\n var index = this.observers.indexOf(observer);\n\n if (index < 0) {\n throw new Error(\"RetryLink BUG! Attempting to unsubscribe unknown observer!\");\n }\n\n this.observers[index] = null;\n\n if (this.observers.every(function (o) {\n return o === null;\n })) {\n this.cancel();\n }\n };\n\n RetryableOperation.prototype.start = function () {\n if (this.currentSubscription) return;\n this[\"try\"]();\n };\n\n RetryableOperation.prototype.cancel = function () {\n if (this.currentSubscription) {\n this.currentSubscription.unsubscribe();\n }\n\n clearTimeout(this.timerId);\n this.timerId = null;\n this.currentSubscription = null;\n this.canceled = true;\n };\n\n RetryableOperation.prototype[\"try\"] = function () {\n this.currentSubscription = this.nextLink(this.operation).subscribe({\n next: this.onNext,\n error: this.onError,\n complete: this.onComplete\n });\n };\n\n RetryableOperation.prototype.scheduleRetry = function (delay) {\n var _this = this;\n\n if (this.timerId) {\n throw new Error(\"RetryLink BUG! Encountered overlapping retries\");\n }\n\n this.timerId = setTimeout(function () {\n _this.timerId = null;\n\n _this[\"try\"]();\n }, delay);\n };\n\n return RetryableOperation;\n}();\n\nvar RetryLink = function (_super) {\n __extends(RetryLink, _super);\n\n function RetryLink(options) {\n var _this = _super.call(this) || this;\n\n var _a = options || {},\n attempts = _a.attempts,\n delay = _a.delay;\n\n _this.delayFor = typeof delay === 'function' ? delay : buildDelayFunction(delay);\n _this.retryIf = typeof attempts === 'function' ? attempts : buildRetryFunction(attempts);\n return _this;\n }\n\n RetryLink.prototype.request = function (operation, nextLink) {\n var retryable = new RetryableOperation(operation, nextLink, this.delayFor, this.retryIf);\n retryable.start();\n return new Observable(function (observer) {\n retryable.subscribe(observer);\n return function () {\n retryable.unsubscribe(observer);\n };\n });\n };\n\n return RetryLink;\n}(ApolloLink);\n\nexport { RetryLink };","var _document$querySelect;import{ApolloLink}from'apollo-link';import{createHttpLink}from'apollo-link-http';import{InMemoryCache}from'apollo-cache-inmemory';import{ApolloClient}from'apollo-client';import{onError}from'apollo-link-error';import{RetryLink}from'apollo-link-retry';import*as Sentry from'@sentry/vue';// Assuming Sentry is set up similarly\nvar csrfToken=(_document$querySelect=document.querySelector('meta[name=csrf-token]'))===null||_document$querySelect===void 0?void 0:_document$querySelect.getAttribute('content');var httpLink=createHttpLink({uri:'/graphql',headers:{'X-CSRF-Token':csrfToken}});var errorLink=onError(function(_ref){var graphQLErrors=_ref.graphQLErrors,networkError=_ref.networkError,operation=_ref.operation,forward=_ref.forward,response=_ref.response;if(graphQLErrors){graphQLErrors.forEach(function(error){Sentry.withScope(function(scope){scope.setExtras({response:response||'No response available',locations:error.locations,path:error.path,operationName:operation===null||operation===void 0?void 0:operation.operationName,variables:operation===null||operation===void 0?void 0:operation.variables});Sentry.captureException(new Error(\"[GraphQL error]: Message: \".concat(error.message)));});});}if(networkError){Sentry.withScope(function(scope){scope.setExtras({networkError:networkError,response:response||'No response available',operationName:operation===null||operation===void 0?void 0:operation.operationName,variables:operation===null||operation===void 0?void 0:operation.variables,message:networkError===null||networkError===void 0?void 0:networkError.message});Sentry.captureException(networkError);});forward(operation);}});var retryLink=new RetryLink({attempts:function attempts(count,error){return!!error&&count<3;},delay:function delay(count){return count*1000;}});// Strip __typename from variables\nvar cleanTypenameLink=new ApolloLink(function(operation,forward){if(operation.variables){var omitTypename=function omitTypename(key,value){return key==='__typename'?undefined:value;};operation.variables=JSON.parse(JSON.stringify(operation.variables),omitTypename);}return forward(operation);});// Cache implementation\nvar cache=new InMemoryCache({});// Create the apollo client\nvar apolloClient=new ApolloClient({link:ApolloLink.from([retryLink,errorLink,cleanTypenameLink,httpLink]),cache:cache});export default apolloClient;","import toInteger from '../_lib/toInteger/index.js';\nimport toDate from '../toDate/index.js';\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added\n * @returns {Date} the new date with the days added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * var result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\n\nexport default function addDays(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n date.setDate(date.getDate() + amount);\n return date;\n}","export default function _filter(fn, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n\n while (idx < len) {\n if (fn(list[idx])) {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n\n return result;\n}","import _curry1 from './internal/_curry1.js';\nimport curryN from './curryN.js';\n/**\n * Returns a new function much like the supplied one, except that the first two\n * arguments' order is reversed.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b, c, ...) -> z) -> (b -> a -> c -> ... -> z)\n * @param {Function} fn The function to invoke with its first two parameters reversed.\n * @return {*} The result of invoking `fn` with its first two parameters' order reversed.\n * @example\n *\n * const mergeThree = (a, b, c) => [].concat(a, b, c);\n *\n * mergeThree(1, 2, 3); //=> [1, 2, 3]\n *\n * R.flip(mergeThree)(1, 2, 3); //=> [2, 1, 3]\n * @symb R.flip(f)(a, b, c) = f(b, a, c)\n */\n\nvar flip =\n/*#__PURE__*/\n_curry1(function flip(fn) {\n return curryN(fn.length, function (a, b) {\n var args = Array.prototype.slice.call(arguments, 0);\n args[0] = b;\n args[1] = a;\n return fn.apply(this, args);\n });\n});\n\nexport default flip;","export default function _isFunction(x) {\n return Object.prototype.toString.call(x) === '[object Function]';\n}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar camelCase = require(\"lodash.camelcase\");\n\nvar _require = require(\"../utils/case-converter\"),\n snakeCase = _require.snakeCase;\n\nvar isObject = function isObject(val) {\n if (val && _typeof(val) === \"object\" && !Array.isArray(val) && !(val instanceof Date)) return true;\n return false;\n};\n/**\r\n * To Lower case object keys recursively\r\n * @param {Object} objectToCon\r\n */\n\n\nmodule.exports.toLowerKeys = function (objectToCon) {\n function recursive(obj) {\n var res = {};\n var keys = Object.keys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var keyLower = key.toLowerCase();\n\n if (isObject(obj[key])) {\n res[keyLower] = recursive(obj[key]);\n } else if (Array.isArray(obj[key])) {\n res[keyLower] = obj[key].map(function (item) {\n if (Array.isArray(item)) return item.map(function (el) {\n return isObject(el) ? recursive(el) : el;\n });\n return isObject(item) ? recursive(item) : item;\n });\n } else {\n res[keyLower] = obj[key];\n }\n }\n\n return res;\n }\n\n if (Array.isArray(objectToCon)) {\n return objectToCon.map(function (item) {\n return isObject(item) ? recursive(item) : item;\n });\n }\n\n return recursive(objectToCon);\n};\n/**\r\n * Upper case object keys recursively\r\n * @param {Object} objectToCon\r\n */\n\n\nmodule.exports.toUpperKeys = function (objectToCon) {\n function recursive(obj) {\n var res = {};\n var keys = Object.keys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var keyUpper = key.toUpperCase();\n\n if (isObject(obj[key])) {\n res[keyUpper] = recursive(obj[key]);\n } else if (Array.isArray(obj[key])) {\n res[keyUpper] = obj[key].map(function (item) {\n if (Array.isArray(item)) return item.map(function (el) {\n return isObject(el) ? recursive(el) : el;\n });\n return isObject(item) ? recursive(item) : item;\n });\n } else {\n res[keyUpper] = obj[key];\n }\n }\n\n return res;\n }\n\n if (Array.isArray(objectToCon)) {\n return objectToCon.map(function (item) {\n return isObject(item) ? recursive(item) : item;\n });\n }\n\n return recursive(objectToCon);\n};\n/**\r\n * Camel case object keys recursively\r\n * @param {Object} objectToCon\r\n */\n\n\nmodule.exports.toCamelKeys = function (objectToCon) {\n function recursive(obj) {\n var res = {};\n var keys = Object.keys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var keyCamel = camelCase(key);\n\n if (isObject(obj[key])) {\n res[keyCamel] = recursive(obj[key]);\n } else if (Array.isArray(obj[key])) {\n res[keyCamel] = obj[key].map(function (item) {\n if (Array.isArray(item)) return item.map(function (el) {\n return isObject(el) ? recursive(el) : el;\n });\n return isObject(item) ? recursive(item) : item;\n });\n } else {\n res[keyCamel] = obj[key];\n }\n }\n\n return res;\n }\n\n if (Array.isArray(objectToCon)) {\n return objectToCon.map(function (item) {\n return isObject(item) ? recursive(item) : item;\n });\n }\n\n return recursive(objectToCon);\n};\n/**\r\n * Snake case object keys recursively\r\n * @param {Object} objectToCon\r\n */\n\n\nmodule.exports.toSnakeKeys = function (objectToCon) {\n function recursive(obj) {\n var res = {};\n var keys = Object.keys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var keySnake = snakeCase(key);\n\n if (isObject(obj[key])) {\n res[keySnake] = recursive(obj[key]);\n } else if (Array.isArray(obj[key])) {\n res[keySnake] = obj[key].map(function (item) {\n if (Array.isArray(item)) return item.map(function (el) {\n return isObject(el) ? recursive(el) : el;\n });\n return isObject(item) ? recursive(item) : item;\n });\n } else {\n res[keySnake] = obj[key];\n }\n }\n\n return res;\n }\n\n if (Array.isArray(objectToCon)) {\n return objectToCon.map(function (item) {\n return isObject(item) ? recursive(item) : item;\n });\n }\n\n return recursive(objectToCon);\n};\n/**\r\n * Change object keys name recursively\r\n * @param {Object} objectToCon\r\n * @param {Object} changedKeys\r\n */\n\n\nmodule.exports.changeKeys = function (objectToCon, changedKeys) {\n function recursive(obj) {\n var res = {};\n var keys = Object.keys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var newKey = changedKeys[key] == undefined ? key : changedKeys[key];\n\n if (isObject(obj[key])) {\n res[newKey] = recursive(obj[key]);\n } else if (Array.isArray(obj[key])) {\n res[newKey] = obj[key].map(function (item) {\n if (Array.isArray(item)) return item.map(function (el) {\n return isObject(el) ? recursive(el) : el;\n });\n return isObject(item) ? recursive(item) : item;\n });\n } else {\n res[newKey] = obj[key];\n }\n }\n\n return res;\n }\n\n if (Array.isArray(objectToCon)) {\n return objectToCon.map(function (item) {\n return isObject(item) ? recursive(item) : item;\n });\n }\n\n return recursive(objectToCon);\n};\n/**\r\n * String case conversion\r\n * \r\n */\n\n\nmodule.exports.toSnakeCase = function (key) {\n return snakeCase(key);\n};\n\nmodule.exports.toCamelCase = function (key) {\n return camelCase(key);\n};","import ResizeObserver from 'resize-observer-polyfill';\nimport { debounce } from 'throttle-debounce';\nvar isServer = typeof window === 'undefined';\n/* istanbul ignore next */\n\nvar resizeHandler = function resizeHandler(entries) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = entries[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var entry = _step.value;\n var listeners = entry.target.__resizeListeners__ || [];\n\n if (listeners.length) {\n listeners.forEach(function (fn) {\n fn();\n });\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n};\n/* istanbul ignore next */\n\n\nexport var addResizeListener = function addResizeListener(element, fn) {\n if (isServer) return;\n\n if (!element.__resizeListeners__) {\n element.__resizeListeners__ = [];\n element.__ro__ = new ResizeObserver(debounce(16, resizeHandler));\n\n element.__ro__.observe(element);\n }\n\n element.__resizeListeners__.push(fn);\n};\n/* istanbul ignore next */\n\nexport var removeResizeListener = function removeResizeListener(element, fn) {\n if (!element || !element.__resizeListeners__) return;\n\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n\n if (!element.__resizeListeners__.length) {\n element.__ro__.disconnect();\n }\n};","export var BAR_MAP = {\n vertical: {\n offset: 'offsetHeight',\n scroll: 'scrollTop',\n scrollSize: 'scrollHeight',\n size: 'height',\n key: 'vertical',\n axis: 'Y',\n client: 'clientY',\n direction: 'top'\n },\n horizontal: {\n offset: 'offsetWidth',\n scroll: 'scrollLeft',\n scrollSize: 'scrollWidth',\n size: 'width',\n key: 'horizontal',\n axis: 'X',\n client: 'clientX',\n direction: 'left'\n }\n};\nexport function renderThumbStyle(_ref) {\n var move = _ref.move,\n size = _ref.size,\n bar = _ref.bar;\n var style = {};\n var translate = \"translate\".concat(bar.axis, \"(\").concat(move, \"%)\");\n style[bar.size] = size;\n style.transform = translate;\n style.msTransform = translate;\n style.webkitTransform = translate;\n return style;\n}\n;","import { on, off } from 'element-ui/src/utils/dom';\nimport { renderThumbStyle, BAR_MAP } from './util';\n/* istanbul ignore next */\n\nexport default {\n name: 'Bar',\n props: {\n vertical: Boolean,\n size: String,\n move: Number\n },\n computed: {\n bar: function bar() {\n return BAR_MAP[this.vertical ? 'vertical' : 'horizontal'];\n },\n wrap: function wrap() {\n return this.$parent.wrap;\n }\n },\n render: function render(h) {\n var size = this.size,\n move = this.move,\n bar = this.bar;\n return h(\"div\", {\n \"class\": ['el-scrollbar__bar', 'is-' + bar.key],\n \"on\": {\n \"mousedown\": this.clickTrackHandler\n }\n }, [h(\"div\", {\n \"ref\": \"thumb\",\n \"class\": \"el-scrollbar__thumb\",\n \"on\": {\n \"mousedown\": this.clickThumbHandler\n },\n \"style\": renderThumbStyle({\n size: size,\n move: move,\n bar: bar\n })\n })]);\n },\n methods: {\n clickThumbHandler: function clickThumbHandler(e) {\n // prevent click event of right button\n if (e.ctrlKey || e.button === 2) {\n return;\n }\n\n this.startDrag(e);\n this[this.bar.axis] = e.currentTarget[this.bar.offset] - (e[this.bar.client] - e.currentTarget.getBoundingClientRect()[this.bar.direction]);\n },\n clickTrackHandler: function clickTrackHandler(e) {\n var offset = Math.abs(e.target.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]);\n var thumbHalf = this.$refs.thumb[this.bar.offset] / 2;\n var thumbPositionPercentage = (offset - thumbHalf) * 100 / this.$el[this.bar.offset];\n this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;\n },\n startDrag: function startDrag(e) {\n e.stopImmediatePropagation();\n this.cursorDown = true;\n on(document, 'mousemove', this.mouseMoveDocumentHandler);\n on(document, 'mouseup', this.mouseUpDocumentHandler);\n\n document.onselectstart = function () {\n return false;\n };\n },\n mouseMoveDocumentHandler: function mouseMoveDocumentHandler(e) {\n if (this.cursorDown === false) return;\n var prevPage = this[this.bar.axis];\n if (!prevPage) return;\n var offset = (this.$el.getBoundingClientRect()[this.bar.direction] - e[this.bar.client]) * -1;\n var thumbClickPosition = this.$refs.thumb[this.bar.offset] - prevPage;\n var thumbPositionPercentage = (offset - thumbClickPosition) * 100 / this.$el[this.bar.offset];\n this.wrap[this.bar.scroll] = thumbPositionPercentage * this.wrap[this.bar.scrollSize] / 100;\n },\n mouseUpDocumentHandler: function mouseUpDocumentHandler(e) {\n this.cursorDown = false;\n this[this.bar.axis] = 0;\n off(document, 'mousemove', this.mouseMoveDocumentHandler);\n document.onselectstart = null;\n }\n },\n destroyed: function destroyed() {\n off(document, 'mouseup', this.mouseUpDocumentHandler);\n }\n};","// reference https://github.com/noeldelgado/gemini-scrollbar/blob/master/index.js\nimport { addResizeListener, removeResizeListener } from 'element-ui/src/utils/resize-event';\nimport scrollbarWidth from 'element-ui/src/utils/scrollbar-width';\nimport { toObject } from 'element-ui/src/utils/util';\nimport Bar from './bar';\n/* istanbul ignore next */\n\nexport default {\n name: 'ElScrollbar',\n components: {\n Bar: Bar\n },\n props: {\n \"native\": Boolean,\n wrapStyle: {},\n wrapClass: {},\n viewClass: {},\n viewStyle: {},\n noresize: Boolean,\n // 如果 container 尺寸ä¸ä¼šå‘生å˜åŒ–,最好设置它å¯ä»¥ä¼˜åŒ–性能\n tag: {\n type: String,\n \"default\": 'div'\n }\n },\n data: function data() {\n return {\n sizeWidth: '0',\n sizeHeight: '0',\n moveX: 0,\n moveY: 0\n };\n },\n computed: {\n wrap: function wrap() {\n return this.$refs.wrap;\n }\n },\n render: function render(h) {\n var gutter = scrollbarWidth();\n var style = this.wrapStyle;\n\n if (gutter) {\n var gutterWith = \"-\".concat(gutter, \"px\");\n var gutterStyle = \"margin-bottom: \".concat(gutterWith, \"; margin-right: \").concat(gutterWith, \";\");\n\n if (Array.isArray(this.wrapStyle)) {\n style = toObject(this.wrapStyle);\n style.marginRight = style.marginBottom = gutterWith;\n } else if (typeof this.wrapStyle === 'string') {\n style += gutterStyle;\n } else {\n style = gutterStyle;\n }\n }\n\n var view = h(this.tag, {\n \"class\": ['el-scrollbar__view', this.viewClass],\n style: this.viewStyle,\n ref: 'resize'\n }, this.$slots[\"default\"]);\n var wrap = h(\"div\", {\n \"ref\": \"wrap\",\n \"style\": style,\n \"on\": {\n \"scroll\": this.handleScroll\n },\n \"class\": [this.wrapClass, 'el-scrollbar__wrap', gutter ? '' : 'el-scrollbar__wrap--hidden-default']\n }, [[view]]);\n var nodes;\n\n if (!this[\"native\"]) {\n nodes = [wrap, h(Bar, {\n \"attrs\": {\n \"move\": this.moveX,\n \"size\": this.sizeWidth\n }\n }), h(Bar, {\n \"attrs\": {\n \"vertical\": true,\n \"move\": this.moveY,\n \"size\": this.sizeHeight\n }\n })];\n } else {\n nodes = [h(\"div\", {\n \"ref\": \"wrap\",\n \"class\": [this.wrapClass, 'el-scrollbar__wrap'],\n \"style\": style\n }, [[view]])];\n }\n\n return h('div', {\n \"class\": 'el-scrollbar'\n }, nodes);\n },\n methods: {\n handleScroll: function handleScroll() {\n var wrap = this.wrap;\n this.moveY = wrap.scrollTop * 100 / wrap.clientHeight;\n this.moveX = wrap.scrollLeft * 100 / wrap.clientWidth;\n },\n update: function update() {\n var heightPercentage, widthPercentage;\n var wrap = this.wrap;\n if (!wrap) return;\n heightPercentage = wrap.clientHeight * 100 / wrap.scrollHeight;\n widthPercentage = wrap.clientWidth * 100 / wrap.scrollWidth;\n this.sizeHeight = heightPercentage < 100 ? heightPercentage + '%' : '';\n this.sizeWidth = widthPercentage < 100 ? widthPercentage + '%' : '';\n }\n },\n mounted: function mounted() {\n if (this[\"native\"]) return;\n this.$nextTick(this.update);\n !this.noresize && addResizeListener(this.$refs.resize, this.update);\n },\n beforeDestroy: function beforeDestroy() {\n if (this[\"native\"]) return;\n !this.noresize && removeResizeListener(this.$refs.resize, this.update);\n }\n};","import Scrollbar from './src/main';\n/* istanbul ignore next */\n\nScrollbar.install = function (Vue) {\n Vue.component(Scrollbar.name, Scrollbar);\n};\n\nexport default Scrollbar;","export default {\n el: {\n colorpicker: {\n confirm: '确定',\n clear: '清空'\n },\n datepicker: {\n now: 'æ¤åˆ»',\n today: '今天',\n cancel: 'å–消',\n clear: '清空',\n confirm: '确定',\n selectDate: '选择日期',\n selectTime: '选择时间',\n startDate: '开始日期',\n startTime: '开始时间',\n endDate: '结æŸæ—¥æœŸ',\n endTime: '结æŸæ—¶é—´',\n prevYear: 'å‰ä¸€å¹´',\n nextYear: 'åŽä¸€å¹´',\n prevMonth: '上个月',\n nextMonth: '下个月',\n year: 'å¹´',\n month1: '1 月',\n month2: '2 月',\n month3: '3 月',\n month4: '4 月',\n month5: '5 月',\n month6: '6 月',\n month7: '7 月',\n month8: '8 月',\n month9: '9 月',\n month10: '10 月',\n month11: '11 月',\n month12: '12 月',\n // week: '周次',\n weeks: {\n sun: 'æ—¥',\n mon: '一',\n tue: '二',\n wed: '三',\n thu: 'å››',\n fri: '五',\n sat: 'å…'\n },\n months: {\n jan: '一月',\n feb: '二月',\n mar: '三月',\n apr: '四月',\n may: '五月',\n jun: 'å…月',\n jul: '七月',\n aug: '八月',\n sep: 'ä¹æœˆ',\n oct: 'å月',\n nov: 'å一月',\n dec: 'å二月'\n }\n },\n select: {\n loading: 'åŠ è½½ä¸',\n noMatch: 'æ— åŒ¹é…æ•°æ®',\n noData: 'æ— æ•°æ®',\n placeholder: '请选择'\n },\n cascader: {\n noMatch: 'æ— åŒ¹é…æ•°æ®',\n loading: 'åŠ è½½ä¸',\n placeholder: '请选择',\n noData: 'æš‚æ— æ•°æ®'\n },\n pagination: {\n \"goto\": 'å‰å¾€',\n pagesize: 'æ¡/页',\n total: 'å…± {total} æ¡',\n pageClassifier: '页'\n },\n messagebox: {\n title: 'æ示',\n confirm: '确定',\n cancel: 'å–消',\n error: '输入的数æ®ä¸åˆæ³•!'\n },\n upload: {\n deleteTip: '按 delete é”®å¯åˆ 除',\n \"delete\": 'åˆ é™¤',\n preview: '查看图片',\n \"continue\": '继ç»ä¸Šä¼ '\n },\n table: {\n emptyText: 'æš‚æ— æ•°æ®',\n confirmFilter: 'ç›é€‰',\n resetFilter: 'é‡ç½®',\n clearFilter: '全部',\n sumText: 'åˆè®¡'\n },\n tree: {\n emptyText: 'æš‚æ— æ•°æ®'\n },\n transfer: {\n noMatch: 'æ— åŒ¹é…æ•°æ®',\n noData: 'æ— æ•°æ®',\n titles: ['列表 1', '列表 2'],\n filterPlaceholder: '请输入æœç´¢å†…容',\n noCheckedFormat: 'å…± {total} 项',\n hasCheckedFormat: '已选 {checked}/{total} 项'\n },\n image: {\n error: 'åŠ è½½å¤±è´¥'\n },\n pageHeader: {\n title: '返回'\n },\n popconfirm: {\n confirmButtonText: '确定',\n cancelButtonText: 'å–消'\n },\n empty: {\n description: 'æš‚æ— æ•°æ®'\n }\n }\n};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { hasOwn } from 'element-ui/src/utils/util';\nvar RE_NARGS = /(%|)\\{([0-9a-zA-Z_]+)\\}/g;\n/**\n * String format template\n * - Inspired:\n * https://github.com/Matt-Esch/string-template/index.js\n */\n\nexport default function (Vue) {\n /**\n * template\n *\n * @param {String} string\n * @param {Array} ...args\n * @return {String}\n */\n function template(string) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (args.length === 1 && _typeof(args[0]) === 'object') {\n args = args[0];\n }\n\n if (!args || !args.hasOwnProperty) {\n args = {};\n }\n\n return string.replace(RE_NARGS, function (match, prefix, i, index) {\n var result;\n\n if (string[index - 1] === '{' && string[index + match.length] === '}') {\n return i;\n } else {\n result = hasOwn(args, i) ? args[i] : null;\n\n if (result === null || result === undefined) {\n return '';\n }\n\n return result;\n }\n });\n }\n\n return template;\n}","import defaultLang from 'element-ui/src/locale/lang/zh-CN';\nimport Vue from 'vue';\nimport deepmerge from 'deepmerge';\nimport Format from './format';\nvar format = Format(Vue);\nvar lang = defaultLang;\nvar merged = false;\n\nvar i18nHandler = function i18nHandler() {\n var vuei18n = Object.getPrototypeOf(this || Vue).$t;\n\n if (typeof vuei18n === 'function' && !!Vue.locale) {\n if (!merged) {\n merged = true;\n Vue.locale(Vue.config.lang, deepmerge(lang, Vue.locale(Vue.config.lang) || {}, {\n clone: true\n }));\n }\n\n return vuei18n.apply(this, arguments);\n }\n};\n\nexport var t = function t(path, options) {\n var value = i18nHandler.apply(this, arguments);\n if (value !== null && value !== undefined) return value;\n var array = path.split('.');\n var current = lang;\n\n for (var i = 0, j = array.length; i < j; i++) {\n var property = array[i];\n value = current[property];\n if (i === j - 1) return format(value, options);\n if (!value) return '';\n current = value;\n }\n\n return '';\n};\nexport var use = function use(l) {\n lang = l || lang;\n};\nexport var i18n = function i18n(fn) {\n i18nHandler = fn || i18nHandler;\n};\nexport default {\n use: use,\n t: t,\n i18n: i18n\n};","import { t as _t } from 'element-ui/src/locale';\nexport default {\n methods: {\n t: function t() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _t.apply(this, args);\n }\n }\n};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import*as Sentry from'@sentry/vue';import{pathOr}from'ramda';import{differenceInCalendarDays,differenceInHours,differenceInSeconds,formatDistance,parseISO}from'date-fns';import getFnsLocale from'~/lib/dateFnsLocale';import{MINI_PLAN_NAME,PREMIUM_PLAN_NAME,EXPIRE_SUBSCRIPTION_THRESHOLD_DAYS}from'~/config/constants';export var AUTH_STATUS_NONE='AUTH_STATUS_NONE';export var AUTH_STATUS_PENDING='AUTH_STATUS_PENDING';export var AUTH_STATUS_AUTHORIZED='AUTH_STATUS_AUTHORIZED';export var AUTH_STATUS_ERROR='AUTH_STATUS_ERROR';export var DEFAULT_HEADERS={'Content-Type':'application/json'};var ERROR_MESSAGES={401:'signIn.error.wrongCodeOrEmail'};var defaultState=function defaultState(){return{user:{active_until:null,current_plan_name:null,email:null,last_invoice_number:null,states_enabled:false,user_hash:null},tokens:{access:null,access_expires_at:null,refresh:null,refresh_expires_at:null,csrf:null},keepMeSignedIn:false,authStatus:AUTH_STATUS_NONE,errorMessage:null,errorMessages:{},dialogOpened:false,dialogData:{step:null,email:null}};};export default{namespaced:true,state:defaultState(),mutations:{requestResetPasswordSuccess:function requestResetPasswordSuccess(){},clearErrorMessages:function clearErrorMessages(state){state.errorMessages={};state.errorMessage=null;},signInSuccess:function signInSuccess(state,action){var _window$posthog,_window$posthog$persi,_window$posthog$persi2,_window$posthog$persi3;state.authStatus=AUTH_STATUS_AUTHORIZED;state.user=action.payload.data.user;state.errorMessage=null;Sentry.setUser({email:state.user.email});if(((_window$posthog=window.posthog)===null||_window$posthog===void 0?void 0:(_window$posthog$persi=_window$posthog.persistence)===null||_window$posthog$persi===void 0?void 0:(_window$posthog$persi2=_window$posthog$persi.props)===null||_window$posthog$persi2===void 0?void 0:(_window$posthog$persi3=_window$posthog$persi2.$stored_person_properties)===null||_window$posthog$persi3===void 0?void 0:_window$posthog$persi3.email)!==state.user.email){var _window$posthog2;(_window$posthog2=window.posthog)===null||_window$posthog2===void 0?void 0:_window$posthog2.identify(state.user.user_hash,{email:state.user.email});}},signInError:function signInError(state,action){var errorCode=pathOr('',['payload','response','status'],action);var errorMessage=ERROR_MESSAGES[errorCode]||null;state.authStatus=AUTH_STATUS_ERROR;state.errorMessage=errorMessage;},resetState:function resetState(state){Object.assign(state,defaultState());},setTokens:function setTokens(state,payload){state.tokens=_objectSpread(_objectSpread({},state.tokens),payload.data);},setErrorMessage:function setErrorMessage(state,message){state.errorMessage=message;},setErrorMessages:function setErrorMessages(state,messages){state.errorMessages=messages;},setDialogData:function setDialogData(state,_ref){var step=_ref.step;state.dialogData=_objectSpread(_objectSpread({},state.dialogData),{},{step:step});},setEmailData:function setEmailData(state,_ref2){var email=_ref2.email;state.dialogData.email=email;},openDialog:function openDialog(state){state.dialogOpened=true;},closeDialog:function closeDialog(state){state.dialogOpened=false;},setLastSequenceNumber:function setLastSequenceNumber(state,number){Object.assign(state.user,{last_invoice_number:number});}},actions:{setLoginEmail:function setLoginEmail(_ref3,_ref4){var commit=_ref3.commit;var email=_ref4.email;commit('setEmailData',{email:email});},switchDialogStep:function switchDialogStep(_ref5,_ref6){var commit=_ref5.commit;var step=_ref6.step,email=_ref6.email;commit('setDialogData',{step:step});commit('setEmailData',{email:email});},setAuthFromWindow:function setAuthFromWindow(_ref7){var commit=_ref7.commit;if(window&&window.vueAuth){var user=window.vueAuth.user;if(user){var payload={data:{user:user}};commit('signInSuccess',{payload:payload});}}else{commit('resetState');}},signIn:function signIn(_ref8,_ref9){var commit=_ref8.commit,getters=_ref8.getters;var email=_ref9.email,code=_ref9.code;return new Promise(function(resolve,reject){var onSuccess=['config/fetchConfigData'];commit('api/fetch',{url:'/users/sign_in',method:'POST',body:{user:{email:email,password:code}},headers:getters.getHeaders,promise:{resolve:resolve,reject:reject},onSuccess:['auth/signInSuccess'].concat(onSuccess,[{type:'auth/signInSuccessFlash'}]),onError:['auth/checkDomainRedirect','auth/signInError']},{root:true});});},requestResetPassword:function requestResetPassword(_ref10,_ref11){var commit=_ref10.commit;var email=_ref11.email;commit('api/fetch',{url:'/users/password',method:'POST',body:{user:{email:email}},onSuccess:['auth/requestResetPasswordSuccess',{type:'flashMessages/addMessage',kind:'success',key:'requestResetPasswordSuccess'}],onError:[{type:'flashMessages/addMessage',kind:'error',key:'requestResetPasswordError'}]},{root:true});},submitResetPassword:function submitResetPassword(_ref12,_ref13){var commit=_ref12.commit;var password=_ref13.password,token=_ref13.token;return new Promise(function(resolve,reject){commit('api/fetch',{url:'/users/password',method:'PUT',body:{user:{password:password,reset_password_token:token}},promise:{resolve:resolve,reject:reject},onSuccess:[{type:'flashMessages/addMessage',kind:'success',key:'submitPasswordSuccess'}],onError:[{type:'flashMessages/addMessage',kind:'error',key:'submitPasswordError'}]},{root:true});});},changePassword:function changePassword(_ref14,_ref15){var commit=_ref14.commit,getters=_ref14.getters;var currentPassword=_ref15.currentPassword,password=_ref15.password;commit('api/fetch',{url:'/current_user/password',method:'PUT',body:{user:{current_password:currentPassword,password:password}},headers:getters.getHeaders,onStart:['auth/clearErrorMessages'],onSuccess:['settingsForm/closeDialog',{type:'flashMessages/addMessage',kind:'success',key:'passwordChangeSuccess'}],onError:['auth/formSubmitError',{type:'flashMessages/addMessage',kind:'error',key:'passwordChangeError'}]},{root:true});},signOut:function signOut(_ref16){var commit=_ref16.commit,getters=_ref16.getters;return new Promise(function(resolve,reject){commit('api/fetch',{url:'/users/sign_out',method:'DELETE',headers:getters.getHeaders,promise:{resolve:resolve,reject:reject},onSuccess:['auth/resetState','flashMessages/resetState','uiEffects/hideFooterInvoicesInfo',{type:'flashMessages/addMessage',kind:'success',key:'successLogout'}],onError:[]},{root:true});});},checkDomainRedirect:function checkDomainRedirect(_ref17,action){var _=_ref17._;if(action.payload.response.status===401){var redirectUrl=action.payload.response.data.errors.base[0].location;if(redirectUrl!==undefined){window.location=redirectUrl;}}return false;},signInSuccessFlash:function signInSuccessFlash(_ref18){var getters=_ref18.getters,dispatch=_ref18.dispatch;dispatch('flashMessages/addMessage',{kind:getters.tarifExpired?'error':'success',key:getters.tarifExpired?'successLoginButExpired':'successLogin'},{root:true});},signInSuccess:function signInSuccess(_ref19,payload){var commit=_ref19.commit;commit('signInSuccess',payload);},requestResetPasswordSuccess:function requestResetPasswordSuccess(_ref20){var commit=_ref20.commit;commit('requestResetPasswordSuccess');},signInError:function signInError(_ref21,payload){var commit=_ref21.commit;commit('signInError',payload);},resetState:function resetState(_ref22){var _window$posthog3;var commit=_ref22.commit,dispatch=_ref22.dispatch;dispatch('invoiceForm/resetState',{},{root:true});// eslint-disable-next-line no-unused-expressions\n(_window$posthog3=window.posthog)===null||_window$posthog3===void 0?void 0:_window$posthog3.reset();commit('resetState');},setTokens:function setTokens(_ref23,_ref24){var commit=_ref23.commit;var payload=_ref24.payload;commit('setTokens',payload);},formSubmitError:function formSubmitError(_ref25,action){var commit=_ref25.commit;commit('setErrorMessages',action.payload.response.data.errors);},clearErrorMessages:function clearErrorMessages(_ref26){var commit=_ref26.commit;commit('clearErrorMessages');},openDialog:function openDialog(_ref27){var commit=_ref27.commit;commit('openDialog');},closeDialog:function closeDialog(_ref28){var commit=_ref28.commit;commit('closeDialog');},setLastSequenceNumber:function setLastSequenceNumber(_ref29,number){var commit=_ref29.commit;commit('setLastSequenceNumber',number);}},getters:{getDateDiff:function getDateDiff(state){return differenceInCalendarDays(parseISO(state.user.active_until),new Date());},getHoursDiff:function getHoursDiff(state){return differenceInHours(parseISO(state.user.active_until),new Date());},getSecondsDiff:function getSecondsDiff(state){return differenceInSeconds(parseISO(state.user.active_until),new Date());},tarifExpired:function tarifExpired(state,getters){return getters.getDateDiff<=0&&getters.getHoursDiff<=0&&getters.getSecondsDiff<=0;},currentPlanID:function currentPlanID(state){return state.user.current_plan_id;},currentPlanName:function currentPlanName(state){return state.user.current_plan_name;},lastPlanName:function lastPlanName(state){return state.user.last_plan_name;},lastPlanId:function lastPlanId(state){return state.user.last_plan_id;},userHasMiniPlan:function userHasMiniPlan(state){return state.user.current_plan_name===MINI_PLAN_NAME;},userHasPremiumPlan:function userHasPremiumPlan(state){return state.user.current_plan_name===PREMIUM_PLAN_NAME;},userHasPlan:function userHasPlan(state){return!!state.user.current_plan_name;},getUserEmail:function getUserEmail(state){return state.user.email;},isAuthorized:function isAuthorized(state){return state.authStatus===AUTH_STATUS_AUTHORIZED;},userHash:function userHash(state){return state.user.user_hash;},getAuthHeader:function getAuthHeader(state){return state.authStatus===AUTH_STATUS_AUTHORIZED?{Authorization:\"\".concat(state.tokens.access)}:{};},getHeaders:function getHeaders(_state,getters){return _objectSpread(_objectSpread({},DEFAULT_HEADERS),getters.getAuthHeader);},// TODO can remove getAuthHeader and update getHeaders\n// getHeaders: () => DEFAULT_HEADERS,\nisTrial:function isTrial(state){return state.user['trial?'];},isTrialWillExpire:function isTrialWillExpire(_state,getters){return getters.isTrial&&getters.getDateDiff<=EXPIRE_SUBSCRIPTION_THRESHOLD_DAYS;},isOwner:function isOwner(state){return state.user.role==='owner';},isTrialExpired:function isTrialExpired(state,getters){return state.user['trial?']&&getters.tarifExpired;},isTarifLifetime:function isTarifLifetime(state){return state.user.active_until==='unlimited_lifetime';},userActiveUntil:function userActiveUntil(state){return state.user.active_until;},hasFreeTarif:function hasFreeTarif(state){return state.user['has_free_tarif?']===true;},showThankYouPage:function showThankYouPage(state){return state.user['show_thank_you_page?']===true;},getRemainingTimeWord:function getRemainingTimeWord(state,_getters,_rootState,rootGetters){if(state.user.active_until!==null){return formatDistance(parseISO(state.user.active_until),new Date(),_objectSpread({addSuffix:true},getFnsLocale(rootGetters['env/env'].language)));}return'';},isTarifExpired:function isTarifExpired(_state,getters){return!getters.isTrial&&getters.tarifExpired;},isTarifWillExpire:function isTarifWillExpire(_state,getters){return!getters.isTrial&&getters.getDateDiff<=EXPIRE_SUBSCRIPTION_THRESHOLD_DAYS;},showSubscriptionBar:function showSubscriptionBar(_state,getters){return(getters.isTrial||getters.isTrialExpired||getters.isTarifExpired||getters.isTarifWillExpire||getters.userHasMiniPlan)&&getters.isAuthorized;}}};","import getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport startOfDay from '../startOfDay/index.js';\nvar MILLISECONDS_IN_DAY = 86400000;\n/**\n * @name differenceInCalendarDays\n * @category Day Helpers\n * @summary Get the number of calendar days between the given dates.\n *\n * @description\n * Get the number of calendar days between the given dates. This means that the times are removed\n * from the dates and then the difference in days is calculated.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar days\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar days are between\n * // 2 July 2011 23:00:00 and 2 July 2012 00:00:00?\n * var result = differenceInCalendarDays(\n * new Date(2012, 6, 2, 0, 0),\n * new Date(2011, 6, 2, 23, 0)\n * )\n * //=> 366\n * // How many calendar days are between\n * // 2 July 2011 23:59:00 and 3 July 2011 00:01:00?\n * var result = differenceInCalendarDays(\n * new Date(2011, 6, 3, 0, 1),\n * new Date(2011, 6, 2, 23, 59)\n * )\n * //=> 1\n */\n\nexport default function differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n var timestampRight = startOfDayRight.getTime() - getTimezoneOffsetInMilliseconds(startOfDayRight); // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}","import differenceInMilliseconds from '../differenceInMilliseconds/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\n/**\n * @name differenceInHours\n * @category Hour Helpers\n * @summary Get the number of hours between the given dates.\n *\n * @description\n * Get the number of hours between the given dates.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of hours\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many hours are between 2 July 2014 06:50:00 and 2 July 2014 19:00:00?\n * var result = differenceInHours(\n * new Date(2014, 6, 2, 19, 0),\n * new Date(2014, 6, 2, 6, 50)\n * )\n * //=> 12\n */\n\nexport default function differenceInHours(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / MILLISECONDS_IN_HOUR;\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff);\n}","var _a = Object.prototype,\n toString = _a.toString,\n hasOwnProperty = _a.hasOwnProperty;\nvar previousComparisons = new Map();\n/**\r\n * Performs a deep equality check on two JavaScript values, tolerating cycles.\r\n */\n\nfunction equal(a, b) {\n try {\n return check(a, b);\n } finally {\n previousComparisons.clear();\n }\n}\n\nfunction check(a, b) {\n // If the two values are strictly equal, our job is easy.\n if (a === b) {\n return true;\n } // Object.prototype.toString returns a representation of the runtime type of\n // the given value that is considerably more precise than typeof.\n\n\n var aTag = toString.call(a);\n var bTag = toString.call(b); // If the runtime types of a and b are different, they could maybe be equal\n // under some interpretation of equality, but for simplicity and performance\n // we just return false instead.\n\n if (aTag !== bTag) {\n return false;\n }\n\n switch (aTag) {\n case '[object Array]':\n // Arrays are a lot like other objects, but we can cheaply compare their\n // lengths as a short-cut before comparing their elements.\n if (a.length !== b.length) return false;\n // Fall through to object case...\n\n case '[object Object]':\n {\n if (previouslyCompared(a, b)) return true;\n var aKeys = Object.keys(a);\n var bKeys = Object.keys(b); // If `a` and `b` have a different number of enumerable keys, they\n // must be different.\n\n var keyCount = aKeys.length;\n if (keyCount !== bKeys.length) return false; // Now make sure they have the same keys.\n\n for (var k = 0; k < keyCount; ++k) {\n if (!hasOwnProperty.call(b, aKeys[k])) {\n return false;\n }\n } // Finally, check deep equality of all child properties.\n\n\n for (var k = 0; k < keyCount; ++k) {\n var key = aKeys[k];\n\n if (!check(a[key], b[key])) {\n return false;\n }\n }\n\n return true;\n }\n\n case '[object Error]':\n return a.name === b.name && a.message === b.message;\n\n case '[object Number]':\n // Handle NaN, which is !== itself.\n if (a !== a) return b !== b;\n // Fall through to shared +a === +b case...\n\n case '[object Boolean]':\n case '[object Date]':\n return +a === +b;\n\n case '[object RegExp]':\n case '[object String]':\n return a == \"\" + b;\n\n case '[object Map]':\n case '[object Set]':\n {\n if (a.size !== b.size) return false;\n if (previouslyCompared(a, b)) return true;\n var aIterator = a.entries();\n var isMap = aTag === '[object Map]';\n\n while (true) {\n var info = aIterator.next();\n if (info.done) break; // If a instanceof Set, aValue === aKey.\n\n var _a = info.value,\n aKey = _a[0],\n aValue = _a[1]; // So this works the same way for both Set and Map.\n\n if (!b.has(aKey)) {\n return false;\n } // However, we care about deep equality of values only when dealing\n // with Map structures.\n\n\n if (isMap && !check(aValue, b.get(aKey))) {\n return false;\n }\n }\n\n return true;\n }\n } // Otherwise the values are not equal.\n\n\n return false;\n}\n\nfunction previouslyCompared(a, b) {\n // Though cyclic references can make an object graph appear infinite from the\n // perspective of a depth-first traversal, the graph still contains a finite\n // number of distinct object references. We use the previousComparisons cache\n // to avoid comparing the same pair of object references more than once, which\n // guarantees termination (even if we end up comparing every object in one\n // graph to every object in the other graph, which is extremely unlikely),\n // while still allowing weird isomorphic structures (like rings with different\n // lengths) a chance to pass the equality test.\n var bSet = previousComparisons.get(a);\n\n if (bSet) {\n // Return true here because we can be sure false will be returned somewhere\n // else if the objects are not equivalent.\n if (bSet.has(b)) return true;\n } else {\n previousComparisons.set(a, bSet = new Set());\n }\n\n bSet.add(b);\n return false;\n}\n\nexport default equal;\nexport { equal };","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};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = isSameUTCWeek;\n\nvar _index = _interopRequireDefault(require(\"../startOfUTCWeek/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n} // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\n\nfunction isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) {\n if (arguments.length < 2) {\n throw new TypeError('2 argument required, but only ' + arguments.length + ' present');\n }\n\n var dateLeftStartOfWeek = (0, _index[\"default\"])(dirtyDateLeft, options);\n var dateRightStartOfWeek = (0, _index[\"default\"])(dirtyDateRight, options);\n return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();\n}\n\nmodule.exports = exports[\"default\"];","var formatNumber=function formatNumber(value,locale){var decimalPlaces=arguments.length>2&&arguments[2]!==undefined?arguments[2]:2;var minDecimalPlaces=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;var minimumDecimalPlaces=minDecimalPlaces===null?decimalPlaces:minDecimalPlaces;return new Intl.NumberFormat(locale,{minimumFractionDigits:minimumDecimalPlaces,maximumFractionDigits:decimalPlaces,style:'decimal',useGrouping:true}).format(value);};export var getNumberSeparators=function getNumberSeparators(locale){var _parts$find,_parts$find2;var parts=new Intl.NumberFormat(locale,{style:'decimal',useGrouping:true}).formatToParts(1234.5);var thousandSeparator=((_parts$find=parts.find(function(part){return part.type==='group';}))===null||_parts$find===void 0?void 0:_parts$find.value)||'';var decimalSeparator=((_parts$find2=parts.find(function(part){return part.type==='decimal';}))===null||_parts$find2===void 0?void 0:_parts$find2.value)||'';return{thousandSeparator:thousandSeparator,decimalSeparator:decimalSeparator};};export default formatNumber;","// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = typeof crypto != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto);\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n\n return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join('');\n}\n\nmodule.exports = bytesToUuid;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.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/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n/** `Object#toString` result references. */\n\nvar symbolTag = '[object Symbol]';\n/** Used to match words composed of alphanumeric characters. */\n\nvar reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n/** Used to match Latin Unicode letters (excluding mathematical operators). */\n\nvar reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n/** Used to compose unicode character classes. */\n\nvar rsAstralRange = \"\\\\ud800-\\\\udfff\",\n rsComboMarksRange = \"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe23\",\n rsComboSymbolsRange = \"\\\\u20d0-\\\\u20f0\",\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\nvar rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',\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\nvar rsLowerMisc = '(?:' + rsLower + '|' + rsMisc + ')',\n rsUpperMisc = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptLowerContr = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptUpperContr = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\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\nvar 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\nvar reComboMark = RegExp(rsCombo, 'g');\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n/** Used to match complex or compound words. */\n\nvar reUnicodeWord = RegExp([rsUpper + '?' + rsLower + '+' + rsOptLowerContr + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', rsUpperMisc + '+' + rsOptUpperContr + '(?=' + [rsBreak, rsUpper + rsLowerMisc, '$'].join('|') + ')', rsUpper + '?' + rsLowerMisc + '+' + rsOptLowerContr, rsUpper + '+' + rsOptUpperContr, 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\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');\n/** Used to detect strings that need a more robust regexp to match words. */\n\nvar 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 map Latin Unicode letters to basic Latin letters. */\n\nvar 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\": 'ss'\n};\n/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal = (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) == 'object' && global && global.Object === Object && global;\n/** Detect free variable `self`. */\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')();\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\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array ? array.length : 0;\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 * 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\nfunction 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\nfunction asciiWords(string) {\n return string.match(reAsciiWord) || [];\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\nfunction basePropertyOf(object) {\n return function (key) {\n return object == null ? undefined : object[key];\n };\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\nvar deburrLetter = basePropertyOf(deburredLetters);\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\nfunction 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\nfunction hasUnicodeWord(string) {\n return reHasUnicodeWord.test(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\nfunction stringToArray(string) {\n return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);\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\nfunction 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\nfunction unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n}\n/** Used for built-in method references. */\n\n\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 objectToString = objectProto.toString;\n/** Built-in value references. */\n\nvar _Symbol = root.Symbol;\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 `_.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\nfunction 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 `_.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\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 (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 * 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\nfunction 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 * 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\nfunction 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\nfunction createCompounder(callback) {\n return function (string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\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\nfunction isObjectLike(value) {\n return !!value && _typeof(value) == 'object';\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\nfunction isSymbol(value) {\n return _typeof(value) == 'symbol' || isObjectLike(value) && objectToString.call(value) == symbolTag;\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 process.\n * @returns {string} Returns the 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/**\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\nvar 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\nfunction 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\nfunction deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\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\nvar 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\nfunction 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\nmodule.exports = camelCase;","'use strict';\n/* Modified from https://github.com/taylorhakes/fecha\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2015 Taylor Hakes\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n/*eslint-disable*/\n// 把 YYYY-MM-DD 改æˆäº† yyyy-MM-dd\n\n(function (main) {\n 'use strict';\n /**\n * Parse or format dates\n * @class fecha\n */\n\n var fecha = {};\n var token = /d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\\1?|[aA]|\"[^\"]*\"|'[^']*'/g;\n var twoDigits = '\\\\d\\\\d?';\n var threeDigits = '\\\\d{3}';\n var fourDigits = '\\\\d{4}';\n var word = '[^\\\\s]+';\n var literal = /\\[([^]*?)\\]/gm;\n\n var noop = function noop() {};\n\n function regexEscape(str) {\n return str.replace(/[|\\\\{()[^$+*?.-]/g, '\\\\$&');\n }\n\n function shorten(arr, sLen) {\n var newArr = [];\n\n for (var i = 0, len = arr.length; i < len; i++) {\n newArr.push(arr[i].substr(0, sLen));\n }\n\n return newArr;\n }\n\n function monthUpdate(arrName) {\n return function (d, v, i18n) {\n var index = i18n[arrName].indexOf(v.charAt(0).toUpperCase() + v.substr(1).toLowerCase());\n\n if (~index) {\n d.month = index;\n }\n };\n }\n\n function pad(val, len) {\n val = String(val);\n len = len || 2;\n\n while (val.length < len) {\n val = '0' + val;\n }\n\n return val;\n }\n\n var dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];\n var monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];\n var monthNamesShort = shorten(monthNames, 3);\n var dayNamesShort = shorten(dayNames, 3);\n fecha.i18n = {\n dayNamesShort: dayNamesShort,\n dayNames: dayNames,\n monthNamesShort: monthNamesShort,\n monthNames: monthNames,\n amPm: ['am', 'pm'],\n DoFn: function DoFn(D) {\n return D + ['th', 'st', 'nd', 'rd'][D % 10 > 3 ? 0 : (D - D % 10 !== 10) * D % 10];\n }\n };\n var formatFlags = {\n D: function D(dateObj) {\n return dateObj.getDay();\n },\n DD: function DD(dateObj) {\n return pad(dateObj.getDay());\n },\n Do: function Do(dateObj, i18n) {\n return i18n.DoFn(dateObj.getDate());\n },\n d: function d(dateObj) {\n return dateObj.getDate();\n },\n dd: function dd(dateObj) {\n return pad(dateObj.getDate());\n },\n ddd: function ddd(dateObj, i18n) {\n return i18n.dayNamesShort[dateObj.getDay()];\n },\n dddd: function dddd(dateObj, i18n) {\n return i18n.dayNames[dateObj.getDay()];\n },\n M: function M(dateObj) {\n return dateObj.getMonth() + 1;\n },\n MM: function MM(dateObj) {\n return pad(dateObj.getMonth() + 1);\n },\n MMM: function MMM(dateObj, i18n) {\n return i18n.monthNamesShort[dateObj.getMonth()];\n },\n MMMM: function MMMM(dateObj, i18n) {\n return i18n.monthNames[dateObj.getMonth()];\n },\n yy: function yy(dateObj) {\n return pad(String(dateObj.getFullYear()), 4).substr(2);\n },\n yyyy: function yyyy(dateObj) {\n return pad(dateObj.getFullYear(), 4);\n },\n h: function h(dateObj) {\n return dateObj.getHours() % 12 || 12;\n },\n hh: function hh(dateObj) {\n return pad(dateObj.getHours() % 12 || 12);\n },\n H: function H(dateObj) {\n return dateObj.getHours();\n },\n HH: function HH(dateObj) {\n return pad(dateObj.getHours());\n },\n m: function m(dateObj) {\n return dateObj.getMinutes();\n },\n mm: function mm(dateObj) {\n return pad(dateObj.getMinutes());\n },\n s: function s(dateObj) {\n return dateObj.getSeconds();\n },\n ss: function ss(dateObj) {\n return pad(dateObj.getSeconds());\n },\n S: function S(dateObj) {\n return Math.round(dateObj.getMilliseconds() / 100);\n },\n SS: function SS(dateObj) {\n return pad(Math.round(dateObj.getMilliseconds() / 10), 2);\n },\n SSS: function SSS(dateObj) {\n return pad(dateObj.getMilliseconds(), 3);\n },\n a: function a(dateObj, i18n) {\n return dateObj.getHours() < 12 ? i18n.amPm[0] : i18n.amPm[1];\n },\n A: function A(dateObj, i18n) {\n return dateObj.getHours() < 12 ? i18n.amPm[0].toUpperCase() : i18n.amPm[1].toUpperCase();\n },\n ZZ: function ZZ(dateObj) {\n var o = dateObj.getTimezoneOffset();\n return (o > 0 ? '-' : '+') + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4);\n }\n };\n var parseFlags = {\n d: [twoDigits, function (d, v) {\n d.day = v;\n }],\n Do: [twoDigits + word, function (d, v) {\n d.day = parseInt(v, 10);\n }],\n M: [twoDigits, function (d, v) {\n d.month = v - 1;\n }],\n yy: [twoDigits, function (d, v) {\n var da = new Date(),\n cent = +('' + da.getFullYear()).substr(0, 2);\n d.year = '' + (v > 68 ? cent - 1 : cent) + v;\n }],\n h: [twoDigits, function (d, v) {\n d.hour = v;\n }],\n m: [twoDigits, function (d, v) {\n d.minute = v;\n }],\n s: [twoDigits, function (d, v) {\n d.second = v;\n }],\n yyyy: [fourDigits, function (d, v) {\n d.year = v;\n }],\n S: ['\\\\d', function (d, v) {\n d.millisecond = v * 100;\n }],\n SS: ['\\\\d{2}', function (d, v) {\n d.millisecond = v * 10;\n }],\n SSS: [threeDigits, function (d, v) {\n d.millisecond = v;\n }],\n D: [twoDigits, noop],\n ddd: [word, noop],\n MMM: [word, monthUpdate('monthNamesShort')],\n MMMM: [word, monthUpdate('monthNames')],\n a: [word, function (d, v, i18n) {\n var val = v.toLowerCase();\n\n if (val === i18n.amPm[0]) {\n d.isPm = false;\n } else if (val === i18n.amPm[1]) {\n d.isPm = true;\n }\n }],\n ZZ: ['[^\\\\s]*?[\\\\+\\\\-]\\\\d\\\\d:?\\\\d\\\\d|[^\\\\s]*?Z', function (d, v) {\n var parts = (v + '').match(/([+-]|\\d\\d)/gi),\n minutes;\n\n if (parts) {\n minutes = +(parts[1] * 60) + parseInt(parts[2], 10);\n d.timezoneOffset = parts[0] === '+' ? minutes : -minutes;\n }\n }]\n };\n parseFlags.dd = parseFlags.d;\n parseFlags.dddd = parseFlags.ddd;\n parseFlags.DD = parseFlags.D;\n parseFlags.mm = parseFlags.m;\n parseFlags.hh = parseFlags.H = parseFlags.HH = parseFlags.h;\n parseFlags.MM = parseFlags.M;\n parseFlags.ss = parseFlags.s;\n parseFlags.A = parseFlags.a; // Some common format strings\n\n fecha.masks = {\n \"default\": 'ddd MMM dd yyyy HH:mm:ss',\n shortDate: 'M/D/yy',\n mediumDate: 'MMM d, yyyy',\n longDate: 'MMMM d, yyyy',\n fullDate: 'dddd, MMMM d, yyyy',\n shortTime: 'HH:mm',\n mediumTime: 'HH:mm:ss',\n longTime: 'HH:mm:ss.SSS'\n };\n /***\n * Format a date\n * @method format\n * @param {Date|number} dateObj\n * @param {string} mask Format of the date, i.e. 'mm-dd-yy' or 'shortDate'\n */\n\n fecha.format = function (dateObj, mask, i18nSettings) {\n var i18n = i18nSettings || fecha.i18n;\n\n if (typeof dateObj === 'number') {\n dateObj = new Date(dateObj);\n }\n\n if (Object.prototype.toString.call(dateObj) !== '[object Date]' || isNaN(dateObj.getTime())) {\n throw new Error('Invalid Date in fecha.format');\n }\n\n mask = fecha.masks[mask] || mask || fecha.masks['default'];\n var literals = []; // Make literals inactive by replacing them with ??\n\n mask = mask.replace(literal, function ($0, $1) {\n literals.push($1);\n return '@@@';\n }); // Apply formatting rules\n\n mask = mask.replace(token, function ($0) {\n return $0 in formatFlags ? formatFlags[$0](dateObj, i18n) : $0.slice(1, $0.length - 1);\n }); // Inline literal values back into the formatted value\n\n return mask.replace(/@@@/g, function () {\n return literals.shift();\n });\n };\n /**\n * Parse a date string into an object, changes - into /\n * @method parse\n * @param {string} dateStr Date string\n * @param {string} format Date parse format\n * @returns {Date|boolean}\n */\n\n\n fecha.parse = function (dateStr, format, i18nSettings) {\n var i18n = i18nSettings || fecha.i18n;\n\n if (typeof format !== 'string') {\n throw new Error('Invalid format in fecha.parse');\n }\n\n format = fecha.masks[format] || format; // Avoid regular expression denial of service, fail early for really long strings\n // https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS\n\n if (dateStr.length > 1000) {\n return null;\n }\n\n var dateInfo = {};\n var parseInfo = [];\n var literals = [];\n format = format.replace(literal, function ($0, $1) {\n literals.push($1);\n return '@@@';\n });\n var newFormat = regexEscape(format).replace(token, function ($0) {\n if (parseFlags[$0]) {\n var info = parseFlags[$0];\n parseInfo.push(info[1]);\n return '(' + info[0] + ')';\n }\n\n return $0;\n });\n newFormat = newFormat.replace(/@@@/g, function () {\n return literals.shift();\n });\n var matches = dateStr.match(new RegExp(newFormat, 'i'));\n\n if (!matches) {\n return null;\n }\n\n for (var i = 1; i < matches.length; i++) {\n parseInfo[i - 1](dateInfo, matches[i], i18n);\n }\n\n var today = new Date();\n\n if (dateInfo.isPm === true && dateInfo.hour != null && +dateInfo.hour !== 12) {\n dateInfo.hour = +dateInfo.hour + 12;\n } else if (dateInfo.isPm === false && +dateInfo.hour === 12) {\n dateInfo.hour = 0;\n }\n\n var date;\n\n if (dateInfo.timezoneOffset != null) {\n dateInfo.minute = +(dateInfo.minute || 0) - +dateInfo.timezoneOffset;\n date = new Date(Date.UTC(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1, dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0));\n } else {\n date = new Date(dateInfo.year || today.getFullYear(), dateInfo.month || 0, dateInfo.day || 1, dateInfo.hour || 0, dateInfo.minute || 0, dateInfo.second || 0, dateInfo.millisecond || 0);\n }\n\n return date;\n };\n /* istanbul ignore next */\n\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = fecha;\n } else if (typeof define === 'function' && define.amd) {\n define(function () {\n return fecha;\n });\n } else {\n main.fecha = fecha;\n }\n})(undefined);","'use strict';\n\nexports.__esModule = true;\nexports.PopupManager = undefined;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nvar _merge = require('element-ui/lib/utils/merge');\n\nvar _merge2 = _interopRequireDefault(_merge);\n\nvar _popupManager = require('element-ui/lib/utils/popup/popup-manager');\n\nvar _popupManager2 = _interopRequireDefault(_popupManager);\n\nvar _scrollbarWidth = require('../scrollbar-width');\n\nvar _scrollbarWidth2 = _interopRequireDefault(_scrollbarWidth);\n\nvar _dom = require('../dom');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar idSeed = 1;\nvar scrollBarWidth = void 0;\nexports[\"default\"] = {\n props: {\n visible: {\n type: Boolean,\n \"default\": false\n },\n openDelay: {},\n closeDelay: {},\n zIndex: {},\n modal: {\n type: Boolean,\n \"default\": false\n },\n modalFade: {\n type: Boolean,\n \"default\": true\n },\n modalClass: {},\n modalAppendToBody: {\n type: Boolean,\n \"default\": false\n },\n lockScroll: {\n type: Boolean,\n \"default\": true\n },\n closeOnPressEscape: {\n type: Boolean,\n \"default\": false\n },\n closeOnClickModal: {\n type: Boolean,\n \"default\": false\n }\n },\n beforeMount: function beforeMount() {\n this._popupId = 'popup-' + idSeed++;\n\n _popupManager2[\"default\"].register(this._popupId, this);\n },\n beforeDestroy: function beforeDestroy() {\n _popupManager2[\"default\"].deregister(this._popupId);\n\n _popupManager2[\"default\"].closeModal(this._popupId);\n\n this.restoreBodyStyle();\n },\n data: function data() {\n return {\n opened: false,\n bodyPaddingRight: null,\n computedBodyPaddingRight: 0,\n withoutHiddenClass: true,\n rendered: false\n };\n },\n watch: {\n visible: function visible(val) {\n var _this = this;\n\n if (val) {\n if (this._opening) return;\n\n if (!this.rendered) {\n this.rendered = true;\n\n _vue2[\"default\"].nextTick(function () {\n _this.open();\n });\n } else {\n this.open();\n }\n } else {\n this.close();\n }\n }\n },\n methods: {\n open: function open(options) {\n var _this2 = this;\n\n if (!this.rendered) {\n this.rendered = true;\n }\n\n var props = (0, _merge2[\"default\"])({}, this.$props || this, options);\n\n if (this._closeTimer) {\n clearTimeout(this._closeTimer);\n this._closeTimer = null;\n }\n\n clearTimeout(this._openTimer);\n var openDelay = Number(props.openDelay);\n\n if (openDelay > 0) {\n this._openTimer = setTimeout(function () {\n _this2._openTimer = null;\n\n _this2.doOpen(props);\n }, openDelay);\n } else {\n this.doOpen(props);\n }\n },\n doOpen: function doOpen(props) {\n if (this.$isServer) return;\n if (this.willOpen && !this.willOpen()) return;\n if (this.opened) return;\n this._opening = true;\n var dom = this.$el;\n var modal = props.modal;\n var zIndex = props.zIndex;\n\n if (zIndex) {\n _popupManager2[\"default\"].zIndex = zIndex;\n }\n\n if (modal) {\n if (this._closing) {\n _popupManager2[\"default\"].closeModal(this._popupId);\n\n this._closing = false;\n }\n\n _popupManager2[\"default\"].openModal(this._popupId, _popupManager2[\"default\"].nextZIndex(), this.modalAppendToBody ? undefined : dom, props.modalClass, props.modalFade);\n\n if (props.lockScroll) {\n this.withoutHiddenClass = !(0, _dom.hasClass)(document.body, 'el-popup-parent--hidden');\n\n if (this.withoutHiddenClass) {\n this.bodyPaddingRight = document.body.style.paddingRight;\n this.computedBodyPaddingRight = parseInt((0, _dom.getStyle)(document.body, 'paddingRight'), 10);\n }\n\n scrollBarWidth = (0, _scrollbarWidth2[\"default\"])();\n var bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;\n var bodyOverflowY = (0, _dom.getStyle)(document.body, 'overflowY');\n\n if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === 'scroll') && this.withoutHiddenClass) {\n document.body.style.paddingRight = this.computedBodyPaddingRight + scrollBarWidth + 'px';\n }\n\n (0, _dom.addClass)(document.body, 'el-popup-parent--hidden');\n }\n }\n\n if (getComputedStyle(dom).position === 'static') {\n dom.style.position = 'absolute';\n }\n\n dom.style.zIndex = _popupManager2[\"default\"].nextZIndex();\n this.opened = true;\n this.onOpen && this.onOpen();\n this.doAfterOpen();\n },\n doAfterOpen: function doAfterOpen() {\n this._opening = false;\n },\n close: function close() {\n var _this3 = this;\n\n if (this.willClose && !this.willClose()) return;\n\n if (this._openTimer !== null) {\n clearTimeout(this._openTimer);\n this._openTimer = null;\n }\n\n clearTimeout(this._closeTimer);\n var closeDelay = Number(this.closeDelay);\n\n if (closeDelay > 0) {\n this._closeTimer = setTimeout(function () {\n _this3._closeTimer = null;\n\n _this3.doClose();\n }, closeDelay);\n } else {\n this.doClose();\n }\n },\n doClose: function doClose() {\n this._closing = true;\n this.onClose && this.onClose();\n\n if (this.lockScroll) {\n setTimeout(this.restoreBodyStyle, 200);\n }\n\n this.opened = false;\n this.doAfterClose();\n },\n doAfterClose: function doAfterClose() {\n _popupManager2[\"default\"].closeModal(this._popupId);\n\n this._closing = false;\n },\n restoreBodyStyle: function restoreBodyStyle() {\n if (this.modal && this.withoutHiddenClass) {\n document.body.style.paddingRight = this.bodyPaddingRight;\n (0, _dom.removeClass)(document.body, 'el-popup-parent--hidden');\n }\n\n this.withoutHiddenClass = true;\n }\n }\n};\nexports.PopupManager = _popupManager2[\"default\"];","'use strict';\n\nexports.__esModule = true;\n\nvar _util = require('element-ui/lib/utils/util');\n/**\n * Show migrating guide in browser console.\n *\n * Usage:\n * import Migrating from 'element-ui/src/mixins/migrating';\n *\n * mixins: [Migrating]\n *\n * add getMigratingConfig method for your component.\n * getMigratingConfig() {\n * return {\n * props: {\n * 'allow-no-selection': 'allow-no-selection is removed.',\n * 'selection-mode': 'selection-mode is removed.'\n * },\n * events: {\n * selectionchange: 'selectionchange is renamed to selection-change.'\n * }\n * };\n * },\n */\n\n\nexports[\"default\"] = {\n mounted: function mounted() {\n if (process.env.NODE_ENV === 'production') return;\n if (!this.$vnode) return;\n\n var _getMigratingConfig = this.getMigratingConfig(),\n _getMigratingConfig$p = _getMigratingConfig.props,\n props = _getMigratingConfig$p === undefined ? {} : _getMigratingConfig$p,\n _getMigratingConfig$e = _getMigratingConfig.events,\n events = _getMigratingConfig$e === undefined ? {} : _getMigratingConfig$e;\n\n var _$vnode = this.$vnode,\n data = _$vnode.data,\n componentOptions = _$vnode.componentOptions;\n var definedProps = data.attrs || {};\n var definedEvents = componentOptions.listeners || {};\n\n for (var propName in definedProps) {\n propName = (0, _util.kebabCase)(propName); // compatible with camel case\n\n if (props[propName]) {\n console.warn('[Element Migrating][' + this.$options.name + '][Attribute]: ' + props[propName]);\n }\n }\n\n for (var eventName in definedEvents) {\n eventName = (0, _util.kebabCase)(eventName); // compatible with camel case\n\n if (events[eventName]) {\n console.warn('[Element Migrating][' + this.$options.name + '][Event]: ' + events[eventName]);\n }\n }\n },\n methods: {\n getMigratingConfig: function getMigratingConfig() {\n return {\n props: {},\n events: {}\n };\n }\n }\n};","'use strict';\n\nexports.__esModule = true;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nvar _dom = require('element-ui/lib/utils/dom');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar nodeList = [];\nvar ctx = '@@clickoutsideContext';\nvar startClick = void 0;\nvar seed = 0;\n!_vue2[\"default\"].prototype.$isServer && (0, _dom.on)(document, 'mousedown', function (e) {\n return startClick = e;\n});\n!_vue2[\"default\"].prototype.$isServer && (0, _dom.on)(document, 'mouseup', function (e) {\n nodeList.forEach(function (node) {\n return node[ctx].documentHandler(e, startClick);\n });\n});\n\nfunction createDocumentHandler(el, binding, vnode) {\n return function () {\n var mouseup = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var mousedown = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n if (!vnode || !vnode.context || !mouseup.target || !mousedown.target || el.contains(mouseup.target) || el.contains(mousedown.target) || el === mouseup.target || vnode.context.popperElm && (vnode.context.popperElm.contains(mouseup.target) || vnode.context.popperElm.contains(mousedown.target))) return;\n\n if (binding.expression && el[ctx].methodName && vnode.context[el[ctx].methodName]) {\n vnode.context[el[ctx].methodName]();\n } else {\n el[ctx].bindingFn && el[ctx].bindingFn();\n }\n };\n}\n/**\n * v-clickoutside\n * @desc ç‚¹å‡»å…ƒç´ å¤–é¢æ‰ä¼šè§¦å‘的事件\n * @example\n * ```vue\n * <div v-element-clickoutside=\"handleClose\">\n * ```\n */\n\n\nexports[\"default\"] = {\n bind: function bind(el, binding, vnode) {\n nodeList.push(el);\n var id = seed++;\n el[ctx] = {\n id: id,\n documentHandler: createDocumentHandler(el, binding, vnode),\n methodName: binding.expression,\n bindingFn: binding.value\n };\n },\n update: function update(el, binding, vnode) {\n el[ctx].documentHandler = createDocumentHandler(el, binding, vnode);\n el[ctx].methodName = binding.expression;\n el[ctx].bindingFn = binding.value;\n },\n unbind: function unbind(el) {\n var len = nodeList.length;\n\n for (var i = 0; i < len; i++) {\n if (nodeList[i][ctx].id === el[ctx].id) {\n nodeList.splice(i, 1);\n break;\n }\n }\n\n delete el[ctx];\n }\n};","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 91);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 4:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n },\n\n /***/\n 91:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"label\", {\n staticClass: \"el-checkbox\",\n \"class\": [_vm.border && _vm.checkboxSize ? \"el-checkbox--\" + _vm.checkboxSize : \"\", {\n \"is-disabled\": _vm.isDisabled\n }, {\n \"is-bordered\": _vm.border\n }, {\n \"is-checked\": _vm.isChecked\n }],\n attrs: {\n id: _vm.id\n }\n }, [_c(\"span\", {\n staticClass: \"el-checkbox__input\",\n \"class\": {\n \"is-disabled\": _vm.isDisabled,\n \"is-checked\": _vm.isChecked,\n \"is-indeterminate\": _vm.indeterminate,\n \"is-focus\": _vm.focus\n },\n attrs: {\n tabindex: _vm.indeterminate ? 0 : false,\n role: _vm.indeterminate ? \"checkbox\" : false,\n \"aria-checked\": _vm.indeterminate ? \"mixed\" : false\n }\n }, [_c(\"span\", {\n staticClass: \"el-checkbox__inner\"\n }), _vm.trueLabel || _vm.falseLabel ? _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n staticClass: \"el-checkbox__original\",\n attrs: {\n type: \"checkbox\",\n \"aria-hidden\": _vm.indeterminate ? \"true\" : \"false\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n \"true-value\": _vm.trueLabel,\n \"false-value\": _vm.falseLabel\n },\n domProps: {\n checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, null) > -1 : _vm._q(_vm.model, _vm.trueLabel)\n },\n on: {\n change: [function ($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel;\n\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.model = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.model = $$c;\n }\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n }) : _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n staticClass: \"el-checkbox__original\",\n attrs: {\n type: \"checkbox\",\n \"aria-hidden\": _vm.indeterminate ? \"true\" : \"false\",\n disabled: _vm.isDisabled,\n name: _vm.name\n },\n domProps: {\n value: _vm.label,\n checked: Array.isArray(_vm.model) ? _vm._i(_vm.model, _vm.label) > -1 : _vm.model\n },\n on: {\n change: [function ($event) {\n var $$a = _vm.model,\n $$el = $event.target,\n $$c = $$el.checked ? true : false;\n\n if (Array.isArray($$a)) {\n var $$v = _vm.label,\n $$i = _vm._i($$a, $$v);\n\n if ($$el.checked) {\n $$i < 0 && (_vm.model = $$a.concat([$$v]));\n } else {\n $$i > -1 && (_vm.model = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));\n }\n } else {\n _vm.model = $$c;\n }\n }, _vm.handleChange],\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n }\n }\n })]), _vm.$slots[\"default\"] || _vm.label ? _c(\"span\", {\n staticClass: \"el-checkbox__label\"\n }, [_vm._t(\"default\"), !_vm.$slots[\"default\"] ? [_vm._v(_vm._s(_vm.label))] : _vm._e()], 2) : _vm._e()]);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var checkboxvue_type_script_lang_js_ = {\n name: 'ElCheckbox',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n componentName: 'ElCheckbox',\n data: function data() {\n return {\n selfModel: false,\n focus: false,\n isLimitExceeded: false\n };\n },\n computed: {\n model: {\n get: function get() {\n return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel;\n },\n set: function set(val) {\n if (this.isGroup) {\n this.isLimitExceeded = false;\n this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true);\n this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true);\n this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]);\n } else {\n this.$emit('input', val);\n this.selfModel = val;\n }\n }\n },\n isChecked: function isChecked() {\n if ({}.toString.call(this.model) === '[object Boolean]') {\n return this.model;\n } else if (Array.isArray(this.model)) {\n return this.model.indexOf(this.label) > -1;\n } else if (this.model !== null && this.model !== undefined) {\n return this.model === this.trueLabel;\n }\n },\n isGroup: function isGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElCheckboxGroup') {\n parent = parent.$parent;\n } else {\n this._checkboxGroup = parent;\n return true;\n }\n }\n\n return false;\n },\n store: function store() {\n return this._checkboxGroup ? this._checkboxGroup.value : this.value;\n },\n\n /* used to make the isDisabled judgment under max/min props */\n isLimitDisabled: function isLimitDisabled() {\n var _checkboxGroup = this._checkboxGroup,\n max = _checkboxGroup.max,\n min = _checkboxGroup.min;\n return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked;\n },\n isDisabled: function isDisabled() {\n return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled;\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxSize: function checkboxSize() {\n var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize;\n }\n },\n props: {\n value: {},\n label: {},\n indeterminate: Boolean,\n disabled: Boolean,\n checked: Boolean,\n name: String,\n trueLabel: [String, Number],\n falseLabel: [String, Number],\n id: String,\n\n /* 当indeterminate为真时,为controlsæ供相关连的checkboxçš„idï¼Œè¡¨æ˜Žå…ƒç´ é—´çš„æŽ§åˆ¶å…³ç³»*/\n controls: String,\n\n /* 当indeterminate为真时,为controlsæ供相关连的checkboxçš„idï¼Œè¡¨æ˜Žå…ƒç´ é—´çš„æŽ§åˆ¶å…³ç³»*/\n border: Boolean,\n size: String\n },\n methods: {\n addToStore: function addToStore() {\n if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) {\n this.model.push(this.label);\n } else {\n this.model = this.trueLabel || true;\n }\n },\n handleChange: function handleChange(ev) {\n var _this = this;\n\n if (this.isLimitExceeded) return;\n var value = void 0;\n\n if (ev.target.checked) {\n value = this.trueLabel === undefined ? true : this.trueLabel;\n } else {\n value = this.falseLabel === undefined ? false : this.falseLabel;\n }\n\n this.$emit('change', value, ev);\n this.$nextTick(function () {\n if (_this.isGroup) {\n _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]);\n }\n });\n }\n },\n created: function created() {\n this.checked && this.addToStore();\n },\n mounted: function mounted() {\n // 为indeterminateå…ƒç´ æ·»åŠ aria-controls 属性\n if (this.indeterminate) {\n this.$el.setAttribute('aria-controls', this.controls);\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', _value);\n }\n }\n }; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_checkboxvue_type_script_lang_js_ = checkboxvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_checkboxvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/checkbox/src/checkbox.vue\";\n /* harmony default export */\n\n var src_checkbox = component.exports; // CONCATENATED MODULE: ./packages/checkbox/index.js\n\n /* istanbul ignore next */\n\n src_checkbox.install = function (Vue) {\n Vue.component(src_checkbox.name, src_checkbox);\n };\n /* harmony default export */\n\n\n var packages_checkbox = __webpack_exports__[\"default\"] = src_checkbox;\n /***/\n }\n /******/\n\n});","'use strict';\n\nexports.__esModule = true;\n\nvar _dom = require('element-ui/lib/utils/dom');\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nvar Transition = function () {\n function Transition() {\n _classCallCheck(this, Transition);\n }\n\n Transition.prototype.beforeEnter = function beforeEnter(el) {\n (0, _dom.addClass)(el, 'collapse-transition');\n if (!el.dataset) el.dataset = {};\n el.dataset.oldPaddingTop = el.style.paddingTop;\n el.dataset.oldPaddingBottom = el.style.paddingBottom;\n el.style.height = '0';\n el.style.paddingTop = 0;\n el.style.paddingBottom = 0;\n };\n\n Transition.prototype.enter = function enter(el) {\n el.dataset.oldOverflow = el.style.overflow;\n\n if (el.scrollHeight !== 0) {\n el.style.height = el.scrollHeight + 'px';\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n } else {\n el.style.height = '';\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n }\n\n el.style.overflow = 'hidden';\n };\n\n Transition.prototype.afterEnter = function afterEnter(el) {\n // for safari: remove class then reset height is necessary\n (0, _dom.removeClass)(el, 'collapse-transition');\n el.style.height = '';\n el.style.overflow = el.dataset.oldOverflow;\n };\n\n Transition.prototype.beforeLeave = function beforeLeave(el) {\n if (!el.dataset) el.dataset = {};\n el.dataset.oldPaddingTop = el.style.paddingTop;\n el.dataset.oldPaddingBottom = el.style.paddingBottom;\n el.dataset.oldOverflow = el.style.overflow;\n el.style.height = el.scrollHeight + 'px';\n el.style.overflow = 'hidden';\n };\n\n Transition.prototype.leave = function leave(el) {\n if (el.scrollHeight !== 0) {\n // for safari: add class after set height, or it will jump to zero height suddenly, weired\n (0, _dom.addClass)(el, 'collapse-transition');\n el.style.height = 0;\n el.style.paddingTop = 0;\n el.style.paddingBottom = 0;\n }\n };\n\n Transition.prototype.afterLeave = function afterLeave(el) {\n (0, _dom.removeClass)(el, 'collapse-transition');\n el.style.height = '';\n el.style.overflow = el.dataset.oldOverflow;\n el.style.paddingTop = el.dataset.oldPaddingTop;\n el.style.paddingBottom = el.dataset.oldPaddingBottom;\n };\n\n return Transition;\n}();\n\nexports[\"default\"] = {\n name: 'ElCollapseTransition',\n functional: true,\n render: function render(h, _ref) {\n var children = _ref.children;\n var data = {\n on: new Transition()\n };\n return h('transition', data, children);\n }\n};","var nestRE = /^(attrs|props|on|nativeOn|class|style|hook)$/\n\nmodule.exports = function mergeJSXProps (objs) {\n return objs.reduce(function (a, b) {\n var aa, bb, key, nestedKey, temp\n for (key in b) {\n aa = a[key]\n bb = b[key]\n if (aa && nestRE.test(key)) {\n // normalize class\n if (key === 'class') {\n if (typeof aa === 'string') {\n temp = aa\n a[key] = aa = {}\n aa[temp] = true\n }\n if (typeof bb === 'string') {\n temp = bb\n b[key] = bb = {}\n bb[temp] = true\n }\n }\n if (key === 'on' || key === 'nativeOn' || key === 'hook') {\n // merge functions\n for (nestedKey in bb) {\n aa[nestedKey] = mergeFn(aa[nestedKey], bb[nestedKey])\n }\n } else if (Array.isArray(aa)) {\n a[key] = aa.concat(bb)\n } else if (Array.isArray(bb)) {\n a[key] = [aa].concat(bb)\n } else {\n for (nestedKey in bb) {\n aa[nestedKey] = bb[nestedKey]\n }\n }\n } else {\n a[key] = b[key]\n }\n }\n return a\n }, {})\n}\n\nfunction mergeFn (a, b) {\n return function () {\n a && a.apply(this, arguments)\n b && b.apply(this, arguments)\n }\n}\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 132);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 132:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tag/src/tag.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var tagvue_type_script_lang_js_ = {\n name: 'ElTag',\n props: {\n text: String,\n closable: Boolean,\n type: String,\n hit: Boolean,\n disableTransitions: Boolean,\n color: String,\n size: String,\n effect: {\n type: String,\n \"default\": 'light',\n validator: function validator(val) {\n return ['dark', 'light', 'plain'].indexOf(val) !== -1;\n }\n }\n },\n methods: {\n handleClose: function handleClose(event) {\n event.stopPropagation();\n this.$emit('close', event);\n },\n handleClick: function handleClick(event) {\n this.$emit('click', event);\n }\n },\n computed: {\n tagSize: function tagSize() {\n return this.size || (this.$ELEMENT || {}).size;\n }\n },\n render: function render(h) {\n var type = this.type,\n tagSize = this.tagSize,\n hit = this.hit,\n effect = this.effect;\n var classes = ['el-tag', type ? 'el-tag--' + type : '', tagSize ? 'el-tag--' + tagSize : '', effect ? 'el-tag--' + effect : '', hit && 'is-hit'];\n var tagEl = h('span', {\n 'class': classes,\n style: {\n backgroundColor: this.color\n },\n on: {\n 'click': this.handleClick\n }\n }, [this.$slots[\"default\"], this.closable && h('i', {\n 'class': 'el-tag__close el-icon-close',\n on: {\n 'click': this.handleClose\n }\n })]);\n return this.disableTransitions ? tagEl : h('transition', {\n attrs: {\n name: 'el-zoom-in-center'\n }\n }, [tagEl]);\n }\n }; // CONCATENATED MODULE: ./packages/tag/src/tag.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_tagvue_type_script_lang_js_ = tagvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/tag/src/tag.vue\n\n\n var render, staticRenderFns;\n /* normalize component */\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_tagvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/tag/src/tag.vue\";\n /* harmony default export */\n\n var tag = component.exports; // CONCATENATED MODULE: ./packages/tag/index.js\n\n /* istanbul ignore next */\n\n tag.install = function (Vue) {\n Vue.component(tag.name, tag);\n };\n /* harmony default export */\n\n\n var packages_tag = __webpack_exports__[\"default\"] = tag;\n /***/\n }\n /******/\n\n});","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = require('./_hide');\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 88);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 4:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n },\n\n /***/\n 88:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio.vue?vue&type=template&id=69cd6268&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"label\", {\n staticClass: \"el-radio\",\n \"class\": [_vm.border && _vm.radioSize ? \"el-radio--\" + _vm.radioSize : \"\", {\n \"is-disabled\": _vm.isDisabled\n }, {\n \"is-focus\": _vm.focus\n }, {\n \"is-bordered\": _vm.border\n }, {\n \"is-checked\": _vm.model === _vm.label\n }],\n attrs: {\n role: \"radio\",\n \"aria-checked\": _vm.model === _vm.label,\n \"aria-disabled\": _vm.isDisabled,\n tabindex: _vm.tabIndex\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"space\", 32, $event.key, [\" \", \"Spacebar\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.model = _vm.isDisabled ? _vm.model : _vm.label;\n }\n }\n }, [_c(\"span\", {\n staticClass: \"el-radio__input\",\n \"class\": {\n \"is-disabled\": _vm.isDisabled,\n \"is-checked\": _vm.model === _vm.label\n }\n }, [_c(\"span\", {\n staticClass: \"el-radio__inner\"\n }), _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.model,\n expression: \"model\"\n }],\n ref: \"radio\",\n staticClass: \"el-radio__original\",\n attrs: {\n type: \"radio\",\n \"aria-hidden\": \"true\",\n name: _vm.name,\n disabled: _vm.isDisabled,\n tabindex: \"-1\",\n autocomplete: \"off\"\n },\n domProps: {\n value: _vm.label,\n checked: _vm._q(_vm.model, _vm.label)\n },\n on: {\n focus: function focus($event) {\n _vm.focus = true;\n },\n blur: function blur($event) {\n _vm.focus = false;\n },\n change: [function ($event) {\n _vm.model = _vm.label;\n }, _vm.handleChange]\n }\n })]), _c(\"span\", {\n staticClass: \"el-radio__label\",\n on: {\n keydown: function keydown($event) {\n $event.stopPropagation();\n }\n }\n }, [_vm._t(\"default\"), !_vm.$slots[\"default\"] ? [_vm._v(_vm._s(_vm.label))] : _vm._e()], 2)]);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/radio/src/radio.vue?vue&type=template&id=69cd6268&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/radio/src/radio.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var radiovue_type_script_lang_js_ = {\n name: 'ElRadio',\n mixins: [emitter_default.a],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n componentName: 'ElRadio',\n props: {\n value: {},\n label: {},\n disabled: Boolean,\n name: String,\n border: Boolean,\n size: String\n },\n data: function data() {\n return {\n focus: false\n };\n },\n computed: {\n isGroup: function isGroup() {\n var parent = this.$parent;\n\n while (parent) {\n if (parent.$options.componentName !== 'ElRadioGroup') {\n parent = parent.$parent;\n } else {\n this._radioGroup = parent;\n return true;\n }\n }\n\n return false;\n },\n model: {\n get: function get() {\n return this.isGroup ? this._radioGroup.value : this.value;\n },\n set: function set(val) {\n if (this.isGroup) {\n this.dispatch('ElRadioGroup', 'input', [val]);\n } else {\n this.$emit('input', val);\n }\n\n this.$refs.radio && (this.$refs.radio.checked = this.model === this.label);\n }\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n radioSize: function radioSize() {\n var temRadioSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n return this.isGroup ? this._radioGroup.radioGroupSize || temRadioSize : temRadioSize;\n },\n isDisabled: function isDisabled() {\n return this.isGroup ? this._radioGroup.disabled || this.disabled || (this.elForm || {}).disabled : this.disabled || (this.elForm || {}).disabled;\n },\n tabIndex: function tabIndex() {\n return this.isDisabled || this.isGroup && this.model !== this.label ? -1 : 0;\n }\n },\n methods: {\n handleChange: function handleChange() {\n var _this = this;\n\n this.$nextTick(function () {\n _this.$emit('change', _this.model);\n\n _this.isGroup && _this.dispatch('ElRadioGroup', 'handleChange', _this.model);\n });\n }\n }\n }; // CONCATENATED MODULE: ./packages/radio/src/radio.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_radiovue_type_script_lang_js_ = radiovue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/radio/src/radio.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_radiovue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/radio/src/radio.vue\";\n /* harmony default export */\n\n var src_radio = component.exports; // CONCATENATED MODULE: ./packages/radio/index.js\n\n /* istanbul ignore next */\n\n src_radio.install = function (Vue) {\n Vue.component(src_radio.name, src_radio);\n };\n /* harmony default export */\n\n\n var packages_radio = __webpack_exports__[\"default\"] = src_radio;\n /***/\n }\n /******/\n\n});","export { default } from './dist/vue-content-placeholders.common';\nexport * from './dist/vue-content-placeholders.common';\nimport './dist/vue-content-placeholders.css';","module.exports = require('./lib/Observable.js').Observable;","'use strict';\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports = function (data, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = {\n cmp: opts\n };\n var cycles = typeof opts.cycles === 'boolean' ? opts.cycles : false;\n\n var cmp = opts.cmp && function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = {\n key: a,\n value: node[a]\n };\n var bobj = {\n key: b,\n value: node[b]\n };\n return f(aobj, bobj);\n };\n };\n }(opts.cmp);\n\n var seen = [];\n return function stringify(node) {\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n if (node === undefined) return;\n if (typeof node == 'number') return isFinite(node) ? '' + node : 'null';\n if (_typeof(node) !== 'object') return JSON.stringify(node);\n var i, out;\n\n if (Array.isArray(node)) {\n out = '[';\n\n for (i = 0; i < node.length; i++) {\n if (i) out += ',';\n out += stringify(node[i]) || 'null';\n }\n\n return out + ']';\n }\n\n if (node === null) return 'null';\n\n if (seen.indexOf(node) !== -1) {\n if (cycles) return JSON.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n\n var seenIndex = seen.push(node) - 1;\n var keys = Object.keys(node).sort(cmp && cmp(node));\n out = '';\n\n for (i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node[key]);\n if (!value) continue;\n if (out) out += ',';\n out += JSON.stringify(key) + ':' + value;\n }\n\n seen.splice(seenIndex, 1);\n return '{' + out + '}';\n }(data);\n};","import { isString } from './is.js';\nimport { getGlobalObject } from './worldwide.js'; // eslint-disable-next-line deprecation/deprecation\n\nvar WINDOW = getGlobalObject();\nvar DEFAULT_MAX_STRING_LENGTH = 80;\n/**\n * Given a child DOM element, returns a query-selector statement describing that\n * and its ancestors\n * e.g. [HTMLElement] => body > div > input#foo.btn[name=baz]\n * @returns generated DOM path\n */\n\nfunction htmlTreeAsString(elem) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (!elem) {\n return '<unknown>';\n } // try/catch both:\n // - accessing event.target (see getsentry/raven-js#838, #768)\n // - `htmlTreeAsString` because it's complex, and just accessing the DOM incorrectly\n // - can throw an exception in some circumstances.\n\n\n try {\n var currentElem = elem;\n var MAX_TRAVERSE_HEIGHT = 5;\n var out = [];\n var height = 0;\n var len = 0;\n var separator = ' > ';\n var sepLength = separator.length;\n var nextStr;\n var keyAttrs = Array.isArray(options) ? options : options.keyAttrs;\n var maxStringLength = !Array.isArray(options) && options.maxStringLength || DEFAULT_MAX_STRING_LENGTH;\n\n while (currentElem && height++ < MAX_TRAVERSE_HEIGHT) {\n nextStr = _htmlElementAsString(currentElem, keyAttrs); // bail out if\n // - nextStr is the 'html' element\n // - the length of the string that would be created exceeds maxStringLength\n // (ignore this limit if we are on the first iteration)\n\n if (nextStr === 'html' || height > 1 && len + out.length * sepLength + nextStr.length >= maxStringLength) {\n break;\n }\n\n out.push(nextStr);\n len += nextStr.length;\n currentElem = currentElem.parentNode;\n }\n\n return out.reverse().join(separator);\n } catch (_oO) {\n return '<unknown>';\n }\n}\n/**\n * Returns a simple, query-selector representation of a DOM element\n * e.g. [HTMLElement] => input#foo.btn[name=baz]\n * @returns generated DOM path\n */\n\n\nfunction _htmlElementAsString(el, keyAttrs) {\n var elem = el;\n var out = [];\n var className;\n var classes;\n var key;\n var attr;\n var i;\n\n if (!elem || !elem.tagName) {\n return '';\n } // @ts-expect-error WINDOW has HTMLElement\n\n\n if (WINDOW.HTMLElement) {\n // If using the component name annotation plugin, this value may be available on the DOM node\n if (elem instanceof HTMLElement && elem.dataset && elem.dataset['sentryComponent']) {\n return elem.dataset['sentryComponent'];\n }\n }\n\n out.push(elem.tagName.toLowerCase()); // Pairs of attribute keys defined in `serializeAttribute` and their values on element.\n\n var keyAttrPairs = keyAttrs && keyAttrs.length ? keyAttrs.filter(function (keyAttr) {\n return elem.getAttribute(keyAttr);\n }).map(function (keyAttr) {\n return [keyAttr, elem.getAttribute(keyAttr)];\n }) : null;\n\n if (keyAttrPairs && keyAttrPairs.length) {\n keyAttrPairs.forEach(function (keyAttrPair) {\n out.push(\"[\".concat(keyAttrPair[0], \"=\\\"\").concat(keyAttrPair[1], \"\\\"]\"));\n });\n } else {\n if (elem.id) {\n out.push(\"#\".concat(elem.id));\n } // eslint-disable-next-line prefer-const\n\n\n className = elem.className;\n\n if (className && isString(className)) {\n classes = className.split(/\\s+/);\n\n for (i = 0; i < classes.length; i++) {\n out.push(\".\".concat(classes[i]));\n }\n }\n }\n\n var allowedAttrs = ['aria-label', 'type', 'name', 'title', 'alt'];\n\n for (i = 0; i < allowedAttrs.length; i++) {\n key = allowedAttrs[i];\n attr = elem.getAttribute(key);\n\n if (attr) {\n out.push(\"[\".concat(key, \"=\\\"\").concat(attr, \"\\\"]\"));\n }\n }\n\n return out.join('');\n}\n/**\n * A safe form of location.href\n */\n\n\nfunction getLocationHref() {\n try {\n return WINDOW.document.location.href;\n } catch (oO) {\n return '';\n }\n}\n/**\n * Gets a DOM element by using document.querySelector.\n *\n * This wrapper will first check for the existance of the function before\n * actually calling it so that we don't have to take care of this check,\n * every time we want to access the DOM.\n *\n * Reason: DOM/querySelector is not available in all environments.\n *\n * We have to cast to any because utils can be consumed by a variety of environments,\n * and we don't want to break TS users. If you know what element will be selected by\n * `document.querySelector`, specify it as part of the generic call. For example,\n * `const element = getDomElement<Element>('selector');`\n *\n * @param selector the selector string passed on to document.querySelector\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction getDomElement(selector) {\n if (WINDOW.document && WINDOW.document.querySelector) {\n return WINDOW.document.querySelector(selector);\n }\n\n return null;\n}\n/**\n * Given a DOM element, traverses up the tree until it finds the first ancestor node\n * that has the `data-sentry-component` attribute. This attribute is added at build-time\n * by projects that have the component name annotation plugin installed.\n *\n * @returns a string representation of the component for the provided DOM element, or `null` if not found\n */\n\n\nfunction getComponentName(elem) {\n // @ts-expect-error WINDOW has HTMLElement\n if (!WINDOW.HTMLElement) {\n return null;\n }\n\n var currentElem = elem;\n var MAX_TRAVERSE_HEIGHT = 5;\n\n for (var i = 0; i < MAX_TRAVERSE_HEIGHT; i++) {\n if (!currentElem) {\n return null;\n }\n\n if (currentElem instanceof HTMLElement && currentElem.dataset['sentryComponent']) {\n return currentElem.dataset['sentryComponent'];\n }\n\n currentElem = currentElem.parentNode;\n }\n\n return null;\n}\n\nexport { getComponentName, getDomElement, getLocationHref, htmlTreeAsString };","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Helper to decycle json objects\n */\nfunction memoBuilder() {\n var hasWeakSet = typeof WeakSet === 'function';\n var inner = hasWeakSet ? new WeakSet() : [];\n\n function memoize(obj) {\n if (hasWeakSet) {\n if (inner.has(obj)) {\n return true;\n }\n\n inner.add(obj);\n return false;\n } // eslint-disable-next-line @typescript-eslint/prefer-for-of\n\n\n for (var i = 0; i < inner.length; i++) {\n var value = inner[i];\n\n if (value === obj) {\n return true;\n }\n }\n\n inner.push(obj);\n return false;\n }\n\n function unmemoize(obj) {\n if (hasWeakSet) {\n inner[\"delete\"](obj);\n } else {\n for (var i = 0; i < inner.length; i++) {\n if (inner[i] === obj) {\n inner.splice(i, 1);\n break;\n }\n }\n }\n }\n\n return [memoize, unmemoize];\n}\n\nexport { memoBuilder };","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;","import toDate from '../toDate/index.js';\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - Now `isValid` doesn't throw an exception\n * if the first argument is not an instance of Date.\n * Instead, argument is converted beforehand using `toDate`.\n *\n * Examples:\n *\n * | `isValid` argument | Before v2.0.0 | v2.0.0 onward |\n * |---------------------------|---------------|---------------|\n * | `new Date()` | `true` | `true` |\n * | `new Date('2016-01-01')` | `true` | `true` |\n * | `new Date('')` | `false` | `false` |\n * | `new Date(1488370835081)` | `true` | `true` |\n * | `new Date(NaN)` | `false` | `false` |\n * | `'2016-01-01'` | `TypeError` | `true` |\n * | `''` | `TypeError` | `false` |\n * | `1488370835081` | `TypeError` | `true` |\n * | `NaN` | `TypeError` | `false` |\n *\n * We introduce this change to make *date-fns* consistent with ECMAScript behavior\n * that try to coerce arguments to the expected type\n * (which is also the case with other *date-fns* functions).\n *\n * @param {*} date - the date to check\n * @returns {Boolean} the date is valid\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // For the valid date:\n * var result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertable into a date:\n * var result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * var result = isValid(new Date(''))\n * //=> false\n */\n\nexport default function isValid(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n return !isNaN(date);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"./_lib/formatDistance/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"./_lib/formatLong/index.js\"));\n\nvar _index3 = _interopRequireDefault(require(\"./_lib/formatRelative/index.js\"));\n\nvar _index4 = _interopRequireDefault(require(\"./_lib/localize/index.js\"));\n\nvar _index5 = _interopRequireDefault(require(\"./_lib/match/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}\n * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}\n */\n\n\nvar locale = {\n formatDistance: _index[\"default\"],\n formatLong: _index2[\"default\"],\n formatRelative: _index3[\"default\"],\n localize: _index4[\"default\"],\n match: _index5[\"default\"],\n options: {\n weekStartsOn: 0\n /* Sunday */\n ,\n firstWeekContainsDate: 1\n }\n};\nvar _default = locale;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"./_lib/formatDistance/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"./_lib/formatLong/index.js\"));\n\nvar _index3 = _interopRequireDefault(require(\"./_lib/formatRelative/index.js\"));\n\nvar _index4 = _interopRequireDefault(require(\"./_lib/localize/index.js\"));\n\nvar _index5 = _interopRequireDefault(require(\"./_lib/match/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n/**\n * @type {Locale}\n * @category Locales\n * @summary Czech locale.\n * @language Czech\n * @iso-639-2 ces\n * @author David Rus [@davidrus]{@link https://github.com/davidrus}\n * @author Pavel Hrách [@SilenY]{@link https://github.com/SilenY}\n * @author Jozef BÃroÅ¡ [@JozefBiros]{@link https://github.com/JozefBiros}\n */\n\n\nvar locale = {\n formatDistance: _index[\"default\"],\n formatLong: _index2[\"default\"],\n formatRelative: _index3[\"default\"],\n localize: _index4[\"default\"],\n match: _index5[\"default\"],\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nvar _default = locale;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"./_lib/formatDistance/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"./_lib/formatLong/index.js\"));\n\nvar _index3 = _interopRequireDefault(require(\"./_lib/formatRelative/index.js\"));\n\nvar _index4 = _interopRequireDefault(require(\"./_lib/localize/index.js\"));\n\nvar _index5 = _interopRequireDefault(require(\"./_lib/match/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n/**\n * @type {Locale}\n * @category Locales\n * @summary Polish locale.\n * @language Polish\n * @iso-639-2 pol\n * @author Mateusz Derks [@ertrzyiks]{@link https://github.com/ertrzyiks}\n * @author Just RAG [@justrag]{@link https://github.com/justrag}\n * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb}\n * @author Mateusz Tokarski [@mutisz]{@link https://github.com/mutisz}\n */\n\n\nvar locale = {\n formatDistance: _index[\"default\"],\n formatLong: _index2[\"default\"],\n formatRelative: _index3[\"default\"],\n localize: _index4[\"default\"],\n match: _index5[\"default\"],\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nvar _default = locale;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"./_lib/formatDistance/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"./_lib/formatLong/index.js\"));\n\nvar _index3 = _interopRequireDefault(require(\"./_lib/formatRelative/index.js\"));\n\nvar _index4 = _interopRequireDefault(require(\"./_lib/localize/index.js\"));\n\nvar _index5 = _interopRequireDefault(require(\"./_lib/match/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n/**\n * @type {Locale}\n * @category Locales\n * @summary Slovak locale.\n * @language Slovak\n * @iso-639-2 slk\n * @author Marek Suscak [@mareksuscak]{@link https://github.com/mareksuscak}\n */\n\n\nvar locale = {\n formatDistance: _index[\"default\"],\n formatLong: _index2[\"default\"],\n formatRelative: _index3[\"default\"],\n localize: _index4[\"default\"],\n match: _index5[\"default\"],\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nvar _default = locale;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","import differenceInMilliseconds from '../differenceInMilliseconds/index.js';\n/**\n * @name differenceInSeconds\n * @category Second Helpers\n * @summary Get the number of seconds between the given dates.\n *\n * @description\n * Get the number of seconds between the given dates.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of seconds\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many seconds are between\n * // 2 July 2014 12:30:07.999 and 2 July 2014 12:30:20.000?\n * var result = differenceInSeconds(\n * new Date(2014, 6, 2, 12, 30, 20, 0),\n * new Date(2014, 6, 2, 12, 30, 7, 999)\n * )\n * //=> 12\n */\n\nexport default function differenceInSeconds(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var diff = differenceInMilliseconds(dirtyDateLeft, dirtyDateRight) / 1000;\n return diff > 0 ? Math.floor(diff) : Math.ceil(diff);\n}","import _curry2 from './internal/_curry2.js';\n/**\n * Retrieve the value at a given path.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig [Idx] -> {a} -> a | Undefined\n * @param {Array} path The path to use.\n * @param {Object} obj The object to retrieve the nested property from.\n * @return {*} The data at `path`.\n * @see R.prop\n * @example\n *\n * R.path(['a', 'b'], {a: {b: 2}}); //=> 2\n * R.path(['a', 'b'], {c: {b: 2}}); //=> undefined\n */\n\nvar path =\n/*#__PURE__*/\n_curry2(function path(paths, obj) {\n var val = obj;\n var idx = 0;\n\n while (idx < paths.length) {\n if (val == null) {\n return;\n }\n\n val = val[paths[idx]];\n idx += 1;\n }\n\n return val;\n});\n\nexport default path;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* global define */\n(function (root, pluralize) {\n /* istanbul ignore else */\n if (typeof require === 'function' && (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === 'object') {\n // Node.\n module.exports = pluralize();\n } else if (typeof define === 'function' && define.amd) {\n // AMD, registers as an anonymous module.\n define(function () {\n return pluralize();\n });\n } else {\n // Browser global.\n root.pluralize = pluralize();\n }\n})(this, function () {\n // Rule storage - pluralize and singularize need to be run sequentially,\n // while other rules can be optimized using an object for instant lookups.\n var pluralRules = [];\n var singularRules = [];\n var uncountables = {};\n var irregularPlurals = {};\n var irregularSingles = {};\n /**\n * Sanitize a pluralization rule to a usable regular expression.\n *\n * @param {(RegExp|string)} rule\n * @return {RegExp}\n */\n\n function sanitizeRule(rule) {\n if (typeof rule === 'string') {\n return new RegExp('^' + rule + '$', 'i');\n }\n\n return rule;\n }\n /**\n * Pass in a word token to produce a function that can replicate the case on\n * another word.\n *\n * @param {string} word\n * @param {string} token\n * @return {Function}\n */\n\n\n function restoreCase(word, token) {\n // Tokens are an exact match.\n if (word === token) return token; // Lower cased words. E.g. \"hello\".\n\n if (word === word.toLowerCase()) return token.toLowerCase(); // Upper cased words. E.g. \"WHISKY\".\n\n if (word === word.toUpperCase()) return token.toUpperCase(); // Title cased words. E.g. \"Title\".\n\n if (word[0] === word[0].toUpperCase()) {\n return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();\n } // Lower cased words. E.g. \"test\".\n\n\n return token.toLowerCase();\n }\n /**\n * Interpolate a regexp string.\n *\n * @param {string} str\n * @param {Array} args\n * @return {string}\n */\n\n\n function interpolate(str, args) {\n return str.replace(/\\$(\\d{1,2})/g, function (match, index) {\n return args[index] || '';\n });\n }\n /**\n * Replace a word using a rule.\n *\n * @param {string} word\n * @param {Array} rule\n * @return {string}\n */\n\n\n function replace(word, rule) {\n return word.replace(rule[0], function (match, index) {\n var result = interpolate(rule[1], arguments);\n\n if (match === '') {\n return restoreCase(word[index - 1], result);\n }\n\n return restoreCase(match, result);\n });\n }\n /**\n * Sanitize a word by passing in the word and sanitization rules.\n *\n * @param {string} token\n * @param {string} word\n * @param {Array} rules\n * @return {string}\n */\n\n\n function sanitizeWord(token, word, rules) {\n // Empty string or doesn't need fixing.\n if (!token.length || uncountables.hasOwnProperty(token)) {\n return word;\n }\n\n var len = rules.length; // Iterate over the sanitization rules and use the first one to match.\n\n while (len--) {\n var rule = rules[len];\n if (rule[0].test(word)) return replace(word, rule);\n }\n\n return word;\n }\n /**\n * Replace a word with the updated word.\n *\n * @param {Object} replaceMap\n * @param {Object} keepMap\n * @param {Array} rules\n * @return {Function}\n */\n\n\n function replaceWord(replaceMap, keepMap, rules) {\n return function (word) {\n // Get the correct token and case restoration functions.\n var token = word.toLowerCase(); // Check against the keep object map.\n\n if (keepMap.hasOwnProperty(token)) {\n return restoreCase(word, token);\n } // Check against the replacement map for a direct word replacement.\n\n\n if (replaceMap.hasOwnProperty(token)) {\n return restoreCase(word, replaceMap[token]);\n } // Run all the rules against the word.\n\n\n return sanitizeWord(token, word, rules);\n };\n }\n /**\n * Check if a word is part of the map.\n */\n\n\n function checkWord(replaceMap, keepMap, rules, bool) {\n return function (word) {\n var token = word.toLowerCase();\n if (keepMap.hasOwnProperty(token)) return true;\n if (replaceMap.hasOwnProperty(token)) return false;\n return sanitizeWord(token, token, rules) === token;\n };\n }\n /**\n * Pluralize or singularize a word based on the passed in count.\n *\n * @param {string} word The word to pluralize\n * @param {number} count How many of the word exist\n * @param {boolean} inclusive Whether to prefix with the number (e.g. 3 ducks)\n * @return {string}\n */\n\n\n function pluralize(word, count, inclusive) {\n var pluralized = count === 1 ? pluralize.singular(word) : pluralize.plural(word);\n return (inclusive ? count + ' ' : '') + pluralized;\n }\n /**\n * Pluralize a word.\n *\n * @type {Function}\n */\n\n\n pluralize.plural = replaceWord(irregularSingles, irregularPlurals, pluralRules);\n /**\n * Check if a word is plural.\n *\n * @type {Function}\n */\n\n pluralize.isPlural = checkWord(irregularSingles, irregularPlurals, pluralRules);\n /**\n * Singularize a word.\n *\n * @type {Function}\n */\n\n pluralize.singular = replaceWord(irregularPlurals, irregularSingles, singularRules);\n /**\n * Check if a word is singular.\n *\n * @type {Function}\n */\n\n pluralize.isSingular = checkWord(irregularPlurals, irregularSingles, singularRules);\n /**\n * Add a pluralization rule to the collection.\n *\n * @param {(string|RegExp)} rule\n * @param {string} replacement\n */\n\n pluralize.addPluralRule = function (rule, replacement) {\n pluralRules.push([sanitizeRule(rule), replacement]);\n };\n /**\n * Add a singularization rule to the collection.\n *\n * @param {(string|RegExp)} rule\n * @param {string} replacement\n */\n\n\n pluralize.addSingularRule = function (rule, replacement) {\n singularRules.push([sanitizeRule(rule), replacement]);\n };\n /**\n * Add an uncountable word rule.\n *\n * @param {(string|RegExp)} word\n */\n\n\n pluralize.addUncountableRule = function (word) {\n if (typeof word === 'string') {\n uncountables[word.toLowerCase()] = true;\n return;\n } // Set singular and plural references for the word.\n\n\n pluralize.addPluralRule(word, '$0');\n pluralize.addSingularRule(word, '$0');\n };\n /**\n * Add an irregular word definition.\n *\n * @param {string} single\n * @param {string} plural\n */\n\n\n pluralize.addIrregularRule = function (single, plural) {\n plural = plural.toLowerCase();\n single = single.toLowerCase();\n irregularSingles[single] = plural;\n irregularPlurals[plural] = single;\n };\n /**\n * Irregular rules.\n */\n\n\n [// Pronouns.\n ['I', 'we'], ['me', 'us'], ['he', 'they'], ['she', 'they'], ['them', 'them'], ['myself', 'ourselves'], ['yourself', 'yourselves'], ['itself', 'themselves'], ['herself', 'themselves'], ['himself', 'themselves'], ['themself', 'themselves'], ['is', 'are'], ['was', 'were'], ['has', 'have'], ['this', 'these'], ['that', 'those'], // Words ending in with a consonant and `o`.\n ['echo', 'echoes'], ['dingo', 'dingoes'], ['volcano', 'volcanoes'], ['tornado', 'tornadoes'], ['torpedo', 'torpedoes'], // Ends with `us`.\n ['genus', 'genera'], ['viscus', 'viscera'], // Ends with `ma`.\n ['stigma', 'stigmata'], ['stoma', 'stomata'], ['dogma', 'dogmata'], ['lemma', 'lemmata'], ['schema', 'schemata'], ['anathema', 'anathemata'], // Other irregular rules.\n ['ox', 'oxen'], ['axe', 'axes'], ['die', 'dice'], ['yes', 'yeses'], ['foot', 'feet'], ['eave', 'eaves'], ['goose', 'geese'], ['tooth', 'teeth'], ['quiz', 'quizzes'], ['human', 'humans'], ['proof', 'proofs'], ['carve', 'carves'], ['valve', 'valves'], ['looey', 'looies'], ['thief', 'thieves'], ['groove', 'grooves'], ['pickaxe', 'pickaxes'], ['passerby', 'passersby']].forEach(function (rule) {\n return pluralize.addIrregularRule(rule[0], rule[1]);\n });\n /**\n * Pluralization rules.\n */\n\n [[/s?$/i, 's'], [/[^\\u0000-\\u007F]$/i, '$0'], [/([^aeiou]ese)$/i, '$1'], [/(ax|test)is$/i, '$1es'], [/(alias|[^aou]us|t[lm]as|gas|ris)$/i, '$1es'], [/(e[mn]u)s?$/i, '$1s'], [/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i, '$1'], [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, '$1i'], [/(alumn|alg|vertebr)(?:a|ae)$/i, '$1ae'], [/(seraph|cherub)(?:im)?$/i, '$1im'], [/(her|at|gr)o$/i, '$1oes'], [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i, '$1a'], [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, '$1a'], [/sis$/i, 'ses'], [/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i, '$1$2ves'], [/([^aeiouy]|qu)y$/i, '$1ies'], [/([^ch][ieo][ln])ey$/i, '$1ies'], [/(x|ch|ss|sh|zz)$/i, '$1es'], [/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i, '$1ices'], [/\\b((?:tit)?m|l)(?:ice|ouse)$/i, '$1ice'], [/(pe)(?:rson|ople)$/i, '$1ople'], [/(child)(?:ren)?$/i, '$1ren'], [/eaux$/i, '$0'], [/m[ae]n$/i, 'men'], ['thou', 'you']].forEach(function (rule) {\n return pluralize.addPluralRule(rule[0], rule[1]);\n });\n /**\n * Singularization rules.\n */\n\n [[/s$/i, ''], [/(ss)$/i, '$1'], [/(wi|kni|(?:after|half|high|low|mid|non|night|[^\\w]|^)li)ves$/i, '$1fe'], [/(ar|(?:wo|[ae])l|[eo][ao])ves$/i, '$1f'], [/ies$/i, 'y'], [/\\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i, '$1ie'], [/\\b(mon|smil)ies$/i, '$1ey'], [/\\b((?:tit)?m|l)ice$/i, '$1ouse'], [/(seraph|cherub)im$/i, '$1'], [/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i, '$1'], [/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i, '$1sis'], [/(movie|twelve|abuse|e[mn]u)s$/i, '$1'], [/(test)(?:is|es)$/i, '$1is'], [/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i, '$1us'], [/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i, '$1um'], [/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i, '$1on'], [/(alumn|alg|vertebr)ae$/i, '$1a'], [/(cod|mur|sil|vert|ind)ices$/i, '$1ex'], [/(matr|append)ices$/i, '$1ix'], [/(pe)(rson|ople)$/i, '$1rson'], [/(child)ren$/i, '$1'], [/(eau)x?$/i, '$1'], [/men$/i, 'man']].forEach(function (rule) {\n return pluralize.addSingularRule(rule[0], rule[1]);\n });\n /**\n * Uncountable rules.\n */\n\n [// Singular words with no plurals.\n 'adulthood', 'advice', 'agenda', 'aid', 'aircraft', 'alcohol', 'ammo', 'analytics', 'anime', 'athletics', 'audio', 'bison', 'blood', 'bream', 'buffalo', 'butter', 'carp', 'cash', 'chassis', 'chess', 'clothing', 'cod', 'commerce', 'cooperation', 'corps', 'debris', 'diabetes', 'digestion', 'elk', 'energy', 'equipment', 'excretion', 'expertise', 'firmware', 'flounder', 'fun', 'gallows', 'garbage', 'graffiti', 'hardware', 'headquarters', 'health', 'herpes', 'highjinks', 'homework', 'housework', 'information', 'jeans', 'justice', 'kudos', 'labour', 'literature', 'machinery', 'mackerel', 'mail', 'media', 'mews', 'moose', 'music', 'mud', 'manga', 'news', 'only', 'personnel', 'pike', 'plankton', 'pliers', 'police', 'pollution', 'premises', 'rain', 'research', 'rice', 'salmon', 'scissors', 'series', 'sewage', 'shambles', 'shrimp', 'software', 'species', 'staff', 'swine', 'tennis', 'traffic', 'transportation', 'trout', 'tuna', 'wealth', 'welfare', 'whiting', 'wildebeest', 'wildlife', 'you', /pok[eé]mon$/i, // Regexes.\n /[^aeiou]ese$/i, // \"chinese\", \"japanese\"\n /deer$/i, // \"deer\", \"reindeer\"\n /fish$/i, // \"fish\", \"blowfish\", \"angelfish\"\n /measles$/i, /o[iu]s$/i, // \"carnivorous\"\n /pox$/i, // \"chickpox\", \"smallpox\"\n /sheep$/i].forEach(pluralize.addUncountableRule);\n return pluralize;\n});","/*!\n * content-disposition\n * Copyright(c) 2014-2017 Douglas Christopher Wilson\n * MIT Licensed\n */\n'use strict';\n/**\n * Module exports.\n * @public\n */\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports = contentDisposition;\nmodule.exports.parse = parse;\n/**\n * Module dependencies.\n * @private\n */\n\nvar basename = require('path').basename;\n\nvar Buffer = require('safe-buffer').Buffer;\n/**\n * RegExp to match non attr-char, *after* encodeURIComponent (i.e. not including \"%\")\n * @private\n */\n\n\nvar ENCODE_URL_ATTR_CHAR_REGEXP = /[\\x00-\\x20\"'()*,/:;<=>?@[\\\\\\]{}\\x7f]/g; // eslint-disable-line no-control-regex\n\n/**\n * RegExp to match percent encoding escape.\n * @private\n */\n\nvar HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/;\nvar HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g;\n/**\n * RegExp to match non-latin1 characters.\n * @private\n */\n\nvar NON_LATIN1_REGEXP = /[^\\x20-\\x7e\\xa0-\\xff]/g;\n/**\n * RegExp to match quoted-pair in RFC 2616\n *\n * quoted-pair = \"\\\" CHAR\n * CHAR = <any US-ASCII character (octets 0 - 127)>\n * @private\n */\n\nvar QESC_REGEXP = /\\\\([\\u0000-\\u007f])/g; // eslint-disable-line no-control-regex\n\n/**\n * RegExp to match chars that must be quoted-pair in RFC 2616\n * @private\n */\n\nvar QUOTE_REGEXP = /([\\\\\"])/g;\n/**\n * RegExp for various RFC 2616 grammar\n *\n * parameter = token \"=\" ( token | quoted-string )\n * token = 1*<any CHAR except CTLs or separators>\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n * quoted-string = ( <\"> *(qdtext | quoted-pair ) <\"> )\n * qdtext = <any TEXT except <\">>\n * quoted-pair = \"\\\" CHAR\n * CHAR = <any US-ASCII character (octets 0 - 127)>\n * TEXT = <any OCTET except CTLs, but including LWS>\n * LWS = [CRLF] 1*( SP | HT )\n * CRLF = CR LF\n * CR = <US-ASCII CR, carriage return (13)>\n * LF = <US-ASCII LF, linefeed (10)>\n * SP = <US-ASCII SP, space (32)>\n * HT = <US-ASCII HT, horizontal-tab (9)>\n * CTL = <any US-ASCII control character (octets 0 - 31) and DEL (127)>\n * OCTET = <any 8-bit sequence of data>\n * @private\n */\n\nvar PARAM_REGEXP = /;[\\x09\\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\\x09\\x20]*=[\\x09\\x20]*(\"(?:[\\x20!\\x23-\\x5b\\x5d-\\x7e\\x80-\\xff]|\\\\[\\x20-\\x7e])*\"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\\x09\\x20]*/g; // eslint-disable-line no-control-regex\n\nvar TEXT_REGEXP = /^[\\x20-\\x7e\\x80-\\xff]+$/;\nvar TOKEN_REGEXP = /^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/;\n/**\n * RegExp for various RFC 5987 grammar\n *\n * ext-value = charset \"'\" [ language ] \"'\" value-chars\n * charset = \"UTF-8\" / \"ISO-8859-1\" / mime-charset\n * mime-charset = 1*mime-charsetc\n * mime-charsetc = ALPHA / DIGIT\n * / \"!\" / \"#\" / \"$\" / \"%\" / \"&\"\n * / \"+\" / \"-\" / \"^\" / \"_\" / \"`\"\n * / \"{\" / \"}\" / \"~\"\n * language = ( 2*3ALPHA [ extlang ] )\n * / 4ALPHA\n * / 5*8ALPHA\n * extlang = *3( \"-\" 3ALPHA )\n * value-chars = *( pct-encoded / attr-char )\n * pct-encoded = \"%\" HEXDIG HEXDIG\n * attr-char = ALPHA / DIGIT\n * / \"!\" / \"#\" / \"$\" / \"&\" / \"+\" / \"-\" / \".\"\n * / \"^\" / \"_\" / \"`\" / \"|\" / \"~\"\n * @private\n */\n\nvar EXT_VALUE_REGEXP = /^([A-Za-z0-9!#$%&+\\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/;\n/**\n * RegExp for various RFC 6266 grammar\n *\n * disposition-type = \"inline\" | \"attachment\" | disp-ext-type\n * disp-ext-type = token\n * disposition-parm = filename-parm | disp-ext-parm\n * filename-parm = \"filename\" \"=\" value\n * | \"filename*\" \"=\" ext-value\n * disp-ext-parm = token \"=\" value\n * | ext-token \"=\" ext-value\n * ext-token = <the characters in token, followed by \"*\">\n * @private\n */\n\nvar DISPOSITION_TYPE_REGEXP = /^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\\x09\\x20]*(?:$|;)/; // eslint-disable-line no-control-regex\n\n/**\n * Create an attachment Content-Disposition header.\n *\n * @param {string} [filename]\n * @param {object} [options]\n * @param {string} [options.type=attachment]\n * @param {string|boolean} [options.fallback=true]\n * @return {string}\n * @public\n */\n\nfunction contentDisposition(filename, options) {\n var opts = options || {}; // get type\n\n var type = opts.type || 'attachment'; // get parameters\n\n var params = createparams(filename, opts.fallback); // format into string\n\n return format(new ContentDisposition(type, params));\n}\n/**\n * Create parameters object from filename and fallback.\n *\n * @param {string} [filename]\n * @param {string|boolean} [fallback=true]\n * @return {object}\n * @private\n */\n\n\nfunction createparams(filename, fallback) {\n if (filename === undefined) {\n return;\n }\n\n var params = {};\n\n if (typeof filename !== 'string') {\n throw new TypeError('filename must be a string');\n } // fallback defaults to true\n\n\n if (fallback === undefined) {\n fallback = true;\n }\n\n if (typeof fallback !== 'string' && typeof fallback !== 'boolean') {\n throw new TypeError('fallback must be a string or boolean');\n }\n\n if (typeof fallback === 'string' && NON_LATIN1_REGEXP.test(fallback)) {\n throw new TypeError('fallback must be ISO-8859-1 string');\n } // restrict to file base name\n\n\n var name = basename(filename); // determine if name is suitable for quoted string\n\n var isQuotedString = TEXT_REGEXP.test(name); // generate fallback name\n\n var fallbackName = typeof fallback !== 'string' ? fallback && getlatin1(name) : basename(fallback);\n var hasFallback = typeof fallbackName === 'string' && fallbackName !== name; // set extended filename parameter\n\n if (hasFallback || !isQuotedString || HEX_ESCAPE_REGEXP.test(name)) {\n params['filename*'] = name;\n } // set filename parameter\n\n\n if (isQuotedString || hasFallback) {\n params.filename = hasFallback ? fallbackName : name;\n }\n\n return params;\n}\n/**\n * Format object to Content-Disposition header.\n *\n * @param {object} obj\n * @param {string} obj.type\n * @param {object} [obj.parameters]\n * @return {string}\n * @private\n */\n\n\nfunction format(obj) {\n var parameters = obj.parameters;\n var type = obj.type;\n\n if (!type || typeof type !== 'string' || !TOKEN_REGEXP.test(type)) {\n throw new TypeError('invalid type');\n } // start with normalized type\n\n\n var string = String(type).toLowerCase(); // append parameters\n\n if (parameters && _typeof(parameters) === 'object') {\n var param;\n var params = Object.keys(parameters).sort();\n\n for (var i = 0; i < params.length; i++) {\n param = params[i];\n var val = param.substr(-1) === '*' ? ustring(parameters[param]) : qstring(parameters[param]);\n string += '; ' + param + '=' + val;\n }\n }\n\n return string;\n}\n/**\n * Decode a RFC 6987 field value (gracefully).\n *\n * @param {string} str\n * @return {string}\n * @private\n */\n\n\nfunction decodefield(str) {\n var match = EXT_VALUE_REGEXP.exec(str);\n\n if (!match) {\n throw new TypeError('invalid extended field value');\n }\n\n var charset = match[1].toLowerCase();\n var encoded = match[2];\n var value; // to binary string\n\n var binary = encoded.replace(HEX_ESCAPE_REPLACE_REGEXP, pdecode);\n\n switch (charset) {\n case 'iso-8859-1':\n value = getlatin1(binary);\n break;\n\n case 'utf-8':\n value = Buffer.from(binary, 'binary').toString('utf8');\n break;\n\n default:\n throw new TypeError('unsupported charset in extended field');\n }\n\n return value;\n}\n/**\n * Get ISO-8859-1 version of string.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\n\nfunction getlatin1(val) {\n // simple Unicode -> ISO-8859-1 transformation\n return String(val).replace(NON_LATIN1_REGEXP, '?');\n}\n/**\n * Parse Content-Disposition header string.\n *\n * @param {string} string\n * @return {object}\n * @public\n */\n\n\nfunction parse(string) {\n if (!string || typeof string !== 'string') {\n throw new TypeError('argument string is required');\n }\n\n var match = DISPOSITION_TYPE_REGEXP.exec(string);\n\n if (!match) {\n throw new TypeError('invalid type format');\n } // normalize type\n\n\n var index = match[0].length;\n var type = match[1].toLowerCase();\n var key;\n var names = [];\n var params = {};\n var value; // calculate index to start at\n\n index = PARAM_REGEXP.lastIndex = match[0].substr(-1) === ';' ? index - 1 : index; // match parameters\n\n while (match = PARAM_REGEXP.exec(string)) {\n if (match.index !== index) {\n throw new TypeError('invalid parameter format');\n }\n\n index += match[0].length;\n key = match[1].toLowerCase();\n value = match[2];\n\n if (names.indexOf(key) !== -1) {\n throw new TypeError('invalid duplicate parameter');\n }\n\n names.push(key);\n\n if (key.indexOf('*') + 1 === key.length) {\n // decode extended value\n key = key.slice(0, -1);\n value = decodefield(value); // overwrite existing value\n\n params[key] = value;\n continue;\n }\n\n if (typeof params[key] === 'string') {\n continue;\n }\n\n if (value[0] === '\"') {\n // remove quotes and escapes\n value = value.substr(1, value.length - 2).replace(QESC_REGEXP, '$1');\n }\n\n params[key] = value;\n }\n\n if (index !== -1 && index !== string.length) {\n throw new TypeError('invalid parameter format');\n }\n\n return new ContentDisposition(type, params);\n}\n/**\n * Percent decode a single character.\n *\n * @param {string} str\n * @param {string} hex\n * @return {string}\n * @private\n */\n\n\nfunction pdecode(str, hex) {\n return String.fromCharCode(parseInt(hex, 16));\n}\n/**\n * Percent encode a single character.\n *\n * @param {string} char\n * @return {string}\n * @private\n */\n\n\nfunction pencode(_char) {\n return '%' + String(_char).charCodeAt(0).toString(16).toUpperCase();\n}\n/**\n * Quote a string for HTTP.\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\n\nfunction qstring(val) {\n var str = String(val);\n return '\"' + str.replace(QUOTE_REGEXP, '\\\\$1') + '\"';\n}\n/**\n * Encode a Unicode string for HTTP (RFC 5987).\n *\n * @param {string} val\n * @return {string}\n * @private\n */\n\n\nfunction ustring(val) {\n var str = String(val); // percent encode as UTF-8\n\n var encoded = encodeURIComponent(str).replace(ENCODE_URL_ATTR_CHAR_REGEXP, pencode);\n return 'UTF-8\\'\\'' + encoded;\n}\n/**\n * Class for parsed Content-Disposition header for v8 optimization\n *\n * @public\n * @param {string} type\n * @param {object} parameters\n * @constructor\n */\n\n\nfunction ContentDisposition(type, parameters) {\n this.type = type;\n this.parameters = parameters;\n}","module.exports = function (data, filename, mime, bom) {\n var blobData = typeof bom !== 'undefined' ? [bom, data] : [data];\n var blob = new Blob(blobData, {\n type: mime || 'application/octet-stream'\n });\n\n if (typeof window.navigator.msSaveBlob !== 'undefined') {\n // IE workaround for \"HTML7007: One or more blob URLs were\n // revoked by closing the blob for which they were created.\n // These URLs will no longer resolve as the data backing\n // the URL has been freed.\"\n window.navigator.msSaveBlob(blob, filename);\n } else {\n var blobURL = window.URL && window.URL.createObjectURL ? window.URL.createObjectURL(blob) : window.webkitURL.createObjectURL(blob);\n var tempLink = document.createElement('a');\n tempLink.style.display = 'none';\n tempLink.href = blobURL;\n tempLink.setAttribute('download', filename); // Safari thinks _blank anchor are pop ups. We only want to set _blank\n // target if the browser does not support the HTML5 download attribute.\n // This allows you to download files in desktop safari if pop up blocking\n // is enabled.\n\n if (typeof tempLink.download === 'undefined') {\n tempLink.setAttribute('target', '_blank');\n }\n\n document.body.appendChild(tempLink);\n tempLink.click(); // Fixes \"webkit blob resource error 1\"\n\n setTimeout(function () {\n document.body.removeChild(tempLink);\n window.URL.revokeObjectURL(blobURL);\n }, 200);\n }\n};","var v1 = require('./v1');\n\nvar v4 = require('./v4');\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\nmodule.exports = uuid;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/* smoothscroll v0.4.4 - 2019 - Dustan Kasten, Jeremias Menichelli - MIT License */\n(function () {\n 'use strict'; // polyfill\n\n function polyfill() {\n // aliases\n var w = window;\n var d = document; // return if scroll behavior is supported and polyfill is not forced\n\n if ('scrollBehavior' in d.documentElement.style && w.__forceSmoothScrollPolyfill__ !== true) {\n return;\n } // globals\n\n\n var Element = w.HTMLElement || w.Element;\n var SCROLL_TIME = 468; // object gathering original scroll methods\n\n var original = {\n scroll: w.scroll || w.scrollTo,\n scrollBy: w.scrollBy,\n elementScroll: Element.prototype.scroll || scrollElement,\n scrollIntoView: Element.prototype.scrollIntoView\n }; // define timing method\n\n var now = w.performance && w.performance.now ? w.performance.now.bind(w.performance) : Date.now;\n /**\n * indicates if a the current browser is made by Microsoft\n * @method isMicrosoftBrowser\n * @param {String} userAgent\n * @returns {Boolean}\n */\n\n function isMicrosoftBrowser(userAgent) {\n var userAgentPatterns = ['MSIE ', 'Trident/', 'Edge/'];\n return new RegExp(userAgentPatterns.join('|')).test(userAgent);\n }\n /*\n * IE has rounding bug rounding down clientHeight and clientWidth and\n * rounding up scrollHeight and scrollWidth causing false positives\n * on hasScrollableSpace\n */\n\n\n var ROUNDING_TOLERANCE = isMicrosoftBrowser(w.navigator.userAgent) ? 1 : 0;\n /**\n * changes scroll position inside an element\n * @method scrollElement\n * @param {Number} x\n * @param {Number} y\n * @returns {undefined}\n */\n\n function scrollElement(x, y) {\n this.scrollLeft = x;\n this.scrollTop = y;\n }\n /**\n * returns result of applying ease math function to a number\n * @method ease\n * @param {Number} k\n * @returns {Number}\n */\n\n\n function ease(k) {\n return 0.5 * (1 - Math.cos(Math.PI * k));\n }\n /**\n * indicates if a smooth behavior should be applied\n * @method shouldBailOut\n * @param {Number|Object} firstArg\n * @returns {Boolean}\n */\n\n\n function shouldBailOut(firstArg) {\n if (firstArg === null || _typeof(firstArg) !== 'object' || firstArg.behavior === undefined || firstArg.behavior === 'auto' || firstArg.behavior === 'instant') {\n // first argument is not an object/null\n // or behavior is auto, instant or undefined\n return true;\n }\n\n if (_typeof(firstArg) === 'object' && firstArg.behavior === 'smooth') {\n // first argument is an object and behavior is smooth\n return false;\n } // throw error when behavior is not supported\n\n\n throw new TypeError('behavior member of ScrollOptions ' + firstArg.behavior + ' is not a valid value for enumeration ScrollBehavior.');\n }\n /**\n * indicates if an element has scrollable space in the provided axis\n * @method hasScrollableSpace\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n\n\n function hasScrollableSpace(el, axis) {\n if (axis === 'Y') {\n return el.clientHeight + ROUNDING_TOLERANCE < el.scrollHeight;\n }\n\n if (axis === 'X') {\n return el.clientWidth + ROUNDING_TOLERANCE < el.scrollWidth;\n }\n }\n /**\n * indicates if an element has a scrollable overflow property in the axis\n * @method canOverflow\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n\n\n function canOverflow(el, axis) {\n var overflowValue = w.getComputedStyle(el, null)['overflow' + axis];\n return overflowValue === 'auto' || overflowValue === 'scroll';\n }\n /**\n * indicates if an element can be scrolled in either axis\n * @method isScrollable\n * @param {Node} el\n * @param {String} axis\n * @returns {Boolean}\n */\n\n\n function isScrollable(el) {\n var isScrollableY = hasScrollableSpace(el, 'Y') && canOverflow(el, 'Y');\n var isScrollableX = hasScrollableSpace(el, 'X') && canOverflow(el, 'X');\n return isScrollableY || isScrollableX;\n }\n /**\n * finds scrollable parent of an element\n * @method findScrollableParent\n * @param {Node} el\n * @returns {Node} el\n */\n\n\n function findScrollableParent(el) {\n while (el !== d.body && isScrollable(el) === false) {\n el = el.parentNode || el.host;\n }\n\n return el;\n }\n /**\n * self invoked function that, given a context, steps through scrolling\n * @method step\n * @param {Object} context\n * @returns {undefined}\n */\n\n\n function step(context) {\n var time = now();\n var value;\n var currentX;\n var currentY;\n var elapsed = (time - context.startTime) / SCROLL_TIME; // avoid elapsed times higher than one\n\n elapsed = elapsed > 1 ? 1 : elapsed; // apply easing to elapsed time\n\n value = ease(elapsed);\n currentX = context.startX + (context.x - context.startX) * value;\n currentY = context.startY + (context.y - context.startY) * value;\n context.method.call(context.scrollable, currentX, currentY); // scroll more if we have not reached our destination\n\n if (currentX !== context.x || currentY !== context.y) {\n w.requestAnimationFrame(step.bind(w, context));\n }\n }\n /**\n * scrolls window or element with a smooth behavior\n * @method smoothScroll\n * @param {Object|Node} el\n * @param {Number} x\n * @param {Number} y\n * @returns {undefined}\n */\n\n\n function smoothScroll(el, x, y) {\n var scrollable;\n var startX;\n var startY;\n var method;\n var startTime = now(); // define scroll context\n\n if (el === d.body) {\n scrollable = w;\n startX = w.scrollX || w.pageXOffset;\n startY = w.scrollY || w.pageYOffset;\n method = original.scroll;\n } else {\n scrollable = el;\n startX = el.scrollLeft;\n startY = el.scrollTop;\n method = scrollElement;\n } // scroll looping over a frame\n\n\n step({\n scrollable: scrollable,\n method: method,\n startTime: startTime,\n startX: startX,\n startY: startY,\n x: x,\n y: y\n });\n } // ORIGINAL METHODS OVERRIDES\n // w.scroll and w.scrollTo\n\n\n w.scroll = w.scrollTo = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0]) === true) {\n original.scroll.call(w, arguments[0].left !== undefined ? arguments[0].left : _typeof(arguments[0]) !== 'object' ? arguments[0] : w.scrollX || w.pageXOffset, // use top prop, second argument if present or fallback to scrollY\n arguments[0].top !== undefined ? arguments[0].top : arguments[1] !== undefined ? arguments[1] : w.scrollY || w.pageYOffset);\n return;\n } // LET THE SMOOTHNESS BEGIN!\n\n\n smoothScroll.call(w, d.body, arguments[0].left !== undefined ? ~~arguments[0].left : w.scrollX || w.pageXOffset, arguments[0].top !== undefined ? ~~arguments[0].top : w.scrollY || w.pageYOffset);\n }; // w.scrollBy\n\n\n w.scrollBy = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0])) {\n original.scrollBy.call(w, arguments[0].left !== undefined ? arguments[0].left : _typeof(arguments[0]) !== 'object' ? arguments[0] : 0, arguments[0].top !== undefined ? arguments[0].top : arguments[1] !== undefined ? arguments[1] : 0);\n return;\n } // LET THE SMOOTHNESS BEGIN!\n\n\n smoothScroll.call(w, d.body, ~~arguments[0].left + (w.scrollX || w.pageXOffset), ~~arguments[0].top + (w.scrollY || w.pageYOffset));\n }; // Element.prototype.scroll and Element.prototype.scrollTo\n\n\n Element.prototype.scroll = Element.prototype.scrollTo = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0]) === true) {\n // if one number is passed, throw error to match Firefox implementation\n if (typeof arguments[0] === 'number' && arguments[1] === undefined) {\n throw new SyntaxError('Value could not be converted');\n }\n\n original.elementScroll.call(this, // use left prop, first number argument or fallback to scrollLeft\n arguments[0].left !== undefined ? ~~arguments[0].left : _typeof(arguments[0]) !== 'object' ? ~~arguments[0] : this.scrollLeft, // use top prop, second argument or fallback to scrollTop\n arguments[0].top !== undefined ? ~~arguments[0].top : arguments[1] !== undefined ? ~~arguments[1] : this.scrollTop);\n return;\n }\n\n var left = arguments[0].left;\n var top = arguments[0].top; // LET THE SMOOTHNESS BEGIN!\n\n smoothScroll.call(this, this, typeof left === 'undefined' ? this.scrollLeft : ~~left, typeof top === 'undefined' ? this.scrollTop : ~~top);\n }; // Element.prototype.scrollBy\n\n\n Element.prototype.scrollBy = function () {\n // avoid action when no arguments are passed\n if (arguments[0] === undefined) {\n return;\n } // avoid smooth behavior if not required\n\n\n if (shouldBailOut(arguments[0]) === true) {\n original.elementScroll.call(this, arguments[0].left !== undefined ? ~~arguments[0].left + this.scrollLeft : ~~arguments[0] + this.scrollLeft, arguments[0].top !== undefined ? ~~arguments[0].top + this.scrollTop : ~~arguments[1] + this.scrollTop);\n return;\n }\n\n this.scroll({\n left: ~~arguments[0].left + this.scrollLeft,\n top: ~~arguments[0].top + this.scrollTop,\n behavior: arguments[0].behavior\n });\n }; // Element.prototype.scrollIntoView\n\n\n Element.prototype.scrollIntoView = function () {\n // avoid smooth behavior if not required\n if (shouldBailOut(arguments[0]) === true) {\n original.scrollIntoView.call(this, arguments[0] === undefined ? true : arguments[0]);\n return;\n } // LET THE SMOOTHNESS BEGIN!\n\n\n var scrollableParent = findScrollableParent(this);\n var parentRects = scrollableParent.getBoundingClientRect();\n var clientRects = this.getBoundingClientRect();\n\n if (scrollableParent !== d.body) {\n // reveal element inside parent\n smoothScroll.call(this, scrollableParent, scrollableParent.scrollLeft + clientRects.left - parentRects.left, scrollableParent.scrollTop + clientRects.top - parentRects.top); // reveal parent in viewport unless is fixed\n\n if (w.getComputedStyle(scrollableParent).position !== 'fixed') {\n w.scrollBy({\n left: parentRects.left,\n top: parentRects.top,\n behavior: 'smooth'\n });\n }\n } else {\n // reveal element in viewport\n w.scrollBy({\n left: clientRects.left,\n top: clientRects.top,\n behavior: 'smooth'\n });\n }\n };\n }\n\n if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined') {\n // commonjs\n module.exports = {\n polyfill: polyfill\n };\n } else {\n // global\n polyfill();\n }\n})();","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\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 = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Vuex = factory());\n})(this, function () {\n 'use strict';\n /**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\n\n function find(list, f) {\n return list.filter(f)[0];\n }\n /**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array<Object>} cache\n * @return {*}\n */\n\n\n function deepCopy(obj, cache) {\n if (cache === void 0) cache = []; // just return if obj is immutable value\n\n if (obj === null || _typeof(obj) !== 'object') {\n return obj;\n } // if obj is hit, it is in circular structure\n\n\n var hit = find(cache, function (c) {\n return c.original === obj;\n });\n\n if (hit) {\n return hit.copy;\n }\n\n var copy = Array.isArray(obj) ? [] : {}; // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n\n cache.push({\n original: obj,\n copy: copy\n });\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n return copy;\n } // Credits: borrowed code from fcomb/redux-logger\n\n\n function createLogger(ref) {\n if (ref === void 0) ref = {};\n var collapsed = ref.collapsed;\n if (collapsed === void 0) collapsed = true;\n var filter = ref.filter;\n if (filter === void 0) filter = function filter(mutation, stateBefore, stateAfter) {\n return true;\n };\n var transformer = ref.transformer;\n if (transformer === void 0) transformer = function transformer(state) {\n return state;\n };\n var mutationTransformer = ref.mutationTransformer;\n if (mutationTransformer === void 0) mutationTransformer = function mutationTransformer(mut) {\n return mut;\n };\n var actionFilter = ref.actionFilter;\n if (actionFilter === void 0) actionFilter = function actionFilter(action, state) {\n return true;\n };\n var actionTransformer = ref.actionTransformer;\n if (actionTransformer === void 0) actionTransformer = function actionTransformer(act) {\n return act;\n };\n var logMutations = ref.logMutations;\n if (logMutations === void 0) logMutations = true;\n var logActions = ref.logActions;\n if (logActions === void 0) logActions = true;\n var logger = ref.logger;\n if (logger === void 0) logger = console;\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return;\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + mutation.type + formattedTime;\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + action.type + formattedTime;\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n };\n }\n\n function startMessage(logger, message, collapsed) {\n var startMessage = collapsed ? logger.groupCollapsed : logger.group; // render\n\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n }\n\n function endMessage(logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n }\n\n function getFormattedTime() {\n var time = new Date();\n return \" @ \" + pad(time.getHours(), 2) + \":\" + pad(time.getMinutes(), 2) + \":\" + pad(time.getSeconds(), 2) + \".\" + pad(time.getMilliseconds(), 3);\n }\n\n function repeat(str, times) {\n return new Array(times + 1).join(str);\n }\n\n function pad(num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num;\n }\n\n return createLogger;\n});","/*\n * This module exists for optimizations in the build process through rollup and terser. We define some global\n * constants, which can be overridden during build. By guarding certain pieces of code with functions that return these\n * constants, we can control whether or not they appear in the final bundle. (Any code guarded by a false condition will\n * never run, and will hence be dropped during treeshaking.) The two primary uses for this are stripping out calls to\n * `logger` and preventing node-related code from appearing in browser bundles.\n *\n * Attention:\n * This file should not be used to define constants/flags that are intended to be used for tree-shaking conducted by\n * users. These flags should live in their respective packages, as we identified user tooling (specifically webpack)\n * having issues tree-shaking these constants across package boundaries.\n * An example for this is the __SENTRY_DEBUG__ constant. It is declared in each package individually because we want\n * users to be able to shake away expressions that it guards.\n */\n\n/**\n * Figures out if we're building a browser bundle.\n *\n * @returns true if this is a browser bundle build.\n */\nfunction isBrowserBundle() {\n return typeof __SENTRY_BROWSER_BUNDLE__ !== 'undefined' && !!__SENTRY_BROWSER_BUNDLE__;\n}\n/**\n * Get source of SDK.\n */\n\n\nfunction getSDKSource() {\n // @ts-expect-error \"npm\" is injected by rollup during build process\n return \"npm\";\n}\n\nexport { getSDKSource, isBrowserBundle };","import { isBrowserBundle } from './env.js';\n/**\n * NOTE: In order to avoid circular dependencies, if you add a function to this module and it needs to print something,\n * you must either a) use `console.log` rather than the logger, or b) put your function elsewhere.\n */\n\n/**\n * Checks whether we're in the Node.js or Browser environment\n *\n * @returns Answer to given question\n */\n\nfunction isNodeEnv() {\n // explicitly check for browser bundles as those can be optimized statically\n // by terser/rollup.\n return !isBrowserBundle() && Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';\n}\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param request The module path to resolve\n */\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any\n\n\nfunction dynamicRequire(mod, request) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return mod.require(request);\n}\n/**\n * Helper for dynamically loading module that should work with linked dependencies.\n * The problem is that we _should_ be using `require(require.resolve(moduleName, { paths: [cwd()] }))`\n * However it's _not possible_ to do that with Webpack, as it has to know all the dependencies during\n * build time. `require.resolve` is also not available in any other way, so we cannot create,\n * a fake helper like we do with `dynamicRequire`.\n *\n * We always prefer to use local package, thus the value is not returned early from each `try/catch` block.\n * That is to mimic the behavior of `require.resolve` exactly.\n *\n * @param moduleName module name to require\n * @returns possibly required module\n */\n\n\nfunction loadModule(moduleName) {\n var mod;\n\n try {\n mod = dynamicRequire(module, moduleName);\n } catch (e) {// no-empty\n }\n\n try {\n var _dynamicRequire = dynamicRequire(module, 'process'),\n cwd = _dynamicRequire.cwd;\n\n mod = dynamicRequire(module, \"\".concat(cwd(), \"/node_modules/\").concat(moduleName));\n } catch (e) {// no-empty\n }\n\n return mod;\n}\n\nexport { dynamicRequire, isNodeEnv, loadModule };","import toInteger from '../_lib/toInteger/index.js';\nimport addMonths from '../addMonths/index.js';\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be added\n * @returns {Date} the new date with the years added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * var result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\n\nexport default function addYears(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, amount * 12);\n}","import toDate from '../toDate/index.js';\n/**\n * @name compareAsc\n * @category Common Helpers\n * @summary Compare the two dates and return -1, 0 or 1.\n *\n * @description\n * Compare the two dates and return 1 if the first date is after the second,\n * -1 if the first date is before the second or 0 if dates are equal.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the first date to compare\n * @param {Date|Number} dateRight - the second date to compare\n * @returns {Number} the result of the comparison\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Compare 11 February 1987 and 10 July 1989:\n * var result = compareAsc(new Date(1987, 1, 11), new Date(1989, 6, 10))\n * //=> -1\n *\n * @example\n * // Sort the array of dates:\n * var result = [\n * new Date(1995, 6, 2),\n * new Date(1987, 1, 11),\n * new Date(1989, 6, 10)\n * ].sort(compareAsc)\n * //=> [\n * // Wed Feb 11 1987 00:00:00,\n * // Mon Jul 10 1989 00:00:00,\n * // Sun Jul 02 1995 00:00:00\n * // ]\n */\n\nexport default function compareAsc(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var diff = dateLeft.getTime() - dateRight.getTime();\n\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1; // Return 0 if diff is 0; return NaN if diff is NaN\n } else {\n return diff;\n }\n}","import toDate from '../toDate/index.js';\nimport differenceInCalendarMonths from '../differenceInCalendarMonths/index.js';\nimport compareAsc from '../compareAsc/index.js';\n/**\n * @name differenceInMonths\n * @category Month Helpers\n * @summary Get the number of full months between the given dates.\n *\n * @description\n * Get the number of full months between the given dates.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of full months\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many full months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInMonths(new Date(2014, 8, 1), new Date(2014, 0, 31))\n * //=> 7\n */\n\nexport default function differenceInMonths(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var sign = compareAsc(dateLeft, dateRight);\n var difference = Math.abs(differenceInCalendarMonths(dateLeft, dateRight));\n dateLeft.setMonth(dateLeft.getMonth() - sign * difference); // Math.abs(diff in full months - diff in calendar months) === 1 if last calendar month is not full\n // If so, result must be decreased by 1 in absolute value\n\n var isLastMonthNotFull = compareAsc(dateLeft, dateRight) === -sign;\n var result = sign * (difference - isLastMonthNotFull); // Prevent negative zero\n\n return result === 0 ? 0 : result;\n}","import toDate from '../toDate/index.js';\n/**\n * @name differenceInCalendarMonths\n * @category Month Helpers\n * @summary Get the number of calendar months between the given dates.\n *\n * @description\n * Get the number of calendar months between the given dates.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} dateLeft - the later date\n * @param {Date|Number} dateRight - the earlier date\n * @returns {Number} the number of calendar months\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // How many calendar months are between 31 January 2014 and 1 September 2014?\n * var result = differenceInCalendarMonths(\n * new Date(2014, 8, 1),\n * new Date(2014, 0, 31)\n * )\n * //=> 8\n */\n\nexport default function differenceInCalendarMonths(dirtyDateLeft, dirtyDateRight) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n var yearDiff = dateLeft.getFullYear() - dateRight.getFullYear();\n var monthDiff = dateLeft.getMonth() - dateRight.getMonth();\n return yearDiff * 12 + monthDiff;\n}","import assign from '../assign/index.js';\nexport default function cloneObject(dirtyObject) {\n return assign({}, dirtyObject);\n}","export default function assign(target, dirtyObject) {\n if (target == null) {\n throw new TypeError('assign requires that input parameter not be null or undefined');\n }\n\n dirtyObject = dirtyObject || {};\n\n for (var property in dirtyObject) {\n if (dirtyObject.hasOwnProperty(property)) {\n target[property] = dirtyObject[property];\n }\n }\n\n return target;\n}","import compareAsc from '../compareAsc/index.js';\nimport differenceInMonths from '../differenceInMonths/index.js';\nimport differenceInSeconds from '../differenceInSeconds/index.js';\nimport defaultLocale from '../locale/en-US/index.js';\nimport toDate from '../toDate/index.js';\nimport cloneObject from '../_lib/cloneObject/index.js';\nimport getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nvar MINUTES_IN_DAY = 1440;\nvar MINUTES_IN_ALMOST_TWO_DAYS = 2520;\nvar MINUTES_IN_MONTH = 43200;\nvar MINUTES_IN_TWO_MONTHS = 86400;\n/**\n * @name formatDistance\n * @category Common Helpers\n * @summary Return the distance between the given dates in words.\n *\n * @description\n * Return the distance between the given dates in words.\n *\n * | Distance between dates | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance between dates | Result |\n * |------------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The function was renamed from `distanceInWords ` to `formatDistance`\n * to make its name consistent with `format` and `formatRelative`.\n *\n * - The order of arguments is swapped to make the function\n * consistent with `differenceIn...` functions.\n *\n * ```javascript\n * // Before v2.0.0\n *\n * distanceInWords(\n * new Date(1986, 3, 4, 10, 32, 0),\n * new Date(1986, 3, 4, 11, 32, 0),\n * { addSuffix: true }\n * ) //=> 'in about 1 hour'\n *\n * // v2.0.0 onward\n *\n * formatDistance(\n * new Date(1986, 3, 4, 11, 32, 0),\n * new Date(1986, 3, 4, 10, 32, 0),\n * { addSuffix: true }\n * ) //=> 'in about 1 hour'\n * ```\n *\n * @param {Date|Number} date - the date\n * @param {Date|Number} baseDate - the date to compare with\n * @param {Object} [options] - an object with options.\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @param {Boolean} [options.addSuffix=false] - result indicates if the second date is earlier or later than the first\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @returns {String} the distance in words\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.locale` must contain `formatDistance` property\n *\n * @example\n * // What is the distance between 2 July 2014 and 1 January 2015?\n * var result = formatDistance(new Date(2014, 6, 2), new Date(2015, 0, 1))\n * //=> '6 months'\n *\n * @example\n * // What is the distance between 1 January 2015 00:00:15\n * // and 1 January 2015 00:00:00, including seconds?\n * var result = formatDistance(\n * new Date(2015, 0, 1, 0, 0, 15),\n * new Date(2015, 0, 1, 0, 0, 0),\n * { includeSeconds: true }\n * )\n * //=> 'less than 20 seconds'\n *\n * @example\n * // What is the distance from 1 January 2016\n * // to 1 January 2015, with a suffix?\n * var result = formatDistance(new Date(2015, 0, 1), new Date(2016, 0, 1), {\n * addSuffix: true\n * })\n * //=> 'about 1 year ago'\n *\n * @example\n * // What is the distance between 1 August 2016 and 1 January 2015 in Esperanto?\n * import { eoLocale } from 'date-fns/locale/eo'\n * var result = formatDistance(new Date(2016, 7, 1), new Date(2015, 0, 1), {\n * locale: eoLocale\n * })\n * //=> 'pli ol 1 jaro'\n */\n\nexport default function formatDistance(dirtyDate, dirtyBaseDate, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n\n if (!locale.formatDistance) {\n throw new RangeError('locale must contain formatDistance property');\n }\n\n var comparison = compareAsc(dirtyDate, dirtyBaseDate);\n\n if (isNaN(comparison)) {\n throw new RangeError('Invalid time value');\n }\n\n var localizeOptions = cloneObject(options);\n localizeOptions.addSuffix = Boolean(options.addSuffix);\n localizeOptions.comparison = comparison;\n var dateLeft;\n var dateRight;\n\n if (comparison > 0) {\n dateLeft = toDate(dirtyBaseDate);\n dateRight = toDate(dirtyDate);\n } else {\n dateLeft = toDate(dirtyDate);\n dateRight = toDate(dirtyBaseDate);\n }\n\n var seconds = differenceInSeconds(dateRight, dateLeft);\n var offsetInSeconds = (getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft)) / 1000;\n var minutes = Math.round((seconds - offsetInSeconds) / 60);\n var months; // 0 up to 2 mins\n\n if (minutes < 2) {\n if (options.includeSeconds) {\n if (seconds < 5) {\n return locale.formatDistance('lessThanXSeconds', 5, localizeOptions);\n } else if (seconds < 10) {\n return locale.formatDistance('lessThanXSeconds', 10, localizeOptions);\n } else if (seconds < 20) {\n return locale.formatDistance('lessThanXSeconds', 20, localizeOptions);\n } else if (seconds < 40) {\n return locale.formatDistance('halfAMinute', null, localizeOptions);\n } else if (seconds < 60) {\n return locale.formatDistance('lessThanXMinutes', 1, localizeOptions);\n } else {\n return locale.formatDistance('xMinutes', 1, localizeOptions);\n }\n } else {\n if (minutes === 0) {\n return locale.formatDistance('lessThanXMinutes', 1, localizeOptions);\n } else {\n return locale.formatDistance('xMinutes', minutes, localizeOptions);\n }\n } // 2 mins up to 0.75 hrs\n\n } else if (minutes < 45) {\n return locale.formatDistance('xMinutes', minutes, localizeOptions); // 0.75 hrs up to 1.5 hrs\n } else if (minutes < 90) {\n return locale.formatDistance('aboutXHours', 1, localizeOptions); // 1.5 hrs up to 24 hrs\n } else if (minutes < MINUTES_IN_DAY) {\n var hours = Math.round(minutes / 60);\n return locale.formatDistance('aboutXHours', hours, localizeOptions); // 1 day up to 1.75 days\n } else if (minutes < MINUTES_IN_ALMOST_TWO_DAYS) {\n return locale.formatDistance('xDays', 1, localizeOptions); // 1.75 days up to 30 days\n } else if (minutes < MINUTES_IN_MONTH) {\n var days = Math.round(minutes / MINUTES_IN_DAY);\n return locale.formatDistance('xDays', days, localizeOptions); // 1 month up to 2 months\n } else if (minutes < MINUTES_IN_TWO_MONTHS) {\n months = Math.round(minutes / MINUTES_IN_MONTH);\n return locale.formatDistance('aboutXMonths', months, localizeOptions);\n }\n\n months = differenceInMonths(dateRight, dateLeft); // 2 months up to 12 months\n\n if (months < 12) {\n var nearestMonth = Math.round(minutes / MINUTES_IN_MONTH);\n return locale.formatDistance('xMonths', nearestMonth, localizeOptions); // 1 year up to max Date\n } else {\n var monthsSinceStartOfYear = months % 12;\n var years = Math.floor(months / 12); // N years up to 1 years 3 months\n\n if (monthsSinceStartOfYear < 3) {\n return locale.formatDistance('aboutXYears', years, localizeOptions); // N years 3 months up to N years 9 months\n } else if (monthsSinceStartOfYear < 9) {\n return locale.formatDistance('overXYears', years, localizeOptions); // N years 9 months up to N year 12 months\n } else {\n return locale.formatDistance('almostXYears', years + 1, localizeOptions);\n }\n }\n}","var map = {\n\t\"./check.svg\": 739,\n\t\"./dots.svg\": 740,\n\t\"./magnifier.svg\": 741,\n\t\"./scream.svg\": 742,\n\t\"./sync.svg\": 743,\n\t\"./wand.svg\": 744,\n\t\"./warning.svg\": 745\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 = 571;","\"use strict\";\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Observable = void 0;\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} // === Symbol Support ===\n\n\nvar hasSymbols = function hasSymbols() {\n return typeof Symbol === 'function';\n};\n\nvar hasSymbol = function hasSymbol(name) {\n return hasSymbols() && Boolean(Symbol[name]);\n};\n\nvar getSymbol = function getSymbol(name) {\n return hasSymbol(name) ? Symbol[name] : '@@' + name;\n};\n\nif (hasSymbols() && !hasSymbol('observable')) {\n Symbol.observable = Symbol('observable');\n}\n\nvar SymbolIterator = getSymbol('iterator');\nvar SymbolObservable = getSymbol('observable');\nvar SymbolSpecies = getSymbol('species'); // === Abstract Operations ===\n\nfunction getMethod(obj, key) {\n var value = obj[key];\n if (value == null) return undefined;\n if (typeof value !== 'function') throw new TypeError(value + ' is not a function');\n return value;\n}\n\nfunction getSpecies(obj) {\n var ctor = obj.constructor;\n\n if (ctor !== undefined) {\n ctor = ctor[SymbolSpecies];\n\n if (ctor === null) {\n ctor = undefined;\n }\n }\n\n return ctor !== undefined ? ctor : Observable;\n}\n\nfunction isObservable(x) {\n return x instanceof Observable; // SPEC: Brand check\n}\n\nfunction hostReportError(e) {\n if (hostReportError.log) {\n hostReportError.log(e);\n } else {\n setTimeout(function () {\n throw e;\n });\n }\n}\n\nfunction enqueue(fn) {\n Promise.resolve().then(function () {\n try {\n fn();\n } catch (e) {\n hostReportError(e);\n }\n });\n}\n\nfunction cleanupSubscription(subscription) {\n var cleanup = subscription._cleanup;\n if (cleanup === undefined) return;\n subscription._cleanup = undefined;\n\n if (!cleanup) {\n return;\n }\n\n try {\n if (typeof cleanup === 'function') {\n cleanup();\n } else {\n var unsubscribe = getMethod(cleanup, 'unsubscribe');\n\n if (unsubscribe) {\n unsubscribe.call(cleanup);\n }\n }\n } catch (e) {\n hostReportError(e);\n }\n}\n\nfunction closeSubscription(subscription) {\n subscription._observer = undefined;\n subscription._queue = undefined;\n subscription._state = 'closed';\n}\n\nfunction flushSubscription(subscription) {\n var queue = subscription._queue;\n\n if (!queue) {\n return;\n }\n\n subscription._queue = undefined;\n subscription._state = 'ready';\n\n for (var i = 0; i < queue.length; ++i) {\n notifySubscription(subscription, queue[i].type, queue[i].value);\n if (subscription._state === 'closed') break;\n }\n}\n\nfunction notifySubscription(subscription, type, value) {\n subscription._state = 'running';\n var observer = subscription._observer;\n\n try {\n var m = getMethod(observer, type);\n\n switch (type) {\n case 'next':\n if (m) m.call(observer, value);\n break;\n\n case 'error':\n closeSubscription(subscription);\n if (m) m.call(observer, value);else throw value;\n break;\n\n case 'complete':\n closeSubscription(subscription);\n if (m) m.call(observer);\n break;\n }\n } catch (e) {\n hostReportError(e);\n }\n\n if (subscription._state === 'closed') cleanupSubscription(subscription);else if (subscription._state === 'running') subscription._state = 'ready';\n}\n\nfunction onNotify(subscription, type, value) {\n if (subscription._state === 'closed') return;\n\n if (subscription._state === 'buffering') {\n subscription._queue.push({\n type: type,\n value: value\n });\n\n return;\n }\n\n if (subscription._state !== 'ready') {\n subscription._state = 'buffering';\n subscription._queue = [{\n type: type,\n value: value\n }];\n enqueue(function () {\n return flushSubscription(subscription);\n });\n return;\n }\n\n notifySubscription(subscription, type, value);\n}\n\nvar Subscription =\n/*#__PURE__*/\nfunction () {\n function Subscription(observer, subscriber) {\n _classCallCheck(this, Subscription); // ASSERT: observer is an object\n // ASSERT: subscriber is callable\n\n\n this._cleanup = undefined;\n this._observer = observer;\n this._queue = undefined;\n this._state = 'initializing';\n var subscriptionObserver = new SubscriptionObserver(this);\n\n try {\n this._cleanup = subscriber.call(undefined, subscriptionObserver);\n } catch (e) {\n subscriptionObserver.error(e);\n }\n\n if (this._state === 'initializing') this._state = 'ready';\n }\n\n _createClass(Subscription, [{\n key: \"unsubscribe\",\n value: function unsubscribe() {\n if (this._state !== 'closed') {\n closeSubscription(this);\n cleanupSubscription(this);\n }\n }\n }, {\n key: \"closed\",\n get: function get() {\n return this._state === 'closed';\n }\n }]);\n\n return Subscription;\n}();\n\nvar SubscriptionObserver =\n/*#__PURE__*/\nfunction () {\n function SubscriptionObserver(subscription) {\n _classCallCheck(this, SubscriptionObserver);\n\n this._subscription = subscription;\n }\n\n _createClass(SubscriptionObserver, [{\n key: \"next\",\n value: function next(value) {\n onNotify(this._subscription, 'next', value);\n }\n }, {\n key: \"error\",\n value: function error(value) {\n onNotify(this._subscription, 'error', value);\n }\n }, {\n key: \"complete\",\n value: function complete() {\n onNotify(this._subscription, 'complete');\n }\n }, {\n key: \"closed\",\n get: function get() {\n return this._subscription._state === 'closed';\n }\n }]);\n\n return SubscriptionObserver;\n}();\n\nvar Observable =\n/*#__PURE__*/\nfunction () {\n function Observable(subscriber) {\n _classCallCheck(this, Observable);\n\n if (!(this instanceof Observable)) throw new TypeError('Observable cannot be called as a function');\n if (typeof subscriber !== 'function') throw new TypeError('Observable initializer must be a function');\n this._subscriber = subscriber;\n }\n\n _createClass(Observable, [{\n key: \"subscribe\",\n value: function subscribe(observer) {\n if (_typeof(observer) !== 'object' || observer === null) {\n observer = {\n next: observer,\n error: arguments[1],\n complete: arguments[2]\n };\n }\n\n return new Subscription(observer, this._subscriber);\n }\n }, {\n key: \"forEach\",\n value: function forEach(fn) {\n var _this = this;\n\n return new Promise(function (resolve, reject) {\n if (typeof fn !== 'function') {\n reject(new TypeError(fn + ' is not a function'));\n return;\n }\n\n function done() {\n subscription.unsubscribe();\n resolve();\n }\n\n var subscription = _this.subscribe({\n next: function next(value) {\n try {\n fn(value, done);\n } catch (e) {\n reject(e);\n subscription.unsubscribe();\n }\n },\n error: reject,\n complete: resolve\n });\n });\n }\n }, {\n key: \"map\",\n value: function map(fn) {\n var _this2 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n return _this2.subscribe({\n next: function next(value) {\n try {\n value = fn(value);\n } catch (e) {\n return observer.error(e);\n }\n\n observer.next(value);\n },\n error: function error(e) {\n observer.error(e);\n },\n complete: function complete() {\n observer.complete();\n }\n });\n });\n }\n }, {\n key: \"filter\",\n value: function filter(fn) {\n var _this3 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n return _this3.subscribe({\n next: function next(value) {\n try {\n if (!fn(value)) return;\n } catch (e) {\n return observer.error(e);\n }\n\n observer.next(value);\n },\n error: function error(e) {\n observer.error(e);\n },\n complete: function complete() {\n observer.complete();\n }\n });\n });\n }\n }, {\n key: \"reduce\",\n value: function reduce(fn) {\n var _this4 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n var hasSeed = arguments.length > 1;\n var hasValue = false;\n var seed = arguments[1];\n var acc = seed;\n return new C(function (observer) {\n return _this4.subscribe({\n next: function next(value) {\n var first = !hasValue;\n hasValue = true;\n\n if (!first || hasSeed) {\n try {\n acc = fn(acc, value);\n } catch (e) {\n return observer.error(e);\n }\n } else {\n acc = value;\n }\n },\n error: function error(e) {\n observer.error(e);\n },\n complete: function complete() {\n if (!hasValue && !hasSeed) return observer.error(new TypeError('Cannot reduce an empty sequence'));\n observer.next(acc);\n observer.complete();\n }\n });\n });\n }\n }, {\n key: \"concat\",\n value: function concat() {\n var _this5 = this;\n\n for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n\n var C = getSpecies(this);\n return new C(function (observer) {\n var subscription;\n var index = 0;\n\n function startNext(next) {\n subscription = next.subscribe({\n next: function next(v) {\n observer.next(v);\n },\n error: function error(e) {\n observer.error(e);\n },\n complete: function complete() {\n if (index === sources.length) {\n subscription = undefined;\n observer.complete();\n } else {\n startNext(C.from(sources[index++]));\n }\n }\n });\n }\n\n startNext(_this5);\n return function () {\n if (subscription) {\n subscription.unsubscribe();\n subscription = undefined;\n }\n };\n });\n }\n }, {\n key: \"flatMap\",\n value: function flatMap(fn) {\n var _this6 = this;\n\n if (typeof fn !== 'function') throw new TypeError(fn + ' is not a function');\n var C = getSpecies(this);\n return new C(function (observer) {\n var subscriptions = [];\n\n var outer = _this6.subscribe({\n next: function next(value) {\n if (fn) {\n try {\n value = fn(value);\n } catch (e) {\n return observer.error(e);\n }\n }\n\n var inner = C.from(value).subscribe({\n next: function next(value) {\n observer.next(value);\n },\n error: function error(e) {\n observer.error(e);\n },\n complete: function complete() {\n var i = subscriptions.indexOf(inner);\n if (i >= 0) subscriptions.splice(i, 1);\n completeIfDone();\n }\n });\n subscriptions.push(inner);\n },\n error: function error(e) {\n observer.error(e);\n },\n complete: function complete() {\n completeIfDone();\n }\n });\n\n function completeIfDone() {\n if (outer.closed && subscriptions.length === 0) observer.complete();\n }\n\n return function () {\n subscriptions.forEach(function (s) {\n return s.unsubscribe();\n });\n outer.unsubscribe();\n };\n });\n }\n }, {\n key: SymbolObservable,\n value: function value() {\n return this;\n }\n }], [{\n key: \"from\",\n value: function from(x) {\n var C = typeof this === 'function' ? this : Observable;\n if (x == null) throw new TypeError(x + ' is not an object');\n var method = getMethod(x, SymbolObservable);\n\n if (method) {\n var observable = method.call(x);\n if (Object(observable) !== observable) throw new TypeError(observable + ' is not an object');\n if (isObservable(observable) && observable.constructor === C) return observable;\n return new C(function (observer) {\n return observable.subscribe(observer);\n });\n }\n\n if (hasSymbol('iterator')) {\n method = getMethod(x, SymbolIterator);\n\n if (method) {\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = method.call(x)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _item = _step.value;\n observer.next(_item);\n if (observer.closed) return;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n observer.complete();\n });\n });\n }\n }\n\n if (Array.isArray(x)) {\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var i = 0; i < x.length; ++i) {\n observer.next(x[i]);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n }\n\n throw new TypeError(x + ' is not observable');\n }\n }, {\n key: \"of\",\n value: function of() {\n for (var _len2 = arguments.length, items = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n items[_key2] = arguments[_key2];\n }\n\n var C = typeof this === 'function' ? this : Observable;\n return new C(function (observer) {\n enqueue(function () {\n if (observer.closed) return;\n\n for (var i = 0; i < items.length; ++i) {\n observer.next(items[i]);\n if (observer.closed) return;\n }\n\n observer.complete();\n });\n });\n }\n }, {\n key: SymbolSpecies,\n get: function get() {\n return this;\n }\n }]);\n\n return Observable;\n}();\n\nexports.Observable = Observable;\n\nif (hasSymbols()) {\n Object.defineProperty(Observable, Symbol('extensions'), {\n value: {\n symbol: SymbolObservable,\n hostReportError: hostReportError\n },\n configurable: true\n });\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatDistance;\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'less than a second',\n other: 'less than {{count}} seconds'\n },\n xSeconds: {\n one: '1 second',\n other: '{{count}} seconds'\n },\n halfAMinute: 'half a minute',\n lessThanXMinutes: {\n one: 'less than a minute',\n other: 'less than {{count}} minutes'\n },\n xMinutes: {\n one: '1 minute',\n other: '{{count}} minutes'\n },\n aboutXHours: {\n one: 'about 1 hour',\n other: 'about {{count}} hours'\n },\n xHours: {\n one: '1 hour',\n other: '{{count}} hours'\n },\n xDays: {\n one: '1 day',\n other: '{{count}} days'\n },\n aboutXMonths: {\n one: 'about 1 month',\n other: 'about {{count}} months'\n },\n xMonths: {\n one: '1 month',\n other: '{{count}} months'\n },\n aboutXYears: {\n one: 'about 1 year',\n other: 'about {{count}} years'\n },\n xYears: {\n one: '1 year',\n other: '{{count}} years'\n },\n overXYears: {\n one: 'over 1 year',\n other: 'over {{count}} years'\n },\n almostXYears: {\n one: 'almost 1 year',\n other: 'almost {{count}} years'\n }\n};\n\nfunction formatDistance(token, count, options) {\n options = options || {};\n var result;\n\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return result + ' ago';\n }\n }\n\n return result;\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildFormatLongFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar dateFormats = {\n full: 'EEEE, MMMM do, y',\n \"long\": 'MMMM do, y',\n medium: 'MMM d, y',\n \"short\": 'MM/dd/yyyy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n \"long\": 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n \"short\": 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n \"long\": \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: (0, _index[\"default\"])({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: (0, _index[\"default\"])({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: (0, _index[\"default\"])({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nvar _default = formatLong;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatRelative;\nvar formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: 'P'\n};\n\nfunction formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildLocalizeFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar eraValues = {\n narrow: ['B', 'A'],\n abbreviated: ['BC', 'AD'],\n wide: ['Before Christ', 'Anno Domini']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter'] // Note: in English, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],\n \"short\": ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'mi',\n noon: 'n',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n },\n wide: {\n am: 'a.m.',\n pm: 'p.m.',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'in the morning',\n afternoon: 'in the afternoon',\n evening: 'in the evening',\n night: 'at night'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber); // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`:\n //\n // var options = dirtyOptions || {}\n // var unit = String(options.unit)\n //\n // where `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'\n\n var rem100 = number % 100;\n\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + 'st';\n\n case 2:\n return number + 'nd';\n\n case 3:\n return number + 'rd';\n }\n }\n\n return number + 'th';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: (0, _index[\"default\"])({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: (0, _index[\"default\"])({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: (0, _index[\"default\"])({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: (0, _index[\"default\"])({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: (0, _index[\"default\"])({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nvar _default = localize;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildMatchPatternFn/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"../../../_lib/buildMatchFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n \"short\": /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: (0, _index[\"default\"])({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: (0, _index2[\"default\"])({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: (0, _index2[\"default\"])({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: (0, _index2[\"default\"])({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: (0, _index2[\"default\"])({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: (0, _index2[\"default\"])({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nvar _default = match;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatDistance;\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n regular: 'ménÄ› než vteÅ™ina',\n past: 'pÅ™ed ménÄ› než vteÅ™inou',\n future: 'za ménÄ› než vteÅ™inu'\n },\n few: {\n regular: 'ménÄ› než {{count}} vteÅ™iny',\n past: 'pÅ™ed ménÄ› než {{count}} vteÅ™inami',\n future: 'za ménÄ› než {{count}} vteÅ™iny'\n },\n many: {\n regular: 'ménÄ› než {{count}} vteÅ™in',\n past: 'pÅ™ed ménÄ› než {{count}} vteÅ™inami',\n future: 'za ménÄ› než {{count}} vteÅ™in'\n }\n },\n xSeconds: {\n one: {\n regular: 'vteÅ™ina',\n past: 'pÅ™ed vteÅ™inou',\n future: 'za vteÅ™inu'\n },\n few: {\n regular: '{{count}} vteÅ™iny',\n past: 'pÅ™ed {{count}} vteÅ™inami',\n future: 'za {{count}} vteÅ™iny'\n },\n many: {\n regular: '{{count}} vteÅ™in',\n past: 'pÅ™ed {{count}} vteÅ™inami',\n future: 'za {{count}} vteÅ™in'\n }\n },\n halfAMinute: {\n other: {\n regular: 'půl minuty',\n past: 'pÅ™ed půl minutou',\n future: 'za půl minuty'\n }\n },\n lessThanXMinutes: {\n one: {\n regular: 'ménÄ› než minuta',\n past: 'pÅ™ed ménÄ› než minutou',\n future: 'za ménÄ› než minutu'\n },\n few: {\n regular: 'ménÄ› než {{count}} minuty',\n past: 'pÅ™ed ménÄ› než {{count}} minutami',\n future: 'za ménÄ› než {{count}} minuty'\n },\n many: {\n regular: 'ménÄ› než {{count}} minut',\n past: 'pÅ™ed ménÄ› než {{count}} minutami',\n future: 'za ménÄ› než {{count}} minut'\n }\n },\n xMinutes: {\n one: {\n regular: 'minuta',\n past: 'pÅ™ed minutou',\n future: 'za minutu'\n },\n few: {\n regular: '{{count}} minuty',\n past: 'pÅ™ed {{count}} minutami',\n future: 'za {{count}} minuty'\n },\n many: {\n regular: '{{count}} minut',\n past: 'pÅ™ed {{count}} minutami',\n future: 'za {{count}} minut'\n }\n },\n aboutXHours: {\n one: {\n regular: 'pÅ™ibližnÄ› hodina',\n past: 'pÅ™ibližnÄ› pÅ™ed hodinou',\n future: 'pÅ™ibližnÄ› za hodinu'\n },\n few: {\n regular: 'pÅ™ibližnÄ› {{count}} hodiny',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} hodinami',\n future: 'pÅ™ibližnÄ› za {{count}} hodiny'\n },\n many: {\n regular: 'pÅ™ibližnÄ› {{count}} hodin',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} hodinami',\n future: 'pÅ™ibližnÄ› za {{count}} hodin'\n }\n },\n xHours: {\n one: {\n regular: 'hodina',\n past: 'pÅ™ed hodinou',\n future: 'za hodinu'\n },\n few: {\n regular: '{{count}} hodiny',\n past: 'pÅ™ed {{count}} hodinami',\n future: 'za {{count}} hodiny'\n },\n many: {\n regular: '{{count}} hodin',\n past: 'pÅ™ed {{count}} hodinami',\n future: 'za {{count}} hodin'\n }\n },\n xDays: {\n one: {\n regular: 'den',\n past: 'pÅ™ed dnem',\n future: 'za den'\n },\n few: {\n regular: '{{count}} dni',\n past: 'pÅ™ed {{count}} dny',\n future: 'za {{count}} dny'\n },\n many: {\n regular: '{{count}} dnÃ',\n past: 'pÅ™ed {{count}} dny',\n future: 'za {{count}} dnÃ'\n }\n },\n aboutXMonths: {\n one: {\n regular: 'pÅ™ibližnÄ› mÄ›sÃc',\n past: 'pÅ™ibližnÄ› pÅ™ed mÄ›sÃcem',\n future: 'pÅ™ibližnÄ› za mÄ›sÃc'\n },\n few: {\n regular: 'pÅ™ibližnÄ› {{count}} mÄ›sÃce',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} mÄ›sÃci',\n future: 'pÅ™ibližnÄ› za {{count}} mÄ›sÃce'\n },\n many: {\n regular: 'pÅ™ibližnÄ› {{count}} mÄ›sÃců',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} mÄ›sÃci',\n future: 'pÅ™ibližnÄ› za {{count}} mÄ›sÃců'\n }\n },\n xMonths: {\n one: {\n regular: 'mÄ›sÃc',\n past: 'pÅ™ed mÄ›sÃcem',\n future: 'za mÄ›sÃc'\n },\n few: {\n regular: '{{count}} mÄ›sÃce',\n past: 'pÅ™ed {{count}} mÄ›sÃci',\n future: 'za {{count}} mÄ›sÃce'\n },\n many: {\n regular: '{{count}} mÄ›sÃců',\n past: 'pÅ™ed {{count}} mÄ›sÃci',\n future: 'za {{count}} mÄ›sÃců'\n }\n },\n aboutXYears: {\n one: {\n regular: 'pÅ™ibližnÄ› rok',\n past: 'pÅ™ibližnÄ› pÅ™ed rokem',\n future: 'pÅ™ibližnÄ› za rok'\n },\n few: {\n regular: 'pÅ™ibližnÄ› {{count}} roky',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} roky',\n future: 'pÅ™ibližnÄ› za {{count}} roky'\n },\n many: {\n regular: 'pÅ™ibližnÄ› {{count}} roků',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} roky',\n future: 'pÅ™ibližnÄ› za {{count}} roků'\n }\n },\n xYears: {\n one: {\n regular: 'rok',\n past: 'pÅ™ed rokem',\n future: 'za rok'\n },\n few: {\n regular: '{{count}} roky',\n past: 'pÅ™ed {{count}} roky',\n future: 'za {{count}} roky'\n },\n many: {\n regular: '{{count}} roků',\n past: 'pÅ™ed {{count}} roky',\n future: 'za {{count}} roků'\n }\n },\n overXYears: {\n one: {\n regular: 'vÃce než rok',\n past: 'pÅ™ed vÃce než rokem',\n future: 'za vÃce než rok'\n },\n few: {\n regular: 'vÃce než {{count}} roky',\n past: 'pÅ™ed vÃce než {{count}} roky',\n future: 'za vÃce než {{count}} roky'\n },\n many: {\n regular: 'vÃce než {{count}} roků',\n past: 'pÅ™ed vÃce než {{count}} roky',\n future: 'za vÃce než {{count}} roků'\n }\n },\n almostXYears: {\n one: {\n regular: 'skoro rok',\n past: 'skoro pÅ™ed rokem',\n future: 'skoro za rok'\n },\n few: {\n regular: 'skoro {{count}} roky',\n past: 'skoro pÅ™ed {{count}} roky',\n future: 'skoro za {{count}} roky'\n },\n many: {\n regular: 'skoro {{count}} roků',\n past: 'skoro pÅ™ed {{count}} roky',\n future: 'skoro za {{count}} roků'\n }\n }\n};\n\nfunction formatDistance(token, count, options) {\n options = options || {};\n var scheme = formatDistanceLocale[token]; // cs pluralization\n\n var pluralToken;\n\n if (_typeof(scheme.other) === 'object') {\n pluralToken = 'other';\n } else if (count === 1) {\n pluralToken = 'one';\n } else if (count > 1 && count < 5 || count === 0) {\n pluralToken = 'few';\n } else {\n pluralToken = 'many';\n } // times\n\n\n var suffixExist = options.addSuffix === true;\n var comparison = options.comparison;\n var timeToken;\n\n if (suffixExist && comparison === -1) {\n timeToken = 'past';\n } else if (suffixExist && comparison === 1) {\n timeToken = 'future';\n } else {\n timeToken = 'regular';\n }\n\n return scheme[pluralToken][timeToken].replace('{{count}}', count);\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildFormatLongFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar dateFormats = {\n full: 'EEEE, d. MMMM yyyy',\n \"long\": 'd. MMMM yyyy',\n medium: 'd.M.yyyy',\n \"short\": 'd.M.yy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n \"long\": 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n \"short\": 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'v' {{time}}\",\n \"long\": \"{{date}} 'v' {{time}}\",\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: (0, _index[\"default\"])({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: (0, _index[\"default\"])({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: (0, _index[\"default\"])({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nvar _default = formatLong;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatRelative;\nvar accusativeWeekdays = ['nedÄ›li', 'pondÄ›lÃ', 'úterý', 'stÅ™edu', 'Ätvrtek', 'pátek', 'sobotu'];\nvar formatRelativeLocale = {\n lastWeek: \"'poslednÃ' eeee 've' p\",\n yesterday: \"'vÄera v' p\",\n today: \"'dnes v' p\",\n tomorrow: \"'zÃtra v' p\",\n nextWeek: function nextWeek(date, _baseDate, _options) {\n var day = date.getUTCDay();\n return \"'v \" + accusativeWeekdays[day] + \" o' p\";\n },\n other: 'P'\n};\n\nfunction formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildLocalizeFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar eraValues = {\n narrow: ['pÅ™. n. l.', 'n. l.'],\n abbreviated: ['pÅ™. n. l.', 'n. l.'],\n wide: ['pÅ™ed naÅ¡Ãm letopoÄtem', 'naÅ¡eho letopoÄtu']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. ÄtvrtletÃ', '2. ÄtvrtletÃ', '3. ÄtvrtletÃ', '4. ÄtvrtletÃ'],\n wide: ['1. ÄtvrtletÃ', '2. ÄtvrtletÃ', '3. ÄtvrtletÃ', '4. ÄtvrtletÃ']\n};\nvar monthValues = {\n narrow: ['L', 'Ú', 'B', 'D', 'K', 'ÄŒ', 'ÄŒ', 'S', 'Z', 'Ř', 'L', 'P'],\n abbreviated: ['led', 'úno', 'bÅ™e', 'dub', 'kvÄ›', 'Ävn', 'Ävc', 'srp', 'zář', 'Å™Ãj', 'lis', 'pro'],\n wide: ['leden', 'únor', 'bÅ™ezen', 'duben', 'kvÄ›ten', 'Äerven', 'Äervenec', 'srpen', 'zářÃ', 'Å™Ãjen', 'listopad', 'prosinec']\n};\nvar formattingMonthValues = {\n narrow: ['L', 'Ú', 'B', 'D', 'K', 'ÄŒ', 'ÄŒ', 'S', 'Z', 'Ř', 'L', 'P'],\n abbreviated: ['led', 'úno', 'bÅ™e', 'dub', 'kvÄ›', 'Ävn', 'Ävc', 'srp', 'zář', 'Å™Ãj', 'lis', 'pro'],\n wide: ['ledna', 'února', 'bÅ™ezna', 'dubna', 'kvÄ›tna', 'Äervna', 'Äervence', 'srpna', 'zářÃ', 'Å™Ãjna', 'listopadu', 'prosince']\n};\nvar dayValues = {\n narrow: ['ne', 'po', 'út', 'st', 'Ät', 'pá', 'so'],\n \"short\": ['ne', 'po', 'út', 'st', 'Ät', 'pá', 'so'],\n abbreviated: ['ned', 'pon', 'úte', 'stÅ™', 'Ätv', 'pát', 'sob'],\n wide: ['nedÄ›le', 'pondÄ›lÃ', 'úterý', 'stÅ™eda', 'Ätvrtek', 'pátek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n abbreviated: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n wide: {\n am: 'odpoledne',\n pm: 'dopoledne',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n abbreviated: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n wide: {\n am: 'odpoledne',\n pm: 'dopoledne',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n }\n};\n\nfunction ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return number + '.';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: (0, _index[\"default\"])({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: (0, _index[\"default\"])({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: (0, _index[\"default\"])({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: (0, _index[\"default\"])({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: (0, _index[\"default\"])({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nvar _default = localize;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildMatchFn/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"../../../_lib/buildMatchPatternFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p[Å™r]ed Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n abbreviated: /^(pe[Å™r]ed Kr\\.|pe[Å™r]ed n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n wide: /^(p[Å™r]ed Kristem|pred na[Å¡s][Ãi]m letopo[Äc]tem|po Kristu|na[Å¡s]eho letopo[Äc]tu)/i\n};\nvar parseEraPatterns = {\n any: [/^p[Å™r]/i, /^(po|n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\. [Äc]tvrtlet[Ãi]/i,\n wide: /^[1234]\\. [Äc]tvrtlet[Ãi]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[lúubdkÄcszÅ™rlp]/i,\n abbreviated: /^(led|[úu]no|b[Å™r]e|dub|kv[Ä›e]|[Äc]vn|[Äc]vc|srp|z[áa][Å™r]|[Å™r][Ãi]j|lis|pro)/i,\n wide: /^(leden|ledna|[úu]nora?|b[Å™r]ezen|b[Å™r]ezna|duben|dubna|kv[Ä›e]ten|kv[Ä›e]tna|[Äc]erven|[Äc]ervna|[Äc]ervenec|[Äc]ervence|srpen|srpna|z[áa][Å™r][Ãi]|[Å™r][Ãi]jen|[Å™r][Ãi]jna|listopada?|prosinec|prosince)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^l/i, /^[úu]/i, /^b/i, /^d/i, /^k/i, /^[Äc]/i, /^[Äc]/i, /^s/i, /^z/i, /^[Å™r]/i, /^l/i, /^p/i],\n any: [/^led/i, /^[úu]n/i, /^brez/i, /^dub/i, /^kvet/i, /^[Äc]erv/i, /^[Äc]erven/i, /^srp/i, /^z[áa]r/i, /^[Å™r][Ãi]j/i, /^list/i, /^pros/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npuúsÄps]/i,\n \"short\": /^(ne|po|[úu]t|st|[Äc]t|p[áa]|so)/i,\n abbreviated: /^(ne|po|[úu]t|st|[Äc]t|p[áa]|so)/i,\n wide: /^(ned[Ä›e]le|pond[Ä›e]l[Ãi]|[úu]ter[ýy]|st[Å™r]eda|[Äc]tvrtek|p[áa]tek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^[úu]/i, /^s/i, /^[Äc]/i, /^p/i, /^s/i],\n any: [/^ne/i, /^po/i, /^ut/i, /^st/i, /^[Äc]t/i, /^p/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^((dopoledne|odpoledne)|půlnoc|poledne|(r[áa]no|odpoledne|ve[Äc]er|(v )?noci))/i,\n any: /^((dopoledne|odpoledne)|půlnoc|poledne|(r[áa]no|odpoledne|ve[Äc]er|(v )?noci))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^dopoledne/i,\n pm: /^odpoledne/i,\n midnight: /^p[ůu]lnoc/i,\n noon: /^poledne/i,\n morning: /r[áa]no/i,\n afternoon: /odpoledne/i,\n evening: /ve[Äc]er/i,\n night: /noc/i\n }\n};\nvar match = {\n ordinalNumber: (0, _index2[\"default\"])({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: (0, _index[\"default\"])({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: (0, _index[\"default\"])({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: (0, _index[\"default\"])({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: (0, _index[\"default\"])({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: (0, _index[\"default\"])({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nvar _default = match;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatDistance;\n\nfunction declensionGroup(scheme, count) {\n if (count === 1) {\n return scheme.one;\n }\n\n var rem100 = count % 100; // ends with 11-20\n\n if (rem100 <= 20 && rem100 > 10) {\n return scheme.other;\n }\n\n var rem10 = rem100 % 10; // ends with 2, 3, 4\n\n if (rem10 >= 2 && rem10 <= 4) {\n return scheme.twoFour;\n }\n\n return scheme.other;\n}\n\nfunction declension(scheme, count, time) {\n time = time || 'regular';\n var group = declensionGroup(scheme, count);\n var finalText = group[time] || group;\n return finalText.replace('{{count}}', count);\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n regular: 'mniej niż sekunda',\n past: 'mniej niż sekundÄ™',\n future: 'mniej niż sekundÄ™'\n },\n twoFour: 'mniej niż {{count}} sekundy',\n other: 'mniej niż {{count}} sekund'\n },\n xSeconds: {\n one: {\n regular: 'sekunda',\n past: 'sekundÄ™',\n future: 'sekundÄ™'\n },\n twoFour: '{{count}} sekundy',\n other: '{{count}} sekund'\n },\n halfAMinute: {\n one: 'pół minuty',\n twoFour: 'pół minuty',\n other: 'pół minuty'\n },\n lessThanXMinutes: {\n one: {\n regular: 'mniej niż minuta',\n past: 'mniej niż minutÄ™',\n future: 'mniej niż minutÄ™'\n },\n twoFour: 'mniej niż {{count}} minuty',\n other: 'mniej niż {{count}} minut'\n },\n xMinutes: {\n one: {\n regular: 'minuta',\n past: 'minutÄ™',\n future: 'minutÄ™'\n },\n twoFour: '{{count}} minuty',\n other: '{{count}} minut'\n },\n aboutXHours: {\n one: {\n regular: 'okoÅ‚o godzina',\n past: 'okoÅ‚o godziny',\n future: 'okoÅ‚o godzinÄ™'\n },\n twoFour: 'okoÅ‚o {{count}} godziny',\n other: 'okoÅ‚o {{count}} godzin'\n },\n xHours: {\n one: {\n regular: 'godzina',\n past: 'godzinÄ™',\n future: 'godzinÄ™'\n },\n twoFour: '{{count}} godziny',\n other: '{{count}} godzin'\n },\n xDays: {\n one: {\n regular: 'dzieÅ„',\n past: 'dzieÅ„',\n future: '1 dzieÅ„'\n },\n twoFour: '{{count}} dni',\n other: '{{count}} dni'\n },\n aboutXMonths: {\n one: 'okoÅ‚o miesiÄ…c',\n twoFour: 'okoÅ‚o {{count}} miesiÄ…ce',\n other: 'okoÅ‚o {{count}} miesiÄ™cy'\n },\n xMonths: {\n one: 'miesiÄ…c',\n twoFour: '{{count}} miesiÄ…ce',\n other: '{{count}} miesiÄ™cy'\n },\n aboutXYears: {\n one: 'okoÅ‚o rok',\n twoFour: 'okoÅ‚o {{count}} lata',\n other: 'okoÅ‚o {{count}} lat'\n },\n xYears: {\n one: 'rok',\n twoFour: '{{count}} lata',\n other: '{{count}} lat'\n },\n overXYears: {\n one: 'ponad rok',\n twoFour: 'ponad {{count}} lata',\n other: 'ponad {{count}} lat'\n },\n almostXYears: {\n one: 'prawie rok',\n twoFour: 'prawie {{count}} lata',\n other: 'prawie {{count}} lat'\n }\n};\n\nfunction formatDistance(token, count, options) {\n options = options || {};\n var scheme = formatDistanceLocale[token];\n\n if (!options.addSuffix) {\n return declension(scheme, count);\n }\n\n if (options.comparison > 0) {\n return 'za ' + declension(scheme, count, 'future');\n } else {\n return declension(scheme, count, 'past') + ' temu';\n }\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildFormatLongFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n \"long\": 'do MMMM y',\n medium: 'do MMM y',\n \"short\": 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n \"long\": 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n \"short\": 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n \"long\": '{{date}} {{time}}',\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: (0, _index[\"default\"])({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: (0, _index[\"default\"])({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: (0, _index[\"default\"])({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nvar _default = formatLong;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatRelative;\n\nvar _index = _interopRequireDefault(require(\"../../../../_lib/isSameUTCWeek/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar adjectivesLastWeek = {\n masculine: 'ostatni',\n feminine: 'ostatnia'\n};\nvar adjectivesThisWeek = {\n masculine: 'ten',\n feminine: 'ta'\n};\nvar adjectivesNextWeek = {\n masculine: 'nastÄ™pny',\n feminine: 'nastÄ™pna'\n};\nvar dayGrammaticalGender = {\n 0: 'feminine',\n 1: 'masculine',\n 2: 'masculine',\n 3: 'feminine',\n 4: 'masculine',\n 5: 'masculine',\n 6: 'feminine'\n};\n\nfunction getAdjectives(token, date, baseDate, options) {\n if ((0, _index[\"default\"])(date, baseDate, options)) {\n return adjectivesThisWeek;\n } else if (token === 'lastWeek') {\n return adjectivesLastWeek;\n } else if (token === 'nextWeek') {\n return adjectivesNextWeek;\n } else {\n throw new Error(\"Cannot determine adjectives for token \".concat(token));\n }\n}\n\nfunction getAdjective(token, date, baseDate, options) {\n var day = date.getUTCDay();\n var adjectives = getAdjectives(token, date, baseDate, options);\n var grammaticalGender = dayGrammaticalGender[day];\n return adjectives[grammaticalGender];\n}\n\nfunction dayAndTimeWithAdjective(token, date, baseDate, options) {\n var adjective = getAdjective(token, date, baseDate, options);\n return \"'\".concat(adjective, \"' eeee 'o' p\");\n}\n\nvar formatRelativeLocale = {\n lastWeek: dayAndTimeWithAdjective,\n yesterday: \"'wczoraj o' p\",\n today: \"'dzisiaj o' p\",\n tomorrow: \"'jutro o' p\",\n nextWeek: dayAndTimeWithAdjective,\n other: 'P'\n};\n\nfunction formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(token, date, baseDate, options);\n }\n\n return format;\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = startOfUTCWeek;\n\nvar _index = _interopRequireDefault(require(\"../toInteger/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"../../toDate/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n} // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\n\nfunction startOfUTCWeek(dirtyDate, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : (0, _index[\"default\"])(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : (0, _index[\"default\"])(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n var date = (0, _index2[\"default\"])(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = toInteger;\n\nfunction toInteger(dirtyNumber) {\n if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {\n return NaN;\n }\n\n var number = Number(dirtyNumber);\n\n if (isNaN(number)) {\n return number;\n }\n\n return number < 0 ? Math.ceil(number) : Math.floor(number);\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = toDate;\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @param {Date|Number} argument - the value to convert\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\n\nfunction toDate(argument) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var argStr = Object.prototype.toString.call(argument); // Clone the date\n\n if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {\n // Prevent the date to lose the milliseconds when passed to new Date() in IE10\n return new Date(argument.getTime());\n } else if (typeof argument === 'number' || argStr === '[object Number]') {\n return new Date(argument);\n } else {\n if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn(\"Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule\"); // eslint-disable-next-line no-console\n\n console.warn(new Error().stack);\n }\n\n return new Date(NaN);\n }\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildLocalizeFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nfunction ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return String(number);\n}\n\nvar eraValues = {\n narrow: ['p.n.e.', 'n.e.'],\n abbreviated: ['p.n.e.', 'n.e.'],\n wide: ['przed naszÄ… erÄ…', 'naszej ery']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['I kw.', 'II kw.', 'III kw.', 'IV kw.'],\n wide: ['I kwartaÅ‚', 'II kwartaÅ‚', 'III kwartaÅ‚', 'IV kwartaÅ‚']\n};\nvar monthValues = {\n narrow: ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'],\n abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],\n wide: ['styczeÅ„', 'luty', 'marzec', 'kwiecieÅ„', 'maj', 'czerwiec', 'lipiec', 'sierpieÅ„', 'wrzesieÅ„', 'październik', 'listopad', 'grudzieÅ„']\n};\nvar monthFormattingValues = {\n narrow: ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'],\n abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],\n wide: ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'wrzeÅ›nia', 'października', 'listopada', 'grudnia']\n};\nvar dayValues = {\n narrow: ['N', 'P', 'W', 'Åš', 'C', 'P', 'S'],\n \"short\": ['nie', 'pon', 'wto', 'Å›ro', 'czw', 'piÄ…', 'sob'],\n abbreviated: ['niedz.', 'pon.', 'wt.', 'Å›r.', 'czw.', 'pt.', 'sob.'],\n wide: ['niedziela', 'poniedziaÅ‚ek', 'wtorek', 'Å›roda', 'czwartek', 'piÄ…tek', 'sobota']\n};\nvar dayFormattingValues = {\n narrow: ['n', 'p', 'w', 'Å›', 'c', 'p', 's'],\n \"short\": ['nie', 'pon', 'wto', 'Å›ro', 'czw', 'piÄ…', 'sob'],\n abbreviated: ['niedz.', 'pon.', 'wt.', 'Å›r.', 'czw.', 'pt.', 'sob.'],\n wide: ['niedziela', 'poniedziaÅ‚ek', 'wtorek', 'Å›roda', 'czwartek', 'piÄ…tek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'półn.',\n noon: 'poÅ‚',\n morning: 'rano',\n afternoon: 'popoÅ‚.',\n evening: 'wiecz.',\n night: 'noc'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'północ',\n noon: 'poÅ‚udnie',\n morning: 'rano',\n afternoon: 'popoÅ‚udnie',\n evening: 'wieczór',\n night: 'noc'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'północ',\n noon: 'poÅ‚udnie',\n morning: 'rano',\n afternoon: 'popoÅ‚udnie',\n evening: 'wieczór',\n night: 'noc'\n }\n};\nvar dayPeriodFormattingValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'o półn.',\n noon: 'w poÅ‚.',\n morning: 'rano',\n afternoon: 'po poÅ‚.',\n evening: 'wiecz.',\n night: 'w nocy'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o północy',\n noon: 'w poÅ‚udnie',\n morning: 'rano',\n afternoon: 'po poÅ‚udniu',\n evening: 'wieczorem',\n night: 'w nocy'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o północy',\n noon: 'w poÅ‚udnie',\n morning: 'rano',\n afternoon: 'po poÅ‚udniu',\n evening: 'wieczorem',\n night: 'w nocy'\n }\n};\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: (0, _index[\"default\"])({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: (0, _index[\"default\"])({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: (0, _index[\"default\"])({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: monthFormattingValues,\n defaultFormattingWidth: 'wide'\n }),\n day: (0, _index[\"default\"])({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: dayFormattingValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: (0, _index[\"default\"])({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: dayPeriodFormattingValues,\n defaultFormattingWidth: 'wide'\n })\n};\nvar _default = localize;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildMatchPatternFn/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"../../../_lib/buildMatchFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar matchOrdinalNumberPattern = /^(\\d+)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p\\.?\\s*n\\.?\\s*e\\.?\\s*|n\\.?\\s*e\\.?\\s*)/i,\n abbreviated: /^(p\\.?\\s*n\\.?\\s*e\\.?\\s*|n\\.?\\s*e\\.?\\s*)/i,\n wide: /^(przed\\s*nasz(Ä…|a)\\s*er(Ä…|a)|naszej\\s*ery)/i\n};\nvar parseEraPatterns = {\n any: [/^p/i, /^n/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^(I|II|III|IV)\\s*kw\\.?/i,\n wide: /^(I|II|III|IV)\\s*kwarta(Å‚|l)/i\n};\nvar parseQuarterPatterns = {\n narrow: [/1/i, /2/i, /3/i, /4/i],\n any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[slmkcwpg]/i,\n abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,\n wide: /^(stycze(Å„|n)|stycznia|luty|lutego|marzec|marca|kwiecie(Å„|n)|kwietnia|maj|maja|czerwiec|czerwca|lipiec|lipca|sierpie(Å„|n)|sierpnia|wrzesie(Å„|n)|wrze(Å›|s)nia|pa(ź|z)dziernik|pa(ź|z)dziernika|listopad|listopada|grudzie(Å„|n)|grudnia)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^s/i, /^l/i, /^m/i, /^k/i, /^m/i, /^c/i, /^l/i, /^s/i, /^w/i, /^p/i, /^l/i, /^g/i],\n any: [/^st/i, /^lu/i, /^mar/i, /^k/i, /^maj/i, /^c/i, /^lip/i, /^si/i, /^w/i, /^p/i, /^lis/i, /^g/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npwÅ›cs]/i,\n \"short\": /^(nie|pon|wto|(Å›|s)ro|czw|pi(Ä…|a)|sob)/i,\n abbreviated: /^(niedz|pon|wt|(Å›|s)r|czw|pt|sob)\\.?/i,\n wide: /^(niedziela|poniedzia(Å‚|l)ek|wtorek|(Å›|s)roda|czwartek|pi(Ä…|a)tek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^w/i, /^Å›/i, /^c/i, /^p/i, /^s/i],\n abbreviated: [/^n/i, /^po/i, /^w/i, /^(Å›|s)r/i, /^c/i, /^pt/i, /^so/i],\n any: [/^n/i, /^po/i, /^w/i, /^(Å›|s)r/i, /^c/i, /^pi/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(^a$|^p$|pó(Å‚|l)n\\.?|o\\s*pó(Å‚|l)n\\.?|po(Å‚|l)\\.?|w\\s*po(Å‚|l)\\.?|po\\s*po(Å‚|l)\\.?|rano|wiecz\\.?|noc|w\\s*nocy)/i,\n any: /^(am|pm|pó(Å‚|l)noc|o\\s*pó(Å‚|l)nocy|po(Å‚|l)udnie|w\\s*po(Å‚|l)udnie|popo(Å‚|l)udnie|po\\s*po(Å‚|l)udniu|rano|wieczór|wieczorem|noc|w\\s*nocy)/i\n};\nvar parseDayPeriodPatterns = {\n narrow: {\n am: /^a$/i,\n pm: /^p$/i,\n midnight: /pó(Å‚|l)n/i,\n noon: /po(Å‚|l)/i,\n morning: /rano/i,\n afternoon: /po\\s*po(Å‚|l)/i,\n evening: /wiecz/i,\n night: /noc/i\n },\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /pó(Å‚|l)n/i,\n noon: /po(Å‚|l)/i,\n morning: /rano/i,\n afternoon: /po\\s*po(Å‚|l)/i,\n evening: /wiecz/i,\n night: /noc/i\n }\n};\nvar match = {\n ordinalNumber: (0, _index[\"default\"])({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: (0, _index2[\"default\"])({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: (0, _index2[\"default\"])({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: (0, _index2[\"default\"])({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: (0, _index2[\"default\"])({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: (0, _index2[\"default\"])({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nvar _default = match;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatDistance; // NOTE: should prolly be improved\n// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308\n\nfunction declensionGroup(scheme, count) {\n if (count === 1) {\n return scheme.one;\n }\n\n if (count >= 2 && count <= 4) {\n return scheme.twoFour;\n } // if count === null || count === 0 || count >= 5\n\n\n return scheme.other;\n}\n\nfunction declension(scheme, count, time) {\n var group = declensionGroup(scheme, count);\n var finalText = group[time] || group;\n return finalText.replace('{{count}}', count);\n}\n\nfunction extractPreposition(token) {\n var result = ['lessThan', 'about', 'over', 'almost'].filter(function (preposition) {\n return !!token.match(new RegExp('^' + preposition));\n });\n return result[0];\n}\n\nfunction prefixPreposition(preposition) {\n var translation = '';\n\n if (preposition === 'almost') {\n translation = 'takmer';\n }\n\n if (preposition === 'about') {\n translation = 'približne';\n }\n\n return translation.length > 0 ? translation + ' ' : '';\n}\n\nfunction suffixPreposition(preposition) {\n var translation = '';\n\n if (preposition === 'lessThan') {\n translation = 'menej než';\n }\n\n if (preposition === 'over') {\n translation = 'viac než';\n }\n\n return translation.length > 0 ? translation + ' ' : '';\n}\n\nfunction lowercaseFirstLetter(string) {\n return string.charAt(0).toLowerCase() + string.slice(1);\n}\n\nvar formatDistanceLocale = {\n xSeconds: {\n one: {\n regular: 'sekunda',\n past: 'sekundou',\n future: 'sekundu'\n },\n twoFour: {\n regular: '{{count}} sekundy',\n past: '{{count}} sekundami',\n future: '{{count}} sekundy'\n },\n other: {\n regular: '{{count}} sekúnd',\n past: '{{count}} sekundami',\n future: '{{count}} sekúnd'\n }\n },\n halfAMinute: {\n other: {\n regular: 'pol minúty',\n past: 'pol minútou',\n future: 'pol minúty'\n }\n },\n xMinutes: {\n one: {\n regular: 'minúta',\n past: 'minútou',\n future: 'minútu'\n },\n twoFour: {\n regular: '{{count}} minúty',\n past: '{{count}} minútami',\n future: '{{count}} minúty'\n },\n other: {\n regular: '{{count}} minút',\n past: '{{count}} minútami',\n future: '{{count}} minút'\n }\n },\n xHours: {\n one: {\n regular: 'hodina',\n past: 'hodinou',\n future: 'hodinu'\n },\n twoFour: {\n regular: '{{count}} hodiny',\n past: '{{count}} hodinami',\n future: '{{count}} hodiny'\n },\n other: {\n regular: '{{count}} hodÃn',\n past: '{{count}} hodinami',\n future: '{{count}} hodÃn'\n }\n },\n xDays: {\n one: {\n regular: 'deň',\n past: 'dňom',\n future: 'deň'\n },\n twoFour: {\n regular: '{{count}} dni',\n past: '{{count}} dňami',\n future: '{{count}} dni'\n },\n other: {\n regular: '{{count}} dnÃ',\n past: '{{count}} dňami',\n future: '{{count}} dnÃ'\n }\n },\n xMonths: {\n one: {\n regular: 'mesiac',\n past: 'mesiacom',\n future: 'mesiac'\n },\n twoFour: {\n regular: '{{count}} mesiace',\n past: '{{count}} mesiacmi',\n future: '{{count}} mesiace'\n },\n other: {\n regular: '{{count}} mesiacov',\n past: '{{count}} mesiacmi',\n future: '{{count}} mesiacov'\n }\n },\n xYears: {\n one: {\n regular: 'rok',\n past: 'rokom',\n future: 'rok'\n },\n twoFour: {\n regular: '{{count}} roky',\n past: '{{count}} rokmi',\n future: '{{count}} roky'\n },\n other: {\n regular: '{{count}} rokov',\n past: '{{count}} rokmi',\n future: '{{count}} rokov'\n }\n }\n};\n\nfunction formatDistance(token, count, options) {\n options = options || {};\n var preposition = extractPreposition(token) || '';\n var key = lowercaseFirstLetter(token.substring(preposition.length));\n var scheme = formatDistanceLocale[key];\n\n if (!options.addSuffix) {\n return prefixPreposition(preposition) + suffixPreposition(preposition) + declension(scheme, count, 'regular');\n }\n\n if (options.comparison > 0) {\n return prefixPreposition(preposition) + 'o ' + suffixPreposition(preposition) + declension(scheme, count, 'future');\n } else {\n return prefixPreposition(preposition) + 'pred ' + suffixPreposition(preposition) + declension(scheme, count, 'past');\n }\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildFormatLongFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n} // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986\n\n\nvar dateFormats = {\n full: 'EEEE d. MMMM y',\n \"long\": 'd. MMMM y',\n medium: 'd. M. y',\n \"short\": 'd. M. y' // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149\n\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n \"long\": 'H:mm:ss z',\n medium: 'H:mm:ss',\n \"short\": 'H:mm' // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994\n\n};\nvar dateTimeFormats = {\n full: '{{date}}, {{time}}',\n \"long\": '{{date}}, {{time}}',\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}} {{time}}'\n};\nvar formatLong = {\n date: (0, _index[\"default\"])({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: (0, _index[\"default\"])({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: (0, _index[\"default\"])({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nvar _default = formatLong;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = formatRelative;\n\nvar _index = _interopRequireDefault(require(\"../../../../_lib/isSameUTCWeek/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n} // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308\n\n\nvar accusativeWeekdays = ['nedeľu', 'pondelok', 'utorok', 'stredu', 'Å¡tvrtok', 'piatok', 'sobotu'];\n\nfunction _lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n /* Sun */\n\n case 4:\n /* Wed */\n\n case 6\n /* Sat */\n :\n return \"'minulú \" + weekday + \" o' p\";\n\n default:\n return \"'minulý' eeee 'o' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n if (day === 4\n /* Thu */\n ) {\n return \"'vo' eeee 'o' p\";\n } else {\n return \"'v \" + weekday + \" o' p\";\n }\n}\n\nfunction _nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n /* Sun */\n\n case 4:\n /* Wed */\n\n case 6\n /* Sat */\n :\n return \"'budúcu' \" + weekday + \" 'o' p\";\n\n default:\n return \"'budúci' eeee 'o' p\";\n }\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if ((0, _index[\"default\"])(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'vÄera o' p\",\n today: \"'dnes o' p\",\n tomorrow: \"'zajtra o' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if ((0, _index[\"default\"])(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\n\nfunction formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n}\n\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildLocalizeFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n} // https://www.unicode.org/cldr/charts/32/summary/sk.html#1772\n\n\nvar eraValues = {\n narrow: ['pred Kr.', 'po Kr.'],\n abbreviated: ['pred Kr.', 'po Kr.'],\n wide: ['pred Kristom', 'po Kristovi'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1780\n\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. Å¡tvrÅ¥rok', '2. Å¡tvrÅ¥rok', '3. Å¡tvrÅ¥rok', '4. Å¡tvrÅ¥rok'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1804\n\n};\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],\n wide: ['január', 'február', 'marec', 'aprÃl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december']\n};\nvar formattingMonthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januára', 'februára', 'marca', 'aprÃla', 'mája', 'júna', 'júla', 'augusta', 'septembra', 'októbra', 'novembra', 'decembra'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1876\n\n};\nvar dayValues = {\n narrow: ['n', 'p', 'u', 's', 'Å¡', 'p', 's'],\n \"short\": ['ne', 'po', 'ut', 'st', 'Å¡t', 'pi', 'so'],\n abbreviated: ['ne', 'po', 'ut', 'st', 'Å¡t', 'pi', 'so'],\n wide: ['nedeľa', 'pondelok', 'utorok', 'streda', 'Å¡tvrtok', 'piatok', 'sobota'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1932\n\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'poln.',\n noon: 'pol.',\n morning: 'ráno',\n afternoon: 'pop.',\n evening: 'veÄ.',\n night: 'noc'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'poln.',\n noon: 'pol.',\n morning: 'ráno',\n afternoon: 'popol.',\n evening: 'veÄer',\n night: 'noc'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'polnoc',\n noon: 'poludnie',\n morning: 'ráno',\n afternoon: 'popoludnie',\n evening: 'veÄer',\n night: 'noc'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o poln.',\n noon: 'nap.',\n morning: 'ráno',\n afternoon: 'pop.',\n evening: 'veÄ.',\n night: 'v n.'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o poln.',\n noon: 'napol.',\n morning: 'ráno',\n afternoon: 'popol.',\n evening: 'veÄer',\n night: 'v noci'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o polnoci',\n noon: 'napoludnie',\n morning: 'ráno',\n afternoon: 'popoludnÃ',\n evening: 'veÄer',\n night: 'v noci'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber);\n return number + '.';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: (0, _index[\"default\"])({\n values: eraValues // defaultWidth: 'wide'\n\n }),\n quarter: (0, _index[\"default\"])({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: (0, _index[\"default\"])({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: (0, _index[\"default\"])({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: (0, _index[\"default\"])({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nvar _default = localize;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _index = _interopRequireDefault(require(\"../../../_lib/buildMatchPatternFn/index.js\"));\n\nvar _index2 = _interopRequireDefault(require(\"../../../_lib/buildMatchFn/index.js\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(pred Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n abbreviated: /^(pred Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n wide: /^(pred Kristom|pred na[Å¡s][Ãi]m letopo[Äc]tom|po Kristovi|n[áa][Å¡s]ho letopo[Äc]tu)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]\\. [Å¡s]tvr[Å¥t]rok/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,\n wide: /^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[Ãi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^m[áa]j/i, /^j[úu]n/i, /^j[úu]l/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npusÅ¡p]/i,\n \"short\": /^(ne|po|ut|st|Å¡t|pi|so)/i,\n abbreviated: /^(ne|po|ut|st|Å¡t|pi|so)/i,\n wide: /^(nede[ľl]a|pondelok|utorok|streda|[Å¡s]tvrtok|piatok|sobota])/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^u/i, /^s/i, /^Å¡/i, /^p/i, /^s/i],\n any: [/^n/i, /^po/i, /^u/i, /^st/i, /^(Å¡t|stv)/i, /^pi/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(am|pm|(o )?poln\\.?|(nap\\.?|pol\\.?)|r[áa]no|pop\\.?|ve[Äc]\\.?|(v n\\.?|noc))/i,\n abbreviated: /^(am|pm|(o )?poln\\.?|(napol\\.?|pol\\.?)|r[áa]no|pop\\.?|ve[Äc]er|(v )?noci?)/i,\n any: /^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|Ã|i)|ve[Äc]er|(v )?noci?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /poln/i,\n noon: /^(nap|(na)?pol(\\.|u))/i,\n morning: /^r[áa]no/i,\n afternoon: /^pop/i,\n evening: /^ve[Äc]/i,\n night: /^(noc|v n\\.)/i\n }\n};\nvar match = {\n ordinalNumber: (0, _index[\"default\"])({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: (0, _index2[\"default\"])({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: (0, _index2[\"default\"])({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: (0, _index2[\"default\"])({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: (0, _index2[\"default\"])({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: (0, _index2[\"default\"])({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nvar _default = match;\nexports[\"default\"] = _default;\nmodule.exports = exports[\"default\"];","// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n } // if the path is allowed to go above the root, restore leading ..s\n\n\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n} // path.resolve([from ...], to)\n// posix version\n\n\nexports.resolve = function () {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = i >= 0 ? arguments[i] : process.cwd(); // Skip empty and invalid entries\n\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n } // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n // Normalize the path\n\n\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function (p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n return (resolvedAbsolute ? '/' : '') + resolvedPath || '.';\n}; // path.normalize(path)\n// posix version\n\n\nexports.normalize = function (path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/'; // Normalize the path\n\n path = normalizeArray(filter(path.split('/'), function (p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n}; // posix version\n\n\nexports.isAbsolute = function (path) {\n return path.charAt(0) === '/';\n}; // posix version\n\n\nexports.join = function () {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function (p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n\n return p;\n }).join('/'));\n}; // path.relative(from, to)\n// posix version\n\n\nexports.relative = function (from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47\n /*/*/\n ;\n var end = -1;\n var matchedSlash = true;\n\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n\n if (code === 47\n /*/*/\n ) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47\n /*/*/\n ) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n} // Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\n\n\nexports.basename = function (path, ext) {\n var f = basename(path);\n\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true; // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n\n var preDotState = 0;\n\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n\n if (code === 47\n /*/*/\n ) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n\n continue;\n }\n\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n\n if (code === 46\n /*.*/\n ) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot\n preDotState === 0 || // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n\n return path.slice(startDot, end);\n};\n\nfunction filter(xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n\n return res;\n} // String.prototype.substr - negative index don't work in IE8\n\n\nvar substr = 'ab'.substr(-1) === 'b' ? function (str, start, len) {\n return str.substr(start, len);\n} : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n};","/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer');\n\nvar Buffer = buffer.Buffer; // alternative to using Object.keys for old browsers\n\nfunction copyProps(src, dst) {\n for (var key in src) {\n dst[key] = src[key];\n }\n}\n\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer;\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports);\n exports.Buffer = SafeBuffer;\n}\n\nfunction SafeBuffer(arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length);\n} // Copy static methods from Buffer\n\n\ncopyProps(Buffer, SafeBuffer);\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number');\n }\n\n return Buffer(arg, encodingOrOffset, length);\n};\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number');\n }\n\n var buf = Buffer(size);\n\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding);\n } else {\n buf.fill(fill);\n }\n } else {\n buf.fill(0);\n }\n\n return buf;\n};\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number');\n }\n\n return Buffer(size);\n};\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number');\n }\n\n return buffer.SlowBuffer(size);\n};","var rng = require('./lib/rng');\n\nvar bytesToUuid = require('./lib/bytesToUuid'); // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\n\nvar _nodeId;\n\nvar _clockseq; // Previous uuid creation time\n\n\nvar _lastMSecs = 0;\nvar _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;","var rng = require('./lib/rng');\n\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof options == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n\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 for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;","var camelCase = require('lodash.camelcase');\n\nfunction snakeCase(str) {\n var camel = camelCase(str);\n var snake = camel.replace(/[A-Z]/g, function (match) {\n return \"_\".concat(match.toLowerCase());\n });\n return snake;\n}\n\nmodule.exports = {\n snakeCase: snakeCase\n};","var map = {\n\t\"./admin/posthog/FeatureFlags.vue\": [\n\t\t273,\n\t\t215\n\t],\n\t\"./admin/stats/components/GraphBillapp.vue\": [\n\t\t824,\n\t\t0,\n\t\t216\n\t],\n\t\"./admin/stats/components/GraphComponent.vue\": [\n\t\t766,\n\t\t0,\n\t\t245\n\t],\n\t\"./admin/stats/components/GraphDeliveryNotes.vue\": [\n\t\t825,\n\t\t0,\n\t\t289\n\t],\n\t\"./admin/stats/components/GraphEet.vue\": [\n\t\t826,\n\t\t0,\n\t\t293\n\t],\n\t\"./admin/stats/components/GraphIncomeDocuments.vue\": [\n\t\t827,\n\t\t0,\n\t\t298\n\t],\n\t\"./admin/stats/components/GraphInvoiceStates.vue\": [\n\t\t828,\n\t\t0,\n\t\t303\n\t],\n\t\"./admin/stats/components/GraphTrials.vue\": [\n\t\t833,\n\t\t0,\n\t\t308\n\t],\n\t\"./admin/stats/components/GraphsActiveUsers.vue\": [\n\t\t829,\n\t\t0,\n\t\t310\n\t],\n\t\"./admin/stats/components/GraphsChurnRate.vue\": [\n\t\t834,\n\t\t0,\n\t\t315\n\t],\n\t\"./admin/stats/components/GraphsInvoice.vue\": [\n\t\t830,\n\t\t0,\n\t\t217\n\t],\n\t\"./admin/stats/components/GraphsInvoiceAmount.vue\": [\n\t\t831,\n\t\t0,\n\t\t221\n\t],\n\t\"./admin/stats/components/GraphsPaymentTarifs.vue\": [\n\t\t838,\n\t\t0,\n\t\t224\n\t],\n\t\"./admin/stats/components/GraphsPaymentTarifsCount.vue\": [\n\t\t836,\n\t\t0,\n\t\t225\n\t],\n\t\"./admin/stats/components/GraphsPayments.vue\": [\n\t\t837,\n\t\t0,\n\t\t227\n\t],\n\t\"./admin/stats/components/GraphsPaymentsCount.vue\": [\n\t\t835,\n\t\t0,\n\t\t228\n\t],\n\t\"./admin/stats/components/GraphsUsers.vue\": [\n\t\t832,\n\t\t0,\n\t\t230\n\t],\n\t\"./admin/stats/components/LangSwitch.vue\": [\n\t\t847,\n\t\t137\n\t],\n\t\"./admin/stats/components/Overview.vue\": [\n\t\t814,\n\t\t234\n\t],\n\t\"./admin/stats/components/Page.vue\": [\n\t\t274,\n\t\t242\n\t],\n\t\"./billapp/App.vue\": [\n\t\t846,\n\t\t147\n\t],\n\t\"./billapp/BillAppLogin.vue\": [\n\t\t848,\n\t\t150\n\t],\n\t\"./billapp/FoLogin.vue\": [\n\t\t849,\n\t\t152\n\t],\n\t\"./billapp/Intro.vue\": [\n\t\t850,\n\t\t158\n\t],\n\t\"./billapp/MigrationComplete.vue\": [\n\t\t851,\n\t\t161\n\t],\n\t\"./billapp/MigrationConfirm.vue\": [\n\t\t852,\n\t\t162\n\t],\n\t\"./billapp/MigrationProcess.vue\": [\n\t\t853,\n\t\t163\n\t],\n\t\"./components/Card.vue\": [\n\t\t854,\n\t\t63\n\t],\n\t\"./components/Common/Breadcrumbs.vue\": [\n\t\t855,\n\t\t164\n\t],\n\t\"./components/Common/Counter.vue\": [\n\t\t856,\n\t\t71\n\t],\n\t\"./components/Common/CountryField.vue\": [\n\t\t568,\n\t\t78,\n\t\t291\n\t],\n\t\"./components/Common/CountryField/CountrySelect.vue\": [\n\t\t797,\n\t\t78\n\t],\n\t\"./components/Common/CountryField/CountrySubdivisionSelect.vue\": [\n\t\t789,\n\t\t290\n\t],\n\t\"./components/Common/CreateContactDialog.vue\": [\n\t\t857,\n\t\t165\n\t],\n\t\"./components/Common/CropUpload.vue\": [\n\t\t858,\n\t\t196,\n\t\t166\n\t],\n\t\"./components/Common/PayCheckbox.vue\": [\n\t\t859,\n\t\t167\n\t],\n\t\"./components/Common/SequencePopover.vue\": [\n\t\t772,\n\t\t292\n\t],\n\t\"./components/Common/StateLabel.vue\": [\n\t\t860,\n\t\t5\n\t],\n\t\"./components/Common/UploadAttachment.vue\": [\n\t\t861,\n\t\t84\n\t],\n\t\"./components/Contacts/ActionButton.vue\": [\n\t\t862,\n\t\t168\n\t],\n\t\"./components/Contacts/ActionButtonMobile.vue\": [\n\t\t863,\n\t\t169\n\t],\n\t\"./components/Contacts/CompanyNumber.vue\": [\n\t\t864,\n\t\t170\n\t],\n\t\"./components/Contacts/ContactNew.vue\": [\n\t\t865,\n\t\t294\n\t],\n\t\"./components/Contacts/ContactShow.vue\": [\n\t\t866,\n\t\t295\n\t],\n\t\"./components/Contacts/ContactsList.vue\": [\n\t\t867,\n\t\t296\n\t],\n\t\"./components/Contacts/ContactsTable.vue\": [\n\t\t868,\n\t\t171\n\t],\n\t\"./components/Contacts/ResourceForm.vue\": [\n\t\t869,\n\t\t29\n\t],\n\t\"./components/Contacts/Search.vue\": [\n\t\t870,\n\t\t172\n\t],\n\t\"./components/CtaArea.vue\": [\n\t\t871,\n\t\t16\n\t],\n\t\"./components/CtaBox.vue\": [\n\t\t872,\n\t\t297\n\t],\n\t\"./components/CtaBoxFloating.vue\": [\n\t\t873,\n\t\t173\n\t],\n\t\"./components/CtaBoxMini.vue\": [\n\t\t874,\n\t\t85\n\t],\n\t\"./components/CustomElement/upload-list.vue\": [\n\t\t798,\n\t\t299\n\t],\n\t\"./components/Dashboard/AppUpdates.vue\": [\n\t\t875,\n\t\t174\n\t],\n\t\"./components/Dashboard/Report.vue\": [\n\t\t815,\n\t\t300\n\t],\n\t\"./components/Dashboard/ReportItem.vue\": [\n\t\t876,\n\t\t175\n\t],\n\t\"./components/Dashboard/StatsGraph.vue\": [\n\t\t816,\n\t\t0,\n\t\t301\n\t],\n\t\"./components/Dashboard/TarifInfoBox.vue\": [\n\t\t877,\n\t\t176\n\t],\n\t\"./components/DisabledOverview.vue\": [\n\t\t878,\n\t\t30\n\t],\n\t\"./components/EmailEditor/Editor.vue\": [\n\t\t799,\n\t\t302\n\t],\n\t\"./components/EmailEditor/TagCloud.vue\": [\n\t\t790,\n\t\t304\n\t],\n\t\"./components/Expenses/ActionButton.vue\": [\n\t\t879,\n\t\t177\n\t],\n\t\"./components/Expenses/ActionButtonMobile.vue\": [\n\t\t880,\n\t\t178\n\t],\n\t\"./components/Expenses/BatchActions.vue\": [\n\t\t881,\n\t\t179\n\t],\n\t\"./components/Expenses/ExpenseClone.vue\": [\n\t\t882,\n\t\t305\n\t],\n\t\"./components/Expenses/ExpenseNew.vue\": [\n\t\t883,\n\t\t306\n\t],\n\t\"./components/Expenses/ExpenseShow.vue\": [\n\t\t884,\n\t\t307\n\t],\n\t\"./components/Expenses/ExpensesFilter.vue\": [\n\t\t885,\n\t\t8,\n\t\t180\n\t],\n\t\"./components/Expenses/ExpensesList.vue\": [\n\t\t886,\n\t\t181\n\t],\n\t\"./components/Expenses/ExpensesTable.vue\": [\n\t\t887,\n\t\t182\n\t],\n\t\"./components/Expenses/ResourceForm.vue\": [\n\t\t888,\n\t\t31\n\t],\n\t\"./components/Expenses/Search.vue\": [\n\t\t889,\n\t\t183\n\t],\n\t\"./components/Filter/Filter.vue\": [\n\t\t817,\n\t\t8\n\t],\n\t\"./components/Filter/FilterSelection.vue\": [\n\t\t890,\n\t\t184\n\t],\n\t\"./components/Graph.vue\": [\n\t\t891,\n\t\t0,\n\t\t86\n\t],\n\t\"./components/HpBlogposts.vue\": [\n\t\t813,\n\t\t87\n\t],\n\t\"./components/InfoBox.vue\": [\n\t\t892,\n\t\t88\n\t],\n\t\"./components/InfoPanel.vue\": [\n\t\t893,\n\t\t6\n\t],\n\t\"./components/InvoiceDetail/DownloadDropdown.vue\": [\n\t\t894,\n\t\t185\n\t],\n\t\"./components/InvoiceDetail/InvoiceDetail.vue\": [\n\t\t895,\n\t\t309\n\t],\n\t\"./components/InvoiceDetail/InvoiceLogs.vue\": [\n\t\t818,\n\t\t311\n\t],\n\t\"./components/InvoiceForm/InvoiceForm.vue\": [\n\t\t896,\n\t\t2,\n\t\t1,\n\t\t198,\n\t\t197,\n\t\t312\n\t],\n\t\"./components/InvoiceForm/inputs/ColorSelect.vue\": [\n\t\t807,\n\t\t186\n\t],\n\t\"./components/InvoiceForm/inputs/CompanyNumber.vue\": [\n\t\t897,\n\t\t89\n\t],\n\t\"./components/InvoiceForm/inputs/CurrencySelect.vue\": [\n\t\t808,\n\t\t313\n\t],\n\t\"./components/InvoiceForm/inputs/EmailSelect.vue\": [\n\t\t898,\n\t\t187\n\t],\n\t\"./components/InvoiceForm/inputs/IbanInput.vue\": [\n\t\t819,\n\t\t314\n\t],\n\t\"./components/InvoiceForm/inputs/LineDescriptionAutocomplete.vue\": [\n\t\t899,\n\t\t90\n\t],\n\t\"./components/InvoiceForm/inputs/TelInput.vue\": [\n\t\t900,\n\t\t3,\n\t\t32\n\t],\n\t\"./components/InvoiceForm/inputs/UploadFile.vue\": [\n\t\t791,\n\t\t188\n\t],\n\t\"./components/InvoiceForm/sections/ActionButtons.vue\": [\n\t\t767,\n\t\t2,\n\t\t316\n\t],\n\t\"./components/InvoiceForm/sections/BasicSettings.vue\": [\n\t\t800,\n\t\t317\n\t],\n\t\"./components/InvoiceForm/sections/GeneralSettings.vue\": [\n\t\t801,\n\t\t318\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceAppearance.vue\": [\n\t\t901,\n\t\t189\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceBankAccount.vue\": [\n\t\t902,\n\t\t190\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceBuyer.vue\": [\n\t\t802,\n\t\t319\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceItems.vue\": [\n\t\t803,\n\t\t1,\n\t\t320\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceItemsHeader.vue\": [\n\t\t903,\n\t\t191\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceLine.vue\": [\n\t\t904,\n\t\t12,\n\t\t192\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceNotes.vue\": [\n\t\t804,\n\t\t321\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceSeller.vue\": [\n\t\t805,\n\t\t218\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceSettings.vue\": [\n\t\t905,\n\t\t94\n\t],\n\t\"./components/InvoiceForm/sections/InvoiceSummary.vue\": [\n\t\t806,\n\t\t219\n\t],\n\t\"./components/InvoiceForm/sections/RecurringSettings.vue\": [\n\t\t768,\n\t\t220\n\t],\n\t\"./components/InvoiceForm/sections/SavedLinesDialog.vue\": [\n\t\t906,\n\t\t19,\n\t\t34\n\t],\n\t\"./components/InvoiceForm/sections/discount/DiscountDialog.vue\": [\n\t\t907,\n\t\t18\n\t],\n\t\"./components/InvoiceForm/sections/discount/InvoiceDiscountLine.vue\": [\n\t\t810,\n\t\t9\n\t],\n\t\"./components/Invoices/InvoicesList.vue\": [\n\t\t908,\n\t\t35\n\t],\n\t\"./components/InvoicesTable/ActionButton.vue\": [\n\t\t909,\n\t\t95\n\t],\n\t\"./components/InvoicesTable/ActionButtonMobile.vue\": [\n\t\t910,\n\t\t96\n\t],\n\t\"./components/InvoicesTable/BatchActions.vue\": [\n\t\t811,\n\t\t222\n\t],\n\t\"./components/InvoicesTable/Search.vue\": [\n\t\t911,\n\t\t36\n\t],\n\t\"./components/Logs/Logs.vue\": [\n\t\t786,\n\t\t223\n\t],\n\t\"./components/MoneyInput.vue\": [\n\t\t912,\n\t\t97\n\t],\n\t\"./components/NewLoginRegister/Footer.vue\": [\n\t\t913,\n\t\t98\n\t],\n\t\"./components/NewLoginRegister/Header.vue\": [\n\t\t914,\n\t\t99\n\t],\n\t\"./components/NewLoginRegister/Login.vue\": [\n\t\t915,\n\t\t100\n\t],\n\t\"./components/NewLoginRegister/LoginV2.vue\": [\n\t\t916,\n\t\t101\n\t],\n\t\"./components/NewLoginRegister/Register.vue\": [\n\t\t917,\n\t\t102\n\t],\n\t\"./components/NewLoginRegister/RegisterV2.vue\": [\n\t\t918,\n\t\t103\n\t],\n\t\"./components/NewLoginRegister/SectionHeader.vue\": [\n\t\t919,\n\t\t37\n\t],\n\t\"./components/PremiumDialog/TarifExpired.vue\": [\n\t\t792,\n\t\t104\n\t],\n\t\"./components/PremiumDialog/TrialExpired.vue\": [\n\t\t920,\n\t\t105\n\t],\n\t\"./components/PremiumDialog/UpgradeToPremium.vue\": [\n\t\t921,\n\t\t106\n\t],\n\t\"./components/PriceList/PriceList.vue\": [\n\t\t922,\n\t\t107\n\t],\n\t\"./components/PriceList/PriceListDelimiter.vue\": [\n\t\t923,\n\t\t108\n\t],\n\t\"./components/PriceList/PriceListNew.vue\": [\n\t\t924,\n\t\t109\n\t],\n\t\"./components/PriceRangeInput.vue\": [\n\t\t925,\n\t\t110\n\t],\n\t\"./components/Profession/InvoiceItems.vue\": [\n\t\t926,\n\t\t1,\n\t\t111\n\t],\n\t\"./components/Reports/DownloadButton.vue\": [\n\t\t927,\n\t\t112\n\t],\n\t\"./components/Reports/Report.vue\": [\n\t\t928,\n\t\t113\n\t],\n\t\"./components/ResetPassword/Instructions.vue\": [\n\t\t929,\n\t\t114\n\t],\n\t\"./components/ResetPassword/RequestPasswordForm.vue\": [\n\t\t930,\n\t\t115\n\t],\n\t\"./components/ResetPassword/ResetPasswordForm.vue\": [\n\t\t931,\n\t\t116\n\t],\n\t\"./components/SavedLines/ActionButton.vue\": [\n\t\t932,\n\t\t117\n\t],\n\t\"./components/SavedLines/List.vue\": [\n\t\t809,\n\t\t19\n\t],\n\t\"./components/SavedLines/Mobile/MobileInputSelect.vue\": [\n\t\t933,\n\t\t118\n\t],\n\t\"./components/SettingsForms/BillingInformation/CompanyNumber.vue\": [\n\t\t820,\n\t\t226\n\t],\n\t\"./components/SettingsForms/BillingInformation/Form.vue\": [\n\t\t934,\n\t\t119\n\t],\n\t\"./components/SettingsForms/BillingInformation/Message.vue\": [\n\t\t935,\n\t\t120\n\t],\n\t\"./components/SettingsForms/EmailForm.vue\": [\n\t\t839,\n\t\t121\n\t],\n\t\"./components/SettingsForms/GlobalSettingsForm.vue\": [\n\t\t936,\n\t\t122\n\t],\n\t\"./components/SettingsForms/PasswordForm.vue\": [\n\t\t937,\n\t\t123\n\t],\n\t\"./components/SettingsForms/SequencesForm.vue\": [\n\t\t840,\n\t\t124\n\t],\n\t\"./components/SettingsForms/Users/List.vue\": [\n\t\t938,\n\t\t125\n\t],\n\t\"./components/SettingsForms/Users/ResourceForm.vue\": [\n\t\t939,\n\t\t126\n\t],\n\t\"./components/SettingsForms/Users/UserFormDialog.vue\": [\n\t\t940,\n\t\t127\n\t],\n\t\"./components/Table/ColumnsDropdown.vue\": [\n\t\t941,\n\t\t20\n\t],\n\t\"./components/Table/CustomPagination.vue\": [\n\t\t942,\n\t\t10\n\t],\n\t\"./components/Table/EmptyContainer.vue\": [\n\t\t943,\n\t\t38\n\t],\n\t\"./components/Table/TableContainer.vue\": [\n\t\t944,\n\t\t11\n\t],\n\t\"./components/Table/TableLoader.vue\": [\n\t\t945,\n\t\t21\n\t],\n\t\"./components/dialogs/AppUpdatesDialog.vue\": [\n\t\t946,\n\t\t194,\n\t\t128\n\t],\n\t\"./components/dialogs/DownloadDialog.vue\": [\n\t\t947,\n\t\t129\n\t],\n\t\"./components/dialogs/InvoiceEetDialog.vue\": [\n\t\t948,\n\t\t229\n\t],\n\t\"./components/dialogs/LoginRegisterDialog.vue\": [\n\t\t949,\n\t\t130\n\t],\n\t\"./components/dialogs/OrderDialog.vue\": [\n\t\t845,\n\t\t131\n\t],\n\t\"./components/dialogs/SettingsDialog.vue\": [\n\t\t950,\n\t\t132\n\t],\n\t\"./components/dialogs/SubmitInvoiceDialog.vue\": [\n\t\t770,\n\t\t39\n\t],\n\t\"./components/dialogs/TemplatesPDF.vue\": [\n\t\t951,\n\t\t22\n\t],\n\t\"./components/dialogs/ThankYouDialog.vue\": [\n\t\t952,\n\t\t133\n\t],\n\t\"./components/dialogs/UpgradeToPremiumDialog.vue\": [\n\t\t953,\n\t\t134\n\t],\n\t\"./components/dialogs/WordExcelDialog.vue\": [\n\t\t954,\n\t\t40\n\t],\n\t\"./components/order/CancelOrderButton.vue\": [\n\t\t955,\n\t\t41\n\t],\n\t\"./components/order/CardTariffLoader.vue\": [\n\t\t956,\n\t\t42\n\t],\n\t\"./components/order/CardTariffMini.vue\": [\n\t\t957,\n\t\t43\n\t],\n\t\"./components/order/CardTariffPremium.vue\": [\n\t\t958,\n\t\t44\n\t],\n\t\"./components/order/OrdersMobile.vue\": [\n\t\t959,\n\t\t135\n\t],\n\t\"./components/order/OrdersTable.vue\": [\n\t\t960,\n\t\t136\n\t],\n\t\"./components/order/PaymentOrDocumentLink.vue\": [\n\t\t961,\n\t\t45\n\t],\n\t\"./components/order/SideBox.vue\": [\n\t\t962,\n\t\t46\n\t],\n\t\"./components/order/TariffPaymentMethods.vue\": [\n\t\t963,\n\t\t47\n\t],\n\t\"./components/order/TariffPrice.vue\": [\n\t\t964,\n\t\t48\n\t],\n\t\"./components/order/TariffSubmitButton.vue\": [\n\t\t965,\n\t\t49\n\t],\n\t\"./components/order/TariffTryButton.vue\": [\n\t\t966,\n\t\t50\n\t],\n\t\"./components/v2/InvoiceForm/InvoiceForm.vue\": [\n\t\t787,\n\t\t2,\n\t\t1,\n\t\t33,\n\t\t17,\n\t\t231\n\t],\n\t\"./components/v2/InvoiceForm/inputs/CompanyNumber.vue\": [\n\t\t967,\n\t\t51\n\t],\n\t\"./components/v2/InvoiceForm/inputs/CurrencySelect.vue\": [\n\t\t769,\n\t\t232\n\t],\n\t\"./components/v2/InvoiceForm/inputs/TelInput.vue\": [\n\t\t968,\n\t\t3,\n\t\t23\n\t],\n\t\"./components/v2/InvoiceForm/sections/ActionButtons.vue\": [\n\t\t774,\n\t\t2,\n\t\t233\n\t],\n\t\"./components/v2/InvoiceForm/sections/BasicSettings.vue\": [\n\t\t793,\n\t\t17,\n\t\t235\n\t],\n\t\"./components/v2/InvoiceForm/sections/GeneralSettings.vue\": [\n\t\t775,\n\t\t236\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceAppearance.vue\": [\n\t\t969,\n\t\t138\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceBankAccount.vue\": [\n\t\t970,\n\t\t139\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceBuyer.vue\": [\n\t\t776,\n\t\t237\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceItems.vue\": [\n\t\t777,\n\t\t1,\n\t\t238\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceLine.vue\": [\n\t\t971,\n\t\t12,\n\t\t52\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceNotes.vue\": [\n\t\t778,\n\t\t239\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceSeller.vue\": [\n\t\t779,\n\t\t240\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceSettings.vue\": [\n\t\t771,\n\t\t241\n\t],\n\t\"./components/v2/InvoiceForm/sections/InvoiceSummary.vue\": [\n\t\t780,\n\t\t140\n\t],\n\t\"./components/v2/InvoiceForm/sections/RecurringSettings.vue\": [\n\t\t781,\n\t\t243\n\t],\n\t\"./components/v2/InvoiceForm/sections/discount/InvoiceDiscountLine.vue\": [\n\t\t972,\n\t\t9,\n\t\t53\n\t],\n\t\"./components/v2/Order/TariffCard.vue\": [\n\t\t973,\n\t\t141\n\t],\n\t\"./components/v2/Order/TariffCardLoader.vue\": [\n\t\t974,\n\t\t142\n\t],\n\t\"./components/v2/Order/TariffCardWrapper.vue\": [\n\t\t975,\n\t\t195,\n\t\t143\n\t],\n\t\"./components/v3/InvoiceForm/InvoiceForm.vue\": [\n\t\t821,\n\t\t2,\n\t\t1,\n\t\t33,\n\t\t17,\n\t\t244\n\t],\n\t\"./components/v3/InvoiceForm/inputs/CompanyInformation.vue\": [\n\t\t976,\n\t\t144\n\t],\n\t\"./components/v3/InvoiceForm/inputs/CompanyName.vue\": [\n\t\t977,\n\t\t145\n\t],\n\t\"./components/v3/InvoiceForm/inputs/CompanyNumber.vue\": [\n\t\t978,\n\t\t146\n\t],\n\t\"./components/v3/InvoiceForm/sections/InvoiceParticipant.vue\": [\n\t\t812,\n\t\t246\n\t],\n\t\"./components/v3/InvoiceForm/summary/Summary.vue\": [\n\t\t979,\n\t\t148\n\t],\n\t\"./modules/ConfirmDialog.vue\": [\n\t\t980,\n\t\t4\n\t],\n\t\"./modules/Dialogs.vue\": [\n\t\t822,\n\t\t247\n\t],\n\t\"./modules/FlashMessages.vue\": [\n\t\t981,\n\t\t149\n\t],\n\t\"./modules/FormSection.vue\": [\n\t\t278\n\t],\n\t\"./modules/GetTrial.vue\": [\n\t\t982,\n\t\t54\n\t],\n\t\"./modules/InvoicesTable.vue\": [\n\t\t841,\n\t\t24\n\t],\n\t\"./modules/Login.vue\": [\n\t\t983,\n\t\t55\n\t],\n\t\"./modules/LoginRegisterBox.vue\": [\n\t\t984,\n\t\t248\n\t],\n\t\"./modules/Ribbon.vue\": [\n\t\t985,\n\t\t249\n\t],\n\t\"./modules/SubscriptionBar.vue\": [\n\t\t823,\n\t\t250\n\t],\n\t\"./modules/TableHeading.vue\": [\n\t\t569,\n\t\t25\n\t],\n\t\"./modules/layout/BlockWrapper.vue\": [\n\t\t773,\n\t\t251\n\t],\n\t\"./modules/layout/ContainerWrapper.vue\": [\n\t\t570,\n\t\t252\n\t],\n\t\"./modules/layout/Layout.vue\": [\n\t\t842,\n\t\t151\n\t],\n\t\"./modules/layout/header/CreateInvoiceButton.vue\": [\n\t\t784,\n\t\t253\n\t],\n\t\"./modules/layout/header/DropdownUserMenu.vue\": [\n\t\t782,\n\t\t254\n\t],\n\t\"./modules/layout/header/LoginButton.vue\": [\n\t\t785,\n\t\t255\n\t],\n\t\"./modules/layout/header/ToggleButton.vue\": [\n\t\t986,\n\t\t256\n\t],\n\t\"./modules/layout/header/UserNavigationLinks.vue\": [\n\t\t783,\n\t\t257\n\t],\n\t\"./modules/layout/navbar/Navbar.vue\": [\n\t\t843,\n\t\t26,\n\t\t153\n\t],\n\t\"./modules/layout/navbar/NavbarMenu.vue\": [\n\t\t795,\n\t\t26,\n\t\t258\n\t],\n\t\"./modules/layout/navbar/NavigationLink.vue\": [\n\t\t796,\n\t\t259\n\t],\n\t\"./modules/layout/navbar/NavigationLinks.vue\": [\n\t\t794,\n\t\t26\n\t],\n\t\"./modules/layout/navbar/SubNavigation.vue\": [\n\t\t788,\n\t\t260\n\t],\n\t\"./modules/v2/FeatureHighlight.vue\": [\n\t\t987,\n\t\t154\n\t],\n\t\"./modules/v2/GetTrial.vue\": [\n\t\t988,\n\t\t155\n\t],\n\t\"./modules/v2/Login.vue\": [\n\t\t989,\n\t\t156\n\t],\n\t\"./modules/v2/NavigateToLogin.vue\": [\n\t\t990,\n\t\t157\n\t],\n\t\"./modules/v2/NavigateToTrial.vue\": [\n\t\t991,\n\t\t159\n\t],\n\t\"./modules/v2/SignInSignUpImagesContent.vue\": [\n\t\t992,\n\t\t160\n\t],\n\t\"./pages/CashReceipt.vue\": [\n\t\t993,\n\t\t261\n\t],\n\t\"./pages/Contact.vue\": [\n\t\t1013,\n\t\t262\n\t],\n\t\"./pages/Cookies.vue\": [\n\t\t1014,\n\t\t263\n\t],\n\t\"./pages/Dashboard.vue\": [\n\t\t994,\n\t\t264\n\t],\n\t\"./pages/DeliveryNote.vue\": [\n\t\t995,\n\t\t265\n\t],\n\t\"./pages/Expenses.vue\": [\n\t\t996,\n\t\t266\n\t],\n\t\"./pages/FAQ.vue\": [\n\t\t1015,\n\t\t267\n\t],\n\t\"./pages/Help.vue\": [\n\t\t1016,\n\t\t268\n\t],\n\t\"./pages/Invoice.vue\": [\n\t\t997,\n\t\t269\n\t],\n\t\"./pages/InvoiceTemplatesGoogle.vue\": [\n\t\t998,\n\t\t270\n\t],\n\t\"./pages/InvoiceTemplatesPDF.vue\": [\n\t\t999,\n\t\t271\n\t],\n\t\"./pages/InvoiceTypes.vue\": [\n\t\t1017,\n\t\t272\n\t],\n\t\"./pages/Invoices.vue\": [\n\t\t1000,\n\t\t273\n\t],\n\t\"./pages/Landing.vue\": [\n\t\t1001,\n\t\t274\n\t],\n\t\"./pages/LinesMigrator.vue\": [\n\t\t844,\n\t\t92\n\t],\n\t\"./pages/NGO.vue\": [\n\t\t1002,\n\t\t275\n\t],\n\t\"./pages/Newbies.vue\": [\n\t\t1003,\n\t\t276\n\t],\n\t\"./pages/Order.vue\": [\n\t\t1004,\n\t\t277\n\t],\n\t\"./pages/PlusTarif.vue\": [\n\t\t1018,\n\t\t278\n\t],\n\t\"./pages/Pricelist.vue\": [\n\t\t1005,\n\t\t279\n\t],\n\t\"./pages/PrivacyTerms.vue\": [\n\t\t1019,\n\t\t280\n\t],\n\t\"./pages/Profession.vue\": [\n\t\t1006,\n\t\t281\n\t],\n\t\"./pages/Professions.vue\": [\n\t\t1007,\n\t\t282\n\t],\n\t\"./pages/Reports.vue\": [\n\t\t1008,\n\t\t283\n\t],\n\t\"./pages/ResetPassword.vue\": [\n\t\t1009,\n\t\t284\n\t],\n\t\"./pages/SendForgottenCode.vue\": [\n\t\t1010,\n\t\t285\n\t],\n\t\"./pages/SignInSignUp.vue\": [\n\t\t1011,\n\t\t286\n\t],\n\t\"./pages/TermsAndConditions.vue\": [\n\t\t1020,\n\t\t287\n\t],\n\t\"./pages/WordExcel.vue\": [\n\t\t1012,\n\t\t288\n\t],\n\t\"./ui-library/Alert.vue\": [\n\t\t310,\n\t\t56\n\t],\n\t\"./ui-library/Anchor.vue\": [\n\t\t138\n\t],\n\t\"./ui-library/Autocomplete.vue\": [\n\t\t294,\n\t\t57\n\t],\n\t\"./ui-library/AutocompleteSuggestion.vue\": [\n\t\t291,\n\t\t58\n\t],\n\t\"./ui-library/BooleanSelect.vue\": [\n\t\t295,\n\t\t59\n\t],\n\t\"./ui-library/Button.vue\": [\n\t\t91\n\t],\n\t\"./ui-library/ButtonGroup.vue\": [\n\t\t311,\n\t\t60\n\t],\n\t\"./ui-library/ButtonHolder.vue\": [\n\t\t296,\n\t\t61\n\t],\n\t\"./ui-library/Card.vue\": [\n\t\t312,\n\t\t62\n\t],\n\t\"./ui-library/Checkbox.vue\": [\n\t\t313,\n\t\t64\n\t],\n\t\"./ui-library/CheckboxGroup.vue\": [\n\t\t314,\n\t\t65\n\t],\n\t\"./ui-library/Collapse.vue\": [\n\t\t315,\n\t\t27\n\t],\n\t\"./ui-library/CollapseItem.vue\": [\n\t\t316,\n\t\t28\n\t],\n\t\"./ui-library/ColorPickerCustom.vue\": [\n\t\t134\n\t],\n\t\"./ui-library/Column.vue\": [\n\t\t147\n\t],\n\t\"./ui-library/Container.vue\": [\n\t\t317,\n\t\t13\n\t],\n\t\"./ui-library/ContentLoader.vue\": [\n\t\t297,\n\t\t66\n\t],\n\t\"./ui-library/DatePicker.vue\": [\n\t\t318,\n\t\t67\n\t],\n\t\"./ui-library/DateSelect.vue\": [\n\t\t136\n\t],\n\t\"./ui-library/Dialog.vue\": [\n\t\t298,\n\t\t68\n\t],\n\t\"./ui-library/Divider.vue\": [\n\t\t319,\n\t\t69\n\t],\n\t\"./ui-library/Drawer.vue\": [\n\t\t158\n\t],\n\t\"./ui-library/Dropdown.vue\": [\n\t\t148\n\t],\n\t\"./ui-library/DropdownItem.vue\": [\n\t\t139\n\t],\n\t\"./ui-library/DropdownMenu.vue\": [\n\t\t149\n\t],\n\t\"./ui-library/EditableSelect.vue\": [\n\t\t320,\n\t\t70\n\t],\n\t\"./ui-library/Form.vue\": [\n\t\t150\n\t],\n\t\"./ui-library/FormGroup.vue\": [\n\t\t137\n\t],\n\t\"./ui-library/FormItem.vue\": [\n\t\t145\n\t],\n\t\"./ui-library/Heading.vue\": [\n\t\t140\n\t],\n\t\"./ui-library/Icon.vue\": [\n\t\t299,\n\t\t72\n\t],\n\t\"./ui-library/IconBox.vue\": [\n\t\t300,\n\t\t73\n\t],\n\t\"./ui-library/InputHelp.vue\": [\n\t\t301,\n\t\t74\n\t],\n\t\"./ui-library/List.vue\": [\n\t\t302,\n\t\t7\n\t],\n\t\"./ui-library/Loader.vue\": [\n\t\t321,\n\t\t75\n\t],\n\t\"./ui-library/MobileAutocomplete.vue\": [\n\t\t303,\n\t\t76\n\t],\n\t\"./ui-library/NumericInput.vue\": [\n\t\t304,\n\t\t77\n\t],\n\t\"./ui-library/NumericInputCustom.vue\": [\n\t\t141\n\t],\n\t\"./ui-library/Option.vue\": [\n\t\t151\n\t],\n\t\"./ui-library/OptionGroup.vue\": [\n\t\t322,\n\t\t14\n\t],\n\t\"./ui-library/Pagination.vue\": [\n\t\t323,\n\t\t79\n\t],\n\t\"./ui-library/Popover.vue\": [\n\t\t152\n\t],\n\t\"./ui-library/Radio.vue\": [\n\t\t153\n\t],\n\t\"./ui-library/RadioGroup.vue\": [\n\t\t154\n\t],\n\t\"./ui-library/RadioMedia.vue\": [\n\t\t305,\n\t\t15\n\t],\n\t\"./ui-library/Row.vue\": [\n\t\t142\n\t],\n\t\"./ui-library/Select.vue\": [\n\t\t92\n\t],\n\t\"./ui-library/Switch.vue\": [\n\t\t306,\n\t\t80\n\t],\n\t\"./ui-library/Table.vue\": [\n\t\t155\n\t],\n\t\"./ui-library/TableColumn.vue\": [\n\t\t156\n\t],\n\t\"./ui-library/Tag.vue\": [\n\t\t324,\n\t\t81\n\t],\n\t\"./ui-library/TextInput.vue\": [\n\t\t133\n\t],\n\t\"./ui-library/Tooltip.vue\": [\n\t\t157\n\t],\n\t\"./ui-library/Upload.vue\": [\n\t\t293,\n\t\t82\n\t],\n\t\"./ui-library/WhiteContainer.vue\": [\n\t\t143\n\t],\n\t\"./ui-library/money/component.vue\": [\n\t\t290,\n\t\t83\n\t],\n\t\"./ui-library/notification/main.vue\": [\n\t\t144\n\t],\n\t\"./ui-library/selectDialog/SelectDialog.vue\": [\n\t\t146\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 666;\nmodule.exports = webpackAsyncContext;","'use strict';\n\nexports.__esModule = true;\nexports.validateRangeInOneMonth = exports.extractTimeFormat = exports.extractDateFormat = exports.nextYear = exports.prevYear = exports.nextMonth = exports.prevMonth = exports.changeYearMonthAndClampDate = exports.timeWithinRange = exports.limitTimeRange = exports.clearMilliseconds = exports.clearTime = exports.modifyWithTimeString = exports.modifyTime = exports.modifyDate = exports.range = exports.getRangeMinutes = exports.getMonthDays = exports.getPrevMonthLastDays = exports.getRangeHours = exports.getWeekNumber = exports.getStartDateOfMonth = exports.nextDate = exports.prevDate = exports.getFirstDayOfMonth = exports.getDayCountOfYear = exports.getDayCountOfMonth = exports.parseDate = exports.formatDate = exports.isDateObject = exports.isDate = exports.toDate = exports.getI18nSettings = undefined;\n\nvar _date = require('element-ui/lib/utils/date');\n\nvar _date2 = _interopRequireDefault(_date);\n\nvar _locale = require('element-ui/lib/locale');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar weeks = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];\nvar months = ['jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec'];\n\nvar newArray = function newArray(start, end) {\n var result = [];\n\n for (var i = start; i <= end; i++) {\n result.push(i);\n }\n\n return result;\n};\n\nvar getI18nSettings = exports.getI18nSettings = function getI18nSettings() {\n return {\n dayNamesShort: weeks.map(function (week) {\n return (0, _locale.t)('el.datepicker.weeks.' + week);\n }),\n dayNames: weeks.map(function (week) {\n return (0, _locale.t)('el.datepicker.weeks.' + week);\n }),\n monthNamesShort: months.map(function (month) {\n return (0, _locale.t)('el.datepicker.months.' + month);\n }),\n monthNames: months.map(function (month, index) {\n return (0, _locale.t)('el.datepicker.month' + (index + 1));\n }),\n amPm: ['am', 'pm']\n };\n};\n\nvar toDate = exports.toDate = function toDate(date) {\n return isDate(date) ? new Date(date) : null;\n};\n\nvar isDate = exports.isDate = function isDate(date) {\n if (date === null || date === undefined) return false;\n if (isNaN(new Date(date).getTime())) return false;\n if (Array.isArray(date)) return false; // deal with `new Date([ new Date() ]) -> new Date()`\n\n return true;\n};\n\nvar isDateObject = exports.isDateObject = function isDateObject(val) {\n return val instanceof Date;\n};\n\nvar formatDate = exports.formatDate = function formatDate(date, format) {\n date = toDate(date);\n if (!date) return '';\n return _date2[\"default\"].format(date, format || 'yyyy-MM-dd', getI18nSettings());\n};\n\nvar parseDate = exports.parseDate = function parseDate(string, format) {\n return _date2[\"default\"].parse(string, format || 'yyyy-MM-dd', getI18nSettings());\n};\n\nvar getDayCountOfMonth = exports.getDayCountOfMonth = function getDayCountOfMonth(year, month) {\n if (isNaN(+month)) return 31;\n return new Date(year, +month + 1, 0).getDate();\n};\n\nvar getDayCountOfYear = exports.getDayCountOfYear = function getDayCountOfYear(year) {\n var isLeapYear = year % 400 === 0 || year % 100 !== 0 && year % 4 === 0;\n return isLeapYear ? 366 : 365;\n};\n\nvar getFirstDayOfMonth = exports.getFirstDayOfMonth = function getFirstDayOfMonth(date) {\n var temp = new Date(date.getTime());\n temp.setDate(1);\n return temp.getDay();\n}; // see: https://stackoverflow.com/questions/3674539/incrementing-a-date-in-javascript\n// {prev, next} Date should work for Daylight Saving Time\n// Adding 24 * 60 * 60 * 1000 does not work in the above scenario\n\n\nvar prevDate = exports.prevDate = function prevDate(date) {\n var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return new Date(date.getFullYear(), date.getMonth(), date.getDate() - amount);\n};\n\nvar nextDate = exports.nextDate = function nextDate(date) {\n var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n return new Date(date.getFullYear(), date.getMonth(), date.getDate() + amount);\n};\n\nvar getStartDateOfMonth = exports.getStartDateOfMonth = function getStartDateOfMonth(year, month) {\n var result = new Date(year, month, 1);\n var day = result.getDay();\n\n if (day === 0) {\n return prevDate(result, 7);\n } else {\n return prevDate(result, day);\n }\n};\n\nvar getWeekNumber = exports.getWeekNumber = function getWeekNumber(src) {\n if (!isDate(src)) return null;\n var date = new Date(src.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 week 1.\n // Rounding should be fine for Daylight Saving Time. Its shift should never be more than 12 hours.\n\n return 1 + Math.round(((date.getTime() - week1.getTime()) / 86400000 - 3 + (week1.getDay() + 6) % 7) / 7);\n};\n\nvar getRangeHours = exports.getRangeHours = function getRangeHours(ranges) {\n var hours = [];\n var disabledHours = [];\n (ranges || []).forEach(function (range) {\n var value = range.map(function (date) {\n return date.getHours();\n });\n disabledHours = disabledHours.concat(newArray(value[0], value[1]));\n });\n\n if (disabledHours.length) {\n for (var i = 0; i < 24; i++) {\n hours[i] = disabledHours.indexOf(i) === -1;\n }\n } else {\n for (var _i = 0; _i < 24; _i++) {\n hours[_i] = false;\n }\n }\n\n return hours;\n};\n\nvar getPrevMonthLastDays = exports.getPrevMonthLastDays = function getPrevMonthLastDays(date, amount) {\n if (amount <= 0) return [];\n var temp = new Date(date.getTime());\n temp.setDate(0);\n var lastDay = temp.getDate();\n return range(amount).map(function (_, index) {\n return lastDay - (amount - index - 1);\n });\n};\n\nvar getMonthDays = exports.getMonthDays = function getMonthDays(date) {\n var temp = new Date(date.getFullYear(), date.getMonth() + 1, 0);\n var days = temp.getDate();\n return range(days).map(function (_, index) {\n return index + 1;\n });\n};\n\nfunction setRangeData(arr, start, end, value) {\n for (var i = start; i < end; i++) {\n arr[i] = value;\n }\n}\n\nvar getRangeMinutes = exports.getRangeMinutes = function getRangeMinutes(ranges, hour) {\n var minutes = new Array(60);\n\n if (ranges.length > 0) {\n ranges.forEach(function (range) {\n var start = range[0];\n var end = range[1];\n var startHour = start.getHours();\n var startMinute = start.getMinutes();\n var endHour = end.getHours();\n var endMinute = end.getMinutes();\n\n if (startHour === hour && endHour !== hour) {\n setRangeData(minutes, startMinute, 60, true);\n } else if (startHour === hour && endHour === hour) {\n setRangeData(minutes, startMinute, endMinute + 1, true);\n } else if (startHour !== hour && endHour === hour) {\n setRangeData(minutes, 0, endMinute + 1, true);\n } else if (startHour < hour && endHour > hour) {\n setRangeData(minutes, 0, 60, true);\n }\n });\n } else {\n setRangeData(minutes, 0, 60, true);\n }\n\n return minutes;\n};\n\nvar range = exports.range = function range(n) {\n // see https://stackoverflow.com/questions/3746725/create-a-javascript-array-containing-1-n\n return Array.apply(null, {\n length: n\n }).map(function (_, n) {\n return n;\n });\n};\n\nvar modifyDate = exports.modifyDate = function modifyDate(date, y, m, d) {\n return new Date(y, m, d, date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n};\n\nvar modifyTime = exports.modifyTime = function modifyTime(date, h, m, s) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate(), h, m, s, date.getMilliseconds());\n};\n\nvar modifyWithTimeString = exports.modifyWithTimeString = function modifyWithTimeString(date, time) {\n if (date == null || !time) {\n return date;\n }\n\n time = parseDate(time, 'HH:mm:ss');\n return modifyTime(date, time.getHours(), time.getMinutes(), time.getSeconds());\n};\n\nvar clearTime = exports.clearTime = function clearTime(date) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate());\n};\n\nvar clearMilliseconds = exports.clearMilliseconds = function clearMilliseconds(date) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), 0);\n};\n\nvar limitTimeRange = exports.limitTimeRange = function limitTimeRange(date, ranges) {\n var format = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'HH:mm:ss'; // TODO: refactory a more elegant solution\n\n if (ranges.length === 0) return date;\n\n var normalizeDate = function normalizeDate(date) {\n return _date2[\"default\"].parse(_date2[\"default\"].format(date, format), format);\n };\n\n var ndate = normalizeDate(date);\n var nranges = ranges.map(function (range) {\n return range.map(normalizeDate);\n });\n if (nranges.some(function (nrange) {\n return ndate >= nrange[0] && ndate <= nrange[1];\n })) return date;\n var minDate = nranges[0][0];\n var maxDate = nranges[0][0];\n nranges.forEach(function (nrange) {\n minDate = new Date(Math.min(nrange[0], minDate));\n maxDate = new Date(Math.max(nrange[1], minDate));\n });\n var ret = ndate < minDate ? minDate : maxDate; // preserve Year/Month/Date\n\n return modifyDate(ret, date.getFullYear(), date.getMonth(), date.getDate());\n};\n\nvar timeWithinRange = exports.timeWithinRange = function timeWithinRange(date, selectableRange, format) {\n var limitedDate = limitTimeRange(date, selectableRange, format);\n return limitedDate.getTime() === date.getTime();\n};\n\nvar changeYearMonthAndClampDate = exports.changeYearMonthAndClampDate = function changeYearMonthAndClampDate(date, year, month) {\n // clamp date to the number of days in `year`, `month`\n // eg: (2010-1-31, 2010, 2) => 2010-2-28\n var monthDate = Math.min(date.getDate(), getDayCountOfMonth(year, month));\n return modifyDate(date, year, month, monthDate);\n};\n\nvar prevMonth = exports.prevMonth = function prevMonth(date) {\n var year = date.getFullYear();\n var month = date.getMonth();\n return month === 0 ? changeYearMonthAndClampDate(date, year - 1, 11) : changeYearMonthAndClampDate(date, year, month - 1);\n};\n\nvar nextMonth = exports.nextMonth = function nextMonth(date) {\n var year = date.getFullYear();\n var month = date.getMonth();\n return month === 11 ? changeYearMonthAndClampDate(date, year + 1, 0) : changeYearMonthAndClampDate(date, year, month + 1);\n};\n\nvar prevYear = exports.prevYear = function prevYear(date) {\n var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var year = date.getFullYear();\n var month = date.getMonth();\n return changeYearMonthAndClampDate(date, year - amount, month);\n};\n\nvar nextYear = exports.nextYear = function nextYear(date) {\n var amount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var year = date.getFullYear();\n var month = date.getMonth();\n return changeYearMonthAndClampDate(date, year + amount, month);\n};\n\nvar extractDateFormat = exports.extractDateFormat = function extractDateFormat(format) {\n return format.replace(/\\W?m{1,2}|\\W?ZZ/g, '').replace(/\\W?h{1,2}|\\W?s{1,3}|\\W?a/gi, '').trim();\n};\n\nvar extractTimeFormat = exports.extractTimeFormat = function extractTimeFormat(format) {\n return format.replace(/\\W?D{1,2}|\\W?Do|\\W?d{1,4}|\\W?M{1,4}|\\W?y{2,4}/g, '').trim();\n};\n\nvar validateRangeInOneMonth = exports.validateRangeInOneMonth = function validateRangeInOneMonth(start, end) {\n return start.getMonth() === end.getMonth() && start.getFullYear() === end.getFullYear();\n};","'use strict';\n\nexports.__esModule = true;\n\nvar _vue = require('vue');\n\nvar _vue2 = _interopRequireDefault(_vue);\n\nvar _dom = require('element-ui/lib/utils/dom');\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nvar hasModal = false;\nvar hasInitZIndex = false;\nvar zIndex = void 0;\n\nvar getModal = function getModal() {\n if (_vue2[\"default\"].prototype.$isServer) return;\n var modalDom = PopupManager.modalDom;\n\n if (modalDom) {\n hasModal = true;\n } else {\n hasModal = false;\n modalDom = document.createElement('div');\n PopupManager.modalDom = modalDom;\n modalDom.addEventListener('touchmove', function (event) {\n event.preventDefault();\n event.stopPropagation();\n });\n modalDom.addEventListener('click', function () {\n PopupManager.doOnModalClick && PopupManager.doOnModalClick();\n });\n }\n\n return modalDom;\n};\n\nvar instances = {};\nvar PopupManager = {\n modalFade: true,\n getInstance: function getInstance(id) {\n return instances[id];\n },\n register: function register(id, instance) {\n if (id && instance) {\n instances[id] = instance;\n }\n },\n deregister: function deregister(id) {\n if (id) {\n instances[id] = null;\n delete instances[id];\n }\n },\n nextZIndex: function nextZIndex() {\n return PopupManager.zIndex++;\n },\n modalStack: [],\n doOnModalClick: function doOnModalClick() {\n var topItem = PopupManager.modalStack[PopupManager.modalStack.length - 1];\n if (!topItem) return;\n var instance = PopupManager.getInstance(topItem.id);\n\n if (instance && instance.closeOnClickModal) {\n instance.close();\n }\n },\n openModal: function openModal(id, zIndex, dom, modalClass, modalFade) {\n if (_vue2[\"default\"].prototype.$isServer) return;\n if (!id || zIndex === undefined) return;\n this.modalFade = modalFade;\n var modalStack = this.modalStack;\n\n for (var i = 0, j = modalStack.length; i < j; i++) {\n var item = modalStack[i];\n\n if (item.id === id) {\n return;\n }\n }\n\n var modalDom = getModal();\n (0, _dom.addClass)(modalDom, 'v-modal');\n\n if (this.modalFade && !hasModal) {\n (0, _dom.addClass)(modalDom, 'v-modal-enter');\n }\n\n if (modalClass) {\n var classArr = modalClass.trim().split(/\\s+/);\n classArr.forEach(function (item) {\n return (0, _dom.addClass)(modalDom, item);\n });\n }\n\n setTimeout(function () {\n (0, _dom.removeClass)(modalDom, 'v-modal-enter');\n }, 200);\n\n if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) {\n dom.parentNode.appendChild(modalDom);\n } else {\n document.body.appendChild(modalDom);\n }\n\n if (zIndex) {\n modalDom.style.zIndex = zIndex;\n }\n\n modalDom.tabIndex = 0;\n modalDom.style.display = '';\n this.modalStack.push({\n id: id,\n zIndex: zIndex,\n modalClass: modalClass\n });\n },\n closeModal: function closeModal(id) {\n var modalStack = this.modalStack;\n var modalDom = getModal();\n\n if (modalStack.length > 0) {\n var topItem = modalStack[modalStack.length - 1];\n\n if (topItem.id === id) {\n if (topItem.modalClass) {\n var classArr = topItem.modalClass.trim().split(/\\s+/);\n classArr.forEach(function (item) {\n return (0, _dom.removeClass)(modalDom, item);\n });\n }\n\n modalStack.pop();\n\n if (modalStack.length > 0) {\n modalDom.style.zIndex = modalStack[modalStack.length - 1].zIndex;\n }\n } else {\n for (var i = modalStack.length - 1; i >= 0; i--) {\n if (modalStack[i].id === id) {\n modalStack.splice(i, 1);\n break;\n }\n }\n }\n }\n\n if (modalStack.length === 0) {\n if (this.modalFade) {\n (0, _dom.addClass)(modalDom, 'v-modal-leave');\n }\n\n setTimeout(function () {\n if (modalStack.length === 0) {\n if (modalDom.parentNode) modalDom.parentNode.removeChild(modalDom);\n modalDom.style.display = 'none';\n PopupManager.modalDom = undefined;\n }\n\n (0, _dom.removeClass)(modalDom, 'v-modal-leave');\n }, 200);\n }\n }\n};\nObject.defineProperty(PopupManager, 'zIndex', {\n configurable: true,\n get: function get() {\n if (!hasInitZIndex) {\n zIndex = zIndex || (_vue2[\"default\"].prototype.$ELEMENT || {}).zIndex || 2000;\n hasInitZIndex = true;\n }\n\n return zIndex;\n },\n set: function set(value) {\n zIndex = value;\n }\n});\n\nvar getTopPopup = function getTopPopup() {\n if (_vue2[\"default\"].prototype.$isServer) return;\n\n if (PopupManager.modalStack.length > 0) {\n var topPopup = PopupManager.modalStack[PopupManager.modalStack.length - 1];\n if (!topPopup) return;\n var instance = PopupManager.getInstance(topPopup.id);\n return instance;\n }\n};\n\nif (!_vue2[\"default\"].prototype.$isServer) {\n // handle `esc` key when the popup is shown\n window.addEventListener('keydown', function (event) {\n if (event.keyCode === 27) {\n var topPopup = getTopPopup();\n\n if (topPopup && topPopup.closeOnPressEscape) {\n topPopup.handleClose ? topPopup.handleClose() : topPopup.handleAction ? topPopup.handleAction('cancel') : topPopup.close();\n }\n }\n });\n}\n\nexports[\"default\"] = PopupManager;","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n/**\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version {{version}}\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n//\n// Cross module loader\n// Supported: Node, AMD, Browser globals\n//\n\n\n;\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory);\n } else if ((typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object' && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n // Browser globals (root is window)\n root.Popper = factory();\n }\n})(undefined, function () {\n 'use strict';\n\n var root = window; // default options\n\n var DEFAULTS = {\n // placement of the popper\n placement: 'bottom',\n gpuAcceleration: true,\n // shift popper from its origin by the given amount of pixels (can be negative)\n offset: 0,\n // the element which will act as boundary of the popper\n boundariesElement: 'viewport',\n // amount of pixel used to define a minimum distance between the boundaries and the popper\n boundariesPadding: 5,\n // popper will try to prevent overflow following this order,\n // by default, then, it could overflow on the left and on top of the boundariesElement\n preventOverflowOrder: ['left', 'right', 'top', 'bottom'],\n // the behavior used by flip to change the placement of the popper\n flipBehavior: 'flip',\n arrowElement: '[x-arrow]',\n arrowOffset: 0,\n // list of functions used to modify the offsets before they are applied to the popper\n modifiers: ['shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle'],\n modifiersIgnored: [],\n forceAbsolute: false\n };\n /**\n * Create a new Popper.js instance\n * @constructor Popper\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement|Object} popper\n * The HTML element used as popper, or a configuration used to generate the popper.\n * @param {String} [popper.tagName='div'] The tag name of the generated popper.\n * @param {Array} [popper.classNames=['popper']] Array of classes to apply to the generated popper.\n * @param {Array} [popper.attributes] Array of attributes to apply, specify `attr:value` to assign a value to it.\n * @param {HTMLElement|String} [popper.parent=window.document.body] The parent element, given as HTMLElement or as query string.\n * @param {String} [popper.content=''] The content of the popper, it can be text, html, or node; if it is not text, set `contentType` to `html` or `node`.\n * @param {String} [popper.contentType='text'] If `html`, the `content` will be parsed as HTML. If `node`, it will be appended as-is.\n * @param {String} [popper.arrowTagName='div'] Same as `popper.tagName` but for the arrow element.\n * @param {Array} [popper.arrowClassNames='popper__arrow'] Same as `popper.classNames` but for the arrow element.\n * @param {String} [popper.arrowAttributes=['x-arrow']] Same as `popper.attributes` but for the arrow element.\n * @param {Object} options\n * @param {String} [options.placement=bottom]\n * Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -right),\n * left(-start, -end)`\n *\n * @param {HTMLElement|String} [options.arrowElement='[x-arrow]']\n * The DOM Node used as arrow for the popper, or a CSS selector used to get the DOM node. It must be child of\n * its parent Popper. Popper.js will apply to the given element the style required to align the arrow with its\n * reference element.\n * By default, it will look for a child node of the popper with the `x-arrow` attribute.\n *\n * @param {Boolean} [options.gpuAcceleration=true]\n * When this property is set to true, the popper position will be applied using CSS3 translate3d, allowing the\n * browser to use the GPU to accelerate the rendering.\n * If set to false, the popper will be placed using `top` and `left` properties, not using the GPU.\n *\n * @param {Number} [options.offset=0]\n * Amount of pixels the popper will be shifted (can be negative).\n *\n * @param {String|Element} [options.boundariesElement='viewport']\n * The element which will define the boundaries of the popper position, the popper will never be placed outside\n * of the defined boundaries (except if `keepTogether` is enabled)\n *\n * @param {Number} [options.boundariesPadding=5]\n * Additional padding for the boundaries\n *\n * @param {Array} [options.preventOverflowOrder=['left', 'right', 'top', 'bottom']]\n * Order used when Popper.js tries to avoid overflows from the boundaries, they will be checked in order,\n * this means that the last ones will never overflow\n *\n * @param {String|Array} [options.flipBehavior='flip']\n * The behavior used by the `flip` modifier to change the placement of the popper when the latter is trying to\n * overlap its reference element. Defining `flip` as value, the placement will be flipped on\n * its axis (`right - left`, `top - bottom`).\n * You can even pass an array of placements (eg: `['right', 'left', 'top']` ) to manually specify\n * how alter the placement when a flip is needed. (eg. in the above example, it would first flip from right to left,\n * then, if even in its new placement, the popper is overlapping its reference element, it will be moved to top)\n *\n * @param {Array} [options.modifiers=[ 'shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle']]\n * List of functions used to modify the data before they are applied to the popper, add your custom functions\n * to this array to edit the offsets and placement.\n * The function should reflect the @params and @returns of preventOverflow\n *\n * @param {Array} [options.modifiersIgnored=[]]\n * Put here any built-in modifier name you want to exclude from the modifiers list\n * The function should reflect the @params and @returns of preventOverflow\n *\n * @param {Boolean} [options.removeOnDestroy=false]\n * Set to true if you want to automatically remove the popper when you call the `destroy` method.\n */\n\n function Popper(reference, popper, options) {\n this._reference = reference.jquery ? reference[0] : reference;\n this.state = {}; // if the popper variable is a configuration object, parse it to generate an HTMLElement\n // generate a default popper if is not defined\n\n var isNotDefined = typeof popper === 'undefined' || popper === null;\n var isConfig = popper && Object.prototype.toString.call(popper) === '[object Object]';\n\n if (isNotDefined || isConfig) {\n this._popper = this.parse(isConfig ? popper : {});\n } // otherwise, use the given HTMLElement as popper\n else {\n this._popper = popper.jquery ? popper[0] : popper;\n } // with {} we create a new object with the options inside it\n\n\n this._options = Object.assign({}, DEFAULTS, options); // refactoring modifiers' list\n\n this._options.modifiers = this._options.modifiers.map(function (modifier) {\n // remove ignored modifiers\n if (this._options.modifiersIgnored.indexOf(modifier) !== -1) return; // set the x-placement attribute before everything else because it could be used to add margins to the popper\n // margins needs to be calculated to get the correct popper offsets\n\n if (modifier === 'applyStyle') {\n this._popper.setAttribute('x-placement', this._options.placement);\n } // return predefined modifier identified by string or keep the custom one\n\n\n return this.modifiers[modifier] || modifier;\n }.bind(this)); // make sure to apply the popper position before any computation\n\n this.state.position = this._getPosition(this._popper, this._reference);\n setStyle(this._popper, {\n position: this.state.position,\n top: 0\n }); // fire the first update to position the popper in the right place\n\n this.update(); // setup event listeners, they will take care of update the position in specific situations\n\n this._setupEventListeners();\n\n return this;\n } //\n // Methods\n //\n\n /**\n * Destroy the popper\n * @method\n * @memberof Popper\n */\n\n\n Popper.prototype.destroy = function () {\n this._popper.removeAttribute('x-placement');\n\n this._popper.style.left = '';\n this._popper.style.position = '';\n this._popper.style.top = '';\n this._popper.style[getSupportedPropertyName('transform')] = '';\n\n this._removeEventListeners(); // remove the popper if user explicity asked for the deletion on destroy\n\n\n if (this._options.removeOnDestroy) {\n this._popper.remove();\n }\n\n return this;\n };\n /**\n * Updates the position of the popper, computing the new offsets and applying the new style\n * @method\n * @memberof Popper\n */\n\n\n Popper.prototype.update = function () {\n var data = {\n instance: this,\n styles: {}\n }; // store placement inside the data object, modifiers will be able to edit `placement` if needed\n // and refer to _originalPlacement to know the original value\n\n data.placement = this._options.placement;\n data._originalPlacement = this._options.placement; // compute the popper and reference offsets and put them inside data.offsets\n\n data.offsets = this._getOffsets(this._popper, this._reference, data.placement); // get boundaries\n\n data.boundaries = this._getBoundaries(data, this._options.boundariesPadding, this._options.boundariesElement);\n data = this.runModifiers(data, this._options.modifiers);\n\n if (typeof this.state.updateCallback === 'function') {\n this.state.updateCallback(data);\n }\n };\n /**\n * If a function is passed, it will be executed after the initialization of popper with as first argument the Popper instance.\n * @method\n * @memberof Popper\n * @param {Function} callback\n */\n\n\n Popper.prototype.onCreate = function (callback) {\n // the createCallbacks return as first argument the popper instance\n callback(this);\n return this;\n };\n /**\n * If a function is passed, it will be executed after each update of popper with as first argument the set of coordinates and informations\n * used to style popper and its arrow.\n * NOTE: it doesn't get fired on the first call of the `Popper.update()` method inside the `Popper` constructor!\n * @method\n * @memberof Popper\n * @param {Function} callback\n */\n\n\n Popper.prototype.onUpdate = function (callback) {\n this.state.updateCallback = callback;\n return this;\n };\n /**\n * Helper used to generate poppers from a configuration file\n * @method\n * @memberof Popper\n * @param config {Object} configuration\n * @returns {HTMLElement} popper\n */\n\n\n Popper.prototype.parse = function (config) {\n var defaultConfig = {\n tagName: 'div',\n classNames: ['popper'],\n attributes: [],\n parent: root.document.body,\n content: '',\n contentType: 'text',\n arrowTagName: 'div',\n arrowClassNames: ['popper__arrow'],\n arrowAttributes: ['x-arrow']\n };\n config = Object.assign({}, defaultConfig, config);\n var d = root.document;\n var popper = d.createElement(config.tagName);\n addClassNames(popper, config.classNames);\n addAttributes(popper, config.attributes);\n\n if (config.contentType === 'node') {\n popper.appendChild(config.content.jquery ? config.content[0] : config.content);\n } else if (config.contentType === 'html') {\n popper.innerHTML = config.content;\n } else {\n popper.textContent = config.content;\n }\n\n if (config.arrowTagName) {\n var arrow = d.createElement(config.arrowTagName);\n addClassNames(arrow, config.arrowClassNames);\n addAttributes(arrow, config.arrowAttributes);\n popper.appendChild(arrow);\n }\n\n var parent = config.parent.jquery ? config.parent[0] : config.parent; // if the given parent is a string, use it to match an element\n // if more than one element is matched, the first one will be used as parent\n // if no elements are matched, the script will throw an error\n\n if (typeof parent === 'string') {\n parent = d.querySelectorAll(config.parent);\n\n if (parent.length > 1) {\n console.warn('WARNING: the given `parent` query(' + config.parent + ') matched more than one element, the first one will be used');\n }\n\n if (parent.length === 0) {\n throw 'ERROR: the given `parent` doesn\\'t exists!';\n }\n\n parent = parent[0];\n } // if the given parent is a DOM nodes list or an array of nodes with more than one element,\n // the first one will be used as parent\n\n\n if (parent.length > 1 && parent instanceof Element === false) {\n console.warn('WARNING: you have passed as parent a list of elements, the first one will be used');\n parent = parent[0];\n } // append the generated popper to its parent\n\n\n parent.appendChild(popper);\n return popper;\n /**\n * Adds class names to the given element\n * @function\n * @ignore\n * @param {HTMLElement} target\n * @param {Array} classes\n */\n\n function addClassNames(element, classNames) {\n classNames.forEach(function (className) {\n element.classList.add(className);\n });\n }\n /**\n * Adds attributes to the given element\n * @function\n * @ignore\n * @param {HTMLElement} target\n * @param {Array} attributes\n * @example\n * addAttributes(element, [ 'data-info:foobar' ]);\n */\n\n\n function addAttributes(element, attributes) {\n attributes.forEach(function (attribute) {\n element.setAttribute(attribute.split(':')[0], attribute.split(':')[1] || '');\n });\n }\n };\n /**\n * Helper used to get the position which will be applied to the popper\n * @method\n * @memberof Popper\n * @param config {HTMLElement} popper element\n * @param reference {HTMLElement} reference element\n * @returns {String} position\n */\n\n\n Popper.prototype._getPosition = function (popper, reference) {\n var container = getOffsetParent(reference);\n\n if (this._options.forceAbsolute) {\n return 'absolute';\n } // Decide if the popper will be fixed\n // If the reference element is inside a fixed context, the popper will be fixed as well to allow them to scroll together\n\n\n var isParentFixed = isFixed(reference, container);\n return isParentFixed ? 'fixed' : 'absolute';\n };\n /**\n * Get offsets to the popper\n * @method\n * @memberof Popper\n * @access private\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\n\n\n Popper.prototype._getOffsets = function (popper, reference, placement) {\n placement = placement.split('-')[0];\n var popperOffsets = {};\n popperOffsets.position = this.state.position;\n var isParentFixed = popperOffsets.position === 'fixed'; //\n // Get reference element position\n //\n\n var referenceOffsets = getOffsetRectRelativeToCustomParent(reference, getOffsetParent(popper), isParentFixed); //\n // Get popper sizes\n //\n\n var popperRect = getOuterSizes(popper); //\n // Compute offsets of popper\n //\n // depending by the popper placement we have to compute its offsets slightly differently\n\n if (['right', 'left'].indexOf(placement) !== -1) {\n popperOffsets.top = referenceOffsets.top + referenceOffsets.height / 2 - popperRect.height / 2;\n\n if (placement === 'left') {\n popperOffsets.left = referenceOffsets.left - popperRect.width;\n } else {\n popperOffsets.left = referenceOffsets.right;\n }\n } else {\n popperOffsets.left = referenceOffsets.left + referenceOffsets.width / 2 - popperRect.width / 2;\n\n if (placement === 'top') {\n popperOffsets.top = referenceOffsets.top - popperRect.height;\n } else {\n popperOffsets.top = referenceOffsets.bottom;\n }\n } // Add width and height to our offsets object\n\n\n popperOffsets.width = popperRect.width;\n popperOffsets.height = popperRect.height;\n return {\n popper: popperOffsets,\n reference: referenceOffsets\n };\n };\n /**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper\n * @access private\n */\n\n\n Popper.prototype._setupEventListeners = function () {\n // NOTE: 1 DOM access here\n this.state.updateBound = this.update.bind(this);\n root.addEventListener('resize', this.state.updateBound); // if the boundariesElement is window we don't need to listen for the scroll event\n\n if (this._options.boundariesElement !== 'window') {\n var target = getScrollParent(this._reference); // here it could be both `body` or `documentElement` thanks to Firefox, we then check both\n\n if (target === root.document.body || target === root.document.documentElement) {\n target = root;\n }\n\n target.addEventListener('scroll', this.state.updateBound);\n this.state.scrollTarget = target;\n }\n };\n /**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper\n * @access private\n */\n\n\n Popper.prototype._removeEventListeners = function () {\n // NOTE: 1 DOM access here\n root.removeEventListener('resize', this.state.updateBound);\n\n if (this._options.boundariesElement !== 'window' && this.state.scrollTarget) {\n this.state.scrollTarget.removeEventListener('scroll', this.state.updateBound);\n this.state.scrollTarget = null;\n }\n\n this.state.updateBound = null;\n };\n /**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper\n * @access private\n * @param {Object} data - Object containing the property \"offsets\" generated by `_getOffsets`\n * @param {Number} padding - Boundaries padding\n * @param {Element} boundariesElement - Element used to define the boundaries\n * @returns {Object} Coordinates of the boundaries\n */\n\n\n Popper.prototype._getBoundaries = function (data, padding, boundariesElement) {\n // NOTE: 1 DOM access here\n var boundaries = {};\n var width, height;\n\n if (boundariesElement === 'window') {\n var body = root.document.body,\n html = root.document.documentElement;\n height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);\n width = Math.max(body.scrollWidth, body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);\n boundaries = {\n top: 0,\n right: width,\n bottom: height,\n left: 0\n };\n } else if (boundariesElement === 'viewport') {\n var offsetParent = getOffsetParent(this._popper);\n var scrollParent = getScrollParent(this._popper);\n var offsetParentRect = getOffsetRect(offsetParent); // Thanks the fucking native API, `document.body.scrollTop` & `document.documentElement.scrollTop`\n\n var getScrollTopValue = function getScrollTopValue(element) {\n return element == document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : element.scrollTop;\n };\n\n var getScrollLeftValue = function getScrollLeftValue(element) {\n return element == document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : element.scrollLeft;\n }; // if the popper is fixed we don't have to substract scrolling from the boundaries\n\n\n var scrollTop = data.offsets.popper.position === 'fixed' ? 0 : getScrollTopValue(scrollParent);\n var scrollLeft = data.offsets.popper.position === 'fixed' ? 0 : getScrollLeftValue(scrollParent);\n boundaries = {\n top: 0 - (offsetParentRect.top - scrollTop),\n right: root.document.documentElement.clientWidth - (offsetParentRect.left - scrollLeft),\n bottom: root.document.documentElement.clientHeight - (offsetParentRect.top - scrollTop),\n left: 0 - (offsetParentRect.left - scrollLeft)\n };\n } else {\n if (getOffsetParent(this._popper) === boundariesElement) {\n boundaries = {\n top: 0,\n left: 0,\n right: boundariesElement.clientWidth,\n bottom: boundariesElement.clientHeight\n };\n } else {\n boundaries = getOffsetRect(boundariesElement);\n }\n }\n\n boundaries.left += padding;\n boundaries.right -= padding;\n boundaries.top = boundaries.top + padding;\n boundaries.bottom = boundaries.bottom - padding;\n return boundaries;\n };\n /**\n * Loop trough the list of modifiers and run them in order, each of them will then edit the data object\n * @method\n * @memberof Popper\n * @access public\n * @param {Object} data\n * @param {Array} modifiers\n * @param {Function} ends\n */\n\n\n Popper.prototype.runModifiers = function (data, modifiers, ends) {\n var modifiersToRun = modifiers.slice();\n\n if (ends !== undefined) {\n modifiersToRun = this._options.modifiers.slice(0, getArrayKeyIndex(this._options.modifiers, ends));\n }\n\n modifiersToRun.forEach(function (modifier) {\n if (isFunction(modifier)) {\n data = modifier.call(this, data);\n }\n }.bind(this));\n return data;\n };\n /**\n * Helper used to know if the given modifier depends from another one.\n * @method\n * @memberof Popper\n * @param {String} requesting - name of requesting modifier\n * @param {String} requested - name of requested modifier\n * @returns {Boolean}\n */\n\n\n Popper.prototype.isModifierRequired = function (requesting, requested) {\n var index = getArrayKeyIndex(this._options.modifiers, requesting);\n return !!this._options.modifiers.slice(0, index).filter(function (modifier) {\n return modifier === requested;\n }).length;\n }; //\n // Modifiers\n //\n\n /**\n * Modifiers list\n * @namespace Popper.modifiers\n * @memberof Popper\n * @type {Object}\n */\n\n\n Popper.prototype.modifiers = {};\n /**\n * Apply the computed styles to the popper element\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @returns {Object} The same data object\n */\n\n Popper.prototype.modifiers.applyStyle = function (data) {\n // apply the final offsets to the popper\n // NOTE: 1 DOM access here\n var styles = {\n position: data.offsets.popper.position\n }; // round top and left to avoid blurry text\n\n var left = Math.round(data.offsets.popper.left);\n var top = Math.round(data.offsets.popper.top); // if gpuAcceleration is set to true and transform is supported, we use `translate3d` to apply the position to the popper\n // we automatically use the supported prefixed version if needed\n\n var prefixedProperty;\n\n if (this._options.gpuAcceleration && (prefixedProperty = getSupportedPropertyName('transform'))) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles.top = 0;\n styles.left = 0;\n } // othwerise, we use the mini `left` and `top` properties\n else {\n styles.left = left;\n styles.top = top;\n } // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n\n\n Object.assign(styles, data.styles);\n setStyle(this._popper, styles); // set an attribute which will be useful to style the tooltip (use it to properly position its arrow)\n // NOTE: 1 DOM access here\n\n this._popper.setAttribute('x-placement', data.placement); // if the arrow modifier is required and the arrow style has been computed, apply the arrow style\n\n\n if (this.isModifierRequired(this.modifiers.applyStyle, this.modifiers.arrow) && data.offsets.arrow) {\n setStyle(data.arrowElement, data.offsets.arrow);\n }\n\n return data;\n };\n /**\n * Modifier used to shift the popper on the start or end of its reference element side\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.shift = function (data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftVariation = placement.split('-')[1]; // if shift shiftVariation is specified, run the modifier\n\n if (shiftVariation) {\n var reference = data.offsets.reference;\n var popper = getPopperClientRect(data.offsets.popper);\n var shiftOffsets = {\n y: {\n start: {\n top: reference.top\n },\n end: {\n top: reference.top + reference.height - popper.height\n }\n },\n x: {\n start: {\n left: reference.left\n },\n end: {\n left: reference.left + reference.width - popper.width\n }\n }\n };\n var axis = ['bottom', 'top'].indexOf(basePlacement) !== -1 ? 'x' : 'y';\n data.offsets.popper = Object.assign(popper, shiftOffsets[axis][shiftVariation]);\n }\n\n return data;\n };\n /**\n * Modifier used to make sure the popper does not overflows from it's boundaries\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.preventOverflow = function (data) {\n var order = this._options.preventOverflowOrder;\n var popper = getPopperClientRect(data.offsets.popper);\n var check = {\n left: function left() {\n var left = popper.left;\n\n if (popper.left < data.boundaries.left) {\n left = Math.max(popper.left, data.boundaries.left);\n }\n\n return {\n left: left\n };\n },\n right: function right() {\n var left = popper.left;\n\n if (popper.right > data.boundaries.right) {\n left = Math.min(popper.left, data.boundaries.right - popper.width);\n }\n\n return {\n left: left\n };\n },\n top: function top() {\n var top = popper.top;\n\n if (popper.top < data.boundaries.top) {\n top = Math.max(popper.top, data.boundaries.top);\n }\n\n return {\n top: top\n };\n },\n bottom: function bottom() {\n var top = popper.top;\n\n if (popper.bottom > data.boundaries.bottom) {\n top = Math.min(popper.top, data.boundaries.bottom - popper.height);\n }\n\n return {\n top: top\n };\n }\n };\n order.forEach(function (direction) {\n data.offsets.popper = Object.assign(popper, check[direction]());\n });\n return data;\n };\n /**\n * Modifier used to make sure the popper is always near its reference\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.keepTogether = function (data) {\n var popper = getPopperClientRect(data.offsets.popper);\n var reference = data.offsets.reference;\n var f = Math.floor;\n\n if (popper.right < f(reference.left)) {\n data.offsets.popper.left = f(reference.left) - popper.width;\n }\n\n if (popper.left > f(reference.right)) {\n data.offsets.popper.left = f(reference.right);\n }\n\n if (popper.bottom < f(reference.top)) {\n data.offsets.popper.top = f(reference.top) - popper.height;\n }\n\n if (popper.top > f(reference.bottom)) {\n data.offsets.popper.top = f(reference.bottom);\n }\n\n return data;\n };\n /**\n * Modifier used to flip the placement of the popper when the latter is starting overlapping its reference element.\n * Requires the `preventOverflow` modifier before it in order to work.\n * **NOTE:** This modifier will run all its previous modifiers everytime it tries to flip the popper!\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.flip = function (data) {\n // check if preventOverflow is in the list of modifiers before the flip modifier.\n // otherwise flip would not work as expected.\n if (!this.isModifierRequired(this.modifiers.flip, this.modifiers.preventOverflow)) {\n console.warn('WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!');\n return data;\n }\n\n if (data.flipped && data.placement === data._originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n var flipOrder = [];\n\n if (this._options.flipBehavior === 'flip') {\n flipOrder = [placement, placementOpposite];\n } else {\n flipOrder = this._options.flipBehavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n var popperOffsets = getPopperClientRect(data.offsets.popper); // this boolean is used to distinguish right and bottom from top and left\n // they need different computations to get flipped\n\n var a = ['right', 'bottom'].indexOf(placement) !== -1; // using Math.floor because the reference offsets may contain decimals we are not going to consider here\n\n if (a && Math.floor(data.offsets.reference[placement]) > Math.floor(popperOffsets[placementOpposite]) || !a && Math.floor(data.offsets.reference[placement]) < Math.floor(popperOffsets[placementOpposite])) {\n // we'll use this boolean to detect any flip loop\n data.flipped = true;\n data.placement = flipOrder[index + 1];\n\n if (variation) {\n data.placement += '-' + variation;\n }\n\n data.offsets.popper = this._getOffsets(this._popper, this._reference, data.placement).popper;\n data = this.runModifiers(data, this._options.modifiers, this._flip);\n }\n }.bind(this));\n return data;\n };\n /**\n * Modifier used to add an offset to the popper, useful if you more granularity positioning your popper.\n * The offsets will shift the popper on the side of its reference element.\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.offset = function (data) {\n var offset = this._options.offset;\n var popper = data.offsets.popper;\n\n if (data.placement.indexOf('left') !== -1) {\n popper.top -= offset;\n } else if (data.placement.indexOf('right') !== -1) {\n popper.top += offset;\n } else if (data.placement.indexOf('top') !== -1) {\n popper.left -= offset;\n } else if (data.placement.indexOf('bottom') !== -1) {\n popper.left += offset;\n }\n\n return data;\n };\n /**\n * Modifier used to move the arrows on the edge of the popper to make sure them are always between the popper and the reference element\n * It will use the CSS outer size of the arrow element to know how many pixels of conjuction are needed\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.arrow = function (data) {\n var arrow = this._options.arrowElement;\n var arrowOffset = this._options.arrowOffset; // if the arrowElement is a string, suppose it's a CSS selector\n\n if (typeof arrow === 'string') {\n arrow = this._popper.querySelector(arrow);\n } // if arrow element is not found, don't run the modifier\n\n\n if (!arrow) {\n return data;\n } // the arrow element must be child of its popper\n\n\n if (!this._popper.contains(arrow)) {\n console.warn('WARNING: `arrowElement` must be child of its popper element!');\n return data;\n } // arrow depends on keepTogether in order to work\n\n\n if (!this.isModifierRequired(this.modifiers.arrow, this.modifiers.keepTogether)) {\n console.warn('WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!');\n return data;\n }\n\n var arrowStyle = {};\n var placement = data.placement.split('-')[0];\n var popper = getPopperClientRect(data.offsets.popper);\n var reference = data.offsets.reference;\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n var len = isVertical ? 'height' : 'width';\n var side = isVertical ? 'top' : 'left';\n var translate = isVertical ? 'translateY' : 'translateX';\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowSize = getOuterSizes(arrow)[len]; //\n // extends keepTogether behavior making sure the popper and its reference have enough pixels in conjuction\n //\n // top/left side\n\n if (reference[opSide] - arrowSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowSize);\n } // bottom/right side\n\n\n if (reference[side] + arrowSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowSize - popper[opSide];\n } // compute center of the popper\n\n\n var center = reference[side] + (arrowOffset || reference[len] / 2 - arrowSize / 2);\n var sideValue = center - popper[side]; // prevent arrow from being placed not contiguously to its popper\n\n sideValue = Math.max(Math.min(popper[len] - arrowSize - 8, sideValue), 8);\n arrowStyle[side] = sideValue;\n arrowStyle[altSide] = ''; // make sure to remove any old style from the arrow\n\n data.offsets.arrow = arrowStyle;\n data.arrowElement = arrow;\n return data;\n }; //\n // Helpers\n //\n\n /**\n * Get the outer sizes of the given element (offset size + margins)\n * @function\n * @ignore\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\n\n\n function getOuterSizes(element) {\n // NOTE: 1 DOM access here\n var _display = element.style.display,\n _visibility = element.style.visibility;\n element.style.display = 'block';\n element.style.visibility = 'hidden';\n var calcWidthToForceRepaint = element.offsetWidth; // original method\n\n var styles = root.getComputedStyle(element);\n var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);\n var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n }; // reset element styles\n\n element.style.display = _display;\n element.style.visibility = _visibility;\n return result;\n }\n /**\n * Get the opposite placement of the given one/\n * @function\n * @ignore\n * @argument {String} placement\n * @returns {String} flipped placement\n */\n\n\n function getOppositePlacement(placement) {\n var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n }\n /**\n * Given the popper offsets, generate an output similar to getBoundingClientRect\n * @function\n * @ignore\n * @argument {Object} popperOffsets\n * @returns {Object} ClientRect like output\n */\n\n\n function getPopperClientRect(popperOffsets) {\n var offsets = Object.assign({}, popperOffsets);\n offsets.right = offsets.left + offsets.width;\n offsets.bottom = offsets.top + offsets.height;\n return offsets;\n }\n /**\n * Given an array and the key to find, returns its index\n * @function\n * @ignore\n * @argument {Array} arr\n * @argument keyToFind\n * @returns index or null\n */\n\n\n function getArrayKeyIndex(arr, keyToFind) {\n var i = 0,\n key;\n\n for (key in arr) {\n if (arr[key] === keyToFind) {\n return i;\n }\n\n i++;\n }\n\n return null;\n }\n /**\n * Get CSS computed property of the given element\n * @function\n * @ignore\n * @argument {Eement} element\n * @argument {String} property\n */\n\n\n function getStyleComputedProperty(element, property) {\n // NOTE: 1 DOM access here\n var css = root.getComputedStyle(element, null);\n return css[property];\n }\n /**\n * Returns the offset parent of the given element\n * @function\n * @ignore\n * @argument {Element} element\n * @returns {Element} offset parent\n */\n\n\n function getOffsetParent(element) {\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent;\n return offsetParent === root.document.body || !offsetParent ? root.document.documentElement : offsetParent;\n }\n /**\n * Returns the scrolling parent of the given element\n * @function\n * @ignore\n * @argument {Element} element\n * @returns {Element} offset parent\n */\n\n\n function getScrollParent(element) {\n var parent = element.parentNode;\n\n if (!parent) {\n return element;\n }\n\n if (parent === root.document) {\n // Firefox puts the scrollTOp value on `documentElement` instead of `body`, we then check which of them is\n // greater than 0 and return the proper element\n if (root.document.body.scrollTop || root.document.body.scrollLeft) {\n return root.document.body;\n } else {\n return root.document.documentElement;\n }\n } // Firefox want us to check `-x` and `-y` variations as well\n\n\n if (['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow')) !== -1 || ['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow-x')) !== -1 || ['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow-y')) !== -1) {\n // If the detected scrollParent is body, we perform an additional check on its parentNode\n // in this way we'll get body if the browser is Chrome-ish, or documentElement otherwise\n // fixes issue #65\n return parent;\n }\n\n return getScrollParent(element.parentNode);\n }\n /**\n * Check if the given element is fixed or is inside a fixed parent\n * @function\n * @ignore\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\n\n\n function isFixed(element) {\n if (element === root.document.body) {\n return false;\n }\n\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n\n return element.parentNode ? isFixed(element.parentNode) : element;\n }\n /**\n * Set the style to the given popper\n * @function\n * @ignore\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles - Object with a list of properties and values which will be applied to the element\n */\n\n\n function setStyle(element, styles) {\n function is_numeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n Object.keys(styles).forEach(function (prop) {\n var unit = ''; // add unit if the value is numeric and is one of the following\n\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && is_numeric(styles[prop])) {\n unit = 'px';\n }\n\n element.style[prop] = styles[prop] + unit;\n });\n }\n /**\n * Check if the given variable is a function\n * @function\n * @ignore\n * @argument {*} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\n\n\n function isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n }\n /**\n * Get the position of the given element, relative to its offset parent\n * @function\n * @ignore\n * @param {Element} element\n * @return {Object} position - Coordinates of the element and its `scrollTop`\n */\n\n\n function getOffsetRect(element) {\n var elementRect = {\n width: element.offsetWidth,\n height: element.offsetHeight,\n left: element.offsetLeft,\n top: element.offsetTop\n };\n elementRect.right = elementRect.left + elementRect.width;\n elementRect.bottom = elementRect.top + elementRect.height; // position\n\n return elementRect;\n }\n /**\n * Get bounding client rect of given element\n * @function\n * @ignore\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\n\n\n function getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect(); // whether the IE version is lower than 11\n\n var isIE = navigator.userAgent.indexOf(\"MSIE\") != -1; // fix ie document bounding top always 0 bug\n\n var rectTop = isIE && element.tagName === 'HTML' ? -element.scrollTop : rect.top;\n return {\n left: rect.left,\n top: rectTop,\n right: rect.right,\n bottom: rect.bottom,\n width: rect.right - rect.left,\n height: rect.bottom - rectTop\n };\n }\n /**\n * Given an element and one of its parents, return the offset\n * @function\n * @ignore\n * @param {HTMLElement} element\n * @param {HTMLElement} parent\n * @return {Object} rect\n */\n\n\n function getOffsetRectRelativeToCustomParent(element, parent, fixed) {\n var elementRect = getBoundingClientRect(element);\n var parentRect = getBoundingClientRect(parent);\n\n if (fixed) {\n var scrollParent = getScrollParent(parent);\n parentRect.top += scrollParent.scrollTop;\n parentRect.bottom += scrollParent.scrollTop;\n parentRect.left += scrollParent.scrollLeft;\n parentRect.right += scrollParent.scrollLeft;\n }\n\n var rect = {\n top: elementRect.top - parentRect.top,\n left: elementRect.left - parentRect.left,\n bottom: elementRect.top - parentRect.top + elementRect.height,\n right: elementRect.left - parentRect.left + elementRect.width,\n width: elementRect.width,\n height: elementRect.height\n };\n return rect;\n }\n /**\n * Get the prefixed supported property name\n * @function\n * @ignore\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase)\n */\n\n\n function getSupportedPropertyName(property) {\n var prefixes = ['', 'ms', 'webkit', 'moz', 'o'];\n\n for (var i = 0; i < prefixes.length; i++) {\n var toCheck = prefixes[i] ? prefixes[i] + property.charAt(0).toUpperCase() + property.slice(1) : property;\n\n if (typeof root.document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n\n return null;\n }\n /**\n * The Object.assign() method is used to copy the values of all enumerable own properties from one or more source\n * objects to a target object. It will return the target object.\n * This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway\n * Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @function\n * @ignore\n */\n\n\n if (!Object.assign) {\n Object.defineProperty(Object, 'assign', {\n enumerable: false,\n configurable: true,\n writable: true,\n value: function value(target) {\n if (target === undefined || target === null) {\n throw new TypeError('Cannot convert first argument to object');\n }\n\n var to = Object(target);\n\n for (var i = 1; i < arguments.length; i++) {\n var nextSource = arguments[i];\n\n if (nextSource === undefined || nextSource === null) {\n continue;\n }\n\n nextSource = Object(nextSource);\n var keysArray = Object.keys(nextSource);\n\n for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {\n var nextKey = keysArray[nextIndex];\n var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n\n if (desc !== undefined && desc.enumerable) {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n\n return to;\n }\n });\n }\n\n return Popper;\n});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 96);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 96:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=ca859fb4&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"button\", {\n staticClass: \"el-button\",\n \"class\": [_vm.type ? \"el-button--\" + _vm.type : \"\", _vm.buttonSize ? \"el-button--\" + _vm.buttonSize : \"\", {\n \"is-disabled\": _vm.buttonDisabled,\n \"is-loading\": _vm.loading,\n \"is-plain\": _vm.plain,\n \"is-round\": _vm.round,\n \"is-circle\": _vm.circle\n }],\n attrs: {\n disabled: _vm.buttonDisabled || _vm.loading,\n autofocus: _vm.autofocus,\n type: _vm.nativeType\n },\n on: {\n click: _vm.handleClick\n }\n }, [_vm.loading ? _c(\"i\", {\n staticClass: \"el-icon-loading\"\n }) : _vm._e(), _vm.icon && !_vm.loading ? _c(\"i\", {\n \"class\": _vm.icon\n }) : _vm._e(), _vm.$slots[\"default\"] ? _c(\"span\", [_vm._t(\"default\")], 2) : _vm._e()]);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=ca859fb4&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var buttonvue_type_script_lang_js_ = {\n name: 'ElButton',\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n type: {\n type: String,\n \"default\": 'default'\n },\n size: String,\n icon: {\n type: String,\n \"default\": ''\n },\n nativeType: {\n type: String,\n \"default\": 'button'\n },\n loading: Boolean,\n disabled: Boolean,\n plain: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n buttonSize: function buttonSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n buttonDisabled: function buttonDisabled() {\n return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;\n }\n },\n methods: {\n handleClick: function handleClick(evt) {\n this.$emit('click', evt);\n }\n }\n }; // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_buttonvue_type_script_lang_js_ = buttonvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/button/src/button.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_buttonvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/button/src/button.vue\";\n /* harmony default export */\n\n var src_button = component.exports; // CONCATENATED MODULE: ./packages/button/index.js\n\n /* istanbul ignore next */\n\n src_button.install = function (Vue) {\n Vue.component(src_button.name, src_button);\n };\n /* harmony default export */\n\n\n var packages_button = __webpack_exports__[\"default\"] = src_button;\n /***/\n }\n /******/\n\n});","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n\nexports.isVNode = isVNode;\n\nvar _util = require('element-ui/lib/utils/util');\n\nfunction isVNode(node) {\n return node !== null && (typeof node === 'undefined' ? 'undefined' : _typeof(node)) === 'object' && (0, _util.hasOwn)(node, 'componentOptions');\n}\n\n;","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 138);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 138:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // EXTERNAL MODULE: external \"element-ui/lib/utils/vue-popper\"\n\n\n var vue_popper_ = __webpack_require__(5);\n\n var vue_popper_default =\n /*#__PURE__*/\n __webpack_require__.n(vue_popper_); // EXTERNAL MODULE: external \"throttle-debounce/debounce\"\n\n\n var debounce_ = __webpack_require__(19);\n\n var debounce_default =\n /*#__PURE__*/\n __webpack_require__.n(debounce_); // EXTERNAL MODULE: external \"element-ui/lib/utils/dom\"\n\n\n var dom_ = __webpack_require__(2); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // EXTERNAL MODULE: external \"vue\"\n\n\n var external_vue_ = __webpack_require__(7);\n\n var external_vue_default =\n /*#__PURE__*/\n __webpack_require__.n(external_vue_); // CONCATENATED MODULE: ./packages/tooltip/src/main.js\n\n /* harmony default export */\n\n\n var main = {\n name: 'ElTooltip',\n mixins: [vue_popper_default.a],\n props: {\n openDelay: {\n type: Number,\n \"default\": 0\n },\n disabled: Boolean,\n manual: Boolean,\n effect: {\n type: String,\n \"default\": 'dark'\n },\n arrowOffset: {\n type: Number,\n \"default\": 0\n },\n popperClass: String,\n content: String,\n visibleArrow: {\n \"default\": true\n },\n transition: {\n type: String,\n \"default\": 'el-fade-in-linear'\n },\n popperOptions: {\n \"default\": function _default() {\n return {\n boundariesPadding: 10,\n gpuAcceleration: false\n };\n }\n },\n enterable: {\n type: Boolean,\n \"default\": true\n },\n hideAfter: {\n type: Number,\n \"default\": 0\n },\n tabindex: {\n type: Number,\n \"default\": 0\n }\n },\n data: function data() {\n return {\n tooltipId: 'el-tooltip-' + Object(util_[\"generateId\"])(),\n timeoutPending: null,\n focusing: false\n };\n },\n beforeCreate: function beforeCreate() {\n var _this = this;\n\n if (this.$isServer) return;\n this.popperVM = new external_vue_default.a({\n data: {\n node: ''\n },\n render: function render(h) {\n return this.node;\n }\n }).$mount();\n this.debounceClose = debounce_default()(200, function () {\n return _this.handleClosePopper();\n });\n },\n render: function render(h) {\n var _this2 = this;\n\n if (this.popperVM) {\n this.popperVM.node = h('transition', {\n attrs: {\n name: this.transition\n },\n on: {\n 'afterLeave': this.doDestroy\n }\n }, [h('div', {\n on: {\n 'mouseleave': function mouseleave() {\n _this2.setExpectedState(false);\n\n _this2.debounceClose();\n },\n 'mouseenter': function mouseenter() {\n _this2.setExpectedState(true);\n }\n },\n ref: 'popper',\n attrs: {\n role: 'tooltip',\n id: this.tooltipId,\n 'aria-hidden': this.disabled || !this.showPopper ? 'true' : 'false'\n },\n directives: [{\n name: 'show',\n value: !this.disabled && this.showPopper\n }],\n 'class': ['el-tooltip__popper', 'is-' + this.effect, this.popperClass]\n }, [this.$slots.content || this.content])]);\n }\n\n var firstElement = this.getFirstElement();\n if (!firstElement) return null;\n var data = firstElement.data = firstElement.data || {};\n data.staticClass = this.addTooltipClass(data.staticClass);\n return firstElement;\n },\n mounted: function mounted() {\n var _this3 = this;\n\n this.referenceElm = this.$el;\n\n if (this.$el.nodeType === 1) {\n this.$el.setAttribute('aria-describedby', this.tooltipId);\n this.$el.setAttribute('tabindex', this.tabindex);\n Object(dom_[\"on\"])(this.referenceElm, 'mouseenter', this.show);\n Object(dom_[\"on\"])(this.referenceElm, 'mouseleave', this.hide);\n Object(dom_[\"on\"])(this.referenceElm, 'focus', function () {\n if (!_this3.$slots[\"default\"] || !_this3.$slots[\"default\"].length) {\n _this3.handleFocus();\n\n return;\n }\n\n var instance = _this3.$slots[\"default\"][0].componentInstance;\n\n if (instance && instance.focus) {\n instance.focus();\n } else {\n _this3.handleFocus();\n }\n });\n Object(dom_[\"on\"])(this.referenceElm, 'blur', this.handleBlur);\n Object(dom_[\"on\"])(this.referenceElm, 'click', this.removeFocusing);\n } // fix issue https://github.com/ElemeFE/element/issues/14424\n\n\n if (this.value && this.popperVM) {\n this.popperVM.$nextTick(function () {\n if (_this3.value) {\n _this3.updatePopper();\n }\n });\n }\n },\n watch: {\n focusing: function focusing(val) {\n if (val) {\n Object(dom_[\"addClass\"])(this.referenceElm, 'focusing');\n } else {\n Object(dom_[\"removeClass\"])(this.referenceElm, 'focusing');\n }\n }\n },\n methods: {\n show: function show() {\n this.setExpectedState(true);\n this.handleShowPopper();\n },\n hide: function hide() {\n this.setExpectedState(false);\n this.debounceClose();\n },\n handleFocus: function handleFocus() {\n this.focusing = true;\n this.show();\n },\n handleBlur: function handleBlur() {\n this.focusing = false;\n this.hide();\n },\n removeFocusing: function removeFocusing() {\n this.focusing = false;\n },\n addTooltipClass: function addTooltipClass(prev) {\n if (!prev) {\n return 'el-tooltip';\n } else {\n return 'el-tooltip ' + prev.replace('el-tooltip', '');\n }\n },\n handleShowPopper: function handleShowPopper() {\n var _this4 = this;\n\n if (!this.expectedState || this.manual) return;\n clearTimeout(this.timeout);\n this.timeout = setTimeout(function () {\n _this4.showPopper = true;\n }, this.openDelay);\n\n if (this.hideAfter > 0) {\n this.timeoutPending = setTimeout(function () {\n _this4.showPopper = false;\n }, this.hideAfter);\n }\n },\n handleClosePopper: function handleClosePopper() {\n if (this.enterable && this.expectedState || this.manual) return;\n clearTimeout(this.timeout);\n\n if (this.timeoutPending) {\n clearTimeout(this.timeoutPending);\n }\n\n this.showPopper = false;\n\n if (this.disabled) {\n this.doDestroy();\n }\n },\n setExpectedState: function setExpectedState(expectedState) {\n if (expectedState === false) {\n clearTimeout(this.timeoutPending);\n }\n\n this.expectedState = expectedState;\n },\n getFirstElement: function getFirstElement() {\n var slots = this.$slots[\"default\"];\n if (!Array.isArray(slots)) return null;\n var element = null;\n\n for (var index = 0; index < slots.length; index++) {\n if (slots[index] && slots[index].tag) {\n element = slots[index];\n break;\n }\n\n ;\n }\n\n return element;\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.popperVM && this.popperVM.$destroy();\n },\n destroyed: function destroyed() {\n var reference = this.referenceElm;\n\n if (reference.nodeType === 1) {\n Object(dom_[\"off\"])(reference, 'mouseenter', this.show);\n Object(dom_[\"off\"])(reference, 'mouseleave', this.hide);\n Object(dom_[\"off\"])(reference, 'focus', this.handleFocus);\n Object(dom_[\"off\"])(reference, 'blur', this.handleBlur);\n Object(dom_[\"off\"])(reference, 'click', this.removeFocusing);\n }\n }\n }; // CONCATENATED MODULE: ./packages/tooltip/index.js\n\n /* istanbul ignore next */\n\n main.install = function (Vue) {\n Vue.component(main.name, main);\n };\n /* harmony default export */\n\n\n var tooltip = __webpack_exports__[\"default\"] = main;\n /***/\n },\n\n /***/\n 19:\n /***/\n function _(module, exports) {\n module.exports = require(\"throttle-debounce/debounce\");\n /***/\n },\n\n /***/\n 2:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/dom\");\n /***/\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 5:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/vue-popper\");\n /***/\n },\n\n /***/\n 7:\n /***/\n function _(module, exports) {\n module.exports = require(\"vue\");\n /***/\n }\n /******/\n\n});","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n/**\n* @license\n* Lodash <https://lodash.com/>\n* Copyright JS Foundation and other contributors <https://js.foundation/>\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/*eslint-disable*/\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.10';\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.7976931348623157e308,\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 À: 'A',\n Ã: 'A',\n Â: 'A',\n Ã: 'A',\n Ä: 'A',\n Ã…: 'A',\n à : 'a',\n á: 'a',\n â: 'a',\n ã: 'a',\n ä: 'a',\n Ã¥: 'a',\n Ç: 'C',\n ç: 'c',\n Ã: 'D',\n ð: 'd',\n È: 'E',\n É: 'E',\n Ê: 'E',\n Ë: 'E',\n è: 'e',\n é: 'e',\n ê: 'e',\n ë: 'e',\n ÃŒ: 'I',\n Ã: 'I',\n ÃŽ: 'I',\n Ã: 'I',\n ì: 'i',\n Ã: 'i',\n î: 'i',\n ï: 'i',\n Ñ: 'N',\n ñ: 'n',\n Ã’: 'O',\n Ó: 'O',\n Ô: 'O',\n Õ: 'O',\n Ö: 'O',\n Ø: 'O',\n ò: 'o',\n ó: 'o',\n ô: 'o',\n õ: 'o',\n ö: 'o',\n ø: 'o',\n Ù: 'U',\n Ú: 'U',\n Û: 'U',\n Ãœ: 'U',\n ù: 'u',\n ú: 'u',\n û: 'u',\n ü: 'u',\n Ã: 'Y',\n ý: 'y',\n ÿ: 'y',\n Æ: 'Ae',\n æ: 'ae',\n Þ: 'Th',\n þ: 'th',\n ß: 'ss',\n // Latin Extended-A block.\n Ä€: 'A',\n Ä‚: 'A',\n Ä„: 'A',\n Ä: 'a',\n ă: 'a',\n Ä…: 'a',\n Ć: 'C',\n Ĉ: 'C',\n ÄŠ: 'C',\n ÄŒ: 'C',\n ć: 'c',\n ĉ: 'c',\n Ä‹: 'c',\n Ä: 'c',\n ÄŽ: 'D',\n Ä: 'D',\n Ä: 'd',\n Ä‘: 'd',\n Ä’: 'E',\n Ä”: 'E',\n Ä–: 'E',\n Ę: 'E',\n Äš: 'E',\n Ä“: 'e',\n Ä•: 'e',\n Ä—: 'e',\n Ä™: 'e',\n Ä›: 'e',\n Äœ: 'G',\n Äž: 'G',\n Ä : 'G',\n Ä¢: 'G',\n Ä: 'g',\n ÄŸ: 'g',\n Ä¡: 'g',\n Ä£: 'g',\n Ĥ: 'H',\n Ħ: 'H',\n Ä¥: 'h',\n ħ: 'h',\n Ĩ: 'I',\n Ī: 'I',\n Ĭ: 'I',\n Ä®: 'I',\n Ä°: 'I',\n Ä©: 'i',\n Ä«: 'i',\n Ä: 'i',\n į: 'i',\n ı: 'i',\n Ä´: 'J',\n ĵ: 'j',\n Ķ: 'K',\n Ä·: 'k',\n ĸ: 'k',\n Ĺ: 'L',\n Ä»: 'L',\n Ľ: 'L',\n Ä¿: 'L',\n Å: 'L',\n ĺ: 'l',\n ļ: 'l',\n ľ: 'l',\n Å€: 'l',\n Å‚: 'l',\n Ń: 'N',\n Å…: 'N',\n Ň: 'N',\n ÅŠ: 'N',\n Å„: 'n',\n ņ: 'n',\n ň: 'n',\n Å‹: 'n',\n ÅŒ: 'O',\n ÅŽ: 'O',\n Å: 'O',\n Å: 'o',\n Å: 'o',\n Å‘: 'o',\n Å”: 'R',\n Å–: 'R',\n Ř: 'R',\n Å•: 'r',\n Å—: 'r',\n Å™: 'r',\n Åš: 'S',\n Åœ: 'S',\n Åž: 'S',\n Å : 'S',\n Å›: 's',\n Å: 's',\n ÅŸ: 's',\n Å¡: 's',\n Å¢: 'T',\n Ť: 'T',\n Ŧ: 'T',\n Å£: 't',\n Å¥: 't',\n ŧ: 't',\n Ũ: 'U',\n Ū: 'U',\n Ŭ: 'U',\n Å®: 'U',\n Å°: 'U',\n Ų: 'U',\n Å©: 'u',\n Å«: 'u',\n Å: 'u',\n ů: 'u',\n ű: 'u',\n ų: 'u',\n Å´: 'W',\n ŵ: 'w',\n Ŷ: 'Y',\n Å·: 'y',\n Ÿ: 'Y',\n Ź: 'Z',\n Å»: 'Z',\n Ž: 'Z',\n ź: 'z',\n ż: 'z',\n ž: 'z',\n IJ: 'IJ',\n ij: 'ij',\n Å’: 'Oe',\n Å“: 'oe',\n ʼn: \"'n\",\n Å¿: '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 * Gets the value at `key`, unless `key` is \"__proto__\".\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 return key == '__proto__' ? undefined : object[key];\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 return result;\n }\n\n if (isMap(value)) {\n value.forEach(function (subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\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 === 'undefined' ? 'undefined' : _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 if (isObject(srcValue)) {\n stack || (stack = new Stack());\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) || srcIndex && 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) {\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 === 'undefined' ? 'undefined' : _typeof(value);\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 === 'undefined' ? 'undefined' : _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 === 'undefined' ? 'undefined' : _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 === 'undefined' ? 'undefined' : _typeof(value);\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 * 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 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 === 'undefined' ? 'undefined' : _typeof(value);\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 === 'undefined' ? 'undefined' : _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 === 'undefined' ? 'undefined' : _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 mini 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\n var sourceURL = '//# sourceURL=' + ('sourceURL' in options ? options.sourceURL : '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\n var 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 mini 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 names = realNames[key] || (realNames[key] = []);\n names.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(undefined);","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 97);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 97:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-button-group\"\n }, [_vm._t(\"default\")], 2);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0&\n // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n var button_groupvue_type_script_lang_js_ = {\n name: 'ElButtonGroup'\n }; // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_button_groupvue_type_script_lang_js_ = button_groupvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/button/src/button-group.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_button_groupvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/button/src/button-group.vue\";\n /* harmony default export */\n\n var button_group = component.exports; // CONCATENATED MODULE: ./packages/button-group/index.js\n\n /* istanbul ignore next */\n\n button_group.install = function (Vue) {\n Vue.component(button_group.name, button_group);\n };\n /* harmony default export */\n\n\n var packages_button_group = __webpack_exports__[\"default\"] = button_group;\n /***/\n }\n /******/\n\n});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 93);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 4:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n },\n\n /***/\n 93:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-checkbox-group\",\n attrs: {\n role: \"group\",\n \"aria-label\": \"checkbox-group\"\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var checkbox_groupvue_type_script_lang_js_ = {\n name: 'ElCheckboxGroup',\n componentName: 'ElCheckboxGroup',\n mixins: [emitter_default.a],\n inject: {\n elFormItem: {\n \"default\": ''\n }\n },\n props: {\n value: {},\n disabled: Boolean,\n min: Number,\n max: Number,\n size: String,\n fill: String,\n textColor: String\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n checkboxGroupSize: function checkboxGroupSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n }\n },\n watch: {\n value: function value(_value) {\n this.dispatch('ElFormItem', 'el.form.change', [_value]);\n }\n }\n }; // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_checkbox_groupvue_type_script_lang_js_ = checkbox_groupvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_checkbox_groupvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/checkbox/src/checkbox-group.vue\";\n /* harmony default export */\n\n var checkbox_group = component.exports; // CONCATENATED MODULE: ./packages/checkbox-group/index.js\n\n /* istanbul ignore next */\n\n checkbox_group.install = function (Vue) {\n Vue.component(checkbox_group.name, checkbox_group);\n };\n /* harmony default export */\n\n\n var packages_checkbox_group = __webpack_exports__[\"default\"] = checkbox_group;\n /***/\n }\n /******/\n\n});","'use strict';\n\nexports.__esModule = true;\n\nexports[\"default\"] = function (instance, callback) {\n var speed = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var once = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n if (!instance || !callback) throw new Error('instance & callback is required');\n var called = false;\n\n var afterLeaveCallback = function afterLeaveCallback() {\n if (called) return;\n called = true;\n\n if (callback) {\n callback.apply(null, arguments);\n }\n };\n\n if (once) {\n instance.$once('after-leave', afterLeaveCallback);\n } else {\n instance.$on('after-leave', afterLeaveCallback);\n }\n\n setTimeout(function () {\n afterLeaveCallback();\n }, speed + 100);\n};\n\n;\n/**\n * Bind after-leave event for vue instance. Make sure after-leave is called in any browsers.\n *\n * @param {Vue} instance Vue instance.\n * @param {Function} callback callback of after-leave event\n * @param {Number} speed the speed of transition, default value is 300ms\n * @param {Boolean} once weather bind after-leave once. default value is false.\n */","function _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof2(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 62);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 10:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/input\");\n /***/\n },\n\n /***/\n 12:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/clickoutside\");\n /***/\n },\n\n /***/\n 15:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/scrollbar\");\n /***/\n },\n\n /***/\n 16:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/resize-event\");\n /***/\n },\n\n /***/\n 19:\n /***/\n function _(module, exports) {\n module.exports = require(\"throttle-debounce/debounce\");\n /***/\n },\n\n /***/\n 21:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/shared\");\n /***/\n },\n\n /***/\n 22:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/focus\");\n /***/\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 31:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/scroll-into-view\");\n /***/\n },\n\n /***/\n 33:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\"; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=template&id=7a44c642&\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-select-dropdown__item\",\n \"class\": {\n selected: _vm.itemSelected,\n \"is-disabled\": _vm.disabled || _vm.groupDisabled || _vm.limitReached,\n hover: _vm.hover\n },\n on: {\n mouseenter: _vm.hoverItem,\n click: function click($event) {\n $event.stopPropagation();\n return _vm.selectOptionClick($event);\n }\n }\n }, [_vm._t(\"default\", [_c(\"span\", [_vm._v(_vm._s(_vm.currentLabel))])])], 2);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=7a44c642&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js&\n\n\n var _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n }; //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var optionvue_type_script_lang_js_ = {\n mixins: [emitter_default.a],\n name: 'ElOption',\n componentName: 'ElOption',\n inject: ['select'],\n props: {\n value: {\n required: true\n },\n label: [String, Number],\n created: Boolean,\n disabled: {\n type: Boolean,\n \"default\": false\n }\n },\n data: function data() {\n return {\n index: -1,\n groupDisabled: false,\n visible: true,\n hitState: false,\n hover: false\n };\n },\n computed: {\n isObject: function isObject() {\n return Object.prototype.toString.call(this.value).toLowerCase() === '[object object]';\n },\n currentLabel: function currentLabel() {\n return this.label || (this.isObject ? '' : this.value);\n },\n currentValue: function currentValue() {\n return this.value || this.label || '';\n },\n itemSelected: function itemSelected() {\n if (!this.select.multiple) {\n return this.isEqual(this.value, this.select.value);\n } else {\n return this.contains(this.select.value, this.value);\n }\n },\n limitReached: function limitReached() {\n if (this.select.multiple) {\n return !this.itemSelected && (this.select.value || []).length >= this.select.multipleLimit && this.select.multipleLimit > 0;\n } else {\n return false;\n }\n }\n },\n watch: {\n currentLabel: function currentLabel() {\n if (!this.created && !this.select.remote) this.dispatch('ElSelect', 'setSelected');\n },\n value: function value(val, oldVal) {\n var _select = this.select,\n remote = _select.remote,\n valueKey = _select.valueKey;\n\n if (!this.created && !remote) {\n if (valueKey && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && (typeof oldVal === 'undefined' ? 'undefined' : _typeof(oldVal)) === 'object' && val[valueKey] === oldVal[valueKey]) {\n return;\n }\n\n this.dispatch('ElSelect', 'setSelected');\n }\n }\n },\n methods: {\n isEqual: function isEqual(a, b) {\n if (!this.isObject) {\n return a === b;\n } else {\n var valueKey = this.select.valueKey;\n return Object(util_[\"getValueByPath\"])(a, valueKey) === Object(util_[\"getValueByPath\"])(b, valueKey);\n }\n },\n contains: function contains() {\n var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var target = arguments[1];\n\n if (!this.isObject) {\n return arr && arr.indexOf(target) > -1;\n } else {\n var valueKey = this.select.valueKey;\n return arr && arr.some(function (item) {\n return Object(util_[\"getValueByPath\"])(item, valueKey) === Object(util_[\"getValueByPath\"])(target, valueKey);\n });\n }\n },\n handleGroupDisabled: function handleGroupDisabled(val) {\n this.groupDisabled = val;\n },\n hoverItem: function hoverItem() {\n if (!this.disabled && !this.groupDisabled) {\n this.select.hoverIndex = this.select.options.indexOf(this);\n }\n },\n selectOptionClick: function selectOptionClick() {\n if (this.disabled !== true && this.groupDisabled !== true) {\n this.dispatch('ElSelect', 'handleOptionClick', [this, true]);\n }\n },\n queryChange: function queryChange(query) {\n this.visible = new RegExp(Object(util_[\"escapeRegexpString\"])(query), 'i').test(this.currentLabel) || this.created;\n\n if (!this.visible) {\n this.select.filteredOptionsCount--;\n }\n }\n },\n created: function created() {\n this.select.options.push(this);\n this.select.cachedOptions.push(this);\n this.select.optionsCount++;\n this.select.filteredOptionsCount++;\n this.$on('queryChange', this.queryChange);\n this.$on('handleGroupDisabled', this.handleGroupDisabled);\n },\n beforeDestroy: function beforeDestroy() {\n var _select2 = this.select,\n selected = _select2.selected,\n multiple = _select2.multiple;\n var selectedOptions = multiple ? selected : [selected];\n var index = this.select.cachedOptions.indexOf(this);\n var selectedIndex = selectedOptions.indexOf(this); // if option is not selected, remove it from cache\n\n if (index > -1 && selectedIndex < 0) {\n this.select.cachedOptions.splice(index, 1);\n }\n\n this.select.onOptionDestroy(this.select.options.indexOf(this));\n }\n }; // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_optionvue_type_script_lang_js_ = optionvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/select/src/option.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_optionvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/select/src/option.vue\";\n /* harmony default export */\n\n var src_option = __webpack_exports__[\"a\"] = component.exports;\n /***/\n },\n\n /***/\n 38:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/tag\");\n /***/\n },\n\n /***/\n 4:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n },\n\n /***/\n 5:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/vue-popper\");\n /***/\n },\n\n /***/\n 6:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/locale\");\n /***/\n },\n\n /***/\n 62:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=template&id=0e4aade6&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n directives: [{\n name: \"clickoutside\",\n rawName: \"v-clickoutside\",\n value: _vm.handleClose,\n expression: \"handleClose\"\n }],\n staticClass: \"el-select\",\n \"class\": [_vm.selectSize ? \"el-select--\" + _vm.selectSize : \"\"],\n on: {\n click: function click($event) {\n $event.stopPropagation();\n return _vm.toggleMenu($event);\n }\n }\n }, [_vm.multiple ? _c(\"div\", {\n ref: \"tags\",\n staticClass: \"el-select__tags\",\n style: {\n \"max-width\": _vm.inputWidth - 32 + \"px\",\n width: \"100%\"\n }\n }, [_vm.collapseTags && _vm.selected.length ? _c(\"span\", [_c(\"el-tag\", {\n attrs: {\n closable: !_vm.selectDisabled,\n size: _vm.collapseTagSize,\n hit: _vm.selected[0].hitState,\n type: \"info\",\n \"disable-transitions\": \"\"\n },\n on: {\n close: function close($event) {\n _vm.deleteTag($event, _vm.selected[0]);\n }\n }\n }, [_c(\"span\", {\n staticClass: \"el-select__tags-text\"\n }, [_vm._v(_vm._s(_vm.selected[0].currentLabel))])]), _vm.selected.length > 1 ? _c(\"el-tag\", {\n attrs: {\n closable: false,\n size: _vm.collapseTagSize,\n type: \"info\",\n \"disable-transitions\": \"\"\n }\n }, [_c(\"span\", {\n staticClass: \"el-select__tags-text\"\n }, [_vm._v(\"+ \" + _vm._s(_vm.selected.length - 1))])]) : _vm._e()], 1) : _vm._e(), !_vm.collapseTags ? _c(\"transition-group\", {\n on: {\n \"after-leave\": _vm.resetInputHeight\n }\n }, _vm._l(_vm.selected, function (item) {\n return _c(\"el-tag\", {\n key: _vm.getValueKey(item),\n attrs: {\n closable: !_vm.selectDisabled,\n size: _vm.collapseTagSize,\n hit: item.hitState,\n type: \"info\",\n \"disable-transitions\": \"\"\n },\n on: {\n close: function close($event) {\n _vm.deleteTag($event, item);\n }\n }\n }, [_c(\"span\", {\n staticClass: \"el-select__tags-text\"\n }, [_vm._v(_vm._s(item.currentLabel))])]);\n }), 1) : _vm._e(), _vm.filterable ? _c(\"input\", {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.query,\n expression: \"query\"\n }],\n ref: \"input\",\n staticClass: \"el-select__input\",\n \"class\": [_vm.selectSize ? \"is-\" + _vm.selectSize : \"\"],\n style: {\n \"flex-grow\": \"1\",\n width: _vm.inputLength / (_vm.inputWidth - 32) + \"%\",\n \"max-width\": _vm.inputWidth - 42 + \"px\"\n },\n attrs: {\n type: \"text\",\n disabled: _vm.selectDisabled,\n autocomplete: _vm.autoComplete || _vm.autocomplete\n },\n domProps: {\n value: _vm.query\n },\n on: {\n focus: _vm.handleFocus,\n blur: function blur($event) {\n _vm.softFocus = false;\n },\n keyup: _vm.managePlaceholder,\n keydown: [_vm.resetInputState, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.preventDefault();\n\n _vm.handleNavigate(\"next\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.preventDefault();\n\n _vm.handleNavigate(\"prev\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.selectOption($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"esc\", 27, $event.key, [\"Esc\", \"Escape\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.visible = false;\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"delete\", [8, 46], $event.key, [\"Backspace\", \"Delete\", \"Del\"])) {\n return null;\n }\n\n return _vm.deletePrevTag($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) {\n return null;\n }\n\n _vm.visible = false;\n }],\n compositionstart: _vm.handleComposition,\n compositionupdate: _vm.handleComposition,\n compositionend: _vm.handleComposition,\n input: [function ($event) {\n if ($event.target.composing) {\n return;\n }\n\n _vm.query = $event.target.value;\n }, _vm.debouncedQueryChange]\n }\n }) : _vm._e()], 1) : _vm._e(), _c(\"el-input\", {\n ref: \"reference\",\n \"class\": {\n \"is-focus\": _vm.visible\n },\n attrs: {\n type: \"text\",\n placeholder: _vm.currentPlaceholder,\n name: _vm.name,\n id: _vm.id,\n autocomplete: _vm.autoComplete || _vm.autocomplete,\n size: _vm.selectSize,\n disabled: _vm.selectDisabled,\n readonly: _vm.readonly,\n \"validate-event\": false,\n tabindex: _vm.multiple && _vm.filterable ? \"-1\" : null\n },\n on: {\n focus: _vm.handleFocus,\n blur: _vm.handleBlur,\n input: _vm.debouncedOnInputChange,\n compositionstart: _vm.handleComposition,\n compositionupdate: _vm.handleComposition,\n compositionend: _vm.handleComposition\n },\n nativeOn: {\n keydown: [function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n\n _vm.handleNavigate(\"next\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n\n _vm.handleNavigate(\"prev\");\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.selectOption($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"esc\", 27, $event.key, [\"Esc\", \"Escape\"])) {\n return null;\n }\n\n $event.stopPropagation();\n $event.preventDefault();\n _vm.visible = false;\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) {\n return null;\n }\n\n _vm.visible = false;\n }],\n mouseenter: function mouseenter($event) {\n _vm.inputHovering = true;\n },\n mouseleave: function mouseleave($event) {\n _vm.inputHovering = false;\n }\n },\n model: {\n value: _vm.selectedLabel,\n callback: function callback($$v) {\n _vm.selectedLabel = $$v;\n },\n expression: \"selectedLabel\"\n }\n }, [_vm.$slots.prefix ? _c(\"template\", {\n slot: \"prefix\"\n }, [_vm._t(\"prefix\")], 2) : _vm._e(), _c(\"template\", {\n slot: \"suffix\"\n }, [_c(\"i\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.showClose,\n expression: \"!showClose\"\n }],\n \"class\": [\"el-select__caret\", \"el-input__icon\", \"el-icon-\" + _vm.iconClass]\n }), _vm.showClose ? _c(\"i\", {\n staticClass: \"el-select__caret el-input__icon el-icon-circle-close\",\n on: {\n click: _vm.handleClearClick\n }\n }) : _vm._e()])], 2), _c(\"transition\", {\n attrs: {\n name: \"el-zoom-in-top\"\n },\n on: {\n \"before-enter\": _vm.handleMenuEnter,\n \"after-leave\": _vm.doDestroy\n }\n }, [_c(\"el-select-menu\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible && _vm.emptyText !== false,\n expression: \"visible && emptyText !== false\"\n }],\n ref: \"popper\",\n attrs: {\n \"append-to-body\": _vm.popperAppendToBody\n }\n }, [_c(\"el-scrollbar\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.options.length > 0 && !_vm.loading,\n expression: \"options.length > 0 && !loading\"\n }],\n ref: \"scrollbar\",\n \"class\": {\n \"is-empty\": !_vm.allowCreate && _vm.query && _vm.filteredOptionsCount === 0\n },\n attrs: {\n tag: \"ul\",\n \"wrap-class\": \"el-select-dropdown__wrap\",\n \"view-class\": \"el-select-dropdown__list\"\n }\n }, [_vm.showNewOption ? _c(\"el-option\", {\n attrs: {\n value: _vm.query,\n created: \"\"\n }\n }) : _vm._e(), _vm._t(\"default\")], 2), _vm.emptyText && (!_vm.allowCreate || _vm.loading || _vm.allowCreate && _vm.options.length === 0) ? [_vm.$slots.empty ? _vm._t(\"empty\") : _c(\"p\", {\n staticClass: \"el-select-dropdown__empty\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.emptyText) + \"\\n \")])] : _vm._e()], 2)], 1)], 1);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=template&id=0e4aade6&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/focus\"\n\n\n var focus_ = __webpack_require__(22);\n\n var focus_default =\n /*#__PURE__*/\n __webpack_require__.n(focus_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/locale\"\n\n\n var locale_ = __webpack_require__(6);\n\n var locale_default =\n /*#__PURE__*/\n __webpack_require__.n(locale_); // EXTERNAL MODULE: external \"element-ui/lib/input\"\n\n\n var input_ = __webpack_require__(10);\n\n var input_default =\n /*#__PURE__*/\n __webpack_require__.n(input_); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748&\n\n\n var select_dropdownvue_type_template_id_06828748_render = function select_dropdownvue_type_template_id_06828748_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n staticClass: \"el-select-dropdown el-popper\",\n \"class\": [{\n \"is-multiple\": _vm.$parent.multiple\n }, _vm.popperClass],\n style: {\n minWidth: _vm.minWidth\n }\n }, [_vm._t(\"default\")], 2);\n };\n\n var select_dropdownvue_type_template_id_06828748_staticRenderFns = [];\n select_dropdownvue_type_template_id_06828748_render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=template&id=06828748&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/vue-popper\"\n\n var vue_popper_ = __webpack_require__(5);\n\n var vue_popper_default =\n /*#__PURE__*/\n __webpack_require__.n(vue_popper_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select-dropdown.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var select_dropdownvue_type_script_lang_js_ = {\n name: 'ElSelectDropdown',\n componentName: 'ElSelectDropdown',\n mixins: [vue_popper_default.a],\n props: {\n placement: {\n \"default\": 'bottom-start'\n },\n boundariesPadding: {\n \"default\": 0\n },\n popperOptions: {\n \"default\": function _default() {\n return {\n gpuAcceleration: false\n };\n }\n },\n visibleArrow: {\n \"default\": true\n },\n appendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n data: function data() {\n return {\n minWidth: ''\n };\n },\n computed: {\n popperClass: function popperClass() {\n return this.$parent.popperClass;\n }\n },\n watch: {\n '$parent.inputWidth': function $parentInputWidth() {\n this.minWidth = this.$parent.$el.getBoundingClientRect().width + 'px';\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n this.referenceElm = this.$parent.$refs.reference.$el;\n this.$parent.popperElm = this.popperElm = this.$el;\n this.$on('updatePopper', function () {\n if (_this.$parent.visible) _this.updatePopper();\n });\n this.$on('destroyPopper', this.destroyPopper);\n }\n }; // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_select_dropdownvue_type_script_lang_js_ = select_dropdownvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/select/src/select-dropdown.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_select_dropdownvue_type_script_lang_js_, select_dropdownvue_type_template_id_06828748_render, select_dropdownvue_type_template_id_06828748_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/select/src/select-dropdown.vue\";\n /* harmony default export */\n\n var select_dropdown = component.exports; // EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules\n\n var src_option = __webpack_require__(33); // EXTERNAL MODULE: external \"element-ui/lib/tag\"\n\n\n var tag_ = __webpack_require__(38);\n\n var tag_default =\n /*#__PURE__*/\n __webpack_require__.n(tag_); // EXTERNAL MODULE: external \"element-ui/lib/scrollbar\"\n\n\n var scrollbar_ = __webpack_require__(15);\n\n var scrollbar_default =\n /*#__PURE__*/\n __webpack_require__.n(scrollbar_); // EXTERNAL MODULE: external \"throttle-debounce/debounce\"\n\n\n var debounce_ = __webpack_require__(19);\n\n var debounce_default =\n /*#__PURE__*/\n __webpack_require__.n(debounce_); // EXTERNAL MODULE: external \"element-ui/lib/utils/clickoutside\"\n\n\n var clickoutside_ = __webpack_require__(12);\n\n var clickoutside_default =\n /*#__PURE__*/\n __webpack_require__.n(clickoutside_); // EXTERNAL MODULE: external \"element-ui/lib/utils/resize-event\"\n\n\n var resize_event_ = __webpack_require__(16); // EXTERNAL MODULE: external \"element-ui/lib/utils/scroll-into-view\"\n\n\n var scroll_into_view_ = __webpack_require__(31);\n\n var scroll_into_view_default =\n /*#__PURE__*/\n __webpack_require__.n(scroll_into_view_); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // CONCATENATED MODULE: ./packages/select/src/navigation-mixin.js\n\n /* harmony default export */\n\n\n var navigation_mixin = {\n data: function data() {\n return {\n hoverOption: -1\n };\n },\n computed: {\n optionsAllDisabled: function optionsAllDisabled() {\n return this.options.filter(function (option) {\n return option.visible;\n }).every(function (option) {\n return option.disabled;\n });\n }\n },\n watch: {\n hoverIndex: function hoverIndex(val) {\n var _this = this;\n\n if (typeof val === 'number' && val > -1) {\n this.hoverOption = this.options[val] || {};\n }\n\n this.options.forEach(function (option) {\n option.hover = _this.hoverOption === option;\n });\n }\n },\n methods: {\n navigateOptions: function navigateOptions(direction) {\n var _this2 = this;\n\n if (!this.visible) {\n this.visible = true;\n return;\n }\n\n if (this.options.length === 0 || this.filteredOptionsCount === 0) return;\n\n if (!this.optionsAllDisabled) {\n if (direction === 'next') {\n this.hoverIndex++;\n\n if (this.hoverIndex === this.options.length) {\n this.hoverIndex = 0;\n }\n } else if (direction === 'prev') {\n this.hoverIndex--;\n\n if (this.hoverIndex < 0) {\n this.hoverIndex = this.options.length - 1;\n }\n }\n\n var option = this.options[this.hoverIndex];\n\n if (option.disabled === true || option.groupDisabled === true || !option.visible) {\n this.navigateOptions(direction);\n }\n\n this.$nextTick(function () {\n return _this2.scrollToOption(_this2.hoverOption);\n });\n }\n }\n }\n }; // EXTERNAL MODULE: external \"element-ui/lib/utils/shared\"\n\n var shared_ = __webpack_require__(21); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/select.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var selectvue_type_script_lang_js_ = {\n mixins: [emitter_default.a, locale_default.a, focus_default()('reference'), navigation_mixin],\n name: 'ElSelect',\n componentName: 'ElSelect',\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n provide: function provide() {\n return {\n 'select': this\n };\n },\n computed: {\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n readonly: function readonly() {\n return !this.filterable || this.multiple || !Object(util_[\"isIE\"])() && !Object(util_[\"isEdge\"])() && !this.visible;\n },\n showClose: function showClose() {\n var hasValue = this.multiple ? Array.isArray(this.value) && this.value.length > 0 : this.value !== undefined && this.value !== null && this.value !== '';\n var criteria = this.clearable && !this.selectDisabled && this.inputHovering && hasValue;\n return criteria;\n },\n iconClass: function iconClass() {\n return this.remote && this.filterable ? '' : this.visible ? 'arrow-up is-reverse' : 'arrow-up';\n },\n debounce: function debounce() {\n return this.remote ? 300 : 0;\n },\n emptyText: function emptyText() {\n if (this.loading) {\n return this.loadingText || this.t('el.select.loading');\n } else {\n if (this.remote && this.query === '' && this.options.length === 0) return false;\n\n if (this.filterable && this.query && this.options.length > 0 && this.filteredOptionsCount === 0) {\n return this.noMatchText || this.t('el.select.noMatch');\n }\n\n if (this.options.length === 0) {\n return this.noDataText || this.t('el.select.noData');\n }\n }\n\n return null;\n },\n showNewOption: function showNewOption() {\n var _this = this;\n\n var hasExistingOption = this.options.filter(function (option) {\n return !option.created;\n }).some(function (option) {\n return option.currentLabel === _this.query;\n });\n return this.filterable && this.allowCreate && this.query !== '' && !hasExistingOption;\n },\n selectSize: function selectSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n selectDisabled: function selectDisabled() {\n return this.disabled || (this.elForm || {}).disabled;\n },\n collapseTagSize: function collapseTagSize() {\n return ['small', 'mini'].indexOf(this.selectSize) > -1 ? 'mini' : 'small';\n },\n propPlaceholder: function propPlaceholder() {\n return typeof this.placeholder !== 'undefined' ? this.placeholder : this.t('el.select.placeholder');\n }\n },\n components: {\n ElInput: input_default.a,\n ElSelectMenu: select_dropdown,\n ElOption: src_option[\"a\"\n /* default */\n ],\n ElTag: tag_default.a,\n ElScrollbar: scrollbar_default.a\n },\n directives: {\n Clickoutside: clickoutside_default.a\n },\n props: {\n name: String,\n id: String,\n value: {\n required: true\n },\n autocomplete: {\n type: String,\n \"default\": 'off'\n },\n\n /** @Deprecated in next major version */\n autoComplete: {\n type: String,\n validator: function validator(val) {\n false && false;\n return true;\n }\n },\n automaticDropdown: Boolean,\n size: String,\n disabled: Boolean,\n clearable: Boolean,\n filterable: Boolean,\n allowCreate: Boolean,\n loading: Boolean,\n popperClass: String,\n remote: Boolean,\n loadingText: String,\n noMatchText: String,\n noDataText: String,\n remoteMethod: Function,\n filterMethod: Function,\n multiple: Boolean,\n multipleLimit: {\n type: Number,\n \"default\": 0\n },\n placeholder: {\n type: String,\n required: false\n },\n defaultFirstOption: Boolean,\n reserveKeyword: Boolean,\n valueKey: {\n type: String,\n \"default\": 'value'\n },\n collapseTags: Boolean,\n popperAppendToBody: {\n type: Boolean,\n \"default\": true\n }\n },\n data: function data() {\n return {\n options: [],\n cachedOptions: [],\n createdLabel: null,\n createdSelected: false,\n selected: this.multiple ? [] : {},\n inputLength: 20,\n inputWidth: 0,\n initialInputHeight: 0,\n cachedPlaceHolder: '',\n optionsCount: 0,\n filteredOptionsCount: 0,\n visible: false,\n softFocus: false,\n selectedLabel: '',\n hoverIndex: -1,\n query: '',\n previousQuery: null,\n inputHovering: false,\n currentPlaceholder: '',\n menuVisibleOnFocus: false,\n isOnComposition: false,\n isSilentBlur: false\n };\n },\n watch: {\n selectDisabled: function selectDisabled() {\n var _this2 = this;\n\n this.$nextTick(function () {\n _this2.resetInputHeight();\n });\n },\n propPlaceholder: function propPlaceholder(val) {\n this.cachedPlaceHolder = this.currentPlaceholder = val;\n },\n value: function value(val, oldVal) {\n if (this.multiple) {\n this.resetInputHeight();\n\n if (val && val.length > 0 || this.$refs.input && this.query !== '') {\n this.currentPlaceholder = '';\n } else {\n this.currentPlaceholder = this.cachedPlaceHolder;\n }\n\n if (this.filterable && !this.reserveKeyword) {\n this.query = '';\n this.handleQueryChange(this.query);\n }\n }\n\n this.setSelected();\n\n if (this.filterable && !this.multiple) {\n this.inputLength = 20;\n }\n\n if (!Object(util_[\"valueEquals\"])(val, oldVal)) {\n this.dispatch('ElFormItem', 'el.form.change', val);\n }\n },\n visible: function visible(val) {\n var _this3 = this;\n\n if (!val) {\n this.broadcast('ElSelectDropdown', 'destroyPopper');\n\n if (this.$refs.input) {\n this.$refs.input.blur();\n }\n\n this.query = '';\n this.previousQuery = null;\n this.selectedLabel = '';\n this.inputLength = 20;\n this.menuVisibleOnFocus = false;\n this.resetHoverIndex();\n this.$nextTick(function () {\n if (_this3.$refs.input && _this3.$refs.input.value === '' && _this3.selected.length === 0) {\n _this3.currentPlaceholder = _this3.cachedPlaceHolder;\n }\n });\n\n if (!this.multiple) {\n if (this.selected) {\n if (this.filterable && this.allowCreate && this.createdSelected && this.createdLabel) {\n this.selectedLabel = this.createdLabel;\n } else {\n this.selectedLabel = this.selected.currentLabel;\n }\n\n if (this.filterable) this.query = this.selectedLabel;\n }\n\n if (this.filterable) {\n this.currentPlaceholder = this.cachedPlaceHolder;\n }\n }\n } else {\n this.broadcast('ElSelectDropdown', 'updatePopper');\n\n if (this.filterable) {\n this.query = this.remote ? '' : this.selectedLabel;\n this.handleQueryChange(this.query);\n\n if (this.multiple) {\n this.$refs.input.focus();\n } else {\n if (!this.remote) {\n this.broadcast('ElOption', 'queryChange', '');\n this.broadcast('ElOptionGroup', 'queryChange');\n }\n\n if (this.selectedLabel) {\n this.currentPlaceholder = this.selectedLabel;\n this.selectedLabel = '';\n }\n }\n }\n }\n\n this.$emit('visible-change', val);\n },\n options: function options() {\n var _this4 = this;\n\n if (this.$isServer) return;\n this.$nextTick(function () {\n _this4.broadcast('ElSelectDropdown', 'updatePopper');\n });\n\n if (this.multiple) {\n this.resetInputHeight();\n }\n\n var inputs = this.$el.querySelectorAll('input');\n\n if ([].indexOf.call(inputs, document.activeElement) === -1) {\n this.setSelected();\n }\n\n if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) {\n this.checkDefaultFirstOption();\n }\n }\n },\n methods: {\n handleNavigate: function handleNavigate(direction) {\n if (this.isOnComposition) return;\n this.navigateOptions(direction);\n },\n handleComposition: function handleComposition(event) {\n var _this5 = this;\n\n var text = event.target.value;\n\n if (event.type === 'compositionend') {\n this.isOnComposition = false;\n this.$nextTick(function (_) {\n return _this5.handleQueryChange(text);\n });\n } else {\n var lastCharacter = text[text.length - 1] || '';\n this.isOnComposition = !Object(shared_[\"isKorean\"])(lastCharacter);\n }\n },\n handleQueryChange: function handleQueryChange(val) {\n var _this6 = this;\n\n if (this.previousQuery === val || this.isOnComposition) return;\n\n if (this.previousQuery === null && (typeof this.filterMethod === 'function' || typeof this.remoteMethod === 'function')) {\n this.previousQuery = val;\n return;\n }\n\n this.previousQuery = val;\n this.$nextTick(function () {\n if (_this6.visible) _this6.broadcast('ElSelectDropdown', 'updatePopper');\n });\n this.hoverIndex = -1;\n\n if (this.multiple && this.filterable) {\n this.$nextTick(function () {\n var length = _this6.$refs.input.value.length * 15 + 20;\n _this6.inputLength = _this6.collapseTags ? Math.min(50, length) : length;\n\n _this6.managePlaceholder();\n\n _this6.resetInputHeight();\n });\n }\n\n if (this.remote && typeof this.remoteMethod === 'function') {\n this.hoverIndex = -1;\n this.remoteMethod(val);\n } else if (typeof this.filterMethod === 'function') {\n this.filterMethod(val);\n this.broadcast('ElOptionGroup', 'queryChange');\n } else {\n this.filteredOptionsCount = this.optionsCount;\n this.broadcast('ElOption', 'queryChange', val);\n this.broadcast('ElOptionGroup', 'queryChange');\n }\n\n if (this.defaultFirstOption && (this.filterable || this.remote) && this.filteredOptionsCount) {\n this.checkDefaultFirstOption();\n }\n },\n scrollToOption: function scrollToOption(option) {\n var target = Array.isArray(option) && option[0] ? option[0].$el : option.$el;\n\n if (this.$refs.popper && target) {\n var menu = this.$refs.popper.$el.querySelector('.el-select-dropdown__wrap');\n scroll_into_view_default()(menu, target);\n }\n\n this.$refs.scrollbar && this.$refs.scrollbar.handleScroll();\n },\n handleMenuEnter: function handleMenuEnter() {\n var _this7 = this;\n\n this.$nextTick(function () {\n return _this7.scrollToOption(_this7.selected);\n });\n },\n emitChange: function emitChange(val) {\n if (!Object(util_[\"valueEquals\"])(this.value, val)) {\n this.$emit('change', val);\n }\n },\n getOption: function getOption(value) {\n var option = void 0;\n var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]';\n var isNull = Object.prototype.toString.call(value).toLowerCase() === '[object null]';\n var isUndefined = Object.prototype.toString.call(value).toLowerCase() === '[object undefined]';\n\n for (var i = this.cachedOptions.length - 1; i >= 0; i--) {\n var cachedOption = this.cachedOptions[i];\n var isEqual = isObject ? Object(util_[\"getValueByPath\"])(cachedOption.value, this.valueKey) === Object(util_[\"getValueByPath\"])(value, this.valueKey) : cachedOption.value === value;\n\n if (isEqual) {\n option = cachedOption;\n break;\n }\n }\n\n if (option) return option;\n var label = !isObject && !isNull && !isUndefined ? String(value) : '';\n var newOption = {\n value: value,\n currentLabel: label\n };\n\n if (this.multiple) {\n newOption.hitState = false;\n }\n\n return newOption;\n },\n setSelected: function setSelected() {\n var _this8 = this;\n\n if (!this.multiple) {\n var option = this.getOption(this.value);\n\n if (option.created) {\n this.createdLabel = option.currentLabel;\n this.createdSelected = true;\n } else {\n this.createdSelected = false;\n }\n\n this.selectedLabel = option.currentLabel;\n this.selected = option;\n if (this.filterable) this.query = this.selectedLabel;\n return;\n }\n\n var result = [];\n\n if (Array.isArray(this.value)) {\n this.value.forEach(function (value) {\n result.push(_this8.getOption(value));\n });\n }\n\n this.selected = result;\n this.$nextTick(function () {\n _this8.resetInputHeight();\n });\n },\n handleFocus: function handleFocus(event) {\n if (!this.softFocus) {\n if (this.automaticDropdown || this.filterable) {\n if (this.filterable && !this.visible) {\n this.menuVisibleOnFocus = true;\n }\n\n this.visible = true;\n }\n\n this.$emit('focus', event);\n } else {\n this.softFocus = false;\n }\n },\n blur: function blur() {\n this.visible = false;\n this.$refs.reference.blur();\n },\n handleBlur: function handleBlur(event) {\n var _this9 = this;\n\n setTimeout(function () {\n if (_this9.isSilentBlur) {\n _this9.isSilentBlur = false;\n } else {\n _this9.$emit('blur', event);\n }\n }, 50);\n this.softFocus = false;\n },\n handleClearClick: function handleClearClick(event) {\n this.deleteSelected(event);\n },\n doDestroy: function doDestroy() {\n this.$refs.popper && this.$refs.popper.doDestroy();\n },\n handleClose: function handleClose() {\n this.visible = false;\n },\n toggleLastOptionHitState: function toggleLastOptionHitState(hit) {\n if (!Array.isArray(this.selected)) return;\n var option = this.selected[this.selected.length - 1];\n if (!option) return;\n\n if (hit === true || hit === false) {\n option.hitState = hit;\n return hit;\n }\n\n option.hitState = !option.hitState;\n return option.hitState;\n },\n deletePrevTag: function deletePrevTag(e) {\n if (e.target.value.length <= 0 && !this.toggleLastOptionHitState()) {\n var value = this.value.slice();\n value.pop();\n this.$emit('input', value);\n this.emitChange(value);\n }\n },\n managePlaceholder: function managePlaceholder() {\n if (this.currentPlaceholder !== '') {\n this.currentPlaceholder = this.$refs.input.value ? '' : this.cachedPlaceHolder;\n }\n },\n resetInputState: function resetInputState(e) {\n if (e.keyCode !== 8) this.toggleLastOptionHitState(false);\n this.inputLength = this.$refs.input.value.length * 15 + 20;\n this.resetInputHeight();\n },\n resetInputHeight: function resetInputHeight() {\n var _this10 = this;\n\n if (this.collapseTags && !this.filterable) return;\n this.$nextTick(function () {\n if (!_this10.$refs.reference) return;\n var inputChildNodes = _this10.$refs.reference.$el.childNodes;\n var input = [].filter.call(inputChildNodes, function (item) {\n return item.tagName === 'INPUT';\n })[0];\n var tags = _this10.$refs.tags;\n var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;\n var sizeInMap = _this10.initialInputHeight || 40;\n input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';\n\n if (_this10.visible && _this10.emptyText !== false) {\n _this10.broadcast('ElSelectDropdown', 'updatePopper');\n }\n });\n },\n resetHoverIndex: function resetHoverIndex() {\n var _this11 = this;\n\n setTimeout(function () {\n if (!_this11.multiple) {\n _this11.hoverIndex = _this11.options.indexOf(_this11.selected);\n } else {\n if (_this11.selected.length > 0) {\n _this11.hoverIndex = Math.min.apply(null, _this11.selected.map(function (item) {\n return _this11.options.indexOf(item);\n }));\n } else {\n _this11.hoverIndex = -1;\n }\n }\n }, 300);\n },\n handleOptionSelect: function handleOptionSelect(option, byClick) {\n var _this12 = this;\n\n if (this.multiple) {\n var value = (this.value || []).slice();\n var optionIndex = this.getValueIndex(value, option.value);\n\n if (optionIndex > -1) {\n value.splice(optionIndex, 1);\n } else if (this.multipleLimit <= 0 || value.length < this.multipleLimit) {\n value.push(option.value);\n }\n\n this.$emit('input', value);\n this.emitChange(value);\n\n if (option.created) {\n this.query = '';\n this.handleQueryChange('');\n this.inputLength = 20;\n }\n\n if (this.filterable) this.$refs.input.focus();\n } else {\n this.$emit('input', option.value);\n this.emitChange(option.value);\n this.visible = false;\n }\n\n this.isSilentBlur = byClick;\n this.setSoftFocus();\n if (this.visible) return;\n this.$nextTick(function () {\n _this12.scrollToOption(option);\n });\n },\n setSoftFocus: function setSoftFocus() {\n this.softFocus = true;\n var input = this.$refs.input || this.$refs.reference;\n\n if (input) {\n input.focus();\n }\n },\n getValueIndex: function getValueIndex() {\n var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var value = arguments[1];\n var isObject = Object.prototype.toString.call(value).toLowerCase() === '[object object]';\n\n if (!isObject) {\n return arr.indexOf(value);\n } else {\n var valueKey = this.valueKey;\n var index = -1;\n arr.some(function (item, i) {\n if (Object(util_[\"getValueByPath\"])(item, valueKey) === Object(util_[\"getValueByPath\"])(value, valueKey)) {\n index = i;\n return true;\n }\n\n return false;\n });\n return index;\n }\n },\n toggleMenu: function toggleMenu() {\n if (!this.selectDisabled) {\n if (this.menuVisibleOnFocus) {\n this.menuVisibleOnFocus = false;\n } else {\n this.visible = !this.visible;\n }\n\n if (this.visible) {\n (this.$refs.input || this.$refs.reference).focus();\n }\n }\n },\n selectOption: function selectOption() {\n if (!this.visible) {\n this.toggleMenu();\n } else {\n if (this.options[this.hoverIndex]) {\n this.handleOptionSelect(this.options[this.hoverIndex]);\n }\n }\n },\n deleteSelected: function deleteSelected(event) {\n event.stopPropagation();\n var value = this.multiple ? [] : '';\n this.$emit('input', value);\n this.emitChange(value);\n this.visible = false;\n this.$emit('clear');\n },\n deleteTag: function deleteTag(event, tag) {\n var index = this.selected.indexOf(tag);\n\n if (index > -1 && !this.selectDisabled) {\n var value = this.value.slice();\n value.splice(index, 1);\n this.$emit('input', value);\n this.emitChange(value);\n this.$emit('remove-tag', tag.value);\n }\n\n event.stopPropagation();\n },\n onInputChange: function onInputChange() {\n if (this.filterable && this.query !== this.selectedLabel) {\n this.query = this.selectedLabel;\n this.handleQueryChange(this.query);\n }\n },\n onOptionDestroy: function onOptionDestroy(index) {\n if (index > -1) {\n this.optionsCount--;\n this.filteredOptionsCount--;\n this.options.splice(index, 1);\n }\n },\n resetInputWidth: function resetInputWidth() {\n this.inputWidth = this.$refs.reference.$el.getBoundingClientRect().width;\n },\n handleResize: function handleResize() {\n this.resetInputWidth();\n if (this.multiple) this.resetInputHeight();\n },\n checkDefaultFirstOption: function checkDefaultFirstOption() {\n this.hoverIndex = -1; // highlight the created option\n\n var hasCreated = false;\n\n for (var i = this.options.length - 1; i >= 0; i--) {\n if (this.options[i].created) {\n hasCreated = true;\n this.hoverIndex = i;\n break;\n }\n }\n\n if (hasCreated) return;\n\n for (var _i = 0; _i !== this.options.length; ++_i) {\n var option = this.options[_i];\n\n if (this.query) {\n // highlight first options that passes the filter\n if (!option.disabled && !option.groupDisabled && option.visible) {\n this.hoverIndex = _i;\n break;\n }\n } else {\n // highlight currently selected option\n if (option.itemSelected) {\n this.hoverIndex = _i;\n break;\n }\n }\n }\n },\n getValueKey: function getValueKey(item) {\n if (Object.prototype.toString.call(item.value).toLowerCase() !== '[object object]') {\n return item.value;\n } else {\n return Object(util_[\"getValueByPath\"])(item.value, this.valueKey);\n }\n }\n },\n created: function created() {\n var _this13 = this;\n\n this.cachedPlaceHolder = this.currentPlaceholder = this.propPlaceholder;\n\n if (this.multiple && !Array.isArray(this.value)) {\n this.$emit('input', []);\n }\n\n if (!this.multiple && Array.isArray(this.value)) {\n this.$emit('input', '');\n }\n\n this.debouncedOnInputChange = debounce_default()(this.debounce, function () {\n _this13.onInputChange();\n });\n this.debouncedQueryChange = debounce_default()(this.debounce, function (e) {\n _this13.handleQueryChange(e.target.value);\n });\n this.$on('handleOptionClick', this.handleOptionSelect);\n this.$on('setSelected', this.setSelected);\n },\n mounted: function mounted() {\n var _this14 = this;\n\n if (this.multiple && Array.isArray(this.value) && this.value.length > 0) {\n this.currentPlaceholder = '';\n }\n\n Object(resize_event_[\"addResizeListener\"])(this.$el, this.handleResize);\n var reference = this.$refs.reference;\n\n if (reference && reference.$el) {\n var sizeMap = {\n medium: 36,\n small: 32,\n mini: 28\n };\n var input = reference.$el.querySelector('input');\n this.initialInputHeight = input.getBoundingClientRect().height || sizeMap[this.selectSize];\n }\n\n if (this.remote && this.multiple) {\n this.resetInputHeight();\n }\n\n this.$nextTick(function () {\n if (reference && reference.$el) {\n _this14.inputWidth = reference.$el.getBoundingClientRect().width;\n }\n });\n this.setSelected();\n },\n beforeDestroy: function beforeDestroy() {\n if (this.$el && this.handleResize) Object(resize_event_[\"removeResizeListener\"])(this.$el, this.handleResize);\n }\n }; // CONCATENATED MODULE: ./packages/select/src/select.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_selectvue_type_script_lang_js_ = selectvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/select/src/select.vue\n\n /* normalize component */\n\n var select_component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_selectvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var select_api;\n }\n\n select_component.options.__file = \"packages/select/src/select.vue\";\n /* harmony default export */\n\n var src_select = select_component.exports; // CONCATENATED MODULE: ./packages/select/index.js\n\n /* istanbul ignore next */\n\n src_select.install = function (Vue) {\n Vue.component(src_select.name, src_select);\n };\n /* harmony default export */\n\n\n var packages_select = __webpack_exports__[\"default\"] = src_select;\n /***/\n }\n /******/\n\n});","function _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof2(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 54);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 33:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\"; // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=template&id=7a44c642&\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"li\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.visible,\n expression: \"visible\"\n }],\n staticClass: \"el-select-dropdown__item\",\n \"class\": {\n selected: _vm.itemSelected,\n \"is-disabled\": _vm.disabled || _vm.groupDisabled || _vm.limitReached,\n hover: _vm.hover\n },\n on: {\n mouseenter: _vm.hoverItem,\n click: function click($event) {\n $event.stopPropagation();\n return _vm.selectOptionClick($event);\n }\n }\n }, [_vm._t(\"default\", [_c(\"span\", [_vm._v(_vm._s(_vm.currentLabel))])])], 2);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=template&id=7a44c642&\n // EXTERNAL MODULE: external \"element-ui/lib/mixins/emitter\"\n\n var emitter_ = __webpack_require__(4);\n\n var emitter_default =\n /*#__PURE__*/\n __webpack_require__.n(emitter_); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/option.vue?vue&type=script&lang=js&\n\n\n var _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n } : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n }; //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var optionvue_type_script_lang_js_ = {\n mixins: [emitter_default.a],\n name: 'ElOption',\n componentName: 'ElOption',\n inject: ['select'],\n props: {\n value: {\n required: true\n },\n label: [String, Number],\n created: Boolean,\n disabled: {\n type: Boolean,\n \"default\": false\n }\n },\n data: function data() {\n return {\n index: -1,\n groupDisabled: false,\n visible: true,\n hitState: false,\n hover: false\n };\n },\n computed: {\n isObject: function isObject() {\n return Object.prototype.toString.call(this.value).toLowerCase() === '[object object]';\n },\n currentLabel: function currentLabel() {\n return this.label || (this.isObject ? '' : this.value);\n },\n currentValue: function currentValue() {\n return this.value || this.label || '';\n },\n itemSelected: function itemSelected() {\n if (!this.select.multiple) {\n return this.isEqual(this.value, this.select.value);\n } else {\n return this.contains(this.select.value, this.value);\n }\n },\n limitReached: function limitReached() {\n if (this.select.multiple) {\n return !this.itemSelected && (this.select.value || []).length >= this.select.multipleLimit && this.select.multipleLimit > 0;\n } else {\n return false;\n }\n }\n },\n watch: {\n currentLabel: function currentLabel() {\n if (!this.created && !this.select.remote) this.dispatch('ElSelect', 'setSelected');\n },\n value: function value(val, oldVal) {\n var _select = this.select,\n remote = _select.remote,\n valueKey = _select.valueKey;\n\n if (!this.created && !remote) {\n if (valueKey && (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' && (typeof oldVal === 'undefined' ? 'undefined' : _typeof(oldVal)) === 'object' && val[valueKey] === oldVal[valueKey]) {\n return;\n }\n\n this.dispatch('ElSelect', 'setSelected');\n }\n }\n },\n methods: {\n isEqual: function isEqual(a, b) {\n if (!this.isObject) {\n return a === b;\n } else {\n var valueKey = this.select.valueKey;\n return Object(util_[\"getValueByPath\"])(a, valueKey) === Object(util_[\"getValueByPath\"])(b, valueKey);\n }\n },\n contains: function contains() {\n var arr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var target = arguments[1];\n\n if (!this.isObject) {\n return arr && arr.indexOf(target) > -1;\n } else {\n var valueKey = this.select.valueKey;\n return arr && arr.some(function (item) {\n return Object(util_[\"getValueByPath\"])(item, valueKey) === Object(util_[\"getValueByPath\"])(target, valueKey);\n });\n }\n },\n handleGroupDisabled: function handleGroupDisabled(val) {\n this.groupDisabled = val;\n },\n hoverItem: function hoverItem() {\n if (!this.disabled && !this.groupDisabled) {\n this.select.hoverIndex = this.select.options.indexOf(this);\n }\n },\n selectOptionClick: function selectOptionClick() {\n if (this.disabled !== true && this.groupDisabled !== true) {\n this.dispatch('ElSelect', 'handleOptionClick', [this, true]);\n }\n },\n queryChange: function queryChange(query) {\n this.visible = new RegExp(Object(util_[\"escapeRegexpString\"])(query), 'i').test(this.currentLabel) || this.created;\n\n if (!this.visible) {\n this.select.filteredOptionsCount--;\n }\n }\n },\n created: function created() {\n this.select.options.push(this);\n this.select.cachedOptions.push(this);\n this.select.optionsCount++;\n this.select.filteredOptionsCount++;\n this.$on('queryChange', this.queryChange);\n this.$on('handleGroupDisabled', this.handleGroupDisabled);\n },\n beforeDestroy: function beforeDestroy() {\n var _select2 = this.select,\n selected = _select2.selected,\n multiple = _select2.multiple;\n var selectedOptions = multiple ? selected : [selected];\n var index = this.select.cachedOptions.indexOf(this);\n var selectedIndex = selectedOptions.indexOf(this); // if option is not selected, remove it from cache\n\n if (index > -1 && selectedIndex < 0) {\n this.select.cachedOptions.splice(index, 1);\n }\n\n this.select.onOptionDestroy(this.select.options.indexOf(this));\n }\n }; // CONCATENATED MODULE: ./packages/select/src/option.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_optionvue_type_script_lang_js_ = optionvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/select/src/option.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_optionvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/select/src/option.vue\";\n /* harmony default export */\n\n var src_option = __webpack_exports__[\"a\"] = component.exports;\n /***/\n },\n\n /***/\n 4:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/emitter\");\n /***/\n },\n\n /***/\n 54:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__);\n /* harmony import */\n\n\n var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);\n /* istanbul ignore next */\n\n\n _select_src_option__WEBPACK_IMPORTED_MODULE_0__[\n /* default */\n \"a\"].install = function (Vue) {\n Vue.component(_select_src_option__WEBPACK_IMPORTED_MODULE_0__[\n /* default */\n \"a\"].name, _select_src_option__WEBPACK_IMPORTED_MODULE_0__[\n /* default */\n \"a\"]);\n };\n /* harmony default export */\n\n\n __webpack_exports__[\"default\"] = _select_src_option__WEBPACK_IMPORTED_MODULE_0__[\n /* default */\n \"a\"];\n /***/\n }\n /******/\n\n});","module.exports = require('./src/normalizeWheel.js');","/**\n * Copyright (c) 2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule normalizeWheel\n * @typechecks\n */\n'use strict';\n\nvar UserAgent_DEPRECATED = require('./UserAgent_DEPRECATED');\n\nvar isEventSupported = require('./isEventSupported'); // Reasonable defaults\n\n\nvar PIXEL_STEP = 10;\nvar LINE_HEIGHT = 40;\nvar PAGE_HEIGHT = 800;\n/**\n * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is\n * complicated, thus this doc is long and (hopefully) detailed enough to answer\n * your questions.\n *\n * If you need to react to the mouse wheel in a predictable way, this code is\n * like your bestest friend. * hugs *\n *\n * As of today, there are 4 DOM event types you can listen to:\n *\n * 'wheel' -- Chrome(31+), FF(17+), IE(9+)\n * 'mousewheel' -- Chrome, IE(6+), Opera, Safari\n * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!\n * 'DOMMouseScroll' -- FF(0.9.7+) since 2003\n *\n * So what to do? The is the best:\n *\n * normalizeWheel.getEventType();\n *\n * In your event callback, use this code to get sane interpretation of the\n * deltas. This code will return an object with properties:\n *\n * spinX -- normalized spin speed (use for zoom) - x plane\n * spinY -- \" - y plane\n * pixelX -- normalized distance (to pixels) - x plane\n * pixelY -- \" - y plane\n *\n * Wheel values are provided by the browser assuming you are using the wheel to\n * scroll a web page by a number of lines or pixels (or pages). Values can vary\n * significantly on different platforms and browsers, forgetting that you can\n * scroll at different speeds. Some devices (like trackpads) emit more events\n * at smaller increments with fine granularity, and some emit massive jumps with\n * linear speed or acceleration.\n *\n * This code does its best to normalize the deltas for you:\n *\n * - spin is trying to normalize how far the wheel was spun (or trackpad\n * dragged). This is super useful for zoom support where you want to\n * throw away the chunky scroll steps on the PC and make those equal to\n * the slow and smooth tiny steps on the Mac. Key data: This code tries to\n * resolve a single slow step on a wheel to 1.\n *\n * - pixel is normalizing the desired scroll delta in pixel units. You'll\n * get the crazy differences between browsers, but at least it'll be in\n * pixels!\n *\n * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This\n * should translate to positive value zooming IN, negative zooming OUT.\n * This matches the newer 'wheel' event.\n *\n * Why are there spinX, spinY (or pixels)?\n *\n * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn\n * with a mouse. It results in side-scrolling in the browser by default.\n *\n * - spinY is what you expect -- it's the classic axis of a mouse wheel.\n *\n * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and\n * probably is by browsers in conjunction with fancy 3D controllers .. but\n * you know.\n *\n * Implementation info:\n *\n * Examples of 'wheel' event if you scroll slowly (down) by one step with an\n * average mouse:\n *\n * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)\n * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)\n * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)\n * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)\n * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)\n *\n * On the trackpad:\n *\n * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)\n * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)\n *\n * On other/older browsers.. it's more complicated as there can be multiple and\n * also missing delta values.\n *\n * The 'wheel' event is more mini:\n *\n * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents\n *\n * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and\n * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain\n * backward compatibility with older events. Those other values help us\n * better normalize spin speed. Example of what the browsers provide:\n *\n * | event.wheelDelta | event.detail\n * ------------------+------------------+--------------\n * Safari v5/OS X | -120 | 0\n * Safari v5/Win7 | -120 | 0\n * Chrome v17/OS X | -120 | 0\n * Chrome v17/Win7 | -120 | 0\n * IE9/Win7 | -120 | undefined\n * Firefox v4/OS X | undefined | 1\n * Firefox v4/Win7 | undefined | 3\n *\n */\n\nfunction normalizeWheel(\n/*object*/\nevent)\n/*object*/\n{\n var sX = 0,\n sY = 0,\n // spinX, spinY\n pX = 0,\n pY = 0; // pixelX, pixelY\n // Legacy\n\n if ('detail' in event) {\n sY = event.detail;\n }\n\n if ('wheelDelta' in event) {\n sY = -event.wheelDelta / 120;\n }\n\n if ('wheelDeltaY' in event) {\n sY = -event.wheelDeltaY / 120;\n }\n\n if ('wheelDeltaX' in event) {\n sX = -event.wheelDeltaX / 120;\n } // side scrolling on FF with DOMMouseScroll\n\n\n if ('axis' in event && event.axis === event.HORIZONTAL_AXIS) {\n sX = sY;\n sY = 0;\n }\n\n pX = sX * PIXEL_STEP;\n pY = sY * PIXEL_STEP;\n\n if ('deltaY' in event) {\n pY = event.deltaY;\n }\n\n if ('deltaX' in event) {\n pX = event.deltaX;\n }\n\n if ((pX || pY) && event.deltaMode) {\n if (event.deltaMode == 1) {\n // delta in LINE units\n pX *= LINE_HEIGHT;\n pY *= LINE_HEIGHT;\n } else {\n // delta in PAGE units\n pX *= PAGE_HEIGHT;\n pY *= PAGE_HEIGHT;\n }\n } // Fall-back if spin cannot be determined\n\n\n if (pX && !sX) {\n sX = pX < 1 ? -1 : 1;\n }\n\n if (pY && !sY) {\n sY = pY < 1 ? -1 : 1;\n }\n\n return {\n spinX: sX,\n spinY: sY,\n pixelX: pX,\n pixelY: pY\n };\n}\n/**\n * The best combination if you prefer spinX + spinY normalization. It favors\n * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with\n * 'wheel' event, making spin speed determination impossible.\n */\n\n\nnormalizeWheel.getEventType = function ()\n/*string*/\n{\n return UserAgent_DEPRECATED.firefox() ? 'DOMMouseScroll' : isEventSupported('wheel') ? 'wheel' : 'mousewheel';\n};\n\nmodule.exports = normalizeWheel;","/**\n * Copyright 2004-present Facebook. All Rights Reserved.\n *\n * @providesModule UserAgent_DEPRECATED\n */\n\n/**\n * Provides entirely client-side User Agent and OS detection. You should prefer\n * the non-deprecated UserAgent module when possible, which exposes our\n * authoritative server-side PHP-based detection to the client.\n *\n * Usage is straightforward:\n *\n * if (UserAgent_DEPRECATED.ie()) {\n * // IE\n * }\n *\n * You can also do version checks:\n *\n * if (UserAgent_DEPRECATED.ie() >= 7) {\n * // IE7 or better\n * }\n *\n * The browser functions will return NaN if the browser does not match, so\n * you can also do version compares the other way:\n *\n * if (UserAgent_DEPRECATED.ie() < 7) {\n * // IE6 or worse\n * }\n *\n * Note that the version is a float and may include a minor version number,\n * so you should always use range operators to perform comparisons, not\n * strict equality.\n *\n * **Note:** You should **strongly** prefer capability detection to browser\n * version detection where it's reasonable:\n *\n * http://www.quirksmode.org/js/support.html\n *\n * Further, we have a large number of mature wrapper functions and classes\n * which abstract away many browser irregularities. Check the documentation,\n * grep for things, or ask on javascript@lists.facebook.com before writing yet\n * another copy of \"event || window.event\".\n *\n */\nvar _populated = false; // Browsers\n\nvar _ie, _firefox, _opera, _webkit, _chrome; // Actual IE browser for compatibility mode\n\n\nvar _ie_real_version; // Platforms\n\n\nvar _osx, _windows, _linux, _android; // Architectures\n\n\nvar _win64; // Devices\n\n\nvar _iphone, _ipad, _native;\n\nvar _mobile;\n\nfunction _populate() {\n if (_populated) {\n return;\n }\n\n _populated = true; // To work around buggy JS libraries that can't handle multi-digit\n // version numbers, Opera 10's user agent string claims it's Opera\n // 9, then later includes a Version/X.Y field:\n //\n // Opera/9.80 (foo) Presto/2.2.15 Version/10.10\n\n var uas = navigator.userAgent;\n var agent = /(?:MSIE.(\\d+\\.\\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\\d+\\.\\d+))|(?:Opera(?:.+Version.|.)(\\d+\\.\\d+))|(?:AppleWebKit.(\\d+(?:\\.\\d+)?))|(?:Trident\\/\\d+\\.\\d+.*rv:(\\d+\\.\\d+))/.exec(uas);\n var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);\n _iphone = /\\b(iPhone|iP[ao]d)/.exec(uas);\n _ipad = /\\b(iP[ao]d)/.exec(uas);\n _android = /Android/i.exec(uas);\n _native = /FBAN\\/\\w+;/i.exec(uas);\n _mobile = /Mobile/i.exec(uas); // Note that the IE team blog would have you believe you should be checking\n // for 'Win64; x64'. But MSDN then reveals that you can actually be coming\n // from either x64 or ia64; so ultimately, you should just check for Win64\n // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit\n // Windows will send 'WOW64' instead.\n\n _win64 = !!/Win64/.exec(uas);\n\n if (agent) {\n _ie = agent[1] ? parseFloat(agent[1]) : agent[5] ? parseFloat(agent[5]) : NaN; // IE compatibility mode\n\n if (_ie && document && document.documentMode) {\n _ie = document.documentMode;\n } // grab the \"true\" ie version from the trident token if available\n\n\n var trident = /(?:Trident\\/(\\d+.\\d+))/.exec(uas);\n _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;\n _firefox = agent[2] ? parseFloat(agent[2]) : NaN;\n _opera = agent[3] ? parseFloat(agent[3]) : NaN;\n _webkit = agent[4] ? parseFloat(agent[4]) : NaN;\n\n if (_webkit) {\n // We do not add the regexp to the above test, because it will always\n // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in\n // the userAgent string.\n agent = /(?:Chrome\\/(\\d+\\.\\d+))/.exec(uas);\n _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;\n } else {\n _chrome = NaN;\n }\n } else {\n _ie = _firefox = _opera = _chrome = _webkit = NaN;\n }\n\n if (os) {\n if (os[1]) {\n // Detect OS X version. If no version number matches, set _osx to true.\n // Version examples: 10, 10_6_1, 10.7\n // Parses version number as a float, taking only first two sets of\n // digits. If only one set of digits is found, returns just the major\n // version number.\n var ver = /(?:Mac OS X (\\d+(?:[._]\\d+)?))/.exec(uas);\n _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;\n } else {\n _osx = false;\n }\n\n _windows = !!os[2];\n _linux = !!os[3];\n } else {\n _osx = _windows = _linux = false;\n }\n}\n\nvar UserAgent_DEPRECATED = {\n /**\n * Check if the UA is Internet Explorer.\n *\n *\n * @return float|NaN Version number (if match) or NaN.\n */\n ie: function ie() {\n return _populate() || _ie;\n },\n\n /**\n * Check if we're in Internet Explorer compatibility mode.\n *\n * @return bool true if in compatibility mode, false if\n * not compatibility mode or not ie\n */\n ieCompatibilityMode: function ieCompatibilityMode() {\n return _populate() || _ie_real_version > _ie;\n },\n\n /**\n * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we\n * only need this because Skype can't handle 64-bit IE yet. We need to remove\n * this when we don't need it -- tracked by #601957.\n */\n ie64: function ie64() {\n return UserAgent_DEPRECATED.ie() && _win64;\n },\n\n /**\n * Check if the UA is Firefox.\n *\n *\n * @return float|NaN Version number (if match) or NaN.\n */\n firefox: function firefox() {\n return _populate() || _firefox;\n },\n\n /**\n * Check if the UA is Opera.\n *\n *\n * @return float|NaN Version number (if match) or NaN.\n */\n opera: function opera() {\n return _populate() || _opera;\n },\n\n /**\n * Check if the UA is WebKit.\n *\n *\n * @return float|NaN Version number (if match) or NaN.\n */\n webkit: function webkit() {\n return _populate() || _webkit;\n },\n\n /**\n * For Push\n * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit\n */\n safari: function safari() {\n return UserAgent_DEPRECATED.webkit();\n },\n\n /**\n * Check if the UA is a Chrome browser.\n *\n *\n * @return float|NaN Version number (if match) or NaN.\n */\n chrome: function chrome() {\n return _populate() || _chrome;\n },\n\n /**\n * Check if the user is running Windows.\n *\n * @return bool `true' if the user's OS is Windows.\n */\n windows: function windows() {\n return _populate() || _windows;\n },\n\n /**\n * Check if the user is running Mac OS X.\n *\n * @return float|bool Returns a float if a version number is detected,\n * otherwise true/false.\n */\n osx: function osx() {\n return _populate() || _osx;\n },\n\n /**\n * Check if the user is running Linux.\n *\n * @return bool `true' if the user's OS is some flavor of Linux.\n */\n linux: function linux() {\n return _populate() || _linux;\n },\n\n /**\n * Check if the user is running on an iPhone or iPod platform.\n *\n * @return bool `true' if the user is running some flavor of the\n * iPhone OS.\n */\n iphone: function iphone() {\n return _populate() || _iphone;\n },\n mobile: function mobile() {\n return _populate() || _iphone || _ipad || _android || _mobile;\n },\n nativeApp: function nativeApp() {\n // webviews inside of the native apps\n return _populate() || _native;\n },\n android: function android() {\n return _populate() || _android;\n },\n ipad: function ipad() {\n return _populate() || _ipad;\n }\n};\nmodule.exports = UserAgent_DEPRECATED;","/**\n * Copyright 2013-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule isEventSupported\n */\n'use strict';\n\nvar ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar useHasFeature;\n\nif (ExecutionEnvironment.canUseDOM) {\n useHasFeature = document.implementation && document.implementation.hasFeature && // always returns true in newer browsers as per the mini.\n // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n document.implementation.hasFeature('', '') !== true;\n}\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\n\n\nfunction isEventSupported(eventNameSuffix, capture) {\n if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n return false;\n }\n\n var eventName = 'on' + eventNameSuffix;\n var isSupported = eventName in document;\n\n if (!isSupported) {\n var element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof element[eventName] === 'function';\n }\n\n if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n // This is the only way to test support for the `wheel` event in IE9+.\n isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n }\n\n return isSupported;\n}\n\nmodule.exports = isEventSupported;","/**\n * Copyright (c) 2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ExecutionEnvironment\n */\n\n/*jslint evil: true */\n'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\n\nvar ExecutionEnvironment = {\n canUseDOM: canUseDOM,\n canUseWorkers: typeof Worker !== 'undefined',\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n canUseViewport: canUseDOM && !!window.screen,\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\nmodule.exports = ExecutionEnvironment;","'use strict';\n\nfunction _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\" ? function (obj) {\n return _typeof2(obj);\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n};\n\nvar _ariaUtils = require('./aria-utils');\n\nvar _ariaUtils2 = _interopRequireDefault(_ariaUtils);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n/**\n * @constructor\n * @desc Dialog object providing modal focus management.\n *\n * Assumptions: The element serving as the dialog container is present in the\n * DOM and hidden. The dialog container has role='dialog'.\n *\n * @param dialogId\n * The ID of the element serving as the dialog container.\n * @param focusAfterClosed\n * Either the DOM node or the ID of the DOM node to focus when the\n * dialog closes.\n * @param focusFirst\n * Optional parameter containing either the DOM node or the ID of the\n * DOM node to focus when the dialog opens. If not specified, the\n * first focusable element in the dialog will receive focus.\n */\n\n\nvar aria = aria || {};\nvar tabEvent;\n\naria.Dialog = function (dialog, focusAfterClosed, focusFirst) {\n var _this = this;\n\n this.dialogNode = dialog;\n\n if (this.dialogNode === null || this.dialogNode.getAttribute('role') !== 'dialog') {\n throw new Error('Dialog() requires a DOM element with ARIA role of dialog.');\n }\n\n if (typeof focusAfterClosed === 'string') {\n this.focusAfterClosed = document.getElementById(focusAfterClosed);\n } else if ((typeof focusAfterClosed === 'undefined' ? 'undefined' : _typeof(focusAfterClosed)) === 'object') {\n this.focusAfterClosed = focusAfterClosed;\n } else {\n this.focusAfterClosed = null;\n }\n\n if (typeof focusFirst === 'string') {\n this.focusFirst = document.getElementById(focusFirst);\n } else if ((typeof focusFirst === 'undefined' ? 'undefined' : _typeof(focusFirst)) === 'object') {\n this.focusFirst = focusFirst;\n } else {\n this.focusFirst = null;\n }\n\n if (this.focusFirst) {\n this.focusFirst.focus();\n } else {\n _ariaUtils2[\"default\"].focusFirstDescendant(this.dialogNode);\n }\n\n this.lastFocus = document.activeElement;\n\n tabEvent = function tabEvent(e) {\n _this.trapFocus(e);\n };\n\n this.addListeners();\n};\n\naria.Dialog.prototype.addListeners = function () {\n document.addEventListener('focus', tabEvent, true);\n};\n\naria.Dialog.prototype.removeListeners = function () {\n document.removeEventListener('focus', tabEvent, true);\n};\n\naria.Dialog.prototype.closeDialog = function () {\n var _this2 = this;\n\n this.removeListeners();\n\n if (this.focusAfterClosed) {\n setTimeout(function () {\n _this2.focusAfterClosed.focus();\n });\n }\n};\n\naria.Dialog.prototype.trapFocus = function (event) {\n if (_ariaUtils2[\"default\"].IgnoreUtilFocusChanges) {\n return;\n }\n\n if (this.dialogNode.contains(event.target)) {\n this.lastFocus = event.target;\n } else {\n _ariaUtils2[\"default\"].focusFirstDescendant(this.dialogNode);\n\n if (this.lastFocus === document.activeElement) {\n _ariaUtils2[\"default\"].focusLastDescendant(this.dialogNode);\n }\n\n this.lastFocus = document.activeElement;\n }\n};\n\nexports[\"default\"] = aria.Dialog;","module.exports = { \"default\": require(\"core-js/library/fn/object/assign\"), __esModule: true };","require('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/_core').Object.assign;\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","module.exports = function () { /* empty */ };\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","require('./_wks-define')('asyncIterator');\n","require('./_wks-define')('observable');\n","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 87);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 10:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/input\");\n /***/\n },\n\n /***/\n 2:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/dom\");\n /***/\n },\n\n /***/\n 22:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/focus\");\n /***/\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 30:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony import */\n\n var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);\n /* harmony import */\n\n\n var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0___default =\n /*#__PURE__*/\n __webpack_require__.n(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__);\n /* harmony import */\n\n\n var element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);\n /* harmony import */\n\n\n var element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1___default =\n /*#__PURE__*/\n __webpack_require__.n(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__);\n /* harmony default export */\n\n\n __webpack_exports__[\"a\"] = {\n bind: function bind(el, binding, vnode) {\n var interval = null;\n var startTime = void 0;\n var maxIntervals = Object(element_ui_src_utils_util__WEBPACK_IMPORTED_MODULE_1__[\"isMac\"])() ? 100 : 200;\n\n var handler = function handler() {\n return vnode.context[binding.expression].apply();\n };\n\n var clear = function clear() {\n if (Date.now() - startTime < maxIntervals) {\n handler();\n }\n\n clearInterval(interval);\n interval = null;\n };\n\n Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__[\"on\"])(el, 'mousedown', function (e) {\n if (e.button !== 0) return;\n startTime = Date.now();\n Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__[\"once\"])(document, 'mouseup', clear);\n clearInterval(interval);\n interval = setInterval(handler, maxIntervals);\n });\n }\n };\n /***/\n },\n\n /***/\n 87:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [\"el-input-number\", _vm.inputNumberSize ? \"el-input-number--\" + _vm.inputNumberSize : \"\", {\n \"is-disabled\": _vm.inputNumberDisabled\n }, {\n \"is-without-controls\": !_vm.controls\n }, {\n \"is-controls-right\": _vm.controlsAtRight\n }],\n on: {\n dragstart: function dragstart($event) {\n $event.preventDefault();\n }\n }\n }, [_vm.controls ? _c(\"span\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.decrease,\n expression: \"decrease\"\n }],\n staticClass: \"el-input-number__decrease\",\n \"class\": {\n \"is-disabled\": _vm.minDisabled\n },\n attrs: {\n role: \"button\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.decrease($event);\n }\n }\n }, [_c(\"i\", {\n \"class\": \"el-icon-\" + (_vm.controlsAtRight ? \"arrow-down\" : \"minus\")\n })]) : _vm._e(), _vm.controls ? _c(\"span\", {\n directives: [{\n name: \"repeat-click\",\n rawName: \"v-repeat-click\",\n value: _vm.increase,\n expression: \"increase\"\n }],\n staticClass: \"el-input-number__increase\",\n \"class\": {\n \"is-disabled\": _vm.maxDisabled\n },\n attrs: {\n role: \"button\"\n },\n on: {\n keydown: function keydown($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) {\n return null;\n }\n\n return _vm.increase($event);\n }\n }\n }, [_c(\"i\", {\n \"class\": \"el-icon-\" + (_vm.controlsAtRight ? \"arrow-up\" : \"premium\")\n })]) : _vm._e(), _c(\"el-input\", {\n ref: \"input\",\n attrs: {\n value: _vm.displayValue,\n placeholder: _vm.placeholder,\n disabled: _vm.inputNumberDisabled,\n size: _vm.inputNumberSize,\n max: _vm.max,\n min: _vm.min,\n name: _vm.name,\n label: _vm.label\n },\n on: {\n blur: _vm.handleBlur,\n focus: _vm.handleFocus,\n input: _vm.handleInput,\n change: _vm.handleInputChange\n },\n nativeOn: {\n keydown: [function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.increase($event);\n }, function ($event) {\n if (!(\"button\" in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) {\n return null;\n }\n\n $event.preventDefault();\n return _vm.decrease($event);\n }]\n }\n })], 1);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66&\n // EXTERNAL MODULE: external \"element-ui/lib/input\"\n\n var input_ = __webpack_require__(10);\n\n var input_default =\n /*#__PURE__*/\n __webpack_require__.n(input_); // EXTERNAL MODULE: external \"element-ui/lib/mixins/focus\"\n\n\n var focus_ = __webpack_require__(22);\n\n var focus_default =\n /*#__PURE__*/\n __webpack_require__.n(focus_); // EXTERNAL MODULE: ./src/directives/repeat-click.js\n\n\n var repeat_click = __webpack_require__(30); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var input_numbervue_type_script_lang_js_ = {\n name: 'ElInputNumber',\n mixins: [focus_default()('input')],\n inject: {\n elForm: {\n \"default\": ''\n },\n elFormItem: {\n \"default\": ''\n }\n },\n directives: {\n repeatClick: repeat_click[\"a\"\n /* default */\n ]\n },\n components: {\n ElInput: input_default.a\n },\n props: {\n step: {\n type: Number,\n \"default\": 1\n },\n stepStrictly: {\n type: Boolean,\n \"default\": false\n },\n max: {\n type: Number,\n \"default\": Infinity\n },\n min: {\n type: Number,\n \"default\": -Infinity\n },\n value: {},\n disabled: Boolean,\n size: String,\n controls: {\n type: Boolean,\n \"default\": true\n },\n controlsPosition: {\n type: String,\n \"default\": ''\n },\n name: String,\n label: String,\n placeholder: String,\n precision: {\n type: Number,\n validator: function validator(val) {\n return val >= 0 && val === parseInt(val, 10);\n }\n }\n },\n data: function data() {\n return {\n currentValue: 0,\n userInput: null\n };\n },\n watch: {\n value: {\n immediate: true,\n handler: function handler(value) {\n var newVal = value === undefined ? value : Number(value);\n\n if (newVal !== undefined) {\n if (isNaN(newVal)) {\n return;\n }\n\n if (this.stepStrictly) {\n var stepPrecision = this.getPrecision(this.step);\n var precisionFactor = Math.pow(10, stepPrecision);\n newVal = Math.round(newVal / this.step) * precisionFactor * this.step / precisionFactor;\n }\n\n if (this.precision !== undefined) {\n newVal = this.toPrecision(newVal, this.precision);\n }\n }\n\n if (newVal >= this.max) newVal = this.max;\n if (newVal <= this.min) newVal = this.min;\n this.currentValue = newVal;\n this.userInput = null;\n this.$emit('input', newVal);\n }\n }\n },\n computed: {\n minDisabled: function minDisabled() {\n return this._decrease(this.value, this.step) < this.min;\n },\n maxDisabled: function maxDisabled() {\n return this._increase(this.value, this.step) > this.max;\n },\n numPrecision: function numPrecision() {\n var value = this.value,\n step = this.step,\n getPrecision = this.getPrecision,\n precision = this.precision;\n var stepPrecision = getPrecision(step);\n\n if (precision !== undefined) {\n if (stepPrecision > precision) {\n console.warn('[Element Warn][InputNumber]precision should not be less than the decimal places of step');\n }\n\n return precision;\n } else {\n return Math.max(getPrecision(value), stepPrecision);\n }\n },\n controlsAtRight: function controlsAtRight() {\n return this.controls && this.controlsPosition === 'right';\n },\n _elFormItemSize: function _elFormItemSize() {\n return (this.elFormItem || {}).elFormItemSize;\n },\n inputNumberSize: function inputNumberSize() {\n return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;\n },\n inputNumberDisabled: function inputNumberDisabled() {\n return this.disabled || !!(this.elForm || {}).disabled;\n },\n displayValue: function displayValue() {\n if (this.userInput !== null) {\n return this.userInput;\n }\n\n var currentValue = this.currentValue;\n\n if (typeof currentValue === 'number') {\n if (this.stepStrictly) {\n var stepPrecision = this.getPrecision(this.step);\n var precisionFactor = Math.pow(10, stepPrecision);\n currentValue = Math.round(currentValue / this.step) * precisionFactor * this.step / precisionFactor;\n }\n\n if (this.precision !== undefined) {\n currentValue = currentValue.toFixed(this.precision);\n }\n }\n\n return currentValue;\n }\n },\n methods: {\n toPrecision: function toPrecision(num, precision) {\n if (precision === undefined) precision = this.numPrecision;\n return parseFloat(Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision));\n },\n getPrecision: function getPrecision(value) {\n if (value === undefined) return 0;\n var valueString = value.toString();\n var dotPosition = valueString.indexOf('.');\n var precision = 0;\n\n if (dotPosition !== -1) {\n precision = valueString.length - dotPosition - 1;\n }\n\n return precision;\n },\n _increase: function _increase(val, step) {\n if (typeof val !== 'number' && val !== undefined) return this.currentValue;\n var precisionFactor = Math.pow(10, this.numPrecision); // Solve the accuracy problem of JS decimal calculation by converting the value to integer.\n\n return this.toPrecision((precisionFactor * val + precisionFactor * step) / precisionFactor);\n },\n _decrease: function _decrease(val, step) {\n if (typeof val !== 'number' && val !== undefined) return this.currentValue;\n var precisionFactor = Math.pow(10, this.numPrecision);\n return this.toPrecision((precisionFactor * val - precisionFactor * step) / precisionFactor);\n },\n increase: function increase() {\n if (this.inputNumberDisabled || this.maxDisabled) return;\n var value = this.value || 0;\n\n var newVal = this._increase(value, this.step);\n\n this.setCurrentValue(newVal);\n },\n decrease: function decrease() {\n if (this.inputNumberDisabled || this.minDisabled) return;\n var value = this.value || 0;\n\n var newVal = this._decrease(value, this.step);\n\n this.setCurrentValue(newVal);\n },\n handleBlur: function handleBlur(event) {\n this.$emit('blur', event);\n },\n handleFocus: function handleFocus(event) {\n this.$emit('focus', event);\n },\n setCurrentValue: function setCurrentValue(newVal) {\n var oldVal = this.currentValue;\n\n if (typeof newVal === 'number' && this.precision !== undefined) {\n newVal = this.toPrecision(newVal, this.precision);\n }\n\n if (newVal >= this.max) newVal = this.max;\n if (newVal <= this.min) newVal = this.min;\n if (oldVal === newVal) return;\n this.userInput = null;\n this.$emit('input', newVal);\n this.$emit('change', newVal, oldVal);\n this.currentValue = newVal;\n },\n handleInput: function handleInput(value) {\n this.userInput = value;\n },\n handleInputChange: function handleInputChange(value) {\n var newVal = value === '' ? undefined : Number(value);\n\n if (!isNaN(newVal) || value === '') {\n this.setCurrentValue(newVal);\n }\n\n this.userInput = null;\n },\n select: function select() {\n this.$refs.input.select();\n }\n },\n mounted: function mounted() {\n var innerInput = this.$refs.input.$refs.input;\n innerInput.setAttribute('role', 'spinbutton');\n innerInput.setAttribute('aria-valuemax', this.max);\n innerInput.setAttribute('aria-valuemin', this.min);\n innerInput.setAttribute('aria-valuenow', this.currentValue);\n innerInput.setAttribute('aria-disabled', this.inputNumberDisabled);\n },\n updated: function updated() {\n if (!this.$refs || !this.$refs.input) return;\n var innerInput = this.$refs.input.$refs.input;\n innerInput.setAttribute('aria-valuenow', this.currentValue);\n }\n }; // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_input_numbervue_type_script_lang_js_ = input_numbervue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_input_numbervue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/input-number/src/input-number.vue\";\n /* harmony default export */\n\n var input_number = component.exports; // CONCATENATED MODULE: ./packages/input-number/index.js\n\n /* istanbul ignore next */\n\n input_number.install = function (Vue) {\n Vue.component(input_number.name, input_number);\n };\n /* harmony default export */\n\n\n var packages_input_number = __webpack_exports__[\"default\"] = input_number;\n /***/\n }\n /******/\n\n});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 61);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 15:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/scrollbar\");\n /***/\n },\n\n /***/\n 18:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/checkbox\");\n /***/\n },\n\n /***/\n 21:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/shared\");\n /***/\n },\n\n /***/\n 26:\n /***/\n function _(module, exports) {\n module.exports = require(\"babel-helper-vue-jsx-merge-props\");\n /***/\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 31:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/scroll-into-view\");\n /***/\n },\n\n /***/\n 41:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/aria-utils\");\n /***/\n },\n\n /***/\n 52:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/radio\");\n /***/\n },\n\n /***/\n 6:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/mixins/locale\");\n /***/\n },\n\n /***/\n 61:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346&\n\n\n var cascader_panelvue_type_template_id_34932346_render = function cascader_panelvue_type_template_id_34932346_render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"div\", {\n \"class\": [\"el-cascader-panel\", _vm.border && \"is-bordered\"],\n on: {\n keydown: _vm.handleKeyDown\n }\n }, _vm._l(_vm.menus, function (menu, index) {\n return _c(\"cascader-menu\", {\n key: index,\n ref: \"menu\",\n refInFor: true,\n attrs: {\n index: index,\n nodes: menu\n }\n });\n }), 1);\n };\n\n var staticRenderFns = [];\n cascader_panelvue_type_template_id_34932346_render._withStripped = true; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346&\n // EXTERNAL MODULE: external \"babel-helper-vue-jsx-merge-props\"\n\n var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(26);\n\n var external_babel_helper_vue_jsx_merge_props_default =\n /*#__PURE__*/\n __webpack_require__.n(external_babel_helper_vue_jsx_merge_props_); // EXTERNAL MODULE: external \"element-ui/lib/scrollbar\"\n\n\n var scrollbar_ = __webpack_require__(15);\n\n var scrollbar_default =\n /*#__PURE__*/\n __webpack_require__.n(scrollbar_); // EXTERNAL MODULE: external \"element-ui/lib/checkbox\"\n\n\n var checkbox_ = __webpack_require__(18);\n\n var checkbox_default =\n /*#__PURE__*/\n __webpack_require__.n(checkbox_); // EXTERNAL MODULE: external \"element-ui/lib/radio\"\n\n\n var radio_ = __webpack_require__(52);\n\n var radio_default =\n /*#__PURE__*/\n __webpack_require__.n(radio_); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js&\n\n\n var stopPropagation = function stopPropagation(e) {\n return e.stopPropagation();\n };\n /* harmony default export */\n\n\n var cascader_nodevue_type_script_lang_js_ = {\n inject: ['panel'],\n components: {\n ElCheckbox: checkbox_default.a,\n ElRadio: radio_default.a\n },\n props: {\n node: {\n required: true\n },\n nodeId: String\n },\n computed: {\n config: function config() {\n return this.panel.config;\n },\n isLeaf: function isLeaf() {\n return this.node.isLeaf;\n },\n isDisabled: function isDisabled() {\n return this.node.isDisabled;\n },\n checkedValue: function checkedValue() {\n return this.panel.checkedValue;\n },\n isChecked: function isChecked() {\n return this.node.isSameNode(this.checkedValue);\n },\n inActivePath: function inActivePath() {\n return this.isInPath(this.panel.activePath);\n },\n inCheckedPath: function inCheckedPath() {\n var _this = this;\n\n if (!this.config.checkStrictly) return false;\n return this.panel.checkedNodePaths.some(function (checkedPath) {\n return _this.isInPath(checkedPath);\n });\n },\n value: function value() {\n return this.node.getValueByOption();\n }\n },\n methods: {\n handleExpand: function handleExpand() {\n var _this2 = this;\n\n var panel = this.panel,\n node = this.node,\n isDisabled = this.isDisabled,\n config = this.config;\n var multiple = config.multiple,\n checkStrictly = config.checkStrictly;\n if (!checkStrictly && isDisabled || node.loading) return;\n\n if (config.lazy && !node.loaded) {\n panel.lazyLoad(node, function () {\n // do not use cached leaf value here, invoke this.isLeaf to get new value.\n var isLeaf = _this2.isLeaf;\n if (!isLeaf) _this2.handleExpand();\n\n if (multiple) {\n // if leaf sync checked state, else clear checked state\n var checked = isLeaf ? node.checked : false;\n\n _this2.handleMultiCheckChange(checked);\n }\n });\n } else {\n panel.handleExpand(node);\n }\n },\n handleCheckChange: function handleCheckChange() {\n var panel = this.panel,\n value = this.value,\n node = this.node;\n panel.handleCheckChange(value);\n panel.handleExpand(node);\n },\n handleMultiCheckChange: function handleMultiCheckChange(checked) {\n this.node.doCheck(checked);\n this.panel.calculateMultiCheckedValue();\n },\n isInPath: function isInPath(pathNodes) {\n var node = this.node;\n var selectedPathNode = pathNodes[node.level - 1] || {};\n return selectedPathNode.uid === node.uid;\n },\n renderPrefix: function renderPrefix(h) {\n var isLeaf = this.isLeaf,\n isChecked = this.isChecked,\n config = this.config;\n var checkStrictly = config.checkStrictly,\n multiple = config.multiple;\n\n if (multiple) {\n return this.renderCheckbox(h);\n } else if (checkStrictly) {\n return this.renderRadio(h);\n } else if (isLeaf && isChecked) {\n return this.renderCheckIcon(h);\n }\n\n return null;\n },\n renderPostfix: function renderPostfix(h) {\n var node = this.node,\n isLeaf = this.isLeaf;\n\n if (node.loading) {\n return this.renderLoadingIcon(h);\n } else if (!isLeaf) {\n return this.renderExpandIcon(h);\n }\n\n return null;\n },\n renderCheckbox: function renderCheckbox(h) {\n var node = this.node,\n config = this.config,\n isDisabled = this.isDisabled;\n var events = {\n on: {\n change: this.handleMultiCheckChange\n },\n nativeOn: {}\n };\n\n if (config.checkStrictly) {\n // when every node is selectable, click event should not trigger expand event.\n events.nativeOn.click = stopPropagation;\n }\n\n return h('el-checkbox', external_babel_helper_vue_jsx_merge_props_default()([{\n attrs: {\n value: node.checked,\n indeterminate: node.indeterminate,\n disabled: isDisabled\n }\n }, events]));\n },\n renderRadio: function renderRadio(h) {\n var checkedValue = this.checkedValue,\n value = this.value,\n isDisabled = this.isDisabled; // to keep same reference if value cause radio's checked state is calculated by reference comparision;\n\n if (Object(util_[\"isEqual\"])(value, checkedValue)) {\n value = checkedValue;\n }\n\n return h('el-radio', {\n attrs: {\n value: checkedValue,\n label: value,\n disabled: isDisabled\n },\n on: {\n 'change': this.handleCheckChange\n },\n nativeOn: {\n 'click': stopPropagation\n }\n }, [h('span')]);\n },\n renderCheckIcon: function renderCheckIcon(h) {\n return h('i', {\n 'class': 'el-icon-check el-cascader-node__prefix'\n });\n },\n renderLoadingIcon: function renderLoadingIcon(h) {\n return h('i', {\n 'class': 'el-icon-loading el-cascader-node__postfix'\n });\n },\n renderExpandIcon: function renderExpandIcon(h) {\n return h('i', {\n 'class': 'el-icon-arrow-right el-cascader-node__postfix'\n });\n },\n renderContent: function renderContent(h) {\n var panel = this.panel,\n node = this.node;\n var render = panel.renderLabelFn;\n var vnode = render ? render({\n node: node,\n data: node.data\n }) : null;\n return h('span', {\n 'class': 'el-cascader-node__label'\n }, [vnode || node.label]);\n }\n },\n render: function render(h) {\n var _this3 = this;\n\n var inActivePath = this.inActivePath,\n inCheckedPath = this.inCheckedPath,\n isChecked = this.isChecked,\n isLeaf = this.isLeaf,\n isDisabled = this.isDisabled,\n config = this.config,\n nodeId = this.nodeId;\n var expandTrigger = config.expandTrigger,\n checkStrictly = config.checkStrictly,\n multiple = config.multiple;\n var disabled = !checkStrictly && isDisabled;\n var events = {\n on: {}\n };\n\n if (expandTrigger === 'click') {\n events.on.click = this.handleExpand;\n } else {\n events.on.mouseenter = function (e) {\n _this3.handleExpand();\n\n _this3.$emit('expand', e);\n };\n\n events.on.focus = function (e) {\n _this3.handleExpand();\n\n _this3.$emit('expand', e);\n };\n }\n\n if (isLeaf && !isDisabled && !checkStrictly && !multiple) {\n events.on.click = this.handleCheckChange;\n }\n\n return h('li', external_babel_helper_vue_jsx_merge_props_default()([{\n attrs: {\n role: 'menuitem',\n id: nodeId,\n 'aria-expanded': inActivePath,\n tabindex: disabled ? null : -1\n },\n 'class': {\n 'el-cascader-node': true,\n 'is-selectable': checkStrictly,\n 'in-active-path': inActivePath,\n 'in-checked-path': inCheckedPath,\n 'is-active': isChecked,\n 'is-disabled': disabled\n }\n }, events]), [this.renderPrefix(h), this.renderContent(h), this.renderPostfix(h)]);\n }\n }; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascader_nodevue_type_script_lang_js_ = cascader_nodevue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-node.vue\n\n\n var cascader_node_render, cascader_node_staticRenderFns;\n /* normalize component */\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_cascader_nodevue_type_script_lang_js_, cascader_node_render, cascader_node_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/cascader-panel/src/cascader-node.vue\";\n /* harmony default export */\n\n var cascader_node = component.exports; // EXTERNAL MODULE: external \"element-ui/lib/mixins/locale\"\n\n var locale_ = __webpack_require__(6);\n\n var locale_default =\n /*#__PURE__*/\n __webpack_require__.n(locale_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n\n var cascader_menuvue_type_script_lang_js_ = {\n name: 'ElCascaderMenu',\n mixins: [locale_default.a],\n inject: ['panel'],\n components: {\n ElScrollbar: scrollbar_default.a,\n CascaderNode: cascader_node\n },\n props: {\n nodes: {\n type: Array,\n required: true\n },\n index: Number\n },\n data: function data() {\n return {\n activeNode: null,\n hoverTimer: null,\n id: Object(util_[\"generateId\"])()\n };\n },\n computed: {\n isEmpty: function isEmpty() {\n return !this.nodes.length;\n },\n menuId: function menuId() {\n return 'cascader-menu-' + this.id + '-' + this.index;\n }\n },\n methods: {\n handleExpand: function handleExpand(e) {\n this.activeNode = e.target;\n },\n handleMouseMove: function handleMouseMove(e) {\n var activeNode = this.activeNode,\n hoverTimer = this.hoverTimer;\n var hoverZone = this.$refs.hoverZone;\n if (!activeNode || !hoverZone) return;\n\n if (activeNode.contains(e.target)) {\n clearTimeout(hoverTimer);\n\n var _$el$getBoundingClien = this.$el.getBoundingClientRect(),\n left = _$el$getBoundingClien.left;\n\n var startX = e.clientX - left;\n var _$el = this.$el,\n offsetWidth = _$el.offsetWidth,\n offsetHeight = _$el.offsetHeight;\n var top = activeNode.offsetTop;\n var bottom = top + activeNode.offsetHeight;\n hoverZone.innerHTML = '\\n <path style=\"pointer-events: auto;\" fill=\"transparent\" d=\"M' + startX + ' ' + top + ' L' + offsetWidth + ' 0 V' + top + ' Z\" />\\n <path style=\"pointer-events: auto;\" fill=\"transparent\" d=\"M' + startX + ' ' + bottom + ' L' + offsetWidth + ' ' + offsetHeight + ' V' + bottom + ' Z\" />\\n ';\n } else if (!hoverTimer) {\n this.hoverTimer = setTimeout(this.clearHoverZone, this.panel.config.hoverThreshold);\n }\n },\n clearHoverZone: function clearHoverZone() {\n var hoverZone = this.$refs.hoverZone;\n if (!hoverZone) return;\n hoverZone.innerHTML = '';\n },\n renderEmptyText: function renderEmptyText(h) {\n return h('div', {\n 'class': 'el-cascader-menu__empty-text'\n }, [this.t('el.cascader.noData')]);\n },\n renderNodeList: function renderNodeList(h) {\n var menuId = this.menuId;\n var isHoverMenu = this.panel.isHoverMenu;\n var events = {\n on: {}\n };\n\n if (isHoverMenu) {\n events.on.expand = this.handleExpand;\n }\n\n var nodes = this.nodes.map(function (node, index) {\n var hasChildren = node.hasChildren;\n return h('cascader-node', external_babel_helper_vue_jsx_merge_props_default()([{\n key: node.uid,\n attrs: {\n node: node,\n 'node-id': menuId + '-' + index,\n 'aria-haspopup': hasChildren,\n 'aria-owns': hasChildren ? menuId : null\n }\n }, events]));\n });\n return [].concat(nodes, [isHoverMenu ? h('svg', {\n ref: 'hoverZone',\n 'class': 'el-cascader-menu__hover-zone'\n }) : null]);\n }\n },\n render: function render(h) {\n var isEmpty = this.isEmpty,\n menuId = this.menuId;\n var events = {\n nativeOn: {}\n }; // optimize hover to expand experience (#8010)\n\n if (this.panel.isHoverMenu) {\n events.nativeOn.mousemove = this.handleMouseMove; // events.nativeOn.mouseleave = this.clearHoverZone;\n }\n\n return h('el-scrollbar', external_babel_helper_vue_jsx_merge_props_default()([{\n attrs: {\n tag: 'ul',\n role: 'menu',\n id: menuId,\n 'wrap-class': 'el-cascader-menu__wrap',\n 'view-class': {\n 'el-cascader-menu__list': true,\n 'is-empty': isEmpty\n }\n },\n 'class': 'el-cascader-menu'\n }, events]), [isEmpty ? this.renderEmptyText(h) : this.renderNodeList(h)]);\n }\n }; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-menu.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascader_menuvue_type_script_lang_js_ = cascader_menuvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-menu.vue\n\n var cascader_menu_render, cascader_menu_staticRenderFns;\n /* normalize component */\n\n var cascader_menu_component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_cascader_menuvue_type_script_lang_js_, cascader_menu_render, cascader_menu_staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var cascader_menu_api;\n }\n\n cascader_menu_component.options.__file = \"packages/cascader-panel/src/cascader-menu.vue\";\n /* harmony default export */\n\n var cascader_menu = cascader_menu_component.exports; // EXTERNAL MODULE: external \"element-ui/lib/utils/shared\"\n\n var shared_ = __webpack_require__(21); // CONCATENATED MODULE: ./packages/cascader-panel/src/node.js\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 _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var uid = 0;\n\n var node_Node = function () {\n function Node(data, config, parentNode) {\n _classCallCheck(this, Node);\n\n this.data = data;\n this.config = config;\n this.parent = parentNode || null;\n this.level = !this.parent ? 1 : this.parent.level + 1;\n this.uid = uid++;\n this.initState();\n this.initChildren();\n }\n\n Node.prototype.initState = function initState() {\n var _config = this.config,\n valueKey = _config.value,\n labelKey = _config.label;\n this.value = this.data[valueKey];\n this.label = this.data[labelKey];\n this.pathNodes = this.calculatePathNodes();\n this.path = this.pathNodes.map(function (node) {\n return node.value;\n });\n this.pathLabels = this.pathNodes.map(function (node) {\n return node.label;\n }); // lazy load\n\n this.loading = false;\n this.loaded = false;\n };\n\n Node.prototype.initChildren = function initChildren() {\n var _this = this;\n\n var config = this.config;\n var childrenKey = config.children;\n var childrenData = this.data[childrenKey];\n this.hasChildren = Array.isArray(childrenData);\n this.children = (childrenData || []).map(function (child) {\n return new Node(child, config, _this);\n });\n };\n\n Node.prototype.calculatePathNodes = function calculatePathNodes() {\n var nodes = [this];\n var parent = this.parent;\n\n while (parent) {\n nodes.unshift(parent);\n parent = parent.parent;\n }\n\n return nodes;\n };\n\n Node.prototype.getPath = function getPath() {\n return this.path;\n };\n\n Node.prototype.getValue = function getValue() {\n return this.value;\n };\n\n Node.prototype.getValueByOption = function getValueByOption() {\n return this.config.emitPath ? this.getPath() : this.getValue();\n };\n\n Node.prototype.getText = function getText(allLevels, separator) {\n return allLevels ? this.pathLabels.join(separator) : this.label;\n };\n\n Node.prototype.isSameNode = function isSameNode(checkedValue) {\n var value = this.getValueByOption();\n return this.config.multiple && Array.isArray(checkedValue) ? checkedValue.some(function (val) {\n return Object(util_[\"isEqual\"])(val, value);\n }) : Object(util_[\"isEqual\"])(checkedValue, value);\n };\n\n Node.prototype.broadcast = function broadcast(event) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var handlerName = 'onParent' + Object(util_[\"capitalize\"])(event);\n this.children.forEach(function (child) {\n if (child) {\n // bottom up\n child.broadcast.apply(child, [event].concat(args));\n child[handlerName] && child[handlerName].apply(child, args);\n }\n });\n };\n\n Node.prototype.emit = function emit(event) {\n var parent = this.parent;\n var handlerName = 'onChild' + Object(util_[\"capitalize\"])(event);\n\n if (parent) {\n for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n parent[handlerName] && parent[handlerName].apply(parent, args);\n parent.emit.apply(parent, [event].concat(args));\n }\n };\n\n Node.prototype.onParentCheck = function onParentCheck(checked) {\n if (!this.isDisabled) {\n this.setCheckState(checked);\n }\n };\n\n Node.prototype.onChildCheck = function onChildCheck() {\n var children = this.children;\n var validChildren = children.filter(function (child) {\n return !child.isDisabled;\n });\n var checked = validChildren.length ? validChildren.every(function (child) {\n return child.checked;\n }) : false;\n this.setCheckState(checked);\n };\n\n Node.prototype.setCheckState = function setCheckState(checked) {\n var totalNum = this.children.length;\n var checkedNum = this.children.reduce(function (c, p) {\n var num = p.checked ? 1 : p.indeterminate ? 0.5 : 0;\n return c + num;\n }, 0);\n this.checked = checked;\n this.indeterminate = checkedNum !== totalNum && checkedNum > 0;\n };\n\n Node.prototype.syncCheckState = function syncCheckState(checkedValue) {\n var value = this.getValueByOption();\n var checked = this.isSameNode(checkedValue, value);\n this.doCheck(checked);\n };\n\n Node.prototype.doCheck = function doCheck(checked) {\n if (this.checked !== checked) {\n if (this.config.checkStrictly) {\n this.checked = checked;\n } else {\n // bottom up to unify the calculation of the indeterminate state\n this.broadcast('check', checked);\n this.setCheckState(checked);\n this.emit('check');\n }\n }\n };\n\n _createClass(Node, [{\n key: 'isDisabled',\n get: function get() {\n var data = this.data,\n parent = this.parent,\n config = this.config;\n var disabledKey = config.disabled;\n var checkStrictly = config.checkStrictly;\n return data[disabledKey] || !checkStrictly && parent && parent.isDisabled;\n }\n }, {\n key: 'isLeaf',\n get: function get() {\n var data = this.data,\n loaded = this.loaded,\n hasChildren = this.hasChildren,\n children = this.children;\n var _config2 = this.config,\n lazy = _config2.lazy,\n leafKey = _config2.leaf;\n\n if (lazy) {\n var isLeaf = Object(shared_[\"isDef\"])(data[leafKey]) ? data[leafKey] : loaded ? !children.length : false;\n this.hasChildren = !isLeaf;\n return isLeaf;\n }\n\n return !hasChildren;\n }\n }]);\n\n return Node;\n }();\n /* harmony default export */\n\n\n var src_node = node_Node; // CONCATENATED MODULE: ./packages/cascader-panel/src/store.js\n\n function store_classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var flatNodes = function flatNodes(data, leafOnly) {\n return data.reduce(function (res, node) {\n if (node.isLeaf) {\n res.push(node);\n } else {\n !leafOnly && res.push(node);\n res = res.concat(flatNodes(node.children, leafOnly));\n }\n\n return res;\n }, []);\n };\n\n var store_Store = function () {\n function Store(data, config) {\n store_classCallCheck(this, Store);\n this.config = config;\n this.initNodes(data);\n }\n\n Store.prototype.initNodes = function initNodes(data) {\n var _this = this;\n\n data = Object(util_[\"coerceTruthyValueToArray\"])(data);\n this.nodes = data.map(function (nodeData) {\n return new src_node(nodeData, _this.config);\n });\n this.flattedNodes = this.getFlattedNodes(false, false);\n this.leafNodes = this.getFlattedNodes(true, false);\n };\n\n Store.prototype.appendNode = function appendNode(nodeData, parentNode) {\n var node = new src_node(nodeData, this.config, parentNode);\n var children = parentNode ? parentNode.children : this.nodes;\n children.push(node);\n };\n\n Store.prototype.appendNodes = function appendNodes(nodeDataList, parentNode) {\n var _this2 = this;\n\n nodeDataList = Object(util_[\"coerceTruthyValueToArray\"])(nodeDataList);\n nodeDataList.forEach(function (nodeData) {\n return _this2.appendNode(nodeData, parentNode);\n });\n };\n\n Store.prototype.getNodes = function getNodes() {\n return this.nodes;\n };\n\n Store.prototype.getFlattedNodes = function getFlattedNodes(leafOnly) {\n var cached = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var cachedNodes = leafOnly ? this.leafNodes : this.flattedNodes;\n return cached ? cachedNodes : flatNodes(this.nodes, leafOnly);\n };\n\n Store.prototype.getNodeByValue = function getNodeByValue(value) {\n var nodes = this.getFlattedNodes(false, !this.config.lazy).filter(function (node) {\n return Object(util_[\"valueEquals\"])(node.path, value) || node.value === value;\n });\n return nodes && nodes.length ? nodes[0] : null;\n };\n\n return Store;\n }();\n /* harmony default export */\n\n\n var src_store = store_Store; // EXTERNAL MODULE: external \"element-ui/lib/utils/merge\"\n\n var merge_ = __webpack_require__(9);\n\n var merge_default =\n /*#__PURE__*/\n __webpack_require__.n(merge_); // EXTERNAL MODULE: external \"element-ui/lib/utils/aria-utils\"\n\n\n var aria_utils_ = __webpack_require__(41);\n\n var aria_utils_default =\n /*#__PURE__*/\n __webpack_require__.n(aria_utils_); // EXTERNAL MODULE: external \"element-ui/lib/utils/scroll-into-view\"\n\n\n var scroll_into_view_ = __webpack_require__(31);\n\n var scroll_into_view_default =\n /*#__PURE__*/\n __webpack_require__.n(scroll_into_view_); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-panel.vue?vue&type=script&lang=js&\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 //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n\n var KeyCode = aria_utils_default.a.keys;\n var DefaultProps = {\n expandTrigger: 'click',\n // or hover\n multiple: false,\n checkStrictly: false,\n // whether all nodes can be selected\n emitPath: true,\n // wether to emit an array of all levels value in which node is located\n lazy: false,\n lazyLoad: util_[\"noop\"],\n value: 'value',\n label: 'label',\n children: 'children',\n leaf: 'leaf',\n disabled: 'disabled',\n hoverThreshold: 500\n };\n\n var cascader_panelvue_type_script_lang_js_isLeaf = function isLeaf(el) {\n return !el.getAttribute('aria-owns');\n };\n\n var getSibling = function getSibling(el, distance) {\n var parentNode = el.parentNode;\n\n if (parentNode) {\n var siblings = parentNode.querySelectorAll('.el-cascader-node[tabindex=\"-1\"]');\n var index = Array.prototype.indexOf.call(siblings, el);\n return siblings[index + distance] || null;\n }\n\n return null;\n };\n\n var getMenuIndex = function getMenuIndex(el, distance) {\n if (!el) return;\n var pieces = el.id.split('-');\n return Number(pieces[pieces.length - 2]);\n };\n\n var focusNode = function focusNode(el) {\n if (!el) return;\n el.focus();\n !cascader_panelvue_type_script_lang_js_isLeaf(el) && el.click();\n };\n\n var checkNode = function checkNode(el) {\n if (!el) return;\n var input = el.querySelector('input');\n\n if (input) {\n input.click();\n } else if (cascader_panelvue_type_script_lang_js_isLeaf(el)) {\n el.click();\n }\n };\n /* harmony default export */\n\n\n var cascader_panelvue_type_script_lang_js_ = {\n name: 'ElCascaderPanel',\n components: {\n CascaderMenu: cascader_menu\n },\n props: {\n value: {},\n options: Array,\n props: Object,\n border: {\n type: Boolean,\n \"default\": true\n },\n renderLabel: Function\n },\n provide: function provide() {\n return {\n panel: this\n };\n },\n data: function data() {\n return {\n checkedValue: null,\n checkedNodePaths: [],\n store: [],\n menus: [],\n activePath: [],\n loadCount: 0\n };\n },\n computed: {\n config: function config() {\n return merge_default()(_extends({}, DefaultProps), this.props || {});\n },\n multiple: function multiple() {\n return this.config.multiple;\n },\n checkStrictly: function checkStrictly() {\n return this.config.checkStrictly;\n },\n leafOnly: function leafOnly() {\n return !this.checkStrictly;\n },\n isHoverMenu: function isHoverMenu() {\n return this.config.expandTrigger === 'hover';\n },\n renderLabelFn: function renderLabelFn() {\n return this.renderLabel || this.$scopedSlots[\"default\"];\n }\n },\n watch: {\n value: function value() {\n this.syncCheckedValue();\n this.checkStrictly && this.calculateCheckedNodePaths();\n },\n options: {\n handler: function handler() {\n this.initStore();\n },\n immediate: true,\n deep: true\n },\n checkedValue: function checkedValue(val) {\n if (!Object(util_[\"isEqual\"])(val, this.value)) {\n this.checkStrictly && this.calculateCheckedNodePaths();\n this.$emit('input', val);\n this.$emit('change', val);\n }\n }\n },\n mounted: function mounted() {\n if (!this.isEmptyValue(this.value)) {\n this.syncCheckedValue();\n }\n },\n methods: {\n initStore: function initStore() {\n var config = this.config,\n options = this.options;\n\n if (config.lazy && Object(util_[\"isEmpty\"])(options)) {\n this.lazyLoad();\n } else {\n this.store = new src_store(options, config);\n this.menus = [this.store.getNodes()];\n this.syncMenuState();\n }\n },\n syncCheckedValue: function syncCheckedValue() {\n var value = this.value,\n checkedValue = this.checkedValue;\n\n if (!Object(util_[\"isEqual\"])(value, checkedValue)) {\n this.activePath = [];\n this.checkedValue = value;\n this.syncMenuState();\n }\n },\n syncMenuState: function syncMenuState() {\n var multiple = this.multiple,\n checkStrictly = this.checkStrictly;\n this.syncActivePath();\n multiple && this.syncMultiCheckState();\n checkStrictly && this.calculateCheckedNodePaths();\n this.$nextTick(this.scrollIntoView);\n },\n syncMultiCheckState: function syncMultiCheckState() {\n var _this = this;\n\n var nodes = this.getFlattedNodes(this.leafOnly);\n nodes.forEach(function (node) {\n node.syncCheckState(_this.checkedValue);\n });\n },\n isEmptyValue: function isEmptyValue(val) {\n var multiple = this.multiple,\n config = this.config;\n var emitPath = config.emitPath;\n\n if (multiple || emitPath) {\n return Object(util_[\"isEmpty\"])(val);\n }\n\n return false;\n },\n syncActivePath: function syncActivePath() {\n var _this2 = this;\n\n var store = this.store,\n multiple = this.multiple,\n activePath = this.activePath,\n checkedValue = this.checkedValue;\n\n if (!Object(util_[\"isEmpty\"])(activePath)) {\n var nodes = activePath.map(function (node) {\n return _this2.getNodeByValue(node.getValue());\n });\n this.expandNodes(nodes);\n } else if (!this.isEmptyValue(checkedValue)) {\n var value = multiple ? checkedValue[0] : checkedValue;\n var checkedNode = this.getNodeByValue(value) || {};\n\n var _nodes = (checkedNode.pathNodes || []).slice(0, -1);\n\n this.expandNodes(_nodes);\n } else {\n this.activePath = [];\n this.menus = [store.getNodes()];\n }\n },\n expandNodes: function expandNodes(nodes) {\n var _this3 = this;\n\n nodes.forEach(function (node) {\n return _this3.handleExpand(node, true\n /* silent */\n );\n });\n },\n calculateCheckedNodePaths: function calculateCheckedNodePaths() {\n var _this4 = this;\n\n var checkedValue = this.checkedValue,\n multiple = this.multiple;\n var checkedValues = multiple ? Object(util_[\"coerceTruthyValueToArray\"])(checkedValue) : [checkedValue];\n this.checkedNodePaths = checkedValues.map(function (v) {\n var checkedNode = _this4.getNodeByValue(v);\n\n return checkedNode ? checkedNode.pathNodes : [];\n });\n },\n handleKeyDown: function handleKeyDown(e) {\n var target = e.target,\n keyCode = e.keyCode;\n\n switch (keyCode) {\n case KeyCode.up:\n var prev = getSibling(target, -1);\n focusNode(prev);\n break;\n\n case KeyCode.down:\n var next = getSibling(target, 1);\n focusNode(next);\n break;\n\n case KeyCode.left:\n var preMenu = this.$refs.menu[getMenuIndex(target) - 1];\n\n if (preMenu) {\n var expandedNode = preMenu.$el.querySelector('.el-cascader-node[aria-expanded=\"true\"]');\n focusNode(expandedNode);\n }\n\n break;\n\n case KeyCode.right:\n var nextMenu = this.$refs.menu[getMenuIndex(target) + 1];\n\n if (nextMenu) {\n var firstNode = nextMenu.$el.querySelector('.el-cascader-node[tabindex=\"-1\"]');\n focusNode(firstNode);\n }\n\n break;\n\n case KeyCode.enter:\n checkNode(target);\n break;\n\n case KeyCode.esc:\n case KeyCode.tab:\n this.$emit('close');\n break;\n\n default:\n return;\n }\n },\n handleExpand: function handleExpand(node, silent) {\n var activePath = this.activePath;\n var level = node.level;\n var path = activePath.slice(0, level - 1);\n var menus = this.menus.slice(0, level);\n\n if (!node.isLeaf) {\n path.push(node);\n menus.push(node.children);\n }\n\n this.activePath = path;\n this.menus = menus;\n\n if (!silent) {\n var pathValues = path.map(function (node) {\n return node.getValue();\n });\n var activePathValues = activePath.map(function (node) {\n return node.getValue();\n });\n\n if (!Object(util_[\"valueEquals\"])(pathValues, activePathValues)) {\n this.$emit('active-item-change', pathValues); // Deprecated\n\n this.$emit('expand-change', pathValues);\n }\n }\n },\n handleCheckChange: function handleCheckChange(value) {\n this.checkedValue = value;\n },\n lazyLoad: function lazyLoad(node, onFullfiled) {\n var _this5 = this;\n\n var config = this.config;\n\n if (!node) {\n node = node || {\n root: true,\n level: 0\n };\n this.store = new src_store([], config);\n this.menus = [this.store.getNodes()];\n }\n\n node.loading = true;\n\n var resolve = function resolve(dataList) {\n var parent = node.root ? null : node;\n dataList && dataList.length && _this5.store.appendNodes(dataList, parent);\n node.loading = false;\n node.loaded = true; // dispose default value on lazy load mode\n\n if (Array.isArray(_this5.checkedValue)) {\n var nodeValue = _this5.checkedValue[_this5.loadCount++];\n var valueKey = _this5.config.value;\n var leafKey = _this5.config.leaf;\n\n if (Array.isArray(dataList) && dataList.filter(function (item) {\n return item[valueKey] === nodeValue;\n }).length > 0) {\n var checkedNode = _this5.store.getNodeByValue(nodeValue);\n\n if (!checkedNode.data[leafKey]) {\n _this5.lazyLoad(checkedNode, function () {\n _this5.handleExpand(checkedNode);\n });\n }\n\n if (_this5.loadCount === _this5.checkedValue.length) {\n _this5.$parent.computePresentText();\n }\n }\n }\n\n onFullfiled && onFullfiled(dataList);\n };\n\n config.lazyLoad(node, resolve);\n },\n\n /**\n * public methods\n */\n calculateMultiCheckedValue: function calculateMultiCheckedValue() {\n this.checkedValue = this.getCheckedNodes(this.leafOnly).map(function (node) {\n return node.getValueByOption();\n });\n },\n scrollIntoView: function scrollIntoView() {\n if (this.$isServer) return;\n var menus = this.$refs.menu || [];\n menus.forEach(function (menu) {\n var menuElement = menu.$el;\n\n if (menuElement) {\n var container = menuElement.querySelector('.el-scrollbar__wrap');\n var activeNode = menuElement.querySelector('.el-cascader-node.is-active') || menuElement.querySelector('.el-cascader-node.in-active-path');\n scroll_into_view_default()(container, activeNode);\n }\n });\n },\n getNodeByValue: function getNodeByValue(val) {\n return this.store.getNodeByValue(val);\n },\n getFlattedNodes: function getFlattedNodes(leafOnly) {\n var cached = !this.config.lazy;\n return this.store.getFlattedNodes(leafOnly, cached);\n },\n getCheckedNodes: function getCheckedNodes(leafOnly) {\n var checkedValue = this.checkedValue,\n multiple = this.multiple;\n\n if (multiple) {\n var nodes = this.getFlattedNodes(leafOnly);\n return nodes.filter(function (node) {\n return node.checked;\n });\n } else {\n return this.isEmptyValue(checkedValue) ? [] : [this.getNodeByValue(checkedValue)];\n }\n },\n clearCheckedNodes: function clearCheckedNodes() {\n var config = this.config,\n leafOnly = this.leafOnly;\n var multiple = config.multiple,\n emitPath = config.emitPath;\n\n if (multiple) {\n this.getCheckedNodes(leafOnly).filter(function (node) {\n return !node.isDisabled;\n }).forEach(function (node) {\n return node.doCheck(false);\n });\n this.calculateMultiCheckedValue();\n } else {\n this.checkedValue = emitPath ? [] : null;\n }\n }\n }\n }; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_cascader_panelvue_type_script_lang_js_ = cascader_panelvue_type_script_lang_js_; // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue\n\n /* normalize component */\n\n var cascader_panel_component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_cascader_panelvue_type_script_lang_js_, cascader_panelvue_type_template_id_34932346_render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var cascader_panel_api;\n }\n\n cascader_panel_component.options.__file = \"packages/cascader-panel/src/cascader-panel.vue\";\n /* harmony default export */\n\n var cascader_panel = cascader_panel_component.exports; // CONCATENATED MODULE: ./packages/cascader-panel/index.js\n\n /* istanbul ignore next */\n\n cascader_panel.install = function (Vue) {\n Vue.component(cascader_panel.name, cascader_panel);\n };\n /* harmony default export */\n\n\n var packages_cascader_panel = __webpack_exports__[\"default\"] = cascader_panel;\n /***/\n },\n\n /***/\n 9:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/merge\");\n /***/\n }\n /******/\n\n});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nmodule.exports =\n/******/\nfunction (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"/dist/\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = 78);\n /******/\n}(\n/************************************************************************/\n\n/******/\n{\n /***/\n 0:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* harmony export (binding) */\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return normalizeComponent;\n });\n /* globals __VUE_SSR_CONTEXT__ */\n // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n // This module is a runtime utility for cleaner component module output and will\n // be included in the final webpack user bundle.\n\n\n function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier,\n /* server only */\n shadowMode\n /* vue-cli only */\n ) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function' ? scriptExports.options : scriptExports; // render functions\n\n if (render) {\n options.render = render;\n options.staticRenderFns = staticRenderFns;\n options._compiled = true;\n } // functional template\n\n\n if (functionalTemplate) {\n options.functional = true;\n } // scopedId\n\n\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId;\n }\n\n var hook;\n\n if (moduleIdentifier) {\n // server build\n hook = function hook(context) {\n // 2.3 injection\n context = context || // cached call\n this.$vnode && this.$vnode.ssrContext || // stateful\n this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional\n // 2.2 with runInNewContext: true\n\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__;\n } // inject component styles\n\n\n if (injectStyles) {\n injectStyles.call(this, context);\n } // register component module identifier for async chunk inferrence\n\n\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier);\n }\n }; // used by ssr in case component is cached and beforeCreate\n // never gets called\n\n\n options._ssrRegister = hook;\n } else if (injectStyles) {\n hook = shadowMode ? function () {\n injectStyles.call(this, this.$root.$options.shadowRoot);\n } : injectStyles;\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook; // register for functioal component in vue file\n\n var originalRender = options.render;\n\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context);\n return originalRender(h, context);\n };\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate;\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook];\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n };\n }\n /***/\n\n },\n\n /***/\n 2:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/dom\");\n /***/\n },\n\n /***/\n 3:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/util\");\n /***/\n },\n\n /***/\n 5:\n /***/\n function _(module, exports) {\n module.exports = require(\"element-ui/lib/utils/vue-popper\");\n /***/\n },\n\n /***/\n 7:\n /***/\n function _(module, exports) {\n module.exports = require(\"vue\");\n /***/\n },\n\n /***/\n 78:\n /***/\n function _(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/popover/src/main.vue?vue&type=template&id=52060272&\n\n\n var render = function render() {\n var _vm = this;\n\n var _h = _vm.$createElement;\n\n var _c = _vm._self._c || _h;\n\n return _c(\"span\", [_c(\"transition\", {\n attrs: {\n name: _vm.transition\n },\n on: {\n \"after-enter\": _vm.handleAfterEnter,\n \"after-leave\": _vm.handleAfterLeave\n }\n }, [_c(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.disabled && _vm.showPopper,\n expression: \"!disabled && showPopper\"\n }],\n ref: \"popper\",\n staticClass: \"el-popover el-popper\",\n \"class\": [_vm.popperClass, _vm.content && \"el-popover--plain\"],\n style: {\n width: _vm.width + \"px\"\n },\n attrs: {\n role: \"tooltip\",\n id: _vm.tooltipId,\n \"aria-hidden\": _vm.disabled || !_vm.showPopper ? \"true\" : \"false\"\n }\n }, [_vm.title ? _c(\"div\", {\n staticClass: \"el-popover__title\",\n domProps: {\n textContent: _vm._s(_vm.title)\n }\n }) : _vm._e(), _vm._t(\"default\", [_vm._v(_vm._s(_vm.content))])], 2)]), _c(\"span\", {\n ref: \"wrapper\",\n staticClass: \"el-popover__reference-wrapper\"\n }, [_vm._t(\"reference\")], 2)], 1);\n };\n\n var staticRenderFns = [];\n render._withStripped = true; // CONCATENATED MODULE: ./packages/popover/src/main.vue?vue&type=template&id=52060272&\n // EXTERNAL MODULE: external \"element-ui/lib/utils/vue-popper\"\n\n var vue_popper_ = __webpack_require__(5);\n\n var vue_popper_default =\n /*#__PURE__*/\n __webpack_require__.n(vue_popper_); // EXTERNAL MODULE: external \"element-ui/lib/utils/dom\"\n\n\n var dom_ = __webpack_require__(2); // EXTERNAL MODULE: external \"element-ui/lib/utils/util\"\n\n\n var util_ = __webpack_require__(3); // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/popover/src/main.vue?vue&type=script&lang=js&\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n //\n\n /* harmony default export */\n\n\n var mainvue_type_script_lang_js_ = {\n name: 'ElPopover',\n mixins: [vue_popper_default.a],\n props: {\n trigger: {\n type: String,\n \"default\": 'click',\n validator: function validator(value) {\n return ['click', 'focus', 'hover', 'manual'].indexOf(value) > -1;\n }\n },\n openDelay: {\n type: Number,\n \"default\": 0\n },\n closeDelay: {\n type: Number,\n \"default\": 200\n },\n title: String,\n disabled: Boolean,\n content: String,\n reference: {},\n popperClass: String,\n width: {},\n visibleArrow: {\n \"default\": true\n },\n arrowOffset: {\n type: Number,\n \"default\": 0\n },\n transition: {\n type: String,\n \"default\": 'fade-in-linear'\n },\n tabindex: {\n type: Number,\n \"default\": 0\n }\n },\n computed: {\n tooltipId: function tooltipId() {\n return 'el-popover-' + Object(util_[\"generateId\"])();\n }\n },\n watch: {\n showPopper: function showPopper(val) {\n if (this.disabled) {\n return;\n }\n\n val ? this.$emit('show') : this.$emit('hide');\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n var reference = this.referenceElm = this.reference || this.$refs.reference;\n var popper = this.popper || this.$refs.popper;\n\n if (!reference && this.$refs.wrapper.children) {\n reference = this.referenceElm = this.$refs.wrapper.children[0];\n } // å¯è®¿é—®æ€§\n\n\n if (reference) {\n Object(dom_[\"addClass\"])(reference, 'el-popover__reference');\n reference.setAttribute('aria-describedby', this.tooltipId);\n reference.setAttribute('tabindex', this.tabindex); // tabåºåˆ—\n\n popper.setAttribute('tabindex', 0);\n\n if (this.trigger !== 'click') {\n Object(dom_[\"on\"])(reference, 'focusin', function () {\n _this.handleFocus();\n\n var instance = reference.__vue__;\n\n if (instance && typeof instance.focus === 'function') {\n instance.focus();\n }\n });\n Object(dom_[\"on\"])(popper, 'focusin', this.handleFocus);\n Object(dom_[\"on\"])(reference, 'focusout', this.handleBlur);\n Object(dom_[\"on\"])(popper, 'focusout', this.handleBlur);\n }\n\n Object(dom_[\"on\"])(reference, 'keydown', this.handleKeydown);\n Object(dom_[\"on\"])(reference, 'click', this.handleClick);\n }\n\n if (this.trigger === 'click') {\n Object(dom_[\"on\"])(reference, 'click', this.doToggle);\n Object(dom_[\"on\"])(document, 'click', this.handleDocumentClick);\n } else if (this.trigger === 'hover') {\n Object(dom_[\"on\"])(reference, 'mouseenter', this.handleMouseEnter);\n Object(dom_[\"on\"])(popper, 'mouseenter', this.handleMouseEnter);\n Object(dom_[\"on\"])(reference, 'mouseleave', this.handleMouseLeave);\n Object(dom_[\"on\"])(popper, 'mouseleave', this.handleMouseLeave);\n } else if (this.trigger === 'focus') {\n if (this.tabindex < 0) {\n console.warn('[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key');\n }\n\n if (reference.querySelector('input, textarea')) {\n Object(dom_[\"on\"])(reference, 'focusin', this.doShow);\n Object(dom_[\"on\"])(reference, 'focusout', this.doClose);\n } else {\n Object(dom_[\"on\"])(reference, 'mousedown', this.doShow);\n Object(dom_[\"on\"])(reference, 'mouseup', this.doClose);\n }\n }\n },\n beforeDestroy: function beforeDestroy() {\n this.cleanup();\n },\n deactivated: function deactivated() {\n this.cleanup();\n },\n methods: {\n doToggle: function doToggle() {\n this.showPopper = !this.showPopper;\n },\n doShow: function doShow() {\n this.showPopper = true;\n },\n doClose: function doClose() {\n this.showPopper = false;\n },\n handleFocus: function handleFocus() {\n Object(dom_[\"addClass\"])(this.referenceElm, 'focusing');\n if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = true;\n },\n handleClick: function handleClick() {\n Object(dom_[\"removeClass\"])(this.referenceElm, 'focusing');\n },\n handleBlur: function handleBlur() {\n Object(dom_[\"removeClass\"])(this.referenceElm, 'focusing');\n if (this.trigger === 'click' || this.trigger === 'focus') this.showPopper = false;\n },\n handleMouseEnter: function handleMouseEnter() {\n var _this2 = this;\n\n clearTimeout(this._timer);\n\n if (this.openDelay) {\n this._timer = setTimeout(function () {\n _this2.showPopper = true;\n }, this.openDelay);\n } else {\n this.showPopper = true;\n }\n },\n handleKeydown: function handleKeydown(ev) {\n if (ev.keyCode === 27 && this.trigger !== 'manual') {\n // esc\n this.doClose();\n }\n },\n handleMouseLeave: function handleMouseLeave() {\n var _this3 = this;\n\n clearTimeout(this._timer);\n\n if (this.closeDelay) {\n this._timer = setTimeout(function () {\n _this3.showPopper = false;\n }, this.closeDelay);\n } else {\n this.showPopper = false;\n }\n },\n handleDocumentClick: function handleDocumentClick(e) {\n var reference = this.reference || this.$refs.reference;\n var popper = this.popper || this.$refs.popper;\n\n if (!reference && this.$refs.wrapper.children) {\n reference = this.referenceElm = this.$refs.wrapper.children[0];\n }\n\n if (!this.$el || !reference || this.$el.contains(e.target) || reference.contains(e.target) || !popper || popper.contains(e.target)) return;\n this.showPopper = false;\n },\n handleAfterEnter: function handleAfterEnter() {\n this.$emit('after-enter');\n },\n handleAfterLeave: function handleAfterLeave() {\n this.$emit('after-leave');\n this.doDestroy();\n },\n cleanup: function cleanup() {\n if (this.openDelay || this.closeDelay) {\n clearTimeout(this._timer);\n }\n }\n },\n destroyed: function destroyed() {\n var reference = this.reference;\n Object(dom_[\"off\"])(reference, 'click', this.doToggle);\n Object(dom_[\"off\"])(reference, 'mouseup', this.doClose);\n Object(dom_[\"off\"])(reference, 'mousedown', this.doShow);\n Object(dom_[\"off\"])(reference, 'focusin', this.doShow);\n Object(dom_[\"off\"])(reference, 'focusout', this.doClose);\n Object(dom_[\"off\"])(reference, 'mousedown', this.doShow);\n Object(dom_[\"off\"])(reference, 'mouseup', this.doClose);\n Object(dom_[\"off\"])(reference, 'mouseleave', this.handleMouseLeave);\n Object(dom_[\"off\"])(reference, 'mouseenter', this.handleMouseEnter);\n Object(dom_[\"off\"])(document, 'click', this.handleDocumentClick);\n }\n }; // CONCATENATED MODULE: ./packages/popover/src/main.vue?vue&type=script&lang=js&\n\n /* harmony default export */\n\n var src_mainvue_type_script_lang_js_ = mainvue_type_script_lang_js_; // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js\n\n var componentNormalizer = __webpack_require__(0); // CONCATENATED MODULE: ./packages/popover/src/main.vue\n\n /* normalize component */\n\n\n var component = Object(componentNormalizer[\"a\"\n /* default */\n ])(src_mainvue_type_script_lang_js_, render, staticRenderFns, false, null, null, null);\n /* hot reload */\n\n if (false) {\n var api;\n }\n\n component.options.__file = \"packages/popover/src/main.vue\";\n /* harmony default export */\n\n var main = component.exports; // CONCATENATED MODULE: ./packages/popover/src/directive.js\n\n var getReference = function getReference(el, binding, vnode) {\n var _ref = binding.expression ? binding.value : binding.arg;\n\n var popper = vnode.context.$refs[_ref];\n\n if (popper) {\n if (Array.isArray(popper)) {\n popper[0].$refs.reference = el;\n } else {\n popper.$refs.reference = el;\n }\n }\n };\n /* harmony default export */\n\n\n var directive = {\n bind: function bind(el, binding, vnode) {\n getReference(el, binding, vnode);\n },\n inserted: function inserted(el, binding, vnode) {\n getReference(el, binding, vnode);\n }\n }; // EXTERNAL MODULE: external \"vue\"\n\n var external_vue_ = __webpack_require__(7);\n\n var external_vue_default =\n /*#__PURE__*/\n __webpack_require__.n(external_vue_); // CONCATENATED MODULE: ./packages/popover/index.js\n\n\n external_vue_default.a.directive('popover', directive);\n /* istanbul ignore next */\n\n main.install = function (Vue) {\n Vue.directive('popover', directive);\n Vue.component(main.name, main);\n };\n\n main.directive = directive;\n /* harmony default export */\n\n var popover = __webpack_exports__[\"default\"] = main;\n /***/\n }\n /******/\n\n});","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormSection.vue?vue&type=style&index=0&id=3075e2a2&prod&lang=scss&scoped=true&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../../node_modules/resolve-url-loader/index.js!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./main.vue?vue&type=style&index=0&id=8bda0038&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Anchor.vue?vue&type=style&index=0&id=054a68a5&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Button.vue?vue&type=style&index=0&id=667101b8&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Column.vue?vue&type=style&index=0&id=8ea86386&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=style&index=0&id=1ca98d89&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Select.vue?vue&type=style&index=1&id=1ca98d89&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownItem.vue?vue&type=style&index=0&id=21ebb202&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropdownMenu.vue?vue&type=style&index=0&id=67e16932&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormGroup.vue?vue&type=style&index=0&id=d9f1b17c&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Heading.vue?vue&type=style&index=0&id=3020539f&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumericInputCustom.vue?vue&type=style&index=0&id=95551e02&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Popover.vue?vue&type=style&index=0&id=948e5918&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Radio.vue?vue&type=style&index=0&id=afc8219e&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RadioGroup.vue?vue&type=style&index=0&id=6cc3ff54&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Row.vue?vue&type=style&index=0&id=07ce282f&prod&lang=scss&\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/index.js??ref--2-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--2-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!./SelectDialog.vue?vue&type=style&index=0&id=a8315e28&prod&lang=css&\"","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version {{version}}\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n//\n// Cross module loader\n// Supported: Node, AMD, Browser globals\n//\n;\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory);\n } else if ((typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === 'object' && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n // Browser globals (root is window)\n root.Popper = factory();\n }\n})(this, function () {\n 'use strict';\n\n var root = window; // default options\n\n var DEFAULTS = {\n // placement of the popper\n placement: 'bottom',\n gpuAcceleration: true,\n // shift popper from its origin by the given amount of pixels (can be negative)\n offset: 0,\n // the element which will act as boundary of the popper\n boundariesElement: 'viewport',\n // amount of pixel used to define a minimum distance between the boundaries and the popper\n boundariesPadding: 5,\n // popper will try to prevent overflow following this order,\n // by default, then, it could overflow on the left and on top of the boundariesElement\n preventOverflowOrder: ['left', 'right', 'top', 'bottom'],\n // the behavior used by flip to change the placement of the popper\n flipBehavior: 'flip',\n arrowElement: '[x-arrow]',\n arrowOffset: 0,\n // list of functions used to modify the offsets before they are applied to the popper\n modifiers: ['shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle'],\n modifiersIgnored: [],\n forceAbsolute: false\n };\n /**\n * Create a new Popper.js instance\n * @constructor Popper\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement|Object} popper\n * The HTML element used as popper, or a configuration used to generate the popper.\n * @param {String} [popper.tagName='div'] The tag name of the generated popper.\n * @param {Array} [popper.classNames=['popper']] Array of classes to apply to the generated popper.\n * @param {Array} [popper.attributes] Array of attributes to apply, specify `attr:value` to assign a value to it.\n * @param {HTMLElement|String} [popper.parent=window.document.body] The parent element, given as HTMLElement or as query string.\n * @param {String} [popper.content=''] The content of the popper, it can be text, html, or node; if it is not text, set `contentType` to `html` or `node`.\n * @param {String} [popper.contentType='text'] If `html`, the `content` will be parsed as HTML. If `node`, it will be appended as-is.\n * @param {String} [popper.arrowTagName='div'] Same as `popper.tagName` but for the arrow element.\n * @param {Array} [popper.arrowClassNames='popper__arrow'] Same as `popper.classNames` but for the arrow element.\n * @param {String} [popper.arrowAttributes=['x-arrow']] Same as `popper.attributes` but for the arrow element.\n * @param {Object} options\n * @param {String} [options.placement=bottom]\n * Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -right),\n * left(-start, -end)`\n *\n * @param {HTMLElement|String} [options.arrowElement='[x-arrow]']\n * The DOM Node used as arrow for the popper, or a CSS selector used to get the DOM node. It must be child of\n * its parent Popper. Popper.js will apply to the given element the style required to align the arrow with its\n * reference element.\n * By default, it will look for a child node of the popper with the `x-arrow` attribute.\n *\n * @param {Boolean} [options.gpuAcceleration=true]\n * When this property is set to true, the popper position will be applied using CSS3 translate3d, allowing the\n * browser to use the GPU to accelerate the rendering.\n * If set to false, the popper will be placed using `top` and `left` properties, not using the GPU.\n *\n * @param {Number} [options.offset=0]\n * Amount of pixels the popper will be shifted (can be negative).\n *\n * @param {String|Element} [options.boundariesElement='viewport']\n * The element which will define the boundaries of the popper position, the popper will never be placed outside\n * of the defined boundaries (except if `keepTogether` is enabled)\n *\n * @param {Number} [options.boundariesPadding=5]\n * Additional padding for the boundaries\n *\n * @param {Array} [options.preventOverflowOrder=['left', 'right', 'top', 'bottom']]\n * Order used when Popper.js tries to avoid overflows from the boundaries, they will be checked in order,\n * this means that the last ones will never overflow\n *\n * @param {String|Array} [options.flipBehavior='flip']\n * The behavior used by the `flip` modifier to change the placement of the popper when the latter is trying to\n * overlap its reference element. Defining `flip` as value, the placement will be flipped on\n * its axis (`right - left`, `top - bottom`).\n * You can even pass an array of placements (eg: `['right', 'left', 'top']` ) to manually specify\n * how alter the placement when a flip is needed. (eg. in the above example, it would first flip from right to left,\n * then, if even in its new placement, the popper is overlapping its reference element, it will be moved to top)\n *\n * @param {Array} [options.modifiers=[ 'shift', 'offset', 'preventOverflow', 'keepTogether', 'arrow', 'flip', 'applyStyle']]\n * List of functions used to modify the data before they are applied to the popper, add your custom functions\n * to this array to edit the offsets and placement.\n * The function should reflect the @params and @returns of preventOverflow\n *\n * @param {Array} [options.modifiersIgnored=[]]\n * Put here any built-in modifier name you want to exclude from the modifiers list\n * The function should reflect the @params and @returns of preventOverflow\n *\n * @param {Boolean} [options.removeOnDestroy=false]\n * Set to true if you want to automatically remove the popper when you call the `destroy` method.\n */\n\n function Popper(reference, popper, options) {\n this._reference = reference.jquery ? reference[0] : reference;\n this.state = {}; // if the popper variable is a configuration object, parse it to generate an HTMLElement\n // generate a default popper if is not defined\n\n var isNotDefined = typeof popper === 'undefined' || popper === null;\n var isConfig = popper && Object.prototype.toString.call(popper) === '[object Object]';\n\n if (isNotDefined || isConfig) {\n this._popper = this.parse(isConfig ? popper : {});\n } // otherwise, use the given HTMLElement as popper\n else {\n this._popper = popper.jquery ? popper[0] : popper;\n } // with {} we create a new object with the options inside it\n\n\n this._options = Object.assign({}, DEFAULTS, options); // refactoring modifiers' list\n\n this._options.modifiers = this._options.modifiers.map(function (modifier) {\n // remove ignored modifiers\n if (this._options.modifiersIgnored.indexOf(modifier) !== -1) return; // set the x-placement attribute before everything else because it could be used to add margins to the popper\n // margins needs to be calculated to get the correct popper offsets\n\n if (modifier === 'applyStyle') {\n this._popper.setAttribute('x-placement', this._options.placement);\n } // return predefined modifier identified by string or keep the custom one\n\n\n return this.modifiers[modifier] || modifier;\n }.bind(this)); // make sure to apply the popper position before any computation\n\n this.state.position = this._getPosition(this._popper, this._reference);\n setStyle(this._popper, {\n position: this.state.position,\n top: 0\n }); // fire the first update to position the popper in the right place\n\n this.update(); // setup event listeners, they will take care of update the position in specific situations\n\n this._setupEventListeners();\n\n return this;\n } //\n // Methods\n //\n\n /**\n * Destroy the popper\n * @method\n * @memberof Popper\n */\n\n\n Popper.prototype.destroy = function () {\n this._popper.removeAttribute('x-placement');\n\n this._popper.style.left = '';\n this._popper.style.position = '';\n this._popper.style.top = '';\n this._popper.style[getSupportedPropertyName('transform')] = '';\n\n this._removeEventListeners(); // remove the popper if user explicity asked for the deletion on destroy\n\n\n if (this._options.removeOnDestroy) {\n this._popper.remove();\n }\n\n return this;\n };\n /**\n * Updates the position of the popper, computing the new offsets and applying the new style\n * @method\n * @memberof Popper\n */\n\n\n Popper.prototype.update = function () {\n var data = {\n instance: this,\n styles: {}\n }; // store placement inside the data object, modifiers will be able to edit `placement` if needed\n // and refer to _originalPlacement to know the original value\n\n data.placement = this._options.placement;\n data._originalPlacement = this._options.placement; // compute the popper and reference offsets and put them inside data.offsets\n\n data.offsets = this._getOffsets(this._popper, this._reference, data.placement); // get boundaries\n\n data.boundaries = this._getBoundaries(data, this._options.boundariesPadding, this._options.boundariesElement);\n data = this.runModifiers(data, this._options.modifiers);\n\n if (typeof this.state.updateCallback === 'function') {\n this.state.updateCallback(data);\n }\n };\n /**\n * If a function is passed, it will be executed after the initialization of popper with as first argument the Popper instance.\n * @method\n * @memberof Popper\n * @param {Function} callback\n */\n\n\n Popper.prototype.onCreate = function (callback) {\n // the createCallbacks return as first argument the popper instance\n callback(this);\n return this;\n };\n /**\n * If a function is passed, it will be executed after each update of popper with as first argument the set of coordinates and informations\n * used to style popper and its arrow.\n * NOTE: it doesn't get fired on the first call of the `Popper.update()` method inside the `Popper` constructor!\n * @method\n * @memberof Popper\n * @param {Function} callback\n */\n\n\n Popper.prototype.onUpdate = function (callback) {\n this.state.updateCallback = callback;\n return this;\n };\n /**\n * Helper used to generate poppers from a configuration file\n * @method\n * @memberof Popper\n * @param config {Object} configuration\n * @returns {HTMLElement} popper\n */\n\n\n Popper.prototype.parse = function (config) {\n var defaultConfig = {\n tagName: 'div',\n classNames: ['popper'],\n attributes: [],\n parent: root.document.body,\n content: '',\n contentType: 'text',\n arrowTagName: 'div',\n arrowClassNames: ['popper__arrow'],\n arrowAttributes: ['x-arrow']\n };\n config = Object.assign({}, defaultConfig, config);\n var d = root.document;\n var popper = d.createElement(config.tagName);\n addClassNames(popper, config.classNames);\n addAttributes(popper, config.attributes);\n\n if (config.contentType === 'node') {\n popper.appendChild(config.content.jquery ? config.content[0] : config.content);\n } else if (config.contentType === 'html') {\n popper.innerHTML = config.content;\n } else {\n popper.textContent = config.content;\n }\n\n if (config.arrowTagName) {\n var arrow = d.createElement(config.arrowTagName);\n addClassNames(arrow, config.arrowClassNames);\n addAttributes(arrow, config.arrowAttributes);\n popper.appendChild(arrow);\n }\n\n var parent = config.parent.jquery ? config.parent[0] : config.parent; // if the given parent is a string, use it to match an element\n // if more than one element is matched, the first one will be used as parent\n // if no elements are matched, the script will throw an error\n\n if (typeof parent === 'string') {\n parent = d.querySelectorAll(config.parent);\n\n if (parent.length > 1) {\n console.warn('WARNING: the given `parent` query(' + config.parent + ') matched more than one element, the first one will be used');\n }\n\n if (parent.length === 0) {\n throw 'ERROR: the given `parent` doesn\\'t exists!';\n }\n\n parent = parent[0];\n } // if the given parent is a DOM nodes list or an array of nodes with more than one element,\n // the first one will be used as parent\n\n\n if (parent.length > 1 && parent instanceof Element === false) {\n console.warn('WARNING: you have passed as parent a list of elements, the first one will be used');\n parent = parent[0];\n } // append the generated popper to its parent\n\n\n parent.appendChild(popper);\n return popper;\n /**\n * Adds class names to the given element\n * @function\n * @ignore\n * @param {HTMLElement} target\n * @param {Array} classes\n */\n\n function addClassNames(element, classNames) {\n classNames.forEach(function (className) {\n element.classList.add(className);\n });\n }\n /**\n * Adds attributes to the given element\n * @function\n * @ignore\n * @param {HTMLElement} target\n * @param {Array} attributes\n * @example\n * addAttributes(element, [ 'data-info:foobar' ]);\n */\n\n\n function addAttributes(element, attributes) {\n attributes.forEach(function (attribute) {\n element.setAttribute(attribute.split(':')[0], attribute.split(':')[1] || '');\n });\n }\n };\n /**\n * Helper used to get the position which will be applied to the popper\n * @method\n * @memberof Popper\n * @param config {HTMLElement} popper element\n * @param reference {HTMLElement} reference element\n * @returns {String} position\n */\n\n\n Popper.prototype._getPosition = function (popper, reference) {\n var container = getOffsetParent(reference);\n\n if (this._options.forceAbsolute) {\n return 'absolute';\n } // Decide if the popper will be fixed\n // If the reference element is inside a fixed context, the popper will be fixed as well to allow them to scroll together\n\n\n var isParentFixed = isFixed(reference, container);\n return isParentFixed ? 'fixed' : 'absolute';\n };\n /**\n * Get offsets to the popper\n * @method\n * @memberof Popper\n * @access private\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\n\n\n Popper.prototype._getOffsets = function (popper, reference, placement) {\n placement = placement.split('-')[0];\n var popperOffsets = {};\n popperOffsets.position = this.state.position;\n var isParentFixed = popperOffsets.position === 'fixed'; //\n // Get reference element position\n //\n\n var referenceOffsets = getOffsetRectRelativeToCustomParent(reference, getOffsetParent(popper), isParentFixed); //\n // Get popper sizes\n //\n\n var popperRect = getOuterSizes(popper); //\n // Compute offsets of popper\n //\n // depending by the popper placement we have to compute its offsets slightly differently\n\n if (['right', 'left'].indexOf(placement) !== -1) {\n popperOffsets.top = referenceOffsets.top + referenceOffsets.height / 2 - popperRect.height / 2;\n\n if (placement === 'left') {\n popperOffsets.left = referenceOffsets.left - popperRect.width;\n } else {\n popperOffsets.left = referenceOffsets.right;\n }\n } else {\n popperOffsets.left = referenceOffsets.left + referenceOffsets.width / 2 - popperRect.width / 2;\n\n if (placement === 'top') {\n popperOffsets.top = referenceOffsets.top - popperRect.height;\n } else {\n popperOffsets.top = referenceOffsets.bottom;\n }\n } // Add width and height to our offsets object\n\n\n popperOffsets.width = popperRect.width;\n popperOffsets.height = popperRect.height;\n return {\n popper: popperOffsets,\n reference: referenceOffsets\n };\n };\n /**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper\n * @access private\n */\n\n\n Popper.prototype._setupEventListeners = function () {\n // NOTE: 1 DOM access here\n this.state.updateBound = this.update.bind(this);\n root.addEventListener('resize', this.state.updateBound); // if the boundariesElement is window we don't need to listen for the scroll event\n\n if (this._options.boundariesElement !== 'window') {\n var target = getScrollParent(this._reference); // here it could be both `body` or `documentElement` thanks to Firefox, we then check both\n\n if (target === root.document.body || target === root.document.documentElement) {\n target = root;\n }\n\n target.addEventListener('scroll', this.state.updateBound);\n this.state.scrollTarget = target;\n }\n };\n /**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper\n * @access private\n */\n\n\n Popper.prototype._removeEventListeners = function () {\n // NOTE: 1 DOM access here\n root.removeEventListener('resize', this.state.updateBound);\n\n if (this._options.boundariesElement !== 'window' && this.state.scrollTarget) {\n this.state.scrollTarget.removeEventListener('scroll', this.state.updateBound);\n this.state.scrollTarget = null;\n }\n\n this.state.updateBound = null;\n };\n /**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper\n * @access private\n * @param {Object} data - Object containing the property \"offsets\" generated by `_getOffsets`\n * @param {Number} padding - Boundaries padding\n * @param {Element} boundariesElement - Element used to define the boundaries\n * @returns {Object} Coordinates of the boundaries\n */\n\n\n Popper.prototype._getBoundaries = function (data, padding, boundariesElement) {\n // NOTE: 1 DOM access here\n var boundaries = {};\n var width, height;\n\n if (boundariesElement === 'window') {\n var body = root.document.body,\n html = root.document.documentElement;\n height = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);\n width = Math.max(body.scrollWidth, body.offsetWidth, html.clientWidth, html.scrollWidth, html.offsetWidth);\n boundaries = {\n top: 0,\n right: width,\n bottom: height,\n left: 0\n };\n } else if (boundariesElement === 'viewport') {\n var offsetParent = getOffsetParent(this._popper);\n var scrollParent = getScrollParent(this._popper);\n var offsetParentRect = getOffsetRect(offsetParent); // Thanks the fucking native API, `document.body.scrollTop` & `document.documentElement.scrollTop`\n\n var getScrollTopValue = function getScrollTopValue(element) {\n return element == document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : element.scrollTop;\n };\n\n var getScrollLeftValue = function getScrollLeftValue(element) {\n return element == document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : element.scrollLeft;\n }; // if the popper is fixed we don't have to substract scrolling from the boundaries\n\n\n var scrollTop = data.offsets.popper.position === 'fixed' ? 0 : getScrollTopValue(scrollParent);\n var scrollLeft = data.offsets.popper.position === 'fixed' ? 0 : getScrollLeftValue(scrollParent);\n boundaries = {\n top: 0 - (offsetParentRect.top - scrollTop),\n right: root.document.documentElement.clientWidth - (offsetParentRect.left - scrollLeft),\n bottom: root.document.documentElement.clientHeight - (offsetParentRect.top - scrollTop),\n left: 0 - (offsetParentRect.left - scrollLeft)\n };\n } else {\n if (getOffsetParent(this._popper) === boundariesElement) {\n boundaries = {\n top: 0,\n left: 0,\n right: boundariesElement.clientWidth,\n bottom: boundariesElement.clientHeight\n };\n } else {\n boundaries = getOffsetRect(boundariesElement);\n }\n }\n\n boundaries.left += padding;\n boundaries.right -= padding;\n boundaries.top = boundaries.top + padding;\n boundaries.bottom = boundaries.bottom - padding;\n return boundaries;\n };\n /**\n * Loop trough the list of modifiers and run them in order, each of them will then edit the data object\n * @method\n * @memberof Popper\n * @access public\n * @param {Object} data\n * @param {Array} modifiers\n * @param {Function} ends\n */\n\n\n Popper.prototype.runModifiers = function (data, modifiers, ends) {\n var modifiersToRun = modifiers.slice();\n\n if (ends !== undefined) {\n modifiersToRun = this._options.modifiers.slice(0, getArrayKeyIndex(this._options.modifiers, ends));\n }\n\n modifiersToRun.forEach(function (modifier) {\n if (isFunction(modifier)) {\n data = modifier.call(this, data);\n }\n }.bind(this));\n return data;\n };\n /**\n * Helper used to know if the given modifier depends from another one.\n * @method\n * @memberof Popper\n * @param {String} requesting - name of requesting modifier\n * @param {String} requested - name of requested modifier\n * @returns {Boolean}\n */\n\n\n Popper.prototype.isModifierRequired = function (requesting, requested) {\n var index = getArrayKeyIndex(this._options.modifiers, requesting);\n return !!this._options.modifiers.slice(0, index).filter(function (modifier) {\n return modifier === requested;\n }).length;\n }; //\n // Modifiers\n //\n\n /**\n * Modifiers list\n * @namespace Popper.modifiers\n * @memberof Popper\n * @type {Object}\n */\n\n\n Popper.prototype.modifiers = {};\n /**\n * Apply the computed styles to the popper element\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @returns {Object} The same data object\n */\n\n Popper.prototype.modifiers.applyStyle = function (data) {\n // apply the final offsets to the popper\n // NOTE: 1 DOM access here\n var styles = {\n position: data.offsets.popper.position\n }; // round top and left to avoid blurry text\n\n var left = Math.round(data.offsets.popper.left);\n var top = Math.round(data.offsets.popper.top); // if gpuAcceleration is set to true and transform is supported, we use `translate3d` to apply the position to the popper\n // we automatically use the supported prefixed version if needed\n\n var prefixedProperty;\n\n if (this._options.gpuAcceleration && (prefixedProperty = getSupportedPropertyName('transform'))) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles.top = 0;\n styles.left = 0;\n } // othwerise, we use the mini `left` and `top` properties\n else {\n styles.left = left;\n styles.top = top;\n } // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n\n\n Object.assign(styles, data.styles);\n setStyle(this._popper, styles); // set an attribute which will be useful to style the tooltip (use it to properly position its arrow)\n // NOTE: 1 DOM access here\n\n this._popper.setAttribute('x-placement', data.placement); // if the arrow modifier is required and the arrow style has been computed, apply the arrow style\n\n\n if (this.isModifierRequired(this.modifiers.applyStyle, this.modifiers.arrow) && data.offsets.arrow) {\n setStyle(data.arrowElement, data.offsets.arrow);\n }\n\n return data;\n };\n /**\n * Modifier used to shift the popper on the start or end of its reference element side\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.shift = function (data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftVariation = placement.split('-')[1]; // if shift shiftVariation is specified, run the modifier\n\n if (shiftVariation) {\n var reference = data.offsets.reference;\n var popper = getPopperClientRect(data.offsets.popper);\n var shiftOffsets = {\n y: {\n start: {\n top: reference.top\n },\n end: {\n top: reference.top + reference.height - popper.height\n }\n },\n x: {\n start: {\n left: reference.left\n },\n end: {\n left: reference.left + reference.width - popper.width\n }\n }\n };\n var axis = ['bottom', 'top'].indexOf(basePlacement) !== -1 ? 'x' : 'y';\n data.offsets.popper = Object.assign(popper, shiftOffsets[axis][shiftVariation]);\n }\n\n return data;\n };\n /**\n * Modifier used to make sure the popper does not overflows from it's boundaries\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.preventOverflow = function (data) {\n var order = this._options.preventOverflowOrder;\n var popper = getPopperClientRect(data.offsets.popper);\n var check = {\n left: function left() {\n var left = popper.left;\n\n if (popper.left < data.boundaries.left) {\n left = Math.max(popper.left, data.boundaries.left);\n }\n\n return {\n left: left\n };\n },\n right: function right() {\n var left = popper.left;\n\n if (popper.right > data.boundaries.right) {\n left = Math.min(popper.left, data.boundaries.right - popper.width);\n }\n\n return {\n left: left\n };\n },\n top: function top() {\n var top = popper.top;\n\n if (popper.top < data.boundaries.top) {\n top = Math.max(popper.top, data.boundaries.top);\n }\n\n return {\n top: top\n };\n },\n bottom: function bottom() {\n var top = popper.top;\n\n if (popper.bottom > data.boundaries.bottom) {\n top = Math.min(popper.top, data.boundaries.bottom - popper.height);\n }\n\n return {\n top: top\n };\n }\n };\n order.forEach(function (direction) {\n data.offsets.popper = Object.assign(popper, check[direction]());\n });\n return data;\n };\n /**\n * Modifier used to make sure the popper is always near its reference\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.keepTogether = function (data) {\n var popper = getPopperClientRect(data.offsets.popper);\n var reference = data.offsets.reference;\n var f = Math.floor;\n\n if (popper.right < f(reference.left)) {\n data.offsets.popper.left = f(reference.left) - popper.width;\n }\n\n if (popper.left > f(reference.right)) {\n data.offsets.popper.left = f(reference.right);\n }\n\n if (popper.bottom < f(reference.top)) {\n data.offsets.popper.top = f(reference.top) - popper.height;\n }\n\n if (popper.top > f(reference.bottom)) {\n data.offsets.popper.top = f(reference.bottom);\n }\n\n return data;\n };\n /**\n * Modifier used to flip the placement of the popper when the latter is starting overlapping its reference element.\n * Requires the `preventOverflow` modifier before it in order to work.\n * **NOTE:** This modifier will run all its previous modifiers everytime it tries to flip the popper!\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.flip = function (data) {\n // check if preventOverflow is in the list of modifiers before the flip modifier.\n // otherwise flip would not work as expected.\n if (!this.isModifierRequired(this.modifiers.flip, this.modifiers.preventOverflow)) {\n console.warn('WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!');\n return data;\n }\n\n if (data.flipped && data.placement === data._originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n var flipOrder = [];\n\n if (this._options.flipBehavior === 'flip') {\n flipOrder = [placement, placementOpposite];\n } else {\n flipOrder = this._options.flipBehavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n var popperOffsets = getPopperClientRect(data.offsets.popper); // this boolean is used to distinguish right and bottom from top and left\n // they need different computations to get flipped\n\n var a = ['right', 'bottom'].indexOf(placement) !== -1; // using Math.floor because the reference offsets may contain decimals we are not going to consider here\n\n if (a && Math.floor(data.offsets.reference[placement]) > Math.floor(popperOffsets[placementOpposite]) || !a && Math.floor(data.offsets.reference[placement]) < Math.floor(popperOffsets[placementOpposite])) {\n // we'll use this boolean to detect any flip loop\n data.flipped = true;\n data.placement = flipOrder[index + 1];\n\n if (variation) {\n data.placement += '-' + variation;\n }\n\n data.offsets.popper = this._getOffsets(this._popper, this._reference, data.placement).popper;\n data = this.runModifiers(data, this._options.modifiers, this._flip);\n }\n }.bind(this));\n return data;\n };\n /**\n * Modifier used to add an offset to the popper, useful if you more granularity positioning your popper.\n * The offsets will shift the popper on the side of its reference element.\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.offset = function (data) {\n var offset = this._options.offset;\n var popper = data.offsets.popper;\n\n if (data.placement.indexOf('left') !== -1) {\n popper.top -= offset;\n } else if (data.placement.indexOf('right') !== -1) {\n popper.top += offset;\n } else if (data.placement.indexOf('top') !== -1) {\n popper.left -= offset;\n } else if (data.placement.indexOf('bottom') !== -1) {\n popper.left += offset;\n }\n\n return data;\n };\n /**\n * Modifier used to move the arrows on the edge of the popper to make sure them are always between the popper and the reference element\n * It will use the CSS outer size of the arrow element to know how many pixels of conjuction are needed\n * @method\n * @memberof Popper.modifiers\n * @argument {Object} data - The data object generated by _update method\n * @returns {Object} The data object, properly modified\n */\n\n\n Popper.prototype.modifiers.arrow = function (data) {\n var arrow = this._options.arrowElement;\n var arrowOffset = this._options.arrowOffset; // if the arrowElement is a string, suppose it's a CSS selector\n\n if (typeof arrow === 'string') {\n arrow = this._popper.querySelector(arrow);\n } // if arrow element is not found, don't run the modifier\n\n\n if (!arrow) {\n return data;\n } // the arrow element must be child of its popper\n\n\n if (!this._popper.contains(arrow)) {\n console.warn('WARNING: `arrowElement` must be child of its popper element!');\n return data;\n } // arrow depends on keepTogether in order to work\n\n\n if (!this.isModifierRequired(this.modifiers.arrow, this.modifiers.keepTogether)) {\n console.warn('WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!');\n return data;\n }\n\n var arrowStyle = {};\n var placement = data.placement.split('-')[0];\n var popper = getPopperClientRect(data.offsets.popper);\n var reference = data.offsets.reference;\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n var len = isVertical ? 'height' : 'width';\n var side = isVertical ? 'top' : 'left';\n var translate = isVertical ? 'translateY' : 'translateX';\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowSize = getOuterSizes(arrow)[len]; //\n // extends keepTogether behavior making sure the popper and its reference have enough pixels in conjuction\n //\n // top/left side\n\n if (reference[opSide] - arrowSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowSize);\n } // bottom/right side\n\n\n if (reference[side] + arrowSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowSize - popper[opSide];\n } // compute center of the popper\n\n\n var center = reference[side] + (arrowOffset || reference[len] / 2 - arrowSize / 2);\n var sideValue = center - popper[side]; // prevent arrow from being placed not contiguously to its popper\n\n sideValue = Math.max(Math.min(popper[len] - arrowSize - 8, sideValue), 8);\n arrowStyle[side] = sideValue;\n arrowStyle[altSide] = ''; // make sure to remove any old style from the arrow\n\n data.offsets.arrow = arrowStyle;\n data.arrowElement = arrow;\n return data;\n }; //\n // Helpers\n //\n\n /**\n * Get the outer sizes of the given element (offset size + margins)\n * @function\n * @ignore\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\n\n\n function getOuterSizes(element) {\n // NOTE: 1 DOM access here\n var _display = element.style.display,\n _visibility = element.style.visibility;\n element.style.display = 'block';\n element.style.visibility = 'hidden';\n var calcWidthToForceRepaint = element.offsetWidth; // original method\n\n var styles = root.getComputedStyle(element);\n var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom);\n var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n }; // reset element styles\n\n element.style.display = _display;\n element.style.visibility = _visibility;\n return result;\n }\n /**\n * Get the opposite placement of the given one/\n * @function\n * @ignore\n * @argument {String} placement\n * @returns {String} flipped placement\n */\n\n\n function getOppositePlacement(placement) {\n var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n }\n /**\n * Given the popper offsets, generate an output similar to getBoundingClientRect\n * @function\n * @ignore\n * @argument {Object} popperOffsets\n * @returns {Object} ClientRect like output\n */\n\n\n function getPopperClientRect(popperOffsets) {\n var offsets = Object.assign({}, popperOffsets);\n offsets.right = offsets.left + offsets.width;\n offsets.bottom = offsets.top + offsets.height;\n return offsets;\n }\n /**\n * Given an array and the key to find, returns its index\n * @function\n * @ignore\n * @argument {Array} arr\n * @argument keyToFind\n * @returns index or null\n */\n\n\n function getArrayKeyIndex(arr, keyToFind) {\n var i = 0,\n key;\n\n for (key in arr) {\n if (arr[key] === keyToFind) {\n return i;\n }\n\n i++;\n }\n\n return null;\n }\n /**\n * Get CSS computed property of the given element\n * @function\n * @ignore\n * @argument {Eement} element\n * @argument {String} property\n */\n\n\n function getStyleComputedProperty(element, property) {\n // NOTE: 1 DOM access here\n var css = root.getComputedStyle(element, null);\n return css[property];\n }\n /**\n * Returns the offset parent of the given element\n * @function\n * @ignore\n * @argument {Element} element\n * @returns {Element} offset parent\n */\n\n\n function getOffsetParent(element) {\n // NOTE: 1 DOM access here\n var offsetParent = element.offsetParent;\n return offsetParent === root.document.body || !offsetParent ? root.document.documentElement : offsetParent;\n }\n /**\n * Returns the scrolling parent of the given element\n * @function\n * @ignore\n * @argument {Element} element\n * @returns {Element} offset parent\n */\n\n\n function getScrollParent(element) {\n var parent = element.parentNode;\n\n if (!parent) {\n return element;\n }\n\n if (parent === root.document) {\n // Firefox puts the scrollTOp value on `documentElement` instead of `body`, we then check which of them is\n // greater than 0 and return the proper element\n if (root.document.body.scrollTop || root.document.body.scrollLeft) {\n return root.document.body;\n } else {\n return root.document.documentElement;\n }\n } // Firefox want us to check `-x` and `-y` variations as well\n\n\n if (['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow')) !== -1 || ['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow-x')) !== -1 || ['scroll', 'auto'].indexOf(getStyleComputedProperty(parent, 'overflow-y')) !== -1) {\n // If the detected scrollParent is body, we perform an additional check on its parentNode\n // in this way we'll get body if the browser is Chrome-ish, or documentElement otherwise\n // fixes issue #65\n return parent;\n }\n\n return getScrollParent(element.parentNode);\n }\n /**\n * Check if the given element is fixed or is inside a fixed parent\n * @function\n * @ignore\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\n\n\n function isFixed(element) {\n if (element === root.document.body) {\n return false;\n }\n\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n\n return element.parentNode ? isFixed(element.parentNode) : element;\n }\n /**\n * Set the style to the given popper\n * @function\n * @ignore\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles - Object with a list of properties and values which will be applied to the element\n */\n\n\n function setStyle(element, styles) {\n function is_numeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n }\n\n Object.keys(styles).forEach(function (prop) {\n var unit = ''; // add unit if the value is numeric and is one of the following\n\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && is_numeric(styles[prop])) {\n unit = 'px';\n }\n\n element.style[prop] = styles[prop] + unit;\n });\n }\n /**\n * Check if the given variable is a function\n * @function\n * @ignore\n * @argument {*} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\n\n\n function isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n }\n /**\n * Get the position of the given element, relative to its offset parent\n * @function\n * @ignore\n * @param {Element} element\n * @return {Object} position - Coordinates of the element and its `scrollTop`\n */\n\n\n function getOffsetRect(element) {\n var elementRect = {\n width: element.offsetWidth,\n height: element.offsetHeight,\n left: element.offsetLeft,\n top: element.offsetTop\n };\n elementRect.right = elementRect.left + elementRect.width;\n elementRect.bottom = elementRect.top + elementRect.height; // position\n\n return elementRect;\n }\n /**\n * Get bounding client rect of given element\n * @function\n * @ignore\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\n\n\n function getBoundingClientRect(element) {\n var rect = element.getBoundingClientRect(); // whether the IE version is lower than 11\n\n var isIE = navigator.userAgent.indexOf(\"MSIE\") != -1; // fix ie document bounding top always 0 bug\n\n var rectTop = isIE && element.tagName === 'HTML' ? -element.scrollTop : rect.top;\n return {\n left: rect.left,\n top: rectTop,\n right: rect.right,\n bottom: rect.bottom,\n width: rect.right - rect.left,\n height: rect.bottom - rectTop\n };\n }\n /**\n * Given an element and one of its parents, return the offset\n * @function\n * @ignore\n * @param {HTMLElement} element\n * @param {HTMLElement} parent\n * @return {Object} rect\n */\n\n\n function getOffsetRectRelativeToCustomParent(element, parent, fixed) {\n var elementRect = getBoundingClientRect(element);\n var parentRect = getBoundingClientRect(parent);\n\n if (fixed) {\n var scrollParent = getScrollParent(parent);\n parentRect.top += scrollParent.scrollTop;\n parentRect.bottom += scrollParent.scrollTop;\n parentRect.left += scrollParent.scrollLeft;\n parentRect.right += scrollParent.scrollLeft;\n }\n\n var rect = {\n top: elementRect.top - parentRect.top,\n left: elementRect.left - parentRect.left,\n bottom: elementRect.top - parentRect.top + elementRect.height,\n right: elementRect.left - parentRect.left + elementRect.width,\n width: elementRect.width,\n height: elementRect.height\n };\n return rect;\n }\n /**\n * Get the prefixed supported property name\n * @function\n * @ignore\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase)\n */\n\n\n function getSupportedPropertyName(property) {\n var prefixes = ['', 'ms', 'webkit', 'moz', 'o'];\n\n for (var i = 0; i < prefixes.length; i++) {\n var toCheck = prefixes[i] ? prefixes[i] + property.charAt(0).toUpperCase() + property.slice(1) : property;\n\n if (typeof root.document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n\n return null;\n }\n /**\n * The Object.assign() method is used to copy the values of all enumerable own properties from one or more source\n * objects to a target object. It will return the target object.\n * This polyfill doesn't support symbol properties, since ES5 doesn't have symbols anyway\n * Source: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n * @function\n * @ignore\n */\n\n\n if (!Object.assign) {\n Object.defineProperty(Object, 'assign', {\n enumerable: false,\n configurable: true,\n writable: true,\n value: function value(target) {\n if (target === undefined || target === null) {\n throw new TypeError('Cannot convert first argument to object');\n }\n\n var to = Object(target);\n\n for (var i = 1; i < arguments.length; i++) {\n var nextSource = arguments[i];\n\n if (nextSource === undefined || nextSource === null) {\n continue;\n }\n\n nextSource = Object(nextSource);\n var keysArray = Object.keys(nextSource);\n\n for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {\n var nextKey = keysArray[nextIndex];\n var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n\n if (desc !== undefined && desc.enumerable) {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n\n return to;\n }\n });\n }\n\n return Popper;\n});","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Table.vue?vue&type=style&index=0&id=6b431cb4&prod&lang=scss&\"","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/check-b1bdc28df3a50a51334de95ab0765517.svg\";","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/dots-16fa359b528df1b54a225a68253e1f2c.svg\";","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/magnifier-b16029da594c3fa37b7455d10b5ce45f.svg\";","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/scream-6d327f029bbef345e6220e021b7233ba.svg\";","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/sync-87f42b412a37761c4819629845548850.svg\";","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/wand-fe4e06f672b9f03caddd331085ae9f61.svg\";","module.exports = __webpack_public_path__ + \"media/images/input_state_icon/warning-98e3d49777d393e9eebdff62072de846.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=style&index=0&id=0e020125&prod&lang=scss&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextInput.vue?vue&type=style&index=1&id=0e020125&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tooltip.vue?vue&type=style&index=0&id=a7aa1250&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WhiteContainer.vue?vue&type=style&index=0&id=30462e1b&prod&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/index.js!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-2!../../../node_modules/resolve-url-loader/index.js!../../../node_modules/sass-loader/dist/cjs.js??ref--8-4!../../../node_modules/simple-functional-loader/index.js??simple-functional-loader-0.8601095906022684!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Drawer.vue?vue&type=style&index=0&id=3d489758&prod&lang=scss&scoped=true&\"","var map = {\n\t\".\": [\n\t\t129\n\t],\n\t\"./\": [\n\t\t129\n\t],\n\t\"./Alert\": [\n\t\t310,\n\t\t56\n\t],\n\t\"./Alert.vue\": [\n\t\t310,\n\t\t56\n\t],\n\t\"./Anchor\": [\n\t\t138\n\t],\n\t\"./Anchor.vue\": [\n\t\t138\n\t],\n\t\"./Autocomplete\": [\n\t\t294,\n\t\t57\n\t],\n\t\"./Autocomplete.vue\": [\n\t\t294,\n\t\t57\n\t],\n\t\"./AutocompleteSuggestion\": [\n\t\t291,\n\t\t58\n\t],\n\t\"./AutocompleteSuggestion.vue\": [\n\t\t291,\n\t\t58\n\t],\n\t\"./BooleanSelect\": [\n\t\t295,\n\t\t59\n\t],\n\t\"./BooleanSelect.vue\": [\n\t\t295,\n\t\t59\n\t],\n\t\"./Button\": [\n\t\t91\n\t],\n\t\"./Button.vue\": [\n\t\t91\n\t],\n\t\"./ButtonGroup\": [\n\t\t311,\n\t\t60\n\t],\n\t\"./ButtonGroup.vue\": [\n\t\t311,\n\t\t60\n\t],\n\t\"./ButtonHolder\": [\n\t\t296,\n\t\t61\n\t],\n\t\"./ButtonHolder.vue\": [\n\t\t296,\n\t\t61\n\t],\n\t\"./Card\": [\n\t\t312,\n\t\t62\n\t],\n\t\"./Card.vue\": [\n\t\t312,\n\t\t62\n\t],\n\t\"./Checkbox\": [\n\t\t313,\n\t\t64\n\t],\n\t\"./Checkbox.vue\": [\n\t\t313,\n\t\t64\n\t],\n\t\"./CheckboxGroup\": [\n\t\t314,\n\t\t65\n\t],\n\t\"./CheckboxGroup.vue\": [\n\t\t314,\n\t\t65\n\t],\n\t\"./Collapse\": [\n\t\t315,\n\t\t27\n\t],\n\t\"./Collapse.vue\": [\n\t\t315,\n\t\t27\n\t],\n\t\"./CollapseItem\": [\n\t\t316,\n\t\t28\n\t],\n\t\"./CollapseItem.vue\": [\n\t\t316,\n\t\t28\n\t],\n\t\"./ColorPickerCustom\": [\n\t\t134\n\t],\n\t\"./ColorPickerCustom.vue\": [\n\t\t134\n\t],\n\t\"./Column\": [\n\t\t147\n\t],\n\t\"./Column.vue\": [\n\t\t147\n\t],\n\t\"./Container\": [\n\t\t317,\n\t\t13\n\t],\n\t\"./Container.vue\": [\n\t\t317,\n\t\t13\n\t],\n\t\"./ContentLoader\": [\n\t\t297,\n\t\t66\n\t],\n\t\"./ContentLoader.vue\": [\n\t\t297,\n\t\t66\n\t],\n\t\"./DatePicker\": [\n\t\t318,\n\t\t67\n\t],\n\t\"./DatePicker.vue\": [\n\t\t318,\n\t\t67\n\t],\n\t\"./DateSelect\": [\n\t\t136\n\t],\n\t\"./DateSelect.vue\": [\n\t\t136\n\t],\n\t\"./Dialog\": [\n\t\t298,\n\t\t68\n\t],\n\t\"./Dialog.vue\": [\n\t\t298,\n\t\t68\n\t],\n\t\"./Divider\": [\n\t\t319,\n\t\t69\n\t],\n\t\"./Divider.vue\": [\n\t\t319,\n\t\t69\n\t],\n\t\"./Drawer\": [\n\t\t158\n\t],\n\t\"./Drawer.vue\": [\n\t\t158\n\t],\n\t\"./Dropdown\": [\n\t\t148\n\t],\n\t\"./Dropdown.vue\": [\n\t\t148\n\t],\n\t\"./DropdownItem\": [\n\t\t139\n\t],\n\t\"./DropdownItem.vue\": [\n\t\t139\n\t],\n\t\"./DropdownMenu\": [\n\t\t149\n\t],\n\t\"./DropdownMenu.vue\": [\n\t\t149\n\t],\n\t\"./EditableSelect\": [\n\t\t320,\n\t\t70\n\t],\n\t\"./EditableSelect.vue\": [\n\t\t320,\n\t\t70\n\t],\n\t\"./Form\": [\n\t\t150\n\t],\n\t\"./Form.vue\": [\n\t\t150\n\t],\n\t\"./FormGroup\": [\n\t\t137\n\t],\n\t\"./FormGroup.vue\": [\n\t\t137\n\t],\n\t\"./FormItem\": [\n\t\t145\n\t],\n\t\"./FormItem.vue\": [\n\t\t145\n\t],\n\t\"./Heading\": [\n\t\t140\n\t],\n\t\"./Heading.vue\": [\n\t\t140\n\t],\n\t\"./Icon\": [\n\t\t299,\n\t\t72\n\t],\n\t\"./Icon.vue\": [\n\t\t299,\n\t\t72\n\t],\n\t\"./IconBox\": [\n\t\t300,\n\t\t73\n\t],\n\t\"./IconBox.vue\": [\n\t\t300,\n\t\t73\n\t],\n\t\"./InputHelp\": [\n\t\t301,\n\t\t74\n\t],\n\t\"./InputHelp.vue\": [\n\t\t301,\n\t\t74\n\t],\n\t\"./List\": [\n\t\t302,\n\t\t7\n\t],\n\t\"./List.vue\": [\n\t\t302,\n\t\t7\n\t],\n\t\"./Loader\": [\n\t\t321,\n\t\t75\n\t],\n\t\"./Loader.vue\": [\n\t\t321,\n\t\t75\n\t],\n\t\"./MobileAutocomplete\": [\n\t\t303,\n\t\t76\n\t],\n\t\"./MobileAutocomplete.vue\": [\n\t\t303,\n\t\t76\n\t],\n\t\"./NumericInput\": [\n\t\t304,\n\t\t77\n\t],\n\t\"./NumericInput.vue\": [\n\t\t304,\n\t\t77\n\t],\n\t\"./NumericInputCustom\": [\n\t\t141\n\t],\n\t\"./NumericInputCustom.vue\": [\n\t\t141\n\t],\n\t\"./Option\": [\n\t\t151\n\t],\n\t\"./Option.vue\": [\n\t\t151\n\t],\n\t\"./OptionGroup\": [\n\t\t322,\n\t\t14\n\t],\n\t\"./OptionGroup.vue\": [\n\t\t322,\n\t\t14\n\t],\n\t\"./Pagination\": [\n\t\t323,\n\t\t79\n\t],\n\t\"./Pagination.vue\": [\n\t\t323,\n\t\t79\n\t],\n\t\"./Popover\": [\n\t\t152\n\t],\n\t\"./Popover.vue\": [\n\t\t152\n\t],\n\t\"./Radio\": [\n\t\t153\n\t],\n\t\"./Radio.vue\": [\n\t\t153\n\t],\n\t\"./RadioGroup\": [\n\t\t154\n\t],\n\t\"./RadioGroup.vue\": [\n\t\t154\n\t],\n\t\"./RadioMedia\": [\n\t\t305,\n\t\t15\n\t],\n\t\"./RadioMedia.vue\": [\n\t\t305,\n\t\t15\n\t],\n\t\"./Row\": [\n\t\t142\n\t],\n\t\"./Row.vue\": [\n\t\t142\n\t],\n\t\"./Select\": [\n\t\t92\n\t],\n\t\"./Select.vue\": [\n\t\t92\n\t],\n\t\"./Switch\": [\n\t\t306,\n\t\t80\n\t],\n\t\"./Switch.vue\": [\n\t\t306,\n\t\t80\n\t],\n\t\"./Table\": [\n\t\t155\n\t],\n\t\"./Table.vue\": [\n\t\t155\n\t],\n\t\"./TableColumn\": [\n\t\t156\n\t],\n\t\"./TableColumn.vue\": [\n\t\t156\n\t],\n\t\"./Tag\": [\n\t\t324,\n\t\t81\n\t],\n\t\"./Tag.vue\": [\n\t\t324,\n\t\t81\n\t],\n\t\"./TextInput\": [\n\t\t133\n\t],\n\t\"./TextInput.vue\": [\n\t\t133\n\t],\n\t\"./Tooltip\": [\n\t\t157\n\t],\n\t\"./Tooltip.vue\": [\n\t\t157\n\t],\n\t\"./Upload\": [\n\t\t293,\n\t\t82\n\t],\n\t\"./Upload.vue\": [\n\t\t293,\n\t\t82\n\t],\n\t\"./WhiteContainer\": [\n\t\t143\n\t],\n\t\"./WhiteContainer.vue\": [\n\t\t143\n\t],\n\t\"./index\": [\n\t\t129\n\t],\n\t\"./index.js\": [\n\t\t129\n\t],\n\t\"./money/assign\": [\n\t\t195\n\t],\n\t\"./money/assign.js\": [\n\t\t195\n\t],\n\t\"./money/component\": [\n\t\t290,\n\t\t83\n\t],\n\t\"./money/component.vue\": [\n\t\t290,\n\t\t83\n\t],\n\t\"./money/directive\": [\n\t\t169\n\t],\n\t\"./money/directive.js\": [\n\t\t169\n\t],\n\t\"./money/options\": [\n\t\t107\n\t],\n\t\"./money/options.js\": [\n\t\t107\n\t],\n\t\"./money/utils\": [\n\t\t31\n\t],\n\t\"./money/utils.js\": [\n\t\t31\n\t],\n\t\"./notification\": [\n\t\t109\n\t],\n\t\"./notification/\": [\n\t\t109\n\t],\n\t\"./notification/index\": [\n\t\t109\n\t],\n\t\"./notification/index.js\": [\n\t\t109\n\t],\n\t\"./notification/main\": [\n\t\t144\n\t],\n\t\"./notification/main.vue\": [\n\t\t144\n\t],\n\t\"./selectDialog\": [\n\t\t108\n\t],\n\t\"./selectDialog/\": [\n\t\t108\n\t],\n\t\"./selectDialog/SelectDialog\": [\n\t\t146\n\t],\n\t\"./selectDialog/SelectDialog.vue\": [\n\t\t146\n\t],\n\t\"./selectDialog/events\": [\n\t\t78\n\t],\n\t\"./selectDialog/events.js\": [\n\t\t78\n\t],\n\t\"./selectDialog/index\": [\n\t\t108\n\t],\n\t\"./selectDialog/index.js\": [\n\t\t108\n\t],\n\t\"./table/body\": [\n\t\t197\n\t],\n\t\"./table/body.js\": [\n\t\t197\n\t],\n\t\"./table/header\": [\n\t\t196\n\t],\n\t\"./table/header.js\": [\n\t\t196\n\t],\n\t\"./table/row\": [\n\t\t159\n\t],\n\t\"./table/row.js\": [\n\t\t159\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 751;\nmodule.exports = webpackAsyncContext;","import Vue from'vue';import{format}from'date-fns';export default Vue.filter('formatDate',function(value,dateFormat){if(value){return format(new Date(value),dateFormat);}return'';});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n regular: 'ménÄ› než vteÅ™ina',\n past: 'pÅ™ed ménÄ› než vteÅ™inou',\n future: 'za ménÄ› než vteÅ™inu'\n },\n few: {\n regular: 'ménÄ› než {{count}} vteÅ™iny',\n past: 'pÅ™ed ménÄ› než {{count}} vteÅ™inami',\n future: 'za ménÄ› než {{count}} vteÅ™iny'\n },\n many: {\n regular: 'ménÄ› než {{count}} vteÅ™in',\n past: 'pÅ™ed ménÄ› než {{count}} vteÅ™inami',\n future: 'za ménÄ› než {{count}} vteÅ™in'\n }\n },\n xSeconds: {\n one: {\n regular: 'vteÅ™ina',\n past: 'pÅ™ed vteÅ™inou',\n future: 'za vteÅ™inu'\n },\n few: {\n regular: '{{count}} vteÅ™iny',\n past: 'pÅ™ed {{count}} vteÅ™inami',\n future: 'za {{count}} vteÅ™iny'\n },\n many: {\n regular: '{{count}} vteÅ™in',\n past: 'pÅ™ed {{count}} vteÅ™inami',\n future: 'za {{count}} vteÅ™in'\n }\n },\n halfAMinute: {\n other: {\n regular: 'půl minuty',\n past: 'pÅ™ed půl minutou',\n future: 'za půl minuty'\n }\n },\n lessThanXMinutes: {\n one: {\n regular: 'ménÄ› než minuta',\n past: 'pÅ™ed ménÄ› než minutou',\n future: 'za ménÄ› než minutu'\n },\n few: {\n regular: 'ménÄ› než {{count}} minuty',\n past: 'pÅ™ed ménÄ› než {{count}} minutami',\n future: 'za ménÄ› než {{count}} minuty'\n },\n many: {\n regular: 'ménÄ› než {{count}} minut',\n past: 'pÅ™ed ménÄ› než {{count}} minutami',\n future: 'za ménÄ› než {{count}} minut'\n }\n },\n xMinutes: {\n one: {\n regular: 'minuta',\n past: 'pÅ™ed minutou',\n future: 'za minutu'\n },\n few: {\n regular: '{{count}} minuty',\n past: 'pÅ™ed {{count}} minutami',\n future: 'za {{count}} minuty'\n },\n many: {\n regular: '{{count}} minut',\n past: 'pÅ™ed {{count}} minutami',\n future: 'za {{count}} minut'\n }\n },\n aboutXHours: {\n one: {\n regular: 'pÅ™ibližnÄ› hodina',\n past: 'pÅ™ibližnÄ› pÅ™ed hodinou',\n future: 'pÅ™ibližnÄ› za hodinu'\n },\n few: {\n regular: 'pÅ™ibližnÄ› {{count}} hodiny',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} hodinami',\n future: 'pÅ™ibližnÄ› za {{count}} hodiny'\n },\n many: {\n regular: 'pÅ™ibližnÄ› {{count}} hodin',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} hodinami',\n future: 'pÅ™ibližnÄ› za {{count}} hodin'\n }\n },\n xHours: {\n one: {\n regular: 'hodina',\n past: 'pÅ™ed hodinou',\n future: 'za hodinu'\n },\n few: {\n regular: '{{count}} hodiny',\n past: 'pÅ™ed {{count}} hodinami',\n future: 'za {{count}} hodiny'\n },\n many: {\n regular: '{{count}} hodin',\n past: 'pÅ™ed {{count}} hodinami',\n future: 'za {{count}} hodin'\n }\n },\n xDays: {\n one: {\n regular: 'den',\n past: 'pÅ™ed dnem',\n future: 'za den'\n },\n few: {\n regular: '{{count}} dni',\n past: 'pÅ™ed {{count}} dny',\n future: 'za {{count}} dny'\n },\n many: {\n regular: '{{count}} dnÃ',\n past: 'pÅ™ed {{count}} dny',\n future: 'za {{count}} dnÃ'\n }\n },\n aboutXMonths: {\n one: {\n regular: 'pÅ™ibližnÄ› mÄ›sÃc',\n past: 'pÅ™ibližnÄ› pÅ™ed mÄ›sÃcem',\n future: 'pÅ™ibližnÄ› za mÄ›sÃc'\n },\n few: {\n regular: 'pÅ™ibližnÄ› {{count}} mÄ›sÃce',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} mÄ›sÃci',\n future: 'pÅ™ibližnÄ› za {{count}} mÄ›sÃce'\n },\n many: {\n regular: 'pÅ™ibližnÄ› {{count}} mÄ›sÃců',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} mÄ›sÃci',\n future: 'pÅ™ibližnÄ› za {{count}} mÄ›sÃců'\n }\n },\n xMonths: {\n one: {\n regular: 'mÄ›sÃc',\n past: 'pÅ™ed mÄ›sÃcem',\n future: 'za mÄ›sÃc'\n },\n few: {\n regular: '{{count}} mÄ›sÃce',\n past: 'pÅ™ed {{count}} mÄ›sÃci',\n future: 'za {{count}} mÄ›sÃce'\n },\n many: {\n regular: '{{count}} mÄ›sÃců',\n past: 'pÅ™ed {{count}} mÄ›sÃci',\n future: 'za {{count}} mÄ›sÃců'\n }\n },\n aboutXYears: {\n one: {\n regular: 'pÅ™ibližnÄ› rok',\n past: 'pÅ™ibližnÄ› pÅ™ed rokem',\n future: 'pÅ™ibližnÄ› za rok'\n },\n few: {\n regular: 'pÅ™ibližnÄ› {{count}} roky',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} roky',\n future: 'pÅ™ibližnÄ› za {{count}} roky'\n },\n many: {\n regular: 'pÅ™ibližnÄ› {{count}} roků',\n past: 'pÅ™ibližnÄ› pÅ™ed {{count}} roky',\n future: 'pÅ™ibližnÄ› za {{count}} roků'\n }\n },\n xYears: {\n one: {\n regular: 'rok',\n past: 'pÅ™ed rokem',\n future: 'za rok'\n },\n few: {\n regular: '{{count}} roky',\n past: 'pÅ™ed {{count}} roky',\n future: 'za {{count}} roky'\n },\n many: {\n regular: '{{count}} roků',\n past: 'pÅ™ed {{count}} roky',\n future: 'za {{count}} roků'\n }\n },\n overXYears: {\n one: {\n regular: 'vÃce než rok',\n past: 'pÅ™ed vÃce než rokem',\n future: 'za vÃce než rok'\n },\n few: {\n regular: 'vÃce než {{count}} roky',\n past: 'pÅ™ed vÃce než {{count}} roky',\n future: 'za vÃce než {{count}} roky'\n },\n many: {\n regular: 'vÃce než {{count}} roků',\n past: 'pÅ™ed vÃce než {{count}} roky',\n future: 'za vÃce než {{count}} roků'\n }\n },\n almostXYears: {\n one: {\n regular: 'skoro rok',\n past: 'skoro pÅ™ed rokem',\n future: 'skoro za rok'\n },\n few: {\n regular: 'skoro {{count}} roky',\n past: 'skoro pÅ™ed {{count}} roky',\n future: 'skoro za {{count}} roky'\n },\n many: {\n regular: 'skoro {{count}} roků',\n past: 'skoro pÅ™ed {{count}} roky',\n future: 'skoro za {{count}} roků'\n }\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var scheme = formatDistanceLocale[token]; // cs pluralization\n\n var pluralToken;\n\n if (_typeof(scheme.other) === 'object') {\n pluralToken = 'other';\n } else if (count === 1) {\n pluralToken = 'one';\n } else if (count > 1 && count < 5 || count === 0) {\n pluralToken = 'few';\n } else {\n pluralToken = 'many';\n } // times\n\n\n var suffixExist = options.addSuffix === true;\n var comparison = options.comparison;\n var timeToken;\n\n if (suffixExist && comparison === -1) {\n timeToken = 'past';\n } else if (suffixExist && comparison === 1) {\n timeToken = 'future';\n } else {\n timeToken = 'regular';\n }\n\n return scheme[pluralToken][timeToken].replace('{{count}}', count);\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';\nvar dateFormats = {\n full: 'EEEE, d. MMMM yyyy',\n \"long\": 'd. MMMM yyyy',\n medium: 'd.M.yyyy',\n \"short\": 'd.M.yy'\n};\nvar timeFormats = {\n full: 'h:mm:ss a zzzz',\n \"long\": 'h:mm:ss a z',\n medium: 'h:mm:ss a',\n \"short\": 'h:mm a'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'v' {{time}}\",\n \"long\": \"{{date}} 'v' {{time}}\",\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var accusativeWeekdays = ['nedÄ›li', 'pondÄ›lÃ', 'úterý', 'stÅ™edu', 'Ätvrtek', 'pátek', 'sobotu'];\nvar formatRelativeLocale = {\n lastWeek: \"'poslednÃ' eeee 've' p\",\n yesterday: \"'vÄera v' p\",\n today: \"'dnes v' p\",\n tomorrow: \"'zÃtra v' p\",\n nextWeek: function nextWeek(date, _baseDate, _options) {\n var day = date.getUTCDay();\n return \"'v \" + accusativeWeekdays[day] + \" o' p\";\n },\n other: 'P'\n};\nexport default function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';\nvar eraValues = {\n narrow: ['pÅ™. n. l.', 'n. l.'],\n abbreviated: ['pÅ™. n. l.', 'n. l.'],\n wide: ['pÅ™ed naÅ¡Ãm letopoÄtem', 'naÅ¡eho letopoÄtu']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['1. ÄtvrtletÃ', '2. ÄtvrtletÃ', '3. ÄtvrtletÃ', '4. ÄtvrtletÃ'],\n wide: ['1. ÄtvrtletÃ', '2. ÄtvrtletÃ', '3. ÄtvrtletÃ', '4. ÄtvrtletÃ']\n};\nvar monthValues = {\n narrow: ['L', 'Ú', 'B', 'D', 'K', 'ÄŒ', 'ÄŒ', 'S', 'Z', 'Ř', 'L', 'P'],\n abbreviated: ['led', 'úno', 'bÅ™e', 'dub', 'kvÄ›', 'Ävn', 'Ävc', 'srp', 'zář', 'Å™Ãj', 'lis', 'pro'],\n wide: ['leden', 'únor', 'bÅ™ezen', 'duben', 'kvÄ›ten', 'Äerven', 'Äervenec', 'srpen', 'zářÃ', 'Å™Ãjen', 'listopad', 'prosinec']\n};\nvar formattingMonthValues = {\n narrow: ['L', 'Ú', 'B', 'D', 'K', 'ÄŒ', 'ÄŒ', 'S', 'Z', 'Ř', 'L', 'P'],\n abbreviated: ['led', 'úno', 'bÅ™e', 'dub', 'kvÄ›', 'Ävn', 'Ävc', 'srp', 'zář', 'Å™Ãj', 'lis', 'pro'],\n wide: ['ledna', 'února', 'bÅ™ezna', 'dubna', 'kvÄ›tna', 'Äervna', 'Äervence', 'srpna', 'zářÃ', 'Å™Ãjna', 'listopadu', 'prosince']\n};\nvar dayValues = {\n narrow: ['ne', 'po', 'út', 'st', 'Ät', 'pá', 'so'],\n \"short\": ['ne', 'po', 'út', 'st', 'Ät', 'pá', 'so'],\n abbreviated: ['ned', 'pon', 'úte', 'stÅ™', 'Ätv', 'pát', 'sob'],\n wide: ['nedÄ›le', 'pondÄ›lÃ', 'úterý', 'stÅ™eda', 'Ätvrtek', 'pátek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n abbreviated: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n wide: {\n am: 'odpoledne',\n pm: 'dopoledne',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n abbreviated: {\n am: 'odp.',\n pm: 'dop.',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n },\n wide: {\n am: 'odpoledne',\n pm: 'dopoledne',\n midnight: 'půlnoc',\n noon: 'poledne',\n morning: 'ráno',\n afternoon: 'odpoledne',\n evening: 'veÄer',\n night: 'noc'\n }\n};\n\nfunction ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return number + '.';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary Czech locale.\n * @language Czech\n * @iso-639-2 ces\n * @author David Rus [@davidrus]{@link https://github.com/davidrus}\n * @author Pavel Hrách [@SilenY]{@link https://github.com/SilenY}\n * @author Jozef BÃroÅ¡ [@JozefBiros]{@link https://github.com/JozefBiros}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;","import buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nimport buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p[Å™r]ed Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n abbreviated: /^(pe[Å™r]ed Kr\\.|pe[Å™r]ed n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n wide: /^(p[Å™r]ed Kristem|pred na[Å¡s][Ãi]m letopo[Äc]tem|po Kristu|na[Å¡s]eho letopo[Äc]tu)/i\n};\nvar parseEraPatterns = {\n any: [/^p[Å™r]/i, /^(po|n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^[1234]\\. [Äc]tvrtlet[Ãi]/i,\n wide: /^[1234]\\. [Äc]tvrtlet[Ãi]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[lúubdkÄcszÅ™rlp]/i,\n abbreviated: /^(led|[úu]no|b[Å™r]e|dub|kv[Ä›e]|[Äc]vn|[Äc]vc|srp|z[áa][Å™r]|[Å™r][Ãi]j|lis|pro)/i,\n wide: /^(leden|ledna|[úu]nora?|b[Å™r]ezen|b[Å™r]ezna|duben|dubna|kv[Ä›e]ten|kv[Ä›e]tna|[Äc]erven|[Äc]ervna|[Äc]ervenec|[Äc]ervence|srpen|srpna|z[áa][Å™r][Ãi]|[Å™r][Ãi]jen|[Å™r][Ãi]jna|listopada?|prosinec|prosince)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^l/i, /^[úu]/i, /^b/i, /^d/i, /^k/i, /^[Äc]/i, /^[Äc]/i, /^s/i, /^z/i, /^[Å™r]/i, /^l/i, /^p/i],\n any: [/^led/i, /^[úu]n/i, /^brez/i, /^dub/i, /^kvet/i, /^[Äc]erv/i, /^[Äc]erven/i, /^srp/i, /^z[áa]r/i, /^[Å™r][Ãi]j/i, /^list/i, /^pros/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npuúsÄps]/i,\n \"short\": /^(ne|po|[úu]t|st|[Äc]t|p[áa]|so)/i,\n abbreviated: /^(ne|po|[úu]t|st|[Äc]t|p[áa]|so)/i,\n wide: /^(ned[Ä›e]le|pond[Ä›e]l[Ãi]|[úu]ter[ýy]|st[Å™r]eda|[Äc]tvrtek|p[áa]tek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^[úu]/i, /^s/i, /^[Äc]/i, /^p/i, /^s/i],\n any: [/^ne/i, /^po/i, /^ut/i, /^st/i, /^[Äc]t/i, /^p/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^((dopoledne|odpoledne)|půlnoc|poledne|(r[áa]no|odpoledne|ve[Äc]er|(v )?noci))/i,\n any: /^((dopoledne|odpoledne)|půlnoc|poledne|(r[áa]no|odpoledne|ve[Äc]er|(v )?noci))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^dopoledne/i,\n pm: /^odpoledne/i,\n midnight: /^p[ůu]lnoc/i,\n noon: /^poledne/i,\n morning: /r[áa]no/i,\n afternoon: /odpoledne/i,\n evening: /ve[Äc]er/i,\n night: /noc/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';\nvar dateFormats = {\n full: 'EEEE, d MMMM yyyy',\n \"long\": 'd MMMM yyyy',\n medium: 'd MMM yyyy',\n \"short\": 'dd/MM/yyyy'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n \"long\": 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n \"short\": 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n \"long\": \"{{date}} 'at' {{time}}\",\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import formatDistance from '../en-US/_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from '../en-US/_lib/formatRelative/index.js';\nimport localize from '../en-US/_lib/localize/index.js';\nimport match from '../en-US/_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary English locale (United Kingdom).\n * @language English\n * @iso-639-2 eng\n * @author Alex [@glintik]{@link https://github.com/glintik}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;","var formatDistanceLocale = {\n lessThanXSeconds: {\n standalone: {\n one: 'weniger als eine Sekunde',\n other: 'weniger als {{count}} Sekunden'\n },\n withPreposition: {\n one: 'weniger als einer Sekunde',\n other: 'weniger als {{count}} Sekunden'\n }\n },\n xSeconds: {\n standalone: {\n one: 'eine Sekunde',\n other: '{{count}} Sekunden'\n },\n withPreposition: {\n one: 'einer Sekunde',\n other: '{{count}} Sekunden'\n }\n },\n halfAMinute: {\n standalone: 'eine halbe Minute',\n withPreposition: 'einer halben Minute'\n },\n lessThanXMinutes: {\n standalone: {\n one: 'weniger als eine Minute',\n other: 'weniger als {{count}} Minuten'\n },\n withPreposition: {\n one: 'weniger als einer Minute',\n other: 'weniger als {{count}} Minuten'\n }\n },\n xMinutes: {\n standalone: {\n one: 'eine Minute',\n other: '{{count}} Minuten'\n },\n withPreposition: {\n one: 'einer Minute',\n other: '{{count}} Minuten'\n }\n },\n aboutXHours: {\n standalone: {\n one: 'etwa eine Stunde',\n other: 'etwa {{count}} Stunden'\n },\n withPreposition: {\n one: 'etwa einer Stunde',\n other: 'etwa {{count}} Stunden'\n }\n },\n xHours: {\n standalone: {\n one: 'eine Stunde',\n other: '{{count}} Stunden'\n },\n withPreposition: {\n one: 'einer Stunde',\n other: '{{count}} Stunden'\n }\n },\n xDays: {\n standalone: {\n one: 'ein Tag',\n other: '{{count}} Tage'\n },\n withPreposition: {\n one: 'einem Tag',\n other: '{{count}} Tagen'\n }\n },\n aboutXMonths: {\n standalone: {\n one: 'etwa ein Monat',\n other: 'etwa {{count}} Monate'\n },\n withPreposition: {\n one: 'etwa einem Monat',\n other: 'etwa {{count}} Monaten'\n }\n },\n xMonths: {\n standalone: {\n one: 'ein Monat',\n other: '{{count}} Monate'\n },\n withPreposition: {\n one: 'einem Monat',\n other: '{{count}} Monaten'\n }\n },\n aboutXYears: {\n standalone: {\n one: 'etwa ein Jahr',\n other: 'etwa {{count}} Jahre'\n },\n withPreposition: {\n one: 'etwa einem Jahr',\n other: 'etwa {{count}} Jahren'\n }\n },\n xYears: {\n standalone: {\n one: 'ein Jahr',\n other: '{{count}} Jahre'\n },\n withPreposition: {\n one: 'einem Jahr',\n other: '{{count}} Jahren'\n }\n },\n overXYears: {\n standalone: {\n one: 'mehr als ein Jahr',\n other: 'mehr als {{count}} Jahre'\n },\n withPreposition: {\n one: 'mehr als einem Jahr',\n other: 'mehr als {{count}} Jahren'\n }\n },\n almostXYears: {\n standalone: {\n one: 'fast ein Jahr',\n other: 'fast {{count}} Jahre'\n },\n withPreposition: {\n one: 'fast einem Jahr',\n other: 'fast {{count}} Jahren'\n }\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var usageGroup = options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone;\n var result;\n\n if (typeof usageGroup === 'string') {\n result = usageGroup;\n } else if (count === 1) {\n result = usageGroup.one;\n } else {\n result = usageGroup.other.replace('{{count}}', count);\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'in ' + result;\n } else {\n return 'vor ' + result;\n }\n }\n\n return result;\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js'; // DIN 5008: https://de.wikipedia.org/wiki/Datumsformat#DIN_5008\n\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n // Montag, 7. Januar 2018\n \"long\": 'do MMMM y',\n // 7. Januar 2018\n medium: 'do MMM. y',\n // 7. Jan. 2018\n \"short\": 'dd.MM.y' // 07.01.2018\n\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n \"long\": 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n \"short\": 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'um' {{time}}\",\n \"long\": \"{{date}} 'um' {{time}}\",\n medium: '{{date}} {{time}}',\n \"short\": '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'letzten' eeee 'um' p\",\n yesterday: \"'gestern um' p\",\n today: \"'heute um' p\",\n tomorrow: \"'morgen um' p\",\n nextWeek: \"eeee 'um' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';\nvar eraValues = {\n narrow: ['v.Chr.', 'n.Chr.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['vor Christus', 'nach Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. Quartal', '2. Quartal', '3. Quartal', '4. Quartal'] // Note: in German, the names of days of the week and months are capitalized.\n // If you are making a new locale based on this one, check if the same is true for the language you're working on.\n // Generally, formatted dates should look like they are in the middle of a sentence,\n // e.g. in Spanish language the weekdays and months should be in the lowercase.\n\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'],\n wide: ['Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember']\n};\nvar dayValues = {\n narrow: ['S', 'M', 'D', 'M', 'D', 'F', 'S'],\n \"short\": ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'],\n abbreviated: ['So.', 'Mo.', 'Di.', 'Mi.', 'Do.', 'Fr.', 'Sa.'],\n wide: ['Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'] // https://www.unicode.org/cldr/charts/32/summary/de.html#1881\n\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'vm.',\n pm: 'nm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachm.',\n evening: 'Abend',\n night: 'Nacht'\n },\n abbreviated: {\n am: 'vorm.',\n pm: 'nachm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachmittag',\n evening: 'Abend',\n night: 'Nacht'\n },\n wide: {\n am: 'vormittags',\n pm: 'nachmittags',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'Morgen',\n afternoon: 'Nachmittag',\n evening: 'Abend',\n night: 'Nacht'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'vm.',\n pm: 'nm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachm.',\n evening: 'abends',\n night: 'nachts'\n },\n abbreviated: {\n am: 'vorm.',\n pm: 'nachm.',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachmittags',\n evening: 'abends',\n night: 'nachts'\n },\n wide: {\n am: 'vormittags',\n pm: 'nachmittags',\n midnight: 'Mitternacht',\n noon: 'Mittag',\n morning: 'morgens',\n afternoon: 'nachmittags',\n evening: 'abends',\n night: 'nachts'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber);\n return number + '.';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary German locale.\n * @language German\n * @iso-639-2 deu\n * @author Thomas Eilmsteiner [@DeMuu]{@link https://github.com/DeMuu}\n * @author Asia [@asia-t]{@link https://github.com/asia-t}\n * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}\n * @author RomanErnst [@pex]{@link https://github.com/pex}\n * @author Philipp Keck [@Philipp91]{@link https://github.com/Philipp91}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;","import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nimport buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n abbreviated: /^(v\\.? ?Chr\\.?|n\\.? ?Chr\\.?)/i,\n wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i\n};\nvar parseEraPatterns = {\n any: [/^v/i, /^n/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](\\.)? Quartal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mär|apr|mai|jun|jul|aug|sep|okt|nov|dez)/i,\n wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mär/i, /^ap/i, /^mai/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[smdmf]/i,\n \"short\": /^(so|mo|di|mi|do|fr|sa)/i,\n abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\\.?/i,\n wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i\n};\nvar parseDayPatterns = {\n any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(vm\\.?|nm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n abbreviated: /^(vorm\\.?|nachm\\.?|Mitternacht|Mittag|morgens|nachm\\.?|abends|nachts)/i,\n wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^v/i,\n pm: /^n/i,\n midnight: /^Mitte/i,\n noon: /^Mitta/i,\n morning: /morgens/i,\n afternoon: /nachmittags/i,\n // will never be matched. Afternoon is matched by `pm`\n evening: /abends/i,\n night: /nachts/i // will never be matched. Night is matched by `pm`\n\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","var formatDistanceLocale = {\n lessThanXSeconds: {\n one: 'minder dan een seconde',\n other: 'minder dan {{count}} seconden'\n },\n xSeconds: {\n one: '1 seconde',\n other: '{{count}} seconden'\n },\n halfAMinute: 'een halve minuut',\n lessThanXMinutes: {\n one: 'minder dan een minuut',\n other: 'minder dan {{count}} minuten'\n },\n xMinutes: {\n one: 'een minuut',\n other: '{{count}} minuten'\n },\n aboutXHours: {\n one: 'ongeveer 1 uur',\n other: 'ongeveer {{count}} uur'\n },\n xHours: {\n one: '1 uur',\n other: '{{count}} uur'\n },\n xDays: {\n one: '1 dag',\n other: '{{count}} dagen'\n },\n aboutXMonths: {\n one: 'ongeveer 1 maand',\n other: 'ongeveer {{count}} maanden'\n },\n xMonths: {\n one: '1 maand',\n other: '{{count}} maanden'\n },\n aboutXYears: {\n one: 'ongeveer 1 jaar',\n other: 'ongeveer {{count}} jaar'\n },\n xYears: {\n one: '1 jaar',\n other: '{{count}} jaar'\n },\n overXYears: {\n one: 'meer dan 1 jaar',\n other: 'meer dan {{count}} jaar'\n },\n almostXYears: {\n one: 'bijna 1 jaar',\n other: 'bijna {{count}} jaar'\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var result;\n\n if (typeof formatDistanceLocale[token] === 'string') {\n result = formatDistanceLocale[token];\n } else if (count === 1) {\n result = formatDistanceLocale[token].one;\n } else {\n result = formatDistanceLocale[token].other.replace('{{count}}', count);\n }\n\n if (options.addSuffix) {\n if (options.comparison > 0) {\n return 'over ' + result;\n } else {\n return result + ' geleden';\n }\n }\n\n return result;\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';\nvar dateFormats = {\n full: 'EEEE d MMMM y',\n \"long\": 'd MMMM y',\n medium: 'd MMM y',\n \"short\": 'dd-MM-y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n \"long\": 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n \"short\": 'HH:mm'\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'om' {{time}}\",\n \"long\": \"{{date}} 'om' {{time}}\",\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","var formatRelativeLocale = {\n lastWeek: \"'afgelopen' eeee 'om' p\",\n yesterday: \"'gisteren om' p\",\n today: \"'vandaag om' p\",\n tomorrow: \"'morgen om' p\",\n nextWeek: \"eeee 'om' p\",\n other: 'P'\n};\nexport default function formatRelative(token, _date, _baseDate, _options) {\n return formatRelativeLocale[token];\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';\nvar eraValues = {\n narrow: ['v.C.', 'n.C.'],\n abbreviated: ['v.Chr.', 'n.Chr.'],\n wide: ['voor Christus', 'na Christus']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['K1', 'K2', 'K3', 'K4'],\n wide: ['1e kwartaal', '2e kwartaal', '3e kwartaal', '4e kwartaal']\n};\nvar monthValues = {\n narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],\n abbreviated: ['jan.', 'feb.', 'mrt.', 'apr.', 'mei.', 'jun.', 'jul.', 'aug.', 'sep.', 'okt.', 'nov.', 'dec.'],\n wide: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december']\n};\nvar dayValues = {\n narrow: ['Z', 'M', 'D', 'W', 'D', 'V', 'Z'],\n \"short\": ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],\n abbreviated: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],\n wide: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middaguur',\n morning: '\\'s ochtends',\n afternoon: '\\'s middags',\n evening: '\\'s avonds',\n night: '\\'s nachts'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middaguur',\n morning: '\\'s ochtends',\n afternoon: '\\'s middags',\n evening: '\\'s avonds',\n night: '\\'s nachts'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'middernacht',\n noon: 'het middaguur',\n morning: '\\'s ochtends',\n afternoon: '\\'s middags',\n evening: '\\'s avonds',\n night: '\\'s nachts'\n }\n};\n\nfunction ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return number + 'e';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary Dutch locale.\n * @language Dutch\n * @iso-639-2 nld\n * @author Jorik Tangelder [@jtangelder]{@link https://github.com/jtangelder}\n * @author Ruben Stolk [@rubenstolk]{@link https://github.com/rubenstolk}\n * @author Lode Vanhove [@bitcrumb]{@link https://github.com/bitcrumb}\n * @author Edo Rivai [@edorivai]{@link https://github.com/edorivai}\n * @author Niels Keurentjes [@curry684]{@link https://github.com/curry684}\n * @author Stefan Vermaas [@stefanvermaas]{@link https://github.com/stefanvermaas}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;","import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nimport buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)e?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^([vn]\\.? ?C\\.?)/,\n abbreviated: /^([vn]\\. ?Chr\\.?)/,\n wide: /^((voor|na) Christus)/\n};\nvar parseEraPatterns = {\n any: [/^v/, /^n/]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^K[1234]/i,\n wide: /^[1234]e kwartaal/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mrt|apr|mei|jun|jul|aug|sep|okt|nov|dec)\\.?/i,\n wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^jan/i, /^feb/i, /^mrt/i, /^apr/i, /^mei/i, /^jun/i, /^jul/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]\n};\nvar matchDayPatterns = {\n narrow: /^[zmdwv]/i,\n \"short\": /^(zo|ma|di|wo|do|vr|za)/i,\n abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i,\n wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i\n};\nvar parseDayPatterns = {\n narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i],\n any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i]\n};\nvar matchDayPeriodPatterns = {\n any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /^middernacht/i,\n noon: /^het middaguur/i,\n morning: /ochtend/i,\n afternoon: /middag/i,\n evening: /avond/i,\n night: /nacht/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","function declensionGroup(scheme, count) {\n if (count === 1) {\n return scheme.one;\n }\n\n var rem100 = count % 100; // ends with 11-20\n\n if (rem100 <= 20 && rem100 > 10) {\n return scheme.other;\n }\n\n var rem10 = rem100 % 10; // ends with 2, 3, 4\n\n if (rem10 >= 2 && rem10 <= 4) {\n return scheme.twoFour;\n }\n\n return scheme.other;\n}\n\nfunction declension(scheme, count, time) {\n time = time || 'regular';\n var group = declensionGroup(scheme, count);\n var finalText = group[time] || group;\n return finalText.replace('{{count}}', count);\n}\n\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: {\n regular: 'mniej niż sekunda',\n past: 'mniej niż sekundÄ™',\n future: 'mniej niż sekundÄ™'\n },\n twoFour: 'mniej niż {{count}} sekundy',\n other: 'mniej niż {{count}} sekund'\n },\n xSeconds: {\n one: {\n regular: 'sekunda',\n past: 'sekundÄ™',\n future: 'sekundÄ™'\n },\n twoFour: '{{count}} sekundy',\n other: '{{count}} sekund'\n },\n halfAMinute: {\n one: 'pół minuty',\n twoFour: 'pół minuty',\n other: 'pół minuty'\n },\n lessThanXMinutes: {\n one: {\n regular: 'mniej niż minuta',\n past: 'mniej niż minutÄ™',\n future: 'mniej niż minutÄ™'\n },\n twoFour: 'mniej niż {{count}} minuty',\n other: 'mniej niż {{count}} minut'\n },\n xMinutes: {\n one: {\n regular: 'minuta',\n past: 'minutÄ™',\n future: 'minutÄ™'\n },\n twoFour: '{{count}} minuty',\n other: '{{count}} minut'\n },\n aboutXHours: {\n one: {\n regular: 'okoÅ‚o godzina',\n past: 'okoÅ‚o godziny',\n future: 'okoÅ‚o godzinÄ™'\n },\n twoFour: 'okoÅ‚o {{count}} godziny',\n other: 'okoÅ‚o {{count}} godzin'\n },\n xHours: {\n one: {\n regular: 'godzina',\n past: 'godzinÄ™',\n future: 'godzinÄ™'\n },\n twoFour: '{{count}} godziny',\n other: '{{count}} godzin'\n },\n xDays: {\n one: {\n regular: 'dzieÅ„',\n past: 'dzieÅ„',\n future: '1 dzieÅ„'\n },\n twoFour: '{{count}} dni',\n other: '{{count}} dni'\n },\n aboutXMonths: {\n one: 'okoÅ‚o miesiÄ…c',\n twoFour: 'okoÅ‚o {{count}} miesiÄ…ce',\n other: 'okoÅ‚o {{count}} miesiÄ™cy'\n },\n xMonths: {\n one: 'miesiÄ…c',\n twoFour: '{{count}} miesiÄ…ce',\n other: '{{count}} miesiÄ™cy'\n },\n aboutXYears: {\n one: 'okoÅ‚o rok',\n twoFour: 'okoÅ‚o {{count}} lata',\n other: 'okoÅ‚o {{count}} lat'\n },\n xYears: {\n one: 'rok',\n twoFour: '{{count}} lata',\n other: '{{count}} lat'\n },\n overXYears: {\n one: 'ponad rok',\n twoFour: 'ponad {{count}} lata',\n other: 'ponad {{count}} lat'\n },\n almostXYears: {\n one: 'prawie rok',\n twoFour: 'prawie {{count}} lata',\n other: 'prawie {{count}} lat'\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var scheme = formatDistanceLocale[token];\n\n if (!options.addSuffix) {\n return declension(scheme, count);\n }\n\n if (options.comparison > 0) {\n return 'za ' + declension(scheme, count, 'future');\n } else {\n return declension(scheme, count, 'past') + ' temu';\n }\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js';\nvar dateFormats = {\n full: 'EEEE, do MMMM y',\n \"long\": 'do MMMM y',\n medium: 'do MMM y',\n \"short\": 'dd.MM.y'\n};\nvar timeFormats = {\n full: 'HH:mm:ss zzzz',\n \"long\": 'HH:mm:ss z',\n medium: 'HH:mm:ss',\n \"short\": 'HH:mm'\n};\nvar dateTimeFormats = {\n full: '{{date}} {{time}}',\n \"long\": '{{date}} {{time}}',\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}}, {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import startOfUTCWeek from '../startOfUTCWeek/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function isSameUTCWeek(dirtyDateLeft, dirtyDateRight, options) {\n if (arguments.length < 2) {\n throw new TypeError('2 argument required, but only ' + arguments.length + ' present');\n }\n\n var dateLeftStartOfWeek = startOfUTCWeek(dirtyDateLeft, options);\n var dateRightStartOfWeek = startOfUTCWeek(dirtyDateRight, options);\n return dateLeftStartOfWeek.getTime() === dateRightStartOfWeek.getTime();\n}","import isSameUTCWeek from '../../../../_lib/isSameUTCWeek/index.js';\nvar adjectivesLastWeek = {\n masculine: 'ostatni',\n feminine: 'ostatnia'\n};\nvar adjectivesThisWeek = {\n masculine: 'ten',\n feminine: 'ta'\n};\nvar adjectivesNextWeek = {\n masculine: 'nastÄ™pny',\n feminine: 'nastÄ™pna'\n};\nvar dayGrammaticalGender = {\n 0: 'feminine',\n 1: 'masculine',\n 2: 'masculine',\n 3: 'feminine',\n 4: 'masculine',\n 5: 'masculine',\n 6: 'feminine'\n};\n\nfunction getAdjectives(token, date, baseDate, options) {\n if (isSameUTCWeek(date, baseDate, options)) {\n return adjectivesThisWeek;\n } else if (token === 'lastWeek') {\n return adjectivesLastWeek;\n } else if (token === 'nextWeek') {\n return adjectivesNextWeek;\n } else {\n throw new Error(\"Cannot determine adjectives for token \".concat(token));\n }\n}\n\nfunction getAdjective(token, date, baseDate, options) {\n var day = date.getUTCDay();\n var adjectives = getAdjectives(token, date, baseDate, options);\n var grammaticalGender = dayGrammaticalGender[day];\n return adjectives[grammaticalGender];\n}\n\nfunction dayAndTimeWithAdjective(token, date, baseDate, options) {\n var adjective = getAdjective(token, date, baseDate, options);\n return \"'\".concat(adjective, \"' eeee 'o' p\");\n}\n\nvar formatRelativeLocale = {\n lastWeek: dayAndTimeWithAdjective,\n yesterday: \"'wczoraj o' p\",\n today: \"'dzisiaj o' p\",\n tomorrow: \"'jutro o' p\",\n nextWeek: dayAndTimeWithAdjective,\n other: 'P'\n};\nexport default function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(token, date, baseDate, options);\n }\n\n return format;\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js';\n\nfunction ordinalNumber(dirtyNumber) {\n var number = Number(dirtyNumber);\n return String(number);\n}\n\nvar eraValues = {\n narrow: ['p.n.e.', 'n.e.'],\n abbreviated: ['p.n.e.', 'n.e.'],\n wide: ['przed naszÄ… erÄ…', 'naszej ery']\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['I kw.', 'II kw.', 'III kw.', 'IV kw.'],\n wide: ['I kwartaÅ‚', 'II kwartaÅ‚', 'III kwartaÅ‚', 'IV kwartaÅ‚']\n};\nvar monthValues = {\n narrow: ['S', 'L', 'M', 'K', 'M', 'C', 'L', 'S', 'W', 'P', 'L', 'G'],\n abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],\n wide: ['styczeÅ„', 'luty', 'marzec', 'kwiecieÅ„', 'maj', 'czerwiec', 'lipiec', 'sierpieÅ„', 'wrzesieÅ„', 'październik', 'listopad', 'grudzieÅ„']\n};\nvar monthFormattingValues = {\n narrow: ['s', 'l', 'm', 'k', 'm', 'c', 'l', 's', 'w', 'p', 'l', 'g'],\n abbreviated: ['sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru'],\n wide: ['stycznia', 'lutego', 'marca', 'kwietnia', 'maja', 'czerwca', 'lipca', 'sierpnia', 'wrzeÅ›nia', 'października', 'listopada', 'grudnia']\n};\nvar dayValues = {\n narrow: ['N', 'P', 'W', 'Åš', 'C', 'P', 'S'],\n \"short\": ['nie', 'pon', 'wto', 'Å›ro', 'czw', 'piÄ…', 'sob'],\n abbreviated: ['niedz.', 'pon.', 'wt.', 'Å›r.', 'czw.', 'pt.', 'sob.'],\n wide: ['niedziela', 'poniedziaÅ‚ek', 'wtorek', 'Å›roda', 'czwartek', 'piÄ…tek', 'sobota']\n};\nvar dayFormattingValues = {\n narrow: ['n', 'p', 'w', 'Å›', 'c', 'p', 's'],\n \"short\": ['nie', 'pon', 'wto', 'Å›ro', 'czw', 'piÄ…', 'sob'],\n abbreviated: ['niedz.', 'pon.', 'wt.', 'Å›r.', 'czw.', 'pt.', 'sob.'],\n wide: ['niedziela', 'poniedziaÅ‚ek', 'wtorek', 'Å›roda', 'czwartek', 'piÄ…tek', 'sobota']\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'półn.',\n noon: 'poÅ‚',\n morning: 'rano',\n afternoon: 'popoÅ‚.',\n evening: 'wiecz.',\n night: 'noc'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'północ',\n noon: 'poÅ‚udnie',\n morning: 'rano',\n afternoon: 'popoÅ‚udnie',\n evening: 'wieczór',\n night: 'noc'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'północ',\n noon: 'poÅ‚udnie',\n morning: 'rano',\n afternoon: 'popoÅ‚udnie',\n evening: 'wieczór',\n night: 'noc'\n }\n};\nvar dayPeriodFormattingValues = {\n narrow: {\n am: 'a',\n pm: 'p',\n midnight: 'o półn.',\n noon: 'w poÅ‚.',\n morning: 'rano',\n afternoon: 'po poÅ‚.',\n evening: 'wiecz.',\n night: 'w nocy'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o północy',\n noon: 'w poÅ‚udnie',\n morning: 'rano',\n afternoon: 'po poÅ‚udniu',\n evening: 'wieczorem',\n night: 'w nocy'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o północy',\n noon: 'w poÅ‚udnie',\n morning: 'rano',\n afternoon: 'po poÅ‚udniu',\n evening: 'wieczorem',\n night: 'w nocy'\n }\n};\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: 'wide'\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: monthFormattingValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide',\n formattingValues: dayFormattingValues,\n defaultFormattingWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: dayPeriodFormattingValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary Polish locale.\n * @language Polish\n * @iso-639-2 pol\n * @author Mateusz Derks [@ertrzyiks]{@link https://github.com/ertrzyiks}\n * @author Just RAG [@justrag]{@link https://github.com/justrag}\n * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb}\n * @author Mateusz Tokarski [@mutisz]{@link https://github.com/mutisz}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;","import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nimport buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(p\\.?\\s*n\\.?\\s*e\\.?\\s*|n\\.?\\s*e\\.?\\s*)/i,\n abbreviated: /^(p\\.?\\s*n\\.?\\s*e\\.?\\s*|n\\.?\\s*e\\.?\\s*)/i,\n wide: /^(przed\\s*nasz(Ä…|a)\\s*er(Ä…|a)|naszej\\s*ery)/i\n};\nvar parseEraPatterns = {\n any: [/^p/i, /^n/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^(I|II|III|IV)\\s*kw\\.?/i,\n wide: /^(I|II|III|IV)\\s*kwarta(Å‚|l)/i\n};\nvar parseQuarterPatterns = {\n narrow: [/1/i, /2/i, /3/i, /4/i],\n any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[slmkcwpg]/i,\n abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,\n wide: /^(stycze(Å„|n)|stycznia|luty|lutego|marzec|marca|kwiecie(Å„|n)|kwietnia|maj|maja|czerwiec|czerwca|lipiec|lipca|sierpie(Å„|n)|sierpnia|wrzesie(Å„|n)|wrze(Å›|s)nia|pa(ź|z)dziernik|pa(ź|z)dziernika|listopad|listopada|grudzie(Å„|n)|grudnia)/i\n};\nvar parseMonthPatterns = {\n narrow: [/^s/i, /^l/i, /^m/i, /^k/i, /^m/i, /^c/i, /^l/i, /^s/i, /^w/i, /^p/i, /^l/i, /^g/i],\n any: [/^st/i, /^lu/i, /^mar/i, /^k/i, /^maj/i, /^c/i, /^lip/i, /^si/i, /^w/i, /^p/i, /^lis/i, /^g/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npwÅ›cs]/i,\n \"short\": /^(nie|pon|wto|(Å›|s)ro|czw|pi(Ä…|a)|sob)/i,\n abbreviated: /^(niedz|pon|wt|(Å›|s)r|czw|pt|sob)\\.?/i,\n wide: /^(niedziela|poniedzia(Å‚|l)ek|wtorek|(Å›|s)roda|czwartek|pi(Ä…|a)tek|sobota)/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^w/i, /^Å›/i, /^c/i, /^p/i, /^s/i],\n abbreviated: [/^n/i, /^po/i, /^w/i, /^(Å›|s)r/i, /^c/i, /^pt/i, /^so/i],\n any: [/^n/i, /^po/i, /^w/i, /^(Å›|s)r/i, /^c/i, /^pi/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(^a$|^p$|pó(Å‚|l)n\\.?|o\\s*pó(Å‚|l)n\\.?|po(Å‚|l)\\.?|w\\s*po(Å‚|l)\\.?|po\\s*po(Å‚|l)\\.?|rano|wiecz\\.?|noc|w\\s*nocy)/i,\n any: /^(am|pm|pó(Å‚|l)noc|o\\s*pó(Å‚|l)nocy|po(Å‚|l)udnie|w\\s*po(Å‚|l)udnie|popo(Å‚|l)udnie|po\\s*po(Å‚|l)udniu|rano|wieczór|wieczorem|noc|w\\s*nocy)/i\n};\nvar parseDayPeriodPatterns = {\n narrow: {\n am: /^a$/i,\n pm: /^p$/i,\n midnight: /pó(Å‚|l)n/i,\n noon: /po(Å‚|l)/i,\n morning: /rano/i,\n afternoon: /po\\s*po(Å‚|l)/i,\n evening: /wiecz/i,\n night: /noc/i\n },\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /pó(Å‚|l)n/i,\n noon: /po(Å‚|l)/i,\n morning: /rano/i,\n afternoon: /po\\s*po(Å‚|l)/i,\n evening: /wiecz/i,\n night: /noc/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","// NOTE: should prolly be improved\n// https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308\nfunction declensionGroup(scheme, count) {\n if (count === 1) {\n return scheme.one;\n }\n\n if (count >= 2 && count <= 4) {\n return scheme.twoFour;\n } // if count === null || count === 0 || count >= 5\n\n\n return scheme.other;\n}\n\nfunction declension(scheme, count, time) {\n var group = declensionGroup(scheme, count);\n var finalText = group[time] || group;\n return finalText.replace('{{count}}', count);\n}\n\nfunction extractPreposition(token) {\n var result = ['lessThan', 'about', 'over', 'almost'].filter(function (preposition) {\n return !!token.match(new RegExp('^' + preposition));\n });\n return result[0];\n}\n\nfunction prefixPreposition(preposition) {\n var translation = '';\n\n if (preposition === 'almost') {\n translation = 'takmer';\n }\n\n if (preposition === 'about') {\n translation = 'približne';\n }\n\n return translation.length > 0 ? translation + ' ' : '';\n}\n\nfunction suffixPreposition(preposition) {\n var translation = '';\n\n if (preposition === 'lessThan') {\n translation = 'menej než';\n }\n\n if (preposition === 'over') {\n translation = 'viac než';\n }\n\n return translation.length > 0 ? translation + ' ' : '';\n}\n\nfunction lowercaseFirstLetter(string) {\n return string.charAt(0).toLowerCase() + string.slice(1);\n}\n\nvar formatDistanceLocale = {\n xSeconds: {\n one: {\n regular: 'sekunda',\n past: 'sekundou',\n future: 'sekundu'\n },\n twoFour: {\n regular: '{{count}} sekundy',\n past: '{{count}} sekundami',\n future: '{{count}} sekundy'\n },\n other: {\n regular: '{{count}} sekúnd',\n past: '{{count}} sekundami',\n future: '{{count}} sekúnd'\n }\n },\n halfAMinute: {\n other: {\n regular: 'pol minúty',\n past: 'pol minútou',\n future: 'pol minúty'\n }\n },\n xMinutes: {\n one: {\n regular: 'minúta',\n past: 'minútou',\n future: 'minútu'\n },\n twoFour: {\n regular: '{{count}} minúty',\n past: '{{count}} minútami',\n future: '{{count}} minúty'\n },\n other: {\n regular: '{{count}} minút',\n past: '{{count}} minútami',\n future: '{{count}} minút'\n }\n },\n xHours: {\n one: {\n regular: 'hodina',\n past: 'hodinou',\n future: 'hodinu'\n },\n twoFour: {\n regular: '{{count}} hodiny',\n past: '{{count}} hodinami',\n future: '{{count}} hodiny'\n },\n other: {\n regular: '{{count}} hodÃn',\n past: '{{count}} hodinami',\n future: '{{count}} hodÃn'\n }\n },\n xDays: {\n one: {\n regular: 'deň',\n past: 'dňom',\n future: 'deň'\n },\n twoFour: {\n regular: '{{count}} dni',\n past: '{{count}} dňami',\n future: '{{count}} dni'\n },\n other: {\n regular: '{{count}} dnÃ',\n past: '{{count}} dňami',\n future: '{{count}} dnÃ'\n }\n },\n xMonths: {\n one: {\n regular: 'mesiac',\n past: 'mesiacom',\n future: 'mesiac'\n },\n twoFour: {\n regular: '{{count}} mesiace',\n past: '{{count}} mesiacmi',\n future: '{{count}} mesiace'\n },\n other: {\n regular: '{{count}} mesiacov',\n past: '{{count}} mesiacmi',\n future: '{{count}} mesiacov'\n }\n },\n xYears: {\n one: {\n regular: 'rok',\n past: 'rokom',\n future: 'rok'\n },\n twoFour: {\n regular: '{{count}} roky',\n past: '{{count}} rokmi',\n future: '{{count}} roky'\n },\n other: {\n regular: '{{count}} rokov',\n past: '{{count}} rokmi',\n future: '{{count}} rokov'\n }\n }\n};\nexport default function formatDistance(token, count, options) {\n options = options || {};\n var preposition = extractPreposition(token) || '';\n var key = lowercaseFirstLetter(token.substring(preposition.length));\n var scheme = formatDistanceLocale[key];\n\n if (!options.addSuffix) {\n return prefixPreposition(preposition) + suffixPreposition(preposition) + declension(scheme, count, 'regular');\n }\n\n if (options.comparison > 0) {\n return prefixPreposition(preposition) + 'o ' + suffixPreposition(preposition) + declension(scheme, count, 'future');\n } else {\n return prefixPreposition(preposition) + 'pred ' + suffixPreposition(preposition) + declension(scheme, count, 'past');\n }\n}","import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js'; // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1986\n\nvar dateFormats = {\n full: 'EEEE d. MMMM y',\n \"long\": 'd. MMMM y',\n medium: 'd. M. y',\n \"short\": 'd. M. y' // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#2149\n\n};\nvar timeFormats = {\n full: 'H:mm:ss zzzz',\n \"long\": 'H:mm:ss z',\n medium: 'H:mm:ss',\n \"short\": 'H:mm' // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1994\n\n};\nvar dateTimeFormats = {\n full: '{{date}}, {{time}}',\n \"long\": '{{date}}, {{time}}',\n medium: '{{date}}, {{time}}',\n \"short\": '{{date}} {{time}}'\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: 'full'\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: 'full'\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: 'full'\n })\n};\nexport default formatLong;","import isSameUTCWeek from '../../../../_lib/isSameUTCWeek/index.js'; // https://www.unicode.org/cldr/charts/32/summary/sk.html?hide#1308\n\nvar accusativeWeekdays = ['nedeľu', 'pondelok', 'utorok', 'stredu', 'Å¡tvrtok', 'piatok', 'sobotu'];\n\nfunction _lastWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n /* Sun */\n\n case 4:\n /* Wed */\n\n case 6\n /* Sat */\n :\n return \"'minulú \" + weekday + \" o' p\";\n\n default:\n return \"'minulý' eeee 'o' p\";\n }\n}\n\nfunction thisWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n if (day === 4\n /* Thu */\n ) {\n return \"'vo' eeee 'o' p\";\n } else {\n return \"'v \" + weekday + \" o' p\";\n }\n}\n\nfunction _nextWeek(day) {\n var weekday = accusativeWeekdays[day];\n\n switch (day) {\n case 0:\n /* Sun */\n\n case 4:\n /* Wed */\n\n case 6\n /* Sat */\n :\n return \"'budúcu' \" + weekday + \" 'o' p\";\n\n default:\n return \"'budúci' eeee 'o' p\";\n }\n}\n\nvar formatRelativeLocale = {\n lastWeek: function lastWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _lastWeek(day);\n }\n },\n yesterday: \"'vÄera o' p\",\n today: \"'dnes o' p\",\n tomorrow: \"'zajtra o' p\",\n nextWeek: function nextWeek(date, baseDate, options) {\n var day = date.getUTCDay();\n\n if (isSameUTCWeek(date, baseDate, options)) {\n return thisWeek(day);\n } else {\n return _nextWeek(day);\n }\n },\n other: 'P'\n};\nexport default function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n\n if (typeof format === 'function') {\n return format(date, baseDate, options);\n }\n\n return format;\n}","import buildLocalizeFn from '../../../_lib/buildLocalizeFn/index.js'; // https://www.unicode.org/cldr/charts/32/summary/sk.html#1772\n\nvar eraValues = {\n narrow: ['pred Kr.', 'po Kr.'],\n abbreviated: ['pred Kr.', 'po Kr.'],\n wide: ['pred Kristom', 'po Kristovi'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1780\n\n};\nvar quarterValues = {\n narrow: ['1', '2', '3', '4'],\n abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],\n wide: ['1. Å¡tvrÅ¥rok', '2. Å¡tvrÅ¥rok', '3. Å¡tvrÅ¥rok', '4. Å¡tvrÅ¥rok'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1804\n\n};\nvar monthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],\n wide: ['január', 'február', 'marec', 'aprÃl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december']\n};\nvar formattingMonthValues = {\n narrow: ['j', 'f', 'm', 'a', 'm', 'j', 'j', 'a', 's', 'o', 'n', 'd'],\n abbreviated: ['jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec'],\n wide: ['januára', 'februára', 'marca', 'aprÃla', 'mája', 'júna', 'júla', 'augusta', 'septembra', 'októbra', 'novembra', 'decembra'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1876\n\n};\nvar dayValues = {\n narrow: ['n', 'p', 'u', 's', 'Å¡', 'p', 's'],\n \"short\": ['ne', 'po', 'ut', 'st', 'Å¡t', 'pi', 'so'],\n abbreviated: ['ne', 'po', 'ut', 'st', 'Å¡t', 'pi', 'so'],\n wide: ['nedeľa', 'pondelok', 'utorok', 'streda', 'Å¡tvrtok', 'piatok', 'sobota'] // https://www.unicode.org/cldr/charts/32/summary/sk.html#1932\n\n};\nvar dayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'poln.',\n noon: 'pol.',\n morning: 'ráno',\n afternoon: 'pop.',\n evening: 'veÄ.',\n night: 'noc'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'poln.',\n noon: 'pol.',\n morning: 'ráno',\n afternoon: 'popol.',\n evening: 'veÄer',\n night: 'noc'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'polnoc',\n noon: 'poludnie',\n morning: 'ráno',\n afternoon: 'popoludnie',\n evening: 'veÄer',\n night: 'noc'\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o poln.',\n noon: 'nap.',\n morning: 'ráno',\n afternoon: 'pop.',\n evening: 'veÄ.',\n night: 'v n.'\n },\n abbreviated: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o poln.',\n noon: 'napol.',\n morning: 'ráno',\n afternoon: 'popol.',\n evening: 'veÄer',\n night: 'v noci'\n },\n wide: {\n am: 'AM',\n pm: 'PM',\n midnight: 'o polnoci',\n noon: 'napoludnie',\n morning: 'ráno',\n afternoon: 'popoludnÃ',\n evening: 'veÄer',\n night: 'v noci'\n }\n};\n\nfunction ordinalNumber(dirtyNumber, _dirtyOptions) {\n var number = Number(dirtyNumber);\n return number + '.';\n}\n\nvar localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues // defaultWidth: 'wide'\n\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: 'wide',\n argumentCallback: function argumentCallback(quarter) {\n return Number(quarter) - 1;\n }\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: 'wide',\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: 'wide'\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: 'wide'\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: 'wide',\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: 'wide'\n })\n};\nexport default localize;","import formatDistance from './_lib/formatDistance/index.js';\nimport formatLong from './_lib/formatLong/index.js';\nimport formatRelative from './_lib/formatRelative/index.js';\nimport localize from './_lib/localize/index.js';\nimport match from './_lib/match/index.js';\n/**\n * @type {Locale}\n * @category Locales\n * @summary Slovak locale.\n * @language Slovak\n * @iso-639-2 slk\n * @author Marek Suscak [@mareksuscak]{@link https://github.com/mareksuscak}\n */\n\nvar locale = {\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1\n /* Monday */\n ,\n firstWeekContainsDate: 4\n }\n};\nexport default locale;","import buildMatchPatternFn from '../../../_lib/buildMatchPatternFn/index.js';\nimport buildMatchFn from '../../../_lib/buildMatchFn/index.js';\nvar matchOrdinalNumberPattern = /^(\\d+)\\.?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(pred Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n abbreviated: /^(pred Kr\\.|pred n\\. l\\.|po Kr\\.|n\\. l\\.)/i,\n wide: /^(pred Kristom|pred na[Å¡s][Ãi]m letopo[Äc]tom|po Kristovi|n[áa][Å¡s]ho letopo[Äc]tu)/i\n};\nvar parseEraPatterns = {\n any: [/^pr/i, /^(po|n)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]\\. [Å¡s]tvr[Å¥t]rok/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|m[áa]j|j[úu]n|j[úu]l|aug|sep|okt|nov|dec)/i,\n wide: /^(janu[áa]ra?|febru[áa]ra?|(marec|marca)|apr[Ãi]la?|m[áa]ja?|j[úu]na?|j[úu]la?|augusta?|(september|septembra)|(okt[óo]ber|okt[óo]bra)|(november|novembra)|(december|decembra))/i\n};\nvar parseMonthPatterns = {\n narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],\n any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^m[áa]j/i, /^j[úu]n/i, /^j[úu]l/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]\n};\nvar matchDayPatterns = {\n narrow: /^[npusÅ¡p]/i,\n \"short\": /^(ne|po|ut|st|Å¡t|pi|so)/i,\n abbreviated: /^(ne|po|ut|st|Å¡t|pi|so)/i,\n wide: /^(nede[ľl]a|pondelok|utorok|streda|[Å¡s]tvrtok|piatok|sobota])/i\n};\nvar parseDayPatterns = {\n narrow: [/^n/i, /^p/i, /^u/i, /^s/i, /^Å¡/i, /^p/i, /^s/i],\n any: [/^n/i, /^po/i, /^u/i, /^st/i, /^(Å¡t|stv)/i, /^pi/i, /^so/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(am|pm|(o )?poln\\.?|(nap\\.?|pol\\.?)|r[áa]no|pop\\.?|ve[Äc]\\.?|(v n\\.?|noc))/i,\n abbreviated: /^(am|pm|(o )?poln\\.?|(napol\\.?|pol\\.?)|r[áa]no|pop\\.?|ve[Äc]er|(v )?noci?)/i,\n any: /^(am|pm|(o )?polnoci?|(na)?poludnie|r[áa]no|popoludn(ie|Ã|i)|ve[Äc]er|(v )?noci?)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^am/i,\n pm: /^pm/i,\n midnight: /poln/i,\n noon: /^(nap|(na)?pol(\\.|u))/i,\n morning: /^r[áa]no/i,\n afternoon: /^pop/i,\n evening: /^ve[Äc]/i,\n night: /^(noc|v n\\.)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {\n return parseInt(value, 10);\n }\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseEraPatterns,\n defaultParseWidth: 'any'\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: 'any',\n valueCallback: function valueCallback(index) {\n return index + 1;\n }\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: 'any'\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: 'wide',\n parsePatterns: parseDayPatterns,\n defaultParseWidth: 'any'\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: 'any',\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: 'any'\n })\n};\nexport default match;","import Vue from'vue';import{format}from'date-fns';import{cs,enGB,de,nl,pl,sk}from'date-fns/locale';var locales={cs:cs,en:enGB,de:de,nl:nl,pl:pl,sk:sk};export default Vue.filter('formatDay',function(value,locale){if(value){var selectedLocale=locales[locale]||locales.cs;return format(new Date(value),'EEEE',{locale:selectedLocale});}return'';});","import Vue from'vue';import{format,addDays}from'date-fns';export default Vue.filter('daysFromIssuedDate',function(value,dateFrom,dateFormat){if(Number.isNaN(parseInt(value,10))||!dateFormat)return'';return format(addDays(new Date(dateFrom),value),dateFormat);});","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import Vue from'vue';import{formatDistanceToNow}from'date-fns';import getFnsLocale from'~/lib/dateFnsLocale';export default Vue.filter('daysDistance',function(value,dateFormat,language){if(value){var options=_objectSpread({addSuffix:true},getFnsLocale(language));return\"\".concat(formatDistanceToNow(new Date(value),options));}return'';});","import distanceInWords from '../formatDistance/index.js';\n/**\n * @name formatDistanceToNow\n * @category Common Helpers\n * @summary Return the distance between the given date and now in words.\n * @pure false\n *\n * @description\n * Return the distance between the given date and now in words.\n *\n * | Distance to now | Result |\n * |-------------------------------------------------------------------|---------------------|\n * | 0 ... 30 secs | less than a minute |\n * | 30 secs ... 1 min 30 secs | 1 minute |\n * | 1 min 30 secs ... 44 mins 30 secs | [2..44] minutes |\n * | 44 mins ... 30 secs ... 89 mins 30 secs | about 1 hour |\n * | 89 mins 30 secs ... 23 hrs 59 mins 30 secs | about [2..24] hours |\n * | 23 hrs 59 mins 30 secs ... 41 hrs 59 mins 30 secs | 1 day |\n * | 41 hrs 59 mins 30 secs ... 29 days 23 hrs 59 mins 30 secs | [2..30] days |\n * | 29 days 23 hrs 59 mins 30 secs ... 44 days 23 hrs 59 mins 30 secs | about 1 month |\n * | 44 days 23 hrs 59 mins 30 secs ... 59 days 23 hrs 59 mins 30 secs | about 2 months |\n * | 59 days 23 hrs 59 mins 30 secs ... 1 yr | [2..12] months |\n * | 1 yr ... 1 yr 3 months | about 1 year |\n * | 1 yr 3 months ... 1 yr 9 month s | over 1 year |\n * | 1 yr 9 months ... 2 yrs | almost 2 years |\n * | N yrs ... N yrs 3 months | about N years |\n * | N yrs 3 months ... N yrs 9 months | over N years |\n * | N yrs 9 months ... N+1 yrs | almost N+1 years |\n *\n * With `options.includeSeconds == true`:\n * | Distance to now | Result |\n * |---------------------|----------------------|\n * | 0 secs ... 5 secs | less than 5 seconds |\n * | 5 secs ... 10 secs | less than 10 seconds |\n * | 10 secs ... 20 secs | less than 20 seconds |\n * | 20 secs ... 40 secs | half a minute |\n * | 40 secs ... 60 secs | less than a minute |\n * | 60 secs ... 90 secs | 1 minute |\n *\n * > âš ï¸ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The function was renamed from `distanceInWordsToNow ` to `formatDistanceToNow`\n * to make its name consistent with `format` and `formatRelative`.\n *\n * ```javascript\n * // Before v2.0.0\n *\n * distanceInWordsToNow(new Date(2014, 6, 2), { addSuffix: true })\n * //=> 'in 6 months'\n *\n * // v2.0.0 onward\n *\n * formatDistanceToNow(new Date(2014, 6, 2), { addSuffix: true })\n * //=> 'in 6 months'\n * ```\n *\n * @param {Date|Number} date - the given date\n * @param {Object} [options] - the object with options\n * @param {Boolean} [options.includeSeconds=false] - distances less than a minute are more detailed\n * @param {Boolean} [options.addSuffix=false] - result specifies if now is earlier or later than the passed date\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @returns {String} the distance in words\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.locale` must contain `formatDistance` property\n *\n * @example\n * // If today is 1 January 2015, what is the distance to 2 July 2014?\n * var result = formatDistanceToNow(\n * new Date(2014, 6, 2)\n * )\n * //=> '6 months'\n *\n * @example\n * // If now is 1 January 2015 00:00:00,\n * // what is the distance to 1 January 2015 00:00:15, including seconds?\n * var result = formatDistanceToNow(\n * new Date(2015, 0, 1, 0, 0, 15),\n * {includeSeconds: true}\n * )\n * //=> 'less than 20 seconds'\n *\n * @example\n * // If today is 1 January 2015,\n * // what is the distance to 1 January 2016, with a suffix?\n * var result = formatDistanceToNow(\n * new Date(2016, 0, 1),\n * {addSuffix: true}\n * )\n * //=> 'in about 1 year'\n *\n * @example\n * // If today is 1 January 2015,\n * // what is the distance to 1 August 2016 in Esperanto?\n * var eoLocale = require('date-fns/locale/eo')\n * var result = formatDistanceToNow(\n * new Date(2016, 7, 1),\n * {locale: eoLocale}\n * )\n * //=> 'pli ol 1 jaro'\n */\n\nexport default function formatDistanceToNow(dirtyDate, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n return distanceInWords(dirtyDate, Date.now(), dirtyOptions);\n}","import Vue from'vue';import formatCurrency from'~/lib/formatCurrency';export default Vue.filter('formatCurrency',function(value,currency,locale){var decimalPlaces=arguments.length>3&&arguments[3]!==undefined?arguments[3]:2;var minDecimalPlaces=arguments.length>4&&arguments[4]!==undefined?arguments[4]:null;return formatCurrency(value,currency,locale,decimalPlaces,minDecimalPlaces);});","import Vue from'vue';import formatNumber from'~/lib/formatNumber';export default Vue.filter('formatNumber',function(value,locale){var decimalPlaces=arguments.length>2&&arguments[2]!==undefined?arguments[2]:2;var minDecimalPlaces=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;return formatNumber(value,locale,decimalPlaces,minDecimalPlaces);});","import Vue from'vue';export default Vue.filter('truncate',function(){var text=arguments.length>0&&arguments[0]!==undefined?arguments[0]:'';var length=arguments.length>1&&arguments[1]!==undefined?arguments[1]:30;var clamp=arguments.length>2&&arguments[2]!==undefined?arguments[2]:'...';var truncated=text.replace(/<[^>]+>/g,'');if(truncated.length<=length)return truncated;var tcText=truncated.slice(0,length-clamp.length);var last=tcText.length-1;while(last>0&&tcText[last]!==' '&&tcText[last]!==clamp[0]){last-=1;}last=last||length-clamp.length;tcText=tcText.slice(0,last);return tcText+clamp;});","function uppercase(value){return value||value===0?value.toString().toUpperCase():'';}export default uppercase;","import formatDate from'./formatDate';import formatDay from'./formatDay';import daysFromIssuedDate from'./daysFromIssuedDate';import daysDistance from'./daysDistance';import formatCurrency from'./formatCurrency';import formatNumber from'./formatNumber';import truncate from'./truncate';import uppercase from'./uppercase';export default{daysDistance:daysDistance,daysFromIssuedDate:daysFromIssuedDate,formatCurrency:formatCurrency,formatDate:formatDate,formatDay:formatDay,uppercase:uppercase,formatNumber:formatNumber,truncate:truncate};","import Vue from'vue';import uppercase from'~/lib/uppercase';export default Vue.filter('uppercase',function(value){return uppercase(value);});","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar isMergeableObject = function isMergeableObject(value) {\n return isNonNullObject(value) && !isSpecial(value);\n};\n\nfunction isNonNullObject(value) {\n return !!value && _typeof(value) === 'object';\n}\n\nfunction isSpecial(value) {\n var stringValue = Object.prototype.toString.call(value);\n return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value);\n} // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\n\n\nvar canUseSymbol = typeof Symbol === 'function' && Symbol[\"for\"];\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol[\"for\"]('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n return value.$$typeof === REACT_ELEMENT_TYPE;\n}\n\nfunction emptyTarget(val) {\n return Array.isArray(val) ? [] : {};\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;\n}\n\nfunction defaultArrayMerge(target, source, options) {\n return target.concat(source).map(function (element) {\n return cloneUnlessOtherwiseSpecified(element, options);\n });\n}\n\nfunction mergeObject(target, source, options) {\n var destination = {};\n\n if (options.isMergeableObject(target)) {\n Object.keys(target).forEach(function (key) {\n destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n });\n }\n\n Object.keys(source).forEach(function (key) {\n if (!options.isMergeableObject(source[key]) || !target[key]) {\n destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n } else {\n destination[key] = deepmerge(target[key], source[key], options);\n }\n });\n return destination;\n}\n\nfunction deepmerge(target, source, options) {\n options = options || {};\n options.arrayMerge = options.arrayMerge || defaultArrayMerge;\n options.isMergeableObject = options.isMergeableObject || isMergeableObject;\n var sourceIsArray = Array.isArray(source);\n var targetIsArray = Array.isArray(target);\n var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n if (!sourceAndTargetTypesMatch) {\n return cloneUnlessOtherwiseSpecified(source, options);\n } else if (sourceIsArray) {\n return options.arrayMerge(target, source, options);\n } else {\n return mergeObject(target, source, options);\n }\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n if (!Array.isArray(array)) {\n throw new Error('first argument should be an array');\n }\n\n return array.reduce(function (prev, next) {\n return deepmerge(prev, next, options);\n }, {});\n};\n\nvar deepmerge_1 = deepmerge;\nexport default deepmerge_1;","function t(t, n, r) {\n return void 0 === (t = (n.split ? n.split(\".\") : n).reduce(function (t, n) {\n return t && t[n];\n }, t)) ? r : t;\n}\n\nfunction n(t, n, r, e) {\n return (n = n.split ? n.split(\".\") : n).slice(0, -1).reduce(function (t, n) {\n return t[n] = t[n] || {};\n }, t)[n.pop()] = r, t;\n}\n\nexport { t as get, n as set };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport t from \"deepmerge\";\nimport { set as e, get as r } from \"shvl\";\nexport default function (n, o, u) {\n function i(t, e, r) {\n try {\n return (r = e.getItem(t)) && void 0 !== r ? JSON.parse(r) : void 0;\n } catch (t) {}\n }\n\n if (o = (n = n || {}).storage || window && window.localStorage, u = n.key || \"vuex\", !function (t) {\n try {\n return t.setItem(\"@@\", 1), t.removeItem(\"@@\"), !0;\n } catch (t) {}\n\n return !1;\n }(o)) throw new Error(\"Invalid storage instance given\");\n return function (c) {\n var a = r(n, \"getState\", i)(u, o);\n \"object\" == _typeof(a) && null !== a && c.replaceState(t(c.state, a, {\n arrayMerge: n.arrayMerger || function (t, e) {\n return e;\n },\n clone: !1\n })), (n.subscriber || function (t) {\n return function (e) {\n return t.subscribe(e);\n };\n })(c)(function (t, i) {\n (n.filter || function () {\n return !0;\n })(t) && (n.setState || function (t, e, r) {\n return r.setItem(t, JSON.stringify(e));\n })(u, (n.reducer || function (t, n) {\n return 0 === n.length ? t : n.reduce(function (n, o) {\n return e(n, o, r(t, o));\n }, {});\n })(i, n.paths || []), o);\n });\n };\n}\n;","var createSymbol = function createSymbol(name) {\n return \"@@redux-saga/\" + name;\n};\n\nvar CANCEL =\n/*#__PURE__*/\ncreateSymbol('CANCEL_PROMISE');\nvar CHANNEL_END_TYPE =\n/*#__PURE__*/\ncreateSymbol('CHANNEL_END');\nvar IO =\n/*#__PURE__*/\ncreateSymbol('IO');\nvar MATCH =\n/*#__PURE__*/\ncreateSymbol('MATCH');\nvar MULTICAST =\n/*#__PURE__*/\ncreateSymbol('MULTICAST');\nvar SAGA_ACTION =\n/*#__PURE__*/\ncreateSymbol('SAGA_ACTION');\nvar SELF_CANCELLATION =\n/*#__PURE__*/\ncreateSymbol('SELF_CANCELLATION');\nvar TASK =\n/*#__PURE__*/\ncreateSymbol('TASK');\nvar TASK_CANCEL =\n/*#__PURE__*/\ncreateSymbol('TASK_CANCEL');\nvar TERMINATE =\n/*#__PURE__*/\ncreateSymbol('TERMINATE');\nvar SAGA_LOCATION =\n/*#__PURE__*/\ncreateSymbol('LOCATION');\nexport { CANCEL, CHANNEL_END_TYPE, IO, MATCH, MULTICAST, SAGA_ACTION, SELF_CANCELLATION, TASK, TASK_CANCEL, TERMINATE, SAGA_LOCATION };","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}","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { TASK, SAGA_ACTION, MULTICAST, IO } from '@redux-saga/symbols';\n\nvar undef = function undef(v) {\n return v === null || v === undefined;\n};\n\nvar notUndef = function notUndef(v) {\n return v !== null && v !== undefined;\n};\n\nvar func = function func(f) {\n return typeof f === 'function';\n};\n\nvar number = function number(n) {\n return typeof n === 'number';\n};\n\nvar string = function string(s) {\n return typeof s === 'string';\n};\n\nvar array = Array.isArray;\n\nvar object = function object(obj) {\n return obj && !array(obj) && _typeof(obj) === 'object';\n};\n\nvar promise = function promise(p) {\n return p && func(p.then);\n};\n\nvar iterator = function iterator(it) {\n return it && func(it.next) && func(it[\"throw\"]);\n};\n\nvar iterable = function iterable(it) {\n return it && func(Symbol) ? func(it[Symbol.iterator]) : array(it);\n};\n\nvar task = function task(t) {\n return t && t[TASK];\n};\n\nvar sagaAction = function sagaAction(a) {\n return Boolean(a && a[SAGA_ACTION]);\n};\n\nvar observable = function observable(ob) {\n return ob && func(ob.subscribe);\n};\n\nvar buffer = function buffer(buf) {\n return buf && func(buf.isEmpty) && func(buf.take) && func(buf.put);\n};\n\nvar pattern = function pattern(pat) {\n return pat && (string(pat) || symbol(pat) || func(pat) || array(pat) && pat.every(pattern));\n};\n\nvar channel = function channel(ch) {\n return ch && func(ch.take) && func(ch.close);\n};\n\nvar stringableFunc = function stringableFunc(f) {\n return func(f) && f.hasOwnProperty('toString');\n};\n\nvar symbol = function symbol(sym) {\n return Boolean(sym) && typeof Symbol === 'function' && sym.constructor === Symbol && sym !== Symbol.prototype;\n};\n\nvar multicast = function multicast(ch) {\n return channel(ch) && ch[MULTICAST];\n};\n\nvar effect = function effect(eff) {\n return eff && eff[IO];\n};\n\nexport { undef, notUndef, func, number, string, array, object, promise, iterator, iterable, task, sagaAction, observable, buffer, pattern, channel, stringableFunc, symbol, multicast, effect };","import { CANCEL } from '@redux-saga/symbols';\n\nfunction delayP(ms, val) {\n if (val === void 0) {\n val = true;\n }\n\n var timeoutId;\n var promise = new Promise(function (resolve) {\n timeoutId = setTimeout(resolve, ms, val);\n });\n\n promise[CANCEL] = function () {\n clearTimeout(timeoutId);\n };\n\n return promise;\n}\n\nexport default delayP;","import { TASK_CANCEL, TERMINATE, SAGA_LOCATION, SAGA_ACTION, IO, SELF_CANCELLATION } from '@redux-saga/symbols';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport { array, notUndef, pattern, multicast, channel, undef, task, func, buffer, string, object } from '@redux-saga/is';\nimport delayP from '@redux-saga/delay-p';\n\nvar konst = function konst(v) {\n return function () {\n return v;\n };\n};\n\nvar kTrue =\n/*#__PURE__*/\nkonst(true);\n\nvar noop = function noop() {};\n\nvar identity = function identity(v) {\n return v;\n};\n\nvar hasSymbol = typeof Symbol === 'function';\nvar asyncIteratorSymbol = hasSymbol && Symbol.asyncIterator ? Symbol.asyncIterator : '@@asyncIterator';\n\nfunction check(value, predicate, error) {\n if (!predicate(value)) {\n throw new Error(error);\n }\n}\n\nvar assignWithSymbols = function assignWithSymbols(target, source) {\n _extends(target, source);\n\n if (Object.getOwnPropertySymbols) {\n Object.getOwnPropertySymbols(source).forEach(function (s) {\n target[s] = source[s];\n });\n }\n};\n\nvar flatMap = function flatMap(mapper, arr) {\n var _ref;\n\n return (_ref = []).concat.apply(_ref, arr.map(mapper));\n};\n\nfunction remove(array, item) {\n var index = array.indexOf(item);\n\n if (index >= 0) {\n array.splice(index, 1);\n }\n}\n\nfunction once(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n\n called = true;\n fn();\n };\n}\n\nvar kThrow = function kThrow(err) {\n throw err;\n};\n\nvar kReturn = function kReturn(value) {\n return {\n value: value,\n done: true\n };\n};\n\nfunction makeIterator(next, thro, name) {\n if (thro === void 0) {\n thro = kThrow;\n }\n\n if (name === void 0) {\n name = 'iterator';\n }\n\n var iterator = {\n meta: {\n name: name\n },\n next: next,\n \"throw\": thro,\n \"return\": kReturn,\n isSagaIterator: true\n };\n\n if (typeof Symbol !== 'undefined') {\n iterator[Symbol.iterator] = function () {\n return iterator;\n };\n }\n\n return iterator;\n}\n\nfunction logError(error, _ref2) {\n var sagaStack = _ref2.sagaStack;\n /*eslint-disable no-console*/\n\n console.error(error);\n console.error(sagaStack);\n}\n\nvar internalErr = function internalErr(err) {\n return new Error(\"\\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\\n Error: \" + err + \"\\n\");\n};\n\nvar createSetContextWarning = function createSetContextWarning(ctx, props) {\n return (ctx ? ctx + '.' : '') + \"setContext(props): argument \" + props + \" is not a plain object\";\n};\n\nvar FROZEN_ACTION_ERROR = \"You can't put (a.k.a. dispatch from saga) frozen actions.\\nWe have to define a special non-enumerable property on those actions for scheduling purposes.\\nOtherwise you wouldn't be able to communicate properly between sagas & other subscribers (action ordering would become far less predictable).\\nIf you are using redux and you care about this behaviour (frozen actions),\\nthen you might want to switch to freezing actions in a middleware rather than in action creator.\\nExample implementation:\\n\\nconst freezeActions = store => next => action => next(Object.freeze(action))\\n\"; // creates empty, but not-holey array\n\nvar createEmptyArray = function createEmptyArray(n) {\n return Array.apply(null, new Array(n));\n};\n\nvar wrapSagaDispatch = function wrapSagaDispatch(dispatch) {\n return function (action) {\n if (process.env.NODE_ENV !== 'production') {\n check(action, function (ac) {\n return !Object.isFrozen(ac);\n }, FROZEN_ACTION_ERROR);\n }\n\n return dispatch(Object.defineProperty(action, SAGA_ACTION, {\n value: true\n }));\n };\n};\n\nvar shouldTerminate = function shouldTerminate(res) {\n return res === TERMINATE;\n};\n\nvar shouldCancel = function shouldCancel(res) {\n return res === TASK_CANCEL;\n};\n\nvar shouldComplete = function shouldComplete(res) {\n return shouldTerminate(res) || shouldCancel(res);\n};\n\nfunction createAllStyleChildCallbacks(shape, parentCallback) {\n var keys = Object.keys(shape);\n var totalCount = keys.length;\n\n if (process.env.NODE_ENV !== 'production') {\n check(totalCount, function (c) {\n return c > 0;\n }, 'createAllStyleChildCallbacks: get an empty array or object');\n }\n\n var completedCount = 0;\n var completed;\n var results = array(shape) ? createEmptyArray(totalCount) : {};\n var childCallbacks = {};\n\n function checkEnd() {\n if (completedCount === totalCount) {\n completed = true;\n parentCallback(results);\n }\n }\n\n keys.forEach(function (key) {\n var chCbAtKey = function chCbAtKey(res, isErr) {\n if (completed) {\n return;\n }\n\n if (isErr || shouldComplete(res)) {\n parentCallback.cancel();\n parentCallback(res, isErr);\n } else {\n results[key] = res;\n completedCount++;\n checkEnd();\n }\n };\n\n chCbAtKey.cancel = noop;\n childCallbacks[key] = chCbAtKey;\n });\n\n parentCallback.cancel = function () {\n if (!completed) {\n completed = true;\n keys.forEach(function (key) {\n return childCallbacks[key].cancel();\n });\n }\n };\n\n return childCallbacks;\n}\n\nfunction getMetaInfo(fn) {\n return {\n name: fn.name || 'anonymous',\n location: getLocation(fn)\n };\n}\n\nfunction getLocation(instrumented) {\n return instrumented[SAGA_LOCATION];\n}\n\nvar BUFFER_OVERFLOW = \"Channel's Buffer overflow!\";\nvar ON_OVERFLOW_THROW = 1;\nvar ON_OVERFLOW_DROP = 2;\nvar ON_OVERFLOW_SLIDE = 3;\nvar ON_OVERFLOW_EXPAND = 4;\nvar zeroBuffer = {\n isEmpty: kTrue,\n put: noop,\n take: noop\n};\n\nfunction ringBuffer(limit, overflowAction) {\n if (limit === void 0) {\n limit = 10;\n }\n\n var arr = new Array(limit);\n var length = 0;\n var pushIndex = 0;\n var popIndex = 0;\n\n var push = function push(it) {\n arr[pushIndex] = it;\n pushIndex = (pushIndex + 1) % limit;\n length++;\n };\n\n var take = function take() {\n if (length != 0) {\n var it = arr[popIndex];\n arr[popIndex] = null;\n length--;\n popIndex = (popIndex + 1) % limit;\n return it;\n }\n };\n\n var flush = function flush() {\n var items = [];\n\n while (length) {\n items.push(take());\n }\n\n return items;\n };\n\n return {\n isEmpty: function isEmpty() {\n return length == 0;\n },\n put: function put(it) {\n if (length < limit) {\n push(it);\n } else {\n var doubledLimit;\n\n switch (overflowAction) {\n case ON_OVERFLOW_THROW:\n throw new Error(BUFFER_OVERFLOW);\n\n case ON_OVERFLOW_SLIDE:\n arr[pushIndex] = it;\n pushIndex = (pushIndex + 1) % limit;\n popIndex = pushIndex;\n break;\n\n case ON_OVERFLOW_EXPAND:\n doubledLimit = 2 * limit;\n arr = flush();\n length = arr.length;\n pushIndex = arr.length;\n popIndex = 0;\n arr.length = doubledLimit;\n limit = doubledLimit;\n push(it);\n break;\n\n default: // DROP\n\n }\n }\n },\n take: take,\n flush: flush\n };\n}\n\nvar none = function none() {\n return zeroBuffer;\n};\n\nvar fixed = function fixed(limit) {\n return ringBuffer(limit, ON_OVERFLOW_THROW);\n};\n\nvar dropping = function dropping(limit) {\n return ringBuffer(limit, ON_OVERFLOW_DROP);\n};\n\nvar sliding = function sliding(limit) {\n return ringBuffer(limit, ON_OVERFLOW_SLIDE);\n};\n\nvar expanding = function expanding(initialSize) {\n return ringBuffer(initialSize, ON_OVERFLOW_EXPAND);\n};\n\nvar buffers =\n/*#__PURE__*/\nObject.freeze({\n none: none,\n fixed: fixed,\n dropping: dropping,\n sliding: sliding,\n expanding: expanding\n});\nvar TAKE = 'TAKE';\nvar PUT = 'PUT';\nvar ALL = 'ALL';\nvar RACE = 'RACE';\nvar CALL = 'CALL';\nvar CPS = 'CPS';\nvar FORK = 'FORK';\nvar JOIN = 'JOIN';\nvar CANCEL = 'CANCEL';\nvar SELECT = 'SELECT';\nvar ACTION_CHANNEL = 'ACTION_CHANNEL';\nvar CANCELLED = 'CANCELLED';\nvar FLUSH = 'FLUSH';\nvar GET_CONTEXT = 'GET_CONTEXT';\nvar SET_CONTEXT = 'SET_CONTEXT';\nvar effectTypes =\n/*#__PURE__*/\nObject.freeze({\n TAKE: TAKE,\n PUT: PUT,\n ALL: ALL,\n RACE: RACE,\n CALL: CALL,\n CPS: CPS,\n FORK: FORK,\n JOIN: JOIN,\n CANCEL: CANCEL,\n SELECT: SELECT,\n ACTION_CHANNEL: ACTION_CHANNEL,\n CANCELLED: CANCELLED,\n FLUSH: FLUSH,\n GET_CONTEXT: GET_CONTEXT,\n SET_CONTEXT: SET_CONTEXT\n});\nvar TEST_HINT = '\\n(HINT: if you are getting this errors in tests, consider using createMockTask from @redux-saga/testing-utils)';\n\nvar makeEffect = function makeEffect(type, payload) {\n var _ref;\n\n return _ref = {}, _ref[IO] = true, _ref.combinator = false, _ref.type = type, _ref.payload = payload, _ref;\n};\n\nvar isForkEffect = function isForkEffect(eff) {\n return eff && eff[IO] && eff.type === FORK;\n};\n\nvar detach = function detach(eff) {\n if (process.env.NODE_ENV !== 'production') {\n check(eff, isForkEffect, 'detach(eff): argument must be a fork effect');\n }\n\n return makeEffect(FORK, _extends({}, eff.payload, {\n detached: true\n }));\n};\n\nfunction take(patternOrChannel, multicastPattern) {\n if (patternOrChannel === void 0) {\n patternOrChannel = '*';\n }\n\n if (process.env.NODE_ENV !== 'production' && arguments.length) {\n check(arguments[0], notUndef, 'take(patternOrChannel): patternOrChannel is undefined');\n }\n\n if (pattern(patternOrChannel)) {\n return makeEffect(TAKE, {\n pattern: patternOrChannel\n });\n }\n\n if (multicast(patternOrChannel) && notUndef(multicastPattern) && pattern(multicastPattern)) {\n return makeEffect(TAKE, {\n channel: patternOrChannel,\n pattern: multicastPattern\n });\n }\n\n if (channel(patternOrChannel)) {\n return makeEffect(TAKE, {\n channel: patternOrChannel\n });\n }\n\n if (process.env.NODE_ENV !== 'production') {\n throw new Error(\"take(patternOrChannel): argument \" + patternOrChannel + \" is not valid channel or a valid pattern\");\n }\n}\n\nvar takeMaybe = function takeMaybe() {\n var eff = take.apply(void 0, arguments);\n eff.payload.maybe = true;\n return eff;\n};\n\nfunction put(channel$1, action) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n check(channel$1, notUndef, 'put(channel, action): argument channel is undefined');\n check(channel$1, channel, \"put(channel, action): argument \" + channel$1 + \" is not a valid channel\");\n check(action, notUndef, 'put(channel, action): argument action is undefined');\n } else {\n check(channel$1, notUndef, 'put(action): argument action is undefined');\n }\n }\n\n if (undef(action)) {\n action = channel$1; // `undefined` instead of `null` to make default parameter work\n\n channel$1 = undefined;\n }\n\n return makeEffect(PUT, {\n channel: channel$1,\n action: action\n });\n}\n\nvar putResolve = function putResolve() {\n var eff = put.apply(void 0, arguments);\n eff.payload.resolve = true;\n return eff;\n};\n\nfunction all(effects) {\n var eff = makeEffect(ALL, effects);\n eff.combinator = true;\n return eff;\n}\n\nfunction race(effects) {\n var eff = makeEffect(RACE, effects);\n eff.combinator = true;\n return eff;\n} // this match getFnCallDescriptor logic\n\n\nvar validateFnDescriptor = function validateFnDescriptor(effectName, fnDescriptor) {\n check(fnDescriptor, notUndef, effectName + \": argument fn is undefined or null\");\n\n if (func(fnDescriptor)) {\n return;\n }\n\n var context = null;\n var fn;\n\n if (array(fnDescriptor)) {\n context = fnDescriptor[0];\n fn = fnDescriptor[1];\n check(fn, notUndef, effectName + \": argument of type [context, fn] has undefined or null `fn`\");\n } else if (object(fnDescriptor)) {\n context = fnDescriptor.context;\n fn = fnDescriptor.fn;\n check(fn, notUndef, effectName + \": argument of type {context, fn} has undefined or null `fn`\");\n } else {\n check(fnDescriptor, func, effectName + \": argument fn is not function\");\n return;\n }\n\n if (context && string(fn)) {\n check(context[fn], func, effectName + \": context arguments has no such method - \\\"\" + fn + \"\\\"\");\n return;\n }\n\n check(fn, func, effectName + \": unpacked fn argument (from [context, fn] or {context, fn}) is not a function\");\n};\n\nfunction getFnCallDescriptor(fnDescriptor, args) {\n var context = null;\n var fn;\n\n if (func(fnDescriptor)) {\n fn = fnDescriptor;\n } else {\n if (array(fnDescriptor)) {\n context = fnDescriptor[0];\n fn = fnDescriptor[1];\n } else {\n context = fnDescriptor.context;\n fn = fnDescriptor.fn;\n }\n\n if (context && string(fn) && func(context[fn])) {\n fn = context[fn];\n }\n }\n\n return {\n context: context,\n fn: fn,\n args: args\n };\n}\n\nvar isNotDelayEffect = function isNotDelayEffect(fn) {\n return fn !== delay;\n};\n\nfunction call(fnDescriptor) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var arg0 = typeof args[0] === 'number' ? args[0] : 'ms';\n check(fnDescriptor, isNotDelayEffect, \"instead of writing `yield call(delay, \" + arg0 + \")` where delay is an effect from `redux-saga/effects` you should write `yield delay(\" + arg0 + \")`\");\n validateFnDescriptor('call', fnDescriptor);\n }\n\n return makeEffect(CALL, getFnCallDescriptor(fnDescriptor, args));\n}\n\nfunction apply(context, fn, args) {\n if (args === void 0) {\n args = [];\n }\n\n var fnDescriptor = [context, fn];\n\n if (process.env.NODE_ENV !== 'production') {\n validateFnDescriptor('apply', fnDescriptor);\n }\n\n return makeEffect(CALL, getFnCallDescriptor([context, fn], args));\n}\n\nfunction cps(fnDescriptor) {\n if (process.env.NODE_ENV !== 'production') {\n validateFnDescriptor('cps', fnDescriptor);\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n return makeEffect(CPS, getFnCallDescriptor(fnDescriptor, args));\n}\n\nfunction fork(fnDescriptor) {\n if (process.env.NODE_ENV !== 'production') {\n validateFnDescriptor('fork', fnDescriptor);\n }\n\n for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n\n return makeEffect(FORK, getFnCallDescriptor(fnDescriptor, args));\n}\n\nfunction spawn(fnDescriptor) {\n if (process.env.NODE_ENV !== 'production') {\n validateFnDescriptor('spawn', fnDescriptor);\n }\n\n for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n args[_key4 - 1] = arguments[_key4];\n }\n\n return detach(fork.apply(void 0, [fnDescriptor].concat(args)));\n}\n\nfunction join(taskOrTasks) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n throw new Error('join(...tasks) is not supported any more. Please use join([...tasks]) to join multiple tasks.');\n }\n\n if (array(taskOrTasks)) {\n taskOrTasks.forEach(function (t) {\n check(t, task, \"join([...tasks]): argument \" + t + \" is not a valid Task object \" + TEST_HINT);\n });\n } else {\n check(taskOrTasks, task, \"join(task): argument \" + taskOrTasks + \" is not a valid Task object \" + TEST_HINT);\n }\n }\n\n return makeEffect(JOIN, taskOrTasks);\n}\n\nfunction cancel(taskOrTasks) {\n if (taskOrTasks === void 0) {\n taskOrTasks = SELF_CANCELLATION;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n throw new Error('cancel(...tasks) is not supported any more. Please use cancel([...tasks]) to cancel multiple tasks.');\n }\n\n if (array(taskOrTasks)) {\n taskOrTasks.forEach(function (t) {\n check(t, task, \"cancel([...tasks]): argument \" + t + \" is not a valid Task object \" + TEST_HINT);\n });\n } else if (taskOrTasks !== SELF_CANCELLATION && notUndef(taskOrTasks)) {\n check(taskOrTasks, task, \"cancel(task): argument \" + taskOrTasks + \" is not a valid Task object \" + TEST_HINT);\n }\n }\n\n return makeEffect(CANCEL, taskOrTasks);\n}\n\nfunction select(selector) {\n if (selector === void 0) {\n selector = identity;\n }\n\n for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n args[_key5 - 1] = arguments[_key5];\n }\n\n if (process.env.NODE_ENV !== 'production' && arguments.length) {\n check(arguments[0], notUndef, 'select(selector, [...]): argument selector is undefined');\n check(selector, func, \"select(selector, [...]): argument \" + selector + \" is not a function\");\n }\n\n return makeEffect(SELECT, {\n selector: selector,\n args: args\n });\n}\n/**\n channel(pattern, [buffer]) => creates a proxy channel for store actions\n**/\n\n\nfunction actionChannel(pattern$1, buffer$1) {\n if (process.env.NODE_ENV !== 'production') {\n check(pattern$1, pattern, 'actionChannel(pattern,...): argument pattern is not valid');\n\n if (arguments.length > 1) {\n check(buffer$1, notUndef, 'actionChannel(pattern, buffer): argument buffer is undefined');\n check(buffer$1, buffer, \"actionChannel(pattern, buffer): argument \" + buffer$1 + \" is not a valid buffer\");\n }\n }\n\n return makeEffect(ACTION_CHANNEL, {\n pattern: pattern$1,\n buffer: buffer$1\n });\n}\n\nfunction cancelled() {\n return makeEffect(CANCELLED, {});\n}\n\nfunction flush(channel$1) {\n if (process.env.NODE_ENV !== 'production') {\n check(channel$1, channel, \"flush(channel): argument \" + channel$1 + \" is not valid channel\");\n }\n\n return makeEffect(FLUSH, channel$1);\n}\n\nfunction getContext(prop) {\n if (process.env.NODE_ENV !== 'production') {\n check(prop, string, \"getContext(prop): argument \" + prop + \" is not a string\");\n }\n\n return makeEffect(GET_CONTEXT, prop);\n}\n\nfunction setContext(props) {\n if (process.env.NODE_ENV !== 'production') {\n check(props, object, createSetContextWarning(null, props));\n }\n\n return makeEffect(SET_CONTEXT, props);\n}\n\nvar delay =\n/*#__PURE__*/\ncall.bind(null, delayP);\nexport { kTrue as a, expanding as b, check as c, none as d, once as e, remove as f, internalErr as g, TAKE as h, PUT as i, ALL as j, RACE as k, CALL as l, CPS as m, FORK as n, JOIN as o, CANCEL as p, SELECT as q, ACTION_CHANNEL as r, CANCELLED as s, FLUSH as t, GET_CONTEXT as u, SET_CONTEXT as v, getMetaInfo as w, noop as x, createAllStyleChildCallbacks as y, createEmptyArray as z, assignWithSymbols as A, makeIterator as B, shouldComplete as C, flatMap as D, getLocation as E, createSetContextWarning as F, asyncIteratorSymbol as G, shouldCancel as H, shouldTerminate as I, logError as J, wrapSagaDispatch as K, identity as L, take as M, fork as N, cancel as O, call as P, actionChannel as Q, sliding as R, delay as S, race as T, buffers as U, detach as V, effectTypes as W, takeMaybe as X, put as Y, putResolve as Z, all as _, apply as $, cps as a0, spawn as a1, join as a2, select as a3, cancelled as a4, flush as a5, getContext as a6, setContext as a7 };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _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 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#subscribe(listener) 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#subscribe(listener) for more details.');\n }\n\n isSubscribed = false;\n ensureCanMutateNextListeners();\n var index = nextListeners.indexOf(listener);\n nextListeners.splice(index, 1);\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;\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);\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 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 a single function as the first argument,\n * and get a 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 keys = Object.keys(actionCreators);\n var boundActionCreators = {};\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\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 _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/**\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 _objectSpread({}, 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 { createStore, combineReducers, bindActionCreators, applyMiddleware, compose, ActionTypes as __DO_NOT_USE__ActionTypes };","function deferred() {\n var def = {};\n def.promise = new Promise(function (resolve, reject) {\n def.resolve = resolve;\n def.reject = reject;\n });\n return def;\n}\n\nfunction arrayOfDeferred(length) {\n var arr = [];\n\n for (var i = 0; i < length; i++) {\n arr.push(deferred());\n }\n\n return arr;\n}\n\nexport default deferred;\nexport { arrayOfDeferred };","import { CHANNEL_END_TYPE, MULTICAST, MATCH, SAGA_ACTION, CANCEL, SELF_CANCELLATION, TERMINATE, TASK, TASK_CANCEL, IO } from '@redux-saga/symbols';\nexport { CANCEL, SAGA_LOCATION } from '@redux-saga/symbols';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport { string as string$1, array as array$1, stringableFunc, func, symbol as symbol$1, buffer, notUndef, promise, iterator, undef, object, channel as channel$1 } from '@redux-saga/is';\nimport { a as kTrue, b as expanding, c as check, d as none, e as once, f as remove, g as internalErr, h as TAKE, i as PUT, j as ALL, k as RACE, l as CALL, m as CPS, n as FORK, o as JOIN, p as CANCEL$1, q as SELECT, r as ACTION_CHANNEL, s as CANCELLED$1, t as FLUSH, u as GET_CONTEXT, v as SET_CONTEXT, w as getMetaInfo, x as noop, y as createAllStyleChildCallbacks, z as createEmptyArray, A as assignWithSymbols, B as makeIterator, C as shouldComplete, D as flatMap, E as getLocation, F as createSetContextWarning, G as asyncIteratorSymbol, H as shouldCancel, I as shouldTerminate, J as logError, K as wrapSagaDispatch, L as identity } from './chunk-e922c950.js';\nexport { U as buffers, V as detach } from './chunk-e922c950.js';\nimport { compose } from 'redux';\nimport deferred from '@redux-saga/deferred';\nimport '@redux-saga/delay-p';\nvar queue = [];\n/**\n Variable to hold a counting semaphore\n - Incrementing adds a lock and puts the scheduler in a `suspended` state (if it's not\n already suspended)\n - Decrementing releases a lock. Zero locks puts the scheduler in a `released` state. This\n triggers flushing the queued tasks.\n**/\n\nvar semaphore = 0;\n/**\n Executes a task 'atomically'. Tasks scheduled during this execution will be queued\n and flushed after this task has finished (assuming the scheduler endup in a released\n state).\n**/\n\nfunction exec(task) {\n try {\n suspend();\n task();\n } finally {\n release();\n }\n}\n/**\n Executes or queues a task depending on the state of the scheduler (`suspended` or `released`)\n**/\n\n\nfunction asap(task) {\n queue.push(task);\n\n if (!semaphore) {\n suspend();\n flush();\n }\n}\n/**\n * Puts the scheduler in a `suspended` state and executes a task immediately.\n */\n\n\nfunction immediately(task) {\n try {\n suspend();\n return task();\n } finally {\n flush();\n }\n}\n/**\n Puts the scheduler in a `suspended` state. Scheduled tasks will be queued until the\n scheduler is released.\n**/\n\n\nfunction suspend() {\n semaphore++;\n}\n/**\n Puts the scheduler in a `released` state.\n**/\n\n\nfunction release() {\n semaphore--;\n}\n/**\n Releases the current lock. Executes all queued tasks if the scheduler is in the released state.\n**/\n\n\nfunction flush() {\n release();\n var task;\n\n while (!semaphore && (task = queue.shift()) !== undefined) {\n exec(task);\n }\n}\n\nvar array = function array(patterns) {\n return function (input) {\n return patterns.some(function (p) {\n return matcher(p)(input);\n });\n };\n};\n\nvar predicate = function predicate(_predicate) {\n return function (input) {\n return _predicate(input);\n };\n};\n\nvar string = function string(pattern) {\n return function (input) {\n return input.type === String(pattern);\n };\n};\n\nvar symbol = function symbol(pattern) {\n return function (input) {\n return input.type === pattern;\n };\n};\n\nvar wildcard = function wildcard() {\n return kTrue;\n};\n\nfunction matcher(pattern) {\n // prettier-ignore\n var matcherCreator = pattern === '*' ? wildcard : string$1(pattern) ? string : array$1(pattern) ? array : stringableFunc(pattern) ? string : func(pattern) ? predicate : symbol$1(pattern) ? symbol : null;\n\n if (matcherCreator === null) {\n throw new Error(\"invalid pattern: \" + pattern);\n }\n\n return matcherCreator(pattern);\n}\n\nvar END = {\n type: CHANNEL_END_TYPE\n};\n\nvar isEnd = function isEnd(a) {\n return a && a.type === CHANNEL_END_TYPE;\n};\n\nvar CLOSED_CHANNEL_WITH_TAKERS = 'Cannot have a closed channel with pending takers';\nvar INVALID_BUFFER = 'invalid buffer passed to channel factory function';\nvar UNDEFINED_INPUT_ERROR = \"Saga or channel was provided with an undefined action\\nHints:\\n - check that your Action Creator returns a non-undefined value\\n - if the Saga was started using runSaga, check that your subscribe source provides the action to its listeners\";\n\nfunction channel(buffer$1) {\n if (buffer$1 === void 0) {\n buffer$1 = expanding();\n }\n\n var closed = false;\n var takers = [];\n\n if (process.env.NODE_ENV !== 'production') {\n check(buffer$1, buffer, INVALID_BUFFER);\n }\n\n function checkForbiddenStates() {\n if (closed && takers.length) {\n throw internalErr(CLOSED_CHANNEL_WITH_TAKERS);\n }\n\n if (takers.length && !buffer$1.isEmpty()) {\n throw internalErr('Cannot have pending takers with non empty buffer');\n }\n }\n\n function put(input) {\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n check(input, notUndef, UNDEFINED_INPUT_ERROR);\n }\n\n if (closed) {\n return;\n }\n\n if (takers.length === 0) {\n return buffer$1.put(input);\n }\n\n var cb = takers.shift();\n cb(input);\n }\n\n function take(cb) {\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n check(cb, func, \"channel.take's callback must be a function\");\n }\n\n if (closed && buffer$1.isEmpty()) {\n cb(END);\n } else if (!buffer$1.isEmpty()) {\n cb(buffer$1.take());\n } else {\n takers.push(cb);\n\n cb.cancel = function () {\n remove(takers, cb);\n };\n }\n }\n\n function flush(cb) {\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n check(cb, func, \"channel.flush' callback must be a function\");\n }\n\n if (closed && buffer$1.isEmpty()) {\n cb(END);\n return;\n }\n\n cb(buffer$1.flush());\n }\n\n function close() {\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n }\n\n if (closed) {\n return;\n }\n\n closed = true;\n var arr = takers;\n takers = [];\n\n for (var i = 0, len = arr.length; i < len; i++) {\n var taker = arr[i];\n taker(END);\n }\n }\n\n return {\n take: take,\n put: put,\n flush: flush,\n close: close\n };\n}\n\nfunction eventChannel(subscribe, buffer) {\n if (buffer === void 0) {\n buffer = none();\n }\n\n var closed = false;\n var unsubscribe;\n var chan = channel(buffer);\n\n var close = function close() {\n if (closed) {\n return;\n }\n\n closed = true;\n\n if (func(unsubscribe)) {\n unsubscribe();\n }\n\n chan.close();\n };\n\n unsubscribe = subscribe(function (input) {\n if (isEnd(input)) {\n close();\n return;\n }\n\n chan.put(input);\n });\n\n if (process.env.NODE_ENV !== 'production') {\n check(unsubscribe, func, 'in eventChannel: subscribe should return a function to unsubscribe');\n }\n\n unsubscribe = once(unsubscribe);\n\n if (closed) {\n unsubscribe();\n }\n\n return {\n take: chan.take,\n flush: chan.flush,\n close: close\n };\n}\n\nfunction multicastChannel() {\n var _ref;\n\n var closed = false;\n var currentTakers = [];\n var nextTakers = currentTakers;\n\n function checkForbiddenStates() {\n if (closed && nextTakers.length) {\n throw internalErr(CLOSED_CHANNEL_WITH_TAKERS);\n }\n }\n\n var ensureCanMutateNextTakers = function ensureCanMutateNextTakers() {\n if (nextTakers !== currentTakers) {\n return;\n }\n\n nextTakers = currentTakers.slice();\n };\n\n var close = function close() {\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n }\n\n closed = true;\n var takers = currentTakers = nextTakers;\n nextTakers = [];\n takers.forEach(function (taker) {\n taker(END);\n });\n };\n\n return _ref = {}, _ref[MULTICAST] = true, _ref.put = function put(input) {\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n check(input, notUndef, UNDEFINED_INPUT_ERROR);\n }\n\n if (closed) {\n return;\n }\n\n if (isEnd(input)) {\n close();\n return;\n }\n\n var takers = currentTakers = nextTakers;\n\n for (var i = 0, len = takers.length; i < len; i++) {\n var taker = takers[i];\n\n if (taker[MATCH](input)) {\n taker.cancel();\n taker(input);\n }\n }\n }, _ref.take = function take(cb, matcher) {\n if (matcher === void 0) {\n matcher = wildcard;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n checkForbiddenStates();\n }\n\n if (closed) {\n cb(END);\n return;\n }\n\n cb[MATCH] = matcher;\n ensureCanMutateNextTakers();\n nextTakers.push(cb);\n cb.cancel = once(function () {\n ensureCanMutateNextTakers();\n remove(nextTakers, cb);\n });\n }, _ref.close = close, _ref;\n}\n\nfunction stdChannel() {\n var chan = multicastChannel();\n var put = chan.put;\n\n chan.put = function (input) {\n if (input[SAGA_ACTION]) {\n put(input);\n return;\n }\n\n asap(function () {\n put(input);\n });\n };\n\n return chan;\n}\n\nvar RUNNING = 0;\nvar CANCELLED = 1;\nvar ABORTED = 2;\nvar DONE = 3;\n\nfunction resolvePromise(promise, cb) {\n var cancelPromise = promise[CANCEL];\n\n if (func(cancelPromise)) {\n cb.cancel = cancelPromise;\n }\n\n promise.then(cb, function (error) {\n cb(error, true);\n });\n}\n\nvar current = 0;\n\nvar nextEffectId = function nextEffectId() {\n return ++current;\n};\n\nvar _effectRunnerMap;\n\nfunction getIteratorMetaInfo(iterator, fn) {\n if (iterator.isSagaIterator) {\n return {\n name: iterator.meta.name\n };\n }\n\n return getMetaInfo(fn);\n}\n\nfunction createTaskIterator(_ref) {\n var context = _ref.context,\n fn = _ref.fn,\n args = _ref.args; // catch synchronous failures; see #152 and #441\n\n try {\n var result = fn.apply(context, args); // i.e. a generator function returns an iterator\n\n if (iterator(result)) {\n return result;\n }\n\n var resolved = false;\n\n var next = function next(arg) {\n if (!resolved) {\n resolved = true; // Only promises returned from fork will be interpreted. See #1573\n\n return {\n value: result,\n done: !promise(result)\n };\n } else {\n return {\n value: arg,\n done: true\n };\n }\n };\n\n return makeIterator(next);\n } catch (err) {\n // do not bubble up synchronous failures for detached forks\n // instead create a failed task. See #152 and #441\n return makeIterator(function () {\n throw err;\n });\n }\n}\n\nfunction runPutEffect(env, _ref2, cb) {\n var channel = _ref2.channel,\n action = _ref2.action,\n resolve = _ref2.resolve;\n /**\n Schedule the put in case another saga is holding a lock.\n The put will be executed atomically. ie nested puts will execute after\n this put has terminated.\n **/\n\n asap(function () {\n var result;\n\n try {\n result = (channel ? channel.put : env.dispatch)(action);\n } catch (error) {\n cb(error, true);\n return;\n }\n\n if (resolve && promise(result)) {\n resolvePromise(result, cb);\n } else {\n cb(result);\n }\n }); // Put effects are non cancellables\n}\n\nfunction runTakeEffect(env, _ref3, cb) {\n var _ref3$channel = _ref3.channel,\n channel = _ref3$channel === void 0 ? env.channel : _ref3$channel,\n pattern = _ref3.pattern,\n maybe = _ref3.maybe;\n\n var takeCb = function takeCb(input) {\n if (input instanceof Error) {\n cb(input, true);\n return;\n }\n\n if (isEnd(input) && !maybe) {\n cb(TERMINATE);\n return;\n }\n\n cb(input);\n };\n\n try {\n channel.take(takeCb, notUndef(pattern) ? matcher(pattern) : null);\n } catch (err) {\n cb(err, true);\n return;\n }\n\n cb.cancel = takeCb.cancel;\n}\n\nfunction runCallEffect(env, _ref4, cb, _ref5) {\n var context = _ref4.context,\n fn = _ref4.fn,\n args = _ref4.args;\n var task = _ref5.task; // catch synchronous failures; see #152\n\n try {\n var result = fn.apply(context, args);\n\n if (promise(result)) {\n resolvePromise(result, cb);\n return;\n }\n\n if (iterator(result)) {\n // resolve iterator\n proc(env, result, task.context, current, getMetaInfo(fn),\n /* isRoot */\n false, cb);\n return;\n }\n\n cb(result);\n } catch (error) {\n cb(error, true);\n }\n}\n\nfunction runCPSEffect(env, _ref6, cb) {\n var context = _ref6.context,\n fn = _ref6.fn,\n args = _ref6.args; // CPS (ie node style functions) can define their own cancellation logic\n // by setting cancel field on the cb\n // catch synchronous failures; see #152\n\n try {\n var cpsCb = function cpsCb(err, res) {\n if (undef(err)) {\n cb(res);\n } else {\n cb(err, true);\n }\n };\n\n fn.apply(context, args.concat(cpsCb));\n\n if (cpsCb.cancel) {\n cb.cancel = cpsCb.cancel;\n }\n } catch (error) {\n cb(error, true);\n }\n}\n\nfunction runForkEffect(env, _ref7, cb, _ref8) {\n var context = _ref7.context,\n fn = _ref7.fn,\n args = _ref7.args,\n detached = _ref7.detached;\n var parent = _ref8.task;\n var taskIterator = createTaskIterator({\n context: context,\n fn: fn,\n args: args\n });\n var meta = getIteratorMetaInfo(taskIterator, fn);\n immediately(function () {\n var child = proc(env, taskIterator, parent.context, current, meta, detached, noop);\n\n if (detached) {\n cb(child);\n } else {\n if (child.isRunning()) {\n parent.queue.addTask(child);\n cb(child);\n } else if (child.isAborted()) {\n parent.queue.abort(child.error());\n } else {\n cb(child);\n }\n }\n }); // Fork effects are non cancellables\n}\n\nfunction runJoinEffect(env, taskOrTasks, cb, _ref9) {\n var task = _ref9.task;\n\n var joinSingleTask = function joinSingleTask(taskToJoin, cb) {\n if (taskToJoin.isRunning()) {\n var joiner = {\n task: task,\n cb: cb\n };\n\n cb.cancel = function () {\n if (taskToJoin.isRunning()) remove(taskToJoin.joiners, joiner);\n };\n\n taskToJoin.joiners.push(joiner);\n } else {\n if (taskToJoin.isAborted()) {\n cb(taskToJoin.error(), true);\n } else {\n cb(taskToJoin.result());\n }\n }\n };\n\n if (array$1(taskOrTasks)) {\n if (taskOrTasks.length === 0) {\n cb([]);\n return;\n }\n\n var childCallbacks = createAllStyleChildCallbacks(taskOrTasks, cb);\n taskOrTasks.forEach(function (t, i) {\n joinSingleTask(t, childCallbacks[i]);\n });\n } else {\n joinSingleTask(taskOrTasks, cb);\n }\n}\n\nfunction cancelSingleTask(taskToCancel) {\n if (taskToCancel.isRunning()) {\n taskToCancel.cancel();\n }\n}\n\nfunction runCancelEffect(env, taskOrTasks, cb, _ref10) {\n var task = _ref10.task;\n\n if (taskOrTasks === SELF_CANCELLATION) {\n cancelSingleTask(task);\n } else if (array$1(taskOrTasks)) {\n taskOrTasks.forEach(cancelSingleTask);\n } else {\n cancelSingleTask(taskOrTasks);\n }\n\n cb(); // cancel effects are non cancellables\n}\n\nfunction runAllEffect(env, effects, cb, _ref11) {\n var digestEffect = _ref11.digestEffect;\n var effectId = current;\n var keys = Object.keys(effects);\n\n if (keys.length === 0) {\n cb(array$1(effects) ? [] : {});\n return;\n }\n\n var childCallbacks = createAllStyleChildCallbacks(effects, cb);\n keys.forEach(function (key) {\n digestEffect(effects[key], effectId, childCallbacks[key], key);\n });\n}\n\nfunction runRaceEffect(env, effects, cb, _ref12) {\n var digestEffect = _ref12.digestEffect;\n var effectId = current;\n var keys = Object.keys(effects);\n var response = array$1(effects) ? createEmptyArray(keys.length) : {};\n var childCbs = {};\n var completed = false;\n keys.forEach(function (key) {\n var chCbAtKey = function chCbAtKey(res, isErr) {\n if (completed) {\n return;\n }\n\n if (isErr || shouldComplete(res)) {\n // Race Auto cancellation\n cb.cancel();\n cb(res, isErr);\n } else {\n cb.cancel();\n completed = true;\n response[key] = res;\n cb(response);\n }\n };\n\n chCbAtKey.cancel = noop;\n childCbs[key] = chCbAtKey;\n });\n\n cb.cancel = function () {\n // prevents unnecessary cancellation\n if (!completed) {\n completed = true;\n keys.forEach(function (key) {\n return childCbs[key].cancel();\n });\n }\n };\n\n keys.forEach(function (key) {\n if (completed) {\n return;\n }\n\n digestEffect(effects[key], effectId, childCbs[key], key);\n });\n}\n\nfunction runSelectEffect(env, _ref13, cb) {\n var selector = _ref13.selector,\n args = _ref13.args;\n\n try {\n var state = selector.apply(void 0, [env.getState()].concat(args));\n cb(state);\n } catch (error) {\n cb(error, true);\n }\n}\n\nfunction runChannelEffect(env, _ref14, cb) {\n var pattern = _ref14.pattern,\n buffer = _ref14.buffer;\n var chan = channel(buffer);\n var match = matcher(pattern);\n\n var taker = function taker(action) {\n if (!isEnd(action)) {\n env.channel.take(taker, match);\n }\n\n chan.put(action);\n };\n\n var close = chan.close;\n\n chan.close = function () {\n taker.cancel();\n close();\n };\n\n env.channel.take(taker, match);\n cb(chan);\n}\n\nfunction runCancelledEffect(env, data, cb, _ref15) {\n var task = _ref15.task;\n cb(task.isCancelled());\n}\n\nfunction runFlushEffect(env, channel, cb) {\n channel.flush(cb);\n}\n\nfunction runGetContextEffect(env, prop, cb, _ref16) {\n var task = _ref16.task;\n cb(task.context[prop]);\n}\n\nfunction runSetContextEffect(env, props, cb, _ref17) {\n var task = _ref17.task;\n assignWithSymbols(task.context, props);\n cb();\n}\n\nvar effectRunnerMap = (_effectRunnerMap = {}, _effectRunnerMap[TAKE] = runTakeEffect, _effectRunnerMap[PUT] = runPutEffect, _effectRunnerMap[ALL] = runAllEffect, _effectRunnerMap[RACE] = runRaceEffect, _effectRunnerMap[CALL] = runCallEffect, _effectRunnerMap[CPS] = runCPSEffect, _effectRunnerMap[FORK] = runForkEffect, _effectRunnerMap[JOIN] = runJoinEffect, _effectRunnerMap[CANCEL$1] = runCancelEffect, _effectRunnerMap[SELECT] = runSelectEffect, _effectRunnerMap[ACTION_CHANNEL] = runChannelEffect, _effectRunnerMap[CANCELLED$1] = runCancelledEffect, _effectRunnerMap[FLUSH] = runFlushEffect, _effectRunnerMap[GET_CONTEXT] = runGetContextEffect, _effectRunnerMap[SET_CONTEXT] = runSetContextEffect, _effectRunnerMap);\n/**\n Used to track a parent task and its forks\n In the fork model, forked tasks are attached by default to their parent\n We model this using the concept of Parent task && main Task\n main task is the main flow of the current Generator, the parent tasks is the\n aggregation of the main tasks + all its forked tasks.\n Thus the whole model represents an execution tree with multiple branches (vs the\n linear execution tree in sequential (non parallel) programming)\n\n A parent tasks has the following semantics\n - It completes if all its forks either complete or all cancelled\n - If it's cancelled, all forks are cancelled as well\n - It aborts if any uncaught error bubbles up from forks\n - If it completes, the return value is the one returned by the main task\n **/\n\nfunction forkQueue(mainTask, onAbort, cont) {\n var tasks = [];\n var result;\n var completed = false;\n addTask(mainTask);\n\n var getTasks = function getTasks() {\n return tasks;\n };\n\n function abort(err) {\n onAbort();\n cancelAll();\n cont(err, true);\n }\n\n function addTask(task) {\n tasks.push(task);\n\n task.cont = function (res, isErr) {\n if (completed) {\n return;\n }\n\n remove(tasks, task);\n task.cont = noop;\n\n if (isErr) {\n abort(res);\n } else {\n if (task === mainTask) {\n result = res;\n }\n\n if (!tasks.length) {\n completed = true;\n cont(result);\n }\n }\n };\n }\n\n function cancelAll() {\n if (completed) {\n return;\n }\n\n completed = true;\n tasks.forEach(function (t) {\n t.cont = noop;\n t.cancel();\n });\n tasks = [];\n }\n\n return {\n addTask: addTask,\n cancelAll: cancelAll,\n abort: abort,\n getTasks: getTasks\n };\n} // there can be only a single saga error created at any given moment\n\n\nfunction formatLocation(fileName, lineNumber) {\n return fileName + \"?\" + lineNumber;\n}\n\nfunction effectLocationAsString(effect) {\n var location = getLocation(effect);\n\n if (location) {\n var code = location.code,\n fileName = location.fileName,\n lineNumber = location.lineNumber;\n var source = code + \" \" + formatLocation(fileName, lineNumber);\n return source;\n }\n\n return '';\n}\n\nfunction sagaLocationAsString(sagaMeta) {\n var name = sagaMeta.name,\n location = sagaMeta.location;\n\n if (location) {\n return name + \" \" + formatLocation(location.fileName, location.lineNumber);\n }\n\n return name;\n}\n\nfunction cancelledTasksAsString(sagaStack) {\n var cancelledTasks = flatMap(function (i) {\n return i.cancelledTasks;\n }, sagaStack);\n\n if (!cancelledTasks.length) {\n return '';\n }\n\n return ['Tasks cancelled due to error:'].concat(cancelledTasks).join('\\n');\n}\n\nvar crashedEffect = null;\nvar sagaStack = [];\n\nvar addSagaFrame = function addSagaFrame(frame) {\n frame.crashedEffect = crashedEffect;\n sagaStack.push(frame);\n};\n\nvar clear = function clear() {\n crashedEffect = null;\n sagaStack.length = 0;\n}; // this sets crashed effect for the soon-to-be-reported saga frame\n// this slightly streatches the singleton nature of this module into wrong direction\n// as it's even less obvious what's the data flow here, but it is what it is for now\n\n\nvar setCrashedEffect = function setCrashedEffect(effect) {\n crashedEffect = effect;\n};\n/**\n @returns {string}\n\n @example\n The above error occurred in task errorInPutSaga {pathToFile}\n when executing effect put({type: 'REDUCER_ACTION_ERROR_IN_PUT'}) {pathToFile}\n created by fetchSaga {pathToFile}\n created by rootSaga {pathToFile}\n*/\n\n\nvar toString = function toString() {\n var firstSaga = sagaStack[0],\n otherSagas = sagaStack.slice(1);\n var crashedEffectLocation = firstSaga.crashedEffect ? effectLocationAsString(firstSaga.crashedEffect) : null;\n var errorMessage = \"The above error occurred in task \" + sagaLocationAsString(firstSaga.meta) + (crashedEffectLocation ? \" \\n when executing effect \" + crashedEffectLocation : '');\n return [errorMessage].concat(otherSagas.map(function (s) {\n return \" created by \" + sagaLocationAsString(s.meta);\n }), [cancelledTasksAsString(sagaStack)]).join('\\n');\n};\n\nfunction newTask(env, mainTask, parentContext, parentEffectId, meta, isRoot, cont) {\n var _task;\n\n var status = RUNNING;\n var taskResult;\n var taskError;\n var deferredEnd = null;\n var cancelledDueToErrorTasks = [];\n var context = Object.create(parentContext);\n var queue = forkQueue(mainTask, function onAbort() {\n cancelledDueToErrorTasks.push.apply(cancelledDueToErrorTasks, queue.getTasks().map(function (t) {\n return t.meta.name;\n }));\n }, end);\n /**\n This may be called by a parent generator to trigger/propagate cancellation\n cancel all pending tasks (including the main task), then end the current task.\n Cancellation propagates down to the whole execution tree held by this Parent task\n It's also propagated to all joiners of this task and their execution tree/joiners\n Cancellation is noop for terminated/Cancelled tasks tasks\n **/\n\n function cancel() {\n if (status === RUNNING) {\n // Setting status to CANCELLED does not necessarily mean that the task/iterators are stopped\n // effects in the iterator's finally block will still be executed\n status = CANCELLED;\n queue.cancelAll(); // Ending with a TASK_CANCEL will propagate the Cancellation to all joiners\n\n end(TASK_CANCEL, false);\n }\n }\n\n function end(result, isErr) {\n if (!isErr) {\n // The status here may be RUNNING or CANCELLED\n // If the status is CANCELLED, then we do not need to change it here\n if (result === TASK_CANCEL) {\n status = CANCELLED;\n } else if (status !== CANCELLED) {\n status = DONE;\n }\n\n taskResult = result;\n deferredEnd && deferredEnd.resolve(result);\n } else {\n status = ABORTED;\n addSagaFrame({\n meta: meta,\n cancelledTasks: cancelledDueToErrorTasks\n });\n\n if (task.isRoot) {\n var sagaStack = toString(); // we've dumped the saga stack to string and are passing it to user's code\n // we know that it won't be needed anymore and we need to clear it\n\n clear();\n env.onError(result, {\n sagaStack: sagaStack\n });\n }\n\n taskError = result;\n deferredEnd && deferredEnd.reject(result);\n }\n\n task.cont(result, isErr);\n task.joiners.forEach(function (joiner) {\n joiner.cb(result, isErr);\n });\n task.joiners = null;\n }\n\n function setContext(props) {\n if (process.env.NODE_ENV !== 'production') {\n check(props, object, createSetContextWarning('task', props));\n }\n\n assignWithSymbols(context, props);\n }\n\n function toPromise() {\n if (deferredEnd) {\n return deferredEnd.promise;\n }\n\n deferredEnd = deferred();\n\n if (status === ABORTED) {\n deferredEnd.reject(taskError);\n } else if (status !== RUNNING) {\n deferredEnd.resolve(taskResult);\n }\n\n return deferredEnd.promise;\n }\n\n var task = (_task = {}, _task[TASK] = true, _task.id = parentEffectId, _task.meta = meta, _task.isRoot = isRoot, _task.context = context, _task.joiners = [], _task.queue = queue, _task.cancel = cancel, _task.cont = cont, _task.end = end, _task.setContext = setContext, _task.toPromise = toPromise, _task.isRunning = function isRunning() {\n return status === RUNNING;\n }, _task.isCancelled = function isCancelled() {\n return status === CANCELLED || status === RUNNING && mainTask.status === CANCELLED;\n }, _task.isAborted = function isAborted() {\n return status === ABORTED;\n }, _task.result = function result() {\n return taskResult;\n }, _task.error = function error() {\n return taskError;\n }, _task);\n return task;\n}\n\nfunction proc(env, iterator$1, parentContext, parentEffectId, meta, isRoot, cont) {\n if (process.env.NODE_ENV !== 'production' && iterator$1[asyncIteratorSymbol]) {\n throw new Error(\"redux-saga doesn't support async generators, please use only regular ones\");\n }\n\n var finalRunEffect = env.finalizeRunEffect(runEffect);\n /**\n Tracks the current effect cancellation\n Each time the generator progresses. calling runEffect will set a new value\n on it. It allows propagating cancellation to child effects\n **/\n\n next.cancel = noop;\n /** Creates a main task to track the main flow */\n\n var mainTask = {\n meta: meta,\n cancel: cancelMain,\n status: RUNNING\n /**\n Creates a new task descriptor for this generator.\n A task is the aggregation of it's mainTask and all it's forked tasks.\n **/\n\n };\n var task = newTask(env, mainTask, parentContext, parentEffectId, meta, isRoot, cont);\n var executingContext = {\n task: task,\n digestEffect: digestEffect\n /**\n cancellation of the main task. We'll simply resume the Generator with a TASK_CANCEL\n **/\n\n };\n\n function cancelMain() {\n if (mainTask.status === RUNNING) {\n mainTask.status = CANCELLED;\n next(TASK_CANCEL);\n }\n }\n /**\n attaches cancellation logic to this task's continuation\n this will permit cancellation to propagate down the call chain\n **/\n\n\n cont.cancel = task.cancel; // kicks up the generator\n\n next(); // then return the task descriptor to the caller\n\n return task;\n /**\n * This is the generator driver\n * It's a recursive async/continuation function which calls itself\n * until the generator terminates or throws\n * @param {internal commands(TASK_CANCEL | TERMINATE) | any} arg - value, generator will be resumed with.\n * @param {boolean} isErr - the flag shows if effect finished with an error\n *\n * receives either (command | effect result, false) or (any thrown thing, true)\n */\n\n function next(arg, isErr) {\n try {\n var result;\n\n if (isErr) {\n result = iterator$1[\"throw\"](arg); // user handled the error, we can clear bookkept values\n\n clear();\n } else if (shouldCancel(arg)) {\n /**\n getting TASK_CANCEL automatically cancels the main task\n We can get this value here\n - By cancelling the parent task manually\n - By joining a Cancelled task\n **/\n mainTask.status = CANCELLED;\n /**\n Cancels the current effect; this will propagate the cancellation down to any called tasks\n **/\n\n next.cancel();\n /**\n If this Generator has a `return` method then invokes it\n This will jump to the finally block\n **/\n\n result = func(iterator$1[\"return\"]) ? iterator$1[\"return\"](TASK_CANCEL) : {\n done: true,\n value: TASK_CANCEL\n };\n } else if (shouldTerminate(arg)) {\n // We get TERMINATE flag, i.e. by taking from a channel that ended using `take` (and not `takem` used to trap End of channels)\n result = func(iterator$1[\"return\"]) ? iterator$1[\"return\"]() : {\n done: true\n };\n } else {\n result = iterator$1.next(arg);\n }\n\n if (!result.done) {\n digestEffect(result.value, parentEffectId, next);\n } else {\n /**\n This Generator has ended, terminate the main task and notify the fork queue\n **/\n if (mainTask.status !== CANCELLED) {\n mainTask.status = DONE;\n }\n\n mainTask.cont(result.value);\n }\n } catch (error) {\n if (mainTask.status === CANCELLED) {\n throw error;\n }\n\n mainTask.status = ABORTED;\n mainTask.cont(error, true);\n }\n }\n\n function runEffect(effect, effectId, currCb) {\n /**\n each effect runner must attach its own logic of cancellation to the provided callback\n it allows this generator to propagate cancellation downward.\n ATTENTION! effect runners must setup the cancel logic by setting cb.cancel = [cancelMethod]\n And the setup must occur before calling the callback\n This is a sort of inversion of control: called async functions are responsible\n of completing the flow by calling the provided continuation; while caller functions\n are responsible for aborting the current flow by calling the attached cancel function\n Library users can attach their own cancellation logic to promises by defining a\n promise[CANCEL] method in their returned promises\n ATTENTION! calling cancel must have no effect on an already completed or cancelled effect\n **/\n if (promise(effect)) {\n resolvePromise(effect, currCb);\n } else if (iterator(effect)) {\n // resolve iterator\n proc(env, effect, task.context, effectId, meta,\n /* isRoot */\n false, currCb);\n } else if (effect && effect[IO]) {\n var effectRunner = effectRunnerMap[effect.type];\n effectRunner(env, effect.payload, currCb, executingContext);\n } else {\n // anything else returned as is\n currCb(effect);\n }\n }\n\n function digestEffect(effect, parentEffectId, cb, label) {\n if (label === void 0) {\n label = '';\n }\n\n var effectId = nextEffectId();\n env.sagaMonitor && env.sagaMonitor.effectTriggered({\n effectId: effectId,\n parentEffectId: parentEffectId,\n label: label,\n effect: effect\n });\n /**\n completion callback and cancel callback are mutually exclusive\n We can't cancel an already completed effect\n And We can't complete an already cancelled effectId\n **/\n\n var effectSettled; // Completion callback passed to the appropriate effect runner\n\n function currCb(res, isErr) {\n if (effectSettled) {\n return;\n }\n\n effectSettled = true;\n cb.cancel = noop; // defensive measure\n\n if (env.sagaMonitor) {\n if (isErr) {\n env.sagaMonitor.effectRejected(effectId, res);\n } else {\n env.sagaMonitor.effectResolved(effectId, res);\n }\n }\n\n if (isErr) {\n setCrashedEffect(effect);\n }\n\n cb(res, isErr);\n } // tracks down the current cancel\n\n\n currCb.cancel = noop; // setup cancellation logic on the parent cb\n\n cb.cancel = function () {\n // prevents cancelling an already completed effect\n if (effectSettled) {\n return;\n }\n\n effectSettled = true;\n currCb.cancel(); // propagates cancel downward\n\n currCb.cancel = noop; // defensive measure\n\n env.sagaMonitor && env.sagaMonitor.effectCancelled(effectId);\n };\n\n finalRunEffect(effect, effectId, currCb);\n }\n}\n\nvar RUN_SAGA_SIGNATURE = 'runSaga(options, saga, ...args)';\nvar NON_GENERATOR_ERR = RUN_SAGA_SIGNATURE + \": saga argument must be a Generator function!\";\n\nfunction runSaga(_ref, saga) {\n var _ref$channel = _ref.channel,\n channel = _ref$channel === void 0 ? stdChannel() : _ref$channel,\n dispatch = _ref.dispatch,\n getState = _ref.getState,\n _ref$context = _ref.context,\n context = _ref$context === void 0 ? {} : _ref$context,\n sagaMonitor = _ref.sagaMonitor,\n effectMiddlewares = _ref.effectMiddlewares,\n _ref$onError = _ref.onError,\n onError = _ref$onError === void 0 ? logError : _ref$onError;\n\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n check(saga, func, NON_GENERATOR_ERR);\n }\n\n var iterator$1 = saga.apply(void 0, args);\n\n if (process.env.NODE_ENV !== 'production') {\n check(iterator$1, iterator, NON_GENERATOR_ERR);\n }\n\n var effectId = nextEffectId();\n\n if (sagaMonitor) {\n // monitors are expected to have a certain interface, let's fill-in any missing ones\n sagaMonitor.rootSagaStarted = sagaMonitor.rootSagaStarted || noop;\n sagaMonitor.effectTriggered = sagaMonitor.effectTriggered || noop;\n sagaMonitor.effectResolved = sagaMonitor.effectResolved || noop;\n sagaMonitor.effectRejected = sagaMonitor.effectRejected || noop;\n sagaMonitor.effectCancelled = sagaMonitor.effectCancelled || noop;\n sagaMonitor.actionDispatched = sagaMonitor.actionDispatched || noop;\n sagaMonitor.rootSagaStarted({\n effectId: effectId,\n saga: saga,\n args: args\n });\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (notUndef(dispatch)) {\n check(dispatch, func, 'dispatch must be a function');\n }\n\n if (notUndef(getState)) {\n check(getState, func, 'getState must be a function');\n }\n\n if (notUndef(effectMiddlewares)) {\n var MIDDLEWARE_TYPE_ERROR = 'effectMiddlewares must be an array of functions';\n check(effectMiddlewares, array$1, MIDDLEWARE_TYPE_ERROR);\n effectMiddlewares.forEach(function (effectMiddleware) {\n return check(effectMiddleware, func, MIDDLEWARE_TYPE_ERROR);\n });\n }\n\n check(onError, func, 'onError passed to the redux-saga is not a function!');\n }\n\n var finalizeRunEffect;\n\n if (effectMiddlewares) {\n var middleware = compose.apply(void 0, effectMiddlewares);\n\n finalizeRunEffect = function finalizeRunEffect(runEffect) {\n return function (effect, effectId, currCb) {\n var plainRunEffect = function plainRunEffect(eff) {\n return runEffect(eff, effectId, currCb);\n };\n\n return middleware(plainRunEffect)(effect);\n };\n };\n } else {\n finalizeRunEffect = identity;\n }\n\n var env = {\n channel: channel,\n dispatch: wrapSagaDispatch(dispatch),\n getState: getState,\n sagaMonitor: sagaMonitor,\n onError: onError,\n finalizeRunEffect: finalizeRunEffect\n };\n return immediately(function () {\n var task = proc(env, iterator$1, context, effectId, getMetaInfo(saga),\n /* isRoot */\n true, noop);\n\n if (sagaMonitor) {\n sagaMonitor.effectResolved(effectId, task);\n }\n\n return task;\n });\n}\n\nfunction sagaMiddlewareFactory(_ref) {\n if (_ref === void 0) {\n _ref = {};\n }\n\n var _ref2 = _ref,\n _ref2$context = _ref2.context,\n context = _ref2$context === void 0 ? {} : _ref2$context,\n _ref2$channel = _ref2.channel,\n channel = _ref2$channel === void 0 ? stdChannel() : _ref2$channel,\n sagaMonitor = _ref2.sagaMonitor,\n options = _objectWithoutPropertiesLoose(_ref2, [\"context\", \"channel\", \"sagaMonitor\"]);\n\n var boundRunSaga;\n\n if (process.env.NODE_ENV !== 'production') {\n check(channel, channel$1, 'options.channel passed to the Saga middleware is not a channel');\n }\n\n function sagaMiddleware(_ref3) {\n var getState = _ref3.getState,\n dispatch = _ref3.dispatch;\n boundRunSaga = runSaga.bind(null, _extends({}, options, {\n context: context,\n channel: channel,\n dispatch: dispatch,\n getState: getState,\n sagaMonitor: sagaMonitor\n }));\n return function (next) {\n return function (action) {\n if (sagaMonitor && sagaMonitor.actionDispatched) {\n sagaMonitor.actionDispatched(action);\n }\n\n var result = next(action); // hit reducers\n\n channel.put(action);\n return result;\n };\n };\n }\n\n sagaMiddleware.run = function () {\n if (process.env.NODE_ENV !== 'production' && !boundRunSaga) {\n throw new Error('Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware');\n }\n\n return boundRunSaga.apply(void 0, arguments);\n };\n\n sagaMiddleware.setContext = function (props) {\n if (process.env.NODE_ENV !== 'production') {\n check(props, object, createSetContextWarning('sagaMiddleware', props));\n }\n\n assignWithSymbols(context, props);\n };\n\n return sagaMiddleware;\n}\n\nexport default sagaMiddlewareFactory;\nexport { runSaga, END, isEnd, eventChannel, channel, multicastChannel, stdChannel };","/**\n * Forked & updated code of package `vuex-redux-saga`\n */import{runSaga,stdChannel}from'redux-saga';var channel=stdChannel();var isFunc=function isFunc(f){return typeof f==='function';};var noop=function noop(){return undefined;};export default(function(){var options=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var sagaMonitor=options.sagaMonitor;if(sagaMonitor){sagaMonitor.effectTriggered=sagaMonitor.effectTriggered||noop;sagaMonitor.effectResolved=sagaMonitor.effectResolved||noop;sagaMonitor.effectRejected=sagaMonitor.effectRejected||noop;sagaMonitor.effectCancelled=sagaMonitor.effectCancelled||noop;sagaMonitor.actionDispatched=sagaMonitor.actionDispatched||noop;}if(options.logger&&!isFunc(options.logger)){throw new Error('`options.logger` passed to the Saga plugin is not a function!');}if(options.onError&&!isFunc(options.onError)){throw new Error('`options.onError` passed to the Saga plugin is not a function!');}if(options.emitter){throw new Error('`options.emitter` is not yet supported by Saga plugin!');}var store;var sagaPlugin=function sagaPlugin(_store){store=_store;store.subscribe(function(mutation){channel.put(mutation);});/**\n * For listening to actions, instead of mutations use:\n * store.subscribeAction((action) => {\n * channel.put(action);\n * });\n */};sagaPlugin.run=function(saga){if(!store){throw new Error('Before running a Saga, you must add Saga plugin to vuex store');}if(!isFunc(saga)){throw new Error('`sagaPlugin.run(saga, ...args)`: saga argument must be a Generator function');}for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++){args[_key-1]=arguments[_key];}runSaga.apply(void 0,[{channel:channel,dispatch:function dispatch(output){if(store._actions[output.type]){return store.dispatch(output);}return store.commit(output);},getState:function getState(){return store.state;},logger:options.logger,sagaMonitor:sagaMonitor,onError:options.onError,context:{store:store}},saga].concat(args));};return sagaPlugin;});","import{trackEvent as _trackEvent}from'~/lib/analytics';export default{namespaced:true,state:{},actions:{trackEvent:function trackEvent(_ref,action){var _=_ref._;var params=action.analytics;if(action.headers&&action.headers['is-first-invoice']==='true'){Object.assign(params,{value:1});}_trackEvent(params);}}};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{pathOr}from'ramda';var defaultState=function defaultState(){return{};};export default{namespaced:true,state:defaultState(),mutations:{/**\n * Empty mutation is needed for proper work of Sagas.\n * We will add management of api request here in near future. (i.g. retries of failed request)\n */fetch:function fetch(){}},actions:{refetchInvoicesByIds:function refetchInvoicesByIds(_){},refetchInvoices:function refetchInvoices(_){},getCompanyData:function getCompanyData(_ref,_ref2){var commit=_ref.commit,rootGetters=_ref.rootGetters;var id=_ref2.id,countryCode=_ref2.countryCode;return new Promise(function(resolve,reject){commit('api/fetch',{url:'/services/company-lookups',method:'POST',body:{country:countryCode,number:String(id).replace(/\\s/g,'')},headers:rootGetters['auth/getHeaders'],promise:{resolve:resolve,reject:reject}},{root:true});});},apiGet:function apiGet(_ref3,url){var commit=_ref3.commit;return new Promise(function(resolve,reject){commit('api/fetch',{url:url,method:'GET',promise:{resolve:resolve,reject:reject}},{root:true});});},apiPost:function apiPost(_ref4,_ref5){var commit=_ref4.commit;var url=_ref5.url,data=_ref5.data;return new Promise(function(resolve,reject){commit('api/fetch',{url:url,body:_objectSpread({},data),method:'POST',promise:{resolve:resolve,reject:reject}},{root:true});});},sendForgottenCode:function sendForgottenCode(_ref6,email){var commit=_ref6.commit;return new Promise(function(resolve,reject){commit('api/fetch',{url:'/forgotten-password',method:'POST',promise:{resolve:resolve,reject:reject},onSuccess:['api/sendForgottenCodeProcessResponse'],onError:[{type:'flashMessages/addMessage',kind:'error',key:'generalApiError'}],body:{email:email}},{root:true});});},sendForgottenCodeProcessResponse:function sendForgottenCodeProcessResponse(_ref7,_ref8){var dispatch=_ref7.dispatch;var payload=_ref8.payload;var isError=pathOr(false,['data','error'],payload);if(isError){dispatch({type:'flashMessages/addMessage',kind:'error',key:'sendForgottenCodeError',params:{email:payload.meta.body.email}},{root:true});}else{dispatch({type:'flashMessages/addMessage',kind:'success',key:'sendForgottenCodeSuccess',params:{email:payload.meta.body.email}},{root:true});}}}};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}/* eslint-disable no-param-reassign */import{FETCH_STATE_ERROR,FETCH_STATE_NONE,FETCH_STATE_PENDING,FETCH_STATE_SUCCESS}from'~/config/constants';var defaultState={collection:[],previewId:null,collectionFetchState:FETCH_STATE_NONE,showId:null};export default{namespaced:true,state:_objectSpread({},defaultState),mutations:{getCollectionSuccess:function getCollectionSuccess(state,action){Object.assign(state,action.payload.data);Object.assign(state,{previewId:action.payload.config.params.preview_id});state.collectionFetchState=FETCH_STATE_SUCCESS;},getCollectionError:function getCollectionError(state){state.collectionFetchState=FETCH_STATE_ERROR;},getCollectionStart:function getCollectionStart(state){state.collectionFetchState=FETCH_STATE_PENDING;},showAppUpdate:function showAppUpdate(state,id){state.showId=id;}},actions:{getCollection:function getCollection(_ref){var commit=_ref.commit,state=_ref.state,rootGetters=_ref.rootGetters;var previewId=arguments.length>1&&arguments[1]!==undefined?arguments[1]:null;if(previewId===null&&state.collectionFetchState!==FETCH_STATE_NONE){return;}commit('api/fetch',{url:'/app_updates',params:{preview_id:previewId},method:'GET',headers:rootGetters['auth/getHeaders'],onStart:['appUpdates/getCollectionStart'],onSuccess:['appUpdates/getCollectionSuccess'],onError:['appUpdates/getCollectionError']},{root:true});},showAppUpdate:function showAppUpdate(_ref2,payload){var commit=_ref2.commit;commit('showAppUpdate',payload);},markAsRead:function markAsRead(_ref3,id){var commit=_ref3.commit,rootGetters=_ref3.rootGetters;commit('api/fetch',{url:'/app_updates/mark_as_read',method:'POST',body:{id:id},headers:rootGetters['auth/getHeaders']},{root:true});},markAsView:function markAsView(_ref4,id){var commit=_ref4.commit,rootGetters=_ref4.rootGetters;commit('api/fetch',{url:'/app_updates/mark_as_view',method:'POST',body:{id:id},headers:rootGetters['auth/getHeaders']},{root:true});},markAsClose:function markAsClose(_ref5,id){var commit=_ref5.commit,rootGetters=_ref5.rootGetters;commit('api/fetch',{url:'/app_updates/mark_as_close',method:'POST',body:{id:id},headers:rootGetters['auth/getHeaders']},{root:true});},getCollectionSuccess:function getCollectionSuccess(_ref6,payload){var commit=_ref6.commit;commit('getCollectionSuccess',payload);},getCollectionError:function getCollectionError(_ref7,payload){var commit=_ref7.commit;commit('getCollectionError',payload);}},getters:{isCollectionLoaded:function isCollectionLoaded(state){return state.collectionFetchState===FETCH_STATE_SUCCESS||state.collectionFetchState===FETCH_STATE_ERROR;},hasCollectionAnyItems:function hasCollectionAnyItems(state){return state.collection.length!==0;},hasPreviewID:function hasPreviewID(state){return state.previewId!==null;},fetchedForDashboard:function fetchedForDashboard(state){return state.previewId==='all';}}};","var defaultState=function defaultState(){return{breadcrumbs:[]};};var mutations={SET:function SET(state,breadcrumbs){Object.assign(state,{breadcrumbs:breadcrumbs});}};var actions={setBreadcrumbs:function setBreadcrumbs(_ref,breadcrumbs){var commit=_ref.commit;commit('SET',breadcrumbs);}};export default{namespaced:true,state:defaultState,actions:actions,mutations:mutations};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{getField,updateField}from'vuex-map-fields';var defaultState={global:{vat_schemes:[]},invoice:{},subscription:{}};var mutations={updateField:updateField,configDataSave:function configDataSave(state,action){Object.assign(state,action.payload.data.configs);},setConfigFromWindow:function setConfigFromWindow(state,data){Object.assign(state,data.configs);},configDataError:function configDataError(){// console.log('error get config');\n},setColumnsConfig:function setColumnsConfig(state,_ref){var scope=_ref.scope,columns=_ref.columns;state.subscription.column_settings=_objectSpread(_objectSpread({},state.subscription.column_settings),{},_defineProperty({},scope,columns));},changeEetStatus:function changeEetStatus(state,status){state.subscription['eet_enabled?']=status;},changeEetVisibility:function changeEetVisibility(state,status){state.subscription['eet_visible?']=status;},setInvoicesStateConfig:function setInvoicesStateConfig(state,payload){state.subscription['states_enabled?']=payload;},setInvoicesWithoutState:function setInvoicesWithoutState(state,payload){state.subscription['invoices_without_state?']=payload;},setLineSuggestionConfig:function setLineSuggestionConfig(state,payload){state.subscription['suggestions_enabled?']=payload;}};var actions={getConfigData:function getConfigData(_ref2){var commit=_ref2.commit,dispatch=_ref2.dispatch;if(window&&window.vueInvoiceConfig){commit('setConfigFromWindow',window.vueInvoiceConfig);}else{dispatch('fetchConfigData');}},fetchConfigData:function fetchConfigData(_ref3){var commit=_ref3.commit,rootGetters=_ref3.rootGetters;commit('api/fetch',{url:'/configs.json',method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['config/configDataSave'],onError:['config/configDataError']},{root:true});},setColumnsConfig:function setColumnsConfig(_ref4,_ref5){var commit=_ref4.commit;var scope=_ref5.scope,columns=_ref5.columns;commit('setColumnsConfig',{scope:scope,columns:columns});},configDataSave:function configDataSave(_ref6,payload){var commit=_ref6.commit;commit('configDataSave',payload);},configDataError:function configDataError(_ref7,payload){var commit=_ref7.commit;commit('configDataError',payload);},changeEetStatus:function changeEetStatus(_ref8,payload){var commit=_ref8.commit;commit('changeEetStatus',payload);},changeEetVisibility:function changeEetVisibility(_ref9,payload){var commit=_ref9.commit;commit('changeEetVisibility',payload);},setInvoicesStateConfig:function setInvoicesStateConfig(_ref10,payload){var commit=_ref10.commit;commit('setInvoicesStateConfig',payload);},setLineSuggestionConfig:function setLineSuggestionConfig(_ref11,payload){var commit=_ref11.commit;commit('setLineSuggestionConfig',payload);},setInvoicesWithoutState:function setInvoicesWithoutState(_ref12,payload){var commit=_ref12.commit;commit('setInvoicesWithoutState',payload);}};var getters={getField:getField};// A Vuex instance is created by combining the state, mutations, actions,\n// and getters.\nexport default{namespaced:true,state:defaultState,getters:getters,actions:actions,mutations:mutations};","function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\");}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||Object.prototype.toString.call(iter)===\"[object Arguments]\")return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError(\"Cannot call a class as a function\");}}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import pluralize from'pluralize';import{FETCH_STATE_NONE,FETCH_STATE_PENDING,FETCH_STATE_SUCCESS,FETCH_STATE_ERROR}from'~/config/constants';function getDefaultState(){return{collection:[],resource:{},collectionFetchState:FETCH_STATE_NONE,resourceFetchState:FETCH_STATE_NONE,page:1,total_pages:1,searchQuery:null,searchOrder:{column:'name',direction:'ascending'},apiValidation:{}};}export var RestHelper=function RestHelper(endpoint,namespace){var _this=this;_classCallCheck(this,RestHelper);_defineProperty(this,\"defaultState\",function(){return getDefaultState();});_defineProperty(this,\"mutations\",{getResourceStart:function getResourceStart(state){state.resourceFetchState=FETCH_STATE_PENDING;},getResourceSuccess:function getResourceSuccess(state,action){Object.assign(state,{resource:action.payload.data});state.resourceFetchState=FETCH_STATE_SUCCESS;},getResourceError:function getResourceError(state){state.resourceFetchState=FETCH_STATE_ERROR;},storeResourceSuccess:function storeResourceSuccess(state){state.resourceFetchState=FETCH_STATE_SUCCESS;},storeResourceError:function storeResourceError(state,action){if(action.payload.response.data.error){state.apiValidation=action.payload.response.data.error;}state.resourceFetchState=FETCH_STATE_ERROR;},deleteResourceError:function deleteResourceError(state){state.resourceFetchState=FETCH_STATE_ERROR;},deleteResourceSuccess:function deleteResourceSuccess(state){state.resourceFetchState=FETCH_STATE_SUCCESS;},getCollectionStart:function getCollectionStart(state){state.collectionFetchState=FETCH_STATE_PENDING;},getCollectionSuccess:function getCollectionSuccess(state,action){Object.assign(state,action.payload.data);state.collectionFetchState=FETCH_STATE_SUCCESS;},getCollectionError:function getCollectionError(state){state.collectionFetchState=FETCH_STATE_ERROR;},resetState:function resetState(state){Object.assign(state,getDefaultState());},setSearchOrder:function setSearchOrder(state,attrs){Object.assign(state.searchOrder,attrs);},setSearchQuery:function setSearchQuery(state,value){Object.assign(state,{searchQuery:value});},setPage:function setPage(state,value){Object.assign(state,{page:value});}});_defineProperty(this,\"actions\",{getResource:function getResource(_ref,_ref2){var commit=_ref.commit,rootGetters=_ref.rootGetters;var id=_ref2.id;commit('api/fetch',{url:\"/\".concat(_this.endpoint,\"/\").concat(id),method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onStart:[\"\".concat(_this.namespace,\"/getResourceStart\")],onSuccess:[\"\".concat(_this.namespace,\"/getResourceSuccess\")],onError:[\"\".concat(_this.namespace,\"/getResourceError\"),{type:'flashMessages/addMessage',kind:'error',key:'getResourceError',params:{resourceName:_this.resourceName}}]},{root:true});},newResource:function newResource(_ref3){var commit=_ref3.commit,rootGetters=_ref3.rootGetters;if(rootGetters['auth/isAuthorized']){commit('api/fetch',{url:\"/\".concat(_this.endpoint,\"/new\"),method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:[\"\".concat(_this.namespace,\"/getResourceSuccess\")],onError:[\"\".concat(_this.namespace,\"/getResourceError\")]},{root:true});}},editResource:function editResource(_ref4,_ref5){var commit=_ref4.commit,rootGetters=_ref4.rootGetters;var id=_ref5.id;commit('api/fetch',{url:\"/\".concat(_this.endpoint,\"/\").concat(id,\"/edit\"),method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onStart:[\"\".concat(_this.namespace,\"/getResourceStart\")],onSuccess:[\"\".concat(_this.namespace,\"/getResourceSuccess\")],onError:[\"\".concat(_this.namespace,\"/getResourceError\"),{type:'flashMessages/addMessage',kind:'error',key:'getResourceError',params:{resourceName:_this.resourceName}}]},{root:true});},setOrder:function setOrder(_ref6,attrs){var commit=_ref6.commit,dispatch=_ref6.dispatch,state=_ref6.state;commit('setSearchOrder',attrs);dispatch('getCollectionPage',state.page);},getCollectionPage:function getCollectionPage(_ref7){var dispatch=_ref7.dispatch,state=_ref7.state;var page=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1;dispatch('getCollection',{query:state.searchQuery,page:page});},getCollection:function getCollection(_ref8,_ref9){var commit=_ref8.commit,rootGetters=_ref8.rootGetters,state=_ref8.state;var query=_ref9.query,page=_ref9.page;commit('setSearchQuery',query);commit('setPage',page);var path=query?'/search':'/';commit('api/fetch',{url:\"/\".concat(_this.endpoint).concat(path),method:'GET',params:{fulltext:query,page:page,sort:\"\".concat(state.searchOrder.column,\" \").concat(state.searchOrder.direction)},headers:_objectSpread({},rootGetters['auth/getHeaders']),onStart:[\"\".concat(_this.namespace,\"/getCollectionStart\")],onSuccess:[\"\".concat(_this.namespace,\"/getCollectionSuccess\")],onError:[\"\".concat(_this.namespace,\"/getCollectionError\"),{type:'flashMessages/addMessage',kind:'error',key:'getCollectionError',params:{resourceName:_this.resourceName}}]},{root:true});},storeResource:function storeResource(_ref10,_ref11){var commit=_ref10.commit,rootGetters=_ref10.rootGetters,state=_ref10.state;var _ref11$onSuccess=_ref11.onSuccess,onSuccess=_ref11$onSuccess===void 0?[]:_ref11$onSuccess;state.apiValidation={};return new Promise(function(resolve,reject){commit('api/fetch',{url:state.resource.id?\"/\".concat(_this.endpoint,\"/\").concat(state.resource.id):\"/\".concat(_this.endpoint),method:state.resource.id?'PUT':'POST',body:_defineProperty({},_this.resourceName,state.resource),headers:rootGetters['auth/getHeaders'],onSuccess:[\"\".concat(_this.namespace,\"/storeResourceSuccess\"),{type:'flashMessages/addMessage',kind:'success',key:'storeResourceSuccess',params:{resourceName:_this.resourceName,resource:state.resource}}].concat(_toConsumableArray(onSuccess)),onError:[\"\".concat(_this.namespace,\"/storeResourceError\"),{type:'flashMessages/addMessage',kind:'error',key:'storeResourceError',withTimeout:true,params:{resourceName:_this.resourceName}}],promise:{resolve:resolve,reject:reject}},{root:true});});},deleteResource:function deleteResource(_ref12,id){var commit=_ref12.commit,rootGetters=_ref12.rootGetters,state=_ref12.state;commit('api/fetch',{url:\"/\".concat(_this.endpoint,\"/\").concat(id),method:'DELETE',headers:rootGetters['auth/getHeaders'],onSuccess:[\"\".concat(_this.namespace,\"/deleteResourceSuccess\"),{type:'flashMessages/addMessage',kind:'success',key:'deleteResourceSuccess',params:{resourceName:_this.resourceName,resource:state.resource}},{type:\"\".concat(_this.namespace,\"/getCollection\"),query:state.searchQuery,page:state.page}],onError:[\"\".concat(_this.namespace,\"/deleteResourceError\"),{type:'flashMessages/addMessage',kind:'error',key:'deleteResourceError',params:{resourceName:_this.resourceName}}]},{root:true});},storeResourceSuccess:function storeResourceSuccess(_ref13){var commit=_ref13.commit;commit('storeResourceSuccess');},storeResourceError:function storeResourceError(_ref14,data){var commit=_ref14.commit;commit('storeResourceError',data);},deleteResourceError:function deleteResourceError(_ref15){var commit=_ref15.commit;commit('deleteResourceError');},deleteResourceSuccess:function deleteResourceSuccess(_ref16){var commit=_ref16.commit;commit('deleteResourceSuccess');},getResourceStart:function getResourceStart(_ref17){var commit=_ref17.commit;commit('getResourceStart');},getResourceSuccess:function getResourceSuccess(_ref18,payload){var commit=_ref18.commit;commit('getResourceSuccess',payload);},getResourceError:function getResourceError(_ref19,payload){var commit=_ref19.commit;commit('getResourceError',payload);},getCollectionStart:function getCollectionStart(_ref20){var commit=_ref20.commit;commit('getCollectionStart');},getCollectionSuccess:function getCollectionSuccess(_ref21,payload){var commit=_ref21.commit;commit('getCollectionSuccess',payload);},getCollectionError:function getCollectionError(_ref22,payload){var commit=_ref22.commit;commit('getCollectionError',payload);},resetState:function resetState(_ref23){var commit=_ref23.commit;commit('resetState');}});_defineProperty(this,\"getters\",{isSearching:function isSearching(state){return state.searchQuery;},isCollectionLoaded:function isCollectionLoaded(state){return state.collectionFetchState===FETCH_STATE_SUCCESS||state.collectionFetchState===FETCH_STATE_ERROR;},isResourceLoaded:function isResourceLoaded(state){return state.resourceFetchState===FETCH_STATE_SUCCESS||state.resourceFetchState===FETCH_STATE_ERROR;},isCollectionEmpty:function isCollectionEmpty(state){return state.collection.length===0;}});this.endpoint=endpoint;this.namespace=namespace;this.resourceName=pluralize.singular(this.endpoint);this.collectionName=this.endpoint;};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{getField,updateField}from'vuex-map-fields';import{RestHelper}from'./helpers/RestHelpers';var helper=new RestHelper('contacts','contacts');export default{namespaced:true,state:_objectSpread(_objectSpread({},helper.defaultState()),{},{response:{}}),mutations:_objectSpread({updateField:updateField},helper.mutations),actions:_objectSpread(_objectSpread({},helper.actions),{},{searchForForm:function searchForForm(_ref){var commit=_ref.commit,rootGetters=_ref.rootGetters;var query=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'';return new Promise(function(resolve,reject){commit('api/fetch',{url:'/contacts/search',params:{fulltext:query,per_page:100,view:'overview',notrack:true},method:'GET',headers:rootGetters['auth/getHeaders'],promise:{resolve:resolve,reject:reject}},{root:true});});},search:function search(_ref2,_ref3){var commit=_ref2.commit,rootGetters=_ref2.rootGetters;var query=_ref3.query,countryCode=_ref3.countryCode,searchBy=_ref3.searchBy;return new Promise(function(resolve,reject){commit('api/fetch',{url:'/services/merk-suggestions',method:'POST',headers:rootGetters['auth/getHeaders'],body:{country:countryCode,query:query,search_by:searchBy},promise:{resolve:resolve,reject:reject}},{root:true});});},getResponse:function getResponse(_ref4,response){var state=_ref4.state;var _response$payload$dat=response.payload.data,contact=_response$payload$dat.contact,contactId=_response$payload$dat.contact_id;state.response={company_number:contact.company_number,id:contactId,name:contact.name,web:contact.web};}}),getters:_objectSpread({getField:getField,response:function response(state){return state.response;}},helper.getters)};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{format}from'date-fns';import{DEFAULT_CURRENCY,COUNTRY_CODES}from'~/config/constants';var defaultState={ratesProvider:'',baseCurrency:'',rates:{},currentList:{}};var mutations={setCurrent:function setCurrent(state,action){var dataForDate=state.rates[action.payload.meta.toDate];var selectedCurencyRate=dataForDate.rates.find(function(rate){return rate.currency===action.payload.meta.currency;});if(selectedCurencyRate){state.currentList={baseCurrency:state.baseCurrency,provider:state.ratesProvider,date:dataForDate.date,dateFormated:format(new Date(dataForDate.date),action.payload.meta.dateMask,action.payload.meta.dateMask),amount:selectedCurencyRate.amount,currency:selectedCurencyRate.currency,rate:selectedCurencyRate.rate};}},currencyRatesReceived:function currencyRatesReceived(state,action){var _action$payload$data=action.payload.data,rates=_action$payload$data.rates,date=_action$payload$data.date,bank=_action$payload$data.bank,baseCurrency=_action$payload$data.base_currency;state.baseCurrency=baseCurrency;state.ratesProvider=bank;state.rates=_objectSpread(_objectSpread({},state.rates),{},_defineProperty({},action.payload.meta.toDate,{rates:rates,date:date}));},currencyRatesError:function currencyRatesError(){// TODO - solve error handling: FO-911\n}};var actions={setCurrencyRate:function setCurrencyRate(_ref,_ref2){var commit=_ref.commit,state=_ref.state,rootState=_ref.rootState,rootGetters=_ref.rootGetters;var currency=_ref2.currency;if(currency===DEFAULT_CURRENCY||COUNTRY_CODES[rootGetters['env/country'].toUpperCase()]!==COUNTRY_CODES.CS){return;}var toDate=rootState.invoiceForm.tax_point_on;var formatedDate=format(new Date(toDate),'yyyy-M-d');if(state.rates.length===0||!state.rates[formatedDate]){commit('api/fetch',{url:\"/services/exchange-rates/\".concat(formatedDate),method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['currencyRates/currencyRatesReceived','currencyRates/setCurrent'],onError:['currencyRates/currencyRatesError'],dateMask:rootState.env.dateFormats.dateFns,toDate:formatedDate,currency:currency},{root:true});}else{commit('setCurrent',{payload:{meta:{dateMask:rootState.env.dateFormats.dateFns,toDate:formatedDate,currency:currency}}});}},currencyRatesReceived:function currencyRatesReceived(_ref3,payload){var commit=_ref3.commit;commit('currencyRatesReceived',payload);},setCurrent:function setCurrent(_ref4,payload){var commit=_ref4.commit;commit('setCurrent',payload);},currencyRatesError:function currencyRatesError(_ref5,payload){var commit=_ref5.commit;commit('currencyRatesError',payload);}};var getters={rates:function rates(state){return state.rates;},getCurrentList:function getCurrentList(state){return state.currentList;},getCurrency:function getCurrency(state){return function(currency){return state.rates.find(function(rate){return rate.currency.toLowerCase()===currency;});};}};export default{namespaced:true,state:defaultState,getters:getters,actions:actions,mutations:mutations};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}var defaultState=function defaultState(){return{currentDiscountLineIndex:0,discountDialogOpened:false};};var mutations={openDiscountDialog:function openDiscountDialog(state){var _payload$index;var payload=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};state.discountDialogOpened=true;state.currentDiscountLineIndex=(_payload$index=payload.index)!==null&&_payload$index!==void 0?_payload$index:null;},closeDiscountDialog:function closeDiscountDialog(state){state.discountDialogOpened=false;state.currentDiscountLineIndex=null;}};var actions={openDiscountDialog:function openDiscountDialog(_ref,payload){var commit=_ref.commit;commit('openDiscountDialog',payload);},closeDiscountDialog:function closeDiscountDialog(_ref2){var commit=_ref2.commit;commit('closeDiscountDialog');},applyInvoiceLineDiscount:function applyInvoiceLineDiscount(_ref3,_ref4){var commit=_ref3.commit;var index=_ref4.index,discountData=_ref4.discountData;commit('invoiceForm/applyDiscount',{index:index,discountData:discountData,isDiscountLine:true},{root:true});},applyInvoiceWideDiscount:function applyInvoiceWideDiscount(_ref5,discountData){var commit=_ref5.commit,rootGetters=_ref5.rootGetters,rootState=_ref5.rootState;var discountLine=rootGetters['invoiceForm/InvoiceWideDiscountLine'];var index=discountLine?rootState.invoiceForm.lines.findIndex(function(line){return line===discountLine;}):-1;if(index!==-1){commit('invoiceForm/applyDiscount',{index:index,discountData:discountData,isDiscountLine:false},{root:true});}else{commit('invoiceForm/addInvoiceItem',_objectSpread(_objectSpread({},discountData),{},{is_discount_line:false}),{root:true});}},applyDiscount:function applyDiscount(_ref6,_ref7){var dispatch=_ref6.dispatch,state=_ref6.state;var discountData=_ref7.discountData;var currentDiscountLineIndex=state.currentDiscountLineIndex;if(currentDiscountLineIndex!==null&¤tDiscountLineIndex>=0){dispatch('applyInvoiceLineDiscount',{index:currentDiscountLineIndex,discountData:discountData});}else{dispatch('applyInvoiceWideDiscount',discountData);}}};var getters={isDiscountDialogOpen:function isDiscountDialogOpen(state){return state.discountDialogOpened;},currentDiscountLineIndex:function currentDiscountLineIndex(state){return state.currentDiscountLineIndex;}};export default{namespaced:true,state:defaultState(),getters:getters,actions:actions,mutations:mutations};","import _curry2 from './internal/_curry2.js';\nimport _reduce from './internal/_reduce.js';\nimport keys from './keys.js';\n/**\n * An Object-specific version of [`map`](#map). The function is applied to three\n * arguments: *(value, key, obj)*. If only the value is significant, use\n * [`map`](#map) instead.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig ((*, String, Object) -> *) -> Object -> Object\n * @param {Function} fn\n * @param {Object} obj\n * @return {Object}\n * @see R.map\n * @example\n *\n * const xyz = { x: 1, y: 2, z: 3 };\n * const prependKeyAndDouble = (num, key, obj) => key + (num * 2);\n *\n * R.mapObjIndexed(prependKeyAndDouble, xyz); //=> { x: 'x2', y: 'y4', z: 'z6' }\n */\n\nvar mapObjIndexed =\n/*#__PURE__*/\n_curry2(function mapObjIndexed(fn, obj) {\n return _reduce(function (acc, key) {\n acc[key] = fn(obj[key], key, obj);\n return acc;\n }, {}, keys(obj));\n});\n\nexport default mapObjIndexed;","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{getField,updateField}from'vuex-map-fields';import{mapObjIndexed,pathOr}from'ramda';import{getFormVisibilities,getEetFormConfig,getFormValidations}from'~/config/formConfig';export var CERT_PWD_ERROR='Chybné heslo certifikátu';/* eslint no-underscore-dangle: \"off\" */var defaultState={visibilities:{},establishment_number:'',cert_password:'',vat_number:'',testing_mode:'',enabled:'',cert_file:[],not_subject_to_eet:'',dialog_opened:false,api_validation:'',errorMessages:{}};var mutations={updateField:updateField,updateStoreValue:function updateStoreValue(state,data){state[data.name]=data.value;},computeVisibilities:function computeVisibilities(state,_ref){var rootState=_ref.rootState;state.visibilities=getFormVisibilities(rootState,'eetForm');},openEetDialog:function openEetDialog(state){state.dialog_opened=true;},clearErrorMessages:function clearErrorMessages(state){state.errorMessages={};},getSettingsLoaded:function getSettingsLoaded(state,data){state.establishment_number=data.establishment_number;state.cert_password=data.cert_password;state.vat_number=data.vat_number;state.testing_mode=data.testing_mode;state.enabled=data.enabled;state.not_subject_to_eet=data.not_subject_to_eet;if(pathOr(false,['cert_file','url'],data)){state.cert_file=[{url:data.cert_file.url,name:data.cert_file.filename}];}},getSettingsLoadError:function getSettingsLoadError(state){state.api_validation='eetForm.errors.api_validation';},settingsStored:function settingsStored(state,action){if(action.payload.data.id){state.api_validation='';state.dialog_opened=false;return;}state.api_validation='eetForm.errors.server_validation_error';},settingsStoreError:function settingsStoreError(state,action){// 500 error\nif(action.payload.response.status===500){state.api_validation='eetForm.errors.server_error';return;}// general error\nif(action.payload.response.data.message){state.api_validation=action.payload.response.data.message;return;}if(action.payload.response.data.error){// field validations errors\nvar response=JSON.parse(action.payload.request.response);state.errorMessages=_objectSpread(_objectSpread({},state.errorMessages),mapObjIndexed(function(err){return err.join(', ');},response.error));// other known errors\nif(action.payload.response.data.error.base){if(action.payload.response.data.error.base.find(function(item){return item===CERT_PWD_ERROR;})){state.errorMessages=_objectSpread(_objectSpread({},state.errorMessages),{},{cert_password:CERT_PWD_ERROR});return;}state.api_validation=action.payload.response.data.error.base.join(', ');}}},fileUploadFailed:function fileUploadFailed(state){state.errorMessages=_objectSpread(_objectSpread({},state.errorMessages),{},{cert_file:'eetForm.errors.upload_fail'});}};var actions={settingsStoreError:function settingsStoreError(_ref2,data){var commit=_ref2.commit;commit('settingsStoreError',data);},settingsStored:function settingsStored(_ref3,action){var commit=_ref3.commit;commit('settingsStored',action);if(action.payload.data.id){var eetEnabled=action.payload.data.enabled;var eetVisible=true;if(action.payload.data.not_subject_to_eet===true){eetEnabled=false;eetVisible=false;}commit('config/changeEetStatus',eetEnabled,{root:true});commit('config/changeEetVisibility',eetVisible,{root:true});}},getSettingsLoaded:function getSettingsLoaded(_ref4,action){var commit=_ref4.commit;commit('getSettingsLoaded',action.payload.data);},getSettingsLoadError:function getSettingsLoadError(_ref5,action){var commit=_ref5.commit;commit('getSettingsLoadError',action);},updateStoreValue:function updateStoreValue(_ref6,action){var commit=_ref6.commit;commit('updateStoreValue',action);},computeVisibilities:function computeVisibilities(_ref7){var commit=_ref7.commit,rootState=_ref7.rootState;commit('computeVisibilities',{rootState:rootState});},clearErrorMessages:function clearErrorMessages(_ref8){var commit=_ref8.commit;commit('clearErrorMessages');},openEetDialog:function openEetDialog(_ref9){var commit=_ref9.commit;commit('openEetDialog');},storeSettings:function storeSettings(_ref10){var commit=_ref10.commit,state=_ref10.state,rootGetters=_ref10.rootGetters;if(!state.not_subject_to_eet&&(!state.cert_file||state.cert_file.length===0)){commit('updateStoreValue',{name:'api_validation',value:'eetForm.errors.cert_missing'});return;}commit('updateStoreValue',{name:'api_validation',value:''});var certFile=pathOr(false,['cert_file',[0],'raw'],state)&&{cert_file_id:state.cert_file[0].response.id};commit('api/fetch',{url:'/eet-settings',method:certFile?'PUT':'PATCH',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['eetForm/settingsStored'],onError:['eetForm/settingsStoreError'],body:{eet_setting:_objectSpread({establishment_number:state.establishment_number,cert_password:state.cert_password,vat_number:state.vat_number,enabled:state.enabled,testing_mode:state.testing_mode,not_subject_to_eet:state.not_subject_to_eet},certFile)}},{root:true});},getSettings:function getSettings(_ref11){var commit=_ref11.commit,rootGetters=_ref11.rootGetters;commit('api/fetch',{url:'/eet-settings/edit',method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['eetForm/getSettingsLoaded'],onError:['eetForm/getSettingsLoadError']},{root:true});}};var getters={getField:getField,eet:function eet(state){return state;},validationRules:function validationRules(state){return getFormValidations(getEetFormConfig(state));},visibilities:function visibilities(state){return state.visibilities;}};export default{namespaced:true,state:defaultState,getters:getters,actions:actions,mutations:mutations};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{COUNTRY_CODES}from'~/config/constants';var localeConfig={cs:{dateFormat:'dd. MM. yyyy',dateTimeFormat:'dd. MM. yyyy HH:mm',rangeSeparator:' - '},de:{dateFormat:'dd. MM. yyyy',dateTimeFormat:'dd. MM. yyyy HH:mm',rangeSeparator:' - '},en:{dateFormat:'MM/dd/yyyy',dateTimeFormat:'MM/dd/yyyy HH:mm',rangeSeparator:' to '},gb:{dateFormat:'dd/MM/yyyy',dateTimeFormat:'dd/MM/yyyy HH:mm',rangeSeparator:' to '},nl:{dateFormat:'dd-MM-yyyy',dateTimeFormat:'dd-MM-yyyy HH:mm',rangeSeparator:' - '},pl:{dateFormat:'dd. MM. yyyy',dateTimeFormat:'dd. MM. yyyy HH:mm',rangeSeparator:' - '},rs:{dateFormat:'dd. MM .yyyy',dateTimeFormat:'dd. MM .yyyy HH:mm',rangeSeparator:' - '},sk:{dateFormat:'dd. MM. yyyy',dateTimeFormat:'dd. MM. yyyy HH:mm',rangeSeparator:' - '}};var defaultState={country:'cz',language:'cz',dateFormats:{dateFns:'dd. MM. yyyy',elementUi:'dd. MM. yyyy',rangeSeparator:' - '},dateTimeFormats:{dateFns:'dd. MM. yyyy HH:mm'}};var mutations={setEnvVar:function setEnvVar(state,_ref){var name=_ref.name,value=_ref.value;state[name]=value;},setDateTimeFormats:function setDateTimeFormats(state,locale){var config=localeConfig[locale]||localeConfig.cs;state.dateFormats=_objectSpread(_objectSpread({},state.dateFormats),{},{dateFns:config.dateFormat,elementUi:config.dateFormat,rangeSeparator:config.rangeSeparator});state.dateTimeFormats=_objectSpread(_objectSpread({},state.dateTimeFormats),{},{dateFns:config.dateTimeFormat});}};var actions={setLangAndCountry:function setLangAndCountry(_ref2,value){var commit=_ref2.commit;commit('setEnvVar',{name:'country',value:value});commit('setEnvVar',{name:'language',value:value});commit('setDateTimeFormats',value);}};var getters={env:function env(state){return state;},dateFormats:function dateFormats(state){return state.dateFormats;},dateTimeFormats:function dateTimeFormats(state){return state.dateTimeFormats;},country:function country(state){return state.country;},language:function language(state){return state.language;},isCzech:function isCzech(state){return COUNTRY_CODES[state.country.toUpperCase()]===COUNTRY_CODES.CS;}};export default{namespaced:true,state:defaultState,getters:getters,actions:actions,mutations:mutations};","import contentDisposition from'content-disposition';import fileDownload from'js-file-download';export default{namespaced:true,state:{},actions:{downloadFile:function downloadFile(_,action){var data=action.payload.data;var filenameString=action.payload.headers['content-disposition'];var filename=contentDisposition.parse(filenameString).parameters.filename;fileDownload(data,filename);}}};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}export var getRailsMessage=function getRailsMessage(){var flashContainer=document.querySelectorAll('#flashes-data');if(flashContainer.length){var flash=flashContainer[0];var flashObject={text:flash.getAttribute('data-message'),id:'rails-flash-message',key:'rails-flash-message',kind:flash.getAttribute('data-kind')};if(flash.getAttribute('data-button-key')&&flash.getAttribute('data-button-url')){var button={button:{key:flash.getAttribute('data-button-key'),url:flash.getAttribute('data-button-url')}};flashObject=_objectSpread(_objectSpread({},button),flashObject);}return flashObject;}return null;};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import uuid from'uuid';import{getRailsMessage}from'~/lib/flashMessages';var MESSAGE_DISPLAY_TIMEOUT=3000;var defaultState=function defaultState(){return{message:null,timeout:null};};export default{namespaced:true,state:defaultState(),mutations:{addMessage:function addMessage(state,flashMessage){Object.assign(state,{message:flashMessage});},clearMessage:function clearMessage(state){Object.assign(state,{message:null});},resetState:function resetState(state){Object.assign(state,defaultState());},saveTimeout:function saveTimeout(state,timeout){Object.assign(state,{timeout:timeout});},clearTimeout:function(_clearTimeout){function clearTimeout(_x){return _clearTimeout.apply(this,arguments);}clearTimeout.toString=function(){return _clearTimeout.toString();};return clearTimeout;}(function(state){clearTimeout(state.timeout);Object.assign(state,{timeout:null});})},actions:{addMessage:function addMessage(_ref,flashMessage){var commit=_ref.commit,dispatch=_ref.dispatch;var id=uuid.v4();commit('clearTimeout');commit('addMessage',_objectSpread(_objectSpread({},flashMessage),{},{id:id}));dispatch('setTimeout');},setTimeout:function(_setTimeout){function setTimeout(_x2){return _setTimeout.apply(this,arguments);}setTimeout.toString=function(){return _setTimeout.toString();};return setTimeout;}(function(_ref2){var commit=_ref2.commit;var timeout=setTimeout(function(){return commit('clearMessage');},MESSAGE_DISPLAY_TIMEOUT);commit('saveTimeout',timeout);}),clearMessage:function clearMessage(_ref3){var commit=_ref3.commit;commit('clearMessage');},resetState:function resetState(_ref4){var commit=_ref4.commit;commit('resetState');},checkMessages:function checkMessages(_ref5){var commit=_ref5.commit,dispatch=_ref5.dispatch;if(getRailsMessage()){dispatch('addMessage',getRailsMessage());}else{commit('clearMessage');}}}};","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { PRIMITIVE, ARRAY, OBJECT, DATE, REGEXP, MAP, SET, ERROR, BIGINT } from './types.js';\nvar env = (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) === 'object' ? self : globalThis;\n\nvar deserializer = function deserializer($, _) {\n var as = function as(out, index) {\n $.set(index, out);\n return out;\n };\n\n var unpair = function unpair(index) {\n if ($.has(index)) return $.get(index);\n\n var _$index = _slicedToArray(_[index], 2),\n type = _$index[0],\n value = _$index[1];\n\n switch (type) {\n case PRIMITIVE:\n return as(value, index);\n\n case ARRAY:\n {\n var arr = as([], index);\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = value[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _index = _step.value;\n arr.push(unpair(_index));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return arr;\n }\n\n case OBJECT:\n {\n var object = as({}, index);\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = value[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var _ref3 = _step2.value;\n\n var _ref2 = _slicedToArray(_ref3, 2);\n\n var key = _ref2[0];\n var _index2 = _ref2[1];\n object[unpair(key)] = unpair(_index2);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n return object;\n }\n\n case DATE:\n return as(new Date(value), index);\n\n case REGEXP:\n {\n var source = value.source,\n flags = value.flags;\n return as(new RegExp(source, flags), index);\n }\n\n case MAP:\n {\n var map = as(new Map(), index);\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = value[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var _ref6 = _step3.value;\n\n var _ref5 = _slicedToArray(_ref6, 2);\n\n var _key = _ref5[0];\n var _index3 = _ref5[1];\n map.set(unpair(_key), unpair(_index3));\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3[\"return\"] != null) {\n _iterator3[\"return\"]();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n return map;\n }\n\n case SET:\n {\n var set = as(new Set(), index);\n var _iteratorNormalCompletion4 = true;\n var _didIteratorError4 = false;\n var _iteratorError4 = undefined;\n\n try {\n for (var _iterator4 = value[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n var _index4 = _step4.value;\n set.add(unpair(_index4));\n }\n } catch (err) {\n _didIteratorError4 = true;\n _iteratorError4 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion4 && _iterator4[\"return\"] != null) {\n _iterator4[\"return\"]();\n }\n } finally {\n if (_didIteratorError4) {\n throw _iteratorError4;\n }\n }\n }\n\n return set;\n }\n\n case ERROR:\n {\n var name = value.name,\n message = value.message;\n return as(new env[name](message), index);\n }\n\n case BIGINT:\n return as(BigInt(value), index);\n\n case 'BigInt':\n return as(Object(BigInt(value)), index);\n }\n\n return as(new env[type](value), index);\n };\n\n return unpair;\n};\n/**\n * @typedef {Array<string,any>} Record a type representation\n */\n\n/**\n * Returns a deserialized value from a serialized array of Records.\n * @param {Record[]} serialized a previously serialized value.\n * @returns {any}\n */\n\n\nexport var deserialize = function deserialize(serialized) {\n return deserializer(new Map(), serialized)(0);\n};","export var PRIMITIVE = 0;\nexport var ARRAY = 1;\nexport var OBJECT = 2;\nexport var DATE = 3;\nexport var REGEXP = 4;\nexport var MAP = 5;\nexport var SET = 6;\nexport var ERROR = 7;\nexport var BIGINT = 8; // export const SYMBOL = 9;","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { PRIMITIVE, ARRAY, OBJECT, DATE, REGEXP, MAP, SET, ERROR, BIGINT } from './types.js';\nvar EMPTY = '';\nvar _ref = {},\n toString = _ref.toString;\nvar keys = Object.keys;\n\nvar typeOf = function typeOf(value) {\n var type = _typeof(value);\n\n if (type !== 'object' || !value) return [PRIMITIVE, type];\n var asString = toString.call(value).slice(8, -1);\n\n switch (asString) {\n case 'Array':\n return [ARRAY, EMPTY];\n\n case 'Object':\n return [OBJECT, EMPTY];\n\n case 'Date':\n return [DATE, EMPTY];\n\n case 'RegExp':\n return [REGEXP, EMPTY];\n\n case 'Map':\n return [MAP, EMPTY];\n\n case 'Set':\n return [SET, EMPTY];\n }\n\n if (asString.includes('Array')) return [ARRAY, asString];\n if (asString.includes('Error')) return [ERROR, asString];\n return [OBJECT, asString];\n};\n\nvar shouldSkip = function shouldSkip(_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n TYPE = _ref3[0],\n type = _ref3[1];\n\n return TYPE === PRIMITIVE && (type === 'function' || type === 'symbol');\n};\n\nvar serializer = function serializer(strict, json, $, _) {\n var as = function as(out, value) {\n var index = _.push(out) - 1;\n $.set(value, index);\n return index;\n };\n\n var pair = function pair(value) {\n if ($.has(value)) return $.get(value);\n\n var _typeOf = typeOf(value),\n _typeOf2 = _slicedToArray(_typeOf, 2),\n TYPE = _typeOf2[0],\n type = _typeOf2[1];\n\n switch (TYPE) {\n case PRIMITIVE:\n {\n var entry = value;\n\n switch (type) {\n case 'bigint':\n TYPE = BIGINT;\n entry = value.toString();\n break;\n\n case 'function':\n case 'symbol':\n if (strict) throw new TypeError('unable to serialize ' + type);\n entry = null;\n break;\n }\n\n return as([TYPE, entry], value);\n }\n\n case ARRAY:\n {\n if (type) return as([type, _toConsumableArray(value)], value);\n var arr = [];\n var index = as([TYPE, arr], value);\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = value[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _entry = _step.value;\n arr.push(pair(_entry));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return index;\n }\n\n case OBJECT:\n {\n if (type) {\n switch (type) {\n case 'BigInt':\n return as([type, value.toString()], value);\n\n case 'Boolean':\n case 'Number':\n case 'String':\n return as([type, value.valueOf()], value);\n }\n }\n\n if (json && 'toJSON' in value) return pair(value.toJSON());\n var entries = [];\n\n var _index = as([TYPE, entries], value);\n\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = keys(value)[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var key = _step2.value;\n if (strict || !shouldSkip(typeOf(value[key]))) entries.push([pair(key), pair(value[key])]);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n return _index;\n }\n\n case DATE:\n return as([TYPE, value.toISOString()], value);\n\n case REGEXP:\n {\n var source = value.source,\n flags = value.flags;\n return as([TYPE, {\n source: source,\n flags: flags\n }], value);\n }\n\n case MAP:\n {\n var _entries = [];\n\n var _index2 = as([TYPE, _entries], value);\n\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = value[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var _ref6 = _step3.value;\n\n var _ref5 = _slicedToArray(_ref6, 2);\n\n var _key = _ref5[0];\n var _entry2 = _ref5[1];\n if (strict || !(shouldSkip(typeOf(_key)) || shouldSkip(typeOf(_entry2)))) _entries.push([pair(_key), pair(_entry2)]);\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3[\"return\"] != null) {\n _iterator3[\"return\"]();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n return _index2;\n }\n\n case SET:\n {\n var _entries2 = [];\n\n var _index3 = as([TYPE, _entries2], value);\n\n var _iteratorNormalCompletion4 = true;\n var _didIteratorError4 = false;\n var _iteratorError4 = undefined;\n\n try {\n for (var _iterator4 = value[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n var _entry3 = _step4.value;\n if (strict || !shouldSkip(typeOf(_entry3))) _entries2.push(pair(_entry3));\n }\n } catch (err) {\n _didIteratorError4 = true;\n _iteratorError4 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion4 && _iterator4[\"return\"] != null) {\n _iterator4[\"return\"]();\n }\n } finally {\n if (_didIteratorError4) {\n throw _iteratorError4;\n }\n }\n }\n\n return _index3;\n }\n }\n\n var message = value.message;\n return as([TYPE, {\n name: type,\n message: message\n }], value);\n };\n\n return pair;\n};\n/**\n * @typedef {Array<string,any>} Record a type representation\n */\n\n/**\n * Returns an array of serialized Records.\n * @param {any} value a serializable value.\n * @param {{lossy?: boolean}?} options an object with a `lossy` property that,\n * if `true`, will not throw errors on incompatible types, and behave more\n * like JSON stringify would behave. Symbol and Function will be discarded.\n * @returns {Record[]}\n */\n\n\nexport var serialize = function serialize(value) {\n var _ref7 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n json = _ref7.json,\n lossy = _ref7.lossy;\n\n var _ = [];\n return serializer(!(json || lossy), !!json, new Map(), _)(value), _;\n};","import { deserialize } from './deserialize.js';\nimport { serialize } from './serialize.js';\n/**\n * @typedef {Array<string,any>} Record a type representation\n */\n\n/**\n * Returns an array of serialized Records.\n * @param {any} any a serializable value.\n * @param {{transfer: any[]}?} options an object with a transfoer property.\n * This is currently not supported, all values are always cloned.\n * @returns {Record[]}\n */\n\nexport default typeof structuredClone === \"function\" ? structuredClone : function (any, options) {\n return deserialize(serialize(any, options));\n};\nexport { deserialize, serialize };","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import uuid from'uuid-random';import{pathOr}from'ramda';import{toDate,parseISO}from'date-fns';export function parseLines(data){return data.map(function(row){return{description:row.description,id:row.id,identifier:uuid(),position:row.position,price:parseFloat(row.price),quantity:parseFloat(row.quantity),unit_type:row.unit_type,vat_rate:parseInt(row.vat_rate,10),discount_amount:parseFloat(row.discount_amount),discount_kind:row.discount_kind,is_discount_line:row.is_discount_line,_destroy:false};});}export var replaceEmptyDataWithDefault=function replaceEmptyDataWithDefault(state,fetched){var filtered=Object.keys(fetched).reduce(function(acc,val){if(fetched[val]!==null){return _objectSpread(_objectSpread({},acc),{},_defineProperty({},val,fetched[val]));}return acc;},{});return _objectSpread(_objectSpread({},state),filtered);};export default function mapInvoiceDataToForm(data){var result={buyer_id:pathOr(null,['buyer','id'],data),buyer_address_city:pathOr('',['buyer','city'],data),buyer_address_country_code:pathOr(null,['buyer','country_code'],data),buyer_address_subdivision:pathOr(null,['buyer','subdivision'],data),buyer_address_postcode:pathOr('',['buyer','postcode'],data),buyer_address_street:pathOr('',['buyer','street'],data),buyer_company_number:pathOr('',['buyer','company_number'],data),buyer_company_name:pathOr(null,['contact_id'],data),buyer_name:pathOr('',['buyer','name'],data),buyer_tax_number:pathOr('',['buyer','tax_number'],data),buyer_vat_number:pathOr('',['buyer','vat_number'],data),buyer_email:pathOr('',['buyer','email'],data),buyer_phone:pathOr('',['buyer','phone'],data),buyer_web:pathOr('',['buyer','web'],data),constant_symbol:data.constant_symbol,color:data.color,currency:data.currency,currency_vat_conversion:null,design:parseInt(data.design,10),due_in:pathOr('14',['due_in_api'],data),delivery_on:data!==null&&data!==void 0&&data.delivery_on?toDate(parseISO(data.delivery_on)):null,due_on_custom:toDate(parseISO(data.due_on)),foot_note:data.foot_note,issued_by:data.issued_by,issued_on:toDate(parseISO(data.issued_on)),kind:data.kind,language:data.language,lines:parseLines(data.lines),logo:pathOr('',['logo','url'],data),logo_id:pathOr('',['logo_id'],data),means_of_payment:data.means_of_payment,note:data.note,payment_symbol:data.payment_symbol,specific_symbol:data.specific_symbol,rounding_type:data.rounding_type,reference:data.reference,seller_id:pathOr(null,['seller','id'],data),seller_address_city:pathOr('',['seller','city'],data),seller_address_country_code:pathOr(null,['seller','country_code'],data),seller_address_subdivision:pathOr(null,['seller','subdivision'],data),seller_address_postcode:pathOr('',['seller','postcode'],data),seller_address_street:pathOr('',['seller','street'],data),seller_bank_account_iban:pathOr('',['seller','iban'],data),seller_bank_account_number:pathOr('',['seller','bank_account_number'],data),seller_bank_account_show_iban:pathOr(null,['seller','show_iban'],data),seller_bank_account_swift:pathOr('',['seller','swift'],data),seller_bank_account_routing_number:pathOr('',['seller','routing_number'],data),seller_bank_account_sort_code:pathOr('',['seller','sort_code'],data),seller_company_number:pathOr('',['seller','company_number'],data),seller_name:pathOr('',['seller','name'],data),seller_tax_number:pathOr('',['seller','tax_number'],data),seller_vat_number:pathOr('',['seller','vat_number'],data),seller_email:pathOr('',['seller','email'],data),seller_phone:pathOr('',['seller','phone'],data),seller_web:pathOr('',['seller','web'],data),show_qr_code:data.show_qr_code,stamp:pathOr('',['stamp','url'],data),state:data.state,stamp_id:pathOr('',['stamp_id'],data),tax_point_on:toDate(parseISO(data.tax_point_on)),vat_calculation:data.vat_calculation,eet:data.eet,register_eet:data.register_eet,credit_noted_invoice_id:data.credit_noted_invoice_id,recurring_profile:data.recurring_profile,recurring_draft:data.recurring_draft,recurring_end_options:data.recurring_end_options,recurring_frequency:data.recurring_frequency,recurring_ends_on:data!==null&&data!==void 0&&data.recurring_ends_on?toDate(parseISO(data.recurring_ends_on)):null,recurring_ends_after_count:data.recurring_ends_after_count,recurring_issue_last_day:data.recurring_issue_last_day,recurring_auto_submit:data.recurring_auto_submit,recurring_submit_copy:data.recurring_submit_copy,vat_totals_currency_conversion:data.vat_totals_currency_conversion};if(pathOr(false,['number'],data)){result.number=data.number;}if(pathOr(false,['number'],data)){result.registration_number=data.registration_number;}if(data.id){result.id=data.id;}if(pathOr(false,['logo','thumb','url'],data)){result.logo=[{url:data.logo.thumb.url,name:data.logo.filename}];}if(pathOr(false,['stamp','thumb','url'],data)){result.stamp=[{url:data.stamp.thumb.url,name:data.stamp.filename}];}return result;}","import _curry2 from './internal/_curry2.js';\n/**\n * Returns a partial copy of an object omitting the keys specified.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [String] -> {String: *} -> {String: *}\n * @param {Array} names an array of String property names to omit from the new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with properties from `names` not on it.\n * @see R.pick\n * @example\n *\n * R.omit(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, c: 3}\n */\n\nvar omit =\n/*#__PURE__*/\n_curry2(function omit(names, obj) {\n var result = {};\n var index = {};\n var idx = 0;\n var len = names.length;\n\n while (idx < len) {\n index[names[idx]] = 1;\n idx += 1;\n }\n\n for (var prop in obj) {\n if (!index.hasOwnProperty(prop)) {\n result[prop] = obj[prop];\n }\n }\n\n return result;\n});\n\nexport default omit;","function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");}function _iterableToArrayLimit(arr,i){var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break;}}catch(err){_d=true;_e=err;}finally{try{if(!_n&&_i[\"return\"]!=null)_i[\"return\"]();}finally{if(_d)throw _e;}}return _arr;}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}import{omit,equals}from'ramda';export var equalsState=function equalsState(state,defaultState){var ignoredFields=['fieldsDisabled','id','visibilities','lines','logo_id','stamp_id','should_be_registered?','locked?','dialogOpened'];var filteredDefaultState=omit(ignoredFields,defaultState);var filteredState=omit(ignoredFields,state);return equals(filteredState,filteredDefaultState);};var nullToEmptyString=function nullToEmptyString(obj){return Object.entries(obj).reduce(function(newObj,_ref){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];newObj[key]=value===null?'':value;return newObj;},{});};export var isDefaultLine=function isDefaultLine(line,defaultLine){var customIgnored=arguments.length>2&&arguments[2]!==undefined?arguments[2]:null;var ignoredFields=customIgnored===null?['id']:customIgnored;var filteredDefaultLine=omit(ignoredFields,nullToEmptyString(defaultLine));var filteredLine=omit(ignoredFields,nullToEmptyString(line));return equals(filteredLine,filteredDefaultLine);};","function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{path}from'ramda';export var checkAttachments=function checkAttachments(state,kind){var key=\"\".concat(kind,\"_id\");if(path(['response','id'],state[kind][0])){return _defineProperty({},key,state[kind][0].response.id);}if(state[key]){return _defineProperty({},key,state[key]);}return{};};","import _curry1 from './internal/_curry1.js';\nimport curryN from './curryN.js';\n/**\n * Returns a curried equivalent of the provided function. The curried function\n * has two unusual capabilities. First, its arguments needn't be provided one\n * at a time. If `f` is a ternary function and `g` is `R.curry(f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (* -> a) -> (* -> a)\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curryN, R.partial\n * @example\n *\n * const addFourNumbers = (a, b, c, d) => a + b + c + d;\n *\n * const curriedAddFourNumbers = R.curry(addFourNumbers);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n */\n\nvar curry =\n/*#__PURE__*/\n_curry1(function curry(fn) {\n return curryN(fn.length, fn);\n});\n\nexport default curry;","import _curry3 from './internal/_curry3.js';\n/**\n * Tests the final argument by passing it to the given predicate function. If\n * the predicate is satisfied, the function will return the result of calling\n * the `whenTrueFn` function with the same argument. If the predicate is not\n * satisfied, the argument is returned as is.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Logic\n * @sig (a -> Boolean) -> (a -> a) -> a -> a\n * @param {Function} pred A predicate function\n * @param {Function} whenTrueFn A function to invoke when the `condition`\n * evaluates to a truthy value.\n * @param {*} x An object to test with the `pred` function and\n * pass to `whenTrueFn` if necessary.\n * @return {*} Either `x` or the result of applying `x` to `whenTrueFn`.\n * @see R.ifElse, R.unless, R.cond\n * @example\n *\n * // truncate :: String -> String\n * const truncate = R.when(\n * R.propSatisfies(R.gt(R.__, 10), 'length'),\n * R.pipe(R.take(10), R.append('…'), R.join(''))\n * );\n * truncate('12345'); //=> '12345'\n * truncate('0123456789ABC'); //=> '0123456789…'\n */\n\nvar when =\n/*#__PURE__*/\n_curry3(function when(pred, whenTrueFn, x) {\n return pred(x) ? whenTrueFn(x) : x;\n});\n\nexport default when;","export default function _pipe(f, g) {\n return function () {\n return g.call(this, f.apply(this, arguments));\n };\n}","import _curry3 from './internal/_curry3.js';\nimport _reduce from './internal/_reduce.js';\n/**\n * Returns a single item by iterating through the list, successively calling\n * the iterator function and passing it an accumulator value and the current\n * value from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It may use\n * [`R.reduced`](#reduced) to shortcut the iteration.\n *\n * The arguments' order of [`reduceRight`](#reduceRight)'s iterator function\n * is *(value, acc)*.\n *\n * Note: `R.reduce` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.reduce` method. For more details\n * on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description\n *\n * Dispatches to the `reduce` method of the third argument, if present. When\n * doing so, it is up to the user to handle the [`R.reduced`](#reduced)\n * shortcuting, as this is not implemented by `reduce`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduced, R.addIndex, R.reduceRight\n * @example\n *\n * R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10\n * // - -10\n * // / \\ / \\\n * // - 4 -6 4\n * // / \\ / \\\n * // - 3 ==> -3 3\n * // / \\ / \\\n * // - 2 -1 2\n * // / \\ / \\\n * // 0 1 0 1\n *\n * @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)\n */\n\nvar reduce =\n/*#__PURE__*/\n_curry3(_reduce);\n\nexport default reduce;","import _isArray from './_isArray.js';\n/**\n * This checks whether a function has a [methodname] function. If it isn't an\n * array it will execute that function otherwise it will default to the ramda\n * implementation.\n *\n * @private\n * @param {Function} fn ramda implemtation\n * @param {String} methodname property to check for a custom implementation\n * @return {Object} Whatever the return value of the method is.\n */\n\nexport default function _checkForMethod(methodname, fn) {\n return function () {\n var length = arguments.length;\n\n if (length === 0) {\n return fn();\n }\n\n var obj = arguments[length - 1];\n return _isArray(obj) || typeof obj[methodname] !== 'function' ? fn.apply(this, arguments) : obj[methodname].apply(obj, Array.prototype.slice.call(arguments, 0, length - 1));\n };\n}","import _checkForMethod from './internal/_checkForMethod.js';\nimport _curry3 from './internal/_curry3.js';\n/**\n * Returns the elements of the given list or string (or object with a `slice`\n * method) from `fromIndex` (inclusive) to `toIndex` (exclusive).\n *\n * Dispatches to the `slice` method of the third argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @sig Number -> Number -> String -> String\n * @param {Number} fromIndex The start index (inclusive).\n * @param {Number} toIndex The end index (exclusive).\n * @param {*} list\n * @return {*}\n * @example\n *\n * R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']\n * R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']\n * R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(0, 3, 'ramda'); //=> 'ram'\n */\n\nvar slice =\n/*#__PURE__*/\n_curry3(\n/*#__PURE__*/\n_checkForMethod('slice', function slice(fromIndex, toIndex, list) {\n return Array.prototype.slice.call(list, fromIndex, toIndex);\n}));\n\nexport default slice;","import _checkForMethod from './internal/_checkForMethod.js';\nimport _curry1 from './internal/_curry1.js';\nimport slice from './slice.js';\n/**\n * Returns all but the first element of the given list or string (or object\n * with a `tail` method).\n *\n * Dispatches to the `slice` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.head, R.init, R.last\n * @example\n *\n * R.tail([1, 2, 3]); //=> [2, 3]\n * R.tail([1, 2]); //=> [2]\n * R.tail([1]); //=> []\n * R.tail([]); //=> []\n *\n * R.tail('abc'); //=> 'bc'\n * R.tail('ab'); //=> 'b'\n * R.tail('a'); //=> ''\n * R.tail(''); //=> ''\n */\n\nvar tail =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_checkForMethod('tail',\n/*#__PURE__*/\nslice(1, Infinity)));\n\nexport default tail;","import _curry2 from './internal/_curry2.js';\n/**\n * Returns a new object that does not contain a `prop` property.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Object\n * @sig String -> {k: v} -> {k: v}\n * @param {String} prop The name of the property to dissociate\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original but without the specified property\n * @see R.assoc, R.omit\n * @example\n *\n * R.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}\n */\n\nvar dissoc =\n/*#__PURE__*/\n_curry2(function dissoc(prop, obj) {\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n delete result[prop];\n return result;\n});\n\nexport default dissoc;","import{dissoc,map,when,curry,pipe,is}from'ramda';var removeKey=curry(function(key,obj){return map(when(is(Object),pipe(dissoc(key),removeKey(key))),obj);});export var removeIds=removeKey('id');","import _arity from './internal/_arity.js';\nimport _pipe from './internal/_pipe.js';\nimport reduce from './reduce.js';\nimport tail from './tail.js';\n/**\n * Performs left-to-right function composition. The leftmost function may have\n * any arity; the remaining functions must be unary.\n *\n * In some libraries this function is named `sequence`.\n *\n * **Note:** The result of pipe is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)) -> ((a, b, ..., n) -> z)\n * @param {...Function} functions\n * @return {Function}\n * @see R.compose\n * @example\n *\n * const f = R.pipe(Math.pow, R.negate, R.inc);\n *\n * f(3, 4); // -(3^4) + 1\n * @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))\n */\n\nexport default function pipe() {\n if (arguments.length === 0) {\n throw new Error('pipe requires at least one argument');\n }\n\n return _arity(arguments[0].length, reduce(_pipe, arguments[0], tail(arguments)));\n}","var _excluded=[\"identifier\"];function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key];}}return target;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\");}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||Object.prototype.toString.call(iter)===\"[object Arguments]\")return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}}import structuredClone from'@ungap/structured-clone';import{getField,updateField}from'vuex-map-fields';import{pathOr,pick,without}from'ramda';import{format}from'date-fns';import{MSG_INVOICE_CREATING,MSG_INVOICE_CREATE_ERROR}from'~/config/flashMessagesConstants';import isForcedEetAtPayment from'~/lib/validators/isForcedEetAtPayment';import uuid from'uuid-random';import{COUNTRY_CODES}from'~/config/constants';import i18n from'~/i18n';/* eslint no-underscore-dangle: \"off\" */import{getFormVisibilities,getFieldsDisabled,getDefaultValues,getDefaultValue as _getDefaultValue,getInvoiceFormConfig,getFormValidations}from'~/config/formConfig';import{buyerAndSellerCountryIsEq}from'~/lib/formConfigHelpers';import{mapInvoiceDataToForm,replaceEmptyDataWithDefault,checkAttachments,isDefaultLine,removeIds}from'./helpers';var ROOT_KEYS=['color','constant_symbol','conversion_rate_message','credit_noted_invoice_id','currency','design','due_in','due_on_custom','foot_note','issued_by','kind','language','logo','means_of_payment','note','number','payment_symbol','specific_symbol','reference','registration_number','rounding_type','settlement_method','show_qr_code','stamp','vat_calculation','vat_totals_currency_conversion'];var PARTNER_KEYS=['id','company_number','name','tax_number','vat_number'];var ADDRESS_KEYS=['street','city','postcode','country_code','subdivision'];var BANK_KEYS=['number','show_iban','iban','swift','sort_code','routing_number'];var CONTACT_KEYS=['email','phone','web'];export var defaultValues=getDefaultValues('invoiceForm');// root state object.\nexport var defaultState=function defaultState(){return structuredClone({buildComplete:false,buyer_address_city:defaultValues.buyer_address_city,buyer_address_country_code:defaultValues.buyer_address_country_code,buyer_address_subdivision:defaultValues.buyer_address_subdivision,buyer_address_postcode:defaultValues.buyer_address_postcode,buyer_address_street:defaultValues.buyer_address_street,buyer_company_name:'',buyer_company_number:defaultValues.buyer_company_number,buyer_email:defaultValues.buyer_email,buyer_history_list:defaultValues.buyer_history_list,buyer_id:null,buyer_name:defaultValues.buyer_name,buyer_phone:defaultValues.buyer_phone,buyer_tax_number:defaultValues.buyer_tax_number,buyer_vat_number:defaultValues.buyer_vat_number,buyer_web:defaultValues.buyer_web,color:defaultValues.color,constant_symbol:defaultValues.constant_symbol,conversion_rate_message:defaultValues.conversion_rate_message,currency:defaultValues.currency,delivery_on:defaultValues.delivery_on,design:defaultValues.design,dialogOpened:false,due_in:defaultValues.due_in,due_on_custom:defaultValues.due_on_custom,eet_invoice:defaultValues.eet_invoice,eet:{},fieldsDisabled:{},foot_note:defaultValues.foot_note,id:false,issued_by:defaultValues.issued_by,issued_on:defaultValues.issued_on,kind:defaultValues.kind,language:defaultValues.language,lines:defaultValues.lines,logo:defaultValues.logo,means_of_payment:defaultValues.means_of_payment,note:defaultValues.note,number:defaultValues.number,payment_symbol:defaultValues.payment_symbol,specific_symbol:defaultValues.specific_symbol,recurring_auto_submit:false,recurring_draft:false,recurring_enabled:false,recurring_end_options:'never',recurring_ends_after_count:null,recurring_ends_on:null,recurring_frequency:'monthly',recurring_issue_last_day:false,recurring_profile:false,recurring_submit_copy:false,reference:defaultValues.reference,register_eet:defaultValues.register_eet,registration_number:defaultValues.registration_number,remove_logo:false,remove_stamp:false,rounding_type:defaultValues.rounding_type,seller_address_city:defaultValues.seller_address_city,seller_address_country_code:defaultValues.seller_address_country_code,seller_address_subdivision:defaultValues.seller_address_subdivision,seller_address_postcode:defaultValues.seller_address_postcode,seller_address_street:defaultValues.seller_address_street,seller_bank_account_iban:defaultValues.seller_bank_account_iban,seller_bank_account_number:defaultValues.seller_bank_account_number,seller_bank_account_routing_number:defaultValues.seller_bank_account_routing_number,seller_bank_account_show_iban:defaultValues.seller_bank_account_show_iban,seller_bank_account_sort_code:defaultValues.seller_bank_account_sort_code,seller_bank_account_swift:defaultValues.seller_bank_account_swift,seller_company_number:defaultValues.seller_company_number,seller_email:defaultValues.seller_email,seller_id:null,seller_name:defaultValues.seller_name,seller_phone:defaultValues.seller_phone,seller_tax_number:defaultValues.seller_tax_number,seller_vat_number:defaultValues.seller_vat_number,seller_web:defaultValues.seller_web,settlement_method:null,show_qr_code:defaultValues.show_qr_code,stamp:defaultValues.stamp,state:null,tax_point_on:defaultValues.tax_point_on,vat_calculation:defaultValues.vat_calculation,vat_totals_currency_conversion:defaultValues.vat_totals_currency_conversion,visibilities:{},phoneValidations:{seller:null,buyer:null}});};var mutations={updateField:updateField,setSequences:function setSequences(state,number){state.number=number;state.registration_number=number;state.payment_symbol=number.replace(/\\D/g,'');},checkLinesForLanguage:function checkLinesForLanguage(state){if(isDefaultLine(state.lines[0],defaultValues.lines[0],['id','unit_type'])){state.lines[0].unit_type=i18n.t('invoice.unit',state.language);}},openPremiumDialog:function openPremiumDialog(state,type){state.dialogOpened=type;},closePremiumDialog:function closePremiumDialog(state){state.dialogOpened=false;},resetState:function resetState(state){Object.assign(state,defaultState());},updatePhoneValidations:function updatePhoneValidations(state,data){state.phoneValidations[data.name]=data.value;},updateStoreValue:function updateStoreValue(state,data){state[data.name]=data.value;},updateStoreValues:function updateStoreValues(state,data){data.forEach(function(_ref){var name=_ref.name,value=_ref.value;state[name]=value;});},setContactData:function setContactData(state,action){var data=action.payload.data;Object.keys(data).forEach(function(key){if(key==='id'){return;}if(['street','city','postcode','country_code','subdivision'].includes(key)){if(data[key]!==null){state[\"buyer_address_\".concat(key)]=data[key];}}else{state[\"buyer_\".concat(key)]=data[key];}});},addInvoiceItem:function addInvoiceItem(state){var discountData=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var lines=state.lines.filter(function(line){return line._destroy===false;});var lastLine=lines[lines.length-1];state.lines=[].concat(_toConsumableArray(state.lines),[_objectSpread(_objectSpread({identifier:uuid(),quantity:1,unit_type:(lastLine===null||lastLine===void 0?void 0:lastLine.unit_type)||defaultValues.lines[0].unit_type,description:'',vat_rate:(lastLine===null||lastLine===void 0?void 0:lastLine.vat_rate)||defaultValues.lines[0].vat_rate,price:0,discount_amount:0,discount_kind:'percentage',is_discount_line:null},discountData),{},{_destroy:false})]);},applyDiscount:function applyDiscount(state,_ref2){var index=_ref2.index,discountData=_ref2.discountData,isDiscountLine=_ref2.isDiscountLine;var lineToUpdate=state.lines[index];state.lines.splice(index,1,_objectSpread(_objectSpread({},lineToUpdate),{},{discount_amount:discountData.discount_amount,discount_kind:discountData.discount_kind,is_discount_line:isDiscountLine}));},duplicateInvoiceItem:function duplicateInvoiceItem(state,index){var newItem=_objectSpread(_objectSpread({},state.lines[index]),{},{identifier:uuid(),position:state.lines.length});if(newItem.id){delete newItem.id;}state.lines.push(newItem);},addSavedInvoiceItem:function addSavedInvoiceItem(state,payload){var description=payload.description,_payload$discountAmou=payload.discountAmount,discountAmount=_payload$discountAmou===void 0?0:_payload$discountAmou,_payload$discountKind=payload.discountKind,discountKind=_payload$discountKind===void 0?'percentage':_payload$discountKind,_payload$isDiscountLi=payload.isDiscountLine,isDiscountLine=_payload$isDiscountLi===void 0?null:_payload$isDiscountLi,price=payload.price,_payload$quantity=payload.quantity,quantity=_payload$quantity===void 0?1:_payload$quantity,unitType=payload.unitType,vatRate=payload.vatRate;var alreadyAdded=false;var unchangedLine=defaultValues.lines[0];var newLine={quantity:quantity,unit_type:unitType,description:description,vat_rate:vatRate,discount_amount:discountAmount,discount_kind:discountKind,is_discount_line:isDiscountLine,price:price,_destroy:false};for(var i=0;i<state.lines.length;i+=1){if(isDefaultLine(state.lines[i],unchangedLine,['id','identifier','unit_type','position'])){Object.assign(state.lines[i],newLine);alreadyAdded=true;break;}}if(!alreadyAdded){state.lines.push(newLine);}},removeEmptyLines:function removeEmptyLines(state){var lines=state.lines.filter(function(line){return line._destroy===false;});var lastLine=lines[lines.length-1];if((lastLine===null||lastLine===void 0?void 0:lastLine.description)===''&&(lastLine===null||lastLine===void 0?void 0:lastLine.price)===0&&(lastLine===null||lastLine===void 0?void 0:lastLine.is_discount_line)===null){lastLine._destroy=true;}},removeInvoiceItem:function removeInvoiceItem(state,index){var line=state.lines[index];line._destroy=true;},setZeroVatRates:function setZeroVatRates(state){var newLines=state.lines.map(function(l){return _objectSpread(_objectSpread({},l),{},{vat_rate:0});});state.lines=newLines;},computeVisibilities:function computeVisibilities(state,_ref3){var rootState=_ref3.rootState;state.visibilities=getFormVisibilities(rootState,'invoiceForm');},computeFieldsDisabled:function computeFieldsDisabled(state,_ref4){var rootState=_ref4.rootState;state.fieldsDisabled=getFieldsDisabled(rootState,'invoiceForm');},getDefaultValue:function getDefaultValue(state,_ref5){var fieldName=_ref5.fieldName;state[fieldName]=_getDefaultValue(state,'invoiceForm',fieldName);},setCompanyData:function setCompanyData(state,action){var partyType=action.payload.meta.partyType;if(state[\"\".concat(partyType,\"_bank_account_number\")]===''){state[\"\".concat(partyType,\"_bank_account_number\")]=action.payload.data.bank_account;}state[\"\".concat(partyType,\"_address_city\")]=action.payload.data.address_city;state[\"\".concat(partyType,\"_address_postcode\")]=action.payload.data.address_postcode;state[\"\".concat(partyType,\"_address_street\")]=action.payload.data.address_street;state[\"\".concat(partyType,\"_company_number\")]=action.payload.data.reg_no;state[\"\".concat(partyType,\"_name\")]=action.payload.data.name;state[\"\".concat(partyType,\"_tax_number\")]=action.payload.data.vat_no;state[\"\".concat(partyType,\"_vat_number\")]=action.payload.data.tax_no;},setInvoiceData:function setInvoiceData(state,action){var data=pathOr(action.payload.data,['payload','data','invoice'],action);Object.assign(state,replaceEmptyDataWithDefault(state,mapInvoiceDataToForm(data)));state.register_eet=isForcedEetAtPayment(data.means_of_payment);state['should_be_registered?']=data['should_be_registered?'];state['locked?']=data['locked?'];state.buildComplete=true;},updateLinesPositions:function updateLinesPositions(state,data){var newLines=_toConsumableArray(state.lines);data.forEach(function(item){var currentLine=newLines.find(function(line){return line.identifier===item.identifier;});if(currentLine)currentLine.position=item.position;});state.lines=newLines;},removeLineDiscount:function removeLineDiscount(state,index){var line=state.lines[index];Object.assign(line,{discount_amount:0,discount_kind:'percentage',is_discount_line:null});},setDefaultKind:function setDefaultKind(state){state.kind=defaultValues.kind;}};var actions={setDefaultKind:function setDefaultKind(_ref6){var commit=_ref6.commit;commit('setDefaultKind');},setSequences:function setSequences(_ref7,payload){var commit=_ref7.commit;commit('setSequences',payload.nextInvoiceNumber);},checkLinesForLanguage:function checkLinesForLanguage(_ref8){var commit=_ref8.commit;commit('checkLinesForLanguage');},closePremiumDialog:function closePremiumDialog(_ref9){var commit=_ref9.commit;commit('closePremiumDialog');},openPremiumDialog:function openPremiumDialog(_ref10,kind){var commit=_ref10.commit;commit('openPremiumDialog',kind);},openPremiumDialogDownload:function openPremiumDialogDownload(_ref11){var commit=_ref11.commit;commit('openPremiumDialog','download');},addInvoiceItem:function addInvoiceItem(_ref12){var commit=_ref12.commit;commit('addInvoiceItem');},duplicateInvoiceItem:function duplicateInvoiceItem(_ref13,index){var commit=_ref13.commit;commit('duplicateInvoiceItem',index);},addSavedInvoiceItem:function addSavedInvoiceItem(_ref14,data){var commit=_ref14.commit,dispatch=_ref14.dispatch;return new Promise(function(resolve){commit('addSavedInvoiceItem',data);dispatch('analytics/trackEvent',{analytics:{action:'item',category:'savedLines',label:'addToInvoice'}},{root:true});resolve();});},addInvoiceItemWithData:function addInvoiceItemWithData(_ref15,data){var commit=_ref15.commit;var transformedData={description:data.description,discountAmount:data.discount_amount,discountKind:data.discount_kind,isDiscountLine:data.is_discount_line,price:parseInt(data.price,10),quantity:parseInt(data.quantity,10),unitType:data.unit_type,vatRate:parseInt(data.vat_rate,10)};commit('addSavedInvoiceItem',transformedData);},updateStoreValue:function updateStoreValue(_ref16,data){var commit=_ref16.commit;commit('updateStoreValue',data);},updateStoreValues:function updateStoreValues(_ref17,data){var commit=_ref17.commit;commit('updateStoreValues',data);},updatePhoneValidations:function updatePhoneValidations(_ref18,data){var commit=_ref18.commit;commit('updatePhoneValidations',data);},computeVisibilities:function computeVisibilities(_ref19){var commit=_ref19.commit,rootState=_ref19.rootState;commit('computeVisibilities',{rootState:rootState});},computeFieldsDisabled:function computeFieldsDisabled(_ref20){var commit=_ref20.commit,rootState=_ref20.rootState;commit('computeFieldsDisabled',{rootState:rootState});},getDefaultValue:function getDefaultValue(_ref21,_ref22){var commit=_ref21.commit;var fieldName=_ref22.fieldName;commit('getDefaultValue',{fieldName:fieldName});},fetchContactData:function fetchContactData(_ref23,id){var commit=_ref23.commit,rootGetters=_ref23.rootGetters;commit('api/fetch',{url:\"/contacts/\".concat(id),method:'GET',headers:rootGetters['auth/getHeaders'],onSuccess:['invoiceForm/setContactData']},{root:true});},setContactData:function setContactData(_ref24,payload){var commit=_ref24.commit;commit('setContactData',payload);},setCompanyData:function setCompanyData(_ref25,payload){var commit=_ref25.commit;commit('setCompanyData',payload);},setCompanyDataLoading:function setCompanyDataLoading(_ref26,payload){var commit=_ref26.commit;commit('setCompanyDataLoading',payload);},setInvoiceData:function setInvoiceData(_ref27,payload){var commit=_ref27.commit;commit('setInvoiceData',payload);},previewInvoice:function previewInvoice(_ref28,options){var commit=_ref28.commit,getters=_ref28.getters,rootGetters=_ref28.rootGetters;var dataWithoutIds=removeIds(getters.invoiceApiData);commit('api/fetch',{url:'/invoices.pdf',method:'POST',responseType:'blob',body:{invoice:dataWithoutIds,preview:true},headers:rootGetters['auth/getHeaders'],onSuccess:['invoiceForm/setInvoiceData','invoiceForm/createInvoiceSuccess',{type:'analytics/trackEvent',analytics:{action:'new',category:'invoice',label:'preview'}}],options:options},{root:true});},createInvoice:function createInvoice(_ref29,options){var commit=_ref29.commit,getters=_ref29.getters,rootGetters=_ref29.rootGetters,dispatch=_ref29.dispatch;return new Promise(function(resolve,reject){dispatch('removeEmptyLines',{root:true});dispatch('uiEffects/scrollTo',{top:0,left:0},{root:true});dispatch('flashMessages/addMessage',MSG_INVOICE_CREATING,{root:true});var submittedAt=options.action==='saveAndDownload'&&getters.shouldSetSubmittedAt?{submitted_at:new Date()}:{};commit('api/fetch',{url:getters.invoiceApiUrl,method:getters.invoiceApiMethod,body:{invoice:_objectSpread(_objectSpread({},getters.invoiceApiData),submittedAt)},headers:rootGetters['auth/getHeaders'],promise:{resolve:resolve,reject:reject},onSuccess:['invoiceForm/setInvoiceData','invoiceForm/createInvoiceSuccess',{type:'analytics/trackEvent',analytics:{action:'new',category:'invoice',label:options.action}}],onError:['invoiceForm/createInvoiceError'],options:options},{root:true});});},buildInvoice:function buildInvoice(_ref30,_ref31){var commit=_ref30.commit,rootGetters=_ref30.rootGetters;var invoiceId=_ref31.invoiceId,type=_ref31.type;commit('api/fetch',{url:\"/invoices/\".concat(invoiceId,\"/\").concat(type),method:'GET',headers:rootGetters['auth/getHeaders'],onSuccess:['invoiceForm/setInvoiceData'],onError:[]},{root:true});},resetState:function resetState(_ref32){var commit=_ref32.commit,dispatch=_ref32.dispatch;commit('resetState');dispatch('computeVisibilities');dispatch('computeFieldsDisabled');},removeEmptyLines:function removeEmptyLines(_ref33){var commit=_ref33.commit;commit('removeEmptyLines');},createInvoiceSuccess:function createInvoiceSuccess(_ref34,action){var dispatch=_ref34.dispatch;var options=action.payload.meta.options;if(options.action==='preview'){dispatch({type:'invoices/invoicePreview',blob:action.payload.data},{root:true});}if(options.action==='saveAndDownload'||options.action==='download'){var onSuccess=['file/downloadFile'];dispatch('downloadInvoice',{id:action.payload.data.invoice_id,onSuccess:onSuccess});}dispatch('flashMessages/addMessage',{key:'invoiceCreateSuccess',kind:'success',params:{invoice_number:action.payload.data.invoice.number}},{root:true});},downloadInvoice:function downloadInvoice(_ref35,option){var dispatch=_ref35.dispatch;dispatch('removeEmptyLines',{root:true});dispatch(_objectSpread({type:'invoices/invoiceDownload'},option),{root:true});},createInvoiceError:function createInvoiceError(_ref36){var dispatch=_ref36.dispatch;dispatch('flashMessages/addMessage',MSG_INVOICE_CREATE_ERROR,{root:true});},updateLinesPositions:function updateLinesPositions(_ref37,payload){var commit=_ref37.commit;commit('updateLinesPositions',payload);},removeInvoiceDiscount:function removeInvoiceDiscount(_ref38){var commit=_ref38.commit,getters=_ref38.getters,state=_ref38.state;var InvoiceWideDiscountLine=getters.InvoiceWideDiscountLine;if(InvoiceWideDiscountLine){var lineIndex=state.lines.findIndex(function(line){return line===InvoiceWideDiscountLine;});if(lineIndex!==-1){commit('removeInvoiceItem',lineIndex);}}},removeLineDiscount:function removeLineDiscount(_ref39,index){var commit=_ref39.commit;commit('removeLineDiscount',index);}};/* eslint-disable no-shadow */var getters={getField:getField,validationRules:function validationRules(state){return getFormValidations(getInvoiceFormConfig(state));},buildComplete:function buildComplete(state){return state.buildComplete;},invoice:function invoice(state){return state;},invoiceId:function invoiceId(state){return state.id;},shouldSetSubmittedAt:function shouldSetSubmittedAt(state){return state.state==='proposal'||state.state===null;},visibilities:function visibilities(state){return state.visibilities;},fieldsDisabled:function fieldsDisabled(state){return state.fieldsDisabled;},kindOptions:function kindOptions(state){return state.kindOptions;},meansOfPaymentOptions:function meansOfPaymentOptions(state){return state.meansOfPaymentOptions;},linesWithoutDeleted:function linesWithoutDeleted(state){return state.lines.filter(function(item){return item._destroy!==true;});},sortedLines:function sortedLines(state){return state.lines.sort(function(a,b){return a.position-b.position;});},bankApiData:function bankApiData(state){return function(prefix){var response={};var useIban=state[\"\".concat(prefix,\"_bank_account_show_iban\")]===true;BANK_KEYS.forEach(function(key){var _state$;var responseKey=key==='number'?'bank_account_number':key;response[responseKey]=(_state$=state[\"\".concat(prefix,\"_bank_account_\").concat(key)])!==null&&_state$!==void 0?_state$:null;if(useIban===false&&['iban','swift'].some(function(item){return item===key;})){response[responseKey]=null;}if(!buyerAndSellerCountryIsEq(state,COUNTRY_CODES.EN)){response.routing_number=null;}if(!buyerAndSellerCountryIsEq(state,COUNTRY_CODES.GB)){response.sort_code=null;}});return response;};},contactData:function contactData(state){return function(prefix){var response={};CONTACT_KEYS.forEach(function(key){response[key]=state[\"\".concat(prefix,\"_\").concat(key)]||null;});return response;};},addressApiData:function addressApiData(state){return function(prefix){var response={};ADDRESS_KEYS.forEach(function(key){response[key]=state[\"\".concat(prefix,\"_address_\").concat(key)]||null;});return response;};},partnerApiData:function partnerApiData(state,getters){return function(prefix){var response={};PARTNER_KEYS.forEach(function(key){if(key==='vat_number'&&state[\"\".concat(prefix,\"_address_country_code\")]!==COUNTRY_CODES.SK){response[key]=null;return;}response[key]=state[\"\".concat(prefix,\"_\").concat(key)]||null;});return _objectSpread(_objectSpread(_objectSpread(_objectSpread({},response),getters.addressApiData(prefix)),getters.bankApiData(prefix)),getters.contactData(prefix));};},recurringApiData:function recurringApiData(state){if(state.recurring_enabled===true||state.recurring_profile===true){return{recurring_profile_attributes:{end_options:state.recurring_end_options,frequency:state.recurring_frequency,ends_on:state.recurring_ends_on,ends_after_count:state.recurring_ends_after_count,issue_last_day:state.recurring_issue_last_day,auto_submit:state.recurring_auto_submit,submit_copy:state.recurring_submit_copy}};}return{};},dueOnApiData:function dueOnApiData(state){return state.due_in==='custom'?{due_on_localized:format(state.due_on_custom,'dd. MM. yyyy')}:{due_in:state.due_in};},deliveryOnData:function deliveryOnData(state){return(state===null||state===void 0?void 0:state.delivery_on)!==null?{delivery_on:format(state.delivery_on,'dd. MM. yyyy')}:{};},getStamp:function getStamp(state){return checkAttachments(state,'stamp');},getStampUrl:function getStampUrl(state){var _state$stamp$;return state===null||state===void 0?void 0:(_state$stamp$=state.stamp[0])===null||_state$stamp$===void 0?void 0:_state$stamp$.url;},getLogo:function getLogo(state){return checkAttachments(state,'logo');},getLogoUrl:function getLogoUrl(state){var _state$logo$;return state===null||state===void 0?void 0:(_state$logo$=state.logo[0])===null||_state$logo$===void 0?void 0:_state$logo$.url;},invoiceAttachments:function invoiceAttachments(state,getters){var logo=state.remove_logo?{remove_logo_id:state.remove_logo}:_objectSpread({},getters.getLogo);var stamp=state.remove_stamp?{remove_stamp_id:state.remove_stamp}:_objectSpread({},getters.getStamp);return _objectSpread(_objectSpread({},stamp),logo);},vatTotalCurrency:function vatTotalCurrency(state){return state.vat_totals_currency_conversion?'CZK':'';},invoiceApiUrl:function invoiceApiUrl(state){return state.id?\"/invoices/\".concat(state.id):'/invoices';},shouldBeRegistered:function shouldBeRegistered(state){return pathOr(null,['eet','should_be_registered?'],state);},isLocked:function isLocked(state){return pathOr(null,['eet','locked?'],state);},invoiceApiMethod:function invoiceApiMethod(state){return state.id?'PUT':'POST';},invoiceApiData:function invoiceApiData(state,getters,rootState){if(!state)return{};var registerEet=rootState.config.subscription['eet_enabled?']?state.register_eet:false;return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({},pick(without(['due_in','due_on_custom','conversion_rate_message','logo','stamp','currency_vat_conversion'],ROOT_KEYS),state)),getters.deliveryOnData),getters.dueOnApiData),getters.invoiceAttachments),{},{contact_id:state.buyer_company_name,vat_totals_currency:getters.vatTotalCurrency,issued_on:format(state.issued_on,'dd. MM. yyyy'),tax_point_on:format(state.tax_point_on,'dd. MM. yyyy'),// eslint-disable-next-line no-unused-vars\nlines_attributes:state.lines.map(function(_ref40){var identifier=_ref40.identifier,line=_objectWithoutProperties(_ref40,_excluded);return line;}),buyer_attributes:getters.partnerApiData('buyer'),seller_attributes:getters.partnerApiData('seller')},getters.recurringApiData),{},{register_eet:registerEet});},InvoiceWideDiscountLine:function InvoiceWideDiscountLine(state){return state.lines.find(function(line){return!line._destroy&&line.is_discount_line===false;});}};/* eslint-enable no-shadow */export default{namespaced:true,state:defaultState(),getters:getters,actions:actions,mutations:mutations};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\");}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||Object.prototype.toString.call(iter)===\"[object Arguments]\")return Array.from(iter);}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}}import{FETCH_STATE_NONE,FETCH_STATE_PENDING,FETCH_STATE_SUCCESS,FETCH_STATE_ERROR}from'~/config/constants';var defaultState=function defaultState(){return{error:null,invoices:[],invoicesFetchState:FETCH_STATE_NONE,setStateInvoiceState:FETCH_STATE_NONE,fetchState:FETCH_STATE_NONE,requestParams:{searchQuery:null,searchOrder:{column:'issued_on',direction:'descending'},from:null,to:null,invoiceKind:null,period:null,onlyUnPaid:false,page:1,total_pages:1,invoicesForContact:null}};};export default{namespaced:true,state:defaultState(),mutations:{updateInvoicesData:function updateInvoicesData(state,action){var invoice=action.payload.data;var index=state.invoices.findIndex(function(item){return item.id===invoice.id;});Object.assign(state.invoices[index],invoice);},setFetchStarted:function setFetchStarted(state){state.fetchState=FETCH_STATE_PENDING;},setFetchSuccess:function setFetchSuccess(state){state.fetchState=FETCH_STATE_SUCCESS;},setFetchError:function setFetchError(state){state.fetchState=FETCH_STATE_ERROR;},setPaidStart:function setPaidStart(state){state.setStateInvoiceState=FETCH_STATE_PENDING;},setPaidSuccess:function setPaidSuccess(state){state.setStateInvoiceState=FETCH_STATE_SUCCESS;},setPaidError:function setPaidError(state){state.setStateInvoiceState=FETCH_STATE_ERROR;},getInvoicesSuccess:function getInvoicesSuccess(state,action){var _action$payload$heade=action.payload.headers,page=_action$payload$heade.page,totalPages=_action$payload$heade.total_pages;Object.assign(state.requestParams,{page:parseInt(page,0),total_pages:parseInt(totalPages,0)});Object.assign(state,action.payload.data);state.invoicesFetchState=FETCH_STATE_SUCCESS;},getInvoicesError:function getInvoicesError(state){Object.assign(state,defaultState());state.invoicesFetchState=FETCH_STATE_ERROR;},resetState:function resetState(state){Object.assign(state,defaultState());},setSearchParams:function setSearchParams(state,value){Object.assign(state.requestParams,value);},invoicesForContact:function invoicesForContact(state,value){Object.assign(state.requestParams,{invoicesForContact:value});}},actions:{/* eslint-disable no-empty-pattern */invoicesForContact:function invoicesForContact(_ref,id){var commit=_ref.commit;commit('invoicesForContact',id);},invoicePreview:function invoicePreview(_ref2,_ref3){var dispatch=_ref2.dispatch;var blob=_ref3.blob;if(window&&window.open){if(window.navigator&&window.navigator.msSaveOrOpenBlob){window.navigator.msSaveOrOpenBlob(blob);}else{var fileURL=window.URL.createObjectURL(blob);var newWindow=window.open('/preview');if(newWindow){newWindow.onload=function(){newWindow.location=fileURL;};}else{dispatch('file/downloadFile',{payload:{headers:{'content-disposition':\"attachment; filename='preview.pdf'; filename*=UTF-8''preview.pdf\"},data:blob}},{root:true});}}}},invoiceDownload:function invoiceDownload(_ref4,_ref5){var commit=_ref4.commit,rootGetters=_ref4.rootGetters;var id=_ref5.id,_ref5$format=_ref5.format,format=_ref5$format===void 0?'pdf':_ref5$format,_ref5$onSuccess=_ref5.onSuccess,onSuccess=_ref5$onSuccess===void 0?[]:_ref5$onSuccess,_ref5$persistent=_ref5.persistent,persistent=_ref5$persistent===void 0?true:_ref5$persistent,_ref5$exportType=_ref5.exportType,exportType=_ref5$exportType===void 0?null:_ref5$exportType,_ref5$messageKey=_ref5.messageKey,messageKey=_ref5$messageKey===void 0?'Invoice':_ref5$messageKey,_ref5$onFinish=_ref5.onFinish,onFinish=_ref5$onFinish===void 0?function(){}:_ref5$onFinish;commit('api/fetch',{url:\"/invoices/\".concat(id,\".\").concat(format),params:{export_type:exportType},method:'GET',responseType:'blob',headers:rootGetters['auth/getHeaders'],invoiceId:id,onSuccess:[{type:'flashMessages/addMessage',kind:'success',key:\"success\".concat(messageKey,\"Download\"),withTimeout:true,persistent:persistent}].concat(_toConsumableArray(onSuccess)),onError:[{type:'flashMessages/addMessage',kind:'error',key:\"error\".concat(messageKey,\"Download\")}],onFinish:onFinish},{root:true});},invoiceDownloadBatch:function invoiceDownloadBatch(_ref6,_ref7){var commit=_ref6.commit,rootGetters=_ref6.rootGetters;var ids=_ref7.ids,format=_ref7.format;commit('api/fetch',{url:'/invoices/batch',method:'POST',responseType:'blob',headers:rootGetters['auth/getHeaders'],onStart:['invoices/setFetchStarted',{type:'flashMessages/addMessage',kind:'success',key:'successInvoiceDownloadBatchStarted'}],onSuccess:['invoices/setFetchSuccess',{type:'flashMessages/addMessage',kind:'success',key:'successInvoiceDownloadBatch'},'file/downloadFile'],onError:['invoices/setFetchError',{type:'flashMessages/addMessage',kind:'error',key:'errorInvoiceDownloadBatch'}],body:{invoices:{ids:ids},batch_action:\"download_\".concat(format)}},{root:true});},invoicesReport:function invoicesReport(_ref8){var commit=_ref8.commit,rootGetters=_ref8.rootGetters;commit('api/fetch',{url:'/invoices/reports/last_year',method:'POST',headers:rootGetters['auth/getHeaders'],onSuccess:['api/setFetchSuccess',{type:'flashMessages/addMessage',kind:'success',key:'successGetReportBatch',params:{email:rootGetters['auth/getUserEmail']}}],onError:['api/setFetchError',{type:'flashMessages/addMessage',kind:'error',key:'errorGetReportBatch'}],body:{batch_action:'request_pdf_report'}},{root:true});},invoiceDeleteBatch:function invoiceDeleteBatch(_ref9,ids){var commit=_ref9.commit,rootGetters=_ref9.rootGetters;commit('api/fetch',{url:'/invoices/batch',method:'POST',headers:rootGetters['auth/getHeaders'],onSuccess:[{type:'flashMessages/addMessage',kind:'success',key:'successInvoiceDeleteBatch'},'api/refetchInvoices'],onError:[{type:'flashMessages/addMessage',kind:'error',key:'errorInvoiceDeleteBatch'}],body:{invoices:{ids:ids},batch_action:'destroy'}},{root:true});},invoicePayBatch:function invoicePayBatch(_ref10,ids){var commit=_ref10.commit,rootGetters=_ref10.rootGetters;commit('api/fetch',{url:'/invoices/batch',method:'POST',headers:rootGetters['auth/getHeaders'],onSuccess:[{type:'flashMessages/addMessage',kind:'success',key:'successInvoicePayBatch'},{type:'api/refetchInvoicesByIds',ids:ids}],onError:[{type:'flashMessages/addMessage',kind:'error',key:'errorInvoicePayBatch'}],body:{invoices:{ids:ids},batch_action:'pay'}},{root:true});},invoiceUnPayBatch:function invoiceUnPayBatch(_ref11,ids){var commit=_ref11.commit,rootGetters=_ref11.rootGetters;commit('api/fetch',{url:'/invoices/batch',method:'POST',headers:rootGetters['auth/getHeaders'],onSuccess:[{type:'flashMessages/addMessage',kind:'success',key:'successInvoiceUnPayBatch'},{type:'api/refetchInvoicesByIds',ids:ids}],onError:[{type:'flashMessages/addMessage',kind:'error',key:'errorInvoiceUnPayBatch'}],body:{invoices:{ids:ids},batch_action:'unpay'}},{root:true});},resetState:function resetState(_ref12){var commit=_ref12.commit;commit('resetState');},getNewInvoice:function getNewInvoice(_ref13){var commit=_ref13.commit,rootGetters=_ref13.rootGetters;if(rootGetters['auth/isAuthorized']){commit('api/fetch',{url:'/invoices/new',method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['invoiceForm/setInvoiceData'],onError:['invoices/getInvoicesError']},{root:true});}}},getters:{isBatchDownloading:function isBatchDownloading(state){return state.fetchState===FETCH_STATE_PENDING;},isSearching:function isSearching(state){return state.requestParams.searchQuery!==null;},requestParams:function requestParams(state){var requestParams=state.requestParams;return{from:requestParams.from,to:requestParams.to,invoice_kind:requestParams.invoiceKind,period:requestParams.period,fulltext:requestParams.searchQuery,client_id:requestParams.invoicesForContact,page:requestParams.page,only_unpaid:requestParams.onlyUnPaid,sort:\"\".concat(requestParams.searchOrder.column,\" \").concat(requestParams.searchOrder.direction)};}}};","function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } 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 _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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 _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\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); return Constructor; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * Fuse.js v6.4.6 - Lightweight fuzzy-search (http://fusejs.io)\n *\n * Copyright (c) 2021 Kiro Risk (http://kiro.me)\n * All Rights Reserved. Apache Software License 2.0\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\nfunction isArray(value) {\n return !Array.isArray ? getTag(value) === '[object Array]' : Array.isArray(value);\n} // Adapted from: https://github.com/lodash/lodash/blob/master/.internal/baseToString.js\n\n\nvar INFINITY = 1 / 0;\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 var result = value + '';\n return result == '0' && 1 / value == -INFINITY ? '-0' : result;\n}\n\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nfunction isString(value) {\n return typeof value === 'string';\n}\n\nfunction isNumber(value) {\n return typeof value === 'number';\n} // Adapted from: https://github.com/lodash/lodash/blob/master/isBoolean.js\n\n\nfunction isBoolean(value) {\n return value === true || value === false || isObjectLike(value) && getTag(value) == '[object Boolean]';\n}\n\nfunction isObject(value) {\n return _typeof(value) === 'object';\n} // Checks if `value` is object-like.\n\n\nfunction isObjectLike(value) {\n return isObject(value) && value !== null;\n}\n\nfunction isDefined(value) {\n return value !== undefined && value !== null;\n}\n\nfunction isBlank(value) {\n return !value.trim().length;\n} // Gets the `toStringTag` of `value`.\n// Adapted from: https://github.com/lodash/lodash/blob/master/.internal/getTag.js\n\n\nfunction getTag(value) {\n return value == null ? value === undefined ? '[object Undefined]' : '[object Null]' : Object.prototype.toString.call(value);\n}\n\nvar EXTENDED_SEARCH_UNAVAILABLE = 'Extended search is not available';\nvar INCORRECT_INDEX_TYPE = \"Incorrect 'index' type\";\n\nvar LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY = function LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(key) {\n return \"Invalid value for key \".concat(key);\n};\n\nvar PATTERN_LENGTH_TOO_LARGE = function PATTERN_LENGTH_TOO_LARGE(max) {\n return \"Pattern length exceeds max of \".concat(max, \".\");\n};\n\nvar MISSING_KEY_PROPERTY = function MISSING_KEY_PROPERTY(name) {\n return \"Missing \".concat(name, \" property in key\");\n};\n\nvar INVALID_KEY_WEIGHT_VALUE = function INVALID_KEY_WEIGHT_VALUE(key) {\n return \"Property 'weight' in key '\".concat(key, \"' must be a positive integer\");\n};\n\nvar hasOwn = Object.prototype.hasOwnProperty;\n\nvar KeyStore =\n/*#__PURE__*/\nfunction () {\n function KeyStore(keys) {\n var _this = this;\n\n _classCallCheck(this, KeyStore);\n\n this._keys = [];\n this._keyMap = {};\n var totalWeight = 0;\n keys.forEach(function (key) {\n var obj = createKey(key);\n totalWeight += obj.weight;\n\n _this._keys.push(obj);\n\n _this._keyMap[obj.id] = obj;\n totalWeight += obj.weight;\n }); // Normalize weights so that their sum is equal to 1\n\n this._keys.forEach(function (key) {\n key.weight /= totalWeight;\n });\n }\n\n _createClass(KeyStore, [{\n key: \"get\",\n value: function get(keyId) {\n return this._keyMap[keyId];\n }\n }, {\n key: \"keys\",\n value: function keys() {\n return this._keys;\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n return JSON.stringify(this._keys);\n }\n }]);\n\n return KeyStore;\n}();\n\nfunction createKey(key) {\n var path = null;\n var id = null;\n var src = null;\n var weight = 1;\n\n if (isString(key) || isArray(key)) {\n src = key;\n path = createKeyPath(key);\n id = createKeyId(key);\n } else {\n if (!hasOwn.call(key, 'name')) {\n throw new Error(MISSING_KEY_PROPERTY('name'));\n }\n\n var name = key.name;\n src = name;\n\n if (hasOwn.call(key, 'weight')) {\n weight = key.weight;\n\n if (weight <= 0) {\n throw new Error(INVALID_KEY_WEIGHT_VALUE(name));\n }\n }\n\n path = createKeyPath(name);\n id = createKeyId(name);\n }\n\n return {\n path: path,\n id: id,\n weight: weight,\n src: src\n };\n}\n\nfunction createKeyPath(key) {\n return isArray(key) ? key : key.split('.');\n}\n\nfunction createKeyId(key) {\n return isArray(key) ? key.join('.') : key;\n}\n\nfunction get(obj, path) {\n var list = [];\n var arr = false;\n\n var deepGet = function deepGet(obj, path, index) {\n if (!isDefined(obj)) {\n return;\n }\n\n if (!path[index]) {\n // If there's no path left, we've arrived at the object we care about.\n list.push(obj);\n } else {\n var key = path[index];\n var value = obj[key];\n\n if (!isDefined(value)) {\n return;\n } // If we're at the last value in the path, and if it's a string/number/bool,\n // add it to the list\n\n\n if (index === path.length - 1 && (isString(value) || isNumber(value) || isBoolean(value))) {\n list.push(toString(value));\n } else if (isArray(value)) {\n arr = true; // Search each item in the array.\n\n for (var i = 0, len = value.length; i < len; i += 1) {\n deepGet(value[i], path, index + 1);\n }\n } else if (path.length) {\n // An object. Recurse further.\n deepGet(value, path, index + 1);\n }\n }\n }; // Backwards compatibility (since path used to be a string)\n\n\n deepGet(obj, isString(path) ? path.split('.') : path, 0);\n return arr ? list : list[0];\n}\n\nvar MatchOptions = {\n // Whether the matches should be included in the result set. When `true`, each record in the result\n // set will include the indices of the matched characters.\n // These can consequently be used for highlighting purposes.\n includeMatches: false,\n // When `true`, the matching function will continue to the end of a search pattern even if\n // a perfect match has already been located in the string.\n findAllMatches: false,\n // Minimum number of characters that must be matched before a result is considered a match\n minMatchCharLength: 1\n};\nvar BasicOptions = {\n // When `true`, the algorithm continues searching to the end of the input even if a perfect\n // match is found before the end of the same input.\n isCaseSensitive: false,\n // When true, the matching function will continue to the end of a search pattern even if\n includeScore: false,\n // List of properties that will be searched. This also supports nested properties.\n keys: [],\n // Whether to sort the result list, by score\n shouldSort: true,\n // Default sort function: sort by ascending score, ascending index\n sortFn: function sortFn(a, b) {\n return a.score === b.score ? a.idx < b.idx ? -1 : 1 : a.score < b.score ? -1 : 1;\n }\n};\nvar FuzzyOptions = {\n // Approximately where in the text is the pattern expected to be found?\n location: 0,\n // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match\n // (of both letters and location), a threshold of '1.0' would match anything.\n threshold: 0.6,\n // Determines how close the match must be to the fuzzy location (specified above).\n // An exact letter match which is 'distance' characters away from the fuzzy location\n // would score as a complete mismatch. A distance of '0' requires the match be at\n // the exact location specified, a threshold of '1000' would require a perfect match\n // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.\n distance: 100\n};\nvar AdvancedOptions = {\n // When `true`, it enables the use of unix-like search commands\n useExtendedSearch: false,\n // The get function to use when fetching an object's properties.\n // The default will search nested paths *ie foo.bar.baz*\n getFn: get,\n // When `true`, search will ignore `location` and `distance`, so it won't matter\n // where in the string the pattern appears.\n // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score\n ignoreLocation: false,\n // When `true`, the calculation for the relevance score (used for sorting) will\n // ignore the field-length norm.\n // More info: https://fusejs.io/concepts/scoring-theory.html#field-length-norm\n ignoreFieldNorm: false\n};\n\nvar Config = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, BasicOptions), MatchOptions), FuzzyOptions), AdvancedOptions);\n\nvar SPACE = /[^ ]+/g; // Field-length norm: the shorter the field, the higher the weight.\n// Set to 3 decimals to reduce index size.\n\nfunction norm() {\n var mantissa = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 3;\n var cache = new Map();\n var m = Math.pow(10, mantissa);\n return {\n get: function get(value) {\n var numTokens = value.match(SPACE).length;\n\n if (cache.has(numTokens)) {\n return cache.get(numTokens);\n }\n\n var norm = 1 / Math.sqrt(numTokens); // In place of `toFixed(mantissa)`, for faster computation\n\n var n = parseFloat(Math.round(norm * m) / m);\n cache.set(numTokens, n);\n return n;\n },\n clear: function clear() {\n cache.clear();\n }\n };\n}\n\nvar FuseIndex =\n/*#__PURE__*/\nfunction () {\n function FuseIndex() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref$getFn = _ref.getFn,\n getFn = _ref$getFn === void 0 ? Config.getFn : _ref$getFn;\n\n _classCallCheck(this, FuseIndex);\n\n this.norm = norm(3);\n this.getFn = getFn;\n this.isCreated = false;\n this.setIndexRecords();\n }\n\n _createClass(FuseIndex, [{\n key: \"setSources\",\n value: function setSources() {\n var docs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n this.docs = docs;\n }\n }, {\n key: \"setIndexRecords\",\n value: function setIndexRecords() {\n var records = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n this.records = records;\n }\n }, {\n key: \"setKeys\",\n value: function setKeys() {\n var _this2 = this;\n\n var keys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n this.keys = keys;\n this._keysMap = {};\n keys.forEach(function (key, idx) {\n _this2._keysMap[key.id] = idx;\n });\n }\n }, {\n key: \"create\",\n value: function create() {\n var _this3 = this;\n\n if (this.isCreated || !this.docs.length) {\n return;\n }\n\n this.isCreated = true; // List is Array<String>\n\n if (isString(this.docs[0])) {\n this.docs.forEach(function (doc, docIndex) {\n _this3._addString(doc, docIndex);\n });\n } else {\n // List is Array<Object>\n this.docs.forEach(function (doc, docIndex) {\n _this3._addObject(doc, docIndex);\n });\n }\n\n this.norm.clear();\n } // Adds a doc to the end of the index\n\n }, {\n key: \"add\",\n value: function add(doc) {\n var idx = this.size();\n\n if (isString(doc)) {\n this._addString(doc, idx);\n } else {\n this._addObject(doc, idx);\n }\n } // Removes the doc at the specified index of the index\n\n }, {\n key: \"removeAt\",\n value: function removeAt(idx) {\n this.records.splice(idx, 1); // Change ref index of every subsquent doc\n\n for (var i = idx, len = this.size(); i < len; i += 1) {\n this.records[i].i -= 1;\n }\n }\n }, {\n key: \"getValueForItemAtKeyId\",\n value: function getValueForItemAtKeyId(item, keyId) {\n return item[this._keysMap[keyId]];\n }\n }, {\n key: \"size\",\n value: function size() {\n return this.records.length;\n }\n }, {\n key: \"_addString\",\n value: function _addString(doc, docIndex) {\n if (!isDefined(doc) || isBlank(doc)) {\n return;\n }\n\n var record = {\n v: doc,\n i: docIndex,\n n: this.norm.get(doc)\n };\n this.records.push(record);\n }\n }, {\n key: \"_addObject\",\n value: function _addObject(doc, docIndex) {\n var _this4 = this;\n\n var record = {\n i: docIndex,\n $: {}\n }; // Iterate over every key (i.e, path), and fetch the value at that key\n\n this.keys.forEach(function (key, keyIndex) {\n // console.log(key)\n var value = _this4.getFn(doc, key.path);\n\n if (!isDefined(value)) {\n return;\n }\n\n if (isArray(value)) {\n (function () {\n var subRecords = [];\n var stack = [{\n nestedArrIndex: -1,\n value: value\n }];\n\n while (stack.length) {\n var _stack$pop = stack.pop(),\n nestedArrIndex = _stack$pop.nestedArrIndex,\n _value = _stack$pop.value;\n\n if (!isDefined(_value)) {\n continue;\n }\n\n if (isString(_value) && !isBlank(_value)) {\n var subRecord = {\n v: _value,\n i: nestedArrIndex,\n n: _this4.norm.get(_value)\n };\n subRecords.push(subRecord);\n } else if (isArray(_value)) {\n _value.forEach(function (item, k) {\n stack.push({\n nestedArrIndex: k,\n value: item\n });\n });\n }\n }\n\n record.$[keyIndex] = subRecords;\n })();\n } else if (!isBlank(value)) {\n var subRecord = {\n v: value,\n n: _this4.norm.get(value)\n };\n record.$[keyIndex] = subRecord;\n }\n });\n this.records.push(record);\n }\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n return {\n keys: this.keys,\n records: this.records\n };\n }\n }]);\n\n return FuseIndex;\n}();\n\nfunction createIndex(keys, docs) {\n var _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n _ref2$getFn = _ref2.getFn,\n getFn = _ref2$getFn === void 0 ? Config.getFn : _ref2$getFn;\n\n var myIndex = new FuseIndex({\n getFn: getFn\n });\n myIndex.setKeys(keys.map(createKey));\n myIndex.setSources(docs);\n myIndex.create();\n return myIndex;\n}\n\nfunction parseIndex(data) {\n var _ref3 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref3$getFn = _ref3.getFn,\n getFn = _ref3$getFn === void 0 ? Config.getFn : _ref3$getFn;\n\n var keys = data.keys,\n records = data.records;\n var myIndex = new FuseIndex({\n getFn: getFn\n });\n myIndex.setKeys(keys);\n myIndex.setIndexRecords(records);\n return myIndex;\n}\n\nfunction computeScore(pattern) {\n var _ref4 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref4$errors = _ref4.errors,\n errors = _ref4$errors === void 0 ? 0 : _ref4$errors,\n _ref4$currentLocation = _ref4.currentLocation,\n currentLocation = _ref4$currentLocation === void 0 ? 0 : _ref4$currentLocation,\n _ref4$expectedLocatio = _ref4.expectedLocation,\n expectedLocation = _ref4$expectedLocatio === void 0 ? 0 : _ref4$expectedLocatio,\n _ref4$distance = _ref4.distance,\n distance = _ref4$distance === void 0 ? Config.distance : _ref4$distance,\n _ref4$ignoreLocation = _ref4.ignoreLocation,\n ignoreLocation = _ref4$ignoreLocation === void 0 ? Config.ignoreLocation : _ref4$ignoreLocation;\n\n var accuracy = errors / pattern.length;\n\n if (ignoreLocation) {\n return accuracy;\n }\n\n var proximity = Math.abs(expectedLocation - currentLocation);\n\n if (!distance) {\n // Dodge divide by zero error.\n return proximity ? 1.0 : accuracy;\n }\n\n return accuracy + proximity / distance;\n}\n\nfunction convertMaskToIndices() {\n var matchmask = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var minMatchCharLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Config.minMatchCharLength;\n var indices = [];\n var start = -1;\n var end = -1;\n var i = 0;\n\n for (var len = matchmask.length; i < len; i += 1) {\n var match = matchmask[i];\n\n if (match && start === -1) {\n start = i;\n } else if (!match && start !== -1) {\n end = i - 1;\n\n if (end - start + 1 >= minMatchCharLength) {\n indices.push([start, end]);\n }\n\n start = -1;\n }\n } // (i-1 - start) + 1 => i - start\n\n\n if (matchmask[i - 1] && i - start >= minMatchCharLength) {\n indices.push([start, i - 1]);\n }\n\n return indices;\n} // Machine word size\n\n\nvar MAX_BITS = 32;\n\nfunction search(text, pattern, patternAlphabet) {\n var _ref5 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n _ref5$location = _ref5.location,\n location = _ref5$location === void 0 ? Config.location : _ref5$location,\n _ref5$distance = _ref5.distance,\n distance = _ref5$distance === void 0 ? Config.distance : _ref5$distance,\n _ref5$threshold = _ref5.threshold,\n threshold = _ref5$threshold === void 0 ? Config.threshold : _ref5$threshold,\n _ref5$findAllMatches = _ref5.findAllMatches,\n findAllMatches = _ref5$findAllMatches === void 0 ? Config.findAllMatches : _ref5$findAllMatches,\n _ref5$minMatchCharLen = _ref5.minMatchCharLength,\n minMatchCharLength = _ref5$minMatchCharLen === void 0 ? Config.minMatchCharLength : _ref5$minMatchCharLen,\n _ref5$includeMatches = _ref5.includeMatches,\n includeMatches = _ref5$includeMatches === void 0 ? Config.includeMatches : _ref5$includeMatches,\n _ref5$ignoreLocation = _ref5.ignoreLocation,\n ignoreLocation = _ref5$ignoreLocation === void 0 ? Config.ignoreLocation : _ref5$ignoreLocation;\n\n if (pattern.length > MAX_BITS) {\n throw new Error(PATTERN_LENGTH_TOO_LARGE(MAX_BITS));\n }\n\n var patternLen = pattern.length; // Set starting location at beginning text and initialize the alphabet.\n\n var textLen = text.length; // Handle the case when location > text.length\n\n var expectedLocation = Math.max(0, Math.min(location, textLen)); // Highest score beyond which we give up.\n\n var currentThreshold = threshold; // Is there a nearby exact match? (speedup)\n\n var bestLocation = expectedLocation; // Performance: only computer matches when the minMatchCharLength > 1\n // OR if `includeMatches` is true.\n\n var computeMatches = minMatchCharLength > 1 || includeMatches; // A mask of the matches, used for building the indices\n\n var matchMask = computeMatches ? Array(textLen) : [];\n var index; // Get all exact matches, here for speed up\n\n while ((index = text.indexOf(pattern, bestLocation)) > -1) {\n var score = computeScore(pattern, {\n currentLocation: index,\n expectedLocation: expectedLocation,\n distance: distance,\n ignoreLocation: ignoreLocation\n });\n currentThreshold = Math.min(score, currentThreshold);\n bestLocation = index + patternLen;\n\n if (computeMatches) {\n var i = 0;\n\n while (i < patternLen) {\n matchMask[index + i] = 1;\n i += 1;\n }\n }\n } // Reset the best location\n\n\n bestLocation = -1;\n var lastBitArr = [];\n var finalScore = 1;\n var binMax = patternLen + textLen;\n var mask = 1 << patternLen - 1;\n\n for (var _i = 0; _i < patternLen; _i += 1) {\n // Scan for the best match; each iteration allows for one more error.\n // Run a binary search to determine how far from the match location we can stray\n // at this error level.\n var binMin = 0;\n var binMid = binMax;\n\n while (binMin < binMid) {\n var _score2 = computeScore(pattern, {\n errors: _i,\n currentLocation: expectedLocation + binMid,\n expectedLocation: expectedLocation,\n distance: distance,\n ignoreLocation: ignoreLocation\n });\n\n if (_score2 <= currentThreshold) {\n binMin = binMid;\n } else {\n binMax = binMid;\n }\n\n binMid = Math.floor((binMax - binMin) / 2 + binMin);\n } // Use the result from this iteration as the maximum for the next.\n\n\n binMax = binMid;\n var start = Math.max(1, expectedLocation - binMid + 1);\n var finish = findAllMatches ? textLen : Math.min(expectedLocation + binMid, textLen) + patternLen; // Initialize the bit array\n\n var bitArr = Array(finish + 2);\n bitArr[finish + 1] = (1 << _i) - 1;\n\n for (var j = finish; j >= start; j -= 1) {\n var currentLocation = j - 1;\n var charMatch = patternAlphabet[text.charAt(currentLocation)];\n\n if (computeMatches) {\n // Speed up: quick bool to int conversion (i.e, `charMatch ? 1 : 0`)\n matchMask[currentLocation] = +!!charMatch;\n } // First pass: exact match\n\n\n bitArr[j] = (bitArr[j + 1] << 1 | 1) & charMatch; // Subsequent passes: fuzzy match\n\n if (_i) {\n bitArr[j] |= (lastBitArr[j + 1] | lastBitArr[j]) << 1 | 1 | lastBitArr[j + 1];\n }\n\n if (bitArr[j] & mask) {\n finalScore = computeScore(pattern, {\n errors: _i,\n currentLocation: currentLocation,\n expectedLocation: expectedLocation,\n distance: distance,\n ignoreLocation: ignoreLocation\n }); // This match will almost certainly be better than any existing match.\n // But check anyway.\n\n if (finalScore <= currentThreshold) {\n // Indeed it is\n currentThreshold = finalScore;\n bestLocation = currentLocation; // Already passed `loc`, downhill from here on in.\n\n if (bestLocation <= expectedLocation) {\n break;\n } // When passing `bestLocation`, don't exceed our current distance from `expectedLocation`.\n\n\n start = Math.max(1, 2 * expectedLocation - bestLocation);\n }\n }\n } // No hope for a (better) match at greater error levels.\n\n\n var _score = computeScore(pattern, {\n errors: _i + 1,\n currentLocation: expectedLocation,\n expectedLocation: expectedLocation,\n distance: distance,\n ignoreLocation: ignoreLocation\n });\n\n if (_score > currentThreshold) {\n break;\n }\n\n lastBitArr = bitArr;\n }\n\n var result = {\n isMatch: bestLocation >= 0,\n // Count exact matches (those with a score of 0) to be \"almost\" exact\n score: Math.max(0.001, finalScore)\n };\n\n if (computeMatches) {\n var indices = convertMaskToIndices(matchMask, minMatchCharLength);\n\n if (!indices.length) {\n result.isMatch = false;\n } else if (includeMatches) {\n result.indices = indices;\n }\n }\n\n return result;\n}\n\nfunction createPatternAlphabet(pattern) {\n var mask = {};\n\n for (var i = 0, len = pattern.length; i < len; i += 1) {\n var _char = pattern.charAt(i);\n\n mask[_char] = (mask[_char] || 0) | 1 << len - i - 1;\n }\n\n return mask;\n}\n\nvar BitapSearch =\n/*#__PURE__*/\nfunction () {\n function BitapSearch(pattern) {\n var _this5 = this;\n\n var _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref6$location = _ref6.location,\n location = _ref6$location === void 0 ? Config.location : _ref6$location,\n _ref6$threshold = _ref6.threshold,\n threshold = _ref6$threshold === void 0 ? Config.threshold : _ref6$threshold,\n _ref6$distance = _ref6.distance,\n distance = _ref6$distance === void 0 ? Config.distance : _ref6$distance,\n _ref6$includeMatches = _ref6.includeMatches,\n includeMatches = _ref6$includeMatches === void 0 ? Config.includeMatches : _ref6$includeMatches,\n _ref6$findAllMatches = _ref6.findAllMatches,\n findAllMatches = _ref6$findAllMatches === void 0 ? Config.findAllMatches : _ref6$findAllMatches,\n _ref6$minMatchCharLen = _ref6.minMatchCharLength,\n minMatchCharLength = _ref6$minMatchCharLen === void 0 ? Config.minMatchCharLength : _ref6$minMatchCharLen,\n _ref6$isCaseSensitive = _ref6.isCaseSensitive,\n isCaseSensitive = _ref6$isCaseSensitive === void 0 ? Config.isCaseSensitive : _ref6$isCaseSensitive,\n _ref6$ignoreLocation = _ref6.ignoreLocation,\n ignoreLocation = _ref6$ignoreLocation === void 0 ? Config.ignoreLocation : _ref6$ignoreLocation;\n\n _classCallCheck(this, BitapSearch);\n\n this.options = {\n location: location,\n threshold: threshold,\n distance: distance,\n includeMatches: includeMatches,\n findAllMatches: findAllMatches,\n minMatchCharLength: minMatchCharLength,\n isCaseSensitive: isCaseSensitive,\n ignoreLocation: ignoreLocation\n };\n this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase();\n this.chunks = [];\n\n if (!this.pattern.length) {\n return;\n }\n\n var addChunk = function addChunk(pattern, startIndex) {\n _this5.chunks.push({\n pattern: pattern,\n alphabet: createPatternAlphabet(pattern),\n startIndex: startIndex\n });\n };\n\n var len = this.pattern.length;\n\n if (len > MAX_BITS) {\n var i = 0;\n var remainder = len % MAX_BITS;\n var end = len - remainder;\n\n while (i < end) {\n addChunk(this.pattern.substr(i, MAX_BITS), i);\n i += MAX_BITS;\n }\n\n if (remainder) {\n var startIndex = len - MAX_BITS;\n addChunk(this.pattern.substr(startIndex), startIndex);\n }\n } else {\n addChunk(this.pattern, 0);\n }\n }\n\n _createClass(BitapSearch, [{\n key: \"searchIn\",\n value: function searchIn(text) {\n var _this$options = this.options,\n isCaseSensitive = _this$options.isCaseSensitive,\n includeMatches = _this$options.includeMatches;\n\n if (!isCaseSensitive) {\n text = text.toLowerCase();\n } // Exact match\n\n\n if (this.pattern === text) {\n var _result = {\n isMatch: true,\n score: 0\n };\n\n if (includeMatches) {\n _result.indices = [[0, text.length - 1]];\n }\n\n return _result;\n } // Otherwise, use Bitap algorithm\n\n\n var _this$options2 = this.options,\n location = _this$options2.location,\n distance = _this$options2.distance,\n threshold = _this$options2.threshold,\n findAllMatches = _this$options2.findAllMatches,\n minMatchCharLength = _this$options2.minMatchCharLength,\n ignoreLocation = _this$options2.ignoreLocation;\n var allIndices = [];\n var totalScore = 0;\n var hasMatches = false;\n this.chunks.forEach(function (_ref7) {\n var pattern = _ref7.pattern,\n alphabet = _ref7.alphabet,\n startIndex = _ref7.startIndex;\n\n var _search = search(text, pattern, alphabet, {\n location: location + startIndex,\n distance: distance,\n threshold: threshold,\n findAllMatches: findAllMatches,\n minMatchCharLength: minMatchCharLength,\n includeMatches: includeMatches,\n ignoreLocation: ignoreLocation\n }),\n isMatch = _search.isMatch,\n score = _search.score,\n indices = _search.indices;\n\n if (isMatch) {\n hasMatches = true;\n }\n\n totalScore += score;\n\n if (isMatch && indices) {\n allIndices = [].concat(_toConsumableArray(allIndices), _toConsumableArray(indices));\n }\n });\n var result = {\n isMatch: hasMatches,\n score: hasMatches ? totalScore / this.chunks.length : 1\n };\n\n if (hasMatches && includeMatches) {\n result.indices = allIndices;\n }\n\n return result;\n }\n }]);\n\n return BitapSearch;\n}();\n\nvar BaseMatch =\n/*#__PURE__*/\nfunction () {\n function BaseMatch(pattern) {\n _classCallCheck(this, BaseMatch);\n\n this.pattern = pattern;\n }\n\n _createClass(BaseMatch, [{\n key: \"search\",\n value: function search()\n /*text*/\n {}\n }], [{\n key: \"isMultiMatch\",\n value: function isMultiMatch(pattern) {\n return getMatch(pattern, this.multiRegex);\n }\n }, {\n key: \"isSingleMatch\",\n value: function isSingleMatch(pattern) {\n return getMatch(pattern, this.singleRegex);\n }\n }]);\n\n return BaseMatch;\n}();\n\nfunction getMatch(pattern, exp) {\n var matches = pattern.match(exp);\n return matches ? matches[1] : null;\n} // Token: 'file\n\n\nvar ExactMatch =\n/*#__PURE__*/\nfunction (_BaseMatch) {\n _inherits(ExactMatch, _BaseMatch);\n\n function ExactMatch(pattern) {\n _classCallCheck(this, ExactMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(ExactMatch).call(this, pattern));\n }\n\n _createClass(ExactMatch, [{\n key: \"search\",\n value: function search(text) {\n var isMatch = text === this.pattern;\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, this.pattern.length - 1]\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'exact';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^=\"(.*)\"$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^=(.*)$/;\n }\n }]);\n\n return ExactMatch;\n}(BaseMatch); // Token: !fire\n\n\nvar InverseExactMatch =\n/*#__PURE__*/\nfunction (_BaseMatch2) {\n _inherits(InverseExactMatch, _BaseMatch2);\n\n function InverseExactMatch(pattern) {\n _classCallCheck(this, InverseExactMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(InverseExactMatch).call(this, pattern));\n }\n\n _createClass(InverseExactMatch, [{\n key: \"search\",\n value: function search(text) {\n var index = text.indexOf(this.pattern);\n var isMatch = index === -1;\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, text.length - 1]\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'inverse-exact';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^!\"(.*)\"$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^!(.*)$/;\n }\n }]);\n\n return InverseExactMatch;\n}(BaseMatch); // Token: ^file\n\n\nvar PrefixExactMatch =\n/*#__PURE__*/\nfunction (_BaseMatch3) {\n _inherits(PrefixExactMatch, _BaseMatch3);\n\n function PrefixExactMatch(pattern) {\n _classCallCheck(this, PrefixExactMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(PrefixExactMatch).call(this, pattern));\n }\n\n _createClass(PrefixExactMatch, [{\n key: \"search\",\n value: function search(text) {\n var isMatch = text.startsWith(this.pattern);\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, this.pattern.length - 1]\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'prefix-exact';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^\\^\"(.*)\"$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^\\^(.*)$/;\n }\n }]);\n\n return PrefixExactMatch;\n}(BaseMatch); // Token: !^fire\n\n\nvar InversePrefixExactMatch =\n/*#__PURE__*/\nfunction (_BaseMatch4) {\n _inherits(InversePrefixExactMatch, _BaseMatch4);\n\n function InversePrefixExactMatch(pattern) {\n _classCallCheck(this, InversePrefixExactMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(InversePrefixExactMatch).call(this, pattern));\n }\n\n _createClass(InversePrefixExactMatch, [{\n key: \"search\",\n value: function search(text) {\n var isMatch = !text.startsWith(this.pattern);\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, text.length - 1]\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'inverse-prefix-exact';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^!\\^\"(.*)\"$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^!\\^(.*)$/;\n }\n }]);\n\n return InversePrefixExactMatch;\n}(BaseMatch); // Token: .file$\n\n\nvar SuffixExactMatch =\n/*#__PURE__*/\nfunction (_BaseMatch5) {\n _inherits(SuffixExactMatch, _BaseMatch5);\n\n function SuffixExactMatch(pattern) {\n _classCallCheck(this, SuffixExactMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(SuffixExactMatch).call(this, pattern));\n }\n\n _createClass(SuffixExactMatch, [{\n key: \"search\",\n value: function search(text) {\n var isMatch = text.endsWith(this.pattern);\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: [text.length - this.pattern.length, text.length - 1]\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'suffix-exact';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^\"(.*)\"\\$$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^(.*)\\$$/;\n }\n }]);\n\n return SuffixExactMatch;\n}(BaseMatch); // Token: !.file$\n\n\nvar InverseSuffixExactMatch =\n/*#__PURE__*/\nfunction (_BaseMatch6) {\n _inherits(InverseSuffixExactMatch, _BaseMatch6);\n\n function InverseSuffixExactMatch(pattern) {\n _classCallCheck(this, InverseSuffixExactMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(InverseSuffixExactMatch).call(this, pattern));\n }\n\n _createClass(InverseSuffixExactMatch, [{\n key: \"search\",\n value: function search(text) {\n var isMatch = !text.endsWith(this.pattern);\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: [0, text.length - 1]\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'inverse-suffix-exact';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^!\"(.*)\"\\$$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^!(.*)\\$$/;\n }\n }]);\n\n return InverseSuffixExactMatch;\n}(BaseMatch);\n\nvar FuzzyMatch =\n/*#__PURE__*/\nfunction (_BaseMatch7) {\n _inherits(FuzzyMatch, _BaseMatch7);\n\n function FuzzyMatch(pattern) {\n var _this6;\n\n var _ref8 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref8$location = _ref8.location,\n location = _ref8$location === void 0 ? Config.location : _ref8$location,\n _ref8$threshold = _ref8.threshold,\n threshold = _ref8$threshold === void 0 ? Config.threshold : _ref8$threshold,\n _ref8$distance = _ref8.distance,\n distance = _ref8$distance === void 0 ? Config.distance : _ref8$distance,\n _ref8$includeMatches = _ref8.includeMatches,\n includeMatches = _ref8$includeMatches === void 0 ? Config.includeMatches : _ref8$includeMatches,\n _ref8$findAllMatches = _ref8.findAllMatches,\n findAllMatches = _ref8$findAllMatches === void 0 ? Config.findAllMatches : _ref8$findAllMatches,\n _ref8$minMatchCharLen = _ref8.minMatchCharLength,\n minMatchCharLength = _ref8$minMatchCharLen === void 0 ? Config.minMatchCharLength : _ref8$minMatchCharLen,\n _ref8$isCaseSensitive = _ref8.isCaseSensitive,\n isCaseSensitive = _ref8$isCaseSensitive === void 0 ? Config.isCaseSensitive : _ref8$isCaseSensitive,\n _ref8$ignoreLocation = _ref8.ignoreLocation,\n ignoreLocation = _ref8$ignoreLocation === void 0 ? Config.ignoreLocation : _ref8$ignoreLocation;\n\n _classCallCheck(this, FuzzyMatch);\n\n _this6 = _possibleConstructorReturn(this, _getPrototypeOf(FuzzyMatch).call(this, pattern));\n _this6._bitapSearch = new BitapSearch(pattern, {\n location: location,\n threshold: threshold,\n distance: distance,\n includeMatches: includeMatches,\n findAllMatches: findAllMatches,\n minMatchCharLength: minMatchCharLength,\n isCaseSensitive: isCaseSensitive,\n ignoreLocation: ignoreLocation\n });\n return _this6;\n }\n\n _createClass(FuzzyMatch, [{\n key: \"search\",\n value: function search(text) {\n return this._bitapSearch.searchIn(text);\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'fuzzy';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^\"(.*)\"$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^(.*)$/;\n }\n }]);\n\n return FuzzyMatch;\n}(BaseMatch); // Token: 'file\n\n\nvar IncludeMatch =\n/*#__PURE__*/\nfunction (_BaseMatch8) {\n _inherits(IncludeMatch, _BaseMatch8);\n\n function IncludeMatch(pattern) {\n _classCallCheck(this, IncludeMatch);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(IncludeMatch).call(this, pattern));\n }\n\n _createClass(IncludeMatch, [{\n key: \"search\",\n value: function search(text) {\n var location = 0;\n var index;\n var indices = [];\n var patternLen = this.pattern.length; // Get all exact matches\n\n while ((index = text.indexOf(this.pattern, location)) > -1) {\n location = index + patternLen;\n indices.push([index, location - 1]);\n }\n\n var isMatch = !!indices.length;\n return {\n isMatch: isMatch,\n score: isMatch ? 0 : 1,\n indices: indices\n };\n }\n }], [{\n key: \"type\",\n get: function get() {\n return 'include';\n }\n }, {\n key: \"multiRegex\",\n get: function get() {\n return /^'\"(.*)\"$/;\n }\n }, {\n key: \"singleRegex\",\n get: function get() {\n return /^'(.*)$/;\n }\n }]);\n\n return IncludeMatch;\n}(BaseMatch); // â—Order is important. DO NOT CHANGE.\n\n\nvar searchers = [ExactMatch, IncludeMatch, PrefixExactMatch, InversePrefixExactMatch, InverseSuffixExactMatch, SuffixExactMatch, InverseExactMatch, FuzzyMatch];\nvar searchersLen = searchers.length; // Regex to split by spaces, but keep anything in quotes together\n\nvar SPACE_RE = / +(?=([^\\\"]*\\\"[^\\\"]*\\\")*[^\\\"]*$)/;\nvar OR_TOKEN = '|'; // Return a 2D array representation of the query, for simpler parsing.\n// Example:\n// \"^core go$ | rb$ | py$ xy$\" => [[\"^core\", \"go$\"], [\"rb$\"], [\"py$\", \"xy$\"]]\n\nfunction parseQuery(pattern) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return pattern.split(OR_TOKEN).map(function (item) {\n var query = item.trim().split(SPACE_RE).filter(function (item) {\n return item && !!item.trim();\n });\n var results = [];\n\n for (var i = 0, len = query.length; i < len; i += 1) {\n var queryItem = query[i]; // 1. Handle multiple query match (i.e, once that are quoted, like `\"hello world\"`)\n\n var found = false;\n var idx = -1;\n\n while (!found && ++idx < searchersLen) {\n var searcher = searchers[idx];\n var token = searcher.isMultiMatch(queryItem);\n\n if (token) {\n results.push(new searcher(token, options));\n found = true;\n }\n }\n\n if (found) {\n continue;\n } // 2. Handle single query matches (i.e, once that are *not* quoted)\n\n\n idx = -1;\n\n while (++idx < searchersLen) {\n var _searcher = searchers[idx];\n\n var _token = _searcher.isSingleMatch(queryItem);\n\n if (_token) {\n results.push(new _searcher(_token, options));\n break;\n }\n }\n }\n\n return results;\n });\n} // These extended matchers can return an array of matches, as opposed\n// to a singl match\n\n\nvar MultiMatchSet = new Set([FuzzyMatch.type, IncludeMatch.type]);\n/**\n * Command-like searching\n * ======================\n *\n * Given multiple search terms delimited by spaces.e.g. `^jscript .python$ ruby !java`,\n * search in a given text.\n *\n * Search syntax:\n *\n * | Token | Match type | Description |\n * | ----------- | -------------------------- | -------------------------------------- |\n * | `jscript` | fuzzy-match | Items that fuzzy match `jscript` |\n * | `=scheme` | exact-match | Items that are `scheme` |\n * | `'python` | include-match | Items that include `python` |\n * | `!ruby` | inverse-exact-match | Items that do not include `ruby` |\n * | `^java` | prefix-exact-match | Items that start with `java` |\n * | `!^earlang` | inverse-prefix-exact-match | Items that do not start with `earlang` |\n * | `.js$` | suffix-exact-match | Items that end with `.js` |\n * | `!.go$` | inverse-suffix-exact-match | Items that do not end with `.go` |\n *\n * A single pipe character acts as an OR operator. For example, the following\n * query matches entries that start with `core` and end with either`go`, `rb`,\n * or`py`.\n *\n * ```\n * ^core go$ | rb$ | py$\n * ```\n */\n\nvar ExtendedSearch =\n/*#__PURE__*/\nfunction () {\n function ExtendedSearch(pattern) {\n var _ref9 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref9$isCaseSensitive = _ref9.isCaseSensitive,\n isCaseSensitive = _ref9$isCaseSensitive === void 0 ? Config.isCaseSensitive : _ref9$isCaseSensitive,\n _ref9$includeMatches = _ref9.includeMatches,\n includeMatches = _ref9$includeMatches === void 0 ? Config.includeMatches : _ref9$includeMatches,\n _ref9$minMatchCharLen = _ref9.minMatchCharLength,\n minMatchCharLength = _ref9$minMatchCharLen === void 0 ? Config.minMatchCharLength : _ref9$minMatchCharLen,\n _ref9$ignoreLocation = _ref9.ignoreLocation,\n ignoreLocation = _ref9$ignoreLocation === void 0 ? Config.ignoreLocation : _ref9$ignoreLocation,\n _ref9$findAllMatches = _ref9.findAllMatches,\n findAllMatches = _ref9$findAllMatches === void 0 ? Config.findAllMatches : _ref9$findAllMatches,\n _ref9$location = _ref9.location,\n location = _ref9$location === void 0 ? Config.location : _ref9$location,\n _ref9$threshold = _ref9.threshold,\n threshold = _ref9$threshold === void 0 ? Config.threshold : _ref9$threshold,\n _ref9$distance = _ref9.distance,\n distance = _ref9$distance === void 0 ? Config.distance : _ref9$distance;\n\n _classCallCheck(this, ExtendedSearch);\n\n this.query = null;\n this.options = {\n isCaseSensitive: isCaseSensitive,\n includeMatches: includeMatches,\n minMatchCharLength: minMatchCharLength,\n findAllMatches: findAllMatches,\n ignoreLocation: ignoreLocation,\n location: location,\n threshold: threshold,\n distance: distance\n };\n this.pattern = isCaseSensitive ? pattern : pattern.toLowerCase();\n this.query = parseQuery(this.pattern, this.options);\n }\n\n _createClass(ExtendedSearch, [{\n key: \"searchIn\",\n value: function searchIn(text) {\n var query = this.query;\n\n if (!query) {\n return {\n isMatch: false,\n score: 1\n };\n }\n\n var _this$options3 = this.options,\n includeMatches = _this$options3.includeMatches,\n isCaseSensitive = _this$options3.isCaseSensitive;\n text = isCaseSensitive ? text : text.toLowerCase();\n var numMatches = 0;\n var allIndices = [];\n var totalScore = 0; // ORs\n\n for (var i = 0, qLen = query.length; i < qLen; i += 1) {\n var _searchers = query[i]; // Reset indices\n\n allIndices.length = 0;\n numMatches = 0; // ANDs\n\n for (var j = 0, pLen = _searchers.length; j < pLen; j += 1) {\n var searcher = _searchers[j];\n\n var _searcher$search = searcher.search(text),\n isMatch = _searcher$search.isMatch,\n indices = _searcher$search.indices,\n score = _searcher$search.score;\n\n if (isMatch) {\n numMatches += 1;\n totalScore += score;\n\n if (includeMatches) {\n var type = searcher.constructor.type;\n\n if (MultiMatchSet.has(type)) {\n allIndices = [].concat(_toConsumableArray(allIndices), _toConsumableArray(indices));\n } else {\n allIndices.push(indices);\n }\n }\n } else {\n totalScore = 0;\n numMatches = 0;\n allIndices.length = 0;\n break;\n }\n } // OR condition, so if TRUE, return\n\n\n if (numMatches) {\n var result = {\n isMatch: true,\n score: totalScore / numMatches\n };\n\n if (includeMatches) {\n result.indices = allIndices;\n }\n\n return result;\n }\n } // Nothing was matched\n\n\n return {\n isMatch: false,\n score: 1\n };\n }\n }], [{\n key: \"condition\",\n value: function condition(_, options) {\n return options.useExtendedSearch;\n }\n }]);\n\n return ExtendedSearch;\n}();\n\nvar registeredSearchers = [];\n\nfunction register() {\n registeredSearchers.push.apply(registeredSearchers, arguments);\n}\n\nfunction createSearcher(pattern, options) {\n for (var i = 0, len = registeredSearchers.length; i < len; i += 1) {\n var searcherClass = registeredSearchers[i];\n\n if (searcherClass.condition(pattern, options)) {\n return new searcherClass(pattern, options);\n }\n }\n\n return new BitapSearch(pattern, options);\n}\n\nvar LogicalOperator = {\n AND: '$and',\n OR: '$or'\n};\nvar KeyType = {\n PATH: '$path',\n PATTERN: '$val'\n};\n\nvar isExpression = function isExpression(query) {\n return !!(query[LogicalOperator.AND] || query[LogicalOperator.OR]);\n};\n\nvar isPath = function isPath(query) {\n return !!query[KeyType.PATH];\n};\n\nvar isLeaf = function isLeaf(query) {\n return !isArray(query) && isObject(query) && !isExpression(query);\n};\n\nvar convertToExplicit = function convertToExplicit(query) {\n return _defineProperty({}, LogicalOperator.AND, Object.keys(query).map(function (key) {\n return _defineProperty({}, key, query[key]);\n }));\n}; // When `auto` is `true`, the parse function will infer and initialize and add\n// the appropriate `Searcher` instance\n\n\nfunction parse(query, options) {\n var _ref12 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n _ref12$auto = _ref12.auto,\n auto = _ref12$auto === void 0 ? true : _ref12$auto;\n\n var next = function next(query) {\n var keys = Object.keys(query);\n var isQueryPath = isPath(query);\n\n if (!isQueryPath && keys.length > 1 && !isExpression(query)) {\n return next(convertToExplicit(query));\n }\n\n if (isLeaf(query)) {\n var key = isQueryPath ? query[KeyType.PATH] : keys[0];\n var pattern = isQueryPath ? query[KeyType.PATTERN] : query[key];\n\n if (!isString(pattern)) {\n throw new Error(LOGICAL_SEARCH_INVALID_QUERY_FOR_KEY(key));\n }\n\n var obj = {\n keyId: createKeyId(key),\n pattern: pattern\n };\n\n if (auto) {\n obj.searcher = createSearcher(pattern, options);\n }\n\n return obj;\n }\n\n var node = {\n children: [],\n operator: keys[0]\n };\n keys.forEach(function (key) {\n var value = query[key];\n\n if (isArray(value)) {\n value.forEach(function (item) {\n node.children.push(next(item));\n });\n }\n });\n return node;\n };\n\n if (!isExpression(query)) {\n query = convertToExplicit(query);\n }\n\n return next(query);\n} // Practical scoring function\n\n\nfunction computeScore$1(results, _ref13) {\n var _ref13$ignoreFieldNor = _ref13.ignoreFieldNorm,\n ignoreFieldNorm = _ref13$ignoreFieldNor === void 0 ? Config.ignoreFieldNorm : _ref13$ignoreFieldNor;\n results.forEach(function (result) {\n var totalScore = 1;\n result.matches.forEach(function (_ref14) {\n var key = _ref14.key,\n norm = _ref14.norm,\n score = _ref14.score;\n var weight = key ? key.weight : null;\n totalScore *= Math.pow(score === 0 && weight ? Number.EPSILON : score, (weight || 1) * (ignoreFieldNorm ? 1 : norm));\n });\n result.score = totalScore;\n });\n}\n\nfunction transformMatches(result, data) {\n var matches = result.matches;\n data.matches = [];\n\n if (!isDefined(matches)) {\n return;\n }\n\n matches.forEach(function (match) {\n if (!isDefined(match.indices) || !match.indices.length) {\n return;\n }\n\n var indices = match.indices,\n value = match.value;\n var obj = {\n indices: indices,\n value: value\n };\n\n if (match.key) {\n obj.key = match.key.src;\n }\n\n if (match.idx > -1) {\n obj.refIndex = match.idx;\n }\n\n data.matches.push(obj);\n });\n}\n\nfunction transformScore(result, data) {\n data.score = result.score;\n}\n\nfunction format(results, docs) {\n var _ref15 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n _ref15$includeMatches = _ref15.includeMatches,\n includeMatches = _ref15$includeMatches === void 0 ? Config.includeMatches : _ref15$includeMatches,\n _ref15$includeScore = _ref15.includeScore,\n includeScore = _ref15$includeScore === void 0 ? Config.includeScore : _ref15$includeScore;\n\n var transformers = [];\n if (includeMatches) transformers.push(transformMatches);\n if (includeScore) transformers.push(transformScore);\n return results.map(function (result) {\n var idx = result.idx;\n var data = {\n item: docs[idx],\n refIndex: idx\n };\n\n if (transformers.length) {\n transformers.forEach(function (transformer) {\n transformer(result, data);\n });\n }\n\n return data;\n });\n}\n\nvar Fuse =\n/*#__PURE__*/\nfunction () {\n function Fuse(docs) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var index = arguments.length > 2 ? arguments[2] : undefined;\n\n _classCallCheck(this, Fuse);\n\n this.options = _objectSpread(_objectSpread({}, Config), options);\n\n if (this.options.useExtendedSearch && !true) {\n throw new Error(EXTENDED_SEARCH_UNAVAILABLE);\n }\n\n this._keyStore = new KeyStore(this.options.keys);\n this.setCollection(docs, index);\n }\n\n _createClass(Fuse, [{\n key: \"setCollection\",\n value: function setCollection(docs, index) {\n this._docs = docs;\n\n if (index && !(index instanceof FuseIndex)) {\n throw new Error(INCORRECT_INDEX_TYPE);\n }\n\n this._myIndex = index || createIndex(this.options.keys, this._docs, {\n getFn: this.options.getFn\n });\n }\n }, {\n key: \"add\",\n value: function add(doc) {\n if (!isDefined(doc)) {\n return;\n }\n\n this._docs.push(doc);\n\n this._myIndex.add(doc);\n }\n }, {\n key: \"remove\",\n value: function remove() {\n var predicate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : function () {\n return (\n /* doc, idx */\n false\n );\n };\n var results = [];\n\n for (var i = 0, len = this._docs.length; i < len; i += 1) {\n var doc = this._docs[i];\n\n if (predicate(doc, i)) {\n this.removeAt(i);\n i -= 1;\n len -= 1;\n results.push(doc);\n }\n }\n\n return results;\n }\n }, {\n key: \"removeAt\",\n value: function removeAt(idx) {\n this._docs.splice(idx, 1);\n\n this._myIndex.removeAt(idx);\n }\n }, {\n key: \"getIndex\",\n value: function getIndex() {\n return this._myIndex;\n }\n }, {\n key: \"search\",\n value: function search(query) {\n var _ref16 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref16$limit = _ref16.limit,\n limit = _ref16$limit === void 0 ? -1 : _ref16$limit;\n\n var _this$options4 = this.options,\n includeMatches = _this$options4.includeMatches,\n includeScore = _this$options4.includeScore,\n shouldSort = _this$options4.shouldSort,\n sortFn = _this$options4.sortFn,\n ignoreFieldNorm = _this$options4.ignoreFieldNorm;\n var results = isString(query) ? isString(this._docs[0]) ? this._searchStringList(query) : this._searchObjectList(query) : this._searchLogical(query);\n computeScore$1(results, {\n ignoreFieldNorm: ignoreFieldNorm\n });\n\n if (shouldSort) {\n results.sort(sortFn);\n }\n\n if (isNumber(limit) && limit > -1) {\n results = results.slice(0, limit);\n }\n\n return format(results, this._docs, {\n includeMatches: includeMatches,\n includeScore: includeScore\n });\n }\n }, {\n key: \"_searchStringList\",\n value: function _searchStringList(query) {\n var searcher = createSearcher(query, this.options);\n var records = this._myIndex.records;\n var results = []; // Iterate over every string in the index\n\n records.forEach(function (_ref17) {\n var text = _ref17.v,\n idx = _ref17.i,\n norm = _ref17.n;\n\n if (!isDefined(text)) {\n return;\n }\n\n var _searcher$searchIn = searcher.searchIn(text),\n isMatch = _searcher$searchIn.isMatch,\n score = _searcher$searchIn.score,\n indices = _searcher$searchIn.indices;\n\n if (isMatch) {\n results.push({\n item: text,\n idx: idx,\n matches: [{\n score: score,\n value: text,\n norm: norm,\n indices: indices\n }]\n });\n }\n });\n return results;\n }\n }, {\n key: \"_searchLogical\",\n value: function _searchLogical(query) {\n var _this7 = this;\n\n var expression = parse(query, this.options);\n\n var evaluate = function evaluate(node, item, idx) {\n if (!node.children) {\n var keyId = node.keyId,\n searcher = node.searcher;\n\n var matches = _this7._findMatches({\n key: _this7._keyStore.get(keyId),\n value: _this7._myIndex.getValueForItemAtKeyId(item, keyId),\n searcher: searcher\n });\n\n if (matches && matches.length) {\n return [{\n idx: idx,\n item: item,\n matches: matches\n }];\n }\n\n return [];\n }\n /*eslint indent: [2, 2, {\"SwitchCase\": 1}]*/\n\n\n switch (node.operator) {\n case LogicalOperator.AND:\n {\n var res = [];\n\n for (var i = 0, len = node.children.length; i < len; i += 1) {\n var child = node.children[i];\n var result = evaluate(child, item, idx);\n\n if (result.length) {\n res.push.apply(res, _toConsumableArray(result));\n } else {\n return [];\n }\n }\n\n return res;\n }\n\n case LogicalOperator.OR:\n {\n var _res = [];\n\n for (var _i2 = 0, _len = node.children.length; _i2 < _len; _i2 += 1) {\n var _child = node.children[_i2];\n\n var _result2 = evaluate(_child, item, idx);\n\n if (_result2.length) {\n _res.push.apply(_res, _toConsumableArray(_result2));\n\n break;\n }\n }\n\n return _res;\n }\n }\n };\n\n var records = this._myIndex.records;\n var resultMap = {};\n var results = [];\n records.forEach(function (_ref18) {\n var item = _ref18.$,\n idx = _ref18.i;\n\n if (isDefined(item)) {\n var expResults = evaluate(expression, item, idx);\n\n if (expResults.length) {\n // Dedupe when adding\n if (!resultMap[idx]) {\n resultMap[idx] = {\n idx: idx,\n item: item,\n matches: []\n };\n results.push(resultMap[idx]);\n }\n\n expResults.forEach(function (_ref19) {\n var _resultMap$idx$matche;\n\n var matches = _ref19.matches;\n\n (_resultMap$idx$matche = resultMap[idx].matches).push.apply(_resultMap$idx$matche, _toConsumableArray(matches));\n });\n }\n }\n });\n return results;\n }\n }, {\n key: \"_searchObjectList\",\n value: function _searchObjectList(query) {\n var _this8 = this;\n\n var searcher = createSearcher(query, this.options);\n var _this$_myIndex = this._myIndex,\n keys = _this$_myIndex.keys,\n records = _this$_myIndex.records;\n var results = []; // List is Array<Object>\n\n records.forEach(function (_ref20) {\n var item = _ref20.$,\n idx = _ref20.i;\n\n if (!isDefined(item)) {\n return;\n }\n\n var matches = []; // Iterate over every key (i.e, path), and fetch the value at that key\n\n keys.forEach(function (key, keyIndex) {\n matches.push.apply(matches, _toConsumableArray(_this8._findMatches({\n key: key,\n value: item[keyIndex],\n searcher: searcher\n })));\n });\n\n if (matches.length) {\n results.push({\n idx: idx,\n item: item,\n matches: matches\n });\n }\n });\n return results;\n }\n }, {\n key: \"_findMatches\",\n value: function _findMatches(_ref21) {\n var key = _ref21.key,\n value = _ref21.value,\n searcher = _ref21.searcher;\n\n if (!isDefined(value)) {\n return [];\n }\n\n var matches = [];\n\n if (isArray(value)) {\n value.forEach(function (_ref22) {\n var text = _ref22.v,\n idx = _ref22.i,\n norm = _ref22.n;\n\n if (!isDefined(text)) {\n return;\n }\n\n var _searcher$searchIn2 = searcher.searchIn(text),\n isMatch = _searcher$searchIn2.isMatch,\n score = _searcher$searchIn2.score,\n indices = _searcher$searchIn2.indices;\n\n if (isMatch) {\n matches.push({\n score: score,\n key: key,\n value: text,\n idx: idx,\n norm: norm,\n indices: indices\n });\n }\n });\n } else {\n var text = value.v,\n _norm = value.n;\n\n var _searcher$searchIn3 = searcher.searchIn(text),\n isMatch = _searcher$searchIn3.isMatch,\n score = _searcher$searchIn3.score,\n indices = _searcher$searchIn3.indices;\n\n if (isMatch) {\n matches.push({\n score: score,\n key: key,\n value: text,\n norm: _norm,\n indices: indices\n });\n }\n }\n\n return matches;\n }\n }]);\n\n return Fuse;\n}();\n\nFuse.version = '6.4.6';\nFuse.createIndex = createIndex;\nFuse.parseIndex = parseIndex;\nFuse.config = Config;\n{\n Fuse.parseQuery = parse;\n}\n{\n register(ExtendedSearch);\n}\nexport default Fuse;","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import Fuse from'fuse.js';var defaultState={line_descriptions:[],page:1,total_pages:1,count:null};export default{namespaced:true,state:_objectSpread({},defaultState),mutations:{resetState:function resetState(state){Object.assign(state,defaultState());},setItems:function setItems(state,action){Object.assign(state,action.payload.data);},deleteItem:function deleteItem(state,action){var lineId=action.payload.meta.lineId;var lines=state.line_descriptions;var index=lines.findIndex(function(item){return item.id.toString()===lineId.toString();});state.line_descriptions.splice(index,1);}},actions:{removeItem:function removeItem(_ref,id){var commit=_ref.commit,rootGetters=_ref.rootGetters;return new Promise(function(resolve,reject){commit('api/fetch',{url:\"/services/lines-suggestions/\".concat(id),lineId:id,method:'DELETE',headers:rootGetters['auth/getHeaders'],onSuccess:['lineSuggestions/deleteItem'],promise:{resolve:resolve,reject:reject}},{root:true});});},searchFor:function searchFor(_ref2,query){var dispatch=_ref2.dispatch,getters=_ref2.getters;if(getters.shouldISearch){return dispatch('searchOnServer',query).then(function(result){return result.line_descriptions;})[\"catch\"](function(){return[];});}return dispatch('searchLocaly',query);},searchLocaly:function searchLocaly(_ref3,queryString){var getters=_ref3.getters;var options={threshold:0.3,keys:['id','description']};var fuse=new Fuse(getters.lineSuggestions,options);var result=fuse.search(queryString);return result.map(function(row){return row.item;});},searchOnServer:function searchOnServer(_ref4,query){var commit=_ref4.commit,rootGetters=_ref4.rootGetters;return new Promise(function(resolve,reject){commit('api/fetch',{url:'/services/lines-suggestions',method:'POST',headers:rootGetters['auth/getHeaders'],body:{query:query},promise:{resolve:resolve,reject:reject}},{root:true});});},getSuggestions:function getSuggestions(_ref5){var commit=_ref5.commit,rootGetters=_ref5.rootGetters;commit('api/fetch',{url:'/services/lines-suggestions',method:'POST',headers:rootGetters['auth/getHeaders'],onSuccess:['lineSuggestions/setItems']},{root:true});},setItems:function setItems(_ref6,payload){var commit=_ref6.commit;commit('setItems',payload);},deleteItem:function deleteItem(_ref7,payload){var commit=_ref7.commit;commit('deleteItem',payload);}},getters:{lineSuggestions:function lineSuggestions(state){return state.line_descriptions;},shouldISearch:function shouldISearch(state){return state.total_pages>1;}}};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{toSnakeKeys}from'keys-transform';import{FETCH_STATE_NONE,FETCH_STATE_PENDING,FETCH_STATE_SUCCESS,FETCH_STATE_ERROR}from'~/config/constants';var defaultState=function defaultState(){return{resource:{},invoice_kinds:[],invoices:[],total_pages:0,resourceFetchState:FETCH_STATE_NONE,downloadFetchState:FETCH_STATE_NONE};};var mutations={getResourceStart:function getResourceStart(state){state.resourceFetchState=FETCH_STATE_PENDING;},getResourceSuccess:function getResourceSuccess(state,action){Object.assign(state,{resource:action.payload.data});state.resourceFetchState=FETCH_STATE_SUCCESS;},getFilterConfigSuccess:function getFilterConfigSuccess(state,action){Object.assign(state,{invoice_kinds:action.payload.data.invoice_kinds});},getResourceError:function getResourceError(state){state.resourceFetchState=FETCH_STATE_ERROR;},requestDownloadStart:function requestDownloadStart(state){state.downloadFetchState=FETCH_STATE_PENDING;},requestDownloadSuccess:function requestDownloadSuccess(state){state.downloadFetchState=FETCH_STATE_SUCCESS;},requestDownloadError:function requestDownloadError(state){state.downloadFetchState=FETCH_STATE_ERROR;},resetState:function resetState(state){Object.assign(state,this.defaultState());}};var actions={fetchFilterConfig:function fetchFilterConfig(_ref){var commit=_ref.commit,rootGetters=_ref.rootGetters;commit('api/fetch',{url:'/invoices/reports/filter_config',method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['reports/getFilterConfigSuccess']},{root:true});},fetchData:function fetchData(_ref2,_ref3){var commit=_ref2.commit,rootGetters=_ref2.rootGetters;var period=_ref3.period,from=_ref3.from,to=_ref3.to,clientId=_ref3.clientId,invoiceKind=_ref3.invoiceKind,fetchInvoices=_ref3.fetchInvoices;commit('api/fetch',{url:'/invoices/reports',method:'POST',body:{reports:{period:period,from:from,to:to,contact_id:clientId,invoice_kind:invoiceKind}},headers:_objectSpread({},rootGetters['auth/getHeaders']),onStart:['reports/getResourceStart'],onSuccess:fetchInvoices?['reports/fetchInvoices','reports/getResourceSuccess']:['reports/getResourceSuccess'],onError:['reports/getResourceError',{type:'flashMessages/addMessage',kind:'error',key:'getResourceError'}]},{root:true});},fetchInvoices:function fetchInvoices(_ref4,action){var dispatch=_ref4.dispatch;var _action$payload$meta$=action.payload.meta.body.reports,from=_action$payload$meta$.from,to=_action$payload$meta$.to,invoiceKind=_action$payload$meta$.invoice_kind,period=_action$payload$meta$.period,invoicesForContact=_action$payload$meta$.contact_id;dispatch('invoices/searchInvoices',{from:from,to:to,invoiceKind:invoiceKind,period:period,invoicesForContact:invoicesForContact},{root:true});},requestDownload:function requestDownload(_ref5,params){var commit=_ref5.commit,rootGetters=_ref5.rootGetters;commit('api/fetch',{url:'/invoices/reports/download',method:'POST',body:{reports:_objectSpread({},toSnakeKeys(params))},headers:_objectSpread({},rootGetters['auth/getHeaders']),onStart:['reports/requestDownloadStart'],onSuccess:['reports/requestDownloadSuccess',{type:'flashMessages/addMessage',kind:'success',key:'downloadReportSuccess'}],onError:['reports/requestDownloadError',{type:'flashMessages/addMessage',kind:'error',key:'downloadReportError'}]},{root:true});},getResourceStart:function getResourceStart(_ref6){var commit=_ref6.commit;commit('getResourceStart');},getResourceSuccess:function getResourceSuccess(_ref7,payload){var commit=_ref7.commit;commit('getResourceSuccess',payload);},getResourceError:function getResourceError(_ref8,payload){var commit=_ref8.commit;commit('getResourceError',payload);},requestDownloadStart:function requestDownloadStart(_ref9){var commit=_ref9.commit;commit('requestDownloadStart');},requestDownloadSuccess:function requestDownloadSuccess(_ref10,payload){var commit=_ref10.commit;commit('requestDownloadSuccess',payload);},requestDownloadError:function requestDownloadError(_ref11,payload){var commit=_ref11.commit;commit('requestDownloadError',payload);},getFilterConfigSuccess:function getFilterConfigSuccess(_ref12,payload){var commit=_ref12.commit;commit('getFilterConfigSuccess',payload);},resetState:function resetState(_ref13){var commit=_ref13.commit;commit('resetState');}};var getters={isResourceLoaded:function isResourceLoaded(state){return state.resourceFetchState===FETCH_STATE_SUCCESS;},isDownloadSuccess:function isDownloadSuccess(state){return state.downloadFetchState===FETCH_STATE_SUCCESS;},isDownloadInProgress:function isDownloadInProgress(state){return state.downloadFetchState===FETCH_STATE_PENDING;}};export default{namespaced:true,state:defaultState,getters:getters,actions:actions,mutations:mutations};","import axios from'axios';var instance=axios.create({baseURL:process.env.FO_API_PATH});export var updateInstance=function updateInstance(updater){updater(instance);};export default instance;","import instance from'~/config/apiAxiosInstance';export default function request(payload){switch(payload.method){default:return Promise.reject(new Error('Unknown API method'));case'GET':return instance.get(payload.url,payload);case'POST':return instance.post(payload.url,payload.body,payload);case'PUT':return instance.put(payload.url,payload.body,payload);case'PATCH':return instance.patch(payload.url,payload.body,payload);case'DELETE':return instance[\"delete\"](payload.url,payload);}}","import '@redux-saga/symbols';\nimport '@babel/runtime/helpers/esm/extends';\nimport { channel, stringableFunc, func, notUndef } from '@redux-saga/is';\nimport { B as makeIterator, M as take, N as fork, O as cancel, P as call, Q as actionChannel, R as sliding, S as delay, T as race, c as check } from './chunk-e922c950.js';\nexport { W as effectTypes, M as take, X as takeMaybe, Y as put, Z as putResolve, _ as all, T as race, P as call, $ as apply, a0 as cps, N as fork, a1 as spawn, a2 as join, O as cancel, a3 as select, Q as actionChannel, a4 as cancelled, a5 as flush, a6 as getContext, a7 as setContext, S as delay } from './chunk-e922c950.js';\nimport '@redux-saga/delay-p';\n\nvar done = function done(value) {\n return {\n done: true,\n value: value\n };\n};\n\nvar qEnd = {};\n\nfunction safeName(patternOrChannel) {\n if (channel(patternOrChannel)) {\n return 'channel';\n }\n\n if (stringableFunc(patternOrChannel)) {\n return String(patternOrChannel);\n }\n\n if (func(patternOrChannel)) {\n return patternOrChannel.name;\n }\n\n return String(patternOrChannel);\n}\n\nfunction fsmIterator(fsm, startState, name) {\n var stateUpdater,\n errorState,\n effect,\n nextState = startState;\n\n function next(arg, error) {\n if (nextState === qEnd) {\n return done(arg);\n }\n\n if (error && !errorState) {\n nextState = qEnd;\n throw error;\n } else {\n stateUpdater && stateUpdater(arg);\n var currentState = error ? fsm[errorState](error) : fsm[nextState]();\n nextState = currentState.nextState;\n effect = currentState.effect;\n stateUpdater = currentState.stateUpdater;\n errorState = currentState.errorState;\n return nextState === qEnd ? done(arg) : effect;\n }\n }\n\n return makeIterator(next, function (error) {\n return next(null, error);\n }, name);\n}\n\nfunction takeEvery(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var action,\n setAction = function setAction(ac) {\n return action = ac;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q1',\n effect: yFork(action)\n };\n }\n }, 'q1', \"takeEvery(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction takeLatest(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var yCancel = function yCancel(task) {\n return {\n done: false,\n value: cancel(task)\n };\n };\n\n var task, action;\n\n var setTask = function setTask(t) {\n return task = t;\n };\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return task ? {\n nextState: 'q3',\n effect: yCancel(task)\n } : {\n nextState: 'q1',\n effect: yFork(action),\n stateUpdater: setTask\n };\n },\n q3: function q3() {\n return {\n nextState: 'q1',\n effect: yFork(action),\n stateUpdater: setTask\n };\n }\n }, 'q1', \"takeLatest(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction takeLeading(patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n\n var yCall = function yCall(ac) {\n return {\n done: false,\n value: call.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var action;\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q1',\n effect: yCall(action)\n };\n }\n }, 'q1', \"takeLeading(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nfunction throttle(delayLength, pattern, worker) {\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var action, channel;\n var yActionChannel = {\n done: false,\n value: actionChannel(pattern, sliding(1))\n };\n\n var yTake = function yTake() {\n return {\n done: false,\n value: take(channel)\n };\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var yDelay = {\n done: false,\n value: delay(delayLength)\n };\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n var setChannel = function setChannel(ch) {\n return channel = ch;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yActionChannel,\n stateUpdater: setChannel\n };\n },\n q2: function q2() {\n return {\n nextState: 'q3',\n effect: yTake(),\n stateUpdater: setAction\n };\n },\n q3: function q3() {\n return {\n nextState: 'q4',\n effect: yFork(action)\n };\n },\n q4: function q4() {\n return {\n nextState: 'q2',\n effect: yDelay\n };\n }\n }, 'q1', \"throttle(\" + safeName(pattern) + \", \" + worker.name + \")\");\n}\n\nfunction retry(maxTries, delayLength, fn) {\n var counter = maxTries;\n\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var yCall = {\n done: false,\n value: call.apply(void 0, [fn].concat(args))\n };\n var yDelay = {\n done: false,\n value: delay(delayLength)\n };\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yCall,\n errorState: 'q10'\n };\n },\n q2: function q2() {\n return {\n nextState: qEnd\n };\n },\n q10: function q10(error) {\n counter -= 1;\n\n if (counter <= 0) {\n throw error;\n }\n\n return {\n nextState: 'q1',\n effect: yDelay\n };\n }\n }, 'q1', \"retry(\" + fn.name + \")\");\n}\n\nfunction debounceHelper(delayLength, patternOrChannel, worker) {\n for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n var action, raceOutput;\n var yTake = {\n done: false,\n value: take(patternOrChannel)\n };\n var yRace = {\n done: false,\n value: race({\n action: take(patternOrChannel),\n debounce: delay(delayLength)\n })\n };\n\n var yFork = function yFork(ac) {\n return {\n done: false,\n value: fork.apply(void 0, [worker].concat(args, [ac]))\n };\n };\n\n var yNoop = function yNoop(value) {\n return {\n done: false,\n value: value\n };\n };\n\n var setAction = function setAction(ac) {\n return action = ac;\n };\n\n var setRaceOutput = function setRaceOutput(ro) {\n return raceOutput = ro;\n };\n\n return fsmIterator({\n q1: function q1() {\n return {\n nextState: 'q2',\n effect: yTake,\n stateUpdater: setAction\n };\n },\n q2: function q2() {\n return {\n nextState: 'q3',\n effect: yRace,\n stateUpdater: setRaceOutput\n };\n },\n q3: function q3() {\n return raceOutput.debounce ? {\n nextState: 'q1',\n effect: yFork(action)\n } : {\n nextState: 'q2',\n effect: yNoop(raceOutput.action),\n stateUpdater: setAction\n };\n }\n }, 'q1', \"debounce(\" + safeName(patternOrChannel) + \", \" + worker.name + \")\");\n}\n\nvar validateTakeEffect = function validateTakeEffect(fn, patternOrChannel, worker) {\n check(patternOrChannel, notUndef, fn.name + \" requires a pattern or channel\");\n check(worker, notUndef, fn.name + \" requires a saga parameter\");\n};\n\nfunction takeEvery$1(patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n validateTakeEffect(takeEvery$1, patternOrChannel, worker);\n }\n\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n return fork.apply(void 0, [takeEvery, patternOrChannel, worker].concat(args));\n}\n\nfunction takeLatest$1(patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n validateTakeEffect(takeLatest$1, patternOrChannel, worker);\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n return fork.apply(void 0, [takeLatest, patternOrChannel, worker].concat(args));\n}\n\nfunction takeLeading$1(patternOrChannel, worker) {\n if (process.env.NODE_ENV !== 'production') {\n validateTakeEffect(takeLeading$1, patternOrChannel, worker);\n }\n\n for (var _len3 = arguments.length, args = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {\n args[_key3 - 2] = arguments[_key3];\n }\n\n return fork.apply(void 0, [takeLeading, patternOrChannel, worker].concat(args));\n}\n\nfunction throttle$1(ms, pattern, worker) {\n if (process.env.NODE_ENV !== 'production') {\n check(pattern, notUndef, 'throttle requires a pattern');\n check(worker, notUndef, 'throttle requires a saga parameter');\n }\n\n for (var _len4 = arguments.length, args = new Array(_len4 > 3 ? _len4 - 3 : 0), _key4 = 3; _key4 < _len4; _key4++) {\n args[_key4 - 3] = arguments[_key4];\n }\n\n return fork.apply(void 0, [throttle, ms, pattern, worker].concat(args));\n}\n\nfunction retry$1(maxTries, delayLength, worker) {\n for (var _len5 = arguments.length, args = new Array(_len5 > 3 ? _len5 - 3 : 0), _key5 = 3; _key5 < _len5; _key5++) {\n args[_key5 - 3] = arguments[_key5];\n }\n\n return call.apply(void 0, [retry, maxTries, delayLength, worker].concat(args));\n}\n\nfunction debounce(delayLength, pattern, worker) {\n for (var _len6 = arguments.length, args = new Array(_len6 > 3 ? _len6 - 3 : 0), _key6 = 3; _key6 < _len6; _key6++) {\n args[_key6 - 3] = arguments[_key6];\n }\n\n return fork.apply(void 0, [debounceHelper, delayLength, pattern, worker].concat(args));\n}\n\nexport { debounce, retry$1 as retry, takeEvery$1 as takeEvery, takeLatest$1 as takeLatest, takeLeading$1 as takeLeading, throttle$1 as throttle };","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import _regeneratorRuntime from\"@babel/runtime/regenerator\";var _marked=/*#__PURE__*/_regeneratorRuntime.mark(dispatchAction),_marked2=/*#__PURE__*/_regeneratorRuntime.mark(apiFetch),_marked3=/*#__PURE__*/_regeneratorRuntime.mark(apiFetchWatch);import api from'~/lib/api';import{all,call,getContext,takeEvery}from'redux-saga/effects';// Helper function to dispatch an action or commit a mutation\nfunction dispatchAction(action){var store;return _regeneratorRuntime.wrap(function dispatchAction$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.next=2;return getContext('store');case 2:store=_context.sent;if(!(store._actions&&store._actions[action.type])){_context.next=8;break;}_context.next=6;return call([store,store.dispatch],action);case 6:_context.next=9;break;case 8:// It's a mutation, commit it synchronously\nstore.commit(action);case 9:case\"end\":return _context.stop();}}},_marked);}function getEffects(list,payload){if(list&&list.length){return list.map(function(type){var action;if(typeof type==='string'){action={type:type,payload:payload};}else{action=_objectSpread(_objectSpread({},type),payload);}return call(dispatchAction,action);});}return[];}export function apiFetch(action){var _action$payload$promi,promise,_promise$resolve,resolve,_promise$reject,reject,response;return _regeneratorRuntime.wrap(function apiFetch$(_context2){while(1){switch(_context2.prev=_context2.next){case 0:_action$payload$promi=action.payload.promise,promise=_action$payload$promi===void 0?{}:_action$payload$promi;_promise$resolve=promise.resolve,resolve=_promise$resolve===void 0?null:_promise$resolve,_promise$reject=promise.reject,reject=_promise$reject===void 0?null:_promise$reject;// Handle onStart effects\n_context2.next=4;return all(getEffects(action.payload.onStart,{meta:action.payload}));case 4:_context2.prev=4;_context2.next=7;return call(api,action.payload);case 7:response=_context2.sent;_context2.next=10;return all(getEffects(action.payload.onSuccess,_objectSpread(_objectSpread({},response),{},{meta:action.payload})));case 10:if(resolve!==null){resolve(response.data);}_context2.next=18;break;case 13:_context2.prev=13;_context2.t0=_context2[\"catch\"](4);_context2.next=17;return all(getEffects(action.payload.onError,_objectSpread(_objectSpread({},_context2.t0),{},{meta:action.payload})));case 17:if(reject!==null){reject(_context2.t0.response);}case 18:_context2.next=20;return all(getEffects(action.payload.onFinish,{meta:action.payload}));case 20:if(typeof action.payload.onFinish==='function'){action.payload.onFinish();}case 21:case\"end\":return _context2.stop();}}},_marked2,null,[[4,13]]);}export function apiFetchWatch(){return _regeneratorRuntime.wrap(function apiFetchWatch$(_context3){while(1){switch(_context3.prev=_context3.next){case 0:_context3.next=2;return takeEvery('api/fetch',apiFetch);case 2:case\"end\":return _context3.stop();}}},_marked3);}export default apiFetchWatch;","import fetchApi from'./apiFetch';import logActions from'./logActions';var devSagas=process.env.NODE_ENV==='development'?[logActions]:[];export default[fetchApi].concat(devSagas);","import{getField,updateField}from'vuex-map-fields';export default{namespaced:true,state:{dialogOpened:false,for_migration:0},mutations:{updateField:updateField,openDialog:function openDialog(state){state.dialogOpened=true;},closeDialog:function closeDialog(state){state.dialogOpened=false;}},actions:{openDialog:function openDialog(_ref){var commit=_ref.commit;commit('openDialog');},closeDialog:function closeDialog(_ref2){var commit=_ref2.commit;commit('closeDialog');}},getters:{getField:getField}};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{getField,updateField}from'vuex-map-fields';import{getSettingsFormConfig,getFormValidations}from'~/config/formConfig';var defaultState=function defaultState(){return{activeSettings:'generalSettingsForm',baseCurrency:'CZK',canDisableFooterBrand:false,dialogOpened:false,disableBrandInFooter:false,errorMessage:null,invoiceStateEnabled:false,lineSuggestionsEnabled:false,predictNumber:null,predictType:null,predictDate:null};};var mutations={updateField:updateField,openDialog:function openDialog(state){state.dialogOpened=true;},resetState:function resetState(state){Object.assign(state,defaultState());},setActiveTab:function setActiveTab(state,activeTab){state.activeTab=activeTab;},setErrorMessage:function setErrorMessage(state,message){state.errorMessage=message;},openSettingsDialog:function openSettingsDialog(state){state.dialogOpened=true;},closeSettingsDialog:function closeSettingsDialog(state){state.dialogOpened=false;},getSettingsLoaded:function getSettingsLoaded(state,data){state.disableBrandInFooter=data.disable_brand_in_footer;state.invoiceStateEnabled=data.invoice_state;state.lineSuggestionsEnabled=data.invoice_line_descriptions;state.canDisableFooterBrand=data.can_disable_footer_brand;state.baseCurrency=data.base_currency;},getSettingsLoadError:function getSettingsLoadError(){},setActiveSettings:function setActiveSettings(state,name){state.activeSettings=name;},predictPattern:function predictPattern(state,_ref){var number=_ref.number,type=_ref.type,_ref$date=_ref.date,date=_ref$date===void 0?null:_ref$date;state.predictNumber=number;state.predictType=type;state.predictDate=date;}};var actions={closeDialog:function closeDialog(_ref2){var commit=_ref2.commit;commit('resetState');},changeColumnsSettings:function changeColumnsSettings(_ref3,_ref4){var commit=_ref3.commit,rootGetters=_ref3.rootGetters;var scope=_ref4.scope,columns=_ref4.columns;commit('api/fetch',{url:'/settings',method:'PATCH',headers:_objectSpread({},rootGetters['auth/getHeaders']),body:{setting:{table_columns:_defineProperty({},scope,columns)}},onSuccess:['settingsForm/changeColumnsSuccess'],tableColumns:columns},{root:true});},submitForm:function submitForm(_ref5,_ref6){var commit=_ref5.commit,rootGetters=_ref5.rootGetters,state=_ref5.state;var marAsPaid=_ref6.marAsPaid;commit('api/fetch',{url:'/settings',method:'PATCH',headers:_objectSpread({},rootGetters['auth/getHeaders']),body:{setting:{disable_brand_in_footer:state.disableBrandInFooter,invoice_state:state.invoiceStateEnabled,invoice_line_descriptions:state.lineSuggestionsEnabled,update_all_invoices:marAsPaid,base_currency:state.baseCurrency}},onSuccess:['settingsForm/formSubmitSuccess'],onError:['settingsForm/formSubmitError'],marAsPaid:marAsPaid},{root:true});},formSubmitError:function formSubmitError(_ref7){var commit=_ref7.commit;commit('setErrorMessage','storeSettingsError');},changeColumnsSuccess:function changeColumnsSuccess(_ref8,action){var _=_ref8._;this.dispatch('config/setColumnsConfig',action.payload.config.tableColumns,{root:true});},formSubmitSuccess:function formSubmitSuccess(_ref9,action){var commit=_ref9.commit;var marAsPaid=action.payload.meta.marAsPaid;this.dispatch('flashMessages/addMessage',{kind:'success',key:'settingsSavedSuccessful',params:action.payload.data});this.dispatch('config/setInvoicesStateConfig',action.payload.data.invoice_state,{root:true});this.dispatch('config/setLineSuggestionConfig',action.payload.data.invoice_line_descriptions,{root:true});this.dispatch('config/setInvoicesWithoutState',!marAsPaid,{root:true});this.dispatch('api/refetchInvoices',{root:true});this.dispatch('uiEffects/scrollTo',{top:0,left:0});commit('resetState');},getSettingsLoaded:function getSettingsLoaded(_ref10,action){var commit=_ref10.commit;commit('getSettingsLoaded',action.payload.data);commit('openSettingsDialog');},getSettingsLoadError:function getSettingsLoadError(_ref11,action){var commit=_ref11.commit;commit('getSettingsLoadError',action);},openSettingsDialog:function openSettingsDialog(_ref12,_ref13){var commit=_ref12.commit,rootGetters=_ref12.rootGetters;var type=_ref13.type;commit('setActiveSettings',type);if(type==='generalSettingsForm'){commit('api/fetch',{url:'/settings/edit',method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),onSuccess:['settingsForm/getSettingsLoaded'],onError:['settingsForm/getSettingsLoadError']},{root:true});}else{commit('openSettingsDialog');}},predictPattern:function predictPattern(_ref14,number,type){var commit=_ref14.commit;commit('predictPattern',number,type);},setSequencesToForm:function setSequencesToForm(_ref15,action){var _=_ref15._;this.dispatch('invoiceForm/setSequences',action,{root:true});}};/* eslint no-shadow: [\"error\", { \"allow\": [\"getters\"] }] */var getters={getField:getField,validationRules:function validationRules(state){return getFormValidations(getSettingsFormConfig(state));},canDisableFooterBrand:function canDisableFooterBrand(state){return state.canDisableFooterBrand;},settingsForm:function settingsForm(state){return state;}};export default{namespaced:true,state:defaultState(),getters:getters,actions:actions,mutations:mutations};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{pathOr}from'ramda';import{trackPageview}from'~/lib/analytics';var ERROR_MESSAGES={422:'signUp.error.emailTaken'};export default{namespaced:true,state:{success:null,errorMessage:null},mutations:{signUpSuccess:function signUpSuccess(state,action){state.success=action.payload.data;},signUpError:function signUpError(state,action){state.errorMessage=action.errorMessage;},clearSignUpError:function clearSignUpError(state){state.errorMessage=null;}},actions:{signUp:function signUp(_ref,_ref2){var commit=_ref.commit;var email=_ref2.email,redirect=_ref2.redirect,_ref2$downloadOnSucce=_ref2.downloadOnSuccess,downloadOnSuccess=_ref2$downloadOnSucce===void 0?false:_ref2$downloadOnSucce;return new Promise(function(resolve,reject){var onSuccess=[];if(downloadOnSuccess){onSuccess.push({type:'invoiceForm/createInvoice',action:'download'},{type:'auth/closeDialog'});}commit('api/fetch',{url:'/users',method:'POST',body:{subscription:{email:email}},promise:{resolve:resolve,reject:reject},onSuccess:['signUp/signUpSuccess','signUp/trackSignUp','auth/signInSuccess','config/fetchConfigData','invoices/getNewInvoice',{type:'flashMessages/addMessage',kind:'success',key:'successSignup',params:{email:email}}].concat(onSuccess),onError:['signUp/signUpError'],redirect:redirect},{root:true});});},signUpNewbie:function signUpNewbie(_ref3,_ref4){var commit=_ref3.commit;var email=_ref4.email,fromLanding=_ref4.from_landing;commit('api/fetch',{url:'/users',method:'POST',body:{subscription:{email:email,from_landing:fromLanding}},onSuccess:['signUp/signUpSuccess','signUp/trackSignUp','auth/signInSuccess'],onError:['signUp/signUpError'],redirect:false},{root:true});},signUpSuccess:function signUpSuccess(_ref5,payload){var commit=_ref5.commit;commit('signUpSuccess',payload);},signUpError:function signUpError(_ref6,payload){var commit=_ref6.commit;var errorCode=pathOr('',['payload','response','status'],payload);var errorMessage=ERROR_MESSAGES[errorCode]||null;commit('signUpError',_objectSpread(_objectSpread({},payload),{},{errorMessage:errorMessage}));},clearSignUpError:function clearSignUpError(_ref7){var commit=_ref7.commit;commit('clearSignUpError');},trackSignUp:function trackSignUp(){var _window$posthog;window.dataLayer.push({event:'Purchase',value:0,currency:document.getElementsByTagName('html')[0].getAttribute('currency'),content_type:'Trial'});if(((_window$posthog=window.posthog)===null||_window$posthog===void 0?void 0:_window$posthog.getFeatureFlag('facebook-audience-ab'))==='remarketed'){window.dataLayer.push({event:'PurchaseCustomizedProduct'});}trackPageview('trial_subscriptions');}}};","function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{FETCH_STATE_NONE,FETCH_STATE_PENDING,FETCH_STATE_SUCCESS,FETCH_STATE_ERROR}from'~/config/constants';var defaultState=function defaultState(){return{resource:{},resourceFetchState:FETCH_STATE_NONE};};var mutations={getResourceStart:function getResourceStart(state){state.resourceFetchState=FETCH_STATE_PENDING;},getResourceSuccess:function getResourceSuccess(state,action){Object.assign(state,{resource:action.payload.data});state.resourceFetchState=FETCH_STATE_SUCCESS;},getResourceError:function getResourceError(state){state.resourceFetchState=FETCH_STATE_ERROR;},resetState:function resetState(state){Object.assign(state,this.defaultState());}};var actions={fetchData:function fetchData(_ref,_ref2){var commit=_ref.commit,rootGetters=_ref.rootGetters;var groupBy=_ref2.groupBy;commit('api/fetch',{url:'/invoices/statistics',method:'GET',headers:_objectSpread({},rootGetters['auth/getHeaders']),params:{group_by:groupBy},onStart:['statistics/getResourceStart'],onSuccess:['statistics/getResourceSuccess'],onError:['statistics/getResourceError',{type:'flashMessages/addMessage',kind:'error',key:'getResourceError'}]},{root:true});},getResourceStart:function getResourceStart(_ref3){var commit=_ref3.commit;commit('getResourceStart');},getResourceSuccess:function getResourceSuccess(_ref4,payload){var commit=_ref4.commit;commit('getResourceSuccess',payload);},getResourceError:function getResourceError(_ref5,payload){var commit=_ref5.commit;commit('getResourceError',payload);},resetState:function resetState(_ref6){var commit=_ref6.commit;commit('resetState');}};var getters={isResourceLoaded:function isResourceLoaded(state){return state.resourceFetchState===FETCH_STATE_SUCCESS;},data:function data(state){return state.resource;}};export default{namespaced:true,state:defaultState,getters:getters,actions:actions,mutations:mutations};","var _excluded=[\"count\"];var _this=this;function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded);var key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++){key=sourceSymbolKeys[i];if(excluded.indexOf(key)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(source,key))continue;target[key]=source[key];}}return target;}function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={};var sourceKeys=Object.keys(source);var key,i;for(i=0;i<sourceKeys.length;i++){key=sourceKeys[i];if(excluded.indexOf(key)>=0)continue;target[key]=source[key];}return target;}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{getField,updateField}from'vuex-map-fields';import{getSubmitInvoiceForm,getFormValidations}from'~/config/formConfig';var defaultState=function defaultState(){return{dialogOpened:false,sendExistingInvoice:false,fromOverview:false,errorMessage:null,copyToSender:false,isdoc:false,message:null,recipientEmail:[],invoiceId:null,invoiceNumber:null,rules:null,senderEmail:null,subject:null};};var mutations={updateField:updateField,openDialog:function openDialog(state){state.dialogOpened=true;},setSendExistingInvoice:function setSendExistingInvoice(state,value){state.sendExistingInvoice=value;},setFromOverview:function setFromOverview(state,value){state.fromOverview=value;},setInvoiceNumber:function setInvoiceNumber(state,value){state.invoiceNumber=value;},resetState:function resetState(state){Object.assign(state,defaultState());},setErrorMessage:function setErrorMessage(state,message){state.errorMessage=message;},setFormData:function setFormData(state,data){state.senderEmail=data.sender;state.subject=data.subject;state.message=data.body;state.invoiceId=data.invoice_id;if(data.recipient){state.recipientEmail=data.recipient.split(/,|;/);}}};var actions={closeDialog:function closeDialog(_ref){var commit=_ref.commit;commit('resetState');},buildFormForExistingInvoice:function buildFormForExistingInvoice(_ref2,_ref3){var commit=_ref2.commit,rootGetters=_ref2.rootGetters;var id=_ref3.id,number=_ref3.number,_ref3$fromOverview=_ref3.fromOverview,fromOverview=_ref3$fromOverview===void 0?false:_ref3$fromOverview;commit('setSendExistingInvoice',true);commit('setFromOverview',fromOverview);commit('setInvoiceNumber',number);commit('api/fetch',{url:'/send-invoice/build',method:'POST',headers:_objectSpread({},rootGetters['auth/getHeaders']),body:{invoice_id:id},onSuccess:['submitInvoiceForm/formBuildSuccess'],onError:['submitInvoiceForm/formBuildError']},{root:true});},buildForm:function buildForm(_ref4){var commit=_ref4.commit,rootGetters=_ref4.rootGetters,getters=_ref4.getters;commit('setSendExistingInvoice',false);commit('api/fetch',{url:'/send-invoice/build',method:'POST',headers:_objectSpread({},rootGetters['auth/getHeaders']),body:_objectSpread({invoice:_objectSpread({},rootGetters['invoiceForm/invoiceApiData'])},getters.getInvoiceId),onSuccess:['submitInvoiceForm/formBuildSuccess'],onError:['submitInvoiceForm/formBuildError']},{root:true});},formBuildSuccess:function formBuildSuccess(_ref5,action){var commit=_ref5.commit;commit('setFormData',action.payload.data);commit('openDialog');},formBuildError:function formBuildError(){_this.dispatch('flashMessages/addMessage',{kind:'error',key:'invoiceBuildFormError'});},submitForm:function submitForm(_ref6,_ref7){var commit=_ref6.commit,rootGetters=_ref6.rootGetters,getters=_ref6.getters,state=_ref6.state;var _ref7$attachmentIds=_ref7.attachmentIds,attachmentIds=_ref7$attachmentIds===void 0?[]:_ref7$attachmentIds;return new Promise(function(resolve,reject){var invoiceId=getters.getInvoiceId.invoice_id;var onSuccess=[{type:'analytics/trackEvent',analytics:{action:state.fromOverview?'old':'new',category:'invoice',label:'submit',value:invoiceId}}];if(invoiceId){onSuccess.push({type:'api/refetchInvoicesByIds',ids:[invoiceId]});}commit('api/fetch',{url:'/send-invoice',method:'POST',headers:_objectSpread({},rootGetters['auth/getHeaders']),invoiceId:state.invoiceId,body:_objectSpread(_objectSpread({invoice_email:{sender:state.senderEmail,recipients_str:state.recipientEmail.join(';'),subject:state.subject,isdoc_required:state.isdoc,copy_to_sender:state.copyToSender,body:state.message,attachment_ids:attachmentIds}},getters.getInvoiceId),getters.getInvoiceData),onSuccess:[{type:'submitInvoiceForm/formSubmitSuccess'}].concat(onSuccess,['submitInvoiceForm/openPremiumDialog']),onError:['submitInvoiceForm/formSubmitError'],promise:{resolve:resolve,reject:reject}},{root:true});});},formSubmitError:function formSubmitError(_ref8,action){var commit=_ref8.commit;var error=action.payload.response.data.error;commit('setErrorMessage',error||'invoiceSendError');},formSubmitSuccess:function formSubmitSuccess(_ref9,action){var commit=_ref9.commit;var _action$data=action.data,count=_action$data.count,params=_objectWithoutProperties(_action$data,_excluded);var key=count>1?'invoiceSendSuccessfulMultiple':'invoiceSendSuccessful';this.dispatch('flashMessages/addMessage',{kind:'success',key:key,params:params,withTimeout:true,persistent:action.persistent});this.dispatch('uiEffects/scrollTo',{top:0,left:0});commit('resetState');},openPremiumDialog:function openPremiumDialog(){this.dispatch('invoiceForm/openPremiumDialog','manage');},getRecipientSuggestions:function getRecipientSuggestions(_ref10){var commit=_ref10.commit,rootGetters=_ref10.rootGetters;var query=arguments.length>1&&arguments[1]!==undefined?arguments[1]:'';return new Promise(function(resolve,reject){commit('api/fetch',{url:'/services/invoice-email-suggestions',method:'POST',body:{query:query},headers:rootGetters['auth/getHeaders'],promise:{resolve:resolve,reject:reject}},{root:true});});}};/* eslint no-shadow: [\"error\", { \"allow\": [\"getters\"] }] */var getters={getField:getField,validationRules:function validationRules(state){return getFormValidations(getSubmitInvoiceForm(state));},emailForm:function emailForm(state){return state;},getInvoiceId:function getInvoiceId(state,getters,rootState,rootGetters){var invoiceId=rootGetters['invoiceForm/invoiceId'];if(state.invoiceId!==null){return{invoice_id:state.invoiceId};}if(invoiceId!==null){return{invoice_id:invoiceId};}return{};},getInvoiceNumber:function getInvoiceNumber(state){return state.invoiceNumber;},getInvoiceData:function getInvoiceData(state,getters,rootState,rootGetters){if(state.sendExistingInvoice===false){return{invoice:_objectSpread({},rootGetters['invoiceForm/invoiceApiData'])};}return{};}};export default{namespaced:true,state:defaultState(),getters:getters,actions:actions,mutations:mutations};","import{includes}from'ramda';import{PATH_INVOICE_CLONE,PATH_INVOICE_EDIT,PATH_INVOICE_SHOW,PATH_INVOICE,PATH_LANDING,PATH_NEW_REGISTRATION,PATH_PRICELIST,PATH_SIGNIN_LOGIN}from'~/router';var hiddenPaths=[PATH_INVOICE_CLONE,PATH_INVOICE_EDIT,PATH_INVOICE_SHOW,PATH_INVOICE,PATH_LANDING,PATH_NEW_REGISTRATION,PATH_PRICELIST,PATH_SIGNIN_LOGIN];export var hideSubnavigationLinks=function hideSubnavigationLinks(){var element=document.getElementById('sub_navigation_links');if(element){element.classList.add('hidden');}};export var showSubnavigationLinks=function showSubnavigationLinks(){var element=document.getElementById('sub_navigation_links');if(element){element.classList.remove('hidden');}};export var hideContentLinks=function hideContentLinks(){var element=document.getElementById('content_links');if(element){element.classList.add('hidden');}};export var showContentLinks=function showContentLinks(){var element=document.getElementById('content_links');if(element){element.classList.remove('hidden');}};export var hideAppLinks=function hideAppLinks(){var element=document.getElementById('app_links');if(element){element.classList.add('hidden');}};export var showAppLinks=function showAppLinks(){var element=document.getElementById('app_links');if(element){element.classList.remove('hidden');}};export var hideInvoicesInfo=function hideInvoicesInfo(){var element=document.getElementById('invoices_info');if(element){element.classList.add('hidden');}};export var handleSubnavigationLinks=function handleSubnavigationLinks(show){show?showSubnavigationLinks():hideSubnavigationLinks();};export var handleContentLinks=function handleContentLinks(show){show?showContentLinks():hideContentLinks();};export var handleAppLinks=function handleAppLinks(show){show?showAppLinks():hideAppLinks();};var handleFooter=function handleFooter(vueInstance,route){var store=vueInstance.$store;var isAuthorized=store.getters['auth/isAuthorized'];var preventedPath=includes(route.name,hiddenPaths);handleSubnavigationLinks(isAuthorized&&!preventedPath);handleContentLinks(!isAuthorized&&!preventedPath);handleAppLinks(!isAuthorized&&!preventedPath);};export default handleFooter;","import _scrollTo from'~/lib/scrollTo';import{hideInvoicesInfo}from'~/lib/handleFooter';export default{namespaced:true,state:{},actions:{scrollTo:function scrollTo(_,val){_scrollTo(val);},scrollToElement:function scrollToElement(_,el){var rect=el.getBoundingClientRect();_scrollTo({top:rect.top+window.scrollY-80,left:rect.left+window.scrollX});},hideFooterInvoicesInfo:function hideFooterInvoicesInfo(){hideInvoicesInfo();}}};","import Vue from'vue';import Vuex from'vuex';import createLogger from'vuex/dist/logger';import createPersistedState from'vuex-persistedstate';import createSagaPlugin from'~/lib/vuex-redux-saga';import analytics from'./analytics';import api from'./api';import appUpdates from'./appUpdates';import auth from'./auth';import breadcrumbs from'./breadcrumbs';import config from'./config';import contacts from'./contacts';import currencyRates from'./currencyRates';import discountDialog from'./discountDialog';import eetForm from'./eetForm';import env from'./env';import file from'./file';import flashMessages from'./flashMessages';import invoiceForm from'./invoiceForm';import invoices from'./invoices';import lineSuggestions from'./lineSuggestions';import reports from'./reports';import sagas from'./sagas';import savedLines from'./savedLines';import settingsForm from'./settingsForm';import signUp from'./signUp';import statistics from'./statistics';import submitInvoiceForm from'./submitInvoiceForm';import uiEffects from'./uiEffects';Vue.use(Vuex);var sagaPlugin=createSagaPlugin();var debug=process.env.NODE_ENV==='development';var loggerPlugin=debug?[createLogger()]:[];var globalPlugins=[createPersistedState({paths:['auth.authStatus','auth.keepMeSignedIn','auth.tokens','auth.user','flashMessages']}),sagaPlugin];var store=new Vuex.Store({modules:{analytics:analytics,api:api,appUpdates:appUpdates,auth:auth,breadcrumbs:breadcrumbs,config:config,contacts:contacts,currencyRates:currencyRates,discountDialog:discountDialog,eetForm:eetForm,env:env,file:file,flashMessages:flashMessages,invoiceForm:invoiceForm,invoices:invoices,lineSuggestions:lineSuggestions,reports:reports,savedLines:savedLines,settingsForm:settingsForm,signUp:signUp,statistics:statistics,submitInvoiceForm:submitInvoiceForm,uiEffects:uiEffects},plugins:[].concat(globalPlugins,loggerPlugin)});sagas.forEach(sagaPlugin.run);export default store;","var slimNavbar=function slimNavbar(){var subscriptionFlash=document.getElementById('subscription-flash');var navbar=document.querySelector('.navbar');var flashDisplayed=subscriptionFlash!==null;if(flashDisplayed){navbar.classList.add('navbar--shrink');}else{navbar.classList.remove('navbar--shrink');}};var bindNavbar=function bindNavbar(){document.addEventListener('DOMContentLoaded',function(){slimNavbar();});};export default bindNavbar;","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { arrayify, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { addGlobalEventProcessor } from './eventProcessors.js';\nimport { getClient } from './exports.js';\nimport { getCurrentHub } from './hub.js';\nvar installedIntegrations = [];\n/** Map of integrations assigned to a client */\n\n/**\n * Remove duplicates from the given array, preferring the last instance of any duplicate. Not guaranteed to\n * preseve the order of integrations in the array.\n *\n * @private\n */\n\nfunction filterDuplicates(integrations) {\n var integrationsByName = {};\n integrations.forEach(function (currentInstance) {\n var name = currentInstance.name;\n var existingInstance = integrationsByName[name]; // We want integrations later in the array to overwrite earlier ones of the same type, except that we never want a\n // default instance to overwrite an existing user instance\n\n if (existingInstance && !existingInstance.isDefaultInstance && currentInstance.isDefaultInstance) {\n return;\n }\n\n integrationsByName[name] = currentInstance;\n });\n return Object.keys(integrationsByName).map(function (k) {\n return integrationsByName[k];\n });\n}\n/** Gets integrations to install */\n\n\nfunction getIntegrationsToSetup(options) {\n var defaultIntegrations = options.defaultIntegrations || [];\n var userIntegrations = options.integrations; // We flag default instances, so that later we can tell them apart from any user-created instances of the same class\n\n defaultIntegrations.forEach(function (integration) {\n integration.isDefaultInstance = true;\n });\n var integrations;\n\n if (Array.isArray(userIntegrations)) {\n integrations = [].concat(_toConsumableArray(defaultIntegrations), _toConsumableArray(userIntegrations));\n } else if (typeof userIntegrations === 'function') {\n integrations = arrayify(userIntegrations(defaultIntegrations));\n } else {\n integrations = defaultIntegrations;\n }\n\n var finalIntegrations = filterDuplicates(integrations); // The `Debug` integration prints copies of the `event` and `hint` which will be passed to `beforeSend` or\n // `beforeSendTransaction`. It therefore has to run after all other integrations, so that the changes of all event\n // processors will be reflected in the printed values. For lack of a more elegant way to guarantee that, we therefore\n // locate it and, assuming it exists, pop it out of its current spot and shove it onto the end of the array.\n\n var debugIndex = findIndex(finalIntegrations, function (integration) {\n return integration.name === 'Debug';\n });\n\n if (debugIndex !== -1) {\n var _finalIntegrations$sp = finalIntegrations.splice(debugIndex, 1),\n _finalIntegrations$sp2 = _slicedToArray(_finalIntegrations$sp, 1),\n debugInstance = _finalIntegrations$sp2[0];\n\n finalIntegrations.push(debugInstance);\n }\n\n return finalIntegrations;\n}\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\n\n\nfunction setupIntegrations(client, integrations) {\n var integrationIndex = {};\n integrations.forEach(function (integration) {\n // guard against empty provided integrations\n if (integration) {\n setupIntegration(client, integration, integrationIndex);\n }\n });\n return integrationIndex;\n}\n/**\n * Execute the `afterAllSetup` hooks of the given integrations.\n */\n\n\nfunction afterSetupIntegrations(client, integrations) {\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = integrations[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var integration = _step.value;\n\n // guard against empty provided integrations\n if (integration && integration.afterAllSetup) {\n integration.afterAllSetup(client);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n}\n/** Setup a single integration. */\n\n\nfunction setupIntegration(client, integration, integrationIndex) {\n if (integrationIndex[integration.name]) {\n DEBUG_BUILD && logger.log(\"Integration skipped because it was already installed: \".concat(integration.name));\n return;\n }\n\n integrationIndex[integration.name] = integration; // `setupOnce` is only called the first time\n\n if (installedIntegrations.indexOf(integration.name) === -1) {\n // eslint-disable-next-line deprecation/deprecation\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n } // `setup` is run for each client\n\n\n if (integration.setup && typeof integration.setup === 'function') {\n integration.setup(client);\n }\n\n if (client.on && typeof integration.preprocessEvent === 'function') {\n var callback = integration.preprocessEvent.bind(integration);\n client.on('preprocessEvent', function (event, hint) {\n return callback(event, hint, client);\n });\n }\n\n if (client.addEventProcessor && typeof integration.processEvent === 'function') {\n var _callback = integration.processEvent.bind(integration);\n\n var processor = Object.assign(function (event, hint) {\n return _callback(event, hint, client);\n }, {\n id: integration.name\n });\n client.addEventProcessor(processor);\n }\n\n DEBUG_BUILD && logger.log(\"Integration installed: \".concat(integration.name));\n}\n/** Add an integration to the current hub's client. */\n\n\nfunction addIntegration(integration) {\n var client = getClient();\n\n if (!client || !client.addIntegration) {\n DEBUG_BUILD && logger.warn(\"Cannot add integration \\\"\".concat(integration.name, \"\\\" because no SDK Client is available.\"));\n return;\n }\n\n client.addIntegration(integration);\n} // Polyfill for Array.findIndex(), which is not supported in ES5\n\n\nfunction findIndex(arr, callback) {\n for (var i = 0; i < arr.length; i++) {\n if (callback(arr[i]) === true) {\n return i;\n }\n }\n\n return -1;\n}\n/**\n * Convert a new integration function to the legacy class syntax.\n * In v8, we can remove this and instead export the integration functions directly.\n *\n * @deprecated This will be removed in v8!\n */\n\n\nfunction convertIntegrationFnToClass(name, fn) {\n return Object.assign(function ConvertedIntegration() {\n return fn.apply(void 0, arguments);\n }, {\n id: name\n });\n}\n/**\n * Define an integration function that can be used to create an integration instance.\n * Note that this by design hides the implementation details of the integration, as they are considered internal.\n */\n\n\nfunction defineIntegration(fn) {\n return fn;\n}\n\nexport { addIntegration, afterSetupIntegrations, convertIntegrationFnToClass, defineIntegration, getIntegrationsToSetup, installedIntegrations, setupIntegration, setupIntegrations };","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { logger, getEventDescription, stringMatchesSomePattern } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js'; // \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\n\nvar DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\nvar DEFAULT_IGNORE_TRANSACTIONS = [/^.*\\/healthcheck$/, /^.*\\/healthy$/, /^.*\\/live$/, /^.*\\/ready$/, /^.*\\/heartbeat$/, /^.*\\/health$/, /^.*\\/healthz$/];\n/** Options for the InboundFilters integration */\n\nvar INTEGRATION_NAME = 'InboundFilters';\n\nvar _inboundFiltersIntegration = function _inboundFiltersIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent: function processEvent(event, _hint, client) {\n var clientOptions = client.getOptions();\n\n var mergedOptions = _mergeOptions(options, clientOptions);\n\n return _shouldDropEvent(event, mergedOptions) ? null : event;\n }\n };\n};\n\nvar inboundFiltersIntegration = defineIntegration(_inboundFiltersIntegration);\n/**\n * Inbound filters configurable by the user.\n * @deprecated Use `inboundFiltersIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar InboundFilters = convertIntegrationFnToClass(INTEGRATION_NAME, inboundFiltersIntegration);\n\nfunction _mergeOptions() {\n var internalOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var clientOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return {\n allowUrls: [].concat(_toConsumableArray(internalOptions.allowUrls || []), _toConsumableArray(clientOptions.allowUrls || [])),\n denyUrls: [].concat(_toConsumableArray(internalOptions.denyUrls || []), _toConsumableArray(clientOptions.denyUrls || [])),\n ignoreErrors: [].concat(_toConsumableArray(internalOptions.ignoreErrors || []), _toConsumableArray(clientOptions.ignoreErrors || []), _toConsumableArray(internalOptions.disableErrorDefaults ? [] : DEFAULT_IGNORE_ERRORS)),\n ignoreTransactions: [].concat(_toConsumableArray(internalOptions.ignoreTransactions || []), _toConsumableArray(clientOptions.ignoreTransactions || []), _toConsumableArray(internalOptions.disableTransactionDefaults ? [] : DEFAULT_IGNORE_TRANSACTIONS)),\n ignoreInternal: internalOptions.ignoreInternal !== undefined ? internalOptions.ignoreInternal : true\n };\n}\n\nfunction _shouldDropEvent(event, options) {\n if (options.ignoreInternal && _isSentryError(event)) {\n DEBUG_BUILD && logger.warn(\"Event dropped due to being internal Sentry Error.\\nEvent: \".concat(getEventDescription(event)));\n return true;\n }\n\n if (_isIgnoredError(event, options.ignoreErrors)) {\n DEBUG_BUILD && logger.warn(\"Event dropped due to being matched by `ignoreErrors` option.\\nEvent: \".concat(getEventDescription(event)));\n return true;\n }\n\n if (_isIgnoredTransaction(event, options.ignoreTransactions)) {\n DEBUG_BUILD && logger.warn(\"Event dropped due to being matched by `ignoreTransactions` option.\\nEvent: \".concat(getEventDescription(event)));\n return true;\n }\n\n if (_isDeniedUrl(event, options.denyUrls)) {\n DEBUG_BUILD && logger.warn(\"Event dropped due to being matched by `denyUrls` option.\\nEvent: \".concat(getEventDescription(event), \".\\nUrl: \").concat(_getEventFilterUrl(event)));\n return true;\n }\n\n if (!_isAllowedUrl(event, options.allowUrls)) {\n DEBUG_BUILD && logger.warn(\"Event dropped due to not being matched by `allowUrls` option.\\nEvent: \".concat(getEventDescription(event), \".\\nUrl: \").concat(_getEventFilterUrl(event)));\n return true;\n }\n\n return false;\n}\n\nfunction _isIgnoredError(event, ignoreErrors) {\n // If event.type, this is not an error\n if (event.type || !ignoreErrors || !ignoreErrors.length) {\n return false;\n }\n\n return _getPossibleEventMessages(event).some(function (message) {\n return stringMatchesSomePattern(message, ignoreErrors);\n });\n}\n\nfunction _isIgnoredTransaction(event, ignoreTransactions) {\n if (event.type !== 'transaction' || !ignoreTransactions || !ignoreTransactions.length) {\n return false;\n }\n\n var name = event.transaction;\n return name ? stringMatchesSomePattern(name, ignoreTransactions) : false;\n}\n\nfunction _isDeniedUrl(event, denyUrls) {\n // TODO: Use Glob instead?\n if (!denyUrls || !denyUrls.length) {\n return false;\n }\n\n var url = _getEventFilterUrl(event);\n\n return !url ? false : stringMatchesSomePattern(url, denyUrls);\n}\n\nfunction _isAllowedUrl(event, allowUrls) {\n // TODO: Use Glob instead?\n if (!allowUrls || !allowUrls.length) {\n return true;\n }\n\n var url = _getEventFilterUrl(event);\n\n return !url ? true : stringMatchesSomePattern(url, allowUrls);\n}\n\nfunction _getPossibleEventMessages(event) {\n var possibleMessages = [];\n\n if (event.message) {\n possibleMessages.push(event.message);\n }\n\n var lastException;\n\n try {\n // @ts-expect-error Try catching to save bundle size\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n lastException = event.exception.values[event.exception.values.length - 1];\n } catch (e) {// try catching to save bundle size checking existence of variables\n }\n\n if (lastException) {\n if (lastException.value) {\n possibleMessages.push(lastException.value);\n\n if (lastException.type) {\n possibleMessages.push(\"\".concat(lastException.type, \": \").concat(lastException.value));\n }\n }\n }\n\n if (DEBUG_BUILD && possibleMessages.length === 0) {\n logger.error(\"Could not extract message for event \".concat(getEventDescription(event)));\n }\n\n return possibleMessages;\n}\n\nfunction _isSentryError(event) {\n try {\n // @ts-expect-error can't be a sentry error if undefined\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return event.exception.values[0].type === 'SentryError';\n } catch (e) {// ignore\n }\n\n return false;\n}\n\nfunction _getLastValidUrl() {\n var frames = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n for (var i = frames.length - 1; i >= 0; i--) {\n var frame = frames[i];\n\n if (frame && frame.filename !== '<anonymous>' && frame.filename !== '[native code]') {\n return frame.filename || null;\n }\n }\n\n return null;\n}\n\nfunction _getEventFilterUrl(event) {\n try {\n var frames;\n\n try {\n // @ts-expect-error we only care about frames if the whole thing here is defined\n frames = event.exception.values[0].stacktrace.frames;\n } catch (e) {// ignore\n }\n\n return frames ? _getLastValidUrl(frames) : null;\n } catch (oO) {\n DEBUG_BUILD && logger.error(\"Cannot extract url for event \".concat(getEventDescription(event)));\n return null;\n }\n}\n\nexport { InboundFilters, inboundFiltersIntegration };","import { getOriginalFunction } from '@sentry/utils';\nimport { getClient } from '../exports.js';\nimport { convertIntegrationFnToClass, defineIntegration } from '../integration.js';\nvar originalFunctionToString;\nvar INTEGRATION_NAME = 'FunctionToString';\nvar SETUP_CLIENTS = new WeakMap();\n\nvar _functionToStringIntegration = function _functionToStringIntegration() {\n return {\n name: INTEGRATION_NAME,\n setupOnce: function setupOnce() {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n originalFunctionToString = Function.prototype.toString; // intrinsics (like Function.prototype) might be immutable in some environments\n // e.g. Node with --frozen-intrinsics, XS (an embedded JavaScript engine) or SES (a JavaScript proposal)\n\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Function.prototype.toString = function () {\n var originalFunction = getOriginalFunction(this);\n var context = SETUP_CLIENTS.has(getClient()) && originalFunction !== undefined ? originalFunction : 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 return originalFunctionToString.apply(context, args);\n };\n } catch (e) {// ignore errors here, just don't patch this\n }\n },\n setup: function setup(client) {\n SETUP_CLIENTS.set(client, true);\n }\n };\n};\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * ```js\n * Sentry.init({\n * integrations: [\n * functionToStringIntegration(),\n * ],\n * });\n * ```\n */\n\n\nvar functionToStringIntegration = defineIntegration(_functionToStringIntegration);\n/**\n * Patch toString calls to return proper name for wrapped functions.\n *\n * @deprecated Use `functionToStringIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar FunctionToString = convertIntegrationFnToClass(INTEGRATION_NAME, functionToStringIntegration); // eslint-disable-next-line deprecation/deprecation\n\nexport { FunctionToString, functionToStringIntegration };","import { logger, consoleSandbox } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { getCurrentScope } from './exports.js';\nimport { getCurrentHub } from './hub.js';\n/** A class object that can instantiate Client objects. */\n\n/**\n * Internal function to create a new SDK client instance. The client is\n * installed and then bound to the current scope.\n *\n * @param clientClass The client class to instantiate.\n * @param options Options to pass to the client.\n */\n\nfunction initAndBind(clientClass, options) {\n if (options.debug === true) {\n if (DEBUG_BUILD) {\n logger.enable();\n } else {\n // use `console.warn` rather than `logger.warn` since by non-debug bundles have all `logger.x` statements stripped\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.warn('[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.');\n });\n }\n }\n\n var scope = getCurrentScope();\n scope.update(options.initialScope);\n var client = new clientClass(options);\n setCurrentClient(client);\n initializeClient(client);\n}\n/**\n * Make the given client the current client.\n */\n\n\nfunction setCurrentClient(client) {\n // eslint-disable-next-line deprecation/deprecation\n var hub = getCurrentHub(); // eslint-disable-next-line deprecation/deprecation\n\n var top = hub.getStackTop();\n top.client = client;\n top.scope.setClient(client);\n}\n/**\n * Initialize the client for the current scope.\n * Make sure to call this after `setCurrentClient()`.\n */\n\n\nfunction initializeClient(client) {\n if (client.init) {\n client.init(); // TODO v8: Remove this fallback\n // eslint-disable-next-line deprecation/deprecation\n } else if (client.setupIntegrations) {\n // eslint-disable-next-line deprecation/deprecation\n client.setupIntegrations();\n }\n}\n\nexport { initAndBind, setCurrentClient };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { consoleSandbox, logger } from './logger.js';\n/** Regular expression used to parse a Dsn. */\n\nvar DSN_REGEX = /^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+)?)?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/;\n\nfunction isValidProtocol(protocol) {\n return protocol === 'http' || protocol === 'https';\n}\n/**\n * Renders the string representation of this Dsn.\n *\n * By default, this will render the public representation without the password\n * component. To get the deprecated private representation, set `withPassword`\n * to true.\n *\n * @param withPassword When set to true, the password will be included.\n */\n\n\nfunction dsnToString(dsn) {\n var withPassword = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var host = dsn.host,\n path = dsn.path,\n pass = dsn.pass,\n port = dsn.port,\n projectId = dsn.projectId,\n protocol = dsn.protocol,\n publicKey = dsn.publicKey;\n return \"\".concat(protocol, \"://\").concat(publicKey).concat(withPassword && pass ? \":\".concat(pass) : '') + \"@\".concat(host).concat(port ? \":\".concat(port) : '', \"/\").concat(path ? \"\".concat(path, \"/\") : path).concat(projectId);\n}\n/**\n * Parses a Dsn from a given string.\n *\n * @param str A Dsn as string\n * @returns Dsn as DsnComponents or undefined if @param str is not a valid DSN string\n */\n\n\nfunction dsnFromString(str) {\n var match = DSN_REGEX.exec(str);\n\n if (!match) {\n // This should be logged to the console\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.error(\"Invalid Sentry Dsn: \".concat(str));\n });\n return undefined;\n }\n\n var _match$slice = match.slice(1),\n _match$slice2 = _slicedToArray(_match$slice, 6),\n protocol = _match$slice2[0],\n publicKey = _match$slice2[1],\n _match$slice2$ = _match$slice2[2],\n pass = _match$slice2$ === void 0 ? '' : _match$slice2$,\n host = _match$slice2[3],\n _match$slice2$2 = _match$slice2[4],\n port = _match$slice2$2 === void 0 ? '' : _match$slice2$2,\n lastPath = _match$slice2[5];\n\n var path = '';\n var projectId = lastPath;\n var split = projectId.split('/');\n\n if (split.length > 1) {\n path = split.slice(0, -1).join('/');\n projectId = split.pop();\n }\n\n if (projectId) {\n var projectMatch = projectId.match(/^\\d+/);\n\n if (projectMatch) {\n projectId = projectMatch[0];\n }\n }\n\n return dsnFromComponents({\n host: host,\n pass: pass,\n path: path,\n projectId: projectId,\n port: port,\n protocol: protocol,\n publicKey: publicKey\n });\n}\n\nfunction dsnFromComponents(components) {\n return {\n protocol: components.protocol,\n publicKey: components.publicKey || '',\n pass: components.pass || '',\n host: components.host,\n port: components.port || '',\n path: components.path || '',\n projectId: components.projectId\n };\n}\n\nfunction validateDsn(dsn) {\n if (!DEBUG_BUILD) {\n return true;\n }\n\n var port = dsn.port,\n projectId = dsn.projectId,\n protocol = dsn.protocol;\n var requiredComponents = ['protocol', 'publicKey', 'host', 'projectId'];\n var hasMissingRequiredComponent = requiredComponents.find(function (component) {\n if (!dsn[component]) {\n logger.error(\"Invalid Sentry Dsn: \".concat(component, \" missing\"));\n return true;\n }\n\n return false;\n });\n\n if (hasMissingRequiredComponent) {\n return false;\n }\n\n if (!projectId.match(/^\\d+$/)) {\n logger.error(\"Invalid Sentry Dsn: Invalid projectId \".concat(projectId));\n return false;\n }\n\n if (!isValidProtocol(protocol)) {\n logger.error(\"Invalid Sentry Dsn: Invalid protocol \".concat(protocol));\n return false;\n }\n\n if (port && isNaN(parseInt(port, 10))) {\n logger.error(\"Invalid Sentry Dsn: Invalid port \".concat(port));\n return false;\n }\n\n return true;\n}\n/**\n * Creates a valid Sentry Dsn object, identifying a Sentry instance and project.\n * @returns a valid DsnComponents object or `undefined` if @param from is an invalid DSN source\n */\n\n\nfunction makeDsn(from) {\n var components = typeof from === 'string' ? dsnFromString(from) : dsnFromComponents(from);\n\n if (!components || !validateDsn(components)) {\n return undefined;\n }\n\n return components;\n}\n\nexport { dsnFromString, dsnToString, makeDsn };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { makeDsn, dsnToString, urlEncode } from '@sentry/utils';\nvar SENTRY_API_VERSION = '7';\n/** Returns the prefix to construct Sentry ingestion API endpoints. */\n\nfunction getBaseApiEndpoint(dsn) {\n var protocol = dsn.protocol ? \"\".concat(dsn.protocol, \":\") : '';\n var port = dsn.port ? \":\".concat(dsn.port) : '';\n return \"\".concat(protocol, \"//\").concat(dsn.host).concat(port).concat(dsn.path ? \"/\".concat(dsn.path) : '', \"/api/\");\n}\n/** Returns the ingest API endpoint for target. */\n\n\nfunction _getIngestEndpoint(dsn) {\n return \"\".concat(getBaseApiEndpoint(dsn)).concat(dsn.projectId, \"/envelope/\");\n}\n/** Returns a URL-encoded string with auth config suitable for a query string. */\n\n\nfunction _encodedAuth(dsn, sdkInfo) {\n return urlEncode(_objectSpread({\n // We send only the minimum set of required information. See\n // https://github.com/getsentry/sentry-javascript/issues/2572.\n sentry_key: dsn.publicKey,\n sentry_version: SENTRY_API_VERSION\n }, sdkInfo && {\n sentry_client: \"\".concat(sdkInfo.name, \"/\").concat(sdkInfo.version)\n }));\n}\n/**\n * Returns the envelope endpoint URL with auth in the query string.\n *\n * Sending auth as part of the query string and not as custom HTTP headers avoids CORS preflight requests.\n */\n\n\nfunction getEnvelopeEndpointWithUrlEncodedAuth(dsn) {\n var tunnelOrOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n // TODO (v8): Use this code instead\n // const { tunnel, _metadata = {} } = options;\n // return tunnel ? tunnel : `${_getIngestEndpoint(dsn)}?${_encodedAuth(dsn, _metadata.sdk)}`;\n var tunnel = typeof tunnelOrOptions === 'string' ? tunnelOrOptions : tunnelOrOptions.tunnel;\n var sdkInfo = typeof tunnelOrOptions === 'string' || !tunnelOrOptions._metadata ? undefined : tunnelOrOptions._metadata.sdk;\n return tunnel ? tunnel : \"\".concat(_getIngestEndpoint(dsn), \"?\").concat(_encodedAuth(dsn, sdkInfo));\n}\n/** Returns the url to the report dialog endpoint. */\n\n\nfunction getReportDialogEndpoint(dsnLike, dialogOptions) {\n var dsn = makeDsn(dsnLike);\n\n if (!dsn) {\n return '';\n }\n\n var endpoint = \"\".concat(getBaseApiEndpoint(dsn), \"embed/error-page/\");\n var encodedOptions = \"dsn=\".concat(dsnToString(dsn));\n\n for (var key in dialogOptions) {\n if (key === 'dsn') {\n continue;\n }\n\n if (key === 'onClose') {\n continue;\n }\n\n if (key === 'user') {\n var user = dialogOptions.user;\n\n if (!user) {\n continue;\n }\n\n if (user.name) {\n encodedOptions += \"&name=\".concat(encodeURIComponent(user.name));\n }\n\n if (user.email) {\n encodedOptions += \"&email=\".concat(encodeURIComponent(user.email));\n }\n } else {\n encodedOptions += \"&\".concat(encodeURIComponent(key), \"=\").concat(encodeURIComponent(dialogOptions[key]));\n }\n }\n\n return \"\".concat(endpoint, \"?\").concat(encodedOptions);\n}\n\nexport { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint };","import { DEBUG_BUILD } from './debug-build.js';\nimport { logger } from './logger.js';\nimport { getGlobalObject } from './worldwide.js'; // eslint-disable-next-line deprecation/deprecation\n\nvar WINDOW = getGlobalObject();\n/**\n * Tells whether current environment supports ErrorEvent objects\n * {@link supportsErrorEvent}.\n *\n * @returns Answer to the given question.\n */\n\nfunction supportsErrorEvent() {\n try {\n new ErrorEvent('');\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * Tells whether current environment supports DOMError objects\n * {@link supportsDOMError}.\n *\n * @returns Answer to the given question.\n */\n\n\nfunction supportsDOMError() {\n try {\n // Chrome: VM89:1 Uncaught TypeError: Failed to construct 'DOMError':\n // 1 argument required, but only 0 present.\n // @ts-expect-error It really needs 1 argument, not 0.\n new DOMError('');\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * Tells whether current environment supports DOMException objects\n * {@link supportsDOMException}.\n *\n * @returns Answer to the given question.\n */\n\n\nfunction supportsDOMException() {\n try {\n new DOMException('');\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * Tells whether current environment supports Fetch API\n * {@link supportsFetch}.\n *\n * @returns Answer to the given question.\n */\n\n\nfunction supportsFetch() {\n if (!('fetch' in WINDOW)) {\n return false;\n }\n\n try {\n new Headers();\n new Request('http://www.example.com');\n new Response();\n return true;\n } catch (e) {\n return false;\n }\n}\n/**\n * isNativeFetch checks if the given function is a native implementation of fetch()\n */\n// eslint-disable-next-line @typescript-eslint/ban-types\n\n\nfunction isNativeFetch(func) {\n return func && /^function fetch\\(\\)\\s+\\{\\s+\\[native code\\]\\s+\\}$/.test(func.toString());\n}\n/**\n * Tells whether current environment supports Fetch API natively\n * {@link supportsNativeFetch}.\n *\n * @returns true if `window.fetch` is natively implemented, false otherwise\n */\n\n\nfunction supportsNativeFetch() {\n if (typeof EdgeRuntime === 'string') {\n return true;\n }\n\n if (!supportsFetch()) {\n return false;\n } // Fast path to avoid DOM I/O\n // eslint-disable-next-line @typescript-eslint/unbound-method\n\n\n if (isNativeFetch(WINDOW.fetch)) {\n return true;\n } // window.fetch is implemented, but is polyfilled or already wrapped (e.g: by a chrome extension)\n // so create a \"pure\" iframe to see if that has native fetch\n\n\n var result = false;\n var doc = WINDOW.document; // eslint-disable-next-line deprecation/deprecation\n\n if (doc && typeof doc.createElement === 'function') {\n try {\n var sandbox = doc.createElement('iframe');\n sandbox.hidden = true;\n doc.head.appendChild(sandbox);\n\n if (sandbox.contentWindow && sandbox.contentWindow.fetch) {\n // eslint-disable-next-line @typescript-eslint/unbound-method\n result = isNativeFetch(sandbox.contentWindow.fetch);\n }\n\n doc.head.removeChild(sandbox);\n } catch (err) {\n DEBUG_BUILD && logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', err);\n }\n }\n\n return result;\n}\n/**\n * Tells whether current environment supports ReportingObserver API\n * {@link supportsReportingObserver}.\n *\n * @returns Answer to the given question.\n */\n\n\nfunction supportsReportingObserver() {\n return 'ReportingObserver' in WINDOW;\n}\n/**\n * Tells whether current environment supports Referrer Policy API\n * {@link supportsReferrerPolicy}.\n *\n * @returns Answer to the given question.\n */\n\n\nfunction supportsReferrerPolicy() {\n // Despite all stars in the sky saying that Edge supports old draft syntax, aka 'never', 'always', 'origin' and 'default'\n // (see https://caniuse.com/#feat=referrer-policy),\n // it doesn't. And it throws an exception instead of ignoring this parameter...\n // REF: https://github.com/getsentry/raven-js/issues/1233\n if (!supportsFetch()) {\n return false;\n }\n\n try {\n new Request('_', {\n referrerPolicy: 'origin'\n });\n return true;\n } catch (e) {\n return false;\n }\n}\n\nexport { isNativeFetch, supportsDOMError, supportsDOMException, supportsErrorEvent, supportsFetch, supportsNativeFetch, supportsReferrerPolicy, supportsReportingObserver };","import { getGlobalObject } from '../worldwide.js'; // Based on https://github.com/angular/angular.js/pull/13945/files\n// eslint-disable-next-line deprecation/deprecation\n\nvar WINDOW = getGlobalObject();\n/**\n * Tells whether current environment supports History API\n * {@link supportsHistory}.\n *\n * @returns Answer to the given question.\n */\n\nfunction supportsHistory() {\n // NOTE: in Chrome App environment, touching history.pushState, *even inside\n // a try/catch block*, will cause Chrome to output an error to console.error\n // borrowed from: https://github.com/angular/angular.js/pull/13945/files\n\n /* eslint-disable @typescript-eslint/no-unsafe-member-access */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var chrome = WINDOW.chrome;\n var isChromePackagedApp = chrome && chrome.app && chrome.app.runtime;\n /* eslint-enable @typescript-eslint/no-unsafe-member-access */\n\n var hasHistoryApi = 'history' in WINDOW && !!WINDOW.history.pushState && !!WINDOW.history.replaceState;\n return !isChromePackagedApp && hasHistoryApi;\n}\n\nexport { supportsHistory };","import { DEBUG_BUILD } from '../debug-build.js';\nimport { logger } from '../logger.js';\nimport { getFunctionName } from '../stacktrace.js'; // We keep the handlers globally\n\nvar handlers = {};\nvar instrumented = {};\n/** Add a handler function. */\n\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n handlers[type].push(handler);\n}\n/**\n * Reset all instrumentation handlers.\n * This can be used by tests to ensure we have a clean slate of instrumentation handlers.\n */\n\n\nfunction resetInstrumentationHandlers() {\n Object.keys(handlers).forEach(function (key) {\n handlers[key] = undefined;\n });\n}\n/** Maybe run an instrumentation function, unless it was already called. */\n\n\nfunction maybeInstrument(type, instrumentFn) {\n if (!instrumented[type]) {\n instrumentFn();\n instrumented[type] = true;\n }\n}\n/** Trigger handlers for a given instrumentation type. */\n\n\nfunction triggerHandlers(type, data) {\n var typeHandlers = type && handlers[type];\n\n if (!typeHandlers) {\n return;\n }\n\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = typeHandlers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var handler = _step.value;\n\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD && logger.error(\"Error while triggering instrumentation handler.\\nType: \".concat(type, \"\\nName: \").concat(getFunctionName(handler), \"\\nError:\"), e);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n}\n\nexport { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers };","import { fill } from '../object.js';\nimport '../debug-build.js';\nimport '../logger.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { supportsHistory } from '../vendor/supportsHistory.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\nvar WINDOW = GLOBAL_OBJ;\nvar lastHref;\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addHistoryInstrumentationHandler(handler) {\n var type = 'history';\n addHandler(type, handler);\n maybeInstrument(type, instrumentHistory);\n}\n\nfunction instrumentHistory() {\n if (!supportsHistory()) {\n return;\n }\n\n var oldOnPopState = WINDOW.onpopstate;\n\n WINDOW.onpopstate = function () {\n var to = WINDOW.location.href; // keep track of the current URL state, as we always receive only the updated state\n\n var from = lastHref;\n lastHref = to;\n var handlerData = {\n from: from,\n to: to\n };\n triggerHandlers('history', handlerData);\n\n if (oldOnPopState) {\n // Apparently this can throw in Firefox when incorrectly implemented plugin is installed.\n // https://github.com/getsentry/sentry-javascript/issues/3344\n // https://github.com/bugsnag/bugsnag-js/issues/469\n try {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return oldOnPopState.apply(this, args);\n } catch (_oO) {// no-empty\n }\n }\n };\n\n function historyReplacementFunction(originalHistoryFunction) {\n return function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var url = args.length > 2 ? args[2] : undefined;\n\n if (url) {\n // coerce to string (this is what pushState does)\n var from = lastHref;\n var to = String(url); // keep track of the current URL state, as we always receive only the updated state\n\n lastHref = to;\n var handlerData = {\n from: from,\n to: to\n };\n triggerHandlers('history', handlerData);\n }\n\n return originalHistoryFunction.apply(this, args);\n };\n }\n\n fill(WINDOW.history, 'pushState', historyReplacementFunction);\n fill(WINDOW.history, 'replaceState', historyReplacementFunction);\n}\n\nexport { addHistoryInstrumentationHandler };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { dsnToString } from './dsn.js';\nimport { normalize } from './normalize.js';\nimport { dropUndefinedKeys } from './object.js';\n/**\n * Creates an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\n\nfunction createEnvelope(headers) {\n var items = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return [headers, items];\n}\n/**\n * Add an item to an envelope.\n * Make sure to always explicitly provide the generic to this function\n * so that the envelope types resolve correctly.\n */\n\n\nfunction addItemToEnvelope(envelope, newItem) {\n var _envelope = _slicedToArray(envelope, 2),\n headers = _envelope[0],\n items = _envelope[1];\n\n return [headers, [].concat(_toConsumableArray(items), [newItem])];\n}\n/**\n * Convenience function to loop through the items and item types of an envelope.\n * (This function was mostly created because working with envelope types is painful at the moment)\n *\n * If the callback returns true, the rest of the items will be skipped.\n */\n\n\nfunction forEachEnvelopeItem(envelope, callback) {\n var envelopeItems = envelope[1];\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = envelopeItems[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var envelopeItem = _step.value;\n var envelopeItemType = envelopeItem[0].type;\n var result = callback(envelopeItem, envelopeItemType);\n\n if (result) {\n return true;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return false;\n}\n/**\n * Returns true if the envelope contains any of the given envelope item types\n */\n\n\nfunction envelopeContainsItemType(envelope, types) {\n return forEachEnvelopeItem(envelope, function (_, type) {\n return types.includes(type);\n });\n}\n/**\n * Encode a string to UTF8.\n */\n\n\nfunction encodeUTF8(input, textEncoder) {\n var utf8 = textEncoder || new TextEncoder();\n return utf8.encode(input);\n}\n/**\n * Serializes an envelope.\n */\n\n\nfunction serializeEnvelope(envelope, textEncoder) {\n var _envelope2 = _slicedToArray(envelope, 2),\n envHeaders = _envelope2[0],\n items = _envelope2[1]; // Initially we construct our envelope as a string and only convert to binary chunks if we encounter binary data\n\n\n var parts = JSON.stringify(envHeaders);\n\n function append(next) {\n if (typeof parts === 'string') {\n parts = typeof next === 'string' ? parts + next : [encodeUTF8(parts, textEncoder), next];\n } else {\n parts.push(typeof next === 'string' ? encodeUTF8(next, textEncoder) : next);\n }\n }\n\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var item = _step2.value;\n\n var _item = _slicedToArray(item, 2),\n itemHeaders = _item[0],\n payload = _item[1];\n\n append(\"\\n\".concat(JSON.stringify(itemHeaders), \"\\n\"));\n\n if (typeof payload === 'string' || payload instanceof Uint8Array) {\n append(payload);\n } else {\n var stringifiedPayload = void 0;\n\n try {\n stringifiedPayload = JSON.stringify(payload);\n } catch (e) {\n // In case, despite all our efforts to keep `payload` circular-dependency-free, `JSON.strinify()` still\n // fails, we try again after normalizing it again with infinite normalization depth. This of course has a\n // performance impact but in this case a performance hit is better than throwing.\n stringifiedPayload = JSON.stringify(normalize(payload));\n }\n\n append(stringifiedPayload);\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n return typeof parts === 'string' ? parts : concatBuffers(parts);\n}\n\nfunction concatBuffers(buffers) {\n var totalLength = buffers.reduce(function (acc, buf) {\n return acc + buf.length;\n }, 0);\n var merged = new Uint8Array(totalLength);\n var offset = 0;\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = buffers[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var buffer = _step3.value;\n merged.set(buffer, offset);\n offset += buffer.length;\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3[\"return\"] != null) {\n _iterator3[\"return\"]();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n return merged;\n}\n/**\n * Parses an envelope\n */\n\n\nfunction parseEnvelope(env, textEncoder, textDecoder) {\n var buffer = typeof env === 'string' ? textEncoder.encode(env) : env;\n\n function readBinary(length) {\n var bin = buffer.subarray(0, length); // Replace the buffer with the remaining data excluding trailing newline\n\n buffer = buffer.subarray(length + 1);\n return bin;\n }\n\n function readJson() {\n var i = buffer.indexOf(0xa); // If we couldn't find a newline, we must have found the end of the buffer\n\n if (i < 0) {\n i = buffer.length;\n }\n\n return JSON.parse(textDecoder.decode(readBinary(i)));\n }\n\n var envelopeHeader = readJson(); // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n var items = [];\n\n while (buffer.length) {\n var itemHeader = readJson();\n var binaryLength = typeof itemHeader.length === 'number' ? itemHeader.length : undefined;\n items.push([itemHeader, binaryLength ? readBinary(binaryLength) : readJson()]);\n }\n\n return [envelopeHeader, items];\n}\n/**\n * Creates attachment envelope items\n */\n\n\nfunction createAttachmentEnvelopeItem(attachment, textEncoder) {\n var buffer = typeof attachment.data === 'string' ? encodeUTF8(attachment.data, textEncoder) : attachment.data;\n return [dropUndefinedKeys({\n type: 'attachment',\n length: buffer.length,\n filename: attachment.filename,\n content_type: attachment.contentType,\n attachment_type: attachment.attachmentType\n }), buffer];\n}\n\nvar ITEM_TYPE_TO_DATA_CATEGORY_MAP = {\n session: 'session',\n sessions: 'session',\n attachment: 'attachment',\n transaction: 'transaction',\n event: 'error',\n client_report: 'internal',\n user_report: 'default',\n profile: 'profile',\n replay_event: 'replay',\n replay_recording: 'replay',\n check_in: 'monitor',\n feedback: 'feedback',\n // TODO: This is a temporary workaround until we have a proper data category for metrics\n statsd: 'unknown'\n};\n/**\n * Maps the type of an envelope item to a data category.\n */\n\nfunction envelopeItemTypeToDataCategory(type) {\n return ITEM_TYPE_TO_DATA_CATEGORY_MAP[type];\n}\n/** Extracts the minimal SDK info from from the metadata or an events */\n\n\nfunction getSdkMetadataForEnvelopeHeader(metadataOrEvent) {\n if (!metadataOrEvent || !metadataOrEvent.sdk) {\n return;\n }\n\n var _metadataOrEvent$sdk = metadataOrEvent.sdk,\n name = _metadataOrEvent$sdk.name,\n version = _metadataOrEvent$sdk.version;\n return {\n name: name,\n version: version\n };\n}\n/**\n * Creates event envelope headers, based on event, sdk info and tunnel\n * Note: This function was extracted from the core package to make it available in Replay\n */\n\n\nfunction createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn) {\n var dynamicSamplingContext = event.sdkProcessingMetadata && event.sdkProcessingMetadata.dynamicSamplingContext;\n return _objectSpread(_objectSpread(_objectSpread({\n event_id: event.event_id,\n sent_at: new Date().toISOString()\n }, sdkInfo && {\n sdk: sdkInfo\n }), !!tunnel && dsn && {\n dsn: dsnToString(dsn)\n }), dynamicSamplingContext && {\n trace: dropUndefinedKeys(_objectSpread({}, dynamicSamplingContext))\n });\n}\n\nexport { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } 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 _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n/** An error emitted by Sentry SDKs and related utilities. */\nvar SentryError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(SentryError, _Error);\n\n /** Display name of this error instance. */\n function SentryError(message) {\n var _this;\n\n var logLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'warn';\n\n _classCallCheck(this, SentryError);\n\n _this = _possibleConstructorReturn(this, _getPrototypeOf(SentryError).call(this, message));\n _this.message = message;\n _this.name = (this instanceof SentryError ? this.constructor : void 0).prototype.constructor.name; // This sets the prototype to be `Error`, not `SentryError`. It's unclear why we do this, but commenting this line\n // out causes various (seemingly totally unrelated) playwright tests consistently time out. FYI, this makes\n // instances of `SentryError` fail `obj instanceof SentryError` checks.\n\n Object.setPrototypeOf(_assertThisInitialized(_this), (this instanceof SentryError ? this.constructor : void 0).prototype);\n _this.logLevel = logLevel;\n return _this;\n }\n\n return SentryError;\n}(_wrapNativeSuper(Error));\n\nexport { SentryError };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { getSdkMetadataForEnvelopeHeader, dsnToString, createEnvelope, createEventEnvelopeHeaders } from '@sentry/utils';\n/**\n * Apply SdkInfo (name, version, packages, integrations) to the corresponding event key.\n * Merge with existing data if any.\n **/\n\nfunction enhanceEventWithSdkInfo(event, sdkInfo) {\n if (!sdkInfo) {\n return event;\n }\n\n event.sdk = event.sdk || {};\n event.sdk.name = event.sdk.name || sdkInfo.name;\n event.sdk.version = event.sdk.version || sdkInfo.version;\n event.sdk.integrations = [].concat(_toConsumableArray(event.sdk.integrations || []), _toConsumableArray(sdkInfo.integrations || []));\n event.sdk.packages = [].concat(_toConsumableArray(event.sdk.packages || []), _toConsumableArray(sdkInfo.packages || []));\n return event;\n}\n/** Creates an envelope from a Session */\n\n\nfunction createSessionEnvelope(session, dsn, metadata, tunnel) {\n var sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n\n var envelopeHeaders = _objectSpread(_objectSpread({\n sent_at: new Date().toISOString()\n }, sdkInfo && {\n sdk: sdkInfo\n }), !!tunnel && dsn && {\n dsn: dsnToString(dsn)\n });\n\n var envelopeItem = 'aggregates' in session ? [{\n type: 'sessions'\n }, session] : [{\n type: 'session'\n }, session.toJSON()];\n return createEnvelope(envelopeHeaders, [envelopeItem]);\n}\n/**\n * Create an Envelope from an event.\n */\n\n\nfunction createEventEnvelope(event, dsn, metadata, tunnel) {\n var sdkInfo = getSdkMetadataForEnvelopeHeader(metadata);\n /*\n Note: Due to TS, event.type may be `replay_event`, theoretically.\n In practice, we never call `createEventEnvelope` with `replay_event` type,\n and we'd have to adjut a looot of types to make this work properly.\n We want to avoid casting this around, as that could lead to bugs (e.g. when we add another type)\n So the safe choice is to really guard against the replay_event type here.\n */\n\n var eventType = event.type && event.type !== 'replay_event' ? event.type : 'event';\n enhanceEventWithSdkInfo(event, metadata && metadata.sdk);\n var envelopeHeaders = createEventEnvelopeHeaders(event, sdkInfo, tunnel, dsn); // Prevent this data (which, if it exists, was used in earlier steps in the processing pipeline) from being sent to\n // sentry. (Note: Our use of this property comes and goes with whatever we might be debugging, whatever hacks we may\n // have temporarily added, etc. Even if we don't happen to be using it at some point in the future, let's not get rid\n // of this `delete`, lest we miss putting it back in the next time the property is in use.)\n\n delete event.sdkProcessingMetadata;\n var eventItem = [{\n type: eventType\n }, event];\n return createEnvelope(envelopeHeaders, [eventItem]);\n}\n\nexport { createEventEnvelope, createSessionEnvelope };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { dropUndefinedKeys } from '@sentry/utils';\nimport { NAME_AND_TAG_KEY_NORMALIZATION_REGEX, TAG_VALUE_NORMALIZATION_REGEX } from './constants.js';\n/**\n * Generate bucket key from metric properties.\n */\n\nfunction getBucketKey(metricType, name, unit, tags) {\n var stringifiedTags = Object.entries(dropUndefinedKeys(tags)).sort(function (a, b) {\n return a[0].localeCompare(b[0]);\n });\n return \"\".concat(metricType).concat(name).concat(unit).concat(stringifiedTags);\n}\n/* eslint-disable no-bitwise */\n\n/**\n * Simple hash function for strings.\n */\n\n\nfunction simpleHash(s) {\n var rv = 0;\n\n for (var i = 0; i < s.length; i++) {\n var c = s.charCodeAt(i);\n rv = (rv << 5) - rv + c;\n rv &= rv;\n }\n\n return rv >>> 0;\n}\n/* eslint-enable no-bitwise */\n\n/**\n * Serialize metrics buckets into a string based on statsd format.\n *\n * Example of format:\n * metric.name@second:1:1.2|d|#a:value,b:anothervalue|T12345677\n * Segments:\n * name: metric.name\n * unit: second\n * value: [1, 1.2]\n * type of metric: d (distribution)\n * tags: { a: value, b: anothervalue }\n * timestamp: 12345677\n */\n\n\nfunction serializeMetricBuckets(metricBucketItems) {\n var out = '';\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = metricBucketItems[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var item = _step.value;\n var tagEntries = Object.entries(item.tags);\n var maybeTags = tagEntries.length > 0 ? \"|#\".concat(tagEntries.map(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n return \"\".concat(key, \":\").concat(value);\n }).join(',')) : '';\n out += \"\".concat(item.name, \"@\").concat(item.unit, \":\").concat(item.metric, \"|\").concat(item.metricType).concat(maybeTags, \"|T\").concat(item.timestamp, \"\\n\");\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return out;\n}\n/**\n * Sanitizes tags.\n */\n\n\nfunction sanitizeTags(unsanitizedTags) {\n var tags = {};\n\n for (var key in unsanitizedTags) {\n if (Object.prototype.hasOwnProperty.call(unsanitizedTags, key)) {\n var sanitizedKey = key.replace(NAME_AND_TAG_KEY_NORMALIZATION_REGEX, '_');\n tags[sanitizedKey] = String(unsanitizedTags[key]).replace(TAG_VALUE_NORMALIZATION_REGEX, '');\n }\n }\n\n return tags;\n}\n\nexport { getBucketKey, sanitizeTags, serializeMetricBuckets, simpleHash };","import { dsnToString, createEnvelope } from '@sentry/utils';\nimport { serializeMetricBuckets } from './utils.js';\n/**\n * Create envelope from a metric aggregate.\n */\n\nfunction createMetricEnvelope(metricBucketItems, dsn, metadata, tunnel) {\n var headers = {\n sent_at: new Date().toISOString()\n };\n\n if (metadata && metadata.sdk) {\n headers.sdk = {\n name: metadata.sdk.name,\n version: metadata.sdk.version\n };\n }\n\n if (!!tunnel && dsn) {\n headers.dsn = dsnToString(dsn);\n }\n\n var item = createMetricEnvelopeItem(metricBucketItems);\n return createEnvelope(headers, [item]);\n}\n\nfunction createMetricEnvelopeItem(metricBucketItems) {\n var payload = serializeMetricBuckets(metricBucketItems);\n var metricHeaders = {\n type: 'statsd',\n length: payload.length\n };\n return [metricHeaders, payload];\n}\n\nexport { createMetricEnvelope };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\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); return Constructor; }\n\nimport { makeDsn, logger, checkOrSetAlreadyCaught, isParameterizedString, isPrimitive, resolvedSyncPromise, addItemToEnvelope, createAttachmentEnvelopeItem, SyncPromise, rejectedSyncPromise, SentryError, isThenable, isPlainObject } from '@sentry/utils';\nimport { getEnvelopeEndpointWithUrlEncodedAuth } from './api.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { createEventEnvelope, createSessionEnvelope } from './envelope.js';\nimport { getClient } from './exports.js';\nimport { getIsolationScope } from './hub.js';\nimport { setupIntegration, afterSetupIntegrations, setupIntegrations } from './integration.js';\nimport { createMetricEnvelope } from './metrics/envelope.js';\nimport { updateSession } from './session.js';\nimport { getDynamicSamplingContextFromClient } from './tracing/dynamicSamplingContext.js';\nimport { prepareEvent } from './utils/prepareEvent.js';\nvar ALREADY_SEEN_ERROR = \"Not capturing exception because it's already been captured.\";\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event, it is passed through\n * {@link BaseClient._prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient<NodeOptions> {\n * public constructor(options: NodeOptions) {\n * super(options);\n * }\n *\n * // ...\n * }\n */\n\nvar BaseClient =\n/*#__PURE__*/\nfunction () {\n /**\n * A reference to a metrics aggregator\n *\n * @experimental Note this is alpha API. It may experience breaking changes in the future.\n */\n\n /** Options passed to the SDK. */\n\n /** The client Dsn, if specified in options. Without this Dsn, the SDK will be disabled. */\n\n /** Array of set up integrations. */\n\n /** Indicates whether this client's integrations have been set up. */\n\n /** Number of calls being processed */\n\n /** Holds flushable */\n // eslint-disable-next-line @typescript-eslint/ban-types\n\n /**\n * Initializes this client instance.\n *\n * @param options Options for the client.\n */\n function BaseClient(options) {\n _classCallCheck(this, BaseClient);\n\n this._options = options;\n this._integrations = {};\n this._integrationsInitialized = false;\n this._numProcessing = 0;\n this._outcomes = {};\n this._hooks = {};\n this._eventProcessors = [];\n\n if (options.dsn) {\n this._dsn = makeDsn(options.dsn);\n } else {\n DEBUG_BUILD && logger.warn('No DSN provided, client will not send events.');\n }\n\n if (this._dsn) {\n var url = getEnvelopeEndpointWithUrlEncodedAuth(this._dsn, options);\n this._transport = options.transport(_objectSpread(_objectSpread({\n recordDroppedEvent: this.recordDroppedEvent.bind(this)\n }, options.transportOptions), {}, {\n url: url\n }));\n }\n }\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n\n\n _createClass(BaseClient, [{\n key: \"captureException\",\n value: function captureException(exception, hint, scope) {\n var _this = this;\n\n // ensure we haven't captured this very object before\n if (checkOrSetAlreadyCaught(exception)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n var eventId = hint && hint.event_id;\n\n this._process(this.eventFromException(exception, hint).then(function (event) {\n return _this._captureEvent(event, hint, scope);\n }).then(function (result) {\n eventId = result;\n }));\n\n return eventId;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"captureMessage\",\n value: function captureMessage(message, // eslint-disable-next-line deprecation/deprecation\n level, hint, scope) {\n var _this2 = this;\n\n var eventId = hint && hint.event_id;\n var eventMessage = isParameterizedString(message) ? message : String(message);\n var promisedEvent = isPrimitive(message) ? this.eventFromMessage(eventMessage, level, hint) : this.eventFromException(message, hint);\n\n this._process(promisedEvent.then(function (event) {\n return _this2._captureEvent(event, hint, scope);\n }).then(function (result) {\n eventId = result;\n }));\n\n return eventId;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"captureEvent\",\n value: function captureEvent(event, hint, scope) {\n // ensure we haven't captured this very object before\n if (hint && hint.originalException && checkOrSetAlreadyCaught(hint.originalException)) {\n DEBUG_BUILD && logger.log(ALREADY_SEEN_ERROR);\n return;\n }\n\n var eventId = hint && hint.event_id;\n var sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n var capturedSpanScope = sdkProcessingMetadata.capturedSpanScope;\n\n this._process(this._captureEvent(event, hint, capturedSpanScope || scope).then(function (result) {\n eventId = result;\n }));\n\n return eventId;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"captureSession\",\n value: function captureSession(session) {\n if (!(typeof session.release === 'string')) {\n DEBUG_BUILD && logger.warn('Discarded session because of missing or non-string release');\n } else {\n this.sendSession(session); // After sending, we set init false to indicate it's not the first occurrence\n\n updateSession(session, {\n init: false\n });\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getDsn\",\n value: function getDsn() {\n return this._dsn;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getOptions\",\n value: function getOptions() {\n return this._options;\n }\n /**\n * @see SdkMetadata in @sentry/types\n *\n * @return The metadata of the SDK\n */\n\n }, {\n key: \"getSdkMetadata\",\n value: function getSdkMetadata() {\n return this._options._metadata;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"getTransport\",\n value: function getTransport() {\n return this._transport;\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"flush\",\n value: function flush(timeout) {\n var transport = this._transport;\n\n if (transport) {\n if (this.metricsAggregator) {\n this.metricsAggregator.flush();\n }\n\n return this._isClientDoneProcessing(timeout).then(function (clientFinished) {\n return transport.flush(timeout).then(function (transportFlushed) {\n return clientFinished && transportFlushed;\n });\n });\n } else {\n return resolvedSyncPromise(true);\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"close\",\n value: function close(timeout) {\n var _this3 = this;\n\n return this.flush(timeout).then(function (result) {\n _this3.getOptions().enabled = false;\n\n if (_this3.metricsAggregator) {\n _this3.metricsAggregator.close();\n }\n\n return result;\n });\n }\n /** Get all installed event processors. */\n\n }, {\n key: \"getEventProcessors\",\n value: function getEventProcessors() {\n return this._eventProcessors;\n }\n /** @inheritDoc */\n\n }, {\n key: \"addEventProcessor\",\n value: function addEventProcessor(eventProcessor) {\n this._eventProcessors.push(eventProcessor);\n }\n /**\n * This is an internal function to setup all integrations that should run on the client.\n * @deprecated Use `client.init()` instead.\n */\n\n }, {\n key: \"setupIntegrations\",\n value: function setupIntegrations(forceInitialize) {\n if (forceInitialize && !this._integrationsInitialized || this._isEnabled() && !this._integrationsInitialized) {\n this._setupIntegrations();\n }\n }\n /** @inheritdoc */\n\n }, {\n key: \"init\",\n value: function init() {\n if (this._isEnabled()) {\n this._setupIntegrations();\n }\n }\n /**\n * Gets an installed integration by its `id`.\n *\n * @returns The installed integration or `undefined` if no integration with that `id` was installed.\n * @deprecated Use `getIntegrationByName()` instead.\n */\n\n }, {\n key: \"getIntegrationById\",\n value: function getIntegrationById(integrationId) {\n return this.getIntegrationByName(integrationId);\n }\n /**\n * Gets an installed integration by its name.\n *\n * @returns The installed integration or `undefined` if no integration with that `name` was installed.\n */\n\n }, {\n key: \"getIntegrationByName\",\n value: function getIntegrationByName(integrationName) {\n return this._integrations[integrationName];\n }\n /**\n * Returns the client's instance of the given integration class, it any.\n * @deprecated Use `getIntegrationByName()` instead.\n */\n\n }, {\n key: \"getIntegration\",\n value: function getIntegration(integration) {\n try {\n return this._integrations[integration.id] || null;\n } catch (_oO) {\n DEBUG_BUILD && logger.warn(\"Cannot retrieve integration \".concat(integration.id, \" from the current Client\"));\n return null;\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"addIntegration\",\n value: function addIntegration(integration) {\n var isAlreadyInstalled = this._integrations[integration.name]; // This hook takes care of only installing if not already installed\n\n setupIntegration(this, integration, this._integrations); // Here we need to check manually to make sure to not run this multiple times\n\n if (!isAlreadyInstalled) {\n afterSetupIntegrations(this, [integration]);\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"sendEvent\",\n value: function sendEvent(event) {\n var _this4 = this;\n\n var hint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n this.emit('beforeSendEvent', event, hint);\n var env = createEventEnvelope(event, this._dsn, this._options._metadata, this._options.tunnel);\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = (hint.attachments || [])[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var attachment = _step.value;\n env = addItemToEnvelope(env, createAttachmentEnvelopeItem(attachment, this._options.transportOptions && this._options.transportOptions.textEncoder));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n var promise = this._sendEnvelope(env);\n\n if (promise) {\n promise.then(function (sendResponse) {\n return _this4.emit('afterSendEvent', event, sendResponse);\n }, null);\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"sendSession\",\n value: function sendSession(session) {\n var env = createSessionEnvelope(session, this._dsn, this._options._metadata, this._options.tunnel); // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n this._sendEnvelope(env);\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"recordDroppedEvent\",\n value: function recordDroppedEvent(reason, category, _event) {\n // Note: we use `event` in replay, where we overwrite this hook.\n if (this._options.sendClientReports) {\n // We want to track each category (error, transaction, session, replay_event) separately\n // but still keep the distinction between different type of outcomes.\n // We could use nested maps, but it's much easier to read and type this way.\n // A correct type for map-based implementation if we want to go that route\n // would be `Partial<Record<SentryRequestType, Partial<Record<Outcome, number>>>>`\n // With typescript 4.1 we could even use template literal types\n var key = \"\".concat(reason, \":\").concat(category);\n DEBUG_BUILD && logger.log(\"Adding outcome: \\\"\".concat(key, \"\\\"\")); // The following works because undefined + 1 === NaN and NaN is falsy\n\n this._outcomes[key] = this._outcomes[key] + 1 || 1;\n }\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"captureAggregateMetrics\",\n value: function captureAggregateMetrics(metricBucketItems) {\n DEBUG_BUILD && logger.log(\"Flushing aggregated metrics, number of metrics: \".concat(metricBucketItems.length));\n var metricsEnvelope = createMetricEnvelope(metricBucketItems, this._dsn, this._options._metadata, this._options.tunnel); // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n this._sendEnvelope(metricsEnvelope);\n } // Keep on() & emit() signatures in sync with types' client.ts interface\n\n /* eslint-disable @typescript-eslint/unified-signatures */\n\n /** @inheritdoc */\n\n /** @inheritdoc */\n\n }, {\n key: \"on\",\n value: function on(hook, callback) {\n if (!this._hooks[hook]) {\n this._hooks[hook] = [];\n } // @ts-expect-error We assue the types are correct\n\n\n this._hooks[hook].push(callback);\n }\n /** @inheritdoc */\n\n /** @inheritdoc */\n\n }, {\n key: \"emit\",\n value: function emit(hook) {\n for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n rest[_key - 1] = arguments[_key];\n }\n\n if (this._hooks[hook]) {\n this._hooks[hook].forEach(function (callback) {\n return callback.apply(void 0, rest);\n });\n }\n }\n /* eslint-enable @typescript-eslint/unified-signatures */\n\n /** Setup integrations for this client. */\n\n }, {\n key: \"_setupIntegrations\",\n value: function _setupIntegrations() {\n var integrations = this._options.integrations;\n this._integrations = setupIntegrations(this, integrations);\n afterSetupIntegrations(this, integrations); // TODO v8: We don't need this flag anymore\n\n this._integrationsInitialized = true;\n }\n /** Updates existing session based on the provided event */\n\n }, {\n key: \"_updateSessionFromEvent\",\n value: function _updateSessionFromEvent(session, event) {\n var crashed = false;\n var errored = false;\n var exceptions = event.exception && event.exception.values;\n\n if (exceptions) {\n errored = true;\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = exceptions[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var ex = _step2.value;\n var mechanism = ex.mechanism;\n\n if (mechanism && mechanism.handled === false) {\n crashed = true;\n break;\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n } // A session is updated and that session update is sent in only one of the two following scenarios:\n // 1. Session with non terminal status and 0 errors + an error occurred -> Will set error count to 1 and send update\n // 2. Session with non terminal status and 1 error + a crash occurred -> Will set status crashed and send update\n\n\n var sessionNonTerminal = session.status === 'ok';\n var shouldUpdateAndSend = sessionNonTerminal && session.errors === 0 || sessionNonTerminal && crashed;\n\n if (shouldUpdateAndSend) {\n updateSession(session, _objectSpread(_objectSpread({}, crashed && {\n status: 'crashed'\n }), {}, {\n errors: session.errors || Number(errored || crashed)\n }));\n this.captureSession(session);\n }\n }\n /**\n * Determine if the client is finished processing. Returns a promise because it will wait `timeout` ms before saying\n * \"no\" (resolving to `false`) in order to give the client a chance to potentially finish first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the client is still busy. Passing `0` (or not\n * passing anything) will make the promise wait as long as it takes for processing to finish before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if processing is already done or finishes before the timeout, and\n * `false` otherwise\n */\n\n }, {\n key: \"_isClientDoneProcessing\",\n value: function _isClientDoneProcessing(timeout) {\n var _this5 = this;\n\n return new SyncPromise(function (resolve) {\n var ticked = 0;\n var tick = 1;\n var interval = setInterval(function () {\n if (_this5._numProcessing == 0) {\n clearInterval(interval);\n resolve(true);\n } else {\n ticked += tick;\n\n if (timeout && ticked >= timeout) {\n clearInterval(interval);\n resolve(false);\n }\n }\n }, tick);\n });\n }\n /** Determines whether this SDK is enabled and a transport is present. */\n\n }, {\n key: \"_isEnabled\",\n value: function _isEnabled() {\n return this.getOptions().enabled !== false && this._transport !== undefined;\n }\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n\n }, {\n key: \"_prepareEvent\",\n value: function _prepareEvent(event, hint, scope) {\n var _this6 = this;\n\n var isolationScope = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : getIsolationScope();\n var options = this.getOptions();\n var integrations = Object.keys(this._integrations);\n\n if (!hint.integrations && integrations.length > 0) {\n hint.integrations = integrations;\n }\n\n this.emit('preprocessEvent', event, hint);\n return prepareEvent(options, event, hint, scope, this, isolationScope).then(function (evt) {\n if (evt === null) {\n return evt;\n }\n\n var propagationContext = _objectSpread(_objectSpread({}, isolationScope.getPropagationContext()), scope ? scope.getPropagationContext() : undefined);\n\n var trace = evt.contexts && evt.contexts.trace;\n\n if (!trace && propagationContext) {\n var trace_id = propagationContext.traceId,\n spanId = propagationContext.spanId,\n parentSpanId = propagationContext.parentSpanId,\n dsc = propagationContext.dsc;\n evt.contexts = _objectSpread({\n trace: {\n trace_id: trace_id,\n span_id: spanId,\n parent_span_id: parentSpanId\n }\n }, evt.contexts);\n var dynamicSamplingContext = dsc ? dsc : getDynamicSamplingContextFromClient(trace_id, _this6, scope);\n evt.sdkProcessingMetadata = _objectSpread({\n dynamicSamplingContext: dynamicSamplingContext\n }, evt.sdkProcessingMetadata);\n }\n\n return evt;\n });\n }\n /**\n * Processes the event and logs an error in case of rejection\n * @param event\n * @param hint\n * @param scope\n */\n\n }, {\n key: \"_captureEvent\",\n value: function _captureEvent(event) {\n var hint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var scope = arguments.length > 2 ? arguments[2] : undefined;\n return this._processEvent(event, hint, scope).then(function (finalEvent) {\n return finalEvent.event_id;\n }, function (reason) {\n if (DEBUG_BUILD) {\n // If something's gone wrong, log the error as a warning. If it's just us having used a `SentryError` for\n // control flow, log just the message (no stack) as a log-level log.\n var sentryError = reason;\n\n if (sentryError.logLevel === 'log') {\n logger.log(sentryError.message);\n } else {\n logger.warn(sentryError);\n }\n }\n\n return undefined;\n });\n }\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional information about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n\n }, {\n key: \"_processEvent\",\n value: function _processEvent(event, hint, scope) {\n var _this7 = this;\n\n var options = this.getOptions();\n var sampleRate = options.sampleRate;\n var isTransaction = isTransactionEvent(event);\n var isError = isErrorEvent(event);\n var eventType = event.type || 'error';\n var beforeSendLabel = \"before send for type `\".concat(eventType, \"`\"); // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n // Sampling for transaction happens somewhere else\n\n if (isError && typeof sampleRate === 'number' && Math.random() > sampleRate) {\n this.recordDroppedEvent('sample_rate', 'error', event);\n return rejectedSyncPromise(new SentryError(\"Discarding event because it's not included in the random sample (sampling rate = \".concat(sampleRate, \")\"), 'log'));\n }\n\n var dataCategory = eventType === 'replay_event' ? 'replay' : eventType;\n var sdkProcessingMetadata = event.sdkProcessingMetadata || {};\n var capturedSpanIsolationScope = sdkProcessingMetadata.capturedSpanIsolationScope;\n return this._prepareEvent(event, hint, scope, capturedSpanIsolationScope).then(function (prepared) {\n if (prepared === null) {\n _this7.recordDroppedEvent('event_processor', dataCategory, event);\n\n throw new SentryError('An event processor returned `null`, will not send event.', 'log');\n }\n\n var isInternalException = hint.data && hint.data.__sentry__ === true;\n\n if (isInternalException) {\n return prepared;\n }\n\n var result = processBeforeSend(options, prepared, hint);\n return _validateBeforeSendResult(result, beforeSendLabel);\n }).then(function (processedEvent) {\n if (processedEvent === null) {\n _this7.recordDroppedEvent('before_send', dataCategory, event);\n\n throw new SentryError(\"\".concat(beforeSendLabel, \" returned `null`, will not send event.\"), 'log');\n }\n\n var session = scope && scope.getSession();\n\n if (!isTransaction && session) {\n _this7._updateSessionFromEvent(session, processedEvent);\n } // None of the Sentry built event processor will update transaction name,\n // so if the transaction name has been changed by an event processor, we know\n // it has to come from custom event processor added by a user\n\n\n var transactionInfo = processedEvent.transaction_info;\n\n if (isTransaction && transactionInfo && processedEvent.transaction !== event.transaction) {\n var source = 'custom';\n processedEvent.transaction_info = _objectSpread(_objectSpread({}, transactionInfo), {}, {\n source: source\n });\n }\n\n _this7.sendEvent(processedEvent, hint);\n\n return processedEvent;\n }).then(null, function (reason) {\n if (reason instanceof SentryError) {\n throw reason;\n }\n\n _this7.captureException(reason, {\n data: {\n __sentry__: true\n },\n originalException: reason\n });\n\n throw new SentryError(\"Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\\nReason: \".concat(reason));\n });\n }\n /**\n * Occupies the client with processing and event\n */\n\n }, {\n key: \"_process\",\n value: function _process(promise) {\n var _this8 = this;\n\n this._numProcessing++;\n void promise.then(function (value) {\n _this8._numProcessing--;\n return value;\n }, function (reason) {\n _this8._numProcessing--;\n return reason;\n });\n }\n /**\n * @inheritdoc\n */\n\n }, {\n key: \"_sendEnvelope\",\n value: function _sendEnvelope(envelope) {\n this.emit('beforeEnvelope', envelope);\n\n if (this._isEnabled() && this._transport) {\n return this._transport.send(envelope).then(null, function (reason) {\n DEBUG_BUILD && logger.error('Error while sending event:', reason);\n });\n } else {\n DEBUG_BUILD && logger.error('Transport disabled');\n }\n }\n /**\n * Clears outcomes on this client and returns them.\n */\n\n }, {\n key: \"_clearOutcomes\",\n value: function _clearOutcomes() {\n var outcomes = this._outcomes;\n this._outcomes = {};\n return Object.keys(outcomes).map(function (key) {\n var _key$split = key.split(':'),\n _key$split2 = _slicedToArray(_key$split, 2),\n reason = _key$split2[0],\n category = _key$split2[1];\n\n return {\n reason: reason,\n category: category,\n quantity: outcomes[key]\n };\n });\n }\n /**\n * @inheritDoc\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\n\n }]);\n\n return BaseClient;\n}();\n/**\n * Verifies that return value of configured `beforeSend` or `beforeSendTransaction` is of expected type, and returns the value if so.\n */\n\n\nfunction _validateBeforeSendResult(beforeSendResult, beforeSendLabel) {\n var invalidValueError = \"\".concat(beforeSendLabel, \" must return `null` or a valid event.\");\n\n if (isThenable(beforeSendResult)) {\n return beforeSendResult.then(function (event) {\n if (!isPlainObject(event) && event !== null) {\n throw new SentryError(invalidValueError);\n }\n\n return event;\n }, function (e) {\n throw new SentryError(\"\".concat(beforeSendLabel, \" rejected with \").concat(e));\n });\n } else if (!isPlainObject(beforeSendResult) && beforeSendResult !== null) {\n throw new SentryError(invalidValueError);\n }\n\n return beforeSendResult;\n}\n/**\n * Process the matching `beforeSendXXX` callback.\n */\n\n\nfunction processBeforeSend(options, event, hint) {\n var beforeSend = options.beforeSend,\n beforeSendTransaction = options.beforeSendTransaction;\n\n if (isErrorEvent(event) && beforeSend) {\n return beforeSend(event, hint);\n }\n\n if (isTransactionEvent(event) && beforeSendTransaction) {\n return beforeSendTransaction(event, hint);\n }\n\n return event;\n}\n\nfunction isErrorEvent(event) {\n return event.type === undefined;\n}\n\nfunction isTransactionEvent(event) {\n return event.type === 'transaction';\n}\n/**\n * Add an event processor to the current client.\n * This event processor will run for all events processed by this client.\n */\n\n\nfunction addEventProcessor(callback) {\n var client = getClient();\n\n if (!client || !client.addEventProcessor) {\n return;\n }\n\n client.addEventProcessor(callback);\n}\n\nexport { BaseClient, addEventProcessor };","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nexport { DEBUG_BUILD };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { getClient } from '@sentry/core';\nimport { addExceptionMechanism, resolvedSyncPromise, isErrorEvent, isDOMError, isDOMException, addExceptionTypeValue, isError, isPlainObject, isEvent, isParameterizedString, normalizeToSize, extractExceptionKeysForMessage } from '@sentry/utils';\n/**\n * This function creates an exception from a JavaScript Error\n */\n\nfunction exceptionFromError(stackParser, ex) {\n // Get the frames first since Opera can lose the stack if we touch anything else first\n var frames = parseStackFrames(stackParser, ex);\n var exception = {\n type: ex && ex.name,\n value: extractMessage(ex)\n };\n\n if (frames.length) {\n exception.stacktrace = {\n frames: frames\n };\n }\n\n if (exception.type === undefined && exception.value === '') {\n exception.value = 'Unrecoverable error caught';\n }\n\n return exception;\n}\n/**\n * @hidden\n */\n\n\nfunction eventFromPlainObject(stackParser, exception, syntheticException, isUnhandledRejection) {\n var client = getClient();\n var normalizeDepth = client && client.getOptions().normalizeDepth;\n var event = {\n exception: {\n values: [{\n type: isEvent(exception) ? exception.constructor.name : isUnhandledRejection ? 'UnhandledRejection' : 'Error',\n value: getNonErrorObjectExceptionValue(exception, {\n isUnhandledRejection: isUnhandledRejection\n })\n }]\n },\n extra: {\n __serialized__: normalizeToSize(exception, normalizeDepth)\n }\n };\n\n if (syntheticException) {\n var frames = parseStackFrames(stackParser, syntheticException);\n\n if (frames.length) {\n // event.exception.values[0] has been set above\n event.exception.values[0].stacktrace = {\n frames: frames\n };\n }\n }\n\n return event;\n}\n/**\n * @hidden\n */\n\n\nfunction eventFromError(stackParser, ex) {\n return {\n exception: {\n values: [exceptionFromError(stackParser, ex)]\n }\n };\n}\n/** Parses stack frames from an error */\n\n\nfunction parseStackFrames(stackParser, ex) {\n // Access and store the stacktrace property before doing ANYTHING\n // else to it because Opera is not very good at providing it\n // reliably in other circumstances.\n var stacktrace = ex.stacktrace || ex.stack || '';\n var popSize = getPopSize(ex);\n\n try {\n return stackParser(stacktrace, popSize);\n } catch (e) {// no-empty\n }\n\n return [];\n} // Based on our own mapping pattern - https://github.com/getsentry/sentry/blob/9f08305e09866c8bd6d0c24f5b0aabdd7dd6c59c/src/sentry/lang/javascript/errormapping.py#L83-L108\n\n\nvar reactMinifiedRegexp = /Minified React error #\\d+;/i;\n\nfunction getPopSize(ex) {\n if (ex) {\n if (typeof ex.framesToPop === 'number') {\n return ex.framesToPop;\n }\n\n if (reactMinifiedRegexp.test(ex.message)) {\n return 1;\n }\n }\n\n return 0;\n}\n/**\n * There are cases where stacktrace.message is an Event object\n * https://github.com/getsentry/sentry-javascript/issues/1949\n * In this specific case we try to extract stacktrace.message.error.message\n */\n\n\nfunction extractMessage(ex) {\n var message = ex && ex.message;\n\n if (!message) {\n return 'No error message';\n }\n\n if (message.error && typeof message.error.message === 'string') {\n return message.error.message;\n }\n\n return message;\n}\n/**\n * Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.\n * @hidden\n */\n\n\nfunction eventFromException(stackParser, exception, hint, attachStacktrace) {\n var syntheticException = hint && hint.syntheticException || undefined;\n var event = eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace);\n addExceptionMechanism(event); // defaults to { type: 'generic', handled: true }\n\n event.level = 'error';\n\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n\n return resolvedSyncPromise(event);\n}\n/**\n * Builds and Event from a Message\n * @hidden\n */\n\n\nfunction eventFromMessage(stackParser, message) {\n var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'info';\n var hint = arguments.length > 3 ? arguments[3] : undefined;\n var attachStacktrace = arguments.length > 4 ? arguments[4] : undefined;\n var syntheticException = hint && hint.syntheticException || undefined;\n var event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n event.level = level;\n\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n\n return resolvedSyncPromise(event);\n}\n/**\n * @hidden\n */\n\n\nfunction eventFromUnknownInput(stackParser, exception, syntheticException, attachStacktrace, isUnhandledRejection) {\n var event;\n\n if (isErrorEvent(exception) && exception.error) {\n // If it is an ErrorEvent with `error` property, extract it to get actual Error\n var errorEvent = exception;\n return eventFromError(stackParser, errorEvent.error);\n } // If it is a `DOMError` (which is a legacy API, but still supported in some browsers) then we just extract the name\n // and message, as it doesn't provide anything else. According to the spec, all `DOMExceptions` should also be\n // `Error`s, but that's not the case in IE11, so in that case we treat it the same as we do a `DOMError`.\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMError\n // https://developer.mozilla.org/en-US/docs/Web/API/DOMException\n // https://webidl.spec.whatwg.org/#es-DOMException-specialness\n\n\n if (isDOMError(exception) || isDOMException(exception)) {\n var domException = exception;\n\n if ('stack' in exception) {\n event = eventFromError(stackParser, exception);\n } else {\n var name = domException.name || (isDOMError(domException) ? 'DOMError' : 'DOMException');\n var message = domException.message ? \"\".concat(name, \": \").concat(domException.message) : name;\n event = eventFromString(stackParser, message, syntheticException, attachStacktrace);\n addExceptionTypeValue(event, message);\n }\n\n if ('code' in domException) {\n // eslint-disable-next-line deprecation/deprecation\n event.tags = _objectSpread(_objectSpread({}, event.tags), {}, {\n 'DOMException.code': \"\".concat(domException.code)\n });\n }\n\n return event;\n }\n\n if (isError(exception)) {\n // we have a real Error object, do nothing\n return eventFromError(stackParser, exception);\n }\n\n if (isPlainObject(exception) || isEvent(exception)) {\n // If it's a plain object or an instance of `Event` (the built-in JS kind, not this SDK's `Event` type), serialize\n // it manually. This will allow us to group events based on top-level keys which is much better than creating a new\n // group on any key/value change.\n var objectException = exception;\n event = eventFromPlainObject(stackParser, objectException, syntheticException, isUnhandledRejection);\n addExceptionMechanism(event, {\n synthetic: true\n });\n return event;\n } // If none of previous checks were valid, then it means that it's not:\n // - an instance of DOMError\n // - an instance of DOMException\n // - an instance of Event\n // - an instance of Error\n // - a valid ErrorEvent (one with an error property)\n // - a plain Object\n //\n // So bail out and capture it as a simple message:\n\n\n event = eventFromString(stackParser, exception, syntheticException, attachStacktrace);\n addExceptionTypeValue(event, \"\".concat(exception), undefined);\n addExceptionMechanism(event, {\n synthetic: true\n });\n return event;\n}\n/**\n * @hidden\n */\n\n\nfunction eventFromString(stackParser, message, syntheticException, attachStacktrace) {\n var event = {};\n\n if (attachStacktrace && syntheticException) {\n var frames = parseStackFrames(stackParser, syntheticException);\n\n if (frames.length) {\n event.exception = {\n values: [{\n value: message,\n stacktrace: {\n frames: frames\n }\n }]\n };\n }\n }\n\n if (isParameterizedString(message)) {\n var __sentry_template_string__ = message.__sentry_template_string__,\n __sentry_template_values__ = message.__sentry_template_values__;\n event.logentry = {\n message: __sentry_template_string__,\n params: __sentry_template_values__\n };\n return event;\n }\n\n event.message = message;\n return event;\n}\n\nfunction getNonErrorObjectExceptionValue(exception, _ref) {\n var isUnhandledRejection = _ref.isUnhandledRejection;\n var keys = extractExceptionKeysForMessage(exception);\n var captureType = isUnhandledRejection ? 'promise rejection' : 'exception'; // Some ErrorEvent instances do not have an `error` property, which is why they are not handled before\n // We still want to try to get a decent message for these cases\n\n if (isErrorEvent(exception)) {\n return \"Event `ErrorEvent` captured as \".concat(captureType, \" with message `\").concat(exception.message, \"`\");\n }\n\n if (isEvent(exception)) {\n var className = getObjectClassName(exception);\n return \"Event `\".concat(className, \"` (type=\").concat(exception.type, \") captured as \").concat(captureType);\n }\n\n return \"Object captured as \".concat(captureType, \" with keys: \").concat(keys);\n}\n\nfunction getObjectClassName(obj) {\n try {\n var prototype = Object.getPrototypeOf(obj);\n return prototype ? prototype.constructor.name : undefined;\n } catch (e) {// ignore errors here\n }\n}\n\nexport { eventFromError, eventFromException, eventFromMessage, eventFromPlainObject, eventFromString, eventFromUnknownInput, exceptionFromError, parseStackFrames };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport '@sentry-internal/tracing';\nimport { withScope, captureException } from '@sentry/core';\nimport { GLOBAL_OBJ, getOriginalFunction, markFunctionWrapped, addNonEnumerableProperty, addExceptionTypeValue, addExceptionMechanism } from '@sentry/utils';\nvar WINDOW = GLOBAL_OBJ;\nvar ignoreOnError = 0;\n/**\n * @hidden\n */\n\nfunction shouldIgnoreOnError() {\n return ignoreOnError > 0;\n}\n/**\n * @hidden\n */\n\n\nfunction ignoreNextOnError() {\n // onerror should trigger before setTimeout\n ignoreOnError++;\n setTimeout(function () {\n ignoreOnError--;\n });\n}\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap. It is generally safe to pass an unbound function, because the returned wrapper always\n * has a correct `this` context.\n * @returns The wrapped function.\n * @hidden\n */\n\n\nfunction wrap(fn) // eslint-disable-next-line @typescript-eslint/no-explicit-any\n{\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var before = arguments.length > 2 ? arguments[2] : undefined;\n\n // for future readers what this does is wrap a function and then create\n // a bi-directional wrapping between them.\n //\n // example: wrapped = wrap(original);\n // original.__sentry_wrapped__ -> wrapped\n // wrapped.__sentry_original__ -> original\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // if we're dealing with a function that was previously wrapped, return\n // the original wrapper.\n var wrapper = fn.__sentry_wrapped__;\n\n if (wrapper) {\n return wrapper;\n } // We don't wanna wrap it twice\n\n\n if (getOriginalFunction(fn)) {\n return fn;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n /* eslint-disable prefer-rest-params */\n // It is important that `sentryWrapped` is not an arrow function to preserve the context of `this`\n\n\n var sentryWrapped = function sentryWrapped() {\n var args = Array.prototype.slice.call(arguments);\n\n try {\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n } // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access\n\n\n var wrappedArguments = args.map(function (arg) {\n return wrap(arg, options);\n }); // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n\n return fn.apply(this, wrappedArguments);\n } catch (ex) {\n ignoreNextOnError();\n withScope(function (scope) {\n scope.addEventProcessor(function (event) {\n if (options.mechanism) {\n addExceptionTypeValue(event, undefined, undefined);\n addExceptionMechanism(event, options.mechanism);\n }\n\n event.extra = _objectSpread(_objectSpread({}, event.extra), {}, {\n arguments: args\n });\n return event;\n });\n captureException(ex);\n });\n throw ex;\n }\n };\n /* eslint-enable prefer-rest-params */\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n\n\n try {\n for (var property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n\n\n markFunctionWrapped(sentryWrapped, fn);\n addNonEnumerableProperty(fn, '__sentry_wrapped__', sentryWrapped); // Restore original function name (not all browsers allow that)\n\n try {\n var descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name');\n\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get: function get() {\n return fn.name;\n }\n });\n } // eslint-disable-next-line no-empty\n\n } catch (_oO) {}\n\n return sentryWrapped;\n}\n\nexport { WINDOW, ignoreNextOnError, shouldIgnoreOnError, wrap };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { dsnToString, createEnvelope } from '@sentry/utils';\n/**\n * Creates an envelope from a user feedback.\n */\n\nfunction createUserFeedbackEnvelope(feedback, _ref) {\n var metadata = _ref.metadata,\n tunnel = _ref.tunnel,\n dsn = _ref.dsn;\n\n var headers = _objectSpread(_objectSpread({\n event_id: feedback.event_id,\n sent_at: new Date().toISOString()\n }, metadata && metadata.sdk && {\n sdk: {\n name: metadata.sdk.name,\n version: metadata.sdk.version\n }\n }), !!tunnel && !!dsn && {\n dsn: dsnToString(dsn)\n });\n\n var item = createUserFeedbackEnvelopeItem(feedback);\n return createEnvelope(headers, [item]);\n}\n\nfunction createUserFeedbackEnvelopeItem(feedback) {\n var feedbackHeaders = {\n type: 'user_report'\n };\n return [feedbackHeaders, feedback];\n}\n\nexport { createUserFeedbackEnvelope };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\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); return Constructor; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } 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 _get(target, property, receiver) { 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(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }\n\nfunction _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); 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\nimport { BaseClient, applySdkMetadata } from '@sentry/core';\nimport { getSDKSource, logger, createClientReportEnvelope, dsnToString } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { eventFromException as _eventFromException, eventFromMessage as _eventFromMessage } from './eventbuilder.js';\nimport { WINDOW } from './helpers.js';\nimport { createUserFeedbackEnvelope } from './userfeedback.js';\n/**\n * Configuration options for the Sentry Browser SDK.\n * @see @sentry/types Options for more information.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * @see BrowserOptions for documentation on configuration options.\n * @see SentryClient for usage documentation.\n */\n\nvar BrowserClient =\n/*#__PURE__*/\nfunction (_BaseClient) {\n _inherits(BrowserClient, _BaseClient);\n\n /**\n * Creates a new Browser SDK instance.\n *\n * @param options Configuration options for this SDK.\n */\n function BrowserClient(options) {\n var _this;\n\n _classCallCheck(this, BrowserClient);\n\n var sdkSource = WINDOW.SENTRY_SDK_SOURCE || getSDKSource();\n applySdkMetadata(options, 'browser', ['browser'], sdkSource);\n _this = _possibleConstructorReturn(this, _getPrototypeOf(BrowserClient).call(this, options));\n\n if (options.sendClientReports && WINDOW.document) {\n WINDOW.document.addEventListener('visibilitychange', function () {\n if (WINDOW.document.visibilityState === 'hidden') {\n _this._flushOutcomes();\n }\n });\n }\n\n return _this;\n }\n /**\n * @inheritDoc\n */\n\n\n _createClass(BrowserClient, [{\n key: \"eventFromException\",\n value: function eventFromException(exception, hint) {\n return _eventFromException(this._options.stackParser, exception, hint, this._options.attachStacktrace);\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"eventFromMessage\",\n value: function eventFromMessage(message) {\n var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'info';\n var hint = arguments.length > 2 ? arguments[2] : undefined;\n return _eventFromMessage(this._options.stackParser, message, level, hint, this._options.attachStacktrace);\n }\n /**\n * Sends user feedback to Sentry.\n */\n\n }, {\n key: \"captureUserFeedback\",\n value: function captureUserFeedback(feedback) {\n if (!this._isEnabled()) {\n DEBUG_BUILD && logger.warn('SDK not enabled, will not capture user feedback.');\n return;\n }\n\n var envelope = createUserFeedbackEnvelope(feedback, {\n metadata: this.getSdkMetadata(),\n dsn: this.getDsn(),\n tunnel: this.getOptions().tunnel\n }); // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n this._sendEnvelope(envelope);\n }\n /**\n * @inheritDoc\n */\n\n }, {\n key: \"_prepareEvent\",\n value: function _prepareEvent(event, hint, scope) {\n event.platform = event.platform || 'javascript';\n return _get(_getPrototypeOf(BrowserClient.prototype), \"_prepareEvent\", this).call(this, event, hint, scope);\n }\n /**\n * Sends client reports as an envelope.\n */\n\n }, {\n key: \"_flushOutcomes\",\n value: function _flushOutcomes() {\n var outcomes = this._clearOutcomes();\n\n if (outcomes.length === 0) {\n DEBUG_BUILD && logger.log('No outcomes to send');\n return;\n } // This is really the only place where we want to check for a DSN and only send outcomes then\n\n\n if (!this._dsn) {\n DEBUG_BUILD && logger.log('No dsn provided, will not send outcomes');\n return;\n }\n\n DEBUG_BUILD && logger.log('Sending outcomes:', outcomes);\n var envelope = createClientReportEnvelope(outcomes, this._options.tunnel && dsnToString(this._dsn)); // _sendEnvelope should not throw\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n this._sendEnvelope(envelope);\n }\n }]);\n\n return BrowserClient;\n}(BaseClient);\n\nexport { BrowserClient };","import { SDK_VERSION } from '../version.js';\n/**\n * A builder for the SDK metadata in the options for the SDK initialization.\n *\n * Note: This function is identical to `buildMetadata` in Remix and NextJS and SvelteKit.\n * We don't extract it for bundle size reasons.\n * @see https://github.com/getsentry/sentry-javascript/pull/7404\n * @see https://github.com/getsentry/sentry-javascript/pull/4196\n *\n * If you make changes to this function consider updating the others as well.\n *\n * @param options SDK options object that gets mutated\n * @param names list of package names\n */\n\nfunction applySdkMetadata(options, name) {\n var names = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [name];\n var source = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'npm';\n var metadata = options._metadata || {};\n\n if (!metadata.sdk) {\n metadata.sdk = {\n name: \"sentry.javascript.\".concat(name),\n packages: names.map(function (name) {\n return {\n name: \"\".concat(source, \":@sentry/\").concat(name),\n version: SDK_VERSION\n };\n }),\n version: SDK_VERSION\n };\n }\n\n options._metadata = metadata;\n}\n\nexport { applySdkMetadata };","import { createEnvelope } from './envelope.js';\nimport { dateTimestampInSeconds } from './time.js';\n/**\n * Creates client report envelope\n * @param discarded_events An array of discard events\n * @param dsn A DSN that can be set on the header. Optional.\n */\n\nfunction createClientReportEnvelope(discarded_events, dsn, timestamp) {\n var clientReportItem = [{\n type: 'client_report'\n }, {\n timestamp: timestamp || dateTimestampInSeconds(),\n discarded_events: discarded_events\n }];\n return createEnvelope(dsn ? {\n dsn: dsn\n } : {}, [clientReportItem]);\n}\n\nexport { createClientReportEnvelope };","import { CONSOLE_LEVELS, originalConsoleMethods } from '../logger.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n/**\n * Add an instrumentation handler for when a console.xxx method is called.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addConsoleInstrumentationHandler(handler) {\n var type = 'console';\n addHandler(type, handler);\n maybeInstrument(type, instrumentConsole);\n}\n\nfunction instrumentConsole() {\n if (!('console' in GLOBAL_OBJ)) {\n return;\n }\n\n CONSOLE_LEVELS.forEach(function (level) {\n if (!(level in GLOBAL_OBJ.console)) {\n return;\n }\n\n fill(GLOBAL_OBJ.console, level, function (originalConsoleMethod) {\n originalConsoleMethods[level] = originalConsoleMethod;\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var handlerData = {\n args: args,\n level: level\n };\n triggerHandlers('console', handlerData);\n var log = originalConsoleMethods[level];\n log && log.apply(GLOBAL_OBJ.console, args);\n };\n });\n });\n}\n\nexport { addConsoleInstrumentationHandler };","import { uuid4 } from '../misc.js';\nimport { fill, addNonEnumerableProperty } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\nvar WINDOW = GLOBAL_OBJ;\nvar DEBOUNCE_DURATION = 1000;\nvar debounceTimerID;\nvar lastCapturedEventType;\nvar lastCapturedEventTargetId;\n/**\n * Add an instrumentation handler for when a click or a keypress happens.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addClickKeypressInstrumentationHandler(handler) {\n var type = 'dom';\n addHandler(type, handler);\n maybeInstrument(type, instrumentDOM);\n}\n/** Exported for tests only. */\n\n\nfunction instrumentDOM() {\n if (!WINDOW.document) {\n return;\n } // Make it so that any click or keypress that is unhandled / bubbled up all the way to the document triggers our dom\n // handlers. (Normally we have only one, which captures a breadcrumb for each click or keypress.) Do this before\n // we instrument `addEventListener` so that we don't end up attaching this handler twice.\n\n\n var triggerDOMHandler = triggerHandlers.bind(null, 'dom');\n var globalDOMEventHandler = makeDOMEventHandler(triggerDOMHandler, true);\n WINDOW.document.addEventListener('click', globalDOMEventHandler, false);\n WINDOW.document.addEventListener('keypress', globalDOMEventHandler, false); // After hooking into click and keypress events bubbled up to `document`, we also hook into user-handled\n // clicks & keypresses, by adding an event listener of our own to any element to which they add a listener. That\n // way, whenever one of their handlers is triggered, ours will be, too. (This is needed because their handler\n // could potentially prevent the event from bubbling up to our global listeners. This way, our handler are still\n // guaranteed to fire at least once.)\n\n ['EventTarget', 'Node'].forEach(function (target) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n var proto = WINDOW[target] && WINDOW[target].prototype; // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (originalAddEventListener) {\n return function (type, listener, options) {\n if (type === 'click' || type == 'keypress') {\n try {\n var el = this;\n var handlers = el.__sentry_instrumentation_handlers__ = el.__sentry_instrumentation_handlers__ || {};\n var handlerForType = handlers[type] = handlers[type] || {\n refCount: 0\n };\n\n if (!handlerForType.handler) {\n var handler = makeDOMEventHandler(triggerDOMHandler);\n handlerForType.handler = handler;\n originalAddEventListener.call(this, type, handler, options);\n }\n\n handlerForType.refCount++;\n } catch (e) {// Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalAddEventListener.call(this, type, listener, options);\n };\n });\n fill(proto, 'removeEventListener', function (originalRemoveEventListener) {\n return function (type, listener, options) {\n if (type === 'click' || type == 'keypress') {\n try {\n var el = this;\n var handlers = el.__sentry_instrumentation_handlers__ || {};\n var handlerForType = handlers[type];\n\n if (handlerForType) {\n handlerForType.refCount--; // If there are no longer any custom handlers of the current type on this element, we can remove ours, too.\n\n if (handlerForType.refCount <= 0) {\n originalRemoveEventListener.call(this, type, handlerForType.handler, options);\n handlerForType.handler = undefined;\n delete handlers[type]; // eslint-disable-line @typescript-eslint/no-dynamic-delete\n } // If there are no longer any custom handlers of any type on this element, cleanup everything.\n\n\n if (Object.keys(handlers).length === 0) {\n delete el.__sentry_instrumentation_handlers__;\n }\n }\n } catch (e) {// Accessing dom properties is always fragile.\n // Also allows us to skip `addEventListenrs` calls with no proper `this` context.\n }\n }\n\n return originalRemoveEventListener.call(this, type, listener, options);\n };\n });\n });\n}\n/**\n * Check whether the event is similar to the last captured one. For example, two click events on the same button.\n */\n\n\nfunction isSimilarToLastCapturedEvent(event) {\n // If both events have different type, then user definitely performed two separate actions. e.g. click + keypress.\n if (event.type !== lastCapturedEventType) {\n return false;\n }\n\n try {\n // If both events have the same type, it's still possible that actions were performed on different targets.\n // e.g. 2 clicks on different buttons.\n if (!event.target || event.target._sentryId !== lastCapturedEventTargetId) {\n return false;\n }\n } catch (e) {} // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n // If both events have the same type _and_ same `target` (an element which triggered an event, _not necessarily_\n // to which an event listener was attached), we treat them as the same action, as we want to capture\n // only one breadcrumb. e.g. multiple clicks on the same button, or typing inside a user input box.\n\n\n return true;\n}\n/**\n * Decide whether an event should be captured.\n * @param event event to be captured\n */\n\n\nfunction shouldSkipDOMEvent(eventType, target) {\n // We are only interested in filtering `keypress` events for now.\n if (eventType !== 'keypress') {\n return false;\n }\n\n if (!target || !target.tagName) {\n return true;\n } // Only consider keypress events on actual input elements. This will disregard keypresses targeting body\n // e.g.tabbing through elements, hotkeys, etc.\n\n\n if (target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable) {\n return false;\n }\n\n return true;\n}\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n */\n\n\nfunction makeDOMEventHandler(handler) {\n var globalListener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return function (event) {\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors).\n // Ignore if we've already captured that event.\n if (!event || event['_sentryCaptured']) {\n return;\n }\n\n var target = getEventTarget(event); // We always want to skip _some_ events.\n\n if (shouldSkipDOMEvent(event.type, target)) {\n return;\n } // Mark event as \"seen\"\n\n\n addNonEnumerableProperty(event, '_sentryCaptured', true);\n\n if (target && !target._sentryId) {\n // Add UUID to event target so we can identify if\n addNonEnumerableProperty(target, '_sentryId', uuid4());\n }\n\n var name = event.type === 'keypress' ? 'input' : event.type; // If there is no last captured event, it means that we can safely capture the new event and store it for future comparisons.\n // If there is a last captured event, see if the new event is different enough to treat it as a unique one.\n // If that's the case, emit the previous event and store locally the newly-captured DOM event.\n\n if (!isSimilarToLastCapturedEvent(event)) {\n var handlerData = {\n event: event,\n name: name,\n global: globalListener\n };\n handler(handlerData);\n lastCapturedEventType = event.type;\n lastCapturedEventTargetId = target ? target._sentryId : undefined;\n } // Start a new debounce timer that will prevent us from capturing multiple events that should be grouped together.\n\n\n clearTimeout(debounceTimerID);\n debounceTimerID = WINDOW.setTimeout(function () {\n lastCapturedEventTargetId = undefined;\n lastCapturedEventType = undefined;\n }, DEBOUNCE_DURATION);\n };\n}\n\nfunction getEventTarget(event) {\n try {\n return event.target;\n } catch (e) {\n // just accessing `target` property can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/sentry-javascript/issues/838\n return null;\n }\n}\n\nexport { addClickKeypressInstrumentationHandler, instrumentDOM };","import { isString } from '../is.js';\nimport { fill } from '../object.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\nvar WINDOW = GLOBAL_OBJ;\nvar SENTRY_XHR_DATA_KEY = '__sentry_xhr_v3__';\n/**\n * Add an instrumentation handler for when an XHR request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addXhrInstrumentationHandler(handler) {\n var type = 'xhr';\n addHandler(type, handler);\n maybeInstrument(type, instrumentXHR);\n}\n/** Exported only for tests. */\n\n\nfunction instrumentXHR() {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (!WINDOW.XMLHttpRequest) {\n return;\n }\n\n var xhrproto = XMLHttpRequest.prototype;\n fill(xhrproto, 'open', function (originalOpen) {\n return function () {\n var _this = this;\n\n var startTimestamp = Date.now(); // open() should always be called with two or more arguments\n // But to be on the safe side, we actually validate this and bail out if we don't have a method & url\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var method = isString(args[0]) ? args[0].toUpperCase() : undefined;\n var url = parseUrl(args[1]);\n\n if (!method || !url) {\n return originalOpen.apply(this, args);\n }\n\n this[SENTRY_XHR_DATA_KEY] = {\n method: method,\n url: url,\n request_headers: {}\n }; // if Sentry key appears in URL, don't capture it as a request\n\n if (method === 'POST' && url.match(/sentry_key/)) {\n this.__sentry_own_request__ = true;\n }\n\n var onreadystatechangeHandler = function onreadystatechangeHandler() {\n // For whatever reason, this is not the same instance here as from the outer method\n var xhrInfo = _this[SENTRY_XHR_DATA_KEY];\n\n if (!xhrInfo) {\n return;\n }\n\n if (_this.readyState === 4) {\n try {\n // touching statusCode in some platforms throws\n // an exception\n xhrInfo.status_code = _this.status;\n } catch (e) {\n /* do nothing */\n }\n\n var handlerData = {\n args: [method, url],\n endTimestamp: Date.now(),\n startTimestamp: startTimestamp,\n xhr: _this\n };\n triggerHandlers('xhr', handlerData);\n }\n };\n\n if ('onreadystatechange' in this && typeof this.onreadystatechange === 'function') {\n fill(this, 'onreadystatechange', function (original) {\n return function () {\n onreadystatechangeHandler();\n\n for (var _len2 = arguments.length, readyStateArgs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n readyStateArgs[_key2] = arguments[_key2];\n }\n\n return original.apply(this, readyStateArgs);\n };\n });\n } else {\n this.addEventListener('readystatechange', onreadystatechangeHandler);\n } // Intercepting `setRequestHeader` to access the request headers of XHR instance.\n // This will only work for user/library defined headers, not for the default/browser-assigned headers.\n // Request cookies are also unavailable for XHR, as `Cookie` header can't be defined by `setRequestHeader`.\n\n\n fill(this, 'setRequestHeader', function (original) {\n return function () {\n for (var _len3 = arguments.length, setRequestHeaderArgs = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n setRequestHeaderArgs[_key3] = arguments[_key3];\n }\n\n var header = setRequestHeaderArgs[0],\n value = setRequestHeaderArgs[1];\n var xhrInfo = this[SENTRY_XHR_DATA_KEY];\n\n if (xhrInfo && isString(header) && isString(value)) {\n xhrInfo.request_headers[header.toLowerCase()] = value;\n }\n\n return original.apply(this, setRequestHeaderArgs);\n };\n });\n return originalOpen.apply(this, args);\n };\n });\n fill(xhrproto, 'send', function (originalSend) {\n return function () {\n var sentryXhrData = this[SENTRY_XHR_DATA_KEY];\n\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n if (!sentryXhrData) {\n return originalSend.apply(this, args);\n }\n\n if (args[0] !== undefined) {\n sentryXhrData.body = args[0];\n }\n\n var handlerData = {\n args: [sentryXhrData.method, sentryXhrData.url],\n startTimestamp: Date.now(),\n xhr: this\n };\n triggerHandlers('xhr', handlerData);\n return originalSend.apply(this, args);\n };\n });\n}\n\nfunction parseUrl(url) {\n if (isString(url)) {\n return url;\n }\n\n try {\n // url can be a string or URL\n // but since URL is not available in IE11, we do not check for it,\n // but simply assume it is an URL and return `toString()` from it (which returns the full URL)\n // If that fails, we just return undefined\n return url.toString();\n } catch (e2) {} // eslint-disable-line no-empty\n\n\n return undefined;\n}\n\nexport { SENTRY_XHR_DATA_KEY, addXhrInstrumentationHandler, instrumentXHR };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { fill } from '../object.js';\nimport { supportsNativeFetch } from '../supports.js';\nimport { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\n/**\n * Add an instrumentation handler for when a fetch request happens.\n * The handler function is called once when the request starts and once when it ends,\n * which can be identified by checking if it has an `endTimestamp`.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addFetchInstrumentationHandler(handler) {\n var type = 'fetch';\n addHandler(type, handler);\n maybeInstrument(type, instrumentFetch);\n}\n\nfunction instrumentFetch() {\n if (!supportsNativeFetch()) {\n return;\n }\n\n fill(GLOBAL_OBJ, 'fetch', function (originalFetch) {\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _parseFetchArgs = parseFetchArgs(args),\n method = _parseFetchArgs.method,\n url = _parseFetchArgs.url;\n\n var handlerData = {\n args: args,\n fetchData: {\n method: method,\n url: url\n },\n startTimestamp: Date.now()\n };\n triggerHandlers('fetch', _objectSpread({}, handlerData)); // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n\n return originalFetch.apply(GLOBAL_OBJ, args).then(function (response) {\n var finishedHandlerData = _objectSpread(_objectSpread({}, handlerData), {}, {\n endTimestamp: Date.now(),\n response: response\n });\n\n triggerHandlers('fetch', finishedHandlerData);\n return response;\n }, function (error) {\n var erroredHandlerData = _objectSpread(_objectSpread({}, handlerData), {}, {\n endTimestamp: Date.now(),\n error: error\n });\n\n triggerHandlers('fetch', erroredHandlerData); // NOTE: If you are a Sentry user, and you are seeing this stack frame,\n // it means the sentry.javascript SDK caught an error invoking your application code.\n // This is expected behavior and NOT indicative of a bug with sentry.javascript.\n\n throw error;\n });\n };\n });\n}\n\nfunction hasProp(obj, prop) {\n return !!obj && _typeof(obj) === 'object' && !!obj[prop];\n}\n\nfunction getUrlFromResource(resource) {\n if (typeof resource === 'string') {\n return resource;\n }\n\n if (!resource) {\n return '';\n }\n\n if (hasProp(resource, 'url')) {\n return resource.url;\n }\n\n if (resource.toString) {\n return resource.toString();\n }\n\n return '';\n}\n/**\n * Parses the fetch arguments to find the used Http method and the url of the request.\n * Exported for tests only.\n */\n\n\nfunction parseFetchArgs(fetchArgs) {\n if (fetchArgs.length === 0) {\n return {\n method: 'GET',\n url: ''\n };\n }\n\n if (fetchArgs.length === 2) {\n var _fetchArgs = _slicedToArray(fetchArgs, 2),\n url = _fetchArgs[0],\n options = _fetchArgs[1];\n\n return {\n url: getUrlFromResource(url),\n method: hasProp(options, 'method') ? String(options.method).toUpperCase() : 'GET'\n };\n }\n\n var arg = fetchArgs[0];\n return {\n url: getUrlFromResource(arg),\n method: hasProp(arg, 'method') ? String(arg.method).toUpperCase() : 'GET'\n };\n}\n\nexport { addFetchInstrumentationHandler, parseFetchArgs };","// Note: Ideally the `SeverityLevel` type would be derived from `validSeverityLevels`, but that would mean either\n//\n// a) moving `validSeverityLevels` to `@sentry/types`,\n// b) moving the`SeverityLevel` type here, or\n// c) importing `validSeverityLevels` from here into `@sentry/types`.\n//\n// Option A would make `@sentry/types` a runtime dependency of `@sentry/utils` (not good), and options B and C would\n// create a circular dependency between `@sentry/types` and `@sentry/utils` (also not good). So a TODO accompanying the\n// type, reminding anyone who changes it to change this list also, will have to do.\nvar validSeverityLevels = ['fatal', 'error', 'warning', 'log', 'info', 'debug'];\n/**\n * Converts a string-based level into a member of the deprecated {@link Severity} enum.\n *\n * @deprecated `severityFromString` is deprecated. Please use `severityLevelFromString` instead.\n *\n * @param level String representation of Severity\n * @returns Severity\n */\n\nfunction severityFromString(level) {\n return severityLevelFromString(level);\n}\n/**\n * Converts a string-based level into a `SeverityLevel`, normalizing it along the way.\n *\n * @param level String representation of desired `SeverityLevel`.\n * @returns The `SeverityLevel` corresponding to the given string, or 'log' if the string isn't a valid level.\n */\n\n\nfunction severityLevelFromString(level) {\n return level === 'warn' ? 'warning' : validSeverityLevels.includes(level) ? level : 'log';\n}\n\nexport { severityFromString, severityLevelFromString, validSeverityLevels };","/**\n * Parses string form of URL into an object\n * // borrowed from https://tools.ietf.org/html/rfc3986#appendix-B\n * // intentionally using regex and not <a/> href parsing trick because React Native and other\n * // environments where DOM might not be available\n * @returns parsed URL object\n */\nfunction parseUrl(url) {\n if (!url) {\n return {};\n }\n\n var match = url.match(/^(([^:/?#]+):)?(\\/\\/([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/);\n\n if (!match) {\n return {};\n } // coerce to undefined values to empty string so we don't get 'undefined'\n\n\n var query = match[6] || '';\n var fragment = match[8] || '';\n return {\n host: match[4],\n path: match[5],\n protocol: match[2],\n search: query,\n hash: fragment,\n relative: match[5] + query + fragment // everything minus origin\n\n };\n}\n/**\n * Strip the query string and fragment off of a given URL or path (if present)\n *\n * @param urlPath Full URL or path, including possible query string and/or fragment\n * @returns URL or path without query string or fragment\n */\n\n\nfunction stripUrlQueryAndFragment(urlPath) {\n // eslint-disable-next-line no-useless-escape\n return urlPath.split(/[\\?#]/, 1)[0];\n}\n/**\n * Returns number of URL segments of a passed string URL.\n */\n\n\nfunction getNumberOfUrlSegments(url) {\n // split at '/' or at '\\/' to split regex urls correctly\n return url.split(/\\\\?\\//).filter(function (s) {\n return s.length > 0 && s !== ',';\n }).length;\n}\n/**\n * Takes a URL object and returns a sanitized string which is safe to use as span description\n * see: https://develop.sentry.dev/sdk/data-handling/#structuring-data\n */\n\n\nfunction getSanitizedUrlString(url) {\n var protocol = url.protocol,\n host = url.host,\n path = url.path;\n var filteredHost = host && host // Always filter out authority\n .replace(/^.*@/, '[filtered]:[filtered]@') // Don't show mini :80 (http) and :443 (https) ports to reduce the noise\n // TODO: Use new URL global if it exists\n .replace(/(:80)$/, '').replace(/(:443)$/, '') || '';\n return \"\".concat(protocol ? \"\".concat(protocol, \"://\") : '').concat(filteredHost).concat(path);\n}\n\nexport { getNumberOfUrlSegments, getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment };","function _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass, getClient, addBreadcrumb } from '@sentry/core';\nimport { addConsoleInstrumentationHandler, addClickKeypressInstrumentationHandler, addXhrInstrumentationHandler, addFetchInstrumentationHandler, addHistoryInstrumentationHandler, getEventDescription, logger, htmlTreeAsString, getComponentName, severityLevelFromString, safeJoin, SENTRY_XHR_DATA_KEY, parseUrl } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\n/* eslint-disable max-lines */\n\n/** maxStringLength gets capped to prevent 100 breadcrumbs exceeding 1MB event payload size */\n\nvar MAX_ALLOWED_STRING_LENGTH = 1024;\nvar INTEGRATION_NAME = 'Breadcrumbs';\n\nvar _breadcrumbsIntegration = function _breadcrumbsIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options = _objectSpread({\n console: true,\n dom: true,\n fetch: true,\n history: true,\n sentry: true,\n xhr: true\n }, options);\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n setup: function setup(client) {\n if (_options.console) {\n addConsoleInstrumentationHandler(_getConsoleBreadcrumbHandler(client));\n }\n\n if (_options.dom) {\n addClickKeypressInstrumentationHandler(_getDomBreadcrumbHandler(client, _options.dom));\n }\n\n if (_options.xhr) {\n addXhrInstrumentationHandler(_getXhrBreadcrumbHandler(client));\n }\n\n if (_options.fetch) {\n addFetchInstrumentationHandler(_getFetchBreadcrumbHandler(client));\n }\n\n if (_options.history) {\n addHistoryInstrumentationHandler(_getHistoryBreadcrumbHandler(client));\n }\n\n if (_options.sentry && client.on) {\n client.on('beforeSendEvent', _getSentryBreadcrumbHandler(client));\n }\n }\n };\n};\n\nvar breadcrumbsIntegration = defineIntegration(_breadcrumbsIntegration);\n/**\n * Default Breadcrumbs instrumentations\n *\n * @deprecated Use `breadcrumbsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar Breadcrumbs = convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration);\n/**\n * Adds a breadcrumb for Sentry events or transactions if this option is enabled.\n */\n\nfunction _getSentryBreadcrumbHandler(client) {\n return function addSentryBreadcrumb(event) {\n if (getClient() !== client) {\n return;\n }\n\n addBreadcrumb({\n category: \"sentry.\".concat(event.type === 'transaction' ? 'transaction' : 'event'),\n event_id: event.event_id,\n level: event.level,\n message: getEventDescription(event)\n }, {\n event: event\n });\n };\n}\n/**\n * A HOC that creaes a function that creates breadcrumbs from DOM API calls.\n * This is a HOC so that we get access to dom options in the closure.\n */\n\n\nfunction _getDomBreadcrumbHandler(client, dom) {\n return function _innerDomBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var target;\n var componentName;\n var keyAttrs = _typeof(dom) === 'object' ? dom.serializeAttribute : undefined;\n var maxStringLength = _typeof(dom) === 'object' && typeof dom.maxStringLength === 'number' ? dom.maxStringLength : undefined;\n\n if (maxStringLength && maxStringLength > MAX_ALLOWED_STRING_LENGTH) {\n DEBUG_BUILD && logger.warn(\"`dom.maxStringLength` cannot exceed \".concat(MAX_ALLOWED_STRING_LENGTH, \", but a value of \").concat(maxStringLength, \" was configured. Sentry will use \").concat(MAX_ALLOWED_STRING_LENGTH, \" instead.\"));\n maxStringLength = MAX_ALLOWED_STRING_LENGTH;\n }\n\n if (typeof keyAttrs === 'string') {\n keyAttrs = [keyAttrs];\n } // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n\n\n try {\n var event = handlerData.event;\n var element = _isEvent(event) ? event.target : event;\n target = htmlTreeAsString(element, {\n keyAttrs: keyAttrs,\n maxStringLength: maxStringLength\n });\n componentName = getComponentName(element);\n } catch (e) {\n target = '<unknown>';\n }\n\n if (target.length === 0) {\n return;\n }\n\n var breadcrumb = {\n category: \"ui.\".concat(handlerData.name),\n message: target\n };\n\n if (componentName) {\n breadcrumb.data = {\n 'ui.component_name': componentName\n };\n }\n\n addBreadcrumb(breadcrumb, {\n event: handlerData.event,\n name: handlerData.name,\n global: handlerData.global\n });\n };\n}\n/**\n * Creates breadcrumbs from console API calls\n */\n\n\nfunction _getConsoleBreadcrumbHandler(client) {\n return function _consoleBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var breadcrumb = {\n category: 'console',\n data: {\n arguments: handlerData.args,\n logger: 'console'\n },\n level: severityLevelFromString(handlerData.level),\n message: safeJoin(handlerData.args, ' ')\n };\n\n if (handlerData.level === 'assert') {\n if (handlerData.args[0] === false) {\n breadcrumb.message = \"Assertion failed: \".concat(safeJoin(handlerData.args.slice(1), ' ') || 'console.assert');\n breadcrumb.data.arguments = handlerData.args.slice(1);\n } else {\n // Don't capture a breadcrumb for passed assertions\n return;\n }\n }\n\n addBreadcrumb(breadcrumb, {\n input: handlerData.args,\n level: handlerData.level\n });\n };\n}\n/**\n * Creates breadcrumbs from XHR API calls\n */\n\n\nfunction _getXhrBreadcrumbHandler(client) {\n return function _xhrBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var startTimestamp = handlerData.startTimestamp,\n endTimestamp = handlerData.endTimestamp;\n var sentryXhrData = handlerData.xhr[SENTRY_XHR_DATA_KEY]; // We only capture complete, non-sentry requests\n\n if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n return;\n }\n\n var method = sentryXhrData.method,\n url = sentryXhrData.url,\n status_code = sentryXhrData.status_code,\n body = sentryXhrData.body;\n var data = {\n method: method,\n url: url,\n status_code: status_code\n };\n var hint = {\n xhr: handlerData.xhr,\n input: body,\n startTimestamp: startTimestamp,\n endTimestamp: endTimestamp\n };\n addBreadcrumb({\n category: 'xhr',\n data: data,\n type: 'http'\n }, hint);\n };\n}\n/**\n * Creates breadcrumbs from fetch API calls\n */\n\n\nfunction _getFetchBreadcrumbHandler(client) {\n return function _fetchBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var startTimestamp = handlerData.startTimestamp,\n endTimestamp = handlerData.endTimestamp; // We only capture complete fetch requests\n\n if (!endTimestamp) {\n return;\n }\n\n if (handlerData.fetchData.url.match(/sentry_key/) && handlerData.fetchData.method === 'POST') {\n // We will not create breadcrumbs for fetch requests that contain `sentry_key` (internal sentry requests)\n return;\n }\n\n if (handlerData.error) {\n var data = handlerData.fetchData;\n var hint = {\n data: handlerData.error,\n input: handlerData.args,\n startTimestamp: startTimestamp,\n endTimestamp: endTimestamp\n };\n addBreadcrumb({\n category: 'fetch',\n data: data,\n level: 'error',\n type: 'http'\n }, hint);\n } else {\n var response = handlerData.response;\n\n var _data = _objectSpread(_objectSpread({}, handlerData.fetchData), {}, {\n status_code: response && response.status\n });\n\n var _hint = {\n input: handlerData.args,\n response: response,\n startTimestamp: startTimestamp,\n endTimestamp: endTimestamp\n };\n addBreadcrumb({\n category: 'fetch',\n data: _data,\n type: 'http'\n }, _hint);\n }\n };\n}\n/**\n * Creates breadcrumbs from history API calls\n */\n\n\nfunction _getHistoryBreadcrumbHandler(client) {\n return function _historyBreadcrumb(handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var from = handlerData.from;\n var to = handlerData.to;\n var parsedLoc = parseUrl(WINDOW.location.href);\n var parsedFrom = from ? parseUrl(from) : undefined;\n var parsedTo = parseUrl(to); // Initial pushState doesn't provide `from` information\n\n if (!parsedFrom || !parsedFrom.path) {\n parsedFrom = parsedLoc;\n } // Use only the path component of the URL if the URL matches the current\n // document (almost all the time when using pushState)\n\n\n if (parsedLoc.protocol === parsedTo.protocol && parsedLoc.host === parsedTo.host) {\n to = parsedTo.relative;\n }\n\n if (parsedLoc.protocol === parsedFrom.protocol && parsedLoc.host === parsedFrom.host) {\n from = parsedFrom.relative;\n }\n\n addBreadcrumb({\n category: 'navigation',\n data: {\n from: from,\n to: to\n }\n });\n };\n}\n\nfunction _isEvent(event) {\n return !!event && !!event.target;\n}\n\nexport { Breadcrumbs, breadcrumbsIntegration };","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nvar INTEGRATION_NAME = 'Dedupe';\n\nvar _dedupeIntegration = function _dedupeIntegration() {\n var previousEvent;\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent: function processEvent(currentEvent) {\n // We want to ignore any non-error type events, e.g. transactions or replays\n // These should never be deduped, and also not be compared against as _previousEvent.\n if (currentEvent.type) {\n return currentEvent;\n } // Juuust in case something goes wrong\n\n\n try {\n if (_shouldDropEvent(currentEvent, previousEvent)) {\n DEBUG_BUILD && logger.warn('Event dropped due to being a duplicate of previously captured event.');\n return null;\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n\n return previousEvent = currentEvent;\n }\n };\n};\n\nvar dedupeIntegration = defineIntegration(_dedupeIntegration);\n/**\n * Deduplication filter.\n * @deprecated Use `dedupeIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration);\n\nfunction _shouldDropEvent(currentEvent, previousEvent) {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\n var currentMessage = currentEvent.message;\n var previousMessage = previousEvent.message; // If neither event has a message property, they were both exceptions, so bail out\n\n if (!currentMessage && !previousMessage) {\n return false;\n } // If only one event has a stacktrace, but not the other one, they are not the same\n\n\n if (currentMessage && !previousMessage || !currentMessage && previousMessage) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\n var previousException = _getExceptionFromEvent(previousEvent);\n\n var currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameStacktrace(currentEvent, previousEvent) {\n var currentFrames = _getFramesFromEvent(currentEvent);\n\n var previousFrames = _getFramesFromEvent(previousEvent); // If neither event has a stacktrace, they are assumed to be the same\n\n\n if (!currentFrames && !previousFrames) {\n return true;\n } // If only one event has a stacktrace, but not the other one, they are not the same\n\n\n if (currentFrames && !previousFrames || !currentFrames && previousFrames) {\n return false;\n }\n\n currentFrames = currentFrames;\n previousFrames = previousFrames; // If number of frames differ, they are not the same\n\n if (previousFrames.length !== currentFrames.length) {\n return false;\n } // Otherwise, compare the two\n\n\n for (var i = 0; i < previousFrames.length; i++) {\n var frameA = previousFrames[i];\n var frameB = currentFrames[i];\n\n if (frameA.filename !== frameB.filename || frameA.lineno !== frameB.lineno || frameA.colno !== frameB.colno || frameA[\"function\"] !== frameB[\"function\"]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction _isSameFingerprint(currentEvent, previousEvent) {\n var currentFingerprint = currentEvent.fingerprint;\n var previousFingerprint = previousEvent.fingerprint; // If neither event has a fingerprint, they are assumed to be the same\n\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n } // If only one event has a fingerprint, but not the other one, they are not the same\n\n\n if (currentFingerprint && !previousFingerprint || !currentFingerprint && previousFingerprint) {\n return false;\n }\n\n currentFingerprint = currentFingerprint;\n previousFingerprint = previousFingerprint; // Otherwise, compare the two\n\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\nfunction _getExceptionFromEvent(event) {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\nfunction _getFramesFromEvent(event) {\n var exception = event.exception;\n\n if (exception) {\n try {\n // @ts-expect-error Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n }\n\n return undefined;\n}\n\nexport { Dedupe, dedupeIntegration };","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\nvar _oldOnErrorHandler = null;\n/**\n * Add an instrumentation handler for when an error is captured by the global error handler.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addGlobalErrorInstrumentationHandler(handler) {\n var type = 'error';\n addHandler(type, handler);\n maybeInstrument(type, instrumentError);\n}\n\nfunction instrumentError() {\n _oldOnErrorHandler = GLOBAL_OBJ.onerror;\n\n GLOBAL_OBJ.onerror = function (msg, url, line, column, error) {\n var handlerData = {\n column: column,\n error: error,\n line: line,\n msg: msg,\n url: url\n };\n triggerHandlers('error', handlerData);\n\n if (_oldOnErrorHandler && !_oldOnErrorHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnErrorHandler.apply(this, arguments);\n }\n\n return false;\n };\n\n GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalErrorInstrumentationHandler };","import { GLOBAL_OBJ } from '../worldwide.js';\nimport { addHandler, maybeInstrument, triggerHandlers } from './_handlers.js';\nvar _oldOnUnhandledRejectionHandler = null;\n/**\n * Add an instrumentation handler for when an unhandled promise rejection is captured.\n *\n * Use at your own risk, this might break without changelog notice, only used internally.\n * @hidden\n */\n\nfunction addGlobalUnhandledRejectionInstrumentationHandler(handler) {\n var type = 'unhandledrejection';\n addHandler(type, handler);\n maybeInstrument(type, instrumentUnhandledRejection);\n}\n\nfunction instrumentUnhandledRejection() {\n _oldOnUnhandledRejectionHandler = GLOBAL_OBJ.onunhandledrejection;\n\n GLOBAL_OBJ.onunhandledrejection = function (e) {\n var handlerData = e;\n triggerHandlers('unhandledrejection', handlerData);\n\n if (_oldOnUnhandledRejectionHandler && !_oldOnUnhandledRejectionHandler.__SENTRY_LOADER__) {\n // eslint-disable-next-line prefer-rest-params\n return _oldOnUnhandledRejectionHandler.apply(this, arguments);\n }\n\n return true;\n };\n\n GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__ = true;\n}\n\nexport { addGlobalUnhandledRejectionInstrumentationHandler };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass, getClient, captureEvent } from '@sentry/core';\nimport { addGlobalErrorInstrumentationHandler, isString, addGlobalUnhandledRejectionInstrumentationHandler, isPrimitive, isErrorEvent, getLocationHref, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { eventFromUnknownInput } from '../eventbuilder.js';\nimport { shouldIgnoreOnError } from '../helpers.js';\n/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n\nvar INTEGRATION_NAME = 'GlobalHandlers';\n\nvar _globalHandlersIntegration = function _globalHandlersIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options = _objectSpread({\n onerror: true,\n onunhandledrejection: true\n }, options);\n\n return {\n name: INTEGRATION_NAME,\n setupOnce: function setupOnce() {\n Error.stackTraceLimit = 50;\n },\n setup: function setup(client) {\n if (_options.onerror) {\n _installGlobalOnErrorHandler(client);\n\n globalHandlerLog('onerror');\n }\n\n if (_options.onunhandledrejection) {\n _installGlobalOnUnhandledRejectionHandler(client);\n\n globalHandlerLog('onunhandledrejection');\n }\n }\n };\n};\n\nvar globalHandlersIntegration = defineIntegration(_globalHandlersIntegration);\n/**\n * Global handlers.\n * @deprecated Use `globalHandlersIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar GlobalHandlers = convertIntegrationFnToClass(INTEGRATION_NAME, globalHandlersIntegration);\n\nfunction _installGlobalOnErrorHandler(client) {\n addGlobalErrorInstrumentationHandler(function (data) {\n var _getOptions = getOptions(),\n stackParser = _getOptions.stackParser,\n attachStacktrace = _getOptions.attachStacktrace;\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n var msg = data.msg,\n url = data.url,\n line = data.line,\n column = data.column,\n error = data.error;\n var event = error === undefined && isString(msg) ? _eventFromIncompleteOnError(msg, url, line, column) : _enhanceEventWithInitialFrame(eventFromUnknownInput(stackParser, error || msg, undefined, attachStacktrace, false), url, line, column);\n event.level = 'error';\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onerror'\n }\n });\n });\n}\n\nfunction _installGlobalOnUnhandledRejectionHandler(client) {\n addGlobalUnhandledRejectionInstrumentationHandler(function (e) {\n var _getOptions2 = getOptions(),\n stackParser = _getOptions2.stackParser,\n attachStacktrace = _getOptions2.attachStacktrace;\n\n if (getClient() !== client || shouldIgnoreOnError()) {\n return;\n }\n\n var error = _getUnhandledRejectionError(e);\n\n var event = isPrimitive(error) ? _eventFromRejectionWithPrimitive(error) : eventFromUnknownInput(stackParser, error, undefined, attachStacktrace, true);\n event.level = 'error';\n captureEvent(event, {\n originalException: error,\n mechanism: {\n handled: false,\n type: 'onunhandledrejection'\n }\n });\n });\n}\n\nfunction _getUnhandledRejectionError(error) {\n if (isPrimitive(error)) {\n return error;\n } // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\n var e = error; // dig the object of the rejection out of known event types\n\n try {\n // PromiseRejectionEvents store the object of the rejection under 'reason'\n // see https://developer.mozilla.org/en-US/docs/Web/API/PromiseRejectionEvent\n if ('reason' in e) {\n return e.reason;\n } // something, somewhere, (likely a browser extension) effectively casts PromiseRejectionEvents\n // to CustomEvents, moving the `promise` and `reason` attributes of the PRE into\n // the CustomEvent's `detail` attribute, since they're not part of CustomEvent's spec\n // see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent and\n // https://github.com/getsentry/sentry-javascript/issues/2380\n else if ('detail' in e && 'reason' in e.detail) {\n return e.detail.reason;\n }\n } catch (e2) {} // eslint-disable-line no-empty\n\n\n return error;\n}\n/**\n * Create an event from a promise rejection where the `reason` is a primitive.\n *\n * @param reason: The `reason` property of the promise rejection\n * @returns An Event object with an appropriate `exception` value\n */\n\n\nfunction _eventFromRejectionWithPrimitive(reason) {\n return {\n exception: {\n values: [{\n type: 'UnhandledRejection',\n // String() is needed because the Primitive type includes symbols (which can't be automatically stringified)\n value: \"Non-Error promise rejection captured with value: \".concat(String(reason))\n }]\n }\n };\n}\n/**\n * This function creates a stack from an old, error-less onerror handler.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction _eventFromIncompleteOnError(msg, url, line, column) {\n var ERROR_TYPES_RE = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i; // If 'message' is ErrorEvent, get real message from inside\n\n var message = isErrorEvent(msg) ? msg.message : msg;\n var name = 'Error';\n var groups = message.match(ERROR_TYPES_RE);\n\n if (groups) {\n name = groups[1];\n message = groups[2];\n }\n\n var event = {\n exception: {\n values: [{\n type: name,\n value: message\n }]\n }\n };\n return _enhanceEventWithInitialFrame(event, url, line, column);\n} // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction _enhanceEventWithInitialFrame(event, url, line, column) {\n // event.exception\n var e = event.exception = event.exception || {}; // event.exception.values\n\n var ev = e.values = e.values || []; // event.exception.values[0]\n\n var ev0 = ev[0] = ev[0] || {}; // event.exception.values[0].stacktrace\n\n var ev0s = ev0.stacktrace = ev0.stacktrace || {}; // event.exception.values[0].stacktrace.frames\n\n var ev0sf = ev0s.frames = ev0s.frames || [];\n var colno = isNaN(parseInt(column, 10)) ? undefined : column;\n var lineno = isNaN(parseInt(line, 10)) ? undefined : line;\n var filename = isString(url) && url.length > 0 ? url : getLocationHref(); // event.exception.values[0].stacktrace.frames\n\n if (ev0sf.length === 0) {\n ev0sf.push({\n colno: colno,\n filename: filename,\n \"function\": '?',\n in_app: true,\n lineno: lineno\n });\n }\n\n return event;\n}\n\nfunction globalHandlerLog(type) {\n DEBUG_BUILD && logger.log(\"Global Handler attached: \".concat(type));\n}\n\nfunction getOptions() {\n var client = getClient();\n var options = client && client.getOptions() || {\n stackParser: function stackParser() {\n return [];\n },\n attachStacktrace: false\n };\n return options;\n}\n\nexport { GlobalHandlers, globalHandlersIntegration };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { WINDOW } from '../helpers.js';\nvar INTEGRATION_NAME = 'HttpContext';\n\nvar _httpContextIntegration = function _httpContextIntegration() {\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent: function preprocessEvent(event) {\n // if none of the information we want exists, don't bother\n if (!WINDOW.navigator && !WINDOW.location && !WINDOW.document) {\n return;\n } // grab as much info as exists and add it to the event\n\n\n var url = event.request && event.request.url || WINDOW.location && WINDOW.location.href;\n\n var _ref = WINDOW.document || {},\n referrer = _ref.referrer;\n\n var _ref2 = WINDOW.navigator || {},\n userAgent = _ref2.userAgent;\n\n var headers = _objectSpread(_objectSpread(_objectSpread({}, event.request && event.request.headers), referrer && {\n Referer: referrer\n }), userAgent && {\n 'User-Agent': userAgent\n });\n\n var request = _objectSpread(_objectSpread(_objectSpread({}, event.request), url && {\n url: url\n }), {}, {\n headers: headers\n });\n\n event.request = request;\n }\n };\n};\n\nvar httpContextIntegration = defineIntegration(_httpContextIntegration);\n/**\n * HttpContext integration collects information about HTTP request headers.\n * @deprecated Use `httpContextIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar HttpContext = convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration);\nexport { HttpContext, httpContextIntegration };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { isInstanceOf } from './is.js';\nimport { truncate } from './string.js';\n/**\n * Creates exceptions inside `event.exception.values` for errors that are nested on properties based on the `key` parameter.\n */\n\nfunction applyAggregateErrorsToEvent(exceptionFromErrorImplementation, parser) {\n var maxValueLimit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 250;\n var key = arguments.length > 3 ? arguments[3] : undefined;\n var limit = arguments.length > 4 ? arguments[4] : undefined;\n var event = arguments.length > 5 ? arguments[5] : undefined;\n var hint = arguments.length > 6 ? arguments[6] : undefined;\n\n if (!event.exception || !event.exception.values || !hint || !isInstanceOf(hint.originalException, Error)) {\n return;\n } // Generally speaking the last item in `event.exception.values` is the exception originating from the original Error\n\n\n var originalException = event.exception.values.length > 0 ? event.exception.values[event.exception.values.length - 1] : undefined; // We only create exception grouping if there is an exception in the event.\n\n if (originalException) {\n event.exception.values = truncateAggregateExceptions(aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, hint.originalException, key, event.exception.values, originalException, 0), maxValueLimit);\n }\n}\n\nfunction aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, error, key, prevExceptions, exception, exceptionId) {\n if (prevExceptions.length >= limit + 1) {\n return prevExceptions;\n }\n\n var newExceptions = _toConsumableArray(prevExceptions);\n\n if (isInstanceOf(error[key], Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n var newException = exceptionFromErrorImplementation(parser, error[key]);\n var newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(newException, key, newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, error[key], key, [newException].concat(_toConsumableArray(newExceptions)), newException, newExceptionId);\n } // This will create exception grouping for AggregateErrors\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError\n\n\n if (Array.isArray(error.errors)) {\n error.errors.forEach(function (childError, i) {\n if (isInstanceOf(childError, Error)) {\n applyExceptionGroupFieldsForParentException(exception, exceptionId);\n\n var _newException = exceptionFromErrorImplementation(parser, childError);\n\n var _newExceptionId = newExceptions.length;\n applyExceptionGroupFieldsForChildException(_newException, \"errors[\".concat(i, \"]\"), _newExceptionId, exceptionId);\n newExceptions = aggregateExceptionsFromError(exceptionFromErrorImplementation, parser, limit, childError, key, [_newException].concat(_toConsumableArray(newExceptions)), _newException, _newExceptionId);\n }\n });\n }\n\n return newExceptions;\n}\n\nfunction applyExceptionGroupFieldsForParentException(exception, exceptionId) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || {\n type: 'generic',\n handled: true\n };\n exception.mechanism = _objectSpread(_objectSpread({}, exception.mechanism), {}, {\n is_exception_group: true,\n exception_id: exceptionId\n });\n}\n\nfunction applyExceptionGroupFieldsForChildException(exception, source, exceptionId, parentId) {\n // Don't know if this default makes sense. The protocol requires us to set these values so we pick *some* default.\n exception.mechanism = exception.mechanism || {\n type: 'generic',\n handled: true\n };\n exception.mechanism = _objectSpread(_objectSpread({}, exception.mechanism), {}, {\n type: 'chained',\n source: source,\n exception_id: exceptionId,\n parent_id: parentId\n });\n}\n/**\n * Truncate the message (exception.value) of all exceptions in the event.\n * Because this event processor is ran after `applyClientOptions`,\n * we need to truncate the message of the added exceptions here.\n */\n\n\nfunction truncateAggregateExceptions(exceptions, maxValueLength) {\n return exceptions.map(function (exception) {\n if (exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n\n return exception;\n });\n}\n\nexport { applyAggregateErrorsToEvent };","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { applyAggregateErrorsToEvent } from '@sentry/utils';\nimport { exceptionFromError } from '../eventbuilder.js';\nvar DEFAULT_KEY = 'cause';\nvar DEFAULT_LIMIT = 5;\nvar INTEGRATION_NAME = 'LinkedErrors';\n\nvar _linkedErrorsIntegration = function _linkedErrorsIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var limit = options.limit || DEFAULT_LIMIT;\n var key = options.key || DEFAULT_KEY;\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n preprocessEvent: function preprocessEvent(event, hint, client) {\n var options = client.getOptions();\n applyAggregateErrorsToEvent( // This differs from the LinkedErrors integration in core by using a different exceptionFromError function\n exceptionFromError, options.stackParser, options.maxValueLength, key, limit, event, hint);\n }\n };\n};\n\nvar linkedErrorsIntegration = defineIntegration(_linkedErrorsIntegration);\n/**\n * Aggregrate linked errors in an event.\n * @deprecated Use `linkedErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration);\nexport { LinkedErrors, linkedErrorsIntegration };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { fill, getFunctionName, getOriginalFunction } from '@sentry/utils';\nimport { WINDOW, wrap } from '../helpers.js';\nvar DEFAULT_EVENT_TARGET = ['EventTarget', 'Window', 'Node', 'ApplicationCache', 'AudioTrackList', 'BroadcastChannel', 'ChannelMergerNode', 'CryptoOperation', 'EventSource', 'FileReader', 'HTMLUnknownElement', 'IDBDatabase', 'IDBRequest', 'IDBTransaction', 'KeyOperation', 'MediaController', 'MessagePort', 'ModalWindow', 'Notification', 'SVGElementInstance', 'Screen', 'SharedWorker', 'TextTrack', 'TextTrackCue', 'TextTrackList', 'WebSocket', 'WebSocketWorker', 'Worker', 'XMLHttpRequest', 'XMLHttpRequestEventTarget', 'XMLHttpRequestUpload'];\nvar INTEGRATION_NAME = 'TryCatch';\n\nvar _browserApiErrorsIntegration = function _browserApiErrorsIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options = _objectSpread({\n XMLHttpRequest: true,\n eventTarget: true,\n requestAnimationFrame: true,\n setInterval: true,\n setTimeout: true\n }, options);\n\n return {\n name: INTEGRATION_NAME,\n // TODO: This currently only works for the first client this is setup\n // We may want to adjust this to check for client etc.\n setupOnce: function setupOnce() {\n if (_options.setTimeout) {\n fill(WINDOW, 'setTimeout', _wrapTimeFunction);\n }\n\n if (_options.setInterval) {\n fill(WINDOW, 'setInterval', _wrapTimeFunction);\n }\n\n if (_options.requestAnimationFrame) {\n fill(WINDOW, 'requestAnimationFrame', _wrapRAF);\n }\n\n if (_options.XMLHttpRequest && 'XMLHttpRequest' in WINDOW) {\n fill(XMLHttpRequest.prototype, 'send', _wrapXHR);\n }\n\n var eventTargetOption = _options.eventTarget;\n\n if (eventTargetOption) {\n var eventTarget = Array.isArray(eventTargetOption) ? eventTargetOption : DEFAULT_EVENT_TARGET;\n eventTarget.forEach(_wrapEventTarget);\n }\n }\n };\n};\n\nvar browserApiErrorsIntegration = defineIntegration(_browserApiErrorsIntegration);\n/**\n * Wrap timer functions and event targets to catch errors and provide better meta data.\n * @deprecated Use `browserApiErrorsIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar TryCatch = convertIntegrationFnToClass(INTEGRATION_NAME, browserApiErrorsIntegration);\n\nfunction _wrapTimeFunction(original) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var originalCallback = args[0];\n args[0] = wrap(originalCallback, {\n mechanism: {\n data: {\n \"function\": getFunctionName(original)\n },\n handled: false,\n type: 'instrument'\n }\n });\n return original.apply(this, args);\n };\n} // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction _wrapRAF(original) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function (callback) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return original.apply(this, [wrap(callback, {\n mechanism: {\n data: {\n \"function\": 'requestAnimationFrame',\n handler: getFunctionName(original)\n },\n handled: false,\n type: 'instrument'\n }\n })]);\n };\n}\n\nfunction _wrapXHR(originalSend) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return function () {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n var xhr = this;\n var xmlHttpRequestProps = ['onload', 'onerror', 'onprogress', 'onreadystatechange'];\n xmlHttpRequestProps.forEach(function (prop) {\n if (prop in xhr && typeof xhr[prop] === 'function') {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n fill(xhr, prop, function (original) {\n var wrapOptions = {\n mechanism: {\n data: {\n \"function\": prop,\n handler: getFunctionName(original)\n },\n handled: false,\n type: 'instrument'\n }\n }; // If Instrument integration has been called before TryCatch, get the name of original function\n\n var originalFunction = getOriginalFunction(original);\n\n if (originalFunction) {\n wrapOptions.mechanism.data.handler = getFunctionName(originalFunction);\n } // Otherwise wrap directly\n\n\n return wrap(original, wrapOptions);\n });\n }\n });\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return originalSend.apply(this, args);\n };\n}\n\nfunction _wrapEventTarget(target) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var globalObject = WINDOW; // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n\n var proto = globalObject[target] && globalObject[target].prototype; // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, no-prototype-builtins\n\n if (!proto || !proto.hasOwnProperty || !proto.hasOwnProperty('addEventListener')) {\n return;\n }\n\n fill(proto, 'addEventListener', function (original) {\n return function ( // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eventName, fn, options) {\n try {\n if (typeof fn.handleEvent === 'function') {\n // ESlint disable explanation:\n // First, it is generally safe to call `wrap` with an unbound function. Furthermore, using `.bind()` would\n // introduce a bug here, because bind returns a new function that doesn't have our\n // flags(like __sentry_original__) attached. `wrap` checks for those flags to avoid unnecessary wrapping.\n // Without those flags, every call to addEventListener wraps the function again, causing a memory leak.\n // eslint-disable-next-line @typescript-eslint/unbound-method\n fn.handleEvent = wrap(fn.handleEvent, {\n mechanism: {\n data: {\n \"function\": 'handleEvent',\n handler: getFunctionName(fn),\n target: target\n },\n handled: false,\n type: 'instrument'\n }\n });\n }\n } catch (err) {// can sometimes get 'Permission denied to access property \"handle Event'\n }\n\n return original.apply(this, [eventName, // eslint-disable-next-line @typescript-eslint/no-explicit-any\n wrap(fn, {\n mechanism: {\n data: {\n \"function\": 'addEventListener',\n handler: getFunctionName(fn),\n target: target\n },\n handled: false,\n type: 'instrument'\n }\n }), options]);\n };\n });\n fill(proto, 'removeEventListener', function (originalRemoveEventListener) // eslint-disable-next-line @typescript-eslint/no-explicit-any\n {\n return function ( // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eventName, fn, options) {\n /**\n * There are 2 possible scenarios here:\n *\n * 1. Someone passes a callback, which was attached prior to Sentry initialization, or by using unmodified\n * method, eg. `document.addEventListener.call(el, name, handler). In this case, we treat this function\n * as a pass-through, and call original `removeEventListener` with it.\n *\n * 2. Someone passes a callback, which was attached after Sentry was initialized, which means that it was using\n * our wrapped version of `addEventListener`, which internally calls `wrap` helper.\n * This helper \"wraps\" whole callback inside a try/catch statement, and attached appropriate metadata to it,\n * in order for us to make a distinction between wrapped/non-wrapped functions possible.\n * If a function was wrapped, it has additional property of `__sentry_wrapped__`, holding the handler.\n *\n * When someone adds a handler prior to initialization, and then do it again, but after,\n * then we have to detach both of them. Otherwise, if we'd detach only wrapped one, it'd be impossible\n * to get rid of the initial handler and it'd stick there forever.\n */\n var wrappedEventHandler = fn;\n\n try {\n var originalEventHandler = wrappedEventHandler && wrappedEventHandler.__sentry_wrapped__;\n\n if (originalEventHandler) {\n originalRemoveEventListener.call(this, eventName, originalEventHandler, options);\n }\n } catch (e) {// ignore, accessing __sentry_wrapped__ will throw in some Selenium environments\n }\n\n return originalRemoveEventListener.call(this, eventName, wrappedEventHandler, options);\n };\n });\n}\n\nexport { TryCatch, browserApiErrorsIntegration };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { createStackParser } from '@sentry/utils'; // global reference to slice\n\nvar UNKNOWN_FUNCTION = '?';\nvar OPERA10_PRIORITY = 10;\nvar OPERA11_PRIORITY = 20;\nvar CHROME_PRIORITY = 30;\nvar WINJS_PRIORITY = 40;\nvar GECKO_PRIORITY = 50;\n\nfunction createFrame(filename, func, lineno, colno) {\n var frame = {\n filename: filename,\n \"function\": func,\n in_app: true // All browser frames are considered in_app\n\n };\n\n if (lineno !== undefined) {\n frame.lineno = lineno;\n }\n\n if (colno !== undefined) {\n frame.colno = colno;\n }\n\n return frame;\n} // Chromium based browsers: Chrome, Brave, new Opera, new Edge\n\n\nvar chromeRegex = /^\\s*at (?:(.+?\\)(?: \\[.+\\])?|.*?) ?\\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\\/)?.*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nvar chromeEvalRegex = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\nvar chrome = function chrome(line) {\n var parts = chromeRegex.exec(line);\n\n if (parts) {\n var isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n if (isEval) {\n var subMatch = chromeEvalRegex.exec(parts[2]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = subMatch[1]; // url\n\n parts[3] = subMatch[2]; // line\n\n parts[4] = subMatch[3]; // column\n }\n } // Kamil: One more hack won't hurt us right? Understanding and adding more rules on top of these regexps right now\n // would be way too time consuming. (TODO: Rewrite whole RegExp to be more readable)\n\n\n var _extractSafariExtensi = extractSafariExtensionDetails(parts[1] || UNKNOWN_FUNCTION, parts[2]),\n _extractSafariExtensi2 = _slicedToArray(_extractSafariExtensi, 2),\n func = _extractSafariExtensi2[0],\n filename = _extractSafariExtensi2[1];\n\n return createFrame(filename, func, parts[3] ? +parts[3] : undefined, parts[4] ? +parts[4] : undefined);\n }\n\n return;\n};\n\nvar chromeStackLineParser = [CHROME_PRIORITY, chrome]; // gecko regex: `(?:bundle|\\d+\\.js)`: `bundle` is for react native, `\\d+\\.js` also but specifically for ram bundles because it\n// generates filenames without a prefix like `file://` the filenames in the stacktrace are just 42.js\n// We need this specific case for now because we want no other regex to match.\n\nvar geckoREgex = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)?((?:[-a-z]+)?:\\/.*?|\\[native code\\]|[^@]*(?:bundle|\\d+\\.js)|\\/[\\w\\-. /=]+)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nvar geckoEvalRegex = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nvar gecko = function gecko(line) {\n var parts = geckoREgex.exec(line);\n\n if (parts) {\n var isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n\n if (isEval) {\n var subMatch = geckoEvalRegex.exec(parts[3]);\n\n if (subMatch) {\n // throw out eval line/column and use top-most line number\n parts[1] = parts[1] || 'eval';\n parts[3] = subMatch[1];\n parts[4] = subMatch[2];\n parts[5] = ''; // no column when eval\n }\n }\n\n var filename = parts[3];\n var func = parts[1] || UNKNOWN_FUNCTION;\n\n var _extractSafariExtensi3 = extractSafariExtensionDetails(func, filename);\n\n var _extractSafariExtensi4 = _slicedToArray(_extractSafariExtensi3, 2);\n\n func = _extractSafariExtensi4[0];\n filename = _extractSafariExtensi4[1];\n return createFrame(filename, func, parts[4] ? +parts[4] : undefined, parts[5] ? +parts[5] : undefined);\n }\n\n return;\n};\n\nvar geckoStackLineParser = [GECKO_PRIORITY, gecko];\nvar winjsRegex = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:[-a-z]+):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nvar winjs = function winjs(line) {\n var parts = winjsRegex.exec(line);\n return parts ? createFrame(parts[2], parts[1] || UNKNOWN_FUNCTION, +parts[3], parts[4] ? +parts[4] : undefined) : undefined;\n};\n\nvar winjsStackLineParser = [WINJS_PRIORITY, winjs];\nvar opera10Regex = / line (\\d+).*script (?:in )?(\\S+)(?:: in function (\\S+))?$/i;\n\nvar opera10 = function opera10(line) {\n var parts = opera10Regex.exec(line);\n return parts ? createFrame(parts[2], parts[3] || UNKNOWN_FUNCTION, +parts[1]) : undefined;\n};\n\nvar opera10StackLineParser = [OPERA10_PRIORITY, opera10];\nvar opera11Regex = / line (\\d+), column (\\d+)\\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\\(.*\\))? in (.*):\\s*$/i;\n\nvar opera11 = function opera11(line) {\n var parts = opera11Regex.exec(line);\n return parts ? createFrame(parts[5], parts[3] || parts[4] || UNKNOWN_FUNCTION, +parts[1], +parts[2]) : undefined;\n};\n\nvar opera11StackLineParser = [OPERA11_PRIORITY, opera11];\nvar defaultStackLineParsers = [chromeStackLineParser, geckoStackLineParser, winjsStackLineParser];\nvar defaultStackParser = createStackParser.apply(void 0, defaultStackLineParsers);\n/**\n * Safari web extensions, starting version unknown, can produce \"frames-only\" stacktraces.\n * What it means, is that instead of format like:\n *\n * Error: wat\n * at function@url:row:col\n * at function@url:row:col\n * at function@url:row:col\n *\n * it produces something like:\n *\n * function@url:row:col\n * function@url:row:col\n * function@url:row:col\n *\n * Because of that, it won't be captured by `chrome` RegExp and will fall into `Gecko` branch.\n * This function is extracted so that we can use it in both places without duplicating the logic.\n * Unfortunately \"just\" changing RegExp is too complicated now and making it pass all tests\n * and fix this case seems like an impossible, or at least way too time-consuming task.\n */\n\nvar extractSafariExtensionDetails = function extractSafariExtensionDetails(func, filename) {\n var isSafariExtension = func.indexOf('safari-extension') !== -1;\n var isSafariWebExtension = func.indexOf('safari-web-extension') !== -1;\n return isSafariExtension || isSafariWebExtension ? [func.indexOf('@') !== -1 ? func.split('@')[0] : UNKNOWN_FUNCTION, isSafariExtension ? \"safari-extension:\".concat(filename) : \"safari-web-extension:\".concat(filename)] : [func, filename];\n};\n\nexport { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser };","import { SentryError } from './error.js';\nimport { rejectedSyncPromise, SyncPromise, resolvedSyncPromise } from './syncpromise.js';\n/**\n * Creates an new PromiseBuffer object with the specified limit\n * @param limit max number of promises that can be stored in the buffer\n */\n\nfunction makePromiseBuffer(limit) {\n var buffer = [];\n\n function isReady() {\n return limit === undefined || buffer.length < limit;\n }\n /**\n * Remove a promise from the queue.\n *\n * @param task Can be any PromiseLike<T>\n * @returns Removed promise.\n */\n\n\n function remove(task) {\n return buffer.splice(buffer.indexOf(task), 1)[0];\n }\n /**\n * Add a promise (representing an in-flight action) to the queue, and set it to remove itself on fulfillment.\n *\n * @param taskProducer A function producing any PromiseLike<T>; In previous versions this used to be `task:\n * PromiseLike<T>`, but under that model, Promises were instantly created on the call-site and their executor\n * functions therefore ran immediately. Thus, even if the buffer was full, the action still happened. By\n * requiring the promise to be wrapped in a function, we can defer promise creation until after the buffer\n * limit check.\n * @returns The original promise.\n */\n\n\n function add(taskProducer) {\n if (!isReady()) {\n return rejectedSyncPromise(new SentryError('Not adding Promise because buffer limit was reached.'));\n } // start the task and add its promise to the queue\n\n\n var task = taskProducer();\n\n if (buffer.indexOf(task) === -1) {\n buffer.push(task);\n }\n\n void task.then(function () {\n return remove(task);\n }) // Use `then(null, rejectionHandler)` rather than `catch(rejectionHandler)` so that we can use `PromiseLike`\n // rather than `Promise`. `PromiseLike` doesn't have a `.catch` method, making its polyfill smaller. (ES5 didn't\n // have promises, so TS has to polyfill when down-compiling.)\n .then(null, function () {\n return remove(task).then(null, function () {// We have to add another catch here because `remove()` starts a new promise chain.\n });\n });\n return task;\n }\n /**\n * Wait for all promises in the queue to resolve or for timeout to expire, whichever comes first.\n *\n * @param timeout The time, in ms, after which to resolve to `false` if the queue is still non-empty. Passing `0` (or\n * not passing anything) will make the promise wait as long as it takes for the queue to drain before resolving to\n * `true`.\n * @returns A promise which will resolve to `true` if the queue is already empty or drains before the timeout, and\n * `false` otherwise\n */\n\n\n function drain(timeout) {\n return new SyncPromise(function (resolve, reject) {\n var counter = buffer.length;\n\n if (!counter) {\n return resolve(true);\n } // wait for `timeout` ms and then resolve to `false` (if not cancelled first)\n\n\n var capturedSetTimeout = setTimeout(function () {\n if (timeout && timeout > 0) {\n resolve(false);\n }\n }, timeout); // if all promises resolve in time, cancel the timer and resolve to `true`\n\n buffer.forEach(function (item) {\n void resolvedSyncPromise(item).then(function () {\n if (! --counter) {\n clearTimeout(capturedSetTimeout);\n resolve(true);\n }\n }, reject);\n });\n });\n }\n\n return {\n $: buffer,\n add: add,\n drain: drain\n };\n}\n\nexport { makePromiseBuffer };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n// Intentionally keeping the key broad, as we don't know for sure what rate limit headers get returned from backend\nvar DEFAULT_RETRY_AFTER = 60 * 1000; // 60 seconds\n\n/**\n * Extracts Retry-After value from the request header or returns default value\n * @param header string representation of 'Retry-After' header\n * @param now current unix timestamp\n *\n */\n\nfunction parseRetryAfterHeader(header) {\n var now = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Date.now();\n var headerDelay = parseInt(\"\".concat(header), 10);\n\n if (!isNaN(headerDelay)) {\n return headerDelay * 1000;\n }\n\n var headerDate = Date.parse(\"\".concat(header));\n\n if (!isNaN(headerDate)) {\n return headerDate - now;\n }\n\n return DEFAULT_RETRY_AFTER;\n}\n/**\n * Gets the time that the given category is disabled until for rate limiting.\n * In case no category-specific limit is set but a general rate limit across all categories is active,\n * that time is returned.\n *\n * @return the time in ms that the category is disabled until or 0 if there's no active rate limit.\n */\n\n\nfunction disabledUntil(limits, category) {\n return limits[category] || limits.all || 0;\n}\n/**\n * Checks if a category is rate limited\n */\n\n\nfunction isRateLimited(limits, category) {\n var now = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Date.now();\n return disabledUntil(limits, category) > now;\n}\n/**\n * Update ratelimits from incoming headers.\n *\n * @return the updated RateLimits object.\n */\n\n\nfunction updateRateLimits(limits, _ref) {\n var statusCode = _ref.statusCode,\n headers = _ref.headers;\n var now = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Date.now();\n\n var updatedRateLimits = _objectSpread({}, limits); // \"The name is case-insensitive.\"\n // https://developer.mozilla.org/en-US/docs/Web/API/Headers/get\n\n\n var rateLimitHeader = headers && headers['x-sentry-rate-limits'];\n var retryAfterHeader = headers && headers['retry-after'];\n\n if (rateLimitHeader) {\n /**\n * rate limit headers are of the form\n * <header>,<header>,..\n * where each <header> is of the form\n * <retry_after>: <categories>: <scope>: <reason_code>\n * where\n * <retry_after> is a delay in seconds\n * <categories> is the event type(s) (error, transaction, etc) being rate limited and is of the form\n * <category>;<category>;...\n * <scope> is what's being limited (org, project, or key) - ignored by SDK\n * <reason_code> is an arbitrary string like \"org_quota\" - ignored by SDK\n */\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = rateLimitHeader.trim().split(',')[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var limit = _step.value;\n\n var _limit$split = limit.split(':', 2),\n _limit$split2 = _slicedToArray(_limit$split, 2),\n retryAfter = _limit$split2[0],\n categories = _limit$split2[1];\n\n var headerDelay = parseInt(retryAfter, 10);\n var delay = (!isNaN(headerDelay) ? headerDelay : 60) * 1000; // 60sec default\n\n if (!categories) {\n updatedRateLimits.all = now + delay;\n } else {\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = categories.split(';')[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var category = _step2.value;\n updatedRateLimits[category] = now + delay;\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n } else if (retryAfterHeader) {\n updatedRateLimits.all = now + parseRetryAfterHeader(retryAfterHeader, now);\n } else if (statusCode === 429) {\n updatedRateLimits.all = now + 60 * 1000;\n }\n\n return updatedRateLimits;\n}\n\nexport { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits };","import { makePromiseBuffer, forEachEnvelopeItem, envelopeItemTypeToDataCategory, isRateLimited, resolvedSyncPromise, createEnvelope, SentryError, logger, serializeEnvelope, updateRateLimits } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nvar DEFAULT_TRANSPORT_BUFFER_SIZE = 30;\n/**\n * Creates an instance of a Sentry `Transport`\n *\n * @param options\n * @param makeRequest\n */\n\nfunction createTransport(options, makeRequest) {\n var buffer = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : makePromiseBuffer(options.bufferSize || DEFAULT_TRANSPORT_BUFFER_SIZE);\n var rateLimits = {};\n\n var flush = function flush(timeout) {\n return buffer.drain(timeout);\n };\n\n function send(envelope) {\n var filteredEnvelopeItems = []; // Drop rate limited items from envelope\n\n forEachEnvelopeItem(envelope, function (item, type) {\n var envelopeItemDataCategory = envelopeItemTypeToDataCategory(type);\n\n if (isRateLimited(rateLimits, envelopeItemDataCategory)) {\n var event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent('ratelimit_backoff', envelopeItemDataCategory, event);\n } else {\n filteredEnvelopeItems.push(item);\n }\n }); // Skip sending if envelope is empty after filtering out rate limited events\n\n if (filteredEnvelopeItems.length === 0) {\n return resolvedSyncPromise();\n } // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\n var filteredEnvelope = createEnvelope(envelope[0], filteredEnvelopeItems); // Creates client report for each item in an envelope\n\n var recordEnvelopeLoss = function recordEnvelopeLoss(reason) {\n forEachEnvelopeItem(filteredEnvelope, function (item, type) {\n var event = getEventForEnvelopeItem(item, type);\n options.recordDroppedEvent(reason, envelopeItemTypeToDataCategory(type), event);\n });\n };\n\n var requestTask = function requestTask() {\n return makeRequest({\n body: serializeEnvelope(filteredEnvelope, options.textEncoder)\n }).then(function (response) {\n // We don't want to throw on NOK responses, but we want to at least log them\n if (response.statusCode !== undefined && (response.statusCode < 200 || response.statusCode >= 300)) {\n DEBUG_BUILD && logger.warn(\"Sentry responded with status code \".concat(response.statusCode, \" to sent event.\"));\n }\n\n rateLimits = updateRateLimits(rateLimits, response);\n return response;\n }, function (error) {\n recordEnvelopeLoss('network_error');\n throw error;\n });\n };\n\n return buffer.add(requestTask).then(function (result) {\n return result;\n }, function (error) {\n if (error instanceof SentryError) {\n DEBUG_BUILD && logger.error('Skipped sending event because buffer is full.');\n recordEnvelopeLoss('queue_overflow');\n return resolvedSyncPromise();\n } else {\n throw error;\n }\n });\n } // We use this to identifify if the transport is the base transport\n // TODO (v8): Remove this again as we'll no longer need it\n\n\n send.__sentry__baseTransport__ = true;\n return {\n send: send,\n flush: flush\n };\n}\n\nfunction getEventForEnvelopeItem(item, type) {\n if (type !== 'event' && type !== 'transaction') {\n return undefined;\n }\n\n return Array.isArray(item) ? item[1] : undefined;\n}\n\nexport { DEFAULT_TRANSPORT_BUFFER_SIZE, createTransport };","import { isNativeFetch, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { WINDOW } from '../helpers.js';\nvar cachedFetchImpl = undefined;\n/**\n * A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers.\n * Whenever someone wraps the Fetch API and returns the wrong promise chain,\n * this chain becomes orphaned and there is no possible way to capture it's rejections\n * other than allowing it bubble up to this very handler. eg.\n *\n * const f = window.fetch;\n * window.fetch = function () {\n * const p = f.apply(this, arguments);\n *\n * p.then(function() {\n * console.log('hi.');\n * });\n *\n * return p;\n * }\n *\n * `p.then(function () { ... })` is producing a completely separate promise chain,\n * however, what's returned is `p` - the result of original `fetch` call.\n *\n * This mean, that whenever we use the Fetch API to send our own requests, _and_\n * some ad-blocker blocks it, this orphaned chain will _always_ reject,\n * effectively causing another event to be captured.\n * This makes a whole process become an infinite loop, which we need to somehow\n * deal with, and break it in one way or another.\n *\n * To deal with this issue, we are making sure that we _always_ use the real\n * browser Fetch API, instead of relying on what `window.fetch` exposes.\n * The only downside to this would be missing our own requests as breadcrumbs,\n * but because we are already not doing this, it should be just fine.\n *\n * Possible failed fetch error messages per-browser:\n *\n * Chrome: Failed to fetch\n * Edge: Failed to Fetch\n * Firefox: NetworkError when attempting to fetch resource\n * Safari: resource blocked by content blocker\n */\n\nfunction getNativeFetchImplementation() {\n if (cachedFetchImpl) {\n return cachedFetchImpl;\n }\n /* eslint-disable @typescript-eslint/unbound-method */\n // Fast path to avoid DOM I/O\n\n\n if (isNativeFetch(WINDOW.fetch)) {\n return cachedFetchImpl = WINDOW.fetch.bind(WINDOW);\n }\n\n var document = WINDOW.document;\n var fetchImpl = WINDOW.fetch; // eslint-disable-next-line deprecation/deprecation\n\n if (document && typeof document.createElement === 'function') {\n try {\n var sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n var contentWindow = sandbox.contentWindow;\n\n if (contentWindow && contentWindow.fetch) {\n fetchImpl = contentWindow.fetch;\n }\n\n document.head.removeChild(sandbox);\n } catch (e) {\n DEBUG_BUILD && logger.warn('Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ', e);\n }\n }\n\n return cachedFetchImpl = fetchImpl.bind(WINDOW);\n /* eslint-enable @typescript-eslint/unbound-method */\n}\n/** Clears cached fetch impl */\n\n\nfunction clearCachedFetchImplementation() {\n cachedFetchImpl = undefined;\n}\n\nexport { clearCachedFetchImplementation, getNativeFetchImplementation };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { createTransport } from '@sentry/core';\nimport { rejectedSyncPromise } from '@sentry/utils';\nimport { getNativeFetchImplementation, clearCachedFetchImplementation } from './utils.js';\n/**\n * Creates a Transport that uses the Fetch API to send events to Sentry.\n */\n\nfunction makeFetchTransport(options) {\n var nativeFetch = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getNativeFetchImplementation();\n var pendingBodySize = 0;\n var pendingCount = 0;\n\n function makeRequest(request) {\n var requestSize = request.body.length;\n pendingBodySize += requestSize;\n pendingCount++;\n\n var requestOptions = _objectSpread({\n body: request.body,\n method: 'POST',\n referrerPolicy: 'origin',\n headers: options.headers,\n // Outgoing requests are usually cancelled when navigating to a different page, causing a \"TypeError: Failed to\n // fetch\" error and sending a \"network_error\" client-outcome - in Chrome, the request status shows \"(cancelled)\".\n // The `keepalive` flag keeps outgoing requests alive, even when switching pages. We want this since we're\n // frequently sending events right before the user is switching pages (eg. whenfinishing navigation transactions).\n // Gotchas:\n // - `keepalive` isn't supported by Firefox\n // - As per spec (https://fetch.spec.whatwg.org/#http-network-or-cache-fetch):\n // If the sum of contentLength and inflightKeepaliveBytes is greater than 64 kibibytes, then return a network error.\n // We will therefore only activate the flag when we're below that limit.\n // There is also a limit of requests that can be open at the same time, so we also limit this to 15\n // See https://github.com/getsentry/sentry-javascript/pull/7553 for details\n keepalive: pendingBodySize <= 60000 && pendingCount < 15\n }, options.fetchOptions);\n\n try {\n return nativeFetch(options.url, requestOptions).then(function (response) {\n pendingBodySize -= requestSize;\n pendingCount--;\n return {\n statusCode: response.status,\n headers: {\n 'x-sentry-rate-limits': response.headers.get('X-Sentry-Rate-Limits'),\n 'retry-after': response.headers.get('Retry-After')\n }\n };\n });\n } catch (e) {\n clearCachedFetchImplementation();\n pendingBodySize -= requestSize;\n pendingCount--;\n return rejectedSyncPromise(e);\n }\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeFetchTransport };","import { createTransport } from '@sentry/core';\nimport { SyncPromise } from '@sentry/utils';\n/**\n * The DONE ready state for XmlHttpRequest\n *\n * Defining it here as a constant b/c XMLHttpRequest.DONE is not always defined\n * (e.g. during testing, it is `undefined`)\n *\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState}\n */\n\nvar XHR_READYSTATE_DONE = 4;\n/**\n * Creates a Transport that uses the XMLHttpRequest API to send events to Sentry.\n */\n\nfunction makeXHRTransport(options) {\n function makeRequest(request) {\n return new SyncPromise(function (resolve, reject) {\n var xhr = new XMLHttpRequest();\n xhr.onerror = reject;\n\n xhr.onreadystatechange = function () {\n if (xhr.readyState === XHR_READYSTATE_DONE) {\n resolve({\n statusCode: xhr.status,\n headers: {\n 'x-sentry-rate-limits': xhr.getResponseHeader('X-Sentry-Rate-Limits'),\n 'retry-after': xhr.getResponseHeader('Retry-After')\n }\n });\n }\n };\n\n xhr.open('POST', options.url);\n\n for (var header in options.headers) {\n if (Object.prototype.hasOwnProperty.call(options.headers, header)) {\n xhr.setRequestHeader(header, options.headers[header]);\n }\n }\n\n xhr.send(request.body);\n });\n }\n\n return createTransport(options, makeRequest);\n}\n\nexport { makeXHRTransport };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { inboundFiltersIntegration, functionToStringIntegration, getIntegrationsToSetup, initAndBind, getReportDialogEndpoint, getCurrentHub, startSession, captureSession, getClient } from '@sentry/core';\nimport { stackParserFromStackParserOptions, supportsFetch, logger, addHistoryInstrumentationHandler } from '@sentry/utils';\nimport { BrowserClient } from './client.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { WINDOW, wrap as wrap$1 } from './helpers.js';\nimport { breadcrumbsIntegration } from './integrations/breadcrumbs.js';\nimport { dedupeIntegration } from './integrations/dedupe.js';\nimport { globalHandlersIntegration } from './integrations/globalhandlers.js';\nimport { httpContextIntegration } from './integrations/httpcontext.js';\nimport { linkedErrorsIntegration } from './integrations/linkederrors.js';\nimport { browserApiErrorsIntegration } from './integrations/trycatch.js';\nimport { defaultStackParser } from './stack-parsers.js';\nimport { makeFetchTransport } from './transports/fetch.js';\nimport { makeXHRTransport } from './transports/xhr.js';\n/** @deprecated Use `getDefaultIntegrations(options)` instead. */\n\nvar defaultIntegrations = [inboundFiltersIntegration(), functionToStringIntegration(), browserApiErrorsIntegration(), breadcrumbsIntegration(), globalHandlersIntegration(), linkedErrorsIntegration(), dedupeIntegration(), httpContextIntegration()];\n/** Get the default integrations for the browser SDK. */\n\nfunction getDefaultIntegrations(_options) {\n // We return a copy of the defaultIntegrations here to avoid mutating this\n return [].concat(defaultIntegrations);\n}\n/**\n * A magic string that build tooling can leverage in order to inject a release value into the SDK.\n */\n\n/**\n * The Sentry Browser SDK Client.\n *\n * To use this SDK, call the {@link init} function as early as possible when\n * loading the web page. To set context information or send manual events, use\n * the provided methods.\n *\n * @example\n *\n * ```\n *\n * import { init } from '@sentry/browser';\n *\n * init({\n * dsn: '__DSN__',\n * // ...\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { configureScope } from '@sentry/browser';\n * configureScope((scope: Scope) => {\n * scope.setExtra({ battery: 0.7 });\n * scope.setTag({ user_mode: 'admin' });\n * scope.setUser({ id: '4711' });\n * });\n * ```\n *\n * @example\n * ```\n *\n * import { addBreadcrumb } from '@sentry/browser';\n * addBreadcrumb({\n * message: 'My Breadcrumb',\n * // ...\n * });\n * ```\n *\n * @example\n *\n * ```\n *\n * import * as Sentry from '@sentry/browser';\n * Sentry.captureMessage('Hello, world!');\n * Sentry.captureException(new Error('Good bye'));\n * Sentry.captureEvent({\n * message: 'Manual',\n * stacktrace: [\n * // ...\n * ],\n * });\n * ```\n *\n * @see {@link BrowserOptions} for documentation on configuration options.\n */\n\n\nfunction init() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (options.defaultIntegrations === undefined) {\n options.defaultIntegrations = getDefaultIntegrations();\n }\n\n if (options.release === undefined) {\n // This allows build tooling to find-and-replace __SENTRY_RELEASE__ to inject a release value\n if (typeof __SENTRY_RELEASE__ === 'string') {\n options.release = __SENTRY_RELEASE__;\n } // This supports the variable that sentry-webpack-plugin injects\n\n\n if (WINDOW.SENTRY_RELEASE && WINDOW.SENTRY_RELEASE.id) {\n options.release = WINDOW.SENTRY_RELEASE.id;\n }\n }\n\n if (options.autoSessionTracking === undefined) {\n options.autoSessionTracking = true;\n }\n\n if (options.sendClientReports === undefined) {\n options.sendClientReports = true;\n }\n\n var clientOptions = _objectSpread(_objectSpread({}, options), {}, {\n stackParser: stackParserFromStackParserOptions(options.stackParser || defaultStackParser),\n integrations: getIntegrationsToSetup(options),\n transport: options.transport || (supportsFetch() ? makeFetchTransport : makeXHRTransport)\n });\n\n initAndBind(BrowserClient, clientOptions);\n\n if (options.autoSessionTracking) {\n startSessionTracking();\n }\n}\n\nvar showReportDialog = function showReportDialog() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var hub = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCurrentHub();\n\n // doesn't work without a document (React Native)\n if (!WINDOW.document) {\n DEBUG_BUILD && logger.error('Global document not defined in showReportDialog call');\n return;\n } // eslint-disable-next-line deprecation/deprecation\n\n\n var _hub$getStackTop = hub.getStackTop(),\n client = _hub$getStackTop.client,\n scope = _hub$getStackTop.scope;\n\n var dsn = options.dsn || client && client.getDsn();\n\n if (!dsn) {\n DEBUG_BUILD && logger.error('DSN not configured for showReportDialog call');\n return;\n }\n\n if (scope) {\n options.user = _objectSpread(_objectSpread({}, scope.getUser()), options.user);\n } // TODO(v8): Remove this entire if statement. `eventId` will be a required option.\n // eslint-disable-next-line deprecation/deprecation\n\n\n if (!options.eventId) {\n // eslint-disable-next-line deprecation/deprecation\n options.eventId = hub.lastEventId();\n }\n\n var script = WINDOW.document.createElement('script');\n script.async = true;\n script.crossOrigin = 'anonymous';\n script.src = getReportDialogEndpoint(dsn, options);\n\n if (options.onLoad) {\n script.onload = options.onLoad;\n }\n\n var onClose = options.onClose;\n\n if (onClose) {\n var reportDialogClosedMessageHandler = function reportDialogClosedMessageHandler(event) {\n if (event.data === '__sentry_reportdialog_closed__') {\n try {\n onClose();\n } finally {\n WINDOW.removeEventListener('message', reportDialogClosedMessageHandler);\n }\n }\n };\n\n WINDOW.addEventListener('message', reportDialogClosedMessageHandler);\n }\n\n var injectionPoint = WINDOW.document.head || WINDOW.document.body;\n\n if (injectionPoint) {\n injectionPoint.appendChild(script);\n } else {\n DEBUG_BUILD && logger.error('Not injecting report dialog. No injection point found in HTML');\n }\n};\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\n\n\nfunction forceLoad() {} // Noop\n\n/**\n * This function is here to be API compatible with the loader.\n * @hidden\n */\n\n\nfunction onLoad(callback) {\n callback();\n}\n/**\n * Wrap code within a try/catch block so the SDK is able to capture errors.\n *\n * @deprecated This function will be removed in v8.\n * It is not part of Sentry's official API and it's easily replaceable by using a try/catch block\n * and calling Sentry.captureException.\n *\n * @param fn A function to wrap.\n *\n * @returns The result of wrapped function call.\n */\n// TODO(v8): Remove this function\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction wrap(fn) {\n return wrap$1(fn)();\n}\n/**\n * Enable automatic Session Tracking for the initial page load.\n */\n\n\nfunction startSessionTracking() {\n if (typeof WINDOW.document === 'undefined') {\n DEBUG_BUILD && logger.warn('Session tracking in non-browser environment with @sentry/browser is not supported.');\n return;\n } // The session duration for browser sessions does not track a meaningful\n // concept that can be used as a metric.\n // Automatically captured sessions are akin to page views, and thus we\n // discard their duration.\n\n\n startSession({\n ignoreDuration: true\n });\n captureSession(); // We want to create a session for every navigation as well\n\n addHistoryInstrumentationHandler(function (_ref) {\n var from = _ref.from,\n to = _ref.to;\n\n // Don't create an additional session for the initial route or if the location did not change\n if (from !== undefined && from !== to) {\n startSession({\n ignoreDuration: true\n });\n captureSession();\n }\n });\n}\n/**\n * Captures user feedback and sends it to Sentry.\n */\n\n\nfunction captureUserFeedback(feedback) {\n var client = getClient();\n\n if (client) {\n client.captureUserFeedback(feedback);\n }\n}\n\nexport { captureUserFeedback, defaultIntegrations, forceLoad, getDefaultIntegrations, init, onLoad, showReportDialog, wrap };","import { getClient } from '../exports.js'; // Treeshakable guard to remove all code related to tracing\n\n/**\n * Determines if tracing is currently enabled.\n *\n * Tracing is enabled when at least one of `tracesSampleRate` and `tracesSampler` is defined in the SDK config.\n */\n\nfunction hasTracingEnabled(maybeOptions) {\n if (typeof __SENTRY_TRACING__ === 'boolean' && !__SENTRY_TRACING__) {\n return false;\n }\n\n var client = getClient();\n var options = maybeOptions || client && client.getOptions();\n return !!options && (options.enableTracing || 'tracesSampleRate' in options || 'tracesSampler' in options);\n}\n\nexport { hasTracingEnabled };","var DEFAULT_HOOKS = ['activate', 'mount', 'update'];\nexport { DEFAULT_HOOKS };","// Vendored from https://github.com/vuejs/vue/blob/612fb89547711cacb030a3893a0065b785802860/src/core/util/debug.js\n// with types only changes.\n// The MIT License (MIT)\n// Copyright (c) 2013-present, Yuxi (Evan) You\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\nvar classifyRE = /(?:^|[-_])(\\w)/g;\n\nvar classify = function classify(str) {\n return str.replace(classifyRE, function (c) {\n return c.toUpperCase();\n }).replace(/[-_]/g, '');\n};\n\nvar ROOT_COMPONENT_NAME = '<Root>';\nvar ANONYMOUS_COMPONENT_NAME = '<Anonymous>';\n\nvar repeat = function repeat(str, n) {\n // string.repeat() is not supported by IE11, we fall back to just using the string in that case\n // eslint-disable-next-line @sentry-internal/sdk/no-unsupported-es6-methods\n return str.repeat ? str.repeat(n) : str;\n};\n\nvar formatComponentName = function formatComponentName(vm, includeFile) {\n if (!vm) {\n return ANONYMOUS_COMPONENT_NAME;\n }\n\n if (vm.$root === vm) {\n return ROOT_COMPONENT_NAME;\n } // https://github.com/getsentry/sentry-javascript/issues/5204 $options can be undefined\n\n\n if (!vm.$options) {\n return ANONYMOUS_COMPONENT_NAME;\n }\n\n var options = vm.$options;\n var name = options.name || options._componentTag;\n var file = options.__file;\n\n if (!name && file) {\n var match = file.match(/([^/\\\\]+)\\.vue$/);\n\n if (match) {\n name = match[1];\n }\n }\n\n return (name ? \"<\".concat(classify(name), \">\") : ANONYMOUS_COMPONENT_NAME) + (file && includeFile !== false ? \" at \".concat(file) : '');\n};\n\nvar generateComponentTrace = function generateComponentTrace(vm) {\n if (vm && (vm._isVue || vm.__isVue) && vm.$parent) {\n var tree = [];\n var currentRecursiveSequence = 0;\n\n while (vm) {\n if (tree.length > 0) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n var last = tree[tree.length - 1]; // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n\n if (last.constructor === vm.constructor) {\n currentRecursiveSequence++;\n vm = vm.$parent; // eslint-disable-line no-param-reassign\n\n continue;\n } else if (currentRecursiveSequence > 0) {\n tree[tree.length - 1] = [last, currentRecursiveSequence];\n currentRecursiveSequence = 0;\n }\n }\n\n tree.push(vm);\n vm = vm.$parent; // eslint-disable-line no-param-reassign\n }\n\n var formattedTree = tree.map(function (vm, i) {\n return \"\".concat((i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm) ? \"\".concat(formatComponentName(vm[0]), \"... (\").concat(vm[1], \" recursive calls)\") : formatComponentName(vm)));\n }).join('\\n');\n return \"\\n\\nfound in\\n\\n\".concat(formattedTree);\n }\n\n return \"\\n\\n(found in \".concat(formatComponentName(vm), \")\");\n};\n\nexport { formatComponentName, generateComponentTrace };","import { captureException } from '@sentry/core';\nimport { consoleSandbox } from '@sentry/utils';\nimport { formatComponentName, generateComponentTrace } from './vendor/components.js';\n\nvar attachErrorHandler = function attachErrorHandler(app, options) {\n var _app$config = app.config,\n errorHandler = _app$config.errorHandler,\n warnHandler = _app$config.warnHandler,\n silent = _app$config.silent;\n\n app.config.errorHandler = function (error, vm, lifecycleHook) {\n var componentName = formatComponentName(vm, false);\n var trace = vm ? generateComponentTrace(vm) : '';\n var metadata = {\n componentName: componentName,\n lifecycleHook: lifecycleHook,\n trace: trace\n };\n\n if (options.attachProps && vm) {\n // Vue2 - $options.propsData\n // Vue3 - $props\n if (vm.$options && vm.$options.propsData) {\n metadata.propsData = vm.$options.propsData;\n } else if (vm.$props) {\n metadata.propsData = vm.$props;\n }\n } // Capture exception in the next event loop, to make sure that all breadcrumbs are recorded in time.\n\n\n setTimeout(function () {\n captureException(error, {\n captureContext: {\n contexts: {\n vue: metadata\n }\n },\n mechanism: {\n handled: false\n }\n });\n });\n\n if (typeof errorHandler === 'function') {\n errorHandler.call(app, error, vm, lifecycleHook);\n }\n\n if (options.logErrors) {\n var hasConsole = typeof console !== 'undefined';\n var message = \"Error in \".concat(lifecycleHook, \": \\\"\").concat(error && error.toString(), \"\\\"\");\n\n if (warnHandler) {\n warnHandler.call(null, message, vm, trace);\n } else if (hasConsole && !silent) {\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.error(\"[Vue warn]: \".concat(message).concat(trace));\n });\n }\n }\n };\n};\n\nexport { attachErrorHandler };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { tracingContextFromHeaders, logger, dropUndefinedKeys, addNonEnumerableProperty } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../debug-build.js';\nimport { getCurrentScope, withScope } from '../exports.js';\nimport { getCurrentHub, runWithAsyncContext, getIsolationScope } from '../hub.js';\nimport { handleCallbackErrors } from '../utils/handleCallbackErrors.js';\nimport { hasTracingEnabled } from '../utils/hasTracingEnabled.js';\nimport { spanToJSON, spanTimeInputToSeconds } from '../utils/spanUtils.js';\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n *\n * This function is meant to be used internally and may break at any time. Use at your own risk.\n *\n * @internal\n * @private\n *\n * @deprecated Use `startSpan` instead.\n */\n\nfunction trace(context, callback) {\n var onError = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};\n var afterFinish = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : function () {};\n // eslint-disable-next-line deprecation/deprecation\n var hub = getCurrentHub();\n var scope = getCurrentScope(); // eslint-disable-next-line deprecation/deprecation\n\n var parentSpan = scope.getSpan();\n var ctx = normalizeContext(context);\n var activeSpan = createChildSpanOrTransaction(hub, parentSpan, ctx); // eslint-disable-next-line deprecation/deprecation\n\n scope.setSpan(activeSpan);\n return handleCallbackErrors(function () {\n return callback(activeSpan);\n }, function (error) {\n activeSpan && activeSpan.setStatus('internal_error');\n onError(error, activeSpan);\n }, function () {\n activeSpan && activeSpan.end(); // eslint-disable-next-line deprecation/deprecation\n\n scope.setSpan(parentSpan);\n afterFinish();\n });\n}\n/**\n * Wraps a function with a transaction/span and finishes the span after the function is done.\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getSpan()`, as long as the function is executed while the scope is active.\n *\n * If you want to create a span that is not set as active, use {@link startInactiveSpan}.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\n\n\nfunction startSpan(context, callback) {\n var ctx = normalizeContext(context);\n return runWithAsyncContext(function () {\n return withScope(context.scope, function (scope) {\n // eslint-disable-next-line deprecation/deprecation\n var hub = getCurrentHub(); // eslint-disable-next-line deprecation/deprecation\n\n var parentSpan = scope.getSpan();\n var shouldSkipSpan = context.onlyIfParent && !parentSpan;\n var activeSpan = shouldSkipSpan ? undefined : createChildSpanOrTransaction(hub, parentSpan, ctx); // eslint-disable-next-line deprecation/deprecation\n\n scope.setSpan(activeSpan);\n return handleCallbackErrors(function () {\n return callback(activeSpan);\n }, function () {\n // Only update the span status if it hasn't been changed yet\n if (activeSpan) {\n var _spanToJSON = spanToJSON(activeSpan),\n status = _spanToJSON.status;\n\n if (!status || status === 'ok') {\n activeSpan.setStatus('internal_error');\n }\n }\n }, function () {\n return activeSpan && activeSpan.end();\n });\n });\n });\n}\n/**\n * @deprecated Use {@link startSpan} instead.\n */\n\n\nvar startActiveSpan = startSpan;\n/**\n * Similar to `Sentry.startSpan`. Wraps a function with a transaction/span, but does not finish the span\n * after the function is done automatically. You'll have to call `span.end()` manually.\n *\n * The created span is the active span and will be used as parent by other spans created inside the function\n * and can be accessed via `Sentry.getActiveSpan()`, as long as the function is executed while the scope is active.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\n\nfunction startSpanManual(context, callback) {\n var ctx = normalizeContext(context);\n return runWithAsyncContext(function () {\n return withScope(context.scope, function (scope) {\n // eslint-disable-next-line deprecation/deprecation\n var hub = getCurrentHub(); // eslint-disable-next-line deprecation/deprecation\n\n var parentSpan = scope.getSpan();\n var shouldSkipSpan = context.onlyIfParent && !parentSpan;\n var activeSpan = shouldSkipSpan ? undefined : createChildSpanOrTransaction(hub, parentSpan, ctx); // eslint-disable-next-line deprecation/deprecation\n\n scope.setSpan(activeSpan);\n\n function finishAndSetSpan() {\n activeSpan && activeSpan.end();\n }\n\n return handleCallbackErrors(function () {\n return callback(activeSpan, finishAndSetSpan);\n }, function () {\n // Only update the span status if it hasn't been changed yet, and the span is not yet finished\n if (activeSpan && activeSpan.isRecording()) {\n var _spanToJSON2 = spanToJSON(activeSpan),\n status = _spanToJSON2.status;\n\n if (!status || status === 'ok') {\n activeSpan.setStatus('internal_error');\n }\n }\n });\n });\n });\n}\n/**\n * Creates a span. This span is not set as active, so will not get automatic instrumentation spans\n * as children or be able to be accessed via `Sentry.getSpan()`.\n *\n * If you want to create a span that is set as active, use {@link startSpan}.\n *\n * Note that if you have not enabled tracing extensions via `addTracingExtensions`\n * or you didn't set `tracesSampleRate` or `tracesSampler`, this function will not generate spans\n * and the `span` returned from the callback will be undefined.\n */\n\n\nfunction startInactiveSpan(context) {\n if (!hasTracingEnabled()) {\n return undefined;\n }\n\n var ctx = normalizeContext(context); // eslint-disable-next-line deprecation/deprecation\n\n var hub = getCurrentHub();\n var parentSpan = context.scope ? // eslint-disable-next-line deprecation/deprecation\n context.scope.getSpan() : getActiveSpan();\n var shouldSkipSpan = context.onlyIfParent && !parentSpan;\n\n if (shouldSkipSpan) {\n return undefined;\n }\n\n var isolationScope = getIsolationScope();\n var scope = getCurrentScope();\n var span;\n\n if (parentSpan) {\n // eslint-disable-next-line deprecation/deprecation\n span = parentSpan.startChild(ctx);\n } else {\n var _isolationScope$getPr = _objectSpread(_objectSpread({}, isolationScope.getPropagationContext()), scope.getPropagationContext()),\n traceId = _isolationScope$getPr.traceId,\n dsc = _isolationScope$getPr.dsc,\n parentSpanId = _isolationScope$getPr.parentSpanId,\n sampled = _isolationScope$getPr.sampled; // eslint-disable-next-line deprecation/deprecation\n\n\n span = hub.startTransaction(_objectSpread(_objectSpread({\n traceId: traceId,\n parentSpanId: parentSpanId,\n parentSampled: sampled\n }, ctx), {}, {\n metadata: _objectSpread({\n dynamicSamplingContext: dsc\n }, ctx.metadata)\n }));\n }\n\n setCapturedScopesOnSpan(span, scope, isolationScope);\n return span;\n}\n/**\n * Returns the currently active span.\n */\n\n\nfunction getActiveSpan() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentScope().getSpan();\n}\n\nvar continueTrace = function continueTrace(_ref, callback) {\n var sentryTrace = _ref.sentryTrace,\n baggage = _ref.baggage;\n // TODO(v8): Change this function so it doesn't do anything besides setting the propagation context on the current scope:\n\n /*\n return withScope((scope) => {\n const propagationContext = propagationContextFromHeaders(sentryTrace, baggage);\n scope.setPropagationContext(propagationContext);\n return callback();\n })\n */\n var currentScope = getCurrentScope(); // eslint-disable-next-line deprecation/deprecation\n\n var _tracingContextFromHe = tracingContextFromHeaders(sentryTrace, baggage),\n traceparentData = _tracingContextFromHe.traceparentData,\n dynamicSamplingContext = _tracingContextFromHe.dynamicSamplingContext,\n propagationContext = _tracingContextFromHe.propagationContext;\n\n currentScope.setPropagationContext(propagationContext);\n\n if (DEBUG_BUILD && traceparentData) {\n logger.log(\"[Tracing] Continuing trace \".concat(traceparentData.traceId, \".\"));\n }\n\n var transactionContext = _objectSpread(_objectSpread({}, traceparentData), {}, {\n metadata: dropUndefinedKeys({\n dynamicSamplingContext: dynamicSamplingContext\n })\n });\n\n if (!callback) {\n return transactionContext;\n }\n\n return runWithAsyncContext(function () {\n return callback(transactionContext);\n });\n};\n\nfunction createChildSpanOrTransaction(hub, parentSpan, ctx) {\n if (!hasTracingEnabled()) {\n return undefined;\n }\n\n var isolationScope = getIsolationScope();\n var scope = getCurrentScope();\n var span;\n\n if (parentSpan) {\n // eslint-disable-next-line deprecation/deprecation\n span = parentSpan.startChild(ctx);\n } else {\n var _isolationScope$getPr2 = _objectSpread(_objectSpread({}, isolationScope.getPropagationContext()), scope.getPropagationContext()),\n traceId = _isolationScope$getPr2.traceId,\n dsc = _isolationScope$getPr2.dsc,\n parentSpanId = _isolationScope$getPr2.parentSpanId,\n sampled = _isolationScope$getPr2.sampled; // eslint-disable-next-line deprecation/deprecation\n\n\n span = hub.startTransaction(_objectSpread(_objectSpread({\n traceId: traceId,\n parentSpanId: parentSpanId,\n parentSampled: sampled\n }, ctx), {}, {\n metadata: _objectSpread({\n dynamicSamplingContext: dsc\n }, ctx.metadata)\n }));\n }\n\n setCapturedScopesOnSpan(span, scope, isolationScope);\n return span;\n}\n/**\n * This converts StartSpanOptions to TransactionContext.\n * For the most part (for now) we accept the same options,\n * but some of them need to be transformed.\n *\n * Eventually the StartSpanOptions will be more aligned with OpenTelemetry.\n */\n\n\nfunction normalizeContext(context) {\n if (context.startTime) {\n var ctx = _objectSpread({}, context);\n\n ctx.startTimestamp = spanTimeInputToSeconds(context.startTime);\n delete ctx.startTime;\n return ctx;\n }\n\n return context;\n}\n\nvar SCOPE_ON_START_SPAN_FIELD = '_sentryScope';\nvar ISOLATION_SCOPE_ON_START_SPAN_FIELD = '_sentryIsolationScope';\n\nfunction setCapturedScopesOnSpan(span, scope, isolationScope) {\n if (span) {\n addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);\n addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);\n }\n}\n/**\n * Grabs the scope and isolation scope off a span that were active when the span was started.\n */\n\n\nfunction getCapturedScopesOnSpan(span) {\n return {\n scope: span[SCOPE_ON_START_SPAN_FIELD],\n isolationScope: span[ISOLATION_SCOPE_ON_START_SPAN_FIELD]\n };\n}\n\nexport { continueTrace, getActiveSpan, getCapturedScopesOnSpan, startActiveSpan, startInactiveSpan, startSpan, startSpanManual, trace };","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nexport { DEBUG_BUILD };","import { getActiveSpan, startInactiveSpan, getCurrentScope } from '@sentry/browser';\nimport { logger, timestampInSeconds } from '@sentry/utils';\nimport { DEFAULT_HOOKS } from './constants.js';\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { formatComponentName } from './vendor/components.js';\nvar VUE_OP = 'ui.vue'; // Mappings from operation to corresponding lifecycle hook.\n\nvar HOOKS = {\n activate: ['activated', 'deactivated'],\n create: ['beforeCreate', 'created'],\n // Vue 3\n unmount: ['beforeUnmount', 'unmounted'],\n // Vue 2\n destroy: ['beforeDestroy', 'destroyed'],\n mount: ['beforeMount', 'mounted'],\n update: ['beforeUpdate', 'updated']\n};\n/**\n * Grabs active transaction off scope.\n *\n * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n */\n\nfunction getActiveTransaction() {\n // eslint-disable-next-line deprecation/deprecation\n return getCurrentScope().getTransaction();\n}\n/** Finish top-level span and activity with a debounce configured using `timeout` option */\n\n\nfunction finishRootSpan(vm, timestamp, timeout) {\n if (vm.$_sentryRootSpanTimer) {\n clearTimeout(vm.$_sentryRootSpanTimer);\n }\n\n vm.$_sentryRootSpanTimer = setTimeout(function () {\n if (vm.$root && vm.$root.$_sentryRootSpan) {\n vm.$root.$_sentryRootSpan.end(timestamp);\n vm.$root.$_sentryRootSpan = undefined;\n }\n }, timeout);\n}\n\nvar createTracingMixins = function createTracingMixins(options) {\n var hooks = (options.hooks || []).concat(DEFAULT_HOOKS) // Removing potential duplicates\n .filter(function (value, index, self) {\n return self.indexOf(value) === index;\n });\n var mixins = {};\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n var _loop = function _loop() {\n var operation = _step.value;\n // Retrieve corresponding hooks from Vue lifecycle.\n // eg. mount => ['beforeMount', 'mounted']\n var internalHooks = HOOKS[operation];\n\n if (!internalHooks) {\n DEBUG_BUILD && logger.warn(\"Unknown hook: \".concat(operation));\n return \"continue\";\n }\n\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n var _loop2 = function _loop2() {\n var internalHook = _step2.value;\n\n mixins[internalHook] = function () {\n var isRoot = this.$root === this;\n\n if (isRoot) {\n var activeSpan = getActiveSpan();\n\n if (activeSpan) {\n this.$_sentryRootSpan = this.$_sentryRootSpan || startInactiveSpan({\n name: 'Application Render',\n op: \"\".concat(VUE_OP, \".render\"),\n origin: 'auto.ui.vue'\n });\n }\n } // Skip components that we don't want to track to minimize the noise and give a more granular control to the user\n\n\n var name = formatComponentName(this, false);\n var shouldTrack = Array.isArray(options.trackComponents) ? options.trackComponents.indexOf(name) > -1 : options.trackComponents; // We always want to track root component\n\n if (!isRoot && !shouldTrack) {\n return;\n }\n\n this.$_sentrySpans = this.$_sentrySpans || {}; // Start a new span if current hook is a 'before' hook.\n // Otherwise, retrieve the current span and finish it.\n\n if (internalHook == internalHooks[0]) {\n var _activeSpan = this.$root && this.$root.$_sentryRootSpan || getActiveSpan();\n\n if (_activeSpan) {\n // Cancel old span for this hook operation in case it didn't get cleaned up. We're not actually sure if it\n // will ever be the case that cleanup hooks re not called, but we had users report that spans didn't get\n // finished so we finish the span before starting a new one, just to be sure.\n var oldSpan = this.$_sentrySpans[operation];\n\n if (oldSpan) {\n oldSpan.end();\n }\n\n this.$_sentrySpans[operation] = startInactiveSpan({\n name: \"Vue <\".concat(name, \">\"),\n op: \"\".concat(VUE_OP, \".\").concat(operation),\n origin: 'auto.ui.vue'\n });\n }\n } else {\n // The span should already be added via the first handler call (in the 'before' hook)\n var span = this.$_sentrySpans[operation]; // The before hook did not start the tracking span, so the span was not added.\n // This is probably because it happened before there is an active transaction\n\n if (!span) return;\n span.end();\n finishRootSpan(this, timestampInSeconds(), options.timeout);\n }\n };\n };\n\n for (var _iterator2 = internalHooks[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n _loop2();\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n };\n\n for (var _iterator = hooks[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _ret = _loop();\n\n if (_ret === \"continue\") continue;\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return mixins;\n};\n\nexport { createTracingMixins, getActiveTransaction };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass, hasTracingEnabled } from '@sentry/core';\nimport { GLOBAL_OBJ, consoleSandbox, arrayify } from '@sentry/utils';\nimport { DEFAULT_HOOKS } from './constants.js';\nimport { attachErrorHandler } from './errorhandler.js';\nimport { createTracingMixins } from './tracing.js';\nvar globalWithVue = GLOBAL_OBJ;\nvar DEFAULT_CONFIG = {\n Vue: globalWithVue.Vue,\n attachProps: true,\n logErrors: true,\n hooks: DEFAULT_HOOKS,\n timeout: 2000,\n trackComponents: false\n};\nvar INTEGRATION_NAME = 'Vue';\n\nvar _vueIntegration = function _vueIntegration() {\n var integrationOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n setup: function setup(client) {\n _setupIntegration(client, integrationOptions);\n }\n };\n};\n\nvar vueIntegration = defineIntegration(_vueIntegration);\n/**\n * Initialize Vue error & performance tracking.\n *\n * @deprecated Use `vueIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar VueIntegration = convertIntegrationFnToClass(INTEGRATION_NAME, vueIntegration);\n\nfunction _setupIntegration(client, integrationOptions) {\n var options = _objectSpread(_objectSpread(_objectSpread({}, DEFAULT_CONFIG), client.getOptions()), integrationOptions);\n\n if (!options.Vue && !options.app) {\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.warn(\"[@sentry/vue]: Misconfigured SDK. Vue specific errors will not be captured.\\nUpdate your `Sentry.init` call with an appropriate config option:\\n`app` (Application Instance - Vue 3) or `Vue` (Vue Constructor - Vue 2).\");\n });\n return;\n }\n\n if (options.app) {\n var apps = arrayify(options.app);\n apps.forEach(function (app) {\n return vueInit(app, options);\n });\n } else if (options.Vue) {\n vueInit(options.Vue, options);\n }\n}\n\nvar vueInit = function vueInit(app, options) {\n // Check app is not mounted yet - should be mounted _after_ init()!\n // This is _somewhat_ private, but in the case that this doesn't exist we simply ignore it\n // See: https://github.com/vuejs/core/blob/eb2a83283caa9de0a45881d860a3cbd9d0bdd279/packages/runtime-core/src/component.ts#L394\n var appWithInstance = app;\n var isMounted = appWithInstance._instance && appWithInstance._instance.isMounted;\n\n if (isMounted === true) {\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.warn('[@sentry/vue]: Misconfigured SDK. Vue app is already mounted. Make sure to call `app.mount()` after `Sentry.init()`.');\n });\n }\n\n attachErrorHandler(app, options);\n\n if (hasTracingEnabled(options)) {\n app.mixin(createTracingMixins(_objectSpread(_objectSpread({}, options), options.tracingOptions)));\n }\n};\n\nexport { VueIntegration, vueIntegration };","function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { SDK_VERSION, getDefaultIntegrations, init as init$1 } from '@sentry/browser';\nimport { vueIntegration } from './integration.js';\n/**\n * Inits the Vue SDK\n */\n\nfunction init() {\n var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var options = _objectSpread({\n _metadata: {\n sdk: {\n name: 'sentry.javascript.vue',\n packages: [{\n name: 'npm:@sentry/vue',\n version: SDK_VERSION\n }],\n version: SDK_VERSION\n }\n },\n defaultIntegrations: [].concat(_toConsumableArray(getDefaultIntegrations(config)), [vueIntegration()])\n }, config);\n\n init$1(options);\n}\n\nexport { init };","/**\n * Polyfill for the optional chain operator, `?.`, given previous conversion of the expression into an array of values,\n * descriptors, and functions.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n * See https://github.com/alangpierce/sucrase/blob/265887868966917f3b924ce38dfad01fbab1329f/src/transformers/OptionalChainingNullishTransformer.ts#L15\n *\n * @param ops Array result of expression conversion\n * @returns The value of the expression\n */\nfunction _optionalChain(ops) {\n var lastAccessLHS = undefined;\n var value = ops[0];\n var i = 1;\n\n while (i < ops.length) {\n var op = ops[i];\n var fn = ops[i + 1];\n i += 2; // by checking for loose equality to `null`, we catch both `null` and `undefined`\n\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n // really we're meaning to return `undefined` as an actual value here, but it saves bytes not to write it\n return;\n }\n\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn(function () {\n var _value;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (_value = value).call.apply(_value, [lastAccessLHS].concat(args));\n });\n lastAccessLHS = undefined;\n }\n }\n\n return value;\n} // Sucrase version\n// function _optionalChain(ops) {\n// let lastAccessLHS = undefined;\n// let value = ops[0];\n// let i = 1;\n// while (i < ops.length) {\n// const op = ops[i];\n// const fn = ops[i + 1];\n// i += 2;\n// if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n// return undefined;\n// }\n// if (op === 'access' || op === 'optionalAccess') {\n// lastAccessLHS = value;\n// value = fn(value);\n// } else if (op === 'call' || op === 'optionalCall') {\n// value = fn((...args) => value.call(lastAccessLHS, ...args));\n// lastAccessLHS = undefined;\n// }\n// }\n// return value;\n// }\n\n\nexport { _optionalChain };","/**\n * Checks whether given url points to Sentry server\n * @param url url to verify\n *\n * TODO(v8): Remove Hub fallback type\n */\nfunction isSentryRequestUrl(url, hubOrClient) {\n var client = hubOrClient && isHub(hubOrClient) ? // eslint-disable-next-line deprecation/deprecation\n hubOrClient.getClient() : hubOrClient;\n var dsn = client && client.getDsn();\n var tunnel = client && client.getOptions().tunnel;\n return checkDsn(url, dsn) || checkTunnel(url, tunnel);\n}\n\nfunction checkTunnel(url, tunnel) {\n if (!tunnel) {\n return false;\n }\n\n return removeTrailingSlash(url) === removeTrailingSlash(tunnel);\n}\n\nfunction checkDsn(url, dsn) {\n return dsn ? url.includes(dsn.host) : false;\n}\n\nfunction removeTrailingSlash(str) {\n return str[str.length - 1] === '/' ? str.slice(0, -1) : str;\n}\n\nfunction isHub(hubOrClient) {\n // eslint-disable-next-line deprecation/deprecation\n return hubOrClient.getClient !== undefined;\n}\n\nexport { isSentryRequestUrl };","/**\n * Use this attribute to represent the source of a span.\n * Should be one of: custom, url, route, view, component, task, unknown\n *\n */\nvar SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = 'sentry.source';\n/**\n * Use this attribute to represent the sample rate used for a span.\n */\n\nvar SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = 'sentry.sample_rate';\n/**\n * Use this attribute to represent the operation of a span.\n */\n\nvar SEMANTIC_ATTRIBUTE_SENTRY_OP = 'sentry.op';\n/**\n * Use this attribute to represent the origin of a span.\n */\n\nvar SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = 'sentry.origin';\nexport { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE };","import { isNodeEnv } from './node.js';\nimport { GLOBAL_OBJ } from './worldwide.js';\n/**\n * Returns true if we are in the browser.\n */\n\nfunction isBrowser() {\n // eslint-disable-next-line no-restricted-globals\n return typeof window !== 'undefined' && (!isNodeEnv() || isElectronNodeRenderer());\n} // Electron renderers with nodeIntegration enabled are detected as Node.js so we specifically test for them\n\n\nfunction isElectronNodeRenderer() {\n return (// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any\n GLOBAL_OBJ.process !== undefined && GLOBAL_OBJ.process.type === 'renderer'\n );\n}\n\nexport { isBrowser };","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nexport { DEBUG_BUILD };","import { logger, getFunctionName } from '@sentry/utils';\nimport { DEBUG_BUILD } from '../common/debug-build.js';\nimport { onCLS } from './web-vitals/getCLS.js';\nimport { onFID } from './web-vitals/getFID.js';\nimport { onLCP } from './web-vitals/getLCP.js';\nimport { observe } from './web-vitals/lib/observe.js';\nvar handlers = {};\nvar instrumented = {};\n\nvar _previousCls;\n\nvar _previousFid;\n\nvar _previousLcp;\n/**\n * Add a callback that will be triggered when a CLS metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for CLS when the cleanup callback is called.\n * This will lead to the CLS being finalized and frozen.\n */\n\n\nfunction addClsInstrumentationHandler(callback) {\n var stopOnCallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return addMetricObserver('cls', callback, instrumentCls, _previousCls, stopOnCallback);\n}\n/**\n * Add a callback that will be triggered when a LCP metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n *\n * Pass `stopOnCallback = true` to stop listening for LCP when the cleanup callback is called.\n * This will lead to the LCP being finalized and frozen.\n */\n\n\nfunction addLcpInstrumentationHandler(callback) {\n var stopOnCallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return addMetricObserver('lcp', callback, instrumentLcp, _previousLcp, stopOnCallback);\n}\n/**\n * Add a callback that will be triggered when a FID metric is available.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\n\n\nfunction addFidInstrumentationHandler(callback) {\n return addMetricObserver('fid', callback, instrumentFid, _previousFid);\n}\n/**\n * Add a callback that will be triggered when a performance observer is triggered,\n * and receives the entries of the observer.\n * Returns a cleanup callback which can be called to remove the instrumentation handler.\n */\n\n\nfunction addPerformanceInstrumentationHandler(type, callback) {\n addHandler(type, callback);\n\n if (!instrumented[type]) {\n instrumentPerformanceObserver(type);\n instrumented[type] = true;\n }\n\n return getCleanupCallback(type, callback);\n}\n/** Trigger all handlers of a given type. */\n\n\nfunction triggerHandlers(type, data) {\n var typeHandlers = handlers[type];\n\n if (!typeHandlers || !typeHandlers.length) {\n return;\n }\n\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = typeHandlers[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var handler = _step.value;\n\n try {\n handler(data);\n } catch (e) {\n DEBUG_BUILD && logger.error(\"Error while triggering instrumentation handler.\\nType: \".concat(type, \"\\nName: \").concat(getFunctionName(handler), \"\\nError:\"), e);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n}\n\nfunction instrumentCls() {\n return onCLS(function (metric) {\n triggerHandlers('cls', {\n metric: metric\n });\n _previousCls = metric;\n });\n}\n\nfunction instrumentFid() {\n return onFID(function (metric) {\n triggerHandlers('fid', {\n metric: metric\n });\n _previousFid = metric;\n });\n}\n\nfunction instrumentLcp() {\n return onLCP(function (metric) {\n triggerHandlers('lcp', {\n metric: metric\n });\n _previousLcp = metric;\n });\n}\n\nfunction addMetricObserver(type, callback, instrumentFn, previousValue) {\n var stopOnCallback = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n addHandler(type, callback);\n var stopListening;\n\n if (!instrumented[type]) {\n stopListening = instrumentFn();\n instrumented[type] = true;\n }\n\n if (previousValue) {\n callback({\n metric: previousValue\n });\n }\n\n return getCleanupCallback(type, callback, stopOnCallback ? stopListening : undefined);\n}\n\nfunction instrumentPerformanceObserver(type) {\n var options = {}; // Special per-type options we want to use\n\n if (type === 'event') {\n options.durationThreshold = 0;\n }\n\n observe(type, function (entries) {\n triggerHandlers(type, {\n entries: entries\n });\n }, options);\n}\n\nfunction addHandler(type, handler) {\n handlers[type] = handlers[type] || [];\n handlers[type].push(handler);\n} // Get a callback which can be called to remove the instrumentation handler\n\n\nfunction getCleanupCallback(type, callback, stopListening) {\n return function () {\n if (stopListening) {\n stopListening();\n }\n\n var typeHandlers = handlers[type];\n\n if (!typeHandlers) {\n return;\n }\n\n var index = typeHandlers.indexOf(callback);\n\n if (index !== -1) {\n typeHandlers.splice(index, 1);\n }\n };\n}\n\nexport { addClsInstrumentationHandler, addFidInstrumentationHandler, addLcpInstrumentationHandler, addPerformanceInstrumentationHandler };","var bindReporter = function bindReporter(callback, metric, reportAllChanges) {\n var prevValue;\n var delta;\n return function (forceReport) {\n if (metric.value >= 0) {\n if (forceReport || reportAllChanges) {\n delta = metric.value - (prevValue || 0); // Report the metric if there's a non-zero delta or if no previous\n // value exists (which can happen in the case of the document becoming\n // hidden when the metric value is 0).\n // See: https://github.com/GoogleChrome/web-vitals/issues/14\n\n if (delta || prevValue === undefined) {\n prevValue = metric.value;\n metric.delta = delta;\n callback(metric);\n }\n }\n }\n };\n};\n\nexport { bindReporter };","import { GLOBAL_OBJ } from '@sentry/utils';\nvar WINDOW = GLOBAL_OBJ;\nexport { WINDOW };","import { WINDOW } from '../../types.js';\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar getNavigationEntryFromPerformanceTiming = function getNavigationEntryFromPerformanceTiming() {\n // eslint-disable-next-line deprecation/deprecation\n var timing = WINDOW.performance.timing; // eslint-disable-next-line deprecation/deprecation\n\n var type = WINDOW.performance.navigation.type;\n var navigationEntry = {\n entryType: 'navigation',\n startTime: 0,\n type: type == 2 ? 'back_forward' : type === 1 ? 'reload' : 'navigate'\n };\n\n for (var key in timing) {\n if (key !== 'navigationStart' && key !== 'toJSON') {\n // eslint-disable-next-line deprecation/deprecation\n navigationEntry[key] = Math.max(timing[key] - timing.navigationStart, 0);\n }\n }\n\n return navigationEntry;\n};\n\nvar getNavigationEntry = function getNavigationEntry() {\n if (WINDOW.__WEB_VITALS_POLYFILL__) {\n return WINDOW.performance && (performance.getEntriesByType && performance.getEntriesByType('navigation')[0] || getNavigationEntryFromPerformanceTiming());\n } else {\n return WINDOW.performance && performance.getEntriesByType && performance.getEntriesByType('navigation')[0];\n }\n};\n\nexport { getNavigationEntry };","import { getNavigationEntry } from './getNavigationEntry.js';\n/*\n * Copyright 2022 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar getActivationStart = function getActivationStart() {\n var navEntry = getNavigationEntry();\n return navEntry && navEntry.activationStart || 0;\n};\n\nexport { getActivationStart };","import { WINDOW } from '../../types.js';\nimport { generateUniqueID } from './generateUniqueID.js';\nimport { getActivationStart } from './getActivationStart.js';\nimport { getNavigationEntry } from './getNavigationEntry.js';\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar initMetric = function initMetric(name, value) {\n var navEntry = getNavigationEntry();\n var navigationType = 'navigate';\n\n if (navEntry) {\n if (WINDOW.document.prerendering || getActivationStart() > 0) {\n navigationType = 'prerender';\n } else {\n navigationType = navEntry.type.replace(/_/g, '-');\n }\n }\n\n return {\n name: name,\n value: typeof value === 'undefined' ? -1 : value,\n rating: 'good',\n // Will be updated if the value changes.\n delta: 0,\n entries: [],\n id: generateUniqueID(),\n navigationType: navigationType\n };\n};\n\nexport { initMetric };","/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Performantly generate a unique, 30-char string by combining a version\n * number, the current timestamp with a 13-digit number integer.\n * @return {string}\n */\nvar generateUniqueID = function generateUniqueID() {\n return \"v3-\".concat(Date.now(), \"-\").concat(Math.floor(Math.random() * (9e12 - 1)) + 1e12);\n};\n\nexport { generateUniqueID };","/**\n * Takes a performance entry type and a callback function, and creates a\n * `PerformanceObserver` instance that will observe the specified entry type\n * with buffering enabled and call the callback _for each entry_.\n *\n * This function also feature-detects entry support and wraps the logic in a\n * try/catch to avoid errors in unsupporting browsers.\n */\nvar observe = function observe(type, callback, opts) {\n try {\n if (PerformanceObserver.supportedEntryTypes.includes(type)) {\n var po = new PerformanceObserver(function (list) {\n callback(list.getEntries());\n });\n po.observe(Object.assign({\n type: type,\n buffered: true\n }, opts || {}));\n return po;\n }\n } catch (e) {// Do nothing.\n }\n\n return;\n};\n\nexport { observe };","import { WINDOW } from '../../types.js';\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar onHidden = function onHidden(cb, once) {\n var onHiddenOrPageHide = function onHiddenOrPageHide(event) {\n if (event.type === 'pagehide' || WINDOW.document.visibilityState === 'hidden') {\n cb(event);\n\n if (once) {\n removeEventListener('visibilitychange', onHiddenOrPageHide, true);\n removeEventListener('pagehide', onHiddenOrPageHide, true);\n }\n }\n };\n\n addEventListener('visibilitychange', onHiddenOrPageHide, true); // Some browsers have buggy implementations of visibilitychange,\n // so we use pagehide in addition, just to be safe.\n\n addEventListener('pagehide', onHiddenOrPageHide, true);\n};\n\nexport { onHidden };","import { WINDOW } from '../../types.js';\nimport { onHidden } from './onHidden.js';\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar firstHiddenTime = -1;\n\nvar initHiddenTime = function initHiddenTime() {\n // If the document is hidden and not prerendering, assume it was always\n // hidden and the page was loaded in the background.\n return WINDOW.document.visibilityState === 'hidden' && !WINDOW.document.prerendering ? 0 : Infinity;\n};\n\nvar trackChanges = function trackChanges() {\n // Update the time if/when the document becomes hidden.\n onHidden(function (_ref) {\n var timeStamp = _ref.timeStamp;\n firstHiddenTime = timeStamp;\n }, true);\n};\n\nvar getVisibilityWatcher = function getVisibilityWatcher() {\n if (firstHiddenTime < 0) {\n // If the document is hidden when this code runs, assume it was hidden\n // since navigation start. This isn't a perfect heuristic, but it's the\n // best we can do until an API is available to support querying past\n // visibilityState.\n firstHiddenTime = initHiddenTime();\n trackChanges();\n }\n\n return {\n get firstHiddenTime() {\n return firstHiddenTime;\n }\n\n };\n};\n\nexport { getVisibilityWatcher };","import { bindReporter } from './lib/bindReporter.js';\nimport { getActivationStart } from './lib/getActivationStart.js';\nimport { getVisibilityWatcher } from './lib/getVisibilityWatcher.js';\nimport { initMetric } from './lib/initMetric.js';\nimport { observe } from './lib/observe.js';\nimport { onHidden } from './lib/onHidden.js';\n/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nvar reportedMetricIDs = {};\n/**\n * Calculates the [LCP](https://web.dev/lcp/) value for the current page and\n * calls the `callback` function once the value is ready (along with the\n * relevant `largest-contentful-paint` performance entry used to determine the\n * value). The reported value is a `DOMHighResTimeStamp`.\n */\n\nvar onLCP = function onLCP(onReport) {\n var visibilityWatcher = getVisibilityWatcher();\n var metric = initMetric('LCP');\n var report;\n\n var handleEntries = function handleEntries(entries) {\n var lastEntry = entries[entries.length - 1];\n\n if (lastEntry) {\n // The startTime attribute returns the value of the renderTime if it is\n // not 0, and the value of the loadTime otherwise. The activationStart\n // reference is used because LCP should be relative to page activation\n // rather than navigation start if the page was prerendered.\n var value = Math.max(lastEntry.startTime - getActivationStart(), 0); // Only report if the page wasn't hidden prior to LCP.\n\n if (value < visibilityWatcher.firstHiddenTime) {\n metric.value = value;\n metric.entries = [lastEntry];\n report();\n }\n }\n };\n\n var po = observe('largest-contentful-paint', handleEntries);\n\n if (po) {\n report = bindReporter(onReport, metric);\n\n var stopListening = function stopListening() {\n if (!reportedMetricIDs[metric.id]) {\n handleEntries(po.takeRecords());\n po.disconnect();\n reportedMetricIDs[metric.id] = true;\n report(true);\n }\n }; // Stop listening after input. Note: while scrolling is an input that\n // stop LCP observation, it's unreliable since it can be programmatically\n // generated. See: https://github.com/GoogleChrome/web-vitals/issues/75\n\n\n ['keydown', 'click'].forEach(function (type) {\n addEventListener(type, stopListening, {\n once: true,\n capture: true\n });\n });\n onHidden(stopListening, true);\n return stopListening;\n }\n\n return;\n};\n\nexport { onLCP };","import _regeneratorRuntime from \"@babel/runtime/regenerator\";\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }\n\nfunction _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err); } _next(undefined); }); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } 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 _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\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) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\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); return Constructor; }\n\nimport { _nullishCoalesce, _optionalChain } from '@sentry/utils';\nimport { addBreadcrumb, getClient, isSentryRequestUrl, getCurrentScope, addEventProcessor, prepareEvent, getIsolationScope, setContext, captureException, spanToJSON, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';\nimport { GLOBAL_OBJ, normalize, fill, htmlTreeAsString, browserPerformanceTimeOrigin, logger, uuid4, SENTRY_XHR_DATA_KEY, dropUndefinedKeys, stringMatchesSomePattern, addFetchInstrumentationHandler, addXhrInstrumentationHandler, addClickKeypressInstrumentationHandler, addHistoryInstrumentationHandler, createEnvelope, createEventEnvelopeHeaders, getSdkMetadataForEnvelopeHeader, updateRateLimits, isRateLimited, consoleSandbox, isBrowser } from '@sentry/utils';\nimport { addPerformanceInstrumentationHandler, addLcpInstrumentationHandler } from '@sentry-internal/tracing'; // exporting a separate copy of `WINDOW` rather than exporting the one from `@sentry/browser`\n// prevents the browser package from being bundled in the CDN bundle, and avoids a\n// circular dependency between the browser and replay packages should `@sentry/browser` import\n// from `@sentry/replay` in the future\n\nvar WINDOW = GLOBAL_OBJ;\nvar REPLAY_SESSION_KEY = 'sentryReplaySession';\nvar REPLAY_EVENT_NAME = 'replay_event';\nvar UNABLE_TO_SEND_REPLAY = 'Unable to send Replay'; // The idle limit for a session after which recording is paused.\n\nvar SESSION_IDLE_PAUSE_DURATION = 300000; // 5 minutes in ms\n// The idle limit for a session after which the session expires.\n\nvar SESSION_IDLE_EXPIRE_DURATION = 900000; // 15 minutes in ms\n\n/** Default flush delays */\n\nvar DEFAULT_FLUSH_MIN_DELAY = 5000; // XXX: Temp fix for our debounce logic where `maxWait` would never occur if it\n// was the same as `wait`\n\nvar DEFAULT_FLUSH_MAX_DELAY = 5500;\n/* How long to wait for error checkouts */\n\nvar BUFFER_CHECKOUT_TIME = 60000;\nvar RETRY_BASE_INTERVAL = 5000;\nvar RETRY_MAX_COUNT = 3;\n/* The max (uncompressed) size in bytes of a network body. Any body larger than this will be truncated. */\n\nvar NETWORK_BODY_MAX_SIZE = 150000;\n/* The max size of a single console arg that is captured. Any arg larger than this will be truncated. */\n\nvar CONSOLE_ARG_MAX_SIZE = 5000;\n/* Min. time to wait before we consider something a slow click. */\n\nvar SLOW_CLICK_THRESHOLD = 3000;\n/* For scroll actions after a click, we only look for a very short time period to detect programmatic scrolling. */\n\nvar SLOW_CLICK_SCROLL_TIMEOUT = 300;\n/** When encountering a total segment size exceeding this size, stop the replay (as we cannot properly ingest it). */\n\nvar REPLAY_MAX_EVENT_BUFFER_SIZE = 20000000; // ~20MB\n\n/** Replays must be min. 5s long before we send them. */\n\nvar MIN_REPLAY_DURATION = 4999;\n/* The max. allowed value that the minReplayDuration can be set to. */\n\nvar MIN_REPLAY_DURATION_LIMIT = 15000;\n/** The max. length of a replay. */\n\nvar MAX_REPLAY_DURATION = 3600000; // 60 minutes in ms;\n\nfunction _nullishCoalesce$1(lhs, rhsFn) {\n if (lhs != null) {\n return lhs;\n } else {\n return rhsFn();\n }\n}\n\nfunction _optionalChain$5(ops) {\n var lastAccessLHS = undefined;\n var value = ops[0];\n var i = 1;\n\n while (i < ops.length) {\n var op = ops[i];\n var fn = ops[i + 1];\n i += 2;\n\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn(function () {\n var _value2;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (_value2 = value).call.apply(_value2, [lastAccessLHS].concat(args));\n });\n lastAccessLHS = undefined;\n }\n }\n\n return value;\n}\n\nvar NodeType$1;\n\n(function (NodeType) {\n NodeType[NodeType[\"Document\"] = 0] = \"Document\";\n NodeType[NodeType[\"DocumentType\"] = 1] = \"DocumentType\";\n NodeType[NodeType[\"Element\"] = 2] = \"Element\";\n NodeType[NodeType[\"Text\"] = 3] = \"Text\";\n NodeType[NodeType[\"CDATA\"] = 4] = \"CDATA\";\n NodeType[NodeType[\"Comment\"] = 5] = \"Comment\";\n})(NodeType$1 || (NodeType$1 = {}));\n\nfunction isElement$1(n) {\n return n.nodeType === n.ELEMENT_NODE;\n}\n\nfunction isShadowRoot(n) {\n var host = _optionalChain$5([n, 'optionalAccess', function (_) {\n return _.host;\n }]);\n\n return Boolean(_optionalChain$5([host, 'optionalAccess', function (_2) {\n return _2.shadowRoot;\n }]) === n);\n}\n\nfunction isNativeShadowDom(shadowRoot) {\n return Object.prototype.toString.call(shadowRoot) === '[object ShadowRoot]';\n}\n\nfunction fixBrowserCompatibilityIssuesInCSS(cssText) {\n if (cssText.includes(' background-clip: text;') && !cssText.includes(' -webkit-background-clip: text;')) {\n cssText = cssText.replace(' background-clip: text;', ' -webkit-background-clip: text; background-clip: text;');\n }\n\n return cssText;\n}\n\nfunction escapeImportStatement(rule) {\n var cssText = rule.cssText;\n if (cssText.split('\"').length < 3) return cssText;\n var statement = ['@import', \"url(\".concat(JSON.stringify(rule.href), \")\")];\n\n if (rule.layerName === '') {\n statement.push(\"layer\");\n } else if (rule.layerName) {\n statement.push(\"layer(\".concat(rule.layerName, \")\"));\n }\n\n if (rule.supportsText) {\n statement.push(\"supports(\".concat(rule.supportsText, \")\"));\n }\n\n if (rule.media.length) {\n statement.push(rule.media.mediaText);\n }\n\n return statement.join(' ') + ';';\n}\n\nfunction stringifyStylesheet(s) {\n try {\n var rules = s.rules || s.cssRules;\n return rules ? fixBrowserCompatibilityIssuesInCSS(Array.from(rules, stringifyRule).join('')) : null;\n } catch (error) {\n return null;\n }\n}\n\nfunction stringifyRule(rule) {\n var importStringified;\n\n if (isCSSImportRule(rule)) {\n try {\n importStringified = stringifyStylesheet(rule.styleSheet) || escapeImportStatement(rule);\n } catch (error) {}\n } else if (isCSSStyleRule(rule) && rule.selectorText.includes(':')) {\n return fixSafariColons(rule.cssText);\n }\n\n return importStringified || rule.cssText;\n}\n\nfunction fixSafariColons(cssStringified) {\n var regex = /(\\[(?:[\\w-]+)[^\\\\])(:(?:[\\w-]+)\\])/gm;\n return cssStringified.replace(regex, '$1\\\\$2');\n}\n\nfunction isCSSImportRule(rule) {\n return 'styleSheet' in rule;\n}\n\nfunction isCSSStyleRule(rule) {\n return 'selectorText' in rule;\n}\n\nvar Mirror =\n/*#__PURE__*/\nfunction () {\n function Mirror() {\n _classCallCheck(this, Mirror);\n\n this.idNodeMap = new Map();\n this.nodeMetaMap = new WeakMap();\n }\n\n _createClass(Mirror, [{\n key: \"getId\",\n value: function getId(n) {\n if (!n) return -1;\n\n var id = _optionalChain$5([this, 'access', function (_3) {\n return _3.getMeta;\n }, 'call', function (_4) {\n return _4(n);\n }, 'optionalAccess', function (_5) {\n return _5.id;\n }]);\n\n return _nullishCoalesce$1(id, function () {\n return -1;\n });\n }\n }, {\n key: \"getNode\",\n value: function getNode(id) {\n return this.idNodeMap.get(id) || null;\n }\n }, {\n key: \"getIds\",\n value: function getIds() {\n return Array.from(this.idNodeMap.keys());\n }\n }, {\n key: \"getMeta\",\n value: function getMeta(n) {\n return this.nodeMetaMap.get(n) || null;\n }\n }, {\n key: \"removeNodeFromMap\",\n value: function removeNodeFromMap(n) {\n var _this = this;\n\n var id = this.getId(n);\n this.idNodeMap[\"delete\"](id);\n\n if (n.childNodes) {\n n.childNodes.forEach(function (childNode) {\n return _this.removeNodeFromMap(childNode);\n });\n }\n }\n }, {\n key: \"has\",\n value: function has(id) {\n return this.idNodeMap.has(id);\n }\n }, {\n key: \"hasNode\",\n value: function hasNode(node) {\n return this.nodeMetaMap.has(node);\n }\n }, {\n key: \"add\",\n value: function add(n, meta) {\n var id = meta.id;\n this.idNodeMap.set(id, n);\n this.nodeMetaMap.set(n, meta);\n }\n }, {\n key: \"replace\",\n value: function replace(id, n) {\n var oldNode = this.getNode(id);\n\n if (oldNode) {\n var meta = this.nodeMetaMap.get(oldNode);\n if (meta) this.nodeMetaMap.set(n, meta);\n }\n\n this.idNodeMap.set(id, n);\n }\n }, {\n key: \"reset\",\n value: function reset() {\n this.idNodeMap = new Map();\n this.nodeMetaMap = new WeakMap();\n }\n }]);\n\n return Mirror;\n}();\n\nfunction createMirror() {\n return new Mirror();\n}\n\nfunction shouldMaskInput(_ref) {\n var maskInputOptions = _ref.maskInputOptions,\n tagName = _ref.tagName,\n type = _ref.type;\n\n if (tagName === 'OPTION') {\n tagName = 'SELECT';\n }\n\n return Boolean(maskInputOptions[tagName.toLowerCase()] || type && maskInputOptions[type] || type === 'password' || tagName === 'INPUT' && !type && maskInputOptions['text']);\n}\n\nfunction maskInputValue(_ref2) {\n var isMasked = _ref2.isMasked,\n element = _ref2.element,\n value = _ref2.value,\n maskInputFn = _ref2.maskInputFn;\n var text = value || '';\n\n if (!isMasked) {\n return text;\n }\n\n if (maskInputFn) {\n text = maskInputFn(text, element);\n }\n\n return '*'.repeat(text.length);\n}\n\nfunction toLowerCase(str) {\n return str.toLowerCase();\n}\n\nfunction toUpperCase(str) {\n return str.toUpperCase();\n}\n\nvar ORIGINAL_ATTRIBUTE_NAME = '__rrweb_original__';\n\nfunction is2DCanvasBlank(canvas) {\n var ctx = canvas.getContext('2d');\n if (!ctx) return true;\n var chunkSize = 50;\n\n for (var x = 0; x < canvas.width; x += chunkSize) {\n for (var y = 0; y < canvas.height; y += chunkSize) {\n var getImageData = ctx.getImageData;\n var originalGetImageData = ORIGINAL_ATTRIBUTE_NAME in getImageData ? getImageData[ORIGINAL_ATTRIBUTE_NAME] : getImageData;\n var pixelBuffer = new Uint32Array(originalGetImageData.call(ctx, x, y, Math.min(chunkSize, canvas.width - x), Math.min(chunkSize, canvas.height - y)).data.buffer);\n if (pixelBuffer.some(function (pixel) {\n return pixel !== 0;\n })) return false;\n }\n }\n\n return true;\n}\n\nfunction getInputType(element) {\n var type = element.type;\n return element.hasAttribute('data-rr-is-password') ? 'password' : type ? toLowerCase(type) : null;\n}\n\nfunction getInputValue(el, tagName, type) {\n if (tagName === 'INPUT' && (type === 'radio' || type === 'checkbox')) {\n return el.getAttribute('value') || '';\n }\n\n return el.value;\n}\n\nvar _id = 1;\nvar tagNameRegex = new RegExp('[^a-z0-9-_:]');\nvar IGNORED_NODE = -2;\n\nfunction genId() {\n return _id++;\n}\n\nfunction getValidTagName(element) {\n if (element instanceof HTMLFormElement) {\n return 'form';\n }\n\n var processedTagName = toLowerCase(element.tagName);\n\n if (tagNameRegex.test(processedTagName)) {\n return 'div';\n }\n\n return processedTagName;\n}\n\nfunction extractOrigin(url) {\n var origin = '';\n\n if (url.indexOf('//') > -1) {\n origin = url.split('/').slice(0, 3).join('/');\n } else {\n origin = url.split('/')[0];\n }\n\n origin = origin.split('?')[0];\n return origin;\n}\n\nvar canvasService;\nvar canvasCtx;\nvar URL_IN_CSS_REF = /url\\((?:(')([^']*)'|(\")(.*?)\"|([^)]*))\\)/gm;\nvar URL_PROTOCOL_MATCH = /^(?:[a-z+]+:)?\\/\\//i;\nvar URL_WWW_MATCH = /^www\\..*/i;\nvar DATA_URI = /^(data:)([^,]*),(.*)/i;\n\nfunction absoluteToStylesheet(cssText, href) {\n return (cssText || '').replace(URL_IN_CSS_REF, function (origin, quote1, path1, quote2, path2, path3) {\n var filePath = path1 || path2 || path3;\n var maybeQuote = quote1 || quote2 || '';\n\n if (!filePath) {\n return origin;\n }\n\n if (URL_PROTOCOL_MATCH.test(filePath) || URL_WWW_MATCH.test(filePath)) {\n return \"url(\".concat(maybeQuote).concat(filePath).concat(maybeQuote, \")\");\n }\n\n if (DATA_URI.test(filePath)) {\n return \"url(\".concat(maybeQuote).concat(filePath).concat(maybeQuote, \")\");\n }\n\n if (filePath[0] === '/') {\n return \"url(\".concat(maybeQuote).concat(extractOrigin(href) + filePath).concat(maybeQuote, \")\");\n }\n\n var stack = href.split('/');\n var parts = filePath.split('/');\n stack.pop();\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = parts[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var part = _step.value;\n\n if (part === '.') {\n continue;\n } else if (part === '..') {\n stack.pop();\n } else {\n stack.push(part);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator[\"return\"] != null) {\n _iterator[\"return\"]();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return \"url(\".concat(maybeQuote).concat(stack.join('/')).concat(maybeQuote, \")\");\n });\n}\n\nvar SRCSET_NOT_SPACES = /^[^ \\t\\n\\r\\u000c]+/;\nvar SRCSET_COMMAS_OR_SPACES = /^[, \\t\\n\\r\\u000c]+/;\n\nfunction getAbsoluteSrcsetString(doc, attributeValue) {\n if (attributeValue.trim() === '') {\n return attributeValue;\n }\n\n var pos = 0;\n\n function collectCharacters(regEx) {\n var chars;\n var match = regEx.exec(attributeValue.substring(pos));\n\n if (match) {\n chars = match[0];\n pos += chars.length;\n return chars;\n }\n\n return '';\n }\n\n var output = [];\n\n while (true) {\n collectCharacters(SRCSET_COMMAS_OR_SPACES);\n\n if (pos >= attributeValue.length) {\n break;\n }\n\n var url = collectCharacters(SRCSET_NOT_SPACES);\n\n if (url.slice(-1) === ',') {\n url = absoluteToDoc(doc, url.substring(0, url.length - 1));\n output.push(url);\n } else {\n var descriptorsStr = '';\n url = absoluteToDoc(doc, url);\n var inParens = false;\n\n while (true) {\n var c = attributeValue.charAt(pos);\n\n if (c === '') {\n output.push((url + descriptorsStr).trim());\n break;\n } else if (!inParens) {\n if (c === ',') {\n pos += 1;\n output.push((url + descriptorsStr).trim());\n break;\n } else if (c === '(') {\n inParens = true;\n }\n } else {\n if (c === ')') {\n inParens = false;\n }\n }\n\n descriptorsStr += c;\n pos += 1;\n }\n }\n }\n\n return output.join(', ');\n}\n\nfunction absoluteToDoc(doc, attributeValue) {\n if (!attributeValue || attributeValue.trim() === '') {\n return attributeValue;\n }\n\n var a = doc.createElement('a');\n a.href = attributeValue;\n return a.href;\n}\n\nfunction isSVGElement(el) {\n return Boolean(el.tagName === 'svg' || el.ownerSVGElement);\n}\n\nfunction getHref() {\n var a = document.createElement('a');\n a.href = '';\n return a.href;\n}\n\nfunction transformAttribute(doc, tagName, name, value, element, maskAttributeFn) {\n if (!value) {\n return value;\n }\n\n if (name === 'src' || name === 'href' && !(tagName === 'use' && value[0] === '#')) {\n return absoluteToDoc(doc, value);\n } else if (name === 'xlink:href' && value[0] !== '#') {\n return absoluteToDoc(doc, value);\n } else if (name === 'background' && (tagName === 'table' || tagName === 'td' || tagName === 'th')) {\n return absoluteToDoc(doc, value);\n } else if (name === 'srcset') {\n return getAbsoluteSrcsetString(doc, value);\n } else if (name === 'style') {\n return absoluteToStylesheet(value, getHref());\n } else if (tagName === 'object' && name === 'data') {\n return absoluteToDoc(doc, value);\n }\n\n if (typeof maskAttributeFn === 'function') {\n return maskAttributeFn(name, value, element);\n }\n\n return value;\n}\n\nfunction ignoreAttribute(tagName, name, _value) {\n return (tagName === 'video' || tagName === 'audio') && name === 'autoplay';\n}\n\nfunction _isBlockedElement(element, blockClass, blockSelector, unblockSelector) {\n try {\n if (unblockSelector && element.matches(unblockSelector)) {\n return false;\n }\n\n if (typeof blockClass === 'string') {\n if (element.classList.contains(blockClass)) {\n return true;\n }\n } else {\n for (var eIndex = element.classList.length; eIndex--;) {\n var className = element.classList[eIndex];\n\n if (blockClass.test(className)) {\n return true;\n }\n }\n }\n\n if (blockSelector) {\n return element.matches(blockSelector);\n }\n } catch (e) {}\n\n return false;\n}\n\nfunction elementClassMatchesRegex(el, regex) {\n for (var eIndex = el.classList.length; eIndex--;) {\n var className = el.classList[eIndex];\n\n if (regex.test(className)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction distanceToMatch(node, matchPredicate) {\n var limit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : Infinity;\n var distance = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;\n if (!node) return -1;\n if (node.nodeType !== node.ELEMENT_NODE) return -1;\n if (distance > limit) return -1;\n if (matchPredicate(node)) return distance;\n return distanceToMatch(node.parentNode, matchPredicate, limit, distance + 1);\n}\n\nfunction createMatchPredicate(className, selector) {\n return function (node) {\n var el = node;\n if (el === null) return false;\n\n try {\n if (className) {\n if (typeof className === 'string') {\n if (el.matches(\".\".concat(className))) return true;\n } else if (elementClassMatchesRegex(el, className)) {\n return true;\n }\n }\n\n if (selector && el.matches(selector)) return true;\n return false;\n } catch (e2) {\n return false;\n }\n };\n}\n\nfunction needMaskingText(node, maskTextClass, maskTextSelector, unmaskTextClass, unmaskTextSelector, maskAllText) {\n try {\n var el = node.nodeType === node.ELEMENT_NODE ? node : node.parentElement;\n if (el === null) return false;\n\n if (el.tagName === 'INPUT') {\n var autocomplete = el.getAttribute('autocomplete');\n var disallowedAutocompleteValues = ['current-password', 'new-password', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc'];\n\n if (disallowedAutocompleteValues.includes(autocomplete)) {\n return true;\n }\n }\n\n var maskDistance = -1;\n var unmaskDistance = -1;\n\n if (maskAllText) {\n unmaskDistance = distanceToMatch(el, createMatchPredicate(unmaskTextClass, unmaskTextSelector));\n\n if (unmaskDistance < 0) {\n return true;\n }\n\n maskDistance = distanceToMatch(el, createMatchPredicate(maskTextClass, maskTextSelector), unmaskDistance >= 0 ? unmaskDistance : Infinity);\n } else {\n maskDistance = distanceToMatch(el, createMatchPredicate(maskTextClass, maskTextSelector));\n\n if (maskDistance < 0) {\n return false;\n }\n\n unmaskDistance = distanceToMatch(el, createMatchPredicate(unmaskTextClass, unmaskTextSelector), maskDistance >= 0 ? maskDistance : Infinity);\n }\n\n return maskDistance >= 0 ? unmaskDistance >= 0 ? maskDistance <= unmaskDistance : true : unmaskDistance >= 0 ? false : !!maskAllText;\n } catch (e) {}\n\n return !!maskAllText;\n}\n\nfunction onceIframeLoaded(iframeEl, listener, iframeLoadTimeout) {\n var win = iframeEl.contentWindow;\n\n if (!win) {\n return;\n }\n\n var fired = false;\n var readyState;\n\n try {\n readyState = win.document.readyState;\n } catch (error) {\n return;\n }\n\n if (readyState !== 'complete') {\n var timer = setTimeout(function () {\n if (!fired) {\n listener();\n fired = true;\n }\n }, iframeLoadTimeout);\n iframeEl.addEventListener('load', function () {\n clearTimeout(timer);\n fired = true;\n listener();\n });\n return;\n }\n\n var blankUrl = 'about:blank';\n\n if (win.location.href !== blankUrl || iframeEl.src === blankUrl || iframeEl.src === '') {\n setTimeout(listener, 0);\n return iframeEl.addEventListener('load', listener);\n }\n\n iframeEl.addEventListener('load', listener);\n}\n\nfunction onceStylesheetLoaded(link, listener, styleSheetLoadTimeout) {\n var fired = false;\n var styleSheetLoaded;\n\n try {\n styleSheetLoaded = link.sheet;\n } catch (error) {\n return;\n }\n\n if (styleSheetLoaded) return;\n var timer = setTimeout(function () {\n if (!fired) {\n listener();\n fired = true;\n }\n }, styleSheetLoadTimeout);\n link.addEventListener('load', function () {\n clearTimeout(timer);\n fired = true;\n listener();\n });\n}\n\nfunction serializeNode(n, options) {\n var doc = options.doc,\n mirror = options.mirror,\n blockClass = options.blockClass,\n blockSelector = options.blockSelector,\n unblockSelector = options.unblockSelector,\n maskAllText = options.maskAllText,\n maskAttributeFn = options.maskAttributeFn,\n maskTextClass = options.maskTextClass,\n unmaskTextClass = options.unmaskTextClass,\n maskTextSelector = options.maskTextSelector,\n unmaskTextSelector = options.unmaskTextSelector,\n inlineStylesheet = options.inlineStylesheet,\n _options$maskInputOpt = options.maskInputOptions,\n maskInputOptions = _options$maskInputOpt === void 0 ? {} : _options$maskInputOpt,\n maskTextFn = options.maskTextFn,\n maskInputFn = options.maskInputFn,\n _options$dataURLOptio = options.dataURLOptions,\n dataURLOptions = _options$dataURLOptio === void 0 ? {} : _options$dataURLOptio,\n inlineImages = options.inlineImages,\n recordCanvas = options.recordCanvas,\n keepIframeSrcFn = options.keepIframeSrcFn,\n _options$newlyAddedEl = options.newlyAddedElement,\n newlyAddedElement = _options$newlyAddedEl === void 0 ? false : _options$newlyAddedEl;\n var rootId = getRootId(doc, mirror);\n\n switch (n.nodeType) {\n case n.DOCUMENT_NODE:\n if (n.compatMode !== 'CSS1Compat') {\n return {\n type: NodeType$1.Document,\n childNodes: [],\n compatMode: n.compatMode\n };\n } else {\n return {\n type: NodeType$1.Document,\n childNodes: []\n };\n }\n\n case n.DOCUMENT_TYPE_NODE:\n return {\n type: NodeType$1.DocumentType,\n name: n.name,\n publicId: n.publicId,\n systemId: n.systemId,\n rootId: rootId\n };\n\n case n.ELEMENT_NODE:\n return serializeElementNode(n, {\n doc: doc,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n inlineStylesheet: inlineStylesheet,\n maskAttributeFn: maskAttributeFn,\n maskInputOptions: maskInputOptions,\n maskInputFn: maskInputFn,\n dataURLOptions: dataURLOptions,\n inlineImages: inlineImages,\n recordCanvas: recordCanvas,\n keepIframeSrcFn: keepIframeSrcFn,\n newlyAddedElement: newlyAddedElement,\n rootId: rootId,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector\n });\n\n case n.TEXT_NODE:\n return serializeTextNode(n, {\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n maskTextFn: maskTextFn,\n maskInputOptions: maskInputOptions,\n maskInputFn: maskInputFn,\n rootId: rootId\n });\n\n case n.CDATA_SECTION_NODE:\n return {\n type: NodeType$1.CDATA,\n textContent: '',\n rootId: rootId\n };\n\n case n.COMMENT_NODE:\n return {\n type: NodeType$1.Comment,\n textContent: n.textContent || '',\n rootId: rootId\n };\n\n default:\n return false;\n }\n}\n\nfunction getRootId(doc, mirror) {\n if (!mirror.hasNode(doc)) return undefined;\n var docId = mirror.getId(doc);\n return docId === 1 ? undefined : docId;\n}\n\nfunction serializeTextNode(n, options) {\n var maskAllText = options.maskAllText,\n maskTextClass = options.maskTextClass,\n unmaskTextClass = options.unmaskTextClass,\n maskTextSelector = options.maskTextSelector,\n unmaskTextSelector = options.unmaskTextSelector,\n maskTextFn = options.maskTextFn,\n maskInputOptions = options.maskInputOptions,\n maskInputFn = options.maskInputFn,\n rootId = options.rootId;\n var parentTagName = n.parentNode && n.parentNode.tagName;\n var textContent = n.textContent;\n var isStyle = parentTagName === 'STYLE' ? true : undefined;\n var isScript = parentTagName === 'SCRIPT' ? true : undefined;\n var isTextarea = parentTagName === 'TEXTAREA' ? true : undefined;\n\n if (isStyle && textContent) {\n try {\n if (n.nextSibling || n.previousSibling) {} else if (_optionalChain$5([n, 'access', function (_6) {\n return _6.parentNode;\n }, 'access', function (_7) {\n return _7.sheet;\n }, 'optionalAccess', function (_8) {\n return _8.cssRules;\n }])) {\n textContent = stringifyStylesheet(n.parentNode.sheet);\n }\n } catch (err) {\n console.warn(\"Cannot get CSS styles from text's parentNode. Error: \".concat(err), n);\n }\n\n textContent = absoluteToStylesheet(textContent, getHref());\n }\n\n if (isScript) {\n textContent = 'SCRIPT_PLACEHOLDER';\n }\n\n var forceMask = needMaskingText(n, maskTextClass, maskTextSelector, unmaskTextClass, unmaskTextSelector, maskAllText);\n\n if (!isStyle && !isScript && !isTextarea && textContent && forceMask) {\n textContent = maskTextFn ? maskTextFn(textContent) : textContent.replace(/[\\S]/g, '*');\n }\n\n if (isTextarea && textContent && (maskInputOptions.textarea || forceMask)) {\n textContent = maskInputFn ? maskInputFn(textContent, n.parentNode) : textContent.replace(/[\\S]/g, '*');\n }\n\n if (parentTagName === 'OPTION' && textContent) {\n var isInputMasked = shouldMaskInput({\n type: null,\n tagName: parentTagName,\n maskInputOptions: maskInputOptions\n });\n textContent = maskInputValue({\n isMasked: needMaskingText(n, maskTextClass, maskTextSelector, unmaskTextClass, unmaskTextSelector, isInputMasked),\n element: n,\n value: textContent,\n maskInputFn: maskInputFn\n });\n }\n\n return {\n type: NodeType$1.Text,\n textContent: textContent || '',\n isStyle: isStyle,\n rootId: rootId\n };\n}\n\nfunction serializeElementNode(n, options) {\n var doc = options.doc,\n blockClass = options.blockClass,\n blockSelector = options.blockSelector,\n unblockSelector = options.unblockSelector,\n inlineStylesheet = options.inlineStylesheet,\n _options$maskInputOpt2 = options.maskInputOptions,\n maskInputOptions = _options$maskInputOpt2 === void 0 ? {} : _options$maskInputOpt2,\n maskAttributeFn = options.maskAttributeFn,\n maskInputFn = options.maskInputFn,\n _options$dataURLOptio2 = options.dataURLOptions,\n dataURLOptions = _options$dataURLOptio2 === void 0 ? {} : _options$dataURLOptio2,\n inlineImages = options.inlineImages,\n recordCanvas = options.recordCanvas,\n keepIframeSrcFn = options.keepIframeSrcFn,\n _options$newlyAddedEl2 = options.newlyAddedElement,\n newlyAddedElement = _options$newlyAddedEl2 === void 0 ? false : _options$newlyAddedEl2,\n rootId = options.rootId,\n maskAllText = options.maskAllText,\n maskTextClass = options.maskTextClass,\n unmaskTextClass = options.unmaskTextClass,\n maskTextSelector = options.maskTextSelector,\n unmaskTextSelector = options.unmaskTextSelector;\n\n var needBlock = _isBlockedElement(n, blockClass, blockSelector, unblockSelector);\n\n var tagName = getValidTagName(n);\n var attributes = {};\n var len = n.attributes.length;\n\n for (var i = 0; i < len; i++) {\n var attr = n.attributes[i];\n\n if (attr.name && !ignoreAttribute(tagName, attr.name, attr.value)) {\n attributes[attr.name] = transformAttribute(doc, tagName, toLowerCase(attr.name), attr.value, n, maskAttributeFn);\n }\n }\n\n if (tagName === 'link' && inlineStylesheet) {\n var stylesheet = Array.from(doc.styleSheets).find(function (s) {\n return s.href === n.href;\n });\n var cssText = null;\n\n if (stylesheet) {\n cssText = stringifyStylesheet(stylesheet);\n }\n\n if (cssText) {\n delete attributes.rel;\n delete attributes.href;\n attributes._cssText = absoluteToStylesheet(cssText, stylesheet.href);\n }\n }\n\n if (tagName === 'style' && n.sheet && !(n.innerText || n.textContent || '').trim().length) {\n var _cssText = stringifyStylesheet(n.sheet);\n\n if (_cssText) {\n attributes._cssText = absoluteToStylesheet(_cssText, getHref());\n }\n }\n\n if (tagName === 'input' || tagName === 'textarea' || tagName === 'select' || tagName === 'option') {\n var el = n;\n var type = getInputType(el);\n var value = getInputValue(el, toUpperCase(tagName), type);\n var checked = el.checked;\n\n if (type !== 'submit' && type !== 'button' && value) {\n var forceMask = needMaskingText(el, maskTextClass, maskTextSelector, unmaskTextClass, unmaskTextSelector, shouldMaskInput({\n type: type,\n tagName: toUpperCase(tagName),\n maskInputOptions: maskInputOptions\n }));\n attributes.value = maskInputValue({\n isMasked: forceMask,\n element: el,\n value: value,\n maskInputFn: maskInputFn\n });\n }\n\n if (checked) {\n attributes.checked = checked;\n }\n }\n\n if (tagName === 'option') {\n if (n.selected && !maskInputOptions['select']) {\n attributes.selected = true;\n } else {\n delete attributes.selected;\n }\n }\n\n if (tagName === 'canvas' && recordCanvas) {\n if (n.__context === '2d') {\n if (!is2DCanvasBlank(n)) {\n attributes.rr_dataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);\n }\n } else if (!('__context' in n)) {\n var canvasDataURL = n.toDataURL(dataURLOptions.type, dataURLOptions.quality);\n var blankCanvas = document.createElement('canvas');\n blankCanvas.width = n.width;\n blankCanvas.height = n.height;\n var blankCanvasDataURL = blankCanvas.toDataURL(dataURLOptions.type, dataURLOptions.quality);\n\n if (canvasDataURL !== blankCanvasDataURL) {\n attributes.rr_dataURL = canvasDataURL;\n }\n }\n }\n\n if (tagName === 'img' && inlineImages) {\n if (!canvasService) {\n canvasService = doc.createElement('canvas');\n canvasCtx = canvasService.getContext('2d');\n }\n\n var image = n;\n var oldValue = image.crossOrigin;\n image.crossOrigin = 'anonymous';\n\n var recordInlineImage = function recordInlineImage() {\n image.removeEventListener('load', recordInlineImage);\n\n try {\n canvasService.width = image.naturalWidth;\n canvasService.height = image.naturalHeight;\n canvasCtx.drawImage(image, 0, 0);\n attributes.rr_dataURL = canvasService.toDataURL(dataURLOptions.type, dataURLOptions.quality);\n } catch (err) {\n console.warn(\"Cannot inline img src=\".concat(image.currentSrc, \"! Error: \").concat(err));\n }\n\n oldValue ? attributes.crossOrigin = oldValue : image.removeAttribute('crossorigin');\n };\n\n if (image.complete && image.naturalWidth !== 0) recordInlineImage();else image.addEventListener('load', recordInlineImage);\n }\n\n if (tagName === 'audio' || tagName === 'video') {\n attributes.rr_mediaState = n.paused ? 'paused' : 'played';\n attributes.rr_mediaCurrentTime = n.currentTime;\n }\n\n if (!newlyAddedElement) {\n if (n.scrollLeft) {\n attributes.rr_scrollLeft = n.scrollLeft;\n }\n\n if (n.scrollTop) {\n attributes.rr_scrollTop = n.scrollTop;\n }\n }\n\n if (needBlock) {\n var _n$getBoundingClientR = n.getBoundingClientRect(),\n width = _n$getBoundingClientR.width,\n height = _n$getBoundingClientR.height;\n\n attributes = {\n \"class\": attributes[\"class\"],\n rr_width: \"\".concat(width, \"px\"),\n rr_height: \"\".concat(height, \"px\")\n };\n }\n\n if (tagName === 'iframe' && !keepIframeSrcFn(attributes.src)) {\n if (!n.contentDocument) {\n attributes.rr_src = attributes.src;\n }\n\n delete attributes.src;\n }\n\n var isCustomElement;\n\n try {\n if (customElements.get(tagName)) isCustomElement = true;\n } catch (e) {}\n\n return {\n type: NodeType$1.Element,\n tagName: tagName,\n attributes: attributes,\n childNodes: [],\n isSVG: isSVGElement(n) || undefined,\n needBlock: needBlock,\n rootId: rootId,\n isCustom: isCustomElement\n };\n}\n\nfunction lowerIfExists(maybeAttr) {\n if (maybeAttr === undefined || maybeAttr === null) {\n return '';\n } else {\n return maybeAttr.toLowerCase();\n }\n}\n\nfunction slimDOMExcluded(sn, slimDOMOptions) {\n if (slimDOMOptions.comment && sn.type === NodeType$1.Comment) {\n return true;\n } else if (sn.type === NodeType$1.Element) {\n if (slimDOMOptions.script && (sn.tagName === 'script' || sn.tagName === 'link' && (sn.attributes.rel === 'preload' || sn.attributes.rel === 'modulepreload') && sn.attributes.as === 'script' || sn.tagName === 'link' && sn.attributes.rel === 'prefetch' && typeof sn.attributes.href === 'string' && sn.attributes.href.endsWith('.js'))) {\n return true;\n } else if (slimDOMOptions.headFavicon && (sn.tagName === 'link' && sn.attributes.rel === 'shortcut icon' || sn.tagName === 'meta' && (lowerIfExists(sn.attributes.name).match(/^msapplication-tile(image|color)$/) || lowerIfExists(sn.attributes.name) === 'application-name' || lowerIfExists(sn.attributes.rel) === 'icon' || lowerIfExists(sn.attributes.rel) === 'apple-touch-icon' || lowerIfExists(sn.attributes.rel) === 'shortcut icon'))) {\n return true;\n } else if (sn.tagName === 'meta') {\n if (slimDOMOptions.headMetaDescKeywords && lowerIfExists(sn.attributes.name).match(/^description|keywords$/)) {\n return true;\n } else if (slimDOMOptions.headMetaSocial && (lowerIfExists(sn.attributes.property).match(/^(og|twitter|fb):/) || lowerIfExists(sn.attributes.name).match(/^(og|twitter):/) || lowerIfExists(sn.attributes.name) === 'pinterest')) {\n return true;\n } else if (slimDOMOptions.headMetaRobots && (lowerIfExists(sn.attributes.name) === 'robots' || lowerIfExists(sn.attributes.name) === 'googlebot' || lowerIfExists(sn.attributes.name) === 'bingbot')) {\n return true;\n } else if (slimDOMOptions.headMetaHttpEquiv && sn.attributes['http-equiv'] !== undefined) {\n return true;\n } else if (slimDOMOptions.headMetaAuthorship && (lowerIfExists(sn.attributes.name) === 'author' || lowerIfExists(sn.attributes.name) === 'generator' || lowerIfExists(sn.attributes.name) === 'framework' || lowerIfExists(sn.attributes.name) === 'publisher' || lowerIfExists(sn.attributes.name) === 'progid' || lowerIfExists(sn.attributes.property).match(/^article:/) || lowerIfExists(sn.attributes.property).match(/^product:/))) {\n return true;\n } else if (slimDOMOptions.headMetaVerification && (lowerIfExists(sn.attributes.name) === 'google-site-verification' || lowerIfExists(sn.attributes.name) === 'yandex-verification' || lowerIfExists(sn.attributes.name) === 'csrf-token' || lowerIfExists(sn.attributes.name) === 'p:domain_verify' || lowerIfExists(sn.attributes.name) === 'verify-v1' || lowerIfExists(sn.attributes.name) === 'verification' || lowerIfExists(sn.attributes.name) === 'shopify-checkout-api-token')) {\n return true;\n }\n }\n }\n\n return false;\n}\n\nfunction serializeNodeWithId(n, options) {\n var doc = options.doc,\n mirror = options.mirror,\n blockClass = options.blockClass,\n blockSelector = options.blockSelector,\n unblockSelector = options.unblockSelector,\n maskAllText = options.maskAllText,\n maskTextClass = options.maskTextClass,\n unmaskTextClass = options.unmaskTextClass,\n maskTextSelector = options.maskTextSelector,\n unmaskTextSelector = options.unmaskTextSelector,\n _options$skipChild = options.skipChild,\n skipChild = _options$skipChild === void 0 ? false : _options$skipChild,\n _options$inlineStyles = options.inlineStylesheet,\n inlineStylesheet = _options$inlineStyles === void 0 ? true : _options$inlineStyles,\n _options$maskInputOpt3 = options.maskInputOptions,\n maskInputOptions = _options$maskInputOpt3 === void 0 ? {} : _options$maskInputOpt3,\n maskAttributeFn = options.maskAttributeFn,\n maskTextFn = options.maskTextFn,\n maskInputFn = options.maskInputFn,\n slimDOMOptions = options.slimDOMOptions,\n _options$dataURLOptio3 = options.dataURLOptions,\n dataURLOptions = _options$dataURLOptio3 === void 0 ? {} : _options$dataURLOptio3,\n _options$inlineImages = options.inlineImages,\n inlineImages = _options$inlineImages === void 0 ? false : _options$inlineImages,\n _options$recordCanvas = options.recordCanvas,\n recordCanvas = _options$recordCanvas === void 0 ? false : _options$recordCanvas,\n onSerialize = options.onSerialize,\n onIframeLoad = options.onIframeLoad,\n _options$iframeLoadTi = options.iframeLoadTimeout,\n iframeLoadTimeout = _options$iframeLoadTi === void 0 ? 5000 : _options$iframeLoadTi,\n onStylesheetLoad = options.onStylesheetLoad,\n _options$stylesheetLo = options.stylesheetLoadTimeout,\n stylesheetLoadTimeout = _options$stylesheetLo === void 0 ? 5000 : _options$stylesheetLo,\n _options$keepIframeSr = options.keepIframeSrcFn,\n keepIframeSrcFn = _options$keepIframeSr === void 0 ? function () {\n return false;\n } : _options$keepIframeSr,\n _options$newlyAddedEl3 = options.newlyAddedElement,\n newlyAddedElement = _options$newlyAddedEl3 === void 0 ? false : _options$newlyAddedEl3;\n var _options$preserveWhit = options.preserveWhiteSpace,\n preserveWhiteSpace = _options$preserveWhit === void 0 ? true : _options$preserveWhit;\n\n var _serializedNode = serializeNode(n, {\n doc: doc,\n mirror: mirror,\n blockClass: blockClass,\n blockSelector: blockSelector,\n maskAllText: maskAllText,\n unblockSelector: unblockSelector,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n inlineStylesheet: inlineStylesheet,\n maskInputOptions: maskInputOptions,\n maskAttributeFn: maskAttributeFn,\n maskTextFn: maskTextFn,\n maskInputFn: maskInputFn,\n dataURLOptions: dataURLOptions,\n inlineImages: inlineImages,\n recordCanvas: recordCanvas,\n keepIframeSrcFn: keepIframeSrcFn,\n newlyAddedElement: newlyAddedElement\n });\n\n if (!_serializedNode) {\n console.warn(n, 'not serialized');\n return null;\n }\n\n var id;\n\n if (mirror.hasNode(n)) {\n id = mirror.getId(n);\n } else if (slimDOMExcluded(_serializedNode, slimDOMOptions) || !preserveWhiteSpace && _serializedNode.type === NodeType$1.Text && !_serializedNode.isStyle && !_serializedNode.textContent.replace(/^\\s+|\\s+$/gm, '').length) {\n id = IGNORED_NODE;\n } else {\n id = genId();\n }\n\n var serializedNode = Object.assign(_serializedNode, {\n id: id\n });\n mirror.add(n, serializedNode);\n\n if (id === IGNORED_NODE) {\n return null;\n }\n\n if (onSerialize) {\n onSerialize(n);\n }\n\n var recordChild = !skipChild;\n\n if (serializedNode.type === NodeType$1.Element) {\n recordChild = recordChild && !serializedNode.needBlock;\n delete serializedNode.needBlock;\n var shadowRoot = n.shadowRoot;\n if (shadowRoot && isNativeShadowDom(shadowRoot)) serializedNode.isShadowHost = true;\n }\n\n if ((serializedNode.type === NodeType$1.Document || serializedNode.type === NodeType$1.Element) && recordChild) {\n if (slimDOMOptions.headWhitespace && serializedNode.type === NodeType$1.Element && serializedNode.tagName === 'head') {\n preserveWhiteSpace = false;\n }\n\n var bypassOptions = {\n doc: doc,\n mirror: mirror,\n blockClass: blockClass,\n blockSelector: blockSelector,\n maskAllText: maskAllText,\n unblockSelector: unblockSelector,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n skipChild: skipChild,\n inlineStylesheet: inlineStylesheet,\n maskInputOptions: maskInputOptions,\n maskAttributeFn: maskAttributeFn,\n maskTextFn: maskTextFn,\n maskInputFn: maskInputFn,\n slimDOMOptions: slimDOMOptions,\n dataURLOptions: dataURLOptions,\n inlineImages: inlineImages,\n recordCanvas: recordCanvas,\n preserveWhiteSpace: preserveWhiteSpace,\n onSerialize: onSerialize,\n onIframeLoad: onIframeLoad,\n iframeLoadTimeout: iframeLoadTimeout,\n onStylesheetLoad: onStylesheetLoad,\n stylesheetLoadTimeout: stylesheetLoadTimeout,\n keepIframeSrcFn: keepIframeSrcFn\n };\n\n for (var _i = 0, _Array$from = Array.from(n.childNodes); _i < _Array$from.length; _i++) {\n var _childN = _Array$from[_i];\n\n var _serializedChildNode = serializeNodeWithId(_childN, bypassOptions);\n\n if (_serializedChildNode) {\n serializedNode.childNodes.push(_serializedChildNode);\n }\n }\n\n if (isElement$1(n) && n.shadowRoot) {\n for (var _i2 = 0, _Array$from2 = Array.from(n.shadowRoot.childNodes); _i2 < _Array$from2.length; _i2++) {\n var childN = _Array$from2[_i2];\n var serializedChildNode = serializeNodeWithId(childN, bypassOptions);\n\n if (serializedChildNode) {\n isNativeShadowDom(n.shadowRoot) && (serializedChildNode.isShadow = true);\n serializedNode.childNodes.push(serializedChildNode);\n }\n }\n }\n }\n\n if (n.parentNode && isShadowRoot(n.parentNode) && isNativeShadowDom(n.parentNode)) {\n serializedNode.isShadow = true;\n }\n\n if (serializedNode.type === NodeType$1.Element && serializedNode.tagName === 'iframe') {\n onceIframeLoaded(n, function () {\n var iframeDoc = n.contentDocument;\n\n if (iframeDoc && onIframeLoad) {\n var serializedIframeNode = serializeNodeWithId(iframeDoc, {\n doc: iframeDoc,\n mirror: mirror,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n skipChild: false,\n inlineStylesheet: inlineStylesheet,\n maskInputOptions: maskInputOptions,\n maskAttributeFn: maskAttributeFn,\n maskTextFn: maskTextFn,\n maskInputFn: maskInputFn,\n slimDOMOptions: slimDOMOptions,\n dataURLOptions: dataURLOptions,\n inlineImages: inlineImages,\n recordCanvas: recordCanvas,\n preserveWhiteSpace: preserveWhiteSpace,\n onSerialize: onSerialize,\n onIframeLoad: onIframeLoad,\n iframeLoadTimeout: iframeLoadTimeout,\n onStylesheetLoad: onStylesheetLoad,\n stylesheetLoadTimeout: stylesheetLoadTimeout,\n keepIframeSrcFn: keepIframeSrcFn\n });\n\n if (serializedIframeNode) {\n onIframeLoad(n, serializedIframeNode);\n }\n }\n }, iframeLoadTimeout);\n }\n\n if (serializedNode.type === NodeType$1.Element && serializedNode.tagName === 'link' && serializedNode.attributes.rel === 'stylesheet') {\n onceStylesheetLoaded(n, function () {\n if (onStylesheetLoad) {\n var serializedLinkNode = serializeNodeWithId(n, {\n doc: doc,\n mirror: mirror,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n skipChild: false,\n inlineStylesheet: inlineStylesheet,\n maskInputOptions: maskInputOptions,\n maskAttributeFn: maskAttributeFn,\n maskTextFn: maskTextFn,\n maskInputFn: maskInputFn,\n slimDOMOptions: slimDOMOptions,\n dataURLOptions: dataURLOptions,\n inlineImages: inlineImages,\n recordCanvas: recordCanvas,\n preserveWhiteSpace: preserveWhiteSpace,\n onSerialize: onSerialize,\n onIframeLoad: onIframeLoad,\n iframeLoadTimeout: iframeLoadTimeout,\n onStylesheetLoad: onStylesheetLoad,\n stylesheetLoadTimeout: stylesheetLoadTimeout,\n keepIframeSrcFn: keepIframeSrcFn\n });\n\n if (serializedLinkNode) {\n onStylesheetLoad(n, serializedLinkNode);\n }\n }\n }, stylesheetLoadTimeout);\n }\n\n return serializedNode;\n}\n\nfunction snapshot(n, options) {\n var _ref3 = options || {},\n _ref3$mirror = _ref3.mirror,\n mirror = _ref3$mirror === void 0 ? new Mirror() : _ref3$mirror,\n _ref3$blockClass = _ref3.blockClass,\n blockClass = _ref3$blockClass === void 0 ? 'rr-block' : _ref3$blockClass,\n _ref3$blockSelector = _ref3.blockSelector,\n blockSelector = _ref3$blockSelector === void 0 ? null : _ref3$blockSelector,\n _ref3$unblockSelector = _ref3.unblockSelector,\n unblockSelector = _ref3$unblockSelector === void 0 ? null : _ref3$unblockSelector,\n _ref3$maskAllText = _ref3.maskAllText,\n maskAllText = _ref3$maskAllText === void 0 ? false : _ref3$maskAllText,\n _ref3$maskTextClass = _ref3.maskTextClass,\n maskTextClass = _ref3$maskTextClass === void 0 ? 'rr-mask' : _ref3$maskTextClass,\n _ref3$unmaskTextClass = _ref3.unmaskTextClass,\n unmaskTextClass = _ref3$unmaskTextClass === void 0 ? null : _ref3$unmaskTextClass,\n _ref3$maskTextSelecto = _ref3.maskTextSelector,\n maskTextSelector = _ref3$maskTextSelecto === void 0 ? null : _ref3$maskTextSelecto,\n _ref3$unmaskTextSelec = _ref3.unmaskTextSelector,\n unmaskTextSelector = _ref3$unmaskTextSelec === void 0 ? null : _ref3$unmaskTextSelec,\n _ref3$inlineStyleshee = _ref3.inlineStylesheet,\n inlineStylesheet = _ref3$inlineStyleshee === void 0 ? true : _ref3$inlineStyleshee,\n _ref3$inlineImages = _ref3.inlineImages,\n inlineImages = _ref3$inlineImages === void 0 ? false : _ref3$inlineImages,\n _ref3$recordCanvas = _ref3.recordCanvas,\n recordCanvas = _ref3$recordCanvas === void 0 ? false : _ref3$recordCanvas,\n _ref3$maskAllInputs = _ref3.maskAllInputs,\n maskAllInputs = _ref3$maskAllInputs === void 0 ? false : _ref3$maskAllInputs,\n maskAttributeFn = _ref3.maskAttributeFn,\n maskTextFn = _ref3.maskTextFn,\n maskInputFn = _ref3.maskInputFn,\n _ref3$slimDOM = _ref3.slimDOM,\n slimDOM = _ref3$slimDOM === void 0 ? false : _ref3$slimDOM,\n dataURLOptions = _ref3.dataURLOptions,\n preserveWhiteSpace = _ref3.preserveWhiteSpace,\n onSerialize = _ref3.onSerialize,\n onIframeLoad = _ref3.onIframeLoad,\n iframeLoadTimeout = _ref3.iframeLoadTimeout,\n onStylesheetLoad = _ref3.onStylesheetLoad,\n stylesheetLoadTimeout = _ref3.stylesheetLoadTimeout,\n _ref3$keepIframeSrcFn = _ref3.keepIframeSrcFn,\n keepIframeSrcFn = _ref3$keepIframeSrcFn === void 0 ? function () {\n return false;\n } : _ref3$keepIframeSrcFn;\n\n var maskInputOptions = maskAllInputs === true ? {\n color: true,\n date: true,\n 'datetime-local': true,\n email: true,\n month: true,\n number: true,\n range: true,\n search: true,\n tel: true,\n text: true,\n time: true,\n url: true,\n week: true,\n textarea: true,\n select: true\n } : maskAllInputs === false ? {} : maskAllInputs;\n var slimDOMOptions = slimDOM === true || slimDOM === 'all' ? {\n script: true,\n comment: true,\n headFavicon: true,\n headWhitespace: true,\n headMetaDescKeywords: slimDOM === 'all',\n headMetaSocial: true,\n headMetaRobots: true,\n headMetaHttpEquiv: true,\n headMetaAuthorship: true,\n headMetaVerification: true\n } : slimDOM === false ? {} : slimDOM;\n return serializeNodeWithId(n, {\n doc: n,\n mirror: mirror,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n skipChild: false,\n inlineStylesheet: inlineStylesheet,\n maskInputOptions: maskInputOptions,\n maskAttributeFn: maskAttributeFn,\n maskTextFn: maskTextFn,\n maskInputFn: maskInputFn,\n slimDOMOptions: slimDOMOptions,\n dataURLOptions: dataURLOptions,\n inlineImages: inlineImages,\n recordCanvas: recordCanvas,\n preserveWhiteSpace: preserveWhiteSpace,\n onSerialize: onSerialize,\n onIframeLoad: onIframeLoad,\n iframeLoadTimeout: iframeLoadTimeout,\n onStylesheetLoad: onStylesheetLoad,\n stylesheetLoadTimeout: stylesheetLoadTimeout,\n keepIframeSrcFn: keepIframeSrcFn,\n newlyAddedElement: false\n });\n}\n\nfunction _optionalChain$4(ops) {\n var lastAccessLHS = undefined;\n var value = ops[0];\n var i = 1;\n\n while (i < ops.length) {\n var op = ops[i];\n var fn = ops[i + 1];\n i += 2;\n\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn(function () {\n var _value3;\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return (_value3 = value).call.apply(_value3, [lastAccessLHS].concat(args));\n });\n lastAccessLHS = undefined;\n }\n }\n\n return value;\n}\n\nfunction on(type, fn) {\n var target = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document;\n var options = {\n capture: true,\n passive: true\n };\n target.addEventListener(type, fn, options);\n return function () {\n return target.removeEventListener(type, fn, options);\n };\n}\n\nvar DEPARTED_MIRROR_ACCESS_WARNING = 'Please stop import mirror directly. Instead of that,' + '\\r\\n' + 'now you can use replayer.getMirror() to access the mirror instance of a replayer,' + '\\r\\n' + 'or you can use record.mirror to access the mirror instance during recording.';\nvar _mirror = {\n map: {},\n getId: function getId() {\n console.error(DEPARTED_MIRROR_ACCESS_WARNING);\n return -1;\n },\n getNode: function getNode() {\n console.error(DEPARTED_MIRROR_ACCESS_WARNING);\n return null;\n },\n removeNodeFromMap: function removeNodeFromMap() {\n console.error(DEPARTED_MIRROR_ACCESS_WARNING);\n },\n has: function has() {\n console.error(DEPARTED_MIRROR_ACCESS_WARNING);\n return false;\n },\n reset: function reset() {\n console.error(DEPARTED_MIRROR_ACCESS_WARNING);\n }\n};\n\nif (typeof window !== 'undefined' && window.Proxy && window.Reflect) {\n _mirror = new Proxy(_mirror, {\n get: function get(target, prop, receiver) {\n if (prop === 'map') {\n console.error(DEPARTED_MIRROR_ACCESS_WARNING);\n }\n\n return Reflect.get(target, prop, receiver);\n }\n });\n}\n\nfunction throttle$1(func, wait) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var timeout = null;\n var previous = 0;\n return function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n var now = Date.now();\n\n if (!previous && options.leading === false) {\n previous = now;\n }\n\n var remaining = wait - (now - previous);\n var context = this;\n\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n\n previous = now;\n func.apply(context, args);\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(function () {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n func.apply(context, args);\n }, remaining);\n }\n };\n}\n\nfunction hookSetter(target, key, d, isRevoked) {\n var win = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : window;\n var original = win.Object.getOwnPropertyDescriptor(target, key);\n win.Object.defineProperty(target, key, isRevoked ? d : {\n set: function set(value) {\n var _this2 = this;\n\n setTimeout(function () {\n d.set.call(_this2, value);\n }, 0);\n\n if (original && original.set) {\n original.set.call(this, value);\n }\n }\n });\n return function () {\n return hookSetter(target, key, original || {}, true);\n };\n}\n\nfunction patch(source, name, replacement) {\n try {\n if (!(name in source)) {\n return function () {};\n }\n\n var original = source[name];\n var wrapped = replacement(original);\n\n if (typeof wrapped === 'function') {\n wrapped.prototype = wrapped.prototype || {};\n Object.defineProperties(wrapped, {\n __rrweb_original__: {\n enumerable: false,\n value: original\n }\n });\n }\n\n source[name] = wrapped;\n return function () {\n source[name] = original;\n };\n } catch (e2) {\n return function () {};\n }\n}\n\nvar nowTimestamp = Date.now;\n\nif (!/[1-9][0-9]{12}/.test(Date.now().toString())) {\n nowTimestamp = function nowTimestamp() {\n return new Date().getTime();\n };\n}\n\nfunction getWindowScroll(win) {\n var doc = win.document;\n return {\n left: doc.scrollingElement ? doc.scrollingElement.scrollLeft : win.pageXOffset !== undefined ? win.pageXOffset : _optionalChain$4([doc, 'optionalAccess', function (_) {\n return _.documentElement;\n }, 'access', function (_2) {\n return _2.scrollLeft;\n }]) || _optionalChain$4([doc, 'optionalAccess', function (_3) {\n return _3.body;\n }, 'optionalAccess', function (_4) {\n return _4.parentElement;\n }, 'optionalAccess', function (_5) {\n return _5.scrollLeft;\n }]) || _optionalChain$4([doc, 'optionalAccess', function (_6) {\n return _6.body;\n }, 'optionalAccess', function (_7) {\n return _7.scrollLeft;\n }]) || 0,\n top: doc.scrollingElement ? doc.scrollingElement.scrollTop : win.pageYOffset !== undefined ? win.pageYOffset : _optionalChain$4([doc, 'optionalAccess', function (_8) {\n return _8.documentElement;\n }, 'access', function (_9) {\n return _9.scrollTop;\n }]) || _optionalChain$4([doc, 'optionalAccess', function (_10) {\n return _10.body;\n }, 'optionalAccess', function (_11) {\n return _11.parentElement;\n }, 'optionalAccess', function (_12) {\n return _12.scrollTop;\n }]) || _optionalChain$4([doc, 'optionalAccess', function (_13) {\n return _13.body;\n }, 'optionalAccess', function (_14) {\n return _14.scrollTop;\n }]) || 0\n };\n}\n\nfunction getWindowHeight() {\n return window.innerHeight || document.documentElement && document.documentElement.clientHeight || document.body && document.body.clientHeight;\n}\n\nfunction getWindowWidth() {\n return window.innerWidth || document.documentElement && document.documentElement.clientWidth || document.body && document.body.clientWidth;\n}\n\nfunction isBlocked(node, blockClass, blockSelector, unblockSelector, checkAncestors) {\n if (!node) {\n return false;\n }\n\n var el = node.nodeType === node.ELEMENT_NODE ? node : node.parentElement;\n if (!el) return false;\n var blockedPredicate = createMatchPredicate(blockClass, blockSelector);\n\n if (!checkAncestors) {\n var isUnblocked = unblockSelector && el.matches(unblockSelector);\n return blockedPredicate(el) && !isUnblocked;\n }\n\n var blockDistance = distanceToMatch(el, blockedPredicate);\n var unblockDistance = -1;\n\n if (blockDistance < 0) {\n return false;\n }\n\n if (unblockSelector) {\n unblockDistance = distanceToMatch(el, createMatchPredicate(null, unblockSelector));\n }\n\n if (blockDistance > -1 && unblockDistance < 0) {\n return true;\n }\n\n return blockDistance < unblockDistance;\n}\n\nfunction isSerialized(n, mirror) {\n return mirror.getId(n) !== -1;\n}\n\nfunction isIgnored(n, mirror) {\n return mirror.getId(n) === IGNORED_NODE;\n}\n\nfunction isAncestorRemoved(target, mirror) {\n if (isShadowRoot(target)) {\n return false;\n }\n\n var id = mirror.getId(target);\n\n if (!mirror.has(id)) {\n return true;\n }\n\n if (target.parentNode && target.parentNode.nodeType === target.DOCUMENT_NODE) {\n return false;\n }\n\n if (!target.parentNode) {\n return true;\n }\n\n return isAncestorRemoved(target.parentNode, mirror);\n}\n\nfunction legacy_isTouchEvent(event) {\n return Boolean(event.changedTouches);\n}\n\nfunction polyfill() {\n var _this3 = this;\n\n var win = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : window;\n\n if ('NodeList' in win && !win.NodeList.prototype.forEach) {\n win.NodeList.prototype.forEach = Array.prototype.forEach;\n }\n\n if ('DOMTokenList' in win && !win.DOMTokenList.prototype.forEach) {\n win.DOMTokenList.prototype.forEach = Array.prototype.forEach;\n }\n\n if (!Node.prototype.contains) {\n Node.prototype.contains = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n var node = args[0];\n\n if (!(0 in args)) {\n throw new TypeError('1 argument is required');\n }\n\n do {\n if (_this3 === node) {\n return true;\n }\n } while (node = node && node.parentNode);\n\n return false;\n };\n }\n}\n\nfunction isSerializedIframe(n, mirror) {\n return Boolean(n.nodeName === 'IFRAME' && mirror.getMeta(n));\n}\n\nfunction isSerializedStylesheet(n, mirror) {\n return Boolean(n.nodeName === 'LINK' && n.nodeType === n.ELEMENT_NODE && n.getAttribute && n.getAttribute('rel') === 'stylesheet' && mirror.getMeta(n));\n}\n\nfunction hasShadowRoot(n) {\n return Boolean(_optionalChain$4([n, 'optionalAccess', function (_18) {\n return _18.shadowRoot;\n }]));\n}\n\nvar StyleSheetMirror =\n/*#__PURE__*/\nfunction () {\n function StyleSheetMirror() {\n _classCallCheck(this, StyleSheetMirror);\n\n this.id = 1;\n this.styleIDMap = new WeakMap();\n this.idStyleMap = new Map();\n }\n\n _createClass(StyleSheetMirror, [{\n key: \"getId\",\n value: function getId(stylesheet) {\n return _nullishCoalesce(this.styleIDMap.get(stylesheet), function () {\n return -1;\n });\n }\n }, {\n key: \"has\",\n value: function has(stylesheet) {\n return this.styleIDMap.has(stylesheet);\n }\n }, {\n key: \"add\",\n value: function add(stylesheet, id) {\n if (this.has(stylesheet)) return this.getId(stylesheet);\n var newId;\n\n if (id === undefined) {\n newId = this.id++;\n } else newId = id;\n\n this.styleIDMap.set(stylesheet, newId);\n this.idStyleMap.set(newId, stylesheet);\n return newId;\n }\n }, {\n key: \"getStyle\",\n value: function getStyle(id) {\n return this.idStyleMap.get(id) || null;\n }\n }, {\n key: \"reset\",\n value: function reset() {\n this.styleIDMap = new WeakMap();\n this.idStyleMap = new Map();\n this.id = 1;\n }\n }, {\n key: \"generateId\",\n value: function generateId() {\n return this.id++;\n }\n }]);\n\n return StyleSheetMirror;\n}();\n\nfunction getShadowHost(n) {\n var shadowHost = null;\n if (_optionalChain$4([n, 'access', function (_19) {\n return _19.getRootNode;\n }, 'optionalCall', function (_20) {\n return _20();\n }, 'optionalAccess', function (_21) {\n return _21.nodeType;\n }]) === Node.DOCUMENT_FRAGMENT_NODE && n.getRootNode().host) shadowHost = n.getRootNode().host;\n return shadowHost;\n}\n\nfunction getRootShadowHost(n) {\n var rootShadowHost = n;\n var shadowHost;\n\n while (shadowHost = getShadowHost(rootShadowHost)) {\n rootShadowHost = shadowHost;\n }\n\n return rootShadowHost;\n}\n\nfunction shadowHostInDom(n) {\n var doc = n.ownerDocument;\n if (!doc) return false;\n var shadowHost = getRootShadowHost(n);\n return doc.contains(shadowHost);\n}\n\nfunction inDom(n) {\n var doc = n.ownerDocument;\n if (!doc) return false;\n return doc.contains(n) || shadowHostInDom(n);\n}\n\nvar cachedRequestAnimationFrameImplementation;\n\nfunction getRequestAnimationFrameImplementation() {\n if (cachedRequestAnimationFrameImplementation) {\n return cachedRequestAnimationFrameImplementation;\n }\n\n var document = window.document;\n var requestAnimationFrameImplementation = window.requestAnimationFrame;\n\n if (document && typeof document.createElement === 'function') {\n try {\n var sandbox = document.createElement('iframe');\n sandbox.hidden = true;\n document.head.appendChild(sandbox);\n var contentWindow = sandbox.contentWindow;\n\n if (contentWindow && contentWindow.requestAnimationFrame) {\n requestAnimationFrameImplementation = contentWindow.requestAnimationFrame;\n }\n\n document.head.removeChild(sandbox);\n } catch (e) {}\n }\n\n return cachedRequestAnimationFrameImplementation = requestAnimationFrameImplementation.bind(window);\n}\n\nfunction onRequestAnimationFrame() {\n return getRequestAnimationFrameImplementation().apply(void 0, arguments);\n}\n\nvar EventType =\n/* @__PURE__ */\nfunction (EventType2) {\n EventType2[EventType2[\"DomContentLoaded\"] = 0] = \"DomContentLoaded\";\n EventType2[EventType2[\"Load\"] = 1] = \"Load\";\n EventType2[EventType2[\"FullSnapshot\"] = 2] = \"FullSnapshot\";\n EventType2[EventType2[\"IncrementalSnapshot\"] = 3] = \"IncrementalSnapshot\";\n EventType2[EventType2[\"Meta\"] = 4] = \"Meta\";\n EventType2[EventType2[\"Custom\"] = 5] = \"Custom\";\n EventType2[EventType2[\"Plugin\"] = 6] = \"Plugin\";\n return EventType2;\n}(EventType || {});\n\nvar IncrementalSource =\n/* @__PURE__ */\nfunction (IncrementalSource2) {\n IncrementalSource2[IncrementalSource2[\"Mutation\"] = 0] = \"Mutation\";\n IncrementalSource2[IncrementalSource2[\"MouseMove\"] = 1] = \"MouseMove\";\n IncrementalSource2[IncrementalSource2[\"MouseInteraction\"] = 2] = \"MouseInteraction\";\n IncrementalSource2[IncrementalSource2[\"Scroll\"] = 3] = \"Scroll\";\n IncrementalSource2[IncrementalSource2[\"ViewportResize\"] = 4] = \"ViewportResize\";\n IncrementalSource2[IncrementalSource2[\"Input\"] = 5] = \"Input\";\n IncrementalSource2[IncrementalSource2[\"TouchMove\"] = 6] = \"TouchMove\";\n IncrementalSource2[IncrementalSource2[\"MediaInteraction\"] = 7] = \"MediaInteraction\";\n IncrementalSource2[IncrementalSource2[\"StyleSheetRule\"] = 8] = \"StyleSheetRule\";\n IncrementalSource2[IncrementalSource2[\"CanvasMutation\"] = 9] = \"CanvasMutation\";\n IncrementalSource2[IncrementalSource2[\"Font\"] = 10] = \"Font\";\n IncrementalSource2[IncrementalSource2[\"Log\"] = 11] = \"Log\";\n IncrementalSource2[IncrementalSource2[\"Drag\"] = 12] = \"Drag\";\n IncrementalSource2[IncrementalSource2[\"StyleDeclaration\"] = 13] = \"StyleDeclaration\";\n IncrementalSource2[IncrementalSource2[\"Selection\"] = 14] = \"Selection\";\n IncrementalSource2[IncrementalSource2[\"AdoptedStyleSheet\"] = 15] = \"AdoptedStyleSheet\";\n IncrementalSource2[IncrementalSource2[\"CustomElement\"] = 16] = \"CustomElement\";\n return IncrementalSource2;\n}(IncrementalSource || {});\n\nvar MouseInteractions =\n/* @__PURE__ */\nfunction (MouseInteractions2) {\n MouseInteractions2[MouseInteractions2[\"MouseUp\"] = 0] = \"MouseUp\";\n MouseInteractions2[MouseInteractions2[\"MouseDown\"] = 1] = \"MouseDown\";\n MouseInteractions2[MouseInteractions2[\"Click\"] = 2] = \"Click\";\n MouseInteractions2[MouseInteractions2[\"ContextMenu\"] = 3] = \"ContextMenu\";\n MouseInteractions2[MouseInteractions2[\"DblClick\"] = 4] = \"DblClick\";\n MouseInteractions2[MouseInteractions2[\"Focus\"] = 5] = \"Focus\";\n MouseInteractions2[MouseInteractions2[\"Blur\"] = 6] = \"Blur\";\n MouseInteractions2[MouseInteractions2[\"TouchStart\"] = 7] = \"TouchStart\";\n MouseInteractions2[MouseInteractions2[\"TouchMove_Departed\"] = 8] = \"TouchMove_Departed\";\n MouseInteractions2[MouseInteractions2[\"TouchEnd\"] = 9] = \"TouchEnd\";\n MouseInteractions2[MouseInteractions2[\"TouchCancel\"] = 10] = \"TouchCancel\";\n return MouseInteractions2;\n}(MouseInteractions || {});\n\nvar PointerTypes =\n/* @__PURE__ */\nfunction (PointerTypes2) {\n PointerTypes2[PointerTypes2[\"Mouse\"] = 0] = \"Mouse\";\n PointerTypes2[PointerTypes2[\"Pen\"] = 1] = \"Pen\";\n PointerTypes2[PointerTypes2[\"Touch\"] = 2] = \"Touch\";\n return PointerTypes2;\n}(PointerTypes || {});\n\nfunction _optionalChain$3(ops) {\n var lastAccessLHS = undefined;\n var value = ops[0];\n var i = 1;\n\n while (i < ops.length) {\n var op = ops[i];\n var fn = ops[i + 1];\n i += 2;\n\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn(function () {\n var _value4;\n\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return (_value4 = value).call.apply(_value4, [lastAccessLHS].concat(args));\n });\n lastAccessLHS = undefined;\n }\n }\n\n return value;\n}\n\nfunction isNodeInLinkedList(n) {\n return '__ln' in n;\n}\n\nvar DoubleLinkedList =\n/*#__PURE__*/\nfunction () {\n function DoubleLinkedList() {\n _classCallCheck(this, DoubleLinkedList);\n\n this.length = 0;\n this.head = null;\n this.tail = null;\n }\n\n _createClass(DoubleLinkedList, [{\n key: \"get\",\n value: function get(position) {\n if (position >= this.length) {\n throw new Error('Position outside of list range');\n }\n\n var current = this.head;\n\n for (var index = 0; index < position; index++) {\n current = _optionalChain$3([current, 'optionalAccess', function (_) {\n return _.next;\n }]) || null;\n }\n\n return current;\n }\n }, {\n key: \"addNode\",\n value: function addNode(n) {\n var node = {\n value: n,\n previous: null,\n next: null\n };\n n.__ln = node;\n\n if (n.previousSibling && isNodeInLinkedList(n.previousSibling)) {\n var current = n.previousSibling.__ln.next;\n node.next = current;\n node.previous = n.previousSibling.__ln;\n n.previousSibling.__ln.next = node;\n\n if (current) {\n current.previous = node;\n }\n } else if (n.nextSibling && isNodeInLinkedList(n.nextSibling) && n.nextSibling.__ln.previous) {\n var _current = n.nextSibling.__ln.previous;\n node.previous = _current;\n node.next = n.nextSibling.__ln;\n n.nextSibling.__ln.previous = node;\n\n if (_current) {\n _current.next = node;\n }\n } else {\n if (this.head) {\n this.head.previous = node;\n }\n\n node.next = this.head;\n this.head = node;\n }\n\n if (node.next === null) {\n this.tail = node;\n }\n\n this.length++;\n }\n }, {\n key: \"removeNode\",\n value: function removeNode(n) {\n var current = n.__ln;\n\n if (!this.head) {\n return;\n }\n\n if (!current.previous) {\n this.head = current.next;\n\n if (this.head) {\n this.head.previous = null;\n } else {\n this.tail = null;\n }\n } else {\n current.previous.next = current.next;\n\n if (current.next) {\n current.next.previous = current.previous;\n } else {\n this.tail = current.previous;\n }\n }\n\n if (n.__ln) {\n delete n.__ln;\n }\n\n this.length--;\n }\n }]);\n\n return DoubleLinkedList;\n}();\n\nvar moveKey = function moveKey(id, parentId) {\n return \"\".concat(id, \"@\").concat(parentId);\n};\n\nvar MutationBuffer =\n/*#__PURE__*/\nfunction () {\n function MutationBuffer() {\n var _this4 = this;\n\n _classCallCheck(this, MutationBuffer);\n\n this.frozen = false;\n this.locked = false;\n this.texts = [];\n this.attributes = [];\n this.removes = [];\n this.mapRemoves = [];\n this.movedMap = {};\n this.addedSet = new Set();\n this.movedSet = new Set();\n this.droppedSet = new Set();\n\n this.processMutations = function (mutations) {\n mutations.forEach(_this4.processMutation);\n\n _this4.emit();\n };\n\n this.emit = function () {\n if (_this4.frozen || _this4.locked) {\n return;\n }\n\n var adds = [];\n var addedIds = new Set();\n var addList = new DoubleLinkedList();\n\n var getNextId = function getNextId(n) {\n var ns = n;\n var nextId = IGNORED_NODE;\n\n while (nextId === IGNORED_NODE) {\n ns = ns && ns.nextSibling;\n nextId = ns && _this4.mirror.getId(ns);\n }\n\n return nextId;\n };\n\n var pushAdd = function pushAdd(n) {\n if (!n.parentNode || !inDom(n)) {\n return;\n }\n\n var parentId = isShadowRoot(n.parentNode) ? _this4.mirror.getId(getShadowHost(n)) : _this4.mirror.getId(n.parentNode);\n var nextId = getNextId(n);\n\n if (parentId === -1 || nextId === -1) {\n return addList.addNode(n);\n }\n\n var sn = serializeNodeWithId(n, {\n doc: _this4.doc,\n mirror: _this4.mirror,\n blockClass: _this4.blockClass,\n blockSelector: _this4.blockSelector,\n maskAllText: _this4.maskAllText,\n unblockSelector: _this4.unblockSelector,\n maskTextClass: _this4.maskTextClass,\n unmaskTextClass: _this4.unmaskTextClass,\n maskTextSelector: _this4.maskTextSelector,\n unmaskTextSelector: _this4.unmaskTextSelector,\n skipChild: true,\n newlyAddedElement: true,\n inlineStylesheet: _this4.inlineStylesheet,\n maskInputOptions: _this4.maskInputOptions,\n maskAttributeFn: _this4.maskAttributeFn,\n maskTextFn: _this4.maskTextFn,\n maskInputFn: _this4.maskInputFn,\n slimDOMOptions: _this4.slimDOMOptions,\n dataURLOptions: _this4.dataURLOptions,\n recordCanvas: _this4.recordCanvas,\n inlineImages: _this4.inlineImages,\n onSerialize: function onSerialize(currentN) {\n if (isSerializedIframe(currentN, _this4.mirror)) {\n _this4.iframeManager.addIframe(currentN);\n }\n\n if (isSerializedStylesheet(currentN, _this4.mirror)) {\n _this4.stylesheetManager.trackLinkElement(currentN);\n }\n\n if (hasShadowRoot(n)) {\n _this4.shadowDomManager.addShadowRoot(n.shadowRoot, _this4.doc);\n }\n },\n onIframeLoad: function onIframeLoad(iframe, childSn) {\n _this4.iframeManager.attachIframe(iframe, childSn);\n\n _this4.shadowDomManager.observeAttachShadow(iframe);\n },\n onStylesheetLoad: function onStylesheetLoad(link, childSn) {\n _this4.stylesheetManager.attachLinkElement(link, childSn);\n }\n });\n\n if (sn) {\n adds.push({\n parentId: parentId,\n nextId: nextId,\n node: sn\n });\n addedIds.add(sn.id);\n }\n };\n\n while (_this4.mapRemoves.length) {\n _this4.mirror.removeNodeFromMap(_this4.mapRemoves.shift());\n }\n\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = _this4.movedSet[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var n = _step2.value;\n\n if (isParentRemoved(_this4.removes, n, _this4.mirror) && !_this4.movedSet.has(n.parentNode)) {\n continue;\n }\n\n pushAdd(n);\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2[\"return\"] != null) {\n _iterator2[\"return\"]();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n var _iteratorNormalCompletion3 = true;\n var _didIteratorError3 = false;\n var _iteratorError3 = undefined;\n\n try {\n for (var _iterator3 = _this4.addedSet[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n var _n = _step3.value;\n\n if (!isAncestorInSet(_this4.droppedSet, _n) && !isParentRemoved(_this4.removes, _n, _this4.mirror)) {\n pushAdd(_n);\n } else if (isAncestorInSet(_this4.movedSet, _n)) {\n pushAdd(_n);\n } else {\n _this4.droppedSet.add(_n);\n }\n }\n } catch (err) {\n _didIteratorError3 = true;\n _iteratorError3 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion3 && _iterator3[\"return\"] != null) {\n _iterator3[\"return\"]();\n }\n } finally {\n if (_didIteratorError3) {\n throw _iteratorError3;\n }\n }\n }\n\n var candidate = null;\n\n while (addList.length) {\n var node = null;\n\n if (candidate) {\n var parentId = _this4.mirror.getId(candidate.value.parentNode);\n\n var nextId = getNextId(candidate.value);\n\n if (parentId !== -1 && nextId !== -1) {\n node = candidate;\n }\n }\n\n if (!node) {\n var tailNode = addList.tail;\n\n while (tailNode) {\n var _node = tailNode;\n tailNode = tailNode.previous;\n\n if (_node) {\n var _parentId = _this4.mirror.getId(_node.value.parentNode);\n\n var _nextId = getNextId(_node.value);\n\n if (_nextId === -1) continue;else if (_parentId !== -1) {\n node = _node;\n break;\n } else {\n var unhandledNode = _node.value;\n\n if (unhandledNode.parentNode && unhandledNode.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {\n var shadowHost = unhandledNode.parentNode.host;\n\n var _parentId2 = _this4.mirror.getId(shadowHost);\n\n if (_parentId2 !== -1) {\n node = _node;\n break;\n }\n }\n }\n }\n }\n }\n\n if (!node) {\n while (addList.head) {\n addList.removeNode(addList.head.value);\n }\n\n break;\n }\n\n candidate = node.previous;\n addList.removeNode(node.value);\n pushAdd(node.value);\n }\n\n var payload = {\n texts: _this4.texts.map(function (text) {\n return {\n id: _this4.mirror.getId(text.node),\n value: text.value\n };\n }).filter(function (text) {\n return !addedIds.has(text.id);\n }).filter(function (text) {\n return _this4.mirror.has(text.id);\n }),\n attributes: _this4.attributes.map(function (attribute) {\n var attributes = attribute.attributes;\n\n if (typeof attributes.style === 'string') {\n var diffAsStr = JSON.stringify(attribute.styleDiff);\n var unchangedAsStr = JSON.stringify(attribute._unchangedStyles);\n\n if (diffAsStr.length < attributes.style.length) {\n if ((diffAsStr + unchangedAsStr).split('var(').length === attributes.style.split('var(').length) {\n attributes.style = attribute.styleDiff;\n }\n }\n }\n\n return {\n id: _this4.mirror.getId(attribute.node),\n attributes: attributes\n };\n }).filter(function (attribute) {\n return !addedIds.has(attribute.id);\n }).filter(function (attribute) {\n return _this4.mirror.has(attribute.id);\n }),\n removes: _this4.removes,\n adds: adds\n };\n\n if (!payload.texts.length && !payload.attributes.length && !payload.removes.length && !payload.adds.length) {\n return;\n }\n\n _this4.texts = [];\n _this4.attributes = [];\n _this4.removes = [];\n _this4.addedSet = new Set();\n _this4.movedSet = new Set();\n _this4.droppedSet = new Set();\n _this4.movedMap = {};\n\n _this4.mutationCb(payload);\n };\n\n this.processMutation = function (m) {\n if (isIgnored(m.target, _this4.mirror)) {\n return;\n }\n\n var unattachedDoc;\n\n try {\n unattachedDoc = document.implementation.createHTMLDocument();\n } catch (e) {\n unattachedDoc = _this4.doc;\n }\n\n switch (m.type) {\n case 'characterData':\n {\n var value = m.target.textContent;\n\n if (!isBlocked(m.target, _this4.blockClass, _this4.blockSelector, _this4.unblockSelector, false) && value !== m.oldValue) {\n _this4.texts.push({\n value: needMaskingText(m.target, _this4.maskTextClass, _this4.maskTextSelector, _this4.unmaskTextClass, _this4.unmaskTextSelector, _this4.maskAllText) && value ? _this4.maskTextFn ? _this4.maskTextFn(value) : value.replace(/[\\S]/g, '*') : value,\n node: m.target\n });\n }\n\n break;\n }\n\n case 'attributes':\n {\n var target = m.target;\n var attributeName = m.attributeName;\n\n var _value5 = m.target.getAttribute(attributeName);\n\n if (attributeName === 'value') {\n var type = getInputType(target);\n var tagName = target.tagName;\n _value5 = getInputValue(target, tagName, type);\n var isInputMasked = shouldMaskInput({\n maskInputOptions: _this4.maskInputOptions,\n tagName: tagName,\n type: type\n });\n var forceMask = needMaskingText(m.target, _this4.maskTextClass, _this4.maskTextSelector, _this4.unmaskTextClass, _this4.unmaskTextSelector, isInputMasked);\n _value5 = maskInputValue({\n isMasked: forceMask,\n element: target,\n value: _value5,\n maskInputFn: _this4.maskInputFn\n });\n }\n\n if (isBlocked(m.target, _this4.blockClass, _this4.blockSelector, _this4.unblockSelector, false) || _value5 === m.oldValue) {\n return;\n }\n\n var item = _this4.attributes.find(function (a) {\n return a.node === m.target;\n });\n\n if (target.tagName === 'IFRAME' && attributeName === 'src' && !_this4.keepIframeSrcFn(_value5)) {\n if (!target.contentDocument) {\n attributeName = 'rr_src';\n } else {\n return;\n }\n }\n\n if (!item) {\n item = {\n node: m.target,\n attributes: {},\n styleDiff: {},\n _unchangedStyles: {}\n };\n\n _this4.attributes.push(item);\n }\n\n if (attributeName === 'type' && target.tagName === 'INPUT' && (m.oldValue || '').toLowerCase() === 'password') {\n target.setAttribute('data-rr-is-password', 'true');\n }\n\n if (!ignoreAttribute(target.tagName, attributeName)) {\n item.attributes[attributeName] = transformAttribute(_this4.doc, toLowerCase(target.tagName), toLowerCase(attributeName), _value5, target, _this4.maskAttributeFn);\n\n if (attributeName === 'style') {\n var old = unattachedDoc.createElement('span');\n\n if (m.oldValue) {\n old.setAttribute('style', m.oldValue);\n }\n\n for (var _i3 = 0, _Array$from3 = Array.from(target.style); _i3 < _Array$from3.length; _i3++) {\n var pname = _Array$from3[_i3];\n var newValue = target.style.getPropertyValue(pname);\n var newPriority = target.style.getPropertyPriority(pname);\n\n if (newValue !== old.style.getPropertyValue(pname) || newPriority !== old.style.getPropertyPriority(pname)) {\n if (newPriority === '') {\n item.styleDiff[pname] = newValue;\n } else {\n item.styleDiff[pname] = [newValue, newPriority];\n }\n } else {\n item._unchangedStyles[pname] = [newValue, newPriority];\n }\n }\n\n for (var _i4 = 0, _Array$from4 = Array.from(old.style); _i4 < _Array$from4.length; _i4++) {\n var _pname = _Array$from4[_i4];\n\n if (target.style.getPropertyValue(_pname) === '') {\n item.styleDiff[_pname] = false;\n }\n }\n }\n }\n\n break;\n }\n\n case 'childList':\n {\n if (isBlocked(m.target, _this4.blockClass, _this4.blockSelector, _this4.unblockSelector, true)) {\n return;\n }\n\n m.addedNodes.forEach(function (n) {\n return _this4.genAdds(n, m.target);\n });\n m.removedNodes.forEach(function (n) {\n var nodeId = _this4.mirror.getId(n);\n\n var parentId = isShadowRoot(m.target) ? _this4.mirror.getId(m.target.host) : _this4.mirror.getId(m.target);\n\n if (isBlocked(m.target, _this4.blockClass, _this4.blockSelector, _this4.unblockSelector, false) || isIgnored(n, _this4.mirror) || !isSerialized(n, _this4.mirror)) {\n return;\n }\n\n if (_this4.addedSet.has(n)) {\n deepDelete(_this4.addedSet, n);\n\n _this4.droppedSet.add(n);\n } else if (_this4.addedSet.has(m.target) && nodeId === -1) ;else if (isAncestorRemoved(m.target, _this4.mirror)) ;else if (_this4.movedSet.has(n) && _this4.movedMap[moveKey(nodeId, parentId)]) {\n deepDelete(_this4.movedSet, n);\n } else {\n _this4.removes.push({\n parentId: parentId,\n id: nodeId,\n isShadow: isShadowRoot(m.target) && isNativeShadowDom(m.target) ? true : undefined\n });\n }\n\n _this4.mapRemoves.push(n);\n });\n break;\n }\n }\n };\n\n this.genAdds = function (n, target) {\n if (_this4.processedNodeManager.inOtherBuffer(n, _this4)) return;\n if (_this4.addedSet.has(n) || _this4.movedSet.has(n)) return;\n\n if (_this4.mirror.hasNode(n)) {\n if (isIgnored(n, _this4.mirror)) {\n return;\n }\n\n _this4.movedSet.add(n);\n\n var targetId = null;\n\n if (target && _this4.mirror.hasNode(target)) {\n targetId = _this4.mirror.getId(target);\n }\n\n if (targetId && targetId !== -1) {\n _this4.movedMap[moveKey(_this4.mirror.getId(n), targetId)] = true;\n }\n } else {\n _this4.addedSet.add(n);\n\n _this4.droppedSet[\"delete\"](n);\n }\n\n if (!isBlocked(n, _this4.blockClass, _this4.blockSelector, _this4.unblockSelector, false)) {\n n.childNodes.forEach(function (childN) {\n return _this4.genAdds(childN);\n });\n\n if (hasShadowRoot(n)) {\n n.shadowRoot.childNodes.forEach(function (childN) {\n _this4.processedNodeManager.add(childN, _this4);\n\n _this4.genAdds(childN, n);\n });\n }\n }\n };\n }\n\n _createClass(MutationBuffer, [{\n key: \"init\",\n value: function init(options) {\n var _this5 = this;\n\n ['mutationCb', 'blockClass', 'blockSelector', 'unblockSelector', 'maskAllText', 'maskTextClass', 'unmaskTextClass', 'maskTextSelector', 'unmaskTextSelector', 'inlineStylesheet', 'maskInputOptions', 'maskAttributeFn', 'maskTextFn', 'maskInputFn', 'keepIframeSrcFn', 'recordCanvas', 'inlineImages', 'slimDOMOptions', 'dataURLOptions', 'doc', 'mirror', 'iframeManager', 'stylesheetManager', 'shadowDomManager', 'canvasManager', 'processedNodeManager'].forEach(function (key) {\n _this5[key] = options[key];\n });\n }\n }, {\n key: \"freeze\",\n value: function freeze() {\n this.frozen = true;\n this.canvasManager.freeze();\n }\n }, {\n key: \"unfreeze\",\n value: function unfreeze() {\n this.frozen = false;\n this.canvasManager.unfreeze();\n this.emit();\n }\n }, {\n key: \"isFrozen\",\n value: function isFrozen() {\n return this.frozen;\n }\n }, {\n key: \"lock\",\n value: function lock() {\n this.locked = true;\n this.canvasManager.lock();\n }\n }, {\n key: \"unlock\",\n value: function unlock() {\n this.locked = false;\n this.canvasManager.unlock();\n this.emit();\n }\n }, {\n key: \"reset\",\n value: function reset() {\n this.shadowDomManager.reset();\n this.canvasManager.reset();\n }\n }]);\n\n return MutationBuffer;\n}();\n\nfunction deepDelete(addsSet, n) {\n addsSet[\"delete\"](n);\n n.childNodes.forEach(function (childN) {\n return deepDelete(addsSet, childN);\n });\n}\n\nfunction isParentRemoved(removes, n, mirror) {\n if (removes.length === 0) return false;\n return _isParentRemoved(removes, n, mirror);\n}\n\nfunction _isParentRemoved(removes, n, mirror) {\n var parentNode = n.parentNode;\n\n if (!parentNode) {\n return false;\n }\n\n var parentId = mirror.getId(parentNode);\n\n if (removes.some(function (r) {\n return r.id === parentId;\n })) {\n return true;\n }\n\n return _isParentRemoved(removes, parentNode, mirror);\n}\n\nfunction isAncestorInSet(set, n) {\n if (set.size === 0) return false;\n return _isAncestorInSet(set, n);\n}\n\nfunction _isAncestorInSet(set, n) {\n var parentNode = n.parentNode;\n\n if (!parentNode) {\n return false;\n }\n\n if (set.has(parentNode)) {\n return true;\n }\n\n return _isAncestorInSet(set, parentNode);\n}\n\nvar errorHandler;\n\nfunction registerErrorHandler(handler) {\n errorHandler = handler;\n}\n\nfunction unregisterErrorHandler() {\n errorHandler = undefined;\n}\n\nvar callbackWrapper = function callbackWrapper(cb) {\n if (!errorHandler) {\n return cb;\n }\n\n var rrwebWrapped = function rrwebWrapped() {\n try {\n return cb.apply(void 0, arguments);\n } catch (error) {\n if (errorHandler && errorHandler(error) === true) {\n return function () {};\n }\n\n throw error;\n }\n };\n\n return rrwebWrapped;\n};\n\nfunction _optionalChain$2(ops) {\n var lastAccessLHS = undefined;\n var value = ops[0];\n var i = 1;\n\n while (i < ops.length) {\n var op = ops[i];\n var fn = ops[i + 1];\n i += 2;\n\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn(function () {\n var _value6;\n\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return (_value6 = value).call.apply(_value6, [lastAccessLHS].concat(args));\n });\n lastAccessLHS = undefined;\n }\n }\n\n return value;\n}\n\nvar mutationBuffers = [];\n\nfunction getEventTarget(event) {\n try {\n if ('composedPath' in event) {\n var path = event.composedPath();\n\n if (path.length) {\n return path[0];\n }\n } else if ('path' in event && event.path.length) {\n return event.path[0];\n }\n } catch (e2) {}\n\n return event && event.target;\n}\n\nfunction initMutationObserver(options, rootEl) {\n var mutationBuffer = new MutationBuffer();\n mutationBuffers.push(mutationBuffer);\n mutationBuffer.init(options);\n var mutationObserverCtor = window.MutationObserver || window.__rrMutationObserver;\n\n var angularZoneSymbol = _optionalChain$2([window, 'optionalAccess', function (_) {\n return _.Zone;\n }, 'optionalAccess', function (_2) {\n return _2.__symbol__;\n }, 'optionalCall', function (_3) {\n return _3('MutationObserver');\n }]);\n\n if (angularZoneSymbol && window[angularZoneSymbol]) {\n mutationObserverCtor = window[angularZoneSymbol];\n }\n\n var observer = new mutationObserverCtor(callbackWrapper(function (mutations) {\n if (options.onMutation && options.onMutation(mutations) === false) {\n return;\n }\n\n mutationBuffer.processMutations.bind(mutationBuffer)(mutations);\n }));\n observer.observe(rootEl, {\n attributes: true,\n attributeOldValue: true,\n characterData: true,\n characterDataOldValue: true,\n childList: true,\n subtree: true\n });\n return observer;\n}\n\nfunction initMoveObserver(_ref4) {\n var mousemoveCb = _ref4.mousemoveCb,\n sampling = _ref4.sampling,\n doc = _ref4.doc,\n mirror = _ref4.mirror;\n\n if (sampling.mousemove === false) {\n return function () {};\n }\n\n var threshold = typeof sampling.mousemove === 'number' ? sampling.mousemove : 50;\n var callbackThreshold = typeof sampling.mousemoveCallback === 'number' ? sampling.mousemoveCallback : 500;\n var positions = [];\n var timeBaseline;\n var wrappedCb = throttle$1(callbackWrapper(function (source) {\n var totalOffset = Date.now() - timeBaseline;\n mousemoveCb(positions.map(function (p) {\n p.timeOffset -= totalOffset;\n return p;\n }), source);\n positions = [];\n timeBaseline = null;\n }), callbackThreshold);\n var updatePosition = callbackWrapper(throttle$1(callbackWrapper(function (evt) {\n var target = getEventTarget(evt);\n\n var _ref5 = legacy_isTouchEvent(evt) ? evt.changedTouches[0] : evt,\n clientX = _ref5.clientX,\n clientY = _ref5.clientY;\n\n if (!timeBaseline) {\n timeBaseline = nowTimestamp();\n }\n\n positions.push({\n x: clientX,\n y: clientY,\n id: mirror.getId(target),\n timeOffset: nowTimestamp() - timeBaseline\n });\n wrappedCb(typeof DragEvent !== 'undefined' && evt instanceof DragEvent ? IncrementalSource.Drag : evt instanceof MouseEvent ? IncrementalSource.MouseMove : IncrementalSource.TouchMove);\n }), threshold, {\n trailing: false\n }));\n var handlers = [on('mousemove', updatePosition, doc), on('touchmove', updatePosition, doc), on('drag', updatePosition, doc)];\n return callbackWrapper(function () {\n handlers.forEach(function (h) {\n return h();\n });\n });\n}\n\nfunction initMouseInteractionObserver(_ref6) {\n var mouseInteractionCb = _ref6.mouseInteractionCb,\n doc = _ref6.doc,\n mirror = _ref6.mirror,\n blockClass = _ref6.blockClass,\n blockSelector = _ref6.blockSelector,\n unblockSelector = _ref6.unblockSelector,\n sampling = _ref6.sampling;\n\n if (sampling.mouseInteraction === false) {\n return function () {};\n }\n\n var disableMap = sampling.mouseInteraction === true || sampling.mouseInteraction === undefined ? {} : sampling.mouseInteraction;\n var handlers = [];\n var currentPointerType = null;\n\n var getHandler = function getHandler(eventKey) {\n return function (event) {\n var target = getEventTarget(event);\n\n if (isBlocked(target, blockClass, blockSelector, unblockSelector, true)) {\n return;\n }\n\n var pointerType = null;\n var thisEventKey = eventKey;\n\n if ('pointerType' in event) {\n switch (event.pointerType) {\n case 'mouse':\n pointerType = PointerTypes.Mouse;\n break;\n\n case 'touch':\n pointerType = PointerTypes.Touch;\n break;\n\n case 'pen':\n pointerType = PointerTypes.Pen;\n break;\n }\n\n if (pointerType === PointerTypes.Touch) {\n if (MouseInteractions[eventKey] === MouseInteractions.MouseDown) {\n thisEventKey = 'TouchStart';\n } else if (MouseInteractions[eventKey] === MouseInteractions.MouseUp) {\n thisEventKey = 'TouchEnd';\n }\n } else if (pointerType === PointerTypes.Pen) ;\n } else if (legacy_isTouchEvent(event)) {\n pointerType = PointerTypes.Touch;\n }\n\n if (pointerType !== null) {\n currentPointerType = pointerType;\n\n if (thisEventKey.startsWith('Touch') && pointerType === PointerTypes.Touch || thisEventKey.startsWith('Mouse') && pointerType === PointerTypes.Mouse) {\n pointerType = null;\n }\n } else if (MouseInteractions[eventKey] === MouseInteractions.Click) {\n pointerType = currentPointerType;\n currentPointerType = null;\n }\n\n var e = legacy_isTouchEvent(event) ? event.changedTouches[0] : event;\n\n if (!e) {\n return;\n }\n\n var id = mirror.getId(target);\n var clientX = e.clientX,\n clientY = e.clientY;\n callbackWrapper(mouseInteractionCb)(_objectSpread({\n type: MouseInteractions[thisEventKey],\n id: id,\n x: clientX,\n y: clientY\n }, pointerType !== null && {\n pointerType: pointerType\n }));\n };\n };\n\n Object.keys(MouseInteractions).filter(function (key) {\n return Number.isNaN(Number(key)) && !key.endsWith('_Departed') && disableMap[key] !== false;\n }).forEach(function (eventKey) {\n var eventName = toLowerCase(eventKey);\n var handler = getHandler(eventKey);\n\n if (window.PointerEvent) {\n switch (MouseInteractions[eventKey]) {\n case MouseInteractions.MouseDown:\n case MouseInteractions.MouseUp:\n eventName = eventName.replace('mouse', 'pointer');\n break;\n\n case MouseInteractions.TouchStart:\n case MouseInteractions.TouchEnd:\n return;\n }\n }\n\n handlers.push(on(eventName, handler, doc));\n });\n return callbackWrapper(function () {\n handlers.forEach(function (h) {\n return h();\n });\n });\n}\n\nfunction initScrollObserver(_ref7) {\n var scrollCb = _ref7.scrollCb,\n doc = _ref7.doc,\n mirror = _ref7.mirror,\n blockClass = _ref7.blockClass,\n blockSelector = _ref7.blockSelector,\n unblockSelector = _ref7.unblockSelector,\n sampling = _ref7.sampling;\n var updatePosition = callbackWrapper(throttle$1(callbackWrapper(function (evt) {\n var target = getEventTarget(evt);\n\n if (!target || isBlocked(target, blockClass, blockSelector, unblockSelector, true)) {\n return;\n }\n\n var id = mirror.getId(target);\n\n if (target === doc && doc.defaultView) {\n var scrollLeftTop = getWindowScroll(doc.defaultView);\n scrollCb({\n id: id,\n x: scrollLeftTop.left,\n y: scrollLeftTop.top\n });\n } else {\n scrollCb({\n id: id,\n x: target.scrollLeft,\n y: target.scrollTop\n });\n }\n }), sampling.scroll || 100));\n return on('scroll', updatePosition, doc);\n}\n\nfunction initViewportResizeObserver(_ref8, _ref9) {\n var viewportResizeCb = _ref8.viewportResizeCb;\n var win = _ref9.win;\n var lastH = -1;\n var lastW = -1;\n var updateDimension = callbackWrapper(throttle$1(callbackWrapper(function () {\n var height = getWindowHeight();\n var width = getWindowWidth();\n\n if (lastH !== height || lastW !== width) {\n viewportResizeCb({\n width: Number(width),\n height: Number(height)\n });\n lastH = height;\n lastW = width;\n }\n }), 200));\n return on('resize', updateDimension, win);\n}\n\nvar INPUT_TAGS = ['INPUT', 'TEXTAREA', 'SELECT'];\nvar lastInputValueMap = new WeakMap();\n\nfunction initInputObserver(_ref10) {\n var inputCb = _ref10.inputCb,\n doc = _ref10.doc,\n mirror = _ref10.mirror,\n blockClass = _ref10.blockClass,\n blockSelector = _ref10.blockSelector,\n unblockSelector = _ref10.unblockSelector,\n ignoreClass = _ref10.ignoreClass,\n ignoreSelector = _ref10.ignoreSelector,\n maskInputOptions = _ref10.maskInputOptions,\n maskInputFn = _ref10.maskInputFn,\n sampling = _ref10.sampling,\n userTriggeredOnInput = _ref10.userTriggeredOnInput,\n maskTextClass = _ref10.maskTextClass,\n unmaskTextClass = _ref10.unmaskTextClass,\n maskTextSelector = _ref10.maskTextSelector,\n unmaskTextSelector = _ref10.unmaskTextSelector;\n\n function eventHandler(event) {\n var target = getEventTarget(event);\n var userTriggered = event.isTrusted;\n var tagName = target && toUpperCase(target.tagName);\n if (tagName === 'OPTION') target = target.parentElement;\n\n if (!target || !tagName || INPUT_TAGS.indexOf(tagName) < 0 || isBlocked(target, blockClass, blockSelector, unblockSelector, true)) {\n return;\n }\n\n var el = target;\n\n if (el.classList.contains(ignoreClass) || ignoreSelector && el.matches(ignoreSelector)) {\n return;\n }\n\n var type = getInputType(target);\n var text = getInputValue(el, tagName, type);\n var isChecked = false;\n var isInputMasked = shouldMaskInput({\n maskInputOptions: maskInputOptions,\n tagName: tagName,\n type: type\n });\n var forceMask = needMaskingText(target, maskTextClass, maskTextSelector, unmaskTextClass, unmaskTextSelector, isInputMasked);\n\n if (type === 'radio' || type === 'checkbox') {\n isChecked = target.checked;\n }\n\n text = maskInputValue({\n isMasked: forceMask,\n element: target,\n value: text,\n maskInputFn: maskInputFn\n });\n cbWithDedup(target, userTriggeredOnInput ? {\n text: text,\n isChecked: isChecked,\n userTriggered: userTriggered\n } : {\n text: text,\n isChecked: isChecked\n });\n var name = target.name;\n\n if (type === 'radio' && name && isChecked) {\n doc.querySelectorAll(\"input[type=\\\"radio\\\"][name=\\\"\".concat(name, \"\\\"]\")).forEach(function (el) {\n if (el !== target) {\n var _text = maskInputValue({\n isMasked: forceMask,\n element: el,\n value: getInputValue(el, tagName, type),\n maskInputFn: maskInputFn\n });\n\n cbWithDedup(el, userTriggeredOnInput ? {\n text: _text,\n isChecked: !isChecked,\n userTriggered: false\n } : {\n text: _text,\n isChecked: !isChecked\n });\n }\n });\n }\n }\n\n function cbWithDedup(target, v) {\n var lastInputValue = lastInputValueMap.get(target);\n\n if (!lastInputValue || lastInputValue.text !== v.text || lastInputValue.isChecked !== v.isChecked) {\n lastInputValueMap.set(target, v);\n var id = mirror.getId(target);\n callbackWrapper(inputCb)(_objectSpread(_objectSpread({}, v), {}, {\n id: id\n }));\n }\n }\n\n var events = sampling.input === 'last' ? ['change'] : ['input', 'change'];\n var handlers = events.map(function (eventName) {\n return on(eventName, callbackWrapper(eventHandler), doc);\n });\n var currentWindow = doc.defaultView;\n\n if (!currentWindow) {\n return function () {\n handlers.forEach(function (h) {\n return h();\n });\n };\n }\n\n var propertyDescriptor = currentWindow.Object.getOwnPropertyDescriptor(currentWindow.HTMLInputElement.prototype, 'value');\n var hookProperties = [[currentWindow.HTMLInputElement.prototype, 'value'], [currentWindow.HTMLInputElement.prototype, 'checked'], [currentWindow.HTMLSelectElement.prototype, 'value'], [currentWindow.HTMLTextAreaElement.prototype, 'value'], [currentWindow.HTMLSelectElement.prototype, 'selectedIndex'], [currentWindow.HTMLOptionElement.prototype, 'selected']];\n\n if (propertyDescriptor && propertyDescriptor.set) {\n handlers.push.apply(handlers, _toConsumableArray(hookProperties.map(function (p) {\n return hookSetter(p[0], p[1], {\n set: function set() {\n callbackWrapper(eventHandler)({\n target: this,\n isTrusted: false\n });\n }\n }, false, currentWindow);\n })));\n }\n\n return callbackWrapper(function () {\n handlers.forEach(function (h) {\n return h();\n });\n });\n}\n\nfunction getNestedCSSRulePositions(rule) {\n var positions = [];\n\n function recurse(childRule, pos) {\n if (hasNestedCSSRule('CSSGroupingRule') && childRule.parentRule instanceof CSSGroupingRule || hasNestedCSSRule('CSSMediaRule') && childRule.parentRule instanceof CSSMediaRule || hasNestedCSSRule('CSSSupportsRule') && childRule.parentRule instanceof CSSSupportsRule || hasNestedCSSRule('CSSConditionRule') && childRule.parentRule instanceof CSSConditionRule) {\n var rules = Array.from(childRule.parentRule.cssRules);\n var index = rules.indexOf(childRule);\n pos.unshift(index);\n } else if (childRule.parentStyleSheet) {\n var _rules = Array.from(childRule.parentStyleSheet.cssRules);\n\n var _index = _rules.indexOf(childRule);\n\n pos.unshift(_index);\n }\n\n return pos;\n }\n\n return recurse(rule, positions);\n}\n\nfunction getIdAndStyleId(sheet, mirror, styleMirror) {\n var id, styleId;\n if (!sheet) return {};\n if (sheet.ownerNode) id = mirror.getId(sheet.ownerNode);else styleId = styleMirror.getId(sheet);\n return {\n styleId: styleId,\n id: id\n };\n}\n\nfunction initStyleSheetObserver(_ref11, _ref12) {\n var styleSheetRuleCb = _ref11.styleSheetRuleCb,\n mirror = _ref11.mirror,\n stylesheetManager = _ref11.stylesheetManager;\n var win = _ref12.win;\n\n if (!win.CSSStyleSheet || !win.CSSStyleSheet.prototype) {\n return function () {};\n }\n\n var insertRule = win.CSSStyleSheet.prototype.insertRule;\n win.CSSStyleSheet.prototype.insertRule = new Proxy(insertRule, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList = _slicedToArray(argumentsList, 2),\n rule = _argumentsList[0],\n index = _argumentsList[1];\n\n var _getIdAndStyleId = getIdAndStyleId(thisArg, mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId.id,\n styleId = _getIdAndStyleId.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleSheetRuleCb({\n id: id,\n styleId: styleId,\n adds: [{\n rule: rule,\n index: index\n }]\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n var deleteRule = win.CSSStyleSheet.prototype.deleteRule;\n win.CSSStyleSheet.prototype.deleteRule = new Proxy(deleteRule, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList2 = _slicedToArray(argumentsList, 1),\n index = _argumentsList2[0];\n\n var _getIdAndStyleId2 = getIdAndStyleId(thisArg, mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId2.id,\n styleId = _getIdAndStyleId2.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleSheetRuleCb({\n id: id,\n styleId: styleId,\n removes: [{\n index: index\n }]\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n var replace;\n\n if (win.CSSStyleSheet.prototype.replace) {\n replace = win.CSSStyleSheet.prototype.replace;\n win.CSSStyleSheet.prototype.replace = new Proxy(replace, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList3 = _slicedToArray(argumentsList, 1),\n text = _argumentsList3[0];\n\n var _getIdAndStyleId3 = getIdAndStyleId(thisArg, mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId3.id,\n styleId = _getIdAndStyleId3.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleSheetRuleCb({\n id: id,\n styleId: styleId,\n replace: text\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n }\n\n var replaceSync;\n\n if (win.CSSStyleSheet.prototype.replaceSync) {\n replaceSync = win.CSSStyleSheet.prototype.replaceSync;\n win.CSSStyleSheet.prototype.replaceSync = new Proxy(replaceSync, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList4 = _slicedToArray(argumentsList, 1),\n text = _argumentsList4[0];\n\n var _getIdAndStyleId4 = getIdAndStyleId(thisArg, mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId4.id,\n styleId = _getIdAndStyleId4.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleSheetRuleCb({\n id: id,\n styleId: styleId,\n replaceSync: text\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n }\n\n var supportedNestedCSSRuleTypes = {};\n\n if (canMonkeyPatchNestedCSSRule('CSSGroupingRule')) {\n supportedNestedCSSRuleTypes.CSSGroupingRule = win.CSSGroupingRule;\n } else {\n if (canMonkeyPatchNestedCSSRule('CSSMediaRule')) {\n supportedNestedCSSRuleTypes.CSSMediaRule = win.CSSMediaRule;\n }\n\n if (canMonkeyPatchNestedCSSRule('CSSConditionRule')) {\n supportedNestedCSSRuleTypes.CSSConditionRule = win.CSSConditionRule;\n }\n\n if (canMonkeyPatchNestedCSSRule('CSSSupportsRule')) {\n supportedNestedCSSRuleTypes.CSSSupportsRule = win.CSSSupportsRule;\n }\n }\n\n var unmodifiedFunctions = {};\n Object.entries(supportedNestedCSSRuleTypes).forEach(function (_ref13) {\n var _ref14 = _slicedToArray(_ref13, 2),\n typeKey = _ref14[0],\n type = _ref14[1];\n\n unmodifiedFunctions[typeKey] = {\n insertRule: type.prototype.insertRule,\n deleteRule: type.prototype.deleteRule\n };\n type.prototype.insertRule = new Proxy(unmodifiedFunctions[typeKey].insertRule, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList5 = _slicedToArray(argumentsList, 2),\n rule = _argumentsList5[0],\n index = _argumentsList5[1];\n\n var _getIdAndStyleId5 = getIdAndStyleId(thisArg.parentStyleSheet, mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId5.id,\n styleId = _getIdAndStyleId5.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleSheetRuleCb({\n id: id,\n styleId: styleId,\n adds: [{\n rule: rule,\n index: [].concat(_toConsumableArray(getNestedCSSRulePositions(thisArg)), [index || 0])\n }]\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n type.prototype.deleteRule = new Proxy(unmodifiedFunctions[typeKey].deleteRule, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList6 = _slicedToArray(argumentsList, 1),\n index = _argumentsList6[0];\n\n var _getIdAndStyleId6 = getIdAndStyleId(thisArg.parentStyleSheet, mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId6.id,\n styleId = _getIdAndStyleId6.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleSheetRuleCb({\n id: id,\n styleId: styleId,\n removes: [{\n index: [].concat(_toConsumableArray(getNestedCSSRulePositions(thisArg)), [index])\n }]\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n });\n return callbackWrapper(function () {\n win.CSSStyleSheet.prototype.insertRule = insertRule;\n win.CSSStyleSheet.prototype.deleteRule = deleteRule;\n replace && (win.CSSStyleSheet.prototype.replace = replace);\n replaceSync && (win.CSSStyleSheet.prototype.replaceSync = replaceSync);\n Object.entries(supportedNestedCSSRuleTypes).forEach(function (_ref15) {\n var _ref16 = _slicedToArray(_ref15, 2),\n typeKey = _ref16[0],\n type = _ref16[1];\n\n type.prototype.insertRule = unmodifiedFunctions[typeKey].insertRule;\n type.prototype.deleteRule = unmodifiedFunctions[typeKey].deleteRule;\n });\n });\n}\n\nfunction initAdoptedStyleSheetObserver(_ref17, host) {\n var mirror = _ref17.mirror,\n stylesheetManager = _ref17.stylesheetManager;\n var hostId = null;\n if (host.nodeName === '#document') hostId = mirror.getId(host);else hostId = mirror.getId(host.host);\n var patchTarget = host.nodeName === '#document' ? _optionalChain$2([host, 'access', function (_4) {\n return _4.defaultView;\n }, 'optionalAccess', function (_5) {\n return _5.Document;\n }]) : _optionalChain$2([host, 'access', function (_6) {\n return _6.ownerDocument;\n }, 'optionalAccess', function (_7) {\n return _7.defaultView;\n }, 'optionalAccess', function (_8) {\n return _8.ShadowRoot;\n }]);\n var originalPropertyDescriptor = _optionalChain$2([patchTarget, 'optionalAccess', function (_9) {\n return _9.prototype;\n }]) ? Object.getOwnPropertyDescriptor(_optionalChain$2([patchTarget, 'optionalAccess', function (_10) {\n return _10.prototype;\n }]), 'adoptedStyleSheets') : undefined;\n if (hostId === null || hostId === -1 || !patchTarget || !originalPropertyDescriptor) return function () {};\n Object.defineProperty(host, 'adoptedStyleSheets', {\n configurable: originalPropertyDescriptor.configurable,\n enumerable: originalPropertyDescriptor.enumerable,\n get: function get() {\n var _this6 = this;\n\n return _optionalChain$2([originalPropertyDescriptor, 'access', function (_11) {\n return _11.get;\n }, 'optionalAccess', function (_12) {\n return _12.call;\n }, 'call', function (_13) {\n return _13(_this6);\n }]);\n },\n set: function set(sheets) {\n var _this7 = this;\n\n var result = _optionalChain$2([originalPropertyDescriptor, 'access', function (_14) {\n return _14.set;\n }, 'optionalAccess', function (_15) {\n return _15.call;\n }, 'call', function (_16) {\n return _16(_this7, sheets);\n }]);\n\n if (hostId !== null && hostId !== -1) {\n try {\n stylesheetManager.adoptStyleSheets(sheets, hostId);\n } catch (e) {}\n }\n\n return result;\n }\n });\n return callbackWrapper(function () {\n Object.defineProperty(host, 'adoptedStyleSheets', {\n configurable: originalPropertyDescriptor.configurable,\n enumerable: originalPropertyDescriptor.enumerable,\n get: originalPropertyDescriptor.get,\n set: originalPropertyDescriptor.set\n });\n });\n}\n\nfunction initStyleDeclarationObserver(_ref18, _ref19) {\n var styleDeclarationCb = _ref18.styleDeclarationCb,\n mirror = _ref18.mirror,\n ignoreCSSAttributes = _ref18.ignoreCSSAttributes,\n stylesheetManager = _ref18.stylesheetManager;\n var win = _ref19.win;\n var setProperty = win.CSSStyleDeclaration.prototype.setProperty;\n win.CSSStyleDeclaration.prototype.setProperty = new Proxy(setProperty, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList7 = _slicedToArray(argumentsList, 3),\n property = _argumentsList7[0],\n value = _argumentsList7[1],\n priority = _argumentsList7[2];\n\n if (ignoreCSSAttributes.has(property)) {\n return setProperty.apply(thisArg, [property, value, priority]);\n }\n\n var _getIdAndStyleId7 = getIdAndStyleId(_optionalChain$2([thisArg, 'access', function (_17) {\n return _17.parentRule;\n }, 'optionalAccess', function (_18) {\n return _18.parentStyleSheet;\n }]), mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId7.id,\n styleId = _getIdAndStyleId7.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleDeclarationCb({\n id: id,\n styleId: styleId,\n set: {\n property: property,\n value: value,\n priority: priority\n },\n index: getNestedCSSRulePositions(thisArg.parentRule)\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n var removeProperty = win.CSSStyleDeclaration.prototype.removeProperty;\n win.CSSStyleDeclaration.prototype.removeProperty = new Proxy(removeProperty, {\n apply: callbackWrapper(function (target, thisArg, argumentsList) {\n var _argumentsList8 = _slicedToArray(argumentsList, 1),\n property = _argumentsList8[0];\n\n if (ignoreCSSAttributes.has(property)) {\n return removeProperty.apply(thisArg, [property]);\n }\n\n var _getIdAndStyleId8 = getIdAndStyleId(_optionalChain$2([thisArg, 'access', function (_19) {\n return _19.parentRule;\n }, 'optionalAccess', function (_20) {\n return _20.parentStyleSheet;\n }]), mirror, stylesheetManager.styleMirror),\n id = _getIdAndStyleId8.id,\n styleId = _getIdAndStyleId8.styleId;\n\n if (id && id !== -1 || styleId && styleId !== -1) {\n styleDeclarationCb({\n id: id,\n styleId: styleId,\n remove: {\n property: property\n },\n index: getNestedCSSRulePositions(thisArg.parentRule)\n });\n }\n\n return target.apply(thisArg, argumentsList);\n })\n });\n return callbackWrapper(function () {\n win.CSSStyleDeclaration.prototype.setProperty = setProperty;\n win.CSSStyleDeclaration.prototype.removeProperty = removeProperty;\n });\n}\n\nfunction initMediaInteractionObserver(_ref20) {\n var mediaInteractionCb = _ref20.mediaInteractionCb,\n blockClass = _ref20.blockClass,\n blockSelector = _ref20.blockSelector,\n unblockSelector = _ref20.unblockSelector,\n mirror = _ref20.mirror,\n sampling = _ref20.sampling,\n doc = _ref20.doc;\n var handler = callbackWrapper(function (type) {\n return throttle$1(callbackWrapper(function (event) {\n var target = getEventTarget(event);\n\n if (!target || isBlocked(target, blockClass, blockSelector, unblockSelector, true)) {\n return;\n }\n\n var currentTime = target.currentTime,\n volume = target.volume,\n muted = target.muted,\n playbackRate = target.playbackRate;\n mediaInteractionCb({\n type: type,\n id: mirror.getId(target),\n currentTime: currentTime,\n volume: volume,\n muted: muted,\n playbackRate: playbackRate\n });\n }), sampling.media || 500);\n });\n var handlers = [on('play', handler(0), doc), on('pause', handler(1), doc), on('seeked', handler(2), doc), on('volumechange', handler(3), doc), on('ratechange', handler(4), doc)];\n return callbackWrapper(function () {\n handlers.forEach(function (h) {\n return h();\n });\n });\n}\n\nfunction initFontObserver(_ref21) {\n var fontCb = _ref21.fontCb,\n doc = _ref21.doc;\n var win = doc.defaultView;\n\n if (!win) {\n return function () {};\n }\n\n var handlers = [];\n var fontMap = new WeakMap();\n var originalFontFace = win.FontFace;\n\n win.FontFace = function FontFace(family, source, descriptors) {\n var fontFace = new originalFontFace(family, source, descriptors);\n fontMap.set(fontFace, {\n family: family,\n buffer: typeof source !== 'string',\n descriptors: descriptors,\n fontSource: typeof source === 'string' ? source : JSON.stringify(Array.from(new Uint8Array(source)))\n });\n return fontFace;\n };\n\n var restoreHandler = patch(doc.fonts, 'add', function (original) {\n return function (fontFace) {\n setTimeout(callbackWrapper(function () {\n var p = fontMap.get(fontFace);\n\n if (p) {\n fontCb(p);\n fontMap[\"delete\"](fontFace);\n }\n }), 0);\n return original.apply(this, [fontFace]);\n };\n });\n handlers.push(function () {\n win.FontFace = originalFontFace;\n });\n handlers.push(restoreHandler);\n return callbackWrapper(function () {\n handlers.forEach(function (h) {\n return h();\n });\n });\n}\n\nfunction initSelectionObserver(param) {\n var doc = param.doc,\n mirror = param.mirror,\n blockClass = param.blockClass,\n blockSelector = param.blockSelector,\n unblockSelector = param.unblockSelector,\n selectionCb = param.selectionCb;\n var collapsed = true;\n var updateSelection = callbackWrapper(function () {\n var selection = doc.getSelection();\n if (!selection || collapsed && _optionalChain$2([selection, 'optionalAccess', function (_21) {\n return _21.isCollapsed;\n }])) return;\n collapsed = selection.isCollapsed || false;\n var ranges = [];\n var count = selection.rangeCount || 0;\n\n for (var i = 0; i < count; i++) {\n var range = selection.getRangeAt(i);\n var startContainer = range.startContainer,\n startOffset = range.startOffset,\n endContainer = range.endContainer,\n endOffset = range.endOffset;\n var blocked = isBlocked(startContainer, blockClass, blockSelector, unblockSelector, true) || isBlocked(endContainer, blockClass, blockSelector, unblockSelector, true);\n if (blocked) continue;\n ranges.push({\n start: mirror.getId(startContainer),\n startOffset: startOffset,\n end: mirror.getId(endContainer),\n endOffset: endOffset\n });\n }\n\n selectionCb({\n ranges: ranges\n });\n });\n updateSelection();\n return on('selectionchange', updateSelection);\n}\n\nfunction initCustomElementObserver(_ref22) {\n var doc = _ref22.doc,\n customElementCb = _ref22.customElementCb;\n var win = doc.defaultView;\n if (!win || !win.customElements) return function () {};\n var restoreHandler = patch(win.customElements, 'define', function (original) {\n return function (name, constructor, options) {\n try {\n customElementCb({\n define: {\n name: name\n }\n });\n } catch (e) {}\n\n return original.apply(this, [name, constructor, options]);\n };\n });\n return restoreHandler;\n}\n\nfunction initObservers(o) {\n var _hooks = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var currentWindow = o.doc.defaultView;\n\n if (!currentWindow) {\n return function () {};\n }\n\n var mutationObserver = initMutationObserver(o, o.doc);\n var mousemoveHandler = initMoveObserver(o);\n var mouseInteractionHandler = initMouseInteractionObserver(o);\n var scrollHandler = initScrollObserver(o);\n var viewportResizeHandler = initViewportResizeObserver(o, {\n win: currentWindow\n });\n var inputHandler = initInputObserver(o);\n var mediaInteractionHandler = initMediaInteractionObserver(o);\n var styleSheetObserver = initStyleSheetObserver(o, {\n win: currentWindow\n });\n var adoptedStyleSheetObserver = initAdoptedStyleSheetObserver(o, o.doc);\n var styleDeclarationObserver = initStyleDeclarationObserver(o, {\n win: currentWindow\n });\n var fontObserver = o.collectFonts ? initFontObserver(o) : function () {};\n var selectionObserver = initSelectionObserver(o);\n var customElementObserver = initCustomElementObserver(o);\n var pluginHandlers = [];\n var _iteratorNormalCompletion4 = true;\n var _didIteratorError4 = false;\n var _iteratorError4 = undefined;\n\n try {\n for (var _iterator4 = o.plugins[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n var plugin = _step4.value;\n pluginHandlers.push(plugin.observer(plugin.callback, currentWindow, plugin.options));\n }\n } catch (err) {\n _didIteratorError4 = true;\n _iteratorError4 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion4 && _iterator4[\"return\"] != null) {\n _iterator4[\"return\"]();\n }\n } finally {\n if (_didIteratorError4) {\n throw _iteratorError4;\n }\n }\n }\n\n return callbackWrapper(function () {\n mutationBuffers.forEach(function (b) {\n return b.reset();\n });\n mutationObserver.disconnect();\n mousemoveHandler();\n mouseInteractionHandler();\n scrollHandler();\n viewportResizeHandler();\n inputHandler();\n mediaInteractionHandler();\n styleSheetObserver();\n adoptedStyleSheetObserver();\n styleDeclarationObserver();\n fontObserver();\n selectionObserver();\n customElementObserver();\n pluginHandlers.forEach(function (h) {\n return h();\n });\n });\n}\n\nfunction hasNestedCSSRule(prop) {\n return typeof window[prop] !== 'undefined';\n}\n\nfunction canMonkeyPatchNestedCSSRule(prop) {\n return Boolean(typeof window[prop] !== 'undefined' && window[prop].prototype && 'insertRule' in window[prop].prototype && 'deleteRule' in window[prop].prototype);\n}\n\nvar CrossOriginIframeMirror =\n/*#__PURE__*/\nfunction () {\n function CrossOriginIframeMirror(generateIdFn) {\n _classCallCheck(this, CrossOriginIframeMirror);\n\n this.generateIdFn = generateIdFn;\n this.iframeIdToRemoteIdMap = new WeakMap();\n this.iframeRemoteIdToIdMap = new WeakMap();\n }\n\n _createClass(CrossOriginIframeMirror, [{\n key: \"getId\",\n value: function getId(iframe, remoteId, idToRemoteMap, remoteToIdMap) {\n var idToRemoteIdMap = idToRemoteMap || this.getIdToRemoteIdMap(iframe);\n var remoteIdToIdMap = remoteToIdMap || this.getRemoteIdToIdMap(iframe);\n var id = idToRemoteIdMap.get(remoteId);\n\n if (!id) {\n id = this.generateIdFn();\n idToRemoteIdMap.set(remoteId, id);\n remoteIdToIdMap.set(id, remoteId);\n }\n\n return id;\n }\n }, {\n key: \"getIds\",\n value: function getIds(iframe, remoteId) {\n var _this8 = this;\n\n var idToRemoteIdMap = this.getIdToRemoteIdMap(iframe);\n var remoteIdToIdMap = this.getRemoteIdToIdMap(iframe);\n return remoteId.map(function (id) {\n return _this8.getId(iframe, id, idToRemoteIdMap, remoteIdToIdMap);\n });\n }\n }, {\n key: \"getRemoteId\",\n value: function getRemoteId(iframe, id, map) {\n var remoteIdToIdMap = map || this.getRemoteIdToIdMap(iframe);\n if (typeof id !== 'number') return id;\n var remoteId = remoteIdToIdMap.get(id);\n if (!remoteId) return -1;\n return remoteId;\n }\n }, {\n key: \"getRemoteIds\",\n value: function getRemoteIds(iframe, ids) {\n var _this9 = this;\n\n var remoteIdToIdMap = this.getRemoteIdToIdMap(iframe);\n return ids.map(function (id) {\n return _this9.getRemoteId(iframe, id, remoteIdToIdMap);\n });\n }\n }, {\n key: \"reset\",\n value: function reset(iframe) {\n if (!iframe) {\n this.iframeIdToRemoteIdMap = new WeakMap();\n this.iframeRemoteIdToIdMap = new WeakMap();\n return;\n }\n\n this.iframeIdToRemoteIdMap[\"delete\"](iframe);\n this.iframeRemoteIdToIdMap[\"delete\"](iframe);\n }\n }, {\n key: \"getIdToRemoteIdMap\",\n value: function getIdToRemoteIdMap(iframe) {\n var idToRemoteIdMap = this.iframeIdToRemoteIdMap.get(iframe);\n\n if (!idToRemoteIdMap) {\n idToRemoteIdMap = new Map();\n this.iframeIdToRemoteIdMap.set(iframe, idToRemoteIdMap);\n }\n\n return idToRemoteIdMap;\n }\n }, {\n key: \"getRemoteIdToIdMap\",\n value: function getRemoteIdToIdMap(iframe) {\n var remoteIdToIdMap = this.iframeRemoteIdToIdMap.get(iframe);\n\n if (!remoteIdToIdMap) {\n remoteIdToIdMap = new Map();\n this.iframeRemoteIdToIdMap.set(iframe, remoteIdToIdMap);\n }\n\n return remoteIdToIdMap;\n }\n }]);\n\n return CrossOriginIframeMirror;\n}();\n\nfunction _optionalChain$1(ops) {\n var lastAccessLHS = undefined;\n var value = ops[0];\n var i = 1;\n\n while (i < ops.length) {\n var op = ops[i];\n var fn = ops[i + 1];\n i += 2;\n\n if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {\n return undefined;\n }\n\n if (op === 'access' || op === 'optionalAccess') {\n lastAccessLHS = value;\n value = fn(value);\n } else if (op === 'call' || op === 'optionalCall') {\n value = fn(function () {\n var _value7;\n\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return (_value7 = value).call.apply(_value7, [lastAccessLHS].concat(args));\n });\n lastAccessLHS = undefined;\n }\n }\n\n return value;\n}\n\nvar IframeManagerNoop =\n/*#__PURE__*/\nfunction () {\n function IframeManagerNoop() {\n _classCallCheck(this, IframeManagerNoop);\n\n this.crossOriginIframeMirror = new CrossOriginIframeMirror(genId);\n this.crossOriginIframeRootIdMap = new WeakMap();\n }\n\n _createClass(IframeManagerNoop, [{\n key: \"addIframe\",\n value: function addIframe() {}\n }, {\n key: \"addLoadListener\",\n value: function addLoadListener() {}\n }, {\n key: \"attachIframe\",\n value: function attachIframe() {}\n }]);\n\n return IframeManagerNoop;\n}();\n\nvar IframeManager =\n/*#__PURE__*/\nfunction () {\n function IframeManager(options) {\n _classCallCheck(this, IframeManager);\n\n this.iframes = new WeakMap();\n this.crossOriginIframeMap = new WeakMap();\n this.crossOriginIframeMirror = new CrossOriginIframeMirror(genId);\n this.crossOriginIframeRootIdMap = new WeakMap();\n this.mutationCb = options.mutationCb;\n this.wrappedEmit = options.wrappedEmit;\n this.stylesheetManager = options.stylesheetManager;\n this.recordCrossOriginIframes = options.recordCrossOriginIframes;\n this.crossOriginIframeStyleMirror = new CrossOriginIframeMirror(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror));\n this.mirror = options.mirror;\n\n if (this.recordCrossOriginIframes) {\n window.addEventListener('message', this.handleMessage.bind(this));\n }\n }\n\n _createClass(IframeManager, [{\n key: \"addIframe\",\n value: function addIframe(iframeEl) {\n this.iframes.set(iframeEl, true);\n if (iframeEl.contentWindow) this.crossOriginIframeMap.set(iframeEl.contentWindow, iframeEl);\n }\n }, {\n key: \"addLoadListener\",\n value: function addLoadListener(cb) {\n this.loadListener = cb;\n }\n }, {\n key: \"attachIframe\",\n value: function attachIframe(iframeEl, childSn) {\n this.mutationCb({\n adds: [{\n parentId: this.mirror.getId(iframeEl),\n nextId: null,\n node: childSn\n }],\n removes: [],\n texts: [],\n attributes: [],\n isAttachIframe: true\n });\n\n _optionalChain$1([this, 'access', function (_) {\n return _.loadListener;\n }, 'optionalCall', function (_2) {\n return _2(iframeEl);\n }]);\n\n if (iframeEl.contentDocument && iframeEl.contentDocument.adoptedStyleSheets && iframeEl.contentDocument.adoptedStyleSheets.length > 0) this.stylesheetManager.adoptStyleSheets(iframeEl.contentDocument.adoptedStyleSheets, this.mirror.getId(iframeEl.contentDocument));\n }\n }, {\n key: \"handleMessage\",\n value: function handleMessage(message) {\n var crossOriginMessageEvent = message;\n if (crossOriginMessageEvent.data.type !== 'rrweb' || crossOriginMessageEvent.origin !== crossOriginMessageEvent.data.origin) return;\n var iframeSourceWindow = message.source;\n if (!iframeSourceWindow) return;\n var iframeEl = this.crossOriginIframeMap.get(message.source);\n if (!iframeEl) return;\n var transformedEvent = this.transformCrossOriginEvent(iframeEl, crossOriginMessageEvent.data.event);\n if (transformedEvent) this.wrappedEmit(transformedEvent, crossOriginMessageEvent.data.isCheckout);\n }\n }, {\n key: \"transformCrossOriginEvent\",\n value: function transformCrossOriginEvent(iframeEl, e) {\n var _this10 = this;\n\n switch (e.type) {\n case EventType.FullSnapshot:\n {\n this.crossOriginIframeMirror.reset(iframeEl);\n this.crossOriginIframeStyleMirror.reset(iframeEl);\n this.replaceIdOnNode(e.data.node, iframeEl);\n var rootId = e.data.node.id;\n this.crossOriginIframeRootIdMap.set(iframeEl, rootId);\n this.patchRootIdOnNode(e.data.node, rootId);\n return {\n timestamp: e.timestamp,\n type: EventType.IncrementalSnapshot,\n data: {\n source: IncrementalSource.Mutation,\n adds: [{\n parentId: this.mirror.getId(iframeEl),\n nextId: null,\n node: e.data.node\n }],\n removes: [],\n texts: [],\n attributes: [],\n isAttachIframe: true\n }\n };\n }\n\n case EventType.Meta:\n case EventType.Load:\n case EventType.DomContentLoaded:\n {\n return false;\n }\n\n case EventType.Plugin:\n {\n return e;\n }\n\n case EventType.Custom:\n {\n this.replaceIds(e.data.payload, iframeEl, ['id', 'parentId', 'previousId', 'nextId']);\n return e;\n }\n\n case EventType.IncrementalSnapshot:\n {\n switch (e.data.source) {\n case IncrementalSource.Mutation:\n {\n e.data.adds.forEach(function (n) {\n _this10.replaceIds(n, iframeEl, ['parentId', 'nextId', 'previousId']);\n\n _this10.replaceIdOnNode(n.node, iframeEl);\n\n var rootId = _this10.crossOriginIframeRootIdMap.get(iframeEl);\n\n rootId && _this10.patchRootIdOnNode(n.node, rootId);\n });\n e.data.removes.forEach(function (n) {\n _this10.replaceIds(n, iframeEl, ['parentId', 'id']);\n });\n e.data.attributes.forEach(function (n) {\n _this10.replaceIds(n, iframeEl, ['id']);\n });\n e.data.texts.forEach(function (n) {\n _this10.replaceIds(n, iframeEl, ['id']);\n });\n return e;\n }\n\n case IncrementalSource.Drag:\n case IncrementalSource.TouchMove:\n case IncrementalSource.MouseMove:\n {\n e.data.positions.forEach(function (p) {\n _this10.replaceIds(p, iframeEl, ['id']);\n });\n return e;\n }\n\n case IncrementalSource.ViewportResize:\n {\n return false;\n }\n\n case IncrementalSource.MediaInteraction:\n case IncrementalSource.MouseInteraction:\n case IncrementalSource.Scroll:\n case IncrementalSource.CanvasMutation:\n case IncrementalSource.Input:\n {\n this.replaceIds(e.data, iframeEl, ['id']);\n return e;\n }\n\n case IncrementalSource.StyleSheetRule:\n case IncrementalSource.StyleDeclaration:\n {\n this.replaceIds(e.data, iframeEl, ['id']);\n this.replaceStyleIds(e.data, iframeEl, ['styleId']);\n return e;\n }\n\n case IncrementalSource.Font:\n {\n return e;\n }\n\n case IncrementalSource.Selection:\n {\n e.data.ranges.forEach(function (range) {\n _this10.replaceIds(range, iframeEl, ['start', 'end']);\n });\n return e;\n }\n\n case IncrementalSource.AdoptedStyleSheet:\n {\n this.replaceIds(e.data, iframeEl, ['id']);\n this.replaceStyleIds(e.data, iframeEl, ['styleIds']);\n\n _optionalChain$1([e, 'access', function (_3) {\n return _3.data;\n }, 'access', function (_4) {\n return _4.styles;\n }, 'optionalAccess', function (_5) {\n return _5.forEach;\n }, 'call', function (_6) {\n return _6(function (style) {\n _this10.replaceStyleIds(style, iframeEl, ['styleId']);\n });\n }]);\n\n return e;\n }\n }\n }\n }\n\n return false;\n }\n }, {\n key: \"replace\",\n value: function replace(iframeMirror, obj, iframeEl, keys) {\n var _iteratorNormalCompletion5 = true;\n var _didIteratorError5 = false;\n var _iteratorError5 = undefined;\n\n try {\n for (var _iterator5 = keys[Symbol.iterator](), _step5; !(_iteratorNormalCompletion5 = (_step5 = _iterator5.next()).done); _iteratorNormalCompletion5 = true) {\n var key = _step5.value;\n if (!Array.isArray(obj[key]) && typeof obj[key] !== 'number') continue;\n\n if (Array.isArray(obj[key])) {\n obj[key] = iframeMirror.getIds(iframeEl, obj[key]);\n } else {\n obj[key] = iframeMirror.getId(iframeEl, obj[key]);\n }\n }\n } catch (err) {\n _didIteratorError5 = true;\n _iteratorError5 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion5 && _iterator5[\"return\"] != null) {\n _iterator5[\"return\"]();\n }\n } finally {\n if (_didIteratorError5) {\n throw _iteratorError5;\n }\n }\n }\n\n return obj;\n }\n }, {\n key: \"replaceIds\",\n value: function replaceIds(obj, iframeEl, keys) {\n return this.replace(this.crossOriginIframeMirror, obj, iframeEl, keys);\n }\n }, {\n key: \"replaceStyleIds\",\n value: function replaceStyleIds(obj, iframeEl, keys) {\n return this.replace(this.crossOriginIframeStyleMirror, obj, iframeEl, keys);\n }\n }, {\n key: \"replaceIdOnNode\",\n value: function replaceIdOnNode(node, iframeEl) {\n var _this11 = this;\n\n this.replaceIds(node, iframeEl, ['id', 'rootId']);\n\n if ('childNodes' in node) {\n node.childNodes.forEach(function (child) {\n _this11.replaceIdOnNode(child, iframeEl);\n });\n }\n }\n }, {\n key: \"patchRootIdOnNode\",\n value: function patchRootIdOnNode(node, rootId) {\n var _this12 = this;\n\n if (node.type !== NodeType$1.Document && !node.rootId) node.rootId = rootId;\n\n if ('childNodes' in node) {\n node.childNodes.forEach(function (child) {\n _this12.patchRootIdOnNode(child, rootId);\n });\n }\n }\n }]);\n\n return IframeManager;\n}();\n\nvar ShadowDomManagerNoop =\n/*#__PURE__*/\nfunction () {\n function ShadowDomManagerNoop() {\n _classCallCheck(this, ShadowDomManagerNoop);\n }\n\n _createClass(ShadowDomManagerNoop, [{\n key: \"init\",\n value: function init() {}\n }, {\n key: \"addShadowRoot\",\n value: function addShadowRoot() {}\n }, {\n key: \"observeAttachShadow\",\n value: function observeAttachShadow() {}\n }, {\n key: \"reset\",\n value: function reset() {}\n }]);\n\n return ShadowDomManagerNoop;\n}();\n\nvar ShadowDomManager =\n/*#__PURE__*/\nfunction () {\n function ShadowDomManager(options) {\n _classCallCheck(this, ShadowDomManager);\n\n this.shadowDoms = new WeakSet();\n this.restoreHandlers = [];\n this.mutationCb = options.mutationCb;\n this.scrollCb = options.scrollCb;\n this.bypassOptions = options.bypassOptions;\n this.mirror = options.mirror;\n this.init();\n }\n\n _createClass(ShadowDomManager, [{\n key: \"init\",\n value: function init() {\n this.reset();\n this.patchAttachShadow(Element, document);\n }\n }, {\n key: \"addShadowRoot\",\n value: function addShadowRoot(shadowRoot, doc) {\n var _this13 = this;\n\n if (!isNativeShadowDom(shadowRoot)) return;\n if (this.shadowDoms.has(shadowRoot)) return;\n this.shadowDoms.add(shadowRoot);\n var observer = initMutationObserver(_objectSpread(_objectSpread({}, this.bypassOptions), {}, {\n doc: doc,\n mutationCb: this.mutationCb,\n mirror: this.mirror,\n shadowDomManager: this\n }), shadowRoot);\n this.restoreHandlers.push(function () {\n return observer.disconnect();\n });\n this.restoreHandlers.push(initScrollObserver(_objectSpread(_objectSpread({}, this.bypassOptions), {}, {\n scrollCb: this.scrollCb,\n doc: shadowRoot,\n mirror: this.mirror\n })));\n setTimeout(function () {\n if (shadowRoot.adoptedStyleSheets && shadowRoot.adoptedStyleSheets.length > 0) _this13.bypassOptions.stylesheetManager.adoptStyleSheets(shadowRoot.adoptedStyleSheets, _this13.mirror.getId(shadowRoot.host));\n\n _this13.restoreHandlers.push(initAdoptedStyleSheetObserver({\n mirror: _this13.mirror,\n stylesheetManager: _this13.bypassOptions.stylesheetManager\n }, shadowRoot));\n }, 0);\n }\n }, {\n key: \"observeAttachShadow\",\n value: function observeAttachShadow(iframeElement) {\n if (!iframeElement.contentWindow || !iframeElement.contentDocument) return;\n this.patchAttachShadow(iframeElement.contentWindow.Element, iframeElement.contentDocument);\n }\n }, {\n key: \"patchAttachShadow\",\n value: function patchAttachShadow(element, doc) {\n var manager = this;\n this.restoreHandlers.push(patch(element.prototype, 'attachShadow', function (original) {\n return function (option) {\n var shadowRoot = original.call(this, option);\n if (this.shadowRoot && inDom(this)) manager.addShadowRoot(this.shadowRoot, doc);\n return shadowRoot;\n };\n }));\n }\n }, {\n key: \"reset\",\n value: function reset() {\n this.restoreHandlers.forEach(function (handler) {\n try {\n handler();\n } catch (e) {}\n });\n this.restoreHandlers = [];\n this.shadowDoms = new WeakSet();\n }\n }]);\n\n return ShadowDomManager;\n}();\n\nvar CanvasManagerNoop =\n/*#__PURE__*/\nfunction () {\n function CanvasManagerNoop() {\n _classCallCheck(this, CanvasManagerNoop);\n }\n\n _createClass(CanvasManagerNoop, [{\n key: \"reset\",\n value: function reset() {}\n }, {\n key: \"freeze\",\n value: function freeze() {}\n }, {\n key: \"unfreeze\",\n value: function unfreeze() {}\n }, {\n key: \"lock\",\n value: function lock() {}\n }, {\n key: \"unlock\",\n value: function unlock() {}\n }, {\n key: \"snapshot\",\n value: function snapshot() {}\n }]);\n\n return CanvasManagerNoop;\n}();\n\nvar StylesheetManager =\n/*#__PURE__*/\nfunction () {\n function StylesheetManager(options) {\n _classCallCheck(this, StylesheetManager);\n\n this.trackedLinkElements = new WeakSet();\n this.styleMirror = new StyleSheetMirror();\n this.mutationCb = options.mutationCb;\n this.adoptedStyleSheetCb = options.adoptedStyleSheetCb;\n }\n\n _createClass(StylesheetManager, [{\n key: \"attachLinkElement\",\n value: function attachLinkElement(linkEl, childSn) {\n if ('_cssText' in childSn.attributes) this.mutationCb({\n adds: [],\n removes: [],\n texts: [],\n attributes: [{\n id: childSn.id,\n attributes: childSn.attributes\n }]\n });\n this.trackLinkElement(linkEl);\n }\n }, {\n key: \"trackLinkElement\",\n value: function trackLinkElement(linkEl) {\n if (this.trackedLinkElements.has(linkEl)) return;\n this.trackedLinkElements.add(linkEl);\n this.trackStylesheetInLinkElement(linkEl);\n }\n }, {\n key: \"adoptStyleSheets\",\n value: function adoptStyleSheets(sheets, hostId) {\n if (sheets.length === 0) return;\n var adoptedStyleSheetData = {\n id: hostId,\n styleIds: []\n };\n var styles = [];\n var _iteratorNormalCompletion6 = true;\n var _didIteratorError6 = false;\n var _iteratorError6 = undefined;\n\n try {\n for (var _iterator6 = sheets[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) {\n var sheet = _step6.value;\n var styleId = void 0;\n\n if (!this.styleMirror.has(sheet)) {\n styleId = this.styleMirror.add(sheet);\n styles.push({\n styleId: styleId,\n rules: Array.from(sheet.rules || CSSRule, function (r, index) {\n return {\n rule: stringifyRule(r),\n index: index\n };\n })\n });\n } else styleId = this.styleMirror.getId(sheet);\n\n adoptedStyleSheetData.styleIds.push(styleId);\n }\n } catch (err) {\n _didIteratorError6 = true;\n _iteratorError6 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion6 && _iterator6[\"return\"] != null) {\n _iterator6[\"return\"]();\n }\n } finally {\n if (_didIteratorError6) {\n throw _iteratorError6;\n }\n }\n }\n\n if (styles.length > 0) adoptedStyleSheetData.styles = styles;\n this.adoptedStyleSheetCb(adoptedStyleSheetData);\n }\n }, {\n key: \"reset\",\n value: function reset() {\n this.styleMirror.reset();\n this.trackedLinkElements = new WeakSet();\n }\n }, {\n key: \"trackStylesheetInLinkElement\",\n value: function trackStylesheetInLinkElement(linkEl) {}\n }]);\n\n return StylesheetManager;\n}();\n\nvar ProcessedNodeManager =\n/*#__PURE__*/\nfunction () {\n function ProcessedNodeManager() {\n _classCallCheck(this, ProcessedNodeManager);\n\n this.nodeMap = new WeakMap();\n this.loop = true;\n this.periodicallyClear();\n }\n\n _createClass(ProcessedNodeManager, [{\n key: \"periodicallyClear\",\n value: function periodicallyClear() {\n var _this14 = this;\n\n onRequestAnimationFrame(function () {\n _this14.clear();\n\n if (_this14.loop) _this14.periodicallyClear();\n });\n }\n }, {\n key: \"inOtherBuffer\",\n value: function inOtherBuffer(node, thisBuffer) {\n var buffers = this.nodeMap.get(node);\n return buffers && Array.from(buffers).some(function (buffer) {\n return buffer !== thisBuffer;\n });\n }\n }, {\n key: \"add\",\n value: function add(node, buffer) {\n this.nodeMap.set(node, (this.nodeMap.get(node) || new Set()).add(buffer));\n }\n }, {\n key: \"clear\",\n value: function clear() {\n this.nodeMap = new WeakMap();\n }\n }, {\n key: \"destroy\",\n value: function destroy() {\n this.loop = false;\n }\n }]);\n\n return ProcessedNodeManager;\n}();\n\nfunction wrapEvent(e) {\n var eWithTime = e;\n eWithTime.timestamp = nowTimestamp();\n return eWithTime;\n}\n\nvar _takeFullSnapshot;\n\nvar mirror = createMirror();\n\nfunction record() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var emit = options.emit,\n checkoutEveryNms = options.checkoutEveryNms,\n checkoutEveryNth = options.checkoutEveryNth,\n _options$blockClass = options.blockClass,\n blockClass = _options$blockClass === void 0 ? 'rr-block' : _options$blockClass,\n _options$blockSelecto = options.blockSelector,\n blockSelector = _options$blockSelecto === void 0 ? null : _options$blockSelecto,\n _options$unblockSelec = options.unblockSelector,\n unblockSelector = _options$unblockSelec === void 0 ? null : _options$unblockSelec,\n _options$ignoreClass = options.ignoreClass,\n ignoreClass = _options$ignoreClass === void 0 ? 'rr-ignore' : _options$ignoreClass,\n _options$ignoreSelect = options.ignoreSelector,\n ignoreSelector = _options$ignoreSelect === void 0 ? null : _options$ignoreSelect,\n _options$maskAllText = options.maskAllText,\n maskAllText = _options$maskAllText === void 0 ? false : _options$maskAllText,\n _options$maskTextClas = options.maskTextClass,\n maskTextClass = _options$maskTextClas === void 0 ? 'rr-mask' : _options$maskTextClas,\n _options$unmaskTextCl = options.unmaskTextClass,\n unmaskTextClass = _options$unmaskTextCl === void 0 ? null : _options$unmaskTextCl,\n _options$maskTextSele = options.maskTextSelector,\n maskTextSelector = _options$maskTextSele === void 0 ? null : _options$maskTextSele,\n _options$unmaskTextSe = options.unmaskTextSelector,\n unmaskTextSelector = _options$unmaskTextSe === void 0 ? null : _options$unmaskTextSe,\n _options$inlineStyles2 = options.inlineStylesheet,\n inlineStylesheet = _options$inlineStyles2 === void 0 ? true : _options$inlineStyles2,\n maskAllInputs = options.maskAllInputs,\n _maskInputOptions = options.maskInputOptions,\n _slimDOMOptions = options.slimDOMOptions,\n maskAttributeFn = options.maskAttributeFn,\n maskInputFn = options.maskInputFn,\n maskTextFn = options.maskTextFn,\n packFn = options.packFn,\n _options$sampling = options.sampling,\n sampling = _options$sampling === void 0 ? {} : _options$sampling,\n _options$dataURLOptio4 = options.dataURLOptions,\n dataURLOptions = _options$dataURLOptio4 === void 0 ? {} : _options$dataURLOptio4,\n mousemoveWait = options.mousemoveWait,\n _options$recordCanvas2 = options.recordCanvas,\n recordCanvas = _options$recordCanvas2 === void 0 ? false : _options$recordCanvas2,\n _options$recordCrossO = options.recordCrossOriginIframes,\n recordCrossOriginIframes = _options$recordCrossO === void 0 ? false : _options$recordCrossO,\n _options$recordAfter = options.recordAfter,\n recordAfter = _options$recordAfter === void 0 ? options.recordAfter === 'DOMContentLoaded' ? options.recordAfter : 'load' : _options$recordAfter,\n _options$userTriggere = options.userTriggeredOnInput,\n userTriggeredOnInput = _options$userTriggere === void 0 ? false : _options$userTriggere,\n _options$collectFonts = options.collectFonts,\n collectFonts = _options$collectFonts === void 0 ? false : _options$collectFonts,\n _options$inlineImages2 = options.inlineImages,\n inlineImages = _options$inlineImages2 === void 0 ? false : _options$inlineImages2,\n plugins = options.plugins,\n _options$keepIframeSr2 = options.keepIframeSrcFn,\n keepIframeSrcFn = _options$keepIframeSr2 === void 0 ? function () {\n return false;\n } : _options$keepIframeSr2,\n _options$ignoreCSSAtt = options.ignoreCSSAttributes,\n ignoreCSSAttributes = _options$ignoreCSSAtt === void 0 ? new Set([]) : _options$ignoreCSSAtt,\n errorHandler = options.errorHandler,\n onMutation = options.onMutation,\n getCanvasManager = options.getCanvasManager;\n registerErrorHandler(errorHandler);\n var inEmittingFrame = recordCrossOriginIframes ? window.parent === window : true;\n var passEmitsToParent = false;\n\n if (!inEmittingFrame) {\n try {\n if (window.parent.document) {\n passEmitsToParent = false;\n }\n } catch (e) {\n passEmitsToParent = true;\n }\n }\n\n if (inEmittingFrame && !emit) {\n throw new Error('emit function is required');\n }\n\n if (mousemoveWait !== undefined && sampling.mousemove === undefined) {\n sampling.mousemove = mousemoveWait;\n }\n\n mirror.reset();\n var maskInputOptions = maskAllInputs === true ? {\n color: true,\n date: true,\n 'datetime-local': true,\n email: true,\n month: true,\n number: true,\n range: true,\n search: true,\n tel: true,\n text: true,\n time: true,\n url: true,\n week: true,\n textarea: true,\n select: true,\n radio: true,\n checkbox: true\n } : _maskInputOptions !== undefined ? _maskInputOptions : {};\n var slimDOMOptions = _slimDOMOptions === true || _slimDOMOptions === 'all' ? {\n script: true,\n comment: true,\n headFavicon: true,\n headWhitespace: true,\n headMetaSocial: true,\n headMetaRobots: true,\n headMetaHttpEquiv: true,\n headMetaVerification: true,\n headMetaAuthorship: _slimDOMOptions === 'all',\n headMetaDescKeywords: _slimDOMOptions === 'all'\n } : _slimDOMOptions ? _slimDOMOptions : {};\n polyfill();\n var lastFullSnapshotEvent;\n var incrementalSnapshotCount = 0;\n\n var eventProcessor = function eventProcessor(e) {\n var _iteratorNormalCompletion7 = true;\n var _didIteratorError7 = false;\n var _iteratorError7 = undefined;\n\n try {\n for (var _iterator7 = (plugins || [])[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) {\n var plugin = _step7.value;\n\n if (plugin.eventProcessor) {\n e = plugin.eventProcessor(e);\n }\n }\n } catch (err) {\n _didIteratorError7 = true;\n _iteratorError7 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion7 && _iterator7[\"return\"] != null) {\n _iterator7[\"return\"]();\n }\n } finally {\n if (_didIteratorError7) {\n throw _iteratorError7;\n }\n }\n }\n\n if (packFn && !passEmitsToParent) {\n e = packFn(e);\n }\n\n return e;\n };\n\n var wrappedEmit = function wrappedEmit(e, isCheckout) {\n if (_optionalChain([mutationBuffers, 'access', function (_) {\n return _[0];\n }, 'optionalAccess', function (_2) {\n return _2.isFrozen;\n }, 'call', function (_3) {\n return _3();\n }]) && e.type !== EventType.FullSnapshot && !(e.type === EventType.IncrementalSnapshot && e.data.source === IncrementalSource.Mutation)) {\n mutationBuffers.forEach(function (buf) {\n return buf.unfreeze();\n });\n }\n\n if (inEmittingFrame) {\n _optionalChain([emit, 'optionalCall', function (_4) {\n return _4(eventProcessor(e), isCheckout);\n }]);\n } else if (passEmitsToParent) {\n var message = {\n type: 'rrweb',\n event: eventProcessor(e),\n origin: window.location.origin,\n isCheckout: isCheckout\n };\n window.parent.postMessage(message, '*');\n }\n\n if (e.type === EventType.FullSnapshot) {\n lastFullSnapshotEvent = e;\n incrementalSnapshotCount = 0;\n } else if (e.type === EventType.IncrementalSnapshot) {\n if (e.data.source === IncrementalSource.Mutation && e.data.isAttachIframe) {\n return;\n }\n\n incrementalSnapshotCount++;\n var exceedCount = checkoutEveryNth && incrementalSnapshotCount >= checkoutEveryNth;\n var exceedTime = checkoutEveryNms && e.timestamp - lastFullSnapshotEvent.timestamp > checkoutEveryNms;\n\n if (exceedCount || exceedTime) {\n takeFullSnapshot(true);\n }\n }\n };\n\n var wrappedMutationEmit = function wrappedMutationEmit(m) {\n wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.Mutation\n }, m)\n }));\n };\n\n var wrappedScrollEmit = function wrappedScrollEmit(p) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.Scroll\n }, p)\n }));\n };\n\n var wrappedCanvasMutationEmit = function wrappedCanvasMutationEmit(p) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.CanvasMutation\n }, p)\n }));\n };\n\n var wrappedAdoptedStyleSheetEmit = function wrappedAdoptedStyleSheetEmit(a) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.AdoptedStyleSheet\n }, a)\n }));\n };\n\n var stylesheetManager = new StylesheetManager({\n mutationCb: wrappedMutationEmit,\n adoptedStyleSheetCb: wrappedAdoptedStyleSheetEmit\n });\n var iframeManager = typeof __RRWEB_EXCLUDE_IFRAME__ === 'boolean' && __RRWEB_EXCLUDE_IFRAME__ ? new IframeManagerNoop() : new IframeManager({\n mirror: mirror,\n mutationCb: wrappedMutationEmit,\n stylesheetManager: stylesheetManager,\n recordCrossOriginIframes: recordCrossOriginIframes,\n wrappedEmit: wrappedEmit\n });\n var _iteratorNormalCompletion8 = true;\n var _didIteratorError8 = false;\n var _iteratorError8 = undefined;\n\n try {\n for (var _iterator8 = (plugins || [])[Symbol.iterator](), _step8; !(_iteratorNormalCompletion8 = (_step8 = _iterator8.next()).done); _iteratorNormalCompletion8 = true) {\n var plugin = _step8.value;\n if (plugin.getMirror) plugin.getMirror({\n nodeMirror: mirror,\n crossOriginIframeMirror: iframeManager.crossOriginIframeMirror,\n crossOriginIframeStyleMirror: iframeManager.crossOriginIframeStyleMirror\n });\n }\n } catch (err) {\n _didIteratorError8 = true;\n _iteratorError8 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion8 && _iterator8[\"return\"] != null) {\n _iterator8[\"return\"]();\n }\n } finally {\n if (_didIteratorError8) {\n throw _iteratorError8;\n }\n }\n }\n\n var processedNodeManager = new ProcessedNodeManager();\n\n var canvasManager = _getCanvasManager(getCanvasManager, {\n mirror: mirror,\n win: window,\n mutationCb: function mutationCb(p) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.CanvasMutation\n }, p)\n }));\n },\n recordCanvas: recordCanvas,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n sampling: sampling['canvas'],\n dataURLOptions: dataURLOptions,\n errorHandler: errorHandler\n });\n\n var shadowDomManager = typeof __RRWEB_EXCLUDE_SHADOW_DOM__ === 'boolean' && __RRWEB_EXCLUDE_SHADOW_DOM__ ? new ShadowDomManagerNoop() : new ShadowDomManager({\n mutationCb: wrappedMutationEmit,\n scrollCb: wrappedScrollEmit,\n bypassOptions: {\n onMutation: onMutation,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n inlineStylesheet: inlineStylesheet,\n maskInputOptions: maskInputOptions,\n dataURLOptions: dataURLOptions,\n maskAttributeFn: maskAttributeFn,\n maskTextFn: maskTextFn,\n maskInputFn: maskInputFn,\n recordCanvas: recordCanvas,\n inlineImages: inlineImages,\n sampling: sampling,\n slimDOMOptions: slimDOMOptions,\n iframeManager: iframeManager,\n stylesheetManager: stylesheetManager,\n canvasManager: canvasManager,\n keepIframeSrcFn: keepIframeSrcFn,\n processedNodeManager: processedNodeManager\n },\n mirror: mirror\n });\n\n var takeFullSnapshot = function takeFullSnapshot() {\n var isCheckout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n wrappedEmit(wrapEvent({\n type: EventType.Meta,\n data: {\n href: window.location.href,\n width: getWindowWidth(),\n height: getWindowHeight()\n }\n }), isCheckout);\n stylesheetManager.reset();\n shadowDomManager.init();\n mutationBuffers.forEach(function (buf) {\n return buf.lock();\n });\n var node = snapshot(document, {\n mirror: mirror,\n blockClass: blockClass,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n inlineStylesheet: inlineStylesheet,\n maskAllInputs: maskInputOptions,\n maskAttributeFn: maskAttributeFn,\n maskInputFn: maskInputFn,\n maskTextFn: maskTextFn,\n slimDOM: slimDOMOptions,\n dataURLOptions: dataURLOptions,\n recordCanvas: recordCanvas,\n inlineImages: inlineImages,\n onSerialize: function onSerialize(n) {\n if (isSerializedIframe(n, mirror)) {\n iframeManager.addIframe(n);\n }\n\n if (isSerializedStylesheet(n, mirror)) {\n stylesheetManager.trackLinkElement(n);\n }\n\n if (hasShadowRoot(n)) {\n shadowDomManager.addShadowRoot(n.shadowRoot, document);\n }\n },\n onIframeLoad: function onIframeLoad(iframe, childSn) {\n iframeManager.attachIframe(iframe, childSn);\n shadowDomManager.observeAttachShadow(iframe);\n },\n onStylesheetLoad: function onStylesheetLoad(linkEl, childSn) {\n stylesheetManager.attachLinkElement(linkEl, childSn);\n },\n keepIframeSrcFn: keepIframeSrcFn\n });\n\n if (!node) {\n return console.warn('Failed to snapshot the document');\n }\n\n wrappedEmit(wrapEvent({\n type: EventType.FullSnapshot,\n data: {\n node: node,\n initialOffset: getWindowScroll(window)\n }\n }));\n mutationBuffers.forEach(function (buf) {\n return buf.unlock();\n });\n if (document.adoptedStyleSheets && document.adoptedStyleSheets.length > 0) stylesheetManager.adoptStyleSheets(document.adoptedStyleSheets, mirror.getId(document));\n };\n\n _takeFullSnapshot = takeFullSnapshot;\n\n try {\n var _handlers = [];\n\n var observe = function observe(doc) {\n return callbackWrapper(initObservers)({\n onMutation: onMutation,\n mutationCb: wrappedMutationEmit,\n mousemoveCb: function mousemoveCb(positions, source) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: {\n source: source,\n positions: positions\n }\n }));\n },\n mouseInteractionCb: function mouseInteractionCb(d) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.MouseInteraction\n }, d)\n }));\n },\n scrollCb: wrappedScrollEmit,\n viewportResizeCb: function viewportResizeCb(d) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.ViewportResize\n }, d)\n }));\n },\n inputCb: function inputCb(v) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.Input\n }, v)\n }));\n },\n mediaInteractionCb: function mediaInteractionCb(p) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.MediaInteraction\n }, p)\n }));\n },\n styleSheetRuleCb: function styleSheetRuleCb(r) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.StyleSheetRule\n }, r)\n }));\n },\n styleDeclarationCb: function styleDeclarationCb(r) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.StyleDeclaration\n }, r)\n }));\n },\n canvasMutationCb: wrappedCanvasMutationEmit,\n fontCb: function fontCb(p) {\n return wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.Font\n }, p)\n }));\n },\n selectionCb: function selectionCb(p) {\n wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.Selection\n }, p)\n }));\n },\n customElementCb: function customElementCb(c) {\n wrappedEmit(wrapEvent({\n type: EventType.IncrementalSnapshot,\n data: _objectSpread({\n source: IncrementalSource.CustomElement\n }, c)\n }));\n },\n blockClass: blockClass,\n ignoreClass: ignoreClass,\n ignoreSelector: ignoreSelector,\n maskAllText: maskAllText,\n maskTextClass: maskTextClass,\n unmaskTextClass: unmaskTextClass,\n maskTextSelector: maskTextSelector,\n unmaskTextSelector: unmaskTextSelector,\n maskInputOptions: maskInputOptions,\n inlineStylesheet: inlineStylesheet,\n sampling: sampling,\n recordCanvas: recordCanvas,\n inlineImages: inlineImages,\n userTriggeredOnInput: userTriggeredOnInput,\n collectFonts: collectFonts,\n doc: doc,\n maskAttributeFn: maskAttributeFn,\n maskInputFn: maskInputFn,\n maskTextFn: maskTextFn,\n keepIframeSrcFn: keepIframeSrcFn,\n blockSelector: blockSelector,\n unblockSelector: unblockSelector,\n slimDOMOptions: slimDOMOptions,\n dataURLOptions: dataURLOptions,\n mirror: mirror,\n iframeManager: iframeManager,\n stylesheetManager: stylesheetManager,\n shadowDomManager: shadowDomManager,\n processedNodeManager: processedNodeManager,\n canvasManager: canvasManager,\n ignoreCSSAttributes: ignoreCSSAttributes,\n plugins: _optionalChain([plugins, 'optionalAccess', function (_5) {\n return _5.filter;\n }, 'call', function (_6) {\n return _6(function (p) {\n return p.observer;\n });\n }, 'optionalAccess', function (_7) {\n return _7.map;\n }, 'call', function (_8) {\n return _8(function (p) {\n return {\n observer: p.observer,\n options: p.options,\n callback: function callback(payload) {\n return wrappedEmit(wrapEvent({\n type: EventType.Plugin,\n data: {\n plugin: p.name,\n payload: payload\n }\n }));\n }\n };\n });\n }]) || []\n }, {});\n };\n\n iframeManager.addLoadListener(function (iframeEl) {\n try {\n _handlers.push(observe(iframeEl.contentDocument));\n } catch (error) {\n console.warn(error);\n }\n });\n\n var init = function init() {\n takeFullSnapshot();\n\n _handlers.push(observe(document));\n };\n\n if (document.readyState === 'interactive' || document.readyState === 'complete') {\n init();\n } else {\n _handlers.push(on('DOMContentLoaded', function () {\n wrappedEmit(wrapEvent({\n type: EventType.DomContentLoaded,\n data: {}\n }));\n if (recordAfter === 'DOMContentLoaded') init();\n }));\n\n _handlers.push(on('load', function () {\n wrappedEmit(wrapEvent({\n type: EventType.Load,\n data: {}\n }));\n if (recordAfter === 'load') init();\n }, window));\n }\n\n return function () {\n _handlers.forEach(function (h) {\n return h();\n });\n\n processedNodeManager.destroy();\n _takeFullSnapshot = undefined;\n unregisterErrorHandler();\n };\n } catch (error) {\n console.warn(error);\n }\n}\n\nfunction takeFullSnapshot(isCheckout) {\n if (!_takeFullSnapshot) {\n throw new Error('please take full snapshot after start recording');\n }\n\n _takeFullSnapshot(isCheckout);\n}\n\nrecord.mirror = mirror;\nrecord.takeFullSnapshot = takeFullSnapshot;\n\nfunction _getCanvasManager(getCanvasManagerFn, options) {\n try {\n return getCanvasManagerFn ? getCanvasManagerFn(options) : new CanvasManagerNoop();\n } catch (e2) {\n console.warn('Unable to initialize CanvasManager');\n return new CanvasManagerNoop();\n }\n}\n\nvar ReplayEventTypeIncrementalSnapshot = 3;\nvar ReplayEventTypeCustom = 5;\n/**\n * Converts a timestamp to ms, if it was in s, or keeps it as ms.\n */\n\nfunction timestampToMs(timestamp) {\n var isMs = timestamp > 9999999999;\n return isMs ? timestamp : timestamp * 1000;\n}\n/**\n * Converts a timestamp to s, if it was in ms, or keeps it as s.\n */\n\n\nfunction timestampToS(timestamp) {\n var isMs = timestamp > 9999999999;\n return isMs ? timestamp / 1000 : timestamp;\n}\n/**\n * Add a breadcrumb event to replay.\n */\n\n\nfunction addBreadcrumbEvent(replay, breadcrumb) {\n if (breadcrumb.category === 'sentry.transaction') {\n return;\n }\n\n if (['ui.click', 'ui.input'].includes(breadcrumb.category)) {\n replay.triggerUserActivity();\n } else {\n replay.checkAndHandleExpiredSession();\n }\n\n replay.addUpdate(function () {\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n replay.throttledAddEvent({\n type: EventType.Custom,\n // TODO: We were converting from ms to seconds for breadcrumbs, spans,\n // but maybe we should just keep them as milliseconds\n timestamp: (breadcrumb.timestamp || 0) * 1000,\n data: {\n tag: 'breadcrumb',\n // normalize to max. 10 depth and 1_000 properties per object\n payload: normalize(breadcrumb, 10, 1000)\n }\n }); // Do not flush after console log messages\n\n return breadcrumb.category === 'console';\n });\n}\n\nvar INTERACTIVE_SELECTOR = 'button,a';\n/** Get the closest interactive parent element, or else return the given element. */\n\nfunction getClosestInteractive(element) {\n var closestInteractive = element.closest(INTERACTIVE_SELECTOR);\n return closestInteractive || element;\n}\n/**\n * For clicks, we check if the target is inside of a button or link\n * If so, we use this as the target instead\n * This is useful because if you click on the image in <button><img></button>,\n * The target will be the image, not the button, which we don't want here\n */\n\n\nfunction getClickTargetNode(event) {\n var target = getTargetNode(event);\n\n if (!target || !(target instanceof Element)) {\n return target;\n }\n\n return getClosestInteractive(target);\n}\n/** Get the event target node. */\n\n\nfunction getTargetNode(event) {\n if (isEventWithTarget(event)) {\n return event.target;\n }\n\n return event;\n}\n\nfunction isEventWithTarget(event) {\n return _typeof(event) === 'object' && !!event && 'target' in event;\n}\n\nvar handlers;\n/**\n * Register a handler to be called when `window.open()` is called.\n * Returns a cleanup function.\n */\n\nfunction onWindowOpen(cb) {\n // Ensure to only register this once\n if (!handlers) {\n handlers = [];\n monkeyPatchWindowOpen();\n }\n\n handlers.push(cb);\n return function () {\n var pos = handlers ? handlers.indexOf(cb) : -1;\n\n if (pos > -1) {\n handlers.splice(pos, 1);\n }\n };\n}\n\nfunction monkeyPatchWindowOpen() {\n fill(WINDOW, 'open', function (originalWindowOpen) {\n return function () {\n if (handlers) {\n try {\n handlers.forEach(function (handler) {\n return handler();\n });\n } catch (e) {// ignore errors in here\n }\n }\n\n for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n args[_key8] = arguments[_key8];\n }\n\n return originalWindowOpen.apply(WINDOW, args);\n };\n });\n}\n/** Handle a click. */\n\n\nfunction handleClick(clickDetector, clickBreadcrumb, node) {\n clickDetector.handleClick(clickBreadcrumb, node);\n}\n/** A click detector class that can be used to detect slow or rage clicks on elements. */\n\n\nvar ClickDetector =\n/*#__PURE__*/\nfunction () {\n // protected for testing\n function ClickDetector(replay, slowClickConfig) {\n var _addBreadcrumbEvent = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : addBreadcrumbEvent;\n\n _classCallCheck(this, ClickDetector);\n\n this._lastMutation = 0;\n this._lastScroll = 0;\n this._clicks = []; // We want everything in s, but options are in ms\n\n this._timeout = slowClickConfig.timeout / 1000;\n this._threshold = slowClickConfig.threshold / 1000;\n this._scollTimeout = slowClickConfig.scrollTimeout / 1000;\n this._replay = replay;\n this._ignoreSelector = slowClickConfig.ignoreSelector;\n this._addBreadcrumbEvent = _addBreadcrumbEvent;\n }\n /** Register click detection handlers on mutation or scroll. */\n\n\n _createClass(ClickDetector, [{\n key: \"addListeners\",\n value: function addListeners() {\n var _this15 = this;\n\n var cleanupWindowOpen = onWindowOpen(function () {\n // Treat window.open as mutation\n _this15._lastMutation = nowInSeconds();\n });\n\n this._teardown = function () {\n cleanupWindowOpen();\n _this15._clicks = [];\n _this15._lastMutation = 0;\n _this15._lastScroll = 0;\n };\n }\n /** Clean up listeners. */\n\n }, {\n key: \"removeListeners\",\n value: function removeListeners() {\n if (this._teardown) {\n this._teardown();\n }\n\n if (this._checkClickTimeout) {\n clearTimeout(this._checkClickTimeout);\n }\n }\n /** @inheritDoc */\n\n }, {\n key: \"handleClick\",\n value: function handleClick(breadcrumb, node) {\n if (ignoreElement(node, this._ignoreSelector) || !isClickBreadcrumb(breadcrumb)) {\n return;\n }\n\n var newClick = {\n timestamp: timestampToS(breadcrumb.timestamp),\n clickBreadcrumb: breadcrumb,\n // Set this to 0 so we know it originates from the click breadcrumb\n clickCount: 0,\n node: node\n }; // If there was a click in the last 1s on the same element, ignore it - only keep a single reference per second\n\n if (this._clicks.some(function (click) {\n return click.node === newClick.node && Math.abs(click.timestamp - newClick.timestamp) < 1;\n })) {\n return;\n }\n\n this._clicks.push(newClick); // If this is the first new click, set a timeout to check for multi clicks\n\n\n if (this._clicks.length === 1) {\n this._scheduleCheckClicks();\n }\n }\n /** @inheritDoc */\n\n }, {\n key: \"registerMutation\",\n value: function registerMutation() {\n var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now();\n this._lastMutation = timestampToS(timestamp);\n }\n /** @inheritDoc */\n\n }, {\n key: \"registerScroll\",\n value: function registerScroll() {\n var timestamp = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now();\n this._lastScroll = timestampToS(timestamp);\n }\n /** @inheritDoc */\n\n }, {\n key: \"registerClick\",\n value: function registerClick(element) {\n var node = getClosestInteractive(element);\n\n this._handleMultiClick(node);\n }\n /** Count multiple clicks on elements. */\n\n }, {\n key: \"_handleMultiClick\",\n value: function _handleMultiClick(node) {\n this._getClicks(node).forEach(function (click) {\n click.clickCount++;\n });\n }\n /** Get all pending clicks for a given node. */\n\n }, {\n key: \"_getClicks\",\n value: function _getClicks(node) {\n return this._clicks.filter(function (click) {\n return click.node === node;\n });\n }\n /** Check the clicks that happened. */\n\n }, {\n key: \"_checkClicks\",\n value: function _checkClicks() {\n var _this16 = this;\n\n var timedOutClicks = [];\n var now = nowInSeconds();\n\n this._clicks.forEach(function (click) {\n if (!click.mutationAfter && _this16._lastMutation) {\n click.mutationAfter = click.timestamp <= _this16._lastMutation ? _this16._lastMutation - click.timestamp : undefined;\n }\n\n if (!click.scrollAfter && _this16._lastScroll) {\n click.scrollAfter = click.timestamp <= _this16._lastScroll ? _this16._lastScroll - click.timestamp : undefined;\n } // All of these are in seconds!\n\n\n if (click.timestamp + _this16._timeout <= now) {\n timedOutClicks.push(click);\n }\n }); // Remove \"old\" clicks\n\n\n for (var _i5 = 0, _timedOutClicks = timedOutClicks; _i5 < _timedOutClicks.length; _i5++) {\n var click = _timedOutClicks[_i5];\n\n var pos = this._clicks.indexOf(click);\n\n if (pos > -1) {\n this._generateBreadcrumbs(click);\n\n this._clicks.splice(pos, 1);\n }\n } // Trigger new check, unless no clicks left\n\n\n if (this._clicks.length) {\n this._scheduleCheckClicks();\n }\n }\n /** Generate matching breadcrumb(s) for the click. */\n\n }, {\n key: \"_generateBreadcrumbs\",\n value: function _generateBreadcrumbs(click) {\n var replay = this._replay;\n var hadScroll = click.scrollAfter && click.scrollAfter <= this._scollTimeout;\n var hadMutation = click.mutationAfter && click.mutationAfter <= this._threshold;\n var isSlowClick = !hadScroll && !hadMutation;\n var clickCount = click.clickCount,\n clickBreadcrumb = click.clickBreadcrumb; // Slow click\n\n if (isSlowClick) {\n // If `mutationAfter` is set, it means a mutation happened after the threshold, but before the timeout\n // If not, it means we just timed out without scroll & mutation\n var timeAfterClickMs = Math.min(click.mutationAfter || this._timeout, this._timeout) * 1000;\n var endReason = timeAfterClickMs < this._timeout * 1000 ? 'mutation' : 'timeout';\n var breadcrumb = {\n type: 'default',\n message: clickBreadcrumb.message,\n timestamp: clickBreadcrumb.timestamp,\n category: 'ui.slowClickDetected',\n data: _objectSpread(_objectSpread({}, clickBreadcrumb.data), {}, {\n url: WINDOW.location.href,\n route: replay.getCurrentRoute(),\n timeAfterClickMs: timeAfterClickMs,\n endReason: endReason,\n // If clickCount === 0, it means multiClick was not correctly captured here\n // - we still want to send 1 in this case\n clickCount: clickCount || 1\n })\n };\n\n this._addBreadcrumbEvent(replay, breadcrumb);\n\n return;\n } // Multi click\n\n\n if (clickCount > 1) {\n var _breadcrumb = {\n type: 'default',\n message: clickBreadcrumb.message,\n timestamp: clickBreadcrumb.timestamp,\n category: 'ui.multiClick',\n data: _objectSpread(_objectSpread({}, clickBreadcrumb.data), {}, {\n url: WINDOW.location.href,\n route: replay.getCurrentRoute(),\n clickCount: clickCount,\n metric: true\n })\n };\n\n this._addBreadcrumbEvent(replay, _breadcrumb);\n }\n }\n /** Schedule to check current clicks. */\n\n }, {\n key: \"_scheduleCheckClicks\",\n value: function _scheduleCheckClicks() {\n var _this17 = this;\n\n if (this._checkClickTimeout) {\n clearTimeout(this._checkClickTimeout);\n }\n\n this._checkClickTimeout = setTimeout(function () {\n return _this17._checkClicks();\n }, 1000);\n }\n }]);\n\n return ClickDetector;\n}();\n\nvar SLOW_CLICK_TAGS = ['A', 'BUTTON', 'INPUT'];\n/** exported for tests only */\n\nfunction ignoreElement(node, ignoreSelector) {\n if (!SLOW_CLICK_TAGS.includes(node.tagName)) {\n return true;\n } // If <input> tag, we only want to consider input[type='submit'] & input[type='button']\n\n\n if (node.tagName === 'INPUT' && !['submit', 'button'].includes(node.getAttribute('type') || '')) {\n return true;\n } // If <a> tag, detect special variants that may not lead to an action\n // If target !== _self, we may open the link somewhere else, which would lead to no action\n // Also, when downloading a file, we may not leave the page, but still not trigger an action\n\n\n if (node.tagName === 'A' && (node.hasAttribute('download') || node.hasAttribute('target') && node.getAttribute('target') !== '_self')) {\n return true;\n }\n\n if (ignoreSelector && node.matches(ignoreSelector)) {\n return true;\n }\n\n return false;\n}\n\nfunction isClickBreadcrumb(breadcrumb) {\n return !!(breadcrumb.data && typeof breadcrumb.data.nodeId === 'number' && breadcrumb.timestamp);\n} // This is good enough for us, and is easier to test/mock than `timestampInSeconds`\n\n\nfunction nowInSeconds() {\n return Date.now() / 1000;\n}\n/** Update the click detector based on a recording event of rrweb. */\n\n\nfunction updateClickDetectorForRecordingEvent(clickDetector, event) {\n try {\n // note: We only consider incremental snapshots here\n // This means that any full snapshot is ignored for mutation detection - the reason is that we simply cannot know if a mutation happened here.\n // E.g. think that we are buffering, an error happens and we take a full snapshot because we switched to session mode -\n // in this scenario, we would not know if a dead click happened because of the error, which is a key dead click scenario.\n // Instead, by ignoring full snapshots, we have the risk that we generate a false positive\n // (if a mutation _did_ happen but was \"swallowed\" by the full snapshot)\n // But this should be more unlikely as we'd generally capture the incremental snapshot right away\n if (!isIncrementalEvent(event)) {\n return;\n }\n\n var source = event.data.source;\n\n if (source === IncrementalSource.Mutation) {\n clickDetector.registerMutation(event.timestamp);\n }\n\n if (source === IncrementalSource.Scroll) {\n clickDetector.registerScroll(event.timestamp);\n }\n\n if (isIncrementalMouseInteraction(event)) {\n var _event$data = event.data,\n type = _event$data.type,\n id = _event$data.id;\n var node = record.mirror.getNode(id);\n\n if (node instanceof HTMLElement && type === MouseInteractions.Click) {\n clickDetector.registerClick(node);\n }\n }\n } catch (e) {// ignore errors here, e.g. if accessing something that does not exist\n }\n}\n\nfunction isIncrementalEvent(event) {\n return event.type === ReplayEventTypeIncrementalSnapshot;\n}\n\nfunction isIncrementalMouseInteraction(event) {\n return event.data.source === IncrementalSource.MouseInteraction;\n}\n/**\n * Create a breadcrumb for a replay.\n */\n\n\nfunction createBreadcrumb(breadcrumb) {\n return _objectSpread({\n timestamp: Date.now() / 1000,\n type: 'default'\n }, breadcrumb);\n}\n\nvar NodeType;\n\n(function (NodeType) {\n NodeType[NodeType[\"Document\"] = 0] = \"Document\";\n NodeType[NodeType[\"DocumentType\"] = 1] = \"DocumentType\";\n NodeType[NodeType[\"Element\"] = 2] = \"Element\";\n NodeType[NodeType[\"Text\"] = 3] = \"Text\";\n NodeType[NodeType[\"CDATA\"] = 4] = \"CDATA\";\n NodeType[NodeType[\"Comment\"] = 5] = \"Comment\";\n})(NodeType || (NodeType = {})); // Note that these are the serialized attributes and not attributes directly on\n// the DOM Node. Attributes we are interested in:\n\n\nvar ATTRIBUTES_TO_RECORD = new Set(['id', 'class', 'aria-label', 'role', 'name', 'alt', 'title', 'data-test-id', 'data-testid', 'disabled', 'aria-disabled', 'data-sentry-component']);\n/**\n * Inclusion list of attributes that we want to record from the DOM element\n */\n\nfunction getAttributesToRecord(attributes) {\n var obj = {};\n\n for (var key in attributes) {\n if (ATTRIBUTES_TO_RECORD.has(key)) {\n var normalizedKey = key;\n\n if (key === 'data-testid' || key === 'data-test-id') {\n normalizedKey = 'testId';\n }\n\n obj[normalizedKey] = attributes[key];\n }\n }\n\n return obj;\n}\n\nvar handleDomListener = function handleDomListener(replay) {\n return function (handlerData) {\n if (!replay.isEnabled()) {\n return;\n }\n\n var result = handleDom(handlerData);\n\n if (!result) {\n return;\n }\n\n var isClick = handlerData.name === 'click';\n var event = isClick ? handlerData.event : undefined; // Ignore clicks if ctrl/alt/meta/shift keys are held down as they alter behavior of clicks (e.g. open in new tab)\n\n if (isClick && replay.clickDetector && event && event.target && !event.altKey && !event.metaKey && !event.ctrlKey && !event.shiftKey) {\n handleClick(replay.clickDetector, result, getClickTargetNode(handlerData.event));\n }\n\n addBreadcrumbEvent(replay, result);\n };\n};\n/** Get the base DOM breadcrumb. */\n\n\nfunction getBaseDomBreadcrumb(target, message) {\n var nodeId = record.mirror.getId(target);\n var node = nodeId && record.mirror.getNode(nodeId);\n var meta = node && record.mirror.getMeta(node);\n var element = meta && isElement(meta) ? meta : null;\n return {\n message: message,\n data: element ? {\n nodeId: nodeId,\n node: {\n id: nodeId,\n tagName: element.tagName,\n textContent: Array.from(element.childNodes).map(function (node) {\n return node.type === NodeType.Text && node.textContent;\n }).filter(Boolean) // filter out empty values\n .map(function (text) {\n return text.trim();\n }).join(''),\n attributes: getAttributesToRecord(element.attributes)\n }\n } : {}\n };\n}\n/**\n * An event handler to react to DOM events.\n * Exported for tests.\n */\n\n\nfunction handleDom(handlerData) {\n var _getDomTarget = getDomTarget(handlerData),\n target = _getDomTarget.target,\n message = _getDomTarget.message;\n\n return createBreadcrumb(_objectSpread({\n category: \"ui.\".concat(handlerData.name)\n }, getBaseDomBreadcrumb(target, message)));\n}\n\nfunction getDomTarget(handlerData) {\n var isClick = handlerData.name === 'click';\n var message;\n var target = null; // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n\n try {\n target = isClick ? getClickTargetNode(handlerData.event) : getTargetNode(handlerData.event);\n message = htmlTreeAsString(target, {\n maxStringLength: 200\n }) || '<unknown>';\n } catch (e) {\n message = '<unknown>';\n }\n\n return {\n target: target,\n message: message\n };\n}\n\nfunction isElement(node) {\n return node.type === NodeType.Element;\n}\n/** Handle keyboard events & create breadcrumbs. */\n\n\nfunction handleKeyboardEvent(replay, event) {\n if (!replay.isEnabled()) {\n return;\n } // Update user activity, but do not restart recording as it can create\n // noisy/low-value replays (e.g. user comes back from idle, hits alt-tab, new\n // session with a single \"keydown\" breadcrumb is created)\n\n\n replay.updateUserActivity();\n var breadcrumb = getKeyboardBreadcrumb(event);\n\n if (!breadcrumb) {\n return;\n }\n\n addBreadcrumbEvent(replay, breadcrumb);\n}\n/** exported only for tests */\n\n\nfunction getKeyboardBreadcrumb(event) {\n var metaKey = event.metaKey,\n shiftKey = event.shiftKey,\n ctrlKey = event.ctrlKey,\n altKey = event.altKey,\n key = event.key,\n target = event.target; // never capture for input fields\n\n if (!target || isInputElement(target) || !key) {\n return null;\n } // Note: We do not consider shift here, as that means \"uppercase\"\n\n\n var hasModifierKey = metaKey || ctrlKey || altKey;\n var isCharacterKey = key.length === 1; // other keys like Escape, Tab, etc have a longer length\n // Do not capture breadcrumb if only a word key is pressed\n // This could leak e.g. user input\n\n if (!hasModifierKey && isCharacterKey) {\n return null;\n }\n\n var message = htmlTreeAsString(target, {\n maxStringLength: 200\n }) || '<unknown>';\n var baseBreadcrumb = getBaseDomBreadcrumb(target, message);\n return createBreadcrumb({\n category: 'ui.keyDown',\n message: message,\n data: _objectSpread(_objectSpread({}, baseBreadcrumb.data), {}, {\n metaKey: metaKey,\n shiftKey: shiftKey,\n ctrlKey: ctrlKey,\n altKey: altKey,\n key: key\n })\n });\n}\n\nfunction isInputElement(target) {\n return target.tagName === 'INPUT' || target.tagName === 'TEXTAREA' || target.isContentEditable;\n} // Map entryType -> function to normalize data for event\n\n\nvar ENTRY_TYPES = {\n // @ts-expect-error TODO: entry type does not fit the create* functions entry type\n resource: createResourceEntry,\n paint: createPaintEntry,\n // @ts-expect-error TODO: entry type does not fit the create* functions entry type\n navigation: createNavigationEntry\n};\n/**\n * Create replay performance entries from the browser performance entries.\n */\n\nfunction createPerformanceEntries(entries) {\n return entries.map(createPerformanceEntry).filter(Boolean);\n}\n\nfunction createPerformanceEntry(entry) {\n if (!ENTRY_TYPES[entry.entryType]) {\n return null;\n }\n\n return ENTRY_TYPES[entry.entryType](entry);\n}\n\nfunction getAbsoluteTime(time) {\n // browserPerformanceTimeOrigin can be undefined if `performance` or\n // `performance.now` doesn't exist, but this is already checked by this integration\n return ((browserPerformanceTimeOrigin || WINDOW.performance.timeOrigin) + time) / 1000;\n}\n\nfunction createPaintEntry(entry) {\n var duration = entry.duration,\n entryType = entry.entryType,\n name = entry.name,\n startTime = entry.startTime;\n var start = getAbsoluteTime(startTime);\n return {\n type: entryType,\n name: name,\n start: start,\n end: start + duration,\n data: undefined\n };\n}\n\nfunction createNavigationEntry(entry) {\n var entryType = entry.entryType,\n name = entry.name,\n decodedBodySize = entry.decodedBodySize,\n duration = entry.duration,\n domComplete = entry.domComplete,\n encodedBodySize = entry.encodedBodySize,\n domContentLoadedEventStart = entry.domContentLoadedEventStart,\n domContentLoadedEventEnd = entry.domContentLoadedEventEnd,\n domInteractive = entry.domInteractive,\n loadEventStart = entry.loadEventStart,\n loadEventEnd = entry.loadEventEnd,\n redirectCount = entry.redirectCount,\n startTime = entry.startTime,\n transferSize = entry.transferSize,\n type = entry.type; // Ignore entries with no duration, they do not seem to be useful and cause dupes\n\n if (duration === 0) {\n return null;\n }\n\n return {\n type: \"\".concat(entryType, \".\").concat(type),\n start: getAbsoluteTime(startTime),\n end: getAbsoluteTime(domComplete),\n name: name,\n data: {\n size: transferSize,\n decodedBodySize: decodedBodySize,\n encodedBodySize: encodedBodySize,\n duration: duration,\n domInteractive: domInteractive,\n domContentLoadedEventStart: domContentLoadedEventStart,\n domContentLoadedEventEnd: domContentLoadedEventEnd,\n loadEventStart: loadEventStart,\n loadEventEnd: loadEventEnd,\n domComplete: domComplete,\n redirectCount: redirectCount\n }\n };\n}\n\nfunction createResourceEntry(entry) {\n var entryType = entry.entryType,\n initiatorType = entry.initiatorType,\n name = entry.name,\n responseEnd = entry.responseEnd,\n startTime = entry.startTime,\n decodedBodySize = entry.decodedBodySize,\n encodedBodySize = entry.encodedBodySize,\n responseStatus = entry.responseStatus,\n transferSize = entry.transferSize; // Core SDK handles these\n\n if (['fetch', 'xmlhttprequest'].includes(initiatorType)) {\n return null;\n }\n\n return {\n type: \"\".concat(entryType, \".\").concat(initiatorType),\n start: getAbsoluteTime(startTime),\n end: getAbsoluteTime(responseEnd),\n name: name,\n data: {\n size: transferSize,\n statusCode: responseStatus,\n decodedBodySize: decodedBodySize,\n encodedBodySize: encodedBodySize\n }\n };\n}\n/**\n * Add a LCP event to the replay based on an LCP metric.\n */\n\n\nfunction getLargestContentfulPaint(metric) {\n var entries = metric.entries;\n var lastEntry = entries[entries.length - 1];\n var element = lastEntry ? lastEntry.element : undefined;\n var value = metric.value;\n var end = getAbsoluteTime(value);\n var data = {\n type: 'largest-contentful-paint',\n name: 'largest-contentful-paint',\n start: end,\n end: end,\n data: {\n value: value,\n size: value,\n nodeId: element ? record.mirror.getId(element) : undefined\n }\n };\n return data;\n}\n/**\n * Sets up a PerformanceObserver to listen to all performance entry types.\n * Returns a callback to stop observing.\n */\n\n\nfunction setupPerformanceObserver(replay) {\n function addPerformanceEntry(entry) {\n // It is possible for entries to come up multiple times\n if (!replay.performanceEntries.includes(entry)) {\n replay.performanceEntries.push(entry);\n }\n }\n\n function onEntries(_ref23) {\n var entries = _ref23.entries;\n entries.forEach(addPerformanceEntry);\n }\n\n var clearCallbacks = [];\n ['navigation', 'paint', 'resource'].forEach(function (type) {\n clearCallbacks.push(addPerformanceInstrumentationHandler(type, onEntries));\n });\n clearCallbacks.push(addLcpInstrumentationHandler(function (_ref24) {\n var metric = _ref24.metric;\n replay.replayPerformanceEntries.push(getLargestContentfulPaint(metric));\n })); // A callback to cleanup all handlers\n\n return function () {\n clearCallbacks.forEach(function (clearCallback) {\n return clearCallback();\n });\n };\n}\n/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\n\n\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nvar r = \"var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<<t[a-1];var s=new r(i[30]);for(a=1;a<30;++a)for(var o=i[a];o<i[a+1];++o)s[o]=o-i[a]<<5|a;return{b:i,r:s}},o=s(e,2),f=o.b,h=o.r;f[28]=258,h[258]=28;for(var l=s(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,a=0,s=new n(r);a<i;++a)t[a]&&++s[t[a]-1];var o,f=new n(r);for(a=1;a<r;++a)f[a]=f[a-1]+s[a-1]<<1;if(e){o=new n(1<<r);var h=15-r;for(a=0;a<i;++a)if(t[a])for(var l=a<<4|t[a],c=r-t[a],v=f[t[a]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>h]=l}else for(o=new n(i),a=0;a<i;++a)t[a]&&(o[a]=u[f[t[a]-1]++]>>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=[\\\"unexpected EOF\\\",\\\"invalid block type\\\",\\\"invalid length/literal\\\",\\\"invalid distance\\\",\\\"stream finished\\\",\\\"no stream handler\\\",,\\\"no callback\\\",\\\"invalid UTF-8 data\\\",\\\"extra field too long\\\",\\\"date not in range 1980-2099\\\",\\\"filename too long\\\",\\\"stream finishing\\\",\\\"invalid zip data\\\"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},A=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},_=function(r,e){for(var i=[],a=0;a<r.length;++a)r[a]&&i.push({s:a,f:r[a]});var s=i.length,o=i.slice();if(!s)return{t:F,l:0};if(1==s){var f=new t(i[0].s+1);return f[i[0].s]=1,{t:f,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var h=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:h.f+l.f,l:h,r:l};c!=s-1;)h=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:h.f+l.f,l:h,r:l};var d=o[0].s;for(a=1;a<s;++a)o[a].s>d&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<<y;for(o.sort((function(t,n){return g[n.s]-g[t.s]||t.f-n.f}));a<s;++a){var b=o[a].s;if(!(g[b]>e))break;p+=m-(1<<w-g[b]),g[b]=e}for(p>>=y;p>0;){var M=o[a].s;g[M]<e?p-=1<<e-g[M]++-1:++a}for(;a>=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<e;++a)t[i+a+4]=r[a];return 8*(i+4+e)},C=function(t,r,s,o,f,h,l,u,c,v,m){z(r,m++,s),++f[256];for(var b=_(f,15),M=b.t,E=b.l,x=_(h,15),C=x.t,U=x.l,F=D(M),I=F.c,S=F.n,L=D(C),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=_(q,7),H=G.t,J=G.l,K=19;K>4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(C,U,0),R=C;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[a[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B<u;++B){var rt=o[B];if(rt>255){A(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=e+=r[s];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<<o)-1,A=c.p||new n(32768),_=c.h||new n(z+1),x=Math.ceil(o/3),D=2*x,T=function(t){return(a[t]^a[t+1]<<x^a[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=_[H];if(A[J]=K,_[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(a[j+Q]==a[j+Q-W]){for(var $=0;$<Z&&a[j+$]==a[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-A[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=a[j],++I[a[j]];p=C(a,g,w,F,I,S,O,q,G,j-G,p),w||(c.r=7&p|g[p/8|0]<<3,p-=7,c.h=_,c.p=A,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+w;j+=65535){var st=j+65535;st>=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if(\\\"function\\\"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),this.s.z),this.s.z=this.b.length,this.p(this.b,!1)),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(a),32768),this.s.z=n.length-a+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t}(),G=\\\"undefined\\\"!=typeof TextEncoder&&new TextEncoder,H=\\\"undefined\\\"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(r){for(var e=new t(n.length),i=0;i<n.length;++i)e[i]=n.charCodeAt(i);return e}if(G)return G.encode(n);var a=n.length,s=new t(n.length+(n.length>>1)),o=0,f=function(t){s[o++]=t};for(i=0;i<a;++i){if(o+5>s.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error(\\\"Adding invalid event\\\");const n=this._hasEvents?\\\",\\\":\\\"\\\";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push(\\\"]\\\",!0);const t=function(t){let n=0;for(let r=0,e=t.length;r<e;r++)n+=t[r].length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J(((t,n)=>{this.deflate.push(t,n)})),this.stream.push(\\\"[\\\")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener(\\\"message\\\",(function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&\\\"function\\\"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:\\\"init\\\",success:!0,response:void 0});\";\n\nfunction e() {\n var e = new Blob([r]);\n return URL.createObjectURL(e);\n}\n/**\n * Log a message in debug mode, and add a breadcrumb when _experiment.traceInternals is enabled.\n */\n\n\nfunction logInfo(message, shouldAddBreadcrumb) {\n if (!DEBUG_BUILD) {\n return;\n }\n\n logger.info(message);\n\n if (shouldAddBreadcrumb) {\n addLogBreadcrumb(message);\n }\n}\n/**\n * Log a message, and add a breadcrumb in the next tick.\n * This is necessary when the breadcrumb may be added before the replay is initialized.\n */\n\n\nfunction logInfoNextTick(message, shouldAddBreadcrumb) {\n if (!DEBUG_BUILD) {\n return;\n }\n\n logger.info(message);\n\n if (shouldAddBreadcrumb) {\n // Wait a tick here to avoid race conditions for some initial logs\n // which may be added before replay is initialized\n setTimeout(function () {\n addLogBreadcrumb(message);\n }, 0);\n }\n}\n\nfunction addLogBreadcrumb(message) {\n addBreadcrumb({\n category: 'console',\n data: {\n logger: 'replay'\n },\n level: 'info',\n message: message\n }, {\n level: 'info'\n });\n}\n/** This error indicates that the event buffer size exceeded the limit.. */\n\n\nvar EventBufferSizeExceededError =\n/*#__PURE__*/\nfunction (_Error) {\n _inherits(EventBufferSizeExceededError, _Error);\n\n function EventBufferSizeExceededError() {\n _classCallCheck(this, EventBufferSizeExceededError);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(EventBufferSizeExceededError).call(this, \"Event buffer exceeded maximum size of \".concat(REPLAY_MAX_EVENT_BUFFER_SIZE, \".\")));\n }\n\n return EventBufferSizeExceededError;\n}(_wrapNativeSuper(Error));\n/**\n * A basic event buffer that does not do any compression.\n * Used as fallback if the compression worker cannot be loaded or is disabled.\n */\n\n\nvar EventBufferArray =\n/*#__PURE__*/\nfunction () {\n /** All the events that are buffered to be sent. */\n\n /** @inheritdoc */\n function EventBufferArray() {\n _classCallCheck(this, EventBufferArray);\n\n this.events = [];\n this._totalSize = 0;\n this.hasCheckout = false;\n }\n /** @inheritdoc */\n\n\n _createClass(EventBufferArray, [{\n key: \"destroy\",\n\n /** @inheritdoc */\n value: function destroy() {\n this.events = [];\n }\n /** @inheritdoc */\n\n }, {\n key: \"addEvent\",\n value: function () {\n var _addEvent2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee(event) {\n var eventSize;\n return _regeneratorRuntime.wrap(function _callee$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n eventSize = JSON.stringify(event).length;\n this._totalSize += eventSize;\n\n if (!(this._totalSize > REPLAY_MAX_EVENT_BUFFER_SIZE)) {\n _context2.next = 4;\n break;\n }\n\n throw new EventBufferSizeExceededError();\n\n case 4:\n this.events.push(event);\n\n case 5:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee, this);\n }));\n\n function addEvent(_x) {\n return _addEvent2.apply(this, arguments);\n }\n\n return addEvent;\n }()\n /** @inheritdoc */\n\n }, {\n key: \"finish\",\n value: function finish() {\n var _this18 = this;\n\n return new Promise(function (resolve) {\n // Make a copy of the events array reference and immediately clear the\n // events member so that we do not lose new events while uploading\n // attachment.\n var eventsRet = _this18.events;\n\n _this18.clear();\n\n resolve(JSON.stringify(eventsRet));\n });\n }\n /** @inheritdoc */\n\n }, {\n key: \"clear\",\n value: function clear() {\n this.events = [];\n this._totalSize = 0;\n this.hasCheckout = false;\n }\n /** @inheritdoc */\n\n }, {\n key: \"getEarliestTimestamp\",\n value: function getEarliestTimestamp() {\n var timestamp = this.events.map(function (event) {\n return event.timestamp;\n }).sort()[0];\n\n if (!timestamp) {\n return null;\n }\n\n return timestampToMs(timestamp);\n }\n }, {\n key: \"hasEvents\",\n get: function get() {\n return this.events.length > 0;\n }\n /** @inheritdoc */\n\n }, {\n key: \"type\",\n get: function get() {\n return 'sync';\n }\n }]);\n\n return EventBufferArray;\n}();\n/**\n * Event buffer that uses a web worker to compress events.\n * Exported only for testing.\n */\n\n\nvar WorkerHandler =\n/*#__PURE__*/\nfunction () {\n function WorkerHandler(worker) {\n _classCallCheck(this, WorkerHandler);\n\n this._worker = worker;\n this._id = 0;\n }\n /**\n * Ensure the worker is ready (or not).\n * This will either resolve when the worker is ready, or reject if an error occured.\n */\n\n\n _createClass(WorkerHandler, [{\n key: \"ensureReady\",\n value: function ensureReady() {\n var _this19 = this;\n\n // Ensure we only check once\n if (this._ensureReadyPromise) {\n return this._ensureReadyPromise;\n }\n\n this._ensureReadyPromise = new Promise(function (resolve, reject) {\n _this19._worker.addEventListener('message', function (_ref25) {\n var data = _ref25.data;\n\n if (data.success) {\n resolve();\n } else {\n reject();\n }\n }, {\n once: true\n });\n\n _this19._worker.addEventListener('error', function (error) {\n reject(error);\n }, {\n once: true\n });\n });\n return this._ensureReadyPromise;\n }\n /**\n * Destroy the worker.\n */\n\n }, {\n key: \"destroy\",\n value: function destroy() {\n logInfo('[Replay] Destroying compression worker');\n\n this._worker.terminate();\n }\n /**\n * Post message to worker and wait for response before resolving promise.\n */\n\n }, {\n key: \"postMessage\",\n value: function postMessage(method, arg) {\n var _this20 = this;\n\n var id = this._getAndIncrementId();\n\n return new Promise(function (resolve, reject) {\n var listener = function listener(_ref26) {\n var data = _ref26.data;\n var response = data;\n\n if (response.method !== method) {\n return;\n } // There can be multiple listeners for a single method, the id ensures\n // that the response matches the caller.\n\n\n if (response.id !== id) {\n return;\n } // At this point, we'll always want to remove listener regardless of result status\n\n\n _this20._worker.removeEventListener('message', listener);\n\n if (!response.success) {\n // TODO: Do some error handling, not sure what\n DEBUG_BUILD && logger.error('[Replay]', response.response);\n reject(new Error('Error in compression worker'));\n return;\n }\n\n resolve(response.response);\n }; // Note: we can't use `once` option because it's possible it needs to\n // listen to multiple messages\n\n\n _this20._worker.addEventListener('message', listener);\n\n _this20._worker.postMessage({\n id: id,\n method: method,\n arg: arg\n });\n });\n }\n /** Get the current ID and increment it for the next call. */\n\n }, {\n key: \"_getAndIncrementId\",\n value: function _getAndIncrementId() {\n return this._id++;\n }\n }]);\n\n return WorkerHandler;\n}();\n/**\n * Event buffer that uses a web worker to compress events.\n * Exported only for testing.\n */\n\n\nvar EventBufferCompressionWorker =\n/*#__PURE__*/\nfunction () {\n /** @inheritdoc */\n function EventBufferCompressionWorker(worker) {\n _classCallCheck(this, EventBufferCompressionWorker);\n\n this._worker = new WorkerHandler(worker);\n this._earliestTimestamp = null;\n this._totalSize = 0;\n this.hasCheckout = false;\n }\n /** @inheritdoc */\n\n\n _createClass(EventBufferCompressionWorker, [{\n key: \"ensureReady\",\n\n /**\n * Ensure the worker is ready (or not).\n * This will either resolve when the worker is ready, or reject if an error occured.\n */\n value: function ensureReady() {\n return this._worker.ensureReady();\n }\n /**\n * Destroy the event buffer.\n */\n\n }, {\n key: \"destroy\",\n value: function destroy() {\n this._worker.destroy();\n }\n /**\n * Add an event to the event buffer.\n *\n * Returns true if event was successfuly received and processed by worker.\n */\n\n }, {\n key: \"addEvent\",\n value: function addEvent(event) {\n var timestamp = timestampToMs(event.timestamp);\n\n if (!this._earliestTimestamp || timestamp < this._earliestTimestamp) {\n this._earliestTimestamp = timestamp;\n }\n\n var data = JSON.stringify(event);\n this._totalSize += data.length;\n\n if (this._totalSize > REPLAY_MAX_EVENT_BUFFER_SIZE) {\n return Promise.reject(new EventBufferSizeExceededError());\n }\n\n return this._sendEventToWorker(data);\n }\n /**\n * Finish the event buffer and return the compressed data.\n */\n\n }, {\n key: \"finish\",\n value: function finish() {\n return this._finishRequest();\n }\n /** @inheritdoc */\n\n }, {\n key: \"clear\",\n value: function clear() {\n this._earliestTimestamp = null;\n this._totalSize = 0;\n this.hasCheckout = false; // We do not wait on this, as we assume the order of messages is consistent for the worker\n\n this._worker.postMessage('clear').then(null, function (e) {\n DEBUG_BUILD && logger.warn('[Replay] Sending \"clear\" message to worker failed', e);\n });\n }\n /** @inheritdoc */\n\n }, {\n key: \"getEarliestTimestamp\",\n value: function getEarliestTimestamp() {\n return this._earliestTimestamp;\n }\n /**\n * Send the event to the worker.\n */\n\n }, {\n key: \"_sendEventToWorker\",\n value: function _sendEventToWorker(data) {\n return this._worker.postMessage('addEvent', data);\n }\n /**\n * Finish the request and return the compressed data from the worker.\n */\n\n }, {\n key: \"_finishRequest\",\n value: function () {\n var _finishRequest2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee2() {\n var response;\n return _regeneratorRuntime.wrap(function _callee2$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n _context3.next = 2;\n return this._worker.postMessage('finish');\n\n case 2:\n response = _context3.sent;\n this._earliestTimestamp = null;\n this._totalSize = 0;\n return _context3.abrupt(\"return\", response);\n\n case 6:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee2, this);\n }));\n\n function _finishRequest() {\n return _finishRequest2.apply(this, arguments);\n }\n\n return _finishRequest;\n }()\n }, {\n key: \"hasEvents\",\n get: function get() {\n return !!this._earliestTimestamp;\n }\n /** @inheritdoc */\n\n }, {\n key: \"type\",\n get: function get() {\n return 'worker';\n }\n }]);\n\n return EventBufferCompressionWorker;\n}();\n/**\n * This proxy will try to use the compression worker, and fall back to use the simple buffer if an error occurs there.\n * This can happen e.g. if the worker cannot be loaded.\n * Exported only for testing.\n */\n\n\nvar EventBufferProxy =\n/*#__PURE__*/\nfunction () {\n function EventBufferProxy(worker) {\n _classCallCheck(this, EventBufferProxy);\n\n this._fallback = new EventBufferArray();\n this._compression = new EventBufferCompressionWorker(worker);\n this._used = this._fallback;\n this._ensureWorkerIsLoadedPromise = this._ensureWorkerIsLoaded();\n }\n /** @inheritdoc */\n\n\n _createClass(EventBufferProxy, [{\n key: \"destroy\",\n\n /** @inheritDoc */\n value: function destroy() {\n this._fallback.destroy();\n\n this._compression.destroy();\n }\n /** @inheritdoc */\n\n }, {\n key: \"clear\",\n value: function clear() {\n return this._used.clear();\n }\n /** @inheritdoc */\n\n }, {\n key: \"getEarliestTimestamp\",\n value: function getEarliestTimestamp() {\n return this._used.getEarliestTimestamp();\n }\n /**\n * Add an event to the event buffer.\n *\n * Returns true if event was successfully added.\n */\n\n }, {\n key: \"addEvent\",\n value: function addEvent(event) {\n return this._used.addEvent(event);\n }\n /** @inheritDoc */\n\n }, {\n key: \"finish\",\n value: function () {\n var _finish = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee3() {\n return _regeneratorRuntime.wrap(function _callee3$(_context4) {\n while (1) {\n switch (_context4.prev = _context4.next) {\n case 0:\n _context4.next = 2;\n return this.ensureWorkerIsLoaded();\n\n case 2:\n return _context4.abrupt(\"return\", this._used.finish());\n\n case 3:\n case \"end\":\n return _context4.stop();\n }\n }\n }, _callee3, this);\n }));\n\n function finish() {\n return _finish.apply(this, arguments);\n }\n\n return finish;\n }()\n /** Ensure the worker has loaded. */\n\n }, {\n key: \"ensureWorkerIsLoaded\",\n value: function ensureWorkerIsLoaded() {\n return this._ensureWorkerIsLoadedPromise;\n }\n /** Actually check if the worker has been loaded. */\n\n }, {\n key: \"_ensureWorkerIsLoaded\",\n value: function () {\n var _ensureWorkerIsLoaded2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee4() {\n return _regeneratorRuntime.wrap(function _callee4$(_context5) {\n while (1) {\n switch (_context5.prev = _context5.next) {\n case 0:\n _context5.prev = 0;\n _context5.next = 3;\n return this._compression.ensureReady();\n\n case 3:\n _context5.next = 9;\n break;\n\n case 5:\n _context5.prev = 5;\n _context5.t0 = _context5[\"catch\"](0);\n // If the worker fails to load, we fall back to the simple buffer.\n // Nothing more to do from our side here\n logInfo('[Replay] Failed to load the compression worker, falling back to simple buffer');\n return _context5.abrupt(\"return\");\n\n case 9:\n _context5.next = 11;\n return this._switchToCompressionWorker();\n\n case 11:\n case \"end\":\n return _context5.stop();\n }\n }\n }, _callee4, this, [[0, 5]]);\n }));\n\n function _ensureWorkerIsLoaded() {\n return _ensureWorkerIsLoaded2.apply(this, arguments);\n }\n\n return _ensureWorkerIsLoaded;\n }()\n /** Switch the used buffer to the compression worker. */\n\n }, {\n key: \"_switchToCompressionWorker\",\n value: function () {\n var _switchToCompressionWorker2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee5() {\n var _this$_fallback, events, hasCheckout, addEventPromises, _iteratorNormalCompletion9, _didIteratorError9, _iteratorError9, _iterator9, _step9, event;\n\n return _regeneratorRuntime.wrap(function _callee5$(_context6) {\n while (1) {\n switch (_context6.prev = _context6.next) {\n case 0:\n _this$_fallback = this._fallback, events = _this$_fallback.events, hasCheckout = _this$_fallback.hasCheckout;\n addEventPromises = [];\n _iteratorNormalCompletion9 = true;\n _didIteratorError9 = false;\n _iteratorError9 = undefined;\n _context6.prev = 5;\n\n for (_iterator9 = events[Symbol.iterator](); !(_iteratorNormalCompletion9 = (_step9 = _iterator9.next()).done); _iteratorNormalCompletion9 = true) {\n event = _step9.value;\n addEventPromises.push(this._compression.addEvent(event));\n }\n\n _context6.next = 13;\n break;\n\n case 9:\n _context6.prev = 9;\n _context6.t0 = _context6[\"catch\"](5);\n _didIteratorError9 = true;\n _iteratorError9 = _context6.t0;\n\n case 13:\n _context6.prev = 13;\n _context6.prev = 14;\n\n if (!_iteratorNormalCompletion9 && _iterator9[\"return\"] != null) {\n _iterator9[\"return\"]();\n }\n\n case 16:\n _context6.prev = 16;\n\n if (!_didIteratorError9) {\n _context6.next = 19;\n break;\n }\n\n throw _iteratorError9;\n\n case 19:\n return _context6.finish(16);\n\n case 20:\n return _context6.finish(13);\n\n case 21:\n this._compression.hasCheckout = hasCheckout; // We switch over to the new buffer immediately - any further events will be added\n // after the previously buffered ones\n\n this._used = this._compression; // Wait for original events to be re-added before resolving\n\n _context6.prev = 23;\n _context6.next = 26;\n return Promise.all(addEventPromises);\n\n case 26:\n _context6.next = 31;\n break;\n\n case 28:\n _context6.prev = 28;\n _context6.t1 = _context6[\"catch\"](23);\n DEBUG_BUILD && logger.warn('[Replay] Failed to add events when switching buffers.', _context6.t1);\n\n case 31:\n case \"end\":\n return _context6.stop();\n }\n }\n }, _callee5, this, [[5, 9, 13, 21], [14,, 16, 20], [23, 28]]);\n }));\n\n function _switchToCompressionWorker() {\n return _switchToCompressionWorker2.apply(this, arguments);\n }\n\n return _switchToCompressionWorker;\n }()\n }, {\n key: \"type\",\n get: function get() {\n return this._used.type;\n }\n /** @inheritDoc */\n\n }, {\n key: \"hasEvents\",\n get: function get() {\n return this._used.hasEvents;\n }\n /** @inheritdoc */\n\n }, {\n key: \"hasCheckout\",\n get: function get() {\n return this._used.hasCheckout;\n }\n /** @inheritdoc */\n ,\n set: function set(value) {\n this._used.hasCheckout = value;\n }\n }]);\n\n return EventBufferProxy;\n}();\n/**\n * Create an event buffer for replays.\n */\n\n\nfunction createEventBuffer(_ref27) {\n var useCompression = _ref27.useCompression,\n customWorkerUrl = _ref27.workerUrl;\n\n if (useCompression && // eslint-disable-next-line no-restricted-globals\n window.Worker) {\n var worker = _loadWorker(customWorkerUrl);\n\n if (worker) {\n return worker;\n }\n }\n\n logInfo('[Replay] Using simple buffer');\n return new EventBufferArray();\n}\n\nfunction _loadWorker(customWorkerUrl) {\n try {\n var workerUrl = customWorkerUrl || _getWorkerUrl();\n\n if (!workerUrl) {\n return;\n }\n\n logInfo(\"[Replay] Using compression worker\".concat(customWorkerUrl ? \" from \".concat(customWorkerUrl) : ''));\n var worker = new Worker(workerUrl);\n return new EventBufferProxy(worker);\n } catch (error) {\n logInfo('[Replay] Failed to create compression worker'); // Fall back to use simple event buffer array\n }\n}\n\nfunction _getWorkerUrl() {\n if (typeof __SENTRY_EXCLUDE_REPLAY_WORKER__ === 'undefined' || !__SENTRY_EXCLUDE_REPLAY_WORKER__) {\n return e();\n }\n\n return '';\n}\n/** If sessionStorage is available. */\n\n\nfunction hasSessionStorage() {\n try {\n // This can throw, e.g. when being accessed in a sandboxed iframe\n return 'sessionStorage' in WINDOW && !!WINDOW.sessionStorage;\n } catch (e) {\n return false;\n }\n}\n/**\n * Removes the session from Session Storage and unsets session in replay instance\n */\n\n\nfunction clearSession(replay) {\n deleteSession();\n replay.session = undefined;\n}\n/**\n * Deletes a session from storage\n */\n\n\nfunction deleteSession() {\n if (!hasSessionStorage()) {\n return;\n }\n\n try {\n WINDOW.sessionStorage.removeItem(REPLAY_SESSION_KEY);\n } catch (e) {// Ignore potential SecurityError exceptions\n }\n}\n/**\n * Given a sample rate, returns true if replay should be sampled.\n *\n * 1.0 = 100% sampling\n * 0.0 = 0% sampling\n */\n\n\nfunction isSampled(sampleRate) {\n if (sampleRate === undefined) {\n return false;\n } // Math.random() returns a number in range of 0 to 1 (inclusive of 0, but not 1)\n\n\n return Math.random() < sampleRate;\n}\n/**\n * Get a session with defaults & applied sampling.\n */\n\n\nfunction makeSession(session) {\n var now = Date.now();\n var id = session.id || uuid4(); // Note that this means we cannot set a started/lastActivity of `0`, but this should not be relevant outside of tests.\n\n var started = session.started || now;\n var lastActivity = session.lastActivity || now;\n var segmentId = session.segmentId || 0;\n var sampled = session.sampled;\n var previousSessionId = session.previousSessionId;\n return {\n id: id,\n started: started,\n lastActivity: lastActivity,\n segmentId: segmentId,\n sampled: sampled,\n previousSessionId: previousSessionId\n };\n}\n/**\n * Save a session to session storage.\n */\n\n\nfunction saveSession(session) {\n if (!hasSessionStorage()) {\n return;\n }\n\n try {\n WINDOW.sessionStorage.setItem(REPLAY_SESSION_KEY, JSON.stringify(session));\n } catch (e) {// Ignore potential SecurityError exceptions\n }\n}\n/**\n * Get the sampled status for a session based on sample rates & current sampled status.\n */\n\n\nfunction getSessionSampleType(sessionSampleRate, allowBuffering) {\n return isSampled(sessionSampleRate) ? 'session' : allowBuffering ? 'buffer' : false;\n}\n/**\n * Create a new session, which in its current implementation is a Sentry event\n * that all replays will be saved to as attachments. Currently, we only expect\n * one of these Sentry events per \"replay session\".\n */\n\n\nfunction createSession(_ref28) {\n var sessionSampleRate = _ref28.sessionSampleRate,\n allowBuffering = _ref28.allowBuffering,\n _ref28$stickySession = _ref28.stickySession,\n stickySession = _ref28$stickySession === void 0 ? false : _ref28$stickySession;\n\n var _ref29 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n previousSessionId = _ref29.previousSessionId;\n\n var sampled = getSessionSampleType(sessionSampleRate, allowBuffering);\n var session = makeSession({\n sampled: sampled,\n previousSessionId: previousSessionId\n });\n\n if (stickySession) {\n saveSession(session);\n }\n\n return session;\n}\n/**\n * Fetches a session from storage\n */\n\n\nfunction fetchSession(traceInternals) {\n if (!hasSessionStorage()) {\n return null;\n }\n\n try {\n // This can throw if cookies are disabled\n var sessionStringFromStorage = WINDOW.sessionStorage.getItem(REPLAY_SESSION_KEY);\n\n if (!sessionStringFromStorage) {\n return null;\n }\n\n var sessionObj = JSON.parse(sessionStringFromStorage);\n logInfoNextTick('[Replay] Loading existing session', traceInternals);\n return makeSession(sessionObj);\n } catch (e) {\n return null;\n }\n}\n/**\n * Given an initial timestamp and an expiry duration, checks to see if current\n * time should be considered as expired.\n */\n\n\nfunction isExpired(initialTime, expiry) {\n var targetTime = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : +new Date();\n\n // Always expired if < 0\n if (initialTime === null || expiry === undefined || expiry < 0) {\n return true;\n } // Never expires if == 0\n\n\n if (expiry === 0) {\n return false;\n }\n\n return initialTime + expiry <= targetTime;\n}\n/**\n * Checks to see if session is expired\n */\n\n\nfunction isSessionExpired(session, _ref30) {\n var maxReplayDuration = _ref30.maxReplayDuration,\n sessionIdleExpire = _ref30.sessionIdleExpire,\n _ref30$targetTime = _ref30.targetTime,\n targetTime = _ref30$targetTime === void 0 ? Date.now() : _ref30$targetTime;\n return (// First, check that maximum session length has not been exceeded\n isExpired(session.started, maxReplayDuration, targetTime) || // check that the idle timeout has not been exceeded (i.e. user has\n // performed an action within the last `sessionIdleExpire` ms)\n isExpired(session.lastActivity, sessionIdleExpire, targetTime)\n );\n}\n/** If the session should be refreshed or not. */\n\n\nfunction shouldRefreshSession(session, _ref31) {\n var sessionIdleExpire = _ref31.sessionIdleExpire,\n maxReplayDuration = _ref31.maxReplayDuration;\n\n // If not expired, all good, just keep the session\n if (!isSessionExpired(session, {\n sessionIdleExpire: sessionIdleExpire,\n maxReplayDuration: maxReplayDuration\n })) {\n return false;\n } // If we are buffering & haven't ever flushed yet, always continue\n\n\n if (session.sampled === 'buffer' && session.segmentId === 0) {\n return false;\n }\n\n return true;\n}\n/**\n * Get or create a session, when initializing the replay.\n * Returns a session that may be unsampled.\n */\n\n\nfunction loadOrCreateSession(_ref32, sessionOptions) {\n var traceInternals = _ref32.traceInternals,\n sessionIdleExpire = _ref32.sessionIdleExpire,\n maxReplayDuration = _ref32.maxReplayDuration,\n previousSessionId = _ref32.previousSessionId;\n var existingSession = sessionOptions.stickySession && fetchSession(traceInternals); // No session exists yet, just create a new one\n\n if (!existingSession) {\n logInfoNextTick('[Replay] Creating new session', traceInternals);\n return createSession(sessionOptions, {\n previousSessionId: previousSessionId\n });\n }\n\n if (!shouldRefreshSession(existingSession, {\n sessionIdleExpire: sessionIdleExpire,\n maxReplayDuration: maxReplayDuration\n })) {\n return existingSession;\n }\n\n logInfoNextTick('[Replay] Session in sessionStorage is expired, creating new one...');\n return createSession(sessionOptions, {\n previousSessionId: existingSession.id\n });\n}\n\nfunction isCustomEvent(event) {\n return event.type === EventType.Custom;\n}\n/**\n * Add an event to the event buffer.\n * In contrast to `addEvent`, this does not return a promise & does not wait for the adding of the event to succeed/fail.\n * Instead this returns `true` if we tried to add the event, else false.\n * It returns `false` e.g. if we are paused, disabled, or out of the max replay duration.\n *\n * `isCheckout` is true if this is either the very first event, or an event triggered by `checkoutEveryNms`.\n */\n\n\nfunction addEventSync(replay, event, isCheckout) {\n if (!shouldAddEvent(replay, event)) {\n return false;\n } // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n\n _addEvent(replay, event, isCheckout);\n\n return true;\n}\n/**\n * Add an event to the event buffer.\n * Resolves to `null` if no event was added, else to `void`.\n *\n * `isCheckout` is true if this is either the very first event, or an event triggered by `checkoutEveryNms`.\n */\n\n\nfunction addEvent(replay, event, isCheckout) {\n if (!shouldAddEvent(replay, event)) {\n return Promise.resolve(null);\n }\n\n return _addEvent(replay, event, isCheckout);\n}\n\nfunction _addEvent(_x2, _x3, _x4) {\n return _addEvent3.apply(this, arguments);\n}\n/** Exported only for tests. */\n\n\nfunction _addEvent3() {\n _addEvent3 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee11(replay, event, isCheckout) {\n var replayOptions, eventAfterPossibleCallback, reason, client;\n return _regeneratorRuntime.wrap(function _callee11$(_context12) {\n while (1) {\n switch (_context12.prev = _context12.next) {\n case 0:\n if (replay.eventBuffer) {\n _context12.next = 2;\n break;\n }\n\n return _context12.abrupt(\"return\", null);\n\n case 2:\n _context12.prev = 2;\n\n if (isCheckout && replay.recordingMode === 'buffer') {\n replay.eventBuffer.clear();\n }\n\n if (isCheckout) {\n replay.eventBuffer.hasCheckout = true;\n }\n\n replayOptions = replay.getOptions();\n eventAfterPossibleCallback = maybeApplyCallback(event, replayOptions.beforeAddRecordingEvent);\n\n if (eventAfterPossibleCallback) {\n _context12.next = 9;\n break;\n }\n\n return _context12.abrupt(\"return\");\n\n case 9:\n _context12.next = 11;\n return replay.eventBuffer.addEvent(eventAfterPossibleCallback);\n\n case 11:\n return _context12.abrupt(\"return\", _context12.sent);\n\n case 14:\n _context12.prev = 14;\n _context12.t0 = _context12[\"catch\"](2);\n reason = _context12.t0 && _context12.t0 instanceof EventBufferSizeExceededError ? 'addEventSizeExceeded' : 'addEvent';\n DEBUG_BUILD && logger.error(_context12.t0);\n _context12.next = 20;\n return replay.stop({\n reason: reason\n });\n\n case 20:\n client = getClient();\n\n if (client) {\n client.recordDroppedEvent('internal_sdk_error', 'replay');\n }\n\n case 22:\n case \"end\":\n return _context12.stop();\n }\n }\n }, _callee11, null, [[2, 14]]);\n }));\n return _addEvent3.apply(this, arguments);\n}\n\nfunction shouldAddEvent(replay, event) {\n if (!replay.eventBuffer || replay.isPaused() || !replay.isEnabled()) {\n return false;\n }\n\n var timestampInMs = timestampToMs(event.timestamp); // Throw out events that happen more than 5 minutes ago. This can happen if\n // page has been left open and idle for a long period of time and user\n // comes back to trigger a new session. The performance entries rely on\n // `performance.timeOrigin`, which is when the page first opened.\n\n if (timestampInMs + replay.timeouts.sessionIdlePause < Date.now()) {\n return false;\n } // Throw out events that are +60min from the initial timestamp\n\n\n if (timestampInMs > replay.getContext().initialTimestamp + replay.getOptions().maxReplayDuration) {\n logInfo(\"[Replay] Skipping event with timestamp \".concat(timestampInMs, \" because it is after maxReplayDuration\"), replay.getOptions()._experiments.traceInternals);\n return false;\n }\n\n return true;\n}\n\nfunction maybeApplyCallback(event, callback) {\n try {\n if (typeof callback === 'function' && isCustomEvent(event)) {\n return callback(event);\n }\n } catch (error) {\n DEBUG_BUILD && logger.error('[Replay] An error occured in the `beforeAddRecordingEvent` callback, skipping the event...', error);\n return null;\n }\n\n return event;\n}\n/** If the event is an error event */\n\n\nfunction isErrorEvent(event) {\n return !event.type;\n}\n/** If the event is a transaction event */\n\n\nfunction isTransactionEvent(event) {\n return event.type === 'transaction';\n}\n/** If the event is an replay event */\n\n\nfunction isReplayEvent(event) {\n return event.type === 'replay_event';\n}\n/** If the event is a feedback event */\n\n\nfunction isFeedbackEvent(event) {\n return event.type === 'feedback';\n}\n/**\n * Returns a listener to be added to `client.on('afterSendErrorEvent, listener)`.\n */\n\n\nfunction handleAfterSendEvent(replay) {\n // Custom transports may still be returning `Promise<void>`, which means we cannot expect the status code to be available there\n // TODO (v8): remove this check as it will no longer be necessary\n var enforceStatusCode = isBaseTransportSend();\n return function (event, sendResponse) {\n if (!replay.isEnabled() || !isErrorEvent(event) && !isTransactionEvent(event)) {\n return;\n }\n\n var statusCode = sendResponse && sendResponse.statusCode; // We only want to do stuff on successful error sending, otherwise you get error replays without errors attached\n // If not using the base transport, we allow `undefined` response (as a custom transport may not implement this correctly yet)\n // If we do use the base transport, we skip if we encountered an non-OK status code\n\n if (enforceStatusCode && (!statusCode || statusCode < 200 || statusCode >= 300)) {\n return;\n }\n\n if (isTransactionEvent(event)) {\n handleTransactionEvent(replay, event);\n return;\n }\n\n handleErrorEvent(replay, event);\n };\n}\n\nfunction handleTransactionEvent(replay, event) {\n var replayContext = replay.getContext(); // Collect traceIds in _context regardless of `recordingMode`\n // In error mode, _context gets cleared on every checkout\n // We limit to max. 100 transactions linked\n\n if (event.contexts && event.contexts.trace && event.contexts.trace.trace_id && replayContext.traceIds.size < 100) {\n replayContext.traceIds.add(event.contexts.trace.trace_id);\n }\n}\n\nfunction handleErrorEvent(replay, event) {\n var replayContext = replay.getContext(); // Add error to list of errorIds of replay. This is ok to do even if not\n // sampled because context will get reset at next checkout.\n // XXX: There is also a race condition where it's possible to capture an\n // error to Sentry before Replay SDK has loaded, but response returns after\n // it was loaded, and this gets called.\n // We limit to max. 100 errors linked\n\n if (event.event_id && replayContext.errorIds.size < 100) {\n replayContext.errorIds.add(event.event_id);\n } // If error event is tagged with replay id it means it was sampled (when in buffer mode)\n // Need to be very careful that this does not cause an infinite loop\n\n\n if (replay.recordingMode !== 'buffer' || !event.tags || !event.tags.replayId) {\n return;\n }\n\n var _replay$getOptions = replay.getOptions(),\n beforeErrorSampling = _replay$getOptions.beforeErrorSampling;\n\n if (typeof beforeErrorSampling === 'function' && !beforeErrorSampling(event)) {\n return;\n }\n\n setTimeout(function () {\n // Capture current event buffer as new replay\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n replay.sendBufferedReplayOrFlush();\n });\n}\n\nfunction isBaseTransportSend() {\n var client = getClient();\n\n if (!client) {\n return false;\n }\n\n var transport = client.getTransport();\n\n if (!transport) {\n return false;\n }\n\n return transport.send.__sentry__baseTransport__ || false;\n}\n/**\n * Returns a listener to be added to `client.on('afterSendErrorEvent, listener)`.\n */\n\n\nfunction handleBeforeSendEvent(replay) {\n return function (event) {\n if (!replay.isEnabled() || !isErrorEvent(event)) {\n return;\n }\n\n handleHydrationError(replay, event);\n };\n}\n\nfunction handleHydrationError(replay, event) {\n var exceptionValue = event.exception && event.exception.values && event.exception.values[0].value;\n\n if (typeof exceptionValue !== 'string') {\n return;\n }\n\n if ( // Only matches errors in production builds of react-dom\n // Example https://reactjs.org/docs/error-decoder.html?invariant=423\n exceptionValue.match(/reactjs\\.org\\/docs\\/error-decoder\\.html\\?invariant=(418|419|422|423|425)/) || // Development builds of react-dom\n // Error 1: Hydration failed because the initial UI does not match what was rendered on the server.\n // Error 2: Text content does not match server-rendered HTML. Warning: Text content did not match.\n exceptionValue.match(/(does not match server-rendered HTML|Hydration failed because)/i)) {\n var breadcrumb = createBreadcrumb({\n category: 'replay.hydrate-error'\n });\n addBreadcrumbEvent(replay, breadcrumb);\n }\n}\n/**\n * Returns true if we think the given event is an error originating inside of rrweb.\n */\n\n\nfunction isRrwebError(event, hint) {\n if (event.type || !event.exception || !event.exception.values || !event.exception.values.length) {\n return false;\n } // @ts-expect-error this may be set by rrweb when it finds errors\n\n\n if (hint.originalException && hint.originalException.__rrweb__) {\n return true;\n }\n\n return false;\n}\n/**\n * Add a feedback breadcrumb event to replay.\n */\n\n\nfunction addFeedbackBreadcrumb(replay, event) {\n replay.triggerUserActivity();\n replay.addUpdate(function () {\n if (!event.timestamp) {\n // Ignore events that don't have timestamps (this shouldn't happen, more of a typing issue)\n // Return true here so that we don't flush\n return true;\n } // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n\n replay.throttledAddEvent({\n type: EventType.Custom,\n timestamp: event.timestamp * 1000,\n data: {\n tag: 'breadcrumb',\n payload: {\n timestamp: event.timestamp,\n type: 'default',\n category: 'sentry.feedback',\n data: {\n feedbackId: event.event_id\n }\n }\n }\n });\n return false;\n });\n}\n/**\n * Determine if event should be sampled (only applies in buffer mode).\n * When an event is captured by `hanldleGlobalEvent`, when in buffer mode\n * we determine if we want to sample the error or not.\n */\n\n\nfunction shouldSampleForBufferEvent(replay, event) {\n if (replay.recordingMode !== 'buffer') {\n return false;\n } // ignore this error because otherwise we could loop indefinitely with\n // trying to capture replay and failing\n\n\n if (event.message === UNABLE_TO_SEND_REPLAY) {\n return false;\n } // Require the event to be an error event & to have an exception\n\n\n if (!event.exception || event.type) {\n return false;\n }\n\n return isSampled(replay.getOptions().errorSampleRate);\n}\n/**\n * Returns a listener to be added to `addEventProcessor(listener)`.\n */\n\n\nfunction handleGlobalEventListener(replay) {\n var includeAfterSendEventHandling = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var afterSendHandler = includeAfterSendEventHandling ? handleAfterSendEvent(replay) : undefined;\n return Object.assign(function (event, hint) {\n // Do nothing if replay has been disabled\n if (!replay.isEnabled()) {\n return event;\n }\n\n if (isReplayEvent(event)) {\n // Replays have separate set of breadcrumbs, do not include breadcrumbs\n // from core SDK\n delete event.breadcrumbs;\n return event;\n } // We only want to handle errors, transactions, and feedbacks, nothing else\n\n\n if (!isErrorEvent(event) && !isTransactionEvent(event) && !isFeedbackEvent(event)) {\n return event;\n } // Ensure we do not add replay_id if the session is expired\n\n\n var isSessionActive = replay.checkAndHandleExpiredSession();\n\n if (!isSessionActive) {\n return event;\n }\n\n if (isFeedbackEvent(event)) {\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n replay.flush();\n event.contexts.feedback.replay_id = replay.getSessionId(); // Add a replay breadcrumb for this piece of feedback\n\n addFeedbackBreadcrumb(replay, event);\n return event;\n } // Unless `captureExceptions` is enabled, we want to ignore errors coming from rrweb\n // As there can be a bunch of stuff going wrong in internals there, that we don't want to bubble up to users\n\n\n if (isRrwebError(event, hint) && !replay.getOptions()._experiments.captureExceptions) {\n DEBUG_BUILD && logger.log('[Replay] Ignoring error from rrweb internals', event);\n return null;\n } // When in buffer mode, we decide to sample here.\n // Later, in `handleAfterSendEvent`, if the replayId is set, we know that we sampled\n // And convert the buffer session to a full session\n\n\n var isErrorEventSampled = shouldSampleForBufferEvent(replay, event); // Tag errors if it has been sampled in buffer mode, or if it is session mode\n // Only tag transactions if in session mode\n\n var shouldTagReplayId = isErrorEventSampled || replay.recordingMode === 'session';\n\n if (shouldTagReplayId) {\n event.tags = _objectSpread(_objectSpread({}, event.tags), {}, {\n replayId: replay.getSessionId()\n });\n } // In cases where a custom client is used that does not support the new hooks (yet),\n // we manually call this hook method here\n\n\n if (afterSendHandler) {\n // Pretend the error had a 200 response so we always capture it\n afterSendHandler(event, {\n statusCode: 200\n });\n }\n\n return event;\n }, {\n id: 'Replay'\n });\n}\n/**\n * Create a \"span\" for each performance entry.\n */\n\n\nfunction createPerformanceSpans(replay, entries) {\n return entries.map(function (_ref33) {\n var type = _ref33.type,\n start = _ref33.start,\n end = _ref33.end,\n name = _ref33.name,\n data = _ref33.data;\n var response = replay.throttledAddEvent({\n type: EventType.Custom,\n timestamp: start,\n data: {\n tag: 'performanceSpan',\n payload: {\n op: type,\n description: name,\n startTimestamp: start,\n endTimestamp: end,\n data: data\n }\n }\n }); // If response is a string, it means its either THROTTLED or SKIPPED\n\n return typeof response === 'string' ? Promise.resolve(null) : response;\n });\n}\n\nfunction handleHistory(handlerData) {\n var from = handlerData.from,\n to = handlerData.to;\n var now = Date.now() / 1000;\n return {\n type: 'navigation.push',\n start: now,\n end: now,\n name: to,\n data: {\n previous: from\n }\n };\n}\n/**\n * Returns a listener to be added to `addHistoryInstrumentationHandler(listener)`.\n */\n\n\nfunction handleHistorySpanListener(replay) {\n return function (handlerData) {\n if (!replay.isEnabled()) {\n return;\n }\n\n var result = handleHistory(handlerData);\n\n if (result === null) {\n return;\n } // Need to collect visited URLs\n\n\n replay.getContext().urls.push(result.name);\n replay.triggerUserActivity();\n replay.addUpdate(function () {\n createPerformanceSpans(replay, [result]); // Returning false to flush\n\n return false;\n });\n };\n}\n/**\n * Check whether a given request URL should be filtered out. This is so we\n * don't log Sentry ingest requests.\n */\n\n\nfunction shouldFilterRequest(replay, url) {\n // If we enabled the `traceInternals` experiment, we want to trace everything\n if (DEBUG_BUILD && replay.getOptions()._experiments.traceInternals) {\n return false;\n }\n\n return isSentryRequestUrl(url, getClient());\n}\n/** Add a performance entry breadcrumb */\n\n\nfunction addNetworkBreadcrumb(replay, result) {\n if (!replay.isEnabled()) {\n return;\n }\n\n if (result === null) {\n return;\n }\n\n if (shouldFilterRequest(replay, result.name)) {\n return;\n }\n\n replay.addUpdate(function () {\n createPerformanceSpans(replay, [result]); // Returning true will cause `addUpdate` to not flush\n // We do not want network requests to cause a flush. This will prevent\n // recurring/polling requests from keeping the replay session alive.\n\n return true;\n });\n}\n/** only exported for tests */\n\n\nfunction handleFetch(handlerData) {\n var startTimestamp = handlerData.startTimestamp,\n endTimestamp = handlerData.endTimestamp,\n fetchData = handlerData.fetchData,\n response = handlerData.response;\n\n if (!endTimestamp) {\n return null;\n } // This is only used as a fallback, so we know the body sizes are never set here\n\n\n var method = fetchData.method,\n url = fetchData.url;\n return {\n type: 'resource.fetch',\n start: startTimestamp / 1000,\n end: endTimestamp / 1000,\n name: url,\n data: {\n method: method,\n statusCode: response ? response.status : undefined\n }\n };\n}\n/**\n * Returns a listener to be added to `addFetchInstrumentationHandler(listener)`.\n */\n\n\nfunction handleFetchSpanListener(replay) {\n return function (handlerData) {\n if (!replay.isEnabled()) {\n return;\n }\n\n var result = handleFetch(handlerData);\n addNetworkBreadcrumb(replay, result);\n };\n}\n/** only exported for tests */\n\n\nfunction handleXhr(handlerData) {\n var startTimestamp = handlerData.startTimestamp,\n endTimestamp = handlerData.endTimestamp,\n xhr = handlerData.xhr;\n var sentryXhrData = xhr[SENTRY_XHR_DATA_KEY];\n\n if (!startTimestamp || !endTimestamp || !sentryXhrData) {\n return null;\n } // This is only used as a fallback, so we know the body sizes are never set here\n\n\n var method = sentryXhrData.method,\n url = sentryXhrData.url,\n statusCode = sentryXhrData.status_code;\n\n if (url === undefined) {\n return null;\n }\n\n return {\n type: 'resource.xhr',\n name: url,\n start: startTimestamp / 1000,\n end: endTimestamp / 1000,\n data: {\n method: method,\n statusCode: statusCode\n }\n };\n}\n/**\n * Returns a listener to be added to `addXhrInstrumentationHandler(listener)`.\n */\n\n\nfunction handleXhrSpanListener(replay) {\n return function (handlerData) {\n if (!replay.isEnabled()) {\n return;\n }\n\n var result = handleXhr(handlerData);\n addNetworkBreadcrumb(replay, result);\n };\n}\n/** Get the size of a body. */\n\n\nfunction getBodySize(body, textEncoder) {\n if (!body) {\n return undefined;\n }\n\n try {\n if (typeof body === 'string') {\n return textEncoder.encode(body).length;\n }\n\n if (body instanceof URLSearchParams) {\n return textEncoder.encode(body.toString()).length;\n }\n\n if (body instanceof FormData) {\n var formDataStr = _serializeFormData(body);\n\n return textEncoder.encode(formDataStr).length;\n }\n\n if (body instanceof Blob) {\n return body.size;\n }\n\n if (body instanceof ArrayBuffer) {\n return body.byteLength;\n } // Currently unhandled types: ArrayBufferView, ReadableStream\n\n } catch (e) {// just return undefined\n }\n\n return undefined;\n}\n/** Convert a Content-Length header to number/undefined. */\n\n\nfunction parseContentLengthHeader(header) {\n if (!header) {\n return undefined;\n }\n\n var size = parseInt(header, 10);\n return isNaN(size) ? undefined : size;\n}\n/** Get the string representation of a body. */\n\n\nfunction getBodyString(body) {\n try {\n if (typeof body === 'string') {\n return [body];\n }\n\n if (body instanceof URLSearchParams) {\n return [body.toString()];\n }\n\n if (body instanceof FormData) {\n return [_serializeFormData(body)];\n }\n\n if (!body) {\n return [undefined];\n }\n } catch (e2) {\n DEBUG_BUILD && logger.warn('[Replay] Failed to serialize body', body);\n return [undefined, 'BODY_PARSE_ERROR'];\n }\n\n DEBUG_BUILD && logger.info('[Replay] Skipping network body because of body type', body);\n return [undefined, 'UNPARSEABLE_BODY_TYPE'];\n}\n/** Merge a warning into an existing network request/response. */\n\n\nfunction mergeWarning(info, warning) {\n if (!info) {\n return {\n headers: {},\n size: undefined,\n _meta: {\n warnings: [warning]\n }\n };\n }\n\n var newMeta = _objectSpread({}, info._meta);\n\n var existingWarnings = newMeta.warnings || [];\n newMeta.warnings = [].concat(_toConsumableArray(existingWarnings), [warning]);\n info._meta = newMeta;\n return info;\n}\n/** Convert ReplayNetworkRequestData to a PerformanceEntry. */\n\n\nfunction makeNetworkReplayBreadcrumb(type, data) {\n if (!data) {\n return null;\n }\n\n var startTimestamp = data.startTimestamp,\n endTimestamp = data.endTimestamp,\n url = data.url,\n method = data.method,\n statusCode = data.statusCode,\n request = data.request,\n response = data.response;\n var result = {\n type: type,\n start: startTimestamp / 1000,\n end: endTimestamp / 1000,\n name: url,\n data: dropUndefinedKeys({\n method: method,\n statusCode: statusCode,\n request: request,\n response: response\n })\n };\n return result;\n}\n/** Build the request or response part of a replay network breadcrumb that was skipped. */\n\n\nfunction buildSkippedNetworkRequestOrResponse(bodySize) {\n return {\n headers: {},\n size: bodySize,\n _meta: {\n warnings: ['URL_SKIPPED']\n }\n };\n}\n/** Build the request or response part of a replay network breadcrumb. */\n\n\nfunction buildNetworkRequestOrResponse(headers, bodySize, body) {\n if (!bodySize && Object.keys(headers).length === 0) {\n return undefined;\n }\n\n if (!bodySize) {\n return {\n headers: headers\n };\n }\n\n if (!body) {\n return {\n headers: headers,\n size: bodySize\n };\n }\n\n var info = {\n headers: headers,\n size: bodySize\n };\n\n var _normalizeNetworkBody = normalizeNetworkBody(body),\n normalizedBody = _normalizeNetworkBody.body,\n warnings = _normalizeNetworkBody.warnings;\n\n info.body = normalizedBody;\n\n if (warnings && warnings.length > 0) {\n info._meta = {\n warnings: warnings\n };\n }\n\n return info;\n}\n/** Filter a set of headers */\n\n\nfunction getAllowedHeaders(headers, allowedHeaders) {\n return Object.keys(headers).reduce(function (filteredHeaders, key) {\n var normalizedKey = key.toLowerCase(); // Avoid putting empty strings into the headers\n\n if (allowedHeaders.includes(normalizedKey) && headers[key]) {\n filteredHeaders[normalizedKey] = headers[key];\n }\n\n return filteredHeaders;\n }, {});\n}\n\nfunction _serializeFormData(formData) {\n // This is a bit simplified, but gives us a decent estimate\n // This converts e.g. { name: 'Anne Smith', age: 13 } to 'name=Anne+Smith&age=13'\n // @ts-expect-error passing FormData to URLSearchParams actually works\n return new URLSearchParams(formData).toString();\n}\n\nfunction normalizeNetworkBody(body) {\n if (!body || typeof body !== 'string') {\n return {\n body: body\n };\n }\n\n var exceedsSizeLimit = body.length > NETWORK_BODY_MAX_SIZE;\n\n var isProbablyJson = _strIsProbablyJson(body);\n\n if (exceedsSizeLimit) {\n var truncatedBody = body.slice(0, NETWORK_BODY_MAX_SIZE);\n\n if (isProbablyJson) {\n return {\n body: truncatedBody,\n warnings: ['MAYBE_JSON_TRUNCATED']\n };\n }\n\n return {\n body: \"\".concat(truncatedBody, \"\\u2026\"),\n warnings: ['TEXT_TRUNCATED']\n };\n }\n\n if (isProbablyJson) {\n try {\n var jsonBody = JSON.parse(body);\n return {\n body: jsonBody\n };\n } catch (e3) {// fall back to just send the body as string\n }\n }\n\n return {\n body: body\n };\n}\n\nfunction _strIsProbablyJson(str) {\n var first = str[0];\n var last = str[str.length - 1]; // Simple check: If this does not start & end with {} or [], it's not JSON\n\n return first === '[' && last === ']' || first === '{' && last === '}';\n}\n/** Match an URL against a list of strings/Regex. */\n\n\nfunction urlMatches(url, urls) {\n var fullUrl = getFullUrl(url);\n return stringMatchesSomePattern(fullUrl, urls);\n}\n/** exported for tests */\n\n\nfunction getFullUrl(url) {\n var baseURI = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : WINDOW.document.baseURI;\n\n // Short circuit for common cases:\n if (url.startsWith('http://') || url.startsWith('https://') || url.startsWith(WINDOW.location.origin)) {\n return url;\n }\n\n var fixedUrl = new URL(url, baseURI); // If these do not match, we are not dealing with a relative URL, so just return it\n\n if (fixedUrl.origin !== new URL(baseURI).origin) {\n return url;\n }\n\n var fullUrl = fixedUrl.href; // Remove trailing slashes, if they don't match the original URL\n\n if (!url.endsWith('/') && fullUrl.endsWith('/')) {\n return fullUrl.slice(0, -1);\n }\n\n return fullUrl;\n}\n/**\n * Capture a fetch breadcrumb to a replay.\n * This adds additional data (where approriate).\n */\n\n\nfunction captureFetchBreadcrumbToReplay(_x5, _x6, _x7) {\n return _captureFetchBreadcrumbToReplay.apply(this, arguments);\n}\n/**\n * Enrich a breadcrumb with additional data.\n * This has to be sync & mutate the given breadcrumb,\n * as the breadcrumb is afterwards consumed by other handlers.\n */\n\n\nfunction _captureFetchBreadcrumbToReplay() {\n _captureFetchBreadcrumbToReplay = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee12(breadcrumb, hint, options) {\n var data, result;\n return _regeneratorRuntime.wrap(function _callee12$(_context13) {\n while (1) {\n switch (_context13.prev = _context13.next) {\n case 0:\n _context13.prev = 0;\n _context13.next = 3;\n return _prepareFetchData(breadcrumb, hint, options);\n\n case 3:\n data = _context13.sent;\n // Create a replay performance entry from this breadcrumb\n result = makeNetworkReplayBreadcrumb('resource.fetch', data);\n addNetworkBreadcrumb(options.replay, result);\n _context13.next = 11;\n break;\n\n case 8:\n _context13.prev = 8;\n _context13.t0 = _context13[\"catch\"](0);\n DEBUG_BUILD && logger.error('[Replay] Failed to capture fetch breadcrumb', _context13.t0);\n\n case 11:\n case \"end\":\n return _context13.stop();\n }\n }\n }, _callee12, null, [[0, 8]]);\n }));\n return _captureFetchBreadcrumbToReplay.apply(this, arguments);\n}\n\nfunction enrichFetchBreadcrumb(breadcrumb, hint, options) {\n var input = hint.input,\n response = hint.response;\n var body = input ? _getFetchRequestArgBody(input) : undefined;\n var reqSize = getBodySize(body, options.textEncoder);\n var resSize = response ? parseContentLengthHeader(response.headers.get('content-length')) : undefined;\n\n if (reqSize !== undefined) {\n breadcrumb.data.request_body_size = reqSize;\n }\n\n if (resSize !== undefined) {\n breadcrumb.data.response_body_size = resSize;\n }\n}\n\nfunction _prepareFetchData(_x8, _x9, _x10) {\n return _prepareFetchData2.apply(this, arguments);\n}\n\nfunction _prepareFetchData2() {\n _prepareFetchData2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee13(breadcrumb, hint, options) {\n var now, _hint$startTimestamp2, startTimestamp, _hint$endTimestamp2, endTimestamp, _breadcrumb$data2, url, method, _breadcrumb$data2$sta, statusCode, requestBodySize, responseBodySize, captureDetails, request, response;\n\n return _regeneratorRuntime.wrap(function _callee13$(_context14) {\n while (1) {\n switch (_context14.prev = _context14.next) {\n case 0:\n now = Date.now();\n _hint$startTimestamp2 = hint.startTimestamp, startTimestamp = _hint$startTimestamp2 === void 0 ? now : _hint$startTimestamp2, _hint$endTimestamp2 = hint.endTimestamp, endTimestamp = _hint$endTimestamp2 === void 0 ? now : _hint$endTimestamp2;\n _breadcrumb$data2 = breadcrumb.data, url = _breadcrumb$data2.url, method = _breadcrumb$data2.method, _breadcrumb$data2$sta = _breadcrumb$data2.status_code, statusCode = _breadcrumb$data2$sta === void 0 ? 0 : _breadcrumb$data2$sta, requestBodySize = _breadcrumb$data2.request_body_size, responseBodySize = _breadcrumb$data2.response_body_size;\n captureDetails = urlMatches(url, options.networkDetailAllowUrls) && !urlMatches(url, options.networkDetailDenyUrls);\n request = captureDetails ? _getRequestInfo(options, hint.input, requestBodySize) : buildSkippedNetworkRequestOrResponse(requestBodySize);\n _context14.next = 7;\n return _getResponseInfo(captureDetails, options, hint.response, responseBodySize);\n\n case 7:\n response = _context14.sent;\n return _context14.abrupt(\"return\", {\n startTimestamp: startTimestamp,\n endTimestamp: endTimestamp,\n url: url,\n method: method,\n statusCode: statusCode,\n request: request,\n response: response\n });\n\n case 9:\n case \"end\":\n return _context14.stop();\n }\n }\n }, _callee13);\n }));\n return _prepareFetchData2.apply(this, arguments);\n}\n\nfunction _getRequestInfo(_ref34, input, requestBodySize) {\n var networkCaptureBodies = _ref34.networkCaptureBodies,\n networkRequestHeaders = _ref34.networkRequestHeaders;\n var headers = input ? getRequestHeaders(input, networkRequestHeaders) : {};\n\n if (!networkCaptureBodies) {\n return buildNetworkRequestOrResponse(headers, requestBodySize, undefined);\n } // We only want to transmit string or string-like bodies\n\n\n var requestBody = _getFetchRequestArgBody(input);\n\n var _getBodyString = getBodyString(requestBody),\n _getBodyString2 = _slicedToArray(_getBodyString, 2),\n bodyStr = _getBodyString2[0],\n warning = _getBodyString2[1];\n\n var data = buildNetworkRequestOrResponse(headers, requestBodySize, bodyStr);\n\n if (warning) {\n return mergeWarning(data, warning);\n }\n\n return data;\n}\n/** Exported only for tests. */\n\n\nfunction _getResponseInfo(_x11, _x12, _x13, _x14) {\n return _getResponseInfo2.apply(this, arguments);\n}\n\nfunction _getResponseInfo2() {\n _getResponseInfo2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee14(captureDetails, _ref35, response, responseBodySize) {\n var networkCaptureBodies, textEncoder, networkResponseHeaders, headers, _ref52, _ref53, bodyText, warning, result;\n\n return _regeneratorRuntime.wrap(function _callee14$(_context15) {\n while (1) {\n switch (_context15.prev = _context15.next) {\n case 0:\n networkCaptureBodies = _ref35.networkCaptureBodies, textEncoder = _ref35.textEncoder, networkResponseHeaders = _ref35.networkResponseHeaders;\n\n if (!(!captureDetails && responseBodySize !== undefined)) {\n _context15.next = 3;\n break;\n }\n\n return _context15.abrupt(\"return\", buildSkippedNetworkRequestOrResponse(responseBodySize));\n\n case 3:\n headers = response ? getAllHeaders(response.headers, networkResponseHeaders) : {};\n\n if (!(!response || !networkCaptureBodies && responseBodySize !== undefined)) {\n _context15.next = 6;\n break;\n }\n\n return _context15.abrupt(\"return\", buildNetworkRequestOrResponse(headers, responseBodySize, undefined));\n\n case 6:\n _context15.next = 8;\n return _parseFetchResponseBody(response);\n\n case 8:\n _ref52 = _context15.sent;\n _ref53 = _slicedToArray(_ref52, 2);\n bodyText = _ref53[0];\n warning = _ref53[1];\n result = getResponseData(bodyText, {\n networkCaptureBodies: networkCaptureBodies,\n textEncoder: textEncoder,\n responseBodySize: responseBodySize,\n captureDetails: captureDetails,\n headers: headers\n });\n\n if (!warning) {\n _context15.next = 15;\n break;\n }\n\n return _context15.abrupt(\"return\", mergeWarning(result, warning));\n\n case 15:\n return _context15.abrupt(\"return\", result);\n\n case 16:\n case \"end\":\n return _context15.stop();\n }\n }\n }, _callee14);\n }));\n return _getResponseInfo2.apply(this, arguments);\n}\n\nfunction getResponseData(bodyText, _ref36) {\n var networkCaptureBodies = _ref36.networkCaptureBodies,\n textEncoder = _ref36.textEncoder,\n responseBodySize = _ref36.responseBodySize,\n captureDetails = _ref36.captureDetails,\n headers = _ref36.headers;\n\n try {\n var size = bodyText && bodyText.length && responseBodySize === undefined ? getBodySize(bodyText, textEncoder) : responseBodySize;\n\n if (!captureDetails) {\n return buildSkippedNetworkRequestOrResponse(size);\n }\n\n if (networkCaptureBodies) {\n return buildNetworkRequestOrResponse(headers, size, bodyText);\n }\n\n return buildNetworkRequestOrResponse(headers, size, undefined);\n } catch (error) {\n DEBUG_BUILD && logger.warn('[Replay] Failed to serialize response body', error); // fallback\n\n return buildNetworkRequestOrResponse(headers, responseBodySize, undefined);\n }\n}\n\nfunction _parseFetchResponseBody(_x15) {\n return _parseFetchResponseBody2.apply(this, arguments);\n}\n\nfunction _parseFetchResponseBody2() {\n _parseFetchResponseBody2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee15(response) {\n var res, text;\n return _regeneratorRuntime.wrap(function _callee15$(_context16) {\n while (1) {\n switch (_context16.prev = _context16.next) {\n case 0:\n res = _tryCloneResponse(response);\n\n if (res) {\n _context16.next = 3;\n break;\n }\n\n return _context16.abrupt(\"return\", [undefined, 'BODY_PARSE_ERROR']);\n\n case 3:\n _context16.prev = 3;\n _context16.next = 6;\n return _tryGetResponseText(res);\n\n case 6:\n text = _context16.sent;\n return _context16.abrupt(\"return\", [text]);\n\n case 10:\n _context16.prev = 10;\n _context16.t0 = _context16[\"catch\"](3);\n DEBUG_BUILD && logger.warn('[Replay] Failed to get text body from response', _context16.t0);\n return _context16.abrupt(\"return\", [undefined, 'BODY_PARSE_ERROR']);\n\n case 14:\n case \"end\":\n return _context16.stop();\n }\n }\n }, _callee15, null, [[3, 10]]);\n }));\n return _parseFetchResponseBody2.apply(this, arguments);\n}\n\nfunction _getFetchRequestArgBody() {\n var fetchArgs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n // We only support getting the body from the fetch options\n if (fetchArgs.length !== 2 || _typeof(fetchArgs[1]) !== 'object') {\n return undefined;\n }\n\n return fetchArgs[1].body;\n}\n\nfunction getAllHeaders(headers, allowedHeaders) {\n var allHeaders = {};\n allowedHeaders.forEach(function (header) {\n if (headers.get(header)) {\n allHeaders[header] = headers.get(header);\n }\n });\n return allHeaders;\n}\n\nfunction getRequestHeaders(fetchArgs, allowedHeaders) {\n if (fetchArgs.length === 1 && typeof fetchArgs[0] !== 'string') {\n return getHeadersFromOptions(fetchArgs[0], allowedHeaders);\n }\n\n if (fetchArgs.length === 2) {\n return getHeadersFromOptions(fetchArgs[1], allowedHeaders);\n }\n\n return {};\n}\n\nfunction getHeadersFromOptions(input, allowedHeaders) {\n if (!input) {\n return {};\n }\n\n var headers = input.headers;\n\n if (!headers) {\n return {};\n }\n\n if (headers instanceof Headers) {\n return getAllHeaders(headers, allowedHeaders);\n } // We do not support this, as it is not really documented (anymore?)\n\n\n if (Array.isArray(headers)) {\n return {};\n }\n\n return getAllowedHeaders(headers, allowedHeaders);\n}\n\nfunction _tryCloneResponse(response) {\n try {\n // We have to clone this, as the body can only be read once\n return response.clone();\n } catch (error) {\n // this can throw if the response was already consumed before\n DEBUG_BUILD && logger.warn('[Replay] Failed to clone response body', error);\n }\n}\n/**\n * Get the response body of a fetch request, or timeout after 500ms.\n * Fetch can return a streaming body, that may not resolve (or not for a long time).\n * If that happens, we rather abort after a short time than keep waiting for this.\n */\n\n\nfunction _tryGetResponseText(response) {\n return new Promise(function (resolve, reject) {\n var timeout = setTimeout(function () {\n return reject(new Error('Timeout while trying to read response body'));\n }, 500);\n\n _getResponseText(response).then(function (txt) {\n return resolve(txt);\n }, function (reason) {\n return reject(reason);\n })[\"finally\"](function () {\n return clearTimeout(timeout);\n });\n });\n}\n\nfunction _getResponseText(_x16) {\n return _getResponseText2.apply(this, arguments);\n}\n/**\n * Capture an XHR breadcrumb to a replay.\n * This adds additional data (where approriate).\n */\n\n\nfunction _getResponseText2() {\n _getResponseText2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee16(response) {\n return _regeneratorRuntime.wrap(function _callee16$(_context17) {\n while (1) {\n switch (_context17.prev = _context17.next) {\n case 0:\n _context17.next = 2;\n return response.text();\n\n case 2:\n return _context17.abrupt(\"return\", _context17.sent);\n\n case 3:\n case \"end\":\n return _context17.stop();\n }\n }\n }, _callee16);\n }));\n return _getResponseText2.apply(this, arguments);\n}\n\nfunction captureXhrBreadcrumbToReplay(_x17, _x18, _x19) {\n return _captureXhrBreadcrumbToReplay.apply(this, arguments);\n}\n/**\n * Enrich a breadcrumb with additional data.\n * This has to be sync & mutate the given breadcrumb,\n * as the breadcrumb is afterwards consumed by other handlers.\n */\n\n\nfunction _captureXhrBreadcrumbToReplay() {\n _captureXhrBreadcrumbToReplay = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee17(breadcrumb, hint, options) {\n var data, result;\n return _regeneratorRuntime.wrap(function _callee17$(_context18) {\n while (1) {\n switch (_context18.prev = _context18.next) {\n case 0:\n try {\n data = _prepareXhrData(breadcrumb, hint, options); // Create a replay performance entry from this breadcrumb\n\n result = makeNetworkReplayBreadcrumb('resource.xhr', data);\n addNetworkBreadcrumb(options.replay, result);\n } catch (error) {\n DEBUG_BUILD && logger.error('[Replay] Failed to capture xhr breadcrumb', error);\n }\n\n case 1:\n case \"end\":\n return _context18.stop();\n }\n }\n }, _callee17);\n }));\n return _captureXhrBreadcrumbToReplay.apply(this, arguments);\n}\n\nfunction enrichXhrBreadcrumb(breadcrumb, hint, options) {\n var xhr = hint.xhr,\n input = hint.input;\n\n if (!xhr) {\n return;\n }\n\n var reqSize = getBodySize(input, options.textEncoder);\n var resSize = xhr.getResponseHeader('content-length') ? parseContentLengthHeader(xhr.getResponseHeader('content-length')) : _getBodySize(xhr.response, xhr.responseType, options.textEncoder);\n\n if (reqSize !== undefined) {\n breadcrumb.data.request_body_size = reqSize;\n }\n\n if (resSize !== undefined) {\n breadcrumb.data.response_body_size = resSize;\n }\n}\n\nfunction _prepareXhrData(breadcrumb, hint, options) {\n var now = Date.now();\n var _hint$startTimestamp = hint.startTimestamp,\n startTimestamp = _hint$startTimestamp === void 0 ? now : _hint$startTimestamp,\n _hint$endTimestamp = hint.endTimestamp,\n endTimestamp = _hint$endTimestamp === void 0 ? now : _hint$endTimestamp,\n input = hint.input,\n xhr = hint.xhr;\n var _breadcrumb$data = breadcrumb.data,\n url = _breadcrumb$data.url,\n method = _breadcrumb$data.method,\n _breadcrumb$data$stat = _breadcrumb$data.status_code,\n statusCode = _breadcrumb$data$stat === void 0 ? 0 : _breadcrumb$data$stat,\n requestBodySize = _breadcrumb$data.request_body_size,\n responseBodySize = _breadcrumb$data.response_body_size;\n\n if (!url) {\n return null;\n }\n\n if (!xhr || !urlMatches(url, options.networkDetailAllowUrls) || urlMatches(url, options.networkDetailDenyUrls)) {\n var _request = buildSkippedNetworkRequestOrResponse(requestBodySize);\n\n var _response = buildSkippedNetworkRequestOrResponse(responseBodySize);\n\n return {\n startTimestamp: startTimestamp,\n endTimestamp: endTimestamp,\n url: url,\n method: method,\n statusCode: statusCode,\n request: _request,\n response: _response\n };\n }\n\n var xhrInfo = xhr[SENTRY_XHR_DATA_KEY];\n var networkRequestHeaders = xhrInfo ? getAllowedHeaders(xhrInfo.request_headers, options.networkRequestHeaders) : {};\n var networkResponseHeaders = getAllowedHeaders(getResponseHeaders(xhr), options.networkResponseHeaders);\n\n var _ref37 = options.networkCaptureBodies ? getBodyString(input) : [undefined],\n _ref38 = _slicedToArray(_ref37, 2),\n requestBody = _ref38[0],\n requestWarning = _ref38[1];\n\n var _ref39 = options.networkCaptureBodies ? _getXhrResponseBody(xhr) : [undefined],\n _ref40 = _slicedToArray(_ref39, 2),\n responseBody = _ref40[0],\n responseWarning = _ref40[1];\n\n var request = buildNetworkRequestOrResponse(networkRequestHeaders, requestBodySize, requestBody);\n var response = buildNetworkRequestOrResponse(networkResponseHeaders, responseBodySize, responseBody);\n return {\n startTimestamp: startTimestamp,\n endTimestamp: endTimestamp,\n url: url,\n method: method,\n statusCode: statusCode,\n request: requestWarning ? mergeWarning(request, requestWarning) : request,\n response: responseWarning ? mergeWarning(response, responseWarning) : response\n };\n}\n\nfunction getResponseHeaders(xhr) {\n var headers = xhr.getAllResponseHeaders();\n\n if (!headers) {\n return {};\n }\n\n return headers.split('\\r\\n').reduce(function (acc, line) {\n var _line$split = line.split(': '),\n _line$split2 = _slicedToArray(_line$split, 2),\n key = _line$split2[0],\n value = _line$split2[1];\n\n acc[key.toLowerCase()] = value;\n return acc;\n }, {});\n}\n\nfunction _getXhrResponseBody(xhr) {\n // We collect errors that happen, but only log them if we can't get any response body\n var errors = [];\n\n try {\n return [xhr.responseText];\n } catch (e) {\n errors.push(e);\n } // Try to manually parse the response body, if responseText fails\n\n\n try {\n return _parseXhrResponse(xhr.response, xhr.responseType);\n } catch (e) {\n errors.push(e);\n }\n\n DEBUG_BUILD && logger.warn.apply(logger, ['[Replay] Failed to get xhr response body'].concat(errors));\n return [undefined];\n}\n/**\n * Get the string representation of the XHR response.\n * Based on MDN, these are the possible types of the response:\n * string\n * ArrayBuffer\n * Blob\n * Document\n * POJO\n *\n * Exported only for tests.\n */\n\n\nfunction _parseXhrResponse(body, responseType) {\n try {\n if (typeof body === 'string') {\n return [body];\n }\n\n if (body instanceof Document) {\n return [body.body.outerHTML];\n }\n\n if (responseType === 'json' && body && _typeof(body) === 'object') {\n return [JSON.stringify(body)];\n }\n\n if (!body) {\n return [undefined];\n }\n } catch (e2) {\n DEBUG_BUILD && logger.warn('[Replay] Failed to serialize body', body);\n return [undefined, 'BODY_PARSE_ERROR'];\n }\n\n DEBUG_BUILD && logger.info('[Replay] Skipping network body because of body type', body);\n return [undefined, 'UNPARSEABLE_BODY_TYPE'];\n}\n\nfunction _getBodySize(body, responseType, textEncoder) {\n try {\n var bodyStr = responseType === 'json' && body && _typeof(body) === 'object' ? JSON.stringify(body) : body;\n return getBodySize(bodyStr, textEncoder);\n } catch (e3) {\n return undefined;\n }\n}\n/**\n * This method does two things:\n * - It enriches the regular XHR/fetch breadcrumbs with request/response size data\n * - It captures the XHR/fetch breadcrumbs to the replay\n * (enriching it with further data that is _not_ added to the regular breadcrumbs)\n */\n\n\nfunction handleNetworkBreadcrumbs(replay) {\n var client = getClient();\n\n try {\n var textEncoder = new TextEncoder();\n\n var _replay$getOptions2 = replay.getOptions(),\n networkDetailAllowUrls = _replay$getOptions2.networkDetailAllowUrls,\n networkDetailDenyUrls = _replay$getOptions2.networkDetailDenyUrls,\n networkCaptureBodies = _replay$getOptions2.networkCaptureBodies,\n networkRequestHeaders = _replay$getOptions2.networkRequestHeaders,\n networkResponseHeaders = _replay$getOptions2.networkResponseHeaders;\n\n var options = {\n replay: replay,\n textEncoder: textEncoder,\n networkDetailAllowUrls: networkDetailAllowUrls,\n networkDetailDenyUrls: networkDetailDenyUrls,\n networkCaptureBodies: networkCaptureBodies,\n networkRequestHeaders: networkRequestHeaders,\n networkResponseHeaders: networkResponseHeaders\n };\n\n if (client && client.on) {\n client.on('beforeAddBreadcrumb', function (breadcrumb, hint) {\n return beforeAddNetworkBreadcrumb(options, breadcrumb, hint);\n });\n } else {\n // Fallback behavior\n addFetchInstrumentationHandler(handleFetchSpanListener(replay));\n addXhrInstrumentationHandler(handleXhrSpanListener(replay));\n }\n } catch (e2) {// Do nothing\n }\n}\n/** just exported for tests */\n\n\nfunction beforeAddNetworkBreadcrumb(options, breadcrumb, hint) {\n if (!breadcrumb.data) {\n return;\n }\n\n try {\n if (_isXhrBreadcrumb(breadcrumb) && _isXhrHint(hint)) {\n // This has to be sync, as we need to ensure the breadcrumb is enriched in the same tick\n // Because the hook runs synchronously, and the breadcrumb is afterwards passed on\n // So any async mutations to it will not be reflected in the final breadcrumb\n enrichXhrBreadcrumb(breadcrumb, hint, options); // This call should not reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n captureXhrBreadcrumbToReplay(breadcrumb, hint, options);\n }\n\n if (_isFetchBreadcrumb(breadcrumb) && _isFetchHint(hint)) {\n // This has to be sync, as we need to ensure the breadcrumb is enriched in the same tick\n // Because the hook runs synchronously, and the breadcrumb is afterwards passed on\n // So any async mutations to it will not be reflected in the final breadcrumb\n enrichFetchBreadcrumb(breadcrumb, hint, options); // This call should not reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n captureFetchBreadcrumbToReplay(breadcrumb, hint, options);\n }\n } catch (e) {\n DEBUG_BUILD && logger.warn('Error when enriching network breadcrumb');\n }\n}\n\nfunction _isXhrBreadcrumb(breadcrumb) {\n return breadcrumb.category === 'xhr';\n}\n\nfunction _isFetchBreadcrumb(breadcrumb) {\n return breadcrumb.category === 'fetch';\n}\n\nfunction _isXhrHint(hint) {\n return hint && hint.xhr;\n}\n\nfunction _isFetchHint(hint) {\n return hint && hint.response;\n}\n\nvar _LAST_BREADCRUMB = null;\n\nfunction isBreadcrumbWithCategory(breadcrumb) {\n return !!breadcrumb.category;\n}\n\nvar handleScopeListener = function handleScopeListener(replay) {\n return function (scope) {\n if (!replay.isEnabled()) {\n return;\n }\n\n var result = handleScope(scope);\n\n if (!result) {\n return;\n }\n\n addBreadcrumbEvent(replay, result);\n };\n};\n/**\n * An event handler to handle scope changes.\n */\n\n\nfunction handleScope(scope) {\n // TODO (v8): Remove this guard. This was put in place because we introduced\n // Scope.getLastBreadcrumb mid-v7 which caused incompatibilities with older SDKs.\n // For now, we'll just return null if the method doesn't exist but we should eventually\n // get rid of this guard.\n var newBreadcrumb = scope.getLastBreadcrumb && scope.getLastBreadcrumb(); // Listener can be called when breadcrumbs have not changed, so we store the\n // reference to the last crumb and only return a crumb if it has changed\n\n if (_LAST_BREADCRUMB === newBreadcrumb || !newBreadcrumb) {\n return null;\n }\n\n _LAST_BREADCRUMB = newBreadcrumb;\n\n if (!isBreadcrumbWithCategory(newBreadcrumb) || ['fetch', 'xhr', 'sentry.event', 'sentry.transaction'].includes(newBreadcrumb.category) || newBreadcrumb.category.startsWith('ui.')) {\n return null;\n }\n\n if (newBreadcrumb.category === 'console') {\n return normalizeConsoleBreadcrumb(newBreadcrumb);\n }\n\n return createBreadcrumb(newBreadcrumb);\n}\n/** exported for tests only */\n\n\nfunction normalizeConsoleBreadcrumb(breadcrumb) {\n var args = breadcrumb.data && breadcrumb.data.arguments;\n\n if (!Array.isArray(args) || args.length === 0) {\n return createBreadcrumb(breadcrumb);\n }\n\n var isTruncated = false; // Avoid giant args captures\n\n var normalizedArgs = args.map(function (arg) {\n if (!arg) {\n return arg;\n }\n\n if (typeof arg === 'string') {\n if (arg.length > CONSOLE_ARG_MAX_SIZE) {\n isTruncated = true;\n return \"\".concat(arg.slice(0, CONSOLE_ARG_MAX_SIZE), \"\\u2026\");\n }\n\n return arg;\n }\n\n if (_typeof(arg) === 'object') {\n try {\n var normalizedArg = normalize(arg, 7);\n var stringified = JSON.stringify(normalizedArg);\n\n if (stringified.length > CONSOLE_ARG_MAX_SIZE) {\n isTruncated = true; // We use the pretty printed JSON string here as a base\n\n return \"\".concat(JSON.stringify(normalizedArg, null, 2).slice(0, CONSOLE_ARG_MAX_SIZE), \"\\u2026\");\n }\n\n return normalizedArg;\n } catch (e) {// fall back to default\n }\n }\n\n return arg;\n });\n return createBreadcrumb(_objectSpread(_objectSpread({}, breadcrumb), {}, {\n data: _objectSpread(_objectSpread({}, breadcrumb.data), {}, {\n arguments: normalizedArgs\n }, isTruncated ? {\n _meta: {\n warnings: ['CONSOLE_ARG_TRUNCATED']\n }\n } : {})\n }));\n}\n/**\n * Add global listeners that cannot be removed.\n */\n\n\nfunction addGlobalListeners(replay) {\n // Listeners from core SDK //\n var scope = getCurrentScope();\n var client = getClient();\n scope.addScopeListener(handleScopeListener(replay));\n addClickKeypressInstrumentationHandler(handleDomListener(replay));\n addHistoryInstrumentationHandler(handleHistorySpanListener(replay));\n handleNetworkBreadcrumbs(replay); // Tag all (non replay) events that get sent to Sentry with the current\n // replay ID so that we can reference them later in the UI\n\n var eventProcessor = handleGlobalEventListener(replay, !hasHooks(client));\n\n if (client && client.addEventProcessor) {\n client.addEventProcessor(eventProcessor);\n } else {\n addEventProcessor(eventProcessor);\n } // If a custom client has no hooks yet, we continue to use the \"old\" implementation\n\n\n if (hasHooks(client)) {\n client.on('beforeSendEvent', handleBeforeSendEvent(replay));\n client.on('afterSendEvent', handleAfterSendEvent(replay));\n client.on('createDsc', function (dsc) {\n var replayId = replay.getSessionId(); // We do not want to set the DSC when in buffer mode, as that means the replay has not been sent (yet)\n\n if (replayId && replay.isEnabled() && replay.recordingMode === 'session') {\n // Ensure to check that the session is still active - it could have expired in the meanwhile\n var isSessionActive = replay.checkAndHandleExpiredSession();\n\n if (isSessionActive) {\n dsc.replay_id = replayId;\n }\n }\n });\n client.on('startTransaction', function (transaction) {\n replay.lastTransaction = transaction;\n }); // We may be missing the initial startTransaction due to timing issues,\n // so we capture it on finish again.\n\n client.on('finishTransaction', function (transaction) {\n replay.lastTransaction = transaction;\n }); // We want to flush replay\n\n client.on('beforeSendFeedback', function (feedbackEvent, options) {\n var replayId = replay.getSessionId();\n\n if (options && options.includeReplay && replay.isEnabled() && replayId) {\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n replay.flush();\n\n if (feedbackEvent.contexts && feedbackEvent.contexts.feedback) {\n feedbackEvent.contexts.feedback.replay_id = replayId;\n }\n }\n });\n }\n} // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n\nfunction hasHooks(client) {\n return !!(client && client.on);\n}\n/**\n * Create a \"span\" for the total amount of memory being used by JS objects\n * (including v8 internal objects).\n */\n\n\nfunction addMemoryEntry(_x20) {\n return _addMemoryEntry.apply(this, arguments);\n}\n\nfunction _addMemoryEntry() {\n _addMemoryEntry = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee18(replay) {\n return _regeneratorRuntime.wrap(function _callee18$(_context19) {\n while (1) {\n switch (_context19.prev = _context19.next) {\n case 0:\n _context19.prev = 0;\n return _context19.abrupt(\"return\", Promise.all(createPerformanceSpans(replay, [// @ts-expect-error memory doesn't exist on type Performance as the API is non-mini (we check that it exists above)\n createMemoryEntry(WINDOW.performance.memory)])));\n\n case 4:\n _context19.prev = 4;\n _context19.t0 = _context19[\"catch\"](0);\n return _context19.abrupt(\"return\", []);\n\n case 7:\n case \"end\":\n return _context19.stop();\n }\n }\n }, _callee18, null, [[0, 4]]);\n }));\n return _addMemoryEntry.apply(this, arguments);\n}\n\nfunction createMemoryEntry(memoryEntry) {\n var jsHeapSizeLimit = memoryEntry.jsHeapSizeLimit,\n totalJSHeapSize = memoryEntry.totalJSHeapSize,\n usedJSHeapSize = memoryEntry.usedJSHeapSize; // we don't want to use `getAbsoluteTime` because it adds the event time to the\n // time origin, so we get the current timestamp instead\n\n var time = Date.now() / 1000;\n return {\n type: 'memory',\n name: 'memory',\n start: time,\n end: time,\n data: {\n memory: {\n jsHeapSizeLimit: jsHeapSizeLimit,\n totalJSHeapSize: totalJSHeapSize,\n usedJSHeapSize: usedJSHeapSize\n }\n }\n };\n}\n/**\n * Heavily simplified debounce function based on lodash.debounce.\n *\n * This function takes a callback function (@param fun) and delays its invocation\n * by @param wait milliseconds. Optionally, a maxWait can be specified in @param options,\n * which ensures that the callback is invoked at least once after the specified max. wait time.\n *\n * @param func the function whose invocation is to be debounced\n * @param wait the minimum time until the function is invoked after it was called once\n * @param options the options object, which can contain the `maxWait` property\n *\n * @returns the debounced version of the function, which needs to be called at least once to start the\n * debouncing process. Subsequent calls will reset the debouncing timer and, in case @paramfunc\n * was already invoked in the meantime, return @param func's return value.\n * The debounced function has two additional properties:\n * - `flush`: Invokes the debounced function immediately and returns its return value\n * - `cancel`: Cancels the debouncing process and resets the debouncing timer\n */\n\n\nfunction debounce(func, wait, options) {\n var callbackReturnValue;\n var timerId;\n var maxTimerId;\n var maxWait = options && options.maxWait ? Math.max(options.maxWait, wait) : 0;\n\n function invokeFunc() {\n cancelTimers();\n callbackReturnValue = func();\n return callbackReturnValue;\n }\n\n function cancelTimers() {\n timerId !== undefined && clearTimeout(timerId);\n maxTimerId !== undefined && clearTimeout(maxTimerId);\n timerId = maxTimerId = undefined;\n }\n\n function flush() {\n if (timerId !== undefined || maxTimerId !== undefined) {\n return invokeFunc();\n }\n\n return callbackReturnValue;\n }\n\n function debounced() {\n if (timerId) {\n clearTimeout(timerId);\n }\n\n timerId = setTimeout(invokeFunc, wait);\n\n if (maxWait && maxTimerId === undefined) {\n maxTimerId = setTimeout(invokeFunc, maxWait);\n }\n\n return callbackReturnValue;\n }\n\n debounced.cancel = cancelTimers;\n debounced.flush = flush;\n return debounced;\n}\n/**\n * Handler for recording events.\n *\n * Adds to event buffer, and has varying flushing behaviors if the event was a checkout.\n */\n\n\nfunction getHandleRecordingEmit(replay) {\n var hadFirstEvent = false;\n return function (event, _isCheckout) {\n // If this is false, it means session is expired, create and a new session and wait for checkout\n if (!replay.checkAndHandleExpiredSession()) {\n DEBUG_BUILD && logger.warn('[Replay] Received replay event after session expired.');\n return;\n } // `_isCheckout` is only set when the checkout is due to `checkoutEveryNms`\n // We also want to treat the first event as a checkout, so we handle this specifically here\n\n\n var isCheckout = _isCheckout || !hadFirstEvent;\n hadFirstEvent = true;\n\n if (replay.clickDetector) {\n updateClickDetectorForRecordingEvent(replay.clickDetector, event);\n } // The handler returns `true` if we do not want to trigger debounced flush, `false` if we want to debounce flush.\n\n\n replay.addUpdate(function () {\n // The session is always started immediately on pageload/init, but for\n // error-only replays, it should reflect the most recent checkout\n // when an error occurs. Clear any state that happens before this current\n // checkout. This needs to happen before `addEvent()` which updates state\n // dependent on this reset.\n if (replay.recordingMode === 'buffer' && isCheckout) {\n replay.setInitialState();\n } // If the event is not added (e.g. due to being paused, disabled, or out of the max replay duration),\n // Skip all further steps\n\n\n if (!addEventSync(replay, event, isCheckout)) {\n // Return true to skip scheduling a debounced flush\n return true;\n } // Different behavior for full snapshots (type=2), ignore other event types\n // See https://github.com/rrweb-io/rrweb/blob/d8f9290ca496712aa1e7d472549480c4e7876594/packages/rrweb/src/types.ts#L16\n\n\n if (!isCheckout) {\n return false;\n } // Additionally, create a meta event that will capture certain SDK settings.\n // In order to handle buffer mode, this needs to either be done when we\n // receive checkout events or at flush time.\n //\n // `isCheckout` is always true, but want to be explicit that it should\n // only be added for checkouts\n\n\n addSettingsEvent(replay, isCheckout); // If there is a previousSessionId after a full snapshot occurs, then\n // the replay session was started due to session expiration. The new session\n // is started before triggering a new checkout and contains the id\n // of the previous session. Do not immediately flush in this case\n // to avoid capturing only the checkout and instead the replay will\n // be captured if they perform any follow-up actions.\n\n if (replay.session && replay.session.previousSessionId) {\n return true;\n } // When in buffer mode, make sure we adjust the session started date to the current earliest event of the buffer\n // this should usually be the timestamp of the checkout event, but to be safe...\n\n\n if (replay.recordingMode === 'buffer' && replay.session && replay.eventBuffer) {\n var earliestEvent = replay.eventBuffer.getEarliestTimestamp();\n\n if (earliestEvent) {\n logInfo(\"[Replay] Updating session start time to earliest event in buffer to \".concat(new Date(earliestEvent)), replay.getOptions()._experiments.traceInternals);\n replay.session.started = earliestEvent;\n\n if (replay.getOptions().stickySession) {\n saveSession(replay.session);\n }\n }\n }\n\n if (replay.recordingMode === 'session') {\n // If the full snapshot is due to an initial load, we will not have\n // a previous session ID. In this case, we want to buffer events\n // for a set amount of time before flushing. This can help avoid\n // capturing replays of users that immediately close the window.\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n void replay.flush();\n }\n\n return true;\n });\n };\n}\n/**\n * Exported for tests\n */\n\n\nfunction createOptionsEvent(replay) {\n var options = replay.getOptions();\n return {\n type: EventType.Custom,\n timestamp: Date.now(),\n data: {\n tag: 'options',\n payload: {\n shouldRecordCanvas: replay.isRecordingCanvas(),\n sessionSampleRate: options.sessionSampleRate,\n errorSampleRate: options.errorSampleRate,\n useCompressionOption: options.useCompression,\n blockAllMedia: options.blockAllMedia,\n maskAllText: options.maskAllText,\n maskAllInputs: options.maskAllInputs,\n useCompression: replay.eventBuffer ? replay.eventBuffer.type === 'worker' : false,\n networkDetailHasUrls: options.networkDetailAllowUrls.length > 0,\n networkCaptureBodies: options.networkCaptureBodies,\n networkRequestHasHeaders: options.networkRequestHeaders.length > 0,\n networkResponseHasHeaders: options.networkResponseHeaders.length > 0\n }\n }\n };\n}\n/**\n * Add a \"meta\" event that contains a simplified view on current configuration\n * options. This should only be included on the first segment of a recording.\n */\n\n\nfunction addSettingsEvent(replay, isCheckout) {\n // Only need to add this event when sending the first segment\n if (!isCheckout || !replay.session || replay.session.segmentId !== 0) {\n return;\n }\n\n addEventSync(replay, createOptionsEvent(replay), false);\n}\n/**\n * Create a replay envelope ready to be sent.\n * This includes both the replay event, as well as the recording data.\n */\n\n\nfunction createReplayEnvelope(replayEvent, recordingData, dsn, tunnel) {\n return createEnvelope(createEventEnvelopeHeaders(replayEvent, getSdkMetadataForEnvelopeHeader(replayEvent), tunnel, dsn), [[{\n type: 'replay_event'\n }, replayEvent], [{\n type: 'replay_recording',\n // If string then we need to encode to UTF8, otherwise will have\n // wrong size. TextEncoder has similar browser support to\n // MutationObserver, although it does not accept IE11.\n length: typeof recordingData === 'string' ? new TextEncoder().encode(recordingData).length : recordingData.length\n }, recordingData]]);\n}\n/**\n * Prepare the recording data ready to be sent.\n */\n\n\nfunction prepareRecordingData(_ref41) {\n var recordingData = _ref41.recordingData,\n headers = _ref41.headers;\n var payloadWithSequence; // XXX: newline is needed to separate sequence id from events\n\n var replayHeaders = \"\".concat(JSON.stringify(headers), \"\\n\");\n\n if (typeof recordingData === 'string') {\n payloadWithSequence = \"\".concat(replayHeaders).concat(recordingData);\n } else {\n var enc = new TextEncoder(); // XXX: newline is needed to separate sequence id from events\n\n var sequence = enc.encode(replayHeaders); // Merge the two Uint8Arrays\n\n payloadWithSequence = new Uint8Array(sequence.length + recordingData.length);\n payloadWithSequence.set(sequence);\n payloadWithSequence.set(recordingData, sequence.length);\n }\n\n return payloadWithSequence;\n}\n/**\n * Prepare a replay event & enrich it with the SDK metadata.\n */\n\n\nfunction prepareReplayEvent(_x21) {\n return _prepareReplayEvent.apply(this, arguments);\n}\n/**\n * Send replay attachment using `fetch()`\n */\n\n\nfunction _prepareReplayEvent() {\n _prepareReplayEvent = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee19(_ref42) {\n var client, scope, event_id, event, integrations, eventHint, preparedEvent, metadata, _ref54, name, version;\n\n return _regeneratorRuntime.wrap(function _callee19$(_context20) {\n while (1) {\n switch (_context20.prev = _context20.next) {\n case 0:\n client = _ref42.client, scope = _ref42.scope, event_id = _ref42.replayId, event = _ref42.event;\n integrations = _typeof(client._integrations) === 'object' && client._integrations !== null && !Array.isArray(client._integrations) ? Object.keys(client._integrations) : undefined;\n eventHint = {\n event_id: event_id,\n integrations: integrations\n };\n\n if (client.emit) {\n client.emit('preprocessEvent', event, eventHint);\n }\n\n _context20.next = 6;\n return prepareEvent(client.getOptions(), event, eventHint, scope, client, getIsolationScope());\n\n case 6:\n preparedEvent = _context20.sent;\n\n if (preparedEvent) {\n _context20.next = 9;\n break;\n }\n\n return _context20.abrupt(\"return\", null);\n\n case 9:\n // This normally happens in browser client \"_prepareEvent\"\n // but since we do not use this private method from the client, but rather the plain import\n // we need to do this manually.\n preparedEvent.platform = preparedEvent.platform || 'javascript'; // extract the SDK name because `client._prepareEvent` doesn't add it to the event\n\n metadata = client.getSdkMetadata && client.getSdkMetadata();\n _ref54 = metadata && metadata.sdk || {}, name = _ref54.name, version = _ref54.version;\n preparedEvent.sdk = _objectSpread(_objectSpread({}, preparedEvent.sdk), {}, {\n name: name || 'sentry.javascript.unknown',\n version: version || '0.0.0'\n });\n return _context20.abrupt(\"return\", preparedEvent);\n\n case 14:\n case \"end\":\n return _context20.stop();\n }\n }\n }, _callee19);\n }));\n return _prepareReplayEvent.apply(this, arguments);\n}\n\nfunction sendReplayRequest(_x22) {\n return _sendReplayRequest.apply(this, arguments);\n}\n/**\n * This error indicates that the transport returned an invalid status code.\n */\n\n\nfunction _sendReplayRequest() {\n _sendReplayRequest = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee20(_ref43) {\n var recordingData, replayId, segment_id, eventContext, timestamp, session, preparedRecordingData, urls, errorIds, traceIds, initialTimestamp, client, scope, transport, dsn, baseEvent, replayEvent, envelope, response, error, rateLimits;\n return _regeneratorRuntime.wrap(function _callee20$(_context21) {\n while (1) {\n switch (_context21.prev = _context21.next) {\n case 0:\n recordingData = _ref43.recordingData, replayId = _ref43.replayId, segment_id = _ref43.segmentId, eventContext = _ref43.eventContext, timestamp = _ref43.timestamp, session = _ref43.session;\n preparedRecordingData = prepareRecordingData({\n recordingData: recordingData,\n headers: {\n segment_id: segment_id\n }\n });\n urls = eventContext.urls, errorIds = eventContext.errorIds, traceIds = eventContext.traceIds, initialTimestamp = eventContext.initialTimestamp;\n client = getClient();\n scope = getCurrentScope();\n transport = client && client.getTransport();\n dsn = client && client.getDsn();\n\n if (!(!client || !transport || !dsn || !session.sampled)) {\n _context21.next = 9;\n break;\n }\n\n return _context21.abrupt(\"return\");\n\n case 9:\n baseEvent = {\n type: REPLAY_EVENT_NAME,\n replay_start_timestamp: initialTimestamp / 1000,\n timestamp: timestamp / 1000,\n error_ids: errorIds,\n trace_ids: traceIds,\n urls: urls,\n replay_id: replayId,\n segment_id: segment_id,\n replay_type: session.sampled\n };\n _context21.next = 12;\n return prepareReplayEvent({\n scope: scope,\n client: client,\n replayId: replayId,\n event: baseEvent\n });\n\n case 12:\n replayEvent = _context21.sent;\n\n if (replayEvent) {\n _context21.next = 17;\n break;\n }\n\n // Taken from baseclient's `_processEvent` method, where this is handled for errors/transactions\n client.recordDroppedEvent('event_processor', 'replay', baseEvent);\n logInfo('An event processor returned `null`, will not send event.');\n return _context21.abrupt(\"return\");\n\n case 17:\n /*\n For reference, the fully built event looks something like this:\n {\n \"type\": \"replay_event\",\n \"timestamp\": 1670837008.634,\n \"error_ids\": [\n \"errorId\"\n ],\n \"trace_ids\": [\n \"traceId\"\n ],\n \"urls\": [\n \"https://example.com\"\n ],\n \"replay_id\": \"eventId\",\n \"segment_id\": 3,\n \"replay_type\": \"error\",\n \"platform\": \"javascript\",\n \"event_id\": \"eventId\",\n \"environment\": \"production\",\n \"sdk\": {\n \"integrations\": [\n \"BrowserTracing\",\n \"Replay\"\n ],\n \"name\": \"sentry.javascript.browser\",\n \"version\": \"7.25.0\"\n },\n \"sdkProcessingMetadata\": {},\n \"contexts\": {\n },\n }\n */\n // Prevent this data (which, if it exists, was used in earlier steps in the processing pipeline) from being sent to\n // sentry. (Note: Our use of this property comes and goes with whatever we might be debugging, whatever hacks we may\n // have temporarily added, etc. Even if we don't happen to be using it at some point in the future, let's not get rid\n // of this `delete`, lest we miss putting it back in the next time the property is in use.)\n delete replayEvent.sdkProcessingMetadata;\n envelope = createReplayEnvelope(replayEvent, preparedRecordingData, dsn, client.getOptions().tunnel);\n _context21.prev = 19;\n _context21.next = 22;\n return transport.send(envelope);\n\n case 22:\n response = _context21.sent;\n _context21.next = 30;\n break;\n\n case 25:\n _context21.prev = 25;\n _context21.t0 = _context21[\"catch\"](19);\n error = new Error(UNABLE_TO_SEND_REPLAY);\n\n try {\n // In case browsers don't allow this property to be writable\n // @ts-expect-error This needs lib es2022 and newer\n error.cause = _context21.t0;\n } catch (e) {// nothing to do\n }\n\n throw error;\n\n case 30:\n if (response) {\n _context21.next = 32;\n break;\n }\n\n return _context21.abrupt(\"return\", response);\n\n case 32:\n if (!(typeof response.statusCode === 'number' && (response.statusCode < 200 || response.statusCode >= 300))) {\n _context21.next = 34;\n break;\n }\n\n throw new TransportStatusCodeError(response.statusCode);\n\n case 34:\n rateLimits = updateRateLimits({}, response);\n\n if (!isRateLimited(rateLimits, 'replay')) {\n _context21.next = 37;\n break;\n }\n\n throw new RateLimitError(rateLimits);\n\n case 37:\n return _context21.abrupt(\"return\", response);\n\n case 38:\n case \"end\":\n return _context21.stop();\n }\n }\n }, _callee20, null, [[19, 25]]);\n }));\n return _sendReplayRequest.apply(this, arguments);\n}\n\nvar TransportStatusCodeError =\n/*#__PURE__*/\nfunction (_Error2) {\n _inherits(TransportStatusCodeError, _Error2);\n\n function TransportStatusCodeError(statusCode) {\n _classCallCheck(this, TransportStatusCodeError);\n\n return _possibleConstructorReturn(this, _getPrototypeOf(TransportStatusCodeError).call(this, \"Transport returned status code \".concat(statusCode)));\n }\n\n return TransportStatusCodeError;\n}(_wrapNativeSuper(Error));\n/**\n * This error indicates that we hit a rate limit API error.\n */\n\n\nvar RateLimitError =\n/*#__PURE__*/\nfunction (_Error3) {\n _inherits(RateLimitError, _Error3);\n\n function RateLimitError(rateLimits) {\n var _this21;\n\n _classCallCheck(this, RateLimitError);\n\n _this21 = _possibleConstructorReturn(this, _getPrototypeOf(RateLimitError).call(this, 'Rate limit hit'));\n _this21.rateLimits = rateLimits;\n return _this21;\n }\n\n return RateLimitError;\n}(_wrapNativeSuper(Error));\n/**\n * Finalize and send the current replay event to Sentry\n */\n\n\nfunction sendReplay(_x23) {\n return _sendReplay.apply(this, arguments);\n}\n\nfunction _sendReplay() {\n _sendReplay = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee22(replayData) {\n var retryConfig,\n recordingData,\n options,\n error,\n _args22 = arguments;\n return _regeneratorRuntime.wrap(function _callee22$(_context23) {\n while (1) {\n switch (_context23.prev = _context23.next) {\n case 0:\n retryConfig = _args22.length > 1 && _args22[1] !== undefined ? _args22[1] : {\n count: 0,\n interval: RETRY_BASE_INTERVAL\n };\n recordingData = replayData.recordingData, options = replayData.options; // short circuit if there's no events to upload (this shouldn't happen as _runFlush makes this check)\n\n if (recordingData.length) {\n _context23.next = 4;\n break;\n }\n\n return _context23.abrupt(\"return\");\n\n case 4:\n _context23.prev = 4;\n _context23.next = 7;\n return sendReplayRequest(replayData);\n\n case 7:\n return _context23.abrupt(\"return\", true);\n\n case 10:\n _context23.prev = 10;\n _context23.t0 = _context23[\"catch\"](4);\n\n if (!(_context23.t0 instanceof TransportStatusCodeError || _context23.t0 instanceof RateLimitError)) {\n _context23.next = 14;\n break;\n }\n\n throw _context23.t0;\n\n case 14:\n // Capture error for every failed replay\n setContext('Replays', {\n _retryCount: retryConfig.count\n });\n\n if (DEBUG_BUILD && options._experiments && options._experiments.captureExceptions) {\n captureException(_context23.t0);\n } // If an error happened here, it's likely that uploading the attachment\n // failed, we'll can retry with the same events payload\n\n\n if (!(retryConfig.count >= RETRY_MAX_COUNT)) {\n _context23.next = 20;\n break;\n }\n\n error = new Error(\"\".concat(UNABLE_TO_SEND_REPLAY, \" - max retries exceeded\"));\n\n try {\n // In case browsers don't allow this property to be writable\n // @ts-expect-error This needs lib es2022 and newer\n error.cause = _context23.t0;\n } catch (e) {// nothing to do\n }\n\n throw error;\n\n case 20:\n // will retry in intervals of 5, 10, 30\n retryConfig.interval *= ++retryConfig.count;\n return _context23.abrupt(\"return\", new Promise(function (resolve, reject) {\n setTimeout(\n /*#__PURE__*/\n _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee21() {\n return _regeneratorRuntime.wrap(function _callee21$(_context22) {\n while (1) {\n switch (_context22.prev = _context22.next) {\n case 0:\n _context22.prev = 0;\n _context22.next = 3;\n return sendReplay(replayData, retryConfig);\n\n case 3:\n resolve(true);\n _context22.next = 9;\n break;\n\n case 6:\n _context22.prev = 6;\n _context22.t0 = _context22[\"catch\"](0);\n reject(_context22.t0);\n\n case 9:\n case \"end\":\n return _context22.stop();\n }\n }\n }, _callee21, null, [[0, 6]]);\n })), retryConfig.interval);\n }));\n\n case 22:\n case \"end\":\n return _context23.stop();\n }\n }\n }, _callee22, null, [[4, 10]]);\n }));\n return _sendReplay.apply(this, arguments);\n}\n\nvar THROTTLED = '__THROTTLED';\nvar SKIPPED = '__SKIPPED';\n/**\n * Create a throttled function off a given function.\n * When calling the throttled function, it will call the original function only\n * if it hasn't been called more than `maxCount` times in the last `durationSeconds`.\n *\n * Returns `THROTTLED` if throttled for the first time, after that `SKIPPED`,\n * or else the return value of the original function.\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\nfunction throttle(fn, maxCount, durationSeconds) {\n var counter = new Map();\n\n var _cleanup = function _cleanup(now) {\n var threshold = now - durationSeconds;\n counter.forEach(function (_value, key) {\n if (key < threshold) {\n counter[\"delete\"](key);\n }\n });\n };\n\n var _getTotalCount = function _getTotalCount() {\n return _toConsumableArray(counter.values()).reduce(function (a, b) {\n return a + b;\n }, 0);\n };\n\n var isThrottled = false;\n return function () {\n // Date in second-precision, which we use as basis for the throttling\n var now = Math.floor(Date.now() / 1000); // First, make sure to delete any old entries\n\n _cleanup(now); // If already over limit, do nothing\n\n\n if (_getTotalCount() >= maxCount) {\n var wasThrottled = isThrottled;\n isThrottled = true;\n return wasThrottled ? SKIPPED : THROTTLED;\n }\n\n isThrottled = false;\n var count = counter.get(now) || 0;\n counter.set(now, count + 1);\n return fn.apply(void 0, arguments);\n };\n}\n/* eslint-disable max-lines */\n// TODO: We might want to split this file up\n\n/**\n * The main replay container class, which holds all the state and methods for recording and sending replays.\n */\n\n\nvar ReplayContainer =\n/*#__PURE__*/\nfunction () {\n /**\n * Recording can happen in one of three modes:\n * - session: Record the whole session, sending it continuously\n * - buffer: Always keep the last 60s of recording, requires:\n * - having replaysOnErrorSampleRate > 0 to capture replay when an error occurs\n * - or calling `flush()` to send the replay\n */\n\n /**\n * The current or last active transcation.\n * This is only available when performance is enabled.\n */\n\n /**\n * These are here so we can overwrite them in tests etc.\n * @hidden\n */\n\n /**\n * Options to pass to `rrweb.record()`\n */\n\n /**\n * Timestamp of the last user activity. This lives across sessions.\n */\n\n /**\n * Is the integration currently active?\n */\n\n /**\n * Paused is a state where:\n * - DOM Recording is not listening at all\n * - Nothing will be added to event buffer (e.g. core SDK events)\n */\n\n /**\n * Have we attached listeners to the core SDK?\n * Note we have to track this as there is no way to remove instrumentation handlers.\n */\n\n /**\n * Function to stop recording\n */\n\n /**\n * Internal use for canvas recording options\n */\n function ReplayContainer(_ref44) {\n var _this22 = this;\n\n var options = _ref44.options,\n recordingOptions = _ref44.recordingOptions;\n\n _classCallCheck(this, ReplayContainer);\n\n ReplayContainer.prototype.__init.call(this);\n\n ReplayContainer.prototype.__init2.call(this);\n\n ReplayContainer.prototype.__init3.call(this);\n\n ReplayContainer.prototype.__init4.call(this);\n\n ReplayContainer.prototype.__init5.call(this);\n\n ReplayContainer.prototype.__init6.call(this);\n\n this.eventBuffer = null;\n this.performanceEntries = [];\n this.replayPerformanceEntries = [];\n this.recordingMode = 'session';\n this.timeouts = {\n sessionIdlePause: SESSION_IDLE_PAUSE_DURATION,\n sessionIdleExpire: SESSION_IDLE_EXPIRE_DURATION\n };\n this._lastActivity = Date.now();\n this._isEnabled = false;\n this._isPaused = false;\n this._hasInitializedCoreListeners = false;\n this._context = {\n errorIds: new Set(),\n traceIds: new Set(),\n urls: [],\n initialTimestamp: Date.now(),\n initialUrl: ''\n };\n this._recordingOptions = recordingOptions;\n this._options = options;\n this._debouncedFlush = debounce(function () {\n return _this22._flush();\n }, this._options.flushMinDelay, {\n maxWait: this._options.flushMaxDelay\n });\n this._throttledAddEvent = throttle(function (event, isCheckout) {\n return addEvent(_this22, event, isCheckout);\n }, // Max 300 events...\n 300, // ... per 5s\n 5);\n\n var _this$getOptions = this.getOptions(),\n slowClickTimeout = _this$getOptions.slowClickTimeout,\n slowClickIgnoreSelectors = _this$getOptions.slowClickIgnoreSelectors;\n\n var slowClickConfig = slowClickTimeout ? {\n threshold: Math.min(SLOW_CLICK_THRESHOLD, slowClickTimeout),\n timeout: slowClickTimeout,\n scrollTimeout: SLOW_CLICK_SCROLL_TIMEOUT,\n ignoreSelector: slowClickIgnoreSelectors ? slowClickIgnoreSelectors.join(',') : ''\n } : undefined;\n\n if (slowClickConfig) {\n this.clickDetector = new ClickDetector(this, slowClickConfig);\n }\n }\n /** Get the event context. */\n\n\n _createClass(ReplayContainer, [{\n key: \"getContext\",\n value: function getContext() {\n return this._context;\n }\n /** If recording is currently enabled. */\n\n }, {\n key: \"isEnabled\",\n value: function isEnabled() {\n return this._isEnabled;\n }\n /** If recording is currently paused. */\n\n }, {\n key: \"isPaused\",\n value: function isPaused() {\n return this._isPaused;\n }\n /**\n * Determine if canvas recording is enabled\n */\n\n }, {\n key: \"isRecordingCanvas\",\n value: function isRecordingCanvas() {\n return Boolean(this._canvas);\n }\n /** Get the replay integration options. */\n\n }, {\n key: \"getOptions\",\n value: function getOptions() {\n return this._options;\n }\n /**\n * Initializes the plugin based on sampling configuration. Should not be\n * called outside of constructor.\n */\n\n }, {\n key: \"initializeSampling\",\n value: function initializeSampling(previousSessionId) {\n var _this$_options = this._options,\n errorSampleRate = _this$_options.errorSampleRate,\n sessionSampleRate = _this$_options.sessionSampleRate; // If neither sample rate is > 0, then do nothing - user will need to call one of\n // `start()` or `startBuffering` themselves.\n\n if (errorSampleRate <= 0 && sessionSampleRate <= 0) {\n return;\n } // Otherwise if there is _any_ sample rate set, try to load an existing\n // session, or create a new one.\n\n\n this._initializeSessionForSampling(previousSessionId);\n\n if (!this.session) {\n // This should not happen, something wrong has occurred\n this._handleException(new Error('Unable to initialize and create session'));\n\n return;\n }\n\n if (this.session.sampled === false) {\n // This should only occur if `errorSampleRate` is 0 and was unsampled for\n // session-based replay. In this case there is nothing to do.\n return;\n } // If segmentId > 0, it means we've previously already captured this session\n // In this case, we still want to continue in `session` recording mode\n\n\n this.recordingMode = this.session.sampled === 'buffer' && this.session.segmentId === 0 ? 'buffer' : 'session';\n logInfoNextTick(\"[Replay] Starting replay in \".concat(this.recordingMode, \" mode\"), this._options._experiments.traceInternals);\n\n this._initializeRecording();\n }\n /**\n * Start a replay regardless of sampling rate. Calling this will always\n * create a new session. Will throw an error if replay is already in progress.\n *\n * Creates or loads a session, attaches listeners to varying events (DOM,\n * _performanceObserver, Recording, Sentry SDK, etc)\n */\n\n }, {\n key: \"start\",\n value: function start() {\n if (this._isEnabled && this.recordingMode === 'session') {\n throw new Error('Replay recording is already in progress');\n }\n\n if (this._isEnabled && this.recordingMode === 'buffer') {\n throw new Error('Replay buffering is in progress, call `flush()` to save the replay');\n }\n\n logInfoNextTick('[Replay] Starting replay in session mode', this._options._experiments.traceInternals);\n var session = loadOrCreateSession({\n maxReplayDuration: this._options.maxReplayDuration,\n sessionIdleExpire: this.timeouts.sessionIdleExpire,\n traceInternals: this._options._experiments.traceInternals\n }, {\n stickySession: this._options.stickySession,\n // This is intentional: create a new session-based replay when calling `start()`\n sessionSampleRate: 1,\n allowBuffering: false\n });\n this.session = session;\n\n this._initializeRecording();\n }\n /**\n * Start replay buffering. Buffers until `flush()` is called or, if\n * `replaysOnErrorSampleRate` > 0, an error occurs.\n */\n\n }, {\n key: \"startBuffering\",\n value: function startBuffering() {\n if (this._isEnabled) {\n throw new Error('Replay recording is already in progress');\n }\n\n logInfoNextTick('[Replay] Starting replay in buffer mode', this._options._experiments.traceInternals);\n var session = loadOrCreateSession({\n sessionIdleExpire: this.timeouts.sessionIdleExpire,\n maxReplayDuration: this._options.maxReplayDuration,\n traceInternals: this._options._experiments.traceInternals\n }, {\n stickySession: this._options.stickySession,\n sessionSampleRate: 0,\n allowBuffering: true\n });\n this.session = session;\n this.recordingMode = 'buffer';\n\n this._initializeRecording();\n }\n /**\n * Start recording.\n *\n * Note that this will cause a new DOM checkout\n */\n\n }, {\n key: \"startRecording\",\n value: function startRecording() {\n try {\n var canvasOptions = this._canvas;\n this._stopRecording = record(_objectSpread(_objectSpread(_objectSpread({}, this._recordingOptions), this.recordingMode === 'buffer' && {\n checkoutEveryNms: BUFFER_CHECKOUT_TIME\n }), {}, {\n emit: getHandleRecordingEmit(this),\n onMutation: this._onMutationHandler\n }, canvasOptions ? {\n recordCanvas: canvasOptions.recordCanvas,\n getCanvasManager: canvasOptions.getCanvasManager,\n sampling: canvasOptions.sampling,\n dataURLOptions: canvasOptions.dataURLOptions\n } : {}));\n } catch (err) {\n this._handleException(err);\n }\n }\n /**\n * Stops the recording, if it was running.\n *\n * Returns true if it was previously stopped, or is now stopped,\n * otherwise false.\n */\n\n }, {\n key: \"stopRecording\",\n value: function stopRecording() {\n try {\n if (this._stopRecording) {\n this._stopRecording();\n\n this._stopRecording = undefined;\n }\n\n return true;\n } catch (err) {\n this._handleException(err);\n\n return false;\n }\n }\n /**\n * Currently, this needs to be manually called (e.g. for tests). Sentry SDK\n * does not support a teardown\n */\n\n }, {\n key: \"stop\",\n value: function () {\n var _stop = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee6() {\n var _ref45,\n _ref45$forceFlush,\n forceFlush,\n reason,\n _args6 = arguments;\n\n return _regeneratorRuntime.wrap(function _callee6$(_context7) {\n while (1) {\n switch (_context7.prev = _context7.next) {\n case 0:\n _ref45 = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {}, _ref45$forceFlush = _ref45.forceFlush, forceFlush = _ref45$forceFlush === void 0 ? false : _ref45$forceFlush, reason = _ref45.reason;\n\n if (this._isEnabled) {\n _context7.next = 3;\n break;\n }\n\n return _context7.abrupt(\"return\");\n\n case 3:\n // We can't move `_isEnabled` after awaiting a flush, otherwise we can\n // enter into an infinite loop when `stop()` is called while flushing.\n this._isEnabled = false;\n _context7.prev = 4;\n logInfo(\"[Replay] Stopping Replay\".concat(reason ? \" triggered by \".concat(reason) : ''), this._options._experiments.traceInternals);\n\n this._removeListeners();\n\n this.stopRecording();\n\n this._debouncedFlush.cancel(); // See comment above re: `_isEnabled`, we \"force\" a flush, ignoring the\n // `_isEnabled` state of the plugin since it was disabled above.\n\n\n if (!forceFlush) {\n _context7.next = 12;\n break;\n }\n\n _context7.next = 12;\n return this._flush({\n force: true\n });\n\n case 12:\n // After flush, destroy event buffer\n this.eventBuffer && this.eventBuffer.destroy();\n this.eventBuffer = null; // Clear session from session storage, note this means if a new session\n // is started after, it will not have `previousSessionId`\n\n clearSession(this);\n _context7.next = 20;\n break;\n\n case 17:\n _context7.prev = 17;\n _context7.t0 = _context7[\"catch\"](4);\n\n this._handleException(_context7.t0);\n\n case 20:\n case \"end\":\n return _context7.stop();\n }\n }\n }, _callee6, this, [[4, 17]]);\n }));\n\n function stop() {\n return _stop.apply(this, arguments);\n }\n\n return stop;\n }()\n /**\n * Pause some replay functionality. See comments for `_isPaused`.\n * This differs from stop as this only stops DOM recording, it is\n * not as thorough of a shutdown as `stop()`.\n */\n\n }, {\n key: \"pause\",\n value: function pause() {\n if (this._isPaused) {\n return;\n }\n\n this._isPaused = true;\n this.stopRecording();\n logInfo('[Replay] Pausing replay', this._options._experiments.traceInternals);\n }\n /**\n * Resumes recording, see notes for `pause().\n *\n * Note that calling `startRecording()` here will cause a\n * new DOM checkout.`\n */\n\n }, {\n key: \"resume\",\n value: function resume() {\n if (!this._isPaused || !this._checkSession()) {\n return;\n }\n\n this._isPaused = false;\n this.startRecording();\n logInfo('[Replay] Resuming replay', this._options._experiments.traceInternals);\n }\n /**\n * If not in \"session\" recording mode, flush event buffer which will create a new replay.\n * Unless `continueRecording` is false, the replay will continue to record and\n * behave as a \"session\"-based replay.\n *\n * Otherwise, queue up a flush.\n */\n\n }, {\n key: \"sendBufferedReplayOrFlush\",\n value: function () {\n var _sendBufferedReplayOrFlush = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee7() {\n var _ref46,\n _ref46$continueRecord,\n continueRecording,\n activityTime,\n hasStoppedRecording,\n _args7 = arguments;\n\n return _regeneratorRuntime.wrap(function _callee7$(_context8) {\n while (1) {\n switch (_context8.prev = _context8.next) {\n case 0:\n _ref46 = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {}, _ref46$continueRecord = _ref46.continueRecording, continueRecording = _ref46$continueRecord === void 0 ? true : _ref46$continueRecord;\n\n if (!(this.recordingMode === 'session')) {\n _context8.next = 3;\n break;\n }\n\n return _context8.abrupt(\"return\", this.flushImmediate());\n\n case 3:\n activityTime = Date.now();\n logInfo('[Replay] Converting buffer to session', this._options._experiments.traceInternals); // Allow flush to complete before resuming as a session recording, otherwise\n // the checkout from `startRecording` may be included in the payload.\n // Prefer to keep the error replay as a separate (and smaller) segment\n // than the session replay.\n\n _context8.next = 7;\n return this.flushImmediate();\n\n case 7:\n hasStoppedRecording = this.stopRecording();\n\n if (!(!continueRecording || !hasStoppedRecording)) {\n _context8.next = 10;\n break;\n }\n\n return _context8.abrupt(\"return\");\n\n case 10:\n if (!(this.recordingMode === 'session')) {\n _context8.next = 12;\n break;\n }\n\n return _context8.abrupt(\"return\");\n\n case 12:\n // Re-start recording in session-mode\n this.recordingMode = 'session'; // Once this session ends, we do not want to refresh it\n\n if (this.session) {\n this._updateUserActivity(activityTime);\n\n this._updateSessionActivity(activityTime);\n\n this._maybeSaveSession();\n }\n\n this.startRecording();\n\n case 15:\n case \"end\":\n return _context8.stop();\n }\n }\n }, _callee7, this);\n }));\n\n function sendBufferedReplayOrFlush() {\n return _sendBufferedReplayOrFlush.apply(this, arguments);\n }\n\n return sendBufferedReplayOrFlush;\n }()\n /**\n * We want to batch uploads of replay events. Save events only if\n * `<flushMinDelay>` milliseconds have elapsed since the last event\n * *OR* if `<flushMaxDelay>` milliseconds have elapsed.\n *\n * Accepts a callback to perform side-effects and returns true to stop batch\n * processing and hand back control to caller.\n */\n\n }, {\n key: \"addUpdate\",\n value: function addUpdate(cb) {\n // We need to always run `cb` (e.g. in the case of `this.recordingMode == 'buffer'`)\n var cbResult = cb(); // If this option is turned on then we will only want to call `flush`\n // explicitly\n\n if (this.recordingMode === 'buffer') {\n return;\n } // If callback is true, we do not want to continue with flushing -- the\n // caller will need to handle it.\n\n\n if (cbResult === true) {\n return;\n } // addUpdate is called quite frequently - use _debouncedFlush so that it\n // respects the flush delays and does not flush immediately\n\n\n this._debouncedFlush();\n }\n /**\n * Updates the user activity timestamp and resumes recording. This should be\n * called in an event handler for a user action that we consider as the user\n * being \"active\" (e.g. a mouse click).\n */\n\n }, {\n key: \"triggerUserActivity\",\n value: function triggerUserActivity() {\n this._updateUserActivity(); // This case means that recording was once stopped due to inactivity.\n // Ensure that recording is resumed.\n\n\n if (!this._stopRecording) {\n // Create a new session, otherwise when the user action is flushed, it\n // will get rejected due to an expired session.\n if (!this._checkSession()) {\n return;\n } // Note: This will cause a new DOM checkout\n\n\n this.resume();\n return;\n } // Otherwise... recording was never suspended, continue as normalish\n\n\n this.checkAndHandleExpiredSession();\n\n this._updateSessionActivity();\n }\n /**\n * Updates the user activity timestamp *without* resuming\n * recording. Some user events (e.g. keydown) can be create\n * low-value replays that only contain the keypress as a\n * breadcrumb. Instead this would require other events to\n * create a new replay after a session has expired.\n */\n\n }, {\n key: \"updateUserActivity\",\n value: function updateUserActivity() {\n this._updateUserActivity();\n\n this._updateSessionActivity();\n }\n /**\n * Only flush if `this.recordingMode === 'session'`\n */\n\n }, {\n key: \"conditionalFlush\",\n value: function conditionalFlush() {\n if (this.recordingMode === 'buffer') {\n return Promise.resolve();\n }\n\n return this.flushImmediate();\n }\n /**\n * Flush using debounce flush\n */\n\n }, {\n key: \"flush\",\n value: function flush() {\n return this._debouncedFlush();\n }\n /**\n * Always flush via `_debouncedFlush` so that we do not have flushes triggered\n * from calling both `flush` and `_debouncedFlush`. Otherwise, there could be\n * cases of mulitple flushes happening closely together.\n */\n\n }, {\n key: \"flushImmediate\",\n value: function flushImmediate() {\n this._debouncedFlush(); // `.flush` is provided by the debounced function, analogously to lodash.debounce\n\n\n return this._debouncedFlush.flush();\n }\n /**\n * Cancels queued up flushes.\n */\n\n }, {\n key: \"cancelFlush\",\n value: function cancelFlush() {\n this._debouncedFlush.cancel();\n }\n /** Get the current sesion (=replay) ID */\n\n }, {\n key: \"getSessionId\",\n value: function getSessionId() {\n return this.session && this.session.id;\n }\n /**\n * Checks if recording should be stopped due to user inactivity. Otherwise\n * check if session is expired and create a new session if so. Triggers a new\n * full snapshot on new session.\n *\n * Returns true if session is not expired, false otherwise.\n * @hidden\n */\n\n }, {\n key: \"checkAndHandleExpiredSession\",\n value: function checkAndHandleExpiredSession() {\n // Prevent starting a new session if the last user activity is older than\n // SESSION_IDLE_PAUSE_DURATION. Otherwise non-user activity can trigger a new\n // session+recording. This creates noisy replays that do not have much\n // content in them.\n if (this._lastActivity && isExpired(this._lastActivity, this.timeouts.sessionIdlePause) && this.session && this.session.sampled === 'session') {\n // Pause recording only for session-based replays. Otherwise, resuming\n // will create a new replay and will conflict with users who only choose\n // to record error-based replays only. (e.g. the resumed replay will not\n // contain a reference to an error)\n this.pause();\n return;\n } // --- There is recent user activity --- //\n // This will create a new session if expired, based on expiry length\n\n\n if (!this._checkSession()) {\n // Check session handles the refreshing itself\n return false;\n }\n\n return true;\n }\n /**\n * Capture some initial state that can change throughout the lifespan of the\n * replay. This is required because otherwise they would be captured at the\n * first flush.\n */\n\n }, {\n key: \"setInitialState\",\n value: function setInitialState() {\n var urlPath = \"\".concat(WINDOW.location.pathname).concat(WINDOW.location.hash).concat(WINDOW.location.search);\n var url = \"\".concat(WINDOW.location.origin).concat(urlPath);\n this.performanceEntries = [];\n this.replayPerformanceEntries = []; // Reset _context as well\n\n this._clearContext();\n\n this._context.initialUrl = url;\n this._context.initialTimestamp = Date.now();\n\n this._context.urls.push(url);\n }\n /**\n * Add a breadcrumb event, that may be throttled.\n * If it was throttled, we add a custom breadcrumb to indicate that.\n */\n\n }, {\n key: \"throttledAddEvent\",\n value: function throttledAddEvent(event, isCheckout) {\n var _this23 = this;\n\n var res = this._throttledAddEvent(event, isCheckout); // If this is THROTTLED, it means we have throttled the event for the first time\n // In this case, we want to add a breadcrumb indicating that something was skipped\n\n\n if (res === THROTTLED) {\n var breadcrumb = createBreadcrumb({\n category: 'replay.throttled'\n });\n this.addUpdate(function () {\n // Return `false` if the event _was_ added, as that means we schedule a flush\n return !addEventSync(_this23, {\n type: ReplayEventTypeCustom,\n timestamp: breadcrumb.timestamp || 0,\n data: {\n tag: 'breadcrumb',\n payload: breadcrumb,\n metric: true\n }\n });\n });\n }\n\n return res;\n }\n /**\n * This will get the parametrized route name of the current page.\n * This is only available if performance is enabled, and if an instrumented router is used.\n */\n\n }, {\n key: \"getCurrentRoute\",\n value: function getCurrentRoute() {\n // eslint-disable-next-line deprecation/deprecation\n var lastTransaction = this.lastTransaction || getCurrentScope().getTransaction();\n var attributes = lastTransaction && spanToJSON(lastTransaction).data || {};\n var source = attributes[SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];\n\n if (!lastTransaction || !source || !['route', 'custom'].includes(source)) {\n return undefined;\n }\n\n return spanToJSON(lastTransaction).description;\n }\n /**\n * Initialize and start all listeners to varying events (DOM,\n * Performance Observer, Recording, Sentry SDK, etc)\n */\n\n }, {\n key: \"_initializeRecording\",\n value: function _initializeRecording() {\n this.setInitialState(); // this method is generally called on page load or manually - in both cases\n // we should treat it as an activity\n\n this._updateSessionActivity();\n\n this.eventBuffer = createEventBuffer({\n useCompression: this._options.useCompression,\n workerUrl: this._options.workerUrl\n });\n\n this._removeListeners();\n\n this._addListeners(); // Need to set as enabled before we start recording, as `record()` can trigger a flush with a new checkout\n\n\n this._isEnabled = true;\n this._isPaused = false;\n this.startRecording();\n }\n /** A wrapper to conditionally capture exceptions. */\n\n }, {\n key: \"_handleException\",\n value: function _handleException(error) {\n DEBUG_BUILD && logger.error('[Replay]', error);\n\n if (DEBUG_BUILD && this._options._experiments && this._options._experiments.captureExceptions) {\n captureException(error);\n }\n }\n /**\n * Loads (or refreshes) the current session.\n */\n\n }, {\n key: \"_initializeSessionForSampling\",\n value: function _initializeSessionForSampling(previousSessionId) {\n // Whenever there is _any_ error sample rate, we always allow buffering\n // Because we decide on sampling when an error occurs, we need to buffer at all times if sampling for errors\n var allowBuffering = this._options.errorSampleRate > 0;\n var session = loadOrCreateSession({\n sessionIdleExpire: this.timeouts.sessionIdleExpire,\n maxReplayDuration: this._options.maxReplayDuration,\n traceInternals: this._options._experiments.traceInternals,\n previousSessionId: previousSessionId\n }, {\n stickySession: this._options.stickySession,\n sessionSampleRate: this._options.sessionSampleRate,\n allowBuffering: allowBuffering\n });\n this.session = session;\n }\n /**\n * Checks and potentially refreshes the current session.\n * Returns false if session is not recorded.\n */\n\n }, {\n key: \"_checkSession\",\n value: function _checkSession() {\n // If there is no session yet, we do not want to refresh anything\n // This should generally not happen, but to be safe....\n if (!this.session) {\n return false;\n }\n\n var currentSession = this.session;\n\n if (shouldRefreshSession(currentSession, {\n sessionIdleExpire: this.timeouts.sessionIdleExpire,\n maxReplayDuration: this._options.maxReplayDuration\n })) {\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this._refreshSession(currentSession);\n\n return false;\n }\n\n return true;\n }\n /**\n * Refresh a session with a new one.\n * This stops the current session (without forcing a flush, as that would never work since we are expired),\n * and then does a new sampling based on the refreshed session.\n */\n\n }, {\n key: \"_refreshSession\",\n value: function () {\n var _refreshSession2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee8(session) {\n return _regeneratorRuntime.wrap(function _callee8$(_context9) {\n while (1) {\n switch (_context9.prev = _context9.next) {\n case 0:\n if (this._isEnabled) {\n _context9.next = 2;\n break;\n }\n\n return _context9.abrupt(\"return\");\n\n case 2:\n _context9.next = 4;\n return this.stop({\n reason: 'refresh session'\n });\n\n case 4:\n this.initializeSampling(session.id);\n\n case 5:\n case \"end\":\n return _context9.stop();\n }\n }\n }, _callee8, this);\n }));\n\n function _refreshSession(_x24) {\n return _refreshSession2.apply(this, arguments);\n }\n\n return _refreshSession;\n }()\n /**\n * Adds listeners to record events for the replay\n */\n\n }, {\n key: \"_addListeners\",\n value: function _addListeners() {\n try {\n WINDOW.document.addEventListener('visibilitychange', this._handleVisibilityChange);\n WINDOW.addEventListener('blur', this._handleWindowBlur);\n WINDOW.addEventListener('focus', this._handleWindowFocus);\n WINDOW.addEventListener('keydown', this._handleKeyboardEvent);\n\n if (this.clickDetector) {\n this.clickDetector.addListeners();\n } // There is no way to remove these listeners, so ensure they are only added once\n\n\n if (!this._hasInitializedCoreListeners) {\n addGlobalListeners(this);\n this._hasInitializedCoreListeners = true;\n }\n } catch (err) {\n this._handleException(err);\n }\n\n this._performanceCleanupCallback = setupPerformanceObserver(this);\n }\n /**\n * Cleans up listeners that were created in `_addListeners`\n */\n\n }, {\n key: \"_removeListeners\",\n value: function _removeListeners() {\n try {\n WINDOW.document.removeEventListener('visibilitychange', this._handleVisibilityChange);\n WINDOW.removeEventListener('blur', this._handleWindowBlur);\n WINDOW.removeEventListener('focus', this._handleWindowFocus);\n WINDOW.removeEventListener('keydown', this._handleKeyboardEvent);\n\n if (this.clickDetector) {\n this.clickDetector.removeListeners();\n }\n\n if (this._performanceCleanupCallback) {\n this._performanceCleanupCallback();\n }\n } catch (err) {\n this._handleException(err);\n }\n }\n /**\n * Handle when visibility of the page content changes. Opening a new tab will\n * cause the state to change to hidden because of content of current page will\n * be hidden. Likewise, moving a different window to cover the contents of the\n * page will also trigger a change to a hidden state.\n */\n\n }, {\n key: \"__init\",\n value: function __init() {\n var _this24 = this;\n\n this._handleVisibilityChange = function () {\n if (WINDOW.document.visibilityState === 'visible') {\n _this24._doChangeToForegroundTasks();\n } else {\n _this24._doChangeToBackgroundTasks();\n }\n };\n }\n /**\n * Handle when page is blurred\n */\n\n }, {\n key: \"__init2\",\n value: function __init2() {\n var _this25 = this;\n\n this._handleWindowBlur = function () {\n var breadcrumb = createBreadcrumb({\n category: 'ui.blur'\n }); // Do not count blur as a user action -- it's part of the process of them\n // leaving the page\n\n _this25._doChangeToBackgroundTasks(breadcrumb);\n };\n }\n /**\n * Handle when page is focused\n */\n\n }, {\n key: \"__init3\",\n value: function __init3() {\n var _this26 = this;\n\n this._handleWindowFocus = function () {\n var breadcrumb = createBreadcrumb({\n category: 'ui.focus'\n }); // Do not count focus as a user action -- instead wait until they focus and\n // interactive with page\n\n _this26._doChangeToForegroundTasks(breadcrumb);\n };\n }\n /** Ensure page remains active when a key is pressed. */\n\n }, {\n key: \"__init4\",\n value: function __init4() {\n var _this27 = this;\n\n this._handleKeyboardEvent = function (event) {\n handleKeyboardEvent(_this27, event);\n };\n }\n /**\n * Tasks to run when we consider a page to be hidden (via blurring and/or visibility)\n */\n\n }, {\n key: \"_doChangeToBackgroundTasks\",\n value: function _doChangeToBackgroundTasks(breadcrumb) {\n if (!this.session) {\n return;\n }\n\n var expired = isSessionExpired(this.session, {\n maxReplayDuration: this._options.maxReplayDuration,\n sessionIdleExpire: this.timeouts.sessionIdleExpire\n });\n\n if (expired) {\n return;\n }\n\n if (breadcrumb) {\n this._createCustomBreadcrumb(breadcrumb);\n } // Send replay when the page/tab becomes hidden. There is no reason to send\n // replay if it becomes visible, since no actions we care about were done\n // while it was hidden\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n\n void this.conditionalFlush();\n }\n /**\n * Tasks to run when we consider a page to be visible (via focus and/or visibility)\n */\n\n }, {\n key: \"_doChangeToForegroundTasks\",\n value: function _doChangeToForegroundTasks(breadcrumb) {\n if (!this.session) {\n return;\n }\n\n var isSessionActive = this.checkAndHandleExpiredSession();\n\n if (!isSessionActive) {\n // If the user has come back to the page within SESSION_IDLE_PAUSE_DURATION\n // ms, we will re-use the existing session, otherwise create a new\n // session\n logInfo('[Replay] Document has become active, but session has expired');\n return;\n }\n\n if (breadcrumb) {\n this._createCustomBreadcrumb(breadcrumb);\n }\n }\n /**\n * Update user activity (across session lifespans)\n */\n\n }, {\n key: \"_updateUserActivity\",\n value: function _updateUserActivity() {\n var _lastActivity = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now();\n\n this._lastActivity = _lastActivity;\n }\n /**\n * Updates the session's last activity timestamp\n */\n\n }, {\n key: \"_updateSessionActivity\",\n value: function _updateSessionActivity() {\n var _lastActivity = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Date.now();\n\n if (this.session) {\n this.session.lastActivity = _lastActivity;\n\n this._maybeSaveSession();\n }\n }\n /**\n * Helper to create (and buffer) a replay breadcrumb from a core SDK breadcrumb\n */\n\n }, {\n key: \"_createCustomBreadcrumb\",\n value: function _createCustomBreadcrumb(breadcrumb) {\n var _this28 = this;\n\n this.addUpdate(function () {\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n _this28.throttledAddEvent({\n type: EventType.Custom,\n timestamp: breadcrumb.timestamp || 0,\n data: {\n tag: 'breadcrumb',\n payload: breadcrumb\n }\n });\n });\n }\n /**\n * Observed performance events are added to `this.performanceEntries`. These\n * are included in the replay event before it is finished and sent to Sentry.\n */\n\n }, {\n key: \"_addPerformanceEntries\",\n value: function _addPerformanceEntries() {\n var performanceEntries = createPerformanceEntries(this.performanceEntries).concat(this.replayPerformanceEntries);\n this.performanceEntries = [];\n this.replayPerformanceEntries = [];\n return Promise.all(createPerformanceSpans(this, performanceEntries));\n }\n /**\n * Clear _context\n */\n\n }, {\n key: \"_clearContext\",\n value: function _clearContext() {\n // XXX: `initialTimestamp` and `initialUrl` do not get cleared\n this._context.errorIds.clear();\n\n this._context.traceIds.clear();\n\n this._context.urls = [];\n }\n /** Update the initial timestamp based on the buffer content. */\n\n }, {\n key: \"_updateInitialTimestampFromEventBuffer\",\n value: function _updateInitialTimestampFromEventBuffer() {\n var session = this.session,\n eventBuffer = this.eventBuffer;\n\n if (!session || !eventBuffer) {\n return;\n } // we only ever update this on the initial segment\n\n\n if (session.segmentId) {\n return;\n }\n\n var earliestEvent = eventBuffer.getEarliestTimestamp();\n\n if (earliestEvent && earliestEvent < this._context.initialTimestamp) {\n this._context.initialTimestamp = earliestEvent;\n }\n }\n /**\n * Return and clear _context\n */\n\n }, {\n key: \"_popEventContext\",\n value: function _popEventContext() {\n var _context = {\n initialTimestamp: this._context.initialTimestamp,\n initialUrl: this._context.initialUrl,\n errorIds: Array.from(this._context.errorIds),\n traceIds: Array.from(this._context.traceIds),\n urls: this._context.urls\n };\n\n this._clearContext();\n\n return _context;\n }\n /**\n * Flushes replay event buffer to Sentry.\n *\n * Performance events are only added right before flushing - this is\n * due to the buffered performance observer events.\n *\n * Should never be called directly, only by `flush`\n */\n\n }, {\n key: \"_runFlush\",\n value: function () {\n var _runFlush2 = _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee9() {\n var replayId, timestamp, eventContext, segmentId, recordingData, client;\n return _regeneratorRuntime.wrap(function _callee9$(_context10) {\n while (1) {\n switch (_context10.prev = _context10.next) {\n case 0:\n replayId = this.getSessionId();\n\n if (!(!this.session || !this.eventBuffer || !replayId)) {\n _context10.next = 4;\n break;\n }\n\n DEBUG_BUILD && logger.error('[Replay] No session or eventBuffer found to flush.');\n return _context10.abrupt(\"return\");\n\n case 4:\n _context10.next = 6;\n return this._addPerformanceEntries();\n\n case 6:\n if (!(!this.eventBuffer || !this.eventBuffer.hasEvents)) {\n _context10.next = 8;\n break;\n }\n\n return _context10.abrupt(\"return\");\n\n case 8:\n _context10.next = 10;\n return addMemoryEntry(this);\n\n case 10:\n if (this.eventBuffer) {\n _context10.next = 12;\n break;\n }\n\n return _context10.abrupt(\"return\");\n\n case 12:\n if (!(replayId !== this.getSessionId())) {\n _context10.next = 14;\n break;\n }\n\n return _context10.abrupt(\"return\");\n\n case 14:\n _context10.prev = 14;\n\n // This uses the data from the eventBuffer, so we need to call this before `finish()\n this._updateInitialTimestampFromEventBuffer();\n\n timestamp = Date.now(); // Check total duration again, to avoid sending outdated stuff\n // We leave 30s wiggle room to accomodate late flushing etc.\n // This _could_ happen when the browser is suspended during flushing, in which case we just want to stop\n\n if (!(timestamp - this._context.initialTimestamp > this._options.maxReplayDuration + 30000)) {\n _context10.next = 19;\n break;\n }\n\n throw new Error('Session is too long, not sending replay');\n\n case 19:\n eventContext = this._popEventContext(); // Always increment segmentId regardless of outcome of sending replay\n\n segmentId = this.session.segmentId++;\n\n this._maybeSaveSession(); // Note this empties the event buffer regardless of outcome of sending replay\n\n\n _context10.next = 24;\n return this.eventBuffer.finish();\n\n case 24:\n recordingData = _context10.sent;\n _context10.next = 27;\n return sendReplay({\n replayId: replayId,\n recordingData: recordingData,\n segmentId: segmentId,\n eventContext: eventContext,\n session: this.session,\n options: this.getOptions(),\n timestamp: timestamp\n });\n\n case 27:\n _context10.next = 35;\n break;\n\n case 29:\n _context10.prev = 29;\n _context10.t0 = _context10[\"catch\"](14);\n\n this._handleException(_context10.t0); // This means we retried 3 times and all of them failed,\n // or we ran into a problem we don't want to retry, like rate limiting.\n // In this case, we want to completely stop the replay - otherwise, we may get inconsistent segments\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n\n\n this.stop({\n reason: 'sendReplay'\n });\n client = getClient();\n\n if (client) {\n client.recordDroppedEvent('send_error', 'replay');\n }\n\n case 35:\n case \"end\":\n return _context10.stop();\n }\n }\n }, _callee9, this, [[14, 29]]);\n }));\n\n function _runFlush() {\n return _runFlush2.apply(this, arguments);\n }\n\n return _runFlush;\n }()\n /**\n * Flush recording data to Sentry. Creates a lock so that only a single flush\n * can be active at a time. Do not call this directly.\n */\n\n }, {\n key: \"__init5\",\n value: function __init5() {\n var _this29 = this;\n\n this._flush =\n /*#__PURE__*/\n _asyncToGenerator(\n /*#__PURE__*/\n _regeneratorRuntime.mark(function _callee10() {\n var _ref48,\n _ref48$force,\n force,\n start,\n now,\n duration,\n tooShort,\n tooLong,\n eventBuffer,\n _args10 = arguments;\n\n return _regeneratorRuntime.wrap(function _callee10$(_context11) {\n while (1) {\n switch (_context11.prev = _context11.next) {\n case 0:\n _ref48 = _args10.length > 0 && _args10[0] !== undefined ? _args10[0] : {}, _ref48$force = _ref48.force, force = _ref48$force === void 0 ? false : _ref48$force;\n\n if (!(!_this29._isEnabled && !force)) {\n _context11.next = 3;\n break;\n }\n\n return _context11.abrupt(\"return\");\n\n case 3:\n if (_this29.checkAndHandleExpiredSession()) {\n _context11.next = 6;\n break;\n }\n\n DEBUG_BUILD && logger.error('[Replay] Attempting to finish replay event after session expired.');\n return _context11.abrupt(\"return\");\n\n case 6:\n if (_this29.session) {\n _context11.next = 8;\n break;\n }\n\n return _context11.abrupt(\"return\");\n\n case 8:\n start = _this29.session.started;\n now = Date.now();\n duration = now - start; // A flush is about to happen, cancel any queued flushes\n\n _this29._debouncedFlush.cancel(); // If session is too short, or too long (allow some wiggle room over maxReplayDuration), do not send it\n // This _should_ not happen, but it may happen if flush is triggered due to a page activity change or similar\n\n\n tooShort = duration < _this29._options.minReplayDuration;\n tooLong = duration > _this29._options.maxReplayDuration + 5000;\n\n if (!(tooShort || tooLong)) {\n _context11.next = 18;\n break;\n }\n\n logInfo(\"[Replay] Session duration (\".concat(Math.floor(duration / 1000), \"s) is too \").concat(tooShort ? 'short' : 'long', \", not sending replay.\"), _this29._options._experiments.traceInternals);\n\n if (tooShort) {\n _this29._debouncedFlush();\n }\n\n return _context11.abrupt(\"return\");\n\n case 18:\n eventBuffer = _this29.eventBuffer;\n\n if (eventBuffer && _this29.session.segmentId === 0 && !eventBuffer.hasCheckout) {\n logInfo('[Replay] Flushing initial segment without checkout.', _this29._options._experiments.traceInternals); // TODO FN: Evaluate if we want to stop here, or remove this again?\n } // this._flushLock acts as a lock so that future calls to `_flush()`\n // will be blocked until this promise resolves\n\n\n if (_this29._flushLock) {\n _context11.next = 26;\n break;\n }\n\n _this29._flushLock = _this29._runFlush();\n _context11.next = 24;\n return _this29._flushLock;\n\n case 24:\n _this29._flushLock = undefined;\n return _context11.abrupt(\"return\");\n\n case 26:\n _context11.prev = 26;\n _context11.next = 29;\n return _this29._flushLock;\n\n case 29:\n _context11.next = 34;\n break;\n\n case 31:\n _context11.prev = 31;\n _context11.t0 = _context11[\"catch\"](26);\n DEBUG_BUILD && logger.error(_context11.t0);\n\n case 34:\n _context11.prev = 34;\n\n _this29._debouncedFlush();\n\n return _context11.finish(34);\n\n case 37:\n case \"end\":\n return _context11.stop();\n }\n }\n }, _callee10, null, [[26, 31, 34, 37]]);\n }));\n }\n /** Save the session, if it is sticky */\n\n }, {\n key: \"_maybeSaveSession\",\n value: function _maybeSaveSession() {\n if (this.session && this._options.stickySession) {\n saveSession(this.session);\n }\n }\n /** Handler for rrweb.record.onMutation */\n\n }, {\n key: \"__init6\",\n value: function __init6() {\n var _this30 = this;\n\n this._onMutationHandler = function (mutations) {\n var count = mutations.length;\n var mutationLimit = _this30._options.mutationLimit;\n var mutationBreadcrumbLimit = _this30._options.mutationBreadcrumbLimit;\n var overMutationLimit = mutationLimit && count > mutationLimit; // Create a breadcrumb if a lot of mutations happen at the same time\n // We can show this in the UI as an information with potential performance improvements\n\n if (count > mutationBreadcrumbLimit || overMutationLimit) {\n var breadcrumb = createBreadcrumb({\n category: 'replay.mutations',\n data: {\n count: count,\n limit: overMutationLimit\n }\n });\n\n _this30._createCustomBreadcrumb(breadcrumb);\n } // Stop replay if over the mutation limit\n\n\n if (overMutationLimit) {\n // This should never reject\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n _this30.stop({\n reason: 'mutationLimit',\n forceFlush: _this30.recordingMode === 'session'\n });\n\n return false;\n } // `true` means we use the regular mutation handling by rrweb\n\n\n return true;\n };\n }\n }]);\n\n return ReplayContainer;\n}();\n\nfunction getOption(selectors, defaultSelectors, deprecatedClassOption, deprecatedSelectorOption) {\n var deprecatedSelectors = typeof deprecatedSelectorOption === 'string' ? deprecatedSelectorOption.split(',') : [];\n var allSelectors = [].concat(_toConsumableArray(selectors), _toConsumableArray(deprecatedSelectors), _toConsumableArray(defaultSelectors)); // @deprecated\n\n if (typeof deprecatedClassOption !== 'undefined') {\n // NOTE: No support for RegExp\n if (typeof deprecatedClassOption === 'string') {\n allSelectors.push(\".\".concat(deprecatedClassOption));\n }\n\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.warn('[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.');\n });\n }\n\n return allSelectors.join(',');\n}\n/**\n * Returns privacy related configuration for use in rrweb\n */\n\n\nfunction getPrivacyOptions(_ref49) {\n var mask = _ref49.mask,\n unmask = _ref49.unmask,\n block = _ref49.block,\n unblock = _ref49.unblock,\n ignore = _ref49.ignore,\n blockClass = _ref49.blockClass,\n blockSelector = _ref49.blockSelector,\n maskTextClass = _ref49.maskTextClass,\n maskTextSelector = _ref49.maskTextSelector,\n ignoreClass = _ref49.ignoreClass;\n var defaultBlockedElements = ['base[href=\"/\"]'];\n var maskSelector = getOption(mask, ['.sentry-mask', '[data-sentry-mask]'], maskTextClass, maskTextSelector);\n var unmaskSelector = getOption(unmask, ['.sentry-unmask', '[data-sentry-unmask]']);\n var options = {\n // We are making the decision to make text and input selectors the same\n maskTextSelector: maskSelector,\n unmaskTextSelector: unmaskSelector,\n blockSelector: getOption(block, ['.sentry-block', '[data-sentry-block]'].concat(defaultBlockedElements), blockClass, blockSelector),\n unblockSelector: getOption(unblock, ['.sentry-unblock', '[data-sentry-unblock]']),\n ignoreSelector: getOption(ignore, ['.sentry-ignore', '[data-sentry-ignore]', 'input[type=\"file\"]'], ignoreClass)\n };\n\n if (blockClass instanceof RegExp) {\n options.blockClass = blockClass;\n }\n\n if (maskTextClass instanceof RegExp) {\n options.maskTextClass = maskTextClass;\n }\n\n return options;\n}\n/**\n * Masks an attribute if necessary, otherwise return attribute value as-is.\n */\n\n\nfunction maskAttribute(_ref50) {\n var el = _ref50.el,\n key = _ref50.key,\n maskAttributes = _ref50.maskAttributes,\n maskAllText = _ref50.maskAllText,\n privacyOptions = _ref50.privacyOptions,\n value = _ref50.value;\n\n // We only mask attributes if `maskAllText` is true\n if (!maskAllText) {\n return value;\n } // unmaskTextSelector takes precendence\n\n\n if (privacyOptions.unmaskTextSelector && el.matches(privacyOptions.unmaskTextSelector)) {\n return value;\n }\n\n if (maskAttributes.includes(key) || // Need to mask `value` attribute for `<input>` if it's a button-like\n // type\n key === 'value' && el.tagName === 'INPUT' && ['submit', 'button'].includes(el.getAttribute('type') || '')) {\n return value.replace(/[\\S]/g, '*');\n }\n\n return value;\n}\n\nvar MEDIA_SELECTORS = 'img,image,svg,video,object,picture,embed,map,audio,link[rel=\"icon\"],link[rel=\"apple-touch-icon\"]';\nvar DEFAULT_NETWORK_HEADERS = ['content-length', 'content-type', 'accept'];\nvar _initialized = false;\n\nvar replayIntegration = function replayIntegration(options) {\n // eslint-disable-next-line deprecation/deprecation\n return new Replay(options);\n};\n/**\n * The main replay integration class, to be passed to `init({ integrations: [] })`.\n * @deprecated Use `replayIntegration()` instead.\n */\n\n\nvar Replay =\n/*#__PURE__*/\nfunction () {\n _createClass(Replay, null, [{\n key: \"__initStatic\",\n\n /**\n * @inheritDoc\n */\n value: function __initStatic() {\n this.id = 'Replay';\n }\n /**\n * @inheritDoc\n */\n\n /**\n * Options to pass to `rrweb.record()`\n */\n\n /**\n * Initial options passed to the replay integration, merged with default values.\n * Note: `sessionSampleRate` and `errorSampleRate` are not required here, as they\n * can only be finally set when setupOnce() is called.\n *\n * @private\n */\n\n }]);\n\n function Replay() {\n var _ref51 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref51$flushMinDelay = _ref51.flushMinDelay,\n flushMinDelay = _ref51$flushMinDelay === void 0 ? DEFAULT_FLUSH_MIN_DELAY : _ref51$flushMinDelay,\n _ref51$flushMaxDelay = _ref51.flushMaxDelay,\n flushMaxDelay = _ref51$flushMaxDelay === void 0 ? DEFAULT_FLUSH_MAX_DELAY : _ref51$flushMaxDelay,\n _ref51$minReplayDurat = _ref51.minReplayDuration,\n minReplayDuration = _ref51$minReplayDurat === void 0 ? MIN_REPLAY_DURATION : _ref51$minReplayDurat,\n _ref51$maxReplayDurat = _ref51.maxReplayDuration,\n maxReplayDuration = _ref51$maxReplayDurat === void 0 ? MAX_REPLAY_DURATION : _ref51$maxReplayDurat,\n _ref51$stickySession = _ref51.stickySession,\n stickySession = _ref51$stickySession === void 0 ? true : _ref51$stickySession,\n _ref51$useCompression = _ref51.useCompression,\n useCompression = _ref51$useCompression === void 0 ? true : _ref51$useCompression,\n workerUrl = _ref51.workerUrl,\n _ref51$_experiments = _ref51._experiments,\n _experiments = _ref51$_experiments === void 0 ? {} : _ref51$_experiments,\n sessionSampleRate = _ref51.sessionSampleRate,\n errorSampleRate = _ref51.errorSampleRate,\n _ref51$maskAllText = _ref51.maskAllText,\n maskAllText = _ref51$maskAllText === void 0 ? true : _ref51$maskAllText,\n _ref51$maskAllInputs = _ref51.maskAllInputs,\n maskAllInputs = _ref51$maskAllInputs === void 0 ? true : _ref51$maskAllInputs,\n _ref51$blockAllMedia = _ref51.blockAllMedia,\n blockAllMedia = _ref51$blockAllMedia === void 0 ? true : _ref51$blockAllMedia,\n _ref51$mutationBreadc = _ref51.mutationBreadcrumbLimit,\n mutationBreadcrumbLimit = _ref51$mutationBreadc === void 0 ? 750 : _ref51$mutationBreadc,\n _ref51$mutationLimit = _ref51.mutationLimit,\n mutationLimit = _ref51$mutationLimit === void 0 ? 10000 : _ref51$mutationLimit,\n _ref51$slowClickTimeo = _ref51.slowClickTimeout,\n slowClickTimeout = _ref51$slowClickTimeo === void 0 ? 7000 : _ref51$slowClickTimeo,\n _ref51$slowClickIgnor = _ref51.slowClickIgnoreSelectors,\n slowClickIgnoreSelectors = _ref51$slowClickIgnor === void 0 ? [] : _ref51$slowClickIgnor,\n _ref51$networkDetailA = _ref51.networkDetailAllowUrls,\n networkDetailAllowUrls = _ref51$networkDetailA === void 0 ? [] : _ref51$networkDetailA,\n _ref51$networkDetailD = _ref51.networkDetailDenyUrls,\n networkDetailDenyUrls = _ref51$networkDetailD === void 0 ? [] : _ref51$networkDetailD,\n _ref51$networkCapture = _ref51.networkCaptureBodies,\n networkCaptureBodies = _ref51$networkCapture === void 0 ? true : _ref51$networkCapture,\n _ref51$networkRequest = _ref51.networkRequestHeaders,\n networkRequestHeaders = _ref51$networkRequest === void 0 ? [] : _ref51$networkRequest,\n _ref51$networkRespons = _ref51.networkResponseHeaders,\n networkResponseHeaders = _ref51$networkRespons === void 0 ? [] : _ref51$networkRespons,\n _ref51$mask = _ref51.mask,\n mask = _ref51$mask === void 0 ? [] : _ref51$mask,\n _ref51$maskAttributes = _ref51.maskAttributes,\n maskAttributes = _ref51$maskAttributes === void 0 ? ['title', 'placeholder'] : _ref51$maskAttributes,\n _ref51$unmask = _ref51.unmask,\n unmask = _ref51$unmask === void 0 ? [] : _ref51$unmask,\n _ref51$block = _ref51.block,\n block = _ref51$block === void 0 ? [] : _ref51$block,\n _ref51$unblock = _ref51.unblock,\n unblock = _ref51$unblock === void 0 ? [] : _ref51$unblock,\n _ref51$ignore = _ref51.ignore,\n ignore = _ref51$ignore === void 0 ? [] : _ref51$ignore,\n maskFn = _ref51.maskFn,\n beforeAddRecordingEvent = _ref51.beforeAddRecordingEvent,\n beforeErrorSampling = _ref51.beforeErrorSampling,\n blockClass = _ref51.blockClass,\n blockSelector = _ref51.blockSelector,\n maskInputOptions = _ref51.maskInputOptions,\n maskTextClass = _ref51.maskTextClass,\n maskTextSelector = _ref51.maskTextSelector,\n ignoreClass = _ref51.ignoreClass;\n\n _classCallCheck(this, Replay);\n\n // eslint-disable-next-line deprecation/deprecation\n this.name = Replay.id;\n var privacyOptions = getPrivacyOptions({\n mask: mask,\n unmask: unmask,\n block: block,\n unblock: unblock,\n ignore: ignore,\n blockClass: blockClass,\n blockSelector: blockSelector,\n maskTextClass: maskTextClass,\n maskTextSelector: maskTextSelector,\n ignoreClass: ignoreClass\n });\n this._recordingOptions = _objectSpread(_objectSpread({\n maskAllInputs: maskAllInputs,\n maskAllText: maskAllText,\n maskInputOptions: _objectSpread(_objectSpread({}, maskInputOptions || {}), {}, {\n password: true\n }),\n maskTextFn: maskFn,\n maskInputFn: maskFn,\n maskAttributeFn: function maskAttributeFn(key, value, el) {\n return maskAttribute({\n maskAttributes: maskAttributes,\n maskAllText: maskAllText,\n privacyOptions: privacyOptions,\n key: key,\n value: value,\n el: el\n });\n }\n }, privacyOptions), {}, {\n // Our defaults\n slimDOMOptions: 'all',\n inlineStylesheet: true,\n // Disable inline images as it will increase segment/replay size\n inlineImages: false,\n // collect fonts, but be aware that `sentry.io` needs to be an allowed\n // origin for playback\n collectFonts: true,\n errorHandler: function errorHandler(err) {\n try {\n err.__rrweb__ = true;\n } catch (error) {// ignore errors here\n // this can happen if the error is frozen or does not allow mutation for other reasons\n }\n }\n });\n this._initialOptions = {\n flushMinDelay: flushMinDelay,\n flushMaxDelay: flushMaxDelay,\n minReplayDuration: Math.min(minReplayDuration, MIN_REPLAY_DURATION_LIMIT),\n maxReplayDuration: Math.min(maxReplayDuration, MAX_REPLAY_DURATION),\n stickySession: stickySession,\n sessionSampleRate: sessionSampleRate,\n errorSampleRate: errorSampleRate,\n useCompression: useCompression,\n workerUrl: workerUrl,\n blockAllMedia: blockAllMedia,\n maskAllInputs: maskAllInputs,\n maskAllText: maskAllText,\n mutationBreadcrumbLimit: mutationBreadcrumbLimit,\n mutationLimit: mutationLimit,\n slowClickTimeout: slowClickTimeout,\n slowClickIgnoreSelectors: slowClickIgnoreSelectors,\n networkDetailAllowUrls: networkDetailAllowUrls,\n networkDetailDenyUrls: networkDetailDenyUrls,\n networkCaptureBodies: networkCaptureBodies,\n networkRequestHeaders: _getMergedNetworkHeaders(networkRequestHeaders),\n networkResponseHeaders: _getMergedNetworkHeaders(networkResponseHeaders),\n beforeAddRecordingEvent: beforeAddRecordingEvent,\n beforeErrorSampling: beforeErrorSampling,\n _experiments: _experiments\n };\n\n if (typeof sessionSampleRate === 'number') {\n // eslint-disable-next-line\n console.warn(\"[Replay] You are passing `sessionSampleRate` to the Replay integration.\\nThis option is deprecated and will be removed soon.\\nInstead, configure `replaysSessionSampleRate` directly in the SDK init options, e.g.:\\nSentry.init({ replaysSessionSampleRate: \".concat(sessionSampleRate, \" })\"));\n this._initialOptions.sessionSampleRate = sessionSampleRate;\n }\n\n if (typeof errorSampleRate === 'number') {\n // eslint-disable-next-line\n console.warn(\"[Replay] You are passing `errorSampleRate` to the Replay integration.\\nThis option is deprecated and will be removed soon.\\nInstead, configure `replaysOnErrorSampleRate` directly in the SDK init options, e.g.:\\nSentry.init({ replaysOnErrorSampleRate: \".concat(errorSampleRate, \" })\"));\n this._initialOptions.errorSampleRate = errorSampleRate;\n }\n\n if (this._initialOptions.blockAllMedia) {\n // `blockAllMedia` is a more user friendly option to configure blocking\n // embedded media elements\n this._recordingOptions.blockSelector = !this._recordingOptions.blockSelector ? MEDIA_SELECTORS : \"\".concat(this._recordingOptions.blockSelector, \",\").concat(MEDIA_SELECTORS);\n }\n\n if (this._isInitialized && isBrowser()) {\n throw new Error('Multiple Sentry Session Replay instances are not supported');\n }\n\n this._isInitialized = true;\n }\n /** If replay has already been initialized */\n\n\n _createClass(Replay, [{\n key: \"setupOnce\",\n\n /**\n * Setup and initialize replay container\n */\n value: function setupOnce() {\n var _this31 = this;\n\n if (!isBrowser()) {\n return;\n }\n\n this._setup(); // Once upon a time, we tried to create a transaction in `setupOnce` and it would\n // potentially create a transaction before some native SDK integrations have run\n // and applied their own global event processor. An example is:\n // https://github.com/getsentry/sentry-javascript/blob/b47ceafbdac7f8b99093ce6023726ad4687edc48/packages/browser/src/integrations/useragent.ts\n //\n // So we call `this._initialize()` in next event loop as a workaround to wait for other\n // global event processors to finish. This is no longer needed, but keeping it\n // here to avoid any future issues.\n\n\n setTimeout(function () {\n return _this31._initialize();\n });\n }\n /**\n * Start a replay regardless of sampling rate. Calling this will always\n * create a new session. Will throw an error if replay is already in progress.\n *\n * Creates or loads a session, attaches listeners to varying events (DOM,\n * PerformanceObserver, Recording, Sentry SDK, etc)\n */\n\n }, {\n key: \"start\",\n value: function start() {\n if (!this._replay) {\n return;\n }\n\n this._replay.start();\n }\n /**\n * Start replay buffering. Buffers until `flush()` is called or, if\n * `replaysOnErrorSampleRate` > 0, until an error occurs.\n */\n\n }, {\n key: \"startBuffering\",\n value: function startBuffering() {\n if (!this._replay) {\n return;\n }\n\n this._replay.startBuffering();\n }\n /**\n * Currently, this needs to be manually called (e.g. for tests). Sentry SDK\n * does not support a teardown\n */\n\n }, {\n key: \"stop\",\n value: function stop() {\n if (!this._replay) {\n return Promise.resolve();\n }\n\n return this._replay.stop({\n forceFlush: this._replay.recordingMode === 'session'\n });\n }\n /**\n * If not in \"session\" recording mode, flush event buffer which will create a new replay.\n * Unless `continueRecording` is false, the replay will continue to record and\n * behave as a \"session\"-based replay.\n *\n * Otherwise, queue up a flush.\n */\n\n }, {\n key: \"flush\",\n value: function flush(options) {\n if (!this._replay || !this._replay.isEnabled()) {\n return Promise.resolve();\n }\n\n return this._replay.sendBufferedReplayOrFlush(options);\n }\n /**\n * Get the current session ID.\n */\n\n }, {\n key: \"getReplayId\",\n value: function getReplayId() {\n if (!this._replay || !this._replay.isEnabled()) {\n return;\n }\n\n return this._replay.getSessionId();\n }\n /**\n * Initializes replay.\n */\n\n }, {\n key: \"_initialize\",\n value: function _initialize() {\n if (!this._replay) {\n return;\n } // We have to run this in _initialize, because this runs in setTimeout\n // So when this runs all integrations have been added\n // Before this, we cannot access integrations on the client,\n // so we need to mutate the options here\n\n\n this._maybeLoadFromReplayCanvasIntegration();\n\n this._replay.initializeSampling();\n }\n /** Setup the integration. */\n\n }, {\n key: \"_setup\",\n value: function _setup() {\n // Client is not available in constructor, so we need to wait until setupOnce\n var finalOptions = loadReplayOptionsFromClient(this._initialOptions);\n this._replay = new ReplayContainer({\n options: finalOptions,\n recordingOptions: this._recordingOptions\n });\n }\n /** Get canvas options from ReplayCanvas integration, if it is also added. */\n\n }, {\n key: \"_maybeLoadFromReplayCanvasIntegration\",\n value: function _maybeLoadFromReplayCanvasIntegration() {\n // To save bundle size, we skip checking for stuff here\n // and instead just try-catch everything - as generally this should all be defined\n\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n try {\n var client = getClient();\n var canvasIntegration = client.getIntegrationByName('ReplayCanvas');\n\n if (!canvasIntegration) {\n return;\n }\n\n this._replay['_canvas'] = canvasIntegration.getOptions();\n } catch (e) {} // ignore errors here\n\n /* eslint-enable @typescript-eslint/no-non-null-assertion */\n\n }\n }, {\n key: \"_isInitialized\",\n get: function get() {\n return _initialized;\n }\n /** Update _isInitialized */\n ,\n set: function set(value) {\n _initialized = value;\n }\n }]);\n\n return Replay;\n}();\n\nReplay.__initStatic();\n/** Parse Replay-related options from SDK options */\n\n\nfunction loadReplayOptionsFromClient(initialOptions) {\n var client = getClient();\n var opt = client && client.getOptions();\n\n var finalOptions = _objectSpread({\n sessionSampleRate: 0,\n errorSampleRate: 0\n }, dropUndefinedKeys(initialOptions));\n\n if (!opt) {\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.warn('SDK client is not available.');\n });\n return finalOptions;\n }\n\n if (initialOptions.sessionSampleRate == null && // TODO remove once deprecated rates are removed\n initialOptions.errorSampleRate == null && // TODO remove once deprecated rates are removed\n opt.replaysSessionSampleRate == null && opt.replaysOnErrorSampleRate == null) {\n consoleSandbox(function () {\n // eslint-disable-next-line no-console\n console.warn('Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.');\n });\n }\n\n if (typeof opt.replaysSessionSampleRate === 'number') {\n finalOptions.sessionSampleRate = opt.replaysSessionSampleRate;\n }\n\n if (typeof opt.replaysOnErrorSampleRate === 'number') {\n finalOptions.errorSampleRate = opt.replaysOnErrorSampleRate;\n }\n\n return finalOptions;\n}\n\nfunction _getMergedNetworkHeaders(headers) {\n return [].concat(DEFAULT_NETWORK_HEADERS, _toConsumableArray(headers.map(function (header) {\n return header.toLowerCase();\n })));\n}\n/**\n * This is a small utility to get a type-safe instance of the Replay integration.\n */\n// eslint-disable-next-line deprecation/deprecation\n\n\nfunction getReplay() {\n var client = getClient();\n return client && client.getIntegrationByName && client.getIntegrationByName('Replay');\n}\n\nexport { Replay, getReplay, replayIntegration };","// https://github.com/alangpierce/sucrase/tree/265887868966917f3b924ce38dfad01fbab1329f\n//\n// The MIT License (MIT)\n//\n// Copyright (c) 2012-2018 various contributors (see AUTHORS)\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in all\n// copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n// SOFTWARE.\n\n/**\n * Polyfill for the nullish coalescing operator (`??`).\n *\n * Note that the RHS is wrapped in a function so that if it's a computed value, that evaluation won't happen unless the\n * LHS evaluates to a nullish value, to mimic the operator's short-circuiting behavior.\n *\n * Adapted from Sucrase (https://github.com/alangpierce/sucrase)\n *\n * @param lhs The value of the expression to the left of the `??`\n * @param rhsFn A function returning the value of the expression to the right of the `??`\n * @returns The LHS value, unless it's `null` or `undefined`, in which case, the RHS value\n */\nfunction _nullishCoalesce(lhs, rhsFn) {\n // by checking for loose equality to `null`, we catch both `null` and `undefined`\n return lhs != null ? lhs : rhsFn();\n} // Sucrase version:\n// function _nullishCoalesce(lhs, rhsFn) {\n// if (lhs != null) {\n// return lhs;\n// } else {\n// return rhsFn();\n// }\n// }\n\n\nexport { _nullishCoalesce };","/**\n * This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__SENTRY_DEBUG__` in their generated code.\n *\n * ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.\n */\nvar DEBUG_BUILD = typeof __SENTRY_DEBUG__ === 'undefined' || __SENTRY_DEBUG__;\nexport { DEBUG_BUILD };","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass, getClient, captureEvent, isSentryRequestUrl } from '@sentry/core';\nimport { supportsNativeFetch, addFetchInstrumentationHandler, GLOBAL_OBJ, addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY, logger, addExceptionMechanism } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nvar INTEGRATION_NAME = 'HttpClient';\n\nvar _httpClientIntegration = function _httpClientIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options = _objectSpread({\n failedRequestStatusCodes: [[500, 599]],\n failedRequestTargets: [/.*/]\n }, options);\n\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n setup: function setup(client) {\n _wrapFetch(client, _options);\n\n _wrapXHR(client, _options);\n }\n };\n};\n\nvar httpClientIntegration = defineIntegration(_httpClientIntegration);\n/**\n * Create events for failed client side HTTP requests.\n * @deprecated Use `httpClientIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar HttpClient = convertIntegrationFnToClass(INTEGRATION_NAME, httpClientIntegration);\n/**\n * Interceptor function for fetch requests\n *\n * @param requestInfo The Fetch API request info\n * @param response The Fetch API response\n * @param requestInit The request init object\n */\n\nfunction _fetchResponseHandler(options, requestInfo, response, requestInit) {\n if (_shouldCaptureResponse(options, response.status, response.url)) {\n var request = _getRequest(requestInfo, requestInit);\n\n var requestHeaders, responseHeaders, requestCookies, responseCookies;\n\n if (_shouldSendDefaultPii()) {\n var _map = [{\n cookieHeader: 'Cookie',\n obj: request\n }, {\n cookieHeader: 'Set-Cookie',\n obj: response\n }].map(function (_ref) {\n var cookieHeader = _ref.cookieHeader,\n obj = _ref.obj;\n\n var headers = _extractFetchHeaders(obj.headers);\n\n var cookies;\n\n try {\n var cookieString = headers[cookieHeader] || headers[cookieHeader.toLowerCase()] || undefined;\n\n if (cookieString) {\n cookies = _parseCookieString(cookieString);\n }\n } catch (e) {\n DEBUG_BUILD && logger.log(\"Could not extract cookies from header \".concat(cookieHeader));\n }\n\n return {\n headers: headers,\n cookies: cookies\n };\n });\n\n var _map2 = _slicedToArray(_map, 2);\n\n var _map2$ = _map2[0];\n requestHeaders = _map2$.headers;\n requestCookies = _map2$.cookies;\n var _map2$2 = _map2[1];\n responseHeaders = _map2$2.headers;\n responseCookies = _map2$2.cookies;\n }\n\n var event = _createEvent({\n url: request.url,\n method: request.method,\n status: response.status,\n requestHeaders: requestHeaders,\n responseHeaders: responseHeaders,\n requestCookies: requestCookies,\n responseCookies: responseCookies\n });\n\n captureEvent(event);\n }\n}\n/**\n * Interceptor function for XHR requests\n *\n * @param xhr The XHR request\n * @param method The HTTP method\n * @param headers The HTTP headers\n */\n\n\nfunction _xhrResponseHandler(options, xhr, method, headers) {\n if (_shouldCaptureResponse(options, xhr.status, xhr.responseURL)) {\n var requestHeaders, responseCookies, responseHeaders;\n\n if (_shouldSendDefaultPii()) {\n try {\n var cookieString = xhr.getResponseHeader('Set-Cookie') || xhr.getResponseHeader('set-cookie') || undefined;\n\n if (cookieString) {\n responseCookies = _parseCookieString(cookieString);\n }\n } catch (e) {\n DEBUG_BUILD && logger.log('Could not extract cookies from response headers');\n }\n\n try {\n responseHeaders = _getXHRResponseHeaders(xhr);\n } catch (e) {\n DEBUG_BUILD && logger.log('Could not extract headers from response');\n }\n\n requestHeaders = headers;\n }\n\n var event = _createEvent({\n url: xhr.responseURL,\n method: method,\n status: xhr.status,\n requestHeaders: requestHeaders,\n // Can't access request cookies from XHR\n responseHeaders: responseHeaders,\n responseCookies: responseCookies\n });\n\n captureEvent(event);\n }\n}\n/**\n * Extracts response size from `Content-Length` header when possible\n *\n * @param headers\n * @returns The response size in bytes or undefined\n */\n\n\nfunction _getResponseSizeFromHeaders(headers) {\n if (headers) {\n var contentLength = headers['Content-Length'] || headers['content-length'];\n\n if (contentLength) {\n return parseInt(contentLength, 10);\n }\n }\n\n return undefined;\n}\n/**\n * Creates an object containing cookies from the given cookie string\n *\n * @param cookieString The cookie string to parse\n * @returns The parsed cookies\n */\n\n\nfunction _parseCookieString(cookieString) {\n return cookieString.split('; ').reduce(function (acc, cookie) {\n var _cookie$split = cookie.split('='),\n _cookie$split2 = _slicedToArray(_cookie$split, 2),\n key = _cookie$split2[0],\n value = _cookie$split2[1];\n\n acc[key] = value;\n return acc;\n }, {});\n}\n/**\n * Extracts the headers as an object from the given Fetch API request or response object\n *\n * @param headers The headers to extract\n * @returns The extracted headers as an object\n */\n\n\nfunction _extractFetchHeaders(headers) {\n var result = {};\n headers.forEach(function (value, key) {\n result[key] = value;\n });\n return result;\n}\n/**\n * Extracts the response headers as an object from the given XHR object\n *\n * @param xhr The XHR object to extract the response headers from\n * @returns The response headers as an object\n */\n\n\nfunction _getXHRResponseHeaders(xhr) {\n var headers = xhr.getAllResponseHeaders();\n\n if (!headers) {\n return {};\n }\n\n return headers.split('\\r\\n').reduce(function (acc, line) {\n var _line$split = line.split(': '),\n _line$split2 = _slicedToArray(_line$split, 2),\n key = _line$split2[0],\n value = _line$split2[1];\n\n acc[key] = value;\n return acc;\n }, {});\n}\n/**\n * Checks if the given target url is in the given list of targets\n *\n * @param target The target url to check\n * @returns true if the target url is in the given list of targets, false otherwise\n */\n\n\nfunction _isInGivenRequestTargets(failedRequestTargets, target) {\n return failedRequestTargets.some(function (givenRequestTarget) {\n if (typeof givenRequestTarget === 'string') {\n return target.includes(givenRequestTarget);\n }\n\n return givenRequestTarget.test(target);\n });\n}\n/**\n * Checks if the given status code is in the given range\n *\n * @param status The status code to check\n * @returns true if the status code is in the given range, false otherwise\n */\n\n\nfunction _isInGivenStatusRanges(failedRequestStatusCodes, status) {\n return failedRequestStatusCodes.some(function (range) {\n if (typeof range === 'number') {\n return range === status;\n }\n\n return status >= range[0] && status <= range[1];\n });\n}\n/**\n * Wraps `fetch` function to capture request and response data\n */\n\n\nfunction _wrapFetch(client, options) {\n if (!supportsNativeFetch()) {\n return;\n }\n\n addFetchInstrumentationHandler(function (handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var response = handlerData.response,\n args = handlerData.args;\n\n var _args = _slicedToArray(args, 2),\n requestInfo = _args[0],\n requestInit = _args[1];\n\n if (!response) {\n return;\n }\n\n _fetchResponseHandler(options, requestInfo, response, requestInit);\n });\n}\n/**\n * Wraps XMLHttpRequest to capture request and response data\n */\n\n\nfunction _wrapXHR(client, options) {\n if (!('XMLHttpRequest' in GLOBAL_OBJ)) {\n return;\n }\n\n addXhrInstrumentationHandler(function (handlerData) {\n if (getClient() !== client) {\n return;\n }\n\n var xhr = handlerData.xhr;\n var sentryXhrData = xhr[SENTRY_XHR_DATA_KEY];\n\n if (!sentryXhrData) {\n return;\n }\n\n var method = sentryXhrData.method,\n headers = sentryXhrData.request_headers;\n\n try {\n _xhrResponseHandler(options, xhr, method, headers);\n } catch (e) {\n DEBUG_BUILD && logger.warn('Error while extracting response event form XHR response', e);\n }\n });\n}\n/**\n * Checks whether to capture given response as an event\n *\n * @param status response status code\n * @param url response url\n */\n\n\nfunction _shouldCaptureResponse(options, status, url) {\n return _isInGivenStatusRanges(options.failedRequestStatusCodes, status) && _isInGivenRequestTargets(options.failedRequestTargets, url) && !isSentryRequestUrl(url, getClient());\n}\n/**\n * Creates a synthetic Sentry event from given response data\n *\n * @param data response data\n * @returns event\n */\n\n\nfunction _createEvent(data) {\n var message = \"HTTP Client Error with status code: \".concat(data.status);\n var event = {\n message: message,\n exception: {\n values: [{\n type: 'Error',\n value: message\n }]\n },\n request: {\n url: data.url,\n method: data.method,\n headers: data.requestHeaders,\n cookies: data.requestCookies\n },\n contexts: {\n response: {\n status_code: data.status,\n headers: data.responseHeaders,\n cookies: data.responseCookies,\n body_size: _getResponseSizeFromHeaders(data.responseHeaders)\n }\n }\n };\n addExceptionMechanism(event, {\n type: 'http.client',\n handled: false\n });\n return event;\n}\n\nfunction _getRequest(requestInfo, requestInit) {\n if (!requestInit && requestInfo instanceof Request) {\n return requestInfo;\n } // If both are set, we try to construct a new Request with the given arguments\n // However, if e.g. the original request has a `body`, this will throw an error because it was already accessed\n // In this case, as a fallback, we just use the original request - using both is rather an edge case\n\n\n if (requestInfo instanceof Request && requestInfo.bodyUsed) {\n return requestInfo;\n }\n\n return new Request(requestInfo, requestInit);\n}\n\nfunction _shouldSendDefaultPii() {\n var client = getClient();\n return client ? Boolean(client.getOptions().sendDefaultPii) : false;\n}\n\nexport { HttpClient, httpClientIntegration };","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { isError, normalize, isPlainObject, addNonEnumerableProperty, logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nvar INTEGRATION_NAME = 'ExtraErrorData';\n\nvar _extraErrorDataIntegration = function _extraErrorDataIntegration() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var depth = options.depth || 3; // TODO(v8): Flip the default for this option to true\n\n var captureErrorCause = options.captureErrorCause || false;\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent: function processEvent(event, hint) {\n return _enhanceEventWithErrorData(event, hint, depth, captureErrorCause);\n }\n };\n};\n\nvar extraErrorDataIntegration = defineIntegration(_extraErrorDataIntegration);\n/**\n * Extract additional data for from original exceptions.\n * @deprecated Use `extraErrorDataIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar ExtraErrorData = convertIntegrationFnToClass(INTEGRATION_NAME, extraErrorDataIntegration);\n\nfunction _enhanceEventWithErrorData(event) {\n var hint = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var depth = arguments.length > 2 ? arguments[2] : undefined;\n var captureErrorCause = arguments.length > 3 ? arguments[3] : undefined;\n\n if (!hint.originalException || !isError(hint.originalException)) {\n return event;\n }\n\n var exceptionName = hint.originalException.name || hint.originalException.constructor.name;\n\n var errorData = _extractErrorData(hint.originalException, captureErrorCause);\n\n if (errorData) {\n var contexts = _objectSpread({}, event.contexts);\n\n var normalizedErrorData = normalize(errorData, depth);\n\n if (isPlainObject(normalizedErrorData)) {\n // We mark the error data as \"already normalized\" here, because we don't want other normalization procedures to\n // potentially truncate the data we just already normalized, with a certain depth setting.\n addNonEnumerableProperty(normalizedErrorData, '__sentry_skip_normalization__', true);\n contexts[exceptionName] = normalizedErrorData;\n }\n\n return _objectSpread(_objectSpread({}, event), {}, {\n contexts: contexts\n });\n }\n\n return event;\n}\n/**\n * Extract extra information from the Error object\n */\n\n\nfunction _extractErrorData(error, captureErrorCause) {\n // We are trying to enhance already existing event, so no harm done if it won't succeed\n try {\n var nativeKeys = ['name', 'message', 'stack', 'line', 'column', 'fileName', 'lineNumber', 'columnNumber', 'toJSON'];\n var extraErrorInfo = {}; // We want only enumerable properties, thus `getOwnPropertyNames` is redundant here, as we filter keys anyway.\n\n for (var _i = 0, _Object$keys = Object.keys(error); _i < _Object$keys.length; _i++) {\n var _key = _Object$keys[_i];\n\n if (nativeKeys.indexOf(_key) !== -1) {\n continue;\n }\n\n var _value = error[_key];\n extraErrorInfo[_key] = isError(_value) ? _value.toString() : _value;\n } // Error.cause is a mini property that is non enumerable, we therefore need to access it separately.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause\n\n\n if (captureErrorCause && error.cause !== undefined) {\n extraErrorInfo.cause = isError(error.cause) ? error.cause.toString() : error.cause;\n } // Check if someone attached `toJSON` method to grab even more properties (eg. axios is doing that)\n\n\n if (typeof error.toJSON === 'function') {\n var serializedError = error.toJSON();\n\n for (var _i2 = 0, _Object$keys2 = Object.keys(serializedError); _i2 < _Object$keys2.length; _i2++) {\n var key = _Object$keys2[_i2];\n var value = serializedError[key];\n extraErrorInfo[key] = isError(value) ? value.toString() : value;\n }\n }\n\n return extraErrorInfo;\n } catch (oO) {\n DEBUG_BUILD && logger.error('Unable to extract extra data from the Error object:', oO);\n }\n\n return null;\n}\n\nexport { ExtraErrorData, extraErrorDataIntegration };","import { defineIntegration, convertIntegrationFnToClass } from '@sentry/core';\nimport { logger } from '@sentry/utils';\nimport { DEBUG_BUILD } from './debug-build.js';\nvar INTEGRATION_NAME = 'Dedupe';\n\nvar _dedupeIntegration = function _dedupeIntegration() {\n var previousEvent;\n return {\n name: INTEGRATION_NAME,\n // TODO v8: Remove this\n setupOnce: function setupOnce() {},\n // eslint-disable-line @typescript-eslint/no-empty-function\n processEvent: function processEvent(currentEvent) {\n // We want to ignore any non-error type events, e.g. transactions or replays\n // These should never be deduped, and also not be compared against as _previousEvent.\n if (currentEvent.type) {\n return currentEvent;\n } // Juuust in case something goes wrong\n\n\n try {\n if (_shouldDropEvent(currentEvent, previousEvent)) {\n DEBUG_BUILD && logger.warn('Event dropped due to being a duplicate of previously captured event.');\n return null;\n }\n } catch (_oO) {} // eslint-disable-line no-empty\n\n\n return previousEvent = currentEvent;\n }\n };\n};\n\nvar dedupeIntegration = defineIntegration(_dedupeIntegration);\n/**\n * Deduplication filter.\n * @deprecated Use `dedupeIntegration()` instead.\n */\n// eslint-disable-next-line deprecation/deprecation\n\nvar Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration);\n/** only exported for tests. */\n\nfunction _shouldDropEvent(currentEvent, previousEvent) {\n if (!previousEvent) {\n return false;\n }\n\n if (_isSameMessageEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n if (_isSameExceptionEvent(currentEvent, previousEvent)) {\n return true;\n }\n\n return false;\n}\n\nfunction _isSameMessageEvent(currentEvent, previousEvent) {\n var currentMessage = currentEvent.message;\n var previousMessage = previousEvent.message; // If neither event has a message property, they were both exceptions, so bail out\n\n if (!currentMessage && !previousMessage) {\n return false;\n } // If only one event has a stacktrace, but not the other one, they are not the same\n\n\n if (currentMessage && !previousMessage || !currentMessage && previousMessage) {\n return false;\n }\n\n if (currentMessage !== previousMessage) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameExceptionEvent(currentEvent, previousEvent) {\n var previousException = _getExceptionFromEvent(previousEvent);\n\n var currentException = _getExceptionFromEvent(currentEvent);\n\n if (!previousException || !currentException) {\n return false;\n }\n\n if (previousException.type !== currentException.type || previousException.value !== currentException.value) {\n return false;\n }\n\n if (!_isSameFingerprint(currentEvent, previousEvent)) {\n return false;\n }\n\n if (!_isSameStacktrace(currentEvent, previousEvent)) {\n return false;\n }\n\n return true;\n}\n\nfunction _isSameStacktrace(currentEvent, previousEvent) {\n var currentFrames = _getFramesFromEvent(currentEvent);\n\n var previousFrames = _getFramesFromEvent(previousEvent); // If neither event has a stacktrace, they are assumed to be the same\n\n\n if (!currentFrames && !previousFrames) {\n return true;\n } // If only one event has a stacktrace, but not the other one, they are not the same\n\n\n if (currentFrames && !previousFrames || !currentFrames && previousFrames) {\n return false;\n }\n\n currentFrames = currentFrames;\n previousFrames = previousFrames; // If number of frames differ, they are not the same\n\n if (previousFrames.length !== currentFrames.length) {\n return false;\n } // Otherwise, compare the two\n\n\n for (var i = 0; i < previousFrames.length; i++) {\n var frameA = previousFrames[i];\n var frameB = currentFrames[i];\n\n if (frameA.filename !== frameB.filename || frameA.lineno !== frameB.lineno || frameA.colno !== frameB.colno || frameA[\"function\"] !== frameB[\"function\"]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction _isSameFingerprint(currentEvent, previousEvent) {\n var currentFingerprint = currentEvent.fingerprint;\n var previousFingerprint = previousEvent.fingerprint; // If neither event has a fingerprint, they are assumed to be the same\n\n if (!currentFingerprint && !previousFingerprint) {\n return true;\n } // If only one event has a fingerprint, but not the other one, they are not the same\n\n\n if (currentFingerprint && !previousFingerprint || !currentFingerprint && previousFingerprint) {\n return false;\n }\n\n currentFingerprint = currentFingerprint;\n previousFingerprint = previousFingerprint; // Otherwise, compare the two\n\n try {\n return !!(currentFingerprint.join('') === previousFingerprint.join(''));\n } catch (_oO) {\n return false;\n }\n}\n\nfunction _getExceptionFromEvent(event) {\n return event.exception && event.exception.values && event.exception.values[0];\n}\n\nfunction _getFramesFromEvent(event) {\n var exception = event.exception;\n\n if (exception) {\n try {\n // @ts-expect-error Object could be undefined\n return exception.values[0].stacktrace.frames;\n } catch (_oO) {\n return undefined;\n }\n }\n\n return undefined;\n}\n\nexport { Dedupe, _shouldDropEvent, dedupeIntegration };","export var globalMixin={computed:{isMobile:function isMobile(){return document.body.classList.contains('mobile');}},mounted:function mounted(){if(this.breadcrumbs){this.$store.commit('breadcrumbs/SET',this.breadcrumbs);}}};","export default function (n) {\n return {\n all: n = n || new Map(),\n on: function on(t, e) {\n var i = n.get(t);\n i ? i.push(e) : n.set(t, [e]);\n },\n off: function off(t, e) {\n var i = n.get(t);\n i && (e ? i.splice(i.indexOf(e) >>> 0, 1) : n.set(t, []));\n },\n emit: function emit(t, e) {\n var i = n.get(t);\n i && i.slice().map(function (n) {\n n(e);\n }), (i = n.get(\"*\")) && i.slice().map(function (n) {\n n(t, e);\n });\n }\n };\n}","export default{install:function install(Vue,_options){Vue.prototype.$posthog=window.posthog;}};","import _regeneratorRuntime from\"@babel/runtime/regenerator\";function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,\"next\",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,\"throw\",err);}_next(undefined);});};}/* eslint no-new: 0 */import'../styles/frontend-styles.scss';import Vue from'vue';import{extractCountryCode}from'~/lib/extractCountryCode';import mitt from'mitt';import VueApollo from'vue-apollo';import VueContentPlaceholders from'vue-content-placeholders';import apolloClient from'~/apolloClient';import Filters from'~/filters';import store from'~/store';import i18n,{loadTranslations}from'~/i18n';import router from'~/router';import handleNavbar from'~/lib/stickyNavbar';import handleFooter from'~/lib/handleFooter';import removeUTMandGCLID from'~/lib/removeUtmGclid';import initializeSentry from'~/lib/sentry';import{globalMixin}from'~/lib/mixins';import posthogPlugin from'../plugins/posthog';Vue.config.performance=process.env.NODE_ENV!=='production';require('~/ui-library');Vue.prototype.$emitter=mitt();initializeSentry(Vue);removeUTMandGCLID();loadTranslations();handleNavbar();var apolloProvider=new VueApollo({defaultClient:apolloClient});Vue.mixin(globalMixin);Vue.use(VueApollo);Vue.use(VueContentPlaceholders);Vue.use(Filters);Vue.use(posthogPlugin);store.dispatch('auth/setAuthFromWindow');store.dispatch('config/getConfigData');store.dispatch('env/setLangAndCountry',extractCountryCode(document.documentElement.lang));document.addEventListener('DOMContentLoaded',function(){var appElement=document.getElementById('app');if(appElement){var props=function(){try{var dataset=appElement.dataset.vue;return dataset?JSON.parse(dataset):{};}catch(_unused){return{};}}();import('~/modules/layout/Layout.vue').then(function(module){new Vue({el:'#app',name:'MainApp',store:store,router:router,i18n:i18n,apolloProvider:apolloProvider,provide:function provide(){return props;},render:function render(h){return h(module[\"default\"]);}});});document.body.classList.add('vue-page');}if(document.getElementById('vue-navbar')){import('~/modules/layout/navbar/Navbar.vue').then(function(module){new Vue({el:'#vue-navbar',name:'Navigation',store:store,router:router,i18n:i18n,apolloProvider:apolloProvider,watch:{$route:{handler:function handler(to,_from){handleFooter(this,to);},immediate:true}},render:function render(h){return h(module[\"default\"]);}});});}});if(document.getElementById('hp_blogposts')){import(/* webpackChunkName: \"homepage\" */'~/components/HpBlogposts.vue').then(function(module){new Vue({el:'#hp_blogposts',name:'HPBlogPosts',store:store,i18n:i18n,apolloProvider:apolloProvider,render:function render(h){return h(module[\"default\"],{props:{onHp:true}});}});});}if(document.getElementById('vue-saved-lines-migration')){import(/* webpackChunkName: \"form\" */'~/pages/LinesMigrator.vue').then(function(module){new Vue({el:'#vue-saved-lines-migration',name:'SavedLinesMigrator',store:store,router:router,i18n:i18n,render:function render(h){return h(module[\"default\"]);}});});}if(document.getElementById('vue-orders-modal')){var dataset=JSON.parse(document.getElementById('vue-orders-modal').dataset.vue);var paymentData=dataset.paymentData,transferData=dataset.transferData;import(/* webpackChunkName: \"order-dialog\" */'~/components/dialogs/OrderDialog.vue').then(function(module){if(paymentData||transferData){new Vue({el:'#vue-orders-modal',name:'OrderModal',store:store,router:router,i18n:i18n,render:function render(h){return h(module[\"default\"],{props:{paymentData:paymentData,transferData:transferData}});}});}});}document.addEventListener('DOMContentLoaded',/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(){var BillAppModule,migrationModule,BillApp,migration;return _regeneratorRuntime.wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:if(!document.getElementById('vue-billapp')){_context.next=11;break;}_context.next=3;return import('~/billapp/App.vue');case 3:BillAppModule=_context.sent;_context.next=6;return import('~/billapp/store/migration');case 6:migrationModule=_context.sent;// Make sure to get the default export if the modules are using ES modules.\nBillApp=BillAppModule[\"default\"];migration=migrationModule[\"default\"];store.registerModule('migration',migration);new Vue({el:'#vue-billapp',name:'Billapp',store:store,render:function render(h){return h(BillApp);}});case 11:case\"end\":return _context.stop();}}},_callee);})));","import*as Sentry from'@sentry/vue';import{httpClientIntegration,extraErrorDataIntegration,dedupeIntegration}from'@sentry/integrations';export default function initializeSentry(Vue){if(process.env.NODE_ENV==='production'){Sentry.init({Vue:Vue,beforeSend:function beforeSend(event){if(window.navigator.userAgent.indexOf('SznProhlizec')!==-1){return null;}if(event.level&&event.level!=='error'){return null;}return event;},ignoreUrls:[/ads-micro\\.atwebpages\\.com/,/smartlook\\.com/],ignoreErrors:['Non-Error','ResizeObserver loop limit exceeded'],dsn:process.env.SENTRY_DSN,normalizeDepth:20,attachStacktrace:true,environment:'production',tracesSampleRate:0.2,replaysSessionSampleRate:0,replaysOnErrorSampleRate:1.0,sendDefaultPii:true,integrations:[// Sentry.browserTracingIntegration(),\nSentry.replayIntegration({maskAllText:false,maskAllInputs:false,blockAllMedia:false}),httpClientIntegration(),extraErrorDataIntegration(),dedupeIntegration(),Sentry.breadcrumbsIntegration({console:true,dom:{serializeAttribute:['id','class','name','type','value','data-analytics-id']},fetch:true,history:true,xhr:true})],tracingOptions:{trackComponents:true}});}}","export default function removeUTMandGCLID(){// Get the current URL\nvar currentUrl=window.location.href;// Check if the URL contains UTM parameters or GCLID parameter\nif(currentUrl.indexOf('utm_')!==-1||currentUrl.indexOf('gclid=')!==-1){// Split the URL into the base URL and query string\nvar baseUrl=currentUrl.split('?')[0];var queryString=currentUrl.split('?')[1];// Split the query string into individual parameters\nvar queryParams=queryString.split('&');// Create a new array of parameters that excludes UTM and GCLID parameters\nvar cleanParams=queryParams.filter(function(param){return!param.startsWith('utm_')&&!param.startsWith('gclid=');});// Join the clean parameters back into a query string\nvar cleanQueryString=cleanParams.join('&');// Combine the base URL and clean query string back into a clean URL\nvar cleanUrl=baseUrl+(cleanQueryString?\"?\".concat(cleanQueryString):'');// Redirect to the clean URL\nwindow.history.replaceState({},document.title,cleanUrl);}}","import _extends from 'babel-runtime/helpers/extends';\nimport _typeof from 'babel-runtime/helpers/typeof';\nvar formatRegExp = /%[sdj%]/g;\nexport var warning = function warning() {}; // don't print warning message when in production env or node runtime\n\nif (process.env.NODE_ENV !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {\n warning = function warning(type, errors) {\n if (typeof console !== 'undefined' && console.warn) {\n if (errors.every(function (e) {\n return typeof e === 'string';\n })) {\n console.warn(type, errors);\n }\n }\n };\n}\n\nexport function format() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var i = 1;\n var f = args[0];\n var len = args.length;\n\n if (typeof f === 'function') {\n return f.apply(null, args.slice(1));\n }\n\n if (typeof f === 'string') {\n var str = String(f).replace(formatRegExp, function (x) {\n if (x === '%%') {\n return '%';\n }\n\n if (i >= len) {\n return x;\n }\n\n switch (x) {\n case '%s':\n return String(args[i++]);\n\n case '%d':\n return Number(args[i++]);\n\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n\n break;\n\n default:\n return x;\n }\n });\n\n for (var arg = args[i]; i < len; arg = args[++i]) {\n str += ' ' + arg;\n }\n\n return str;\n }\n\n return f;\n}\n\nfunction isNativeStringType(type) {\n return type === 'string' || type === 'url' || type === 'hex' || type === 'email' || type === 'pattern';\n}\n\nexport function isEmptyValue(value, type) {\n if (value === undefined || value === null) {\n return true;\n }\n\n if (type === 'array' && Array.isArray(value) && !value.length) {\n return true;\n }\n\n if (isNativeStringType(type) && typeof value === 'string' && !value) {\n return true;\n }\n\n return false;\n}\nexport function isEmptyObject(obj) {\n return Object.keys(obj).length === 0;\n}\n\nfunction asyncParallelArray(arr, func, callback) {\n var results = [];\n var total = 0;\n var arrLength = arr.length;\n\n function count(errors) {\n results.push.apply(results, errors);\n total++;\n\n if (total === arrLength) {\n callback(results);\n }\n }\n\n arr.forEach(function (a) {\n func(a, count);\n });\n}\n\nfunction asyncSerialArray(arr, func, callback) {\n var index = 0;\n var arrLength = arr.length;\n\n function next(errors) {\n if (errors && errors.length) {\n callback(errors);\n return;\n }\n\n var original = index;\n index = index + 1;\n\n if (original < arrLength) {\n func(arr[original], next);\n } else {\n callback([]);\n }\n }\n\n next([]);\n}\n\nfunction flattenObjArr(objArr) {\n var ret = [];\n Object.keys(objArr).forEach(function (k) {\n ret.push.apply(ret, objArr[k]);\n });\n return ret;\n}\n\nexport function asyncMap(objArr, option, func, callback) {\n if (option.first) {\n var flattenArr = flattenObjArr(objArr);\n return asyncSerialArray(flattenArr, func, callback);\n }\n\n var firstFields = option.firstFields || [];\n\n if (firstFields === true) {\n firstFields = Object.keys(objArr);\n }\n\n var objArrKeys = Object.keys(objArr);\n var objArrLength = objArrKeys.length;\n var total = 0;\n var results = [];\n\n var next = function next(errors) {\n results.push.apply(results, errors);\n total++;\n\n if (total === objArrLength) {\n callback(results);\n }\n };\n\n objArrKeys.forEach(function (key) {\n var arr = objArr[key];\n\n if (firstFields.indexOf(key) !== -1) {\n asyncSerialArray(arr, func, next);\n } else {\n asyncParallelArray(arr, func, next);\n }\n });\n}\nexport function complementError(rule) {\n return function (oe) {\n if (oe && oe.message) {\n oe.field = oe.field || rule.fullField;\n return oe;\n }\n\n return {\n message: oe,\n field: oe.field || rule.fullField\n };\n };\n}\nexport function deepMerge(target, source) {\n if (source) {\n for (var s in source) {\n if (source.hasOwnProperty(s)) {\n var value = source[s];\n\n if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && _typeof(target[s]) === 'object') {\n target[s] = _extends({}, target[s], value);\n } else {\n target[s] = value;\n }\n }\n }\n }\n\n return target;\n}","import * as util from '../util';\n/**\n * Rule for validating required fields.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction required(rule, value, source, errors, options, type) {\n if (rule.required && (!source.hasOwnProperty(rule.field) || util.isEmptyValue(value, type || rule.type))) {\n errors.push(util.format(options.messages.required, rule.fullField));\n }\n}\n\nexport default required;","import * as util from '../util';\n/**\n * Rule for validating whitespace.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction whitespace(rule, value, source, errors, options) {\n if (/^\\s+$/.test(value) || value === '') {\n errors.push(util.format(options.messages.whitespace, rule.fullField));\n }\n}\n\nexport default whitespace;","import _typeof from 'babel-runtime/helpers/typeof';\nimport * as util from '../util';\nimport required from './required';\n/* eslint max-len:0 */\n\nvar pattern = {\n // http://emailregex.com/\n email: /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,\n url: new RegExp(\"^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\\\S+(?::\\\\S*)?@)?(?:(?:(?:[1-9]\\\\d?|1\\\\d\\\\d|2[01]\\\\d|22[0-3])(?:\\\\.(?:1?\\\\d{1,2}|2[0-4]\\\\d|25[0-5])){2}(?:\\\\.(?:[0-9]\\\\d?|1\\\\d\\\\d|2[0-4]\\\\d|25[0-4]))|(?:(?:[a-z\\\\u00a1-\\\\uffff0-9]+-?)*[a-z\\\\u00a1-\\\\uffff0-9]+)(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff0-9]+-?)*[a-z\\\\u00a1-\\\\uffff0-9]+)*(?:\\\\.(?:[a-z\\\\u00a1-\\\\uffff]{2,})))|localhost)(?::\\\\d{2,5})?(?:(/|\\\\?|#)[^\\\\s]*)?$\", 'i'),\n hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i\n};\nvar types = {\n integer: function integer(value) {\n return types.number(value) && parseInt(value, 10) === value;\n },\n \"float\": function _float(value) {\n return types.number(value) && !types.integer(value);\n },\n array: function array(value) {\n return Array.isArray(value);\n },\n regexp: function regexp(value) {\n if (value instanceof RegExp) {\n return true;\n }\n\n try {\n return !!new RegExp(value);\n } catch (e) {\n return false;\n }\n },\n date: function date(value) {\n return typeof value.getTime === 'function' && typeof value.getMonth === 'function' && typeof value.getYear === 'function';\n },\n number: function number(value) {\n if (isNaN(value)) {\n return false;\n }\n\n return typeof value === 'number';\n },\n object: function object(value) {\n return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && !types.array(value);\n },\n method: function method(value) {\n return typeof value === 'function';\n },\n email: function email(value) {\n return typeof value === 'string' && !!value.match(pattern.email) && value.length < 255;\n },\n url: function url(value) {\n return typeof value === 'string' && !!value.match(pattern.url);\n },\n hex: function hex(value) {\n return typeof value === 'string' && !!value.match(pattern.hex);\n }\n};\n/**\n * Rule for validating the type of a value.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction type(rule, value, source, errors, options) {\n if (rule.required && value === undefined) {\n required(rule, value, source, errors, options);\n return;\n }\n\n var custom = ['integer', 'float', 'array', 'regexp', 'object', 'method', 'email', 'number', 'date', 'url', 'hex'];\n var ruleType = rule.type;\n\n if (custom.indexOf(ruleType) > -1) {\n if (!types[ruleType](value)) {\n errors.push(util.format(options.messages.types[ruleType], rule.fullField, rule.type));\n } // straight typeof check\n\n } else if (ruleType && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) !== rule.type) {\n errors.push(util.format(options.messages.types[ruleType], rule.fullField, rule.type));\n }\n}\n\nexport default type;","import * as util from '../util';\n/**\n * Rule for validating minimum and maximum allowed values.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction range(rule, value, source, errors, options) {\n var len = typeof rule.len === 'number';\n var min = typeof rule.min === 'number';\n var max = typeof rule.max === 'number'; // æ£åˆ™åŒ¹é…ç 点范围从U+010000一直到U+10FFFFçš„æ–‡å—(补充平é¢Supplementary Plane)\n\n var spRegexp = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n var val = value;\n var key = null;\n var num = typeof value === 'number';\n var str = typeof value === 'string';\n var arr = Array.isArray(value);\n\n if (num) {\n key = 'number';\n } else if (str) {\n key = 'string';\n } else if (arr) {\n key = 'array';\n } // if the value is not of a supported type for range validation\n // the validation rule rule should use the\n // type property to also test for a particular type\n\n\n if (!key) {\n return false;\n }\n\n if (arr) {\n val = value.length;\n }\n\n if (str) {\n // 处ç†ç 点大于U+010000çš„æ–‡å—length属性ä¸å‡†ç¡®çš„bug,如\"ð ®·ð ®·ð ®·\".lenght !== 3\n val = value.replace(spRegexp, '_').length;\n }\n\n if (len) {\n if (val !== rule.len) {\n errors.push(util.format(options.messages[key].len, rule.fullField, rule.len));\n }\n } else if (min && !max && val < rule.min) {\n errors.push(util.format(options.messages[key].min, rule.fullField, rule.min));\n } else if (max && !min && val > rule.max) {\n errors.push(util.format(options.messages[key].max, rule.fullField, rule.max));\n } else if (min && max && (val < rule.min || val > rule.max)) {\n errors.push(util.format(options.messages[key].range, rule.fullField, rule.min, rule.max));\n }\n}\n\nexport default range;","import * as util from '../util';\nvar ENUM = 'enum';\n/**\n * Rule for validating a value exists in an enumerable list.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction enumerable(rule, value, source, errors, options) {\n rule[ENUM] = Array.isArray(rule[ENUM]) ? rule[ENUM] : [];\n\n if (rule[ENUM].indexOf(value) === -1) {\n errors.push(util.format(options.messages[ENUM], rule.fullField, rule[ENUM].join(', ')));\n }\n}\n\nexport default enumerable;","import * as util from '../util';\n/**\n * Rule for validating a regular expression pattern.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param source The source object being validated.\n * @param errors An array of errors that this rule may add\n * validation errors to.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction pattern(rule, value, source, errors, options) {\n if (rule.pattern) {\n if (rule.pattern instanceof RegExp) {\n // if a RegExp instance is passed, reset `lastIndex` in case its `global`\n // flag is accidentally set to `true`, which in a validation scenario\n // is not necessary and the result might be misleading\n rule.pattern.lastIndex = 0;\n\n if (!rule.pattern.test(value)) {\n errors.push(util.format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n }\n } else if (typeof rule.pattern === 'string') {\n var _pattern = new RegExp(rule.pattern);\n\n if (!_pattern.test(value)) {\n errors.push(util.format(options.messages.pattern.mismatch, rule.fullField, value, rule.pattern));\n }\n }\n }\n}\n\nexport default pattern;","import required from './required';\nimport whitespace from './whitespace';\nimport type from './type';\nimport range from './range';\nimport enumRule from './enum';\nimport pattern from './pattern';\nexport default {\n required: required,\n whitespace: whitespace,\n type: type,\n range: range,\n 'enum': enumRule,\n pattern: pattern\n};","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n\nfunction type(rule, value, callback, source, options) {\n var ruleType = rule.type;\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, ruleType) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, ruleType);\n\n if (!isEmptyValue(value, ruleType)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default type;","import string from './string';\nimport method from './method';\nimport number from './number';\nimport _boolean from './boolean';\nimport regexp from './regexp';\nimport integer from './integer';\nimport _float from './float';\nimport array from './array';\nimport object from './object';\nimport enumValidator from './enum';\nimport pattern from './pattern';\nimport date from './date';\nimport required from './required';\nimport type from './type';\nexport default {\n string: string,\n method: method,\n number: number,\n \"boolean\": _boolean,\n regexp: regexp,\n integer: integer,\n \"float\": _float,\n array: array,\n object: object,\n 'enum': enumValidator,\n pattern: pattern,\n date: date,\n url: type,\n hex: type,\n email: type,\n required: required\n};","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Performs validation for string types.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction string(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, 'string');\n\n if (!isEmptyValue(value, 'string')) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n rules.pattern(rule, value, source, errors, options);\n\n if (rule.whitespace === true) {\n rules.whitespace(rule, value, source, errors, options);\n }\n }\n }\n\n callback(errors);\n}\n\nexport default string;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates a function.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction method(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default method;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates a number.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction number(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default number;","import { isEmptyValue } from '../util';\nimport rules from '../rule/';\n/**\n * Validates a boolean.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction _boolean(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default _boolean;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates the regular expression type.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction regexp(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value)) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default regexp;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates a number is an integer.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction integer(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default integer;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates a number is a floating point number.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction floatFn(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default floatFn;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates an array.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction array(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'array') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options, 'array');\n\n if (!isEmptyValue(value, 'array')) {\n rules.type(rule, value, source, errors, options);\n rules.range(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default array;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates an object.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction object(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value !== undefined) {\n rules.type(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default object;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\nvar ENUM = 'enum';\n/**\n * Validates an enumerable list.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction enumerable(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (value) {\n rules[ENUM](rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default enumerable;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n/**\n * Validates a regular expression pattern.\n *\n * Performs validation when a rule only contains\n * a pattern property but is not declared as a string type.\n *\n * @param rule The validation rule.\n * @param value The value of the field on the source object.\n * @param callback The callback function.\n * @param source The source object being validated.\n * @param options The validation options.\n * @param options.messages The validation messages.\n */\n\nfunction pattern(rule, value, callback, source, options) {\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field);\n\n if (validate) {\n if (isEmptyValue(value, 'string') && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value, 'string')) {\n rules.pattern(rule, value, source, errors, options);\n }\n }\n\n callback(errors);\n}\n\nexport default pattern;","import rules from '../rule/';\nimport { isEmptyValue } from '../util';\n\nfunction date(rule, value, callback, source, options) {\n // console.log('integer rule called %j', rule);\n var errors = [];\n var validate = rule.required || !rule.required && source.hasOwnProperty(rule.field); // console.log('validate on %s value', value);\n\n if (validate) {\n if (isEmptyValue(value) && !rule.required) {\n return callback();\n }\n\n rules.required(rule, value, source, errors, options);\n\n if (!isEmptyValue(value)) {\n var dateObject = void 0;\n\n if (typeof value === 'number') {\n dateObject = new Date(value);\n } else {\n dateObject = value;\n }\n\n rules.type(rule, dateObject, source, errors, options);\n\n if (dateObject) {\n rules.range(rule, dateObject.getTime(), source, errors, options);\n }\n }\n }\n\n callback(errors);\n}\n\nexport default date;","import _typeof from 'babel-runtime/helpers/typeof';\nimport rules from '../rule/';\n\nfunction required(rule, value, callback, source, options) {\n var errors = [];\n var type = Array.isArray(value) ? 'array' : typeof value === 'undefined' ? 'undefined' : _typeof(value);\n rules.required(rule, value, source, errors, options, type);\n callback(errors);\n}\n\nexport default required;","export function newMessages() {\n return {\n 'default': 'Validation error on field %s',\n required: '%s is required',\n 'enum': '%s must be one of %s',\n whitespace: '%s cannot be empty',\n date: {\n format: '%s date %s is invalid for format %s',\n parse: '%s date could not be parsed, %s is invalid ',\n invalid: '%s date %s is invalid'\n },\n types: {\n string: '%s is not a %s',\n method: '%s is not a %s (function)',\n array: '%s is not an %s',\n object: '%s is not an %s',\n number: '%s is not a %s',\n date: '%s is not a %s',\n \"boolean\": '%s is not a %s',\n integer: '%s is not an %s',\n \"float\": '%s is not a %s',\n regexp: '%s is not a valid %s',\n email: '%s is not a valid %s',\n url: '%s is not a valid %s',\n hex: '%s is not a valid %s'\n },\n string: {\n len: '%s must be exactly %s characters',\n min: '%s must be at least %s characters',\n max: '%s cannot be longer than %s characters',\n range: '%s must be between %s and %s characters'\n },\n number: {\n len: '%s must equal %s',\n min: '%s cannot be less than %s',\n max: '%s cannot be greater than %s',\n range: '%s must be between %s and %s'\n },\n array: {\n len: '%s must be exactly %s in length',\n min: '%s cannot be less than %s in length',\n max: '%s cannot be greater than %s in length',\n range: '%s must be between %s and %s in length'\n },\n pattern: {\n mismatch: '%s value %s does not match pattern %s'\n },\n clone: function clone() {\n var cloned = JSON.parse(JSON.stringify(this));\n cloned.clone = this.clone;\n return cloned;\n }\n };\n}\nexport var messages = newMessages();","import _extends from 'babel-runtime/helpers/extends';\nimport _typeof from 'babel-runtime/helpers/typeof';\nimport { format, complementError, asyncMap, warning, deepMerge } from './util';\nimport validators from './validator/';\nimport { messages as defaultMessages, newMessages } from './messages';\n/**\n * Encapsulates a validation schema.\n *\n * @param descriptor An object declaring validation rules\n * for this schema.\n */\n\nfunction Schema(descriptor) {\n this.rules = null;\n this._messages = defaultMessages;\n this.define(descriptor);\n}\n\nSchema.prototype = {\n messages: function messages(_messages) {\n if (_messages) {\n this._messages = deepMerge(newMessages(), _messages);\n }\n\n return this._messages;\n },\n define: function define(rules) {\n if (!rules) {\n throw new Error('Cannot configure a schema with no rules');\n }\n\n if ((typeof rules === 'undefined' ? 'undefined' : _typeof(rules)) !== 'object' || Array.isArray(rules)) {\n throw new Error('Rules must be an object');\n }\n\n this.rules = {};\n var z = void 0;\n var item = void 0;\n\n for (z in rules) {\n if (rules.hasOwnProperty(z)) {\n item = rules[z];\n this.rules[z] = Array.isArray(item) ? item : [item];\n }\n }\n },\n validate: function validate(source_) {\n var _this = this;\n\n var o = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var oc = arguments[2];\n var source = source_;\n var options = o;\n var callback = oc;\n\n if (typeof options === 'function') {\n callback = options;\n options = {};\n }\n\n if (!this.rules || Object.keys(this.rules).length === 0) {\n if (callback) {\n callback();\n }\n\n return;\n }\n\n function complete(results) {\n var i = void 0;\n var field = void 0;\n var errors = [];\n var fields = {};\n\n function add(e) {\n if (Array.isArray(e)) {\n errors = errors.concat.apply(errors, e);\n } else {\n errors.push(e);\n }\n }\n\n for (i = 0; i < results.length; i++) {\n add(results[i]);\n }\n\n if (!errors.length) {\n errors = null;\n fields = null;\n } else {\n for (i = 0; i < errors.length; i++) {\n field = errors[i].field;\n fields[field] = fields[field] || [];\n fields[field].push(errors[i]);\n }\n }\n\n callback(errors, fields);\n }\n\n if (options.messages) {\n var messages = this.messages();\n\n if (messages === defaultMessages) {\n messages = newMessages();\n }\n\n deepMerge(messages, options.messages);\n options.messages = messages;\n } else {\n options.messages = this.messages();\n }\n\n var arr = void 0;\n var value = void 0;\n var series = {};\n var keys = options.keys || Object.keys(this.rules);\n keys.forEach(function (z) {\n arr = _this.rules[z];\n value = source[z];\n arr.forEach(function (r) {\n var rule = r;\n\n if (typeof rule.transform === 'function') {\n if (source === source_) {\n source = _extends({}, source);\n }\n\n value = source[z] = rule.transform(value);\n }\n\n if (typeof rule === 'function') {\n rule = {\n validator: rule\n };\n } else {\n rule = _extends({}, rule);\n }\n\n rule.validator = _this.getValidationMethod(rule);\n rule.field = z;\n rule.fullField = rule.fullField || z;\n rule.type = _this.getType(rule);\n\n if (!rule.validator) {\n return;\n }\n\n series[z] = series[z] || [];\n series[z].push({\n rule: rule,\n value: value,\n source: source,\n field: z\n });\n });\n });\n var errorFields = {};\n asyncMap(series, options, function (data, doIt) {\n var rule = data.rule;\n var deep = (rule.type === 'object' || rule.type === 'array') && (_typeof(rule.fields) === 'object' || _typeof(rule.defaultField) === 'object');\n deep = deep && (rule.required || !rule.required && data.value);\n rule.field = data.field;\n\n function addFullfield(key, schema) {\n return _extends({}, schema, {\n fullField: rule.fullField + '.' + key\n });\n }\n\n function cb() {\n var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var errors = e;\n\n if (!Array.isArray(errors)) {\n errors = [errors];\n }\n\n if (errors.length) {\n warning('async-validator:', errors);\n }\n\n if (errors.length && rule.message) {\n errors = [].concat(rule.message);\n }\n\n errors = errors.map(complementError(rule));\n\n if (options.first && errors.length) {\n errorFields[rule.field] = 1;\n return doIt(errors);\n }\n\n if (!deep) {\n doIt(errors);\n } else {\n // if rule is required but the target object\n // does not exist fail at the rule level and don't\n // go deeper\n if (rule.required && !data.value) {\n if (rule.message) {\n errors = [].concat(rule.message).map(complementError(rule));\n } else if (options.error) {\n errors = [options.error(rule, format(options.messages.required, rule.field))];\n } else {\n errors = [];\n }\n\n return doIt(errors);\n }\n\n var fieldsSchema = {};\n\n if (rule.defaultField) {\n for (var k in data.value) {\n if (data.value.hasOwnProperty(k)) {\n fieldsSchema[k] = rule.defaultField;\n }\n }\n }\n\n fieldsSchema = _extends({}, fieldsSchema, data.rule.fields);\n\n for (var f in fieldsSchema) {\n if (fieldsSchema.hasOwnProperty(f)) {\n var fieldSchema = Array.isArray(fieldsSchema[f]) ? fieldsSchema[f] : [fieldsSchema[f]];\n fieldsSchema[f] = fieldSchema.map(addFullfield.bind(null, f));\n }\n }\n\n var schema = new Schema(fieldsSchema);\n schema.messages(options.messages);\n\n if (data.rule.options) {\n data.rule.options.messages = options.messages;\n data.rule.options.error = options.error;\n }\n\n schema.validate(data.value, data.rule.options || options, function (errs) {\n doIt(errs && errs.length ? errors.concat(errs) : errs);\n });\n }\n }\n\n var res = rule.validator(rule, data.value, cb, data.source, options);\n\n if (res && res.then) {\n res.then(function () {\n return cb();\n }, function (e) {\n return cb(e);\n });\n }\n }, function (results) {\n complete(results);\n });\n },\n getType: function getType(rule) {\n if (rule.type === undefined && rule.pattern instanceof RegExp) {\n rule.type = 'pattern';\n }\n\n if (typeof rule.validator !== 'function' && rule.type && !validators.hasOwnProperty(rule.type)) {\n throw new Error(format('Unknown rule type %s', rule.type));\n }\n\n return rule.type || 'string';\n },\n getValidationMethod: function getValidationMethod(rule) {\n if (typeof rule.validator === 'function') {\n return rule.validator;\n }\n\n var keys = Object.keys(rule);\n var messageIndex = keys.indexOf('message');\n\n if (messageIndex !== -1) {\n keys.splice(messageIndex, 1);\n }\n\n if (keys.length === 1 && keys[0] === 'required') {\n return validators.required;\n }\n\n return validators[this.getType(rule)] || false;\n }\n};\n\nSchema.register = function register(type, validator) {\n if (typeof validator !== 'function') {\n throw new Error('Cannot register a validator by type, validator is not a function');\n }\n\n validators[type] = validator;\n};\n\nSchema.messages = defaultMessages;\nexport default Schema;","import _includes from './internal/_includes.js';\nimport _curry2 from './internal/_curry2.js';\n/**\n * Returns `true` if the specified value is equal, in [`R.equals`](#equals)\n * terms, to at least one element of the given list; `false` otherwise.\n * Works also with strings.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig a -> [a] -> Boolean\n * @param {Object} a The item to compare against.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if an equivalent item is in the list, `false` otherwise.\n * @see R.any\n * @example\n *\n * R.includes(3, [1, 2, 3]); //=> true\n * R.includes(4, [1, 2, 3]); //=> false\n * R.includes({ name: 'Fred' }, [{ name: 'Fred' }]); //=> true\n * R.includes([42], [[42]]); //=> true\n * R.includes('ba', 'banana'); //=>true\n */\n\nvar includes =\n/*#__PURE__*/\n_curry2(_includes);\n\nexport default includes;","import toInteger from '../_lib/toInteger/index.js';\nimport addMilliseconds from '../addMilliseconds/index.js';\n/**\n * @name subMilliseconds\n * @category Millisecond Helpers\n * @summary Subtract the specified number of milliseconds from the given date.\n *\n * @description\n * Subtract the specified number of milliseconds from the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be subtracted\n * @returns {Date} the new date with the milliseconds subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:\n * var result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:29.250\n */\n\nexport default function subMilliseconds(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var amount = toInteger(dirtyAmount);\n return addMilliseconds(dirtyDate, -amount);\n}","import toInteger from '../_lib/toInteger/index.js';\nimport toDate from '../toDate/index.js';\n/**\n * @name addMilliseconds\n * @category Millisecond Helpers\n * @summary Add the specified number of milliseconds to the given date.\n *\n * @description\n * Add the specified number of milliseconds to the given date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of milliseconds to be added\n * @returns {Date} the new date with the milliseconds added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 750 milliseconds to 10 July 2014 12:45:30.000:\n * var result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)\n * //=> Thu Jul 10 2014 12:45:30.750\n */\n\nexport default function addMilliseconds(dirtyDate, dirtyAmount) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var timestamp = toDate(dirtyDate).getTime();\n var amount = toInteger(dirtyAmount);\n return new Date(timestamp + amount);\n}","export default function addLeadingZeros(number, targetLength) {\n var sign = number < 0 ? '-' : '';\n var output = Math.abs(number).toString();\n\n while (output.length < targetLength) {\n output = '0' + output;\n }\n\n return sign + output;\n}","import addLeadingZeros from '../../addLeadingZeros/index.js';\n/*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | |\n * | d | Day of month | D | |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | m | Minute | M | Month |\n * | s | Second | S | Fraction of second |\n * | y | Year (abs) | Y | |\n *\n * Letters marked by * are not implemented but reserved by Unicode mini.\n */\n\nvar formatters = {\n // Year\n y: function y(date, token) {\n // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens\n // | Year | y | yy | yyy | yyyy | yyyyy |\n // |----------|-------|----|-------|-------|-------|\n // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |\n // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |\n // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |\n // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |\n // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);\n },\n // Month\n M: function M(date, token) {\n var month = date.getUTCMonth();\n return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n // Day of the month\n d: function d(date, token) {\n return addLeadingZeros(date.getUTCDate(), token.length);\n },\n // AM or PM\n a: function a(date, token) {\n var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';\n\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return dayPeriodEnumValue.toUpperCase();\n\n case 'aaaaa':\n return dayPeriodEnumValue[0];\n\n case 'aaaa':\n default:\n return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';\n }\n },\n // Hour [1-12]\n h: function h(date, token) {\n return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);\n },\n // Hour [0-23]\n H: function H(date, token) {\n return addLeadingZeros(date.getUTCHours(), token.length);\n },\n // Minute\n m: function m(date, token) {\n return addLeadingZeros(date.getUTCMinutes(), token.length);\n },\n // Second\n s: function s(date, token) {\n return addLeadingZeros(date.getUTCSeconds(), token.length);\n },\n // Fraction of second\n S: function S(date, token) {\n var numberOfDigits = token.length;\n var milliseconds = date.getUTCMilliseconds();\n var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\nexport default formatters;","import toDate from '../../toDate/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeek(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var weekStartsOn = 1;\n var date = toDate(dirtyDate);\n var day = date.getUTCDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n date.setUTCDate(date.getUTCDate() - diff);\n date.setUTCHours(0, 0, 0, 0);\n return date;\n}","import toDate from '../../toDate/index.js';\nimport startOfUTCISOWeek from '../startOfUTCISOWeek/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeekYear(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var year = date.getUTCFullYear();\n var fourthOfJanuaryOfNextYear = new Date(0);\n fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);\n var fourthOfJanuaryOfThisYear = new Date(0);\n fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import toDate from '../../toDate/index.js';\nimport startOfUTCISOWeek from '../startOfUTCISOWeek/index.js';\nimport startOfUTCISOWeekYear from '../startOfUTCISOWeekYear/index.js';\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCISOWeek(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import getUTCISOWeekYear from '../getUTCISOWeekYear/index.js';\nimport startOfUTCISOWeek from '../startOfUTCISOWeek/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCISOWeekYear(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var year = getUTCISOWeekYear(dirtyDate);\n var fourthOfJanuary = new Date(0);\n fourthOfJanuary.setUTCFullYear(year, 0, 4);\n fourthOfJanuary.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCISOWeek(fourthOfJanuary);\n return date;\n}","import toInteger from '../toInteger/index.js';\nimport toDate from '../../toDate/index.js';\nimport startOfUTCWeek from '../startOfUTCWeek/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeekYear(dirtyDate, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate, dirtyOptions);\n var year = date.getUTCFullYear();\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var firstWeekOfNextYear = new Date(0);\n firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);\n var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, dirtyOptions);\n var firstWeekOfThisYear = new Date(0);\n firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);\n var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, dirtyOptions);\n\n if (date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}","import toDate from '../../toDate/index.js';\nimport startOfUTCWeek from '../startOfUTCWeek/index.js';\nimport startOfUTCWeekYear from '../startOfUTCWeekYear/index.js';\nvar MILLISECONDS_IN_WEEK = 604800000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCWeek(dirtyDate, options) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime(); // Round the number of days to the nearest integer\n // because the number of milliseconds in a week is not constant\n // (e.g. it's different in the week of the daylight saving time clock shift)\n\n return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;\n}","import toInteger from '../toInteger/index.js';\nimport getUTCWeekYear from '../getUTCWeekYear/index.js';\nimport startOfUTCWeek from '../startOfUTCWeek/index.js'; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function startOfUTCWeekYear(dirtyDate, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var options = dirtyOptions || {};\n var locale = options.locale;\n var localeFirstWeekContainsDate = locale && locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate);\n var year = getUTCWeekYear(dirtyDate, dirtyOptions);\n var firstWeek = new Date(0);\n firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setUTCHours(0, 0, 0, 0);\n var date = startOfUTCWeek(firstWeek, dirtyOptions);\n return date;\n}","import lightFormatters from '../lightFormatters/index.js';\nimport getUTCDayOfYear from '../../../_lib/getUTCDayOfYear/index.js';\nimport getUTCISOWeek from '../../../_lib/getUTCISOWeek/index.js';\nimport getUTCISOWeekYear from '../../../_lib/getUTCISOWeekYear/index.js';\nimport getUTCWeek from '../../../_lib/getUTCWeek/index.js';\nimport getUTCWeekYear from '../../../_lib/getUTCWeekYear/index.js';\nimport addLeadingZeros from '../../addLeadingZeros/index.js';\nvar dayPeriodEnum = {\n am: 'am',\n pm: 'pm',\n midnight: 'midnight',\n noon: 'noon',\n morning: 'morning',\n afternoon: 'afternoon',\n evening: 'evening',\n night: 'night'\n /*\n * | | Unit | | Unit |\n * |-----|--------------------------------|-----|--------------------------------|\n * | a | AM, PM | A* | Milliseconds in day |\n * | b | AM, PM, noon, midnight | B | Flexible day period |\n * | c | Stand-alone local day of week | C* | Localized hour w/ day period |\n * | d | Day of month | D | Day of year |\n * | e | Local day of week | E | Day of week |\n * | f | | F* | Day of week in month |\n * | g* | Modified Julian day | G | Era |\n * | h | Hour [1-12] | H | Hour [0-23] |\n * | i! | ISO day of week | I! | ISO week of year |\n * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |\n * | k | Hour [1-24] | K | Hour [0-11] |\n * | l* | (deprecated) | L | Stand-alone month |\n * | m | Minute | M | Month |\n * | n | | N | |\n * | o! | Ordinal number modifier | O | Timezone (GMT) |\n * | p! | Long localized time | P! | Long localized date |\n * | q | Stand-alone quarter | Q | Quarter |\n * | r* | Related Gregorian year | R! | ISO week-numbering year |\n * | s | Second | S | Fraction of second |\n * | t! | Seconds timestamp | T! | Milliseconds timestamp |\n * | u | Extended year | U* | Cyclic year |\n * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |\n * | w | Local week of year | W* | Week of month |\n * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |\n * | y | Year (abs) | Y | Local week-numbering year |\n * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |\n *\n * Letters marked by * are not implemented but reserved by Unicode mini.\n *\n * Letters marked by ! are non-mini, but implemented by date-fns:\n * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)\n * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,\n * i.e. 7 for Sunday, 1 for Monday, etc.\n * - `I` is ISO week of year, as opposed to `w` which is local week of year.\n * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.\n * `R` is supposed to be used in conjunction with `I` and `i`\n * for universal ISO week-numbering date, whereas\n * `Y` is supposed to be used in conjunction with `w` and `e`\n * for week-numbering date specific to the locale.\n * - `P` is long localized date format\n * - `p` is long localized time format\n */\n\n};\nvar formatters = {\n // Era\n G: function G(date, token, localize) {\n var era = date.getUTCFullYear() > 0 ? 1 : 0;\n\n switch (token) {\n // AD, BC\n case 'G':\n case 'GG':\n case 'GGG':\n return localize.era(era, {\n width: 'abbreviated'\n });\n // A, B\n\n case 'GGGGG':\n return localize.era(era, {\n width: 'narrow'\n });\n // Anno Domini, Before Christ\n\n case 'GGGG':\n default:\n return localize.era(era, {\n width: 'wide'\n });\n }\n },\n // Year\n y: function y(date, token, localize) {\n // Ordinal number\n if (token === 'yo') {\n var signedYear = date.getUTCFullYear(); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize.ordinalNumber(year, {\n unit: 'year'\n });\n }\n\n return lightFormatters.y(date, token);\n },\n // Local week-numbering year\n Y: function Y(date, token, localize, options) {\n var signedWeekYear = getUTCWeekYear(date, options); // Returns 1 for 1 BC (which is year 0 in JavaScript)\n\n var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear; // Two digit year\n\n if (token === 'YY') {\n var twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n } // Ordinal number\n\n\n if (token === 'Yo') {\n return localize.ordinalNumber(weekYear, {\n unit: 'year'\n });\n } // Padding\n\n\n return addLeadingZeros(weekYear, token.length);\n },\n // ISO week-numbering year\n R: function R(date, token) {\n var isoWeekYear = getUTCISOWeekYear(date); // Padding\n\n return addLeadingZeros(isoWeekYear, token.length);\n },\n // Extended year. This is a single number designating the year of this calendar system.\n // The main difference between `y` and `u` localizers are B.C. years:\n // | Year | `y` | `u` |\n // |------|-----|-----|\n // | AC 1 | 1 | 1 |\n // | BC 1 | 1 | 0 |\n // | BC 2 | 2 | -1 |\n // Also `yy` always returns the last two digits of a year,\n // while `uu` pads single digit years to 2 characters and returns other years unchanged.\n u: function u(date, token) {\n var year = date.getUTCFullYear();\n return addLeadingZeros(year, token.length);\n },\n // Quarter\n Q: function Q(date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n\n switch (token) {\n // 1, 2, 3, 4\n case 'Q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'QQ':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'Qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'QQQ':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'QQQQQ':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'formatting'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'QQQQ':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone quarter\n q: function q(date, token, localize) {\n var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);\n\n switch (token) {\n // 1, 2, 3, 4\n case 'q':\n return String(quarter);\n // 01, 02, 03, 04\n\n case 'qq':\n return addLeadingZeros(quarter, 2);\n // 1st, 2nd, 3rd, 4th\n\n case 'qo':\n return localize.ordinalNumber(quarter, {\n unit: 'quarter'\n });\n // Q1, Q2, Q3, Q4\n\n case 'qqq':\n return localize.quarter(quarter, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // 1, 2, 3, 4 (narrow quarter; could be not numerical)\n\n case 'qqqqq':\n return localize.quarter(quarter, {\n width: 'narrow',\n context: 'standalone'\n });\n // 1st quarter, 2nd quarter, ...\n\n case 'qqqq':\n default:\n return localize.quarter(quarter, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Month\n M: function M(date, token, localize) {\n var month = date.getUTCMonth();\n\n switch (token) {\n case 'M':\n case 'MM':\n return lightFormatters.M(date, token);\n // 1st, 2nd, ..., 12th\n\n case 'Mo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'MMM':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // J, F, ..., D\n\n case 'MMMMM':\n return localize.month(month, {\n width: 'narrow',\n context: 'formatting'\n });\n // January, February, ..., December\n\n case 'MMMM':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone month\n L: function L(date, token, localize) {\n var month = date.getUTCMonth();\n\n switch (token) {\n // 1, 2, ..., 12\n case 'L':\n return String(month + 1);\n // 01, 02, ..., 12\n\n case 'LL':\n return addLeadingZeros(month + 1, 2);\n // 1st, 2nd, ..., 12th\n\n case 'Lo':\n return localize.ordinalNumber(month + 1, {\n unit: 'month'\n });\n // Jan, Feb, ..., Dec\n\n case 'LLL':\n return localize.month(month, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // J, F, ..., D\n\n case 'LLLLL':\n return localize.month(month, {\n width: 'narrow',\n context: 'standalone'\n });\n // January, February, ..., December\n\n case 'LLLL':\n default:\n return localize.month(month, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // Local week of year\n w: function w(date, token, localize, options) {\n var week = getUTCWeek(date, options);\n\n if (token === 'wo') {\n return localize.ordinalNumber(week, {\n unit: 'week'\n });\n }\n\n return addLeadingZeros(week, token.length);\n },\n // ISO week of year\n I: function I(date, token, localize) {\n var isoWeek = getUTCISOWeek(date);\n\n if (token === 'Io') {\n return localize.ordinalNumber(isoWeek, {\n unit: 'week'\n });\n }\n\n return addLeadingZeros(isoWeek, token.length);\n },\n // Day of the month\n d: function d(date, token, localize) {\n if (token === 'do') {\n return localize.ordinalNumber(date.getUTCDate(), {\n unit: 'date'\n });\n }\n\n return lightFormatters.d(date, token);\n },\n // Day of year\n D: function D(date, token, localize) {\n var dayOfYear = getUTCDayOfYear(date);\n\n if (token === 'Do') {\n return localize.ordinalNumber(dayOfYear, {\n unit: 'dayOfYear'\n });\n }\n\n return addLeadingZeros(dayOfYear, token.length);\n },\n // Day of week\n E: function E(date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n\n switch (token) {\n // Tue\n case 'E':\n case 'EE':\n case 'EEE':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'EEEEE':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'EEEEEE':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'EEEE':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Local day of week\n e: function e(date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n\n switch (token) {\n // Numerical value (Nth day of week with current locale or weekStartsOn)\n case 'e':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'ee':\n return addLeadingZeros(localDayOfWeek, 2);\n // 1st, 2nd, ..., 7th\n\n case 'eo':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n\n case 'eee':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'eeeee':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'eeeeee':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'eeee':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Stand-alone local day of week\n c: function c(date, token, localize, options) {\n var dayOfWeek = date.getUTCDay();\n var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n\n switch (token) {\n // Numerical value (same as in `e`)\n case 'c':\n return String(localDayOfWeek);\n // Padded numerical value\n\n case 'cc':\n return addLeadingZeros(localDayOfWeek, token.length);\n // 1st, 2nd, ..., 7th\n\n case 'co':\n return localize.ordinalNumber(localDayOfWeek, {\n unit: 'day'\n });\n\n case 'ccc':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'standalone'\n });\n // T\n\n case 'ccccc':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'standalone'\n });\n // Tu\n\n case 'cccccc':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'standalone'\n });\n // Tuesday\n\n case 'cccc':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'standalone'\n });\n }\n },\n // ISO day of week\n i: function i(date, token, localize) {\n var dayOfWeek = date.getUTCDay();\n var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n\n switch (token) {\n // 2\n case 'i':\n return String(isoDayOfWeek);\n // 02\n\n case 'ii':\n return addLeadingZeros(isoDayOfWeek, token.length);\n // 2nd\n\n case 'io':\n return localize.ordinalNumber(isoDayOfWeek, {\n unit: 'day'\n });\n // Tue\n\n case 'iii':\n return localize.day(dayOfWeek, {\n width: 'abbreviated',\n context: 'formatting'\n });\n // T\n\n case 'iiiii':\n return localize.day(dayOfWeek, {\n width: 'narrow',\n context: 'formatting'\n });\n // Tu\n\n case 'iiiiii':\n return localize.day(dayOfWeek, {\n width: 'short',\n context: 'formatting'\n });\n // Tuesday\n\n case 'iiii':\n default:\n return localize.day(dayOfWeek, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM or PM\n a: function a(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n\n switch (token) {\n case 'a':\n case 'aa':\n case 'aaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'aaaaa':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'aaaa':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // AM, PM, midnight, noon\n b: function b(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';\n }\n\n switch (token) {\n case 'b':\n case 'bb':\n case 'bbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'bbbbb':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'bbbb':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // in the morning, in the afternoon, in the evening, at night\n B: function B(date, token, localize) {\n var hours = date.getUTCHours();\n var dayPeriodEnumValue;\n\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n\n switch (token) {\n case 'B':\n case 'BB':\n case 'BBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'abbreviated',\n context: 'formatting'\n });\n\n case 'BBBBB':\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'narrow',\n context: 'formatting'\n });\n\n case 'BBBB':\n default:\n return localize.dayPeriod(dayPeriodEnumValue, {\n width: 'wide',\n context: 'formatting'\n });\n }\n },\n // Hour [1-12]\n h: function h(date, token, localize) {\n if (token === 'ho') {\n var hours = date.getUTCHours() % 12;\n if (hours === 0) hours = 12;\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return lightFormatters.h(date, token);\n },\n // Hour [0-23]\n H: function H(date, token, localize) {\n if (token === 'Ho') {\n return localize.ordinalNumber(date.getUTCHours(), {\n unit: 'hour'\n });\n }\n\n return lightFormatters.H(date, token);\n },\n // Hour [0-11]\n K: function K(date, token, localize) {\n var hours = date.getUTCHours() % 12;\n\n if (token === 'Ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n // Hour [1-24]\n k: function k(date, token, localize) {\n var hours = date.getUTCHours();\n if (hours === 0) hours = 24;\n\n if (token === 'ko') {\n return localize.ordinalNumber(hours, {\n unit: 'hour'\n });\n }\n\n return addLeadingZeros(hours, token.length);\n },\n // Minute\n m: function m(date, token, localize) {\n if (token === 'mo') {\n return localize.ordinalNumber(date.getUTCMinutes(), {\n unit: 'minute'\n });\n }\n\n return lightFormatters.m(date, token);\n },\n // Second\n s: function s(date, token, localize) {\n if (token === 'so') {\n return localize.ordinalNumber(date.getUTCSeconds(), {\n unit: 'second'\n });\n }\n\n return lightFormatters.s(date, token);\n },\n // Fraction of second\n S: function S(date, token) {\n return lightFormatters.S(date, token);\n },\n // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)\n X: function X(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n if (timezoneOffset === 0) {\n return 'Z';\n }\n\n switch (token) {\n // Hours and optional minutes\n case 'X':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XX`\n\n case 'XXXX':\n case 'XX':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `XXX`\n\n case 'XXXXX':\n case 'XXX': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)\n x: function x(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Hours and optional minutes\n case 'x':\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n // Hours, minutes and optional seconds without `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xx`\n\n case 'xxxx':\n case 'xx':\n // Hours and minutes without `:` delimiter\n return formatTimezone(timezoneOffset);\n // Hours, minutes and optional seconds with `:` delimiter\n // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets\n // so this token always has the same output as `xxx`\n\n case 'xxxxx':\n case 'xxx': // Hours and minutes with `:` delimiter\n\n default:\n return formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (GMT)\n O: function O(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Short\n case 'O':\n case 'OO':\n case 'OOO':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'OOOO':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Timezone (specific non-location)\n z: function z(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timezoneOffset = originalDate.getTimezoneOffset();\n\n switch (token) {\n // Short\n case 'z':\n case 'zz':\n case 'zzz':\n return 'GMT' + formatTimezoneShort(timezoneOffset, ':');\n // Long\n\n case 'zzzz':\n default:\n return 'GMT' + formatTimezone(timezoneOffset, ':');\n }\n },\n // Seconds timestamp\n t: function t(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = Math.floor(originalDate.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n // Milliseconds timestamp\n T: function T(date, token, _localize, options) {\n var originalDate = options._originalDate || date;\n var timestamp = originalDate.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\n\nfunction formatTimezoneShort(offset, dirtyDelimiter) {\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = Math.floor(absOffset / 60);\n var minutes = absOffset % 60;\n\n if (minutes === 0) {\n return sign + String(hours);\n }\n\n var delimiter = dirtyDelimiter || '';\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\n\nfunction formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {\n if (offset % 60 === 0) {\n var sign = offset > 0 ? '-' : '+';\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n\n return formatTimezone(offset, dirtyDelimiter);\n}\n\nfunction formatTimezone(offset, dirtyDelimiter) {\n var delimiter = dirtyDelimiter || '';\n var sign = offset > 0 ? '-' : '+';\n var absOffset = Math.abs(offset);\n var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);\n var minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\n\nexport default formatters;","import toDate from '../../toDate/index.js';\nvar MILLISECONDS_IN_DAY = 86400000; // This function will be a part of public API when UTC function will be implemented.\n// See issue: https://github.com/date-fns/date-fns/issues/376\n\nexport default function getUTCDayOfYear(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var timestamp = date.getTime();\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n var startOfYearTimestamp = date.getTime();\n var difference = timestamp - startOfYearTimestamp;\n return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;\n}","function dateLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'P':\n return formatLong.date({\n width: 'short'\n });\n\n case 'PP':\n return formatLong.date({\n width: 'medium'\n });\n\n case 'PPP':\n return formatLong.date({\n width: 'long'\n });\n\n case 'PPPP':\n default:\n return formatLong.date({\n width: 'full'\n });\n }\n}\n\nfunction timeLongFormatter(pattern, formatLong) {\n switch (pattern) {\n case 'p':\n return formatLong.time({\n width: 'short'\n });\n\n case 'pp':\n return formatLong.time({\n width: 'medium'\n });\n\n case 'ppp':\n return formatLong.time({\n width: 'long'\n });\n\n case 'pppp':\n default:\n return formatLong.time({\n width: 'full'\n });\n }\n}\n\nfunction dateTimeLongFormatter(pattern, formatLong) {\n var matchResult = pattern.match(/(P+)(p+)?/);\n var datePattern = matchResult[1];\n var timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n var dateTimeFormat;\n\n switch (datePattern) {\n case 'P':\n dateTimeFormat = formatLong.dateTime({\n width: 'short'\n });\n break;\n\n case 'PP':\n dateTimeFormat = formatLong.dateTime({\n width: 'medium'\n });\n break;\n\n case 'PPP':\n dateTimeFormat = formatLong.dateTime({\n width: 'long'\n });\n break;\n\n case 'PPPP':\n default:\n dateTimeFormat = formatLong.dateTime({\n width: 'full'\n });\n break;\n }\n\n return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));\n}\n\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\nexport default longFormatters;","var protectedDayOfYearTokens = ['D', 'DD'];\nvar protectedWeekYearTokens = ['YY', 'YYYY'];\nexport function isProtectedDayOfYearToken(token) {\n return protectedDayOfYearTokens.indexOf(token) !== -1;\n}\nexport function isProtectedWeekYearToken(token) {\n return protectedWeekYearTokens.indexOf(token) !== -1;\n}\nexport function throwProtectedError(token) {\n if (token === 'YYYY') {\n throw new RangeError('Use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr');\n } else if (token === 'YY') {\n throw new RangeError('Use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr');\n } else if (token === 'D') {\n throw new RangeError('Use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr');\n } else if (token === 'DD') {\n throw new RangeError('Use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr');\n }\n}","import isValid from '../isValid/index.js';\nimport defaultLocale from '../locale/en-US/index.js';\nimport subMilliseconds from '../subMilliseconds/index.js';\nimport toDate from '../toDate/index.js';\nimport formatters from '../_lib/format/formatters/index.js';\nimport longFormatters from '../_lib/format/longFormatters/index.js';\nimport getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nimport { isProtectedDayOfYearToken, isProtectedWeekYearToken, throwProtectedError } from '../_lib/protectedTokens/index.js';\nimport toInteger from '../_lib/toInteger/index.js'; // This RegExp consists of three parts separated by `|`:\n// - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token\n// (one of the certain letters followed by `o`)\n// - (\\w)\\1* matches any sequences of the same letter\n// - '' matches two quote characters in a row\n// - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),\n// except a single quote symbol, which ends the sequence.\n// Two quote characters do not end the sequence.\n// If there is no matching single quote\n// then the sequence will continue until the end of the string.\n// - . matches any single character unmatched by previous parts of the RegExps\n\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also\n// sequences of symbols P, p, and the combinations like `PPPPPPPppppp`\n\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'(.*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n/**\n * @name format\n * @category Common Helpers\n * @summary Format the date.\n *\n * @description\n * Return the formatted date string in the given format. The result may vary by locale.\n *\n * > âš ï¸ Please note that the `format` tokens differ from Moment.js and other libraries.\n * > See: https://git.io/fxCyr\n *\n * The characters wrapped between two single quotes characters (') are escaped.\n * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.\n * (see the last example)\n *\n * Format of the string is based on Unicode Technical Mini #35:\n * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table\n * with a few additions (see note 7 below the table).\n *\n * Accepted patterns:\n * | Unit | Pattern | Result examples | Notes |\n * |---------------------------------|---------|-----------------------------------|-------|\n * | Era | G..GGG | AD, BC | |\n * | | GGGG | Anno Domini, Before Christ | 2 |\n * | | GGGGG | A, B | |\n * | Calendar year | y | 44, 1, 1900, 2017 | 5 |\n * | | yo | 44th, 1st, 0th, 17th | 5,7 |\n * | | yy | 44, 01, 00, 17 | 5 |\n * | | yyy | 044, 001, 1900, 2017 | 5 |\n * | | yyyy | 0044, 0001, 1900, 2017 | 5 |\n * | | yyyyy | ... | 3,5 |\n * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |\n * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |\n * | | YY | 44, 01, 00, 17 | 5,8 |\n * | | YYY | 044, 001, 1900, 2017 | 5 |\n * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |\n * | | YYYYY | ... | 3,5 |\n * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |\n * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |\n * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |\n * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |\n * | | RRRRR | ... | 3,5,7 |\n * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |\n * | | uu | -43, 01, 1900, 2017 | 5 |\n * | | uuu | -043, 001, 1900, 2017 | 5 |\n * | | uuuu | -0043, 0001, 1900, 2017 | 5 |\n * | | uuuuu | ... | 3,5 |\n * | Quarter (formatting) | Q | 1, 2, 3, 4 | |\n * | | Qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | QQ | 01, 02, 03, 04 | |\n * | | QQQ | Q1, Q2, Q3, Q4 | |\n * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |\n * | | QQQQQ | 1, 2, 3, 4 | 4 |\n * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |\n * | | qo | 1st, 2nd, 3rd, 4th | 7 |\n * | | qq | 01, 02, 03, 04 | |\n * | | qqq | Q1, Q2, Q3, Q4 | |\n * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |\n * | | qqqqq | 1, 2, 3, 4 | 4 |\n * | Month (formatting) | M | 1, 2, ..., 12 | |\n * | | Mo | 1st, 2nd, ..., 12th | 7 |\n * | | MM | 01, 02, ..., 12 | |\n * | | MMM | Jan, Feb, ..., Dec | |\n * | | MMMM | January, February, ..., December | 2 |\n * | | MMMMM | J, F, ..., D | |\n * | Month (stand-alone) | L | 1, 2, ..., 12 | |\n * | | Lo | 1st, 2nd, ..., 12th | 7 |\n * | | LL | 01, 02, ..., 12 | |\n * | | LLL | Jan, Feb, ..., Dec | |\n * | | LLLL | January, February, ..., December | 2 |\n * | | LLLLL | J, F, ..., D | |\n * | Local week of year | w | 1, 2, ..., 53 | |\n * | | wo | 1st, 2nd, ..., 53th | 7 |\n * | | ww | 01, 02, ..., 53 | |\n * | ISO week of year | I | 1, 2, ..., 53 | 7 |\n * | | Io | 1st, 2nd, ..., 53th | 7 |\n * | | II | 01, 02, ..., 53 | 7 |\n * | Day of month | d | 1, 2, ..., 31 | |\n * | | do | 1st, 2nd, ..., 31st | 7 |\n * | | dd | 01, 02, ..., 31 | |\n * | Day of year | D | 1, 2, ..., 365, 366 | 9 |\n * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |\n * | | DD | 01, 02, ..., 365, 366 | 9 |\n * | | DDD | 001, 002, ..., 365, 366 | |\n * | | DDDD | ... | 3 |\n * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Su | |\n * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |\n * | | EEEEE | M, T, W, T, F, S, S | |\n * | | EEEEEE | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |\n * | | io | 1st, 2nd, ..., 7th | 7 |\n * | | ii | 01, 02, ..., 07 | 7 |\n * | | iii | Mon, Tue, Wed, ..., Su | 7 |\n * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |\n * | | iiiii | M, T, W, T, F, S, S | 7 |\n * | | iiiiii | Mo, Tu, We, Th, Fr, Su, Sa | 7 |\n * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |\n * | | eo | 2nd, 3rd, ..., 1st | 7 |\n * | | ee | 02, 03, ..., 01 | |\n * | | eee | Mon, Tue, Wed, ..., Su | |\n * | | eeee | Monday, Tuesday, ..., Sunday | 2 |\n * | | eeeee | M, T, W, T, F, S, S | |\n * | | eeeeee | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |\n * | | co | 2nd, 3rd, ..., 1st | 7 |\n * | | cc | 02, 03, ..., 01 | |\n * | | ccc | Mon, Tue, Wed, ..., Su | |\n * | | cccc | Monday, Tuesday, ..., Sunday | 2 |\n * | | ccccc | M, T, W, T, F, S, S | |\n * | | cccccc | Mo, Tu, We, Th, Fr, Su, Sa | |\n * | AM, PM | a..aaa | AM, PM | |\n * | | aaaa | a.m., p.m. | 2 |\n * | | aaaaa | a, p | |\n * | AM, PM, noon, midnight | b..bbb | AM, PM, noon, midnight | |\n * | | bbbb | a.m., p.m., noon, midnight | 2 |\n * | | bbbbb | a, p, n, mi | |\n * | Flexible day period | B..BBB | at night, in the morning, ... | |\n * | | BBBB | at night, in the morning, ... | 2 |\n * | | BBBBB | at night, in the morning, ... | |\n * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |\n * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |\n * | | hh | 01, 02, ..., 11, 12 | |\n * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |\n * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |\n * | | HH | 00, 01, 02, ..., 23 | |\n * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |\n * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |\n * | | KK | 1, 2, ..., 11, 0 | |\n * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |\n * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |\n * | | kk | 24, 01, 02, ..., 23 | |\n * | Minute | m | 0, 1, ..., 59 | |\n * | | mo | 0th, 1st, ..., 59th | 7 |\n * | | mm | 00, 01, ..., 59 | |\n * | Second | s | 0, 1, ..., 59 | |\n * | | so | 0th, 1st, ..., 59th | 7 |\n * | | ss | 00, 01, ..., 59 | |\n * | Fraction of second | S | 0, 1, ..., 9 | |\n * | | SS | 00, 01, ..., 99 | |\n * | | SSS | 000, 0001, ..., 999 | |\n * | | SSSS | ... | 3 |\n * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |\n * | | XX | -0800, +0530, Z | |\n * | | XXX | -08:00, +05:30, Z | |\n * | | XXXX | -0800, +0530, Z, +123456 | 2 |\n * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |\n * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |\n * | | xx | -0800, +0530, +0000 | |\n * | | xxx | -08:00, +05:30, +00:00 | 2 |\n * | | xxxx | -0800, +0530, +0000, +123456 | |\n * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |\n * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |\n * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |\n * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |\n * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |\n * | Seconds timestamp | t | 512969520 | 7 |\n * | | tt | ... | 3,7 |\n * | Milliseconds timestamp | T | 512969520900 | 7 |\n * | | TT | ... | 3,7 |\n * | Long localized date | P | 05/29/1453 | 7 |\n * | | PP | May 29, 1453 | 7 |\n * | | PPP | May 29th, 1453 | 7 |\n * | | PPPP | Sunday, May 29th, 1453 | 2,7 |\n * | Long localized time | p | 12:00 AM | 7 |\n * | | pp | 12:00:00 AM | 7 |\n * | | ppp | 12:00:00 AM GMT+2 | 7 |\n * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |\n * | Combination of date and time | Pp | 05/29/1453, 12:00 AM | 7 |\n * | | PPpp | May 29, 1453, 12:00:00 AM | 7 |\n * | | PPPppp | May 29th, 1453 at ... | 7 |\n * | | PPPPpppp| Sunday, May 29th, 1453 at ... | 2,7 |\n * Notes:\n * 1. \"Formatting\" units (e.g. formatting quarter) in the default en-US locale\n * are the same as \"stand-alone\" units, but are different in some languages.\n * \"Formatting\" units are declined according to the rules of the language\n * in the context of a date. \"Stand-alone\" units are always nominative singular:\n *\n * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`\n *\n * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`\n *\n * 2. Any sequence of the identical letters is a pattern, unless it is escaped by\n * the single quote characters (see below).\n * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)\n * the output will be the same as default pattern for this unit, usually\n * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units\n * are marked with \"2\" in the last column of the table.\n *\n * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`\n *\n * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`\n *\n * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`\n *\n * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).\n * The output will be padded with zeros to match the length of the pattern.\n *\n * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`\n *\n * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.\n * These tokens represent the shortest form of the quarter.\n *\n * 5. The main difference between `y` and `u` patterns are B.C. years:\n *\n * | Year | `y` | `u` |\n * |------|-----|-----|\n * | AC 1 | 1 | 1 |\n * | BC 1 | 1 | 0 |\n * | BC 2 | 2 | -1 |\n *\n * Also `yy` always returns the last two digits of a year,\n * while `uu` pads single digit years to 2 characters and returns other years unchanged:\n *\n * | Year | `yy` | `uu` |\n * |------|------|------|\n * | 1 | 01 | 01 |\n * | 14 | 14 | 14 |\n * | 376 | 76 | 376 |\n * | 1453 | 53 | 1453 |\n *\n * The same difference is true for local and ISO week-numbering years (`Y` and `R`),\n * except local week-numbering years are dependent on `options.weekStartsOn`\n * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}\n * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).\n *\n * 6. Specific non-location timezones are currently unavailable in `date-fns`,\n * so right now these tokens fall back to GMT timezones.\n *\n * 7. These patterns are not in the Unicode Technical Mini #35:\n * - `i`: ISO day of week\n * - `I`: ISO week of year\n * - `R`: ISO week-numbering year\n * - `t`: seconds timestamp\n * - `T`: milliseconds timestamp\n * - `o`: ordinal number modifier\n * - `P`: long localized date\n * - `p`: long localized time\n *\n * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.\n * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr\n *\n * 9. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.\n * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The second argument is now required for the sake of explicitness.\n *\n * ```javascript\n * // Before v2.0.0\n * format(new Date(2016, 0, 1))\n *\n * // v2.0.0 onward\n * format(new Date(2016, 0, 1), \"yyyy-MM-dd'T'HH:mm:ss.SSSxxx\")\n * ```\n *\n * - New format string API for `format` function\n * which is based on [Unicode Technical Mini #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n * See [this post](https://blog.date-fns.org/post/unicode-tokens-in-date-fns-v2-sreatyki91jg) for more details.\n *\n * - Characters are now escaped using single quote symbols (`'`) instead of square brackets.\n *\n * @param {Date|Number} date - the original date\n * @param {String} format - the string of tokens\n * @param {Object} [options] - an object with options.\n * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}\n * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)\n * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is\n * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;\n * see: https://git.io/fxCyr\n * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;\n * see: https://git.io/fxCyr\n * @returns {String} the formatted date string\n * @throws {TypeError} 2 arguments required\n * @throws {RangeError} `options.locale` must contain `localize` property\n * @throws {RangeError} `options.locale` must contain `formatLong` property\n * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6\n * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7\n * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years; see: https://git.io/fxCyr\n * @throws {RangeError} use `yy` instead of `YY` for formatting years; see: https://git.io/fxCyr\n * @throws {RangeError} use `d` instead of `D` for formatting days of the month; see: https://git.io/fxCyr\n * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month; see: https://git.io/fxCyr\n * @throws {RangeError} format string contains an unescaped latin alphabet character\n *\n * @example\n * // Represent 11 February 2014 in middle-endian format:\n * var result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')\n * //=> '02/11/2014'\n *\n * @example\n * // Represent 2 July 2014 in Esperanto:\n * import { eoLocale } from 'date-fns/locale/eo'\n * var result = format(new Date(2014, 6, 2), \"do 'de' MMMM yyyy\", {\n * locale: eoLocale\n * })\n * //=> '2-a de julio 2014'\n *\n * @example\n * // Escape string by single quote characters:\n * var result = format(new Date(2014, 6, 2, 15), \"h 'o''clock'\")\n * //=> \"3 o'clock\"\n */\n\nexport default function format(dirtyDate, dirtyFormatStr, dirtyOptions) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var formatStr = String(dirtyFormatStr);\n var options = dirtyOptions || {};\n var locale = options.locale || defaultLocale;\n var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;\n var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);\n var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN\n\n if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {\n throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');\n }\n\n var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;\n var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);\n var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN\n\n if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {\n throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');\n }\n\n if (!locale.localize) {\n throw new RangeError('locale must contain localize property');\n }\n\n if (!locale.formatLong) {\n throw new RangeError('locale must contain formatLong property');\n }\n\n var originalDate = toDate(dirtyDate);\n\n if (!isValid(originalDate)) {\n throw new RangeError('Invalid time value');\n } // Convert the date in system timezone to the same date in UTC+00:00 timezone.\n // This ensures that when UTC functions will be implemented, locales will be compatible with them.\n // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376\n\n\n var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);\n var utcDate = subMilliseconds(originalDate, timezoneOffset);\n var formatterOptions = {\n firstWeekContainsDate: firstWeekContainsDate,\n weekStartsOn: weekStartsOn,\n locale: locale,\n _originalDate: originalDate\n };\n var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {\n var firstCharacter = substring[0];\n\n if (firstCharacter === 'p' || firstCharacter === 'P') {\n var longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong, formatterOptions);\n }\n\n return substring;\n }).join('').match(formattingTokensRegExp).map(function (substring) {\n // Replace two single quote characters with one single quote character\n if (substring === \"''\") {\n return \"'\";\n }\n\n var firstCharacter = substring[0];\n\n if (firstCharacter === \"'\") {\n return cleanEscapedString(substring);\n }\n\n var formatter = formatters[firstCharacter];\n\n if (formatter) {\n if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(substring)) {\n throwProtectedError(substring);\n }\n\n if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(substring)) {\n throwProtectedError(substring);\n }\n\n return formatter(utcDate, substring, locale.localize, formatterOptions);\n }\n\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');\n }\n\n return substring;\n }).join('');\n return result;\n}\n\nfunction cleanEscapedString(input) {\n return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, \"'\");\n}","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); }\n\nfunction _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nimport { DEBUG_BUILD } from './debug-build.js';\nimport { isString } from './is.js';\nimport { logger } from './logger.js';\nvar BAGGAGE_HEADER_NAME = 'baggage';\nvar SENTRY_BAGGAGE_KEY_PREFIX = 'sentry-';\nvar SENTRY_BAGGAGE_KEY_PREFIX_REGEX = /^sentry-/;\n/**\n * Max length of a serialized baggage string\n *\n * https://www.w3.org/TR/baggage/#limits\n */\n\nvar MAX_BAGGAGE_STRING_LENGTH = 8192;\n/**\n * Takes a baggage header and turns it into Dynamic Sampling Context, by extracting all the \"sentry-\" prefixed values\n * from it.\n *\n * @param baggageHeader A very bread definition of a baggage header as it might appear in various frameworks.\n * @returns The Dynamic Sampling Context that was found on `baggageHeader`, if there was any, `undefined` otherwise.\n */\n\nfunction baggageHeaderToDynamicSamplingContext( // Very liberal definition of what any incoming header might look like\nbaggageHeader) {\n if (!isString(baggageHeader) && !Array.isArray(baggageHeader)) {\n return undefined;\n } // Intermediary object to store baggage key value pairs of incoming baggage headers on.\n // It is later used to read Sentry-DSC-values from.\n\n\n var baggageObject = {};\n\n if (Array.isArray(baggageHeader)) {\n // Combine all baggage headers into one object containing the baggage values so we can later read the Sentry-DSC-values from it\n baggageObject = baggageHeader.reduce(function (acc, curr) {\n var currBaggageObject = baggageHeaderToObject(curr);\n\n for (var _i = 0, _Object$keys = Object.keys(currBaggageObject); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n acc[key] = currBaggageObject[key];\n }\n\n return acc;\n }, {});\n } else {\n // Return undefined if baggage header is an empty string (technically an empty baggage header is not spec conform but\n // this is how we choose to handle it)\n if (!baggageHeader) {\n return undefined;\n }\n\n baggageObject = baggageHeaderToObject(baggageHeader);\n } // Read all \"sentry-\" prefixed values out of the baggage object and put it onto a dynamic sampling context object.\n\n\n var dynamicSamplingContext = Object.entries(baggageObject).reduce(function (acc, _ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n key = _ref2[0],\n value = _ref2[1];\n\n if (key.match(SENTRY_BAGGAGE_KEY_PREFIX_REGEX)) {\n var nonPrefixedKey = key.slice(SENTRY_BAGGAGE_KEY_PREFIX.length);\n acc[nonPrefixedKey] = value;\n }\n\n return acc;\n }, {}); // Only return a dynamic sampling context object if there are keys in it.\n // A keyless object means there were no sentry values on the header, which means that there is no DSC.\n\n if (Object.keys(dynamicSamplingContext).length > 0) {\n return dynamicSamplingContext;\n } else {\n return undefined;\n }\n}\n/**\n * Turns a Dynamic Sampling Object into a baggage header by prefixing all the keys on the object with \"sentry-\".\n *\n * @param dynamicSamplingContext The Dynamic Sampling Context to turn into a header. For convenience and compatibility\n * with the `getDynamicSamplingContext` method on the Transaction class ,this argument can also be `undefined`. If it is\n * `undefined` the function will return `undefined`.\n * @returns a baggage header, created from `dynamicSamplingContext`, or `undefined` either if `dynamicSamplingContext`\n * was `undefined`, or if `dynamicSamplingContext` didn't contain any values.\n */\n\n\nfunction dynamicSamplingContextToSentryBaggageHeader( // this also takes undefined for convenience and bundle size in other places\ndynamicSamplingContext) {\n if (!dynamicSamplingContext) {\n return undefined;\n } // Prefix all DSC keys with \"sentry-\" and put them into a new object\n\n\n var sentryPrefixedDSC = Object.entries(dynamicSamplingContext).reduce(function (acc, _ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n dscKey = _ref4[0],\n dscValue = _ref4[1];\n\n if (dscValue) {\n acc[\"\".concat(SENTRY_BAGGAGE_KEY_PREFIX).concat(dscKey)] = dscValue;\n }\n\n return acc;\n }, {});\n return objectToBaggageHeader(sentryPrefixedDSC);\n}\n/**\n * Will parse a baggage header, which is a simple key-value map, into a flat object.\n *\n * @param baggageHeader The baggage header to parse.\n * @returns a flat object containing all the key-value pairs from `baggageHeader`.\n */\n\n\nfunction baggageHeaderToObject(baggageHeader) {\n return baggageHeader.split(',').map(function (baggageEntry) {\n return baggageEntry.split('=').map(function (keyOrValue) {\n return decodeURIComponent(keyOrValue.trim());\n });\n }).reduce(function (acc, _ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n key = _ref6[0],\n value = _ref6[1];\n\n acc[key] = value;\n return acc;\n }, {});\n}\n/**\n * Turns a flat object (key-value pairs) into a baggage header, which is also just key-value pairs.\n *\n * @param object The object to turn into a baggage header.\n * @returns a baggage header string, or `undefined` if the object didn't have any values, since an empty baggage header\n * is not spec compliant.\n */\n\n\nfunction objectToBaggageHeader(object) {\n if (Object.keys(object).length === 0) {\n // An empty baggage header is not spec compliant: We return undefined.\n return undefined;\n }\n\n return Object.entries(object).reduce(function (baggageHeader, _ref7, currentIndex) {\n var _ref8 = _slicedToArray(_ref7, 2),\n objectKey = _ref8[0],\n objectValue = _ref8[1];\n\n var baggageEntry = \"\".concat(encodeURIComponent(objectKey), \"=\").concat(encodeURIComponent(objectValue));\n var newBaggageHeader = currentIndex === 0 ? baggageEntry : \"\".concat(baggageHeader, \",\").concat(baggageEntry);\n\n if (newBaggageHeader.length > MAX_BAGGAGE_STRING_LENGTH) {\n DEBUG_BUILD && logger.warn(\"Not adding key: \".concat(objectKey, \" with val: \").concat(objectValue, \" to baggage header due to exceeding baggage size limits.\"));\n return baggageHeader;\n } else {\n return newBaggageHeader;\n }\n }, '');\n}\n\nexport { BAGGAGE_HEADER_NAME, MAX_BAGGAGE_STRING_LENGTH, SENTRY_BAGGAGE_KEY_PREFIX, SENTRY_BAGGAGE_KEY_PREFIX_REGEX, baggageHeaderToDynamicSamplingContext, dynamicSamplingContextToSentryBaggageHeader };","import { baggageHeaderToDynamicSamplingContext } from './baggage.js';\nimport { uuid4 } from './misc.js'; // eslint-disable-next-line @sentry-internal/sdk/no-regexp-constructor -- RegExp is used for readability here\n\nvar TRACEPARENT_REGEXP = new RegExp('^[ \\\\t]*' + // whitespace\n'([0-9a-f]{32})?' + // trace_id\n'-?([0-9a-f]{16})?' + // span_id\n'-?([01])?' + // sampled\n'[ \\\\t]*$');\n/**\n * Extract transaction context data from a `sentry-trace` header.\n *\n * @param traceparent Traceparent string\n *\n * @returns Object containing data from the header, or undefined if traceparent string is malformed\n */\n\nfunction extractTraceparentData(traceparent) {\n if (!traceparent) {\n return undefined;\n }\n\n var matches = traceparent.match(TRACEPARENT_REGEXP);\n\n if (!matches) {\n return undefined;\n }\n\n var parentSampled;\n\n if (matches[3] === '1') {\n parentSampled = true;\n } else if (matches[3] === '0') {\n parentSampled = false;\n }\n\n return {\n traceId: matches[1],\n parentSampled: parentSampled,\n parentSpanId: matches[2]\n };\n}\n/**\n * Create tracing context from incoming headers.\n *\n * @deprecated Use `propagationContextFromHeaders` instead.\n */\n// TODO(v8): Remove this function\n\n\nfunction tracingContextFromHeaders(sentryTrace, baggage) {\n var traceparentData = extractTraceparentData(sentryTrace);\n var dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n\n var _ref = traceparentData || {},\n traceId = _ref.traceId,\n parentSpanId = _ref.parentSpanId,\n parentSampled = _ref.parentSampled;\n\n if (!traceparentData) {\n return {\n traceparentData: traceparentData,\n dynamicSamplingContext: undefined,\n propagationContext: {\n traceId: traceId || uuid4(),\n spanId: uuid4().substring(16)\n }\n };\n } else {\n return {\n traceparentData: traceparentData,\n dynamicSamplingContext: dynamicSamplingContext || {},\n // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n propagationContext: {\n traceId: traceId || uuid4(),\n parentSpanId: parentSpanId || uuid4().substring(16),\n spanId: uuid4().substring(16),\n sampled: parentSampled,\n dsc: dynamicSamplingContext || {} // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n\n }\n };\n }\n}\n/**\n * Create a propagation context from incoming headers.\n */\n\n\nfunction propagationContextFromHeaders(sentryTrace, baggage) {\n var traceparentData = extractTraceparentData(sentryTrace);\n var dynamicSamplingContext = baggageHeaderToDynamicSamplingContext(baggage);\n\n var _ref2 = traceparentData || {},\n traceId = _ref2.traceId,\n parentSpanId = _ref2.parentSpanId,\n parentSampled = _ref2.parentSampled;\n\n if (!traceparentData) {\n return {\n traceId: traceId || uuid4(),\n spanId: uuid4().substring(16)\n };\n } else {\n return {\n traceId: traceId || uuid4(),\n parentSpanId: parentSpanId || uuid4().substring(16),\n spanId: uuid4().substring(16),\n sampled: parentSampled,\n dsc: dynamicSamplingContext || {} // If we have traceparent data but no DSC it means we are not head of trace and we must freeze it\n\n };\n }\n}\n/**\n * Create sentry-trace header from span context values.\n */\n\n\nfunction generateSentryTraceHeader() {\n var traceId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : uuid4();\n var spanId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : uuid4().substring(16);\n var sampled = arguments.length > 2 ? arguments[2] : undefined;\n var sampledString = '';\n\n if (sampled !== undefined) {\n sampledString = sampled ? '-1' : '-0';\n }\n\n return \"\".concat(traceId, \"-\").concat(spanId).concat(sampledString);\n}\n\nexport { TRACEPARENT_REGEXP, extractTraceparentData, generateSentryTraceHeader, propagationContextFromHeaders, tracingContextFromHeaders };","import toInteger from '../_lib/toInteger/index.js';\nimport getTimezoneOffsetInMilliseconds from '../_lib/getTimezoneOffsetInMilliseconds/index.js';\nvar MILLISECONDS_IN_HOUR = 3600000;\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar DEFAULT_ADDITIONAL_DIGITS = 2;\nvar patterns = {\n dateTimeDelimiter: /[T ]/,\n timeZoneDelimiter: /[Z ]/i,\n timezone: /([Z+-].*)$/\n};\nvar dateRegex = /^-?(?:(\\d{3})|(\\d{2})(?:-?(\\d{2}))?|W(\\d{2})(?:-?(\\d{1}))?|)$/;\nvar timeRegex = /^(\\d{2}(?:[.,]\\d*)?)(?::?(\\d{2}(?:[.,]\\d*)?))?(?::?(\\d{2}(?:[.,]\\d*)?))?$/;\nvar timezoneRegex = /^([+-])(\\d{2})(?::?(\\d{2}))?$/;\n/**\n * @name parseISO\n * @category Common Helpers\n * @summary Parse ISO string\n *\n * @description\n * Parse the given string in ISO 8601 format and return an instance of Date.\n *\n * Function accepts complete ISO 8601 formats as well as partial implementations.\n * ISO 8601: http://en.wikipedia.org/wiki/ISO_8601\n *\n * If the argument isn't a string, the function cannot parse the string or\n * the values are invalid, it returns Invalid Date.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * - The previous `parse` implementation was renamed to `parseISO`.\n *\n * ```javascript\n * // Before v2.0.0\n * parse('2016-01-01')\n *\n * // v2.0.0 onward\n * parseISO('2016-01-01')\n * ```\n *\n * - `parseISO` now validates separate date and time values in ISO-8601 strings\n * and returns `Invalid Date` if the date is invalid.\n *\n * ```javascript\n * parseISO('2018-13-32')\n * //=> Invalid Date\n * ```\n *\n * - `parseISO` now doesn't fall back to `new Date` constructor\n * if it fails to parse a string argument. Instead, it returns `Invalid Date`.\n *\n * @param {String} argument - the value to convert\n * @param {Object} [options] - an object with options.\n * @param {0|1|2} [options.additionalDigits=2] - the additional number of digits in the extended year format\n * @returns {Date} the parsed date in the local time zone\n * @throws {TypeError} 1 argument required\n * @throws {RangeError} `options.additionalDigits` must be 0, 1 or 2\n *\n * @example\n * // Convert string '2014-02-11T11:30:30' to date:\n * var result = parseISO('2014-02-11T11:30:30')\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert string '+02014101' to date,\n * // if the additional number of digits in the extended year format is 1:\n * var result = parseISO('+02014101', { additionalDigits: 1 })\n * //=> Fri Apr 11 2014 00:00:00\n */\n\nexport default function parseISO(argument, dirtyOptions) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var options = dirtyOptions || {};\n var additionalDigits = options.additionalDigits == null ? DEFAULT_ADDITIONAL_DIGITS : toInteger(options.additionalDigits);\n\n if (additionalDigits !== 2 && additionalDigits !== 1 && additionalDigits !== 0) {\n throw new RangeError('additionalDigits must be 0, 1 or 2');\n }\n\n if (!(typeof argument === 'string' || Object.prototype.toString.call(argument) === '[object String]')) {\n return new Date(NaN);\n }\n\n var dateStrings = splitDateString(argument);\n var date;\n\n if (dateStrings.date) {\n var parseYearResult = parseYear(dateStrings.date, additionalDigits);\n date = parseDate(parseYearResult.restDateString, parseYearResult.year);\n }\n\n if (isNaN(date) || !date) {\n return new Date(NaN);\n }\n\n var timestamp = date.getTime();\n var time = 0;\n var offset;\n\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n\n if (isNaN(time) || time === null) {\n return new Date(NaN);\n }\n }\n\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone);\n\n if (isNaN(offset)) {\n return new Date(NaN);\n }\n } else {\n var fullTime = timestamp + time;\n var fullTimeDate = new Date(fullTime);\n offset = getTimezoneOffsetInMilliseconds(fullTimeDate); // Adjust time when it's coming from DST\n\n var fullTimeDateNextDay = new Date(fullTime);\n fullTimeDateNextDay.setDate(fullTimeDate.getDate() + 1);\n var offsetDiff = getTimezoneOffsetInMilliseconds(fullTimeDateNextDay) - offset;\n\n if (offsetDiff > 0) {\n offset += offsetDiff;\n }\n }\n\n return new Date(timestamp + time + offset);\n}\n\nfunction splitDateString(dateString) {\n var dateStrings = {};\n var array = dateString.split(patterns.dateTimeDelimiter);\n var timeString;\n\n if (/:/.test(array[0])) {\n dateStrings.date = null;\n timeString = array[0];\n } else {\n dateStrings.date = array[0];\n timeString = array[1];\n\n if (patterns.timeZoneDelimiter.test(dateStrings.date)) {\n dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];\n timeString = dateString.substr(dateStrings.date.length, dateString.length);\n }\n }\n\n if (timeString) {\n var token = patterns.timezone.exec(timeString);\n\n if (token) {\n dateStrings.time = timeString.replace(token[1], '');\n dateStrings.timezone = token[1];\n } else {\n dateStrings.time = timeString;\n }\n }\n\n return dateStrings;\n}\n\nfunction parseYear(dateString, additionalDigits) {\n var regex = new RegExp('^(?:(\\\\d{4}|[+-]\\\\d{' + (4 + additionalDigits) + '})|(\\\\d{2}|[+-]\\\\d{' + (2 + additionalDigits) + '})$)');\n var captures = dateString.match(regex); // Invalid ISO-formatted year\n\n if (!captures) return {\n year: null\n };\n var year = captures[1] && parseInt(captures[1]);\n var century = captures[2] && parseInt(captures[2]);\n return {\n year: century == null ? year : century * 100,\n restDateString: dateString.slice((captures[1] || captures[2]).length)\n };\n}\n\nfunction parseDate(dateString, year) {\n // Invalid ISO-formatted year\n if (year === null) return null;\n var captures = dateString.match(dateRegex); // Invalid ISO-formatted string\n\n if (!captures) return null;\n var isWeekDate = !!captures[4];\n var dayOfYear = parseDateUnit(captures[1]);\n var month = parseDateUnit(captures[2]) - 1;\n var day = parseDateUnit(captures[3]);\n var week = parseDateUnit(captures[4]);\n var dayOfWeek = parseDateUnit(captures[5]) - 1;\n\n if (isWeekDate) {\n if (!validateWeekDate(year, week, dayOfWeek)) {\n return new Date(NaN);\n }\n\n return dayOfISOWeekYear(year, week, dayOfWeek);\n } else {\n var date = new Date(0);\n\n if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) {\n return new Date(NaN);\n }\n\n date.setUTCFullYear(year, month, Math.max(dayOfYear, day));\n return date;\n }\n}\n\nfunction parseDateUnit(value) {\n return value ? parseInt(value) : 1;\n}\n\nfunction parseTime(timeString) {\n var captures = timeString.match(timeRegex);\n if (!captures) return null; // Invalid ISO-formatted time\n\n var hours = parseTimeUnit(captures[1]);\n var minutes = parseTimeUnit(captures[2]);\n var seconds = parseTimeUnit(captures[3]);\n\n if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n\n return hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * 1000;\n}\n\nfunction parseTimeUnit(value) {\n return value && parseFloat(value.replace(',', '.')) || 0;\n}\n\nfunction parseTimezone(timezoneString) {\n if (timezoneString === 'Z') return 0;\n var captures = timezoneString.match(timezoneRegex);\n if (!captures) return 0;\n var sign = captures[1] === '+' ? -1 : 1;\n var hours = parseInt(captures[2]);\n var minutes = captures[3] && parseInt(captures[3]) || 0;\n\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n\n return sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE);\n}\n\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n var date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 0, 4);\n var fourthOfJanuaryDay = date.getUTCDay() || 7;\n var diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n} // Validation functions\n// February is null to handle the leap year (using ||)\n\n\nvar daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\n\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100;\n}\n\nfunction validateDate(year, month, date) {\n return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28));\n}\n\nfunction validateDayOfYearDate(year, dayOfYear) {\n return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365);\n}\n\nfunction validateWeekDate(_year, week, day) {\n return week >= 1 && week <= 53 && day >= 0 && day <= 6;\n}\n\nfunction validateTime(hours, minutes, seconds) {\n if (hours === 24) {\n return minutes === 0 && seconds === 0;\n }\n\n return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25;\n}\n\nfunction validateTimezone(_hours, minutes) {\n return minutes >= 0 && minutes <= 59;\n}","import toDate from '../toDate/index.js';\n/**\n * @name isAfter\n * @category Common Helpers\n * @summary Is the first date after the second one?\n *\n * @description\n * Is the first date after the second one?\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the date that should be after the other one to return true\n * @param {Date|Number} dateToCompare - the date to compare with\n * @returns {Boolean} the first date is after the second date\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Is 10 July 1989 after 11 February 1987?\n * var result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))\n * //=> true\n */\n\nexport default function isAfter(dirtyDate, dirtyDateToCompare) {\n if (arguments.length < 2) {\n throw new TypeError('2 arguments required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var dateToCompare = toDate(dirtyDateToCompare);\n return date.getTime() > dateToCompare.getTime();\n}","import _curry2 from './internal/_curry2.js';\n/**\n * See if an object (`val`) is an instance of the supplied constructor. This\n * function will check up the inheritance chain, if any.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Type\n * @sig (* -> {*}) -> a -> Boolean\n * @param {Object} ctor A constructor\n * @param {*} val The value to test\n * @return {Boolean}\n * @example\n *\n * R.is(Object, {}); //=> true\n * R.is(Number, 1); //=> true\n * R.is(Object, 1); //=> false\n * R.is(String, 's'); //=> true\n * R.is(String, new String('')); //=> true\n * R.is(Object, new String('')); //=> true\n * R.is(Object, 's'); //=> false\n * R.is(Number, {}); //=> false\n */\n\nvar is =\n/*#__PURE__*/\n_curry2(function is(Ctor, val) {\n return val != null && val.constructor === Ctor || val instanceof Ctor;\n});\n\nexport default is;","import _curry2 from './internal/_curry2.js';\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nexport default pick;","import toDate from '../toDate/index.js';\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * var result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\n\nexport default function startOfMonth(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import toDate from '../toDate/index.js';\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * ### v2.0.0 breaking changes:\n *\n * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * var result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\n\nexport default function endOfMonth(dirtyDate) {\n if (arguments.length < 1) {\n throw new TypeError('1 argument required, but only ' + arguments.length + ' present');\n }\n\n var date = toDate(dirtyDate);\n var month = date.getMonth();\n date.setFullYear(date.getFullYear(), month + 1, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import _curry1 from './internal/_curry1.js';\n/**\n * Checks if the input value is `null` or `undefined`.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Type\n * @sig * -> Boolean\n * @param {*} x The value to test.\n * @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`.\n * @example\n *\n * R.isNil(null); //=> true\n * R.isNil(undefined); //=> true\n * R.isNil(0); //=> false\n * R.isNil([]); //=> false\n */\n\nvar isNil =\n/*#__PURE__*/\n_curry1(function isNil(x) {\n return x == null;\n});\n\nexport default isNil;","import _curry2 from './_curry2.js';\nimport _xfBase from './_xfBase.js';\n\nvar XFilter =\n/*#__PURE__*/\nfunction () {\n function XFilter(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XFilter.prototype['@@transducer/init'] = _xfBase.init;\n XFilter.prototype['@@transducer/result'] = _xfBase.result;\n\n XFilter.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.xf['@@transducer/step'](result, input) : result;\n };\n\n return XFilter;\n}();\n\nvar _xfilter =\n/*#__PURE__*/\n_curry2(function _xfilter(f, xf) {\n return new XFilter(f, xf);\n});\n\nexport default _xfilter;","import _curry2 from './internal/_curry2.js';\nimport _dispatchable from './internal/_dispatchable.js';\nimport _filter from './internal/_filter.js';\nimport _isObject from './internal/_isObject.js';\nimport _reduce from './internal/_reduce.js';\nimport _xfilter from './internal/_xfilter.js';\nimport keys from './keys.js';\n/**\n * Takes a predicate and a `Filterable`, and returns a new filterable of the\n * same type containing the members of the given filterable which satisfy the\n * given predicate. Filterable objects include plain objects or any object\n * that has a filter method such as `Array`.\n *\n * Dispatches to the `filter` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array} Filterable\n * @see R.reject, R.transduce, R.addIndex\n * @example\n *\n * const isEven = n => n % 2 === 0;\n *\n * R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar filter =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['filter'], _xfilter, function (pred, filterable) {\n return _isObject(filterable) ? _reduce(function (acc, key) {\n if (pred(filterable[key])) {\n acc[key] = filterable[key];\n }\n\n return acc;\n }, {}, keys(filterable)) : // else\n _filter(pred, filterable);\n}));\n\nexport default filter;","import _complement from './internal/_complement.js';\nimport _curry2 from './internal/_curry2.js';\nimport filter from './filter.js';\n/**\n * The complement of [`filter`](#filter).\n *\n * Acts as a transducer if a transformer is given in list position. Filterable\n * objects include plain objects or any object that has a filter method such\n * as `Array`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array}\n * @see R.filter, R.transduce, R.addIndex\n * @example\n *\n * const isOdd = (n) => n % 2 === 1;\n *\n * R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.reject(isOdd, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\nvar reject =\n/*#__PURE__*/\n_curry2(function reject(pred, filterable) {\n return filter(_complement(pred), filterable);\n});\n\nexport default reject;","export default function _complement(f) {\n return function () {\n return !f.apply(this, arguments);\n };\n}","import _includes from './internal/_includes.js';\nimport _curry2 from './internal/_curry2.js';\nimport flip from './flip.js';\nimport reject from './reject.js';\n/**\n * Returns a new list without values in the first argument.\n * [`R.equals`](#equals) is used to determine equality.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig [a] -> [a] -> [a]\n * @param {Array} list1 The values to be removed from `list2`.\n * @param {Array} list2 The array to remove values from.\n * @return {Array} The new array without values in `list1`.\n * @see R.transduce, R.difference, R.remove\n * @example\n *\n * R.without([1, 2], [1, 2, 1, 3, 4]); //=> [3, 4]\n */\n\nvar without =\n/*#__PURE__*/\n_curry2(function (xs, list) {\n return reject(flip(_includes)(xs), list);\n});\n\nexport default without;","import _curry2 from './internal/_curry2.js';\n/**\n * Returns the second argument if it is not `null`, `undefined` or `NaN`;\n * otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {a} default The default value.\n * @param {b} val `val` will be returned instead of `default` unless `val` is `null`, `undefined` or `NaN`.\n * @return {*} The second value if it is not `null`, `undefined` or `NaN`, otherwise the default value\n * @example\n *\n * const defaultTo42 = R.defaultTo(42);\n *\n * defaultTo42(null); //=> 42\n * defaultTo42(undefined); //=> 42\n * defaultTo42(false); //=> false\n * defaultTo42('Ramda'); //=> 'Ramda'\n * // parseInt('string') results in NaN\n * defaultTo42(parseInt('string')); //=> 42\n */\n\nvar defaultTo =\n/*#__PURE__*/\n_curry2(function defaultTo(d, v) {\n return v == null || v !== v ? d : v;\n});\n\nexport default defaultTo;","import _curry3 from './internal/_curry3.js';\nimport defaultTo from './defaultTo.js';\nimport path from './path.js';\n/**\n * If the given, non-null object has a value at the given path, returns the\n * value at that path. Otherwise returns the provided default value.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig a -> [Idx] -> {a} -> a\n * @param {*} d The default value.\n * @param {Array} p The path to use.\n * @param {Object} obj The object to retrieve the nested property from.\n * @return {*} The data at `path` of the supplied object or the default value.\n * @example\n *\n * R.pathOr('N/A', ['a', 'b'], {a: {b: 2}}); //=> 2\n * R.pathOr('N/A', ['a', 'b'], {c: {b: 2}}); //=> \"N/A\"\n */\n\nvar pathOr =\n/*#__PURE__*/\n_curry3(function pathOr(d, p, obj) {\n return defaultTo(d, path(p, obj));\n});\n\nexport default pathOr;","import _curry1 from './internal/_curry1.js';\nimport _isArguments from './internal/_isArguments.js';\nimport _isArray from './internal/_isArray.js';\nimport _isObject from './internal/_isObject.js';\nimport _isString from './internal/_isString.js';\n/**\n * Returns the empty value of its argument's type. Ramda defines the empty\n * value of Array (`[]`), Object (`{}`), String (`''`), and Arguments. Other\n * types are supported if they define `<Type>.empty`,\n * `<Type>.prototype.empty` or implement the\n * [FantasyLand Monoid spec](https://github.com/fantasyland/fantasy-land#monoid).\n *\n * Dispatches to the `empty` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig a -> a\n * @param {*} x\n * @return {*}\n * @example\n *\n * R.empty(Just(42)); //=> Nothing()\n * R.empty([1, 2, 3]); //=> []\n * R.empty('unicorns'); //=> ''\n * R.empty({x: 1, y: 2}); //=> {}\n */\n\nvar empty =\n/*#__PURE__*/\n_curry1(function empty(x) {\n return x != null && typeof x['fantasy-land/empty'] === 'function' ? x['fantasy-land/empty']() : x != null && x.constructor != null && typeof x.constructor['fantasy-land/empty'] === 'function' ? x.constructor['fantasy-land/empty']() : x != null && typeof x.empty === 'function' ? x.empty() : x != null && x.constructor != null && typeof x.constructor.empty === 'function' ? x.constructor.empty() : _isArray(x) ? [] : _isString(x) ? '' : _isObject(x) ? {} : _isArguments(x) ? function () {\n return arguments;\n }() : void 0 // else\n ;\n});\n\nexport default empty;","import _curry1 from './internal/_curry1.js';\nimport empty from './empty.js';\nimport equals from './equals.js';\n/**\n * Returns `true` if the given value is its type's empty value; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> Boolean\n * @param {*} x\n * @return {Boolean}\n * @see R.empty\n * @example\n *\n * R.isEmpty([1, 2, 3]); //=> false\n * R.isEmpty([]); //=> true\n * R.isEmpty(''); //=> true\n * R.isEmpty(null); //=> false\n * R.isEmpty({}); //=> true\n * R.isEmpty({length: 0}); //=> false\n */\n\nvar isEmpty =\n/*#__PURE__*/\n_curry1(function isEmpty(x) {\n return x != null && equals(x, empty(x));\n});\n\nexport default isEmpty;"],"sourceRoot":""}