@event-calendar/build 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-calendar-modern.min.js","sources":["../../node_modules/core-js-pure/internals/global.js","../../node_modules/core-js-pure/internals/fails.js","../../node_modules/core-js-pure/internals/function-bind-native.js","../../node_modules/core-js-pure/internals/function-uncurry-this.js","../../node_modules/core-js-pure/internals/classof-raw.js","../../node_modules/core-js-pure/internals/indexed-object.js","../../node_modules/core-js-pure/internals/require-object-coercible.js","../../node_modules/core-js-pure/internals/to-indexed-object.js","../../node_modules/core-js-pure/internals/iterators.js","../../node_modules/core-js-pure/internals/is-callable.js","../../node_modules/core-js-pure/internals/set-global.js","../../node_modules/core-js-pure/internals/shared-store.js","../../node_modules/core-js-pure/internals/inspect-source.js","../../node_modules/core-js-pure/internals/engine-v8-version.js","../../node_modules/core-js-pure/internals/native-weak-map.js","../../node_modules/core-js-pure/internals/is-object.js","../../node_modules/core-js-pure/internals/descriptors.js","../../node_modules/core-js-pure/internals/document-create-element.js","../../node_modules/core-js-pure/internals/ie8-dom-define.js","../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js","../../node_modules/core-js-pure/internals/an-object.js","../../node_modules/core-js-pure/internals/function-call.js","../../node_modules/core-js-pure/internals/path.js","../../node_modules/core-js-pure/internals/get-built-in.js","../../node_modules/core-js-pure/internals/object-is-prototype-of.js","../../node_modules/core-js-pure/internals/engine-user-agent.js","../../node_modules/core-js-pure/internals/native-symbol.js","../../node_modules/core-js-pure/internals/use-symbol-as-uid.js","../../node_modules/core-js-pure/internals/is-symbol.js","../../node_modules/core-js-pure/internals/try-to-string.js","../../node_modules/core-js-pure/internals/a-callable.js","../../node_modules/core-js-pure/internals/get-method.js","../../node_modules/core-js-pure/internals/ordinary-to-primitive.js","../../node_modules/core-js-pure/internals/shared.js","../../node_modules/core-js-pure/internals/to-object.js","../../node_modules/core-js-pure/internals/has-own-property.js","../../node_modules/core-js-pure/internals/uid.js","../../node_modules/core-js-pure/internals/well-known-symbol.js","../../node_modules/core-js-pure/internals/to-primitive.js","../../node_modules/core-js-pure/internals/to-property-key.js","../../node_modules/core-js-pure/internals/object-define-property.js","../../node_modules/core-js-pure/internals/create-property-descriptor.js","../../node_modules/core-js-pure/internals/internal-state.js","../../node_modules/core-js-pure/internals/create-non-enumerable-property.js","../../node_modules/core-js-pure/internals/shared-key.js","../../node_modules/core-js-pure/internals/hidden-keys.js","../../node_modules/core-js-pure/internals/function-apply.js","../../node_modules/core-js-pure/internals/object-property-is-enumerable.js","../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","../../node_modules/core-js-pure/internals/is-forced.js","../../node_modules/core-js-pure/internals/function-bind-context.js","../../node_modules/core-js-pure/internals/export.js","../../node_modules/core-js-pure/internals/function-name.js","../../node_modules/core-js-pure/internals/to-integer-or-infinity.js","../../node_modules/core-js-pure/internals/to-absolute-index.js","../../node_modules/core-js-pure/internals/to-length.js","../../node_modules/core-js-pure/internals/length-of-array-like.js","../../node_modules/core-js-pure/internals/array-includes.js","../../node_modules/core-js-pure/internals/object-keys-internal.js","../../node_modules/core-js-pure/internals/enum-bug-keys.js","../../node_modules/core-js-pure/internals/object-keys.js","../../node_modules/core-js-pure/internals/object-define-properties.js","../../node_modules/core-js-pure/internals/html.js","../../node_modules/core-js-pure/internals/object-create.js","../../node_modules/core-js-pure/internals/iterators-core.js","../../node_modules/core-js-pure/internals/correct-prototype-getter.js","../../node_modules/core-js-pure/internals/object-get-prototype-of.js","../../node_modules/core-js-pure/internals/redefine.js","../../node_modules/core-js-pure/internals/to-string-tag-support.js","../../node_modules/core-js-pure/internals/classof.js","../../node_modules/core-js-pure/internals/object-to-string.js","../../node_modules/core-js-pure/internals/set-to-string-tag.js","../../node_modules/core-js-pure/internals/create-iterator-constructor.js","../../node_modules/core-js-pure/internals/a-possible-prototype.js","../../node_modules/core-js-pure/internals/object-set-prototype-of.js","../../node_modules/core-js-pure/internals/define-iterator.js","../../node_modules/core-js-pure/modules/es.array.iterator.js","../../node_modules/core-js-pure/internals/object-get-own-property-names.js","../../node_modules/core-js-pure/internals/create-property.js","../../node_modules/core-js-pure/internals/array-slice-simple.js","../../node_modules/core-js-pure/internals/object-get-own-property-names-external.js","../../node_modules/core-js-pure/internals/array-buffer-non-extensible.js","../../node_modules/core-js-pure/internals/object-is-extensible.js","../../node_modules/core-js-pure/internals/freezing.js","../../node_modules/core-js-pure/internals/internal-metadata.js","../../node_modules/core-js-pure/internals/is-array-iterator-method.js","../../node_modules/core-js-pure/internals/get-iterator-method.js","../../node_modules/core-js-pure/internals/get-iterator.js","../../node_modules/core-js-pure/internals/iterator-close.js","../../node_modules/core-js-pure/internals/iterate.js","../../node_modules/core-js-pure/internals/an-instance.js","../../node_modules/core-js-pure/internals/is-array.js","../../node_modules/core-js-pure/internals/is-constructor.js","../../node_modules/core-js-pure/internals/array-species-constructor.js","../../node_modules/core-js-pure/internals/array-species-create.js","../../node_modules/core-js-pure/internals/array-iteration.js","../../node_modules/core-js-pure/internals/collection.js","../../node_modules/core-js-pure/internals/redefine-all.js","../../node_modules/core-js-pure/internals/set-species.js","../../node_modules/core-js-pure/internals/collection-strong.js","../../node_modules/core-js-pure/modules/es.set.js","../../node_modules/core-js-pure/internals/to-string.js","../../node_modules/core-js-pure/internals/string-multibyte.js","../../node_modules/core-js-pure/modules/es.string.iterator.js","../../node_modules/core-js-pure/es/set/index.js","../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js","../../node_modules/core-js-pure/internals/dom-iterables.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js","../../node_modules/core-js-pure/stable/set/index.js","../../node_modules/core-js-pure/internals/array-method-has-species-support.js","../../node_modules/core-js-pure/modules/es.array.map.js","../../node_modules/core-js-pure/internals/entry-virtual.js","../../node_modules/core-js-pure/es/array/virtual/map.js","../../node_modules/core-js-pure/es/instance/map.js","../../node_modules/core-js-pure/stable/instance/map.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js","../../node_modules/core-js-pure/modules/es.object.keys.js","../../node_modules/core-js-pure/es/object/keys.js","../../node_modules/core-js-pure/stable/object/keys.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js","../../node_modules/core-js-pure/modules/es.array.includes.js","../../node_modules/core-js-pure/es/array/virtual/includes.js","../../node_modules/core-js-pure/internals/is-regexp.js","../../node_modules/core-js-pure/internals/not-a-regexp.js","../../node_modules/core-js-pure/internals/correct-is-regexp-logic.js","../../node_modules/core-js-pure/modules/es.string.includes.js","../../node_modules/core-js-pure/es/string/virtual/includes.js","../../node_modules/core-js-pure/es/instance/includes.js","../../node_modules/core-js-pure/stable/instance/includes.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js","../../node_modules/core-js-pure/modules/es.array.concat.js","../../node_modules/core-js-pure/es/array/virtual/concat.js","../../node_modules/core-js-pure/es/instance/concat.js","../../node_modules/core-js-pure/stable/instance/concat.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js","../../node_modules/core-js-pure/internals/own-keys.js","../../node_modules/core-js-pure/internals/copy-constructor-properties.js","../../node_modules/core-js-pure/internals/clear-error-stack.js","../../node_modules/core-js-pure/internals/install-error-cause.js","../../node_modules/core-js-pure/internals/normalize-string-argument.js","../../node_modules/core-js-pure/internals/error-stack-installable.js","../../node_modules/core-js-pure/modules/es.aggregate-error.js","../../node_modules/core-js-pure/internals/native-promise-constructor.js","../../node_modules/core-js-pure/internals/check-correctness-of-iteration.js","../../node_modules/core-js-pure/internals/task.js","../../node_modules/core-js-pure/internals/a-constructor.js","../../node_modules/core-js-pure/internals/species-constructor.js","../../node_modules/core-js-pure/internals/array-slice.js","../../node_modules/core-js-pure/internals/engine-is-ios.js","../../node_modules/core-js-pure/internals/engine-is-node.js","../../node_modules/core-js-pure/internals/microtask.js","../../node_modules/core-js-pure/internals/engine-is-ios-pebble.js","../../node_modules/core-js-pure/internals/engine-is-webos-webkit.js","../../node_modules/core-js-pure/internals/new-promise-capability.js","../../node_modules/core-js-pure/internals/promise-resolve.js","../../node_modules/core-js-pure/internals/host-report-errors.js","../../node_modules/core-js-pure/internals/perform.js","../../node_modules/core-js-pure/internals/queue.js","../../node_modules/core-js-pure/modules/es.promise.js","../../node_modules/core-js-pure/internals/engine-is-browser.js","../../node_modules/core-js-pure/internals/is-pure.js","../../node_modules/core-js-pure/modules/es.promise.all-settled.js","../../node_modules/core-js-pure/modules/es.promise.any.js","../../node_modules/core-js-pure/modules/es.promise.finally.js","../../node_modules/core-js-pure/es/promise/index.js","../../node_modules/core-js-pure/stable/promise/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js","../../node_modules/core-js-pure/internals/native-url.js","../../node_modules/core-js-pure/internals/validate-arguments-length.js","../../node_modules/core-js-pure/internals/array-sort.js","../../node_modules/core-js-pure/modules/web.url-search-params.js","../../node_modules/core-js-pure/web/url-search-params.js","../../node_modules/core-js-pure/stable/url-search-params/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/url-search-params.js","../../node_modules/core-js-pure/internals/object-to-array.js","../../node_modules/core-js-pure/modules/es.object.entries.js","../../node_modules/core-js-pure/es/object/entries.js","../../node_modules/core-js-pure/stable/object/entries.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js","../../node_modules/core-js-pure/modules/es.array.slice.js","../../node_modules/core-js-pure/es/array/virtual/slice.js","../../node_modules/core-js-pure/es/instance/slice.js","../../node_modules/core-js-pure/stable/instance/slice.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js","../../node_modules/core-js-pure/modules/es.array.filter.js","../../node_modules/core-js-pure/es/array/virtual/filter.js","../../node_modules/core-js-pure/es/instance/filter.js","../../node_modules/core-js-pure/stable/instance/filter.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js","../../node_modules/core-js-pure/internals/array-method-is-strict.js","../../node_modules/core-js-pure/internals/engine-ff-version.js","../../node_modules/core-js-pure/internals/engine-is-ie-or-edge.js","../../node_modules/core-js-pure/internals/engine-webkit-version.js","../../node_modules/core-js-pure/modules/es.array.sort.js","../../node_modules/core-js-pure/es/array/virtual/sort.js","../../node_modules/core-js-pure/es/instance/sort.js","../../node_modules/core-js-pure/stable/instance/sort.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js","../../node_modules/core-js-pure/modules/es.array.index-of.js","../../node_modules/core-js-pure/es/array/virtual/index-of.js","../../node_modules/core-js-pure/es/instance/index-of.js","../../node_modules/core-js-pure/stable/instance/index-of.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js","../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js","../../node_modules/core-js-pure/es/object/get-own-property-descriptors.js","../../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js","../../node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js","../../node_modules/core-js-pure/internals/array-from.js","../../node_modules/core-js-pure/modules/es.array.from.js","../../node_modules/core-js-pure/es/array/from.js","../../node_modules/core-js-pure/stable/array/from.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js","../../node_modules/core-js-pure/modules/es.array.splice.js","../../node_modules/core-js-pure/es/array/virtual/splice.js","../../node_modules/core-js-pure/es/instance/splice.js","../../node_modules/core-js-pure/stable/instance/splice.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js","../../node_modules/core-js-pure/modules/es.string.starts-with.js","../../node_modules/core-js-pure/es/string/virtual/starts-with.js","../../node_modules/core-js-pure/es/instance/starts-with.js","../../node_modules/core-js-pure/stable/instance/starts-with.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js","../../node_modules/core-js-pure/internals/whitespaces.js","../../node_modules/core-js-pure/internals/string-trim.js","../../node_modules/core-js-pure/internals/string-trim-forced.js","../../node_modules/core-js-pure/modules/es.string.trim.js","../../node_modules/core-js-pure/es/string/virtual/trim.js","../../node_modules/core-js-pure/es/instance/trim.js","../../node_modules/core-js-pure/stable/instance/trim.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js","../../node_modules/core-js-pure/modules/es.map.js","../../node_modules/core-js-pure/es/map/index.js","../../node_modules/core-js-pure/stable/map/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js","../../node_modules/core-js-pure/modules/es.global-this.js","../../node_modules/core-js-pure/es/global-this.js","../../node_modules/core-js-pure/stable/global-this.js","../../node_modules/core-js-pure/features/global-this.js","../../node_modules/@babel/runtime-corejs3/core-js/global-this.js","../../node_modules/core-js-pure/internals/object-assign.js","../../node_modules/core-js-pure/modules/es.object.assign.js","../../node_modules/core-js-pure/es/object/assign.js","../../node_modules/core-js-pure/stable/object/assign.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js","../../node_modules/core-js-pure/internals/array-fill.js","../../node_modules/core-js-pure/modules/es.array.fill.js","../../node_modules/core-js-pure/es/array/virtual/fill.js","../../node_modules/core-js-pure/es/instance/fill.js","../../node_modules/core-js-pure/stable/instance/fill.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js","../../node_modules/core-js-pure/internals/well-known-symbol-wrapped.js","../../node_modules/core-js-pure/internals/define-well-known-symbol.js","../../node_modules/core-js-pure/modules/es.symbol.js","../../node_modules/core-js-pure/modules/es.symbol.async-iterator.js","../../node_modules/core-js-pure/modules/es.symbol.has-instance.js","../../node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js","../../node_modules/core-js-pure/modules/es.symbol.iterator.js","../../node_modules/core-js-pure/modules/es.symbol.match.js","../../node_modules/core-js-pure/modules/es.symbol.match-all.js","../../node_modules/core-js-pure/modules/es.symbol.replace.js","../../node_modules/core-js-pure/modules/es.symbol.search.js","../../node_modules/core-js-pure/modules/es.symbol.species.js","../../node_modules/core-js-pure/modules/es.symbol.split.js","../../node_modules/core-js-pure/modules/es.symbol.to-primitive.js","../../node_modules/core-js-pure/modules/es.symbol.to-string-tag.js","../../node_modules/core-js-pure/modules/es.symbol.unscopables.js","../../node_modules/core-js-pure/modules/es.json.to-string-tag.js","../../node_modules/core-js-pure/es/symbol/index.js","../../node_modules/core-js-pure/stable/symbol/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js","../../node_modules/core-js-pure/internals/is-iterable.js","../../node_modules/core-js-pure/features/is-iterable.js","../../node_modules/svelte/internal/index.mjs","../../node_modules/@babel/runtime-corejs3/core-js/is-iterable.js","../../node_modules/svelte/store/index.mjs","../../node_modules/core-js-pure/internals/number-parse-int.js","../../node_modules/core-js-pure/modules/es.parse-int.js","../../node_modules/core-js-pure/es/parse-int.js","../../node_modules/core-js-pure/stable/parse-int.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js","../../node_modules/core-js-pure/modules/es.string.trim-end.js","../../node_modules/core-js-pure/es/string/virtual/trim-end.js","../../node_modules/core-js-pure/es/instance/trim-end.js","../../node_modules/core-js-pure/stable/instance/trim-end.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim-end.js","../common/index.js","../core/index.js","../day-grid/index.js","../list/index.js","../time-grid/index.js","../resource-time-grid/index.js","../../node_modules/core-js-pure/modules/es.object.values.js","../../node_modules/core-js-pure/es/object/values.js","../../node_modules/core-js-pure/stable/object/values.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js","../interaction/index.js","src/index-modern.js"],"sourcesContent":["var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar bind = FunctionPrototype.bind;\nvar call = FunctionPrototype.call;\nvar uncurryThis = NATIVE_BIND && bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? function (fn) {\n return fn && uncurryThis(fn);\n} : function (fn) {\n return fn && function () {\n return call.apply(fn, arguments);\n };\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar Object = global.Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : Object(it);\n} : Object;\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","module.exports = {};\n","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n return typeof argument == 'function';\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));\n","var isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar String = global.String;\nvar TypeError = global.TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw TypeError(String(argument) + ' is not an object');\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","module.exports = {};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Object = global.Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));\n};\n","var global = require('../internals/global');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n try {\n return String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw TypeError(tryToString(argument) + ' is not a function');\n};\n","var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return func == null ? undefined : aCallable(func);\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar TypeError = global.TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.20.3',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var global = require('../internals/global');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar Object = global.Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n } return WellKnownSymbolsStore[name];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TypeError = global.TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar TypeError = global.TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* 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","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","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = uncurryThis(store.get);\n var wmhas = uncurryThis(store.has);\n var wmset = uncurryThis(store.set);\n set = function (it, metadata) {\n if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget(store, it) || {};\n };\n has = function (it) {\n return wmhas(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","module.exports = {};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind timers to global for call from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changs in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && !targetPrototype[key]) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- safe\n return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n redefine(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var global = require('../internals/global');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar Object = global.Object;\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof Object ? ObjectPrototype : null;\n};\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (target, key, value, options) {\n if (options && options.enumerable) target[key] = value;\n else createNonEnumerableProperty(target, key, value);\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var global = require('../internals/global');\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Object = global.Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/object-to-string');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n if (it) {\n var target = STATIC ? it : it.prototype;\n if (!hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n createNonEnumerableProperty(target, 'toString', toString);\n }\n }\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar String = global.String;\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw TypeError(\"Can't set \" + String(argument) + ' as a prototype');\n};\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n redefine(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/define-iterator');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\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 setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\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 setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw TypeError(tryToString(argument) + ' is not iterable');\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar TypeError = global.TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw TypeError('Incorrect invocation');\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar fails = require('../internals/fails');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar defineProperty = require('../internals/object-define-property').f;\nvar forEach = require('../internals/array-iteration').forEach;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var exported = {};\n var Constructor;\n\n if (!DESCRIPTORS || !isCallable(NativeConstructor)\n || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); }))\n ) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else {\n Constructor = wrapper(function (target, iterable) {\n setInternalState(anInstance(target, Prototype), {\n type: CONSTRUCTOR_NAME,\n collection: new NativeConstructor()\n });\n if (iterable != undefined) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {\n createNonEnumerableProperty(Prototype, KEY, function (a, b) {\n var collection = getInternalState(this).collection;\n if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false;\n var result = collection[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n }\n });\n\n IS_WEAK || defineProperty(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).collection.size;\n }\n });\n }\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: true }, exported);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) {\n if (options && options.unsafe && target[key]) target[key] = src[key];\n else redefine(target, key, src[key], options);\n } return target;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var global = require('../internals/global');\nvar classof = require('../internals/classof');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return String(argument);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.set');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Set;\n","require('../modules/es.array.iterator');\nvar DOMIterables = require('../internals/dom-iterables');\nvar global = require('../internals/global');\nvar classof = require('../internals/classof');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n Iterators[COLLECTION_NAME] = Iterators.Array;\n}\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","module.exports = require(\"core-js-pure/stable/set\");","var parent = require('../../es/set');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var path = require('../internals/path');\n\nmodule.exports = function (CONSTRUCTOR) {\n return path[CONSTRUCTOR + 'Prototype'];\n};\n","require('../../../modules/es.array.map');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').map;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/map');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.map;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;\n};\n","var parent = require('../../es/instance/map');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/map\");","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","require('../../modules/es.object.keys');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.keys;\n","var parent = require('../../es/object/keys');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/keys\");","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","require('../../../modules/es.array.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').includes;\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var global = require('../internals/global');\nvar isRegExp = require('../internals/is-regexp');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","require('../../../modules/es.string.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').includes;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar arrayMethod = require('../array/virtual/includes');\nvar stringMethod = require('../string/virtual/includes');\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.includes;\n if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n return stringMethod;\n } return own;\n};\n","var parent = require('../../es/instance/includes');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/includes\");","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\nvar TypeError = global.TypeError;\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","require('../../../modules/es.array.concat');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').concat;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/concat');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.concat;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;\n};\n","var parent = require('../../es/instance/concat');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/concat\");","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Error = global.Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var options = arguments.length > 2 ? arguments[2] : undefined;\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n installErrorCause(that, options);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, Error);\nelse copyConstructorProperties($AggregateError, Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true }, {\n AggregateError: $AggregateError\n});\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\n\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(fn) {\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(isCallable(fn) ? fn : Function(fn), undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var global = require('../internals/global');\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n // strange IE + webpack dev server bug - use .bind(global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var userAgent = require('../internals/engine-user-agent');\nvar global = require('../internals/global');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n }\n};\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n if (this.head) this.tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n this.head = entry.next;\n if (this.tail === entry) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\n\nvar getInternalState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar NativePromisePrototype = NativePromise && NativePromise.prototype;\nvar PromiseConstructor = NativePromise;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar SUBCLASSING = false;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromisePrototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = new PromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n PromisePrototype = PromiseConstructor.prototype;\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromisePrototype, {\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n // eslint-disable-next-line unicorn/no-thenable -- safe\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.es/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\n redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.es/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.es/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.es/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.es/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","module.exports = typeof window == 'object';\n","module.exports = true;\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromise)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromise.prototype['finally'] !== method) {\n redefine(NativePromise.prototype, 'finally', method, { unsafe: true });\n }\n}\n","require('../../modules/es.aggregate-error');\nrequire('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.promise');\nrequire('../../modules/es.promise.all-settled');\nrequire('../../modules/es.promise.any');\nrequire('../../modules/es.promise.finally');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Promise;\n","var parent = require('../../es/promise');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/promise\");","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return (IS_PURE && !url.toJSON)\n || !searchParams.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || searchParams.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw TypeError('Not enough arguments');\n return passed;\n};\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar n$Fetch = getBuiltIn('fetch');\nvar N$Request = getBuiltIn('Request');\nvar Headers = getBuiltIn('Headers');\nvar RequestPrototype = N$Request && N$Request.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\nredefineAll(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);\n else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\nredefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\nredefine(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(n$Fetch)) {\n $({ global: true, enumerable: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(N$Request)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","require('../modules/web.url-search-params');\nvar path = require('../internals/path');\n\nmodule.exports = path.URLSearchParams;\n","var parent = require('../../web/url-search-params');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/url-search-params\");","var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","require('../../modules/es.object.entries');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.entries;\n","var parent = require('../../es/object/entries');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/entries\");","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar un$Slice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return un$Slice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","require('../../../modules/es.array.slice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').slice;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/slice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.slice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;\n};\n","var parent = require('../../es/instance/slice');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/slice\");","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","require('../../../modules/es.array.filter');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').filter;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/filter');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.filter;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;\n};\n","var parent = require('../../es/instance/filter');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/filter\");","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","require('../../../modules/es.array.sort');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').sort;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/sort');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.sort;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;\n};\n","var parent = require('../../es/instance/sort');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/sort\");","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar $IndexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$IndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? un$IndexOf(this, searchElement, fromIndex) || 0\n : $IndexOf(this, searchElement, fromIndex);\n }\n});\n","require('../../../modules/es.array.index-of');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').indexOf;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/index-of');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.indexOf;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;\n};\n","var parent = require('../../es/instance/index-of');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/index-of\");","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","require('../../modules/es.object.get-own-property-descriptors');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.getOwnPropertyDescriptors;\n","var parent = require('../../es/object/get-own-property-descriptors');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/get-own-property-descriptors\");","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar Array = global.Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","require('../../modules/es.string.iterator');\nrequire('../../modules/es.array.from');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Array.from;\n","var parent = require('../../es/array/from');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/array/from\");","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar TypeError = global.TypeError;\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","require('../../../modules/es.array.splice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').splice;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/splice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.splice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own;\n};\n","var parent = require('../../es/instance/splice');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/splice\");","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","require('../../../modules/es.string.starts-with');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').startsWith;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/starts-with');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.startsWith;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;\n};\n","var parent = require('../../es/instance/starts-with');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/starts-with\");","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","require('../../../modules/es.string.trim');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trim;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trim;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own;\n};\n","var parent = require('../../es/instance/trim');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/trim\");","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.map');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Map;\n","var parent = require('../../es/map');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/map\");","var $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true }, {\n globalThis: global\n});\n","require('../modules/es.global-this');\n\nmodule.exports = require('../internals/global');\n","var parent = require('../es/global-this');\n\nmodule.exports = parent;\n","// TODO: remove from `core-js@4`\nrequire('../modules/esnext.global-this');\n\nvar parent = require('../actual/global-this');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/features/global-this\");","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","require('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","var parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/assign\");","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","require('../../../modules/es.array.fill');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').fill;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/fill');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.fill;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own;\n};\n","var parent = require('../../es/instance/fill');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/fill\");","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar arraySlice = require('../internals/array-slice');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n redefine(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.es/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = $toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.es/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.es/ecma262/#sec-object.getownpropertysymbols\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\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.es/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (isCallable($replacer)) value = call($replacer, this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return apply($stringify, null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!SymbolPrototype[TO_PRIMITIVE]) {\n var valueOf = SymbolPrototype.valueOf;\n // eslint-disable-next-line no-unused-vars -- required for .length\n redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n // TODO: improve hint logic\n return call(valueOf, this);\n });\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","require('../../modules/es.array.concat');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.symbol');\nrequire('../../modules/es.symbol.async-iterator');\nrequire('../../modules/es.symbol.description');\nrequire('../../modules/es.symbol.has-instance');\nrequire('../../modules/es.symbol.is-concat-spreadable');\nrequire('../../modules/es.symbol.iterator');\nrequire('../../modules/es.symbol.match');\nrequire('../../modules/es.symbol.match-all');\nrequire('../../modules/es.symbol.replace');\nrequire('../../modules/es.symbol.search');\nrequire('../../modules/es.symbol.species');\nrequire('../../modules/es.symbol.split');\nrequire('../../modules/es.symbol.to-primitive');\nrequire('../../modules/es.symbol.to-string-tag');\nrequire('../../modules/es.symbol.unscopables');\nrequire('../../modules/es.json.to-string-tag');\nrequire('../../modules/es.math.to-string-tag');\nrequire('../../modules/es.reflect.to-string-tag');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Symbol;\n","var parent = require('../../es/symbol');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/symbol\");","var global = require('../internals/global');\nvar classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Object = global.Object;\n\nmodule.exports = function (it) {\n var O = Object(it);\n return O[ITERATOR] !== undefined\n || '@@iterator' in O\n || hasOwn(Iterators, classof(O));\n};\n","var parent = require('../actual/is-iterable');\n\nmodule.exports = parent;\n","function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>\n let children = target.childNodes;\n // If target is <head>, there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration();\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value === null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n select.selectedIndex = -1; // no option should be selected\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, bubbles = false) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor() {\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.c(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nclass HtmlTagHydration extends HtmlTag {\n constructor(claimed_nodes) {\n super();\n this.e = this.n = null;\n this.l = claimed_nodes;\n }\n c(html) {\n if (this.l) {\n this.n = this.l;\n }\n else {\n super.c(html);\n }\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert_hydration(this.t, this.n[i], anchor);\n }\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\n// we need to store the information for multiple documents because a Svelte application could also contain iframes\n// https://github.com/sveltejs/svelte/issues/3624\nconst managed_styles = new Map();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_style_information(doc, node) {\n const info = { stylesheet: append_empty_stylesheet(node), rules: {} };\n managed_styles.set(doc, info);\n return info;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = get_root_for_style(node);\n const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);\n if (!rules[name]) {\n rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n managed_styles.forEach(info => {\n const { stylesheet } = info;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n info.rules = {};\n });\n managed_styles.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction getAllContexts() {\n return get_current_component().$$.context;\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n // @ts-ignore\n callbacks.slice().forEach(fn => fn.call(this, event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\n// flush() calls callbacks in this order:\n// 1. All beforeUpdate callbacks, in order: parents before children\n// 2. All bind:this callbacks, in reverse order: children before parents.\n// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT\n// for afterUpdates called during the initial onMount, which are called in\n// reverse order: children before parents.\n// Since callbacks might update component values, which could trigger another\n// call to flush(), the following steps guard against this:\n// 1. During beforeUpdate, any updated components will be added to the\n// dirty_components array and will cause a reentrant call to flush(). Because\n// the flush index is kept outside the function, the reentrant call will pick\n// up where the earlier call left off and go through all dirty components. The\n// current_component value is saved and restored so that the reentrant call will\n// not interfere with the \"parent\" flush() call.\n// 2. bind:this callbacks cannot trigger new flush() calls.\n// 3. During afterUpdate, any updated components will NOT have their afterUpdate\n// callback called a second time; the seen_callbacks set, outside the flush()\n// function, guarantees this behavior.\nconst seen_callbacks = new Set();\nlet flushidx = 0; // Do *not* move this inside the flush() function\nfunction flush() {\n const saved_component = current_component;\n do {\n // first, call beforeUpdate functions\n // and update components\n while (flushidx < dirty_components.length) {\n const component = dirty_components[flushidx];\n flushidx++;\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n flushidx = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n seen_callbacks.clear();\n set_current_component(saved_component);\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n started = true;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = (program.b - t);\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, attrs_to_add) {\n const attributes = Object.assign({}, ...args);\n if (attrs_to_add) {\n const classes_to_add = attrs_to_add.classes;\n const styles_to_add = attrs_to_add.styles;\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n if (styles_to_add) {\n if (attributes.style == null) {\n attributes.style = style_object_to_string(styles_to_add);\n }\n else {\n attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));\n }\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${value}\"`;\n }\n });\n return str;\n}\nfunction merge_ssr_styles(style_attribute, style_directive) {\n const style_object = {};\n for (const individual_style of style_attribute.split(';')) {\n const colon_index = individual_style.indexOf(':');\n const name = individual_style.slice(0, colon_index).trim();\n const value = individual_style.slice(colon_index + 1).trim();\n if (!name)\n continue;\n style_object[name] = value;\n }\n for (const name in style_directive) {\n const value = style_directive[name];\n if (value) {\n style_object[name] = value;\n }\n else {\n delete style_object[name];\n }\n }\n return style_object;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction escape_attribute_value(value) {\n return typeof value === 'string' ? escape(value) : value;\n}\nfunction escape_object(obj) {\n const result = {};\n for (const key in obj) {\n result[key] = escape_attribute_value(obj[key]);\n }\n return result;\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(context || (parent_component ? parent_component.$$.context : [])),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n const assignment = (boolean && value === true) ? '' : `=\"${escape_attribute_value(value.toString())}\"`;\n return ` ${name}${assignment}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\nfunction style_object_to_string(style_object) {\n return Object.keys(style_object)\n .filter(key => style_object[key])\n .map(key => `${key}: ${style_object[key]};`)\n .join(' ');\n}\nfunction add_styles(style_object) {\n const styles = style_object_to_string(style_object);\n return styles ? ` style=\"${styles}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false,\n root: options.target || parent_component.$$.root\n };\n append_styles && append_styles($$.root);\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n start_hydrating();\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n end_hydrating();\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.47.0' }, detail), true));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction append_hydration_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append_hydration(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction insert_hydration_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert_hydration(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nfunction validate_dynamic_element(tag) {\n if (tag && typeof tag !== 'string') {\n throw new Error('<svelte:element> expects \"this\" attribute to be a string.');\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to separate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, HtmlTagHydration, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_styles, add_transform, afterUpdate, append, append_dev, append_empty_stylesheet, append_hydration, append_hydration_dev, append_styles, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_html_tag, claim_space, claim_svg_element, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, end_hydrating, escape, escape_attribute_value, escape_object, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getAllContexts, getContext, get_all_dirty_from_scope, get_binding_group_value, get_current_component, get_custom_elements_slots, get_root_for_style, get_slot_changes, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, insert_hydration, insert_hydration_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, merge_ssr_styles, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, src_url_equal, start_hydrating, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, trusted, update_await_block_branch, update_keyed_each, update_slot, update_slot_base, validate_component, validate_dynamic_element, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","module.exports = require(\"core-js-pure/features/is-iterable\");","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","require('../modules/es.parse-int');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseInt;\n","var parent = require('../es/parse-int');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/parse-int\");","'use strict';\nvar $ = require('../internals/export');\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimEnd');\n\nvar trimEnd = FORCED ? function trimEnd() {\n return $trimEnd(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;\n\n// `String.prototype.{ trimEnd, trimRight }` methods\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\n$({ target: 'String', proto: true, name: 'trimEnd', forced: FORCED }, {\n trimEnd: trimEnd,\n trimRight: trimEnd\n});\n","require('../../../modules/es.string.trim-end');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trimRight;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim-end');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trimEnd;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimEnd) ? method : own;\n};\n","var parent = require('../../es/instance/trim-end');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/trim-end\");","import { is_function } from 'svelte/internal';\nimport { writable, derived, get } from 'svelte/store';\n\nfunction setContent(node, content) {\n let actions = {\n update(content) {\n while (node.firstChild) {\n node.removeChild(node.lastChild);\n }\n if (content.domNodes) {\n for (let child of content.domNodes) {\n node.appendChild(child);\n }\n } else if (content.html) {\n node.innerHTML = content.html;\n }\n }\n };\n actions.update(content);\n\n return actions;\n}\n\nconst DAY_IN_SECONDS = 86400;\n\nfunction createDate(input) {\n if (input !== undefined) {\n return input instanceof Date ? _fromLocalDate(input) : _fromISOString(input);\n }\n\n return _fromLocalDate(new Date());\n}\n\nfunction createDuration(input) {\n if (typeof input === 'number') {\n input = {seconds: input};\n } else if (typeof input === 'string') {\n // Expected format hh[:mm[:ss]]\n let seconds = 0, exp = 2;\n for (let part of input.split(':', 3)) {\n seconds += parseInt(part, 10) * Math.pow(60, exp--);\n }\n input = {seconds};\n } else if (input instanceof Date) {\n input = {hours: input.getUTCHours(), minutes: input.getUTCMinutes(), seconds: input.getUTCSeconds()};\n }\n\n let weeks = input.weeks || input.week || 0;\n\n return {\n years: input.years || input.year || 0,\n months: input.months || input.month || 0,\n days: weeks * 7 + (input.days || input.day || 0),\n seconds: (input.hours || input.hour || 0) * 60 * 60 +\n (input.minutes || input.minute || 0) * 60 +\n (input.seconds || input.second || 0),\n inWeeks: !!weeks\n };\n}\n\nfunction cloneDate(date) {\n return new Date(date.getTime());\n}\n\nfunction addDuration(date, duration, x) {\n if (x === undefined) {\n x = 1;\n }\n date.setUTCFullYear(date.getUTCFullYear() + x * duration.years);\n let month = date.getUTCMonth() + x * duration.months;\n date.setUTCMonth(month);\n month %= 12;\n if (month < 0) {\n month += 12;\n }\n while (date.getUTCMonth() !== month) {\n subtractDay(date);\n }\n date.setUTCDate(date.getUTCDate() + x * duration.days);\n date.setUTCSeconds(date.getUTCSeconds() + x * duration.seconds);\n\n return date;\n}\n\nfunction subtractDuration(date, duration, x) {\n return addDuration(date, duration, x === undefined ? -1 : -x);\n}\n\nfunction addDay(date, x) {\n date.setUTCDate(date.getUTCDate() + (x === undefined ? 1 : x));\n\n return date;\n}\n\nfunction subtractDay(date, x) {\n return addDay(date, x === undefined ? -1 : -x);\n}\n\nfunction setMidnight(date) {\n date.setUTCHours(0, 0, 0, 0);\n\n return date;\n}\n\nfunction toLocalDate(date) {\n return new Date(\n date.getUTCFullYear(),\n date.getUTCMonth(),\n date.getUTCDate(),\n date.getUTCHours(),\n date.getUTCMinutes(),\n date.getUTCSeconds()\n );\n}\n\nfunction toISOString(date) {\n return date.toISOString().substring(0, 19);\n}\n\nfunction formatRange(start, end, intl) {\n if (start.getFullYear() !== end.getFullYear()) {\n return intl.format(start) + ' - ' + intl.format(end);\n }\n\n let diff = [];\n if (start.getMonth() !== end.getMonth()) {\n diff.push('month');\n }\n if (start.getDate() !== end.getDate()) {\n diff.push('day');\n }\n\n if (!diff.length) {\n return intl.format(start);\n }\n\n let opts1 = intl.resolvedOptions();\n let opts2 = {};\n for (let key of diff) {\n opts2[key] = opts1[key];\n }\n let intl2 = new Intl.DateTimeFormat(opts1.locale, opts2);\n\n let full1 = intl.format(start);\n let full2 = intl.format(end);\n let part1 = intl2.format(start);\n let part2 = intl2.format(end);\n\n let common = _commonChunks(full1, part1, full2, part2);\n if (common) {\n return common.head + part1 + ' - ' + part2 + common.tail;\n }\n\n return full1 + ' - ' + full2;\n}\n\nfunction datesEqual(date1, date2) {\n return date1.getTime() === date2.getTime();\n}\n\nfunction nextClosestDay(date, day) {\n let diff = day - date.getUTCDay();\n date.setUTCDate(date.getUTCDate() + (diff >= 0 ? diff : diff + 7));\n return date;\n}\n\nfunction prevClosestDay(date, day) {\n let diff = day - date.getUTCDay();\n date.setUTCDate(date.getUTCDate() + (diff <= 0 ? diff : diff - 7));\n return date;\n}\n\n/**\n * Private functions\n */\n\nfunction _fromLocalDate(date) {\n return new Date(Date.UTC(\n date.getFullYear(),\n date.getMonth(),\n date.getDate(),\n date.getHours(),\n date.getMinutes(),\n date.getSeconds()\n ));\n}\n\nfunction _fromISOString(str) {\n const parts = str.match(/\\d+/g);\n return new Date(Date.UTC(\n Number(parts[0]),\n Number(parts[1]) - 1,\n Number(parts[2]),\n Number(parts[3] || 0),\n Number(parts[4] || 0),\n Number(parts[5] || 0)\n ));\n}\n\nfunction _commonChunks(str1, substr1, str2, substr2) {\n let i = 0;\n while (i < str1.length) {\n let res1;\n [i, res1] = _cut(str1, substr1, i);\n if (!res1) {\n break;\n }\n\n let j = 0;\n while (j < str2.length) {\n let res2;\n [j, res2] = _cut(str2, substr2, j);\n if (!res2) {\n break;\n }\n\n if (res1.head === res2.head && res1.tail === res2.tail) {\n return res1;\n }\n }\n }\n\n return null\n}\n\nfunction _cut(str, substr, from) {\n let start = str.indexOf(substr, from);\n if (start >= 0) {\n let end = start + substr.length;\n\n return [end, {\n head: str.substr(0, start),\n tail: str.substr(end)\n }];\n }\n\n return [-1, null];\n}\n\nfunction assign(...args) {\n return Object.assign(...args);\n}\n\nfunction hasYScroll(el) {\n // return el.scrollHeight > el.clientHeight;\n return el.offsetWidth - el.clientWidth - el.clientLeft*2 > 0; // ie11 (consider border right == border left)\n}\n\nfunction rect(el) {\n return el.getBoundingClientRect();\n}\n\nfunction ancestor(el, up) {\n while (up--) {\n el = el.parentElement;\n }\n return el;\n}\n\nfunction height(el) {\n return el.offsetHeight;\n}\n\nfunction createView(view, _viewTitle, _currentRange, _activeRange) {\n return {\n type: view,\n title: _viewTitle,\n currentStart: _currentRange.start,\n currentEnd: _currentRange.end,\n activeStart: _activeRange.start,\n activeEnd: _activeRange.end,\n calendar: undefined\n };\n}\n\nfunction toViewWithLocalDates(view) {\n view = assign({}, view);\n view.currentStart = toLocalDate(view.currentStart);\n view.currentEnd = toLocalDate(view.currentEnd);\n view.activeStart = toLocalDate(view.activeStart);\n view.activeEnd = toLocalDate(view.activeEnd);\n\n return view;\n}\n\nconst display = ['background'];\n\nlet eventId = 1;\nfunction createEvents(input) {\n return input.map(event => ({\n id: 'id' in event ? String(event.id) : `{generated-${eventId++}}`,\n resourceIds: Array.isArray(event.resourceIds)\n ? event.resourceIds.map(String)\n : ('resourceId' in event ? [String(event.resourceId)] : []),\n allDay: event.allDay || false,\n start: createDate(event.start),\n end: createDate(event.end),\n title: event.title || '',\n editable: event.editable,\n startEditable: event.startEditable,\n durationEditable: event.durationEditable,\n display: display.includes(event.display) ? event.display : 'auto',\n extendedProps: event.extendedProps || {},\n backgroundColor: event.backgroundColor || event.color\n }));\n}\n\nfunction createEventSources(input) {\n return input.map(source => ({\n events: source.events,\n url: (source.url && source.url.trimEnd('&')) || '',\n method: (source.method && source.method.toUpperCase()) || 'GET',\n extraParams: source.extraParams || {}\n }));\n}\n\nfunction createEventChunk(event, start, end) {\n return {\n start: event.start > start ? event.start : start,\n end: event.end < end ? event.end : end,\n event\n };\n}\n\nfunction sortEventChunks(chunks) {\n // Sort by start date\n chunks.sort((a, b) => {\n if (a.start < b.start) {\n return -1;\n }\n if (a.start > b.start) {\n return 1;\n }\n return 0;\n });\n}\n\nfunction createEventContent(chunk, displayEventEnd, eventContent, theme, _intlEventTime, _view) {\n let timeText = _intlEventTime.format(chunk.start), content;\n if (displayEventEnd && chunk.event.display !== 'pointer') {\n timeText += ` - ${_intlEventTime.format(chunk.end)}`;\n }\n if (eventContent) {\n content = is_function(eventContent)\n ? eventContent({\n event: toEventWithLocalDates(chunk.event),\n timeText,\n view: toViewWithLocalDates(_view)\n })\n : eventContent;\n if (typeof content === 'string') {\n content = {html: content};\n }\n } else {\n switch (chunk.event.display) {\n case 'background':\n content = {html: ''};\n break;\n case 'pointer':\n content = {\n html: `<div class=\"${theme.eventTime}\">${timeText}</div>`\n };\n break;\n default:\n content = {\n html: `<div class=\"${theme.eventTime}\">${timeText}</div>` +\n `<div class=\"${theme.eventTitle}\">${chunk.event.title}</div>`\n };\n }\n }\n\n return [timeText, content];\n}\n\nfunction toEventWithLocalDates(event) {\n return _cloneEvent(event, toLocalDate);\n}\n\nfunction cloneEvent(event) {\n return _cloneEvent(event, cloneDate);\n}\n\nfunction _cloneEvent(event, dateFn) {\n event = assign({}, event);\n event.start = dateFn(event.start);\n event.end = dateFn(event.end);\n\n return event;\n}\n\nfunction writable2(value, parser, start) {\n return {\n ...writable(parser ? parser(value) : value, start),\n parse: parser\n };\n}\n\nfunction derived2(stores, fn, initValue) {\n let storeValue = initValue;\n let hasSubscribers = false;\n let auto = fn.length < 2;\n let fn2 = (_, set) => {\n hasSubscribers = true;\n if (auto) {\n storeValue = fn(_, set);\n set(storeValue);\n } else {\n fn(_, value => {storeValue = value; set(value);});\n }\n return () => {hasSubscribers = false;};\n };\n let store = derived(stores, fn2, storeValue);\n return {\n ...store,\n get: () => hasSubscribers ? storeValue : get(store)\n };\n}\n\nfunction intl(locale, format) {\n return derived([locale, format], ([$locale, $format]) => {\n let intl = is_function($format)\n ? {format: $format}\n : new Intl.DateTimeFormat($locale, $format);\n return {\n format: date => intl.format(toLocalDate(date))\n };\n });\n}\n\nfunction intlRange(locale, format) {\n return derived([locale, format], ([$locale, $format]) => {\n if (is_function($format)) {\n return {format: (start, end) => $format(toLocalDate(start), toLocalDate(end))};\n }\n let intl = new Intl.DateTimeFormat($locale, $format);\n return {\n format: (start, end) => formatRange(toLocalDate(start), toLocalDate(end), intl)\n };\n });\n}\n\nexport { DAY_IN_SECONDS, addDay, addDuration, ancestor, assign, cloneDate, cloneEvent, createDate, createDuration, createEventChunk, createEventContent, createEventSources, createEvents, createView, datesEqual, derived2, formatRange, hasYScroll, height, intl, intlRange, nextClosestDay, prevClosestDay, rect, setContent, setMidnight, sortEventChunks, subtractDay, subtractDuration, toEventWithLocalDates, toISOString, toLocalDate, toViewWithLocalDates, writable2 };\n","import { is_function, tick, noop, identity, SvelteComponent, init, safe_not_equal, empty, insert, detach, destroy_each, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, space, transition_in, group_outros, transition_out, check_outros, create_component, mount_component, destroy_component, set_style } from 'svelte/internal';\nimport { getContext, setContext } from 'svelte';\nimport { derived, writable, get } from 'svelte/store';\nimport { setMidnight, createDate, createDuration, createEvents, createEventSources, assign, cloneDate, prevClosestDay, addDuration, subtractDay, derived2, addDay, createView, nextClosestDay, DAY_IN_SECONDS, toLocalDate, toISOString, writable2, intl, intlRange, subtractDuration, toEventWithLocalDates, toViewWithLocalDates } from '@event-calendar/common';\n\nfunction createOptions(plugins) {\n let options = {\n allDayContent: undefined,\n allDaySlot: true,\n buttonText: {\n today: 'today',\n },\n date: new Date(),\n dateClick: undefined,\n datesSet: undefined,\n dayHeaderFormat: {\n weekday: 'short',\n month: 'numeric',\n day: 'numeric'\n },\n displayEventEnd: true,\n duration: {weeks: 1},\n events: [],\n eventBackgroundColor: undefined,\n eventClick: undefined,\n eventColor: undefined,\n eventContent: undefined,\n eventDidMount: undefined,\n eventMouseEnter: undefined,\n eventMouseLeave: undefined,\n eventSources: [],\n eventTimeFormat: {\n hour: 'numeric',\n minute: '2-digit'\n },\n firstDay: 0,\n flexibleSlotTimeLimits: false, // ec option\n headerToolbar: {\n start: 'title',\n center: '',\n end: 'today prev,next'\n },\n height: 'auto',\n hiddenDays: [],\n highlightedDates: [], // ec option\n lazyFetching: true,\n loading: undefined,\n locale: undefined,\n monthMode: false,\n nowIndicator: false,\n scrollTime: '06:00:00',\n slotDuration: '00:30:00',\n slotHeight: 24, // ec option\n slotLabelFormat: {\n hour: 'numeric',\n minute: '2-digit'\n },\n slotMaxTime: '24:00:00',\n slotMinTime: '00:00:00',\n theme: {\n allDay: 'ec-all-day',\n active: 'ec-active',\n bgEvent: 'ec-bg-event',\n bgEvents: 'ec-bg-events',\n body: 'ec-body',\n button: 'ec-button',\n buttonGroup: 'ec-button-group',\n calendar: 'ec',\n compact: 'ec-compact',\n content: 'ec-content',\n day: 'ec-day',\n dayHead: 'ec-day-head',\n days: 'ec-days',\n event: 'ec-event',\n eventBody: 'ec-event-body',\n eventTime: 'ec-event-time',\n eventTitle: 'ec-event-title',\n events: 'ec-events',\n extra: 'ec-extra',\n handle: 'ec-handle',\n header: 'ec-header',\n hiddenScroll: 'ec-hidden-scroll',\n hiddenTimes: 'ec-hidden-times',\n highlight: 'ec-highlight',\n icon: 'ec-icon',\n line: 'ec-line',\n lines: 'ec-lines',\n nowIndicator: 'ec-now-indicator',\n otherMonth: 'ec-other-month',\n sidebar: 'ec-sidebar',\n sidebarTitle: 'ec-sidebar-title',\n today: 'ec-today',\n time: 'ec-time',\n title: 'ec-title',\n toolbar: 'ec-toolbar',\n week: 'ec-week',\n withScroll: 'ec-with-scroll'\n },\n titleFormat: {\n year: 'numeric',\n month: 'short',\n day: 'numeric'\n },\n view: undefined,\n viewDidMount: undefined,\n views: {}\n };\n\n for (let plugin of plugins) {\n if ('createOptions' in plugin) {\n plugin.createOptions(options);\n }\n }\n\n return options;\n}\n\nfunction createParsers(options, plugins) {\n let parsers = {\n buttonText: input => is_function(input) ? input(options.buttonText) : input,\n date: date => setMidnight(createDate(date)),\n duration: createDuration,\n events: createEvents,\n eventSources: createEventSources,\n hiddenDays: days => [...new Set(days)],\n highlightedDates: dates => dates.map(createDate),\n scrollTime: createDuration,\n slotDuration: createDuration,\n slotMaxTime: createDuration,\n slotMinTime: createDuration,\n theme: input => is_function(input) ? input(options.theme) : input\n };\n\n for (let plugin of plugins) {\n if ('createParsers' in plugin) {\n plugin.createParsers(parsers, options);\n }\n }\n\n return parsers;\n}\n\nlet prev;\nfunction diff(options) {\n let diff = [];\n if (prev) {\n for (let name of Object.keys(options)) {\n if (options[name] !== prev[name]) {\n diff.push([name, options[name]]);\n }\n }\n }\n prev = assign({}, options);\n\n return diff;\n}\n\nfunction activeRange(state) {\n let _activeRange = derived(\n [state._currentRange, state.firstDay, state.monthMode, state.slotMinTime, state.slotMaxTime],\n ([$_currentRange, $firstDay, $monthMode, $slotMinTime, $slotMaxTime]) => {\n let start = cloneDate($_currentRange.start);\n let end = cloneDate($_currentRange.end);\n\n if ($monthMode) {\n // First day of week\n prevClosestDay(start, $firstDay);\n nextClosestDay(end, $firstDay);\n } else if ($slotMaxTime.days || $slotMaxTime.seconds > DAY_IN_SECONDS) {\n addDuration(subtractDay(end), $slotMaxTime);\n let start2 = subtractDay(cloneDate(end));\n if (start2 < start) {\n start = start2;\n }\n }\n\n return {start, end};\n }\n );\n\n let debounce = 0;\n derived([_activeRange, state.datesSet], ([$_activeRange, $datesSet]) => {\n if ($datesSet && !debounce) {\n ++debounce;\n tick().then(() => {\n --debounce;\n $datesSet({\n start: toLocalDate($_activeRange.start),\n end: toLocalDate($_activeRange.end),\n startStr: toISOString($_activeRange.start),\n endStr: toISOString($_activeRange.end)\n });\n });\n }\n }).subscribe(noop);\n\n return _activeRange;\n}\n\nfunction currentRange(state) {\n return derived(\n [state.date, state.duration, state.monthMode, state.firstDay],\n ([$date, $duration, $monthMode, $firstDay]) => {\n let start = cloneDate($date), end;\n if ($monthMode) {\n start.setDate(1);\n } else if ($duration.inWeeks) {\n // First day of week\n prevClosestDay(start, $firstDay);\n }\n end = addDuration(cloneDate(start), $duration);\n\n return {start, end};\n }\n );\n}\n\nfunction viewDates(state) {\n return derived2([state._activeRange, state.hiddenDays], ([$_activeRange, $hiddenDays]) => {\n let dates = [];\n let date = setMidnight(cloneDate($_activeRange.start));\n let end = setMidnight(cloneDate($_activeRange.end));\n while (date < end) {\n if (!$hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n }\n addDay(date);\n }\n if (!dates.length && $hiddenDays.length && $hiddenDays.length < 7) {\n // Try to move the date\n state.date.update(date => {\n while ($hiddenDays.includes(date.getUTCDay())) {\n addDay(date);\n }\n return date;\n });\n dates = state._viewDates.get();\n }\n\n return dates;\n });\n}\n\nfunction viewTitle(state) {\n return derived(\n [state.date, state._activeRange, state._titleIntlRange, state.monthMode],\n ([$date, $_activeRange, $_titleIntlRange, $monthMode]) => {\n return $monthMode\n ? $_titleIntlRange.format($date, $date)\n : $_titleIntlRange.format($_activeRange.start, subtractDay(cloneDate($_activeRange.end)));\n }\n );\n}\n\nfunction view(state) {\n return derived2([state.view, state._viewTitle, state._currentRange, state._activeRange], args => createView(...args));\n}\n\nfunction events(state) {\n let _events = writable([]);\n let abortController;\n let fetching = 0;\n derived(\n [state.events, state.eventSources, state._activeRange, state._fetchedRange, state.lazyFetching, state.loading],\n (values, set) => tick().then(() => {\n let [$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading] = values;\n if (!$eventSources.length) {\n set($events);\n return;\n }\n // Do not fetch if new range is within the previous one\n if (!$_fetchedRange.start || $_fetchedRange.start > $_activeRange.start || $_fetchedRange.end < $_activeRange.end || !$lazyFetching) {\n if (abortController) {\n // Abort previous request\n abortController.abort();\n }\n // Create new abort controller\n abortController = new AbortController();\n // Call loading hook\n if (is_function($loading) && !fetching) {\n $loading(true);\n }\n let stopLoading = () => {\n if (--fetching === 0 && is_function($loading)) {\n $loading(false);\n }\n };\n let events = [];\n // Prepare handlers\n let failure = e => stopLoading();\n let success = data => {\n events = events.concat(createEvents(data));\n set(events);\n stopLoading();\n };\n // Prepare other stuff\n let startStr = toISOString($_activeRange.start);\n let endStr = toISOString($_activeRange.end);\n // Loop over event sources\n for (let source of $eventSources) {\n if (is_function(source.events)) {\n // Events as a function\n let result = source.events({\n start: toLocalDate($_activeRange.start),\n end: toLocalDate($_activeRange.end),\n startStr,\n endStr\n }, success, failure);\n if (result !== undefined) {\n Promise.resolve(result).then(success, failure);\n }\n } else {\n // Events as a JSON feed\n // Prepare params\n let params = is_function(source.extraParams) ? source.extraParams() : assign({}, source.extraParams);\n params.start = startStr;\n params.end = endStr;\n params = new URLSearchParams(params);\n // Prepare fetch\n let url = source.url, headers = {}, body;\n if (['GET', 'HEAD'].includes(source.method)) {\n url += (url.includes('?') ? '&' : '?') + params;\n } else {\n headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';\n body = String(params); // Safari 10.1 doesn't convert to string automatically\n }\n // Do the fetch\n fetch(url, {method: source.method, headers, body, signal: abortController.signal, credentials: 'same-origin'})\n .then(response => response.json())\n .then(success)\n .catch(failure);\n }\n ++fetching;\n }\n // Save current range for future requests\n $_fetchedRange.start = $_activeRange.start;\n $_fetchedRange.end = $_activeRange.end;\n }\n }),\n []\n ).subscribe(_events.set);\n\n return _events;\n}\n\nclass State {\n constructor(plugins, input) {\n plugins = plugins || [];\n\n // Create options\n let options = createOptions(plugins);\n let parsers = createParsers(options, plugins);\n\n // Create stores for options\n for (let [option, value] of Object.entries(options)) {\n this[option] = writable2(value, parsers[option]);\n }\n\n // Private stores\n this._currentRange = currentRange(this);\n this._activeRange = activeRange(this);\n this._fetchedRange = writable({start: undefined, end: undefined});\n this._events = events(this);\n this._intlEventTime = intl(this.locale, this.eventTimeFormat);\n this._intlSlotLabel = intl(this.locale, this.slotLabelFormat);\n this._intlDayHeader = intl(this.locale, this.dayHeaderFormat);\n this._titleIntlRange = intlRange(this.locale, this.titleFormat);\n this._scrollable = writable(false);\n this._viewTitle = viewTitle(this);\n this._viewDates = viewDates(this);\n this._view = view(this);\n this._viewComponent = writable(undefined);\n this._viewClass = writable(undefined);\n // Interaction\n this._interaction = writable({});\n this._iEvents = writable([null, null]); // interaction events: [drag/resize, pointer]\n this._draggable = writable(noop);\n this._resizable = writable(noop);\n this._classes = writable(identity);\n this._iClass = writable(undefined);\n this._scroll = writable(undefined);\n\n // Let plugins create their private stores\n for (let plugin of plugins) {\n if ('createStores' in plugin) {\n plugin.createStores(this);\n }\n }\n\n if (input.view) {\n // Set initial view based on input\n this.view.set(input.view);\n }\n\n // Set options for each view\n let commonOpts = assign({}, options, input);\n parseOpts(commonOpts, this);\n let views = new Set([...Object.keys(options.views), ...Object.keys(input.views || {})]);\n for (let view of views) {\n let viewOpts = assign({}, options.views[view] || {}, input.views && input.views[view] || {});\n parseOpts(viewOpts, this);\n let opts = assign({}, commonOpts, viewOpts);\n // Change view component when view changes\n this.view.subscribe(newView => {\n if (newView === view) {\n this._viewComponent.set(opts.component);\n if (is_function(opts.viewDidMount)) {\n tick().then(() => opts.viewDidMount(this._view.get()));\n }\n }\n });\n for (let key of Object.keys(opts)) {\n if (this.hasOwnProperty(key) && key[0] !== '_') {\n let {set, _set, ...rest} = this[key];\n\n if (!_set) {\n // Original set\n _set = set;\n }\n\n this[key] = {\n // Set value in all views\n set: value => {opts[key] = value; set(value);},\n _set,\n ...rest\n };\n\n // Change value when view changes\n this.view.subscribe(newView => {\n if (newView === view) {\n _set(opts[key]);\n }\n });\n }\n }\n }\n }\n}\n\nfunction parseOpts(opts, state) {\n for (let key of Object.keys(opts)) {\n if (state.hasOwnProperty(key) && key[0] !== '_') {\n if (state[key].parse) {\n opts[key] = state[key].parse(opts[key]);\n }\n }\n }\n}\n\n/* packages/core/src/Buttons.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[23] = list[i];\n\treturn child_ctx;\n}\n\n// (38:1) {:else}\nfunction create_else_block$1(ctx) {\n\tlet button;\n\tlet t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\";\n\tlet t;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\tfunction click_handler_1() {\n\t\treturn /*click_handler_1*/ ctx[20](/*button*/ ctx[23]);\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\tt = text(t_value);\n\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + (/*$view*/ ctx[6] === /*button*/ ctx[23]\n\t\t\t? ' ' + /*$theme*/ ctx[3].active\n\t\t\t: '') + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, t);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", click_handler_1);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif (dirty & /*$buttonText, buttons*/ 33 && t_value !== (t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme, $view, buttons*/ 73 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + (/*$view*/ ctx[6] === /*button*/ ctx[23]\n\t\t\t? ' ' + /*$theme*/ ctx[3].active\n\t\t\t: '') + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (36:30) \nfunction create_if_block_4(ctx) {\n\tlet button;\n\tlet t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\";\n\tlet t;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\tt = text(t_value);\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tbutton.disabled = /*isToday*/ ctx[1];\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, t);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*click_handler*/ ctx[19]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$buttonText, buttons*/ 33 && t_value !== (t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*isToday*/ 2) {\n\t\t\t\tbutton.disabled = /*isToday*/ ctx[1];\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (34:29) \nfunction create_if_block_3(ctx) {\n\tlet button;\n\tlet i;\n\tlet i_class_value;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\ti = element(\"i\");\n\t\t\tattr(i, \"class\", i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, i);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*next*/ ctx[17]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && i_class_value !== (i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(i, \"class\", i_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (32:28) \nfunction create_if_block_2(ctx) {\n\tlet button;\n\tlet i;\n\tlet i_class_value;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\ti = element(\"i\");\n\t\t\tattr(i, \"class\", i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, i);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*prev*/ ctx[16]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && i_class_value !== (i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(i, \"class\", i_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (30:29) \nfunction create_if_block_1(ctx) {\n\tlet h2;\n\tlet t;\n\tlet h2_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\th2 = element(\"h2\");\n\t\t\tt = text(/*$_viewTitle*/ ctx[4]);\n\t\t\tattr(h2, \"class\", h2_class_value = /*$theme*/ ctx[3].title);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, h2, anchor);\n\t\t\tappend(h2, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewTitle*/ 16) set_data(t, /*$_viewTitle*/ ctx[4]);\n\n\t\t\tif (dirty & /*$theme*/ 8 && h2_class_value !== (h2_class_value = /*$theme*/ ctx[3].title)) {\n\t\t\t\tattr(h2, \"class\", h2_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(h2);\n\t\t}\n\t};\n}\n\n// (29:1) {#if button == ''}\nfunction create_if_block$1(ctx) {\n\treturn { c: noop, m: noop, p: noop, d: noop };\n}\n\n// (28:0) {#each buttons as button}\nfunction create_each_block$1(ctx) {\n\tlet if_block_anchor;\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*button*/ ctx[23] == '') return create_if_block$1;\n\t\tif (/*button*/ ctx[23] == 'title') return create_if_block_1;\n\t\tif (/*button*/ ctx[23] == 'prev') return create_if_block_2;\n\t\tif (/*button*/ ctx[23] === 'next') return create_if_block_3;\n\t\tif (/*button*/ ctx[23] === 'today') return create_if_block_4;\n\t\treturn create_else_block$1;\n\t}\n\n\tlet current_block_type = select_block_type(ctx);\n\tlet if_block = current_block_type(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {\n\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = current_block_type(ctx);\n\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value = /*buttons*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*buttons, $theme, $_viewTitle, prev, next, isToday, $date, cloneDate, today, $buttonText, $view*/ 229503) {\n\t\t\t\teach_value = /*buttons*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $duration;\n\tlet $date;\n\tlet $hiddenDays;\n\tlet $_currentRange;\n\tlet $theme;\n\tlet $_viewTitle;\n\tlet $buttonText;\n\tlet $view;\n\tlet { buttons } = $$props;\n\tlet { _currentRange, _viewTitle, buttonText, date, duration, hiddenDays, theme, view } = getContext('state');\n\tcomponent_subscribe($$self, _currentRange, value => $$invalidate(18, $_currentRange = value));\n\tcomponent_subscribe($$self, _viewTitle, value => $$invalidate(4, $_viewTitle = value));\n\tcomponent_subscribe($$self, buttonText, value => $$invalidate(5, $buttonText = value));\n\tcomponent_subscribe($$self, date, value => $$invalidate(2, $date = value));\n\tcomponent_subscribe($$self, duration, value => $$invalidate(21, $duration = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(22, $hiddenDays = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tcomponent_subscribe($$self, view, value => $$invalidate(6, $view = value));\n\tlet today = setMidnight(createDate()), isToday;\n\n\tfunction prev() {\n\t\tlet d = subtractDuration($date, $duration);\n\n\t\tif ($hiddenDays.length && $hiddenDays.length < 7) {\n\t\t\twhile ($hiddenDays.includes(d.getUTCDay())) {\n\t\t\t\tsubtractDay(d);\n\t\t\t}\n\t\t}\n\n\t\tset_store_value(date, $date = d, $date);\n\t}\n\n\tfunction next() {\n\t\tset_store_value(date, $date = addDuration($date, $duration), $date);\n\t}\n\n\tconst click_handler = () => set_store_value(date, $date = cloneDate(today), $date);\n\tconst click_handler_1 = button => set_store_value(view, $view = button, $view);\n\n\t$$self.$$set = $$props => {\n\t\tif ('buttons' in $$props) $$invalidate(0, buttons = $$props.buttons);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_currentRange*/ 262144) {\n\t\t\t$$invalidate(1, isToday = today >= $_currentRange.start && today < $_currentRange.end || null);\n\t\t}\n\t};\n\n\treturn [\n\t\tbuttons,\n\t\tisToday,\n\t\t$date,\n\t\t$theme,\n\t\t$_viewTitle,\n\t\t$buttonText,\n\t\t$view,\n\t\t_currentRange,\n\t\t_viewTitle,\n\t\tbuttonText,\n\t\tdate,\n\t\tduration,\n\t\thiddenDays,\n\t\ttheme,\n\t\tview,\n\t\ttoday,\n\t\tprev,\n\t\tnext,\n\t\t$_currentRange,\n\t\tclick_handler,\n\t\tclick_handler_1\n\t];\n}\n\nclass Buttons extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, { buttons: 0 });\n\t}\n}\n\n/* packages/core/src/Toolbar.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[5] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[8] = list[i];\n\treturn child_ctx;\n}\n\n// (28:4) {:else}\nfunction create_else_block(ctx) {\n\tlet buttons;\n\tlet current;\n\tbuttons = new Buttons({ props: { buttons: /*buttons*/ ctx[8] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(buttons.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(buttons, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst buttons_changes = {};\n\t\t\tif (dirty & /*sections*/ 1) buttons_changes.buttons = /*buttons*/ ctx[8];\n\t\t\tbuttons.$set(buttons_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(buttons.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(buttons.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(buttons, detaching);\n\t\t}\n\t};\n}\n\n// (24:4) {#if buttons.length > 1}\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet buttons;\n\tlet div_class_value;\n\tlet current;\n\tbuttons = new Buttons({ props: { buttons: /*buttons*/ ctx[8] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(buttons.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].buttonGroup);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(buttons, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst buttons_changes = {};\n\t\t\tif (dirty & /*sections*/ 1) buttons_changes.buttons = /*buttons*/ ctx[8];\n\t\t\tbuttons.$set(buttons_changes);\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].buttonGroup)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(buttons.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(buttons.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(buttons);\n\t\t}\n\t};\n}\n\n// (23:3) {#each sections[key] as buttons}\nfunction create_each_block_1(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*buttons*/ ctx[8].length > 1) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (21:1) {#each Object.keys(sections) as key}\nfunction create_each_block(ctx) {\n\tlet div;\n\tlet t;\n\tlet current;\n\tlet each_value_1 = /*sections*/ ctx[0][/*key*/ ctx[5]];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, sections, Object*/ 3) {\n\t\t\t\teach_value_1 = /*sections*/ ctx[0][/*key*/ ctx[5]];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value = Object.keys(/*sections*/ ctx[0]);\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].toolbar);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*sections, Object, $theme*/ 3) {\n\t\t\t\teach_value = Object.keys(/*sections*/ ctx[0]);\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].toolbar)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $headerToolbar;\n\tlet $theme;\n\tlet { headerToolbar, theme } = getContext('state');\n\tcomponent_subscribe($$self, headerToolbar, value => $$invalidate(4, $headerToolbar = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet sections = { start: [], center: [], end: [] };\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*sections, $headerToolbar*/ 17) {\n\t\t\t{\n\t\t\t\tfor (let key of Object.keys(sections)) {\n\t\t\t\t\t$$invalidate(0, sections[key] = $headerToolbar[key].split(' ').map(group => group.split(',')), sections);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [sections, $theme, headerToolbar, theme, $headerToolbar];\n}\n\nclass Toolbar extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, {});\n\t}\n}\n\n/* packages/core/src/Calendar.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment(ctx) {\n\tlet div;\n\tlet toolbar;\n\tlet t0;\n\tlet switch_instance0;\n\tlet t1;\n\tlet switch_instance1;\n\tlet div_class_value;\n\tlet current;\n\ttoolbar = new Toolbar({});\n\tvar switch_value = /*$_viewComponent*/ ctx[4];\n\n\tfunction switch_props(ctx) {\n\t\treturn {};\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance0 = new switch_value(switch_props());\n\t}\n\n\tvar switch_value_1 = /*$_interaction*/ ctx[5].component;\n\n\tfunction switch_props_1(ctx) {\n\t\treturn {};\n\t}\n\n\tif (switch_value_1) {\n\t\tswitch_instance1 = new switch_value_1(switch_props_1());\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(toolbar.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (switch_instance0) create_component(switch_instance0.$$.fragment);\n\t\t\tt1 = space();\n\t\t\tif (switch_instance1) create_component(switch_instance1.$$.fragment);\n\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[0].calendar + (/*$_viewClass*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_viewClass*/ ctx[1]]\n\t\t\t: '') + (/*$_iClass*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_iClass*/ ctx[2]]\n\t\t\t: '')));\n\n\t\t\tset_style(div, \"height\", /*$height*/ ctx[3]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(toolbar, div, null);\n\t\t\tappend(div, t0);\n\n\t\t\tif (switch_instance0) {\n\t\t\t\tmount_component(switch_instance0, div, null);\n\t\t\t}\n\n\t\t\tappend(div, t1);\n\n\t\t\tif (switch_instance1) {\n\t\t\t\tmount_component(switch_instance1, div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (switch_value !== (switch_value = /*$_viewComponent*/ ctx[4])) {\n\t\t\t\tif (switch_instance0) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance0;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance0 = new switch_value(switch_props());\n\t\t\t\t\tcreate_component(switch_instance0.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance0.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance0, div, t1);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance0 = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (switch_value_1 !== (switch_value_1 = /*$_interaction*/ ctx[5].component)) {\n\t\t\t\tif (switch_instance1) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance1;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value_1) {\n\t\t\t\t\tswitch_instance1 = new switch_value_1(switch_props_1());\n\t\t\t\t\tcreate_component(switch_instance1.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance1.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance1, div, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance1 = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, $_viewClass, $_iClass*/ 7 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[0].calendar + (/*$_viewClass*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_viewClass*/ ctx[1]]\n\t\t\t: '') + (/*$_iClass*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_iClass*/ ctx[2]]\n\t\t\t: '')))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$height*/ 8) {\n\t\t\t\tset_style(div, \"height\", /*$height*/ ctx[3]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(toolbar.$$.fragment, local);\n\t\t\tif (switch_instance0) transition_in(switch_instance0.$$.fragment, local);\n\t\t\tif (switch_instance1) transition_in(switch_instance1.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(toolbar.$$.fragment, local);\n\t\t\tif (switch_instance0) transition_out(switch_instance0.$$.fragment, local);\n\t\t\tif (switch_instance1) transition_out(switch_instance1.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(toolbar);\n\t\t\tif (switch_instance0) destroy_component(switch_instance0);\n\t\t\tif (switch_instance1) destroy_component(switch_instance1);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $events;\n\tlet $_events;\n\tlet $eventSources;\n\tlet $theme;\n\tlet $_viewClass;\n\tlet $_iClass;\n\tlet $height;\n\tlet $_viewComponent;\n\tlet $_interaction;\n\tlet { plugins = [] } = $$props;\n\tlet { options = {} } = $$props;\n\tlet state = new State(plugins, options);\n\tsetContext('state', state);\n\tlet { _viewComponent, _viewClass, _interaction, _iClass, _events, events, eventSources, height, theme } = state;\n\tcomponent_subscribe($$self, _viewComponent, value => $$invalidate(4, $_viewComponent = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(1, $_viewClass = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(5, $_interaction = value));\n\tcomponent_subscribe($$self, _iClass, value => $$invalidate(2, $_iClass = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(27, $_events = value));\n\tcomponent_subscribe($$self, events, value => $$invalidate(26, $events = value));\n\tcomponent_subscribe($$self, eventSources, value => $$invalidate(28, $eventSources = value));\n\tcomponent_subscribe($$self, height, value => $$invalidate(3, $height = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\n\tfunction setOption(name, value) {\n\t\tif (state.hasOwnProperty(name)) {\n\t\t\tif (state[name].parse) {\n\t\t\t\tvalue = state[name].parse(value);\n\t\t\t}\n\n\t\t\tstate[name].set(value);\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tfunction getOption(name) {\n\t\treturn state.hasOwnProperty(name)\n\t\t? get(state[name])\n\t\t: undefined;\n\t}\n\n\tfunction refetchEvents() {\n\t\tstate._fetchedRange.set({ start: undefined, end: undefined });\n\t\treturn this;\n\t}\n\n\tfunction getEvents() {\n\t\treturn get(state._events).map(toEventWithLocalDates);\n\t}\n\n\tfunction getEventById(id) {\n\t\tfor (let event of get(state._events)) {\n\t\t\tif (event.id == id) {\n\t\t\t\treturn toEventWithLocalDates(event);\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction addEvent(event) {\n\t\tupdateEvents(events => events.concat(state.events.parse([event])));\n\t\treturn this;\n\t}\n\n\tfunction updateEvent(event) {\n\t\tupdateEvents(events => {\n\t\t\tfor (let e of events) {\n\t\t\t\tif (e.id == event.id) {\n\t\t\t\t\tassign(e, state.events.parse([event])[0]);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn events;\n\t\t});\n\n\t\treturn this;\n\t}\n\n\tfunction removeEventById(id) {\n\t\tupdateEvents(events => events.filter(event => event.id != id));\n\t\treturn this;\n\t}\n\n\tfunction getView() {\n\t\treturn toViewWithLocalDates(state._view.get());\n\t}\n\n\tfunction updateEvents(func) {\n\t\tif ($eventSources.length) {\n\t\t\tset_store_value(_events, $_events = func($_events), $_events);\n\t\t} else {\n\t\t\tset_store_value(events, $events = func($events), $events);\n\t\t}\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('plugins' in $$props) $$invalidate(15, plugins = $$props.plugins);\n\t\tif ('options' in $$props) $$invalidate(16, options = $$props.options);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*options*/ 65536) {\n\t\t\t// Reactively update options that did change\n\t\t\tfor (let [name, value] of diff(options)) {\n\t\t\t\tsetOption(name, value);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\t$theme,\n\t\t$_viewClass,\n\t\t$_iClass,\n\t\t$height,\n\t\t$_viewComponent,\n\t\t$_interaction,\n\t\t_viewComponent,\n\t\t_viewClass,\n\t\t_interaction,\n\t\t_iClass,\n\t\t_events,\n\t\tevents,\n\t\teventSources,\n\t\theight,\n\t\ttheme,\n\t\tplugins,\n\t\toptions,\n\t\tsetOption,\n\t\tgetOption,\n\t\trefetchEvents,\n\t\tgetEvents,\n\t\tgetEventById,\n\t\taddEvent,\n\t\tupdateEvent,\n\t\tremoveEventById,\n\t\tgetView\n\t];\n}\n\nclass Calendar extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {\n\t\t\tplugins: 15,\n\t\t\toptions: 16,\n\t\t\tsetOption: 17,\n\t\t\tgetOption: 18,\n\t\t\trefetchEvents: 19,\n\t\t\tgetEvents: 20,\n\t\t\tgetEventById: 21,\n\t\t\taddEvent: 22,\n\t\t\tupdateEvent: 23,\n\t\t\tremoveEventById: 24,\n\t\t\tgetView: 25\n\t\t});\n\t}\n\n\tget setOption() {\n\t\treturn this.$$.ctx[17];\n\t}\n\n\tget getOption() {\n\t\treturn this.$$.ctx[18];\n\t}\n\n\tget refetchEvents() {\n\t\treturn this.$$.ctx[19];\n\t}\n\n\tget getEvents() {\n\t\treturn this.$$.ctx[20];\n\t}\n\n\tget getEventById() {\n\t\treturn this.$$.ctx[21];\n\t}\n\n\tget addEvent() {\n\t\treturn this.$$.ctx[22];\n\t}\n\n\tget updateEvent() {\n\t\treturn this.$$.ctx[23];\n\t}\n\n\tget removeEventById() {\n\t\treturn this.$$.ctx[24];\n\t}\n\n\tget getView() {\n\t\treturn this.$$.ctx[25];\n\t}\n}\n\nexport { Calendar as default };\n","import { SvelteComponent, init, safe_not_equal, element, text, attr, insert, append, set_data, detach, space, noop, destroy_each, component_subscribe, create_slot, listen, is_function, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, run_all, set_store_value, binding_callbacks, create_component, mount_component, action_destroyer, group_outros, destroy_component, check_outros, stop_propagation, bubble, empty } from 'svelte/internal';\nimport { getContext, tick, createEventDispatcher, onMount, afterUpdate, setContext } from 'svelte';\nimport { derived, writable } from 'svelte/store';\nimport { cloneDate, subtractDay, addDay, hasYScroll, sortEventChunks, setMidnight, datesEqual, setContent, toEventWithLocalDates, toViewWithLocalDates, createEventContent, height, ancestor, rect, createDate, toLocalDate, toISOString, assign, createEventChunk, intl } from '@event-calendar/common';\n\nfunction days(state) {\n return derived([state.date, state.firstDay, state.hiddenDays], ([$date, $firstDay, $hiddenDays]) => {\n let days = [];\n let day = cloneDate($date);\n let max = 7;\n // First day of week\n while (day.getUTCDay() !== $firstDay && max) {\n subtractDay(day);\n --max;\n }\n for (let i = 0; i < 7; ++i) {\n if (!$hiddenDays.includes(day.getUTCDay())) {\n days.push(cloneDate(day));\n }\n addDay(day);\n }\n\n return days;\n });\n}\n\nclass State {\n constructor(state) {\n this._days = days(state);\n this._hiddenEvents = writable({});\n this._popup = writable({\n date: null,\n chunks: []\n });\n }\n}\n\n/* packages/day-grid/src/Header.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[8] = list[i];\n\treturn child_ctx;\n}\n\n// (10:2) {#each $_days as day}\nfunction create_each_block$4(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[3].format(/*day*/ ctx[8]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[0].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_intlDayHeader, $_days*/ 12 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[3].format(/*day*/ ctx[8]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 1 && div_class_value !== (div_class_value = /*$theme*/ ctx[0].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$6(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet each_value = /*$_days*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].days);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].hiddenScroll);\n\n\t\t\tattr(div2, \"class\", div2_class_value = \"\" + (/*$theme*/ ctx[0].header + (/*$_scrollable*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0].withScroll\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t}\n\n\t\t\tappend(div2, t);\n\t\t\tappend(div2, div1);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme, $_intlDayHeader, $_days*/ 13) {\n\t\t\t\teach_value = /*$_days*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$4(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].days)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].hiddenScroll)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, $_scrollable*/ 3 && div2_class_value !== (div2_class_value = \"\" + (/*$theme*/ ctx[0].header + (/*$_scrollable*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0].withScroll\n\t\t\t: '')))) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$6($$self, $$props, $$invalidate) {\n\tlet $theme;\n\tlet $_scrollable;\n\tlet $_days;\n\tlet $_intlDayHeader;\n\tlet { theme, _intlDayHeader, _scrollable } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(3, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(1, $_scrollable = value));\n\tlet { _days } = getContext('view-state');\n\tcomponent_subscribe($$self, _days, value => $$invalidate(2, $_days = value));\n\n\treturn [\n\t\t$theme,\n\t\t$_scrollable,\n\t\t$_days,\n\t\t$_intlDayHeader,\n\t\ttheme,\n\t\t_intlDayHeader,\n\t\t_scrollable,\n\t\t_days\n\t];\n}\n\nclass Header extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$6, create_fragment$6, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Body.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$5(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tconst default_slot_template = /*#slots*/ ctx[12].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[11], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].content);\n\n\t\t\tattr(div1, \"class\", div1_class_value = \"\" + (/*$theme*/ ctx[1].body + (/*$dayMaxEvents*/ ctx[2] === true\n\t\t\t? ' ' + /*$theme*/ ctx[1].uniform\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div0, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[13](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*recheckScrollable*/ ctx[9]),\n\t\t\t\t\tlisten(div1, \"scroll\", function () {\n\t\t\t\t\t\tif (is_function(/*$_scroll*/ ctx[3])) /*$_scroll*/ ctx[3].apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 2048)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[11],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[11])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[11], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].content)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, $dayMaxEvents*/ 6 && div1_class_value !== (div1_class_value = \"\" + (/*$theme*/ ctx[1].body + (/*$dayMaxEvents*/ ctx[2] === true\n\t\t\t? ' ' + /*$theme*/ ctx[1].uniform\n\t\t\t: '')))) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\t/*div1_binding*/ ctx[13](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$5($$self, $$props, $$invalidate) {\n\tlet $_scrollable;\n\tlet $_events;\n\tlet $theme;\n\tlet $dayMaxEvents;\n\tlet $_scroll;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { dayMaxEvents, _events, _scrollable, _scroll, theme } = getContext('state');\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(2, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(10, $_events = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(14, $_scrollable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(3, $_scroll = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet el;\n\n\tfunction recheckScrollable() {\n\t\tset_store_value(_scrollable, $_scrollable = hasYScroll(el), $_scrollable);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(11, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*el, $_events*/ 1025) {\n\t\t\tif (el && $_events) {\n\t\t\t\ttick().then(recheckScrollable);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\t$theme,\n\t\t$dayMaxEvents,\n\t\t$_scroll,\n\t\tdayMaxEvents,\n\t\t_events,\n\t\t_scrollable,\n\t\t_scroll,\n\t\ttheme,\n\t\trecheckScrollable,\n\t\t$_events,\n\t\t$$scope,\n\t\tslots,\n\t\tdiv1_binding\n\t];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$5, create_fragment$5, safe_not_equal, {});\n\t}\n}\n\nfunction prepareEventChunks(chunks, hiddenDays) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n let longChunks = {};\n let prevChunk;\n for (let chunk of chunks) {\n let dates = [];\n let date = setMidnight(cloneDate(chunk.start));\n while (chunk.end > date) {\n if (!hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n if (dates.length > 1) {\n let key = date.getTime();\n if (longChunks[key]) {\n longChunks[key].push(chunk);\n } else {\n longChunks[key] = [chunk];\n }\n }\n }\n addDay(date);\n }\n if (dates.length) {\n chunk.date = dates[0];\n chunk.days = dates.length;\n chunk.dates = dates;\n if (chunk.start < dates[0]) {\n chunk.start = dates[0];\n }\n if (setMidnight(cloneDate(chunk.end)) > dates[dates.length - 1]) {\n chunk.end = dates[dates.length - 1];\n }\n } else {\n chunk.date = setMidnight(cloneDate(chunk.start));\n chunk.days = 1;\n chunk.dates = [chunk.date];\n }\n\n if (prevChunk && datesEqual(prevChunk.date, chunk.date)) {\n chunk.prev = prevChunk;\n }\n prevChunk = chunk;\n }\n\n return longChunks;\n}\n\n/* packages/day-grid/src/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$4(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\n\t\t\tif (switch_instance) {\n\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[45](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*reposition*/ ctx[31]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[5])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[6]))) /*createClickHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[28](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]))) /*createHandler*/ ctx[28](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[28](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]))) /*createHandler*/ ctx[28](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 32) setContent_action.update.call(null, /*content*/ ctx[5]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 8) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 16) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[45](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$4($$self, $$props, $$invalidate) {\n\tlet $_hiddenEvents;\n\tlet $dayMaxEvents;\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { chunk } = $$props;\n\tlet { longChunks = {} } = $$props;\n\tlet { inPopup = false } = $$props;\n\tlet { dayMaxEvents, displayEventEnd, eventBackgroundColor, eventClick, eventColor, eventContent, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(47, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(41, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(44, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(43, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(40, $eventContent = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(48, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(38, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(39, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(42, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _hiddenEvents } = getContext('view-state');\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(37, $_hiddenEvents = value));\n\tcreateEventDispatcher();\n\tlet el;\n\tlet event;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\tlet margin = 1;\n\tlet hidden = false;\n\tlet display;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tafterUpdate(reposition);\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createClickHandler(fn, display) {\n\t\tlet handler = createHandler(fn, display);\n\n\t\treturn handler\n\t\t? jsEvent => !jsEvent.ecClosingPopup && handler(jsEvent)\n\t\t: handler;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.drag.startDayGrid(event, el, jsEvent, inPopup, resize);\n\t}\n\n\tfunction reposition() {\n\t\tif (!el || display === 'preview' || inPopup) {\n\t\t\treturn;\n\t\t}\n\n\t\t$$invalidate(32, chunk.top = 0, chunk);\n\n\t\tif (chunk.prev) {\n\t\t\tif (chunk.prev.bottom === undefined) {\n\t\t\t\t// 'prev' is not ready yet, try again later\n\t\t\t\ttick().then(reposition);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$$invalidate(32, chunk.top = chunk.prev.bottom + 1, chunk);\n\t\t}\n\n\t\t$$invalidate(32, chunk.bottom = chunk.top + height(el), chunk);\n\t\tlet m = 1;\n\t\tlet key = chunk.date.getTime();\n\n\t\tif (longChunks[key]) {\n\t\t\tfor (let longChunk of longChunks[key]) {\n\t\t\t\tif (longChunk.bottom === undefined) {\n\t\t\t\t\t// 'longChunk' is not ready yet, try again later\n\t\t\t\t\ttick().then(reposition);\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (chunk.top < longChunk.bottom && chunk.bottom > longChunk.top) {\n\t\t\t\t\tlet offset = longChunk.bottom - chunk.top + 1;\n\t\t\t\t\tm += offset;\n\t\t\t\t\t$$invalidate(32, chunk.top += offset, chunk);\n\t\t\t\t\t$$invalidate(32, chunk.bottom += offset, chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$$invalidate(35, margin = m);\n\n\t\tif ($dayMaxEvents === true) {\n\t\t\thide();\n\t\t} else {\n\t\t\t$$invalidate(36, hidden = false);\n\t\t}\n\t}\n\n\tfunction hide() {\n\t\tif (!el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet dayEl = ancestor(el, 2);\n\t\tlet h = height(dayEl) - height(dayEl.firstElementChild) - footHeight(dayEl);\n\t\t$$invalidate(36, hidden = chunk.bottom > h);\n\t\tcloneDate(chunk.date);\n\t\tlet update = false;\n\n\t\t// Hide or show the event throughout all days\n\t\tfor (let date of chunk.dates) {\n\t\t\tlet hiddenEvents = $_hiddenEvents[date.getTime()];\n\n\t\t\tif (hiddenEvents) {\n\t\t\t\tlet size = hiddenEvents.size;\n\n\t\t\t\tif (hidden) {\n\t\t\t\t\thiddenEvents.add(chunk.event);\n\t\t\t\t} else {\n\t\t\t\t\thiddenEvents.delete(chunk.event);\n\t\t\t\t}\n\n\t\t\t\tif (size !== hiddenEvents.size) {\n\t\t\t\t\tupdate = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (update) {\n\t\t\t_hiddenEvents.set($_hiddenEvents);\n\t\t}\n\t}\n\n\tfunction footHeight(dayEl) {\n\t\tlet h = 0;\n\n\t\tfor (let i = 0; i < chunk.days; ++i) {\n\t\t\th = Math.max(h, height(dayEl.lastElementChild));\n\t\t\tdayEl = dayEl.nextElementSibling;\n\n\t\t\tif (!dayEl) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn h;\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(32, chunk = $$props.chunk);\n\t\tif ('longChunks' in $$props) $$invalidate(33, longChunks = $$props.longChunks);\n\t\tif ('inPopup' in $$props) $$invalidate(34, inPopup = $$props.inPopup);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[1] & /*chunk*/ 2) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, style, $theme*/ 19 | $$self.$$.dirty[1] & /*$eventBackgroundColor, $eventColor, chunk, margin, hidden, $_classes*/ 14386) {\n\t\t\t{\n\t\t\t\t$$invalidate(6, display = event.display);\n\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\t$$invalidate(4, style = `width:calc(${chunk.days * 100}% + ${(chunk.days - 1) * 7}px);` + `margin-top:${margin}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(4, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\tif (hidden) {\n\t\t\t\t\t$$invalidate(4, style += 'visibility:hidden;');\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, classes = $_classes($theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$theme*/ 2 | $$self.$$.dirty[1] & /*chunk, $displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 1922) {\n\t\t\t// Content\n\t\t\t$$invalidate(5, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\n\t\tif ($$self.$$.dirty[1] & /*$_hiddenEvents*/ 64) {\n\t\t\tif ($_hiddenEvents) {\n\t\t\t\ttick().then(reposition);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\tdisplay,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdayMaxEvents,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventClick,\n\t\teventColor,\n\t\teventContent,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_hiddenEvents,\n\t\tcreateHandler,\n\t\tcreateClickHandler,\n\t\tcreateDragHandler,\n\t\treposition,\n\t\tchunk,\n\t\tlongChunks,\n\t\tinPopup,\n\t\tmargin,\n\t\thidden,\n\t\t$_hiddenEvents,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$4, create_fragment$4, safe_not_equal, { chunk: 32, longChunks: 33, inPopup: 34 }, null, [-1, -1]);\n\t}\n}\n\n/** Dispatch event on click outside of node */\nfunction clickOutside(node) {\n\n const handleClick = clickEvent => {\n if (node && !node.contains(clickEvent.target)) {\n node.dispatchEvent(\n new CustomEvent('clickoutside', {detail: {clickEvent}})\n );\n }\n };\n\n document.addEventListener('click', handleClick, true);\n\n return {\n destroy() {\n document.removeEventListener('click', handleClick, true);\n }\n };\n}\n\n/* packages/day-grid/src/Popup.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[12] = list[i];\n\treturn child_ctx;\n}\n\n// (50:8) {#each $_popup.chunks as chunk}\nfunction create_each_block$3(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: { chunk: /*chunk*/ ctx[12], inPopup: true }\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*$_popup*/ 4) event_changes.chunk = /*chunk*/ ctx[12];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$3(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet t0_value = /*$_intlDayPopover*/ ctx[4].format(/*$_popup*/ ctx[2].date) + \"\";\n\tlet t0;\n\tlet t1;\n\tlet a;\n\tlet div0_class_value;\n\tlet t3;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*$_popup*/ ctx[2].chunks;\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\ta = element(\"a\");\n\t\t\ta.textContent = \"×\";\n\t\t\tt3 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[3].dayHead);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[3].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[3].popup);\n\t\t\tattr(div2, \"style\", /*style*/ ctx[1]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div0, t1);\n\t\t\tappend(div0, a);\n\t\t\tappend(div2, t3);\n\t\t\tappend(div2, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\t/*div2_binding*/ ctx[11](div2);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(a, \"click\", stop_propagation(/*close*/ ctx[8])),\n\t\t\t\t\tlisten(div2, \"click\", stop_propagation(/*click_handler*/ ctx[10])),\n\t\t\t\t\taction_destroyer(clickOutside.call(null, div2)),\n\t\t\t\t\tlisten(div2, \"clickoutside\", /*handleClickOutside*/ ctx[9])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif ((!current || dirty & /*$_intlDayPopover, $_popup*/ 20) && t0_value !== (t0_value = /*$_intlDayPopover*/ ctx[4].format(/*$_popup*/ ctx[2].date) + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[3].dayHead)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$_popup*/ 4) {\n\t\t\t\teach_value = /*$_popup*/ ctx[2].chunks;\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$3(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[3].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[3].popup)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*style*/ 2) {\n\t\t\t\tattr(div2, \"style\", /*style*/ ctx[1]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\t/*div2_binding*/ ctx[11](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_popup;\n\tlet $theme;\n\tlet $_intlDayPopover;\n\tlet { theme, _intlDayPopover } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tcomponent_subscribe($$self, _intlDayPopover, value => $$invalidate(4, $_intlDayPopover = value));\n\tlet { _popup } = getContext('view-state');\n\tcomponent_subscribe($$self, _popup, value => $$invalidate(2, $_popup = value));\n\tlet el;\n\tlet style = '';\n\n\tonMount(() => {\n\t\tlet dayEl = ancestor(el, 1);\n\t\tlet bodyEl = ancestor(dayEl, 3);\n\t\tlet popupRect = rect(el);\n\t\tlet bodyRect = rect(bodyEl);\n\n\t\tif (!dayEl.previousElementSibling) {\n\t\t\t$$invalidate(1, style = 'left:0;');\n\t\t} else if (!dayEl.nextElementSibling) {\n\t\t\t$$invalidate(1, style = 'right:0;');\n\t\t} else {\n\t\t\tlet left = (dayEl.offsetWidth - popupRect.width) / 2;\n\t\t\t$$invalidate(1, style = `left:${left}px;`);\n\t\t}\n\n\t\tlet top = (dayEl.offsetHeight - popupRect.height) / 2;\n\n\t\tif (popupRect.top + top < bodyRect.top) {\n\t\t\ttop = bodyRect.top - popupRect.top;\n\t\t} else if (popupRect.bottom + top > bodyRect.bottom) {\n\t\t\ttop = bodyRect.bottom - popupRect.bottom;\n\t\t}\n\n\t\t$$invalidate(1, style += `top:${top}px;`);\n\t});\n\n\tfunction close(e) {\n\t\tset_store_value(_popup, $_popup.date = null, $_popup);\n\t}\n\n\tfunction handleClickOutside(e) {\n\t\tclose();\n\t\te.detail.clickEvent.ecClosingPopup = true;\n\t}\n\n\tfunction click_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\tfunction div2_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\treturn [\n\t\tel,\n\t\tstyle,\n\t\t$_popup,\n\t\t$theme,\n\t\t$_intlDayPopover,\n\t\ttheme,\n\t\t_intlDayPopover,\n\t\t_popup,\n\t\tclose,\n\t\thandleClickOutside,\n\t\tclick_handler,\n\t\tdiv2_binding\n\t];\n}\n\nclass Popup extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[36] = list[i];\n\treturn child_ctx;\n}\n\n// (111:1) {#if iChunks[1] && datesEqual(iChunks[1].date, date)}\nfunction create_if_block_3(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][1] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[11].events);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][1];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div_class_value !== (div_class_value = /*$theme*/ ctx[11].events)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (117:1) {#if iChunks[0] && datesEqual(iChunks[0].date, date)}\nfunction create_if_block_2(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[11].events + \" \" + /*$theme*/ ctx[11].preview));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][0];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[11].events + \" \" + /*$theme*/ ctx[11].preview))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (123:2) {#each dayChunks as chunk}\nfunction create_each_block$2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: {\n\t\t\t\tchunk: /*chunk*/ ctx[36],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*dayChunks*/ 8) event_changes.chunk = /*chunk*/ ctx[36];\n\t\t\tif (dirty[0] & /*longChunks*/ 2) event_changes.longChunks = /*longChunks*/ ctx[1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (127:1) {#if $_popup.date && datesEqual(date, $_popup.date)}\nfunction create_if_block_1(ctx) {\n\tlet popup;\n\tlet current;\n\tpopup = new Popup({});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(popup.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(popup, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(popup.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(popup.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(popup, detaching);\n\t\t}\n\t};\n}\n\n// (131:2) {#if hiddenEvents.size}\nfunction create_if_block(ctx) {\n\tlet a;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\ta = element(\"a\");\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, a, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(a, \"click\", stop_propagation(/*showMore*/ ctx[25])),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, a, /*moreLink*/ ctx[5]))\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*moreLink*/ 32) setContent_action.update.call(null, /*moreLink*/ ctx[5]);\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(a);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet div3;\n\tlet div0;\n\tlet t0_value = /*date*/ ctx[0].getUTCDate() + \"\";\n\tlet t0;\n\tlet div0_class_value;\n\tlet t1;\n\tlet show_if_2 = /*iChunks*/ ctx[2][1] && datesEqual(/*iChunks*/ ctx[2][1].date, /*date*/ ctx[0]);\n\tlet t2;\n\tlet show_if_1 = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\tlet t3;\n\tlet div1;\n\tlet div1_class_value;\n\tlet t4;\n\tlet show_if = /*$_popup*/ ctx[6].date && datesEqual(/*date*/ ctx[0], /*$_popup*/ ctx[6].date);\n\tlet t5;\n\tlet div2;\n\tlet div2_class_value;\n\tlet div3_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet if_block0 = show_if_2 && create_if_block_3(ctx);\n\tlet if_block1 = show_if_1 && create_if_block_2(ctx);\n\tlet each_value = /*dayChunks*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\tlet if_block2 = show_if && create_if_block_1();\n\tlet if_block3 = /*hiddenEvents*/ ctx[4].size && create_if_block(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tif (if_block0) if_block0.c();\n\t\t\tt2 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt3 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt4 = space();\n\t\t\tif (if_block2) if_block2.c();\n\t\t\tt5 = space();\n\t\t\tdiv2 = element(\"div\");\n\t\t\tif (if_block3) if_block3.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[11].dayHead);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[11].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[11].dayFoot);\n\n\t\t\tattr(div3, \"class\", div3_class_value = \"\" + (/*$theme*/ ctx[11].day + (/*isToday*/ ctx[8] ? ' ' + /*$theme*/ ctx[11].today : '') + (/*otherMonth*/ ctx[9]\n\t\t\t? ' ' + /*$theme*/ ctx[11].otherMonth\n\t\t\t: '') + (/*highlight*/ ctx[10]\n\t\t\t? ' ' + /*$theme*/ ctx[11].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div3, anchor);\n\t\t\tappend(div3, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div3, t1);\n\t\t\tif (if_block0) if_block0.m(div3, null);\n\t\t\tappend(div3, t2);\n\t\t\tif (if_block1) if_block1.m(div3, null);\n\t\t\tappend(div3, t3);\n\t\t\tappend(div3, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div3, t4);\n\t\t\tif (if_block2) if_block2.m(div3, null);\n\t\t\tappend(div3, t5);\n\t\t\tappend(div3, div2);\n\t\t\tif (if_block3) if_block3.m(div2, null);\n\t\t\t/*div3_binding*/ ctx[31](div3);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div3, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[23](/*$dateClick*/ ctx[12]))) /*createClickHandler*/ ctx[23](/*$dateClick*/ ctx[12]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerEnterHandler*/ ctx[24](/*$_interaction*/ ctx[13]))) /*createPointerEnterHandler*/ ctx[24](/*$_interaction*/ ctx[13]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerleave\", function () {\n\t\t\t\t\t\tif (is_function(createPointerLeaveHandler(/*$_interaction*/ ctx[13]))) createPointerLeaveHandler(/*$_interaction*/ ctx[13]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif ((!current || dirty[0] & /*date*/ 1) && t0_value !== (t0_value = /*date*/ ctx[0].getUTCDate() + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[11].dayHead)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if_2 = /*iChunks*/ ctx[2][1] && datesEqual(/*iChunks*/ ctx[2][1].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if_2) {\n\t\t\t\tif (if_block0) {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block0 = create_if_block_3(ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\tif_block0.m(div3, t2);\n\t\t\t\t}\n\t\t\t} else if (if_block0) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block0, 1, 1, () => {\n\t\t\t\t\tif_block0 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if_1 = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if_1) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_2(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div3, t3);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*dayChunks, longChunks*/ 10) {\n\t\t\t\teach_value = /*dayChunks*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$2(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[11].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$_popup, date*/ 65) show_if = /*$_popup*/ ctx[6].date && datesEqual(/*date*/ ctx[0], /*$_popup*/ ctx[6].date);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block2) {\n\t\t\t\t\tif (dirty[0] & /*$_popup, date*/ 65) {\n\t\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block2 = create_if_block_1();\n\t\t\t\t\tif_block2.c();\n\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\tif_block2.m(div3, t5);\n\t\t\t\t}\n\t\t\t} else if (if_block2) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block2, 1, 1, () => {\n\t\t\t\t\tif_block2 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (/*hiddenEvents*/ ctx[4].size) {\n\t\t\t\tif (if_block3) {\n\t\t\t\t\tif_block3.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block3 = create_if_block(ctx);\n\t\t\t\t\tif_block3.c();\n\t\t\t\t\tif_block3.m(div2, null);\n\t\t\t\t}\n\t\t\t} else if (if_block3) {\n\t\t\t\tif_block3.d(1);\n\t\t\t\tif_block3 = null;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[11].dayFoot)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, otherMonth, highlight*/ 3840 && div3_class_value !== (div3_class_value = \"\" + (/*$theme*/ ctx[11].day + (/*isToday*/ ctx[8] ? ' ' + /*$theme*/ ctx[11].today : '') + (/*otherMonth*/ ctx[9]\n\t\t\t? ' ' + /*$theme*/ ctx[11].otherMonth\n\t\t\t: '') + (/*highlight*/ ctx[10]\n\t\t\t? ' ' + /*$theme*/ ctx[11].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block0);\n\t\t\ttransition_in(if_block1);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block2);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block0);\n\t\t\ttransition_out(if_block1);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block2);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div3);\n\t\t\tif (if_block0) if_block0.d();\n\t\t\tif (if_block1) if_block1.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (if_block2) if_block2.d();\n\t\t\tif (if_block3) if_block3.d();\n\t\t\t/*div3_binding*/ ctx[31](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction createPointerLeaveHandler(interaction) {\n\treturn interaction.pointer\n\t? interaction.pointer.leave\n\t: undefined;\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_popup;\n\tlet $_view;\n\tlet $moreLinkContent;\n\tlet $_hiddenEvents;\n\tlet $highlightedDates;\n\tlet $currentDate;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet { date } = $$props;\n\tlet { chunks } = $$props;\n\tlet { longChunks } = $$props;\n\tlet { iChunks = [] } = $$props;\n\tlet { date: currentDate, dateClick, dayMaxEvents, highlightedDates, moreLinkContent, theme, _view, _interaction } = getContext('state');\n\tcomponent_subscribe($$self, currentDate, value => $$invalidate(30, $currentDate = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(12, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(29, $highlightedDates = value));\n\tcomponent_subscribe($$self, moreLinkContent, value => $$invalidate(27, $moreLinkContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(11, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(13, $_interaction = value));\n\tlet { _hiddenEvents, _popup } = getContext('view-state');\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(28, $_hiddenEvents = value));\n\tcomponent_subscribe($$self, _popup, value => $$invalidate(6, $_popup = value));\n\tlet el;\n\tlet dayChunks;\n\tlet today = setMidnight(createDate());\n\tlet isToday;\n\tlet otherMonth;\n\tlet highlight;\n\tlet hiddenEvents = new Set(); // hidden events of this day\n\tlet moreLink = '';\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\t!jsEvent.ecClosingPopup && fn({\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction createPointerEnterHandler(interaction) {\n\t\treturn interaction.pointer\n\t\t? jsEvent => interaction.pointer.enterDayGrid(date, jsEvent)\n\t\t: undefined;\n\t}\n\n\tfunction showMore() {\n\t\tsetPopupChunks();\n\t\tset_store_value(_popup, $_popup.date = date, $_popup);\n\t}\n\n\tfunction setPopupChunks() {\n\t\tlet nextDay = addDay(cloneDate(date));\n\t\tset_store_value(_popup, $_popup.chunks = dayChunks.concat(longChunks[date.getTime()] || []).map(c => assign({}, c, createEventChunk(c.event, date, nextDay), { days: 1, dates: [date] })).sort((a, b) => a.top - b.top), $_popup);\n\t}\n\n\tfunction div3_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(7, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('chunks' in $$props) $$invalidate(26, chunks = $$props.chunks);\n\t\tif ('longChunks' in $$props) $$invalidate(1, longChunks = $$props.longChunks);\n\t\tif ('iChunks' in $$props) $$invalidate(2, iChunks = $$props.iChunks);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*hiddenEvents, chunks, date, dayChunks*/ 67108889) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, dayChunks = []);\n\t\t\t\thiddenEvents.clear();\n\t\t\t\t((($$invalidate(4, hiddenEvents), $$invalidate(26, chunks)), $$invalidate(0, date)), $$invalidate(3, dayChunks));\n\n\t\t\t\tfor (let chunk of chunks) {\n\t\t\t\t\tif (datesEqual(chunk.date, date)) {\n\t\t\t\t\t\tdayChunks.push(chunk);\n\t\t\t\t\t} // if ($dayMaxEvents !== false && dayChunks.length > $dayMaxEvents) {\n\t\t\t\t\t// \tchunk.hidden = true;\n\t\t\t\t} // }\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, hiddenEvents*/ 17) {\n\t\t\tset_store_value(_hiddenEvents, $_hiddenEvents[date.getTime()] = hiddenEvents, $_hiddenEvents);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, $currentDate, $highlightedDates*/ 1610612737) {\n\t\t\t{\n\t\t\t\t$$invalidate(8, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(9, otherMonth = date.getUTCMonth() !== $currentDate.getUTCMonth());\n\t\t\t\t$$invalidate(10, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_hiddenEvents, hiddenEvents, $moreLinkContent, moreLink*/ 402653232) {\n\t\t\tif ($_hiddenEvents && hiddenEvents.size) {\n\t\t\t\t// make Svelte update this block on $_hiddenEvents update\n\t\t\t\tlet text = '+' + hiddenEvents.size + ' more';\n\n\t\t\t\tif ($moreLinkContent) {\n\t\t\t\t\t$$invalidate(5, moreLink = is_function($moreLinkContent)\n\t\t\t\t\t? $moreLinkContent({ num: hiddenEvents.size, text })\n\t\t\t\t\t: $moreLinkContent);\n\n\t\t\t\t\tif (typeof moreLink === 'string') {\n\t\t\t\t\t\t$$invalidate(5, moreLink = { html: moreLink });\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$$invalidate(5, moreLink = { html: text });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_popup, date, longChunks, dayChunks*/ 75) {\n\t\t\tif ($_popup.date && datesEqual(date, $_popup.date) && longChunks && dayChunks) {\n\t\t\t\tsetPopupChunks();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tlongChunks,\n\t\tiChunks,\n\t\tdayChunks,\n\t\thiddenEvents,\n\t\tmoreLink,\n\t\t$_popup,\n\t\tel,\n\t\tisToday,\n\t\totherMonth,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\tcurrentDate,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\tmoreLinkContent,\n\t\ttheme,\n\t\t_view,\n\t\t_interaction,\n\t\t_hiddenEvents,\n\t\t_popup,\n\t\tcreateClickHandler,\n\t\tcreatePointerEnterHandler,\n\t\tshowMore,\n\t\tchunks,\n\t\t$moreLinkContent,\n\t\t$_hiddenEvents,\n\t\t$highlightedDates,\n\t\t$currentDate,\n\t\tdiv3_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$2,\n\t\t\tcreate_fragment$2,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tdate: 0,\n\t\t\t\tchunks: 26,\n\t\t\t\tlongChunks: 1,\n\t\t\t\tiChunks: 2\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1]\n\t\t);\n\t}\n}\n\n/* packages/day-grid/src/Week.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[15] = list[i];\n\treturn child_ctx;\n}\n\n// (50:1) {#each dates as date}\nfunction create_each_block$1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[15],\n\t\t\t\tchunks: /*chunks*/ ctx[1],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[2],\n\t\t\t\tiChunks: /*iChunks*/ ctx[3]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*dates*/ 1) day_changes.date = /*date*/ ctx[15];\n\t\t\tif (dirty & /*chunks*/ 2) day_changes.chunks = /*chunks*/ ctx[1];\n\t\t\tif (dirty & /*longChunks*/ 4) day_changes.longChunks = /*longChunks*/ ctx[2];\n\t\t\tif (dirty & /*iChunks*/ 8) day_changes.iChunks = /*iChunks*/ ctx[3];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value = /*dates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].days);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*dates, chunks, longChunks, iChunks*/ 15) {\n\t\t\t\teach_value = /*dates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].days)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $hiddenDays;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet $theme;\n\tlet { dates } = $$props;\n\tlet { _events, _iEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(13, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(12, $_iEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(11, $hiddenDays = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(4, $theme = value));\n\tlet chunks, longChunks, iChunks = [];\n\tlet start;\n\tlet end;\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start;\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('dates' in $$props) $$invalidate(0, dates = $$props.dates);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*dates*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(9, start = dates[0]);\n\t\t\t\t$$invalidate(10, end = addDay(cloneDate(dates[dates.length - 1])));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_events, start, end, chunks, $hiddenDays*/ 11778) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.display !== 'background' && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(2, longChunks = prepareEventChunks(chunks, $hiddenDays));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_iEvents, start, end, $hiddenDays*/ 7680) {\n\t\t\t$$invalidate(3, iChunks = $_iEvents.map(event => {\n\t\t\t\tlet chunk;\n\n\t\t\t\tif (event && intersects(event)) {\n\t\t\t\t\tchunk = createEventChunk(event, start, end);\n\t\t\t\t\tprepareEventChunks([chunk], $hiddenDays);\n\t\t\t\t} else {\n\t\t\t\t\tchunk = null;\n\t\t\t\t}\n\n\t\t\t\treturn chunk;\n\t\t\t}));\n\t\t}\n\t};\n\n\treturn [\n\t\tdates,\n\t\tchunks,\n\t\tlongChunks,\n\t\tiChunks,\n\t\t$theme,\n\t\t_events,\n\t\t_iEvents,\n\t\thiddenDays,\n\t\ttheme,\n\t\tstart,\n\t\tend,\n\t\t$hiddenDays,\n\t\t$_iEvents,\n\t\t$_events\n\t];\n}\n\nclass Week extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { dates: 0 });\n\t}\n}\n\n/* packages/day-grid/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[14] = list[i];\n\treturn child_ctx;\n}\n\n// (37:1) {#each weeks as dates}\nfunction create_each_block(ctx) {\n\tlet week;\n\tlet current;\n\tweek = new Week({ props: { dates: /*dates*/ ctx[14] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty & /*weeks*/ 1) week_changes.dates = /*dates*/ ctx[14];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (36:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*weeks*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*weeks*/ 1) {\n\t\t\t\teach_value = /*weeks*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t;\n\tlet body;\n\tlet current;\n\theader = new Header({});\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, weeks*/ 131073) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewDates;\n\tlet $dayMaxEvents;\n\tlet $_hiddenEvents;\n\tlet $hiddenDays;\n\tlet $_viewClass;\n\tlet { _viewDates, _viewClass, dayMaxEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(7, $_viewDates = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(11, $_viewClass = value));\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(8, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(9, $hiddenDays = value));\n\tlet viewState = new State(getContext('state'));\n\tsetContext('view-state', viewState);\n\tlet { _hiddenEvents } = viewState;\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(10, $_hiddenEvents = value));\n\tset_store_value(_viewClass, $_viewClass = 'month', $_viewClass);\n\tlet weeks;\n\tlet days;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$hiddenDays, $dayMaxEvents, $_viewDates, days, weeks*/ 961) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, weeks = []);\n\t\t\t\t$$invalidate(6, days = 7 - $hiddenDays.length);\n\t\t\t\tset_store_value(_hiddenEvents, $_hiddenEvents = {}, $_hiddenEvents);\n\n\t\t\t\tfor (let i = 0; i < $_viewDates.length / days; ++i) {\n\t\t\t\t\tlet dates = [];\n\n\t\t\t\t\tfor (let j = 0; j < days; ++j) {\n\t\t\t\t\t\tdates.push($_viewDates[i * days + j]);\n\t\t\t\t\t}\n\n\t\t\t\t\tweeks.push(dates);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tweeks,\n\t\t_viewDates,\n\t\t_viewClass,\n\t\tdayMaxEvents,\n\t\thiddenDays,\n\t\t_hiddenEvents,\n\t\tdays,\n\t\t$_viewDates,\n\t\t$dayMaxEvents,\n\t\t$hiddenDays\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.dayMaxEvents = false;\n\t\toptions.dayPopoverFormat = {month: 'long', day: 'numeric', year: 'numeric'};\n\t\toptions.moreLinkContent = undefined;\n\t\t// Common options\n\t\toptions.buttonText.dayGridMonth = 'month';\n\t\toptions.theme.uniform = 'ec-uniform';\n\t\toptions.theme.dayFoot = 'ec-day-foot';\n\t\toptions.theme.month = 'ec-month';\n\t\toptions.theme.popup = 'ec-popup';\n\t\toptions.view = 'dayGridMonth';\n\t\toptions.views.dayGridMonth = {\n\t\t\tcomponent: View,\n\t\t\tdayHeaderFormat: {weekday: 'short'},\n\t\t\tdisplayEventEnd: false,\n\t\t\tduration: {months: 1},\n\t\t\tmonthMode: true,\n\t\t\ttitleFormat: {year: 'numeric', month: 'long'}\n\t\t};\n\t},\n\n\tcreateStores(state) {\n\t\tstate._intlDayPopover = intl(state.locale, state.dayPopoverFormat);\n\t}\n};\n\nexport { index as default, prepareEventChunks };\n","import { SvelteComponent, init, safe_not_equal, create_slot, element, attr, insert, append, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, detach, component_subscribe, space, action_destroyer, listen, is_function, noop, run_all, binding_callbacks, text, empty, set_data, create_component, mount_component, destroy_component, group_outros, check_outros, destroy_each, set_store_value } from 'svelte/internal';\nimport { getContext, onMount, setContext } from 'svelte';\nimport { setContent, toEventWithLocalDates, toViewWithLocalDates, createEventContent, setMidnight, createDate, addDay, cloneDate, createEventChunk, sortEventChunks, datesEqual, toLocalDate, toISOString, intl } from '@event-calendar/common';\n\n/* packages/list/src/Body.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$3(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tconst default_slot_template = /*#slots*/ ctx[3].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].content);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].body);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div0, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 4)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[2],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[2])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[2], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].content)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].body)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $theme;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { theme } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);\n\t};\n\n\treturn [$theme, theme, $$scope, slots];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, {});\n\t}\n}\n\n/* packages/list/src/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$2(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t;\n\tlet div1;\n\tlet div1_class_value;\n\tlet setContent_action;\n\tlet div2_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].eventTag);\n\t\t\tattr(div0, \"style\", /*style*/ ctx[2]);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].eventBody);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[0].event);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div2, t);\n\t\t\tappend(div2, div1);\n\t\t\t/*div2_binding*/ ctx[26](div2);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div1, /*content*/ ctx[3])),\n\t\t\t\t\tlisten(div2, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventClick*/ ctx[4]))) /*createHandler*/ ctx[18](/*$eventClick*/ ctx[4]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div2, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventMouseEnter*/ ctx[5]))) /*createHandler*/ ctx[18](/*$eventMouseEnter*/ ctx[5]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div2, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventMouseLeave*/ ctx[6]))) /*createHandler*/ ctx[18](/*$eventMouseLeave*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].eventTag)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*style*/ 4) {\n\t\t\t\tattr(div0, \"style\", /*style*/ ctx[2]);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].eventBody)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 8) setContent_action.update.call(null, /*content*/ ctx[3]);\n\n\t\t\tif (dirty & /*$theme*/ 1 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[0].event)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\t/*div2_binding*/ ctx[26](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet { chunk } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventColor, eventContent, eventClick, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(23, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(25, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(24, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(22, $eventContent = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(4, $eventClick = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(28, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(5, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(6, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(20, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(21, $_intlEventTime = value));\n\tlet el;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(chunk.event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction createHandler(fn) {\n\t\treturn jsEvent => {\n\t\t\tif (is_function(fn)) {\n\t\t\t\tfn({\n\t\t\t\t\tevent: toEventWithLocalDates(chunk.event),\n\t\t\t\t\tel,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction div2_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(1, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(19, chunk = $$props.chunk);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*chunk, $eventBackgroundColor, $eventColor*/ 50855936) {\n\t\t\t{\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = chunk.event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(2, style = `background-color:${bgColor};`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view*/ 16252929) {\n\t\t\t{\n\t\t\t\t// Content\n\t\t\t\t$$invalidate(3, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\t$theme,\n\t\tel,\n\t\tstyle,\n\t\tcontent,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventColor,\n\t\teventContent,\n\t\teventClick,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\tcreateHandler,\n\t\tchunk,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv2_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, { chunk: 19 });\n\t}\n}\n\n/* packages/list/src/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[24] = list[i];\n\treturn child_ctx;\n}\n\n// (60:0) {#if chunks.length}\nfunction create_if_block$1(ctx) {\n\tlet div;\n\tlet t0_value = /*$_intlListDayFormat*/ ctx[7].format(/*date*/ ctx[0]) + \"\";\n\tlet t0;\n\tlet t1;\n\tlet span;\n\tlet t2_value = /*$_intlListDaySideFormat*/ ctx[8].format(/*date*/ ctx[0]) + \"\";\n\tlet t2;\n\tlet span_class_value;\n\tlet div_class_value;\n\tlet t3;\n\tlet each_1_anchor;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*chunks*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tspan = element(\"span\");\n\t\t\tt2 = text(t2_value);\n\t\t\tt3 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t\tattr(span, \"class\", span_class_value = /*$theme*/ ctx[5].daySide);\n\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[5].day + (/*isToday*/ ctx[3] ? ' ' + /*$theme*/ ctx[5].today : '') + (/*highlight*/ ctx[4]\n\t\t\t? ' ' + /*$theme*/ ctx[5].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t0);\n\t\t\tappend(div, t1);\n\t\t\tappend(div, span);\n\t\t\tappend(span, t2);\n\t\t\t/*div_binding*/ ctx[19](div);\n\t\t\tinsert(target, t3, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div, \"click\", function () {\n\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[16](/*$dateClick*/ ctx[6]))) /*createClickHandler*/ ctx[16](/*$dateClick*/ ctx[6]).apply(this, arguments);\n\t\t\t\t});\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif ((!current || dirty & /*$_intlListDayFormat, date*/ 129) && t0_value !== (t0_value = /*$_intlListDayFormat*/ ctx[7].format(/*date*/ ctx[0]) + \"\")) set_data(t0, t0_value);\n\t\t\tif ((!current || dirty & /*$_intlListDaySideFormat, date*/ 257) && t2_value !== (t2_value = /*$_intlListDaySideFormat*/ ctx[8].format(/*date*/ ctx[0]) + \"\")) set_data(t2, t2_value);\n\n\t\t\tif (!current || dirty & /*$theme*/ 32 && span_class_value !== (span_class_value = /*$theme*/ ctx[5].daySide)) {\n\t\t\t\tattr(span, \"class\", span_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, isToday, highlight*/ 56 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[5].day + (/*isToday*/ ctx[3] ? ' ' + /*$theme*/ ctx[5].today : '') + (/*highlight*/ ctx[4]\n\t\t\t? ' ' + /*$theme*/ ctx[5].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*chunks*/ 2) {\n\t\t\t\teach_value = /*chunks*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\t/*div_binding*/ ctx[19](null);\n\t\t\tif (detaching) detach(t3);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (69:1) {#each chunks as chunk}\nfunction create_each_block$1(ctx) {\n\tlet event;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*chunk*/ ctx[24] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*chunks*/ 2) event_changes.chunk = /*chunk*/ ctx[24];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet if_block_anchor;\n\tlet current;\n\tlet if_block = /*chunks*/ ctx[1].length && create_if_block$1(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (/*chunks*/ ctx[1].length) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*chunks*/ 2) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $highlightedDates;\n\tlet $_events;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_intlListDayFormat;\n\tlet $_intlListDaySideFormat;\n\tlet { date } = $$props;\n\tlet { _events, _intlDayHeader, _view, date: currentDate, dateClick, highlightedDates, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(18, $_events = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(20, $_view = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(6, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(17, $highlightedDates = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet { _intlListDayFormat, _intlListDaySideFormat } = getContext('view-state');\n\tcomponent_subscribe($$self, _intlListDayFormat, value => $$invalidate(7, $_intlListDayFormat = value));\n\tcomponent_subscribe($$self, _intlListDaySideFormat, value => $$invalidate(8, $_intlListDaySideFormat = value));\n\tlet el;\n\tlet chunks;\n\tlet today = setMidnight(createDate()), isToday, highlight;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tfn({\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction div_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*date, $_events, chunks*/ 262147) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\t\t\t\tlet start = date;\n\t\t\t\tlet end = addDay(cloneDate(date));\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.display === 'auto' && event.start < end && event.end > start) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tsortEventChunks(chunks);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*date, $highlightedDates*/ 131073) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(4, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tchunks,\n\t\tel,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_intlListDayFormat,\n\t\t$_intlListDaySideFormat,\n\t\t_events,\n\t\t_view,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\ttheme,\n\t\t_intlListDayFormat,\n\t\t_intlListDaySideFormat,\n\t\tcreateClickHandler,\n\t\t$highlightedDates,\n\t\t$_events,\n\t\tdiv_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { date: 0 });\n\t}\n}\n\nclass State {\n constructor(state) {\n this._intlListDayFormat = intl(state.locale, state.listDayFormat);\n this._intlListDaySideFormat = intl(state.locale, state.listDaySideFormat);\n }\n}\n\n/* packages/list/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\n// (49:1) {:else}\nfunction create_else_block(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*$_viewDates*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewDates*/ 2) {\n\t\t\t\teach_value = /*$_viewDates*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (47:1) {#if noEvents}\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[3].noEvents);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div, /*content*/ ctx[0])),\n\t\t\t\t\tlisten(div, \"click\", /*handleClick*/ ctx[11])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme*/ 8 && div_class_value !== (div_class_value = /*$theme*/ ctx[3].noEvents)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 1) setContent_action.update.call(null, /*content*/ ctx[0]);\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\n// (50:2) {#each $_viewDates as date}\nfunction create_each_block(ctx) {\n\tlet day;\n\tlet current;\n\tday = new Day({ props: { date: /*date*/ ctx[18] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 2) day_changes.date = /*date*/ ctx[18];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (46:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*noEvents*/ ctx[2]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet body;\n\tlet current;\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $theme, content, noEvents, $_viewDates*/ 2097167) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $noEventsClick;\n\tlet $noEventsContent;\n\tlet $_events;\n\tlet $_viewDates;\n\tlet $_viewClass;\n\tlet $theme;\n\tlet { _events, _view, _viewDates, _viewClass, noEventsClick, noEventsContent, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(13, $_events = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(14, $_view = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(1, $_viewDates = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(16, $_viewClass = value));\n\tcomponent_subscribe($$self, noEventsClick, value => $$invalidate(15, $noEventsClick = value));\n\tcomponent_subscribe($$self, noEventsContent, value => $$invalidate(12, $noEventsContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tlet state = new State(getContext('state'));\n\tsetContext('view-state', state);\n\tset_store_value(_viewClass, $_viewClass = 'list', $_viewClass);\n\tlet noEvents, content;\n\n\tfunction handleClick(jsEvent) {\n\t\tif (is_function($noEventsClick)) {\n\t\t\t$noEventsClick({\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_viewDates, $_events*/ 8194) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, noEvents = true);\n\n\t\t\t\tif ($_viewDates.length) {\n\t\t\t\t\tlet start = $_viewDates[0];\n\t\t\t\t\tlet end = addDay(cloneDate($_viewDates[$_viewDates.length - 1]));\n\n\t\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\t\tif (event.display === 'auto' && event.start < end && event.end > start) {\n\t\t\t\t\t\t\t$$invalidate(2, noEvents = false);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$noEventsContent, content*/ 4097) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, content = is_function($noEventsContent)\n\t\t\t\t? $noEventsContent()\n\t\t\t\t: $noEventsContent);\n\n\t\t\t\tif (typeof content === 'string') {\n\t\t\t\t\t$$invalidate(0, content = { html: content });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tcontent,\n\t\t$_viewDates,\n\t\tnoEvents,\n\t\t$theme,\n\t\t_events,\n\t\t_view,\n\t\t_viewDates,\n\t\t_viewClass,\n\t\tnoEventsClick,\n\t\tnoEventsContent,\n\t\ttheme,\n\t\thandleClick,\n\t\t$noEventsContent,\n\t\t$_events\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\t// Common options\n\t\toptions.buttonText.listDay = 'list';\n\t\toptions.buttonText.listWeek = 'list';\n\t\toptions.buttonText.listMonth = 'list';\n\t\toptions.buttonText.listYear = 'list';\n\t\toptions.listDayFormat = {weekday: 'long'};\n\t\toptions.listDaySideFormat = {year: 'numeric', month: 'long', day: 'numeric'};\n\t\toptions.noEventsClick = undefined; // ec option\n\t\toptions.noEventsContent = 'No events';\n\t\toptions.theme.daySide = 'ec-day-side';\n\t\toptions.theme.eventTag = 'ec-event-tag';\n\t\toptions.theme.list = 'ec-list';\n\t\toptions.theme.noEvents = 'ec-no-events';\n\t\toptions.view = 'listWeek';\n\t\toptions.views.listDay = {\n\t\t\tcomponent: View,\n\t\t\tduration: {days: 1}\n\t\t};\n\t\toptions.views.listWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t\toptions.views.listMonth = {\n\t\t\tcomponent: View,\n\t\t\tduration: {months: 1}\n\t\t};\n\t\toptions.views.listYear = {\n\t\t\tcomponent: View,\n\t\t\tduration: {years: 1}\n\t\t};\n\t}\n};\n\nexport { index as default };\n","import { is_function, SvelteComponent, init, safe_not_equal, element, text, attr, insert, append, set_data, detach, create_slot, space, action_destroyer, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_each, component_subscribe, listen, run_all, set_store_value, binding_callbacks, create_component, mount_component, group_outros, destroy_component, check_outros, set_style, noop, empty } from 'svelte/internal';\nimport { getContext, onMount, onDestroy, createEventDispatcher, afterUpdate, tick, setContext } from 'svelte';\nimport { derived } from 'svelte/store';\nimport { createDuration, DAY_IN_SECONDS, addDuration, cloneDate, createDate, sortEventChunks, setContent, hasYScroll, toEventWithLocalDates, toViewWithLocalDates, createEventContent, setMidnight, createEventChunk, datesEqual, rect, toLocalDate, toISOString, addDay, height } from '@event-calendar/common';\n\nfunction times(state, localState) {\n return derived(\n [localState._slotTimeLimits, state._intlSlotLabel, state.slotDuration],\n ([$_slotTimeLimits, $_intlSlotLabel, $slotDuration]) => {\n let compact = $slotDuration.seconds >= 3600;\n let times = [];\n let date = createDate('2020-01-01');\n let end = cloneDate(date);\n let i = 1;\n addDuration(date, $_slotTimeLimits.min);\n addDuration(end, $_slotTimeLimits.max);\n while (date < end) {\n times.push(times.length && (i || compact) ? $_intlSlotLabel.format(date) : '');\n addDuration(date, $slotDuration);\n i = 1 - i;\n }\n\n return times;\n }\n );\n}\n\nfunction slotTimeLimits(state) {\n return derived(\n [state._events, state._viewDates, state.flexibleSlotTimeLimits, state.slotMinTime, state.slotMaxTime],\n ([$_events, $_viewDates, $flexibleSlotTimeLimits, $slotMinTime, $slotMaxTime]) => {\n let min = createDuration($slotMinTime);\n let max = createDuration($slotMaxTime);\n\n if ($flexibleSlotTimeLimits) {\n let minMin = createDuration(Math.min(min.seconds, Math.max(0, max.seconds - DAY_IN_SECONDS)));\n let maxMax = createDuration(Math.max(max.seconds, minMin.seconds + DAY_IN_SECONDS));\n loop: for (let date of $_viewDates) {\n let start = addDuration(cloneDate(date), min);\n let end = addDuration(cloneDate(date), max);\n let minStart = addDuration(cloneDate(date), minMin);\n let maxEnd = addDuration(cloneDate(date), maxMax);\n for (let event of $_events) {\n if (event.display === 'auto' && event.start < maxEnd && event.end > minStart) {\n if (event.start < start) {\n let seconds = Math.max((event.start - date) / 1000, minMin.seconds);\n if (seconds < min.seconds) {\n min.seconds = seconds;\n }\n }\n if (event.end > end) {\n let seconds = Math.min((event.end - date) / 1000, maxMax.seconds);\n if (seconds > max.seconds) {\n max.seconds = seconds;\n }\n }\n if (min.seconds === minMin.seconds && max.seconds === maxMax.seconds) {\n break loop;\n }\n }\n }\n }\n }\n\n return {min, max};\n }\n );\n}\n\nclass State {\n constructor(state) {\n this._slotTimeLimits = slotTimeLimits(state); // flexible limits\n this._times = times(state, this);\n }\n}\n\nfunction groupEventChunks(chunks) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n // Group\n let group = {\n columns: [],\n end: chunks[0].end\n };\n for (let chunk of chunks) {\n let c = 0;\n if (chunk.start < group.end) {\n for (; c < group.columns.length; ++c) {\n if (group.columns[c][group.columns[c].length - 1].end <= chunk.start) {\n break;\n }\n }\n if (chunk.end > group.end) {\n group.end = chunk.end;\n }\n } else {\n group = {\n columns: [],\n end: chunk.end\n };\n }\n\n if (group.columns.length < c + 1) {\n group.columns.push([]);\n }\n group.columns[c].push(chunk);\n\n chunk.group = group;\n chunk.column = c;\n }\n}\n\nfunction createAllDayContent(allDayContent) {\n let text = 'all-day';\n let content;\n if (allDayContent) {\n content = is_function(allDayContent) ? allDayContent({text}) : allDayContent;\n if (typeof content === 'string') {\n content = {html: content};\n }\n } else {\n content = {\n html: text\n };\n }\n\n return content;\n}\n\n/* packages/time-grid/src/Header.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$5(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[12] = list[i];\n\treturn child_ctx;\n}\n\n// (19:3) {#each $_times as time}\nfunction create_each_block$5(ctx) {\n\tlet div;\n\tlet t_value = /*time*/ ctx[12] + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].time);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_times*/ 16 && t_value !== (t_value = /*time*/ ctx[12] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].time)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$8(ctx) {\n\tlet div6;\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t0;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet t1;\n\tlet div4;\n\tlet div3;\n\tlet div3_class_value;\n\tlet t2;\n\tlet div4_class_value;\n\tlet t3;\n\tlet div5;\n\tlet div5_class_value;\n\tlet div6_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*$_times*/ ctx[4];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));\n\t}\n\n\tconst default_slot_template = /*#slots*/ ctx[11].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[10], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv6 = element(\"div\");\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt1 = space();\n\t\t\tdiv4 = element(\"div\");\n\t\t\tdiv3 = element(\"div\");\n\t\t\tt2 = space();\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tt3 = space();\n\t\t\tdiv5 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[2].sidebarTitle);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[2].hiddenTimes);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[2].sidebar);\n\t\t\tattr(div3, \"class\", div3_class_value = /*$theme*/ ctx[2].lines);\n\t\t\tattr(div4, \"class\", div4_class_value = /*$theme*/ ctx[2].days);\n\t\t\tattr(div5, \"class\", div5_class_value = /*$theme*/ ctx[2].hiddenScroll);\n\n\t\t\tattr(div6, \"class\", div6_class_value = \"\" + ((/*allDay*/ ctx[0]\n\t\t\t? /*$theme*/ ctx[2].allDay\n\t\t\t: /*$theme*/ ctx[2].header) + (/*$_scrollable*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[2].withScroll\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div6, anchor);\n\t\t\tappend(div6, div2);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div2, t0);\n\t\t\tappend(div2, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div6, t1);\n\t\t\tappend(div6, div4);\n\t\t\tappend(div4, div3);\n\t\t\tappend(div4, t2);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div4, null);\n\t\t\t}\n\n\t\t\tappend(div6, t3);\n\t\t\tappend(div6, div5);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = action_destroyer(setContent_action = setContent.call(null, div0, /*allDayText*/ ctx[1]));\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[2].sidebarTitle)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*allDayText*/ 2) setContent_action.update.call(null, /*allDayText*/ ctx[1]);\n\n\t\t\tif (dirty & /*$theme, $_times*/ 20) {\n\t\t\t\teach_value = /*$_times*/ ctx[4];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$5(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$5(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[2].hiddenTimes)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[2].sidebar)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div3_class_value !== (div3_class_value = /*$theme*/ ctx[2].lines)) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 1024)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[10],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[10])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[10], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div4_class_value !== (div4_class_value = /*$theme*/ ctx[2].days)) {\n\t\t\t\tattr(div4, \"class\", div4_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div5_class_value !== (div5_class_value = /*$theme*/ ctx[2].hiddenScroll)) {\n\t\t\t\tattr(div5, \"class\", div5_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*allDay, $theme, $_scrollable*/ 13 && div6_class_value !== (div6_class_value = \"\" + ((/*allDay*/ ctx[0]\n\t\t\t? /*$theme*/ ctx[2].allDay\n\t\t\t: /*$theme*/ ctx[2].header) + (/*$_scrollable*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[2].withScroll\n\t\t\t: '')))) {\n\t\t\t\tattr(div6, \"class\", div6_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div6);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance$8($$self, $$props, $$invalidate) {\n\tlet $allDayContent;\n\tlet $theme;\n\tlet $_scrollable;\n\tlet $_times;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { allDay = false } = $$props;\n\tlet { _scrollable, allDayContent, theme } = getContext('state');\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(3, $_scrollable = value));\n\tcomponent_subscribe($$self, allDayContent, value => $$invalidate(9, $allDayContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tlet { _times } = getContext('view-state');\n\tcomponent_subscribe($$self, _times, value => $$invalidate(4, $_times = value));\n\tlet allDayText;\n\n\t$$self.$$set = $$props => {\n\t\tif ('allDay' in $$props) $$invalidate(0, allDay = $$props.allDay);\n\t\tif ('$$scope' in $$props) $$invalidate(10, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$allDayContent*/ 512) {\n\t\t\t$$invalidate(1, allDayText = createAllDayContent($allDayContent));\n\t\t}\n\t};\n\n\treturn [\n\t\tallDay,\n\t\tallDayText,\n\t\t$theme,\n\t\t$_scrollable,\n\t\t$_times,\n\t\t_scrollable,\n\t\tallDayContent,\n\t\ttheme,\n\t\t_times,\n\t\t$allDayContent,\n\t\t$$scope,\n\t\tslots\n\t];\n}\n\nclass Header extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$8, create_fragment$8, safe_not_equal, { allDay: 0 });\n\t}\n}\n\n/* packages/time-grid/src/Body.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[30] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[33] = list[i];\n\treturn child_ctx;\n}\n\n// (46:3) {#each $_times as time}\nfunction create_each_block_1$2(ctx) {\n\tlet div;\n\tlet t_value = /*time*/ ctx[33] + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].time);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_times*/ 2 && t_value !== (t_value = /*time*/ ctx[33] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].time)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (52:4) {#each lines as line}\nfunction create_each_block$4(ctx) {\n\tlet div;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].line);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].line)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$7(ctx) {\n\tlet div5;\n\tlet div4;\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t0;\n\tlet div1_class_value;\n\tlet t1;\n\tlet div3;\n\tlet div2;\n\tlet div2_class_value;\n\tlet t2;\n\tlet div3_class_value;\n\tlet div4_class_value;\n\tlet div5_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value_1 = /*$_times*/ ctx[1];\n\tlet each_blocks_1 = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks_1[i] = create_each_block_1$2(get_each_context_1$2(ctx, each_value_1, i));\n\t}\n\n\tlet each_value = /*lines*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));\n\t}\n\n\tconst default_slot_template = /*#slots*/ ctx[26].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv5 = element(\"div\");\n\t\t\tdiv4 = element(\"div\");\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].c();\n\t\t\t}\n\n\t\t\tt1 = space();\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv2 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt2 = space();\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[5].sidebarTitle);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[5].sidebar);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[5].lines);\n\t\t\tattr(div3, \"class\", div3_class_value = /*$theme*/ ctx[5].days);\n\t\t\tattr(div4, \"class\", div4_class_value = /*$theme*/ ctx[5].content);\n\n\t\t\tattr(div5, \"class\", div5_class_value = \"\" + (/*$theme*/ ctx[5].body + (/*compact*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[5].compact\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div5, anchor);\n\t\t\tappend(div5, div4);\n\t\t\tappend(div4, div1);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t0);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div4, t1);\n\t\t\tappend(div4, div3);\n\t\t\tappend(div3, div2);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div2, null);\n\t\t\t}\n\n\t\t\tappend(div3, t2);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div3, null);\n\t\t\t}\n\n\t\t\t/*div5_binding*/ ctx[27](div5);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*recheckScrollable*/ ctx[17]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*allDayText*/ ctx[4])),\n\t\t\t\t\tlisten(div5, \"scroll\", function () {\n\t\t\t\t\t\tif (is_function(/*$_scroll*/ ctx[6])) /*$_scroll*/ ctx[6].apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[5].sidebarTitle)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*allDayText*/ 16) setContent_action.update.call(null, /*allDayText*/ ctx[4]);\n\n\t\t\tif (dirty[0] & /*$theme, $_times*/ 34) {\n\t\t\t\teach_value_1 = /*$_times*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1$2(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks_1[i]) {\n\t\t\t\t\t\teach_blocks_1[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks_1[i] = create_each_block_1$2(child_ctx);\n\t\t\t\t\t\teach_blocks_1[i].c();\n\t\t\t\t\t\teach_blocks_1[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks_1.length; i += 1) {\n\t\t\t\t\teach_blocks_1[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks_1.length = each_value_1.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[5].sidebar)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme, lines*/ 40) {\n\t\t\t\teach_value = /*lines*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$4(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div2, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[5].lines)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty[0] & /*$$scope*/ 33554432)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[25],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[25])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div3_class_value !== (div3_class_value = /*$theme*/ ctx[5].days)) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div4_class_value !== (div4_class_value = /*$theme*/ ctx[5].content)) {\n\t\t\t\tattr(div4, \"class\", div4_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, compact*/ 36 && div5_class_value !== (div5_class_value = \"\" + (/*$theme*/ ctx[5].body + (/*compact*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[5].compact\n\t\t\t: '')))) {\n\t\t\t\tattr(div5, \"class\", div5_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div5);\n\t\t\tdestroy_each(each_blocks_1, detaching);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\t/*div5_binding*/ ctx[27](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$7($$self, $$props, $$invalidate) {\n\tlet $_scrollable;\n\tlet $slotDuration;\n\tlet $_times;\n\tlet $slotHeight;\n\tlet $scrollTime;\n\tlet $_viewDates;\n\tlet $allDayContent;\n\tlet $_slotTimeLimits;\n\tlet $theme;\n\tlet $_scroll;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { _intlSlotLabel, _viewDates, scrollTime, _scrollable, _scroll, allDayContent, slotDuration, slotHeight, theme } = getContext('state');\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(22, $_viewDates = value));\n\tcomponent_subscribe($$self, scrollTime, value => $$invalidate(21, $scrollTime = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(28, $_scrollable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(6, $_scroll = value));\n\tcomponent_subscribe($$self, allDayContent, value => $$invalidate(23, $allDayContent = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(19, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(20, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet { _slotTimeLimits, _times } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(24, $_slotTimeLimits = value));\n\tcomponent_subscribe($$self, _times, value => $$invalidate(1, $_times = value));\n\tlet el;\n\tlet compact;\n\tlet lines = [];\n\tlet timeLimitMin;\n\tlet allDayText;\n\n\tfunction recheckScrollable() {\n\t\tset_store_value(_scrollable, $_scrollable = hasYScroll(el), $_scrollable);\n\t}\n\n\tfunction div5_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t((((((($$invalidate(0, el), $$invalidate(22, $_viewDates)), $$invalidate(21, $scrollTime)), $$invalidate(18, timeLimitMin)), $$invalidate(19, $slotDuration)), $$invalidate(20, $slotHeight)), $$invalidate(1, $_times)), $$invalidate(24, $_slotTimeLimits));\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*$slotDuration, $_times, $_slotTimeLimits*/ 17301506) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, compact = $slotDuration.seconds >= 3600);\n\t\t\t\t$$invalidate(3, lines.length = $_times.length, lines);\n\n\t\t\t\t// Use intermediate variable so that changes in _slotTimeLimits do not trigger setting the el.scrollTop\n\t\t\t\t$$invalidate(18, timeLimitMin = $_slotTimeLimits.min.seconds);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$allDayContent*/ 8388608) {\n\t\t\t$$invalidate(4, allDayText = createAllDayContent($allDayContent));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*el, $_viewDates, $scrollTime, timeLimitMin, $slotDuration, $slotHeight*/ 8126465) {\n\t\t\tif (el && $_viewDates) {\n\t\t\t\t$$invalidate(0, el.scrollTop = (($scrollTime.seconds - timeLimitMin) / $slotDuration.seconds - 0.5) * $slotHeight, el);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*el, $_times, $slotDuration*/ 524291) {\n\t\t\tif (el && $_times && $slotDuration) {\n\t\t\t\tsetTimeout(recheckScrollable);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\t$_times,\n\t\tcompact,\n\t\tlines,\n\t\tallDayText,\n\t\t$theme,\n\t\t$_scroll,\n\t\t_viewDates,\n\t\tscrollTime,\n\t\t_scrollable,\n\t\t_scroll,\n\t\tallDayContent,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_slotTimeLimits,\n\t\t_times,\n\t\trecheckScrollable,\n\t\ttimeLimitMin,\n\t\t$slotDuration,\n\t\t$slotHeight,\n\t\t$scrollTime,\n\t\t$_viewDates,\n\t\t$allDayContent,\n\t\t$_slotTimeLimits,\n\t\t$$scope,\n\t\tslots,\n\t\tdiv5_binding\n\t];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$7, create_fragment$7, safe_not_equal, {}, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$6(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[2].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[4]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[5]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\n\t\t\tif (switch_instance) {\n\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[43](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[6])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[1] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[1] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 4 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[2].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 64) setContent_action.update.call(null, /*content*/ ctx[6]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 16) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[4]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 32) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[5]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[43](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$6($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $slotHeight;\n\tlet $_slotTimeLimits;\n\tlet $slotDuration;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { date } = $$props;\n\tlet { chunk } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventColor, eventContent, eventClick, eventDidMount, eventMouseEnter, eventMouseLeave, slotDuration, slotHeight, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(36, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(39, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(38, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(35, $eventContent = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(45, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(42, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(40, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(33, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(34, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(37, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _slotTimeLimits, _viewResources } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(41, $_slotTimeLimits = value));\n\tlet el;\n\tlet event;\n\tlet display;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.drag.startTimeGrid(event, el, jsEvent, _viewResources, false, resize);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(3, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(31, date = $$props.date);\n\t\tif ('chunk' in $$props) $$invalidate(32, chunk = $$props.chunk);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[1] & /*chunk*/ 2) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, style, display, $theme*/ 39 | $$self.$$.dirty[1] & /*$slotDuration, $_slotTimeLimits, chunk, date, $slotHeight, $eventBackgroundColor, $eventColor, $_classes*/ 4035) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, display = event.display);\n\n\t\t\t\t// Style\n\t\t\t\tlet step = $slotDuration.seconds / 60;\n\n\t\t\t\tlet offset = $_slotTimeLimits.min.seconds / 60;\n\t\t\t\tlet start = (chunk.start - date) / 1000 / 60;\n\t\t\t\tlet end = (chunk.end - date) / 1000 / 60;\n\t\t\t\tlet top = (start - offset) / step * $slotHeight;\n\t\t\t\tlet height = (end - start) / step * $slotHeight;\n\t\t\t\tlet maxHeight = ($_slotTimeLimits.max.seconds / 60 - start) / step * $slotHeight;\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\t\t\t\t$$invalidate(5, style = `top:${top}px;` + `min-height:${height}px;` + `height:${height}px;` + `max-height:${maxHeight}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(5, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\tif (display === 'auto' || display === 'ghost') {\n\t\t\t\t\t$$invalidate(5, style += `z-index:${chunk.column + 1};` + `left:${100 / chunk.group.columns.length * chunk.column}%;` + `width:${100 / chunk.group.columns.length * 0.5 * (1 + chunk.group.columns.length - chunk.column)}%;`);\n\t\t\t\t}\n\n\t\t\t\t// Class\n\t\t\t\t$$invalidate(4, classes = $_classes(display === 'background' ? $theme.bgEvent : $theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$theme*/ 4 | $$self.$$.dirty[1] & /*chunk, $displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 62) {\n\t\t\t// Content\n\t\t\t$$invalidate(6, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\tdisplay,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventColor,\n\t\teventContent,\n\t\teventClick,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_slotTimeLimits,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\tdate,\n\t\tchunk,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\t$slotHeight,\n\t\t$_slotTimeLimits,\n\t\t$slotDuration,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event$1 extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$6, create_fragment$6, safe_not_equal, { date: 31, chunk: 32 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/NowIndicator.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$5(ctx) {\n\tlet div;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].nowIndicator);\n\t\t\tset_style(div, \"top\", /*top*/ ctx[0] + \"px\");\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].nowIndicator)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*top*/ 1) {\n\t\t\t\tset_style(div, \"top\", /*top*/ ctx[0] + \"px\");\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction instance$5($$self, $$props, $$invalidate) {\n\tlet $slotHeight;\n\tlet $_slotTimeLimits;\n\tlet $slotDuration;\n\tlet $theme;\n\tlet { slotDuration, slotHeight, theme } = getContext('state');\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(10, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(8, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet { _slotTimeLimits } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(9, $_slotTimeLimits = value));\n\tlet now;\n\tlet today;\n\tlet top = 0;\n\tlet intervalID;\n\ttimer();\n\n\tonMount(() => setTimeout(\n\t\t() => {\n\t\t\tintervalID = setInterval(timer, 60000);\n\t\t\ttimer();\n\t\t},\n\t\t(60 - now.getSeconds()) * 1000\n\t));\n\n\tonDestroy(() => clearInterval(intervalID));\n\n\tfunction timer() {\n\t\t$$invalidate(6, now = createDate());\n\t\t$$invalidate(7, today = setMidnight(createDate()));\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$slotDuration, $_slotTimeLimits, now, today, $slotHeight*/ 1984) {\n\t\t\t{\n\t\t\t\t// Style\n\t\t\t\tlet step = $slotDuration.seconds / 60;\n\n\t\t\t\tlet offset = $_slotTimeLimits.min.seconds / 60;\n\t\t\t\tlet start = (now - today) / 1000 / 60;\n\t\t\t\t$$invalidate(0, top = (start - offset) / step * $slotHeight);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\ttop,\n\t\t$theme,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_slotTimeLimits,\n\t\tnow,\n\t\ttoday,\n\t\t$slotHeight,\n\t\t$_slotTimeLimits,\n\t\t$slotDuration\n\t];\n}\n\nclass NowIndicator extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$5, create_fragment$5, safe_not_equal, {});\n\t}\n}\n\n/* packages/time-grid/src/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[37] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[37] = list[i];\n\treturn child_ctx;\n}\n\n// (107:2) {#each bgChunks as chunk}\nfunction create_each_block_1$1(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*chunk*/ ctx[37]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*bgChunks*/ 4) event_changes.chunk = /*chunk*/ ctx[37];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (113:2) {#if iChunks[1]}\nfunction create_if_block_2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*iChunks*/ ctx[4][1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*iChunks*/ 16) event_changes.chunk = /*iChunks*/ ctx[4][1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (116:2) {#each chunks as chunk}\nfunction create_each_block$3(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*chunk*/ ctx[37]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*chunks*/ 2) event_changes.chunk = /*chunk*/ ctx[37];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (120:2) {#if iChunks[0] && !iChunks[0].event.allDay}\nfunction create_if_block_1(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*iChunks*/ ctx[4][0]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*iChunks*/ 16) event_changes.chunk = /*iChunks*/ ctx[4][0];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (126:2) {#if $nowIndicator && isToday}\nfunction create_if_block$2(ctx) {\n\tlet nowindicator;\n\tlet current;\n\tnowindicator = new NowIndicator({});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(nowindicator.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(nowindicator, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(nowindicator.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(nowindicator.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(nowindicator, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$4(ctx) {\n\tlet div3;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t0;\n\tlet div1;\n\tlet t1;\n\tlet t2;\n\tlet div1_class_value;\n\tlet t3;\n\tlet div2;\n\tlet div2_class_value;\n\tlet div3_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value_1 = /*bgChunks*/ ctx[2];\n\tlet each_blocks_1 = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks_1[i] = create_each_block_1$1(get_each_context_1$1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks_1[i], 1, 1, () => {\n\t\teach_blocks_1[i] = null;\n\t});\n\n\tlet if_block0 = /*iChunks*/ ctx[4][1] && create_if_block_2(ctx);\n\tlet each_value = /*chunks*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));\n\t}\n\n\tconst out_1 = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\tlet if_block1 = /*iChunks*/ ctx[4][0] && !/*iChunks*/ ctx[4][0].event.allDay && create_if_block_1(ctx);\n\tlet if_block2 = /*$nowIndicator*/ ctx[10] && /*isToday*/ ctx[5] && create_if_block$2();\n\n\treturn {\n\t\tc() {\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].c();\n\t\t\t}\n\n\t\t\tt0 = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tif (if_block0) if_block0.c();\n\t\t\tt1 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt2 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt3 = space();\n\t\t\tdiv2 = element(\"div\");\n\t\t\tif (if_block2) if_block2.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[7].bgEvents);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[7].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[7].extra);\n\n\t\t\tattr(div3, \"class\", div3_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div3, anchor);\n\t\t\tappend(div3, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].m(div0, null);\n\t\t\t}\n\n\t\t\tappend(div3, t0);\n\t\t\tappend(div3, div1);\n\t\t\tif (if_block0) if_block0.m(div1, null);\n\t\t\tappend(div1, t1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div1, t2);\n\t\t\tif (if_block1) if_block1.m(div1, null);\n\t\t\tappend(div3, t3);\n\t\t\tappend(div3, div2);\n\t\t\tif (if_block2) if_block2.m(div2, null);\n\t\t\t/*div3_binding*/ ctx[31](div3);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div3, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[22](/*$dateClick*/ ctx[8]))) /*createClickHandler*/ ctx[22](/*$dateClick*/ ctx[8]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerEnterHandler*/ ctx[23](/*$_interaction*/ ctx[9]))) /*createPointerEnterHandler*/ ctx[23](/*$_interaction*/ ctx[9]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerleave\", function () {\n\t\t\t\t\t\tif (is_function(createPointerLeaveHandler(/*$_interaction*/ ctx[9]))) createPointerLeaveHandler(/*$_interaction*/ ctx[9]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (dirty[0] & /*date, bgChunks*/ 5) {\n\t\t\t\teach_value_1 = /*bgChunks*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1$1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks_1[i]) {\n\t\t\t\t\t\teach_blocks_1[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks_1[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks_1[i] = create_each_block_1$1(child_ctx);\n\t\t\t\t\t\teach_blocks_1[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks_1[i], 1);\n\t\t\t\t\t\teach_blocks_1[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks_1.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[7].bgEvents)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (/*iChunks*/ ctx[4][1]) {\n\t\t\t\tif (if_block0) {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks*/ 16) {\n\t\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block0 = create_if_block_2(ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\tif_block0.m(div1, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block0) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block0, 1, 1, () => {\n\t\t\t\t\tif_block0 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*date, chunks*/ 3) {\n\t\t\t\teach_value = /*chunks*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$3(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, t2);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout_1(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (/*iChunks*/ ctx[4][0] && !/*iChunks*/ ctx[4][0].event.allDay) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks*/ 16) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_1(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div1, null);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[7].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (/*$nowIndicator*/ ctx[10] && /*isToday*/ ctx[5]) {\n\t\t\t\tif (if_block2) {\n\t\t\t\t\tif (dirty[0] & /*$nowIndicator, isToday*/ 1056) {\n\t\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block2 = create_if_block$2();\n\t\t\t\t\tif_block2.c();\n\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\tif_block2.m(div2, null);\n\t\t\t\t}\n\t\t\t} else if (if_block2) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block2, 1, 1, () => {\n\t\t\t\t\tif_block2 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[7].extra)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, highlight*/ 224 && div3_class_value !== (div3_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks_1[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block0);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block1);\n\t\t\ttransition_in(if_block2);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks_1 = each_blocks_1.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks_1[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block0);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block1);\n\t\t\ttransition_out(if_block2);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div3);\n\t\t\tdestroy_each(each_blocks_1, detaching);\n\t\t\tif (if_block0) if_block0.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (if_block1) if_block1.d();\n\t\t\tif (if_block2) if_block2.d();\n\t\t\t/*div3_binding*/ ctx[31](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction createPointerLeaveHandler(interaction) {\n\treturn interaction.pointer\n\t? interaction.pointer.leave\n\t: undefined;\n}\n\nfunction instance$4($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $slotDuration;\n\tlet $_slotTimeLimits;\n\tlet $slotHeight;\n\tlet $highlightedDates;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet $nowIndicator;\n\tlet { date } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { _events, _iEvents, dateClick, highlightedDates, nowIndicator, slotDuration, slotHeight, _view, theme, _interaction } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(30, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(29, $_iEvents = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(8, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(28, $highlightedDates = value));\n\tcomponent_subscribe($$self, nowIndicator, value => $$invalidate(10, $nowIndicator = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(33, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(34, $slotHeight = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(7, $theme = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(9, $_interaction = value));\n\tlet { _slotTimeLimits } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(27, $_slotTimeLimits = value));\n\tlet el;\n\tlet chunks, bgChunks, iChunks = [];\n\tlet today = setMidnight(createDate()), isToday, highlight;\n\tlet start, end;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tlet r = rect(el);\n\t\t\t\tlet y = jsEvent.clientY - r.top;\n\t\t\t\tlet d = addDuration(cloneDate(date), $slotDuration, Math.floor(y / $slotHeight + $_slotTimeLimits.min.seconds / $slotDuration.seconds));\n\n\t\t\t\tfn({\n\t\t\t\t\tdate: toLocalDate(d),\n\t\t\t\t\tdateStr: toISOString(d),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\tresource\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction createPointerEnterHandler(interaction) {\n\t\treturn interaction.pointer\n\t\t? jsEvent => interaction.pointer.enterTimeGrid(date, el, jsEvent, _slotTimeLimits, resource)\n\t\t: undefined;\n\t}\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start && (resource === undefined || event.resourceIds.includes(resource.id));\n\t}\n\n\tfunction div3_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(3, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('resource' in $$props) $$invalidate(24, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*date, $_slotTimeLimits*/ 134217729) {\n\t\t\t{\n\t\t\t\t$$invalidate(25, start = addDuration(cloneDate(date), $_slotTimeLimits.min));\n\t\t\t\t$$invalidate(26, end = addDuration(cloneDate(date), $_slotTimeLimits.max));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_events, start, end, bgChunks, chunks*/ 1174405126) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\t\t\t\t$$invalidate(2, bgChunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (!event.allDay && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\n\t\t\t\t\t\tswitch (event.display) {\n\t\t\t\t\t\t\tcase 'background':\n\t\t\t\t\t\t\t\tbgChunks.push(chunk);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroupEventChunks(chunks);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_iEvents, start, end*/ 637534208) {\n\t\t\t$$invalidate(4, iChunks = $_iEvents.map(event => event && intersects(event)\n\t\t\t? createEventChunk(event, start, end)\n\t\t\t: null));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, $highlightedDates*/ 268435457) {\n\t\t\t{\n\t\t\t\t$$invalidate(5, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(6, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tchunks,\n\t\tbgChunks,\n\t\tel,\n\t\tiChunks,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\t$nowIndicator,\n\t\t_events,\n\t\t_iEvents,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\tnowIndicator,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\t_view,\n\t\ttheme,\n\t\t_interaction,\n\t\t_slotTimeLimits,\n\t\tcreateClickHandler,\n\t\tcreatePointerEnterHandler,\n\t\tresource,\n\t\tstart,\n\t\tend,\n\t\t$_slotTimeLimits,\n\t\t$highlightedDates,\n\t\t$_iEvents,\n\t\t$_events,\n\t\tdiv3_binding\n\t];\n}\n\nclass Day$1 extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$4, create_fragment$4, safe_not_equal, { date: 0, resource: 24 }, null, [-1, -1]);\n\t}\n}\n\nfunction prepareEventChunks(chunks, hiddenDays) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n let longChunks = {};\n let prevChunk;\n for (let chunk of chunks) {\n let dates = [];\n let date = setMidnight(cloneDate(chunk.start));\n while (chunk.end > date) {\n if (!hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n if (dates.length > 1) {\n let key = date.getTime();\n if (longChunks[key]) {\n longChunks[key].push(chunk);\n } else {\n longChunks[key] = [chunk];\n }\n }\n }\n addDay(date);\n }\n if (dates.length) {\n chunk.date = dates[0];\n chunk.days = dates.length;\n chunk.dates = dates;\n if (chunk.start < dates[0]) {\n chunk.start = dates[0];\n }\n if (setMidnight(cloneDate(chunk.end)) > dates[dates.length - 1]) {\n chunk.end = dates[dates.length - 1];\n }\n } else {\n chunk.date = setMidnight(cloneDate(chunk.start));\n chunk.days = 1;\n chunk.dates = [chunk.date];\n }\n\n if (prevChunk && datesEqual(prevChunk.date, chunk.date)) {\n chunk.prev = prevChunk;\n }\n prevChunk = chunk;\n }\n\n return longChunks;\n}\n\n/* packages/time-grid/src/all-day/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$3(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[27](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\n\t\t\tif (switch_instance) {\n\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[39](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*reposition*/ ctx[28]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[5])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventClick*/ ctx[8], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventClick*/ ctx[8], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[27]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[27]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 32) setContent_action.update.call(null, /*content*/ ctx[5]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[27](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 8) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 16) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[39](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { chunk } = $$props;\n\tlet { longChunks = {} } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventClick, eventColor, eventContent, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(35, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(38, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(37, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(34, $eventContent = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(41, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(33, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(36, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _viewResources } = getContext('view-state');\n\tcreateEventDispatcher();\n\tlet el;\n\tlet event;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\tlet margin = 1;\n\tlet display;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tafterUpdate(reposition);\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.drag.startTimeGrid(event, el, jsEvent, _viewResources, true, resize);\n\t}\n\n\tfunction reposition() {\n\t\tif (!el || display === 'preview') {\n\t\t\treturn;\n\t\t}\n\n\t\t$$invalidate(29, chunk.top = 0, chunk);\n\n\t\tif (chunk.prev) {\n\t\t\tif (chunk.prev.bottom === undefined) {\n\t\t\t\t// 'prev' is not ready yet, try again later\n\t\t\t\ttick().then(reposition);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$$invalidate(29, chunk.top = chunk.prev.bottom + 1, chunk);\n\t\t}\n\n\t\t$$invalidate(29, chunk.bottom = chunk.top + height(el), chunk);\n\t\tlet m = 1;\n\t\tlet key = chunk.date.getTime();\n\n\t\tif (longChunks[key]) {\n\t\t\tfor (let longChunk of longChunks[key]) {\n\t\t\t\tif (longChunk.bottom === undefined) {\n\t\t\t\t\t// 'longChunk' is not ready yet, try again later\n\t\t\t\t\ttick().then(reposition);\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (chunk.top < longChunk.bottom && chunk.bottom > longChunk.top) {\n\t\t\t\t\tlet offset = longChunk.bottom - chunk.top + 1;\n\t\t\t\t\tm += offset;\n\t\t\t\t\t$$invalidate(29, chunk.top += offset, chunk);\n\t\t\t\t\t$$invalidate(29, chunk.bottom += offset, chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$$invalidate(31, margin = m);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(29, chunk = $$props.chunk);\n\t\tif ('longChunks' in $$props) $$invalidate(30, longChunks = $$props.longChunks);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*chunk*/ 536870912) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, chunk, style, $theme*/ 536870931 | $$self.$$.dirty[1] & /*$eventBackgroundColor, $eventColor, margin, $_classes*/ 225) {\n\t\t\t{\n\t\t\t\t$$invalidate(6, display = event.display);\n\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\t$$invalidate(4, style = `width:calc(${chunk.days * 100}% + ${(chunk.days - 1) * 7}px);` + `margin-top:${margin}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(4, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, classes = $_classes($theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*chunk, $theme*/ 536870914 | $$self.$$.dirty[1] & /*$displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 30) {\n\t\t\t// Content\n\t\t\t$$invalidate(5, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\tdisplay,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventClick,\n\t\teventColor,\n\t\teventContent,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\treposition,\n\t\tchunk,\n\t\tlongChunks,\n\t\tmargin,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, { chunk: 29, longChunks: 30 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/all-day/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[22] = list[i];\n\treturn child_ctx;\n}\n\n// (57:1) {#if iChunks[0] && datesEqual(iChunks[0].date, date)}\nfunction create_if_block$1(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[7].events + \" \" + /*$theme*/ ctx[7].preview));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][0];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty & /*$theme*/ 128 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[7].events + \" \" + /*$theme*/ ctx[7].preview))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (63:2) {#each dayChunks as chunk}\nfunction create_each_block$2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: {\n\t\t\t\tchunk: /*chunk*/ ctx[22],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*dayChunks*/ 8) event_changes.chunk = /*chunk*/ ctx[22];\n\t\t\tif (dirty & /*longChunks*/ 2) event_changes.longChunks = /*longChunks*/ ctx[1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet div1;\n\tlet show_if = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\tlet t;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet if_block = show_if && create_if_block$1(ctx);\n\tlet each_value = /*dayChunks*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tif (if_block) if_block.c();\n\t\t\tt = space();\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[7].events);\n\n\t\t\tattr(div1, \"class\", div1_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tif (if_block) if_block.m(div1, null);\n\t\t\tappend(div1, t);\n\t\t\tappend(div1, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[17](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div1, \"click\", function () {\n\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[13](/*$dateClick*/ ctx[8]))) /*createClickHandler*/ ctx[13](/*$dateClick*/ ctx[8]).apply(this, arguments);\n\t\t\t\t});\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\t\t\tif (dirty & /*iChunks, date*/ 5) show_if = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(div1, t);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty & /*dayChunks, longChunks*/ 10) {\n\t\t\t\teach_value = /*dayChunks*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$2(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 128 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[7].events)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, isToday, highlight*/ 224 && div1_class_value !== (div1_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (if_block) if_block.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\t/*div1_binding*/ ctx[17](null);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $highlightedDates;\n\tlet $theme;\n\tlet $dateClick;\n\tlet { date } = $$props;\n\tlet { chunks } = $$props;\n\tlet { longChunks } = $$props;\n\tlet { iChunks = [] } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { date: currentDate, dateClick, highlightedDates, theme, _view, _interaction } = getContext('state');\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(8, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(16, $highlightedDates = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(7, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(18, $_view = value));\n\tlet el;\n\tlet dayChunks;\n\tlet today = setMidnight(createDate());\n\tlet isToday;\n\tlet highlight;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tfn({\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\tresource\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(4, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('chunks' in $$props) $$invalidate(14, chunks = $$props.chunks);\n\t\tif ('longChunks' in $$props) $$invalidate(1, longChunks = $$props.longChunks);\n\t\tif ('iChunks' in $$props) $$invalidate(2, iChunks = $$props.iChunks);\n\t\tif ('resource' in $$props) $$invalidate(15, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*chunks, date, dayChunks*/ 16393) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, dayChunks = []);\n\n\t\t\t\tfor (let chunk of chunks) {\n\t\t\t\t\tif (datesEqual(chunk.date, date)) {\n\t\t\t\t\t\tdayChunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*date, $highlightedDates*/ 65537) {\n\t\t\t{\n\t\t\t\t$$invalidate(5, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(6, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tlongChunks,\n\t\tiChunks,\n\t\tdayChunks,\n\t\tel,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\ttheme,\n\t\t_view,\n\t\tcreateClickHandler,\n\t\tchunks,\n\t\tresource,\n\t\t$highlightedDates,\n\t\tdiv1_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, {\n\t\t\tdate: 0,\n\t\t\tchunks: 14,\n\t\t\tlongChunks: 1,\n\t\t\tiChunks: 2,\n\t\t\tresource: 15\n\t\t});\n\t}\n}\n\n/* packages/time-grid/src/all-day/Week.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[15] = list[i];\n\treturn child_ctx;\n}\n\n// (50:0) {#each dates as date}\nfunction create_each_block$1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[15],\n\t\t\t\tchunks: /*chunks*/ ctx[2],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[3],\n\t\t\t\tiChunks: /*iChunks*/ ctx[4],\n\t\t\t\tresource: /*resource*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*dates*/ 1) day_changes.date = /*date*/ ctx[15];\n\t\t\tif (dirty & /*chunks*/ 4) day_changes.chunks = /*chunks*/ ctx[2];\n\t\t\tif (dirty & /*longChunks*/ 8) day_changes.longChunks = /*longChunks*/ ctx[3];\n\t\t\tif (dirty & /*iChunks*/ 16) day_changes.iChunks = /*iChunks*/ ctx[4];\n\t\t\tif (dirty & /*resource*/ 2) day_changes.resource = /*resource*/ ctx[1];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*dates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*dates, chunks, longChunks, iChunks, resource*/ 31) {\n\t\t\t\teach_value = /*dates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $hiddenDays;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet { dates } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { _events, _iEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(12, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(11, $_iEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(10, $hiddenDays = value));\n\tlet chunks, longChunks, iChunks = [];\n\tlet start;\n\tlet end;\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start && (resource === undefined || event.resourceIds.includes(resource.id));\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('dates' in $$props) $$invalidate(0, dates = $$props.dates);\n\t\tif ('resource' in $$props) $$invalidate(1, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*dates*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(8, start = dates[0]);\n\t\t\t\t$$invalidate(9, end = addDay(cloneDate(dates[dates.length - 1])));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_events, start, end, chunks, $hiddenDays*/ 5892) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, chunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.allDay && event.display !== 'background' && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, longChunks = prepareEventChunks(chunks, $hiddenDays));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_iEvents, start, end, $hiddenDays*/ 3840) {\n\t\t\t$$invalidate(4, iChunks = $_iEvents.map(event => {\n\t\t\t\tlet chunk;\n\n\t\t\t\tif (event && event.allDay && intersects(event)) {\n\t\t\t\t\tchunk = createEventChunk(event, start, end);\n\t\t\t\t\tprepareEventChunks([chunk], $hiddenDays);\n\t\t\t\t} else {\n\t\t\t\t\tchunk = null;\n\t\t\t\t}\n\n\t\t\t\treturn chunk;\n\t\t\t}));\n\t\t}\n\t};\n\n\treturn [\n\t\tdates,\n\t\tresource,\n\t\tchunks,\n\t\tlongChunks,\n\t\tiChunks,\n\t\t_events,\n\t\t_iEvents,\n\t\thiddenDays,\n\t\tstart,\n\t\tend,\n\t\t$hiddenDays,\n\t\t$_iEvents,\n\t\t$_events\n\t];\n}\n\nclass Week extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { dates: 0, resource: 1 });\n\t}\n}\n\n/* packages/time-grid/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[11] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[11] = list[i];\n\treturn child_ctx;\n}\n\n// (18:1) {#each $_viewDates as date}\nfunction create_each_block_1(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[2].format(/*date*/ ctx[11]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_intlDayHeader, $_viewDates*/ 5 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[2].format(/*date*/ ctx[11]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (17:0) <Header>\nfunction create_default_slot_2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value_1 = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, $_intlDayHeader, $_viewDates*/ 7) {\n\t\t\t\teach_value_1 = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_1.length;\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (22:0) {#if $allDaySlot}\nfunction create_if_block(ctx) {\n\tlet header;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\tallDay: true,\n\t\t\t\t$$slots: { default: [create_default_slot_1] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates*/ 65537) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t}\n\t};\n}\n\n// (23:1) <Header allDay>\nfunction create_default_slot_1(ctx) {\n\tlet week;\n\tlet current;\n\tweek = new Week({ props: { dates: /*$_viewDates*/ ctx[0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 1) week_changes.dates = /*$_viewDates*/ ctx[0];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (28:1) {#each $_viewDates as date}\nfunction create_each_block(ctx) {\n\tlet day;\n\tlet current;\n\tday = new Day$1({ props: { date: /*date*/ ctx[11] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 1) day_changes.date = /*date*/ ctx[11];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (27:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewDates*/ 1) {\n\t\t\t\teach_value = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t0;\n\tlet t1;\n\tlet body;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot_2] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\tlet if_block = /*$allDaySlot*/ ctx[3] && create_if_block(ctx);\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt1 = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t0, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, t1, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates, $theme, $_intlDayHeader*/ 65543) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\n\t\t\tif (/*$allDaySlot*/ ctx[3]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*$allDaySlot*/ 8) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(t1.parentNode, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates*/ 65537) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t0);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(t1);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewClass;\n\tlet $_viewDates;\n\tlet $theme;\n\tlet $_intlDayHeader;\n\tlet $allDaySlot;\n\tlet state = getContext('state');\n\tlet { _viewDates, _intlDayHeader, _viewClass, allDaySlot, theme } = state;\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(0, $_viewDates = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(2, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(9, $_viewClass = value));\n\tcomponent_subscribe($$self, allDaySlot, value => $$invalidate(3, $allDaySlot = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tsetContext('view-state', new State(state));\n\tset_store_value(_viewClass, $_viewClass = 'week', $_viewClass);\n\n\treturn [\n\t\t$_viewDates,\n\t\t$theme,\n\t\t$_intlDayHeader,\n\t\t$allDaySlot,\n\t\t_viewDates,\n\t\t_intlDayHeader,\n\t\t_viewClass,\n\t\tallDaySlot,\n\t\ttheme\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\t// Common options\n\t\toptions.buttonText.timeGridDay = 'day';\n\t\toptions.buttonText.timeGridWeek = 'week';\n\t\toptions.view = 'timeGridWeek';\n\t\toptions.views.timeGridDay = {\n\t\t\tcomponent: View,\n\t\t\tdayHeaderFormat: {weekday: 'long'},\n\t\t\tduration: {days: 1},\n\t\t\ttitleFormat: {year: 'numeric', month: 'long', day: 'numeric'}\n\t\t};\n\t\toptions.views.timeGridWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t}\n};\n\nexport { Body, Day$1 as Day, Header, State, Week, index as default };\n","import { SvelteComponent, init, safe_not_equal, create_component, mount_component, transition_in, transition_out, destroy_component, space, insert, group_outros, check_outros, detach, component_subscribe, set_store_value, element, text, attr, append, set_data, destroy_each, empty } from 'svelte/internal';\nimport { getContext, setContext } from 'svelte';\nimport { State as State$1, Header, Body, Day, Week } from '@event-calendar/time-grid';\nimport { derived } from 'svelte/store';\n\nfunction viewResources(state) {\n return derived(\n [state.resources, state.filterResourcesWithEvents, state._events, state._activeRange],\n ([$resources, $filterResourcesWithEvents, $_events, $_activeRange]) => {\n let result = $resources;\n\n if ($filterResourcesWithEvents) {\n result = $resources.filter(resource => {\n for (let event of $_events) {\n if (\n event.display !== 'background' &&\n event.resourceIds.includes(resource.id) &&\n event.start < $_activeRange.end &&\n event.end > $_activeRange.start\n ) {\n return true;\n }\n }\n return false;\n });\n }\n\n if (!result.length) {\n result = state.resources.parse([{}]);\n }\n\n return result;\n }\n );\n}\n\nclass State extends State$1 {\n constructor(state) {\n super(state);\n\n this._viewResources = viewResources(state);\n }\n}\n\n/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[21] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[27] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[24] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[27] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_5(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_6(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[21] = list[i];\n\treturn child_ctx;\n}\n\n// (31:3) {#if loops[1].length > 1}\nfunction create_if_block_2(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet each_value_6 = /*loops*/ ctx[0][1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_6.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_6(get_each_context_6(ctx, each_value_6, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].days);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, titles, loops*/ 35) {\n\t\t\t\teach_value_6 = /*loops*/ ctx[0][1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_6.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_6(ctx, each_value_6, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_6(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_6.length;\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].days)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (33:5) {#each loops[1] as item1}\nfunction create_each_block_6(ctx) {\n\tlet div;\n\tlet t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[21]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*titles, loops*/ 3 && t_value !== (t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[21]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (28:1) {#each loops[0] as item0}\nfunction create_each_block_5(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[18]) + \"\";\n\tlet t0;\n\tlet div0_class_value;\n\tlet t1;\n\tlet t2;\n\tlet div1_class_value;\n\tlet if_block = /*loops*/ ctx[0][1].length > 1 && create_if_block_2(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt2 = space();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[5].day);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div1, t1);\n\t\t\tif (if_block) if_block.m(div1, null);\n\t\t\tappend(div1, t2);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*titles, loops*/ 3 && t0_value !== (t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[18]) + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[5].day)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (/*loops*/ ctx[0][1].length > 1) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block_2(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(div1, t2);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = null;\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (if_block) if_block.d();\n\t\t}\n\t};\n}\n\n// (27:0) <Header>\nfunction create_default_slot_2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value_5 = /*loops*/ ctx[0][0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_5.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_5(get_each_context_5(ctx, each_value_5, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, loops, titles*/ 35) {\n\t\t\t\teach_value_5 = /*loops*/ ctx[0][0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_5.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_5(ctx, each_value_5, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_5(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_5.length;\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (41:0) {#if $allDaySlot}\nfunction create_if_block(ctx) {\n\tlet header;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\tallDay: true,\n\t\t\t\t$$slots: { default: [create_default_slot_1] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty[0] & /*$_viewDates, $theme, $_viewResources, $datesAboveResources*/ 60 | dirty[1] & /*$$scope*/ 32) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t}\n\t};\n}\n\n// (51:2) {:else}\nfunction create_else_block(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_4 = /*$_viewResources*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_4.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, $_viewDates, $_viewResources*/ 44) {\n\t\t\t\teach_value_4 = /*$_viewResources*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_4.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_4(ctx, each_value_4, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_4.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_4.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (43:2) {#if $datesAboveResources}\nfunction create_if_block_1(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_2 = /*$_viewDates*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_2.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, $_viewResources, $_viewDates*/ 44) {\n\t\t\t\teach_value_2 = /*$_viewDates*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_2.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_2(ctx, each_value_2, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_2.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_2.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (52:3) {#each $_viewResources as resource}\nfunction create_each_block_4(ctx) {\n\tlet div;\n\tlet week;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\n\tweek = new Week({\n\t\t\tprops: {\n\t\t\t\tdates: /*$_viewDates*/ ctx[3],\n\t\t\t\tresource: /*resource*/ ctx[27]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(week.$$.fragment);\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(week, div, null);\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty[0] & /*$_viewDates*/ 8) week_changes.dates = /*$_viewDates*/ ctx[3];\n\t\t\tif (dirty[0] & /*$_viewResources*/ 4) week_changes.resource = /*resource*/ ctx[27];\n\t\t\tweek.$set(week_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(week);\n\t\t}\n\t};\n}\n\n// (46:5) {#each $_viewResources as resource}\nfunction create_each_block_3(ctx) {\n\tlet week;\n\tlet current;\n\n\tweek = new Week({\n\t\t\tprops: {\n\t\t\t\tdates: [/*date*/ ctx[24]],\n\t\t\t\tresource: /*resource*/ ctx[27]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty[0] & /*$_viewDates*/ 8) week_changes.dates = [/*date*/ ctx[24]];\n\t\t\tif (dirty[0] & /*$_viewResources*/ 4) week_changes.resource = /*resource*/ ctx[27];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (44:3) {#each $_viewDates as date}\nfunction create_each_block_2(ctx) {\n\tlet div;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_3 = /*$_viewResources*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_3.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_viewDates, $_viewResources*/ 12) {\n\t\t\t\teach_value_3 = /*$_viewResources*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_3.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_3(ctx, each_value_3, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_3.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_3.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (42:1) <Header allDay>\nfunction create_default_slot_1(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block_1, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*$datesAboveResources*/ ctx[4]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (63:3) {#each loops[1] as item1}\nfunction create_each_block_1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*$datesAboveResources*/ ctx[4]\n\t\t\t\t? /*item0*/ ctx[18]\n\t\t\t\t: /*item1*/ ctx[21],\n\t\t\t\tresource: /*$datesAboveResources*/ ctx[4]\n\t\t\t\t? /*item1*/ ctx[21]\n\t\t\t\t: /*item0*/ ctx[18]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 17) day_changes.date = /*$datesAboveResources*/ ctx[4]\n\t\t\t? /*item0*/ ctx[18]\n\t\t\t: /*item1*/ ctx[21];\n\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 17) day_changes.resource = /*$datesAboveResources*/ ctx[4]\n\t\t\t? /*item1*/ ctx[21]\n\t\t\t: /*item0*/ ctx[18];\n\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (61:1) {#each loops[0] as item0}\nfunction create_each_block(ctx) {\n\tlet div;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_1 = /*loops*/ ctx[0][1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 17) {\n\t\t\t\teach_value_1 = /*loops*/ ctx[0][1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (60:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*loops*/ ctx[0][0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, loops, $datesAboveResources*/ 49) {\n\t\t\t\teach_value = /*loops*/ ctx[0][0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t0;\n\tlet t1;\n\tlet body;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot_2] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\tlet if_block = /*$allDaySlot*/ ctx[6] && create_if_block(ctx);\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt1 = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t0, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, t1, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty[0] & /*loops, $theme, titles*/ 35 | dirty[1] & /*$$scope*/ 32) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\n\t\t\tif (/*$allDaySlot*/ ctx[6]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*$allDaySlot*/ 64) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(t1.parentNode, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty[0] & /*loops, $theme, $datesAboveResources*/ 49 | dirty[1] & /*$$scope*/ 32) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t0);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(t1);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_intlDayHeader;\n\tlet $_viewResources;\n\tlet $_viewDates;\n\tlet $datesAboveResources;\n\tlet $_viewClass;\n\tlet $theme;\n\tlet $allDaySlot;\n\tlet state = getContext('state');\n\tlet { datesAboveResources, _viewDates, _intlDayHeader, _viewClass, allDaySlot, theme } = state;\n\tcomponent_subscribe($$self, datesAboveResources, value => $$invalidate(4, $datesAboveResources = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(3, $_viewDates = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(14, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(15, $_viewClass = value));\n\tcomponent_subscribe($$self, allDaySlot, value => $$invalidate(6, $allDaySlot = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet viewState = new State(state);\n\tsetContext('view-state', viewState);\n\tlet { _viewResources } = viewState;\n\tcomponent_subscribe($$self, _viewResources, value => $$invalidate(2, $_viewResources = value));\n\tset_store_value(_viewClass, $_viewClass = 'week', $_viewClass);\n\tlet loops, titles;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*$datesAboveResources, loops, $_viewDates, $_viewResources, titles, $_intlDayHeader*/ 16415) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, loops = []);\n\t\t\t\t$$invalidate(1, titles = []);\n\n\t\t\t\tfor (let i of $datesAboveResources ? [1, 0] : [0, 1]) {\n\t\t\t\t\tloops.push(i ? $_viewDates : $_viewResources);\n\n\t\t\t\t\ttitles.push(i\n\t\t\t\t\t? date => $_intlDayHeader.format(date)\n\t\t\t\t\t: resource => resource.title);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tloops,\n\t\ttitles,\n\t\t$_viewResources,\n\t\t$_viewDates,\n\t\t$datesAboveResources,\n\t\t$theme,\n\t\t$allDaySlot,\n\t\tdatesAboveResources,\n\t\t_viewDates,\n\t\t_intlDayHeader,\n\t\t_viewClass,\n\t\tallDaySlot,\n\t\ttheme,\n\t\t_viewResources,\n\t\t$_intlDayHeader\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {}, null, [-1, -1]);\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.resources = [];\n\t\toptions.datesAboveResources = false;\n\t\toptions.filterResourcesWithEvents = false;\n\t\t// Common options\n\t\toptions.buttonText.resourceTimeGridDay = 'day';\n\t\toptions.buttonText.resourceTimeGridWeek = 'week';\n\t\toptions.theme.resource = 'ec-resource';\n\t\toptions.theme.resourceTitle = 'ec-resource-title';\n\t\toptions.view = 'resourceTimeGridWeek';\n\t\toptions.views.resourceTimeGridDay = {\n\t\t\tcomponent: View,\n\t\t\tduration: {days: 1}\n\t\t};\n\t\toptions.views.resourceTimeGridWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t},\n\tcreateParsers(parsers, options) {\n\t\tparsers.resources = createResources;\n\t}\n};\n\nfunction createResources(input) {\n\treturn input.map(resource => ({\n\t\tid: String(resource.id),\n\t\ttitle: resource.title || ''\n\t}));\n}\n\nexport { index as default };\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","require('../../modules/es.object.values');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.values;\n","var parent = require('../../es/object/values');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/values\");","import { SvelteComponent, init, safe_not_equal, noop, listen, run_all, component_subscribe, globals, subscribe, set_store_value, is_function, create_component, mount_component, transition_in, transition_out, destroy_component, space, empty, insert, group_outros, check_outros, detach, binding_callbacks, element, attr, bubble } from 'svelte/internal';\nimport { getContext } from 'svelte';\nimport { ancestor, addDuration, cloneDate, addDay, rect, toEventWithLocalDates, toViewWithLocalDates, cloneEvent, assign, createDuration } from '@event-calendar/common';\n\nfunction traverseTimeGrid(el) {\n let dayEl = ancestor(el, 2);\n let colEl = child(ancestor(dayEl, 1), 1);\n let bodyEl = ancestor(dayEl, 3);\n let col = pos(dayEl) - 1;\n\n return [colEl, bodyEl, col];\n}\n\nfunction traverseResourceTimeGrid(el, datesAboveResources) {\n let dayEl = ancestor(el, 2);\n let colEl = child(child(ancestor(dayEl, 2), 1), 0);\n let resourceEl = ancestor(dayEl, 1);\n let bodyEl = ancestor(resourceEl, 3);\n let col = pos(dayEl);\n let resourceCol = pos(resourceEl) - 1;\n\n return datesAboveResources ? [colEl, bodyEl, resourceCol, col] : [colEl, bodyEl, col, resourceCol];\n}\n\nfunction traverseDayGrid(el, inPopup) {\n let dayEl = ancestor(el, inPopup ? 3 : 2);\n let daysEl = ancestor(dayEl, 1);\n let contentEl = ancestor(daysEl, 1);\n let colEl = child(child(contentEl, 0), 0);\n let bodyEl = ancestor(contentEl, 1);\n let col = pos(dayEl);\n let row = pos(daysEl);\n\n return [colEl, bodyEl, col, row, contentEl.children];\n}\n\nfunction child(el, pos) {\n return el.children[pos];\n}\n\nfunction pos(el) {\n let result = 0;\n while ((el = el.previousElementSibling)) {\n ++result;\n }\n return result;\n}\n\nlet busy = false;\nfunction animate(fn) {\n if (!busy) {\n busy = true;\n window.requestAnimationFrame(() => {\n fn();\n busy = false;\n });\n }\n}\n\nfunction limit(value, max) {\n return Math.max(0, Math.min(max, value));\n}\n\nfunction floor(value) {\n return Math.floor(value);\n}\n\n/* packages/interaction/src/Drag.svelte generated by Svelte v3.47.0 */\n\nconst { window: window_1 } = globals;\n\nfunction create_fragment$3(ctx) {\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc: noop,\n\t\tm(target, anchor) {\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window_1, \"pointermove\", /*handlePointerMove*/ ctx[19]),\n\t\t\t\t\tlisten(window_1, \"pointerup\", /*handlePointerUp*/ ctx[20]),\n\t\t\t\t\tlisten(window_1, \"selectstart\", /*handleSelectStart*/ ctx[21]),\n\t\t\t\t\tlisten(window_1, \"scroll\", /*handleScroll*/ ctx[0])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp: noop,\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nconst INTERACTING_TIME_GRID = 1;\nconst INTERACTING_DAY_GRID = 2;\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_events;\n\tlet $_iEvents;\n\tlet $_view;\n\tlet $_iClass;\n\n\tlet $_viewResources,\n\t\t$$unsubscribe__viewResources = noop,\n\t\t$$subscribe__viewResources = () => ($$unsubscribe__viewResources(), $$unsubscribe__viewResources = subscribe(_viewResources, $$value => $$invalidate(49, $_viewResources = $$value)), _viewResources);\n\n\tlet $eventDrop;\n\tlet $eventResize;\n\tlet $eventDragStop;\n\tlet $eventResizeStop;\n\tlet $dragScroll;\n\tlet $eventDragStart;\n\tlet $eventResizeStart;\n\tlet $eventDragMinDistance;\n\tlet $_viewDates;\n\tlet $hiddenDays;\n\tlet $slotDuration;\n\tlet $slotHeight;\n\tlet $datesAboveResources;\n\t$$self.$$.on_destroy.push(() => $$unsubscribe__viewResources());\n\tlet { _iEvents, _iClass, _events, _viewDates, editable, eventStartEditable, eventDragMinDistance, eventDragStart, eventDragStop, eventDrop, eventResizeStart, eventResizeStop, eventResize, dragScroll, slotDuration, slotHeight, hiddenDays, _view, datesAboveResources } = getContext('state');\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(46, $_iEvents = value));\n\tcomponent_subscribe($$self, _iClass, value => $$invalidate(48, $_iClass = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(45, $_events = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(58, $_viewDates = value));\n\tcomponent_subscribe($$self, eventDragMinDistance, value => $$invalidate(57, $eventDragMinDistance = value));\n\tcomponent_subscribe($$self, eventDragStart, value => $$invalidate(55, $eventDragStart = value));\n\tcomponent_subscribe($$self, eventDragStop, value => $$invalidate(52, $eventDragStop = value));\n\tcomponent_subscribe($$self, eventDrop, value => $$invalidate(50, $eventDrop = value));\n\tcomponent_subscribe($$self, eventResizeStart, value => $$invalidate(56, $eventResizeStart = value));\n\tcomponent_subscribe($$self, eventResizeStop, value => $$invalidate(53, $eventResizeStop = value));\n\tcomponent_subscribe($$self, eventResize, value => $$invalidate(51, $eventResize = value));\n\tcomponent_subscribe($$self, dragScroll, value => $$invalidate(54, $dragScroll = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(60, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(61, $slotHeight = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(59, $hiddenDays = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(47, $_view = value));\n\tcomponent_subscribe($$self, datesAboveResources, value => $$invalidate(62, $datesAboveResources = value));\n\tlet interacting = false;\n\tlet resizing; // whether it is just resizing\n\tlet event;\n\tlet col, row;\n\tlet offsetX, offsetY;\n\tlet fromX, fromY;\n\tlet toX, toY;\n\tlet delta;\n\tlet colEl, rowEls, bodyEl;\n\tlet colRect, bodyRect;\n\tlet _viewResources;\n\tlet resourceCol, newResourceCol;\n\tlet isAllDay;\n\tlet minEnd; // minimum end time when resizing\n\n\tfunction startTimeGrid(event, el, jsEvent, resourcesStore, allDay, resize) {\n\t\tif (!interacting && jsEvent.isPrimary) {\n\t\t\tif (resourcesStore) {\n\t\t\t\t[colEl, bodyEl, col, resourceCol] = traverseResourceTimeGrid(el, $datesAboveResources);\n\t\t\t} else {\n\t\t\t\t[colEl, bodyEl, col, resourceCol = 0] = traverseTimeGrid(el);\n\t\t\t}\n\n\t\t\tstart(event, jsEvent);\n\t\t\toffsetY = floor((jsEvent.clientY - colRect.top) / $slotHeight);\n\t\t\toffsetX = 0; // applicable for all-day slot\n\n\t\t\tif (allDay && (!resourcesStore || !$datesAboveResources)) {\n\t\t\t\toffsetX = floor((jsEvent.clientX - colRect.left) / colRect.width) - col - resourceCol * $_viewDates.length;\n\t\t\t}\n\n\t\t\t$$subscribe__viewResources($$invalidate(1, _viewResources = resourcesStore));\n\t\t\tinteracting = INTERACTING_TIME_GRID;\n\t\t\tisAllDay = allDay;\n\t\t\tresizing = resize;\n\n\t\t\tif (resizing) {\n\t\t\t\tminEnd = addDuration(cloneDate(event.start), $slotDuration);\n\t\t\t\tset_store_value(_iClass, $_iClass = 'resizingY', $_iClass);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction startDayGrid(event, el, jsEvent, inPopup, resize) {\n\t\tif (!interacting && jsEvent.isPrimary) {\n\t\t\t[colEl, bodyEl, col, row, rowEls] = traverseDayGrid(el, inPopup);\n\t\t\tstart(event, jsEvent);\n\n\t\t\toffsetX = inPopup\n\t\t\t? 0\n\t\t\t: floor((jsEvent.clientX - colRect.left) / colRect.width) - col;\n\n\t\t\t$$subscribe__viewResources($$invalidate(1, _viewResources = undefined));\n\t\t\tinteracting = INTERACTING_DAY_GRID;\n\t\t\tisAllDay = false;\n\t\t\tresizing = resize;\n\n\t\t\tif (resizing) {\n\t\t\t\tminEnd = cloneDate(event.start);\n\t\t\t\tminEnd.setUTCHours(event.end.getUTCHours(), event.end.getUTCMinutes(), event.end.getUTCSeconds());\n\n\t\t\t\tif (minEnd < event.start) {\n\t\t\t\t\taddDay(minEnd);\n\t\t\t\t} // minEnd = addDuration(cloneDate(event.start), $slotDuration); alternative version\n\n\t\t\t\tset_store_value(_iClass, $_iClass = 'resizingX', $_iClass);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction start(eventToDrag, jsEvent) {\n\t\twindow.getSelection().removeAllRanges();\n\t\tevent = eventToDrag;\n\t\tcolRect = rect(colEl);\n\t\tbodyRect = rect(bodyEl);\n\t\tfromX = toX = jsEvent.clientX;\n\t\tfromY = toY = jsEvent.clientY;\n\t\tset_store_value(_iClass, $_iClass = 'dragging', $_iClass);\n\t}\n\n\tfunction move(jsEvent) {\n\t\tlet rx = toX - colRect.left;\n\t\tlet ry = toY - colRect.top;\n\t\tlet newCol = floor(rx / colRect.width);\n\n\t\tif (interacting === INTERACTING_TIME_GRID) {\n\t\t\t// timeGrid\n\t\t\tif (_viewResources) {\n\t\t\t\tif ($datesAboveResources) {\n\t\t\t\t\tlet dayCol = limit(floor(newCol / $_viewResources.length), $_viewDates.length - 1);\n\t\t\t\t\tnewResourceCol = limit(newCol - dayCol * $_viewResources.length, $_viewResources.length - 1);\n\t\t\t\t\tnewCol = dayCol;\n\t\t\t\t} else {\n\t\t\t\t\tif (resizing) {\n\t\t\t\t\t\tnewCol -= resourceCol * $_viewDates.length;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnewResourceCol = limit(floor(newCol / $_viewDates.length), $_viewResources.length - 1);\n\t\t\t\t\t\tnewCol -= newResourceCol * $_viewDates.length;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tnewCol = limit(newCol, $_viewDates.length - 1);\n\n\t\t\tdelta = createDuration({\n\t\t\t\tdays: ($_viewDates[newCol] - $_viewDates[col]) / 1000 / 60 / 60 / 24 - offsetX,\n\t\t\t\tseconds: isAllDay\n\t\t\t\t? 0\n\t\t\t\t: (floor(ry / $slotHeight) - offsetY) * $slotDuration.seconds\n\t\t\t});\n\t\t} else {\n\t\t\t// dayGrid\n\t\t\tlet cols = 7 - $hiddenDays.length;\n\n\t\t\tnewCol = limit(newCol, cols - 1);\n\t\t\tlet newRow = -1;\n\n\t\t\tdo {\n\t\t\t\t++newRow;\n\t\t\t\try -= rowEls[newRow].offsetHeight;\n\t\t\t} while (ry > 0 && newRow < rowEls.length - 1);\n\n\t\t\tdelta = createDuration({\n\t\t\t\tdays: ($_viewDates[newRow * cols + newCol] - $_viewDates[row * cols + col]) / 1000 / 60 / 60 / 24 - offsetX\n\t\t\t});\n\t\t}\n\n\t\tif ($_iEvents[0] || resizing || distance() >= $eventDragMinDistance) {\n\t\t\tif (!$_iEvents[0]) {\n\t\t\t\tcreateIEvent(jsEvent, resizing ? $eventResizeStart : $eventDragStart);\n\t\t\t}\n\n\t\t\tset_store_value(_iEvents, $_iEvents[0].end = addDuration(cloneDate(event.end), delta), $_iEvents);\n\n\t\t\tif (resizing) {\n\t\t\t\tif ($_iEvents[0].end < minEnd) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].end = minEnd, $_iEvents);\n\t\t\t\t\tdelta = createDuration(($_iEvents[0].end - event.end) / 1000);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tset_store_value(_iEvents, $_iEvents[0].start = addDuration(cloneDate(event.start), delta), $_iEvents);\n\n\t\t\t\tif (_viewResources) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].resourceIds = event.resourceIds.filter(id => id !== $_viewResources[resourceCol].id), $_iEvents);\n\t\t\t\t\t$_iEvents[0].resourceIds.push($_viewResources[newResourceCol].id);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($dragScroll) {\n\t\t\tanimate(() => {\n\t\t\t\tif (toY < 0) {\n\t\t\t\t\twindow.scrollBy(0, Math.max(-10, toY / 3));\n\t\t\t\t}\n\n\t\t\t\tif (toY < bodyRect.top) {\n\t\t\t\t\tbodyEl.scrollTop += Math.max(-10, (toY - bodyRect.top) / 3);\n\t\t\t\t}\n\n\t\t\t\tif (toY > window.innerHeight) {\n\t\t\t\t\twindow.scrollBy(0, Math.min(10, (toY - window.innerHeight) / 3));\n\t\t\t\t}\n\n\t\t\t\tif (toY > bodyRect.bottom) {\n\t\t\t\t\tbodyEl.scrollTop += Math.min(10, (toY - bodyRect.bottom) / 3);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction handleScroll() {\n\t\tif (interacting) {\n\t\t\tcolRect = rect(colEl);\n\t\t\tbodyRect = rect(bodyEl);\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction handlePointerMove(jsEvent) {\n\t\tif (interacting && jsEvent.isPrimary) {\n\t\t\ttoX = jsEvent.clientX;\n\t\t\ttoY = jsEvent.clientY;\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction handlePointerUp(jsEvent) {\n\t\tif (interacting && jsEvent.isPrimary) {\n\t\t\tif ($_iEvents[0]) {\n\t\t\t\tevent.display = 'auto';\n\t\t\t\tlet callback = resizing ? $eventResizeStop : $eventDragStop;\n\n\t\t\t\tif (is_function(callback)) {\n\t\t\t\t\tcallback({\n\t\t\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tlet oldEvent = cloneEvent(event);\n\t\t\t\tupdateEvent(event, $_iEvents[0]);\n\t\t\t\tset_store_value(_iEvents, $_iEvents[0] = null, $_iEvents);\n\t\t\t\tcallback = resizing ? $eventResize : $eventDrop;\n\n\t\t\t\tif (is_function(callback)) {\n\t\t\t\t\tlet eventRef = event;\n\n\t\t\t\t\tlet info = resizing\n\t\t\t\t\t? { endDelta: delta }\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tdelta,\n\t\t\t\t\t\t\toldResource: resourceCol !== newResourceCol\n\t\t\t\t\t\t\t? $_viewResources[resourceCol]\n\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\tnewResource: resourceCol !== newResourceCol\n\t\t\t\t\t\t\t? $_viewResources[newResourceCol]\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t};\n\n\t\t\t\t\tcallback(assign(info, {\n\t\t\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\t\t\toldEvent: toEventWithLocalDates(oldEvent),\n\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\t\trevert() {\n\t\t\t\t\t\t\tupdateEvent(eventRef, oldEvent);\n\t\t\t\t\t\t}\n\t\t\t\t\t}));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcolEl = rowEls = bodyEl = null;\n\t\t\tresourceCol = newResourceCol = undefined;\n\t\t\tinteracting = false;\n\t\t\tset_store_value(_iClass, $_iClass = undefined, $_iClass);\n\t\t}\n\t}\n\n\tfunction createIEvent(jsEvent, callback) {\n\t\tif (is_function(callback)) {\n\t\t\tcallback({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\n\t\tevent.display = 'preview';\n\t\tset_store_value(_iEvents, $_iEvents[0] = cloneEvent(event), $_iEvents);\n\t\tevent.display = 'ghost';\n\t\t_events.set($_events);\n\t}\n\n\tfunction updateEvent(target, source) {\n\t\ttarget.start = source.start;\n\t\ttarget.end = source.end;\n\t\ttarget.resourceIds = source.resourceIds;\n\t\t_events.set($_events);\n\t}\n\n\tfunction distance() {\n\t\treturn Math.sqrt(Math.pow(toX - fromX, 2) + Math.pow(toY - fromY, 2));\n\t}\n\n\tfunction handleSelectStart(jsEvent) {\n\t\tif (interacting) {\n\t\t\tjsEvent.preventDefault();\n\t\t}\n\t}\n\n\treturn [\n\t\thandleScroll,\n\t\t_viewResources,\n\t\t_iEvents,\n\t\t_iClass,\n\t\t_events,\n\t\t_viewDates,\n\t\teventDragMinDistance,\n\t\teventDragStart,\n\t\teventDragStop,\n\t\teventDrop,\n\t\teventResizeStart,\n\t\teventResizeStop,\n\t\teventResize,\n\t\tdragScroll,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\thiddenDays,\n\t\t_view,\n\t\tdatesAboveResources,\n\t\thandlePointerMove,\n\t\thandlePointerUp,\n\t\thandleSelectStart,\n\t\tstartTimeGrid,\n\t\tstartDayGrid\n\t];\n}\n\nclass Drag extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$3,\n\t\t\tcreate_fragment$3,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tstartTimeGrid: 22,\n\t\t\t\tstartDayGrid: 23,\n\t\t\t\thandleScroll: 0\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1, -1]\n\t\t);\n\t}\n\n\tget startTimeGrid() {\n\t\treturn this.$$.ctx[22];\n\t}\n\n\tget startDayGrid() {\n\t\treturn this.$$.ctx[23];\n\t}\n\n\tget handleScroll() {\n\t\treturn this.$$.ctx[0];\n\t}\n}\n\n/* packages/interaction/src/Pointer.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$2(ctx) {\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc: noop,\n\t\tm(target, anchor) {\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"pointermove\", /*handlePointerMove*/ ctx[5]),\n\t\t\t\t\tlisten(window, \"scroll\", /*handleScroll*/ ctx[0])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp: noop,\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction validEvent(jsEvent) {\n\treturn jsEvent.isPrimary && jsEvent.pointerType === 'mouse';\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_iEvents;\n\tlet $slotDuration;\n\n\tlet $_slotTimeLimits,\n\t\t$$unsubscribe__slotTimeLimits = noop,\n\t\t$$subscribe__slotTimeLimits = () => ($$unsubscribe__slotTimeLimits(), $$unsubscribe__slotTimeLimits = subscribe(_slotTimeLimits, $$value => $$invalidate(17, $_slotTimeLimits = $$value)), _slotTimeLimits);\n\n\tlet $slotHeight;\n\t$$self.$$.on_destroy.push(() => $$unsubscribe__slotTimeLimits());\n\tlet { _iEvents, _events, _viewDates, slotDuration, slotHeight, hiddenDays, _view, datesAboveResources, theme } = getContext('state');\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(9, $_iEvents = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(16, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(18, $slotHeight = value));\n\tlet y;\n\tlet colDate;\n\tlet colEl;\n\tlet colRect;\n\tlet resource;\n\tlet _slotTimeLimits;\n\tlet date;\n\n\tfunction enterTimeGrid(date, el, jsEvent, slotTimeLimitsStore, resourceObj) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tcolDate = date;\n\t\t\tcolEl = el;\n\t\t\tcolRect = rect(colEl);\n\t\t\ty = jsEvent.clientY;\n\t\t\t$$subscribe__slotTimeLimits($$invalidate(1, _slotTimeLimits = slotTimeLimitsStore));\n\t\t\tresource = resourceObj;\n\t\t}\n\t}\n\n\tfunction enterDayGrid(date, jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tcolDate = date;\n\t\t\tcolEl = null;\n\t\t\ty = $$subscribe__slotTimeLimits($$invalidate(1, _slotTimeLimits = resource = undefined));\n\t\t}\n\t}\n\n\tfunction leave(jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tremovePointerEvent();\n\t\t}\n\t}\n\n\tfunction move() {\n\t\tif (!colDate) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (colEl) {\n\t\t\t// timeGrid\n\t\t\tlet ry = y - colRect.top;\n\n\t\t\tdate = addDuration(cloneDate(colDate), $slotDuration, floor(ry / $slotHeight + $_slotTimeLimits.min.seconds / $slotDuration.seconds));\n\t\t} else {\n\t\t\t// dayGrid\n\t\t\tdate = colDate;\n\t\t}\n\n\t\tif (!$_iEvents[1]) {\n\t\t\tcreatePointerEvent();\n\t\t}\n\n\t\tset_store_value(_iEvents, $_iEvents[1].start = date, $_iEvents);\n\t\tset_store_value(_iEvents, $_iEvents[1].end = addDuration(cloneDate(date), $slotDuration), $_iEvents);\n\t\tset_store_value(_iEvents, $_iEvents[1].resourceIds = resource ? [resource.id] : [], $_iEvents);\n\t}\n\n\tfunction handleScroll() {\n\t\tif (colEl) {\n\t\t\tcolRect = rect(colEl);\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction handlePointerMove(jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\ty = jsEvent.clientY;\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction createPointerEvent() {\n\t\tset_store_value(\n\t\t\t_iEvents,\n\t\t\t$_iEvents[1] = {\n\t\t\t\tid: '{pointer}',\n\t\t\t\ttitle: '',\n\t\t\t\tdisplay: 'pointer',\n\t\t\t\textendedProps: {},\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\t$_iEvents\n\t\t);\n\t}\n\n\tfunction removePointerEvent() {\n\t\tcolDate = colEl = set_store_value(_iEvents, $_iEvents[1] = null, $_iEvents);\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_iEvents*/ 512) {\n\t\t\tif ($_iEvents[0]) {\n\t\t\t\tremovePointerEvent();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\thandleScroll,\n\t\t_slotTimeLimits,\n\t\t_iEvents,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\thandlePointerMove,\n\t\tenterTimeGrid,\n\t\tenterDayGrid,\n\t\tleave,\n\t\t$_iEvents\n\t];\n}\n\nclass Pointer extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, {\n\t\t\tenterTimeGrid: 6,\n\t\t\tenterDayGrid: 7,\n\t\t\tleave: 8,\n\t\t\thandleScroll: 0\n\t\t});\n\t}\n\n\tget enterTimeGrid() {\n\t\treturn this.$$.ctx[6];\n\t}\n\n\tget enterDayGrid() {\n\t\treturn this.$$.ctx[7];\n\t}\n\n\tget leave() {\n\t\treturn this.$$.ctx[8];\n\t}\n\n\tget handleScroll() {\n\t\treturn this.$$.ctx[0];\n\t}\n}\n\n/* packages/interaction/src/Interaction.svelte generated by Svelte v3.47.0 */\n\nfunction create_if_block$1(ctx) {\n\tlet pointer_1;\n\tlet current;\n\tlet pointer_1_props = {};\n\tpointer_1 = new Pointer({ props: pointer_1_props });\n\t/*pointer_1_binding*/ ctx[18](pointer_1);\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(pointer_1.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(pointer_1, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst pointer_1_changes = {};\n\t\t\tpointer_1.$set(pointer_1_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(pointer_1.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(pointer_1.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\t/*pointer_1_binding*/ ctx[18](null);\n\t\t\tdestroy_component(pointer_1, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet drag;\n\tlet t;\n\tlet if_block_anchor;\n\tlet current;\n\tlet drag_props = {};\n\tdrag = new Drag({ props: drag_props });\n\t/*drag_binding*/ ctx[17](drag);\n\tlet if_block = /*$pointer*/ ctx[1] && create_if_block$1(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(drag.$$.fragment);\n\t\t\tt = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(drag, target, anchor);\n\t\t\tinsert(target, t, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst drag_changes = {};\n\t\t\tdrag.$set(drag_changes);\n\n\t\t\tif (/*$pointer*/ ctx[1]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*$pointer*/ 2) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(drag.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(drag.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\t/*drag_binding*/ ctx[17](null);\n\t\t\tdestroy_component(drag, detaching);\n\t\t\tif (detaching) detach(t);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_scroll;\n\tlet $editable;\n\tlet $eventDurationEditable;\n\tlet $_resizable;\n\tlet $eventStartEditable;\n\tlet $_draggable;\n\tlet $theme;\n\tlet $_classes;\n\tlet $pointer;\n\tlet { theme, editable, eventStartEditable, eventDurationEditable, pointer, _interaction, _classes, _draggable, _resizable, _scroll } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(16, $theme = value));\n\tcomponent_subscribe($$self, editable, value => $$invalidate(12, $editable = value));\n\tcomponent_subscribe($$self, eventStartEditable, value => $$invalidate(14, $eventStartEditable = value));\n\tcomponent_subscribe($$self, eventDurationEditable, value => $$invalidate(13, $eventDurationEditable = value));\n\tcomponent_subscribe($$self, pointer, value => $$invalidate(1, $pointer = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(0, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(21, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(15, $_draggable = value));\n\tcomponent_subscribe($$self, _resizable, value => $$invalidate(20, $_resizable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(19, $_scroll = value));\n\n\tset_store_value(\n\t\t_scroll,\n\t\t$_scroll = () => {\n\t\t\tfor (let component of Object.values($_interaction)) {\n\t\t\t\tcomponent && component.handleScroll && component.handleScroll();\n\t\t\t}\n\t\t},\n\t\t$_scroll\n\t);\n\n\tfunction drag_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\t$_interaction.drag = $$value;\n\t\t\t_interaction.set($_interaction);\n\t\t});\n\t}\n\n\tfunction pointer_1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\t$_interaction.pointer = $$value;\n\t\t\t_interaction.set($_interaction);\n\t\t});\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$eventStartEditable, $editable*/ 20480) {\n\t\t\tset_store_value(_draggable, $_draggable = event => (event.startEditable ?? $eventStartEditable) || (event.editable ?? $editable), $_draggable);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_draggable, $theme*/ 98304) {\n\t\t\tset_store_value(\n\t\t\t\t_classes,\n\t\t\t\t$_classes = (className, event) => {\n\t\t\t\t\tswitch (event.display) {\n\t\t\t\t\t\tcase 'auto':\n\t\t\t\t\t\t\treturn className + ($_draggable(event) ? ' ' + $theme.draggable : '');\n\t\t\t\t\t\tcase 'ghost':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.ghost}`;\n\t\t\t\t\t\tcase 'preview':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.preview}`;\n\t\t\t\t\t\tcase 'pointer':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.pointer}`;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn className;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t$_classes\n\t\t\t);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$eventDurationEditable, $editable*/ 12288) {\n\t\t\tset_store_value(_resizable, $_resizable = event => (event.durationEditable ?? $eventDurationEditable) || (event.editable ?? $editable), $_resizable);\n\t\t}\n\t};\n\n\treturn [\n\t\t$_interaction,\n\t\t$pointer,\n\t\ttheme,\n\t\teditable,\n\t\teventStartEditable,\n\t\teventDurationEditable,\n\t\tpointer,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_resizable,\n\t\t_scroll,\n\t\t$editable,\n\t\t$eventDurationEditable,\n\t\t$eventStartEditable,\n\t\t$_draggable,\n\t\t$theme,\n\t\tdrag_binding,\n\t\tpointer_1_binding\n\t];\n}\n\nclass Interaction extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, {});\n\t}\n}\n\n/* packages/interaction/src/Resizer.svelte generated by Svelte v3.47.0 */\n\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].resizer);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div, \"pointerdown\", /*pointerdown_handler*/ ctx[5]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].resizer)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet show_if = /*event*/ ctx[0].display === 'auto' && /*$_resizable*/ ctx[1](/*event*/ ctx[0]);\n\tlet if_block_anchor;\n\tlet if_block = show_if && create_if_block(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*event, $_resizable*/ 3) show_if = /*event*/ ctx[0].display === 'auto' && /*$_resizable*/ ctx[1](/*event*/ ctx[0]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = null;\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_resizable;\n\tlet $theme;\n\tlet { event } = $$props;\n\tlet { theme, _resizable } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tcomponent_subscribe($$self, _resizable, value => $$invalidate(1, $_resizable = value));\n\n\tfunction pointerdown_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('event' in $$props) $$invalidate(0, event = $$props.event);\n\t};\n\n\treturn [event, $_resizable, $theme, theme, _resizable, pointerdown_handler];\n}\n\nclass Resizer extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, { event: 0 });\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.editable = false;\n\t\toptions.eventStartEditable = true;\n\t\toptions.eventDragMinDistance = 5;\n\t\toptions.eventDragStart = undefined;\n\t\toptions.eventDragStop = undefined;\n\t\toptions.eventDrop = undefined;\n\t\toptions.eventDurationEditable = true;\n\t\toptions.eventResizeStart = undefined;\n\t\toptions.eventResizeStop = undefined;\n\t\toptions.eventResize = undefined;\n\t\toptions.dragScroll = true;\n\t\toptions.pointer = false;\n\t\toptions.theme.draggable = 'ec-draggable';\n\t\toptions.theme.ghost = 'ec-ghost';\n\t\toptions.theme.preview = 'ec-preview';\n\t\toptions.theme.pointer = 'ec-pointer';\n\t\toptions.theme.resizer = 'ec-resizer';\n\t\toptions.theme.dragging = 'ec-dragging';\n\t\toptions.theme.resizingY = 'ec-resizing-y';\n\t\toptions.theme.resizingX = 'ec-resizing-x';\n\t},\n\n\tcreateStores(state) {\n\t\tstate._interaction.set({\n\t\t\tcomponent: Interaction,\n\t\t\tresizer: Resizer\n\t\t});\n\t}\n};\n\nexport { index as default };\n","import Calendar from '@event-calendar/core';\nimport DayGrid from '@event-calendar/day-grid';\nimport List from '@event-calendar/list';\nimport TimeGrid from '@event-calendar/time-grid';\nimport ResourceTimeGrid from '@event-calendar/resource-time-grid';\nimport Interaction from '@event-calendar/interaction';\n\nexport default class extends Calendar {\n constructor(el, options) {\n super({\n target: el,\n props: {\n plugins: [DayGrid, List, TimeGrid, ResourceTimeGrid, Interaction],\n options\n }\n });\n }\n\n get view() {\n return this.getView();\n }\n}\n"],"names":["check","it","Math","global","globalThis","window","self","this","Function","fails","exec","error","functionBindNative","require$$0","test","bind","hasOwnProperty","NATIVE_BIND","FunctionPrototype","prototype","call","uncurryThis","functionUncurryThis","fn","apply","arguments","toString","stringSlice","slice","classofRaw","require$$1","require$$2","classof","require$$3","Object","split","indexedObject","propertyIsEnumerable","TypeError","requireObjectCoercible","undefined","IndexedObject","toIndexedObject","iterators","isCallable","argument","defineProperty","setGlobal","key","value","configurable","writable","SHARED","sharedStore","store","functionToString","inspectSource","match","version","WeakMap","nativeWeakMap","isObject","descriptors","get","document","EXISTS","createElement","documentCreateElement","ie8DomDefine","a","v8PrototypeDefineBug","String","anObject","functionCall","path","aFunction","variable","getBuiltIn","namespace","method","length","objectIsPrototypeOf","isPrototypeOf","engineUserAgent","userAgent","process","Deno","versions","v8","engineV8Version","V8_VERSION","nativeSymbol","getOwnPropertySymbols","symbol","Symbol","sham","useSymbolAsUid","iterator","USE_SYMBOL_AS_UID","require$$4","isSymbol","$Symbol","tryToString","aCallable","getMethod","V","P","func","sharedModule","push","mode","copyright","license","source","toObject","hasOwnProperty_1","hasOwn","id","postfix","random","uid","shared","NATIVE_SYMBOL","require$$5","WellKnownSymbolsStore","symbolFor","createWellKnownSymbol","withoutSetter","wellKnownSymbol","name","description","ordinaryToPrimitive","input","pref","val","valueOf","require$$6","TO_PRIMITIVE","toPrimitive","result","exoticToPrim","toPropertyKey","DESCRIPTORS","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","$defineProperty","$getOwnPropertyDescriptor","getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","objectDefineProperty","f","O","Attributes","current","enumerable","set","has","createPropertyDescriptor","bitmap","definePropertyModule","createNonEnumerableProperty","object","keys","sharedKey","hiddenKeys","NATIVE_WEAK_MAP","require$$7","require$$8","OBJECT_ALREADY_INITIALIZED","state","wmget","wmhas","wmset","metadata","facade","STATE","internalState","enforce","getterFor","TYPE","type","functionApply","Reflect","$propertyIsEnumerable","NASHORN_BUG","1","objectPropertyIsEnumerable","descriptor","propertyIsEnumerableModule","objectGetOwnPropertyDescriptor","replacement","isForced","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isForced_1","functionBindContext","that","require$$9","wrapConstructor","NativeConstructor","Wrapper","b","c","_export","options","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","TARGET","target","GLOBAL","STATIC","stat","PROTO","proto","nativeSource","targetPrototype","forced","noTargetGet","wrap","real","getDescriptor","functionName","PROPER","ceil","floor","toIntegerOrInfinity","number","max","min","toAbsoluteIndex","index","integer","toLength","lengthOfArrayLike","obj","createMethod","IS_INCLUDES","$this","el","fromIndex","arrayIncludes","includes","indexOf","objectKeysInternal","names","i","enumBugKeys","internalObjectKeys","objectKeys","objectDefineProperties","defineProperties","Properties","props","activeXDocument","html","definePropertiesModule","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","domain","style","display","appendChild","src","contentWindow","open","F","IteratorPrototype","PrototypeOfArrayIteratorPrototype","arrayIterator","objectCreate","create","correctPrototypeGetter","constructor","getPrototypeOf","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","objectGetPrototypeOf","redefine","ITERATOR","BUGGY_SAFARI_ITERATORS","NEW_ITERATOR_PROTOTYPE","iteratorsCore","toStringTagSupport","TO_STRING_TAG_SUPPORT","TO_STRING_TAG","CORRECT_ARGUMENTS","tag","tryGet","callee","objectToString","setToStringTag","TAG","SET_METHOD","Iterators","returnThis","createIteratorConstructor","IteratorConstructor","NAME","next","ENUMERABLE_NEXT","aPossiblePrototype","objectSetPrototypeOf","setPrototypeOf","setter","CORRECT_SETTER","Array","__proto__","$","require$$10","require$$12","PROPER_FUNCTION_NAME","require$$13","require$$11","KEYS","VALUES","ENTRIES","defineIterator","Iterable","DEFAULT","IS_SET","FORCED","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","values","InternalStateModule","ARRAY_ITERATOR","setInternalState","getInternalState","defineIterator$2","iterated","kind","done","Arguments","concat","objectGetOwnPropertyNames","getOwnPropertyNames","createProperty","propertyKey","arraySliceSimple","start","end","k","fin","n","$getOwnPropertyNames","arraySlice","windowNames","objectGetOwnPropertyNamesExternal","getWindowNames","arrayBufferNonExtensible","ArrayBuffer","buffer","isExtensible","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","objectIsExtensible","freezing","preventExtensions","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","internalMetadataModule","exports","enable","splice","fastKey","getWeakData","onFreeze","ArrayPrototype","isArrayIteratorMethod","getIteratorMethod","getIterator","usingIterator","iteratorMethod","iteratorClose","innerResult","innerError","Result","stopped","ResultPrototype","iterate","iterable","unboundFunction","iterFn","step","AS_ENTRIES","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","anInstance","Prototype","isArray","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","isConstructor","called","SPECIES","arraySpeciesConstructor","originalArray","C","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","callbackfn","specificCreate","boundFunction","arrayIteration","forEach","map","filter","some","every","find","findIndex","filterReject","InternalMetadataModule","internalStateGetterFor","collection","CONSTRUCTOR_NAME","wrapper","common","Constructor","IS_WEAK","ADDER","NativePrototype","exported","IS_ADDER","size","getConstructor","setStrong","redefineAll","unsafe","setSpecies","collectionStrong","first","last","define","previous","entry","getEntry","removed","clear","delete","prev","add","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","init","charAt","charCodeAt","CONVERT_TO_STRING","pos","second","S","position","codeAt","STRING_ITERATOR","point","Set","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","COLLECTION_NAME","Collection","CollectionPrototype","arrayMethodHasSpeciesSupport","METHOD_NAME","array","foo","Boolean","$map","entryVirtual","CONSTRUCTOR","own","module","nativeKeys","$includes","MATCH","isRegExp","notARegexp","correctIsRegexpLogic","regexp","error1","error2","notARegExp","correctIsRegExpLogic","stringIndexOf","searchString","arrayMethod","stringMethod","StringPrototype","IS_CONCAT_SPREADABLE","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_INDEX_EXCEEDED","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","isConcatSpreadable","spreadable","arg","len","E","A","objectGetOwnPropertySymbols","getOwnPropertySymbolsModule","ownKeys","getOwnPropertyDescriptorModule","TEST","Error","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","errorStackInstallable","copyConstructorProperties","exceptions","clearErrorStack","dropEntries","installErrorCause","cause","normalizeStringArgument","$default","ERROR_STACK_INSTALLABLE","require$$14","$AggregateError","errors","message","isInstance","AggregateErrorPrototype","errorsArray","AggregateError","nativePromiseConstructor","Promise","SAFE_CLOSING","iteratorWithReturn","return","from","location","defer","channel","port","checkCorrectnessOfIteration","SKIP_CLOSING","ITERATION_SUPPORT","aConstructor","speciesConstructor","defaultConstructor","engineIsIos","engineIsNode","IS_IOS","IS_NODE","setImmediate","clearImmediate","Dispatch","MessageChannel","counter","queue","ONREADYSTATECHANGE","run","runner","listener","event","post","postMessage","protocol","host","args","nextTick","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","flush","head","notify","toggle","node","promise","then","task","engineIsIosPebble","Pebble","engineIsWebosWebkit","macrotask","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","queueMicrotask","parent","exit","enter","resolve","createTextNode","observe","characterData","microtask","PromiseCapability","reject","$$resolve","$$reject","newPromiseCapability","promiseResolve","x","promiseCapability","perform","Queue","tail","Queue$1","item","Internal","OwnPromiseCapability","PromiseWrapper","engineIsBrowser","NativePromise","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","hostReportErrors","console","newPromiseCapabilityModule","require$$23","require$$24","require$$26","require$$27","IS_BROWSER","require$$29","require$$30","require$$31","require$$28","PROMISE","getInternalPromiseState","NativePromisePrototype","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","NATIVE_REJECTION_EVENT","PromiseRejectionEvent","UNHANDLED_REJECTION","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","INCORRECT_ITERATION","all","isThenable","callReaction","reaction","exited","ok","handler","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","onRejected","catch","setToStringTag$3","r","capability","$promiseResolve","remaining","alreadyCalled","race","allSettled","status","PROMISE_ANY_ERROR","any","alreadyResolved","alreadyRejected","finally","onFinally","isFunction","e","nativeUrl","url","URL","searchParams","pathname","toJSON","sort","href","URLSearchParams","username","hash","mergeSort","comparefn","middle","insertionSort","merge","element","j","left","right","llength","rlength","lindex","rindex","arraySort","USE_NATIVE_URL","$toString","require$$22","validateArgumentsLength","passed","required","require$$25","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","n$Fetch","N$Request","Headers","RequestPrototype","HeadersPrototype","RegExp","decodeURIComponent","encodeURIComponent","join","shift","plus","sequences","percentSequence","bytes","percentDecode","sequence","deserialize","replacements","!","'","(",")","~","%20","replacer","serialize","URLSearchParamsIterator","params","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","attribute","attributes","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","append","getAll","found","callback","$$h","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","RequestConstructor","Request","urlSearchParams","TO_ENTRIES","objectToArray","$entries","un$Slice","HAS_SPECIES_SUPPORT","$filter","arrayMethodIsStrict","firefox","engineFfVersion","engineIsIeOrEdge","webkit","engineWebkitVersion","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","un$Sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STRICT_METHOD","STABLE_SORT","code","chr","fromCharCode","v","itemsLength","items","arrayLength","y","getSortCompare","$IndexOf","un$IndexOf","NEGATIVE_ZERO","searchElement","getOwnPropertyDescriptors","callWithSafeIterationClosing","arrayLike","IS_CONSTRUCTOR","argumentsLength","mapfn","mapping","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","deleteCount","insertCount","actualDeleteCount","to","actualStart","un$StartsWith","startsWith","search","whitespaces","whitespace","ltrim","rtrim","stringTrim","trim","stringTrimForced","$trim","Map","$assign","assign","B","alphabet","T","fill","endPos","wellKnownSymbolWrapped","wrappedWellKnownSymbolModule","defineWellKnownSymbol","nativeObjectCreate","getOwnPropertyNamesExternal","require$$32","require$$33","require$$35","require$$36","require$$37","require$$38","require$$39","require$$40","require$$41","$forEach","require$$42","HIDDEN","require$$34","SYMBOL","SymbolPrototype","QObject","$stringify","nativeGetOwnPropertyDescriptor","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","StringToSymbolRegistry","SymbolToStringRegistry","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","$getOwnPropertySymbols","IS_OBJECT_PROTOTYPE","$$3","for","keyFor","sym","useSetter","useSimple","stringify","space","$replacer","hint","JSON","isIterable","identity","blank_object","run_all","fns","is_function","thing","safe_not_equal","subscribe","_len","callbacks","_key","unsub","unsubscribe","get_store_value","_","component_subscribe","component","$$","on_destroy","create_slot","definition","ctx","$$scope","slot_ctx","get_slot_context","_context","tar","_sliceInstanceProperty","get_slot_changes","dirty","lets","merged","update_slot_base","slot","slot_definition","slot_changes","get_slot_context_fn","slot_context","p","get_all_dirty_from_scope","set_store_value","ret","action_destroyer","action_result","destroy","insert","anchor","insertBefore","detach","parentNode","destroy_each","iterations","detaching","d","text","listen","removeEventListener","stop_propagation","stopPropagation","attr","removeAttribute","getAttribute","setAttribute","children","_Array$from","childNodes","set_data","wholeText","set_style","important","removeProperty","setProperty","current_component","set_current_component","get_current_component","onMount","on_mount","afterUpdate","after_update","createEventDispatcher","detail","bubbles","initCustomEvent","custom_event","setContext","context","getContext","bubble","_Set","_Map","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","_Promise","update_scheduled","schedule_update","tick","add_render_callback","seen_callbacks","flushidx","saved_component","pop","fragment","before_update","outroing","outros","group_outros","check_outros","transition_in","block","local","transition_out","o","globals","_globalThis","create_component","mount_component","customElement","m","_context22","new_on_destroy","_filterInstanceProperty","destroy_component","make_dirty","_context23","_fillInstanceProperty","instance","create_fragment","not_equal","append_styles","parent_component","bound","on_disconnect","skip_bound","root","ready","hydrate","nodes","l","intro","SvelteComponent","$destroy","$on","_indexOfInstanceProperty","_spliceInstanceProperty","$set","$$props","$$set","_Object$keys","subscriber_queue","subscribers","new_value","run_queue","subscriber","invalidate","derived","stores","initial_value","single","stores_array","auto","inited","pending","cleanup","sync","unsubscribers","_mapInstanceProperty","$parseInt","parseInt","hex","numberParseInt","radix","_parseInt","$trimEnd","trimEnd","trimRight","setContent","actions","firstChild","lastChild","domNodes","child","innerHTML","DAY_IN_SECONDS","createDate","Date","_fromLocalDate","str","parts","UTC","Number","_fromISOString","createDuration","seconds","exp","part","pow","hours","getUTCHours","minutes","getUTCMinutes","getUTCSeconds","weeks","week","years","year","months","month","days","day","hour","minute","inWeeks","cloneDate","date","getTime","addDuration","duration","setUTCFullYear","getUTCFullYear","getUTCMonth","setUTCMonth","subtractDay","setUTCDate","getUTCDate","setUTCSeconds","addDay","setMidnight","setUTCHours","toLocalDate","toISOString","substring","formatRange","intl","getFullYear","format","diff","getMonth","getDate","opts1","resolvedOptions","opts2","intl2","Intl","DateTimeFormat","locale","full1","full2","part1","part2","str1","substr1","str2","substr2","res1","_cut","res2","_commonChunks","datesEqual","date1","date2","prevClosestDay","getUTCDay","getHours","getMinutes","getSeconds","substr","_Object$assign","hasYScroll","offsetWidth","clientWidth","clientLeft","rect","getBoundingClientRect","ancestor","up","parentElement","height","offsetHeight","toViewWithLocalDates","view","currentStart","currentEnd","activeStart","activeEnd","eventId","createEvents","resourceIds","resourceId","allDay","title","editable","startEditable","durationEditable","_includesInstanceProperty","extendedProps","backgroundColor","color","createEventSources","_context2","events","_trimEndInstanceProperty","toUpperCase","extraParams","createEventChunk","sortEventChunks","chunks","createEventContent","chunk","displayEventEnd","eventContent","theme","_intlEventTime","_view","_context3","_context4","_context5","timeText","toEventWithLocalDates","eventTime","_concatInstanceProperty","eventTitle","_cloneEvent","cloneEvent","dateFn","writable2","parser","parse","derived2","initValue","storeValue","hasSubscribers","_ref","$locale","$format","State","plugins","allDayContent","allDaySlot","buttonText","today","dateClick","datesSet","dayHeaderFormat","weekday","eventBackgroundColor","eventClick","eventColor","eventDidMount","eventMouseEnter","eventMouseLeave","eventSources","eventTimeFormat","firstDay","flexibleSlotTimeLimits","headerToolbar","center","hiddenDays","highlightedDates","lazyFetching","loading","monthMode","nowIndicator","scrollTime","slotDuration","slotHeight","slotLabelFormat","slotMaxTime","slotMinTime","active","bgEvent","bgEvents","button","buttonGroup","calendar","compact","dayHead","eventBody","extra","handle","header","hiddenScroll","hiddenTimes","highlight","icon","line","lines","otherMonth","sidebar","sidebarTitle","time","toolbar","withScroll","titleFormat","viewDidMount","views","plugin","createOptions","parsers","dates","createParsers","option","_Object$entries","_currentRange","_ref3","$date","$duration","$monthMode","$firstDay","setDate","_activeRange","$_currentRange","$slotMinTime","$slotMaxTime","nextClosestDay","start2","debounce","_ref2","$_activeRange","$datesSet","startStr","endStr","activeRange","_fetchedRange","_events","abortController","fetching","$events","$eventSources","$_fetchedRange","$lazyFetching","$loading","abort","AbortController","stopLoading","failure","success","_URLSearchParams","signal","credentials","response","json","_intlSlotLabel","_intlDayHeader","_titleIntlRange","_scrollable","_viewTitle","_ref5","$_titleIntlRange","viewTitle","_viewDates","_ref4","$hiddenDays","viewDates","createView","_viewComponent","_viewClass","_interaction","_iEvents","_draggable","_resizable","_classes","_iClass","_scroll","createStores","commonOpts","parseOpts","viewOpts","opts","newView","_set","rest","get_each_context$1","list","child_ctx","create_else_block$1","t","button_class_value","mounted","dispose","t_value","click_handler_1","new_ctx","create_if_block_4","disabled","create_if_block_3","i_class_value","create_if_block_2","create_if_block_1","h2","h2_class_value","create_if_block$1","create_each_block$1","if_block_anchor","select_block_type","current_block_type","if_block","create_fragment$2","each_1_anchor","each_value","each_blocks","_ref6","instance$2","$$self","$$invalidate","$theme","$_viewTitle","$buttonText","$view","buttons","isToday","subtractDuration","Buttons","super","get_each_context","get_each_context_1","create_else_block","buttons_changes","create_if_block","div","div_class_value","create_each_block_1","current_block_type_index","if_block_creators","if_blocks","previous_block_index","create_each_block","each_value_1","out","create_fragment$1","_ref7","instance$1","$headerToolbar","sections","group","Toolbar","t0","switch_instance0","t1","switch_instance1","switch_value","switch_value_1","_ref8","old_component","$_events","$_viewClass","$_iClass","$height","$_viewComponent","$_interaction","setOption","updateEvents","getOption","getEventById","addEvent","updateEvent","removeEventById","Calendar","refetchEvents","getEvents","getView","_days","_hiddenEvents","_popup","get_each_context$4","create_each_block$4","create_fragment$6","div2","div0","div0_class_value","div1","div1_class_value","div2_class_value","instance$6","$_scrollable","$_days","$_intlDayHeader","Header","create_fragment$5","default_slot_template","default","default_slot","uniform","instance$5","$dayMaxEvents","$_scroll","$$slots","slots","dayMaxEvents","recheckScrollable","div1_binding","$$value","Body","prepareEventChunks","longChunks","prevChunk","create_fragment$4","setContent_action","switch_instance","resizer","switch_props","switch_instance_changes","instance$4","$_hiddenEvents","$_view","$eventDidMount","$_intlEventTime","$eventContent","$displayEventEnd","$_classes","$eventColor","$eventBackgroundColor","$eventClick","$eventMouseEnter","$eventMouseLeave","$_draggable","inPopup","classes","margin","hidden","createHandler","jsEvent","reposition","top","bottom","longChunk","offset","dayEl","h","firstElementChild","footHeight","lastElementChild","nextElementSibling","hiddenEvents","hide","bgColor","ecClosingPopup","createDragHandler","resize","drag","startDayGrid","Event","clickOutside","handleClick","clickEvent","contains","CustomEvent","get_each_context$3","create_each_block$3","event_changes","create_fragment$3","t3","t0_value","textContent","popup","instance$3","$_popup","$_intlDayPopover","_intlDayPopover","bodyEl","popupRect","bodyRect","previousElementSibling","width","handleClickOutside","click_handler","div2_binding","Popup","get_each_context$2","preview","create_each_block$2","div3","t2","t4","t5","div3_class_value","show_if_2","show_if_1","show_if","if_block0","if_block1","if_block2","if_block3","dayFoot","createPointerLeaveHandler","interaction","pointer","leave","$moreLinkContent","$highlightedDates","$currentDate","$dateClick","iChunks","currentDate","moreLinkContent","dayChunks","moreLink","setPopupChunks","nextDay","_sortInstanceProperty","num","createClickHandler","dateStr","createPointerEnterHandler","enterDayGrid","div3_binding","Day","day_changes","$_iEvents","intersects","Week","week_changes","create_default_slot","body_changes","$_viewDates","viewState","View","dayPopoverFormat","dayGridMonth","eventTag","span","span_class_value","t2_value","daySide","$_intlListDayFormat","$_intlListDaySideFormat","_intlListDayFormat","_intlListDaySideFormat","div_binding","listDayFormat","listDaySideFormat","noEvents","$noEventsClick","$noEventsContent","noEventsClick","noEventsContent","listDay","listWeek","listMonth","listYear","_slotTimeLimits","$flexibleSlotTimeLimits","minMin","maxMax","loop","minStart","maxEnd","slotTimeLimits","_times","localState","$_slotTimeLimits","$_intlSlotLabel","$slotDuration","times","createAllDayContent","get_each_context$5","create_each_block$5","create_fragment$8","div6","div4","div4_class_value","div5","div5_class_value","div6_class_value","instance$8","$allDayContent","$_times","allDayText","get_each_context_1$2","create_each_block_1$2","create_fragment$7","each_blocks_1","instance$7","$slotHeight","$scrollTime","timeLimitMin","scrollTop","div5_binding","_viewResources","maxHeight","column","columns","startTimeGrid","Event$1","intervalID","timer","setInterval","clearInterval","NowIndicator","get_each_context_1$1","create_each_block_1$1","create_if_block$2","nowindicator","out_1","$nowIndicator","resource","bgChunks","groupEventChunks","clientY","enterTimeGrid","Day$1","create_default_slot_2","create_default_slot_1","header_changes","$allDaySlot","timeGridDay","timeGridWeek","State$1","resources","filterResourcesWithEvents","$resources","$filterResourcesWithEvents","viewResources","get_each_context_4","get_each_context_2","get_each_context_3","get_each_context_5","get_each_context_6","each_value_6","create_each_block_6","create_each_block_5","each_value_5","each_value_4","create_each_block_4","each_value_2","create_each_block_2","create_each_block_3","each_value_3","$_viewResources","$datesAboveResources","datesAboveResources","loops","titles","resourceTimeGridDay","resourceTimeGridWeek","resourceTitle","createResources","$values","busy","limit","window_1","$eventDrop","$eventResize","$eventDragStop","$eventResizeStop","$dragScroll","$eventDragStart","$eventResizeStart","$eventDragMinDistance","$$unsubscribe__viewResources","$$subscribe__viewResources","eventStartEditable","eventDragMinDistance","eventDragStart","eventDragStop","eventDrop","eventResizeStart","eventResizeStop","eventResize","dragScroll","interacting","resizing","col","row","offsetX","offsetY","fromX","fromY","toX","toY","delta","colEl","rowEls","colRect","resourceCol","newResourceCol","isAllDay","minEnd","eventToDrag","getSelection","removeAllRanges","clientX","move","rx","ry","newCol","dayCol","cols","newRow","sqrt","createIEvent","scrollBy","innerHeight","requestAnimationFrame","handlePointerMove","isPrimary","handlePointerUp","oldEvent","eventRef","endDelta","oldResource","newResource","revert","handleSelectStart","preventDefault","resourcesStore","resourceEl","traverseResourceTimeGrid","traverseTimeGrid","daysEl","contentEl","traverseDayGrid","Drag","handleScroll","validEvent","pointerType","$$unsubscribe__slotTimeLimits","$$subscribe__slotTimeLimits","colDate","removePointerEvent","slotTimeLimitsStore","resourceObj","Pointer","pointer_1","$editable","$eventDurationEditable","$_resizable","$eventStartEditable","$pointer","eventDurationEditable","_Object$values","_event$startEditable","_event$editable","className","draggable","ghost","_event$durationEditab","_event$editable2","drag_binding","pointer_1_binding","Interaction","pointerdown_handler","Resizer","dragging","resizingY","resizingX","DayGrid","List","TimeGrid","ResourceTimeGrid"],"mappings":"sTAAIA,EAAQ,SAAUC,GACpB,OAAOA,GAAMA,EAAGC,MAAQA,MAAQD,GAIlCE,EAEEH,EAA2B,iBAAdI,YAA0BA,aACvCJ,EAAuB,iBAAVK,QAAsBA,SAEnCL,EAAqB,iBAARM,MAAoBA,OACjCN,EAAuB,iBAAVG,GAAs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K,EAAQ8lD,qBAAkB3wD,EAC1B6K,EAAQ+lD,iBAAc5wD,EACtB6K,EAAQgmD,YAAa,EACrBhmD,EAAQm7C,SAAU,EAClBn7C,EAAQ4jC,MAAM+mB,UAAY,eAC1B3qD,EAAQ4jC,MAAMgnB,MAAQ,WACtB5qD,EAAQ4jC,MAAMsW,QAAU,aACxBl6C,EAAQ4jC,MAAMuX,QAAU,aACxBn7C,EAAQ4jC,MAAMgS,QAAU,aACxB51C,EAAQ4jC,MAAMwnB,SAAW,cACzBprD,EAAQ4jC,MAAMynB,UAAY,gBAC1BrrD,EAAQ4jC,MAAM0nB,UAAY,iBAG3Bje,aAAa/vC,GACZA,EAAMwvC,aAAatwC,IAAI,CACtB20B,UAAW85B,GACXrV,QAASuV,cCt+BG,cAAcjY,GACzB9tC,YAAY9C,EAAItC,GACNswC,MAAA,CACF9vC,OAAQ8B,EACRc,MAAO,CACHiiC,QAAS,CAACkmB,GAASC,GAAMC,GAAUC,GAAkBT,IACrDjrD,QAAAA,KAKJ6hC,WACG,OAAA3uC,KAAKmgD"}
|
|
1
|
+
{"version":3,"file":"event-calendar-modern.min.js","sources":["../../node_modules/core-js-pure/internals/global.js","../../node_modules/core-js-pure/internals/fails.js","../../node_modules/core-js-pure/internals/function-bind-native.js","../../node_modules/core-js-pure/internals/function-uncurry-this.js","../../node_modules/core-js-pure/internals/classof-raw.js","../../node_modules/core-js-pure/internals/indexed-object.js","../../node_modules/core-js-pure/internals/require-object-coercible.js","../../node_modules/core-js-pure/internals/to-indexed-object.js","../../node_modules/core-js-pure/internals/iterators.js","../../node_modules/core-js-pure/internals/is-callable.js","../../node_modules/core-js-pure/internals/set-global.js","../../node_modules/core-js-pure/internals/shared-store.js","../../node_modules/core-js-pure/internals/inspect-source.js","../../node_modules/core-js-pure/internals/engine-v8-version.js","../../node_modules/core-js-pure/internals/native-weak-map.js","../../node_modules/core-js-pure/internals/is-object.js","../../node_modules/core-js-pure/internals/descriptors.js","../../node_modules/core-js-pure/internals/document-create-element.js","../../node_modules/core-js-pure/internals/ie8-dom-define.js","../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js","../../node_modules/core-js-pure/internals/an-object.js","../../node_modules/core-js-pure/internals/function-call.js","../../node_modules/core-js-pure/internals/path.js","../../node_modules/core-js-pure/internals/get-built-in.js","../../node_modules/core-js-pure/internals/object-is-prototype-of.js","../../node_modules/core-js-pure/internals/engine-user-agent.js","../../node_modules/core-js-pure/internals/native-symbol.js","../../node_modules/core-js-pure/internals/use-symbol-as-uid.js","../../node_modules/core-js-pure/internals/is-symbol.js","../../node_modules/core-js-pure/internals/try-to-string.js","../../node_modules/core-js-pure/internals/a-callable.js","../../node_modules/core-js-pure/internals/get-method.js","../../node_modules/core-js-pure/internals/ordinary-to-primitive.js","../../node_modules/core-js-pure/internals/shared.js","../../node_modules/core-js-pure/internals/to-object.js","../../node_modules/core-js-pure/internals/has-own-property.js","../../node_modules/core-js-pure/internals/uid.js","../../node_modules/core-js-pure/internals/well-known-symbol.js","../../node_modules/core-js-pure/internals/to-primitive.js","../../node_modules/core-js-pure/internals/to-property-key.js","../../node_modules/core-js-pure/internals/object-define-property.js","../../node_modules/core-js-pure/internals/create-property-descriptor.js","../../node_modules/core-js-pure/internals/internal-state.js","../../node_modules/core-js-pure/internals/create-non-enumerable-property.js","../../node_modules/core-js-pure/internals/shared-key.js","../../node_modules/core-js-pure/internals/hidden-keys.js","../../node_modules/core-js-pure/internals/function-apply.js","../../node_modules/core-js-pure/internals/object-property-is-enumerable.js","../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js","../../node_modules/core-js-pure/internals/is-forced.js","../../node_modules/core-js-pure/internals/function-bind-context.js","../../node_modules/core-js-pure/internals/export.js","../../node_modules/core-js-pure/internals/function-name.js","../../node_modules/core-js-pure/internals/to-integer-or-infinity.js","../../node_modules/core-js-pure/internals/to-absolute-index.js","../../node_modules/core-js-pure/internals/to-length.js","../../node_modules/core-js-pure/internals/length-of-array-like.js","../../node_modules/core-js-pure/internals/array-includes.js","../../node_modules/core-js-pure/internals/object-keys-internal.js","../../node_modules/core-js-pure/internals/enum-bug-keys.js","../../node_modules/core-js-pure/internals/object-keys.js","../../node_modules/core-js-pure/internals/object-define-properties.js","../../node_modules/core-js-pure/internals/html.js","../../node_modules/core-js-pure/internals/object-create.js","../../node_modules/core-js-pure/internals/iterators-core.js","../../node_modules/core-js-pure/internals/correct-prototype-getter.js","../../node_modules/core-js-pure/internals/object-get-prototype-of.js","../../node_modules/core-js-pure/internals/redefine.js","../../node_modules/core-js-pure/internals/to-string-tag-support.js","../../node_modules/core-js-pure/internals/classof.js","../../node_modules/core-js-pure/internals/object-to-string.js","../../node_modules/core-js-pure/internals/set-to-string-tag.js","../../node_modules/core-js-pure/internals/create-iterator-constructor.js","../../node_modules/core-js-pure/internals/a-possible-prototype.js","../../node_modules/core-js-pure/internals/object-set-prototype-of.js","../../node_modules/core-js-pure/internals/define-iterator.js","../../node_modules/core-js-pure/modules/es.array.iterator.js","../../node_modules/core-js-pure/internals/object-get-own-property-names.js","../../node_modules/core-js-pure/internals/create-property.js","../../node_modules/core-js-pure/internals/array-slice-simple.js","../../node_modules/core-js-pure/internals/object-get-own-property-names-external.js","../../node_modules/core-js-pure/internals/array-buffer-non-extensible.js","../../node_modules/core-js-pure/internals/object-is-extensible.js","../../node_modules/core-js-pure/internals/freezing.js","../../node_modules/core-js-pure/internals/internal-metadata.js","../../node_modules/core-js-pure/internals/is-array-iterator-method.js","../../node_modules/core-js-pure/internals/get-iterator-method.js","../../node_modules/core-js-pure/internals/get-iterator.js","../../node_modules/core-js-pure/internals/iterator-close.js","../../node_modules/core-js-pure/internals/iterate.js","../../node_modules/core-js-pure/internals/an-instance.js","../../node_modules/core-js-pure/internals/is-array.js","../../node_modules/core-js-pure/internals/is-constructor.js","../../node_modules/core-js-pure/internals/array-species-constructor.js","../../node_modules/core-js-pure/internals/array-species-create.js","../../node_modules/core-js-pure/internals/array-iteration.js","../../node_modules/core-js-pure/internals/collection.js","../../node_modules/core-js-pure/internals/redefine-all.js","../../node_modules/core-js-pure/internals/set-species.js","../../node_modules/core-js-pure/internals/collection-strong.js","../../node_modules/core-js-pure/modules/es.set.js","../../node_modules/core-js-pure/internals/to-string.js","../../node_modules/core-js-pure/internals/string-multibyte.js","../../node_modules/core-js-pure/modules/es.string.iterator.js","../../node_modules/core-js-pure/es/set/index.js","../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js","../../node_modules/core-js-pure/internals/dom-iterables.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js","../../node_modules/core-js-pure/stable/set/index.js","../../node_modules/core-js-pure/internals/array-method-has-species-support.js","../../node_modules/core-js-pure/modules/es.array.map.js","../../node_modules/core-js-pure/internals/entry-virtual.js","../../node_modules/core-js-pure/es/array/virtual/map.js","../../node_modules/core-js-pure/es/instance/map.js","../../node_modules/core-js-pure/stable/instance/map.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js","../../node_modules/core-js-pure/modules/es.object.keys.js","../../node_modules/core-js-pure/es/object/keys.js","../../node_modules/core-js-pure/stable/object/keys.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js","../../node_modules/core-js-pure/modules/es.array.includes.js","../../node_modules/core-js-pure/es/array/virtual/includes.js","../../node_modules/core-js-pure/internals/is-regexp.js","../../node_modules/core-js-pure/internals/not-a-regexp.js","../../node_modules/core-js-pure/internals/correct-is-regexp-logic.js","../../node_modules/core-js-pure/modules/es.string.includes.js","../../node_modules/core-js-pure/es/string/virtual/includes.js","../../node_modules/core-js-pure/es/instance/includes.js","../../node_modules/core-js-pure/stable/instance/includes.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js","../../node_modules/core-js-pure/modules/es.array.concat.js","../../node_modules/core-js-pure/es/array/virtual/concat.js","../../node_modules/core-js-pure/es/instance/concat.js","../../node_modules/core-js-pure/stable/instance/concat.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js","../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js","../../node_modules/core-js-pure/internals/own-keys.js","../../node_modules/core-js-pure/internals/copy-constructor-properties.js","../../node_modules/core-js-pure/internals/clear-error-stack.js","../../node_modules/core-js-pure/internals/install-error-cause.js","../../node_modules/core-js-pure/internals/normalize-string-argument.js","../../node_modules/core-js-pure/internals/error-stack-installable.js","../../node_modules/core-js-pure/modules/es.aggregate-error.js","../../node_modules/core-js-pure/internals/native-promise-constructor.js","../../node_modules/core-js-pure/internals/check-correctness-of-iteration.js","../../node_modules/core-js-pure/internals/task.js","../../node_modules/core-js-pure/internals/a-constructor.js","../../node_modules/core-js-pure/internals/species-constructor.js","../../node_modules/core-js-pure/internals/array-slice.js","../../node_modules/core-js-pure/internals/engine-is-ios.js","../../node_modules/core-js-pure/internals/engine-is-node.js","../../node_modules/core-js-pure/internals/microtask.js","../../node_modules/core-js-pure/internals/engine-is-ios-pebble.js","../../node_modules/core-js-pure/internals/engine-is-webos-webkit.js","../../node_modules/core-js-pure/internals/new-promise-capability.js","../../node_modules/core-js-pure/internals/promise-resolve.js","../../node_modules/core-js-pure/internals/host-report-errors.js","../../node_modules/core-js-pure/internals/perform.js","../../node_modules/core-js-pure/internals/queue.js","../../node_modules/core-js-pure/modules/es.promise.js","../../node_modules/core-js-pure/internals/engine-is-browser.js","../../node_modules/core-js-pure/internals/is-pure.js","../../node_modules/core-js-pure/modules/es.promise.all-settled.js","../../node_modules/core-js-pure/modules/es.promise.any.js","../../node_modules/core-js-pure/modules/es.promise.finally.js","../../node_modules/core-js-pure/es/promise/index.js","../../node_modules/core-js-pure/stable/promise/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js","../../node_modules/core-js-pure/internals/native-url.js","../../node_modules/core-js-pure/internals/validate-arguments-length.js","../../node_modules/core-js-pure/internals/array-sort.js","../../node_modules/core-js-pure/modules/web.url-search-params.js","../../node_modules/core-js-pure/web/url-search-params.js","../../node_modules/core-js-pure/stable/url-search-params/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/url-search-params.js","../../node_modules/core-js-pure/internals/object-to-array.js","../../node_modules/core-js-pure/modules/es.object.entries.js","../../node_modules/core-js-pure/es/object/entries.js","../../node_modules/core-js-pure/stable/object/entries.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js","../../node_modules/core-js-pure/modules/es.array.slice.js","../../node_modules/core-js-pure/es/array/virtual/slice.js","../../node_modules/core-js-pure/es/instance/slice.js","../../node_modules/core-js-pure/stable/instance/slice.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js","../../node_modules/core-js-pure/modules/es.array.filter.js","../../node_modules/core-js-pure/es/array/virtual/filter.js","../../node_modules/core-js-pure/es/instance/filter.js","../../node_modules/core-js-pure/stable/instance/filter.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js","../../node_modules/core-js-pure/internals/array-method-is-strict.js","../../node_modules/core-js-pure/internals/engine-ff-version.js","../../node_modules/core-js-pure/internals/engine-is-ie-or-edge.js","../../node_modules/core-js-pure/internals/engine-webkit-version.js","../../node_modules/core-js-pure/modules/es.array.sort.js","../../node_modules/core-js-pure/es/array/virtual/sort.js","../../node_modules/core-js-pure/es/instance/sort.js","../../node_modules/core-js-pure/stable/instance/sort.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js","../../node_modules/core-js-pure/modules/es.array.index-of.js","../../node_modules/core-js-pure/es/array/virtual/index-of.js","../../node_modules/core-js-pure/es/instance/index-of.js","../../node_modules/core-js-pure/stable/instance/index-of.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js","../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js","../../node_modules/core-js-pure/es/object/get-own-property-descriptors.js","../../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js","../../node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js","../../node_modules/core-js-pure/internals/array-from.js","../../node_modules/core-js-pure/modules/es.array.from.js","../../node_modules/core-js-pure/es/array/from.js","../../node_modules/core-js-pure/stable/array/from.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js","../../node_modules/core-js-pure/modules/es.array.splice.js","../../node_modules/core-js-pure/es/array/virtual/splice.js","../../node_modules/core-js-pure/es/instance/splice.js","../../node_modules/core-js-pure/stable/instance/splice.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js","../../node_modules/core-js-pure/modules/es.string.starts-with.js","../../node_modules/core-js-pure/es/string/virtual/starts-with.js","../../node_modules/core-js-pure/es/instance/starts-with.js","../../node_modules/core-js-pure/stable/instance/starts-with.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js","../../node_modules/core-js-pure/internals/whitespaces.js","../../node_modules/core-js-pure/internals/string-trim.js","../../node_modules/core-js-pure/internals/string-trim-forced.js","../../node_modules/core-js-pure/modules/es.string.trim.js","../../node_modules/core-js-pure/es/string/virtual/trim.js","../../node_modules/core-js-pure/es/instance/trim.js","../../node_modules/core-js-pure/stable/instance/trim.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js","../../node_modules/core-js-pure/modules/es.map.js","../../node_modules/core-js-pure/es/map/index.js","../../node_modules/core-js-pure/stable/map/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js","../../node_modules/core-js-pure/modules/es.global-this.js","../../node_modules/core-js-pure/es/global-this.js","../../node_modules/core-js-pure/stable/global-this.js","../../node_modules/core-js-pure/features/global-this.js","../../node_modules/@babel/runtime-corejs3/core-js/global-this.js","../../node_modules/core-js-pure/internals/object-assign.js","../../node_modules/core-js-pure/modules/es.object.assign.js","../../node_modules/core-js-pure/es/object/assign.js","../../node_modules/core-js-pure/stable/object/assign.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js","../../node_modules/core-js-pure/internals/array-fill.js","../../node_modules/core-js-pure/modules/es.array.fill.js","../../node_modules/core-js-pure/es/array/virtual/fill.js","../../node_modules/core-js-pure/es/instance/fill.js","../../node_modules/core-js-pure/stable/instance/fill.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js","../../node_modules/core-js-pure/internals/well-known-symbol-wrapped.js","../../node_modules/core-js-pure/internals/define-well-known-symbol.js","../../node_modules/core-js-pure/modules/es.symbol.js","../../node_modules/core-js-pure/modules/es.symbol.async-iterator.js","../../node_modules/core-js-pure/modules/es.symbol.has-instance.js","../../node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js","../../node_modules/core-js-pure/modules/es.symbol.iterator.js","../../node_modules/core-js-pure/modules/es.symbol.match.js","../../node_modules/core-js-pure/modules/es.symbol.match-all.js","../../node_modules/core-js-pure/modules/es.symbol.replace.js","../../node_modules/core-js-pure/modules/es.symbol.search.js","../../node_modules/core-js-pure/modules/es.symbol.species.js","../../node_modules/core-js-pure/modules/es.symbol.split.js","../../node_modules/core-js-pure/modules/es.symbol.to-primitive.js","../../node_modules/core-js-pure/modules/es.symbol.to-string-tag.js","../../node_modules/core-js-pure/modules/es.symbol.unscopables.js","../../node_modules/core-js-pure/modules/es.json.to-string-tag.js","../../node_modules/core-js-pure/es/symbol/index.js","../../node_modules/core-js-pure/stable/symbol/index.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js","../../node_modules/core-js-pure/internals/is-iterable.js","../../node_modules/core-js-pure/features/is-iterable.js","../../node_modules/svelte/internal/index.mjs","../../node_modules/@babel/runtime-corejs3/core-js/is-iterable.js","../../node_modules/svelte/store/index.mjs","../../node_modules/core-js-pure/internals/number-parse-int.js","../../node_modules/core-js-pure/modules/es.parse-int.js","../../node_modules/core-js-pure/es/parse-int.js","../../node_modules/core-js-pure/stable/parse-int.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js","../../node_modules/core-js-pure/modules/es.string.trim-end.js","../../node_modules/core-js-pure/es/string/virtual/trim-end.js","../../node_modules/core-js-pure/es/instance/trim-end.js","../../node_modules/core-js-pure/stable/instance/trim-end.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim-end.js","../common/index.js","../core/index.js","../day-grid/index.js","../list/index.js","../time-grid/index.js","../resource-time-grid/index.js","../../node_modules/core-js-pure/modules/es.object.values.js","../../node_modules/core-js-pure/es/object/values.js","../../node_modules/core-js-pure/stable/object/values.js","../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js","../interaction/index.js","src/index-modern.js"],"sourcesContent":["var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar bind = FunctionPrototype.bind;\nvar call = FunctionPrototype.call;\nvar uncurryThis = NATIVE_BIND && bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? function (fn) {\n return fn && uncurryThis(fn);\n} : function (fn) {\n return fn && function () {\n return call.apply(fn, arguments);\n };\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar Object = global.Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : Object(it);\n} : Object;\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","module.exports = {};\n","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n return typeof argument == 'function';\n};\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var global = require('../internals/global');\nvar setGlobal = require('../internals/set-global');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\nmodule.exports = store;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));\n","var isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar String = global.String;\nvar TypeError = global.TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw TypeError(String(argument) + ' is not an object');\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","module.exports = {};\n","var path = require('../internals/path');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (variable) {\n return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Object = global.Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));\n};\n","var global = require('../internals/global');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n try {\n return String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw TypeError(tryToString(argument) + ' is not a function');\n};\n","var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return func == null ? undefined : aCallable(func);\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar TypeError = global.TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.20.3',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.20.3/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var global = require('../internals/global');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar Object = global.Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar WellKnownSymbolsStore = shared('wks');\nvar Symbol = global.Symbol;\nvar symbolFor = Symbol && Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {\n WellKnownSymbolsStore[name] = Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n } return WellKnownSymbolsStore[name];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TypeError = global.TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar TypeError = global.TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* 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","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","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = uncurryThis(store.get);\n var wmhas = uncurryThis(store.has);\n var wmset = uncurryThis(store.set);\n set = function (it, metadata) {\n if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget(store, it) || {};\n };\n has = function (it) {\n return wmhas(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","module.exports = {};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar isForced = require('../internals/is-forced');\nvar path = require('../internals/path');\nvar bind = require('../internals/function-bind-context');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\n\nvar wrapConstructor = function (NativeConstructor) {\n var Wrapper = function (a, b, c) {\n if (this instanceof Wrapper) {\n switch (arguments.length) {\n case 0: return new NativeConstructor();\n case 1: return new NativeConstructor(a);\n case 2: return new NativeConstructor(a, b);\n } return new NativeConstructor(a, b, c);\n } return apply(NativeConstructor, this, arguments);\n };\n Wrapper.prototype = NativeConstructor.prototype;\n return Wrapper;\n};\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.noTargetGet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var PROTO = options.proto;\n\n var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;\n\n var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n var targetPrototype = target.prototype;\n\n var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n for (key in source) {\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contains in native\n USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n targetProperty = target[key];\n\n if (USE_NATIVE) if (options.noTargetGet) {\n descriptor = getOwnPropertyDescriptor(nativeSource, key);\n nativeProperty = descriptor && descriptor.value;\n } else nativeProperty = nativeSource[key];\n\n // export native or implementation\n sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue;\n\n // bind timers to global for call from export context\n if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n // wrap global constructors for prevent changs in this version\n else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n // make static versions for prototype methods\n else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n // default case\n else resultProperty = sourceProperty;\n\n // add a flag to not completely full polyfills\n if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(resultProperty, 'sham', true);\n }\n\n createNonEnumerableProperty(target, key, resultProperty);\n\n if (PROTO) {\n VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n }\n // export virtual prototype methods\n createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n // export real prototype methods\n if (options.real && targetPrototype && !targetPrototype[key]) {\n createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n }\n }\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- safe\n return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n redefine(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var global = require('../internals/global');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar Object = global.Object;\nvar ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof Object ? ObjectPrototype : null;\n};\n","var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nmodule.exports = function (target, key, value, options) {\n if (options && options.enumerable) target[key] = value;\n else createNonEnumerableProperty(target, key, value);\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var global = require('../internals/global');\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Object = global.Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineProperty = require('../internals/object-define-property').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/object-to-string');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n if (it) {\n var target = STATIC ? it : it.prototype;\n if (!hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n createNonEnumerableProperty(target, 'toString', toString);\n }\n }\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar String = global.String;\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw TypeError(\"Can't set \" + String(argument) + ' as a prototype');\n};\n","/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n redefine(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n redefine(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/define-iterator');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return { value: undefined, done: true };\n }\n if (kind == 'keys') return { value: index, done: false };\n if (kind == 'values') return { value: target[index], done: false };\n return { value: [index, target[index]], done: false };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar Array = global.Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\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 setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\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 setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw TypeError(tryToString(argument) + ' is not iterable');\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar TypeError = global.TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw TypeError('Incorrect invocation');\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar fails = require('../internals/fails');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar defineProperty = require('../internals/object-define-property').f;\nvar forEach = require('../internals/array-iteration').forEach;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var exported = {};\n var Constructor;\n\n if (!DESCRIPTORS || !isCallable(NativeConstructor)\n || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); }))\n ) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else {\n Constructor = wrapper(function (target, iterable) {\n setInternalState(anInstance(target, Prototype), {\n type: CONSTRUCTOR_NAME,\n collection: new NativeConstructor()\n });\n if (iterable != undefined) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in NativePrototype && !(IS_WEAK && KEY == 'clear')) {\n createNonEnumerableProperty(Prototype, KEY, function (a, b) {\n var collection = getInternalState(this).collection;\n if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY == 'get' ? undefined : false;\n var result = collection[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n }\n });\n\n IS_WEAK || defineProperty(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).collection.size;\n }\n });\n }\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, forced: true }, exported);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) {\n if (options && options.unsafe && target[key]) target[key] = src[key];\n else redefine(target, key, src[key], options);\n } return target;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar redefineAll = require('../internals/redefine-all');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n redefineAll(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n redefineAll(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return { value: undefined, done: true };\n }\n // return step by kind\n if (kind == 'keys') return { value: entry.key, done: false };\n if (kind == 'values') return { value: entry.value, done: false };\n return { value: [entry.key, entry.value], done: false };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","var global = require('../internals/global');\nvar classof = require('../internals/classof');\n\nvar String = global.String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return String(argument);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return { value: undefined, done: true };\n point = charAt(string, index);\n state.index += point.length;\n return { value: point, done: false };\n});\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.set');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Set;\n","require('../modules/es.array.iterator');\nvar DOMIterables = require('../internals/dom-iterables');\nvar global = require('../internals/global');\nvar classof = require('../internals/classof');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n Iterators[COLLECTION_NAME] = Iterators.Array;\n}\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","module.exports = require(\"core-js-pure/stable/set\");","var parent = require('../../es/set');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var path = require('../internals/path');\n\nmodule.exports = function (CONSTRUCTOR) {\n return path[CONSTRUCTOR + 'Prototype'];\n};\n","require('../../../modules/es.array.map');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').map;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/map');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.map;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;\n};\n","var parent = require('../../es/instance/map');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/map\");","var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","require('../../modules/es.object.keys');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.keys;\n","var parent = require('../../es/object/keys');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/keys\");","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","require('../../../modules/es.array.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').includes;\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var global = require('../internals/global');\nvar isRegExp = require('../internals/is-regexp');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","require('../../../modules/es.string.includes');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').includes;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar arrayMethod = require('../array/virtual/includes');\nvar stringMethod = require('../string/virtual/includes');\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.includes;\n if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n return stringMethod;\n } return own;\n};\n","var parent = require('../../es/instance/includes');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/includes\");","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';\nvar TypeError = global.TypeError;\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","require('../../../modules/es.array.concat');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').concat;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/concat');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.concat;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;\n};\n","var parent = require('../../es/instance/concat');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/concat\");","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","var toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar Error = global.Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var options = arguments.length > 2 ? arguments[2] : undefined;\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n installErrorCause(that, options);\n var errorsArray = [];\n iterate(errors, push, { that: errorsArray });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, Error);\nelse copyConstructorProperties($AggregateError, Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true }, {\n AggregateError: $AggregateError\n});\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\n\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(fn) {\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(isCallable(fn) ? fn : Function(fn), undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var global = require('../internals/global');\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar TypeError = global.TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\n\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();\n else last = undefined;\n throw error;\n }\n } last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n // strange IE + webpack dev server bug - use .bind(global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n}\n\nmodule.exports = queueMicrotask || function (fn) {\n var task = { fn: fn, next: undefined };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n } last = task;\n};\n","var userAgent = require('../internals/engine-user-agent');\nvar global = require('../internals/global');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n }\n};\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n if (this.head) this.tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n this.head = entry.next;\n if (this.tail === entry) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar inspectSource = require('../internals/inspect-source');\nvar iterate = require('../internals/iterate');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar promiseResolve = require('../internals/promise-resolve');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar isForced = require('../internals/is-forced');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_NODE = require('../internals/engine-is-node');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\nvar PROMISE = 'Promise';\n\nvar getInternalState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar NativePromisePrototype = NativePromise && NativePromise.prototype;\nvar PromiseConstructor = NativePromise;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar SUBCLASSING = false;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\nvar FORCED = isForced(PROMISE, function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#finally in the pure version for preventing prototype pollution\n if (IS_PURE && !PromisePrototype['finally']) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = new PromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT;\n});\n\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () { /* empty */ });\n});\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n PromisePrototype = PromiseConstructor.prototype;\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n Internal.prototype = redefineAll(PromisePrototype, {\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n // eslint-disable-next-line unicorn/no-thenable -- safe\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.es/ecma262/#sec-promise.prototype.catch\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n\n // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\n redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, wrap: true, forced: FORCED }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\nPromiseWrapper = getBuiltIn(PROMISE);\n\n// statics\n$({ target: PROMISE, stat: true, forced: FORCED }, {\n // `Promise.reject` method\n // https://tc39.es/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n\n$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, {\n // `Promise.resolve` method\n // https://tc39.es/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n\n$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {\n // `Promise.all` method\n // https://tc39.es/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.es/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","module.exports = typeof window == 'object';\n","module.exports = true;\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true }, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'fulfilled', value: value };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = { status: 'rejected', reason: error };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true }, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromise)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromise.prototype['finally'] !== method) {\n redefine(NativePromise.prototype, 'finally', method, { unsafe: true });\n }\n}\n","require('../../modules/es.aggregate-error');\nrequire('../../modules/es.array.iterator');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.promise');\nrequire('../../modules/es.promise.all-settled');\nrequire('../../modules/es.promise.any');\nrequire('../../modules/es.promise.finally');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Promise;\n","var parent = require('../../es/promise');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/promise\");","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return (IS_PURE && !url.toJSON)\n || !searchParams.sort\n || url.href !== 'http://a/c%20d?a=1&c=3'\n || searchParams.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});\n","var global = require('../internals/global');\n\nvar TypeError = global.TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw TypeError('Not enough arguments');\n return passed;\n};\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar redefine = require('../internals/redefine');\nvar redefineAll = require('../internals/redefine-all');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar n$Fetch = getBuiltIn('fetch');\nvar N$Request = getBuiltIn('Request');\nvar Headers = getBuiltIn('Headers');\nvar RequestPrototype = N$Request && N$Request.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\n\nvar plus = /\\+/g;\nvar sequences = Array(4);\n\nvar percentSequence = function (bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\n\nvar percentDecode = function (sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\n\nvar deserialize = function (it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n } return step;\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw TypeError('Expected sequence with length 2');\n push(this.entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\nredefineAll(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);\n else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\nredefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\nredefine(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(n$Fetch)) {\n $({ global: true, enumerable: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(N$Request)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","require('../modules/web.url-search-params');\nvar path = require('../internals/path');\n\nmodule.exports = path.URLSearchParams;\n","var parent = require('../../web/url-search-params');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/url-search-params\");","var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\n\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};\n","var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n entries: function entries(O) {\n return $entries(O);\n }\n});\n","require('../../modules/es.object.entries');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.entries;\n","var parent = require('../../es/object/entries');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/entries\");","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar un$Slice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar Array = global.Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === Array || Constructor === undefined) {\n return un$Slice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","require('../../../modules/es.array.slice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').slice;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/slice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.slice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;\n};\n","var parent = require('../../es/instance/slice');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/slice\");","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","require('../../../modules/es.array.filter');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').filter;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/filter');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.filter;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;\n};\n","var parent = require('../../es/instance/filter');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/filter\");","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing\n method.call(null, argument || function () { throw 1; }, 1);\n });\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = items.length;\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) delete array[index++];\n\n return array;\n }\n});\n","require('../../../modules/es.array.sort');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').sort;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/sort');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.sort;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;\n};\n","var parent = require('../../es/instance/sort');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/sort\");","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar $IndexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar un$IndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? un$IndexOf(this, searchElement, fromIndex) || 0\n : $IndexOf(this, searchElement, fromIndex);\n }\n});\n","require('../../../modules/es.array.index-of');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').indexOf;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/index-of');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.indexOf;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;\n};\n","var parent = require('../../es/instance/index-of');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/index-of\");","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","require('../../modules/es.object.get-own-property-descriptors');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.getOwnPropertyDescriptors;\n","var parent = require('../../es/object/get-own-property-descriptors');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/get-own-property-descriptors\");","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar Array = global.Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","require('../../modules/es.string.iterator');\nrequire('../../modules/es.array.from');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Array.from;\n","var parent = require('../../es/array/from');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/array/from\");","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar TypeError = global.TypeError;\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","require('../../../modules/es.array.splice');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').splice;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/splice');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.splice;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own;\n};\n","var parent = require('../../es/instance/splice');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/splice\");","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","require('../../../modules/es.string.starts-with');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').startsWith;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/starts-with');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.startsWith;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;\n};\n","var parent = require('../../es/instance/starts-with');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/starts-with\");","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","require('../../../modules/es.string.trim');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trim;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trim;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own;\n};\n","var parent = require('../../es/instance/trim');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/trim\");","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","require('../../modules/es.array.iterator');\nrequire('../../modules/es.map');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.string.iterator');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Map;\n","var parent = require('../../es/map');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/map\");","var $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true }, {\n globalThis: global\n});\n","require('../modules/es.global-this');\n\nmodule.exports = require('../internals/global');\n","var parent = require('../es/global-this');\n\nmodule.exports = parent;\n","// TODO: remove from `core-js@4`\nrequire('../modules/esnext.global-this');\n\nvar parent = require('../actual/global-this');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/features/global-this\");","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {\n assign: assign\n});\n","require('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","var parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/assign\");","'use strict';\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};\n","var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n","require('../../../modules/es.array.fill');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('Array').fill;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../array/virtual/fill');\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n var own = it.fill;\n return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own;\n};\n","var parent = require('../../es/instance/fill');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/fill\");","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar anObject = require('../internals/an-object');\nvar toObject = require('../internals/to-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar arraySlice = require('../internals/array-slice');\nvar redefine = require('../internals/redefine');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n redefine(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n redefine($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n // `Symbol.for` method\n // https://tc39.es/ecma262/#sec-symbol.for\n 'for': function (key) {\n var string = $toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = $Symbol(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n },\n // `Symbol.keyFor` method\n // https://tc39.es/ecma262/#sec-symbol.keyfor\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n },\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames,\n // `Object.getOwnPropertySymbols` method\n // https://tc39.es/ecma262/#sec-object.getownpropertysymbols\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\n$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return getOwnPropertySymbolsModule.f(toObject(it));\n }\n});\n\n// `JSON.stringify` method behavior with symbols\n// https://tc39.es/ecma262/#sec-json.stringify\nif ($stringify) {\n var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {\n var symbol = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n });\n\n $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (isCallable($replacer)) value = call($replacer, this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return apply($stringify, null, args);\n }\n });\n}\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\nif (!SymbolPrototype[TO_PRIMITIVE]) {\n var valueOf = SymbolPrototype.valueOf;\n // eslint-disable-next-line no-unused-vars -- required for .length\n redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n // TODO: improve hint logic\n return call(valueOf, this);\n });\n}\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n","var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n","var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n","require('../../modules/es.array.concat');\nrequire('../../modules/es.object.to-string');\nrequire('../../modules/es.symbol');\nrequire('../../modules/es.symbol.async-iterator');\nrequire('../../modules/es.symbol.description');\nrequire('../../modules/es.symbol.has-instance');\nrequire('../../modules/es.symbol.is-concat-spreadable');\nrequire('../../modules/es.symbol.iterator');\nrequire('../../modules/es.symbol.match');\nrequire('../../modules/es.symbol.match-all');\nrequire('../../modules/es.symbol.replace');\nrequire('../../modules/es.symbol.search');\nrequire('../../modules/es.symbol.species');\nrequire('../../modules/es.symbol.split');\nrequire('../../modules/es.symbol.to-primitive');\nrequire('../../modules/es.symbol.to-string-tag');\nrequire('../../modules/es.symbol.unscopables');\nrequire('../../modules/es.json.to-string-tag');\nrequire('../../modules/es.math.to-string-tag');\nrequire('../../modules/es.reflect.to-string-tag');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Symbol;\n","var parent = require('../../es/symbol');\nrequire('../../modules/web.dom-collections.iterator');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/symbol\");","var global = require('../internals/global');\nvar classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Object = global.Object;\n\nmodule.exports = function (it) {\n var O = Object(it);\n return O[ITERATOR] !== undefined\n || '@@iterator' in O\n || hasOwn(Iterators, classof(O));\n};\n","var parent = require('../actual/is-iterable');\n\nmodule.exports = parent;\n","function noop() { }\nconst identity = x => x;\nfunction assign(tar, src) {\n // @ts-ignore\n for (const k in src)\n tar[k] = src[k];\n return tar;\n}\nfunction is_promise(value) {\n return value && typeof value === 'object' && typeof value.then === 'function';\n}\nfunction add_location(element, file, line, column, char) {\n element.__svelte_meta = {\n loc: { file, line, column, char }\n };\n}\nfunction run(fn) {\n return fn();\n}\nfunction blank_object() {\n return Object.create(null);\n}\nfunction run_all(fns) {\n fns.forEach(run);\n}\nfunction is_function(thing) {\n return typeof thing === 'function';\n}\nfunction safe_not_equal(a, b) {\n return a != a ? b == b : a !== b || ((a && typeof a === 'object') || typeof a === 'function');\n}\nlet src_url_equal_anchor;\nfunction src_url_equal(element_src, url) {\n if (!src_url_equal_anchor) {\n src_url_equal_anchor = document.createElement('a');\n }\n src_url_equal_anchor.href = url;\n return element_src === src_url_equal_anchor.href;\n}\nfunction not_equal(a, b) {\n return a != a ? b == b : a !== b;\n}\nfunction is_empty(obj) {\n return Object.keys(obj).length === 0;\n}\nfunction validate_store(store, name) {\n if (store != null && typeof store.subscribe !== 'function') {\n throw new Error(`'${name}' is not a store with a 'subscribe' method`);\n }\n}\nfunction subscribe(store, ...callbacks) {\n if (store == null) {\n return noop;\n }\n const unsub = store.subscribe(...callbacks);\n return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;\n}\nfunction get_store_value(store) {\n let value;\n subscribe(store, _ => value = _)();\n return value;\n}\nfunction component_subscribe(component, store, callback) {\n component.$$.on_destroy.push(subscribe(store, callback));\n}\nfunction create_slot(definition, ctx, $$scope, fn) {\n if (definition) {\n const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);\n return definition[0](slot_ctx);\n }\n}\nfunction get_slot_context(definition, ctx, $$scope, fn) {\n return definition[1] && fn\n ? assign($$scope.ctx.slice(), definition[1](fn(ctx)))\n : $$scope.ctx;\n}\nfunction get_slot_changes(definition, $$scope, dirty, fn) {\n if (definition[2] && fn) {\n const lets = definition[2](fn(dirty));\n if ($$scope.dirty === undefined) {\n return lets;\n }\n if (typeof lets === 'object') {\n const merged = [];\n const len = Math.max($$scope.dirty.length, lets.length);\n for (let i = 0; i < len; i += 1) {\n merged[i] = $$scope.dirty[i] | lets[i];\n }\n return merged;\n }\n return $$scope.dirty | lets;\n }\n return $$scope.dirty;\n}\nfunction update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {\n if (slot_changes) {\n const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);\n slot.p(slot_context, slot_changes);\n }\n}\nfunction update_slot(slot, slot_definition, ctx, $$scope, dirty, get_slot_changes_fn, get_slot_context_fn) {\n const slot_changes = get_slot_changes(slot_definition, $$scope, dirty, get_slot_changes_fn);\n update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn);\n}\nfunction get_all_dirty_from_scope($$scope) {\n if ($$scope.ctx.length > 32) {\n const dirty = [];\n const length = $$scope.ctx.length / 32;\n for (let i = 0; i < length; i++) {\n dirty[i] = -1;\n }\n return dirty;\n }\n return -1;\n}\nfunction exclude_internal_props(props) {\n const result = {};\n for (const k in props)\n if (k[0] !== '$')\n result[k] = props[k];\n return result;\n}\nfunction compute_rest_props(props, keys) {\n const rest = {};\n keys = new Set(keys);\n for (const k in props)\n if (!keys.has(k) && k[0] !== '$')\n rest[k] = props[k];\n return rest;\n}\nfunction compute_slots(slots) {\n const result = {};\n for (const key in slots) {\n result[key] = true;\n }\n return result;\n}\nfunction once(fn) {\n let ran = false;\n return function (...args) {\n if (ran)\n return;\n ran = true;\n fn.call(this, ...args);\n };\n}\nfunction null_to_empty(value) {\n return value == null ? '' : value;\n}\nfunction set_store_value(store, ret, value) {\n store.set(value);\n return ret;\n}\nconst has_prop = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop);\nfunction action_destroyer(action_result) {\n return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;\n}\n\nconst is_client = typeof window !== 'undefined';\nlet now = is_client\n ? () => window.performance.now()\n : () => Date.now();\nlet raf = is_client ? cb => requestAnimationFrame(cb) : noop;\n// used internally for testing\nfunction set_now(fn) {\n now = fn;\n}\nfunction set_raf(fn) {\n raf = fn;\n}\n\nconst tasks = new Set();\nfunction run_tasks(now) {\n tasks.forEach(task => {\n if (!task.c(now)) {\n tasks.delete(task);\n task.f();\n }\n });\n if (tasks.size !== 0)\n raf(run_tasks);\n}\n/**\n * For testing purposes only!\n */\nfunction clear_loops() {\n tasks.clear();\n}\n/**\n * Creates a new task that runs on each raf frame\n * until it returns a falsy value or is aborted\n */\nfunction loop(callback) {\n let task;\n if (tasks.size === 0)\n raf(run_tasks);\n return {\n promise: new Promise(fulfill => {\n tasks.add(task = { c: callback, f: fulfill });\n }),\n abort() {\n tasks.delete(task);\n }\n };\n}\n\n// Track which nodes are claimed during hydration. Unclaimed nodes can then be removed from the DOM\n// at the end of hydration without touching the remaining nodes.\nlet is_hydrating = false;\nfunction start_hydrating() {\n is_hydrating = true;\n}\nfunction end_hydrating() {\n is_hydrating = false;\n}\nfunction upper_bound(low, high, key, value) {\n // Return first index of value larger than input value in the range [low, high)\n while (low < high) {\n const mid = low + ((high - low) >> 1);\n if (key(mid) <= value) {\n low = mid + 1;\n }\n else {\n high = mid;\n }\n }\n return low;\n}\nfunction init_hydrate(target) {\n if (target.hydrate_init)\n return;\n target.hydrate_init = true;\n // We know that all children have claim_order values since the unclaimed have been detached if target is not <head>\n let children = target.childNodes;\n // If target is <head>, there may be children without claim_order\n if (target.nodeName === 'HEAD') {\n const myChildren = [];\n for (let i = 0; i < children.length; i++) {\n const node = children[i];\n if (node.claim_order !== undefined) {\n myChildren.push(node);\n }\n }\n children = myChildren;\n }\n /*\n * Reorder claimed children optimally.\n * We can reorder claimed children optimally by finding the longest subsequence of\n * nodes that are already claimed in order and only moving the rest. The longest\n * subsequence subsequence of nodes that are claimed in order can be found by\n * computing the longest increasing subsequence of .claim_order values.\n *\n * This algorithm is optimal in generating the least amount of reorder operations\n * possible.\n *\n * Proof:\n * We know that, given a set of reordering operations, the nodes that do not move\n * always form an increasing subsequence, since they do not move among each other\n * meaning that they must be already ordered among each other. Thus, the maximal\n * set of nodes that do not move form a longest increasing subsequence.\n */\n // Compute longest increasing subsequence\n // m: subsequence length j => index k of smallest value that ends an increasing subsequence of length j\n const m = new Int32Array(children.length + 1);\n // Predecessor indices + 1\n const p = new Int32Array(children.length);\n m[0] = -1;\n let longest = 0;\n for (let i = 0; i < children.length; i++) {\n const current = children[i].claim_order;\n // Find the largest subsequence length such that it ends in a value less than our current value\n // upper_bound returns first greater value, so we subtract one\n // with fast path for when we are on the current longest subsequence\n const seqLen = ((longest > 0 && children[m[longest]].claim_order <= current) ? longest + 1 : upper_bound(1, longest, idx => children[m[idx]].claim_order, current)) - 1;\n p[i] = m[seqLen] + 1;\n const newLen = seqLen + 1;\n // We can guarantee that current is the smallest value. Otherwise, we would have generated a longer sequence.\n m[newLen] = i;\n longest = Math.max(newLen, longest);\n }\n // The longest increasing subsequence of nodes (initially reversed)\n const lis = [];\n // The rest of the nodes, nodes that will be moved\n const toMove = [];\n let last = children.length - 1;\n for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {\n lis.push(children[cur - 1]);\n for (; last >= cur; last--) {\n toMove.push(children[last]);\n }\n last--;\n }\n for (; last >= 0; last--) {\n toMove.push(children[last]);\n }\n lis.reverse();\n // We sort the nodes being moved to guarantee that their insertion order matches the claim order\n toMove.sort((a, b) => a.claim_order - b.claim_order);\n // Finally, we move the nodes\n for (let i = 0, j = 0; i < toMove.length; i++) {\n while (j < lis.length && toMove[i].claim_order >= lis[j].claim_order) {\n j++;\n }\n const anchor = j < lis.length ? lis[j] : null;\n target.insertBefore(toMove[i], anchor);\n }\n}\nfunction append(target, node) {\n target.appendChild(node);\n}\nfunction append_styles(target, style_sheet_id, styles) {\n const append_styles_to = get_root_for_style(target);\n if (!append_styles_to.getElementById(style_sheet_id)) {\n const style = element('style');\n style.id = style_sheet_id;\n style.textContent = styles;\n append_stylesheet(append_styles_to, style);\n }\n}\nfunction get_root_for_style(node) {\n if (!node)\n return document;\n const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;\n if (root && root.host) {\n return root;\n }\n return node.ownerDocument;\n}\nfunction append_empty_stylesheet(node) {\n const style_element = element('style');\n append_stylesheet(get_root_for_style(node), style_element);\n return style_element.sheet;\n}\nfunction append_stylesheet(node, style) {\n append(node.head || node, style);\n}\nfunction append_hydration(target, node) {\n if (is_hydrating) {\n init_hydrate(target);\n if ((target.actual_end_child === undefined) || ((target.actual_end_child !== null) && (target.actual_end_child.parentElement !== target))) {\n target.actual_end_child = target.firstChild;\n }\n // Skip nodes of undefined ordering\n while ((target.actual_end_child !== null) && (target.actual_end_child.claim_order === undefined)) {\n target.actual_end_child = target.actual_end_child.nextSibling;\n }\n if (node !== target.actual_end_child) {\n // We only insert if the ordering of this node should be modified or the parent node is not target\n if (node.claim_order !== undefined || node.parentNode !== target) {\n target.insertBefore(node, target.actual_end_child);\n }\n }\n else {\n target.actual_end_child = node.nextSibling;\n }\n }\n else if (node.parentNode !== target || node.nextSibling !== null) {\n target.appendChild(node);\n }\n}\nfunction insert(target, node, anchor) {\n target.insertBefore(node, anchor || null);\n}\nfunction insert_hydration(target, node, anchor) {\n if (is_hydrating && !anchor) {\n append_hydration(target, node);\n }\n else if (node.parentNode !== target || node.nextSibling != anchor) {\n target.insertBefore(node, anchor || null);\n }\n}\nfunction detach(node) {\n node.parentNode.removeChild(node);\n}\nfunction destroy_each(iterations, detaching) {\n for (let i = 0; i < iterations.length; i += 1) {\n if (iterations[i])\n iterations[i].d(detaching);\n }\n}\nfunction element(name) {\n return document.createElement(name);\n}\nfunction element_is(name, is) {\n return document.createElement(name, { is });\n}\nfunction object_without_properties(obj, exclude) {\n const target = {};\n for (const k in obj) {\n if (has_prop(obj, k)\n // @ts-ignore\n && exclude.indexOf(k) === -1) {\n // @ts-ignore\n target[k] = obj[k];\n }\n }\n return target;\n}\nfunction svg_element(name) {\n return document.createElementNS('http://www.w3.org/2000/svg', name);\n}\nfunction text(data) {\n return document.createTextNode(data);\n}\nfunction space() {\n return text(' ');\n}\nfunction empty() {\n return text('');\n}\nfunction listen(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return () => node.removeEventListener(event, handler, options);\n}\nfunction prevent_default(fn) {\n return function (event) {\n event.preventDefault();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction stop_propagation(fn) {\n return function (event) {\n event.stopPropagation();\n // @ts-ignore\n return fn.call(this, event);\n };\n}\nfunction self(fn) {\n return function (event) {\n // @ts-ignore\n if (event.target === this)\n fn.call(this, event);\n };\n}\nfunction trusted(fn) {\n return function (event) {\n // @ts-ignore\n if (event.isTrusted)\n fn.call(this, event);\n };\n}\nfunction attr(node, attribute, value) {\n if (value == null)\n node.removeAttribute(attribute);\n else if (node.getAttribute(attribute) !== value)\n node.setAttribute(attribute, value);\n}\nfunction set_attributes(node, attributes) {\n // @ts-ignore\n const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);\n for (const key in attributes) {\n if (attributes[key] == null) {\n node.removeAttribute(key);\n }\n else if (key === 'style') {\n node.style.cssText = attributes[key];\n }\n else if (key === '__value') {\n node.value = node[key] = attributes[key];\n }\n else if (descriptors[key] && descriptors[key].set) {\n node[key] = attributes[key];\n }\n else {\n attr(node, key, attributes[key]);\n }\n }\n}\nfunction set_svg_attributes(node, attributes) {\n for (const key in attributes) {\n attr(node, key, attributes[key]);\n }\n}\nfunction set_custom_element_data(node, prop, value) {\n if (prop in node) {\n node[prop] = typeof node[prop] === 'boolean' && value === '' ? true : value;\n }\n else {\n attr(node, prop, value);\n }\n}\nfunction xlink_attr(node, attribute, value) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', attribute, value);\n}\nfunction get_binding_group_value(group, __value, checked) {\n const value = new Set();\n for (let i = 0; i < group.length; i += 1) {\n if (group[i].checked)\n value.add(group[i].__value);\n }\n if (!checked) {\n value.delete(__value);\n }\n return Array.from(value);\n}\nfunction to_number(value) {\n return value === '' ? null : +value;\n}\nfunction time_ranges_to_array(ranges) {\n const array = [];\n for (let i = 0; i < ranges.length; i += 1) {\n array.push({ start: ranges.start(i), end: ranges.end(i) });\n }\n return array;\n}\nfunction children(element) {\n return Array.from(element.childNodes);\n}\nfunction init_claim_info(nodes) {\n if (nodes.claim_info === undefined) {\n nodes.claim_info = { last_index: 0, total_claimed: 0 };\n }\n}\nfunction claim_node(nodes, predicate, processNode, createNode, dontUpdateLastIndex = false) {\n // Try to find nodes in an order such that we lengthen the longest increasing subsequence\n init_claim_info(nodes);\n const resultNode = (() => {\n // We first try to find an element after the previous one\n for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n return node;\n }\n }\n // Otherwise, we try to find one before\n // We iterate in reverse so that we don't go too far back\n for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {\n const node = nodes[i];\n if (predicate(node)) {\n const replacement = processNode(node);\n if (replacement === undefined) {\n nodes.splice(i, 1);\n }\n else {\n nodes[i] = replacement;\n }\n if (!dontUpdateLastIndex) {\n nodes.claim_info.last_index = i;\n }\n else if (replacement === undefined) {\n // Since we spliced before the last_index, we decrease it\n nodes.claim_info.last_index--;\n }\n return node;\n }\n }\n // If we can't find any matching node, we create a new one\n return createNode();\n })();\n resultNode.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n return resultNode;\n}\nfunction claim_element_base(nodes, name, attributes, create_element) {\n return claim_node(nodes, (node) => node.nodeName === name, (node) => {\n const remove = [];\n for (let j = 0; j < node.attributes.length; j++) {\n const attribute = node.attributes[j];\n if (!attributes[attribute.name]) {\n remove.push(attribute.name);\n }\n }\n remove.forEach(v => node.removeAttribute(v));\n return undefined;\n }, () => create_element(name));\n}\nfunction claim_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, element);\n}\nfunction claim_svg_element(nodes, name, attributes) {\n return claim_element_base(nodes, name, attributes, svg_element);\n}\nfunction claim_text(nodes, data) {\n return claim_node(nodes, (node) => node.nodeType === 3, (node) => {\n const dataStr = '' + data;\n if (node.data.startsWith(dataStr)) {\n if (node.data.length !== dataStr.length) {\n return node.splitText(dataStr.length);\n }\n }\n else {\n node.data = dataStr;\n }\n }, () => text(data), true // Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements\n );\n}\nfunction claim_space(nodes) {\n return claim_text(nodes, ' ');\n}\nfunction find_comment(nodes, text, start) {\n for (let i = start; i < nodes.length; i += 1) {\n const node = nodes[i];\n if (node.nodeType === 8 /* comment node */ && node.textContent.trim() === text) {\n return i;\n }\n }\n return nodes.length;\n}\nfunction claim_html_tag(nodes) {\n // find html opening tag\n const start_index = find_comment(nodes, 'HTML_TAG_START', 0);\n const end_index = find_comment(nodes, 'HTML_TAG_END', start_index);\n if (start_index === end_index) {\n return new HtmlTagHydration();\n }\n init_claim_info(nodes);\n const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);\n detach(html_tag_nodes[0]);\n detach(html_tag_nodes[html_tag_nodes.length - 1]);\n const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);\n for (const n of claimed_nodes) {\n n.claim_order = nodes.claim_info.total_claimed;\n nodes.claim_info.total_claimed += 1;\n }\n return new HtmlTagHydration(claimed_nodes);\n}\nfunction set_data(text, data) {\n data = '' + data;\n if (text.wholeText !== data)\n text.data = data;\n}\nfunction set_input_value(input, value) {\n input.value = value == null ? '' : value;\n}\nfunction set_input_type(input, type) {\n try {\n input.type = type;\n }\n catch (e) {\n // do nothing\n }\n}\nfunction set_style(node, key, value, important) {\n if (value === null) {\n node.style.removeProperty(key);\n }\n else {\n node.style.setProperty(key, value, important ? 'important' : '');\n }\n}\nfunction select_option(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n if (option.__value === value) {\n option.selected = true;\n return;\n }\n }\n select.selectedIndex = -1; // no option should be selected\n}\nfunction select_options(select, value) {\n for (let i = 0; i < select.options.length; i += 1) {\n const option = select.options[i];\n option.selected = ~value.indexOf(option.__value);\n }\n}\nfunction select_value(select) {\n const selected_option = select.querySelector(':checked') || select.options[0];\n return selected_option && selected_option.__value;\n}\nfunction select_multiple_value(select) {\n return [].map.call(select.querySelectorAll(':checked'), option => option.__value);\n}\n// unfortunately this can't be a constant as that wouldn't be tree-shakeable\n// so we cache the result instead\nlet crossorigin;\nfunction is_crossorigin() {\n if (crossorigin === undefined) {\n crossorigin = false;\n try {\n if (typeof window !== 'undefined' && window.parent) {\n void window.parent.document;\n }\n }\n catch (error) {\n crossorigin = true;\n }\n }\n return crossorigin;\n}\nfunction add_resize_listener(node, fn) {\n const computed_style = getComputedStyle(node);\n if (computed_style.position === 'static') {\n node.style.position = 'relative';\n }\n const iframe = element('iframe');\n iframe.setAttribute('style', 'display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; ' +\n 'overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;');\n iframe.setAttribute('aria-hidden', 'true');\n iframe.tabIndex = -1;\n const crossorigin = is_crossorigin();\n let unsubscribe;\n if (crossorigin) {\n iframe.src = \"data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}</script>\";\n unsubscribe = listen(window, 'message', (event) => {\n if (event.source === iframe.contentWindow)\n fn();\n });\n }\n else {\n iframe.src = 'about:blank';\n iframe.onload = () => {\n unsubscribe = listen(iframe.contentWindow, 'resize', fn);\n };\n }\n append(node, iframe);\n return () => {\n if (crossorigin) {\n unsubscribe();\n }\n else if (unsubscribe && iframe.contentWindow) {\n unsubscribe();\n }\n detach(iframe);\n };\n}\nfunction toggle_class(element, name, toggle) {\n element.classList[toggle ? 'add' : 'remove'](name);\n}\nfunction custom_event(type, detail, bubbles = false) {\n const e = document.createEvent('CustomEvent');\n e.initCustomEvent(type, bubbles, false, detail);\n return e;\n}\nfunction query_selector_all(selector, parent = document.body) {\n return Array.from(parent.querySelectorAll(selector));\n}\nclass HtmlTag {\n constructor() {\n this.e = this.n = null;\n }\n c(html) {\n this.h(html);\n }\n m(html, target, anchor = null) {\n if (!this.e) {\n this.e = element(target.nodeName);\n this.t = target;\n this.c(html);\n }\n this.i(anchor);\n }\n h(html) {\n this.e.innerHTML = html;\n this.n = Array.from(this.e.childNodes);\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert(this.t, this.n[i], anchor);\n }\n }\n p(html) {\n this.d();\n this.h(html);\n this.i(this.a);\n }\n d() {\n this.n.forEach(detach);\n }\n}\nclass HtmlTagHydration extends HtmlTag {\n constructor(claimed_nodes) {\n super();\n this.e = this.n = null;\n this.l = claimed_nodes;\n }\n c(html) {\n if (this.l) {\n this.n = this.l;\n }\n else {\n super.c(html);\n }\n }\n i(anchor) {\n for (let i = 0; i < this.n.length; i += 1) {\n insert_hydration(this.t, this.n[i], anchor);\n }\n }\n}\nfunction attribute_to_object(attributes) {\n const result = {};\n for (const attribute of attributes) {\n result[attribute.name] = attribute.value;\n }\n return result;\n}\nfunction get_custom_elements_slots(element) {\n const result = {};\n element.childNodes.forEach((node) => {\n result[node.slot || 'default'] = true;\n });\n return result;\n}\n\n// we need to store the information for multiple documents because a Svelte application could also contain iframes\n// https://github.com/sveltejs/svelte/issues/3624\nconst managed_styles = new Map();\nlet active = 0;\n// https://github.com/darkskyapp/string-hash/blob/master/index.js\nfunction hash(str) {\n let hash = 5381;\n let i = str.length;\n while (i--)\n hash = ((hash << 5) - hash) ^ str.charCodeAt(i);\n return hash >>> 0;\n}\nfunction create_style_information(doc, node) {\n const info = { stylesheet: append_empty_stylesheet(node), rules: {} };\n managed_styles.set(doc, info);\n return info;\n}\nfunction create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {\n const step = 16.666 / duration;\n let keyframes = '{\\n';\n for (let p = 0; p <= 1; p += step) {\n const t = a + (b - a) * ease(p);\n keyframes += p * 100 + `%{${fn(t, 1 - t)}}\\n`;\n }\n const rule = keyframes + `100% {${fn(b, 1 - b)}}\\n}`;\n const name = `__svelte_${hash(rule)}_${uid}`;\n const doc = get_root_for_style(node);\n const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);\n if (!rules[name]) {\n rules[name] = true;\n stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);\n }\n const animation = node.style.animation || '';\n node.style.animation = `${animation ? `${animation}, ` : ''}${name} ${duration}ms linear ${delay}ms 1 both`;\n active += 1;\n return name;\n}\nfunction delete_rule(node, name) {\n const previous = (node.style.animation || '').split(', ');\n const next = previous.filter(name\n ? anim => anim.indexOf(name) < 0 // remove specific animation\n : anim => anim.indexOf('__svelte') === -1 // remove all Svelte animations\n );\n const deleted = previous.length - next.length;\n if (deleted) {\n node.style.animation = next.join(', ');\n active -= deleted;\n if (!active)\n clear_rules();\n }\n}\nfunction clear_rules() {\n raf(() => {\n if (active)\n return;\n managed_styles.forEach(info => {\n const { stylesheet } = info;\n let i = stylesheet.cssRules.length;\n while (i--)\n stylesheet.deleteRule(i);\n info.rules = {};\n });\n managed_styles.clear();\n });\n}\n\nfunction create_animation(node, from, fn, params) {\n if (!from)\n return noop;\n const to = node.getBoundingClientRect();\n if (from.left === to.left && from.right === to.right && from.top === to.top && from.bottom === to.bottom)\n return noop;\n const { delay = 0, duration = 300, easing = identity, \n // @ts-ignore todo: should this be separated from destructuring? Or start/end added to public api and documentation?\n start: start_time = now() + delay, \n // @ts-ignore todo:\n end = start_time + duration, tick = noop, css } = fn(node, { from, to }, params);\n let running = true;\n let started = false;\n let name;\n function start() {\n if (css) {\n name = create_rule(node, 0, 1, duration, delay, easing, css);\n }\n if (!delay) {\n started = true;\n }\n }\n function stop() {\n if (css)\n delete_rule(node, name);\n running = false;\n }\n loop(now => {\n if (!started && now >= start_time) {\n started = true;\n }\n if (started && now >= end) {\n tick(1, 0);\n stop();\n }\n if (!running) {\n return false;\n }\n if (started) {\n const p = now - start_time;\n const t = 0 + 1 * easing(p / duration);\n tick(t, 1 - t);\n }\n return true;\n });\n start();\n tick(0, 1);\n return stop;\n}\nfunction fix_position(node) {\n const style = getComputedStyle(node);\n if (style.position !== 'absolute' && style.position !== 'fixed') {\n const { width, height } = style;\n const a = node.getBoundingClientRect();\n node.style.position = 'absolute';\n node.style.width = width;\n node.style.height = height;\n add_transform(node, a);\n }\n}\nfunction add_transform(node, a) {\n const b = node.getBoundingClientRect();\n if (a.left !== b.left || a.top !== b.top) {\n const style = getComputedStyle(node);\n const transform = style.transform === 'none' ? '' : style.transform;\n node.style.transform = `${transform} translate(${a.left - b.left}px, ${a.top - b.top}px)`;\n }\n}\n\nlet current_component;\nfunction set_current_component(component) {\n current_component = component;\n}\nfunction get_current_component() {\n if (!current_component)\n throw new Error('Function called outside component initialization');\n return current_component;\n}\nfunction beforeUpdate(fn) {\n get_current_component().$$.before_update.push(fn);\n}\nfunction onMount(fn) {\n get_current_component().$$.on_mount.push(fn);\n}\nfunction afterUpdate(fn) {\n get_current_component().$$.after_update.push(fn);\n}\nfunction onDestroy(fn) {\n get_current_component().$$.on_destroy.push(fn);\n}\nfunction createEventDispatcher() {\n const component = get_current_component();\n return (type, detail) => {\n const callbacks = component.$$.callbacks[type];\n if (callbacks) {\n // TODO are there situations where events could be dispatched\n // in a server (non-DOM) environment?\n const event = custom_event(type, detail);\n callbacks.slice().forEach(fn => {\n fn.call(component, event);\n });\n }\n };\n}\nfunction setContext(key, context) {\n get_current_component().$$.context.set(key, context);\n}\nfunction getContext(key) {\n return get_current_component().$$.context.get(key);\n}\nfunction getAllContexts() {\n return get_current_component().$$.context;\n}\nfunction hasContext(key) {\n return get_current_component().$$.context.has(key);\n}\n// TODO figure out if we still want to support\n// shorthand events, or if we want to implement\n// a real bubbling mechanism\nfunction bubble(component, event) {\n const callbacks = component.$$.callbacks[event.type];\n if (callbacks) {\n // @ts-ignore\n callbacks.slice().forEach(fn => fn.call(this, event));\n }\n}\n\nconst dirty_components = [];\nconst intros = { enabled: false };\nconst binding_callbacks = [];\nconst render_callbacks = [];\nconst flush_callbacks = [];\nconst resolved_promise = Promise.resolve();\nlet update_scheduled = false;\nfunction schedule_update() {\n if (!update_scheduled) {\n update_scheduled = true;\n resolved_promise.then(flush);\n }\n}\nfunction tick() {\n schedule_update();\n return resolved_promise;\n}\nfunction add_render_callback(fn) {\n render_callbacks.push(fn);\n}\nfunction add_flush_callback(fn) {\n flush_callbacks.push(fn);\n}\n// flush() calls callbacks in this order:\n// 1. All beforeUpdate callbacks, in order: parents before children\n// 2. All bind:this callbacks, in reverse order: children before parents.\n// 3. All afterUpdate callbacks, in order: parents before children. EXCEPT\n// for afterUpdates called during the initial onMount, which are called in\n// reverse order: children before parents.\n// Since callbacks might update component values, which could trigger another\n// call to flush(), the following steps guard against this:\n// 1. During beforeUpdate, any updated components will be added to the\n// dirty_components array and will cause a reentrant call to flush(). Because\n// the flush index is kept outside the function, the reentrant call will pick\n// up where the earlier call left off and go through all dirty components. The\n// current_component value is saved and restored so that the reentrant call will\n// not interfere with the \"parent\" flush() call.\n// 2. bind:this callbacks cannot trigger new flush() calls.\n// 3. During afterUpdate, any updated components will NOT have their afterUpdate\n// callback called a second time; the seen_callbacks set, outside the flush()\n// function, guarantees this behavior.\nconst seen_callbacks = new Set();\nlet flushidx = 0; // Do *not* move this inside the flush() function\nfunction flush() {\n const saved_component = current_component;\n do {\n // first, call beforeUpdate functions\n // and update components\n while (flushidx < dirty_components.length) {\n const component = dirty_components[flushidx];\n flushidx++;\n set_current_component(component);\n update(component.$$);\n }\n set_current_component(null);\n dirty_components.length = 0;\n flushidx = 0;\n while (binding_callbacks.length)\n binding_callbacks.pop()();\n // then, once components are updated, call\n // afterUpdate functions. This may cause\n // subsequent updates...\n for (let i = 0; i < render_callbacks.length; i += 1) {\n const callback = render_callbacks[i];\n if (!seen_callbacks.has(callback)) {\n // ...so guard against infinite loops\n seen_callbacks.add(callback);\n callback();\n }\n }\n render_callbacks.length = 0;\n } while (dirty_components.length);\n while (flush_callbacks.length) {\n flush_callbacks.pop()();\n }\n update_scheduled = false;\n seen_callbacks.clear();\n set_current_component(saved_component);\n}\nfunction update($$) {\n if ($$.fragment !== null) {\n $$.update();\n run_all($$.before_update);\n const dirty = $$.dirty;\n $$.dirty = [-1];\n $$.fragment && $$.fragment.p($$.ctx, dirty);\n $$.after_update.forEach(add_render_callback);\n }\n}\n\nlet promise;\nfunction wait() {\n if (!promise) {\n promise = Promise.resolve();\n promise.then(() => {\n promise = null;\n });\n }\n return promise;\n}\nfunction dispatch(node, direction, kind) {\n node.dispatchEvent(custom_event(`${direction ? 'intro' : 'outro'}${kind}`));\n}\nconst outroing = new Set();\nlet outros;\nfunction group_outros() {\n outros = {\n r: 0,\n c: [],\n p: outros // parent group\n };\n}\nfunction check_outros() {\n if (!outros.r) {\n run_all(outros.c);\n }\n outros = outros.p;\n}\nfunction transition_in(block, local) {\n if (block && block.i) {\n outroing.delete(block);\n block.i(local);\n }\n}\nfunction transition_out(block, local, detach, callback) {\n if (block && block.o) {\n if (outroing.has(block))\n return;\n outroing.add(block);\n outros.c.push(() => {\n outroing.delete(block);\n if (callback) {\n if (detach)\n block.d(1);\n callback();\n }\n });\n block.o(local);\n }\n}\nconst null_transition = { duration: 0 };\nfunction create_in_transition(node, fn, params) {\n let config = fn(node, params);\n let running = false;\n let animation_name;\n let task;\n let uid = 0;\n function cleanup() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);\n tick(0, 1);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n if (task)\n task.abort();\n running = true;\n add_render_callback(() => dispatch(node, true, 'start'));\n task = loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(1, 0);\n dispatch(node, true, 'end');\n cleanup();\n return running = false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(t, 1 - t);\n }\n }\n return running;\n });\n }\n let started = false;\n return {\n start() {\n if (started)\n return;\n started = true;\n delete_rule(node);\n if (is_function(config)) {\n config = config();\n wait().then(go);\n }\n else {\n go();\n }\n },\n invalidate() {\n started = false;\n },\n end() {\n if (running) {\n cleanup();\n running = false;\n }\n }\n };\n}\nfunction create_out_transition(node, fn, params) {\n let config = fn(node, params);\n let running = true;\n let animation_name;\n const group = outros;\n group.r += 1;\n function go() {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n if (css)\n animation_name = create_rule(node, 1, 0, duration, delay, easing, css);\n const start_time = now() + delay;\n const end_time = start_time + duration;\n add_render_callback(() => dispatch(node, false, 'start'));\n loop(now => {\n if (running) {\n if (now >= end_time) {\n tick(0, 1);\n dispatch(node, false, 'end');\n if (!--group.r) {\n // this will result in `end()` being called,\n // so we don't need to clean up here\n run_all(group.c);\n }\n return false;\n }\n if (now >= start_time) {\n const t = easing((now - start_time) / duration);\n tick(1 - t, t);\n }\n }\n return running;\n });\n }\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go();\n });\n }\n else {\n go();\n }\n return {\n end(reset) {\n if (reset && config.tick) {\n config.tick(1, 0);\n }\n if (running) {\n if (animation_name)\n delete_rule(node, animation_name);\n running = false;\n }\n }\n };\n}\nfunction create_bidirectional_transition(node, fn, params, intro) {\n let config = fn(node, params);\n let t = intro ? 0 : 1;\n let running_program = null;\n let pending_program = null;\n let animation_name = null;\n function clear_animation() {\n if (animation_name)\n delete_rule(node, animation_name);\n }\n function init(program, duration) {\n const d = (program.b - t);\n duration *= Math.abs(d);\n return {\n a: t,\n b: program.b,\n d,\n duration,\n start: program.start,\n end: program.start + duration,\n group: program.group\n };\n }\n function go(b) {\n const { delay = 0, duration = 300, easing = identity, tick = noop, css } = config || null_transition;\n const program = {\n start: now() + delay,\n b\n };\n if (!b) {\n // @ts-ignore todo: improve typings\n program.group = outros;\n outros.r += 1;\n }\n if (running_program || pending_program) {\n pending_program = program;\n }\n else {\n // if this is an intro, and there's a delay, we need to do\n // an initial tick and/or apply CSS animation immediately\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, b, duration, delay, easing, css);\n }\n if (b)\n tick(0, 1);\n running_program = init(program, duration);\n add_render_callback(() => dispatch(node, b, 'start'));\n loop(now => {\n if (pending_program && now > pending_program.start) {\n running_program = init(pending_program, duration);\n pending_program = null;\n dispatch(node, running_program.b, 'start');\n if (css) {\n clear_animation();\n animation_name = create_rule(node, t, running_program.b, running_program.duration, 0, easing, config.css);\n }\n }\n if (running_program) {\n if (now >= running_program.end) {\n tick(t = running_program.b, 1 - t);\n dispatch(node, running_program.b, 'end');\n if (!pending_program) {\n // we're done\n if (running_program.b) {\n // intro — we can tidy up immediately\n clear_animation();\n }\n else {\n // outro — needs to be coordinated\n if (!--running_program.group.r)\n run_all(running_program.group.c);\n }\n }\n running_program = null;\n }\n else if (now >= running_program.start) {\n const p = now - running_program.start;\n t = running_program.a + running_program.d * easing(p / running_program.duration);\n tick(t, 1 - t);\n }\n }\n return !!(running_program || pending_program);\n });\n }\n }\n return {\n run(b) {\n if (is_function(config)) {\n wait().then(() => {\n // @ts-ignore\n config = config();\n go(b);\n });\n }\n else {\n go(b);\n }\n },\n end() {\n clear_animation();\n running_program = pending_program = null;\n }\n };\n}\n\nfunction handle_promise(promise, info) {\n const token = info.token = {};\n function update(type, index, key, value) {\n if (info.token !== token)\n return;\n info.resolved = value;\n let child_ctx = info.ctx;\n if (key !== undefined) {\n child_ctx = child_ctx.slice();\n child_ctx[key] = value;\n }\n const block = type && (info.current = type)(child_ctx);\n let needs_flush = false;\n if (info.block) {\n if (info.blocks) {\n info.blocks.forEach((block, i) => {\n if (i !== index && block) {\n group_outros();\n transition_out(block, 1, 1, () => {\n if (info.blocks[i] === block) {\n info.blocks[i] = null;\n }\n });\n check_outros();\n }\n });\n }\n else {\n info.block.d(1);\n }\n block.c();\n transition_in(block, 1);\n block.m(info.mount(), info.anchor);\n needs_flush = true;\n }\n info.block = block;\n if (info.blocks)\n info.blocks[index] = block;\n if (needs_flush) {\n flush();\n }\n }\n if (is_promise(promise)) {\n const current_component = get_current_component();\n promise.then(value => {\n set_current_component(current_component);\n update(info.then, 1, info.value, value);\n set_current_component(null);\n }, error => {\n set_current_component(current_component);\n update(info.catch, 2, info.error, error);\n set_current_component(null);\n if (!info.hasCatch) {\n throw error;\n }\n });\n // if we previously had a then/catch block, destroy it\n if (info.current !== info.pending) {\n update(info.pending, 0);\n return true;\n }\n }\n else {\n if (info.current !== info.then) {\n update(info.then, 1, info.value, promise);\n return true;\n }\n info.resolved = promise;\n }\n}\nfunction update_await_block_branch(info, ctx, dirty) {\n const child_ctx = ctx.slice();\n const { resolved } = info;\n if (info.current === info.then) {\n child_ctx[info.value] = resolved;\n }\n if (info.current === info.catch) {\n child_ctx[info.error] = resolved;\n }\n info.block.p(child_ctx, dirty);\n}\n\nconst globals = (typeof window !== 'undefined'\n ? window\n : typeof globalThis !== 'undefined'\n ? globalThis\n : global);\n\nfunction destroy_block(block, lookup) {\n block.d(1);\n lookup.delete(block.key);\n}\nfunction outro_and_destroy_block(block, lookup) {\n transition_out(block, 1, 1, () => {\n lookup.delete(block.key);\n });\n}\nfunction fix_and_destroy_block(block, lookup) {\n block.f();\n destroy_block(block, lookup);\n}\nfunction fix_and_outro_and_destroy_block(block, lookup) {\n block.f();\n outro_and_destroy_block(block, lookup);\n}\nfunction update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {\n let o = old_blocks.length;\n let n = list.length;\n let i = o;\n const old_indexes = {};\n while (i--)\n old_indexes[old_blocks[i].key] = i;\n const new_blocks = [];\n const new_lookup = new Map();\n const deltas = new Map();\n i = n;\n while (i--) {\n const child_ctx = get_context(ctx, list, i);\n const key = get_key(child_ctx);\n let block = lookup.get(key);\n if (!block) {\n block = create_each_block(key, child_ctx);\n block.c();\n }\n else if (dynamic) {\n block.p(child_ctx, dirty);\n }\n new_lookup.set(key, new_blocks[i] = block);\n if (key in old_indexes)\n deltas.set(key, Math.abs(i - old_indexes[key]));\n }\n const will_move = new Set();\n const did_move = new Set();\n function insert(block) {\n transition_in(block, 1);\n block.m(node, next);\n lookup.set(block.key, block);\n next = block.first;\n n--;\n }\n while (o && n) {\n const new_block = new_blocks[n - 1];\n const old_block = old_blocks[o - 1];\n const new_key = new_block.key;\n const old_key = old_block.key;\n if (new_block === old_block) {\n // do nothing\n next = new_block.first;\n o--;\n n--;\n }\n else if (!new_lookup.has(old_key)) {\n // remove old block\n destroy(old_block, lookup);\n o--;\n }\n else if (!lookup.has(new_key) || will_move.has(new_key)) {\n insert(new_block);\n }\n else if (did_move.has(old_key)) {\n o--;\n }\n else if (deltas.get(new_key) > deltas.get(old_key)) {\n did_move.add(new_key);\n insert(new_block);\n }\n else {\n will_move.add(old_key);\n o--;\n }\n }\n while (o--) {\n const old_block = old_blocks[o];\n if (!new_lookup.has(old_block.key))\n destroy(old_block, lookup);\n }\n while (n)\n insert(new_blocks[n - 1]);\n return new_blocks;\n}\nfunction validate_each_keys(ctx, list, get_context, get_key) {\n const keys = new Set();\n for (let i = 0; i < list.length; i++) {\n const key = get_key(get_context(ctx, list, i));\n if (keys.has(key)) {\n throw new Error('Cannot have duplicate keys in a keyed each');\n }\n keys.add(key);\n }\n}\n\nfunction get_spread_update(levels, updates) {\n const update = {};\n const to_null_out = {};\n const accounted_for = { $$scope: 1 };\n let i = levels.length;\n while (i--) {\n const o = levels[i];\n const n = updates[i];\n if (n) {\n for (const key in o) {\n if (!(key in n))\n to_null_out[key] = 1;\n }\n for (const key in n) {\n if (!accounted_for[key]) {\n update[key] = n[key];\n accounted_for[key] = 1;\n }\n }\n levels[i] = n;\n }\n else {\n for (const key in o) {\n accounted_for[key] = 1;\n }\n }\n }\n for (const key in to_null_out) {\n if (!(key in update))\n update[key] = undefined;\n }\n return update;\n}\nfunction get_spread_object(spread_props) {\n return typeof spread_props === 'object' && spread_props !== null ? spread_props : {};\n}\n\n// source: https://html.spec.whatwg.org/multipage/indices.html\nconst boolean_attributes = new Set([\n 'allowfullscreen',\n 'allowpaymentrequest',\n 'async',\n 'autofocus',\n 'autoplay',\n 'checked',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'formnovalidate',\n 'hidden',\n 'ismap',\n 'loop',\n 'multiple',\n 'muted',\n 'nomodule',\n 'novalidate',\n 'open',\n 'playsinline',\n 'readonly',\n 'required',\n 'reversed',\n 'selected'\n]);\n\nconst invalid_attribute_name_character = /[\\s'\">/=\\u{FDD0}-\\u{FDEF}\\u{FFFE}\\u{FFFF}\\u{1FFFE}\\u{1FFFF}\\u{2FFFE}\\u{2FFFF}\\u{3FFFE}\\u{3FFFF}\\u{4FFFE}\\u{4FFFF}\\u{5FFFE}\\u{5FFFF}\\u{6FFFE}\\u{6FFFF}\\u{7FFFE}\\u{7FFFF}\\u{8FFFE}\\u{8FFFF}\\u{9FFFE}\\u{9FFFF}\\u{AFFFE}\\u{AFFFF}\\u{BFFFE}\\u{BFFFF}\\u{CFFFE}\\u{CFFFF}\\u{DFFFE}\\u{DFFFF}\\u{EFFFE}\\u{EFFFF}\\u{FFFFE}\\u{FFFFF}\\u{10FFFE}\\u{10FFFF}]/u;\n// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n// https://infra.spec.whatwg.org/#noncharacter\nfunction spread(args, attrs_to_add) {\n const attributes = Object.assign({}, ...args);\n if (attrs_to_add) {\n const classes_to_add = attrs_to_add.classes;\n const styles_to_add = attrs_to_add.styles;\n if (classes_to_add) {\n if (attributes.class == null) {\n attributes.class = classes_to_add;\n }\n else {\n attributes.class += ' ' + classes_to_add;\n }\n }\n if (styles_to_add) {\n if (attributes.style == null) {\n attributes.style = style_object_to_string(styles_to_add);\n }\n else {\n attributes.style = style_object_to_string(merge_ssr_styles(attributes.style, styles_to_add));\n }\n }\n }\n let str = '';\n Object.keys(attributes).forEach(name => {\n if (invalid_attribute_name_character.test(name))\n return;\n const value = attributes[name];\n if (value === true)\n str += ' ' + name;\n else if (boolean_attributes.has(name.toLowerCase())) {\n if (value)\n str += ' ' + name;\n }\n else if (value != null) {\n str += ` ${name}=\"${value}\"`;\n }\n });\n return str;\n}\nfunction merge_ssr_styles(style_attribute, style_directive) {\n const style_object = {};\n for (const individual_style of style_attribute.split(';')) {\n const colon_index = individual_style.indexOf(':');\n const name = individual_style.slice(0, colon_index).trim();\n const value = individual_style.slice(colon_index + 1).trim();\n if (!name)\n continue;\n style_object[name] = value;\n }\n for (const name in style_directive) {\n const value = style_directive[name];\n if (value) {\n style_object[name] = value;\n }\n else {\n delete style_object[name];\n }\n }\n return style_object;\n}\nconst escaped = {\n '\"': '"',\n \"'\": ''',\n '&': '&',\n '<': '<',\n '>': '>'\n};\nfunction escape(html) {\n return String(html).replace(/[\"'&<>]/g, match => escaped[match]);\n}\nfunction escape_attribute_value(value) {\n return typeof value === 'string' ? escape(value) : value;\n}\nfunction escape_object(obj) {\n const result = {};\n for (const key in obj) {\n result[key] = escape_attribute_value(obj[key]);\n }\n return result;\n}\nfunction each(items, fn) {\n let str = '';\n for (let i = 0; i < items.length; i += 1) {\n str += fn(items[i], i);\n }\n return str;\n}\nconst missing_component = {\n $$render: () => ''\n};\nfunction validate_component(component, name) {\n if (!component || !component.$$render) {\n if (name === 'svelte:component')\n name += ' this={...}';\n throw new Error(`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules`);\n }\n return component;\n}\nfunction debug(file, line, column, values) {\n console.log(`{@debug} ${file ? file + ' ' : ''}(${line}:${column})`); // eslint-disable-line no-console\n console.log(values); // eslint-disable-line no-console\n return '';\n}\nlet on_destroy;\nfunction create_ssr_component(fn) {\n function $$render(result, props, bindings, slots, context) {\n const parent_component = current_component;\n const $$ = {\n on_destroy,\n context: new Map(context || (parent_component ? parent_component.$$.context : [])),\n // these will be immediately discarded\n on_mount: [],\n before_update: [],\n after_update: [],\n callbacks: blank_object()\n };\n set_current_component({ $$ });\n const html = fn(result, props, bindings, slots);\n set_current_component(parent_component);\n return html;\n }\n return {\n render: (props = {}, { $$slots = {}, context = new Map() } = {}) => {\n on_destroy = [];\n const result = { title: '', head: '', css: new Set() };\n const html = $$render(result, props, {}, $$slots, context);\n run_all(on_destroy);\n return {\n html,\n css: {\n code: Array.from(result.css).map(css => css.code).join('\\n'),\n map: null // TODO\n },\n head: result.title + result.head\n };\n },\n $$render\n };\n}\nfunction add_attribute(name, value, boolean) {\n if (value == null || (boolean && !value))\n return '';\n const assignment = (boolean && value === true) ? '' : `=\"${escape_attribute_value(value.toString())}\"`;\n return ` ${name}${assignment}`;\n}\nfunction add_classes(classes) {\n return classes ? ` class=\"${classes}\"` : '';\n}\nfunction style_object_to_string(style_object) {\n return Object.keys(style_object)\n .filter(key => style_object[key])\n .map(key => `${key}: ${style_object[key]};`)\n .join(' ');\n}\nfunction add_styles(style_object) {\n const styles = style_object_to_string(style_object);\n return styles ? ` style=\"${styles}\"` : '';\n}\n\nfunction bind(component, name, callback) {\n const index = component.$$.props[name];\n if (index !== undefined) {\n component.$$.bound[index] = callback;\n callback(component.$$.ctx[index]);\n }\n}\nfunction create_component(block) {\n block && block.c();\n}\nfunction claim_component(block, parent_nodes) {\n block && block.l(parent_nodes);\n}\nfunction mount_component(component, target, anchor, customElement) {\n const { fragment, on_mount, on_destroy, after_update } = component.$$;\n fragment && fragment.m(target, anchor);\n if (!customElement) {\n // onMount happens before the initial afterUpdate\n add_render_callback(() => {\n const new_on_destroy = on_mount.map(run).filter(is_function);\n if (on_destroy) {\n on_destroy.push(...new_on_destroy);\n }\n else {\n // Edge case - component was destroyed immediately,\n // most likely as a result of a binding initialising\n run_all(new_on_destroy);\n }\n component.$$.on_mount = [];\n });\n }\n after_update.forEach(add_render_callback);\n}\nfunction destroy_component(component, detaching) {\n const $$ = component.$$;\n if ($$.fragment !== null) {\n run_all($$.on_destroy);\n $$.fragment && $$.fragment.d(detaching);\n // TODO null out other refs, including component.$$ (but need to\n // preserve final state?)\n $$.on_destroy = $$.fragment = null;\n $$.ctx = [];\n }\n}\nfunction make_dirty(component, i) {\n if (component.$$.dirty[0] === -1) {\n dirty_components.push(component);\n schedule_update();\n component.$$.dirty.fill(0);\n }\n component.$$.dirty[(i / 31) | 0] |= (1 << (i % 31));\n}\nfunction init(component, options, instance, create_fragment, not_equal, props, append_styles, dirty = [-1]) {\n const parent_component = current_component;\n set_current_component(component);\n const $$ = component.$$ = {\n fragment: null,\n ctx: null,\n // state\n props,\n update: noop,\n not_equal,\n bound: blank_object(),\n // lifecycle\n on_mount: [],\n on_destroy: [],\n on_disconnect: [],\n before_update: [],\n after_update: [],\n context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),\n // everything else\n callbacks: blank_object(),\n dirty,\n skip_bound: false,\n root: options.target || parent_component.$$.root\n };\n append_styles && append_styles($$.root);\n let ready = false;\n $$.ctx = instance\n ? instance(component, options.props || {}, (i, ret, ...rest) => {\n const value = rest.length ? rest[0] : ret;\n if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {\n if (!$$.skip_bound && $$.bound[i])\n $$.bound[i](value);\n if (ready)\n make_dirty(component, i);\n }\n return ret;\n })\n : [];\n $$.update();\n ready = true;\n run_all($$.before_update);\n // `false` as a special case of no DOM component\n $$.fragment = create_fragment ? create_fragment($$.ctx) : false;\n if (options.target) {\n if (options.hydrate) {\n start_hydrating();\n const nodes = children(options.target);\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.l(nodes);\n nodes.forEach(detach);\n }\n else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n $$.fragment && $$.fragment.c();\n }\n if (options.intro)\n transition_in(component.$$.fragment);\n mount_component(component, options.target, options.anchor, options.customElement);\n end_hydrating();\n flush();\n }\n set_current_component(parent_component);\n}\nlet SvelteElement;\nif (typeof HTMLElement === 'function') {\n SvelteElement = class extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: 'open' });\n }\n connectedCallback() {\n const { on_mount } = this.$$;\n this.$$.on_disconnect = on_mount.map(run).filter(is_function);\n // @ts-ignore todo: improve typings\n for (const key in this.$$.slotted) {\n // @ts-ignore todo: improve typings\n this.appendChild(this.$$.slotted[key]);\n }\n }\n attributeChangedCallback(attr, _oldValue, newValue) {\n this[attr] = newValue;\n }\n disconnectedCallback() {\n run_all(this.$$.on_disconnect);\n }\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n // TODO should this delegate to addEventListener?\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n };\n}\n/**\n * Base class for Svelte components. Used when dev=false.\n */\nclass SvelteComponent {\n $destroy() {\n destroy_component(this, 1);\n this.$destroy = noop;\n }\n $on(type, callback) {\n const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));\n callbacks.push(callback);\n return () => {\n const index = callbacks.indexOf(callback);\n if (index !== -1)\n callbacks.splice(index, 1);\n };\n }\n $set($$props) {\n if (this.$$set && !is_empty($$props)) {\n this.$$.skip_bound = true;\n this.$$set($$props);\n this.$$.skip_bound = false;\n }\n }\n}\n\nfunction dispatch_dev(type, detail) {\n document.dispatchEvent(custom_event(type, Object.assign({ version: '3.47.0' }, detail), true));\n}\nfunction append_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append(target, node);\n}\nfunction append_hydration_dev(target, node) {\n dispatch_dev('SvelteDOMInsert', { target, node });\n append_hydration(target, node);\n}\nfunction insert_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert(target, node, anchor);\n}\nfunction insert_hydration_dev(target, node, anchor) {\n dispatch_dev('SvelteDOMInsert', { target, node, anchor });\n insert_hydration(target, node, anchor);\n}\nfunction detach_dev(node) {\n dispatch_dev('SvelteDOMRemove', { node });\n detach(node);\n}\nfunction detach_between_dev(before, after) {\n while (before.nextSibling && before.nextSibling !== after) {\n detach_dev(before.nextSibling);\n }\n}\nfunction detach_before_dev(after) {\n while (after.previousSibling) {\n detach_dev(after.previousSibling);\n }\n}\nfunction detach_after_dev(before) {\n while (before.nextSibling) {\n detach_dev(before.nextSibling);\n }\n}\nfunction listen_dev(node, event, handler, options, has_prevent_default, has_stop_propagation) {\n const modifiers = options === true ? ['capture'] : options ? Array.from(Object.keys(options)) : [];\n if (has_prevent_default)\n modifiers.push('preventDefault');\n if (has_stop_propagation)\n modifiers.push('stopPropagation');\n dispatch_dev('SvelteDOMAddEventListener', { node, event, handler, modifiers });\n const dispose = listen(node, event, handler, options);\n return () => {\n dispatch_dev('SvelteDOMRemoveEventListener', { node, event, handler, modifiers });\n dispose();\n };\n}\nfunction attr_dev(node, attribute, value) {\n attr(node, attribute, value);\n if (value == null)\n dispatch_dev('SvelteDOMRemoveAttribute', { node, attribute });\n else\n dispatch_dev('SvelteDOMSetAttribute', { node, attribute, value });\n}\nfunction prop_dev(node, property, value) {\n node[property] = value;\n dispatch_dev('SvelteDOMSetProperty', { node, property, value });\n}\nfunction dataset_dev(node, property, value) {\n node.dataset[property] = value;\n dispatch_dev('SvelteDOMSetDataset', { node, property, value });\n}\nfunction set_data_dev(text, data) {\n data = '' + data;\n if (text.wholeText === data)\n return;\n dispatch_dev('SvelteDOMSetData', { node: text, data });\n text.data = data;\n}\nfunction validate_each_argument(arg) {\n if (typeof arg !== 'string' && !(arg && typeof arg === 'object' && 'length' in arg)) {\n let msg = '{#each} only iterates over array-like objects.';\n if (typeof Symbol === 'function' && arg && Symbol.iterator in arg) {\n msg += ' You can use a spread to convert this iterable into an array.';\n }\n throw new Error(msg);\n }\n}\nfunction validate_slots(name, slot, keys) {\n for (const slot_key of Object.keys(slot)) {\n if (!~keys.indexOf(slot_key)) {\n console.warn(`<${name}> received an unexpected slot \"${slot_key}\".`);\n }\n }\n}\nfunction validate_dynamic_element(tag) {\n if (tag && typeof tag !== 'string') {\n throw new Error('<svelte:element> expects \"this\" attribute to be a string.');\n }\n}\n/**\n * Base class for Svelte components with some minor dev-enhancements. Used when dev=true.\n */\nclass SvelteComponentDev extends SvelteComponent {\n constructor(options) {\n if (!options || (!options.target && !options.$$inline)) {\n throw new Error(\"'target' is a required option\");\n }\n super();\n }\n $destroy() {\n super.$destroy();\n this.$destroy = () => {\n console.warn('Component was already destroyed'); // eslint-disable-line no-console\n };\n }\n $capture_state() { }\n $inject_state() { }\n}\n/**\n * Base class to create strongly typed Svelte components.\n * This only exists for typing purposes and should be used in `.d.ts` files.\n *\n * ### Example:\n *\n * You have component library on npm called `component-library`, from which\n * you export a component called `MyComponent`. For Svelte+TypeScript users,\n * you want to provide typings. Therefore you create a `index.d.ts`:\n * ```ts\n * import { SvelteComponentTyped } from \"svelte\";\n * export class MyComponent extends SvelteComponentTyped<{foo: string}> {}\n * ```\n * Typing this makes it possible for IDEs like VS Code with the Svelte extension\n * to provide intellisense and to use the component like this in a Svelte file\n * with TypeScript:\n * ```svelte\n * <script lang=\"ts\">\n * \timport { MyComponent } from \"component-library\";\n * </script>\n * <MyComponent foo={'bar'} />\n * ```\n *\n * #### Why not make this part of `SvelteComponent(Dev)`?\n * Because\n * ```ts\n * class ASubclassOfSvelteComponent extends SvelteComponent<{foo: string}> {}\n * const component: typeof SvelteComponent = ASubclassOfSvelteComponent;\n * ```\n * will throw a type error, so we need to separate the more strictly typed class.\n */\nclass SvelteComponentTyped extends SvelteComponentDev {\n constructor(options) {\n super(options);\n }\n}\nfunction loop_guard(timeout) {\n const start = Date.now();\n return () => {\n if (Date.now() - start > timeout) {\n throw new Error('Infinite loop detected');\n }\n };\n}\n\nexport { HtmlTag, HtmlTagHydration, SvelteComponent, SvelteComponentDev, SvelteComponentTyped, SvelteElement, action_destroyer, add_attribute, add_classes, add_flush_callback, add_location, add_render_callback, add_resize_listener, add_styles, add_transform, afterUpdate, append, append_dev, append_empty_stylesheet, append_hydration, append_hydration_dev, append_styles, assign, attr, attr_dev, attribute_to_object, beforeUpdate, bind, binding_callbacks, blank_object, bubble, check_outros, children, claim_component, claim_element, claim_html_tag, claim_space, claim_svg_element, claim_text, clear_loops, component_subscribe, compute_rest_props, compute_slots, createEventDispatcher, create_animation, create_bidirectional_transition, create_component, create_in_transition, create_out_transition, create_slot, create_ssr_component, current_component, custom_event, dataset_dev, debug, destroy_block, destroy_component, destroy_each, detach, detach_after_dev, detach_before_dev, detach_between_dev, detach_dev, dirty_components, dispatch_dev, each, element, element_is, empty, end_hydrating, escape, escape_attribute_value, escape_object, escaped, exclude_internal_props, fix_and_destroy_block, fix_and_outro_and_destroy_block, fix_position, flush, getAllContexts, getContext, get_all_dirty_from_scope, get_binding_group_value, get_current_component, get_custom_elements_slots, get_root_for_style, get_slot_changes, get_spread_object, get_spread_update, get_store_value, globals, group_outros, handle_promise, hasContext, has_prop, identity, init, insert, insert_dev, insert_hydration, insert_hydration_dev, intros, invalid_attribute_name_character, is_client, is_crossorigin, is_empty, is_function, is_promise, listen, listen_dev, loop, loop_guard, merge_ssr_styles, missing_component, mount_component, noop, not_equal, now, null_to_empty, object_without_properties, onDestroy, onMount, once, outro_and_destroy_block, prevent_default, prop_dev, query_selector_all, raf, run, run_all, safe_not_equal, schedule_update, select_multiple_value, select_option, select_options, select_value, self, setContext, set_attributes, set_current_component, set_custom_element_data, set_data, set_data_dev, set_input_type, set_input_value, set_now, set_raf, set_store_value, set_style, set_svg_attributes, space, spread, src_url_equal, start_hydrating, stop_propagation, subscribe, svg_element, text, tick, time_ranges_to_array, to_number, toggle_class, transition_in, transition_out, trusted, update_await_block_branch, update_keyed_each, update_slot, update_slot_base, validate_component, validate_dynamic_element, validate_each_argument, validate_each_keys, validate_slots, validate_store, xlink_attr };\n","module.exports = require(\"core-js-pure/features/is-iterable\");","import { noop, safe_not_equal, subscribe, run_all, is_function } from '../internal/index.mjs';\nexport { get_store_value as get } from '../internal/index.mjs';\n\nconst subscriber_queue = [];\n/**\n * Creates a `Readable` store that allows reading by subscription.\n * @param value initial value\n * @param {StartStopNotifier}start start and stop notifications for subscriptions\n */\nfunction readable(value, start) {\n return {\n subscribe: writable(value, start).subscribe\n };\n}\n/**\n * Create a `Writable` store that allows both updating and reading by subscription.\n * @param {*=}value initial value\n * @param {StartStopNotifier=}start start and stop notifications for subscriptions\n */\nfunction writable(value, start = noop) {\n let stop;\n const subscribers = new Set();\n function set(new_value) {\n if (safe_not_equal(value, new_value)) {\n value = new_value;\n if (stop) { // store is ready\n const run_queue = !subscriber_queue.length;\n for (const subscriber of subscribers) {\n subscriber[1]();\n subscriber_queue.push(subscriber, value);\n }\n if (run_queue) {\n for (let i = 0; i < subscriber_queue.length; i += 2) {\n subscriber_queue[i][0](subscriber_queue[i + 1]);\n }\n subscriber_queue.length = 0;\n }\n }\n }\n }\n function update(fn) {\n set(fn(value));\n }\n function subscribe(run, invalidate = noop) {\n const subscriber = [run, invalidate];\n subscribers.add(subscriber);\n if (subscribers.size === 1) {\n stop = start(set) || noop;\n }\n run(value);\n return () => {\n subscribers.delete(subscriber);\n if (subscribers.size === 0) {\n stop();\n stop = null;\n }\n };\n }\n return { set, update, subscribe };\n}\nfunction derived(stores, fn, initial_value) {\n const single = !Array.isArray(stores);\n const stores_array = single\n ? [stores]\n : stores;\n const auto = fn.length < 2;\n return readable(initial_value, (set) => {\n let inited = false;\n const values = [];\n let pending = 0;\n let cleanup = noop;\n const sync = () => {\n if (pending) {\n return;\n }\n cleanup();\n const result = fn(single ? values[0] : values, set);\n if (auto) {\n set(result);\n }\n else {\n cleanup = is_function(result) ? result : noop;\n }\n };\n const unsubscribers = stores_array.map((store, i) => subscribe(store, (value) => {\n values[i] = value;\n pending &= ~(1 << i);\n if (inited) {\n sync();\n }\n }, () => {\n pending |= (1 << i);\n }));\n inited = true;\n sync();\n return function stop() {\n run_all(unsubscribers);\n cleanup();\n };\n });\n}\n\nexport { derived, readable, writable };\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","require('../modules/es.parse-int');\nvar path = require('../internals/path');\n\nmodule.exports = path.parseInt;\n","var parent = require('../es/parse-int');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/parse-int\");","'use strict';\nvar $ = require('../internals/export');\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\nvar FORCED = forcedStringTrimMethod('trimEnd');\n\nvar trimEnd = FORCED ? function trimEnd() {\n return $trimEnd(this);\n// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;\n\n// `String.prototype.{ trimEnd, trimRight }` methods\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\n$({ target: 'String', proto: true, name: 'trimEnd', forced: FORCED }, {\n trimEnd: trimEnd,\n trimRight: trimEnd\n});\n","require('../../../modules/es.string.trim-end');\nvar entryVirtual = require('../../../internals/entry-virtual');\n\nmodule.exports = entryVirtual('String').trimRight;\n","var isPrototypeOf = require('../../internals/object-is-prototype-of');\nvar method = require('../string/virtual/trim-end');\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n var own = it.trimEnd;\n return typeof it == 'string' || it === StringPrototype\n || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimEnd) ? method : own;\n};\n","var parent = require('../../es/instance/trim-end');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/instance/trim-end\");","import { is_function } from 'svelte/internal';\nimport { writable, derived, get } from 'svelte/store';\n\nfunction setContent(node, content) {\n let actions = {\n update(content) {\n while (node.firstChild) {\n node.removeChild(node.lastChild);\n }\n if (content.domNodes) {\n for (let child of content.domNodes) {\n node.appendChild(child);\n }\n } else if (content.html) {\n node.innerHTML = content.html;\n }\n }\n };\n actions.update(content);\n\n return actions;\n}\n\nconst DAY_IN_SECONDS = 86400;\n\nfunction createDate(input) {\n if (input !== undefined) {\n return input instanceof Date ? _fromLocalDate(input) : _fromISOString(input);\n }\n\n return _fromLocalDate(new Date());\n}\n\nfunction createDuration(input) {\n if (typeof input === 'number') {\n input = {seconds: input};\n } else if (typeof input === 'string') {\n // Expected format hh[:mm[:ss]]\n let seconds = 0, exp = 2;\n for (let part of input.split(':', 3)) {\n seconds += parseInt(part, 10) * Math.pow(60, exp--);\n }\n input = {seconds};\n } else if (input instanceof Date) {\n input = {hours: input.getUTCHours(), minutes: input.getUTCMinutes(), seconds: input.getUTCSeconds()};\n }\n\n let weeks = input.weeks || input.week || 0;\n\n return {\n years: input.years || input.year || 0,\n months: input.months || input.month || 0,\n days: weeks * 7 + (input.days || input.day || 0),\n seconds: (input.hours || input.hour || 0) * 60 * 60 +\n (input.minutes || input.minute || 0) * 60 +\n (input.seconds || input.second || 0),\n inWeeks: !!weeks\n };\n}\n\nfunction cloneDate(date) {\n return new Date(date.getTime());\n}\n\nfunction addDuration(date, duration, x) {\n if (x === undefined) {\n x = 1;\n }\n date.setUTCFullYear(date.getUTCFullYear() + x * duration.years);\n let month = date.getUTCMonth() + x * duration.months;\n date.setUTCMonth(month);\n month %= 12;\n if (month < 0) {\n month += 12;\n }\n while (date.getUTCMonth() !== month) {\n subtractDay(date);\n }\n date.setUTCDate(date.getUTCDate() + x * duration.days);\n date.setUTCSeconds(date.getUTCSeconds() + x * duration.seconds);\n\n return date;\n}\n\nfunction subtractDuration(date, duration, x) {\n return addDuration(date, duration, x === undefined ? -1 : -x);\n}\n\nfunction addDay(date, x) {\n date.setUTCDate(date.getUTCDate() + (x === undefined ? 1 : x));\n\n return date;\n}\n\nfunction subtractDay(date, x) {\n return addDay(date, x === undefined ? -1 : -x);\n}\n\nfunction setMidnight(date) {\n date.setUTCHours(0, 0, 0, 0);\n\n return date;\n}\n\nfunction toLocalDate(date) {\n return new Date(\n date.getUTCFullYear(),\n date.getUTCMonth(),\n date.getUTCDate(),\n date.getUTCHours(),\n date.getUTCMinutes(),\n date.getUTCSeconds()\n );\n}\n\nfunction toISOString(date) {\n return date.toISOString().substring(0, 19);\n}\n\nfunction formatRange(start, end, intl) {\n if (start.getFullYear() !== end.getFullYear()) {\n return intl.format(start) + ' - ' + intl.format(end);\n }\n\n let diff = [];\n if (start.getMonth() !== end.getMonth()) {\n diff.push('month');\n }\n if (start.getDate() !== end.getDate()) {\n diff.push('day');\n }\n\n if (!diff.length) {\n return intl.format(start);\n }\n\n let opts1 = intl.resolvedOptions();\n let opts2 = {};\n for (let key of diff) {\n opts2[key] = opts1[key];\n }\n let intl2 = new Intl.DateTimeFormat(opts1.locale, opts2);\n\n let full1 = intl.format(start);\n let full2 = intl.format(end);\n let part1 = intl2.format(start);\n let part2 = intl2.format(end);\n\n let common = _commonChunks(full1, part1, full2, part2);\n if (common) {\n return common.head + part1 + ' - ' + part2 + common.tail;\n }\n\n return full1 + ' - ' + full2;\n}\n\nfunction datesEqual(date1, date2) {\n return date1.getTime() === date2.getTime();\n}\n\nfunction nextClosestDay(date, day) {\n let diff = day - date.getUTCDay();\n date.setUTCDate(date.getUTCDate() + (diff >= 0 ? diff : diff + 7));\n return date;\n}\n\nfunction prevClosestDay(date, day) {\n let diff = day - date.getUTCDay();\n date.setUTCDate(date.getUTCDate() + (diff <= 0 ? diff : diff - 7));\n return date;\n}\n\n/**\n * Private functions\n */\n\nfunction _fromLocalDate(date) {\n return new Date(Date.UTC(\n date.getFullYear(),\n date.getMonth(),\n date.getDate(),\n date.getHours(),\n date.getMinutes(),\n date.getSeconds()\n ));\n}\n\nfunction _fromISOString(str) {\n const parts = str.match(/\\d+/g);\n return new Date(Date.UTC(\n Number(parts[0]),\n Number(parts[1]) - 1,\n Number(parts[2]),\n Number(parts[3] || 0),\n Number(parts[4] || 0),\n Number(parts[5] || 0)\n ));\n}\n\nfunction _commonChunks(str1, substr1, str2, substr2) {\n let i = 0;\n while (i < str1.length) {\n let res1;\n [i, res1] = _cut(str1, substr1, i);\n if (!res1) {\n break;\n }\n\n let j = 0;\n while (j < str2.length) {\n let res2;\n [j, res2] = _cut(str2, substr2, j);\n if (!res2) {\n break;\n }\n\n if (res1.head === res2.head && res1.tail === res2.tail) {\n return res1;\n }\n }\n }\n\n return null\n}\n\nfunction _cut(str, substr, from) {\n let start = str.indexOf(substr, from);\n if (start >= 0) {\n let end = start + substr.length;\n\n return [end, {\n head: str.substr(0, start),\n tail: str.substr(end)\n }];\n }\n\n return [-1, null];\n}\n\nfunction assign(...args) {\n return Object.assign(...args);\n}\n\nfunction hasYScroll(el) {\n // return el.scrollHeight > el.clientHeight;\n return el.offsetWidth - el.clientWidth - el.clientLeft*2 > 0; // ie11 (consider border right == border left)\n}\n\nfunction rect(el) {\n return el.getBoundingClientRect();\n}\n\nfunction ancestor(el, up) {\n while (up--) {\n el = el.parentElement;\n }\n return el;\n}\n\nfunction height(el) {\n return el.offsetHeight;\n}\n\nfunction createView(view, _viewTitle, _currentRange, _activeRange) {\n return {\n type: view,\n title: _viewTitle,\n currentStart: _currentRange.start,\n currentEnd: _currentRange.end,\n activeStart: _activeRange.start,\n activeEnd: _activeRange.end,\n calendar: undefined\n };\n}\n\nfunction toViewWithLocalDates(view) {\n view = assign({}, view);\n view.currentStart = toLocalDate(view.currentStart);\n view.currentEnd = toLocalDate(view.currentEnd);\n view.activeStart = toLocalDate(view.activeStart);\n view.activeEnd = toLocalDate(view.activeEnd);\n\n return view;\n}\n\nconst display = ['background'];\n\nlet eventId = 1;\nfunction createEvents(input) {\n return input.map(event => ({\n id: 'id' in event ? String(event.id) : `{generated-${eventId++}}`,\n resourceIds: Array.isArray(event.resourceIds)\n ? event.resourceIds.map(String)\n : ('resourceId' in event ? [String(event.resourceId)] : []),\n allDay: event.allDay || false,\n start: createDate(event.start),\n end: createDate(event.end),\n title: event.title || '',\n editable: event.editable,\n startEditable: event.startEditable,\n durationEditable: event.durationEditable,\n display: display.includes(event.display) ? event.display : 'auto',\n extendedProps: event.extendedProps || {},\n backgroundColor: event.backgroundColor || event.color\n }));\n}\n\nfunction createEventSources(input) {\n return input.map(source => ({\n events: source.events,\n url: (source.url && source.url.trimEnd('&')) || '',\n method: (source.method && source.method.toUpperCase()) || 'GET',\n extraParams: source.extraParams || {}\n }));\n}\n\nfunction createEventChunk(event, start, end) {\n return {\n start: event.start > start ? event.start : start,\n end: event.end < end ? event.end : end,\n event\n };\n}\n\nfunction sortEventChunks(chunks) {\n // Sort by start date\n chunks.sort((a, b) => {\n if (a.start < b.start) {\n return -1;\n }\n if (a.start > b.start) {\n return 1;\n }\n return 0;\n });\n}\n\nfunction createEventContent(chunk, displayEventEnd, eventContent, theme, _intlEventTime, _view) {\n let timeText = _intlEventTime.format(chunk.start), content;\n if (displayEventEnd && chunk.event.display !== 'pointer') {\n timeText += ` - ${_intlEventTime.format(chunk.end)}`;\n }\n if (eventContent) {\n content = is_function(eventContent)\n ? eventContent({\n event: toEventWithLocalDates(chunk.event),\n timeText,\n view: toViewWithLocalDates(_view)\n })\n : eventContent;\n if (typeof content === 'string') {\n content = {html: content};\n }\n } else {\n switch (chunk.event.display) {\n case 'background':\n content = {html: ''};\n break;\n case 'pointer':\n content = {\n html: `<div class=\"${theme.eventTime}\">${timeText}</div>`\n };\n break;\n default:\n content = {\n html: `<div class=\"${theme.eventTime}\">${timeText}</div>` +\n `<div class=\"${theme.eventTitle}\">${chunk.event.title}</div>`\n };\n }\n }\n\n return [timeText, content];\n}\n\nfunction toEventWithLocalDates(event) {\n return _cloneEvent(event, toLocalDate);\n}\n\nfunction cloneEvent(event) {\n return _cloneEvent(event, cloneDate);\n}\n\nfunction _cloneEvent(event, dateFn) {\n event = assign({}, event);\n event.start = dateFn(event.start);\n event.end = dateFn(event.end);\n\n return event;\n}\n\nfunction writable2(value, parser, start) {\n return {\n ...writable(parser ? parser(value) : value, start),\n parse: parser\n };\n}\n\nfunction derived2(stores, fn, initValue) {\n let storeValue = initValue;\n let hasSubscribers = false;\n let auto = fn.length < 2;\n let fn2 = (_, set) => {\n hasSubscribers = true;\n if (auto) {\n storeValue = fn(_, set);\n set(storeValue);\n } else {\n fn(_, value => {storeValue = value; set(value);});\n }\n return () => {hasSubscribers = false;};\n };\n let store = derived(stores, fn2, storeValue);\n return {\n ...store,\n get: () => hasSubscribers ? storeValue : get(store)\n };\n}\n\nfunction intl(locale, format) {\n return derived([locale, format], ([$locale, $format]) => {\n let intl = is_function($format)\n ? {format: $format}\n : new Intl.DateTimeFormat($locale, $format);\n return {\n format: date => intl.format(toLocalDate(date))\n };\n });\n}\n\nfunction intlRange(locale, format) {\n return derived([locale, format], ([$locale, $format]) => {\n if (is_function($format)) {\n return {format: (start, end) => $format(toLocalDate(start), toLocalDate(end))};\n }\n let intl = new Intl.DateTimeFormat($locale, $format);\n return {\n format: (start, end) => formatRange(toLocalDate(start), toLocalDate(end), intl)\n };\n });\n}\n\nexport { DAY_IN_SECONDS, addDay, addDuration, ancestor, assign, cloneDate, cloneEvent, createDate, createDuration, createEventChunk, createEventContent, createEventSources, createEvents, createView, datesEqual, derived2, formatRange, hasYScroll, height, intl, intlRange, nextClosestDay, prevClosestDay, rect, setContent, setMidnight, sortEventChunks, subtractDay, subtractDuration, toEventWithLocalDates, toISOString, toLocalDate, toViewWithLocalDates, writable2 };\n","import { is_function, tick, noop, identity, SvelteComponent, init, safe_not_equal, empty, insert, detach, destroy_each, component_subscribe, set_store_value, element, text, attr, append, listen, set_data, space, transition_in, group_outros, transition_out, check_outros, create_component, mount_component, destroy_component, set_style } from 'svelte/internal';\nimport { getContext, setContext } from 'svelte';\nimport { derived, writable, get } from 'svelte/store';\nimport { setMidnight, createDate, createDuration, createEvents, createEventSources, assign, cloneDate, prevClosestDay, addDuration, subtractDay, derived2, addDay, createView, nextClosestDay, DAY_IN_SECONDS, toLocalDate, toISOString, writable2, intl, intlRange, subtractDuration, toEventWithLocalDates, toViewWithLocalDates } from '@event-calendar/common';\n\nfunction createOptions(plugins) {\n let options = {\n allDayContent: undefined,\n allDaySlot: true,\n buttonText: {\n today: 'today',\n },\n date: new Date(),\n dateClick: undefined,\n datesSet: undefined,\n dayHeaderFormat: {\n weekday: 'short',\n month: 'numeric',\n day: 'numeric'\n },\n displayEventEnd: true,\n duration: {weeks: 1},\n events: [],\n eventBackgroundColor: undefined,\n eventClick: undefined,\n eventColor: undefined,\n eventContent: undefined,\n eventDidMount: undefined,\n eventMouseEnter: undefined,\n eventMouseLeave: undefined,\n eventSources: [],\n eventTimeFormat: {\n hour: 'numeric',\n minute: '2-digit'\n },\n firstDay: 0,\n flexibleSlotTimeLimits: false, // ec option\n headerToolbar: {\n start: 'title',\n center: '',\n end: 'today prev,next'\n },\n height: 'auto',\n hiddenDays: [],\n highlightedDates: [], // ec option\n lazyFetching: true,\n loading: undefined,\n locale: undefined,\n monthMode: false,\n nowIndicator: false,\n scrollTime: '06:00:00',\n slotDuration: '00:30:00',\n slotHeight: 24, // ec option\n slotLabelFormat: {\n hour: 'numeric',\n minute: '2-digit'\n },\n slotMaxTime: '24:00:00',\n slotMinTime: '00:00:00',\n theme: {\n allDay: 'ec-all-day',\n active: 'ec-active',\n bgEvent: 'ec-bg-event',\n bgEvents: 'ec-bg-events',\n body: 'ec-body',\n button: 'ec-button',\n buttonGroup: 'ec-button-group',\n calendar: 'ec',\n compact: 'ec-compact',\n content: 'ec-content',\n day: 'ec-day',\n dayHead: 'ec-day-head',\n days: 'ec-days',\n event: 'ec-event',\n eventBody: 'ec-event-body',\n eventTime: 'ec-event-time',\n eventTitle: 'ec-event-title',\n events: 'ec-events',\n extra: 'ec-extra',\n handle: 'ec-handle',\n header: 'ec-header',\n hiddenScroll: 'ec-hidden-scroll',\n hiddenTimes: 'ec-hidden-times',\n highlight: 'ec-highlight',\n icon: 'ec-icon',\n line: 'ec-line',\n lines: 'ec-lines',\n nowIndicator: 'ec-now-indicator',\n otherMonth: 'ec-other-month',\n sidebar: 'ec-sidebar',\n sidebarTitle: 'ec-sidebar-title',\n today: 'ec-today',\n time: 'ec-time',\n title: 'ec-title',\n toolbar: 'ec-toolbar',\n week: 'ec-week',\n withScroll: 'ec-with-scroll'\n },\n titleFormat: {\n year: 'numeric',\n month: 'short',\n day: 'numeric'\n },\n view: undefined,\n viewDidMount: undefined,\n views: {}\n };\n\n for (let plugin of plugins) {\n if ('createOptions' in plugin) {\n plugin.createOptions(options);\n }\n }\n\n return options;\n}\n\nfunction createParsers(options, plugins) {\n let parsers = {\n buttonText: input => is_function(input) ? input(options.buttonText) : input,\n date: date => setMidnight(createDate(date)),\n duration: createDuration,\n events: createEvents,\n eventSources: createEventSources,\n hiddenDays: days => [...new Set(days)],\n highlightedDates: dates => dates.map(createDate),\n scrollTime: createDuration,\n slotDuration: createDuration,\n slotMaxTime: createDuration,\n slotMinTime: createDuration,\n theme: input => is_function(input) ? input(options.theme) : input\n };\n\n for (let plugin of plugins) {\n if ('createParsers' in plugin) {\n plugin.createParsers(parsers, options);\n }\n }\n\n return parsers;\n}\n\nlet prev;\nfunction diff(options) {\n let diff = [];\n if (prev) {\n for (let name of Object.keys(options)) {\n if (options[name] !== prev[name]) {\n diff.push([name, options[name]]);\n }\n }\n }\n prev = assign({}, options);\n\n return diff;\n}\n\nfunction activeRange(state) {\n let _activeRange = derived(\n [state._currentRange, state.firstDay, state.monthMode, state.slotMinTime, state.slotMaxTime],\n ([$_currentRange, $firstDay, $monthMode, $slotMinTime, $slotMaxTime]) => {\n let start = cloneDate($_currentRange.start);\n let end = cloneDate($_currentRange.end);\n\n if ($monthMode) {\n // First day of week\n prevClosestDay(start, $firstDay);\n nextClosestDay(end, $firstDay);\n } else if ($slotMaxTime.days || $slotMaxTime.seconds > DAY_IN_SECONDS) {\n addDuration(subtractDay(end), $slotMaxTime);\n let start2 = subtractDay(cloneDate(end));\n if (start2 < start) {\n start = start2;\n }\n }\n\n return {start, end};\n }\n );\n\n let debounce = 0;\n derived([_activeRange, state.datesSet], ([$_activeRange, $datesSet]) => {\n if ($datesSet && !debounce) {\n ++debounce;\n tick().then(() => {\n --debounce;\n $datesSet({\n start: toLocalDate($_activeRange.start),\n end: toLocalDate($_activeRange.end),\n startStr: toISOString($_activeRange.start),\n endStr: toISOString($_activeRange.end)\n });\n });\n }\n }).subscribe(noop);\n\n return _activeRange;\n}\n\nfunction currentRange(state) {\n return derived(\n [state.date, state.duration, state.monthMode, state.firstDay],\n ([$date, $duration, $monthMode, $firstDay]) => {\n let start = cloneDate($date), end;\n if ($monthMode) {\n start.setDate(1);\n } else if ($duration.inWeeks) {\n // First day of week\n prevClosestDay(start, $firstDay);\n }\n end = addDuration(cloneDate(start), $duration);\n\n return {start, end};\n }\n );\n}\n\nfunction viewDates(state) {\n return derived2([state._activeRange, state.hiddenDays], ([$_activeRange, $hiddenDays]) => {\n let dates = [];\n let date = setMidnight(cloneDate($_activeRange.start));\n let end = setMidnight(cloneDate($_activeRange.end));\n while (date < end) {\n if (!$hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n }\n addDay(date);\n }\n if (!dates.length && $hiddenDays.length && $hiddenDays.length < 7) {\n // Try to move the date\n state.date.update(date => {\n while ($hiddenDays.includes(date.getUTCDay())) {\n addDay(date);\n }\n return date;\n });\n dates = state._viewDates.get();\n }\n\n return dates;\n });\n}\n\nfunction viewTitle(state) {\n return derived(\n [state.date, state._activeRange, state._titleIntlRange, state.monthMode],\n ([$date, $_activeRange, $_titleIntlRange, $monthMode]) => {\n return $monthMode\n ? $_titleIntlRange.format($date, $date)\n : $_titleIntlRange.format($_activeRange.start, subtractDay(cloneDate($_activeRange.end)));\n }\n );\n}\n\nfunction view(state) {\n return derived2([state.view, state._viewTitle, state._currentRange, state._activeRange], args => createView(...args));\n}\n\nfunction events(state) {\n let _events = writable([]);\n let abortController;\n let fetching = 0;\n derived(\n [state.events, state.eventSources, state._activeRange, state._fetchedRange, state.lazyFetching, state.loading],\n (values, set) => tick().then(() => {\n let [$events, $eventSources, $_activeRange, $_fetchedRange, $lazyFetching, $loading] = values;\n if (!$eventSources.length) {\n set($events);\n return;\n }\n // Do not fetch if new range is within the previous one\n if (!$_fetchedRange.start || $_fetchedRange.start > $_activeRange.start || $_fetchedRange.end < $_activeRange.end || !$lazyFetching) {\n if (abortController) {\n // Abort previous request\n abortController.abort();\n }\n // Create new abort controller\n abortController = new AbortController();\n // Call loading hook\n if (is_function($loading) && !fetching) {\n $loading(true);\n }\n let stopLoading = () => {\n if (--fetching === 0 && is_function($loading)) {\n $loading(false);\n }\n };\n let events = [];\n // Prepare handlers\n let failure = e => stopLoading();\n let success = data => {\n events = events.concat(createEvents(data));\n set(events);\n stopLoading();\n };\n // Prepare other stuff\n let startStr = toISOString($_activeRange.start);\n let endStr = toISOString($_activeRange.end);\n // Loop over event sources\n for (let source of $eventSources) {\n if (is_function(source.events)) {\n // Events as a function\n let result = source.events({\n start: toLocalDate($_activeRange.start),\n end: toLocalDate($_activeRange.end),\n startStr,\n endStr\n }, success, failure);\n if (result !== undefined) {\n Promise.resolve(result).then(success, failure);\n }\n } else {\n // Events as a JSON feed\n // Prepare params\n let params = is_function(source.extraParams) ? source.extraParams() : assign({}, source.extraParams);\n params.start = startStr;\n params.end = endStr;\n params = new URLSearchParams(params);\n // Prepare fetch\n let url = source.url, headers = {}, body;\n if (['GET', 'HEAD'].includes(source.method)) {\n url += (url.includes('?') ? '&' : '?') + params;\n } else {\n headers['content-type'] = 'application/x-www-form-urlencoded;charset=UTF-8';\n body = String(params); // Safari 10.1 doesn't convert to string automatically\n }\n // Do the fetch\n fetch(url, {method: source.method, headers, body, signal: abortController.signal, credentials: 'same-origin'})\n .then(response => response.json())\n .then(success)\n .catch(failure);\n }\n ++fetching;\n }\n // Save current range for future requests\n $_fetchedRange.start = $_activeRange.start;\n $_fetchedRange.end = $_activeRange.end;\n }\n }),\n []\n ).subscribe(_events.set);\n\n return _events;\n}\n\nclass State {\n constructor(plugins, input) {\n plugins = plugins || [];\n\n // Create options\n let options = createOptions(plugins);\n let parsers = createParsers(options, plugins);\n\n // Create stores for options\n for (let [option, value] of Object.entries(options)) {\n this[option] = writable2(value, parsers[option]);\n }\n\n // Private stores\n this._currentRange = currentRange(this);\n this._activeRange = activeRange(this);\n this._fetchedRange = writable({start: undefined, end: undefined});\n this._events = events(this);\n this._intlEventTime = intl(this.locale, this.eventTimeFormat);\n this._intlSlotLabel = intl(this.locale, this.slotLabelFormat);\n this._intlDayHeader = intl(this.locale, this.dayHeaderFormat);\n this._titleIntlRange = intlRange(this.locale, this.titleFormat);\n this._scrollable = writable(false);\n this._viewTitle = viewTitle(this);\n this._viewDates = viewDates(this);\n this._view = view(this);\n this._viewComponent = writable(undefined);\n this._viewClass = writable(undefined);\n // Interaction\n this._interaction = writable({});\n this._iEvents = writable([null, null]); // interaction events: [drag/resize, pointer]\n this._draggable = writable(noop);\n this._resizable = writable(noop);\n this._classes = writable(identity);\n this._iClass = writable(undefined);\n this._scroll = writable(undefined);\n\n // Let plugins create their private stores\n for (let plugin of plugins) {\n if ('createStores' in plugin) {\n plugin.createStores(this);\n }\n }\n\n if (input.view) {\n // Set initial view based on input\n this.view.set(input.view);\n }\n\n // Set options for each view\n let commonOpts = assign({}, options, input);\n parseOpts(commonOpts, this);\n let views = new Set([...Object.keys(options.views), ...Object.keys(input.views || {})]);\n for (let view of views) {\n let viewOpts = assign({}, options.views[view] || {}, input.views && input.views[view] || {});\n parseOpts(viewOpts, this);\n let opts = assign({}, commonOpts, viewOpts);\n // Change view component when view changes\n this.view.subscribe(newView => {\n if (newView === view) {\n this._viewComponent.set(opts.component);\n if (is_function(opts.viewDidMount)) {\n tick().then(() => opts.viewDidMount(this._view.get()));\n }\n }\n });\n for (let key of Object.keys(opts)) {\n if (this.hasOwnProperty(key) && key[0] !== '_') {\n let {set, _set, ...rest} = this[key];\n\n if (!_set) {\n // Original set\n _set = set;\n }\n\n this[key] = {\n // Set value in all views\n set: value => {opts[key] = value; set(value);},\n _set,\n ...rest\n };\n\n // Change value when view changes\n this.view.subscribe(newView => {\n if (newView === view) {\n _set(opts[key]);\n }\n });\n }\n }\n }\n }\n}\n\nfunction parseOpts(opts, state) {\n for (let key of Object.keys(opts)) {\n if (state.hasOwnProperty(key) && key[0] !== '_') {\n if (state[key].parse) {\n opts[key] = state[key].parse(opts[key]);\n }\n }\n }\n}\n\n/* packages/core/src/Buttons.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[23] = list[i];\n\treturn child_ctx;\n}\n\n// (38:1) {:else}\nfunction create_else_block$1(ctx) {\n\tlet button;\n\tlet t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\";\n\tlet t;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\tfunction click_handler_1() {\n\t\treturn /*click_handler_1*/ ctx[20](/*button*/ ctx[23]);\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\tt = text(t_value);\n\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + (/*$view*/ ctx[6] === /*button*/ ctx[23]\n\t\t\t? ' ' + /*$theme*/ ctx[3].active\n\t\t\t: '') + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, t);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", click_handler_1);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif (dirty & /*$buttonText, buttons*/ 33 && t_value !== (t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme, $view, buttons*/ 73 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + (/*$view*/ ctx[6] === /*button*/ ctx[23]\n\t\t\t? ' ' + /*$theme*/ ctx[3].active\n\t\t\t: '') + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (36:30) \nfunction create_if_block_4(ctx) {\n\tlet button;\n\tlet t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\";\n\tlet t;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\tt = text(t_value);\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tbutton.disabled = /*isToday*/ ctx[1];\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, t);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*click_handler*/ ctx[19]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$buttonText, buttons*/ 33 && t_value !== (t_value = /*$buttonText*/ ctx[5][/*button*/ ctx[23]] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*isToday*/ 2) {\n\t\t\t\tbutton.disabled = /*isToday*/ ctx[1];\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (34:29) \nfunction create_if_block_3(ctx) {\n\tlet button;\n\tlet i;\n\tlet i_class_value;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\ti = element(\"i\");\n\t\t\tattr(i, \"class\", i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, i);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*next*/ ctx[17]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && i_class_value !== (i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(i, \"class\", i_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (32:28) \nfunction create_if_block_2(ctx) {\n\tlet button;\n\tlet i;\n\tlet i_class_value;\n\tlet button_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tbutton = element(\"button\");\n\t\t\ti = element(\"i\");\n\t\t\tattr(i, \"class\", i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]));\n\t\t\tattr(button, \"class\", button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, button, anchor);\n\t\t\tappend(button, i);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(button, \"click\", /*prev*/ ctx[16]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && i_class_value !== (i_class_value = \"\" + (/*$theme*/ ctx[3].icon + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(i, \"class\", i_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, buttons*/ 9 && button_class_value !== (button_class_value = \"\" + (/*$theme*/ ctx[3].button + \" ec-\" + /*button*/ ctx[23]))) {\n\t\t\t\tattr(button, \"class\", button_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(button);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (30:29) \nfunction create_if_block_1(ctx) {\n\tlet h2;\n\tlet t;\n\tlet h2_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\th2 = element(\"h2\");\n\t\t\tt = text(/*$_viewTitle*/ ctx[4]);\n\t\t\tattr(h2, \"class\", h2_class_value = /*$theme*/ ctx[3].title);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, h2, anchor);\n\t\t\tappend(h2, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewTitle*/ 16) set_data(t, /*$_viewTitle*/ ctx[4]);\n\n\t\t\tif (dirty & /*$theme*/ 8 && h2_class_value !== (h2_class_value = /*$theme*/ ctx[3].title)) {\n\t\t\t\tattr(h2, \"class\", h2_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(h2);\n\t\t}\n\t};\n}\n\n// (29:1) {#if button == ''}\nfunction create_if_block$1(ctx) {\n\treturn { c: noop, m: noop, p: noop, d: noop };\n}\n\n// (28:0) {#each buttons as button}\nfunction create_each_block$1(ctx) {\n\tlet if_block_anchor;\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*button*/ ctx[23] == '') return create_if_block$1;\n\t\tif (/*button*/ ctx[23] == 'title') return create_if_block_1;\n\t\tif (/*button*/ ctx[23] == 'prev') return create_if_block_2;\n\t\tif (/*button*/ ctx[23] === 'next') return create_if_block_3;\n\t\tif (/*button*/ ctx[23] === 'today') return create_if_block_4;\n\t\treturn create_else_block$1;\n\t}\n\n\tlet current_block_type = select_block_type(ctx);\n\tlet if_block = current_block_type(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {\n\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = current_block_type(ctx);\n\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value = /*buttons*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*buttons, $theme, $_viewTitle, prev, next, isToday, $date, cloneDate, today, $buttonText, $view*/ 229503) {\n\t\t\t\teach_value = /*buttons*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $duration;\n\tlet $date;\n\tlet $hiddenDays;\n\tlet $_currentRange;\n\tlet $theme;\n\tlet $_viewTitle;\n\tlet $buttonText;\n\tlet $view;\n\tlet { buttons } = $$props;\n\tlet { _currentRange, _viewTitle, buttonText, date, duration, hiddenDays, theme, view } = getContext('state');\n\tcomponent_subscribe($$self, _currentRange, value => $$invalidate(18, $_currentRange = value));\n\tcomponent_subscribe($$self, _viewTitle, value => $$invalidate(4, $_viewTitle = value));\n\tcomponent_subscribe($$self, buttonText, value => $$invalidate(5, $buttonText = value));\n\tcomponent_subscribe($$self, date, value => $$invalidate(2, $date = value));\n\tcomponent_subscribe($$self, duration, value => $$invalidate(21, $duration = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(22, $hiddenDays = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tcomponent_subscribe($$self, view, value => $$invalidate(6, $view = value));\n\tlet today = setMidnight(createDate()), isToday;\n\n\tfunction prev() {\n\t\tlet d = subtractDuration($date, $duration);\n\n\t\tif ($hiddenDays.length && $hiddenDays.length < 7) {\n\t\t\twhile ($hiddenDays.includes(d.getUTCDay())) {\n\t\t\t\tsubtractDay(d);\n\t\t\t}\n\t\t}\n\n\t\tset_store_value(date, $date = d, $date);\n\t}\n\n\tfunction next() {\n\t\tset_store_value(date, $date = addDuration($date, $duration), $date);\n\t}\n\n\tconst click_handler = () => set_store_value(date, $date = cloneDate(today), $date);\n\tconst click_handler_1 = button => set_store_value(view, $view = button, $view);\n\n\t$$self.$$set = $$props => {\n\t\tif ('buttons' in $$props) $$invalidate(0, buttons = $$props.buttons);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_currentRange*/ 262144) {\n\t\t\t$$invalidate(1, isToday = today >= $_currentRange.start && today < $_currentRange.end || null);\n\t\t}\n\t};\n\n\treturn [\n\t\tbuttons,\n\t\tisToday,\n\t\t$date,\n\t\t$theme,\n\t\t$_viewTitle,\n\t\t$buttonText,\n\t\t$view,\n\t\t_currentRange,\n\t\t_viewTitle,\n\t\tbuttonText,\n\t\tdate,\n\t\tduration,\n\t\thiddenDays,\n\t\ttheme,\n\t\tview,\n\t\ttoday,\n\t\tprev,\n\t\tnext,\n\t\t$_currentRange,\n\t\tclick_handler,\n\t\tclick_handler_1\n\t];\n}\n\nclass Buttons extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, { buttons: 0 });\n\t}\n}\n\n/* packages/core/src/Toolbar.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[5] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[8] = list[i];\n\treturn child_ctx;\n}\n\n// (28:4) {:else}\nfunction create_else_block(ctx) {\n\tlet buttons;\n\tlet current;\n\tbuttons = new Buttons({ props: { buttons: /*buttons*/ ctx[8] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(buttons.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(buttons, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst buttons_changes = {};\n\t\t\tif (dirty & /*sections*/ 1) buttons_changes.buttons = /*buttons*/ ctx[8];\n\t\t\tbuttons.$set(buttons_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(buttons.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(buttons.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(buttons, detaching);\n\t\t}\n\t};\n}\n\n// (24:4) {#if buttons.length > 1}\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet buttons;\n\tlet div_class_value;\n\tlet current;\n\tbuttons = new Buttons({ props: { buttons: /*buttons*/ ctx[8] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(buttons.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].buttonGroup);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(buttons, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst buttons_changes = {};\n\t\t\tif (dirty & /*sections*/ 1) buttons_changes.buttons = /*buttons*/ ctx[8];\n\t\t\tbuttons.$set(buttons_changes);\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].buttonGroup)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(buttons.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(buttons.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(buttons);\n\t\t}\n\t};\n}\n\n// (23:3) {#each sections[key] as buttons}\nfunction create_each_block_1(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*buttons*/ ctx[8].length > 1) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (21:1) {#each Object.keys(sections) as key}\nfunction create_each_block(ctx) {\n\tlet div;\n\tlet t;\n\tlet current;\n\tlet each_value_1 = /*sections*/ ctx[0][/*key*/ ctx[5]];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, sections, Object*/ 3) {\n\t\t\t\teach_value_1 = /*sections*/ ctx[0][/*key*/ ctx[5]];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value = Object.keys(/*sections*/ ctx[0]);\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].toolbar);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*sections, Object, $theme*/ 3) {\n\t\t\t\teach_value = Object.keys(/*sections*/ ctx[0]);\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].toolbar)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $headerToolbar;\n\tlet $theme;\n\tlet { headerToolbar, theme } = getContext('state');\n\tcomponent_subscribe($$self, headerToolbar, value => $$invalidate(4, $headerToolbar = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet sections = { start: [], center: [], end: [] };\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*sections, $headerToolbar*/ 17) {\n\t\t\t{\n\t\t\t\tfor (let key of Object.keys(sections)) {\n\t\t\t\t\t$$invalidate(0, sections[key] = $headerToolbar[key].split(' ').map(group => group.split(',')), sections);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [sections, $theme, headerToolbar, theme, $headerToolbar];\n}\n\nclass Toolbar extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, {});\n\t}\n}\n\n/* packages/core/src/Calendar.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment(ctx) {\n\tlet div;\n\tlet toolbar;\n\tlet t0;\n\tlet switch_instance0;\n\tlet t1;\n\tlet switch_instance1;\n\tlet div_class_value;\n\tlet current;\n\ttoolbar = new Toolbar({});\n\tvar switch_value = /*$_viewComponent*/ ctx[4];\n\n\tfunction switch_props(ctx) {\n\t\treturn {};\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance0 = new switch_value(switch_props());\n\t}\n\n\tvar switch_value_1 = /*$_interaction*/ ctx[5].component;\n\n\tfunction switch_props_1(ctx) {\n\t\treturn {};\n\t}\n\n\tif (switch_value_1) {\n\t\tswitch_instance1 = new switch_value_1(switch_props_1());\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(toolbar.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (switch_instance0) create_component(switch_instance0.$$.fragment);\n\t\t\tt1 = space();\n\t\t\tif (switch_instance1) create_component(switch_instance1.$$.fragment);\n\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[0].calendar + (/*$_viewClass*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_viewClass*/ ctx[1]]\n\t\t\t: '') + (/*$_iClass*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_iClass*/ ctx[2]]\n\t\t\t: '')));\n\n\t\t\tset_style(div, \"height\", /*$height*/ ctx[3]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(toolbar, div, null);\n\t\t\tappend(div, t0);\n\n\t\t\tif (switch_instance0) {\n\t\t\t\tmount_component(switch_instance0, div, null);\n\t\t\t}\n\n\t\t\tappend(div, t1);\n\n\t\t\tif (switch_instance1) {\n\t\t\t\tmount_component(switch_instance1, div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (switch_value !== (switch_value = /*$_viewComponent*/ ctx[4])) {\n\t\t\t\tif (switch_instance0) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance0;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance0 = new switch_value(switch_props());\n\t\t\t\t\tcreate_component(switch_instance0.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance0.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance0, div, t1);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance0 = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (switch_value_1 !== (switch_value_1 = /*$_interaction*/ ctx[5].component)) {\n\t\t\t\tif (switch_instance1) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance1;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value_1) {\n\t\t\t\t\tswitch_instance1 = new switch_value_1(switch_props_1());\n\t\t\t\t\tcreate_component(switch_instance1.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance1.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance1, div, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance1 = null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, $_viewClass, $_iClass*/ 7 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[0].calendar + (/*$_viewClass*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_viewClass*/ ctx[1]]\n\t\t\t: '') + (/*$_iClass*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[0][/*$_iClass*/ ctx[2]]\n\t\t\t: '')))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$height*/ 8) {\n\t\t\t\tset_style(div, \"height\", /*$height*/ ctx[3]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(toolbar.$$.fragment, local);\n\t\t\tif (switch_instance0) transition_in(switch_instance0.$$.fragment, local);\n\t\t\tif (switch_instance1) transition_in(switch_instance1.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(toolbar.$$.fragment, local);\n\t\t\tif (switch_instance0) transition_out(switch_instance0.$$.fragment, local);\n\t\t\tif (switch_instance1) transition_out(switch_instance1.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(toolbar);\n\t\t\tif (switch_instance0) destroy_component(switch_instance0);\n\t\t\tif (switch_instance1) destroy_component(switch_instance1);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $events;\n\tlet $_events;\n\tlet $eventSources;\n\tlet $theme;\n\tlet $_viewClass;\n\tlet $_iClass;\n\tlet $height;\n\tlet $_viewComponent;\n\tlet $_interaction;\n\tlet { plugins = [] } = $$props;\n\tlet { options = {} } = $$props;\n\tlet state = new State(plugins, options);\n\tsetContext('state', state);\n\tlet { _viewComponent, _viewClass, _interaction, _iClass, _events, events, eventSources, height, theme } = state;\n\tcomponent_subscribe($$self, _viewComponent, value => $$invalidate(4, $_viewComponent = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(1, $_viewClass = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(5, $_interaction = value));\n\tcomponent_subscribe($$self, _iClass, value => $$invalidate(2, $_iClass = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(27, $_events = value));\n\tcomponent_subscribe($$self, events, value => $$invalidate(26, $events = value));\n\tcomponent_subscribe($$self, eventSources, value => $$invalidate(28, $eventSources = value));\n\tcomponent_subscribe($$self, height, value => $$invalidate(3, $height = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\n\tfunction setOption(name, value) {\n\t\tif (state.hasOwnProperty(name)) {\n\t\t\tif (state[name].parse) {\n\t\t\t\tvalue = state[name].parse(value);\n\t\t\t}\n\n\t\t\tstate[name].set(value);\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tfunction getOption(name) {\n\t\treturn state.hasOwnProperty(name)\n\t\t? get(state[name])\n\t\t: undefined;\n\t}\n\n\tfunction refetchEvents() {\n\t\tstate._fetchedRange.set({ start: undefined, end: undefined });\n\t\treturn this;\n\t}\n\n\tfunction getEvents() {\n\t\treturn get(state._events).map(toEventWithLocalDates);\n\t}\n\n\tfunction getEventById(id) {\n\t\tfor (let event of get(state._events)) {\n\t\t\tif (event.id == id) {\n\t\t\t\treturn toEventWithLocalDates(event);\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction addEvent(event) {\n\t\tupdateEvents(events => events.concat(state.events.parse([event])));\n\t\treturn this;\n\t}\n\n\tfunction updateEvent(event) {\n\t\tupdateEvents(events => {\n\t\t\tfor (let e of events) {\n\t\t\t\tif (e.id == event.id) {\n\t\t\t\t\tassign(e, state.events.parse([event])[0]);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn events;\n\t\t});\n\n\t\treturn this;\n\t}\n\n\tfunction removeEventById(id) {\n\t\tupdateEvents(events => events.filter(event => event.id != id));\n\t\treturn this;\n\t}\n\n\tfunction getView() {\n\t\treturn toViewWithLocalDates(state._view.get());\n\t}\n\n\tfunction updateEvents(func) {\n\t\tif ($eventSources.length) {\n\t\t\tset_store_value(_events, $_events = func($_events), $_events);\n\t\t} else {\n\t\t\tset_store_value(events, $events = func($events), $events);\n\t\t}\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('plugins' in $$props) $$invalidate(15, plugins = $$props.plugins);\n\t\tif ('options' in $$props) $$invalidate(16, options = $$props.options);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*options*/ 65536) {\n\t\t\t// Reactively update options that did change\n\t\t\tfor (let [name, value] of diff(options)) {\n\t\t\t\tsetOption(name, value);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\t$theme,\n\t\t$_viewClass,\n\t\t$_iClass,\n\t\t$height,\n\t\t$_viewComponent,\n\t\t$_interaction,\n\t\t_viewComponent,\n\t\t_viewClass,\n\t\t_interaction,\n\t\t_iClass,\n\t\t_events,\n\t\tevents,\n\t\teventSources,\n\t\theight,\n\t\ttheme,\n\t\tplugins,\n\t\toptions,\n\t\tsetOption,\n\t\tgetOption,\n\t\trefetchEvents,\n\t\tgetEvents,\n\t\tgetEventById,\n\t\taddEvent,\n\t\tupdateEvent,\n\t\tremoveEventById,\n\t\tgetView\n\t];\n}\n\nclass Calendar extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {\n\t\t\tplugins: 15,\n\t\t\toptions: 16,\n\t\t\tsetOption: 17,\n\t\t\tgetOption: 18,\n\t\t\trefetchEvents: 19,\n\t\t\tgetEvents: 20,\n\t\t\tgetEventById: 21,\n\t\t\taddEvent: 22,\n\t\t\tupdateEvent: 23,\n\t\t\tremoveEventById: 24,\n\t\t\tgetView: 25\n\t\t});\n\t}\n\n\tget setOption() {\n\t\treturn this.$$.ctx[17];\n\t}\n\n\tget getOption() {\n\t\treturn this.$$.ctx[18];\n\t}\n\n\tget refetchEvents() {\n\t\treturn this.$$.ctx[19];\n\t}\n\n\tget getEvents() {\n\t\treturn this.$$.ctx[20];\n\t}\n\n\tget getEventById() {\n\t\treturn this.$$.ctx[21];\n\t}\n\n\tget addEvent() {\n\t\treturn this.$$.ctx[22];\n\t}\n\n\tget updateEvent() {\n\t\treturn this.$$.ctx[23];\n\t}\n\n\tget removeEventById() {\n\t\treturn this.$$.ctx[24];\n\t}\n\n\tget getView() {\n\t\treturn this.$$.ctx[25];\n\t}\n}\n\nexport { Calendar as default };\n","import { SvelteComponent, init, safe_not_equal, element, text, attr, insert, append, set_data, detach, space, noop, destroy_each, component_subscribe, create_slot, listen, is_function, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, run_all, set_store_value, binding_callbacks, create_component, mount_component, action_destroyer, group_outros, destroy_component, check_outros, stop_propagation, bubble, empty } from 'svelte/internal';\nimport { getContext, tick, createEventDispatcher, onMount, afterUpdate, setContext } from 'svelte';\nimport { derived, writable } from 'svelte/store';\nimport { cloneDate, subtractDay, addDay, hasYScroll, sortEventChunks, setMidnight, datesEqual, setContent, toEventWithLocalDates, toViewWithLocalDates, createEventContent, height, ancestor, rect, createDate, toLocalDate, toISOString, assign, createEventChunk, intl } from '@event-calendar/common';\n\nfunction days(state) {\n return derived([state.date, state.firstDay, state.hiddenDays], ([$date, $firstDay, $hiddenDays]) => {\n let days = [];\n let day = cloneDate($date);\n let max = 7;\n // First day of week\n while (day.getUTCDay() !== $firstDay && max) {\n subtractDay(day);\n --max;\n }\n for (let i = 0; i < 7; ++i) {\n if (!$hiddenDays.includes(day.getUTCDay())) {\n days.push(cloneDate(day));\n }\n addDay(day);\n }\n\n return days;\n });\n}\n\nclass State {\n constructor(state) {\n this._days = days(state);\n this._hiddenEvents = writable({});\n this._popup = writable({\n date: null,\n chunks: []\n });\n }\n}\n\n/* packages/day-grid/src/Header.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[8] = list[i];\n\treturn child_ctx;\n}\n\n// (10:2) {#each $_days as day}\nfunction create_each_block$4(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[3].format(/*day*/ ctx[8]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[0].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_intlDayHeader, $_days*/ 12 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[3].format(/*day*/ ctx[8]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 1 && div_class_value !== (div_class_value = /*$theme*/ ctx[0].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$6(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet each_value = /*$_days*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].days);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].hiddenScroll);\n\n\t\t\tattr(div2, \"class\", div2_class_value = \"\" + (/*$theme*/ ctx[0].header + (/*$_scrollable*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0].withScroll\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t}\n\n\t\t\tappend(div2, t);\n\t\t\tappend(div2, div1);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme, $_intlDayHeader, $_days*/ 13) {\n\t\t\t\teach_value = /*$_days*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$4(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].days)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].hiddenScroll)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme, $_scrollable*/ 3 && div2_class_value !== (div2_class_value = \"\" + (/*$theme*/ ctx[0].header + (/*$_scrollable*/ ctx[1]\n\t\t\t? ' ' + /*$theme*/ ctx[0].withScroll\n\t\t\t: '')))) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$6($$self, $$props, $$invalidate) {\n\tlet $theme;\n\tlet $_scrollable;\n\tlet $_days;\n\tlet $_intlDayHeader;\n\tlet { theme, _intlDayHeader, _scrollable } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(3, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(1, $_scrollable = value));\n\tlet { _days } = getContext('view-state');\n\tcomponent_subscribe($$self, _days, value => $$invalidate(2, $_days = value));\n\n\treturn [\n\t\t$theme,\n\t\t$_scrollable,\n\t\t$_days,\n\t\t$_intlDayHeader,\n\t\ttheme,\n\t\t_intlDayHeader,\n\t\t_scrollable,\n\t\t_days\n\t];\n}\n\nclass Header extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$6, create_fragment$6, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Body.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$5(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tconst default_slot_template = /*#slots*/ ctx[12].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[11], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].content);\n\n\t\t\tattr(div1, \"class\", div1_class_value = \"\" + (/*$theme*/ ctx[1].body + (/*$dayMaxEvents*/ ctx[2] === true\n\t\t\t? ' ' + /*$theme*/ ctx[1].uniform\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div0, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[13](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*recheckScrollable*/ ctx[9]),\n\t\t\t\t\tlisten(div1, \"scroll\", function () {\n\t\t\t\t\t\tif (is_function(/*$_scroll*/ ctx[3])) /*$_scroll*/ ctx[3].apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 2048)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[11],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[11])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[11], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].content)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, $dayMaxEvents*/ 6 && div1_class_value !== (div1_class_value = \"\" + (/*$theme*/ ctx[1].body + (/*$dayMaxEvents*/ ctx[2] === true\n\t\t\t? ' ' + /*$theme*/ ctx[1].uniform\n\t\t\t: '')))) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\t/*div1_binding*/ ctx[13](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$5($$self, $$props, $$invalidate) {\n\tlet $_scrollable;\n\tlet $_events;\n\tlet $theme;\n\tlet $dayMaxEvents;\n\tlet $_scroll;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { dayMaxEvents, _events, _scrollable, _scroll, theme } = getContext('state');\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(2, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(10, $_events = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(14, $_scrollable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(3, $_scroll = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet el;\n\n\tfunction recheckScrollable() {\n\t\tset_store_value(_scrollable, $_scrollable = hasYScroll(el), $_scrollable);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(11, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*el, $_events*/ 1025) {\n\t\t\tif (el && $_events) {\n\t\t\t\ttick().then(recheckScrollable);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\t$theme,\n\t\t$dayMaxEvents,\n\t\t$_scroll,\n\t\tdayMaxEvents,\n\t\t_events,\n\t\t_scrollable,\n\t\t_scroll,\n\t\ttheme,\n\t\trecheckScrollable,\n\t\t$_events,\n\t\t$$scope,\n\t\tslots,\n\t\tdiv1_binding\n\t];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$5, create_fragment$5, safe_not_equal, {});\n\t}\n}\n\nfunction prepareEventChunks(chunks, hiddenDays) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n let longChunks = {};\n let prevChunk;\n for (let chunk of chunks) {\n let dates = [];\n let date = setMidnight(cloneDate(chunk.start));\n while (chunk.end > date) {\n if (!hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n if (dates.length > 1) {\n let key = date.getTime();\n if (longChunks[key]) {\n longChunks[key].push(chunk);\n } else {\n longChunks[key] = [chunk];\n }\n }\n }\n addDay(date);\n }\n if (dates.length) {\n chunk.date = dates[0];\n chunk.days = dates.length;\n chunk.dates = dates;\n if (chunk.start < dates[0]) {\n chunk.start = dates[0];\n }\n if (setMidnight(cloneDate(chunk.end)) > dates[dates.length - 1]) {\n chunk.end = dates[dates.length - 1];\n }\n } else {\n chunk.date = setMidnight(cloneDate(chunk.start));\n chunk.days = 1;\n chunk.dates = [chunk.date];\n }\n\n if (prevChunk && datesEqual(prevChunk.date, chunk.date)) {\n chunk.prev = prevChunk;\n }\n prevChunk = chunk;\n }\n\n return longChunks;\n}\n\n/* packages/day-grid/src/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$4(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\n\t\t\tif (switch_instance) {\n\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[45](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*reposition*/ ctx[31]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[5])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[6]))) /*createClickHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[28](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]))) /*createHandler*/ ctx[28](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[28](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]))) /*createHandler*/ ctx[28](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 32) setContent_action.update.call(null, /*content*/ ctx[5]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 8) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 16) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[45](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$4($$self, $$props, $$invalidate) {\n\tlet $_hiddenEvents;\n\tlet $dayMaxEvents;\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { chunk } = $$props;\n\tlet { longChunks = {} } = $$props;\n\tlet { inPopup = false } = $$props;\n\tlet { dayMaxEvents, displayEventEnd, eventBackgroundColor, eventClick, eventColor, eventContent, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(47, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(41, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(44, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(43, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(40, $eventContent = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(48, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(38, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(39, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(42, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _hiddenEvents } = getContext('view-state');\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(37, $_hiddenEvents = value));\n\tcreateEventDispatcher();\n\tlet el;\n\tlet event;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\tlet margin = 1;\n\tlet hidden = false;\n\tlet display;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tafterUpdate(reposition);\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createClickHandler(fn, display) {\n\t\tlet handler = createHandler(fn, display);\n\n\t\treturn handler\n\t\t? jsEvent => !jsEvent.ecClosingPopup && handler(jsEvent)\n\t\t: handler;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.drag.startDayGrid(event, el, jsEvent, inPopup, resize);\n\t}\n\n\tfunction reposition() {\n\t\tif (!el || display === 'preview' || inPopup) {\n\t\t\treturn;\n\t\t}\n\n\t\t$$invalidate(32, chunk.top = 0, chunk);\n\n\t\tif (chunk.prev) {\n\t\t\tif (chunk.prev.bottom === undefined) {\n\t\t\t\t// 'prev' is not ready yet, try again later\n\t\t\t\ttick().then(reposition);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$$invalidate(32, chunk.top = chunk.prev.bottom + 1, chunk);\n\t\t}\n\n\t\t$$invalidate(32, chunk.bottom = chunk.top + height(el), chunk);\n\t\tlet m = 1;\n\t\tlet key = chunk.date.getTime();\n\n\t\tif (longChunks[key]) {\n\t\t\tfor (let longChunk of longChunks[key]) {\n\t\t\t\tif (longChunk.bottom === undefined) {\n\t\t\t\t\t// 'longChunk' is not ready yet, try again later\n\t\t\t\t\ttick().then(reposition);\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (chunk.top < longChunk.bottom && chunk.bottom > longChunk.top) {\n\t\t\t\t\tlet offset = longChunk.bottom - chunk.top + 1;\n\t\t\t\t\tm += offset;\n\t\t\t\t\t$$invalidate(32, chunk.top += offset, chunk);\n\t\t\t\t\t$$invalidate(32, chunk.bottom += offset, chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$$invalidate(35, margin = m);\n\n\t\tif ($dayMaxEvents === true) {\n\t\t\thide();\n\t\t} else {\n\t\t\t$$invalidate(36, hidden = false);\n\t\t}\n\t}\n\n\tfunction hide() {\n\t\tif (!el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet dayEl = ancestor(el, 2);\n\t\tlet h = height(dayEl) - height(dayEl.firstElementChild) - footHeight(dayEl);\n\t\t$$invalidate(36, hidden = chunk.bottom > h);\n\t\tcloneDate(chunk.date);\n\t\tlet update = false;\n\n\t\t// Hide or show the event throughout all days\n\t\tfor (let date of chunk.dates) {\n\t\t\tlet hiddenEvents = $_hiddenEvents[date.getTime()];\n\n\t\t\tif (hiddenEvents) {\n\t\t\t\tlet size = hiddenEvents.size;\n\n\t\t\t\tif (hidden) {\n\t\t\t\t\thiddenEvents.add(chunk.event);\n\t\t\t\t} else {\n\t\t\t\t\thiddenEvents.delete(chunk.event);\n\t\t\t\t}\n\n\t\t\t\tif (size !== hiddenEvents.size) {\n\t\t\t\t\tupdate = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (update) {\n\t\t\t_hiddenEvents.set($_hiddenEvents);\n\t\t}\n\t}\n\n\tfunction footHeight(dayEl) {\n\t\tlet h = 0;\n\n\t\tfor (let i = 0; i < chunk.days; ++i) {\n\t\t\th = Math.max(h, height(dayEl.lastElementChild));\n\t\t\tdayEl = dayEl.nextElementSibling;\n\n\t\t\tif (!dayEl) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn h;\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(32, chunk = $$props.chunk);\n\t\tif ('longChunks' in $$props) $$invalidate(33, longChunks = $$props.longChunks);\n\t\tif ('inPopup' in $$props) $$invalidate(34, inPopup = $$props.inPopup);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[1] & /*chunk*/ 2) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, style, $theme*/ 19 | $$self.$$.dirty[1] & /*$eventBackgroundColor, $eventColor, chunk, margin, hidden, $_classes*/ 14386) {\n\t\t\t{\n\t\t\t\t$$invalidate(6, display = event.display);\n\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\t$$invalidate(4, style = `width:calc(${chunk.days * 100}% + ${(chunk.days - 1) * 7}px);` + `margin-top:${margin}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(4, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\tif (hidden) {\n\t\t\t\t\t$$invalidate(4, style += 'visibility:hidden;');\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, classes = $_classes($theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$theme*/ 2 | $$self.$$.dirty[1] & /*chunk, $displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 1922) {\n\t\t\t// Content\n\t\t\t$$invalidate(5, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\n\t\tif ($$self.$$.dirty[1] & /*$_hiddenEvents*/ 64) {\n\t\t\tif ($_hiddenEvents) {\n\t\t\t\ttick().then(reposition);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\tdisplay,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdayMaxEvents,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventClick,\n\t\teventColor,\n\t\teventContent,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_hiddenEvents,\n\t\tcreateHandler,\n\t\tcreateClickHandler,\n\t\tcreateDragHandler,\n\t\treposition,\n\t\tchunk,\n\t\tlongChunks,\n\t\tinPopup,\n\t\tmargin,\n\t\thidden,\n\t\t$_hiddenEvents,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$4, create_fragment$4, safe_not_equal, { chunk: 32, longChunks: 33, inPopup: 34 }, null, [-1, -1]);\n\t}\n}\n\n/** Dispatch event on click outside of node */\nfunction clickOutside(node) {\n\n const handleClick = clickEvent => {\n if (node && !node.contains(clickEvent.target)) {\n node.dispatchEvent(\n new CustomEvent('clickoutside', {detail: {clickEvent}})\n );\n }\n };\n\n document.addEventListener('click', handleClick, true);\n\n return {\n destroy() {\n document.removeEventListener('click', handleClick, true);\n }\n };\n}\n\n/* packages/day-grid/src/Popup.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[12] = list[i];\n\treturn child_ctx;\n}\n\n// (50:8) {#each $_popup.chunks as chunk}\nfunction create_each_block$3(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: { chunk: /*chunk*/ ctx[12], inPopup: true }\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*$_popup*/ 4) event_changes.chunk = /*chunk*/ ctx[12];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$3(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet t0_value = /*$_intlDayPopover*/ ctx[4].format(/*$_popup*/ ctx[2].date) + \"\";\n\tlet t0;\n\tlet t1;\n\tlet a;\n\tlet div0_class_value;\n\tlet t3;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*$_popup*/ ctx[2].chunks;\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\ta = element(\"a\");\n\t\t\ta.textContent = \"×\";\n\t\t\tt3 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[3].dayHead);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[3].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[3].popup);\n\t\t\tattr(div2, \"style\", /*style*/ ctx[1]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div0, t1);\n\t\t\tappend(div0, a);\n\t\t\tappend(div2, t3);\n\t\t\tappend(div2, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\t/*div2_binding*/ ctx[11](div2);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(a, \"click\", stop_propagation(/*close*/ ctx[8])),\n\t\t\t\t\tlisten(div2, \"click\", stop_propagation(/*click_handler*/ ctx[10])),\n\t\t\t\t\taction_destroyer(clickOutside.call(null, div2)),\n\t\t\t\t\tlisten(div2, \"clickoutside\", /*handleClickOutside*/ ctx[9])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif ((!current || dirty & /*$_intlDayPopover, $_popup*/ 20) && t0_value !== (t0_value = /*$_intlDayPopover*/ ctx[4].format(/*$_popup*/ ctx[2].date) + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[3].dayHead)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*$_popup*/ 4) {\n\t\t\t\teach_value = /*$_popup*/ ctx[2].chunks;\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$3(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[3].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 8 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[3].popup)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*style*/ 2) {\n\t\t\t\tattr(div2, \"style\", /*style*/ ctx[1]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\t/*div2_binding*/ ctx[11](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_popup;\n\tlet $theme;\n\tlet $_intlDayPopover;\n\tlet { theme, _intlDayPopover } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tcomponent_subscribe($$self, _intlDayPopover, value => $$invalidate(4, $_intlDayPopover = value));\n\tlet { _popup } = getContext('view-state');\n\tcomponent_subscribe($$self, _popup, value => $$invalidate(2, $_popup = value));\n\tlet el;\n\tlet style = '';\n\n\tonMount(() => {\n\t\tlet dayEl = ancestor(el, 1);\n\t\tlet bodyEl = ancestor(dayEl, 3);\n\t\tlet popupRect = rect(el);\n\t\tlet bodyRect = rect(bodyEl);\n\n\t\tif (!dayEl.previousElementSibling) {\n\t\t\t$$invalidate(1, style = 'left:0;');\n\t\t} else if (!dayEl.nextElementSibling) {\n\t\t\t$$invalidate(1, style = 'right:0;');\n\t\t} else {\n\t\t\tlet left = (dayEl.offsetWidth - popupRect.width) / 2;\n\t\t\t$$invalidate(1, style = `left:${left}px;`);\n\t\t}\n\n\t\tlet top = (dayEl.offsetHeight - popupRect.height) / 2;\n\n\t\tif (popupRect.top + top < bodyRect.top) {\n\t\t\ttop = bodyRect.top - popupRect.top;\n\t\t} else if (popupRect.bottom + top > bodyRect.bottom) {\n\t\t\ttop = bodyRect.bottom - popupRect.bottom;\n\t\t}\n\n\t\t$$invalidate(1, style += `top:${top}px;`);\n\t});\n\n\tfunction close(e) {\n\t\tset_store_value(_popup, $_popup.date = null, $_popup);\n\t}\n\n\tfunction handleClickOutside(e) {\n\t\tclose();\n\t\te.detail.clickEvent.ecClosingPopup = true;\n\t}\n\n\tfunction click_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\tfunction div2_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(0, el);\n\t\t});\n\t}\n\n\treturn [\n\t\tel,\n\t\tstyle,\n\t\t$_popup,\n\t\t$theme,\n\t\t$_intlDayPopover,\n\t\ttheme,\n\t\t_intlDayPopover,\n\t\t_popup,\n\t\tclose,\n\t\thandleClickOutside,\n\t\tclick_handler,\n\t\tdiv2_binding\n\t];\n}\n\nclass Popup extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, {});\n\t}\n}\n\n/* packages/day-grid/src/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[36] = list[i];\n\treturn child_ctx;\n}\n\n// (111:1) {#if iChunks[1] && datesEqual(iChunks[1].date, date)}\nfunction create_if_block_3(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][1] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[11].events);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][1];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div_class_value !== (div_class_value = /*$theme*/ ctx[11].events)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (117:1) {#if iChunks[0] && datesEqual(iChunks[0].date, date)}\nfunction create_if_block_2(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[11].events + \" \" + /*$theme*/ ctx[11].preview));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][0];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[11].events + \" \" + /*$theme*/ ctx[11].preview))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (123:2) {#each dayChunks as chunk}\nfunction create_each_block$2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: {\n\t\t\t\tchunk: /*chunk*/ ctx[36],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*dayChunks*/ 8) event_changes.chunk = /*chunk*/ ctx[36];\n\t\t\tif (dirty[0] & /*longChunks*/ 2) event_changes.longChunks = /*longChunks*/ ctx[1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (127:1) {#if $_popup.date && datesEqual(date, $_popup.date)}\nfunction create_if_block_1(ctx) {\n\tlet popup;\n\tlet current;\n\tpopup = new Popup({});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(popup.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(popup, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(popup.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(popup.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(popup, detaching);\n\t\t}\n\t};\n}\n\n// (131:2) {#if hiddenEvents.size}\nfunction create_if_block(ctx) {\n\tlet a;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\ta = element(\"a\");\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, a, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(a, \"click\", stop_propagation(/*showMore*/ ctx[25])),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, a, /*moreLink*/ ctx[5]))\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*moreLink*/ 32) setContent_action.update.call(null, /*moreLink*/ ctx[5]);\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(a);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet div3;\n\tlet div0;\n\tlet t0_value = /*date*/ ctx[0].getUTCDate() + \"\";\n\tlet t0;\n\tlet div0_class_value;\n\tlet t1;\n\tlet show_if_2 = /*iChunks*/ ctx[2][1] && datesEqual(/*iChunks*/ ctx[2][1].date, /*date*/ ctx[0]);\n\tlet t2;\n\tlet show_if_1 = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\tlet t3;\n\tlet div1;\n\tlet div1_class_value;\n\tlet t4;\n\tlet show_if = /*$_popup*/ ctx[6].date && datesEqual(/*date*/ ctx[0], /*$_popup*/ ctx[6].date);\n\tlet t5;\n\tlet div2;\n\tlet div2_class_value;\n\tlet div3_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet if_block0 = show_if_2 && create_if_block_3(ctx);\n\tlet if_block1 = show_if_1 && create_if_block_2(ctx);\n\tlet each_value = /*dayChunks*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\tlet if_block2 = show_if && create_if_block_1();\n\tlet if_block3 = /*hiddenEvents*/ ctx[4].size && create_if_block(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tif (if_block0) if_block0.c();\n\t\t\tt2 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt3 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt4 = space();\n\t\t\tif (if_block2) if_block2.c();\n\t\t\tt5 = space();\n\t\t\tdiv2 = element(\"div\");\n\t\t\tif (if_block3) if_block3.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[11].dayHead);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[11].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[11].dayFoot);\n\n\t\t\tattr(div3, \"class\", div3_class_value = \"\" + (/*$theme*/ ctx[11].day + (/*isToday*/ ctx[8] ? ' ' + /*$theme*/ ctx[11].today : '') + (/*otherMonth*/ ctx[9]\n\t\t\t? ' ' + /*$theme*/ ctx[11].otherMonth\n\t\t\t: '') + (/*highlight*/ ctx[10]\n\t\t\t? ' ' + /*$theme*/ ctx[11].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div3, anchor);\n\t\t\tappend(div3, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div3, t1);\n\t\t\tif (if_block0) if_block0.m(div3, null);\n\t\t\tappend(div3, t2);\n\t\t\tif (if_block1) if_block1.m(div3, null);\n\t\t\tappend(div3, t3);\n\t\t\tappend(div3, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div3, t4);\n\t\t\tif (if_block2) if_block2.m(div3, null);\n\t\t\tappend(div3, t5);\n\t\t\tappend(div3, div2);\n\t\t\tif (if_block3) if_block3.m(div2, null);\n\t\t\t/*div3_binding*/ ctx[31](div3);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div3, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[23](/*$dateClick*/ ctx[12]))) /*createClickHandler*/ ctx[23](/*$dateClick*/ ctx[12]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerEnterHandler*/ ctx[24](/*$_interaction*/ ctx[13]))) /*createPointerEnterHandler*/ ctx[24](/*$_interaction*/ ctx[13]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerleave\", function () {\n\t\t\t\t\t\tif (is_function(createPointerLeaveHandler(/*$_interaction*/ ctx[13]))) createPointerLeaveHandler(/*$_interaction*/ ctx[13]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif ((!current || dirty[0] & /*date*/ 1) && t0_value !== (t0_value = /*date*/ ctx[0].getUTCDate() + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[11].dayHead)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if_2 = /*iChunks*/ ctx[2][1] && datesEqual(/*iChunks*/ ctx[2][1].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if_2) {\n\t\t\t\tif (if_block0) {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block0 = create_if_block_3(ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\tif_block0.m(div3, t2);\n\t\t\t\t}\n\t\t\t} else if (if_block0) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block0, 1, 1, () => {\n\t\t\t\t\tif_block0 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*iChunks, date*/ 5) show_if_1 = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if_1) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_2(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div3, t3);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*dayChunks, longChunks*/ 10) {\n\t\t\t\teach_value = /*dayChunks*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$2(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[11].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$_popup, date*/ 65) show_if = /*$_popup*/ ctx[6].date && datesEqual(/*date*/ ctx[0], /*$_popup*/ ctx[6].date);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block2) {\n\t\t\t\t\tif (dirty[0] & /*$_popup, date*/ 65) {\n\t\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block2 = create_if_block_1();\n\t\t\t\t\tif_block2.c();\n\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\tif_block2.m(div3, t5);\n\t\t\t\t}\n\t\t\t} else if (if_block2) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block2, 1, 1, () => {\n\t\t\t\t\tif_block2 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (/*hiddenEvents*/ ctx[4].size) {\n\t\t\t\tif (if_block3) {\n\t\t\t\t\tif_block3.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block3 = create_if_block(ctx);\n\t\t\t\t\tif_block3.c();\n\t\t\t\t\tif_block3.m(div2, null);\n\t\t\t\t}\n\t\t\t} else if (if_block3) {\n\t\t\t\tif_block3.d(1);\n\t\t\t\tif_block3 = null;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2048 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[11].dayFoot)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, otherMonth, highlight*/ 3840 && div3_class_value !== (div3_class_value = \"\" + (/*$theme*/ ctx[11].day + (/*isToday*/ ctx[8] ? ' ' + /*$theme*/ ctx[11].today : '') + (/*otherMonth*/ ctx[9]\n\t\t\t? ' ' + /*$theme*/ ctx[11].otherMonth\n\t\t\t: '') + (/*highlight*/ ctx[10]\n\t\t\t? ' ' + /*$theme*/ ctx[11].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block0);\n\t\t\ttransition_in(if_block1);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block2);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block0);\n\t\t\ttransition_out(if_block1);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block2);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div3);\n\t\t\tif (if_block0) if_block0.d();\n\t\t\tif (if_block1) if_block1.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (if_block2) if_block2.d();\n\t\t\tif (if_block3) if_block3.d();\n\t\t\t/*div3_binding*/ ctx[31](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction createPointerLeaveHandler(interaction) {\n\treturn interaction.pointer\n\t? interaction.pointer.leave\n\t: undefined;\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_popup;\n\tlet $_view;\n\tlet $moreLinkContent;\n\tlet $_hiddenEvents;\n\tlet $highlightedDates;\n\tlet $currentDate;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet { date } = $$props;\n\tlet { chunks } = $$props;\n\tlet { longChunks } = $$props;\n\tlet { iChunks = [] } = $$props;\n\tlet { date: currentDate, dateClick, dayMaxEvents, highlightedDates, moreLinkContent, theme, _view, _interaction } = getContext('state');\n\tcomponent_subscribe($$self, currentDate, value => $$invalidate(30, $currentDate = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(12, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(29, $highlightedDates = value));\n\tcomponent_subscribe($$self, moreLinkContent, value => $$invalidate(27, $moreLinkContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(11, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(13, $_interaction = value));\n\tlet { _hiddenEvents, _popup } = getContext('view-state');\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(28, $_hiddenEvents = value));\n\tcomponent_subscribe($$self, _popup, value => $$invalidate(6, $_popup = value));\n\tlet el;\n\tlet dayChunks;\n\tlet today = setMidnight(createDate());\n\tlet isToday;\n\tlet otherMonth;\n\tlet highlight;\n\tlet hiddenEvents = new Set(); // hidden events of this day\n\tlet moreLink = '';\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\t!jsEvent.ecClosingPopup && fn({\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction createPointerEnterHandler(interaction) {\n\t\treturn interaction.pointer\n\t\t? jsEvent => interaction.pointer.enterDayGrid(date, jsEvent)\n\t\t: undefined;\n\t}\n\n\tfunction showMore() {\n\t\tsetPopupChunks();\n\t\tset_store_value(_popup, $_popup.date = date, $_popup);\n\t}\n\n\tfunction setPopupChunks() {\n\t\tlet nextDay = addDay(cloneDate(date));\n\t\tset_store_value(_popup, $_popup.chunks = dayChunks.concat(longChunks[date.getTime()] || []).map(c => assign({}, c, createEventChunk(c.event, date, nextDay), { days: 1, dates: [date] })).sort((a, b) => a.top - b.top), $_popup);\n\t}\n\n\tfunction div3_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(7, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('chunks' in $$props) $$invalidate(26, chunks = $$props.chunks);\n\t\tif ('longChunks' in $$props) $$invalidate(1, longChunks = $$props.longChunks);\n\t\tif ('iChunks' in $$props) $$invalidate(2, iChunks = $$props.iChunks);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*hiddenEvents, chunks, date, dayChunks*/ 67108889) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, dayChunks = []);\n\t\t\t\thiddenEvents.clear();\n\t\t\t\t((($$invalidate(4, hiddenEvents), $$invalidate(26, chunks)), $$invalidate(0, date)), $$invalidate(3, dayChunks));\n\n\t\t\t\tfor (let chunk of chunks) {\n\t\t\t\t\tif (datesEqual(chunk.date, date)) {\n\t\t\t\t\t\tdayChunks.push(chunk);\n\t\t\t\t\t} // if ($dayMaxEvents !== false && dayChunks.length > $dayMaxEvents) {\n\t\t\t\t\t// \tchunk.hidden = true;\n\t\t\t\t} // }\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, hiddenEvents*/ 17) {\n\t\t\tset_store_value(_hiddenEvents, $_hiddenEvents[date.getTime()] = hiddenEvents, $_hiddenEvents);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, $currentDate, $highlightedDates*/ 1610612737) {\n\t\t\t{\n\t\t\t\t$$invalidate(8, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(9, otherMonth = date.getUTCMonth() !== $currentDate.getUTCMonth());\n\t\t\t\t$$invalidate(10, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_hiddenEvents, hiddenEvents, $moreLinkContent, moreLink*/ 402653232) {\n\t\t\tif ($_hiddenEvents && hiddenEvents.size) {\n\t\t\t\t// make Svelte update this block on $_hiddenEvents update\n\t\t\t\tlet text = '+' + hiddenEvents.size + ' more';\n\n\t\t\t\tif ($moreLinkContent) {\n\t\t\t\t\t$$invalidate(5, moreLink = is_function($moreLinkContent)\n\t\t\t\t\t? $moreLinkContent({ num: hiddenEvents.size, text })\n\t\t\t\t\t: $moreLinkContent);\n\n\t\t\t\t\tif (typeof moreLink === 'string') {\n\t\t\t\t\t\t$$invalidate(5, moreLink = { html: moreLink });\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$$invalidate(5, moreLink = { html: text });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_popup, date, longChunks, dayChunks*/ 75) {\n\t\t\tif ($_popup.date && datesEqual(date, $_popup.date) && longChunks && dayChunks) {\n\t\t\t\tsetPopupChunks();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tlongChunks,\n\t\tiChunks,\n\t\tdayChunks,\n\t\thiddenEvents,\n\t\tmoreLink,\n\t\t$_popup,\n\t\tel,\n\t\tisToday,\n\t\totherMonth,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\tcurrentDate,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\tmoreLinkContent,\n\t\ttheme,\n\t\t_view,\n\t\t_interaction,\n\t\t_hiddenEvents,\n\t\t_popup,\n\t\tcreateClickHandler,\n\t\tcreatePointerEnterHandler,\n\t\tshowMore,\n\t\tchunks,\n\t\t$moreLinkContent,\n\t\t$_hiddenEvents,\n\t\t$highlightedDates,\n\t\t$currentDate,\n\t\tdiv3_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$2,\n\t\t\tcreate_fragment$2,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tdate: 0,\n\t\t\t\tchunks: 26,\n\t\t\t\tlongChunks: 1,\n\t\t\t\tiChunks: 2\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1]\n\t\t);\n\t}\n}\n\n/* packages/day-grid/src/Week.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[15] = list[i];\n\treturn child_ctx;\n}\n\n// (50:1) {#each dates as date}\nfunction create_each_block$1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[15],\n\t\t\t\tchunks: /*chunks*/ ctx[1],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[2],\n\t\t\t\tiChunks: /*iChunks*/ ctx[3]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*dates*/ 1) day_changes.date = /*date*/ ctx[15];\n\t\t\tif (dirty & /*chunks*/ 2) day_changes.chunks = /*chunks*/ ctx[1];\n\t\t\tif (dirty & /*longChunks*/ 4) day_changes.longChunks = /*longChunks*/ ctx[2];\n\t\t\tif (dirty & /*iChunks*/ 8) day_changes.iChunks = /*iChunks*/ ctx[3];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value = /*dates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[4].days);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*dates, chunks, longChunks, iChunks*/ 15) {\n\t\t\t\teach_value = /*dates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 16 && div_class_value !== (div_class_value = /*$theme*/ ctx[4].days)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $hiddenDays;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet $theme;\n\tlet { dates } = $$props;\n\tlet { _events, _iEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(13, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(12, $_iEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(11, $hiddenDays = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(4, $theme = value));\n\tlet chunks, longChunks, iChunks = [];\n\tlet start;\n\tlet end;\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start;\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('dates' in $$props) $$invalidate(0, dates = $$props.dates);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*dates*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(9, start = dates[0]);\n\t\t\t\t$$invalidate(10, end = addDay(cloneDate(dates[dates.length - 1])));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_events, start, end, chunks, $hiddenDays*/ 11778) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.display !== 'background' && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(2, longChunks = prepareEventChunks(chunks, $hiddenDays));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_iEvents, start, end, $hiddenDays*/ 7680) {\n\t\t\t$$invalidate(3, iChunks = $_iEvents.map(event => {\n\t\t\t\tlet chunk;\n\n\t\t\t\tif (event && intersects(event)) {\n\t\t\t\t\tchunk = createEventChunk(event, start, end);\n\t\t\t\t\tprepareEventChunks([chunk], $hiddenDays);\n\t\t\t\t} else {\n\t\t\t\t\tchunk = null;\n\t\t\t\t}\n\n\t\t\t\treturn chunk;\n\t\t\t}));\n\t\t}\n\t};\n\n\treturn [\n\t\tdates,\n\t\tchunks,\n\t\tlongChunks,\n\t\tiChunks,\n\t\t$theme,\n\t\t_events,\n\t\t_iEvents,\n\t\thiddenDays,\n\t\ttheme,\n\t\tstart,\n\t\tend,\n\t\t$hiddenDays,\n\t\t$_iEvents,\n\t\t$_events\n\t];\n}\n\nclass Week extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { dates: 0 });\n\t}\n}\n\n/* packages/day-grid/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[14] = list[i];\n\treturn child_ctx;\n}\n\n// (37:1) {#each weeks as dates}\nfunction create_each_block(ctx) {\n\tlet week;\n\tlet current;\n\tweek = new Week({ props: { dates: /*dates*/ ctx[14] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty & /*weeks*/ 1) week_changes.dates = /*dates*/ ctx[14];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (36:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*weeks*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*weeks*/ 1) {\n\t\t\t\teach_value = /*weeks*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t;\n\tlet body;\n\tlet current;\n\theader = new Header({});\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, weeks*/ 131073) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewDates;\n\tlet $dayMaxEvents;\n\tlet $_hiddenEvents;\n\tlet $hiddenDays;\n\tlet $_viewClass;\n\tlet { _viewDates, _viewClass, dayMaxEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(7, $_viewDates = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(11, $_viewClass = value));\n\tcomponent_subscribe($$self, dayMaxEvents, value => $$invalidate(8, $dayMaxEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(9, $hiddenDays = value));\n\tlet viewState = new State(getContext('state'));\n\tsetContext('view-state', viewState);\n\tlet { _hiddenEvents } = viewState;\n\tcomponent_subscribe($$self, _hiddenEvents, value => $$invalidate(10, $_hiddenEvents = value));\n\tset_store_value(_viewClass, $_viewClass = 'month', $_viewClass);\n\tlet weeks;\n\tlet days;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$hiddenDays, $dayMaxEvents, $_viewDates, days, weeks*/ 961) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, weeks = []);\n\t\t\t\t$$invalidate(6, days = 7 - $hiddenDays.length);\n\t\t\t\tset_store_value(_hiddenEvents, $_hiddenEvents = {}, $_hiddenEvents);\n\n\t\t\t\tfor (let i = 0; i < $_viewDates.length / days; ++i) {\n\t\t\t\t\tlet dates = [];\n\n\t\t\t\t\tfor (let j = 0; j < days; ++j) {\n\t\t\t\t\t\tdates.push($_viewDates[i * days + j]);\n\t\t\t\t\t}\n\n\t\t\t\t\tweeks.push(dates);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tweeks,\n\t\t_viewDates,\n\t\t_viewClass,\n\t\tdayMaxEvents,\n\t\thiddenDays,\n\t\t_hiddenEvents,\n\t\tdays,\n\t\t$_viewDates,\n\t\t$dayMaxEvents,\n\t\t$hiddenDays\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.dayMaxEvents = false;\n\t\toptions.dayPopoverFormat = {month: 'long', day: 'numeric', year: 'numeric'};\n\t\toptions.moreLinkContent = undefined;\n\t\t// Common options\n\t\toptions.buttonText.dayGridMonth = 'month';\n\t\toptions.theme.uniform = 'ec-uniform';\n\t\toptions.theme.dayFoot = 'ec-day-foot';\n\t\toptions.theme.month = 'ec-month';\n\t\toptions.theme.popup = 'ec-popup';\n\t\toptions.view = 'dayGridMonth';\n\t\toptions.views.dayGridMonth = {\n\t\t\tcomponent: View,\n\t\t\tdayHeaderFormat: {weekday: 'short'},\n\t\t\tdisplayEventEnd: false,\n\t\t\tduration: {months: 1},\n\t\t\tmonthMode: true,\n\t\t\ttitleFormat: {year: 'numeric', month: 'long'}\n\t\t};\n\t},\n\n\tcreateStores(state) {\n\t\tstate._intlDayPopover = intl(state.locale, state.dayPopoverFormat);\n\t}\n};\n\nexport { index as default, prepareEventChunks };\n","import { SvelteComponent, init, safe_not_equal, create_slot, element, attr, insert, append, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, detach, component_subscribe, space, action_destroyer, listen, is_function, noop, run_all, binding_callbacks, text, empty, set_data, create_component, mount_component, destroy_component, group_outros, check_outros, destroy_each, set_store_value } from 'svelte/internal';\nimport { getContext, onMount, setContext } from 'svelte';\nimport { setContent, toEventWithLocalDates, toViewWithLocalDates, createEventContent, setMidnight, createDate, addDay, cloneDate, createEventChunk, sortEventChunks, datesEqual, toLocalDate, toISOString, intl } from '@event-calendar/common';\n\n/* packages/list/src/Body.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$3(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tconst default_slot_template = /*#slots*/ ctx[3].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].content);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].body);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div0, null);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 4)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[2],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[2])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[2], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].content)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].body)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $theme;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { theme } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);\n\t};\n\n\treturn [$theme, theme, $$scope, slots];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, {});\n\t}\n}\n\n/* packages/list/src/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$2(ctx) {\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t;\n\tlet div1;\n\tlet div1_class_value;\n\tlet setContent_action;\n\tlet div2_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[0].eventTag);\n\t\t\tattr(div0, \"style\", /*style*/ ctx[2]);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[0].eventBody);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[0].event);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div2, anchor);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div2, t);\n\t\t\tappend(div2, div1);\n\t\t\t/*div2_binding*/ ctx[26](div2);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div1, /*content*/ ctx[3])),\n\t\t\t\t\tlisten(div2, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventClick*/ ctx[4]))) /*createHandler*/ ctx[18](/*$eventClick*/ ctx[4]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div2, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventMouseEnter*/ ctx[5]))) /*createHandler*/ ctx[18](/*$eventMouseEnter*/ ctx[5]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div2, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[18](/*$eventMouseLeave*/ ctx[6]))) /*createHandler*/ ctx[18](/*$eventMouseLeave*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (dirty & /*$theme*/ 1 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[0].eventTag)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*style*/ 4) {\n\t\t\t\tattr(div0, \"style\", /*style*/ ctx[2]);\n\t\t\t}\n\n\t\t\tif (dirty & /*$theme*/ 1 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[0].eventBody)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 8) setContent_action.update.call(null, /*content*/ ctx[3]);\n\n\t\t\tif (dirty & /*$theme*/ 1 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[0].event)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div2);\n\t\t\t/*div2_binding*/ ctx[26](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet { chunk } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventColor, eventContent, eventClick, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(23, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(25, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(24, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(22, $eventContent = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(4, $eventClick = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(28, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(5, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(6, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(0, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(20, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(21, $_intlEventTime = value));\n\tlet el;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(chunk.event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction createHandler(fn) {\n\t\treturn jsEvent => {\n\t\t\tif (is_function(fn)) {\n\t\t\t\tfn({\n\t\t\t\t\tevent: toEventWithLocalDates(chunk.event),\n\t\t\t\t\tel,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction div2_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(1, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(19, chunk = $$props.chunk);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*chunk, $eventBackgroundColor, $eventColor*/ 50855936) {\n\t\t\t{\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = chunk.event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(2, style = `background-color:${bgColor};`);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view*/ 16252929) {\n\t\t\t{\n\t\t\t\t// Content\n\t\t\t\t$$invalidate(3, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\t$theme,\n\t\tel,\n\t\tstyle,\n\t\tcontent,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventColor,\n\t\teventContent,\n\t\teventClick,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\tcreateHandler,\n\t\tchunk,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv2_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, { chunk: 19 });\n\t}\n}\n\n/* packages/list/src/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[24] = list[i];\n\treturn child_ctx;\n}\n\n// (60:0) {#if chunks.length}\nfunction create_if_block$1(ctx) {\n\tlet div;\n\tlet t0_value = /*$_intlListDayFormat*/ ctx[7].format(/*date*/ ctx[0]) + \"\";\n\tlet t0;\n\tlet t1;\n\tlet span;\n\tlet t2_value = /*$_intlListDaySideFormat*/ ctx[8].format(/*date*/ ctx[0]) + \"\";\n\tlet t2;\n\tlet span_class_value;\n\tlet div_class_value;\n\tlet t3;\n\tlet each_1_anchor;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*chunks*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tspan = element(\"span\");\n\t\t\tt2 = text(t2_value);\n\t\t\tt3 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t\tattr(span, \"class\", span_class_value = /*$theme*/ ctx[5].daySide);\n\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[5].day + (/*isToday*/ ctx[3] ? ' ' + /*$theme*/ ctx[5].today : '') + (/*highlight*/ ctx[4]\n\t\t\t? ' ' + /*$theme*/ ctx[5].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t0);\n\t\t\tappend(div, t1);\n\t\t\tappend(div, span);\n\t\t\tappend(span, t2);\n\t\t\t/*div_binding*/ ctx[19](div);\n\t\t\tinsert(target, t3, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div, \"click\", function () {\n\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[16](/*$dateClick*/ ctx[6]))) /*createClickHandler*/ ctx[16](/*$dateClick*/ ctx[6]).apply(this, arguments);\n\t\t\t\t});\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\t\t\tif ((!current || dirty & /*$_intlListDayFormat, date*/ 129) && t0_value !== (t0_value = /*$_intlListDayFormat*/ ctx[7].format(/*date*/ ctx[0]) + \"\")) set_data(t0, t0_value);\n\t\t\tif ((!current || dirty & /*$_intlListDaySideFormat, date*/ 257) && t2_value !== (t2_value = /*$_intlListDaySideFormat*/ ctx[8].format(/*date*/ ctx[0]) + \"\")) set_data(t2, t2_value);\n\n\t\t\tif (!current || dirty & /*$theme*/ 32 && span_class_value !== (span_class_value = /*$theme*/ ctx[5].daySide)) {\n\t\t\t\tattr(span, \"class\", span_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, isToday, highlight*/ 56 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[5].day + (/*isToday*/ ctx[3] ? ' ' + /*$theme*/ ctx[5].today : '') + (/*highlight*/ ctx[4]\n\t\t\t? ' ' + /*$theme*/ ctx[5].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*chunks*/ 2) {\n\t\t\t\teach_value = /*chunks*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\t/*div_binding*/ ctx[19](null);\n\t\t\tif (detaching) detach(t3);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\n// (69:1) {#each chunks as chunk}\nfunction create_each_block$1(ctx) {\n\tlet event;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*chunk*/ ctx[24] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*chunks*/ 2) event_changes.chunk = /*chunk*/ ctx[24];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet if_block_anchor;\n\tlet current;\n\tlet if_block = /*chunks*/ ctx[1].length && create_if_block$1(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (/*chunks*/ ctx[1].length) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*chunks*/ 2) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $highlightedDates;\n\tlet $_events;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_intlListDayFormat;\n\tlet $_intlListDaySideFormat;\n\tlet { date } = $$props;\n\tlet { _events, _intlDayHeader, _view, date: currentDate, dateClick, highlightedDates, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(18, $_events = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(20, $_view = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(6, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(17, $highlightedDates = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet { _intlListDayFormat, _intlListDaySideFormat } = getContext('view-state');\n\tcomponent_subscribe($$self, _intlListDayFormat, value => $$invalidate(7, $_intlListDayFormat = value));\n\tcomponent_subscribe($$self, _intlListDaySideFormat, value => $$invalidate(8, $_intlListDaySideFormat = value));\n\tlet el;\n\tlet chunks;\n\tlet today = setMidnight(createDate()), isToday, highlight;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tfn({\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction div_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*date, $_events, chunks*/ 262147) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\t\t\t\tlet start = date;\n\t\t\t\tlet end = addDay(cloneDate(date));\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.display === 'auto' && event.start < end && event.end > start) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tsortEventChunks(chunks);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*date, $highlightedDates*/ 131073) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(4, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tchunks,\n\t\tel,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_intlListDayFormat,\n\t\t$_intlListDaySideFormat,\n\t\t_events,\n\t\t_view,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\ttheme,\n\t\t_intlListDayFormat,\n\t\t_intlListDaySideFormat,\n\t\tcreateClickHandler,\n\t\t$highlightedDates,\n\t\t$_events,\n\t\tdiv_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { date: 0 });\n\t}\n}\n\nclass State {\n constructor(state) {\n this._intlListDayFormat = intl(state.locale, state.listDayFormat);\n this._intlListDaySideFormat = intl(state.locale, state.listDaySideFormat);\n }\n}\n\n/* packages/list/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\n// (49:1) {:else}\nfunction create_else_block(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*$_viewDates*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewDates*/ 2) {\n\t\t\t\teach_value = /*$_viewDates*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (47:1) {#if noEvents}\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet setContent_action;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[3].noEvents);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div, /*content*/ ctx[0])),\n\t\t\t\t\tlisten(div, \"click\", /*handleClick*/ ctx[11])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme*/ 8 && div_class_value !== (div_class_value = /*$theme*/ ctx[3].noEvents)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*content*/ 1) setContent_action.update.call(null, /*content*/ ctx[0]);\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\n// (50:2) {#each $_viewDates as date}\nfunction create_each_block(ctx) {\n\tlet day;\n\tlet current;\n\tday = new Day({ props: { date: /*date*/ ctx[18] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 2) day_changes.date = /*date*/ ctx[18];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (46:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*noEvents*/ ctx[2]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet body;\n\tlet current;\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $theme, content, noEvents, $_viewDates*/ 2097167) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $noEventsClick;\n\tlet $noEventsContent;\n\tlet $_events;\n\tlet $_viewDates;\n\tlet $_viewClass;\n\tlet $theme;\n\tlet { _events, _view, _viewDates, _viewClass, noEventsClick, noEventsContent, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(13, $_events = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(14, $_view = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(1, $_viewDates = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(16, $_viewClass = value));\n\tcomponent_subscribe($$self, noEventsClick, value => $$invalidate(15, $noEventsClick = value));\n\tcomponent_subscribe($$self, noEventsContent, value => $$invalidate(12, $noEventsContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(3, $theme = value));\n\tlet state = new State(getContext('state'));\n\tsetContext('view-state', state);\n\tset_store_value(_viewClass, $_viewClass = 'list', $_viewClass);\n\tlet noEvents, content;\n\n\tfunction handleClick(jsEvent) {\n\t\tif (is_function($noEventsClick)) {\n\t\t\t$noEventsClick({\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_viewDates, $_events*/ 8194) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, noEvents = true);\n\n\t\t\t\tif ($_viewDates.length) {\n\t\t\t\t\tlet start = $_viewDates[0];\n\t\t\t\t\tlet end = addDay(cloneDate($_viewDates[$_viewDates.length - 1]));\n\n\t\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\t\tif (event.display === 'auto' && event.start < end && event.end > start) {\n\t\t\t\t\t\t\t$$invalidate(2, noEvents = false);\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$noEventsContent, content*/ 4097) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, content = is_function($noEventsContent)\n\t\t\t\t? $noEventsContent()\n\t\t\t\t: $noEventsContent);\n\n\t\t\t\tif (typeof content === 'string') {\n\t\t\t\t\t$$invalidate(0, content = { html: content });\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tcontent,\n\t\t$_viewDates,\n\t\tnoEvents,\n\t\t$theme,\n\t\t_events,\n\t\t_view,\n\t\t_viewDates,\n\t\t_viewClass,\n\t\tnoEventsClick,\n\t\tnoEventsContent,\n\t\ttheme,\n\t\thandleClick,\n\t\t$noEventsContent,\n\t\t$_events\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\t// Common options\n\t\toptions.buttonText.listDay = 'list';\n\t\toptions.buttonText.listWeek = 'list';\n\t\toptions.buttonText.listMonth = 'list';\n\t\toptions.buttonText.listYear = 'list';\n\t\toptions.listDayFormat = {weekday: 'long'};\n\t\toptions.listDaySideFormat = {year: 'numeric', month: 'long', day: 'numeric'};\n\t\toptions.noEventsClick = undefined; // ec option\n\t\toptions.noEventsContent = 'No events';\n\t\toptions.theme.daySide = 'ec-day-side';\n\t\toptions.theme.eventTag = 'ec-event-tag';\n\t\toptions.theme.list = 'ec-list';\n\t\toptions.theme.noEvents = 'ec-no-events';\n\t\toptions.view = 'listWeek';\n\t\toptions.views.listDay = {\n\t\t\tcomponent: View,\n\t\t\tduration: {days: 1}\n\t\t};\n\t\toptions.views.listWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t\toptions.views.listMonth = {\n\t\t\tcomponent: View,\n\t\t\tduration: {months: 1}\n\t\t};\n\t\toptions.views.listYear = {\n\t\t\tcomponent: View,\n\t\t\tduration: {years: 1}\n\t\t};\n\t}\n};\n\nexport { index as default };\n","import { is_function, SvelteComponent, init, safe_not_equal, element, text, attr, insert, append, set_data, detach, create_slot, space, action_destroyer, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_each, component_subscribe, listen, run_all, set_store_value, binding_callbacks, create_component, mount_component, group_outros, destroy_component, check_outros, set_style, noop, empty } from 'svelte/internal';\nimport { getContext, onMount, onDestroy, createEventDispatcher, afterUpdate, tick, setContext } from 'svelte';\nimport { derived } from 'svelte/store';\nimport { createDuration, DAY_IN_SECONDS, addDuration, cloneDate, createDate, sortEventChunks, setContent, hasYScroll, toEventWithLocalDates, toViewWithLocalDates, createEventContent, setMidnight, createEventChunk, datesEqual, rect, toLocalDate, toISOString, addDay, height } from '@event-calendar/common';\n\nfunction times(state, localState) {\n return derived(\n [localState._slotTimeLimits, state._intlSlotLabel, state.slotDuration],\n ([$_slotTimeLimits, $_intlSlotLabel, $slotDuration]) => {\n let compact = $slotDuration.seconds >= 3600;\n let times = [];\n let date = createDate('2020-01-01');\n let end = cloneDate(date);\n let i = 1;\n addDuration(date, $_slotTimeLimits.min);\n addDuration(end, $_slotTimeLimits.max);\n while (date < end) {\n times.push(times.length && (i || compact) ? $_intlSlotLabel.format(date) : '');\n addDuration(date, $slotDuration);\n i = 1 - i;\n }\n\n return times;\n }\n );\n}\n\nfunction slotTimeLimits(state) {\n return derived(\n [state._events, state._viewDates, state.flexibleSlotTimeLimits, state.slotMinTime, state.slotMaxTime],\n ([$_events, $_viewDates, $flexibleSlotTimeLimits, $slotMinTime, $slotMaxTime]) => {\n let min = createDuration($slotMinTime);\n let max = createDuration($slotMaxTime);\n\n if ($flexibleSlotTimeLimits) {\n let minMin = createDuration(Math.min(min.seconds, Math.max(0, max.seconds - DAY_IN_SECONDS)));\n let maxMax = createDuration(Math.max(max.seconds, minMin.seconds + DAY_IN_SECONDS));\n loop: for (let date of $_viewDates) {\n let start = addDuration(cloneDate(date), min);\n let end = addDuration(cloneDate(date), max);\n let minStart = addDuration(cloneDate(date), minMin);\n let maxEnd = addDuration(cloneDate(date), maxMax);\n for (let event of $_events) {\n if (event.display === 'auto' && event.start < maxEnd && event.end > minStart) {\n if (event.start < start) {\n let seconds = Math.max((event.start - date) / 1000, minMin.seconds);\n if (seconds < min.seconds) {\n min.seconds = seconds;\n }\n }\n if (event.end > end) {\n let seconds = Math.min((event.end - date) / 1000, maxMax.seconds);\n if (seconds > max.seconds) {\n max.seconds = seconds;\n }\n }\n if (min.seconds === minMin.seconds && max.seconds === maxMax.seconds) {\n break loop;\n }\n }\n }\n }\n }\n\n return {min, max};\n }\n );\n}\n\nclass State {\n constructor(state) {\n this._slotTimeLimits = slotTimeLimits(state); // flexible limits\n this._times = times(state, this);\n }\n}\n\nfunction groupEventChunks(chunks) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n // Group\n let group = {\n columns: [],\n end: chunks[0].end\n };\n for (let chunk of chunks) {\n let c = 0;\n if (chunk.start < group.end) {\n for (; c < group.columns.length; ++c) {\n if (group.columns[c][group.columns[c].length - 1].end <= chunk.start) {\n break;\n }\n }\n if (chunk.end > group.end) {\n group.end = chunk.end;\n }\n } else {\n group = {\n columns: [],\n end: chunk.end\n };\n }\n\n if (group.columns.length < c + 1) {\n group.columns.push([]);\n }\n group.columns[c].push(chunk);\n\n chunk.group = group;\n chunk.column = c;\n }\n}\n\nfunction createAllDayContent(allDayContent) {\n let text = 'all-day';\n let content;\n if (allDayContent) {\n content = is_function(allDayContent) ? allDayContent({text}) : allDayContent;\n if (typeof content === 'string') {\n content = {html: content};\n }\n } else {\n content = {\n html: text\n };\n }\n\n return content;\n}\n\n/* packages/time-grid/src/Header.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$5(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[12] = list[i];\n\treturn child_ctx;\n}\n\n// (19:3) {#each $_times as time}\nfunction create_each_block$5(ctx) {\n\tlet div;\n\tlet t_value = /*time*/ ctx[12] + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].time);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_times*/ 16 && t_value !== (t_value = /*time*/ ctx[12] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].time)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$8(ctx) {\n\tlet div6;\n\tlet div2;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t0;\n\tlet div1;\n\tlet div1_class_value;\n\tlet div2_class_value;\n\tlet t1;\n\tlet div4;\n\tlet div3;\n\tlet div3_class_value;\n\tlet t2;\n\tlet div4_class_value;\n\tlet t3;\n\tlet div5;\n\tlet div5_class_value;\n\tlet div6_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value = /*$_times*/ ctx[4];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));\n\t}\n\n\tconst default_slot_template = /*#slots*/ ctx[11].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[10], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv6 = element(\"div\");\n\t\t\tdiv2 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = space();\n\t\t\tdiv1 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt1 = space();\n\t\t\tdiv4 = element(\"div\");\n\t\t\tdiv3 = element(\"div\");\n\t\t\tt2 = space();\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tt3 = space();\n\t\t\tdiv5 = element(\"div\");\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[2].sidebarTitle);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[2].hiddenTimes);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[2].sidebar);\n\t\t\tattr(div3, \"class\", div3_class_value = /*$theme*/ ctx[2].lines);\n\t\t\tattr(div4, \"class\", div4_class_value = /*$theme*/ ctx[2].days);\n\t\t\tattr(div5, \"class\", div5_class_value = /*$theme*/ ctx[2].hiddenScroll);\n\n\t\t\tattr(div6, \"class\", div6_class_value = \"\" + ((/*allDay*/ ctx[0]\n\t\t\t? /*$theme*/ ctx[2].allDay\n\t\t\t: /*$theme*/ ctx[2].header) + (/*$_scrollable*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[2].withScroll\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div6, anchor);\n\t\t\tappend(div6, div2);\n\t\t\tappend(div2, div0);\n\t\t\tappend(div2, t0);\n\t\t\tappend(div2, div1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div6, t1);\n\t\t\tappend(div6, div4);\n\t\t\tappend(div4, div3);\n\t\t\tappend(div4, t2);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div4, null);\n\t\t\t}\n\n\t\t\tappend(div6, t3);\n\t\t\tappend(div6, div5);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = action_destroyer(setContent_action = setContent.call(null, div0, /*allDayText*/ ctx[1]));\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[2].sidebarTitle)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty & /*allDayText*/ 2) setContent_action.update.call(null, /*allDayText*/ ctx[1]);\n\n\t\t\tif (dirty & /*$theme, $_times*/ 20) {\n\t\t\t\teach_value = /*$_times*/ ctx[4];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$5(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$5(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[2].hiddenTimes)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[2].sidebar)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div3_class_value !== (div3_class_value = /*$theme*/ ctx[2].lines)) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty & /*$$scope*/ 1024)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[10],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[10])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[10], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div4_class_value !== (div4_class_value = /*$theme*/ ctx[2].days)) {\n\t\t\t\tattr(div4, \"class\", div4_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 4 && div5_class_value !== (div5_class_value = /*$theme*/ ctx[2].hiddenScroll)) {\n\t\t\t\tattr(div5, \"class\", div5_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*allDay, $theme, $_scrollable*/ 13 && div6_class_value !== (div6_class_value = \"\" + ((/*allDay*/ ctx[0]\n\t\t\t? /*$theme*/ ctx[2].allDay\n\t\t\t: /*$theme*/ ctx[2].header) + (/*$_scrollable*/ ctx[3]\n\t\t\t? ' ' + /*$theme*/ ctx[2].withScroll\n\t\t\t: '')))) {\n\t\t\t\tattr(div6, \"class\", div6_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div6);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance$8($$self, $$props, $$invalidate) {\n\tlet $allDayContent;\n\tlet $theme;\n\tlet $_scrollable;\n\tlet $_times;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { allDay = false } = $$props;\n\tlet { _scrollable, allDayContent, theme } = getContext('state');\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(3, $_scrollable = value));\n\tcomponent_subscribe($$self, allDayContent, value => $$invalidate(9, $allDayContent = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tlet { _times } = getContext('view-state');\n\tcomponent_subscribe($$self, _times, value => $$invalidate(4, $_times = value));\n\tlet allDayText;\n\n\t$$self.$$set = $$props => {\n\t\tif ('allDay' in $$props) $$invalidate(0, allDay = $$props.allDay);\n\t\tif ('$$scope' in $$props) $$invalidate(10, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$allDayContent*/ 512) {\n\t\t\t$$invalidate(1, allDayText = createAllDayContent($allDayContent));\n\t\t}\n\t};\n\n\treturn [\n\t\tallDay,\n\t\tallDayText,\n\t\t$theme,\n\t\t$_scrollable,\n\t\t$_times,\n\t\t_scrollable,\n\t\tallDayContent,\n\t\ttheme,\n\t\t_times,\n\t\t$allDayContent,\n\t\t$$scope,\n\t\tslots\n\t];\n}\n\nclass Header extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$8, create_fragment$8, safe_not_equal, { allDay: 0 });\n\t}\n}\n\n/* packages/time-grid/src/Body.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[30] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[33] = list[i];\n\treturn child_ctx;\n}\n\n// (46:3) {#each $_times as time}\nfunction create_each_block_1$2(ctx) {\n\tlet div;\n\tlet t_value = /*time*/ ctx[33] + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].time);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_times*/ 2 && t_value !== (t_value = /*time*/ ctx[33] + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].time)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (52:4) {#each lines as line}\nfunction create_each_block$4(ctx) {\n\tlet div;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].line);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].line)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction create_fragment$7(ctx) {\n\tlet div5;\n\tlet div4;\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t0;\n\tlet div1_class_value;\n\tlet t1;\n\tlet div3;\n\tlet div2;\n\tlet div2_class_value;\n\tlet t2;\n\tlet div3_class_value;\n\tlet div4_class_value;\n\tlet div5_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value_1 = /*$_times*/ ctx[1];\n\tlet each_blocks_1 = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks_1[i] = create_each_block_1$2(get_each_context_1$2(ctx, each_value_1, i));\n\t}\n\n\tlet each_value = /*lines*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));\n\t}\n\n\tconst default_slot_template = /*#slots*/ ctx[26].default;\n\tconst default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv5 = element(\"div\");\n\t\t\tdiv4 = element(\"div\");\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].c();\n\t\t\t}\n\n\t\t\tt1 = space();\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv2 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt2 = space();\n\t\t\tif (default_slot) default_slot.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[5].sidebarTitle);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[5].sidebar);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[5].lines);\n\t\t\tattr(div3, \"class\", div3_class_value = /*$theme*/ ctx[5].days);\n\t\t\tattr(div4, \"class\", div4_class_value = /*$theme*/ ctx[5].content);\n\n\t\t\tattr(div5, \"class\", div5_class_value = \"\" + (/*$theme*/ ctx[5].body + (/*compact*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[5].compact\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div5, anchor);\n\t\t\tappend(div5, div4);\n\t\t\tappend(div4, div1);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t0);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div4, t1);\n\t\t\tappend(div4, div3);\n\t\t\tappend(div3, div2);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div2, null);\n\t\t\t}\n\n\t\t\tappend(div3, t2);\n\n\t\t\tif (default_slot) {\n\t\t\t\tdefault_slot.m(div3, null);\n\t\t\t}\n\n\t\t\t/*div5_binding*/ ctx[27](div5);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*recheckScrollable*/ ctx[17]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*allDayText*/ ctx[4])),\n\t\t\t\t\tlisten(div5, \"scroll\", function () {\n\t\t\t\t\t\tif (is_function(/*$_scroll*/ ctx[6])) /*$_scroll*/ ctx[6].apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[5].sidebarTitle)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*allDayText*/ 16) setContent_action.update.call(null, /*allDayText*/ ctx[4]);\n\n\t\t\tif (dirty[0] & /*$theme, $_times*/ 34) {\n\t\t\t\teach_value_1 = /*$_times*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1$2(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks_1[i]) {\n\t\t\t\t\t\teach_blocks_1[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks_1[i] = create_each_block_1$2(child_ctx);\n\t\t\t\t\t\teach_blocks_1[i].c();\n\t\t\t\t\t\teach_blocks_1[i].m(div1, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks_1.length; i += 1) {\n\t\t\t\t\teach_blocks_1[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks_1.length = each_value_1.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[5].sidebar)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme, lines*/ 40) {\n\t\t\t\teach_value = /*lines*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$4(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div2, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value.length;\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[5].lines)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (default_slot) {\n\t\t\t\tif (default_slot.p && (!current || dirty[0] & /*$$scope*/ 33554432)) {\n\t\t\t\t\tupdate_slot_base(\n\t\t\t\t\t\tdefault_slot,\n\t\t\t\t\t\tdefault_slot_template,\n\t\t\t\t\t\tctx,\n\t\t\t\t\t\t/*$$scope*/ ctx[25],\n\t\t\t\t\t\t!current\n\t\t\t\t\t\t? get_all_dirty_from_scope(/*$$scope*/ ctx[25])\n\t\t\t\t\t\t: get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),\n\t\t\t\t\t\tnull\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div3_class_value !== (div3_class_value = /*$theme*/ ctx[5].days)) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div4_class_value !== (div4_class_value = /*$theme*/ ctx[5].content)) {\n\t\t\t\tattr(div4, \"class\", div4_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, compact*/ 36 && div5_class_value !== (div5_class_value = \"\" + (/*$theme*/ ctx[5].body + (/*compact*/ ctx[2]\n\t\t\t? ' ' + /*$theme*/ ctx[5].compact\n\t\t\t: '')))) {\n\t\t\t\tattr(div5, \"class\", div5_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(default_slot, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(default_slot, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div5);\n\t\t\tdestroy_each(each_blocks_1, detaching);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (default_slot) default_slot.d(detaching);\n\t\t\t/*div5_binding*/ ctx[27](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$7($$self, $$props, $$invalidate) {\n\tlet $_scrollable;\n\tlet $slotDuration;\n\tlet $_times;\n\tlet $slotHeight;\n\tlet $scrollTime;\n\tlet $_viewDates;\n\tlet $allDayContent;\n\tlet $_slotTimeLimits;\n\tlet $theme;\n\tlet $_scroll;\n\tlet { $$slots: slots = {}, $$scope } = $$props;\n\tlet { _intlSlotLabel, _viewDates, scrollTime, _scrollable, _scroll, allDayContent, slotDuration, slotHeight, theme } = getContext('state');\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(22, $_viewDates = value));\n\tcomponent_subscribe($$self, scrollTime, value => $$invalidate(21, $scrollTime = value));\n\tcomponent_subscribe($$self, _scrollable, value => $$invalidate(28, $_scrollable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(6, $_scroll = value));\n\tcomponent_subscribe($$self, allDayContent, value => $$invalidate(23, $allDayContent = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(19, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(20, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet { _slotTimeLimits, _times } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(24, $_slotTimeLimits = value));\n\tcomponent_subscribe($$self, _times, value => $$invalidate(1, $_times = value));\n\tlet el;\n\tlet compact;\n\tlet lines = [];\n\tlet timeLimitMin;\n\tlet allDayText;\n\n\tfunction recheckScrollable() {\n\t\tset_store_value(_scrollable, $_scrollable = hasYScroll(el), $_scrollable);\n\t}\n\n\tfunction div5_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t((((((($$invalidate(0, el), $$invalidate(22, $_viewDates)), $$invalidate(21, $scrollTime)), $$invalidate(18, timeLimitMin)), $$invalidate(19, $slotDuration)), $$invalidate(20, $slotHeight)), $$invalidate(1, $_times)), $$invalidate(24, $_slotTimeLimits));\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*$slotDuration, $_times, $_slotTimeLimits*/ 17301506) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, compact = $slotDuration.seconds >= 3600);\n\t\t\t\t$$invalidate(3, lines.length = $_times.length, lines);\n\n\t\t\t\t// Use intermediate variable so that changes in _slotTimeLimits do not trigger setting the el.scrollTop\n\t\t\t\t$$invalidate(18, timeLimitMin = $_slotTimeLimits.min.seconds);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$allDayContent*/ 8388608) {\n\t\t\t$$invalidate(4, allDayText = createAllDayContent($allDayContent));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*el, $_viewDates, $scrollTime, timeLimitMin, $slotDuration, $slotHeight*/ 8126465) {\n\t\t\tif (el && $_viewDates) {\n\t\t\t\t$$invalidate(0, el.scrollTop = (($scrollTime.seconds - timeLimitMin) / $slotDuration.seconds - 0.5) * $slotHeight, el);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*el, $_times, $slotDuration*/ 524291) {\n\t\t\tif (el && $_times && $slotDuration) {\n\t\t\t\tsetTimeout(recheckScrollable);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tel,\n\t\t$_times,\n\t\tcompact,\n\t\tlines,\n\t\tallDayText,\n\t\t$theme,\n\t\t$_scroll,\n\t\t_viewDates,\n\t\tscrollTime,\n\t\t_scrollable,\n\t\t_scroll,\n\t\tallDayContent,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_slotTimeLimits,\n\t\t_times,\n\t\trecheckScrollable,\n\t\ttimeLimitMin,\n\t\t$slotDuration,\n\t\t$slotHeight,\n\t\t$scrollTime,\n\t\t$_viewDates,\n\t\t$allDayContent,\n\t\t$_slotTimeLimits,\n\t\t$$scope,\n\t\tslots,\n\t\tdiv5_binding\n\t];\n}\n\nclass Body extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$7, create_fragment$7, safe_not_equal, {}, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$6(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[2].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[4]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[5]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\n\t\t\tif (switch_instance) {\n\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[43](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[6])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventClick*/ ctx[8], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[29](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[1]))) /*createHandler*/ ctx[29](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[1]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[1] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[1] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[30]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 4 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[2].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 64) setContent_action.update.call(null, /*content*/ ctx[6]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[30](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 16) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[4]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 32) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[5]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[43](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$6($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $slotHeight;\n\tlet $_slotTimeLimits;\n\tlet $slotDuration;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { date } = $$props;\n\tlet { chunk } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventColor, eventContent, eventClick, eventDidMount, eventMouseEnter, eventMouseLeave, slotDuration, slotHeight, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(36, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(39, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(38, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(35, $eventContent = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(45, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(42, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(40, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(33, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(34, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(37, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _slotTimeLimits, _viewResources } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(41, $_slotTimeLimits = value));\n\tlet el;\n\tlet event;\n\tlet display;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.drag.startTimeGrid(event, el, jsEvent, _viewResources, false, resize);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(3, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(31, date = $$props.date);\n\t\tif ('chunk' in $$props) $$invalidate(32, chunk = $$props.chunk);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[1] & /*chunk*/ 2) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, style, display, $theme*/ 39 | $$self.$$.dirty[1] & /*$slotDuration, $_slotTimeLimits, chunk, date, $slotHeight, $eventBackgroundColor, $eventColor, $_classes*/ 4035) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, display = event.display);\n\n\t\t\t\t// Style\n\t\t\t\tlet step = $slotDuration.seconds / 60;\n\n\t\t\t\tlet offset = $_slotTimeLimits.min.seconds / 60;\n\t\t\t\tlet start = (chunk.start - date) / 1000 / 60;\n\t\t\t\tlet end = (chunk.end - date) / 1000 / 60;\n\t\t\t\tlet top = (start - offset) / step * $slotHeight;\n\t\t\t\tlet height = (end - start) / step * $slotHeight;\n\t\t\t\tlet maxHeight = ($_slotTimeLimits.max.seconds / 60 - start) / step * $slotHeight;\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\t\t\t\t$$invalidate(5, style = `top:${top}px;` + `min-height:${height}px;` + `height:${height}px;` + `max-height:${maxHeight}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(5, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\tif (display === 'auto' || display === 'ghost') {\n\t\t\t\t\t$$invalidate(5, style += `z-index:${chunk.column + 1};` + `left:${100 / chunk.group.columns.length * chunk.column}%;` + `width:${100 / chunk.group.columns.length * 0.5 * (1 + chunk.group.columns.length - chunk.column)}%;`);\n\t\t\t\t}\n\n\t\t\t\t// Class\n\t\t\t\t$$invalidate(4, classes = $_classes(display === 'background' ? $theme.bgEvent : $theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$theme*/ 4 | $$self.$$.dirty[1] & /*chunk, $displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 62) {\n\t\t\t// Content\n\t\t\t$$invalidate(6, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\tdisplay,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventColor,\n\t\teventContent,\n\t\teventClick,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_slotTimeLimits,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\tdate,\n\t\tchunk,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\t$slotHeight,\n\t\t$_slotTimeLimits,\n\t\t$slotDuration,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event$1 extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$6, create_fragment$6, safe_not_equal, { date: 31, chunk: 32 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/NowIndicator.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$5(ctx) {\n\tlet div;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].nowIndicator);\n\t\t\tset_style(div, \"top\", /*top*/ ctx[0] + \"px\");\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].nowIndicator)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\n\t\t\tif (dirty & /*top*/ 1) {\n\t\t\t\tset_style(div, \"top\", /*top*/ ctx[0] + \"px\");\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\nfunction instance$5($$self, $$props, $$invalidate) {\n\tlet $slotHeight;\n\tlet $_slotTimeLimits;\n\tlet $slotDuration;\n\tlet $theme;\n\tlet { slotDuration, slotHeight, theme } = getContext('state');\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(10, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(8, $slotHeight = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tlet { _slotTimeLimits } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(9, $_slotTimeLimits = value));\n\tlet now;\n\tlet today;\n\tlet top = 0;\n\tlet intervalID;\n\ttimer();\n\n\tonMount(() => setTimeout(\n\t\t() => {\n\t\t\tintervalID = setInterval(timer, 60000);\n\t\t\ttimer();\n\t\t},\n\t\t(60 - now.getSeconds()) * 1000\n\t));\n\n\tonDestroy(() => clearInterval(intervalID));\n\n\tfunction timer() {\n\t\t$$invalidate(6, now = createDate());\n\t\t$$invalidate(7, today = setMidnight(createDate()));\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$slotDuration, $_slotTimeLimits, now, today, $slotHeight*/ 1984) {\n\t\t\t{\n\t\t\t\t// Style\n\t\t\t\tlet step = $slotDuration.seconds / 60;\n\n\t\t\t\tlet offset = $_slotTimeLimits.min.seconds / 60;\n\t\t\t\tlet start = (now - today) / 1000 / 60;\n\t\t\t\t$$invalidate(0, top = (start - offset) / step * $slotHeight);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\ttop,\n\t\t$theme,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\ttheme,\n\t\t_slotTimeLimits,\n\t\tnow,\n\t\ttoday,\n\t\t$slotHeight,\n\t\t$_slotTimeLimits,\n\t\t$slotDuration\n\t];\n}\n\nclass NowIndicator extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$5, create_fragment$5, safe_not_equal, {});\n\t}\n}\n\n/* packages/time-grid/src/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[37] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[37] = list[i];\n\treturn child_ctx;\n}\n\n// (107:2) {#each bgChunks as chunk}\nfunction create_each_block_1$1(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*chunk*/ ctx[37]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*bgChunks*/ 4) event_changes.chunk = /*chunk*/ ctx[37];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (113:2) {#if iChunks[1]}\nfunction create_if_block_2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*iChunks*/ ctx[4][1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*iChunks*/ 16) event_changes.chunk = /*iChunks*/ ctx[4][1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (116:2) {#each chunks as chunk}\nfunction create_each_block$3(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*chunk*/ ctx[37]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*chunks*/ 2) event_changes.chunk = /*chunk*/ ctx[37];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (120:2) {#if iChunks[0] && !iChunks[0].event.allDay}\nfunction create_if_block_1(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event$1({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[0],\n\t\t\t\tchunk: /*iChunks*/ ctx[4][0]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty[0] & /*date*/ 1) event_changes.date = /*date*/ ctx[0];\n\t\t\tif (dirty[0] & /*iChunks*/ 16) event_changes.chunk = /*iChunks*/ ctx[4][0];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\n// (126:2) {#if $nowIndicator && isToday}\nfunction create_if_block$2(ctx) {\n\tlet nowindicator;\n\tlet current;\n\tnowindicator = new NowIndicator({});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(nowindicator.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(nowindicator, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(nowindicator.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(nowindicator.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(nowindicator, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$4(ctx) {\n\tlet div3;\n\tlet div0;\n\tlet div0_class_value;\n\tlet t0;\n\tlet div1;\n\tlet t1;\n\tlet t2;\n\tlet div1_class_value;\n\tlet t3;\n\tlet div2;\n\tlet div2_class_value;\n\tlet div3_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet each_value_1 = /*bgChunks*/ ctx[2];\n\tlet each_blocks_1 = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks_1[i] = create_each_block_1$1(get_each_context_1$1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks_1[i], 1, 1, () => {\n\t\teach_blocks_1[i] = null;\n\t});\n\n\tlet if_block0 = /*iChunks*/ ctx[4][1] && create_if_block_2(ctx);\n\tlet each_value = /*chunks*/ ctx[1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));\n\t}\n\n\tconst out_1 = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\tlet if_block1 = /*iChunks*/ ctx[4][0] && !/*iChunks*/ ctx[4][0].event.allDay && create_if_block_1(ctx);\n\tlet if_block2 = /*$nowIndicator*/ ctx[10] && /*isToday*/ ctx[5] && create_if_block$2();\n\n\treturn {\n\t\tc() {\n\t\t\tdiv3 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].c();\n\t\t\t}\n\n\t\t\tt0 = space();\n\t\t\tdiv1 = element(\"div\");\n\t\t\tif (if_block0) if_block0.c();\n\t\t\tt1 = space();\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt2 = space();\n\t\t\tif (if_block1) if_block1.c();\n\t\t\tt3 = space();\n\t\t\tdiv2 = element(\"div\");\n\t\t\tif (if_block2) if_block2.c();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[7].bgEvents);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[7].events);\n\t\t\tattr(div2, \"class\", div2_class_value = /*$theme*/ ctx[7].extra);\n\n\t\t\tattr(div3, \"class\", div3_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div3, anchor);\n\t\t\tappend(div3, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\teach_blocks_1[i].m(div0, null);\n\t\t\t}\n\n\t\t\tappend(div3, t0);\n\t\t\tappend(div3, div1);\n\t\t\tif (if_block0) if_block0.m(div1, null);\n\t\t\tappend(div1, t1);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div1, null);\n\t\t\t}\n\n\t\t\tappend(div1, t2);\n\t\t\tif (if_block1) if_block1.m(div1, null);\n\t\t\tappend(div3, t3);\n\t\t\tappend(div3, div2);\n\t\t\tif (if_block2) if_block2.m(div2, null);\n\t\t\t/*div3_binding*/ ctx[31](div3);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(div3, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[22](/*$dateClick*/ ctx[8]))) /*createClickHandler*/ ctx[22](/*$dateClick*/ ctx[8]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createPointerEnterHandler*/ ctx[23](/*$_interaction*/ ctx[9]))) /*createPointerEnterHandler*/ ctx[23](/*$_interaction*/ ctx[9]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div3, \"pointerleave\", function () {\n\t\t\t\t\t\tif (is_function(createPointerLeaveHandler(/*$_interaction*/ ctx[9]))) createPointerLeaveHandler(/*$_interaction*/ ctx[9]).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (dirty[0] & /*date, bgChunks*/ 5) {\n\t\t\t\teach_value_1 = /*bgChunks*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1$1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks_1[i]) {\n\t\t\t\t\t\teach_blocks_1[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks_1[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks_1[i] = create_each_block_1$1(child_ctx);\n\t\t\t\t\t\teach_blocks_1[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks_1[i], 1);\n\t\t\t\t\t\teach_blocks_1[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks_1.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[7].bgEvents)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (/*iChunks*/ ctx[4][1]) {\n\t\t\t\tif (if_block0) {\n\t\t\t\t\tif_block0.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks*/ 16) {\n\t\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block0 = create_if_block_2(ctx);\n\t\t\t\t\tif_block0.c();\n\t\t\t\t\ttransition_in(if_block0, 1);\n\t\t\t\t\tif_block0.m(div1, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block0) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block0, 1, 1, () => {\n\t\t\t\t\tif_block0 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*date, chunks*/ 3) {\n\t\t\t\teach_value = /*chunks*/ ctx[1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$3(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div1, t2);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout_1(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (/*iChunks*/ ctx[4][0] && !/*iChunks*/ ctx[4][0].event.allDay) {\n\t\t\t\tif (if_block1) {\n\t\t\t\t\tif_block1.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*iChunks*/ 16) {\n\t\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block1 = create_if_block_1(ctx);\n\t\t\t\t\tif_block1.c();\n\t\t\t\t\ttransition_in(if_block1, 1);\n\t\t\t\t\tif_block1.m(div1, null);\n\t\t\t\t}\n\t\t\t} else if (if_block1) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block1, 1, 1, () => {\n\t\t\t\t\tif_block1 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[7].events)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\n\t\t\tif (/*$nowIndicator*/ ctx[10] && /*isToday*/ ctx[5]) {\n\t\t\t\tif (if_block2) {\n\t\t\t\t\tif (dirty[0] & /*$nowIndicator, isToday*/ 1056) {\n\t\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block2 = create_if_block$2();\n\t\t\t\t\tif_block2.c();\n\t\t\t\t\ttransition_in(if_block2, 1);\n\t\t\t\t\tif_block2.m(div2, null);\n\t\t\t\t}\n\t\t\t} else if (if_block2) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block2, 1, 1, () => {\n\t\t\t\t\tif_block2 = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 128 && div2_class_value !== (div2_class_value = /*$theme*/ ctx[7].extra)) {\n\t\t\t\tattr(div2, \"class\", div2_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme, isToday, highlight*/ 224 && div3_class_value !== (div3_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div3, \"class\", div3_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks_1[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block0);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_in(if_block1);\n\t\t\ttransition_in(if_block2);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks_1 = each_blocks_1.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks_1.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks_1[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block0);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\ttransition_out(if_block1);\n\t\t\ttransition_out(if_block2);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div3);\n\t\t\tdestroy_each(each_blocks_1, detaching);\n\t\t\tif (if_block0) if_block0.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (if_block1) if_block1.d();\n\t\t\tif (if_block2) if_block2.d();\n\t\t\t/*div3_binding*/ ctx[31](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction createPointerLeaveHandler(interaction) {\n\treturn interaction.pointer\n\t? interaction.pointer.leave\n\t: undefined;\n}\n\nfunction instance$4($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $slotDuration;\n\tlet $_slotTimeLimits;\n\tlet $slotHeight;\n\tlet $highlightedDates;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet $theme;\n\tlet $dateClick;\n\tlet $_interaction;\n\tlet $nowIndicator;\n\tlet { date } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { _events, _iEvents, dateClick, highlightedDates, nowIndicator, slotDuration, slotHeight, _view, theme, _interaction } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(30, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(29, $_iEvents = value));\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(8, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(28, $highlightedDates = value));\n\tcomponent_subscribe($$self, nowIndicator, value => $$invalidate(10, $nowIndicator = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(33, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(34, $slotHeight = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(7, $theme = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(9, $_interaction = value));\n\tlet { _slotTimeLimits } = getContext('view-state');\n\tcomponent_subscribe($$self, _slotTimeLimits, value => $$invalidate(27, $_slotTimeLimits = value));\n\tlet el;\n\tlet chunks, bgChunks, iChunks = [];\n\tlet today = setMidnight(createDate()), isToday, highlight;\n\tlet start, end;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tlet r = rect(el);\n\t\t\t\tlet y = jsEvent.clientY - r.top;\n\t\t\t\tlet d = addDuration(cloneDate(date), $slotDuration, Math.floor(y / $slotHeight + $_slotTimeLimits.min.seconds / $slotDuration.seconds));\n\n\t\t\t\tfn({\n\t\t\t\t\tdate: toLocalDate(d),\n\t\t\t\t\tdateStr: toISOString(d),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\tresource\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction createPointerEnterHandler(interaction) {\n\t\treturn interaction.pointer\n\t\t? jsEvent => interaction.pointer.enterTimeGrid(date, el, jsEvent, _slotTimeLimits, resource)\n\t\t: undefined;\n\t}\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start && (resource === undefined || event.resourceIds.includes(resource.id));\n\t}\n\n\tfunction div3_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(3, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('resource' in $$props) $$invalidate(24, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*date, $_slotTimeLimits*/ 134217729) {\n\t\t\t{\n\t\t\t\t$$invalidate(25, start = addDuration(cloneDate(date), $_slotTimeLimits.min));\n\t\t\t\t$$invalidate(26, end = addDuration(cloneDate(date), $_slotTimeLimits.max));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_events, start, end, bgChunks, chunks*/ 1174405126) {\n\t\t\t{\n\t\t\t\t$$invalidate(1, chunks = []);\n\t\t\t\t$$invalidate(2, bgChunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (!event.allDay && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\n\t\t\t\t\t\tswitch (event.display) {\n\t\t\t\t\t\t\tcase 'background':\n\t\t\t\t\t\t\t\tbgChunks.push(chunk);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroupEventChunks(chunks);\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*$_iEvents, start, end*/ 637534208) {\n\t\t\t$$invalidate(4, iChunks = $_iEvents.map(event => event && intersects(event)\n\t\t\t? createEventChunk(event, start, end)\n\t\t\t: null));\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*date, $highlightedDates*/ 268435457) {\n\t\t\t{\n\t\t\t\t$$invalidate(5, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(6, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tchunks,\n\t\tbgChunks,\n\t\tel,\n\t\tiChunks,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\t$_interaction,\n\t\t$nowIndicator,\n\t\t_events,\n\t\t_iEvents,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\tnowIndicator,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\t_view,\n\t\ttheme,\n\t\t_interaction,\n\t\t_slotTimeLimits,\n\t\tcreateClickHandler,\n\t\tcreatePointerEnterHandler,\n\t\tresource,\n\t\tstart,\n\t\tend,\n\t\t$_slotTimeLimits,\n\t\t$highlightedDates,\n\t\t$_iEvents,\n\t\t$_events,\n\t\tdiv3_binding\n\t];\n}\n\nclass Day$1 extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$4, create_fragment$4, safe_not_equal, { date: 0, resource: 24 }, null, [-1, -1]);\n\t}\n}\n\nfunction prepareEventChunks(chunks, hiddenDays) {\n if (!chunks.length) {\n return;\n }\n\n sortEventChunks(chunks);\n\n let longChunks = {};\n let prevChunk;\n for (let chunk of chunks) {\n let dates = [];\n let date = setMidnight(cloneDate(chunk.start));\n while (chunk.end > date) {\n if (!hiddenDays.includes(date.getUTCDay())) {\n dates.push(cloneDate(date));\n if (dates.length > 1) {\n let key = date.getTime();\n if (longChunks[key]) {\n longChunks[key].push(chunk);\n } else {\n longChunks[key] = [chunk];\n }\n }\n }\n addDay(date);\n }\n if (dates.length) {\n chunk.date = dates[0];\n chunk.days = dates.length;\n chunk.dates = dates;\n if (chunk.start < dates[0]) {\n chunk.start = dates[0];\n }\n if (setMidnight(cloneDate(chunk.end)) > dates[dates.length - 1]) {\n chunk.end = dates[dates.length - 1];\n }\n } else {\n chunk.date = setMidnight(cloneDate(chunk.start));\n chunk.days = 1;\n chunk.dates = [chunk.date];\n }\n\n if (prevChunk && datesEqual(prevChunk.date, chunk.date)) {\n chunk.prev = prevChunk;\n }\n prevChunk = chunk;\n }\n\n return longChunks;\n}\n\n/* packages/time-grid/src/all-day/Event.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$3(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet div0_class_value;\n\tlet setContent_action;\n\tlet t;\n\tlet switch_instance;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tvar switch_value = /*$_interaction*/ ctx[7].resizer;\n\n\tfunction switch_props(ctx) {\n\t\treturn { props: { event: /*event*/ ctx[0] } };\n\t}\n\n\tif (switch_value) {\n\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[27](true));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt = space();\n\t\t\tif (switch_instance) create_component(switch_instance.$$.fragment);\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[1].eventBody);\n\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div1, t);\n\n\t\t\tif (switch_instance) {\n\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[39](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"resize\", /*reposition*/ ctx[28]),\n\t\t\t\t\taction_destroyer(setContent_action = setContent.call(null, div0, /*content*/ ctx[5])),\n\t\t\t\t\tlisten(div1, \"click\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventClick*/ ctx[8], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventClick*/ ctx[8], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseenter\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventMouseEnter*/ ctx[9], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"mouseleave\", function () {\n\t\t\t\t\t\tif (is_function(/*createHandler*/ ctx[26](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]))) /*createHandler*/ ctx[26](/*$eventMouseLeave*/ ctx[10], /*display*/ ctx[6]).apply(this, arguments);\n\t\t\t\t\t}),\n\t\t\t\t\tlisten(div1, \"pointerdown\", function () {\n\t\t\t\t\t\tif (is_function(/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[27]()\n\t\t\t\t\t\t: undefined)) (/*display*/ ctx[6] === 'auto' && /*$_draggable*/ ctx[11](/*event*/ ctx[0])\n\t\t\t\t\t\t? /*createDragHandler*/ ctx[27]()\n\t\t\t\t\t\t: undefined).apply(this, arguments);\n\t\t\t\t\t})\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, dirty) {\n\t\t\tctx = new_ctx;\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 2 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[1].eventBody)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (setContent_action && is_function(setContent_action.update) && dirty[0] & /*content*/ 32) setContent_action.update.call(null, /*content*/ ctx[5]);\n\t\t\tconst switch_instance_changes = {};\n\t\t\tif (dirty[0] & /*event*/ 1) switch_instance_changes.event = /*event*/ ctx[0];\n\n\t\t\tif (switch_value !== (switch_value = /*$_interaction*/ ctx[7].resizer)) {\n\t\t\t\tif (switch_instance) {\n\t\t\t\t\tgroup_outros();\n\t\t\t\t\tconst old_component = switch_instance;\n\n\t\t\t\t\ttransition_out(old_component.$$.fragment, 1, 0, () => {\n\t\t\t\t\t\tdestroy_component(old_component, 1);\n\t\t\t\t\t});\n\n\t\t\t\t\tcheck_outros();\n\t\t\t\t}\n\n\t\t\t\tif (switch_value) {\n\t\t\t\t\tswitch_instance = new switch_value(switch_props(ctx));\n\t\t\t\t\tswitch_instance.$on(\"pointerdown\", /*createDragHandler*/ ctx[27](true));\n\t\t\t\t\tcreate_component(switch_instance.$$.fragment);\n\t\t\t\t\ttransition_in(switch_instance.$$.fragment, 1);\n\t\t\t\t\tmount_component(switch_instance, div1, null);\n\t\t\t\t} else {\n\t\t\t\t\tswitch_instance = null;\n\t\t\t\t}\n\t\t\t} else if (switch_value) {\n\t\t\t\tswitch_instance.$set(switch_instance_changes);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*classes*/ 8) {\n\t\t\t\tattr(div1, \"class\", /*classes*/ ctx[3]);\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*style*/ 16) {\n\t\t\t\tattr(div1, \"style\", /*style*/ ctx[4]);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\tif (switch_instance) transition_in(switch_instance.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\tif (switch_instance) transition_out(switch_instance.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (switch_instance) destroy_component(switch_instance);\n\t\t\t/*div1_binding*/ ctx[39](null);\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_view;\n\tlet $eventDidMount;\n\tlet $_intlEventTime;\n\tlet $theme;\n\tlet $eventContent;\n\tlet $displayEventEnd;\n\tlet $_classes;\n\tlet $eventColor;\n\tlet $eventBackgroundColor;\n\tlet $eventClick;\n\tlet $eventMouseEnter;\n\tlet $eventMouseLeave;\n\tlet $_draggable;\n\tlet { chunk } = $$props;\n\tlet { longChunks = {} } = $$props;\n\tlet { displayEventEnd, eventBackgroundColor, eventClick, eventColor, eventContent, eventDidMount, eventMouseEnter, eventMouseLeave, theme, _view, _intlEventTime, _interaction, _classes, _draggable } = getContext('state');\n\tcomponent_subscribe($$self, displayEventEnd, value => $$invalidate(35, $displayEventEnd = value));\n\tcomponent_subscribe($$self, eventBackgroundColor, value => $$invalidate(38, $eventBackgroundColor = value));\n\tcomponent_subscribe($$self, eventClick, value => $$invalidate(8, $eventClick = value));\n\tcomponent_subscribe($$self, eventColor, value => $$invalidate(37, $eventColor = value));\n\tcomponent_subscribe($$self, eventContent, value => $$invalidate(34, $eventContent = value));\n\tcomponent_subscribe($$self, eventDidMount, value => $$invalidate(41, $eventDidMount = value));\n\tcomponent_subscribe($$self, eventMouseEnter, value => $$invalidate(9, $eventMouseEnter = value));\n\tcomponent_subscribe($$self, eventMouseLeave, value => $$invalidate(10, $eventMouseLeave = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(32, $_view = value));\n\tcomponent_subscribe($$self, _intlEventTime, value => $$invalidate(33, $_intlEventTime = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(7, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(36, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(11, $_draggable = value));\n\tlet { _viewResources } = getContext('view-state');\n\tcreateEventDispatcher();\n\tlet el;\n\tlet event;\n\tlet classes;\n\tlet style;\n\tlet content;\n\tlet timeText;\n\tlet margin = 1;\n\tlet display;\n\n\tonMount(() => {\n\t\tif (is_function($eventDidMount)) {\n\t\t\t$eventDidMount({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\ttimeText,\n\t\t\t\tel,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\t});\n\n\tafterUpdate(reposition);\n\n\tfunction createHandler(fn, display) {\n\t\treturn display !== 'preview' && is_function(fn)\n\t\t? jsEvent => fn({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tel,\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t})\n\t\t: undefined;\n\t}\n\n\tfunction createDragHandler(resize) {\n\t\treturn jsEvent => $_interaction.drag.startTimeGrid(event, el, jsEvent, _viewResources, true, resize);\n\t}\n\n\tfunction reposition() {\n\t\tif (!el || display === 'preview') {\n\t\t\treturn;\n\t\t}\n\n\t\t$$invalidate(29, chunk.top = 0, chunk);\n\n\t\tif (chunk.prev) {\n\t\t\tif (chunk.prev.bottom === undefined) {\n\t\t\t\t// 'prev' is not ready yet, try again later\n\t\t\t\ttick().then(reposition);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t$$invalidate(29, chunk.top = chunk.prev.bottom + 1, chunk);\n\t\t}\n\n\t\t$$invalidate(29, chunk.bottom = chunk.top + height(el), chunk);\n\t\tlet m = 1;\n\t\tlet key = chunk.date.getTime();\n\n\t\tif (longChunks[key]) {\n\t\t\tfor (let longChunk of longChunks[key]) {\n\t\t\t\tif (longChunk.bottom === undefined) {\n\t\t\t\t\t// 'longChunk' is not ready yet, try again later\n\t\t\t\t\ttick().then(reposition);\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (chunk.top < longChunk.bottom && chunk.bottom > longChunk.top) {\n\t\t\t\t\tlet offset = longChunk.bottom - chunk.top + 1;\n\t\t\t\t\tm += offset;\n\t\t\t\t\t$$invalidate(29, chunk.top += offset, chunk);\n\t\t\t\t\t$$invalidate(29, chunk.bottom += offset, chunk);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t$$invalidate(31, margin = m);\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(2, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('chunk' in $$props) $$invalidate(29, chunk = $$props.chunk);\n\t\tif ('longChunks' in $$props) $$invalidate(30, longChunks = $$props.longChunks);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*chunk*/ 536870912) {\n\t\t\t$$invalidate(0, event = chunk.event);\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*event, chunk, style, $theme*/ 536870931 | $$self.$$.dirty[1] & /*$eventBackgroundColor, $eventColor, margin, $_classes*/ 225) {\n\t\t\t{\n\t\t\t\t$$invalidate(6, display = event.display);\n\n\t\t\t\t// Class & Style\n\t\t\t\tlet bgColor = event.backgroundColor || $eventBackgroundColor || $eventColor;\n\n\t\t\t\t$$invalidate(4, style = `width:calc(${chunk.days * 100}% + ${(chunk.days - 1) * 7}px);` + `margin-top:${margin}px;`);\n\n\t\t\t\tif (bgColor) {\n\t\t\t\t\t$$invalidate(4, style += `background-color:${bgColor};`);\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, classes = $_classes($theme.event, event));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty[0] & /*chunk, $theme*/ 536870914 | $$self.$$.dirty[1] & /*$displayEventEnd, $eventContent, $_intlEventTime, $_view*/ 30) {\n\t\t\t// Content\n\t\t\t$$invalidate(5, [timeText, content] = createEventContent(chunk, $displayEventEnd, $eventContent, $theme, $_intlEventTime, $_view), content);\n\t\t}\n\t};\n\n\treturn [\n\t\tevent,\n\t\t$theme,\n\t\tel,\n\t\tclasses,\n\t\tstyle,\n\t\tcontent,\n\t\tdisplay,\n\t\t$_interaction,\n\t\t$eventClick,\n\t\t$eventMouseEnter,\n\t\t$eventMouseLeave,\n\t\t$_draggable,\n\t\tdisplayEventEnd,\n\t\teventBackgroundColor,\n\t\teventClick,\n\t\teventColor,\n\t\teventContent,\n\t\teventDidMount,\n\t\teventMouseEnter,\n\t\teventMouseLeave,\n\t\ttheme,\n\t\t_view,\n\t\t_intlEventTime,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\tcreateHandler,\n\t\tcreateDragHandler,\n\t\treposition,\n\t\tchunk,\n\t\tlongChunks,\n\t\tmargin,\n\t\t$_view,\n\t\t$_intlEventTime,\n\t\t$eventContent,\n\t\t$displayEventEnd,\n\t\t$_classes,\n\t\t$eventColor,\n\t\t$eventBackgroundColor,\n\t\tdiv1_binding\n\t];\n}\n\nclass Event extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$3, create_fragment$3, safe_not_equal, { chunk: 29, longChunks: 30 }, null, [-1, -1]);\n\t}\n}\n\n/* packages/time-grid/src/all-day/Day.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[22] = list[i];\n\treturn child_ctx;\n}\n\n// (57:1) {#if iChunks[0] && datesEqual(iChunks[0].date, date)}\nfunction create_if_block$1(ctx) {\n\tlet div;\n\tlet event;\n\tlet div_class_value;\n\tlet current;\n\tevent = new Event({ props: { chunk: /*iChunks*/ ctx[2][0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(event.$$.fragment);\n\t\t\tattr(div, \"class\", div_class_value = \"\" + (/*$theme*/ ctx[7].events + \" \" + /*$theme*/ ctx[7].preview));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(event, div, null);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*iChunks*/ 4) event_changes.chunk = /*iChunks*/ ctx[2][0];\n\t\t\tevent.$set(event_changes);\n\n\t\t\tif (!current || dirty & /*$theme*/ 128 && div_class_value !== (div_class_value = \"\" + (/*$theme*/ ctx[7].events + \" \" + /*$theme*/ ctx[7].preview))) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(event);\n\t\t}\n\t};\n}\n\n// (63:2) {#each dayChunks as chunk}\nfunction create_each_block$2(ctx) {\n\tlet event;\n\tlet current;\n\n\tevent = new Event({\n\t\t\tprops: {\n\t\t\t\tchunk: /*chunk*/ ctx[22],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(event.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(event, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst event_changes = {};\n\t\t\tif (dirty & /*dayChunks*/ 8) event_changes.chunk = /*chunk*/ ctx[22];\n\t\t\tif (dirty & /*longChunks*/ 2) event_changes.longChunks = /*longChunks*/ ctx[1];\n\t\t\tevent.$set(event_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(event.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(event.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(event, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$2(ctx) {\n\tlet div1;\n\tlet show_if = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\tlet t;\n\tlet div0;\n\tlet div0_class_value;\n\tlet div1_class_value;\n\tlet current;\n\tlet mounted;\n\tlet dispose;\n\tlet if_block = show_if && create_if_block$1(ctx);\n\tlet each_value = /*dayChunks*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tif (if_block) if_block.c();\n\t\t\tt = space();\n\t\t\tdiv0 = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[7].events);\n\n\t\t\tattr(div1, \"class\", div1_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')));\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tif (if_block) if_block.m(div1, null);\n\t\t\tappend(div1, t);\n\t\t\tappend(div1, div0);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t}\n\n\t\t\t/*div1_binding*/ ctx[17](div1);\n\t\t\tcurrent = true;\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div1, \"click\", function () {\n\t\t\t\t\tif (is_function(/*createClickHandler*/ ctx[13](/*$dateClick*/ ctx[8]))) /*createClickHandler*/ ctx[13](/*$dateClick*/ ctx[8]).apply(this, arguments);\n\t\t\t\t});\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(new_ctx, [dirty]) {\n\t\t\tctx = new_ctx;\n\t\t\tif (dirty & /*iChunks, date*/ 5) show_if = /*iChunks*/ ctx[2][0] && datesEqual(/*iChunks*/ ctx[2][0].date, /*date*/ ctx[0]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*iChunks, date*/ 5) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(div1, t);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (dirty & /*dayChunks, longChunks*/ 10) {\n\t\t\t\teach_value = /*dayChunks*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$2(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div0, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme*/ 128 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[7].events)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (!current || dirty & /*$theme, isToday, highlight*/ 224 && div1_class_value !== (div1_class_value = \"\" + (/*$theme*/ ctx[7].day + (/*isToday*/ ctx[5] ? ' ' + /*$theme*/ ctx[7].today : '') + (/*highlight*/ ctx[6]\n\t\t\t? ' ' + /*$theme*/ ctx[7].highlight\n\t\t\t: '')))) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (if_block) if_block.d();\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\t/*div1_binding*/ ctx[17](null);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_view;\n\tlet $highlightedDates;\n\tlet $theme;\n\tlet $dateClick;\n\tlet { date } = $$props;\n\tlet { chunks } = $$props;\n\tlet { longChunks } = $$props;\n\tlet { iChunks = [] } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { date: currentDate, dateClick, highlightedDates, theme, _view, _interaction } = getContext('state');\n\tcomponent_subscribe($$self, dateClick, value => $$invalidate(8, $dateClick = value));\n\tcomponent_subscribe($$self, highlightedDates, value => $$invalidate(16, $highlightedDates = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(7, $theme = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(18, $_view = value));\n\tlet el;\n\tlet dayChunks;\n\tlet today = setMidnight(createDate());\n\tlet isToday;\n\tlet highlight;\n\n\tfunction createClickHandler(fn) {\n\t\treturn is_function(fn)\n\t\t? jsEvent => {\n\t\t\t\tfn({\n\t\t\t\t\tdate: toLocalDate(date),\n\t\t\t\t\tdateStr: toISOString(date),\n\t\t\t\t\tdayEl: el,\n\t\t\t\t\tjsEvent,\n\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\tresource\n\t\t\t\t});\n\t\t\t}\n\t\t: undefined;\n\t}\n\n\tfunction div1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\tel = $$value;\n\t\t\t$$invalidate(4, el);\n\t\t});\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('date' in $$props) $$invalidate(0, date = $$props.date);\n\t\tif ('chunks' in $$props) $$invalidate(14, chunks = $$props.chunks);\n\t\tif ('longChunks' in $$props) $$invalidate(1, longChunks = $$props.longChunks);\n\t\tif ('iChunks' in $$props) $$invalidate(2, iChunks = $$props.iChunks);\n\t\tif ('resource' in $$props) $$invalidate(15, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*chunks, date, dayChunks*/ 16393) {\n\t\t\t{\n\t\t\t\t$$invalidate(3, dayChunks = []);\n\n\t\t\t\tfor (let chunk of chunks) {\n\t\t\t\t\tif (datesEqual(chunk.date, date)) {\n\t\t\t\t\t\tdayChunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*date, $highlightedDates*/ 65537) {\n\t\t\t{\n\t\t\t\t$$invalidate(5, isToday = datesEqual(date, today));\n\t\t\t\t$$invalidate(6, highlight = $highlightedDates.some(d => datesEqual(d, date)));\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tdate,\n\t\tlongChunks,\n\t\tiChunks,\n\t\tdayChunks,\n\t\tel,\n\t\tisToday,\n\t\thighlight,\n\t\t$theme,\n\t\t$dateClick,\n\t\tdateClick,\n\t\thighlightedDates,\n\t\ttheme,\n\t\t_view,\n\t\tcreateClickHandler,\n\t\tchunks,\n\t\tresource,\n\t\t$highlightedDates,\n\t\tdiv1_binding\n\t];\n}\n\nclass Day extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, {\n\t\t\tdate: 0,\n\t\t\tchunks: 14,\n\t\t\tlongChunks: 1,\n\t\t\tiChunks: 2,\n\t\t\tresource: 15\n\t\t});\n\t}\n}\n\n/* packages/time-grid/src/all-day/Week.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context$1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[15] = list[i];\n\treturn child_ctx;\n}\n\n// (50:0) {#each dates as date}\nfunction create_each_block$1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*date*/ ctx[15],\n\t\t\t\tchunks: /*chunks*/ ctx[2],\n\t\t\t\tlongChunks: /*longChunks*/ ctx[3],\n\t\t\t\tiChunks: /*iChunks*/ ctx[4],\n\t\t\t\tresource: /*resource*/ ctx[1]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*dates*/ 1) day_changes.date = /*date*/ ctx[15];\n\t\t\tif (dirty & /*chunks*/ 4) day_changes.chunks = /*chunks*/ ctx[2];\n\t\t\tif (dirty & /*longChunks*/ 8) day_changes.longChunks = /*longChunks*/ ctx[3];\n\t\t\tif (dirty & /*iChunks*/ 16) day_changes.iChunks = /*iChunks*/ ctx[4];\n\t\t\tif (dirty & /*resource*/ 2) day_changes.resource = /*resource*/ ctx[1];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*dates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*dates, chunks, longChunks, iChunks, resource*/ 31) {\n\t\t\t\teach_value = /*dates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context$1(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block$1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $hiddenDays;\n\tlet $_iEvents;\n\tlet $_events;\n\tlet { dates } = $$props;\n\tlet { resource = undefined } = $$props;\n\tlet { _events, _iEvents, hiddenDays, theme } = getContext('state');\n\tcomponent_subscribe($$self, _events, value => $$invalidate(12, $_events = value));\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(11, $_iEvents = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(10, $hiddenDays = value));\n\tlet chunks, longChunks, iChunks = [];\n\tlet start;\n\tlet end;\n\n\tfunction intersects(event) {\n\t\treturn event.start < end && event.end > start && (resource === undefined || event.resourceIds.includes(resource.id));\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('dates' in $$props) $$invalidate(0, dates = $$props.dates);\n\t\tif ('resource' in $$props) $$invalidate(1, resource = $$props.resource);\n\t};\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*dates*/ 1) {\n\t\t\t{\n\t\t\t\t$$invalidate(8, start = dates[0]);\n\t\t\t\t$$invalidate(9, end = addDay(cloneDate(dates[dates.length - 1])));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_events, start, end, chunks, $hiddenDays*/ 5892) {\n\t\t\t{\n\t\t\t\t$$invalidate(2, chunks = []);\n\n\t\t\t\tfor (let event of $_events) {\n\t\t\t\t\tif (event.allDay && event.display !== 'background' && intersects(event)) {\n\t\t\t\t\t\tlet chunk = createEventChunk(event, start, end);\n\t\t\t\t\t\tchunks.push(chunk);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t$$invalidate(3, longChunks = prepareEventChunks(chunks, $hiddenDays));\n\t\t\t}\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_iEvents, start, end, $hiddenDays*/ 3840) {\n\t\t\t$$invalidate(4, iChunks = $_iEvents.map(event => {\n\t\t\t\tlet chunk;\n\n\t\t\t\tif (event && event.allDay && intersects(event)) {\n\t\t\t\t\tchunk = createEventChunk(event, start, end);\n\t\t\t\t\tprepareEventChunks([chunk], $hiddenDays);\n\t\t\t\t} else {\n\t\t\t\t\tchunk = null;\n\t\t\t\t}\n\n\t\t\t\treturn chunk;\n\t\t\t}));\n\t\t}\n\t};\n\n\treturn [\n\t\tdates,\n\t\tresource,\n\t\tchunks,\n\t\tlongChunks,\n\t\tiChunks,\n\t\t_events,\n\t\t_iEvents,\n\t\thiddenDays,\n\t\tstart,\n\t\tend,\n\t\t$hiddenDays,\n\t\t$_iEvents,\n\t\t$_events\n\t];\n}\n\nclass Week extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, { dates: 0, resource: 1 });\n\t}\n}\n\n/* packages/time-grid/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[11] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[11] = list[i];\n\treturn child_ctx;\n}\n\n// (18:1) {#each $_viewDates as date}\nfunction create_each_block_1(ctx) {\n\tlet div;\n\tlet t_value = /*$_intlDayHeader*/ ctx[2].format(/*date*/ ctx[11]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[1].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_intlDayHeader, $_viewDates*/ 5 && t_value !== (t_value = /*$_intlDayHeader*/ ctx[2].format(/*date*/ ctx[11]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty & /*$theme*/ 2 && div_class_value !== (div_class_value = /*$theme*/ ctx[1].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (17:0) <Header>\nfunction create_default_slot_2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value_1 = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme, $_intlDayHeader, $_viewDates*/ 7) {\n\t\t\t\teach_value_1 = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_1.length;\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (22:0) {#if $allDaySlot}\nfunction create_if_block(ctx) {\n\tlet header;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\tallDay: true,\n\t\t\t\t$$slots: { default: [create_default_slot_1] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates*/ 65537) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t}\n\t};\n}\n\n// (23:1) <Header allDay>\nfunction create_default_slot_1(ctx) {\n\tlet week;\n\tlet current;\n\tweek = new Week({ props: { dates: /*$_viewDates*/ ctx[0] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 1) week_changes.dates = /*$_viewDates*/ ctx[0];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (28:1) {#each $_viewDates as date}\nfunction create_each_block(ctx) {\n\tlet day;\n\tlet current;\n\tday = new Day$1({ props: { date: /*date*/ ctx[11] } });\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\t\t\tif (dirty & /*$_viewDates*/ 1) day_changes.date = /*date*/ ctx[11];\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (27:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*$_viewDates*/ ctx[0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$_viewDates*/ 1) {\n\t\t\t\teach_value = /*$_viewDates*/ ctx[0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t0;\n\tlet t1;\n\tlet body;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot_2] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\tlet if_block = /*$allDaySlot*/ ctx[3] && create_if_block(ctx);\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt1 = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t0, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, t1, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates, $theme, $_intlDayHeader*/ 65543) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\n\t\t\tif (/*$allDaySlot*/ ctx[3]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*$allDaySlot*/ 8) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(t1.parentNode, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty & /*$$scope, $_viewDates*/ 65537) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t0);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(t1);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_viewClass;\n\tlet $_viewDates;\n\tlet $theme;\n\tlet $_intlDayHeader;\n\tlet $allDaySlot;\n\tlet state = getContext('state');\n\tlet { _viewDates, _intlDayHeader, _viewClass, allDaySlot, theme } = state;\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(0, $_viewDates = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(2, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(9, $_viewClass = value));\n\tcomponent_subscribe($$self, allDaySlot, value => $$invalidate(3, $allDaySlot = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(1, $theme = value));\n\tsetContext('view-state', new State(state));\n\tset_store_value(_viewClass, $_viewClass = 'week', $_viewClass);\n\n\treturn [\n\t\t$_viewDates,\n\t\t$theme,\n\t\t$_intlDayHeader,\n\t\t$allDaySlot,\n\t\t_viewDates,\n\t\t_intlDayHeader,\n\t\t_viewClass,\n\t\tallDaySlot,\n\t\ttheme\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {});\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\t// Common options\n\t\toptions.buttonText.timeGridDay = 'day';\n\t\toptions.buttonText.timeGridWeek = 'week';\n\t\toptions.view = 'timeGridWeek';\n\t\toptions.views.timeGridDay = {\n\t\t\tcomponent: View,\n\t\t\tdayHeaderFormat: {weekday: 'long'},\n\t\t\tduration: {days: 1},\n\t\t\ttitleFormat: {year: 'numeric', month: 'long', day: 'numeric'}\n\t\t};\n\t\toptions.views.timeGridWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t}\n};\n\nexport { Body, Day$1 as Day, Header, State, Week, index as default };\n","import { SvelteComponent, init, safe_not_equal, create_component, mount_component, transition_in, transition_out, destroy_component, space, insert, group_outros, check_outros, detach, component_subscribe, set_store_value, element, text, attr, append, set_data, destroy_each, empty } from 'svelte/internal';\nimport { getContext, setContext } from 'svelte';\nimport { State as State$1, Header, Body, Day, Week } from '@event-calendar/time-grid';\nimport { derived } from 'svelte/store';\n\nfunction viewResources(state) {\n return derived(\n [state.resources, state.filterResourcesWithEvents, state._events, state._activeRange],\n ([$resources, $filterResourcesWithEvents, $_events, $_activeRange]) => {\n let result = $resources;\n\n if ($filterResourcesWithEvents) {\n result = $resources.filter(resource => {\n for (let event of $_events) {\n if (\n event.display !== 'background' &&\n event.resourceIds.includes(resource.id) &&\n event.start < $_activeRange.end &&\n event.end > $_activeRange.start\n ) {\n return true;\n }\n }\n return false;\n });\n }\n\n if (!result.length) {\n result = state.resources.parse([{}]);\n }\n\n return result;\n }\n );\n}\n\nclass State extends State$1 {\n constructor(state) {\n super(state);\n\n this._viewResources = viewResources(state);\n }\n}\n\n/* packages/resource-time-grid/src/View.svelte generated by Svelte v3.47.0 */\n\nfunction get_each_context(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_1(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[21] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_4(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[27] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_2(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[24] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_3(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[27] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_5(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[18] = list[i];\n\treturn child_ctx;\n}\n\nfunction get_each_context_6(ctx, list, i) {\n\tconst child_ctx = ctx.slice();\n\tchild_ctx[21] = list[i];\n\treturn child_ctx;\n}\n\n// (31:3) {#if loops[1].length > 1}\nfunction create_if_block_2(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet each_value_6 = /*loops*/ ctx[0][1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_6.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_6(get_each_context_6(ctx, each_value_6, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].days);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, titles, loops*/ 35) {\n\t\t\t\teach_value_6 = /*loops*/ ctx[0][1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_6.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_6(ctx, each_value_6, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_6(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_6.length;\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].days)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (33:5) {#each loops[1] as item1}\nfunction create_each_block_6(ctx) {\n\tlet div;\n\tlet t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[21]) + \"\";\n\tlet t;\n\tlet div_class_value;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tt = text(t_value);\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].day);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tappend(div, t);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*titles, loops*/ 3 && t_value !== (t_value = /*titles*/ ctx[1][1](/*item1*/ ctx[21]) + \"\")) set_data(t, t_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].day)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t}\n\t};\n}\n\n// (28:1) {#each loops[0] as item0}\nfunction create_each_block_5(ctx) {\n\tlet div1;\n\tlet div0;\n\tlet t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[18]) + \"\";\n\tlet t0;\n\tlet div0_class_value;\n\tlet t1;\n\tlet t2;\n\tlet div1_class_value;\n\tlet if_block = /*loops*/ ctx[0][1].length > 1 && create_if_block_2(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tdiv1 = element(\"div\");\n\t\t\tdiv0 = element(\"div\");\n\t\t\tt0 = text(t0_value);\n\t\t\tt1 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt2 = space();\n\t\t\tattr(div0, \"class\", div0_class_value = /*$theme*/ ctx[5].day);\n\t\t\tattr(div1, \"class\", div1_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div1, anchor);\n\t\t\tappend(div1, div0);\n\t\t\tappend(div0, t0);\n\t\t\tappend(div1, t1);\n\t\t\tif (if_block) if_block.m(div1, null);\n\t\t\tappend(div1, t2);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*titles, loops*/ 3 && t0_value !== (t0_value = /*titles*/ ctx[1][0](/*item0*/ ctx[18]) + \"\")) set_data(t0, t0_value);\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div0_class_value !== (div0_class_value = /*$theme*/ ctx[5].day)) {\n\t\t\t\tattr(div0, \"class\", div0_class_value);\n\t\t\t}\n\n\t\t\tif (/*loops*/ ctx[0][1].length > 1) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block_2(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(div1, t2);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = null;\n\t\t\t}\n\n\t\t\tif (dirty[0] & /*$theme*/ 32 && div1_class_value !== (div1_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div1, \"class\", div1_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div1);\n\t\t\tif (if_block) if_block.d();\n\t\t}\n\t};\n}\n\n// (27:0) <Header>\nfunction create_default_slot_2(ctx) {\n\tlet each_1_anchor;\n\tlet each_value_5 = /*loops*/ ctx[0][0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_5.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_5(get_each_context_5(ctx, each_value_5, i));\n\t}\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, loops, titles*/ 35) {\n\t\t\t\teach_value_5 = /*loops*/ ctx[0][0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_5.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_5(ctx, each_value_5, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_5(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfor (; i < each_blocks.length; i += 1) {\n\t\t\t\t\teach_blocks[i].d(1);\n\t\t\t\t}\n\n\t\t\t\teach_blocks.length = each_value_5.length;\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (41:0) {#if $allDaySlot}\nfunction create_if_block(ctx) {\n\tlet header;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\tallDay: true,\n\t\t\t\t$$slots: { default: [create_default_slot_1] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty[0] & /*$_viewDates, $theme, $_viewResources, $datesAboveResources*/ 60 | dirty[1] & /*$$scope*/ 32) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t}\n\t};\n}\n\n// (51:2) {:else}\nfunction create_else_block(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_4 = /*$_viewResources*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_4.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, $_viewDates, $_viewResources*/ 44) {\n\t\t\t\teach_value_4 = /*$_viewResources*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_4.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_4(ctx, each_value_4, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_4(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_4.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_4.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (43:2) {#if $datesAboveResources}\nfunction create_if_block_1(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value_2 = /*$_viewDates*/ ctx[3];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_2.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, $_viewResources, $_viewDates*/ 44) {\n\t\t\t\teach_value_2 = /*$_viewDates*/ ctx[3];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_2.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_2(ctx, each_value_2, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_2(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_2.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_2.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\n// (52:3) {#each $_viewResources as resource}\nfunction create_each_block_4(ctx) {\n\tlet div;\n\tlet week;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\n\tweek = new Week({\n\t\t\tprops: {\n\t\t\t\tdates: /*$_viewDates*/ ctx[3],\n\t\t\t\tresource: /*resource*/ ctx[27]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tcreate_component(week.$$.fragment);\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\t\t\tmount_component(week, div, null);\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty[0] & /*$_viewDates*/ 8) week_changes.dates = /*$_viewDates*/ ctx[3];\n\t\t\tif (dirty[0] & /*$_viewResources*/ 4) week_changes.resource = /*resource*/ ctx[27];\n\t\t\tweek.$set(week_changes);\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_component(week);\n\t\t}\n\t};\n}\n\n// (46:5) {#each $_viewResources as resource}\nfunction create_each_block_3(ctx) {\n\tlet week;\n\tlet current;\n\n\tweek = new Week({\n\t\t\tprops: {\n\t\t\t\tdates: [/*date*/ ctx[24]],\n\t\t\t\tresource: /*resource*/ ctx[27]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(week.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(week, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst week_changes = {};\n\t\t\tif (dirty[0] & /*$_viewDates*/ 8) week_changes.dates = [/*date*/ ctx[24]];\n\t\t\tif (dirty[0] & /*$_viewResources*/ 4) week_changes.resource = /*resource*/ ctx[27];\n\t\t\tweek.$set(week_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(week.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(week.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(week, detaching);\n\t\t}\n\t};\n}\n\n// (44:3) {#each $_viewDates as date}\nfunction create_each_block_2(ctx) {\n\tlet div;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_3 = /*$_viewResources*/ ctx[2];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_3.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$_viewDates, $_viewResources*/ 12) {\n\t\t\t\teach_value_3 = /*$_viewResources*/ ctx[2];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_3.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_3(ctx, each_value_3, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_3(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_3.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_3.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (42:1) <Header allDay>\nfunction create_default_slot_1(ctx) {\n\tlet current_block_type_index;\n\tlet if_block;\n\tlet if_block_anchor;\n\tlet current;\n\tconst if_block_creators = [create_if_block_1, create_else_block];\n\tconst if_blocks = [];\n\n\tfunction select_block_type(ctx, dirty) {\n\t\tif (/*$datesAboveResources*/ ctx[4]) return 0;\n\t\treturn 1;\n\t}\n\n\tcurrent_block_type_index = select_block_type(ctx);\n\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif_blocks[current_block_type_index].m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tlet previous_block_index = current_block_type_index;\n\t\t\tcurrent_block_type_index = select_block_type(ctx);\n\n\t\t\tif (current_block_type_index === previous_block_index) {\n\t\t\t\tif_blocks[current_block_type_index].p(ctx, dirty);\n\t\t\t} else {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_blocks[previous_block_index], 1, 1, () => {\n\t\t\t\t\tif_blocks[previous_block_index] = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t\tif_block = if_blocks[current_block_type_index];\n\n\t\t\t\tif (!if_block) {\n\t\t\t\t\tif_block = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t} else {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t}\n\n\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif_blocks[current_block_type_index].d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\n// (63:3) {#each loops[1] as item1}\nfunction create_each_block_1(ctx) {\n\tlet day;\n\tlet current;\n\n\tday = new Day({\n\t\t\tprops: {\n\t\t\t\tdate: /*$datesAboveResources*/ ctx[4]\n\t\t\t\t? /*item0*/ ctx[18]\n\t\t\t\t: /*item1*/ ctx[21],\n\t\t\t\tresource: /*$datesAboveResources*/ ctx[4]\n\t\t\t\t? /*item1*/ ctx[21]\n\t\t\t\t: /*item0*/ ctx[18]\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(day.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(day, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst day_changes = {};\n\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 17) day_changes.date = /*$datesAboveResources*/ ctx[4]\n\t\t\t? /*item0*/ ctx[18]\n\t\t\t: /*item1*/ ctx[21];\n\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 17) day_changes.resource = /*$datesAboveResources*/ ctx[4]\n\t\t\t? /*item1*/ ctx[21]\n\t\t\t: /*item0*/ ctx[18];\n\n\t\t\tday.$set(day_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(day.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(day.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(day, detaching);\n\t\t}\n\t};\n}\n\n// (61:1) {#each loops[0] as item0}\nfunction create_each_block(ctx) {\n\tlet div;\n\tlet t;\n\tlet div_class_value;\n\tlet current;\n\tlet each_value_1 = /*loops*/ ctx[0][1];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\teach_blocks[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\tt = space();\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[5].resource);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(div, null);\n\t\t\t}\n\n\t\t\tappend(div, t);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$datesAboveResources, loops*/ 17) {\n\t\t\t\teach_value_1 = /*loops*/ ctx[0][1];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context_1(ctx, each_value_1, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block_1(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(div, t);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value_1.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tif (!current || dirty[0] & /*$theme*/ 32 && div_class_value !== (div_class_value = /*$theme*/ ctx[5].resource)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value_1.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t}\n\t};\n}\n\n// (60:0) <Body>\nfunction create_default_slot(ctx) {\n\tlet each_1_anchor;\n\tlet current;\n\tlet each_value = /*loops*/ ctx[0][0];\n\tlet each_blocks = [];\n\n\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\teach_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));\n\t}\n\n\tconst out = i => transition_out(each_blocks[i], 1, 1, () => {\n\t\teach_blocks[i] = null;\n\t});\n\n\treturn {\n\t\tc() {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].c();\n\t\t\t}\n\n\t\t\teach_1_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\teach_blocks[i].m(target, anchor);\n\t\t\t}\n\n\t\t\tinsert(target, each_1_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty[0] & /*$theme, loops, $datesAboveResources*/ 49) {\n\t\t\t\teach_value = /*loops*/ ctx[0][0];\n\t\t\t\tlet i;\n\n\t\t\t\tfor (i = 0; i < each_value.length; i += 1) {\n\t\t\t\t\tconst child_ctx = get_each_context(ctx, each_value, i);\n\n\t\t\t\t\tif (each_blocks[i]) {\n\t\t\t\t\t\teach_blocks[i].p(child_ctx, dirty);\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\teach_blocks[i] = create_each_block(child_ctx);\n\t\t\t\t\t\teach_blocks[i].c();\n\t\t\t\t\t\ttransition_in(each_blocks[i], 1);\n\t\t\t\t\t\teach_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tgroup_outros();\n\n\t\t\t\tfor (i = each_value.length; i < each_blocks.length; i += 1) {\n\t\t\t\t\tout(i);\n\t\t\t\t}\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\n\t\t\tfor (let i = 0; i < each_value.length; i += 1) {\n\t\t\t\ttransition_in(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\teach_blocks = each_blocks.filter(Boolean);\n\n\t\t\tfor (let i = 0; i < each_blocks.length; i += 1) {\n\t\t\t\ttransition_out(each_blocks[i]);\n\t\t\t}\n\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_each(each_blocks, detaching);\n\t\t\tif (detaching) detach(each_1_anchor);\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet header;\n\tlet t0;\n\tlet t1;\n\tlet body;\n\tlet current;\n\n\theader = new Header({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot_2] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\tlet if_block = /*$allDaySlot*/ ctx[6] && create_if_block(ctx);\n\n\tbody = new Body({\n\t\t\tprops: {\n\t\t\t\t$$slots: { default: [create_default_slot] },\n\t\t\t\t$$scope: { ctx }\n\t\t\t}\n\t\t});\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(header.$$.fragment);\n\t\t\tt0 = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tt1 = space();\n\t\t\tcreate_component(body.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(header, target, anchor);\n\t\t\tinsert(target, t0, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, t1, anchor);\n\t\t\tmount_component(body, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst header_changes = {};\n\n\t\t\tif (dirty[0] & /*loops, $theme, titles*/ 35 | dirty[1] & /*$$scope*/ 32) {\n\t\t\t\theader_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\theader.$set(header_changes);\n\n\t\t\tif (/*$allDaySlot*/ ctx[6]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty[0] & /*$allDaySlot*/ 64) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(t1.parentNode, t1);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\n\t\t\tconst body_changes = {};\n\n\t\t\tif (dirty[0] & /*loops, $theme, $datesAboveResources*/ 49 | dirty[1] & /*$$scope*/ 32) {\n\t\t\t\tbody_changes.$$scope = { dirty, ctx };\n\t\t\t}\n\n\t\t\tbody.$set(body_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(header.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\ttransition_in(body.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(header.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\ttransition_out(body.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\tdestroy_component(header, detaching);\n\t\t\tif (detaching) detach(t0);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(t1);\n\t\t\tdestroy_component(body, detaching);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_intlDayHeader;\n\tlet $_viewResources;\n\tlet $_viewDates;\n\tlet $datesAboveResources;\n\tlet $_viewClass;\n\tlet $theme;\n\tlet $allDaySlot;\n\tlet state = getContext('state');\n\tlet { datesAboveResources, _viewDates, _intlDayHeader, _viewClass, allDaySlot, theme } = state;\n\tcomponent_subscribe($$self, datesAboveResources, value => $$invalidate(4, $datesAboveResources = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(3, $_viewDates = value));\n\tcomponent_subscribe($$self, _intlDayHeader, value => $$invalidate(14, $_intlDayHeader = value));\n\tcomponent_subscribe($$self, _viewClass, value => $$invalidate(15, $_viewClass = value));\n\tcomponent_subscribe($$self, allDaySlot, value => $$invalidate(6, $allDaySlot = value));\n\tcomponent_subscribe($$self, theme, value => $$invalidate(5, $theme = value));\n\tlet viewState = new State(state);\n\tsetContext('view-state', viewState);\n\tlet { _viewResources } = viewState;\n\tcomponent_subscribe($$self, _viewResources, value => $$invalidate(2, $_viewResources = value));\n\tset_store_value(_viewClass, $_viewClass = 'week', $_viewClass);\n\tlet loops, titles;\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty[0] & /*$datesAboveResources, loops, $_viewDates, $_viewResources, titles, $_intlDayHeader*/ 16415) {\n\t\t\t{\n\t\t\t\t$$invalidate(0, loops = []);\n\t\t\t\t$$invalidate(1, titles = []);\n\n\t\t\t\tfor (let i of $datesAboveResources ? [1, 0] : [0, 1]) {\n\t\t\t\t\tloops.push(i ? $_viewDates : $_viewResources);\n\n\t\t\t\t\ttitles.push(i\n\t\t\t\t\t? date => $_intlDayHeader.format(date)\n\t\t\t\t\t: resource => resource.title);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\tloops,\n\t\ttitles,\n\t\t$_viewResources,\n\t\t$_viewDates,\n\t\t$datesAboveResources,\n\t\t$theme,\n\t\t$allDaySlot,\n\t\tdatesAboveResources,\n\t\t_viewDates,\n\t\t_intlDayHeader,\n\t\t_viewClass,\n\t\tallDaySlot,\n\t\ttheme,\n\t\t_viewResources,\n\t\t$_intlDayHeader\n\t];\n}\n\nclass View extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, {}, null, [-1, -1]);\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.resources = [];\n\t\toptions.datesAboveResources = false;\n\t\toptions.filterResourcesWithEvents = false;\n\t\t// Common options\n\t\toptions.buttonText.resourceTimeGridDay = 'day';\n\t\toptions.buttonText.resourceTimeGridWeek = 'week';\n\t\toptions.theme.resource = 'ec-resource';\n\t\toptions.theme.resourceTitle = 'ec-resource-title';\n\t\toptions.view = 'resourceTimeGridWeek';\n\t\toptions.views.resourceTimeGridDay = {\n\t\t\tcomponent: View,\n\t\t\tduration: {days: 1}\n\t\t};\n\t\toptions.views.resourceTimeGridWeek = {\n\t\t\tcomponent: View,\n\t\t\tduration: {weeks: 1}\n\t\t};\n\t},\n\tcreateParsers(parsers, options) {\n\t\tparsers.resources = createResources;\n\t}\n};\n\nfunction createResources(input) {\n\treturn input.map(resource => ({\n\t\tid: String(resource.id),\n\t\ttitle: resource.title || ''\n\t}));\n}\n\nexport { index as default };\n","var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n values: function values(O) {\n return $values(O);\n }\n});\n","require('../../modules/es.object.values');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.values;\n","var parent = require('../../es/object/values');\n\nmodule.exports = parent;\n","module.exports = require(\"core-js-pure/stable/object/values\");","import { SvelteComponent, init, safe_not_equal, noop, listen, run_all, component_subscribe, globals, subscribe, set_store_value, is_function, create_component, mount_component, transition_in, transition_out, destroy_component, space, empty, insert, group_outros, check_outros, detach, binding_callbacks, element, attr, bubble } from 'svelte/internal';\nimport { getContext } from 'svelte';\nimport { ancestor, addDuration, cloneDate, addDay, rect, toEventWithLocalDates, toViewWithLocalDates, cloneEvent, assign, createDuration } from '@event-calendar/common';\n\nfunction traverseTimeGrid(el) {\n let dayEl = ancestor(el, 2);\n let colEl = child(ancestor(dayEl, 1), 1);\n let bodyEl = ancestor(dayEl, 3);\n let col = pos(dayEl) - 1;\n\n return [colEl, bodyEl, col];\n}\n\nfunction traverseResourceTimeGrid(el, datesAboveResources) {\n let dayEl = ancestor(el, 2);\n let colEl = child(child(ancestor(dayEl, 2), 1), 0);\n let resourceEl = ancestor(dayEl, 1);\n let bodyEl = ancestor(resourceEl, 3);\n let col = pos(dayEl);\n let resourceCol = pos(resourceEl) - 1;\n\n return datesAboveResources ? [colEl, bodyEl, resourceCol, col] : [colEl, bodyEl, col, resourceCol];\n}\n\nfunction traverseDayGrid(el, inPopup) {\n let dayEl = ancestor(el, inPopup ? 3 : 2);\n let daysEl = ancestor(dayEl, 1);\n let contentEl = ancestor(daysEl, 1);\n let colEl = child(child(contentEl, 0), 0);\n let bodyEl = ancestor(contentEl, 1);\n let col = pos(dayEl);\n let row = pos(daysEl);\n\n return [colEl, bodyEl, col, row, contentEl.children];\n}\n\nfunction child(el, pos) {\n return el.children[pos];\n}\n\nfunction pos(el) {\n let result = 0;\n while ((el = el.previousElementSibling)) {\n ++result;\n }\n return result;\n}\n\nlet busy = false;\nfunction animate(fn) {\n if (!busy) {\n busy = true;\n window.requestAnimationFrame(() => {\n fn();\n busy = false;\n });\n }\n}\n\nfunction limit(value, max) {\n return Math.max(0, Math.min(max, value));\n}\n\nfunction floor(value) {\n return Math.floor(value);\n}\n\n/* packages/interaction/src/Drag.svelte generated by Svelte v3.47.0 */\n\nconst { window: window_1 } = globals;\n\nfunction create_fragment$3(ctx) {\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc: noop,\n\t\tm(target, anchor) {\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window_1, \"pointermove\", /*handlePointerMove*/ ctx[19]),\n\t\t\t\t\tlisten(window_1, \"pointerup\", /*handlePointerUp*/ ctx[20]),\n\t\t\t\t\tlisten(window_1, \"selectstart\", /*handleSelectStart*/ ctx[21]),\n\t\t\t\t\tlisten(window_1, \"scroll\", /*handleScroll*/ ctx[0])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp: noop,\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nconst INTERACTING_TIME_GRID = 1;\nconst INTERACTING_DAY_GRID = 2;\n\nfunction instance$3($$self, $$props, $$invalidate) {\n\tlet $_events;\n\tlet $_iEvents;\n\tlet $_view;\n\tlet $_iClass;\n\n\tlet $_viewResources,\n\t\t$$unsubscribe__viewResources = noop,\n\t\t$$subscribe__viewResources = () => ($$unsubscribe__viewResources(), $$unsubscribe__viewResources = subscribe(_viewResources, $$value => $$invalidate(49, $_viewResources = $$value)), _viewResources);\n\n\tlet $eventDrop;\n\tlet $eventResize;\n\tlet $eventDragStop;\n\tlet $eventResizeStop;\n\tlet $dragScroll;\n\tlet $eventDragStart;\n\tlet $eventResizeStart;\n\tlet $eventDragMinDistance;\n\tlet $_viewDates;\n\tlet $hiddenDays;\n\tlet $slotDuration;\n\tlet $slotHeight;\n\tlet $datesAboveResources;\n\t$$self.$$.on_destroy.push(() => $$unsubscribe__viewResources());\n\tlet { _iEvents, _iClass, _events, _viewDates, editable, eventStartEditable, eventDragMinDistance, eventDragStart, eventDragStop, eventDrop, eventResizeStart, eventResizeStop, eventResize, dragScroll, slotDuration, slotHeight, hiddenDays, _view, datesAboveResources } = getContext('state');\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(46, $_iEvents = value));\n\tcomponent_subscribe($$self, _iClass, value => $$invalidate(48, $_iClass = value));\n\tcomponent_subscribe($$self, _events, value => $$invalidate(45, $_events = value));\n\tcomponent_subscribe($$self, _viewDates, value => $$invalidate(58, $_viewDates = value));\n\tcomponent_subscribe($$self, eventDragMinDistance, value => $$invalidate(57, $eventDragMinDistance = value));\n\tcomponent_subscribe($$self, eventDragStart, value => $$invalidate(55, $eventDragStart = value));\n\tcomponent_subscribe($$self, eventDragStop, value => $$invalidate(52, $eventDragStop = value));\n\tcomponent_subscribe($$self, eventDrop, value => $$invalidate(50, $eventDrop = value));\n\tcomponent_subscribe($$self, eventResizeStart, value => $$invalidate(56, $eventResizeStart = value));\n\tcomponent_subscribe($$self, eventResizeStop, value => $$invalidate(53, $eventResizeStop = value));\n\tcomponent_subscribe($$self, eventResize, value => $$invalidate(51, $eventResize = value));\n\tcomponent_subscribe($$self, dragScroll, value => $$invalidate(54, $dragScroll = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(60, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(61, $slotHeight = value));\n\tcomponent_subscribe($$self, hiddenDays, value => $$invalidate(59, $hiddenDays = value));\n\tcomponent_subscribe($$self, _view, value => $$invalidate(47, $_view = value));\n\tcomponent_subscribe($$self, datesAboveResources, value => $$invalidate(62, $datesAboveResources = value));\n\tlet interacting = false;\n\tlet resizing; // whether it is just resizing\n\tlet event;\n\tlet col, row;\n\tlet offsetX, offsetY;\n\tlet fromX, fromY;\n\tlet toX, toY;\n\tlet delta;\n\tlet colEl, rowEls, bodyEl;\n\tlet colRect, bodyRect;\n\tlet _viewResources;\n\tlet resourceCol, newResourceCol;\n\tlet isAllDay;\n\tlet minEnd; // minimum end time when resizing\n\n\tfunction startTimeGrid(event, el, jsEvent, resourcesStore, allDay, resize) {\n\t\tif (!interacting && jsEvent.isPrimary) {\n\t\t\tif (resourcesStore) {\n\t\t\t\t[colEl, bodyEl, col, resourceCol] = traverseResourceTimeGrid(el, $datesAboveResources);\n\t\t\t} else {\n\t\t\t\t[colEl, bodyEl, col] = traverseTimeGrid(el);\n\t\t\t}\n\n\t\t\tstart(event, jsEvent);\n\t\t\toffsetY = floor((jsEvent.clientY - colRect.top) / $slotHeight);\n\t\t\toffsetX = 0; // applicable for all-day slot\n\n\t\t\tif (allDay && (!resourcesStore || !$datesAboveResources)) {\n\t\t\t\toffsetX = floor((jsEvent.clientX - colRect.left) / colRect.width) - col - (resourceCol || 0) * $_viewDates.length;\n\t\t\t}\n\n\t\t\t$$subscribe__viewResources($$invalidate(1, _viewResources = resourcesStore));\n\t\t\tinteracting = INTERACTING_TIME_GRID;\n\t\t\tisAllDay = allDay;\n\t\t\tresizing = resize;\n\n\t\t\tif (resizing) {\n\t\t\t\tminEnd = addDuration(cloneDate(event.start), $slotDuration);\n\t\t\t\tset_store_value(_iClass, $_iClass = 'resizingY', $_iClass);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction startDayGrid(event, el, jsEvent, inPopup, resize) {\n\t\tif (!interacting && jsEvent.isPrimary) {\n\t\t\t[colEl, bodyEl, col, row, rowEls] = traverseDayGrid(el, inPopup);\n\t\t\tstart(event, jsEvent);\n\n\t\t\toffsetX = inPopup\n\t\t\t? 0\n\t\t\t: floor((jsEvent.clientX - colRect.left) / colRect.width) - col;\n\n\t\t\t$$subscribe__viewResources($$invalidate(1, _viewResources = undefined));\n\t\t\tinteracting = INTERACTING_DAY_GRID;\n\t\t\tisAllDay = false;\n\t\t\tresizing = resize;\n\n\t\t\tif (resizing) {\n\t\t\t\tminEnd = cloneDate(event.start);\n\t\t\t\tminEnd.setUTCHours(event.end.getUTCHours(), event.end.getUTCMinutes(), event.end.getUTCSeconds());\n\n\t\t\t\tif (minEnd < event.start) {\n\t\t\t\t\taddDay(minEnd);\n\t\t\t\t} // minEnd = addDuration(cloneDate(event.start), $slotDuration); alternative version\n\n\t\t\t\tset_store_value(_iClass, $_iClass = 'resizingX', $_iClass);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction start(eventToDrag, jsEvent) {\n\t\twindow.getSelection().removeAllRanges();\n\t\tevent = eventToDrag;\n\t\tcolRect = rect(colEl);\n\t\tbodyRect = rect(bodyEl);\n\t\tfromX = toX = jsEvent.clientX;\n\t\tfromY = toY = jsEvent.clientY;\n\t\tset_store_value(_iClass, $_iClass = 'dragging', $_iClass);\n\t}\n\n\tfunction move(jsEvent) {\n\t\tlet rx = toX - colRect.left;\n\t\tlet ry = toY - colRect.top;\n\t\tlet newCol = floor(rx / colRect.width);\n\n\t\tif (interacting === INTERACTING_TIME_GRID) {\n\t\t\t// timeGrid\n\t\t\tif (_viewResources) {\n\t\t\t\tif ($datesAboveResources) {\n\t\t\t\t\tlet dayCol = limit(floor(newCol / $_viewResources.length), $_viewDates.length - 1);\n\t\t\t\t\tnewResourceCol = limit(newCol - dayCol * $_viewResources.length, $_viewResources.length - 1);\n\t\t\t\t\tnewCol = dayCol;\n\t\t\t\t} else {\n\t\t\t\t\tif (resizing) {\n\t\t\t\t\t\tnewCol -= resourceCol * $_viewDates.length;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tnewResourceCol = limit(floor(newCol / $_viewDates.length), $_viewResources.length - 1);\n\t\t\t\t\t\tnewCol -= newResourceCol * $_viewDates.length;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tnewCol = limit(newCol, $_viewDates.length - 1);\n\n\t\t\tdelta = createDuration({\n\t\t\t\tdays: ($_viewDates[newCol] - $_viewDates[col]) / 1000 / 60 / 60 / 24 - offsetX,\n\t\t\t\tseconds: isAllDay\n\t\t\t\t? 0\n\t\t\t\t: (floor(ry / $slotHeight) - offsetY) * $slotDuration.seconds\n\t\t\t});\n\t\t} else {\n\t\t\t// dayGrid\n\t\t\tlet cols = 7 - $hiddenDays.length;\n\n\t\t\tnewCol = limit(newCol, cols - 1);\n\t\t\tlet newRow = -1;\n\n\t\t\tdo {\n\t\t\t\t++newRow;\n\t\t\t\try -= rowEls[newRow].offsetHeight;\n\t\t\t} while (ry > 0 && newRow < rowEls.length - 1);\n\n\t\t\tdelta = createDuration({\n\t\t\t\tdays: ($_viewDates[newRow * cols + newCol] - $_viewDates[row * cols + col]) / 1000 / 60 / 60 / 24 - offsetX\n\t\t\t});\n\t\t}\n\n\t\tif ($_iEvents[0] || resizing || distance() >= $eventDragMinDistance) {\n\t\t\tif (!$_iEvents[0]) {\n\t\t\t\tcreateIEvent(jsEvent, resizing ? $eventResizeStart : $eventDragStart);\n\t\t\t}\n\n\t\t\tset_store_value(_iEvents, $_iEvents[0].end = addDuration(cloneDate(event.end), delta), $_iEvents);\n\n\t\t\tif (resizing) {\n\t\t\t\tif ($_iEvents[0].end < minEnd) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].end = minEnd, $_iEvents);\n\t\t\t\t\tdelta = createDuration(($_iEvents[0].end - event.end) / 1000);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tset_store_value(_iEvents, $_iEvents[0].start = addDuration(cloneDate(event.start), delta), $_iEvents);\n\n\t\t\t\tif (_viewResources) {\n\t\t\t\t\tset_store_value(_iEvents, $_iEvents[0].resourceIds = event.resourceIds.filter(id => id !== $_viewResources[resourceCol].id), $_iEvents);\n\t\t\t\t\t$_iEvents[0].resourceIds.push($_viewResources[newResourceCol].id);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ($dragScroll) {\n\t\t\tanimate(() => {\n\t\t\t\tif (toY < 0) {\n\t\t\t\t\twindow.scrollBy(0, Math.max(-10, toY / 3));\n\t\t\t\t}\n\n\t\t\t\tif (toY < bodyRect.top) {\n\t\t\t\t\tbodyEl.scrollTop += Math.max(-10, (toY - bodyRect.top) / 3);\n\t\t\t\t}\n\n\t\t\t\tif (toY > window.innerHeight) {\n\t\t\t\t\twindow.scrollBy(0, Math.min(10, (toY - window.innerHeight) / 3));\n\t\t\t\t}\n\n\t\t\t\tif (toY > bodyRect.bottom) {\n\t\t\t\t\tbodyEl.scrollTop += Math.min(10, (toY - bodyRect.bottom) / 3);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction handleScroll() {\n\t\tif (interacting) {\n\t\t\tcolRect = rect(colEl);\n\t\t\tbodyRect = rect(bodyEl);\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction handlePointerMove(jsEvent) {\n\t\tif (interacting && jsEvent.isPrimary) {\n\t\t\ttoX = jsEvent.clientX;\n\t\t\ttoY = jsEvent.clientY;\n\t\t\tmove(jsEvent);\n\t\t}\n\t}\n\n\tfunction handlePointerUp(jsEvent) {\n\t\tif (interacting && jsEvent.isPrimary) {\n\t\t\tif ($_iEvents[0]) {\n\t\t\t\tevent.display = 'auto';\n\t\t\t\tlet callback = resizing ? $eventResizeStop : $eventDragStop;\n\n\t\t\t\tif (is_function(callback)) {\n\t\t\t\t\tcallback({\n\t\t\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\tlet oldEvent = cloneEvent(event);\n\t\t\t\tupdateEvent(event, $_iEvents[0]);\n\t\t\t\tset_store_value(_iEvents, $_iEvents[0] = null, $_iEvents);\n\t\t\t\tcallback = resizing ? $eventResize : $eventDrop;\n\n\t\t\t\tif (is_function(callback)) {\n\t\t\t\t\tlet eventRef = event;\n\n\t\t\t\t\tlet info = resizing\n\t\t\t\t\t? { endDelta: delta }\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tdelta,\n\t\t\t\t\t\t\toldResource: resourceCol !== newResourceCol\n\t\t\t\t\t\t\t? $_viewResources[resourceCol]\n\t\t\t\t\t\t\t: undefined,\n\t\t\t\t\t\t\tnewResource: resourceCol !== newResourceCol\n\t\t\t\t\t\t\t? $_viewResources[newResourceCol]\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t};\n\n\t\t\t\t\tcallback(assign(info, {\n\t\t\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\t\t\toldEvent: toEventWithLocalDates(oldEvent),\n\t\t\t\t\t\tjsEvent,\n\t\t\t\t\t\tview: toViewWithLocalDates($_view),\n\t\t\t\t\t\trevert() {\n\t\t\t\t\t\t\tupdateEvent(eventRef, oldEvent);\n\t\t\t\t\t\t}\n\t\t\t\t\t}));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcolEl = rowEls = bodyEl = null;\n\t\t\tresourceCol = newResourceCol = undefined;\n\t\t\tinteracting = false;\n\t\t\tset_store_value(_iClass, $_iClass = undefined, $_iClass);\n\t\t}\n\t}\n\n\tfunction createIEvent(jsEvent, callback) {\n\t\tif (is_function(callback)) {\n\t\t\tcallback({\n\t\t\t\tevent: toEventWithLocalDates(event),\n\t\t\t\tjsEvent,\n\t\t\t\tview: toViewWithLocalDates($_view)\n\t\t\t});\n\t\t}\n\n\t\tevent.display = 'preview';\n\t\tset_store_value(_iEvents, $_iEvents[0] = cloneEvent(event), $_iEvents);\n\t\tevent.display = 'ghost';\n\t\t_events.set($_events);\n\t}\n\n\tfunction updateEvent(target, source) {\n\t\ttarget.start = source.start;\n\t\ttarget.end = source.end;\n\t\ttarget.resourceIds = source.resourceIds;\n\t\t_events.set($_events);\n\t}\n\n\tfunction distance() {\n\t\treturn Math.sqrt(Math.pow(toX - fromX, 2) + Math.pow(toY - fromY, 2));\n\t}\n\n\tfunction handleSelectStart(jsEvent) {\n\t\tif (interacting) {\n\t\t\tjsEvent.preventDefault();\n\t\t}\n\t}\n\n\treturn [\n\t\thandleScroll,\n\t\t_viewResources,\n\t\t_iEvents,\n\t\t_iClass,\n\t\t_events,\n\t\t_viewDates,\n\t\teventDragMinDistance,\n\t\teventDragStart,\n\t\teventDragStop,\n\t\teventDrop,\n\t\teventResizeStart,\n\t\teventResizeStop,\n\t\teventResize,\n\t\tdragScroll,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\thiddenDays,\n\t\t_view,\n\t\tdatesAboveResources,\n\t\thandlePointerMove,\n\t\thandlePointerUp,\n\t\thandleSelectStart,\n\t\tstartTimeGrid,\n\t\tstartDayGrid\n\t];\n}\n\nclass Drag extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(\n\t\t\tthis,\n\t\t\toptions,\n\t\t\tinstance$3,\n\t\t\tcreate_fragment$3,\n\t\t\tsafe_not_equal,\n\t\t\t{\n\t\t\t\tstartTimeGrid: 22,\n\t\t\t\tstartDayGrid: 23,\n\t\t\t\thandleScroll: 0\n\t\t\t},\n\t\t\tnull,\n\t\t\t[-1, -1, -1]\n\t\t);\n\t}\n\n\tget startTimeGrid() {\n\t\treturn this.$$.ctx[22];\n\t}\n\n\tget startDayGrid() {\n\t\treturn this.$$.ctx[23];\n\t}\n\n\tget handleScroll() {\n\t\treturn this.$$.ctx[0];\n\t}\n}\n\n/* packages/interaction/src/Pointer.svelte generated by Svelte v3.47.0 */\n\nfunction create_fragment$2(ctx) {\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc: noop,\n\t\tm(target, anchor) {\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = [\n\t\t\t\t\tlisten(window, \"pointermove\", /*handlePointerMove*/ ctx[5]),\n\t\t\t\t\tlisten(window, \"scroll\", /*handleScroll*/ ctx[0])\n\t\t\t\t];\n\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp: noop,\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tmounted = false;\n\t\t\trun_all(dispose);\n\t\t}\n\t};\n}\n\nfunction validEvent(jsEvent) {\n\treturn jsEvent.isPrimary && jsEvent.pointerType === 'mouse';\n}\n\nfunction instance$2($$self, $$props, $$invalidate) {\n\tlet $_iEvents;\n\tlet $slotDuration;\n\n\tlet $_slotTimeLimits,\n\t\t$$unsubscribe__slotTimeLimits = noop,\n\t\t$$subscribe__slotTimeLimits = () => ($$unsubscribe__slotTimeLimits(), $$unsubscribe__slotTimeLimits = subscribe(_slotTimeLimits, $$value => $$invalidate(17, $_slotTimeLimits = $$value)), _slotTimeLimits);\n\n\tlet $slotHeight;\n\t$$self.$$.on_destroy.push(() => $$unsubscribe__slotTimeLimits());\n\tlet { _iEvents, _events, _viewDates, slotDuration, slotHeight, hiddenDays, _view, datesAboveResources, theme } = getContext('state');\n\tcomponent_subscribe($$self, _iEvents, value => $$invalidate(9, $_iEvents = value));\n\tcomponent_subscribe($$self, slotDuration, value => $$invalidate(16, $slotDuration = value));\n\tcomponent_subscribe($$self, slotHeight, value => $$invalidate(18, $slotHeight = value));\n\tlet y;\n\tlet colDate;\n\tlet colEl;\n\tlet colRect;\n\tlet resource;\n\tlet _slotTimeLimits;\n\tlet date;\n\n\tfunction enterTimeGrid(date, el, jsEvent, slotTimeLimitsStore, resourceObj) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tcolDate = date;\n\t\t\tcolEl = el;\n\t\t\tcolRect = rect(colEl);\n\t\t\ty = jsEvent.clientY;\n\t\t\t$$subscribe__slotTimeLimits($$invalidate(1, _slotTimeLimits = slotTimeLimitsStore));\n\t\t\tresource = resourceObj;\n\t\t}\n\t}\n\n\tfunction enterDayGrid(date, jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tcolDate = date;\n\t\t\tcolEl = null;\n\t\t\ty = $$subscribe__slotTimeLimits($$invalidate(1, _slotTimeLimits = resource = undefined));\n\t\t}\n\t}\n\n\tfunction leave(jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\tremovePointerEvent();\n\t\t}\n\t}\n\n\tfunction move() {\n\t\tif (!colDate) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (colEl) {\n\t\t\t// timeGrid\n\t\t\tlet ry = y - colRect.top;\n\n\t\t\tdate = addDuration(cloneDate(colDate), $slotDuration, floor(ry / $slotHeight + $_slotTimeLimits.min.seconds / $slotDuration.seconds));\n\t\t} else {\n\t\t\t// dayGrid\n\t\t\tdate = colDate;\n\t\t}\n\n\t\tif (!$_iEvents[1]) {\n\t\t\tcreatePointerEvent();\n\t\t}\n\n\t\tset_store_value(_iEvents, $_iEvents[1].start = date, $_iEvents);\n\t\tset_store_value(_iEvents, $_iEvents[1].end = addDuration(cloneDate(date), $slotDuration), $_iEvents);\n\t\tset_store_value(_iEvents, $_iEvents[1].resourceIds = resource ? [resource.id] : [], $_iEvents);\n\t}\n\n\tfunction handleScroll() {\n\t\tif (colEl) {\n\t\t\tcolRect = rect(colEl);\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction handlePointerMove(jsEvent) {\n\t\tif (validEvent(jsEvent)) {\n\t\t\ty = jsEvent.clientY;\n\t\t\tmove();\n\t\t}\n\t}\n\n\tfunction createPointerEvent() {\n\t\tset_store_value(\n\t\t\t_iEvents,\n\t\t\t$_iEvents[1] = {\n\t\t\t\tid: '{pointer}',\n\t\t\t\ttitle: '',\n\t\t\t\tdisplay: 'pointer',\n\t\t\t\textendedProps: {},\n\t\t\t\tbackgroundColor: 'transparent'\n\t\t\t},\n\t\t\t$_iEvents\n\t\t);\n\t}\n\n\tfunction removePointerEvent() {\n\t\tcolDate = colEl = set_store_value(_iEvents, $_iEvents[1] = null, $_iEvents);\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$_iEvents*/ 512) {\n\t\t\tif ($_iEvents[0]) {\n\t\t\t\tremovePointerEvent();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn [\n\t\thandleScroll,\n\t\t_slotTimeLimits,\n\t\t_iEvents,\n\t\tslotDuration,\n\t\tslotHeight,\n\t\thandlePointerMove,\n\t\tenterTimeGrid,\n\t\tenterDayGrid,\n\t\tleave,\n\t\t$_iEvents\n\t];\n}\n\nclass Pointer extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\n\t\tinit(this, options, instance$2, create_fragment$2, safe_not_equal, {\n\t\t\tenterTimeGrid: 6,\n\t\t\tenterDayGrid: 7,\n\t\t\tleave: 8,\n\t\t\thandleScroll: 0\n\t\t});\n\t}\n\n\tget enterTimeGrid() {\n\t\treturn this.$$.ctx[6];\n\t}\n\n\tget enterDayGrid() {\n\t\treturn this.$$.ctx[7];\n\t}\n\n\tget leave() {\n\t\treturn this.$$.ctx[8];\n\t}\n\n\tget handleScroll() {\n\t\treturn this.$$.ctx[0];\n\t}\n}\n\n/* packages/interaction/src/Interaction.svelte generated by Svelte v3.47.0 */\n\nfunction create_if_block$1(ctx) {\n\tlet pointer_1;\n\tlet current;\n\tlet pointer_1_props = {};\n\tpointer_1 = new Pointer({ props: pointer_1_props });\n\t/*pointer_1_binding*/ ctx[18](pointer_1);\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(pointer_1.$$.fragment);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(pointer_1, target, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tconst pointer_1_changes = {};\n\t\t\tpointer_1.$set(pointer_1_changes);\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(pointer_1.$$.fragment, local);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(pointer_1.$$.fragment, local);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\t/*pointer_1_binding*/ ctx[18](null);\n\t\t\tdestroy_component(pointer_1, detaching);\n\t\t}\n\t};\n}\n\nfunction create_fragment$1(ctx) {\n\tlet drag;\n\tlet t;\n\tlet if_block_anchor;\n\tlet current;\n\tlet drag_props = {};\n\tdrag = new Drag({ props: drag_props });\n\t/*drag_binding*/ ctx[17](drag);\n\tlet if_block = /*$pointer*/ ctx[1] && create_if_block$1(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tcreate_component(drag.$$.fragment);\n\t\t\tt = space();\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tmount_component(drag, target, anchor);\n\t\t\tinsert(target, t, anchor);\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t\tcurrent = true;\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tconst drag_changes = {};\n\t\t\tdrag.$set(drag_changes);\n\n\t\t\tif (/*$pointer*/ ctx[1]) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\n\t\t\t\t\tif (dirty & /*$pointer*/ 2) {\n\t\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block$1(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\ttransition_in(if_block, 1);\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tgroup_outros();\n\n\t\t\t\ttransition_out(if_block, 1, 1, () => {\n\t\t\t\t\tif_block = null;\n\t\t\t\t});\n\n\t\t\t\tcheck_outros();\n\t\t\t}\n\t\t},\n\t\ti(local) {\n\t\t\tif (current) return;\n\t\t\ttransition_in(drag.$$.fragment, local);\n\t\t\ttransition_in(if_block);\n\t\t\tcurrent = true;\n\t\t},\n\t\to(local) {\n\t\t\ttransition_out(drag.$$.fragment, local);\n\t\t\ttransition_out(if_block);\n\t\t\tcurrent = false;\n\t\t},\n\t\td(detaching) {\n\t\t\t/*drag_binding*/ ctx[17](null);\n\t\t\tdestroy_component(drag, detaching);\n\t\t\tif (detaching) detach(t);\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance$1($$self, $$props, $$invalidate) {\n\tlet $_interaction;\n\tlet $_scroll;\n\tlet $editable;\n\tlet $eventDurationEditable;\n\tlet $_resizable;\n\tlet $eventStartEditable;\n\tlet $_draggable;\n\tlet $theme;\n\tlet $_classes;\n\tlet $pointer;\n\tlet { theme, editable, eventStartEditable, eventDurationEditable, pointer, _interaction, _classes, _draggable, _resizable, _scroll } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(16, $theme = value));\n\tcomponent_subscribe($$self, editable, value => $$invalidate(12, $editable = value));\n\tcomponent_subscribe($$self, eventStartEditable, value => $$invalidate(14, $eventStartEditable = value));\n\tcomponent_subscribe($$self, eventDurationEditable, value => $$invalidate(13, $eventDurationEditable = value));\n\tcomponent_subscribe($$self, pointer, value => $$invalidate(1, $pointer = value));\n\tcomponent_subscribe($$self, _interaction, value => $$invalidate(0, $_interaction = value));\n\tcomponent_subscribe($$self, _classes, value => $$invalidate(21, $_classes = value));\n\tcomponent_subscribe($$self, _draggable, value => $$invalidate(15, $_draggable = value));\n\tcomponent_subscribe($$self, _resizable, value => $$invalidate(20, $_resizable = value));\n\tcomponent_subscribe($$self, _scroll, value => $$invalidate(19, $_scroll = value));\n\n\tset_store_value(\n\t\t_scroll,\n\t\t$_scroll = () => {\n\t\t\tfor (let component of Object.values($_interaction)) {\n\t\t\t\tcomponent && component.handleScroll && component.handleScroll();\n\t\t\t}\n\t\t},\n\t\t$_scroll\n\t);\n\n\tfunction drag_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\t$_interaction.drag = $$value;\n\t\t\t_interaction.set($_interaction);\n\t\t});\n\t}\n\n\tfunction pointer_1_binding($$value) {\n\t\tbinding_callbacks[$$value ? 'unshift' : 'push'](() => {\n\t\t\t$_interaction.pointer = $$value;\n\t\t\t_interaction.set($_interaction);\n\t\t});\n\t}\n\n\t$$self.$$.update = () => {\n\t\tif ($$self.$$.dirty & /*$eventStartEditable, $editable*/ 20480) {\n\t\t\tset_store_value(_draggable, $_draggable = event => (event.startEditable ?? $eventStartEditable) || (event.editable ?? $editable), $_draggable);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$_draggable, $theme*/ 98304) {\n\t\t\tset_store_value(\n\t\t\t\t_classes,\n\t\t\t\t$_classes = (className, event) => {\n\t\t\t\t\tswitch (event.display) {\n\t\t\t\t\t\tcase 'auto':\n\t\t\t\t\t\t\treturn className + ($_draggable(event) ? ' ' + $theme.draggable : '');\n\t\t\t\t\t\tcase 'ghost':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.ghost}`;\n\t\t\t\t\t\tcase 'preview':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.preview}`;\n\t\t\t\t\t\tcase 'pointer':\n\t\t\t\t\t\t\treturn `${$theme.event} ${$theme.pointer}`;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn className;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t$_classes\n\t\t\t);\n\t\t}\n\n\t\tif ($$self.$$.dirty & /*$eventDurationEditable, $editable*/ 12288) {\n\t\t\tset_store_value(_resizable, $_resizable = event => (event.durationEditable ?? $eventDurationEditable) || (event.editable ?? $editable), $_resizable);\n\t\t}\n\t};\n\n\treturn [\n\t\t$_interaction,\n\t\t$pointer,\n\t\ttheme,\n\t\teditable,\n\t\teventStartEditable,\n\t\teventDurationEditable,\n\t\tpointer,\n\t\t_interaction,\n\t\t_classes,\n\t\t_draggable,\n\t\t_resizable,\n\t\t_scroll,\n\t\t$editable,\n\t\t$eventDurationEditable,\n\t\t$eventStartEditable,\n\t\t$_draggable,\n\t\t$theme,\n\t\tdrag_binding,\n\t\tpointer_1_binding\n\t];\n}\n\nclass Interaction extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance$1, create_fragment$1, safe_not_equal, {});\n\t}\n}\n\n/* packages/interaction/src/Resizer.svelte generated by Svelte v3.47.0 */\n\nfunction create_if_block(ctx) {\n\tlet div;\n\tlet div_class_value;\n\tlet mounted;\n\tlet dispose;\n\n\treturn {\n\t\tc() {\n\t\t\tdiv = element(\"div\");\n\t\t\tattr(div, \"class\", div_class_value = /*$theme*/ ctx[2].resizer);\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tinsert(target, div, anchor);\n\n\t\t\tif (!mounted) {\n\t\t\t\tdispose = listen(div, \"pointerdown\", /*pointerdown_handler*/ ctx[5]);\n\t\t\t\tmounted = true;\n\t\t\t}\n\t\t},\n\t\tp(ctx, dirty) {\n\t\t\tif (dirty & /*$theme*/ 4 && div_class_value !== (div_class_value = /*$theme*/ ctx[2].resizer)) {\n\t\t\t\tattr(div, \"class\", div_class_value);\n\t\t\t}\n\t\t},\n\t\td(detaching) {\n\t\t\tif (detaching) detach(div);\n\t\t\tmounted = false;\n\t\t\tdispose();\n\t\t}\n\t};\n}\n\nfunction create_fragment(ctx) {\n\tlet show_if = /*event*/ ctx[0].display === 'auto' && /*$_resizable*/ ctx[1](/*event*/ ctx[0]);\n\tlet if_block_anchor;\n\tlet if_block = show_if && create_if_block(ctx);\n\n\treturn {\n\t\tc() {\n\t\t\tif (if_block) if_block.c();\n\t\t\tif_block_anchor = empty();\n\t\t},\n\t\tm(target, anchor) {\n\t\t\tif (if_block) if_block.m(target, anchor);\n\t\t\tinsert(target, if_block_anchor, anchor);\n\t\t},\n\t\tp(ctx, [dirty]) {\n\t\t\tif (dirty & /*event, $_resizable*/ 3) show_if = /*event*/ ctx[0].display === 'auto' && /*$_resizable*/ ctx[1](/*event*/ ctx[0]);\n\n\t\t\tif (show_if) {\n\t\t\t\tif (if_block) {\n\t\t\t\t\tif_block.p(ctx, dirty);\n\t\t\t\t} else {\n\t\t\t\t\tif_block = create_if_block(ctx);\n\t\t\t\t\tif_block.c();\n\t\t\t\t\tif_block.m(if_block_anchor.parentNode, if_block_anchor);\n\t\t\t\t}\n\t\t\t} else if (if_block) {\n\t\t\t\tif_block.d(1);\n\t\t\t\tif_block = null;\n\t\t\t}\n\t\t},\n\t\ti: noop,\n\t\to: noop,\n\t\td(detaching) {\n\t\t\tif (if_block) if_block.d(detaching);\n\t\t\tif (detaching) detach(if_block_anchor);\n\t\t}\n\t};\n}\n\nfunction instance($$self, $$props, $$invalidate) {\n\tlet $_resizable;\n\tlet $theme;\n\tlet { event } = $$props;\n\tlet { theme, _resizable } = getContext('state');\n\tcomponent_subscribe($$self, theme, value => $$invalidate(2, $theme = value));\n\tcomponent_subscribe($$self, _resizable, value => $$invalidate(1, $_resizable = value));\n\n\tfunction pointerdown_handler(event) {\n\t\tbubble.call(this, $$self, event);\n\t}\n\n\t$$self.$$set = $$props => {\n\t\tif ('event' in $$props) $$invalidate(0, event = $$props.event);\n\t};\n\n\treturn [event, $_resizable, $theme, theme, _resizable, pointerdown_handler];\n}\n\nclass Resizer extends SvelteComponent {\n\tconstructor(options) {\n\t\tsuper();\n\t\tinit(this, options, instance, create_fragment, safe_not_equal, { event: 0 });\n\t}\n}\n\nvar index = {\n\tcreateOptions(options) {\n\t\toptions.editable = false;\n\t\toptions.eventStartEditable = true;\n\t\toptions.eventDragMinDistance = 5;\n\t\toptions.eventDragStart = undefined;\n\t\toptions.eventDragStop = undefined;\n\t\toptions.eventDrop = undefined;\n\t\toptions.eventDurationEditable = true;\n\t\toptions.eventResizeStart = undefined;\n\t\toptions.eventResizeStop = undefined;\n\t\toptions.eventResize = undefined;\n\t\toptions.dragScroll = true;\n\t\toptions.pointer = false;\n\t\toptions.theme.draggable = 'ec-draggable';\n\t\toptions.theme.ghost = 'ec-ghost';\n\t\toptions.theme.preview = 'ec-preview';\n\t\toptions.theme.pointer = 'ec-pointer';\n\t\toptions.theme.resizer = 'ec-resizer';\n\t\toptions.theme.dragging = 'ec-dragging';\n\t\toptions.theme.resizingY = 'ec-resizing-y';\n\t\toptions.theme.resizingX = 'ec-resizing-x';\n\t},\n\n\tcreateStores(state) {\n\t\tstate._interaction.set({\n\t\t\tcomponent: Interaction,\n\t\t\tresizer: Resizer\n\t\t});\n\t}\n};\n\nexport { index as default };\n","import Calendar from '@event-calendar/core';\nimport DayGrid from '@event-calendar/day-grid';\nimport List from '@event-calendar/list';\nimport TimeGrid from '@event-calendar/time-grid';\nimport ResourceTimeGrid from '@event-calendar/resource-time-grid';\nimport Interaction from '@event-calendar/interaction';\n\nexport default class extends Calendar {\n constructor(el, options) {\n super({\n target: el,\n props: {\n plugins: [DayGrid, List, TimeGrid, ResourceTimeGrid, Interaction],\n options\n }\n });\n }\n\n get view() {\n return this.getView();\n }\n}\n"],"names":["check","it","Math","global","globalThis","window","self","this","Function","fails","exec","error","functionBindNative","require$$0","test","bind","hasOwnProperty","NATIVE_BIND","FunctionPrototype","prototype","call","uncurryThis","functionUncurryThis","fn","apply","arguments","toString","stringSlice","slice","classofRaw","require$$1","require$$2","classof","require$$3","Object","split","indexedObject","propertyIsEnumerable","TypeError","requireObjectCoercible","undefined","IndexedObject","toIndexedObject","iterators","isCallable","argument","defineProperty","setGlobal","key","value","configurable","writable","SHARED","sharedStore","store","functionToString","inspectSource","match","version","WeakMap","nativeWeakMap","isObject","descriptors","get","document","EXISTS","createElement","documentCreateElement","ie8DomDefine","a","v8PrototypeDefineBug","String","anObject","functionCall","path","aFunction","variable","getBuiltIn","namespace","method","length","objectIsPrototypeOf","isPrototypeOf","engineUserAgent","userAgent","process","Deno","versions","v8","engineV8Version","V8_VERSION","nativeSymbol","getOwnPropertySymbols","symbol","Symbol","sham","useSymbolAsUid","iterator","USE_SYMBOL_AS_UID","require$$4","isSymbol","$Symbol","tryToString","aCallable","getMethod","V","P","func","sharedModule","push","mode","copyright","license","source","toObject","hasOwnProperty_1","hasOwn","id","postfix","random","uid","shared","NATIVE_SYMBOL","require$$5","WellKnownSymbolsStore","symbolFor","createWellKnownSymbol","withoutSetter","wellKnownSymbol","name","description","ordinaryToPrimitive","input","pref","val","valueOf","require$$6","TO_PRIMITIVE","toPrimitive","result","exoticToPrim","toPropertyKey","DESCRIPTORS","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","$defineProperty","$getOwnPropertyDescriptor","getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","objectDefineProperty","f","O","Attributes","current","enumerable","set","has","createPropertyDescriptor","bitmap","definePropertyModule","createNonEnumerableProperty","object","keys","sharedKey","hiddenKeys","NATIVE_WEAK_MAP","require$$7","require$$8","OBJECT_ALREADY_INITIALIZED","state","wmget","wmhas","wmset","metadata","facade","STATE","internalState","enforce","getterFor","TYPE","type","functionApply","Reflect","$propertyIsEnumerable","NASHORN_BUG","1","objectPropertyIsEnumerable","descriptor","propertyIsEnumerableModule","objectGetOwnPropertyDescriptor","replacement","isForced","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isForced_1","functionBindContext","that","require$$9","wrapConstructor","NativeConstructor","Wrapper","b","c","_export","options","USE_NATIVE","VIRTUAL_PROTOTYPE","sourceProperty","targetProperty","nativeProperty","resultProperty","TARGET","target","GLOBAL","STATIC","stat","PROTO","proto","nativeSource","targetPrototype","forced","noTargetGet","wrap","real","getDescriptor","functionName","PROPER","ceil","floor","toIntegerOrInfinity","number","max","min","toAbsoluteIndex","index","integer","toLength","lengthOfArrayLike","obj","createMethod","IS_INCLUDES","$this","el","fromIndex","arrayIncludes","includes","indexOf","objectKeysInternal","names","i","enumBugKeys","internalObjectKeys","objectKeys","objectDefineProperties","defineProperties","Properties","props","activeXDocument","html","definePropertiesModule","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","domain","style","display","appendChild","src","contentWindow","open","F","IteratorPrototype","PrototypeOfArrayIteratorPrototype","arrayIterator","objectCreate","create","correctPrototypeGetter","constructor","getPrototypeOf","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","objectGetPrototypeOf","redefine","ITERATOR","BUGGY_SAFARI_ITERATORS","NEW_ITERATOR_PROTOTYPE","iteratorsCore","toStringTagSupport","TO_STRING_TAG_SUPPORT","TO_STRING_TAG","CORRECT_ARGUMENTS","tag","tryGet","callee","objectToString","setToStringTag","TAG","SET_METHOD","Iterators","returnThis","createIteratorConstructor","IteratorConstructor","NAME","next","ENUMERABLE_NEXT","aPossiblePrototype","objectSetPrototypeOf","setPrototypeOf","setter","CORRECT_SETTER","Array","__proto__","$","require$$10","require$$12","PROPER_FUNCTION_NAME","require$$13","require$$11","KEYS","VALUES","ENTRIES","defineIterator","Iterable","DEFAULT","IS_SET","FORCED","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","values","InternalStateModule","ARRAY_ITERATOR","setInternalState","getInternalState","defineIterator$2","iterated","kind","done","Arguments","concat","objectGetOwnPropertyNames","getOwnPropertyNames","createProperty","propertyKey","arraySliceSimple","start","end","k","fin","n","$getOwnPropertyNames","arraySlice","windowNames","objectGetOwnPropertyNamesExternal","getWindowNames","arrayBufferNonExtensible","ArrayBuffer","buffer","isExtensible","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","objectIsExtensible","freezing","preventExtensions","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","internalMetadataModule","exports","enable","splice","fastKey","getWeakData","onFreeze","ArrayPrototype","isArrayIteratorMethod","getIteratorMethod","getIterator","usingIterator","iteratorMethod","iteratorClose","innerResult","innerError","Result","stopped","ResultPrototype","iterate","iterable","unboundFunction","iterFn","step","AS_ENTRIES","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","anInstance","Prototype","isArray","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","isConstructor","called","SPECIES","arraySpeciesConstructor","originalArray","C","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","callbackfn","specificCreate","boundFunction","arrayIteration","forEach","map","filter","some","every","find","findIndex","filterReject","InternalMetadataModule","internalStateGetterFor","collection","CONSTRUCTOR_NAME","wrapper","common","Constructor","IS_WEAK","ADDER","NativePrototype","exported","IS_ADDER","size","getConstructor","setStrong","redefineAll","unsafe","setSpecies","collectionStrong","first","last","define","previous","entry","getEntry","removed","clear","delete","prev","add","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","init","charAt","charCodeAt","CONVERT_TO_STRING","pos","second","S","position","codeAt","STRING_ITERATOR","point","Set","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","COLLECTION_NAME","Collection","CollectionPrototype","arrayMethodHasSpeciesSupport","METHOD_NAME","array","foo","Boolean","$map","entryVirtual","CONSTRUCTOR","own","module","nativeKeys","$includes","MATCH","isRegExp","notARegexp","correctIsRegexpLogic","regexp","error1","error2","notARegExp","correctIsRegExpLogic","stringIndexOf","searchString","arrayMethod","stringMethod","StringPrototype","IS_CONCAT_SPREADABLE","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_INDEX_EXCEEDED","IS_CONCAT_SPREADABLE_SUPPORT","SPECIES_SUPPORT","isConcatSpreadable","spreadable","arg","len","E","A","objectGetOwnPropertySymbols","getOwnPropertySymbolsModule","ownKeys","getOwnPropertyDescriptorModule","TEST","Error","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","errorStackInstallable","copyConstructorProperties","exceptions","clearErrorStack","dropEntries","installErrorCause","cause","normalizeStringArgument","$default","ERROR_STACK_INSTALLABLE","require$$14","$AggregateError","errors","message","isInstance","AggregateErrorPrototype","errorsArray","AggregateError","nativePromiseConstructor","Promise","SAFE_CLOSING","iteratorWithReturn","return","from","location","defer","channel","port","checkCorrectnessOfIteration","SKIP_CLOSING","ITERATION_SUPPORT","aConstructor","speciesConstructor","defaultConstructor","engineIsIos","engineIsNode","IS_IOS","IS_NODE","setImmediate","clearImmediate","Dispatch","MessageChannel","counter","queue","ONREADYSTATECHANGE","run","runner","listener","event","post","postMessage","protocol","host","args","nextTick","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","flush","head","notify","toggle","node","promise","then","task","engineIsIosPebble","Pebble","engineIsWebosWebkit","macrotask","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","queueMicrotask","parent","exit","enter","resolve","createTextNode","observe","characterData","microtask","PromiseCapability","reject","$$resolve","$$reject","newPromiseCapability","promiseResolve","x","promiseCapability","perform","Queue","tail","Queue$1","item","Internal","OwnPromiseCapability","PromiseWrapper","engineIsBrowser","NativePromise","require$$15","require$$16","require$$17","require$$18","require$$19","require$$20","require$$21","hostReportErrors","console","newPromiseCapabilityModule","require$$23","require$$24","require$$26","require$$27","IS_BROWSER","require$$29","require$$30","require$$31","require$$28","PROMISE","getInternalPromiseState","NativePromisePrototype","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","NATIVE_REJECTION_EVENT","PromiseRejectionEvent","UNHANDLED_REJECTION","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","INCORRECT_ITERATION","all","isThenable","callReaction","reaction","exited","ok","handler","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","onRejected","catch","setToStringTag$3","r","capability","$promiseResolve","remaining","alreadyCalled","race","allSettled","status","PROMISE_ANY_ERROR","any","alreadyResolved","alreadyRejected","finally","onFinally","isFunction","e","nativeUrl","url","URL","searchParams","pathname","toJSON","sort","href","URLSearchParams","username","hash","mergeSort","comparefn","middle","insertionSort","merge","element","j","left","right","llength","rlength","lindex","rindex","arraySort","USE_NATIVE_URL","$toString","require$$22","validateArgumentsLength","passed","required","require$$25","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","n$Fetch","N$Request","Headers","RequestPrototype","HeadersPrototype","RegExp","decodeURIComponent","encodeURIComponent","join","shift","plus","sequences","percentSequence","bytes","percentDecode","sequence","deserialize","replacements","!","'","(",")","~","%20","replacer","serialize","URLSearchParamsIterator","params","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","attribute","attributes","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","append","getAll","found","callback","$$h","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","RequestConstructor","Request","urlSearchParams","TO_ENTRIES","objectToArray","$entries","un$Slice","HAS_SPECIES_SUPPORT","$filter","arrayMethodIsStrict","firefox","engineFfVersion","engineIsIeOrEdge","webkit","engineWebkitVersion","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","un$Sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STRICT_METHOD","STABLE_SORT","code","chr","fromCharCode","v","itemsLength","items","arrayLength","y","getSortCompare","$IndexOf","un$IndexOf","NEGATIVE_ZERO","searchElement","getOwnPropertyDescriptors","callWithSafeIterationClosing","arrayLike","IS_CONSTRUCTOR","argumentsLength","mapfn","mapping","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","deleteCount","insertCount","actualDeleteCount","to","actualStart","un$StartsWith","startsWith","search","whitespaces","whitespace","ltrim","rtrim","stringTrim","trim","stringTrimForced","$trim","Map","$assign","assign","B","alphabet","T","fill","endPos","wellKnownSymbolWrapped","wrappedWellKnownSymbolModule","defineWellKnownSymbol","nativeObjectCreate","getOwnPropertyNamesExternal","require$$32","require$$33","require$$35","require$$36","require$$37","require$$38","require$$39","require$$40","require$$41","$forEach","require$$42","HIDDEN","require$$34","SYMBOL","SymbolPrototype","QObject","$stringify","nativeGetOwnPropertyDescriptor","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","StringToSymbolRegistry","SymbolToStringRegistry","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","$getOwnPropertySymbols","IS_OBJECT_PROTOTYPE","$$3","for","keyFor","sym","useSetter","useSimple","stringify","space","$replacer","hint","JSON","isIterable","identity","blank_object","run_all","fns","is_function","thing","safe_not_equal","subscribe","_len","callbacks","_key","unsub","unsubscribe","get_store_value","_","component_subscribe","component","$$","on_destroy","create_slot","definition","ctx","$$scope","slot_ctx","get_slot_context","_context","tar","_sliceInstanceProperty","get_slot_changes","dirty","lets","merged","update_slot_base","slot","slot_definition","slot_changes","get_slot_context_fn","slot_context","p","get_all_dirty_from_scope","set_store_value","ret","action_destroyer","action_result","destroy","insert","anchor","insertBefore","detach","parentNode","destroy_each","iterations","detaching","d","text","listen","removeEventListener","stop_propagation","stopPropagation","attr","removeAttribute","getAttribute","setAttribute","children","_Array$from","childNodes","set_data","wholeText","set_style","important","removeProperty","setProperty","current_component","set_current_component","get_current_component","onMount","on_mount","afterUpdate","after_update","createEventDispatcher","detail","bubbles","initCustomEvent","custom_event","setContext","context","getContext","bubble","_Set","_Map","dirty_components","binding_callbacks","render_callbacks","flush_callbacks","resolved_promise","_Promise","update_scheduled","schedule_update","tick","add_render_callback","seen_callbacks","flushidx","saved_component","pop","fragment","before_update","outroing","outros","group_outros","check_outros","transition_in","block","local","transition_out","o","globals","_globalThis","create_component","mount_component","customElement","m","_context22","new_on_destroy","_filterInstanceProperty","destroy_component","make_dirty","_context23","_fillInstanceProperty","instance","create_fragment","not_equal","append_styles","parent_component","bound","on_disconnect","skip_bound","root","ready","hydrate","nodes","l","intro","SvelteComponent","$destroy","$on","_indexOfInstanceProperty","_spliceInstanceProperty","$set","$$props","$$set","_Object$keys","subscriber_queue","subscribers","new_value","run_queue","subscriber","invalidate","derived","stores","initial_value","single","stores_array","auto","inited","pending","cleanup","sync","unsubscribers","_mapInstanceProperty","$parseInt","parseInt","hex","numberParseInt","radix","_parseInt","$trimEnd","trimEnd","trimRight","setContent","actions","firstChild","lastChild","domNodes","child","innerHTML","DAY_IN_SECONDS","createDate","Date","_fromLocalDate","str","parts","UTC","Number","_fromISOString","createDuration","seconds","exp","part","pow","hours","getUTCHours","minutes","getUTCMinutes","getUTCSeconds","weeks","week","years","year","months","month","days","day","hour","minute","inWeeks","cloneDate","date","getTime","addDuration","duration","setUTCFullYear","getUTCFullYear","getUTCMonth","setUTCMonth","subtractDay","setUTCDate","getUTCDate","setUTCSeconds","addDay","setMidnight","setUTCHours","toLocalDate","toISOString","substring","formatRange","intl","getFullYear","format","diff","getMonth","getDate","opts1","resolvedOptions","opts2","intl2","Intl","DateTimeFormat","locale","full1","full2","part1","part2","str1","substr1","str2","substr2","res1","_cut","res2","_commonChunks","datesEqual","date1","date2","prevClosestDay","getUTCDay","getHours","getMinutes","getSeconds","substr","_Object$assign","hasYScroll","offsetWidth","clientWidth","clientLeft","rect","getBoundingClientRect","ancestor","up","parentElement","height","offsetHeight","toViewWithLocalDates","view","currentStart","currentEnd","activeStart","activeEnd","eventId","createEvents","resourceIds","resourceId","allDay","title","editable","startEditable","durationEditable","_includesInstanceProperty","extendedProps","backgroundColor","color","createEventSources","_context2","events","_trimEndInstanceProperty","toUpperCase","extraParams","createEventChunk","sortEventChunks","chunks","createEventContent","chunk","displayEventEnd","eventContent","theme","_intlEventTime","_view","_context3","_context4","_context5","timeText","toEventWithLocalDates","eventTime","_concatInstanceProperty","eventTitle","_cloneEvent","cloneEvent","dateFn","writable2","parser","parse","derived2","initValue","storeValue","hasSubscribers","_ref","$locale","$format","State","plugins","allDayContent","allDaySlot","buttonText","today","dateClick","datesSet","dayHeaderFormat","weekday","eventBackgroundColor","eventClick","eventColor","eventDidMount","eventMouseEnter","eventMouseLeave","eventSources","eventTimeFormat","firstDay","flexibleSlotTimeLimits","headerToolbar","center","hiddenDays","highlightedDates","lazyFetching","loading","monthMode","nowIndicator","scrollTime","slotDuration","slotHeight","slotLabelFormat","slotMaxTime","slotMinTime","active","bgEvent","bgEvents","button","buttonGroup","calendar","compact","dayHead","eventBody","extra","handle","header","hiddenScroll","hiddenTimes","highlight","icon","line","lines","otherMonth","sidebar","sidebarTitle","time","toolbar","withScroll","titleFormat","viewDidMount","views","plugin","createOptions","parsers","dates","createParsers","option","_Object$entries","_currentRange","_ref3","$date","$duration","$monthMode","$firstDay","setDate","_activeRange","$_currentRange","$slotMinTime","$slotMaxTime","nextClosestDay","start2","debounce","_ref2","$_activeRange","$datesSet","startStr","endStr","activeRange","_fetchedRange","_events","abortController","fetching","$events","$eventSources","$_fetchedRange","$lazyFetching","$loading","abort","AbortController","stopLoading","failure","success","_URLSearchParams","signal","credentials","response","json","_intlSlotLabel","_intlDayHeader","_titleIntlRange","_scrollable","_viewTitle","_ref5","$_titleIntlRange","viewTitle","_viewDates","_ref4","$hiddenDays","viewDates","createView","_viewComponent","_viewClass","_interaction","_iEvents","_draggable","_resizable","_classes","_iClass","_scroll","createStores","commonOpts","parseOpts","viewOpts","opts","newView","_set","rest","get_each_context$1","list","child_ctx","create_else_block$1","t","button_class_value","mounted","dispose","t_value","click_handler_1","new_ctx","create_if_block_4","disabled","create_if_block_3","i_class_value","create_if_block_2","create_if_block_1","h2","h2_class_value","create_if_block$1","create_each_block$1","if_block_anchor","select_block_type","current_block_type","if_block","create_fragment$2","each_1_anchor","each_value","each_blocks","_ref6","instance$2","$$self","$$invalidate","$theme","$_viewTitle","$buttonText","$view","buttons","isToday","subtractDuration","Buttons","super","get_each_context","get_each_context_1","create_else_block","buttons_changes","create_if_block","div","div_class_value","create_each_block_1","current_block_type_index","if_block_creators","if_blocks","previous_block_index","create_each_block","each_value_1","out","create_fragment$1","_ref7","instance$1","$headerToolbar","sections","group","Toolbar","t0","switch_instance0","t1","switch_instance1","switch_value","switch_value_1","_ref8","old_component","$_events","$_viewClass","$_iClass","$height","$_viewComponent","$_interaction","setOption","updateEvents","getOption","getEventById","addEvent","updateEvent","removeEventById","Calendar","refetchEvents","getEvents","getView","_days","_hiddenEvents","_popup","get_each_context$4","create_each_block$4","create_fragment$6","div2","div0","div0_class_value","div1","div1_class_value","div2_class_value","instance$6","$_scrollable","$_days","$_intlDayHeader","Header","create_fragment$5","default_slot_template","default","default_slot","uniform","instance$5","$dayMaxEvents","$_scroll","$$slots","slots","dayMaxEvents","recheckScrollable","div1_binding","$$value","Body","prepareEventChunks","longChunks","prevChunk","create_fragment$4","setContent_action","switch_instance","resizer","switch_props","switch_instance_changes","instance$4","$_hiddenEvents","$_view","$eventDidMount","$_intlEventTime","$eventContent","$displayEventEnd","$_classes","$eventColor","$eventBackgroundColor","$eventClick","$eventMouseEnter","$eventMouseLeave","$_draggable","inPopup","classes","margin","hidden","createHandler","jsEvent","reposition","top","bottom","longChunk","offset","dayEl","h","firstElementChild","footHeight","lastElementChild","nextElementSibling","hiddenEvents","hide","bgColor","ecClosingPopup","createDragHandler","resize","drag","startDayGrid","Event","clickOutside","handleClick","clickEvent","contains","CustomEvent","get_each_context$3","create_each_block$3","event_changes","create_fragment$3","t3","t0_value","textContent","popup","instance$3","$_popup","$_intlDayPopover","_intlDayPopover","bodyEl","popupRect","bodyRect","previousElementSibling","width","handleClickOutside","click_handler","div2_binding","Popup","get_each_context$2","preview","create_each_block$2","div3","t2","t4","t5","div3_class_value","show_if_2","show_if_1","show_if","if_block0","if_block1","if_block2","if_block3","dayFoot","createPointerLeaveHandler","interaction","pointer","leave","$moreLinkContent","$highlightedDates","$currentDate","$dateClick","iChunks","currentDate","moreLinkContent","dayChunks","moreLink","setPopupChunks","nextDay","_sortInstanceProperty","num","createClickHandler","dateStr","createPointerEnterHandler","enterDayGrid","div3_binding","Day","day_changes","$_iEvents","intersects","Week","week_changes","create_default_slot","body_changes","$_viewDates","viewState","View","dayPopoverFormat","dayGridMonth","eventTag","span","span_class_value","t2_value","daySide","$_intlListDayFormat","$_intlListDaySideFormat","_intlListDayFormat","_intlListDaySideFormat","div_binding","listDayFormat","listDaySideFormat","noEvents","$noEventsClick","$noEventsContent","noEventsClick","noEventsContent","listDay","listWeek","listMonth","listYear","_slotTimeLimits","$flexibleSlotTimeLimits","minMin","maxMax","loop","minStart","maxEnd","slotTimeLimits","_times","localState","$_slotTimeLimits","$_intlSlotLabel","$slotDuration","times","createAllDayContent","get_each_context$5","create_each_block$5","create_fragment$8","div6","div4","div4_class_value","div5","div5_class_value","div6_class_value","instance$8","$allDayContent","$_times","allDayText","get_each_context_1$2","create_each_block_1$2","create_fragment$7","each_blocks_1","instance$7","$slotHeight","$scrollTime","timeLimitMin","scrollTop","div5_binding","_viewResources","maxHeight","column","columns","startTimeGrid","Event$1","intervalID","timer","setInterval","clearInterval","NowIndicator","get_each_context_1$1","create_each_block_1$1","create_if_block$2","nowindicator","out_1","$nowIndicator","resource","bgChunks","groupEventChunks","clientY","enterTimeGrid","Day$1","create_default_slot_2","create_default_slot_1","header_changes","$allDaySlot","timeGridDay","timeGridWeek","State$1","resources","filterResourcesWithEvents","$resources","$filterResourcesWithEvents","viewResources","get_each_context_4","get_each_context_2","get_each_context_3","get_each_context_5","get_each_context_6","each_value_6","create_each_block_6","create_each_block_5","each_value_5","each_value_4","create_each_block_4","each_value_2","create_each_block_2","create_each_block_3","each_value_3","$_viewResources","$datesAboveResources","datesAboveResources","loops","titles","resourceTimeGridDay","resourceTimeGridWeek","resourceTitle","createResources","$values","busy","limit","window_1","$eventDrop","$eventResize","$eventDragStop","$eventResizeStop","$dragScroll","$eventDragStart","$eventResizeStart","$eventDragMinDistance","$$unsubscribe__viewResources","$$subscribe__viewResources","eventStartEditable","eventDragMinDistance","eventDragStart","eventDragStop","eventDrop","eventResizeStart","eventResizeStop","eventResize","dragScroll","interacting","resizing","col","row","offsetX","offsetY","fromX","fromY","toX","toY","delta","colEl","rowEls","colRect","resourceCol","newResourceCol","isAllDay","minEnd","eventToDrag","getSelection","removeAllRanges","clientX","move","rx","ry","newCol","dayCol","cols","newRow","sqrt","createIEvent","scrollBy","innerHeight","requestAnimationFrame","handlePointerMove","isPrimary","handlePointerUp","oldEvent","eventRef","endDelta","oldResource","newResource","revert","handleSelectStart","preventDefault","resourcesStore","resourceEl","traverseResourceTimeGrid","traverseTimeGrid","daysEl","contentEl","traverseDayGrid","Drag","handleScroll","validEvent","pointerType","$$unsubscribe__slotTimeLimits","$$subscribe__slotTimeLimits","colDate","removePointerEvent","slotTimeLimitsStore","resourceObj","Pointer","pointer_1","$editable","$eventDurationEditable","$_resizable","$eventStartEditable","$pointer","eventDurationEditable","_Object$values","_event$startEditable","_event$editable","className","draggable","ghost","_event$durationEditab","_event$editable2","drag_binding","pointer_1_binding","Interaction","pointerdown_handler","Resizer","dragging","resizingY","resizingX","DayGrid","List","TimeGrid","ResourceTimeGrid"],"mappings":"sTAAIA,EAAQ,SAAUC,GACpB,OAAOA,GAAMA,EAAGC,MAAQA,MAAQD,GAIlCE,EAEEH,EAA2B,iBAAdI,YAA0BA,aACvCJ,EAAuB,iBAAVK,QAAsBA,SAEnCL,EAAqB,iBAARM,MAAoBA,OACjCN,EAAuB,iBAAVG,GAAsBA,IAEnC,WAAe,OAAOI,KAAtB,IAAoCC,SAAS,cAATA,GCbtCC,EAAiB,SAAUC,GACzB,IACE,QAASA,IACT,MAAOC,GACP,OAAO,ICFXC,GAFYC,GAEY,WACtB,IAAIC,EAAO,aAA8BC,OAEzC,MAAsB,mBAARD,GAAsBA,EAAKE,eAAe,gBCLtDC,EAAcJ,EAEdK,EAAoBV,SAASW,UAC7BJ,EAAOG,EAAkBH,KACzBK,EAAOF,EAAkBE,KACzBC,EAAcJ,GAAeF,EAAKA,KAAKK,EAAMA,GAEjDE,EAAiBL,EAAc,SAAUM,GACvC,OAAOA,GAAMF,EAAYE,IACvB,SAAUA,GACZ,OAAOA,GAAM,WACX,OAAOH,EAAKI,MAAMD,EAAIE,aCXtBJ,EAAcR,EAEda,EAAWL,EAAY,GAAGK,UAC1BC,EAAcN,EAAY,GAAGO,OAEjCC,EAAiB,SAAU5B,GACzB,OAAO0B,EAAYD,EAASzB,GAAK,GAAI,ICLnCoB,EAAcS,EACdrB,EAAQsB,EACRC,EAAUC,EAEVC,EALSrB,EAKOqB,OAChBC,EAAQd,EAAY,GAAGc,OAG3B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