{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","vendor/ember/ember.js","vendor/ember-cli-deprecation-workflow/main.js","vendor/ember-fetch.js","webpack://@adminkit/core/./src/js/modules/theme.js","webpack://@adminkit/core/./src/js/modules/vector-maps/world.js","webpack://@adminkit/core/./node_modules/can-use-dom/index.js","webpack://@adminkit/core/./node_modules/chart.js/dist/Chart.js","webpack://@adminkit/core/./node_modules/feather-icons/dist/feather.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/utils/polyfills.js","webpack://@adminkit/core/./node_modules/jsvectormap/dist/js/jsvectormap.min.js","webpack://@adminkit/core/./node_modules/lodash.debounce/index.js","webpack://@adminkit/core/./node_modules/lodash.memoize/index.js","webpack://@adminkit/core/./node_modules/lodash.throttle/index.js","webpack://@adminkit/core/./node_modules/moment/locale/af.js","webpack://@adminkit/core/./node_modules/moment/locale/ar-dz.js","webpack://@adminkit/core/./node_modules/moment/locale/ar-kw.js","webpack://@adminkit/core/./node_modules/moment/locale/ar-ly.js","webpack://@adminkit/core/./node_modules/moment/locale/ar-ma.js","webpack://@adminkit/core/./node_modules/moment/locale/ar-sa.js","webpack://@adminkit/core/./node_modules/moment/locale/ar-tn.js","webpack://@adminkit/core/./node_modules/moment/locale/ar.js","webpack://@adminkit/core/./node_modules/moment/locale/az.js","webpack://@adminkit/core/./node_modules/moment/locale/be.js","webpack://@adminkit/core/./node_modules/moment/locale/bg.js","webpack://@adminkit/core/./node_modules/moment/locale/bm.js","webpack://@adminkit/core/./node_modules/moment/locale/bn-bd.js","webpack://@adminkit/core/./node_modules/moment/locale/bn.js","webpack://@adminkit/core/./node_modules/moment/locale/bo.js","webpack://@adminkit/core/./node_modules/moment/locale/br.js","webpack://@adminkit/core/./node_modules/moment/locale/bs.js","webpack://@adminkit/core/./node_modules/moment/locale/ca.js","webpack://@adminkit/core/./node_modules/moment/locale/cs.js","webpack://@adminkit/core/./node_modules/moment/locale/cv.js","webpack://@adminkit/core/./node_modules/moment/locale/cy.js","webpack://@adminkit/core/./node_modules/moment/locale/da.js","webpack://@adminkit/core/./node_modules/moment/locale/de-at.js","webpack://@adminkit/core/./node_modules/moment/locale/de-ch.js","webpack://@adminkit/core/./node_modules/moment/locale/de.js","webpack://@adminkit/core/./node_modules/moment/locale/dv.js","webpack://@adminkit/core/./node_modules/moment/locale/el.js","webpack://@adminkit/core/./node_modules/moment/locale/en-au.js","webpack://@adminkit/core/./node_modules/moment/locale/en-ca.js","webpack://@adminkit/core/./node_modules/moment/locale/en-gb.js","webpack://@adminkit/core/./node_modules/moment/locale/en-ie.js","webpack://@adminkit/core/./node_modules/moment/locale/en-il.js","webpack://@adminkit/core/./node_modules/moment/locale/en-in.js","webpack://@adminkit/core/./node_modules/moment/locale/en-nz.js","webpack://@adminkit/core/./node_modules/moment/locale/en-sg.js","webpack://@adminkit/core/./node_modules/moment/locale/eo.js","webpack://@adminkit/core/./node_modules/moment/locale/es-do.js","webpack://@adminkit/core/./node_modules/moment/locale/es-mx.js","webpack://@adminkit/core/./node_modules/moment/locale/es-us.js","webpack://@adminkit/core/./node_modules/moment/locale/es.js","webpack://@adminkit/core/./node_modules/moment/locale/et.js","webpack://@adminkit/core/./node_modules/moment/locale/eu.js","webpack://@adminkit/core/./node_modules/moment/locale/fa.js","webpack://@adminkit/core/./node_modules/moment/locale/fi.js","webpack://@adminkit/core/./node_modules/moment/locale/fil.js","webpack://@adminkit/core/./node_modules/moment/locale/fo.js","webpack://@adminkit/core/./node_modules/moment/locale/fr-ca.js","webpack://@adminkit/core/./node_modules/moment/locale/fr-ch.js","webpack://@adminkit/core/./node_modules/moment/locale/fr.js","webpack://@adminkit/core/./node_modules/moment/locale/fy.js","webpack://@adminkit/core/./node_modules/moment/locale/ga.js","webpack://@adminkit/core/./node_modules/moment/locale/gd.js","webpack://@adminkit/core/./node_modules/moment/locale/gl.js","webpack://@adminkit/core/./node_modules/moment/locale/gom-deva.js","webpack://@adminkit/core/./node_modules/moment/locale/gom-latn.js","webpack://@adminkit/core/./node_modules/moment/locale/gu.js","webpack://@adminkit/core/./node_modules/moment/locale/he.js","webpack://@adminkit/core/./node_modules/moment/locale/hi.js","webpack://@adminkit/core/./node_modules/moment/locale/hr.js","webpack://@adminkit/core/./node_modules/moment/locale/hu.js","webpack://@adminkit/core/./node_modules/moment/locale/hy-am.js","webpack://@adminkit/core/./node_modules/moment/locale/id.js","webpack://@adminkit/core/./node_modules/moment/locale/is.js","webpack://@adminkit/core/./node_modules/moment/locale/it-ch.js","webpack://@adminkit/core/./node_modules/moment/locale/it.js","webpack://@adminkit/core/./node_modules/moment/locale/ja.js","webpack://@adminkit/core/./node_modules/moment/locale/jv.js","webpack://@adminkit/core/./node_modules/moment/locale/ka.js","webpack://@adminkit/core/./node_modules/moment/locale/kk.js","webpack://@adminkit/core/./node_modules/moment/locale/km.js","webpack://@adminkit/core/./node_modules/moment/locale/kn.js","webpack://@adminkit/core/./node_modules/moment/locale/ko.js","webpack://@adminkit/core/./node_modules/moment/locale/ku.js","webpack://@adminkit/core/./node_modules/moment/locale/ky.js","webpack://@adminkit/core/./node_modules/moment/locale/lb.js","webpack://@adminkit/core/./node_modules/moment/locale/lo.js","webpack://@adminkit/core/./node_modules/moment/locale/lt.js","webpack://@adminkit/core/./node_modules/moment/locale/lv.js","webpack://@adminkit/core/./node_modules/moment/locale/me.js","webpack://@adminkit/core/./node_modules/moment/locale/mi.js","webpack://@adminkit/core/./node_modules/moment/locale/mk.js","webpack://@adminkit/core/./node_modules/moment/locale/ml.js","webpack://@adminkit/core/./node_modules/moment/locale/mn.js","webpack://@adminkit/core/./node_modules/moment/locale/mr.js","webpack://@adminkit/core/./node_modules/moment/locale/ms-my.js","webpack://@adminkit/core/./node_modules/moment/locale/ms.js","webpack://@adminkit/core/./node_modules/moment/locale/mt.js","webpack://@adminkit/core/./node_modules/moment/locale/my.js","webpack://@adminkit/core/./node_modules/moment/locale/nb.js","webpack://@adminkit/core/./node_modules/moment/locale/ne.js","webpack://@adminkit/core/./node_modules/moment/locale/nl-be.js","webpack://@adminkit/core/./node_modules/moment/locale/nl.js","webpack://@adminkit/core/./node_modules/moment/locale/nn.js","webpack://@adminkit/core/./node_modules/moment/locale/oc-lnc.js","webpack://@adminkit/core/./node_modules/moment/locale/pa-in.js","webpack://@adminkit/core/./node_modules/moment/locale/pl.js","webpack://@adminkit/core/./node_modules/moment/locale/pt-br.js","webpack://@adminkit/core/./node_modules/moment/locale/pt.js","webpack://@adminkit/core/./node_modules/moment/locale/ro.js","webpack://@adminkit/core/./node_modules/moment/locale/ru.js","webpack://@adminkit/core/./node_modules/moment/locale/sd.js","webpack://@adminkit/core/./node_modules/moment/locale/se.js","webpack://@adminkit/core/./node_modules/moment/locale/si.js","webpack://@adminkit/core/./node_modules/moment/locale/sk.js","webpack://@adminkit/core/./node_modules/moment/locale/sl.js","webpack://@adminkit/core/./node_modules/moment/locale/sq.js","webpack://@adminkit/core/./node_modules/moment/locale/sr-cyrl.js","webpack://@adminkit/core/./node_modules/moment/locale/sr.js","webpack://@adminkit/core/./node_modules/moment/locale/ss.js","webpack://@adminkit/core/./node_modules/moment/locale/sv.js","webpack://@adminkit/core/./node_modules/moment/locale/sw.js","webpack://@adminkit/core/./node_modules/moment/locale/ta.js","webpack://@adminkit/core/./node_modules/moment/locale/te.js","webpack://@adminkit/core/./node_modules/moment/locale/tet.js","webpack://@adminkit/core/./node_modules/moment/locale/tg.js","webpack://@adminkit/core/./node_modules/moment/locale/th.js","webpack://@adminkit/core/./node_modules/moment/locale/tk.js","webpack://@adminkit/core/./node_modules/moment/locale/tl-ph.js","webpack://@adminkit/core/./node_modules/moment/locale/tlh.js","webpack://@adminkit/core/./node_modules/moment/locale/tr.js","webpack://@adminkit/core/./node_modules/moment/locale/tzl.js","webpack://@adminkit/core/./node_modules/moment/locale/tzm-latn.js","webpack://@adminkit/core/./node_modules/moment/locale/tzm.js","webpack://@adminkit/core/./node_modules/moment/locale/ug-cn.js","webpack://@adminkit/core/./node_modules/moment/locale/uk.js","webpack://@adminkit/core/./node_modules/moment/locale/ur.js","webpack://@adminkit/core/./node_modules/moment/locale/uz-latn.js","webpack://@adminkit/core/./node_modules/moment/locale/uz.js","webpack://@adminkit/core/./node_modules/moment/locale/vi.js","webpack://@adminkit/core/./node_modules/moment/locale/x-pseudo.js","webpack://@adminkit/core/./node_modules/moment/locale/yo.js","webpack://@adminkit/core/./node_modules/moment/locale/zh-cn.js","webpack://@adminkit/core/./node_modules/moment/locale/zh-hk.js","webpack://@adminkit/core/./node_modules/moment/locale/zh-mo.js","webpack://@adminkit/core/./node_modules/moment/locale/zh-tw.js","webpack://@adminkit/core/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://@adminkit/core/./node_modules/moment/moment.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/a-callable.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/a-possible-prototype.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/add-to-unscopables.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/advance-string-index.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/an-instance.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/an-object.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-for-each.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-includes.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-iteration.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-method-has-species-support.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-method-is-strict.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-reduce.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-species-constructor.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/array-species-create.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/classof-raw.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/classof.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/collection-weak.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/collection.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/copy-constructor-properties.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/correct-prototype-getter.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/create-iterator-constructor.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/create-non-enumerable-property.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/create-property-descriptor.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/define-iterator.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/descriptors.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/document-create-element.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/dom-iterables.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/dom-token-list-prototype.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/engine-is-node.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/engine-user-agent.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/engine-v8-version.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/enum-bug-keys.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/export.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/fails.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/freezing.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/function-bind-context.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/function-name.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/get-built-in.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/get-iterator-method.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/get-iterator.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/get-method.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/get-substitution.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/global.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/has.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/hidden-keys.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/html.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/ie8-dom-define.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/indexed-object.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/inherit-if-required.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/inspect-source.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/internal-metadata.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/internal-state.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-array-iterator-method.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-array.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-callable.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-constructor.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-forced.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-object.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-pure.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/is-symbol.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/iterate.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/iterator-close.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/iterators-core.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/iterators.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/native-symbol.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/native-weak-map.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/number-parse-int.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-assign.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-create.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-define-properties.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-define-property.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-get-own-property-names.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-get-prototype-of.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-keys-internal.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-keys.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-property-is-enumerable.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-set-prototype-of.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/object-to-string.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/ordinary-to-primitive.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/own-keys.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/redefine-all.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/redefine.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/regexp-exec-abstract.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/regexp-exec.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/regexp-flags.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/require-object-coercible.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/set-global.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/set-to-string-tag.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/shared-key.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/shared-store.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/shared.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/string-multibyte.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/string-trim.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-absolute-index.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-indexed-object.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-integer.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-length.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-object.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-primitive.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-property-key.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-string-tag-support.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/to-string.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/try-to-string.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/uid.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/use-symbol-as-uid.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/well-known-symbol.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/internals/whitespaces.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.array.filter.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.array.iterator.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.array.reduce.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.function.name.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.object.assign.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.object.to-string.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.parse-int.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.regexp.exec.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.string.iterator.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.string.match.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.string.replace.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/es.weak-map.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://@adminkit/core/./node_modules/simplebar/node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://@adminkit/core/webpack/bootstrap","webpack://@adminkit/core/webpack/runtime/compat get default export","webpack://@adminkit/core/webpack/runtime/define property getters","webpack://@adminkit/core/webpack/runtime/global","webpack://@adminkit/core/webpack/runtime/hasOwnProperty shorthand","webpack://@adminkit/core/webpack/runtime/make namespace object","webpack://@adminkit/core/webpack/runtime/node module decorator","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/enums.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getWindow.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/applyStyles.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getBasePlacement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/math.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/userAgent.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/contains.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/isTableElement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getParentNode.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/within.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/mergePaddingObject.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getFreshSideObject.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/expandToHashMap.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/arrow.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getVariation.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/computeStyles.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/eventListeners.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getOppositePlacement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/rectToClientRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/computeOffsets.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/detectOverflow.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/flip.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/hide.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/offset.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/popperOffsets.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/modifiers/preventOverflow.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/getAltAxis.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/orderModifiers.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/createPopper.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/debounce.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/utils/mergeByName.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/popper.js","webpack://@adminkit/core/./node_modules/@popperjs/core/lib/popper-lite.js","webpack://@adminkit/core/./node_modules/bootstrap/dist/js/bootstrap.esm.js","webpack://@adminkit/core/./src/js/modules/bootstrap.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/resizeObservers.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/deliverResizeLoopError.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/freeze.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/queueMicroTask.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObserverSize.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/element.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/global.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/calculateBoxSize.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObserverEntry.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/calculateDepthForNode.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/broadcastActiveObservations.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/gatherActiveObservationsAtDepth.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/process.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/hasActiveObservations.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/algorithms/hasSkippedObservations.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/scheduler.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObservation.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObserverDetail.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObserverController.js","webpack://@adminkit/core/./node_modules/@juggle/resize-observer/lib/ResizeObserver.js","webpack://@adminkit/core/./node_modules/simplebar/dist/simplebar.esm.js","webpack://@adminkit/core/./src/js/modules/sidebar.js","webpack://@adminkit/core/./src/js/modules/feather.js","webpack://@adminkit/core/./src/js/modules/chartjs.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/types/options.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/l10n/default.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/utils/index.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/utils/dom.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/utils/formatting.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/utils/dates.js","webpack://@adminkit/core/./node_modules/flatpickr/dist/esm/index.js","webpack://@adminkit/core/./src/js/modules/flatpickr.js","addon-tree-output/@embroider/macros/es-compat2.js","addon-tree-output/@embroider/macros/runtime.js","addon-tree-output/ember-cli-app-version/initializer-factory.js","addon-tree-output/ember-cli-app-version/utils/regexp.js","addon-tree-output/ember-cli-deprecation-workflow/index.js","addon-tree-output/ember-fetch/errors.js","addon-tree-output/ember-fetch/types.js","addon-tree-output/ember-fetch/utils/determine-body-promise.js","addon-tree-output/ember-fetch/utils/mung-options-for-fetch.js","addon-tree-output/ember-fetch/utils/serialize-query-params.js","addon-tree-output/ember-tracked-storage-polyfill/index.js","vendor/ember-cli/vendor-suffix.js"],"sourcesContent":["window.EmberENV = (function(EmberENV, extra) {\n  for (var key in extra) {\n    EmberENV[key] = extra[key];\n  }\n\n  return EmberENV;\n})(window.EmberENV || {}, {\"EXTEND_PROTOTYPES\":false,\"FEATURES\":{},\"_APPLICATION_TEMPLATE_WRAPPER\":false,\"_DEFAULT_ASYNC_OBSERVERS\":true,\"_JQUERY_INTEGRATION\":false,\"_NO_IMPLICIT_ROUTE_MODEL\":true,\"_TEMPLATE_ONLY_GLIMMER_COMPONENTS\":true});\n\n// used to determine if the application should be booted immediately when `app-name.js` is evaluated\n// when `runningTests` the `app-name.js` file will **not** import the applications `app/app.js` and\n// call `Application.create(...)` on it. Additionally, applications can opt-out of this behavior by\n// setting `autoRun` to `false` in their `ember-cli-build.js`\n//\n// The default `test-support.js` file will set this to `true` when it runs (so that Application.create()\n// is not ran when running tests).\nvar runningTests = false;\n\n\n","var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id] || registry[mod.id + '/index'];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","function _classPrivateFieldInitSpec(e,t,a){_checkPrivateRedeclaration(e,t),t.set(e,a);}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError(\"Cannot initialize the same private elements twice on an object\");}function _classPrivateFieldGet(s,a){return s.get(_assertClassBrand(s,a));}function _classPrivateFieldSet(s,a,r){return s.set(_assertClassBrand(s,a),r),r;}function _assertClassBrand(e,t,n){if(\"function\"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError(\"Private element is not present on this object\");}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _toPropertyKey(t){var i=_toPrimitive(t,\"string\");return\"symbol\"==typeof i?i:i+\"\";}function _toPrimitive(t,r){if(\"object\"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||\"default\");if(\"object\"!=typeof i)return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return(\"string\"===r?String:Number)(t);}/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011 Tilde Inc. and contributors\n *            Portions Copyright 2006-2011 Strobe Inc.\n *            Portions Copyright 2008-2011 Apple Inc. All rights reserved.\n * @license   Licensed under MIT license\n *            See https://raw.github.com/emberjs/ember.js/master/LICENSE\n * @version   6.4.0\n *//* eslint-disable no-var *//* globals global globalThis self *//* eslint-disable-next-line no-unused-vars */var define,require;(function(){var globalObj=typeof globalThis!=='undefined'?globalThis:typeof self!=='undefined'?self:typeof window!=='undefined'?window:typeof global!=='undefined'?global:null;if(globalObj===null){throw new Error('unable to locate global object');}if(typeof globalObj.define==='function'&&typeof globalObj.require==='function'){define=globalObj.define;require=globalObj.require;return;}var registry=Object.create(null);var seen=Object.create(null);function missingModule(name,referrerName){if(referrerName){throw new Error('Could not find module '+name+' required by: '+referrerName);}else{throw new Error('Could not find module '+name);}}function internalRequire(_name,referrerName){var name=_name;var mod=registry[name];if(!mod){name=name+'/index';mod=registry[name];}var exports=seen[name];if(exports!==undefined){return exports;}exports=seen[name]={};if(!mod){missingModule(_name,referrerName);}var deps=mod.deps;var callback=mod.callback;var reified=new Array(deps.length);for(var i=0;i<deps.length;i++){if(deps[i]==='exports'){reified[i]=exports;}else if(deps[i]==='require'){reified[i]=require;}else{reified[i]=require(deps[i],name);}}var result=callback.apply(this,reified);if(!deps.includes('exports')||result!==undefined){exports=seen[name]=result;}return exports;}require=function(name){return internalRequire(name,null);};define=function(name,deps,callback){registry[name]={deps:deps,callback:callback};};// setup `require` module\nrequire['default']=require;require.has=function registryHas(moduleName){return Boolean(registry[moduleName])||Boolean(registry[moduleName+'/index']);};require._eak_seen=require.entries=registry;})();(function(_LocalValue,_AbstractInput,_Input2,_CoreView,_LinkTo2,_Textarea2,_Route,_RouterService){'use strict';function d(name,mod){Object.defineProperty(mod,'__esModule',{value:true});define(name,[],()=>mod);}// check if window exists and actually is the global\nconst hasDOM=typeof self==='object'&&self!==null&&self.Object===Object&&typeof Window!=='undefined'&&self.constructor===Window&&typeof document==='object'&&document!==null&&self.document===document&&typeof location==='object'&&location!==null&&self.location===location&&typeof history==='object'&&history!==null&&self.history===history&&typeof navigator==='object'&&navigator!==null&&self.navigator===navigator&&typeof navigator.userAgent==='string';const window$1=hasDOM?self:null;const location$1=hasDOM?self.location:null;const history$1=hasDOM?self.history:null;const userAgent=hasDOM?self.navigator.userAgent:'Lynx (textmode)';const isChrome=hasDOM?typeof chrome==='object'&&!(typeof opera==='object'):false;const isFirefox=hasDOM?/Firefox|FxiOS/.test(userAgent):false;const emberinternalsBrowserEnvironmentIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,hasDOM,history:history$1,isChrome,isFirefox,location:location$1,userAgent,window:window$1},Symbol.toStringTag,{value:'Module'});/**\n            Strongly hint runtimes to intern the provided string.\n\n            When do I need to use this function?\n\n            For the most part, never. Pre-mature optimization is bad, and often the\n            runtime does exactly what you need it to, and more often the trade-off isn't\n            worth it.\n\n            Why?\n\n            Runtimes store strings in at least 2 different representations:\n            Ropes and Symbols (interned strings). The Rope provides a memory efficient\n            data-structure for strings created from concatenation or some other string\n            manipulation like splitting.\n\n            Unfortunately checking equality of different ropes can be quite costly as\n            runtimes must resort to clever string comparison algorithms. These\n            algorithms typically cost in proportion to the length of the string.\n            Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n            unique by their string content, equality checks can be done by pointer\n            comparison.\n\n            How do I know if my string is a rope or symbol?\n\n            Typically (warning general sweeping statement, but truthy in runtimes at\n            present) static strings created as part of the JS source are interned.\n            Strings often used for comparisons can be interned at runtime if some\n            criteria are met.  One of these criteria can be the size of the entire rope.\n            For example, in chrome 38 a rope longer then 12 characters will not\n            intern, nor will segments of that rope.\n\n            Some numbers: http://jsperf.com/eval-vs-keys/8\n\n            Known Trick™\n\n            @private\n            @return {String} interned version of the provided string\n          */function intern$1(str){let obj=Object.create(null);obj[str]=1;for(let key in obj){if(key===str){return key;}}return str;}/**\n            Returns whether Type(value) is Object.\n\n            Useful for checking whether a value is a valid WeakMap key.\n\n            Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n                  https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n\n            @private\n            @function isObject\n          */function isObject(value){return value!==null&&(typeof value==='object'||typeof value==='function');}/**\n           @module @ember/object\n          *//**\n           @private\n           @return {Number} the uuid\n           */let _uuid$1=0;/**\n           Generates a universally unique identifier. This method\n           is used internally by Ember for assisting with\n           the generation of GUID's and other unique identifiers.\n\n           @public\n           @return {Number} [description]\n           */function uuid$1(){return++_uuid$1;}/**\n           Prefix used for guids through out Ember.\n           @private\n           @property GUID_PREFIX\n           @for Ember\n           @type String\n           @final\n           */const GUID_PREFIX='ember';// Used for guid generation...\nconst OBJECT_GUIDS=new WeakMap();const NON_OBJECT_GUIDS=new Map();/**\n            A unique key used to assign guids and other private metadata to objects.\n            If you inspect an object in your browser debugger you will often see these.\n            They can be safely ignored.\n\n            On browsers that support it, these properties are added with enumeration\n            disabled so they won't show up when you iterate over your properties.\n\n            @private\n            @property GUID_KEY\n            @for Ember\n            @type String\n            @final\n          */const GUID_KEY=intern$1(`__ember${Date.now()}`);/**\n            Generates a new guid, optionally saving the guid to the object that you\n            pass in. You will rarely need to use this method. Instead you should\n            call `guidFor(obj)`, which return an existing guid if available.\n\n            @private\n            @method generateGuid\n            @static\n            @for @ember/object/internals\n            @param {Object} [obj] Object the guid will be used for. If passed in, the guid will\n              be saved on the object and reused whenever you pass the same object\n              again.\n\n              If no object is passed, just generate a new guid.\n            @param {String} [prefix] Prefix to place in front of the guid. Useful when you want to\n              separate the guid into separate namespaces.\n            @return {String} the guid\n          */// eslint-disable-next-line @typescript-eslint/no-wrapper-object-types\nfunction generateGuid(obj,prefix=GUID_PREFIX){let guid=prefix+uuid$1().toString();if(isObject(obj)){OBJECT_GUIDS.set(obj,guid);}return guid;}/**\n            Returns a unique id for the object. If the object does not yet have a guid,\n            one will be assigned to it. You can call this on any object,\n            `EmberObject`-based or not.\n\n            You can also use this method on DOM Element objects.\n\n            @public\n            @static\n            @method guidFor\n            @for @ember/object/internals\n            @param {Object} obj any object, string, number, Element, or primitive\n            @return {String} the unique guid for this instance.\n          */function guidFor(value){let guid;if(isObject(value)){guid=OBJECT_GUIDS.get(value);if(guid===undefined){guid=`${GUID_PREFIX}${uuid$1()}`;OBJECT_GUIDS.set(value,guid);}}else{guid=NON_OBJECT_GUIDS.get(value);if(guid===undefined){let type=typeof value;if(type==='string'){guid=`st${uuid$1()}`;}else if(type==='number'){guid=`nu${uuid$1()}`;}else if(type==='symbol'){guid=`sy${uuid$1()}`;}else{guid=`(${value})`;}NON_OBJECT_GUIDS.set(value,guid);}}return guid;}const GENERATED_SYMBOLS=[];function isInternalSymbol(possibleSymbol){return GENERATED_SYMBOLS.indexOf(possibleSymbol)!==-1;}// Some legacy symbols still need to be enumerable for a variety of reasons.\n// This code exists for that, and as a fallback in IE11. In general, prefer\n// `symbol` below when creating a new symbol.\nfunction enumerableSymbol(debugName){// TODO: Investigate using platform symbols, but we do not\n// want to require non-enumerability for this API, which\n// would introduce a large cost.\nlet id=GUID_KEY+Math.floor(Math.random()*Date.now()).toString();let symbol=intern$1(`__${debugName}${id}__`);{GENERATED_SYMBOLS.push(symbol);}return symbol;}const symbol=Symbol;// the delete is meant to hint at runtimes that this object should remain in\n// dictionary mode. This is clearly a runtime specific hack, but currently it\n// appears worthwhile in some usecases. Please note, these deletes do increase\n// the cost of creation dramatically over a plain Object.create. And as this\n// only makes sense for long-lived dictionaries that aren't instantiated often.\nfunction makeDictionary(parent){let dict=Object.create(parent);dict['_dict']=null;delete dict['_dict'];return dict;}let getDebugName$1;{let getFunctionName=fn=>{let functionName=fn.name;if(functionName===undefined){let match=Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);functionName=match&&match[1]||'';}return functionName.replace(/^bound /,'');};let getObjectName=obj=>{let name;let className;if(obj.constructor&&obj.constructor!==Object){className=getFunctionName(obj.constructor);}if('toString'in obj&&obj.toString!==Object.prototype.toString&&obj.toString!==Function.prototype.toString){name=obj.toString();}// If the class has a decent looking name, and the `toString` is one of the\n// default Ember toStrings, replace the constructor portion of the toString\n// with the class name. We check the length of the class name to prevent doing\n// this when the value is minified.\nif(name&&name.match(/<.*:ember\\d+>/)&&className&&className[0]!=='_'&&className.length>2&&className!=='Class'){return name.replace(/<.*:/,`<${className}:`);}return name||className;};let getPrimitiveName=value=>{return String(value);};getDebugName$1=value=>{if(typeof value==='function'){return getFunctionName(value)||`(unknown function)`;}else if(typeof value==='object'&&value!==null){return getObjectName(value)||`(unknown object)`;}else{return getPrimitiveName(value);}};}const getDebugName$2=getDebugName$1;const HAS_SUPER_PATTERN=/\\.(_super|call\\(this|apply\\(this)/;const fnToString=Function.prototype.toString;const checkHasSuper=(()=>{let sourceAvailable=fnToString.call(function(){return this;}).indexOf('return this')>-1;if(sourceAvailable){return function checkHasSuper(func){return HAS_SUPER_PATTERN.test(fnToString.call(func));};}return function checkHasSuper(){return true;};})();const HAS_SUPER_MAP=new WeakMap();const ROOT=Object.freeze(function(){});HAS_SUPER_MAP.set(ROOT,false);function hasSuper(func){let hasSuper=HAS_SUPER_MAP.get(func);if(hasSuper===undefined){hasSuper=checkHasSuper(func);HAS_SUPER_MAP.set(func,hasSuper);}return hasSuper;}class ObserverListenerMeta{constructor(){_defineProperty(this,\"listeners\",undefined);_defineProperty(this,\"observers\",undefined);}}const OBSERVERS_LISTENERS_MAP=new WeakMap();function createObserverListenerMetaFor(fn){let meta=OBSERVERS_LISTENERS_MAP.get(fn);if(meta===undefined){meta=new ObserverListenerMeta();OBSERVERS_LISTENERS_MAP.set(fn,meta);}return meta;}function observerListenerMetaFor(fn){return OBSERVERS_LISTENERS_MAP.get(fn);}function setObservers(func,observers){let meta=createObserverListenerMetaFor(func);meta.observers=observers;}function setListeners(func,listeners){let meta=createObserverListenerMetaFor(func);meta.listeners=listeners;}const IS_WRAPPED_FUNCTION_SET=new WeakSet();/**\n            Wraps the passed function so that `this._super` will point to the superFunc\n            when the function is invoked. This is the primitive we use to implement\n            calls to super.\n\n            @private\n            @method wrap\n            @for Ember\n            @param {Function} func The function to call\n            @param {Function} superFunc The super function.\n            @return {Function} wrapped function.\n          */function wrap(func,superFunc){if(!hasSuper(func)){return func;}// ensure an unwrapped super that calls _super is wrapped with a terminal _super\nif(!IS_WRAPPED_FUNCTION_SET.has(superFunc)&&hasSuper(superFunc)){return _wrap(func,_wrap(superFunc,ROOT));}return _wrap(func,superFunc);}function _wrap(func,superFunc){function superWrapper(){let orig=this._super;this._super=superFunc;let ret=func.apply(this,arguments);this._super=orig;return ret;}IS_WRAPPED_FUNCTION_SET.add(superWrapper);let meta=OBSERVERS_LISTENERS_MAP.get(func);if(meta!==undefined){OBSERVERS_LISTENERS_MAP.set(superWrapper,meta);}return superWrapper;}function lookupDescriptor(obj,keyName){let current=obj;do{let descriptor=Object.getOwnPropertyDescriptor(current,keyName);if(descriptor!==undefined){return descriptor;}current=Object.getPrototypeOf(current);}while(current!==null);return null;}/**\n            Checks to see if the `methodName` exists on the `obj`.\n\n            ```javascript\n            let foo = { bar: function() { return 'bar'; }, baz: null };\n\n            Ember.canInvoke(foo, 'bar'); // true\n            Ember.canInvoke(foo, 'baz'); // false\n            Ember.canInvoke(foo, 'bat'); // false\n            ```\n\n            @method canInvoke\n            @for Ember\n            @param {Object} obj The object to check for the method\n            @param {String} methodName The method name to check for\n            @return {Boolean}\n            @private\n          */function canInvoke(obj,methodName){return obj!=null&&typeof obj[methodName]==='function';}/**\n            @module @ember/utils\n          */const NAMES=new WeakMap();function setName(obj,name){if(isObject(obj))NAMES.set(obj,name);}function getName(obj){return NAMES.get(obj);}const objectToString$1=Object.prototype.toString;function isNone$1(obj){return obj===null||obj===undefined;}/*\n           A `toString` util function that supports objects without a `toString`\n           method, e.g. an object created with `Object.create(null)`.\n          */function toString$1(obj){if(typeof obj==='string'){return obj;}if(null===obj)return'null';if(undefined===obj)return'undefined';if(Array.isArray(obj)){// Reimplement Array.prototype.join according to spec (22.1.3.13)\n// Changing ToString(element) with this safe version of ToString.\nlet r='';for(let k=0;k<obj.length;k++){if(k>0){r+=',';}if(!isNone$1(obj[k])){r+=toString$1(obj[k]);}}return r;}if(typeof obj.toString==='function'){return obj.toString();}return objectToString$1.call(obj);}const PROXIES=new WeakSet();function isProxy(value){if(isObject(value)){return PROXIES.has(value);}return false;}function setProxy(object){if(isObject(object)){PROXIES.add(object);}}class Cache{constructor(limit,func,store=new Map()){_defineProperty(this,\"size\",0);_defineProperty(this,\"misses\",0);_defineProperty(this,\"hits\",0);this.limit=limit;this.func=func;this.store=store;}get(key){if(this.store.has(key)){this.hits++;// SAFETY: we know the value is present because `.has(key)` was `true`.\nreturn this.store.get(key);}else{this.misses++;return this.set(key,this.func(key));}}set(key,value){if(this.limit>this.size){this.size++;this.store.set(key,value);}return value;}purge(){this.store.clear();this.size=0;this.hits=0;this.misses=0;}}/* globals window, self */// from lodash to catch fake globals\nfunction checkGlobal(value){return value&&value.Object===Object?value:undefined;}// element ids can ruin global miss checks\nfunction checkElementIdShadowing(value){return value&&value.nodeType===undefined?value:undefined;}// export real global\nconst global$1=checkGlobal(checkElementIdShadowing(typeof global==='object'&&global))||checkGlobal(typeof self==='object'&&self)||checkGlobal(typeof window==='object'&&window)||typeof mainContext!=='undefined'&&mainContext||// set before strict mode in Ember loader/wrapper\nnew Function('return this')();// eval outside of strict mode\n// legacy imports/exports/lookup stuff (should we keep this??)\nconst context$1=function(global,Ember){return Ember===undefined?{imports:global,exports:global,lookup:global}:{// import jQuery\nimports:Ember.imports||global,// export Ember\nexports:Ember.exports||global,// search for Namespaces\nlookup:Ember.lookup||global};}(global$1,global$1.Ember);function getLookup(){return context$1.lookup;}function setLookup(value){context$1.lookup=value;}/**\n            The hash of environment variables used to control various configuration\n            settings. To specify your own or override default settings, add the\n            desired properties to a global hash named `EmberENV` (or `ENV` for\n            backwards compatibility with earlier versions of Ember). The `EmberENV`\n            hash must be created before loading Ember.\n\n            @class EmberENV\n            @type Object\n            @public\n          */const ENV={ENABLE_OPTIONAL_FEATURES:false,/**\n              Determines whether Ember should add to `Array`\n              native object prototypes, a few extra methods in order to provide a more\n              friendly API.\n               The behavior from setting this option to `true` was deprecated in Ember 5.10.\n               @property EXTEND_PROTOTYPES\n              @type Boolean\n              @default true\n              @for EmberENV\n              @private\n              @deprecated in v5.10\n            */EXTEND_PROTOTYPES:{Array:false},/**\n              The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n              a full stack trace during deprecation warnings.\n               @property LOG_STACKTRACE_ON_DEPRECATION\n              @type Boolean\n              @default true\n              @for EmberENV\n              @public\n            */LOG_STACKTRACE_ON_DEPRECATION:true,/**\n              The `LOG_VERSION` property, when true, tells Ember to log versions of all\n              dependent libraries in use.\n               @property LOG_VERSION\n              @type Boolean\n              @default true\n              @for EmberENV\n              @public\n            */LOG_VERSION:true,RAISE_ON_DEPRECATION:false,STRUCTURED_PROFILE:false,/**\n              Whether to perform extra bookkeeping needed to make the `captureRenderTree`\n              API work.\n               This has to be set before the ember JavaScript code is evaluated. This is\n              usually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\n              before the \"vendor\" `<script>` tag in `index.html`.\n               Setting the flag after Ember is already loaded will not work correctly. It\n              may appear to work somewhat, but fundamentally broken.\n               This is not intended to be set directly. Ember Inspector will enable the\n              flag on behalf of the user as needed.\n               This flag is always on in development mode.\n               The flag is off by default in production mode, due to the cost associated\n              with the the bookkeeping work.\n               The expected flow is that Ember Inspector will ask the user to refresh the\n              page after enabling the feature. It could also offer a feature where the\n              user add some domains to the \"always on\" list. In either case, Ember\n              Inspector will inject the code on the page to set the flag if needed.\n               @property _DEBUG_RENDER_TREE\n              @for EmberENV\n              @type Boolean\n              @default false\n              @private\n            */_DEBUG_RENDER_TREE:true/* DEBUG */,/**\n             Whether to force all deprecations to be enabled. This is used internally by\n             Ember to enable deprecations in tests. It is not intended to be set in\n             projects.\n              @property _ALL_DEPRECATIONS_ENABLED\n             @for EmberENV\n             @type Boolean\n             @default false\n             @private\n             */_ALL_DEPRECATIONS_ENABLED:false,/**\n             Override the version of ember-source used to determine when deprecations \"break\".\n             This is used internally by Ember to test with deprecated features \"removed\".\n             This is never intended to be set by projects.\n             @property _OVERRIDE_DEPRECATION_VERSION\n             @for EmberENV\n             @type string | null\n             @default null\n             @private\n             */_OVERRIDE_DEPRECATION_VERSION:null,/**\n              Whether the app defaults to using async observers.\n               This is not intended to be set directly, as the implementation may change in\n              the future. Use `@ember/optional-features` instead.\n               @property _DEFAULT_ASYNC_OBSERVERS\n              @for EmberENV\n              @type Boolean\n              @default false\n              @private\n            */_DEFAULT_ASYNC_OBSERVERS:false,/**\n              Controls the maximum number of scheduled rerenders without \"settling\". In general,\n              applications should not need to modify this environment variable, but please\n              open an issue so that we can determine if a better default value is needed.\n               @property _RERENDER_LOOP_LIMIT\n              @for EmberENV\n              @type number\n              @default 1000\n              @private\n             */_RERENDER_LOOP_LIMIT:1000,EMBER_LOAD_HOOKS:{},FEATURES:{}};(EmberENV=>{if(typeof EmberENV!=='object'||EmberENV===null)return;for(let flag in EmberENV){if(!Object.prototype.hasOwnProperty.call(EmberENV,flag)||flag==='EXTEND_PROTOTYPES'||flag==='EMBER_LOAD_HOOKS')continue;let defaultValue=ENV[flag];if(defaultValue===true){ENV[flag]=EmberENV[flag]!==false;}else if(defaultValue===false){ENV[flag]=EmberENV[flag]===true;}else{ENV[flag]=EmberENV[flag];}}// TODO: Remove in Ember 6.5. This setting code for EXTEND_PROTOTYPES\n// should stay for at least an LTS cycle so that users get the explicit\n// deprecation exception when it breaks in >= 6.0.0.\nlet{EXTEND_PROTOTYPES}=EmberENV;if(EXTEND_PROTOTYPES!==undefined){if(typeof EXTEND_PROTOTYPES==='object'&&EXTEND_PROTOTYPES!==null){ENV.EXTEND_PROTOTYPES.Array=EXTEND_PROTOTYPES.Array!==false;}else{ENV.EXTEND_PROTOTYPES.Array=EXTEND_PROTOTYPES!==false;}}// TODO this does not seem to be used by anything,\n//      can we remove it? do we need to deprecate it?\nlet{EMBER_LOAD_HOOKS}=EmberENV;if(typeof EMBER_LOAD_HOOKS==='object'&&EMBER_LOAD_HOOKS!==null){for(let hookName in EMBER_LOAD_HOOKS){if(!Object.prototype.hasOwnProperty.call(EMBER_LOAD_HOOKS,hookName))continue;let hooks=EMBER_LOAD_HOOKS[hookName];if(Array.isArray(hooks)){ENV.EMBER_LOAD_HOOKS[hookName]=hooks.filter(hook=>typeof hook==='function');}}}let{FEATURES}=EmberENV;if(typeof FEATURES==='object'&&FEATURES!==null){for(let feature in FEATURES){if(!Object.prototype.hasOwnProperty.call(FEATURES,feature))continue;ENV.FEATURES[feature]=FEATURES[feature]===true;}}{ENV._DEBUG_RENDER_TREE=true;}})(global$1.EmberENV);function getENV(){return ENV;}const emberinternalsEnvironmentIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ENV,context:context$1,getENV,getLookup,global:global$1,setLookup},Symbol.toStringTag,{value:'Module'});let assert$1=()=>{};function setAssert(implementation){assert$1=implementation;return implementation;}{/**\n              Verify that a certain expectation is met, or throw a exception otherwise.\n               This is useful for communicating assumptions in the code to other human\n              readers as well as catching bugs that accidentally violates these\n              expectations.\n               Assertions are removed from production builds, so they can be freely added\n              for documentation and debugging purposes without worries of incuring any\n              performance penalty. However, because of that, they should not be used for\n              checks that could reasonably fail during normal usage. Furthermore, care\n              should be taken to avoid accidentally relying on side-effects produced from\n              evaluating the condition itself, since the code will not run in production.\n               ```javascript\n              import { assert } from '@ember/debug';\n               // Test for truthiness\n              assert('Must pass a string', typeof str === 'string');\n               // Fail unconditionally\n              assert('This code path should never be run');\n              ```\n               @method assert\n              @static\n              @for @ember/debug\n              @param {String} description Describes the expectation. This will become the\n                text of the Error thrown if the assertion fails.\n              @param {any} condition Must be truthy for the assertion to pass. If\n                falsy, an exception will be thrown.\n              @public\n              @since 1.0.0\n            */function assert(desc,test){if(!test){throw new Error(`Assertion Failed: ${desc}`);}}setAssert(assert);}let HANDLERS={};let registerHandler$2=function registerHandler(_type,_callback){};let invoke=()=>{};{registerHandler$2=function registerHandler(type,callback){let nextHandler=HANDLERS[type]||(()=>{});HANDLERS[type]=(message,options)=>{callback(message,options,nextHandler);};};invoke=function invoke(type,message,test,options){if(test){return;}let handlerForType=HANDLERS[type];if(handlerForType){handlerForType(message,options);}};}const emberDebugLibHandlers=/*#__PURE__*/Object.defineProperty({__proto__:null,HANDLERS,get invoke(){return invoke;},get registerHandler(){return registerHandler$2;}},Symbol.toStringTag,{value:'Module'});// This is a \"global\", but instead of declaring it as `declare global`, which\n// will expose it to all other modules, declare it *locally* (and don't export\n// it) so that it has the desired \"private global\" semantics -- however odd that\n// particular notion is.\n/**\n           @module @ember/debug\n           @public\n          *//**\n            Allows for runtime registration of handler functions that override the default deprecation behavior.\n            Deprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\n            The following example demonstrates its usage by registering a handler that throws an error if the\n            message contains the word \"should\", otherwise defers to the default handler.\n\n            ```javascript\n            import { registerDeprecationHandler } from '@ember/debug';\n\n            registerDeprecationHandler((message, options, next) => {\n              if (message.indexOf('should') !== -1) {\n                throw new Error(`Deprecation message with should: ${message}`);\n              } else {\n                // defer to whatever handler was registered before this one\n                next(message, options);\n              }\n            });\n            ```\n\n            The handler function takes the following arguments:\n\n            <ul>\n              <li> <code>message</code> - The message received from the deprecation call.</li>\n              <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n                <ul>\n                  <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n                  <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n                </ul>\n              <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n            </ul>\n\n            @public\n            @static\n            @method registerDeprecationHandler\n            @for @ember/debug\n            @param handler {Function} A function to handle deprecation calls.\n            @since 2.1.0\n          */let registerHandler$1=()=>{};let missingOptionsDeprecation$1;let missingOptionsIdDeprecation$1;let missingOptionDeprecation=()=>'';let deprecate$2=()=>{};{registerHandler$1=function registerHandler(handler){registerHandler$2('deprecate',handler);};let formatMessage=function formatMessage(_message,options){let message=_message;if(options?.id){message=message+` [deprecation id: ${options.id}]`;}if(options?.until){message=message+` This will be removed in ${options.for} ${options.until}.`;}if(options?.url){message+=` See ${options.url} for more details.`;}return message;};registerHandler$1(function logDeprecationToConsole(message,options){let updatedMessage=formatMessage(message,options);console.warn(`DEPRECATION: ${updatedMessage}`);// eslint-disable-line no-console\n});let captureErrorForStack;if(new Error().stack){captureErrorForStack=()=>new Error();}else{captureErrorForStack=()=>{try{__fail__.fail();return;}catch(e){return e;}};}registerHandler$1(function logDeprecationStackTrace(message,options,next){if(ENV.LOG_STACKTRACE_ON_DEPRECATION){let stackStr='';let error=captureErrorForStack();let stack;if(error instanceof Error){if(error.stack){if(error['arguments']){// Chrome\nstack=error.stack.replace(/^\\s+at\\s+/gm,'').replace(/^([^(]+?)([\\n$])/gm,'{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^)]+)\\)/gm,'{anonymous}($1)').split('\\n');stack.shift();}else{// Firefox\nstack=error.stack.replace(/(?:\\n@:0)?\\s+$/m,'').replace(/^\\(/gm,'{anonymous}(').split('\\n');}stackStr=`\\n    ${stack.slice(2).join('\\n    ')}`;}}let updatedMessage=formatMessage(message,options);console.warn(`DEPRECATION: ${updatedMessage}${stackStr}`);// eslint-disable-line no-console\n}else{next(message,options);}});registerHandler$1(function raiseOnDeprecation(message,options,next){if(ENV.RAISE_ON_DEPRECATION){let updatedMessage=formatMessage(message);throw new Error(updatedMessage);}else{next(message,options);}});missingOptionsDeprecation$1='When calling `deprecate` you '+'must provide an `options` hash as the third parameter.  '+'`options` should include `id` and `until` properties.';missingOptionsIdDeprecation$1='When calling `deprecate` you must provide `id` in options.';missingOptionDeprecation=(id,missingOption)=>{return`When calling \\`deprecate\\` you must provide \\`${missingOption}\\` in options. Missing options.${missingOption} in \"${id}\" deprecation`;};/**\n             @module @ember/debug\n             @public\n             *//**\n              Display a deprecation warning with the provided message and a stack trace\n              (Chrome and Firefox only).\n               Ember itself leverages [Semantic Versioning](https://semver.org) to aid\n              projects in keeping up with changes to the framework. Before any\n              functionality or API is removed, it first flows linearly through a\n              deprecation staging process. The staging process currently contains two\n              stages: available and enabled.\n               Deprecations are initially released into the 'available' stage.\n              Deprecations will stay in this stage until the replacement API has been\n              marked as a recommended practice via the RFC process and the addon\n              ecosystem has generally adopted the change.\n               Once a deprecation meets the above criteria, it will move into the\n              'enabled' stage where it will remain until the functionality or API is\n              eventually removed.\n               For application and addon developers, \"available\" deprecations are not\n              urgent and \"enabled\" deprecations require action.\n               * In a production build, this method is defined as an empty function (NOP).\n              Uses of this method in Ember itself are stripped from the ember.prod.js build.\n               ```javascript\n              import { deprecate } from '@ember/debug';\n               deprecate(\n                'Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.',\n                false,\n                {\n                  id: 'ember-polyfills.deprecate-assign',\n                  until: '5.0.0',\n                  url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign',\n                  for: 'ember-source',\n                  since: {\n                    available: '4.0.0',\n                    enabled: '4.0.0',\n                  },\n                }\n              );\n              ```\n               @method deprecate\n              @for @ember/debug\n              @param {String} message A description of the deprecation.\n              @param {Boolean} test A boolean. If falsy, the deprecation will be displayed.\n              @param {Object} options\n              @param {String} options.id A unique id for this deprecation. The id can be\n                used by Ember debugging tools to change the behavior (raise, log or silence)\n                for that specific deprecation. The id should be namespaced by dots, e.g.\n                \"view.helper.select\".\n              @param {string} options.until The version of Ember when this deprecation\n                warning will be removed.\n              @param {String} options.for A namespace for the deprecation, usually the package name\n              @param {Object} options.since Describes when the deprecation became available and enabled.\n              @param {String} [options.url] An optional url to the transition guide on the\n                    emberjs.com website.\n              @static\n              @public\n              @since 1.0.0\n            */deprecate$2=function deprecate(message,test,options){assert$1(missingOptionsDeprecation$1,Boolean(options&&(options.id||options.until)));assert$1(missingOptionsIdDeprecation$1,Boolean(options.id));assert$1(missingOptionDeprecation(options.id,'until'),Boolean(options.until));assert$1(missingOptionDeprecation(options.id,'for'),Boolean(options.for));assert$1(missingOptionDeprecation(options.id,'since'),Boolean(options.since));invoke('deprecate',message,test,options);};}const defaultDeprecate=deprecate$2;const emberDebugLibDeprecate=/*#__PURE__*/Object.defineProperty({__proto__:null,default:defaultDeprecate,get missingOptionDeprecation(){return missingOptionDeprecation;},get missingOptionsDeprecation(){return missingOptionsDeprecation$1;},get missingOptionsIdDeprecation(){return missingOptionsIdDeprecation$1;},get registerHandler(){return registerHandler$1;}},Symbol.toStringTag,{value:'Module'});let testing=false;function isTesting(){return testing;}function setTesting(value){testing=Boolean(value);}const emberDebugLibTesting=/*#__PURE__*/Object.defineProperty({__proto__:null,isTesting,setTesting},Symbol.toStringTag,{value:'Module'});let registerHandler=()=>{};let warn$1=()=>{};let missingOptionsDeprecation;let missingOptionsIdDeprecation;/**\n          @module @ember/debug\n          */{/**\n              Allows for runtime registration of handler functions that override the default warning behavior.\n              Warnings are invoked by calls made to [@ember/debug/warn](/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\n              The following example demonstrates its usage by registering a handler that does nothing overriding Ember's\n              default warning behavior.\n               ```javascript\n              import { registerWarnHandler } from '@ember/debug';\n               // next is not called, so no warnings get the default behavior\n              registerWarnHandler(() => {});\n              ```\n               The handler function takes the following arguments:\n               <ul>\n                <li> <code>message</code> - The message received from the warn call. </li>\n                <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n                  <ul>\n                    <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n                  </ul>\n                <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n              </ul>\n               @public\n              @static\n              @method registerWarnHandler\n              @for @ember/debug\n              @param handler {Function} A function to handle warnings.\n              @since 2.1.0\n            */registerHandler=function registerHandler(handler){registerHandler$2('warn',handler);};registerHandler(function logWarning(message){/* eslint-disable no-console */console.warn(`WARNING: ${message}`);/* eslint-enable no-console */});missingOptionsDeprecation='When calling `warn` you '+'must provide an `options` hash as the third parameter.  '+'`options` should include an `id` property.';missingOptionsIdDeprecation='When calling `warn` you must provide `id` in options.';/**\n              Display a warning with the provided message.\n               * In a production build, this method is defined as an empty function (NOP).\n              Uses of this method in Ember itself are stripped from the ember.prod.js build.\n               ```javascript\n              import { warn } from '@ember/debug';\n              import tomsterCount from './tomster-counter'; // a module in my project\n               // Log a warning if we have more than 3 tomsters\n              warn('Too many tomsters!', tomsterCount <= 3, {\n                id: 'ember-debug.too-many-tomsters'\n              });\n              ```\n               @method warn\n              @for @ember/debug\n              @static\n              @param {String} message A warning to display.\n              @param {Boolean|Object} test An optional boolean. If falsy, the warning\n                will be displayed. If `test` is an object, the `test` parameter can\n                be used as the `options` parameter and the warning is displayed.\n              @param {Object} options\n              @param {String} options.id The `id` can be used by Ember debugging tools\n                to change the behavior (raise, log, or silence) for that specific warning.\n                The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"\n              @public\n              @since 1.0.0\n            */warn$1=function warn(message,test,options){if(arguments.length===2&&typeof test==='object'){options=test;test=false;}assert$1(missingOptionsDeprecation,Boolean(options));assert$1(missingOptionsIdDeprecation,Boolean(options&&options.id));// SAFETY: we have explicitly assigned `false` if the user invoked the\n// arity-2 version of the overload, so we know `test` is always either\n// `undefined` or a `boolean` for type-safe callers.\ninvoke('warn',message,test,options);};}const _warn=warn$1;const emberDebugLibWarn=/*#__PURE__*/Object.defineProperty({__proto__:null,default:_warn,get missingOptionsDeprecation(){return missingOptionsDeprecation;},get missingOptionsIdDeprecation(){return missingOptionsIdDeprecation;},get registerHandler(){return registerHandler;}},Symbol.toStringTag,{value:'Module'});const{toString:objectToString}=Object.prototype;const{toString:functionToString}=Function.prototype;const{isArray:isArray$5}=Array;const{keys:objectKeys}=Object;const{stringify}=JSON;const LIST_LIMIT=100;const DEPTH_LIMIT=4;const SAFE_KEY=/^[\\w$]+$/;/**\n           @module @ember/debug\n          *//**\n            Convenience method to inspect an object. This method will attempt to\n            convert the object into a useful string description.\n\n            It is a pretty simple implementation. If you want something more robust,\n            use something like JSDump: https://github.com/NV/jsDump\n\n            @method inspect\n            @static\n            @param {Object} obj The object you want to inspect.\n            @return {String} A description of the object\n            @since 1.4.0\n            @private\n          */function inspect(obj){// detect Node util.inspect call inspect(depth: number, opts: object)\nif(typeof obj==='number'&&arguments.length===2){return this;}return inspectValue(obj,0);}function inspectValue(value,depth,seen){let valueIsArray=false;switch(typeof value){case'undefined':return'undefined';case'object':if(value===null)return'null';if(isArray$5(value)){valueIsArray=true;break;}// is toString Object.prototype.toString or undefined then traverse\nif(value.toString===objectToString||value.toString===undefined){break;}// custom toString\nreturn value.toString();case'function':return value.toString===functionToString?value.name?`[Function:${value.name}]`:`[Function]`:value.toString();case'string':return stringify(value);case'symbol':case'boolean':case'number':default:return value.toString();}if(seen===undefined){seen=new WeakSet();}else{if(seen.has(value))return`[Circular]`;}seen.add(value);return valueIsArray?inspectArray(value,depth+1,seen):inspectObject(value,depth+1,seen);}function inspectKey(key){return SAFE_KEY.test(key)?key:stringify(key);}function inspectObject(obj,depth,seen){if(depth>DEPTH_LIMIT){return'[Object]';}let s='{';let keys=objectKeys(obj);for(let i=0;i<keys.length;i++){s+=i===0?' ':', ';if(i>=LIST_LIMIT){s+=`... ${keys.length-LIST_LIMIT} more keys`;break;}let key=keys[i];assert$1('has key',key);// Looping over array\ns+=`${inspectKey(String(key))}: ${inspectValue(obj[key],depth,seen)}`;}s+=' }';return s;}function inspectArray(arr,depth,seen){if(depth>DEPTH_LIMIT){return'[Array]';}let s='[';for(let i=0;i<arr.length;i++){s+=i===0?' ':', ';if(i>=LIST_LIMIT){s+=`... ${arr.length-LIST_LIMIT} more items`;break;}s+=inspectValue(arr[i],depth,seen);}s+=' ]';return s;}const emberDebugLibInspect=/*#__PURE__*/Object.defineProperty({__proto__:null,default:inspect},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/debug\n          *//**\n            Ember Inspector calls this function to capture the current render tree.\n\n            In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\n            before loading Ember.\n\n            @private\n            @static\n            @method captureRenderTree\n            @for @ember/debug\n            @param app {ApplicationInstance} An `ApplicationInstance`.\n            @since 3.14.0\n          */function captureRenderTree(app){let domRenderer=app.lookup('renderer:-dom');if(!domRenderer){throw new Error(`BUG: owner is missing renderer`);}// SAFETY: Ideally we'd assert here but that causes awkward circular requires since this is also in @ember/debug.\n// This is only for debug stuff so not very risky.\nlet renderer=domRenderer;return renderer.debugRenderTree.capture();}const emberDebugLibCaptureRenderTree=/*#__PURE__*/Object.defineProperty({__proto__:null,default:captureRenderTree},Symbol.toStringTag,{value:'Module'});// These are the default production build versions:\nconst noop$3=()=>{};// SAFETY: these casts are just straight-up lies, but the point is that they do\n// not do anything in production builds.\nlet info=noop$3;let warn=noop$3;let debug$1=noop$3;let currentDeprecate;let debugSeal=noop$3;let debugFreeze=noop$3;let runInDebug=noop$3;let setDebugFunction=noop$3;let getDebugFunction=noop$3;let deprecateFunc=function(){return arguments[arguments.length-1];};function deprecate$1(...args){return(currentDeprecate??defaultDeprecate)(...args);}{setDebugFunction=function(type,callback){switch(type){case'assert':return setAssert(callback);case'info':return info=callback;case'warn':return warn=callback;case'debug':return debug$1=callback;case'deprecate':if(callback===deprecate$1){currentDeprecate=undefined;return deprecate$1;}else{return currentDeprecate=callback;}case'debugSeal':return debugSeal=callback;case'debugFreeze':return debugFreeze=callback;case'runInDebug':return runInDebug=callback;case'deprecateFunc':return deprecateFunc=callback;}};getDebugFunction=function(type){switch(type){case'assert':return assert$1;case'info':return info;case'warn':return warn;case'debug':return debug$1;case'deprecate':return deprecate$1;case'debugSeal':return debugSeal;case'debugFreeze':return debugFreeze;case'runInDebug':return runInDebug;case'deprecateFunc':return deprecateFunc;}};}/**\n          @module @ember/debug\n          */{/**\n              Display a debug notice.\n               Calls to this function are not invoked in production builds.\n               ```javascript\n              import { debug } from '@ember/debug';\n               debug('I\\'m a debug notice!');\n              ```\n               @method debug\n              @for @ember/debug\n              @static\n              @param {String} message A debug message to display.\n              @public\n            */setDebugFunction('debug',function debug(message){console.debug(`DEBUG: ${message}`);/* eslint-disable-line no-console */});/**\n              Display an info notice.\n               Calls to this function are removed from production builds, so they can be\n              freely added for documentation and debugging purposes without worries of\n              incuring any performance penalty.\n               @method info\n              @private\n            */setDebugFunction('info',function info(){console.info(...arguments);/* eslint-disable-line no-console */});/**\n             @module @ember/debug\n             @public\n            *//**\n              Alias an old, deprecated method with its new counterpart.\n               Display a deprecation warning with the provided message and a stack trace\n              (Chrome and Firefox only) when the assigned method is called.\n               Calls to this function are removed from production builds, so they can be\n              freely added for documentation and debugging purposes without worries of\n              incuring any performance penalty.\n               ```javascript\n              import { deprecateFunc } from '@ember/debug';\n               Ember.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n              ```\n               @method deprecateFunc\n              @static\n              @for @ember/debug\n              @param {String} message A description of the deprecation.\n              @param {Object} [options] The options object for `deprecate`.\n              @param {Function} func The new function called to replace its deprecated counterpart.\n              @return {Function} A new function that wraps the original function with a deprecation warning\n              @private\n            */setDebugFunction('deprecateFunc',function deprecateFunc(...args){if(args.length===3){let[message,options,func]=args;return function(...args){deprecate$1(message,false,options);return func.apply(this,args);};}else{let[message,func]=args;return function(){deprecate$1(message);return func.apply(this,arguments);};}});/**\n             @module @ember/debug\n             @public\n            *//**\n              Run a function meant for debugging.\n               Calls to this function are removed from production builds, so they can be\n              freely added for documentation and debugging purposes without worries of\n              incuring any performance penalty.\n               ```javascript\n              import Component from '@ember/component';\n              import { runInDebug } from '@ember/debug';\n               runInDebug(() => {\n                Component.reopen({\n                  didInsertElement() {\n                    console.log(\"I'm happy\");\n                  }\n                });\n              });\n              ```\n               @method runInDebug\n              @for @ember/debug\n              @static\n              @param {Function} func The function to be executed.\n              @since 1.5.0\n              @public\n            */setDebugFunction('runInDebug',function runInDebug(func){func();});setDebugFunction('debugSeal',function debugSeal(obj){Object.seal(obj);});setDebugFunction('debugFreeze',function debugFreeze(obj){// re-freezing an already frozen object introduces a significant\n// performance penalty on Chrome (tested through 59).\n//\n// See: https://bugs.chromium.org/p/v8/issues/detail?id=6450\nif(!Object.isFrozen(obj)){Object.freeze(obj);}});setDebugFunction('warn',_warn);}let _warnIfUsingStrippedFeatureFlags;if(!isTesting()){if(typeof window!=='undefined'&&(isFirefox||isChrome)&&window.addEventListener){window.addEventListener('load',()=>{if(document.documentElement&&document.documentElement.dataset&&!document.documentElement.dataset['emberExtension']){let downloadURL;if(isChrome){downloadURL='https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';}else if(isFirefox){downloadURL='https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';}debug$1(`For more advanced debugging, install the Ember Inspector from ${downloadURL}`);}},false);}}const emberDebugIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_warnIfUsingStrippedFeatureFlags,get assert(){return assert$1;},captureRenderTree,get debug(){return debug$1;},get debugFreeze(){return debugFreeze;},get debugSeal(){return debugSeal;},deprecate:deprecate$1,get deprecateFunc(){return deprecateFunc;},get getDebugFunction(){return getDebugFunction;},get info(){return info;},inspect,isTesting,get registerDeprecationHandler(){return registerHandler$1;},get registerWarnHandler(){return registerHandler;},get runInDebug(){return runInDebug;},get setDebugFunction(){return setDebugFunction;},setTesting,get warn(){return warn;}},Symbol.toStringTag,{value:'Module'});let setupMandatorySetter;let teardownMandatorySetter;let setWithMandatorySetter;function isElementKey(key){return typeof key==='number'?isPositiveInt(key):isStringInt(key);}function isStringInt(str){let num=parseInt(str,10);return isPositiveInt(num)&&str===String(num);}function isPositiveInt(num){return num>=0&&num%1===0;}{let SEEN_TAGS=new WeakSet();let MANDATORY_SETTERS=new WeakMap();let propertyIsEnumerable=function(obj,key){return Object.prototype.propertyIsEnumerable.call(obj,key);};setupMandatorySetter=function(tag,obj,keyName){if(SEEN_TAGS.has(tag)){return;}SEEN_TAGS.add(tag);if(Array.isArray(obj)&&isElementKey(keyName)){return;}let desc=lookupDescriptor(obj,keyName)||{};if(desc.get||desc.set){// if it has a getter or setter, we can't install the mandatory setter.\n// native setters are allowed, we have to assume that they will resolve\n// to tracked properties.\nreturn;}if(desc&&(!desc.configurable||!desc.writable)){// if it isn't writable anyways, so we shouldn't provide the setter.\n// if it isn't configurable, we can't overwrite it anyways.\nreturn;}let setters=MANDATORY_SETTERS.get(obj);if(setters===undefined){setters={};MANDATORY_SETTERS.set(obj,setters);}desc.hadOwnProperty=Object.hasOwnProperty.call(obj,keyName);setters[keyName]=desc;Object.defineProperty(obj,keyName,{configurable:true,enumerable:propertyIsEnumerable(obj,keyName),get(){if(desc.get){return desc.get.call(this);}else{return desc.value;}},set(value){assert$1(`You attempted to update ${this}.${String(keyName)} to \"${String(value)}\", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as \\`@tracked\\`, or use \\`@ember/object#set\\` to do this.`);}});};teardownMandatorySetter=function(obj,keyName){let setters=MANDATORY_SETTERS.get(obj);if(setters!==undefined&&setters[keyName]!==undefined){Object.defineProperty(obj,keyName,setters[keyName]);delete setters[keyName];}};setWithMandatorySetter=function(obj,keyName,value){let setters=MANDATORY_SETTERS.get(obj);if(setters!==undefined&&setters[keyName]!==undefined){let setter=setters[keyName];if(setter.set){setter.set.call(obj,value);}else{setter.value=value;// If the object didn't have own property before, it would have changed\n// the enumerability after setting the value the first time.\nif(!setter.hadOwnProperty){let desc=lookupDescriptor(obj,keyName);desc.enumerable=true;Object.defineProperty(obj,keyName,desc);}}}else{obj[keyName]=value;}};}/*\n           This package will be eagerly parsed and should have no dependencies on external\n           packages.\n\n           It is intended to be used to share utility methods that will be needed\n           by every Ember application (and is **not** a dumping ground of useful utilities).\n\n           Utility methods that are needed in < 80% of cases should be placed\n           elsewhere (so they can be lazily evaluated / parsed).\n          */const emberinternalsUtilsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Cache,GUID_KEY,ROOT,canInvoke,checkHasSuper,dictionary:makeDictionary,enumerableSymbol,generateGuid,getDebugName:getDebugName$2,getName,guidFor,intern:intern$1,isInternalSymbol,isObject,isProxy,lookupDescriptor,observerListenerMetaFor,setListeners,setName,setObservers,setProxy,get setWithMandatorySetter(){return setWithMandatorySetter;},get setupMandatorySetter(){return setupMandatorySetter;},symbol,get teardownMandatorySetter(){return teardownMandatorySetter;},toString:toString$1,uuid:uuid$1,wrap},Symbol.toStringTag,{value:'Module'});// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment\nconst OWNER$1=Symbol(\"OWNER\");/**\n            Framework objects in a Glimmer application may receive an owner object.\n            Glimmer is unopinionated about this owner, but will forward it through its\n            internal resolution system, and through its managers if it is provided.\n          */function getOwner$3(object){return object[OWNER$1];}/**\n            `setOwner` set's an object's owner\n          */function setOwner$2(object,owner){object[OWNER$1]=owner;}const glimmerOwner=/*#__PURE__*/Object.defineProperty({__proto__:null,OWNER:OWNER$1,getOwner:getOwner$3,setOwner:setOwner$2},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/owner\n           *//**\n            The name for a factory consists of a namespace and the name of a specific type\n            within that namespace, like `'service:session'`.\n\n            **Note:** `FullName` is *not* a class, just a contract for strings used in the\n            DI system. It is currently documented as a class only due to limits in our\n            documentation infrastructure.\n\n            @for @ember/owner\n            @class FullName\n            @public\n           *//**\n            A type registry for the DI system, which other participants in the DI system\n            can register themselves into with declaration merging. The contract for this\n            type is that its keys are the `Type` from a `FullName`, and each value for a\n            `Type` is another registry whose keys are the `Name` from a `FullName`. The\n            mechanic for providing a registry is [declaration merging][handbook].\n\n            [handbook]: https://www.typescriptlang.org/docs/handbook/declaration-merging.html\n\n            For example, Ember's `@ember/service` module includes this set of definitions:\n\n            ```ts\n            export default class Service extends EmberObject {}\n\n            // For concrete singleton classes to be merged into.\n            interface Registry extends Record<string, Service> {}\n\n            declare module '@ember/owner' {\n              service: Registry;\n            }\n            ```\n\n            Declarations of services can then include the registry:\n\n            ```ts\n            import Service from '@ember/service';\n\n            export default class Session extends Service {\n              login(username: string, password: string) {\n                // ...\n              }\n            }\n\n            declare module '@ember/service' {\n              interface Registry {\n                session: Session;\n              }\n            }\n            ```\n\n            Then users of the `Owner` API will be able to do things like this with strong\n            type safety guarantees:\n\n            ```ts\n            getOwner(this)?.lookup('service:session').login(\"hello\", \"1234abcd\");\n            ```\n\n            @for @ember/owner\n            @private\n           */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n// Convenience utility for pulling a specific factory manager off `DIRegistry`\n// if one exists, or falling back to the default definition otherwise.\n/**\n            @private\n           *//**\n            The common interface for the ability to `register()` an item, shared by the\n            `Owner` and `RegistryProxy` interfaces.\n\n            @for @ember/owner\n            @class BasicRegistry\n            @private\n           *//**\n            The common interface for the ability to `lookup()` or get the `factoryFor` an\n            item, shared by the `Owner` and `ContainerProxy` interfaces.\n\n            @for @ember/owner\n            @class BasicContainer\n            @private\n           *//**\n            Framework objects in an Ember application (components, services, routes,\n            etc.) are created via a factory and dependency injection system. Each of\n            these objects is the responsibility of an \"owner\", which handles its\n            instantiation and manages its lifetime.\n\n            An `Owner` is not a class you construct; it is one the framework constructs\n            for you. The normal way to get access to the relevant `Owner` is using the\n            `getOwner` function.\n\n            @for @ember/owner\n            @uses BasicRegistry\n            @uses BasicContainer\n            @class Owner\n            @since 4.10.0\n            @public\n           *//**\n           * Interface representing the options for registering an item as a factory.\n           *\n           * @for @ember/owner\n           * @class RegisterOptions\n           * @public\n           *//**\n            Registered factories are instantiated by having create called on them.\n            Additionally they are singletons by default, so each time they are looked up\n            they return the same instance.\n\n            However, that behavior can be modified with the `instantiate` and `singleton`\n            options to the `Owner.register()` method.\n\n            @for @ember/owner\n            @class Factory\n            @since 4.10.0\n            @public\n           *//**\n            The interface representing a manager which can be used for introspection of\n            the factory's class or for the creation of factory instances with initial\n            properties. The manager is an object with the following properties:\n\n            - `class` - The registered or resolved class.\n            - `create` - A function that will create an instance of the class with any\n            dependencies injected.\n\n            **Note:** `FactoryManager` is *not* user-constructible; the only legal way\n            to get a `FactoryManager` is via `Owner.factoryFor`.\n\n            @for @ember/owner\n            @class FactoryManager\n            @extends Factory\n            @public\n           *//**\n           * A record mapping all known items of a given type: if the item is known it\n           * will be `true`; otherwise it will be `false` or `undefined`.\n           *//**\n            A `Resolver` is the mechanism responsible for looking up code in your\n            application and converting its naming conventions into the actual classes,\n            functions, and templates that Ember needs to resolve its dependencies, for\n            example, what template to render for a given route. It is a system that helps\n            the app resolve the lookup of JavaScript modules agnostic of what kind of\n            module system is used, which can be AMD, CommonJS or just plain globals. It\n            is used to lookup routes, models, components, templates, or anything that is\n            used in your Ember app.\n\n            This interface is not a concrete class; instead, it represents the contract a\n            custom resolver must implement. Most apps never need to think about this: in\n            the default blueprint, this is supplied by the `ember-resolver` package.\n\n            @for @ember/owner\n            @class Resolver\n            @since 4.10.0\n            @public\n           *//**\n            The internal representation of a `Factory`, for the extra detail available for\n            private use internally than we expose to consumers.\n\n            @for @ember/owner\n            @class InternalFactory\n            @private\n           *//**\n            @private\n            @method isFactory\n            @param {Object} obj\n            @return {Boolean}\n            @static\n           */function isFactory(obj){return obj!=null&&typeof obj.create==='function';}// NOTE: For docs, see the definition at the public API site in `@ember/owner`;\n// we document it there for the sake of public API docs and for TS consumption,\n// while having the richer `InternalOwner` representation for Ember itself.\nfunction getOwner$2(object){// SAFETY: this is a convention. From the glimmer perspective, the owner really can be any object.\nreturn getOwner$3(object);}/**\n            `setOwner` forces a new owner on a given object instance. This is primarily\n            useful in some testing cases.\n\n            @method setOwner\n            @static\n            @for @ember/owner\n            @param {Object} object An object instance.\n            @param {Owner} object The new owner object of the object instance.\n            @since 2.3.0\n            @public\n          */function setOwner$1(object,owner){setOwner$2(object,owner);}// Defines the type for the ContainerProxyMixin. When we rationalize our Owner\n// *not* to work via mixins, we will be able to delete this entirely, in favor\n// of just using the Owner class itself.\n/**\n           * The interface for a container proxy, which is itself a private API used\n           * by the private `ContainerProxyMixin` as part of the base definition of\n           * `EngineInstance`.\n           *\n           * @class ContainerProxy\n           * @for @ember/owner\n           * @private\n           * @extends BasicContainer\n           *//**\n           * @class RegistryProxy\n           * @extends BasicRegistry\n           * @private\n           * @for @ember/owner\n           *//**\n           * @internal This is the same basic interface which is implemented (via the\n           *   mixins) by `EngineInstance` and therefore `ApplicationInstance`, which are\n           *   the normal interfaces to an `Owner` for end user applications now. However,\n           *   going forward, we expect to progressively deprecate and remove the \"extra\"\n           *   APIs which are not exposed on `Owner` itself.\n           */const emberinternalsOwnerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,getOwner:getOwner$2,isFactory,setOwner:setOwner$1},Symbol.toStringTag,{value:'Module'});// node exposes this. I'm not pulling in the whole @types/node because it\n// doesn't work with isolatedModules\nlet leakTracking;let containers;{// requires v8\n// chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n// node --allow-natives-syntax --expose-gc\ntry{if(typeof gc==='function'){leakTracking=(()=>{// avoid syntax errors when --allow-natives-syntax not present\nlet GetWeakSetValues=new Function('weakSet','return %GetWeakSetValues(weakSet, 0)');containers=new WeakSet();return{hasContainers(){gc();return GetWeakSetValues(containers).length>0;},reset(){let values=GetWeakSetValues(containers);for(let i=0;i<values.length;i++){containers.delete(values[i]);}}};})();}}catch(_e){// ignore\n}}/**\n           A container used to instantiate and cache objects.\n\n           Every `Container` must be associated with a `Registry`, which is referenced\n           to determine the factory and options that should be used to instantiate\n           objects.\n\n           The public API for `Container` is still in flux and should not be considered\n           stable.\n\n           @private\n           @class Container\n           */class Container{constructor(registry,options={}){_defineProperty(this,\"owner\",void 0);_defineProperty(this,\"registry\",void 0);_defineProperty(this,\"cache\",void 0);_defineProperty(this,\"factoryManagerCache\",void 0);_defineProperty(this,\"validationCache\",void 0);_defineProperty(this,\"isDestroyed\",void 0);_defineProperty(this,\"isDestroying\",void 0);this.registry=registry;this.owner=options.owner||null;this.cache=makeDictionary(options.cache||null);this.factoryManagerCache=makeDictionary(options.factoryManagerCache||null);this.isDestroyed=false;this.isDestroying=false;{this.validationCache=makeDictionary(options.validationCache||null);if(containers!==undefined){containers.add(this);}}}/**\n             @private\n             @property registry\n             @type Registry\n             @since 1.11.0\n             *//**\n             @private\n             @property cache\n             @type InheritingDict\n             *//**\n             @private\n             @property validationCache\n             @type InheritingDict\n             *//**\n             Given a fullName return a corresponding instance.\n              The default behavior is for lookup to return a singleton instance.\n             The singleton is scoped to the container, allowing multiple containers\n             to all have their own locally scoped singletons.\n              ```javascript\n             let registry = new Registry();\n             let container = registry.container();\n              registry.register('api:twitter', Twitter);\n              let twitter = container.lookup('api:twitter');\n              twitter instanceof Twitter; // => true\n              // by default the container will return singletons\n             let twitter2 = container.lookup('api:twitter');\n             twitter2 instanceof Twitter; // => true\n              twitter === twitter2; //=> true\n             ```\n              If singletons are not wanted, an optional flag can be provided at lookup.\n              ```javascript\n             let registry = new Registry();\n             let container = registry.container();\n              registry.register('api:twitter', Twitter);\n              let twitter = container.lookup('api:twitter', { singleton: false });\n             let twitter2 = container.lookup('api:twitter', { singleton: false });\n              twitter === twitter2; //=> false\n             ```\n              @private\n             @method lookup\n             @param {String} fullName\n             @param {RegisterOptions} [options]\n             @return {any}\n             */lookup(fullName,options){if(this.isDestroyed){throw new Error(`Cannot call \\`.lookup('${fullName}')\\` after the owner has been destroyed`);}!this.registry.isValidFullName(fullName)&&assert$1('fullName must be a proper full name',this.registry.isValidFullName(fullName));return lookup(this,this.registry.normalize(fullName),options);}/**\n             A depth first traversal, destroying the container, its descendant containers and all\n             their managed objects.\n              @private\n             @method destroy\n             */destroy(){this.isDestroying=true;destroyDestroyables(this);}finalizeDestroy(){resetCache(this);this.isDestroyed=true;}/**\n             Clear either the entire cache or just the cache for a particular key.\n              @private\n             @method reset\n             @param {String} fullName optional key to reset; if missing, resets everything\n            */reset(fullName){if(this.isDestroyed)return;if(fullName===undefined){destroyDestroyables(this);resetCache(this);}else{resetMember(this,this.registry.normalize(fullName));}}/**\n             Returns an object that can be used to provide an owner to a\n             manually created instance.\n              @private\n             @method ownerInjection\n             @returns { Object }\n            */ownerInjection(){let injection={};setOwner$1(injection,this.owner);return injection;}/**\n             Given a fullName, return the corresponding factory. The consumer of the factory\n             is responsible for the destruction of any factory instances, as there is no\n             way for the container to ensure instances are destroyed when it itself is\n             destroyed.\n              @public\n             @method factoryFor\n             @param {String} fullName\n             @return {any}\n             */factoryFor(fullName){if(this.isDestroyed){throw new Error(`Cannot call \\`.factoryFor('${fullName}')\\` after the owner has been destroyed`);}let normalizedName=this.registry.normalize(fullName);!this.registry.isValidFullName(normalizedName)&&assert$1('fullName must be a proper full name',this.registry.isValidFullName(normalizedName));return factoryFor(this,normalizedName,fullName);}}_defineProperty(Container,\"_leakTracking\",void 0);{Container._leakTracking=leakTracking;}/*\n           * Wrap a factory manager in a proxy which will not permit properties to be\n           * set on the manager.\n           */function wrapManagerInDeprecationProxy(manager){let validator={set(_obj,prop){throw new Error(`You attempted to set \"${String(prop)}\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.`);}};// Note:\n// We have to proxy access to the manager here so that private property\n// access doesn't cause the above errors to occur.\nlet m=manager;let proxiedManager={class:m.class,create(props){return m.create(props);}};return new Proxy(proxiedManager,validator);}function isSingleton(container,fullName){return container.registry.getOption(fullName,'singleton')!==false;}function isInstantiatable(container,fullName){return container.registry.getOption(fullName,'instantiate')!==false;}function lookup(container,fullName,options={}){let normalizedName=fullName;if(options.singleton===true||options.singleton===undefined&&isSingleton(container,fullName)){let cached=container.cache[normalizedName];if(cached!==undefined){return cached;}}return instantiateFactory(container,normalizedName,fullName,options);}function factoryFor(container,normalizedName,fullName){let cached=container.factoryManagerCache[normalizedName];if(cached!==undefined){return cached;}let factory=container.registry.resolve(normalizedName);if(factory===undefined){return;}if(factory&&typeof factory._onLookup==='function'){factory._onLookup(fullName);}let manager=new InternalFactoryManager(container,factory,fullName,normalizedName);{manager=wrapManagerInDeprecationProxy(manager);}container.factoryManagerCache[normalizedName]=manager;return manager;}function isSingletonClass(container,fullName,{instantiate,singleton}){return singleton!==false&&!instantiate&&isSingleton(container,fullName)&&!isInstantiatable(container,fullName);}function isSingletonInstance(container,fullName,{instantiate,singleton}){return singleton!==false&&instantiate!==false&&(singleton===true||isSingleton(container,fullName))&&isInstantiatable(container,fullName);}function isFactoryClass(container,fullname,{instantiate,singleton}){return instantiate===false&&(singleton===false||!isSingleton(container,fullname))&&!isInstantiatable(container,fullname);}function isFactoryInstance(container,fullName,{instantiate,singleton}){return instantiate!==false&&(singleton===false||!isSingleton(container,fullName))&&isInstantiatable(container,fullName);}function instantiateFactory(container,normalizedName,fullName,options){let factoryManager=factoryFor(container,normalizedName,fullName);if(factoryManager===undefined){return;}// SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n// By default majority of objects fall into this case\nif(isSingletonInstance(container,fullName,options)){let instance=container.cache[normalizedName]=factoryManager.create();// if this lookup happened _during_ destruction (emits a deprecation, but\n// is still possible) ensure that it gets destroyed\nif(container.isDestroying){if(typeof instance.destroy==='function'){instance.destroy();}}return instance;}// SomeClass { singleton: false, instantiate: true }\nif(isFactoryInstance(container,fullName,options)){return factoryManager.create();}// SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\nif(isSingletonClass(container,fullName,options)||isFactoryClass(container,fullName,options)){return factoryManager.class;}throw new Error('Could not create factory');}function destroyDestroyables(container){let cache=container.cache;let keys=Object.keys(cache);for(let key of keys){let value=cache[key];!value&&assert$1('has cached value',value);if(value.destroy){value.destroy();}}}function resetCache(container){container.cache=makeDictionary(null);container.factoryManagerCache=makeDictionary(null);}function resetMember(container,fullName){let member=container.cache[fullName];delete container.factoryManagerCache[fullName];if(member){delete container.cache[fullName];if(member.destroy){member.destroy();}}}const INIT_FACTORY=Symbol('INIT_FACTORY');function getFactoryFor(obj){// SAFETY: since we know `obj` is an `object`, we also know we can safely ask\n// whether a key is set on it.\nreturn obj[INIT_FACTORY];}function setFactoryFor(obj,factory){// SAFETY: since we know `obj` is an `object`, we also know we can safely set\n// a key it safely at this location. (The only way this could be blocked is if\n// someone has gone out of their way to use `Object.defineProperty()` with our\n// internal-only symbol and made it `writable: false`.)\nobj[INIT_FACTORY]=factory;}class InternalFactoryManager{constructor(container,factory,fullName,normalizedName){_defineProperty(this,\"container\",void 0);_defineProperty(this,\"owner\",void 0);_defineProperty(this,\"class\",void 0);_defineProperty(this,\"fullName\",void 0);_defineProperty(this,\"normalizedName\",void 0);_defineProperty(this,\"madeToString\",void 0);_defineProperty(this,\"injections\",void 0);this.container=container;this.owner=container.owner;this.class=factory;this.fullName=fullName;this.normalizedName=normalizedName;this.madeToString=undefined;this.injections=undefined;}toString(){if(this.madeToString===undefined){this.madeToString=this.container.registry.makeToString(this.class,this.fullName);}return this.madeToString;}create(options){let{container}=this;if(container.isDestroyed){throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);}let props=options?{...options}:{};setOwner$1(props,container.owner);setFactoryFor(props,this);{let lazyInjections;let validationCache=this.container.validationCache;// Ensure that all lazy injections are valid at instantiation time\nif(!validationCache[this.fullName]&&this.class&&typeof this.class._lazyInjections==='function'){lazyInjections=this.class._lazyInjections();lazyInjections=this.container.registry.normalizeInjectionsHash(lazyInjections);this.container.registry.validateInjections(lazyInjections);}validationCache[this.fullName]=true;!(typeof this.class.create==='function')&&assert$1(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or an invalid module export.`,typeof this.class.create==='function');}return this.class.create(props);}}const VALID_FULL_NAME_REGEXP=/^[^:]+:[^:]+$/;/**\n           A registry used to store factory and option information keyed\n           by type.\n\n           A `Registry` stores the factory and option information needed by a\n           `Container` to instantiate and cache objects.\n\n           The API for `Registry` is still in flux and should not be considered stable.\n\n           @private\n           @class Registry\n           @since 1.11.0\n          */class Registry{constructor(options={}){_defineProperty(this,\"_failSet\",void 0);_defineProperty(this,\"resolver\",void 0);_defineProperty(this,\"fallback\",void 0);_defineProperty(this,\"registrations\",void 0);_defineProperty(this,\"_normalizeCache\",void 0);_defineProperty(this,\"_options\",void 0);_defineProperty(this,\"_resolveCache\",void 0);_defineProperty(this,\"_typeOptions\",void 0);this.fallback=options.fallback||null;this.resolver=options.resolver||null;this.registrations=makeDictionary(options.registrations||null);this._normalizeCache=makeDictionary(null);this._resolveCache=makeDictionary(null);this._failSet=new Set();this._options=makeDictionary(null);this._typeOptions=makeDictionary(null);}/**\n             A backup registry for resolving registrations when no matches can be found.\n              @private\n             @property fallback\n             @type Registry\n             *//**\n             An object that has a `resolve` method that resolves a name.\n              @private\n             @property resolver\n             @type Resolver\n             *//**\n             @private\n             @property registrations\n             @type InheritingDict\n             *//**\n             @private\n              @property _normalizeCache\n             @type InheritingDict\n             *//**\n             @private\n              @property _resolveCache\n             @type InheritingDict\n             *//**\n             @private\n              @property _options\n             @type InheritingDict\n             *//**\n             @private\n              @property _typeOptions\n             @type InheritingDict\n             *//**\n             Creates a container based on this registry.\n              @private\n             @method container\n             @param {Object} options\n             @return {Container} created container\n             */container(options){return new Container(this,options);}/**\n             Registers a factory for later injection.\n              Example:\n              ```javascript\n             let registry = new Registry();\n              registry.register('model:user', Person, {singleton: false });\n             registry.register('fruit:favorite', Orange);\n             registry.register('communication:main', Email, {singleton: false});\n             ```\n              @private\n             @method register\n             @param {String} fullName\n             @param {Function} factory\n             @param {Object} options\n             */register(fullName,factory,options={}){!this.isValidFullName(fullName)&&assert$1('fullName must be a proper full name',this.isValidFullName(fullName));!(factory!==undefined)&&assert$1(`Attempting to register an unknown factory: '${fullName}'`,factory!==undefined);let normalizedName=this.normalize(fullName);!!this._resolveCache[normalizedName]&&assert$1(`Cannot re-register: '${fullName}', as it has already been resolved.`,!this._resolveCache[normalizedName]);this._failSet.delete(normalizedName);this.registrations[normalizedName]=factory;this._options[normalizedName]=options;}/**\n             Unregister a fullName\n              ```javascript\n             let registry = new Registry();\n             registry.register('model:user', User);\n              registry.resolve('model:user').create() instanceof User //=> true\n              registry.unregister('model:user')\n             registry.resolve('model:user') === undefined //=> true\n             ```\n              @private\n             @method unregister\n             @param {String} fullName\n             */unregister(fullName){!this.isValidFullName(fullName)&&assert$1('fullName must be a proper full name',this.isValidFullName(fullName));let normalizedName=this.normalize(fullName);delete this.registrations[normalizedName];delete this._resolveCache[normalizedName];delete this._options[normalizedName];this._failSet.delete(normalizedName);}/**\n             Given a fullName return the corresponding factory.\n              By default `resolve` will retrieve the factory from\n             the registry.\n              ```javascript\n             let registry = new Registry();\n             registry.register('api:twitter', Twitter);\n              registry.resolve('api:twitter') // => Twitter\n             ```\n              Optionally the registry can be provided with a custom resolver.\n             If provided, `resolve` will first provide the custom resolver\n             the opportunity to resolve the fullName, otherwise it will fallback\n             to the registry.\n              ```javascript\n             let registry = new Registry();\n             registry.resolver = function(fullName) {\n                // lookup via the module system of choice\n              };\n              // the twitter factory is added to the module system\n             registry.resolve('api:twitter') // => Twitter\n             ```\n              @private\n             @method resolve\n             @param {String} fullName\n             @return {Function} fullName's factory\n             */resolve(fullName){let factory=resolve$5(this,this.normalize(fullName));if(factory===undefined&&this.fallback!==null){factory=this.fallback.resolve(fullName);}return factory;}/**\n             A hook that can be used to describe how the resolver will\n             attempt to find the factory.\n              For example, the default Ember `.describe` returns the full\n             class name (including namespace) where Ember's resolver expects\n             to find the `fullName`.\n              @private\n             @method describe\n             @param {String} fullName\n             @return {string} described fullName\n             */describe(fullName){if(this.resolver!==null&&this.resolver.lookupDescription){return this.resolver.lookupDescription(fullName);}else if(this.fallback!==null){return this.fallback.describe(fullName);}else{return fullName;}}/**\n             A hook to enable custom fullName normalization behavior\n              @private\n             @method normalizeFullName\n             @param {String} fullName\n             @return {string} normalized fullName\n             */normalizeFullName(fullName){if(this.resolver!==null&&this.resolver.normalize){return this.resolver.normalize(fullName);}else if(this.fallback!==null){return this.fallback.normalizeFullName(fullName);}else{return fullName;}}/**\n             Normalize a fullName based on the application's conventions\n              @private\n             @method normalize\n             @param {String} fullName\n             @return {string} normalized fullName\n             */normalize(fullName){return this._normalizeCache[fullName]||(this._normalizeCache[fullName]=this.normalizeFullName(fullName));}/**\n             @method makeToString\n              @private\n             @param {any} factory\n             @param {string} fullName\n             @return {function} toString function\n             */makeToString(factory,fullName){if(this.resolver!==null&&this.resolver.makeToString){return this.resolver.makeToString(factory,fullName);}else if(this.fallback!==null){return this.fallback.makeToString(factory,fullName);}else{return typeof factory==='string'?factory:factory.name??'(unknown class)';}}/**\n             Given a fullName check if the container is aware of its factory\n             or singleton instance.\n              @private\n             @method has\n             @param {String} fullName\n             @param {Object} [options]\n             @param {String} [options.source] the fullname of the request source (used for local lookups)\n             @return {Boolean}\n             */has(fullName){if(!this.isValidFullName(fullName)){return false;}return has$1(this,this.normalize(fullName));}/**\n             Allow registering options for all factories of a type.\n              ```javascript\n             let registry = new Registry();\n             let container = registry.container();\n              // if all of type `connection` must not be singletons\n             registry.optionsForType('connection', { singleton: false });\n              registry.register('connection:twitter', TwitterConnection);\n             registry.register('connection:facebook', FacebookConnection);\n              let twitter = container.lookup('connection:twitter');\n             let twitter2 = container.lookup('connection:twitter');\n              twitter === twitter2; // => false\n              let facebook = container.lookup('connection:facebook');\n             let facebook2 = container.lookup('connection:facebook');\n              facebook === facebook2; // => false\n             ```\n              @private\n             @method optionsForType\n             @param {String} type\n             @param {Object} options\n             */optionsForType(type,options){this._typeOptions[type]=options;}getOptionsForType(type){let optionsForType=this._typeOptions[type];if(optionsForType===undefined&&this.fallback!==null){optionsForType=this.fallback.getOptionsForType(type);}return optionsForType;}/**\n             @private\n             @method options\n             @param {String} fullName\n             @param {Object} options\n             */options(fullName,options){let normalizedName=this.normalize(fullName);this._options[normalizedName]=options;}getOptions(fullName){let normalizedName=this.normalize(fullName);let options=this._options[normalizedName];if(options===undefined&&this.fallback!==null){options=this.fallback.getOptions(fullName);}return options;}getOption(fullName,optionName){let options=this._options[fullName];if(options!==undefined&&options[optionName]!==undefined){return options[optionName];}let type=fullName.split(':')[0];!type&&assert$1('has type',type);// split always will have at least one value\noptions=this._typeOptions[type];if(options&&options[optionName]!==undefined){return options[optionName];}else if(this.fallback!==null){return this.fallback.getOption(fullName,optionName);}return undefined;}/**\n             @private\n             @method knownForType\n             @param {String} type the type to iterate over\n            */knownForType(type){let localKnown=makeDictionary(null);let registeredNames=Object.keys(this.registrations);for(let fullName of registeredNames){let itemType=fullName.split(':')[0];if(itemType===type){localKnown[fullName]=true;}}let fallbackKnown,resolverKnown;if(this.fallback!==null){fallbackKnown=this.fallback.knownForType(type);}if(this.resolver!==null&&this.resolver.knownForType){resolverKnown=this.resolver.knownForType(type);}return Object.assign({},fallbackKnown,localKnown,resolverKnown);}isValidFullName(fullName){return VALID_FULL_NAME_REGEXP.test(fullName);}}{const proto=Registry.prototype;proto.normalizeInjectionsHash=function(hash){let injections=[];for(let key in hash){if(Object.prototype.hasOwnProperty.call(hash,key)){let value=hash[key];!value&&assert$1('has value',value);let{specifier}=value;!this.isValidFullName(specifier)&&assert$1(`Expected a proper full name, given '${specifier}'`,this.isValidFullName(specifier));injections.push({property:key,specifier});}}return injections;};proto.validateInjections=function(injections){if(!injections){return;}for(let injection of injections){let{specifier}=injection;!this.has(specifier)&&assert$1(`Attempting to inject an unknown injection: '${specifier}'`,this.has(specifier));}};}function resolve$5(registry,_normalizedName){let normalizedName=_normalizedName;let cached=registry._resolveCache[normalizedName];if(cached!==undefined){return cached;}if(registry._failSet.has(normalizedName)){return;}let resolved;if(registry.resolver){resolved=registry.resolver.resolve(normalizedName);}if(resolved===undefined){resolved=registry.registrations[normalizedName];}if(resolved===undefined){registry._failSet.add(normalizedName);}else{registry._resolveCache[normalizedName]=resolved;}return resolved;}function has$1(registry,fullName){return registry.resolve(fullName)!==undefined;}const privateNames=makeDictionary(null);const privateSuffix=`${Math.random()}${Date.now()}`.replace('.','');function privatize([fullName]){!(arguments.length===1&&fullName)&&assert$1('has a single string argument',arguments.length===1&&fullName);let name=privateNames[fullName];if(name){return name;}let[type,rawName]=fullName.split(':');return privateNames[fullName]=intern$1(`${type}:${rawName}-${privateSuffix}`);}/*\n          Public API for the container is still in flux.\n          The public API, specified on the application namespace should be considered the stable API.\n          // @module container\n            @private\n          */const emberinternalsContainerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Container,INIT_FACTORY,Registry,getFactoryFor,privatize,setFactoryFor},Symbol.toStringTag,{value:'Module'});// this file gets replaced with the real value during the build\nconst Version='6.4.0';const emberVersion=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Version},Symbol.toStringTag,{value:'Module'});const emberVersionIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,VERSION:Version},Symbol.toStringTag,{value:'Module'});/*\n            This module exists to separate the @ember/string methods used\n            internally in ember-source, from those public methods that are\n            now deprecated and to be removed.\n          */const STRING_DASHERIZE_REGEXP=/[ _]/g;const STRING_DASHERIZE_CACHE=new Cache(1000,key=>decamelize(key).replace(STRING_DASHERIZE_REGEXP,'-'));const STRING_CLASSIFY_REGEXP_1=/^(-|_)+(.)?/;const STRING_CLASSIFY_REGEXP_2=/(.)(-|_|\\.|\\s)+(.)?/g;const STRING_CLASSIFY_REGEXP_3=/(^|\\/|\\.)([a-z])/g;const CLASSIFY_CACHE=new Cache(1000,str=>{let replace1=(_match,_separator,chr)=>chr?`_${chr.toUpperCase()}`:'';let replace2=(_match,initialChar,_separator,chr)=>initialChar+(chr?chr.toUpperCase():'');let parts=str.split('/');for(let i=0;i<parts.length;i++){parts[i]=parts[i].replace(STRING_CLASSIFY_REGEXP_1,replace1).replace(STRING_CLASSIFY_REGEXP_2,replace2);}return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3,(match/*, separator, chr */)=>match.toUpperCase());});const STRING_DECAMELIZE_REGEXP=/([a-z\\d])([A-Z])/g;const DECAMELIZE_CACHE=new Cache(1000,str=>str.replace(STRING_DECAMELIZE_REGEXP,'$1_$2').toLowerCase());/**\n           Defines string helper methods used internally in ember-source.\n\n           @class String\n           @private\n           *//**\n           Replaces underscores, spaces, or camelCase with dashes.\n\n           ```javascript\n           import { dasherize } from '@ember/-internals/string';\n\n           dasherize('innerHTML');                // 'inner-html'\n           dasherize('action_name');              // 'action-name'\n           dasherize('css-class-name');           // 'css-class-name'\n           dasherize('my favorite items');        // 'my-favorite-items'\n           dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n           ```\n\n           @method dasherize\n           @param {String} str The string to dasherize.\n           @return {String} the dasherized string.\n           @private\n           */function dasherize(str){return STRING_DASHERIZE_CACHE.get(str);}/**\n           Returns the UpperCamelCase form of a string.\n\n           ```javascript\n           import { classify } from '@ember/string';\n\n           classify('innerHTML');                   // 'InnerHTML'\n           classify('action_name');                 // 'ActionName'\n           classify('css-class-name');              // 'CssClassName'\n           classify('my favorite items');           // 'MyFavoriteItems'\n           classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n           ```\n\n           @method classify\n           @param {String} str the string to classify\n           @return {String} the classified string\n           @private\n           */function classify(str){return CLASSIFY_CACHE.get(str);}/**\n           Converts a camelized string into all lower case separated by underscores.\n\n           ```javascript\n           decamelize('innerHTML');          // 'inner_html'\n           decamelize('action_name');        // 'action_name'\n           decamelize('css-class-name');     // 'css-class-name'\n           decamelize('my favorite items');  // 'my favorite items'\n           ```\n           */function decamelize(str){return DECAMELIZE_CACHE.get(str);}const emberinternalsStringIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,classify,dasherize},Symbol.toStringTag,{value:'Module'});function isEnabled$1(options){return Object.hasOwnProperty.call(options.since,'enabled')||ENV._ALL_DEPRECATIONS_ENABLED;}let numEmberVersion=parseFloat(ENV._OVERRIDE_DEPRECATION_VERSION??Version);/* until must only be a minor version or major version */function emberVersionGte(until,emberVersion=numEmberVersion){let significantUntil=until.replace(/(\\.0+)/g,'');return emberVersion>=parseFloat(significantUntil);}function isRemoved(options){return emberVersionGte(options.until);}function deprecation(options){return{options,test:!isEnabled$1(options),isEnabled:isEnabled$1(options)||isRemoved(options),isRemoved:isRemoved(options)};}/*\n            To add a deprecation, you must add a new entry to the `DEPRECATIONS` object.\n            The entry should be an object with the following properties:\n\n            * `id` (required): A string that uniquely identifies the deprecation. This\n              should be a short, descriptive name, typically dasherized.\n            * `for` (required): The string `ember-source` -- every deprecation from this\n              package is for `ember-source`.\n            * `since` (required): An object with `available` and `enabled`. `available` is\n              the first version of Ember that the deprecation is available in. `enabled` is\n              the version of Ember that the deprecation was first enabled. This is used as\n              a feature flag deprecations. For public APIs, the `enabled` value is added\n              only once the deprecation RFC is [Ready for Release](https://github.com/emberjs/rfcs#ready-for-release).\n            * `until` (required): The version of Ember that the deprecation will be removed\n            * `url` (required): A URL to the deprecation guide for the deprecation. This\n              URL can be constructed in advance of the deprecation being added to the\n              [deprecation app](https://github.com/ember-learn/deprecation-app) by\n              following this format: `https://deprecations.emberjs.com/deprecations/{{id}}`.\n\n            For example:\n            `deprecate` should then be called using the entry from the `DEPRECATIONS` object.\n\n            ```ts\n            import { DEPRECATIONS } from '@ember/-internals/deprecations';\n            //...\n\n            deprecateUntil(message, DEPRECATIONS.MY_DEPRECATION);\n            ```\n\n            `expectDeprecation` should also use the DEPRECATIONS object, but it should be noted\n            that it uses `isEnabled` instead of `test` because the expectations of `expectDeprecation`\n            are the opposite of `test`.\n\n            ```ts\n            expectDeprecation(\n              () => {\n                  assert.equal(foo, bar(), 'foo is equal to bar'); // something that triggers the deprecation\n              },\n              /matchesMessage/,\n              DEPRECATIONS.MY_DEPRECATION.isEnabled\n            );\n            ```\n\n            Tests can be conditionally run based on whether a deprecation is enabled or not:\n\n            ```ts\n              [`${testUnless(DEPRECATIONS.MY_DEPRECATION.isRemoved)} specific deprecated feature tested only in this test`]\n            ```\n\n            This test will be skipped when the MY_DEPRECATION is removed.\n            When adding a deprecation, we need to guard all the code that will eventually be removed, including tests.\n            For tests that are not specifically testing the deprecated feature, we need to figure out how to\n            test the behavior without encountering the deprecated feature, just as users would.\n           */const DEPRECATIONS={DEPRECATE_IMPORT_EMBER(importName){return deprecation({id:`deprecate-import-${dasherize(importName).toLowerCase()}-from-ember`,for:'ember-source',since:{available:'5.10.0'},until:'7.0.0',url:`https://deprecations.emberjs.com/id/import-${dasherize(importName).toLowerCase()}-from-ember`});},DEPRECATE_TEMPLATE_ACTION:deprecation({id:'template-action',url:'https://deprecations.emberjs.com/id/template-action',until:'6.0.0',for:'ember-source',since:{available:'5.9.0',enabled:'5.9.0'}}),DEPRECATE_COMPONENT_TEMPLATE_RESOLVING:deprecation({id:'component-template-resolving',url:'https://deprecations.emberjs.com/id/component-template-resolving',until:'6.0.0',for:'ember-source',since:{available:'5.10.0',enabled:'5.10.0'}}),DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS:deprecation({id:'deprecate-array-prototype-extensions',url:'https://deprecations.emberjs.com/id/deprecate-array-prototype-extensions',until:'6.0.0',for:'ember-source',since:{available:'5.10.0',enabled:'5.10.0'}}),DEPRECATE_IMPORT_INJECT:deprecation({for:'ember-source',id:'importing-inject-from-ember-service',since:{available:'6.2.0',enabled:'6.3.0'},until:'7.0.0',url:'https://deprecations.emberjs.com/id/importing-inject-from-ember-service'})};function deprecateUntil(message,deprecation){const{options}=deprecation;!Boolean(options.for==='ember-source')&&assert$1('deprecateUntil must only be called for ember-source',Boolean(options.for==='ember-source'));if(deprecation.isRemoved){throw new Error(`The API deprecated by ${options.id} was removed in ember-source ${options.until}. The message was: ${message}. Please see ${options.url} for more details.`);}!deprecation.test&&deprecate$1(message,deprecation.test,options);}const{EXTEND_PROTOTYPES}=ENV;if(EXTEND_PROTOTYPES.Array!==false){deprecateUntil('Array prototype extensions are deprecated. Follow the deprecation guide for migration instructions, and set EmberENV.EXTEND_PROTOTYPES to false in your config/environment.js',DEPRECATIONS.DEPRECATE_ARRAY_PROTOTYPE_EXTENSIONS);}const emberinternalsDeprecationsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,DEPRECATIONS,deprecateUntil,emberVersionGte,isRemoved},Symbol.toStringTag,{value:'Module'});let onerror;const onErrorTarget={get onerror(){return onerror;}};// Ember.onerror getter\nfunction getOnerror(){return onerror;}// Ember.onerror setter\nfunction setOnerror(handler){onerror=handler;}let dispatchOverride=null;// allows testing adapter to override dispatch\nfunction getDispatchOverride(){return dispatchOverride;}function setDispatchOverride(handler){dispatchOverride=handler;}const emberinternalsErrorHandlingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,getDispatchOverride,getOnerror,onErrorTarget,setDispatchOverride,setOnerror},Symbol.toStringTag,{value:'Module'});const EMPTY_ARRAY$4=Object.freeze([]);function emptyArray(){return EMPTY_ARRAY$4;}const EMPTY_STRING_ARRAY=emptyArray(),EMPTY_NUMBER_ARRAY=emptyArray();/**\n           * This function returns `true` if the input array is the special empty array sentinel,\n           * which is sometimes used for optimizations.\n           */function isEmptyArray(input){return input===EMPTY_ARRAY$4;}function*reverse(input){for(let i=input.length-1;i>=0;i--)// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nyield input[i];}function*enumerate(input){let i=0;for(const item of input)yield[i++,item];}/**\n           * Zip two tuples with the same type and number of elements.\n           */function*zipTuples(left,right){for(let i=0;i<left.length;i++)yield[i,left[i],right[i]];}function*zipArrays(left,right){for(let i=0;i<left.length;i++){const perform=i<right.length?\"retain\":\"pop\";yield[perform,i,left[i],right[i]];}for(let i=left.length;i<right.length;i++)yield[\"push\",i,void 0,right[i]];}function isPresentArray(list){return!!list&&list.length>0;}function getLast(list){return 0===list.length?void 0:list[list.length-1];}function dict(){return Object.create(null);}function isDict(u){return null!=u;}function isIndexable$2(u){return\"function\"==typeof u||\"object\"==typeof u&&null!==u;}class StackImpl{constructor(values=[]){this.current=null,this.stack=values;}get size(){return this.stack.length;}push(item){this.current=item,this.stack.push(item);}pop(){let item=this.stack.pop();return this.current=getLast(this.stack)??null,void 0===item?null:item;}nth(from){let len=this.stack.length;return len<from?null:this.stack[len-from];}isEmpty(){return 0===this.stack.length;}snapshot(){return[...this.stack];}toArray(){return this.stack;}}/// <reference types=\"qunit\" />\nlet beginTestSteps,endTestSteps,verifySteps,logStep;function clearElement(parent){let current=parent.firstChild;for(;current;){let next=current.nextSibling;parent.removeChild(current),current=next;}}/**\n            Strongly hint runtimes to intern the provided string.\n\n            When do I need to use this function?\n\n            For the most part, never. Pre-mature optimization is bad, and often the\n            runtime does exactly what you need it to, and more often the trade-off isn't\n            worth it.\n\n            Why?\n\n            Runtimes store strings in at least 2 different representations:\n            Ropes and Symbols (interned strings). The Rope provides a memory efficient\n            data-structure for strings created from concatenation or some other string\n            manipulation like splitting.\n\n            Unfortunately checking equality of different ropes can be quite costly as\n            runtimes must resort to clever string comparison algorithms. These\n            algorithms typically cost in proportion to the length of the string.\n            Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n            unique by their string content, equality checks can be done by pointer\n            comparison.\n\n            How do I know if my string is a rope or symbol?\n\n            Typically (warning general sweeping statement, but truthy in runtimes at\n            present) static strings created as part of the JS source are interned.\n            Strings often used for comparisons can be interned at runtime if some\n            criteria are met.  One of these criteria can be the size of the entire rope.\n            For example, in chrome 38 a rope longer then 12 characters will not\n            intern, nor will segments of that rope.\n\n            Some numbers: http://jsperf.com/eval-vs-keys/8\n\n            Known Trick™\n\n            @private\n            @return {String} interned version of the provided string\n          */function intern(str){let obj={};obj[str]=1;for(let key in obj)if(key===str)return key;return str;}const SERIALIZATION_FIRST_NODE_STRING$1=\"%+b:0%\";function isSerializationFirstNode$1(node){return\"%+b:0%\"===node.nodeValue;}const assign=Object.assign;function values(obj){return Object.values(obj);}function entries(dict){return Object.entries(dict);}function keys(obj){return Object.keys(obj);}function strip(strings,...args){let out=\"\";for(const[i,string]of enumerate(strings))out+=`${string}${void 0!==args[i]?String(args[i]):\"\"}`;let lines=out.split(\"\\n\");for(;isPresentArray(lines)&&/^\\s*$/u.test(0===(list=lines).length?void 0:list[0]);)lines.shift();for(var list;isPresentArray(lines)&&/^\\s*$/u.test(getLast(lines));)lines.pop();let min=1/0;for(let line of lines){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet leading=/^\\s*/u.exec(line)[0].length;min=Math.min(min,leading);}let stripped=[];for(let line of lines)stripped.push(line.slice(min));return stripped.join(\"\\n\");}/**\n           * This constant exists to make it easier to differentiate normal logs from\n           * errant console.logs. LOCAL_LOGGER should only be used inside a\n           * LOCAL_TRACE_LOGGING check.\n           *\n           * It does not alleviate the need to check LOCAL_TRACE_LOGGING, which is used\n           * for stripping.\n           */const LOCAL_LOGGER=console,LOGGER=console;/**\n           * This constant exists to make it easier to differentiate normal logs from\n           * errant console.logs. LOGGER can be used outside of LOCAL_TRACE_LOGGING checks,\n           * and is meant to be used in the rare situation where a console.* call is\n           * actually appropriate.\n           */function assertNever(value,desc=\"unexpected unreachable branch\"){throw LOGGER.log(\"unreachable\",value),LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`),new Error(\"code reached unreachable\");}const glimmerUtil=/*#__PURE__*/Object.defineProperty({__proto__:null,EMPTY_ARRAY:EMPTY_ARRAY$4,EMPTY_NUMBER_ARRAY,EMPTY_STRING_ARRAY,LOCAL_LOGGER,LOGGER,SERIALIZATION_FIRST_NODE_STRING:SERIALIZATION_FIRST_NODE_STRING$1,Stack:StackImpl,assertNever,assign,beginTestSteps,clearElement,dict,emptyArray,endTestSteps,entries,enumerate,intern,isDict,isEmptyArray,isIndexable:isIndexable$2,isSerializationFirstNode:isSerializationFirstNode$1,keys,logStep,reverse,strip,values,verifySteps,zipArrays,zipTuples},Symbol.toStringTag,{value:'Module'});const ContentType={Component:0,Helper:1,String:2,Empty:3,SafeString:4,Fragment:5,Node:6,Other:8},InternalComponentCapabilities={Empty:0,dynamicLayout:1,dynamicTag:2,prepareArgs:4,createArgs:8,attributeHook:16,elementHook:32,dynamicScope:64,createCaller:128,updateHook:256,createInstance:512,wrapped:1024,willDestroy:2048,hasSubOwner:4096},ARG_SHIFT=8,MAX_SIZE=2147483647,TYPE_SIZE=255,TYPE_MASK=255,OPERAND_LEN_MASK=768,MACHINE_MASK=1024,$pc=0,$ra=1,$fp=2,$sp=3,$s0=4,$s1=5,$t0=6,$t1=7,$v0=8;function isLowLevelRegister(register){return register<=3;}const glimmerVm=/*#__PURE__*/Object.defineProperty({__proto__:null,$fp,$pc,$ra,$s0,$s1,$sp,$t0,$t1,$v0,ARG_SHIFT,ContentType,InternalComponentCapabilities,InternalComponentCapability:InternalComponentCapabilities,MACHINE_MASK,MAX_SIZE,OPERAND_LEN_MASK,TYPE_MASK,TYPE_SIZE,isLowLevelRegister},Symbol.toStringTag,{value:'Module'});class InstructionEncoderImpl{constructor(buffer){this.buffer=buffer,this.size=0;}encode(type,machine,...args){if(type>TYPE_SIZE)throw new Error(`Opcode type over 8-bits. Got ${type}.`);let first=type|machine|arguments.length-2<<ARG_SHIFT;this.buffer.push(first);for(const op of args){if(\"number\"==typeof op&&op>MAX_SIZE)throw new Error(`Operand over 32-bits. Got ${op}.`);this.buffer.push(op);}this.size=this.buffer.length;}patch(position,target){if(-1!==this.buffer[position+1])throw new Error(\"Trying to patch operand in populated slot instead of a reserved slot.\");this.buffer[position+1]=target;}}const glimmerEncoder=/*#__PURE__*/Object.defineProperty({__proto__:null,InstructionEncoderImpl},Symbol.toStringTag,{value:'Module'});const opcodes={Append:1,TrustingAppend:2,Comment:3,Modifier:4,StrictModifier:5,Block:6,StrictBlock:7,Component:8,OpenElement:10,OpenElementWithSplat:11,FlushElement:12,CloseElement:13,StaticAttr:14,DynamicAttr:15,ComponentAttr:16,AttrSplat:17,Yield:18,DynamicArg:20,StaticArg:21,TrustingDynamicAttr:22,TrustingComponentAttr:23,StaticComponentAttr:24,Debugger:26,Undefined:27,Call:28,Concat:29,GetSymbol:30,GetLexicalSymbol:32,GetStrictKeyword:31,GetFreeAsComponentOrHelperHead:35,GetFreeAsHelperHead:37,GetFreeAsModifierHead:38,GetFreeAsComponentHead:39,InElement:40,If:41,Each:42,Let:44,WithDynamicVars:45,InvokeComponent:46,HasBlock:48,HasBlockParams:49,Curry:50,Not:51,IfInline:52,GetDynamicVar:53,Log:54},resolution={Strict:0,ResolveAsComponentOrHelperHead:1,ResolveAsHelperHead:5,ResolveAsModifierHead:6,ResolveAsComponentHead:7},WellKnownAttrNames={class:0,id:1,value:2,name:3,type:4,style:5,href:6},WellKnownTagNames={div:0,span:1,p:2,a:3};function is(variant){// eslint-disable-next-line @typescript-eslint/no-explicit-any\nreturn function(value){return Array.isArray(value)&&value[0]===variant;};}// Statements\nconst isFlushElement=is(opcodes.FlushElement);function isAttribute(val){return val[0]===opcodes.StaticAttr||val[0]===opcodes.DynamicAttr||val[0]===opcodes.TrustingDynamicAttr||val[0]===opcodes.ComponentAttr||val[0]===opcodes.StaticComponentAttr||val[0]===opcodes.TrustingComponentAttr||val[0]===opcodes.AttrSplat||val[0]===opcodes.Modifier;}function isStringLiteral(expr){return\"string\"==typeof expr;}function getStringFromValue(expr){return expr;}function isArgument(val){return val[0]===opcodes.StaticArg||val[0]===opcodes.DynamicArg;}function isHelper(expr){return Array.isArray(expr)&&expr[0]===opcodes.Call;}// Expressions\nconst isGet=is(opcodes.GetSymbol);const glimmerWireFormat=/*#__PURE__*/Object.defineProperty({__proto__:null,SexpOpcodes:opcodes,VariableResolutionContext:resolution,WellKnownAttrNames,WellKnownTagNames,getStringFromValue,is,isArgument,isAttribute,isFlushElement,isGet,isHelper,isStringLiteral},Symbol.toStringTag,{value:'Module'});//////////\n/**\n           * Schedules a VM revalidation.\n           *\n           * Note: this has a default value so that tags can warm themselves when first loaded.\n           */let scheduleDestroy,scheduleDestroyed,toIterator$1,toBool$1,getProp,setProp,getPath$1,setPath,warnIfStyleNotTrusted,assert,deprecate,scheduleRevalidate=()=>{};/**\n           * Schedules a destructor to run\n           *\n           * @param destroyable The destroyable being destroyed\n           * @param destructor The destructor being scheduled\n           */function debugAssert(test,msg,options){// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nassert&&assert(test,\"string\"==typeof msg?msg:msg(),options);}/**\n           * Hook to customize deprecation messages in the VM. Usages can be stripped out\n           * by using the @glimmer/vm-babel-plugins package.\n           */let assertGlobalContextWasSet,testOverrideGlobalContext,globalContextWasSet=false;function setGlobalContext(context){{if(globalContextWasSet)throw new Error(\"Attempted to set the global context twice. This should only be set once.\");globalContextWasSet=true;}scheduleRevalidate=context.scheduleRevalidate,scheduleDestroy=context.scheduleDestroy,scheduleDestroyed=context.scheduleDestroyed,toIterator$1=context.toIterator,toBool$1=context.toBool,getProp=context.getProp,setProp=context.setProp,getPath$1=context.getPath,setPath=context.setPath,warnIfStyleNotTrusted=context.warnIfStyleNotTrusted,assert=context.assert,deprecate=context.deprecate;}assertGlobalContextWasSet=()=>{if(!globalContextWasSet)throw new Error(\"The global context for Glimmer VM was not set. You must set these global context functions to let Glimmer VM know how to accomplish certain operations. You can do this by importing `setGlobalContext` from `@glimmer/global-context`\");},testOverrideGlobalContext=context=>{let originalGlobalContext=globalContextWasSet?{scheduleRevalidate:scheduleRevalidate,scheduleDestroy:scheduleDestroy,scheduleDestroyed:scheduleDestroyed,toIterator:toIterator$1,toBool:toBool$1,getProp:getProp,setProp:setProp,getPath:getPath$1,setPath:setPath,warnIfStyleNotTrusted:warnIfStyleNotTrusted,assert:assert,deprecate:deprecate}:null;return globalContextWasSet=null!==context,// We use `undefined as any` here to unset the values when resetting the\n// context at the end of a test.\nscheduleRevalidate=context?.scheduleRevalidate||void 0,scheduleDestroy=context?.scheduleDestroy||void 0,scheduleDestroyed=context?.scheduleDestroyed||void 0,toIterator$1=context?.toIterator||void 0,toBool$1=context?.toBool||void 0,getProp=context?.getProp||void 0,setProp=context?.setProp||void 0,getPath$1=context?.getPath||void 0,setPath=context?.setPath||void 0,warnIfStyleNotTrusted=context?.warnIfStyleNotTrusted||void 0,assert=context?.assert||void 0,deprecate=context?.deprecate||void 0,originalGlobalContext;};const glimmerGlobalContext=/*#__PURE__*/Object.defineProperty({__proto__:null,get assert(){return assert;},get assertGlobalContextWasSet(){return assertGlobalContextWasSet;},debugAssert,default:setGlobalContext,get deprecate(){return deprecate;},get getPath(){return getPath$1;},get getProp(){return getProp;},get scheduleDestroy(){return scheduleDestroy;},get scheduleDestroyed(){return scheduleDestroyed;},get scheduleRevalidate(){return scheduleRevalidate;},get setPath(){return setPath;},get setProp(){return setProp;},get testOverrideGlobalContext(){return testOverrideGlobalContext;},get toBool(){return toBool$1;},get toIterator(){return toIterator$1;},get warnIfStyleNotTrusted(){return warnIfStyleNotTrusted;}},Symbol.toStringTag,{value:'Module'});let debugToString$4;{let getFunctionName=fn=>{let functionName=fn.name;if(\"\"===functionName){let match=/function (\\w+)\\s*\\(/u.exec(String(fn));functionName=match&&match[1]||\"\";}return functionName.replace(/^bound /u,\"\");},getObjectName=obj=>{let name,className;// If the class has a decent looking name, and the `toString` is one of the\n// default Ember toStrings, replace the constructor portion of the toString\n// with the class name. We check the length of the class name to prevent doing\n// this when the value is minified.\nreturn\"function\"==typeof obj.constructor&&(className=getFunctionName(obj.constructor)),\"toString\"in obj&&obj.toString!==Object.prototype.toString&&obj.toString!==Function.prototype.toString&&(// eslint-disable-next-line @typescript-eslint/no-base-to-string\nname=obj.toString()),name&&/<.*:ember\\d+>/u.test(name)&&className&&\"_\"!==className[0]&&className.length>2&&\"Class\"!==className?name.replace(/<.*:/u,`<${className}:`):name||className;},getPrimitiveName=value=>String(value);debugToString$4=value=>\"function\"==typeof value?getFunctionName(value)||\"(unknown function)\":\"object\"==typeof value&&null!==value?getObjectName(value)||\"(unknown object)\":getPrimitiveName(value);}var debugToString$1$3=debugToString$4;let enableDestroyableTracking,assertDestroyablesDestroyed,DESTROYABLE_META=new WeakMap();function push(collection,newItem){return null===collection?newItem:Array.isArray(collection)?(collection.push(newItem),collection):[collection,newItem];}function iterate$1(collection,fn){Array.isArray(collection)?collection.forEach(fn):null!==collection&&fn(collection);}function remove(collection,item,message){{let collectionIsItem=collection===item,collectionContainsItem=Array.isArray(collection)&&-1!==collection.indexOf(item);if(!collectionIsItem&&!collectionContainsItem)throw new Error(String(message));}if(Array.isArray(collection)&&collection.length>1){let index=collection.indexOf(item);return collection.splice(index,1),collection;}return null;}function getDestroyableMeta(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0===meta&&(meta={parents:null,children:null,eagerDestructors:null,destructors:null,state:0},meta.source=destroyable,DESTROYABLE_META.set(destroyable,meta)),meta;}function associateDestroyableChild(parent,child){if(isDestroying(parent))throw new Error(\"Attempted to associate a destroyable child with an object that is already destroying or destroyed\");let parentMeta=getDestroyableMeta(parent),childMeta=getDestroyableMeta(child);return parentMeta.children=push(parentMeta.children,child),childMeta.parents=push(childMeta.parents,parent),child;}function registerDestructor$1(destroyable,destructor,eager=false){if(isDestroying(destroyable))throw new Error(\"Attempted to register a destructor with an object that is already destroying or destroyed\");let meta=getDestroyableMeta(destroyable),destructorsKey=eager?\"eagerDestructors\":\"destructors\";return meta[destructorsKey]=push(meta[destructorsKey],destructor),destructor;}function unregisterDestructor$1(destroyable,destructor,eager=false){if(isDestroying(destroyable))throw new Error(\"Attempted to unregister a destructor with an object that is already destroying or destroyed\");let meta=getDestroyableMeta(destroyable),destructorsKey=eager?\"eagerDestructors\":\"destructors\";meta[destructorsKey]=remove(meta[destructorsKey],destructor,\"attempted to remove a destructor that was not registered with the destroyable\");}////////////\nfunction destroy(destroyable){let meta=getDestroyableMeta(destroyable);if(meta.state>=1)return;let{parents:parents,children:children,eagerDestructors:eagerDestructors,destructors:destructors}=meta;meta.state=1,iterate$1(children,destroy),iterate$1(eagerDestructors,destructor=>{destructor(destroyable);}),iterate$1(destructors,destructor=>{scheduleDestroy(destroyable,destructor);}),scheduleDestroyed(()=>{iterate$1(parents,parent=>{!function(child,parent){let parentMeta=getDestroyableMeta(parent);0===parentMeta.state&&(parentMeta.children=remove(parentMeta.children,child,\"attempted to remove child from parent, but the parent's children did not contain the child. This is likely a bug with destructors.\"));}(destroyable,parent);}),meta.state=2;});}function destroyChildren(destroyable){let{children:children}=getDestroyableMeta(destroyable);iterate$1(children,destroy);}function _hasDestroyableChildren(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0!==meta&&null!==meta.children;}function isDestroying(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0!==meta&&meta.state>=1;}function isDestroyed(destroyable){let meta=DESTROYABLE_META.get(destroyable);return void 0!==meta&&meta.state>=2;}////////////\n{let isTesting=false;enableDestroyableTracking=()=>{if(isTesting)// Reset destroyable meta just in case, before throwing the error\nthrow DESTROYABLE_META=new WeakMap(),new Error(\"Attempted to start destroyable testing, but you did not end the previous destroyable test. Did you forget to call `assertDestroyablesDestroyed()`\");isTesting=true,DESTROYABLE_META=new Map();},assertDestroyablesDestroyed=()=>{if(!isTesting)throw new Error(\"Attempted to assert destroyables destroyed, but you did not start a destroyable test. Did you forget to call `enableDestroyableTracking()`\");isTesting=false;let map=DESTROYABLE_META;DESTROYABLE_META=new WeakMap();let undestroyed=[];if(map.forEach(meta=>{2!==meta.state&&// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nundestroyed.push(meta.source);}),undestroyed.length>0){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet objectsToString=undestroyed.map(debugToString$1$3).join(\"\\n    \"),error=new Error(`Some destroyables were not destroyed during this test:\\n    ${objectsToString}`);throw error.destroyables=undestroyed,error;}};}const glimmerDestroyable=/*#__PURE__*/Object.defineProperty({__proto__:null,_hasDestroyableChildren,get assertDestroyablesDestroyed(){return assertDestroyablesDestroyed;},associateDestroyableChild,destroy,destroyChildren,get enableDestroyableTracking(){return enableDestroyableTracking;},isDestroyed,isDestroying,registerDestructor:registerDestructor$1,unregisterDestructor:unregisterDestructor$1},Symbol.toStringTag,{value:'Module'});const debug={};{let CONSUMED_TAGS=null;const TRANSACTION_STACK=[],TRANSACTION_ENV={debugMessage(obj,keyName){let objName;return objName=\"function\"==typeof obj?obj.name:\"object\"==typeof obj&&null!==obj?`(an instance of ${obj.constructor.name||\"(unknown class)\"})`:void 0===obj?\"(an unknown tag)\":String(obj),`You attempted to update ${keyName?`\\`${keyName}\\` on \\`${objName}\\``:`\\`${objName}\\``}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`;}};/////////\ndebug.setTrackingTransactionEnv=env=>Object.assign(TRANSACTION_ENV,env),debug.beginTrackingTransaction=_debugLabel=>{CONSUMED_TAGS=CONSUMED_TAGS||new WeakMap();let debugLabel=_debugLabel||void 0,parent=TRANSACTION_STACK[TRANSACTION_STACK.length-1]??null;TRANSACTION_STACK.push({parent:parent,debugLabel:debugLabel});},debug.endTrackingTransaction=()=>{if(0===TRANSACTION_STACK.length)throw new Error(\"attempted to close a tracking transaction, but one was not open\");TRANSACTION_STACK.pop(),0===TRANSACTION_STACK.length&&(CONSUMED_TAGS=null);},debug.resetTrackingTransaction=()=>{let stack=\"\";return TRANSACTION_STACK.length>0&&(stack=debug.logTrackingStack(TRANSACTION_STACK[TRANSACTION_STACK.length-1])),TRANSACTION_STACK.splice(0,TRANSACTION_STACK.length),CONSUMED_TAGS=null,stack;},/**\n            * Creates a global autotracking transaction. This will prevent any backflow\n            * in any `track` calls within the transaction, even if they are not\n            * externally consumed.\n            *\n            * `runInAutotrackingTransaction` can be called within itself, and it will add\n            * onto the existing transaction if one exists.\n            *\n            * TODO: Only throw an error if the `track` is consumed.\n            */debug.runInTrackingTransaction=(fn,debugLabel)=>{debug.beginTrackingTransaction(debugLabel);let didError=true;try{let value=fn();return didError=!1,value;}finally{didError||debug.endTrackingTransaction();// if (id !== TRANSACTION_STACK.length) {\n//   throw new Error(\n//     `attempted to close a tracking transaction (${id}), but it was not the last transaction (${TRANSACTION_STACK.length})`\n//   );\n// }\n}};let nthIndex=(str,pattern,n,startingPos=-1)=>{let i=startingPos;for(;n-->0&&i++<str.length&&(i=str.indexOf(pattern,i),!(i<0)););return i;},makeTrackingErrorMessage=(transaction,obj,keyName)=>{let message=[TRANSACTION_ENV.debugMessage(obj,keyName&&String(keyName))];return message.push(`\\`${String(keyName)}\\` was first used:`),message.push(debug.logTrackingStack(transaction)),message.push(\"Stack trace for the update:\"),message.join(\"\\n\\n\");};debug.logTrackingStack=transaction=>{let trackingStack=[],current=transaction||TRANSACTION_STACK[TRANSACTION_STACK.length-1];if(void 0===current)return\"\";for(;current;)current.debugLabel&&trackingStack.unshift(current.debugLabel),current=current.parent;return trackingStack.map((label,index)=>\" \".repeat(2*index)+label).join(\"\\n\");},debug.markTagAsConsumed=_tag=>{if(!CONSUMED_TAGS||CONSUMED_TAGS.has(_tag))return;var list;CONSUMED_TAGS.set(_tag,0===(list=TRANSACTION_STACK).length?void 0:list[list.length-1]);// We need to mark the tag and all of its subtags as consumed, so we need to\n// cast it and access its internals. In the future this shouldn't be necessary,\n// this is only for computed properties.\nlet subtag=_tag.subtag;subtag&&debug.markTagAsConsumed&&(Array.isArray(subtag)?subtag.forEach(debug.markTagAsConsumed):debug.markTagAsConsumed(subtag));},debug.assertTagNotConsumed=(tag,obj,keyName)=>{if(null===CONSUMED_TAGS)return;let transaction=CONSUMED_TAGS.get(tag);var error;if(transaction)// This hack makes the assertion message nicer, we can cut off the first\n// few lines of the stack trace and let users know where the actual error\n// occurred.\ntry{assert(!1,makeTrackingErrorMessage(transaction,obj,keyName));}catch(e){if(\"object\"==typeof(error=e)&&null!==error&&\"stack\"in error&&\"string\"==typeof error.stack){let updateStackBegin=e.stack.indexOf(\"Stack trace for the update:\");if(-1!==updateStackBegin){let start=nthIndex(e.stack,\"\\n\",1,updateStackBegin),end=nthIndex(e.stack,\"\\n\",4,updateStackBegin);// eslint-disable-next-line @typescript-eslint/no-deprecated -- @fixme\ne.stack=e.stack.substr(0,start)+e.stack.substr(end);}}throw e;}};}function unwrap(val){if(null==val)throw new Error(\"Expected value to be present\");return val;}const CONSTANT=0,INITIAL=1,VOLATILE=NaN;let $REVISION=1;function bump(){$REVISION++;}//////////\nconst COMPUTE=Symbol(\"TAG_COMPUTE\");//////////\n/**\n           * `value` receives a tag and returns an opaque Revision based on that tag. This\n           * snapshot can then later be passed to `validate` with the same tag to\n           * determine if the tag has changed at all since the time that `value` was\n           * called.\n           *\n           * @param tag\n           */function valueForTag(tag){return tag[COMPUTE]();}/**\n           * `validate` receives a tag and a snapshot from a previous call to `value` with\n           * the same tag, and determines if the tag is still valid compared to the\n           * snapshot. If the tag's state has changed at all since then, `validate` will\n           * return false, otherwise it will return true. This is used to determine if a\n           * calculation related to the tags should be rerun.\n           *\n           * @param tag\n           * @param snapshot\n           */function validateTag(tag,snapshot){return snapshot>=tag[COMPUTE]();}//////////\nReflect.set(globalThis,\"COMPUTE_SYMBOL\",COMPUTE);const TYPE$1=Symbol(\"TAG_TYPE\");// this is basically a const\nlet ALLOW_CYCLES;ALLOW_CYCLES=new WeakMap();class MonomorphicTagImpl{static combine(tags){switch(tags.length){case 0:return CONSTANT_TAG;case 1:return tags[0];default:{let tag=new MonomorphicTagImpl(2);return tag.subtag=tags,tag;}}}constructor(type){this.revision=1,this.lastChecked=1,this.lastValue=1,this.isUpdating=false,this.subtag=null,this.subtagBufferCache=null,this[TYPE$1]=type;}[COMPUTE](){let{lastChecked:lastChecked}=this;if(this.isUpdating){if(void 0!==ALLOW_CYCLES&&!ALLOW_CYCLES.has(this))throw new Error(\"Cycles in tags are not allowed\");this.lastChecked=++$REVISION;}else if(lastChecked!==$REVISION){this.isUpdating=true,this.lastChecked=$REVISION;try{let{subtag:subtag,revision:revision}=this;if(null!==subtag)if(Array.isArray(subtag))for(const tag of subtag){let value=tag[COMPUTE]();revision=Math.max(value,revision);}else{let subtagValue=subtag[COMPUTE]();subtagValue===this.subtagBufferCache?revision=Math.max(revision,this.lastValue):(// Clear the temporary buffer cache\nthis.subtagBufferCache=null,revision=Math.max(revision,subtagValue));}this.lastValue=revision;}finally{this.isUpdating=false;}}return this.lastValue;}static updateTag(_tag,_subtag){// catch bug by non-TS users\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nif(1!==_tag[TYPE$1])throw new Error(\"Attempted to update a tag that was not updatable\");// TODO: TS 3.7 should allow us to do this via assertion\nlet tag=_tag,subtag=_subtag;subtag===CONSTANT_TAG?tag.subtag=null:(// There are two different possibilities when updating a subtag:\n// 1. subtag[COMPUTE]() <= tag[COMPUTE]();\n// 2. subtag[COMPUTE]() > tag[COMPUTE]();\n// The first possibility is completely fine within our caching model, but\n// the second possibility presents a problem. If the parent tag has\n// already been read, then it's value is cached and will not update to\n// reflect the subtag's greater value. Next time the cache is busted, the\n// subtag's value _will_ be read, and it's value will be _greater_ than\n// the saved snapshot of the parent, causing the resulting calculation to\n// be rerun erroneously.\n// In order to prevent this, when we first update to a new subtag we store\n// its computed value, and then check against that computed value on\n// subsequent updates. If its value hasn't changed, then we return the\n// parent's previous value. Once the subtag changes for the first time,\n// we clear the cache and everything is finally in sync with the parent.\ntag.subtagBufferCache=subtag[COMPUTE](),tag.subtag=subtag);}static dirtyTag(tag,disableConsumptionAssertion){if(1!==tag[TYPE$1]&&0!==tag[TYPE$1])throw new Error(\"Attempted to dirty a tag that was not dirtyable\");true!==disableConsumptionAssertion&&// Usually by this point, we've already asserted with better error information,\n// but this is our last line of defense.\nunwrap(debug.assertTagNotConsumed)(tag),tag.revision=++$REVISION,scheduleRevalidate();}}const DIRTY_TAG$1=MonomorphicTagImpl.dirtyTag,UPDATE_TAG=MonomorphicTagImpl.updateTag;//////////\nfunction createTag(){return new MonomorphicTagImpl(0);}function createUpdatableTag(){return new MonomorphicTagImpl(1);}//////////\nconst CONSTANT_TAG=new MonomorphicTagImpl(3);function isConstTag(tag){return tag===CONSTANT_TAG;}//////////\nclass VolatileTag{[COMPUTE](){return NaN;}constructor(){this[TYPE$1]=100;}}const VOLATILE_TAG=new VolatileTag();//////////\nclass CurrentTag{[COMPUTE](){return $REVISION;}constructor(){this[TYPE$1]=101;}}const CURRENT_TAG=new CurrentTag(),combine=MonomorphicTagImpl.combine;//////////\n// Warm\nlet tag1=createUpdatableTag(),tag2=createUpdatableTag(),tag3=createUpdatableTag();valueForTag(tag1),DIRTY_TAG$1(tag1),valueForTag(tag1),UPDATE_TAG(tag1,combine([tag2,tag3])),valueForTag(tag1),DIRTY_TAG$1(tag2),valueForTag(tag1),DIRTY_TAG$1(tag3),valueForTag(tag1),UPDATE_TAG(tag1,tag3),valueForTag(tag1),DIRTY_TAG$1(tag3),valueForTag(tag1);const TRACKED_TAGS=new WeakMap();function dirtyTagFor(obj,key,meta){if((\"object\"!=typeof(u=obj)||null===u)&&\"function\"!=typeof u)throw new Error(\"BUG: Can't update a tag for a primitive\");var u;let tags=void 0===meta?TRACKED_TAGS.get(obj):meta;// No tags have been setup for this object yet, return\nif(void 0===tags)return;// Dirty the tag for the specific property if it exists\nlet propertyTag=tags.get(key);void 0!==propertyTag&&(unwrap(debug.assertTagNotConsumed)(propertyTag,obj,key),DIRTY_TAG$1(propertyTag,true));}function tagMetaFor(obj){let tags=TRACKED_TAGS.get(obj);return void 0===tags&&(tags=new Map(),TRACKED_TAGS.set(obj,tags)),tags;}function tagFor(obj,key,meta){let tags=void 0===meta?tagMetaFor(obj):meta,tag=tags.get(key);return void 0===tag&&(tag=createUpdatableTag(),tags.set(key,tag)),tag;}/**\n           * An object that that tracks @tracked properties that were consumed.\n           */class Tracker{add(tag){tag!==CONSTANT_TAG&&(this.tags.add(tag),unwrap(debug.markTagAsConsumed)(tag),this.last=tag);}combine(){let{tags:tags}=this;return 0===tags.size?CONSTANT_TAG:1===tags.size?this.last:combine(Array.from(this.tags));}constructor(){this.tags=new Set(),this.last=null;}}/**\n           * Whenever a tracked computed property is entered, the current tracker is\n           * saved off and a new tracker is replaced.\n           *\n           * Any tracked properties consumed are added to the current tracker.\n           *\n           * When a tracked computed property is exited, the tracker's tags are\n           * combined and added to the parent tracker.\n           *\n           * The consequence is that each tracked computed property has a tag\n           * that corresponds to the tracked properties consumed inside of\n           * itself, including child tracked computed properties.\n           */let CURRENT_TRACKER=null;const OPEN_TRACK_FRAMES=[];function beginTrackFrame(debuggingContext){OPEN_TRACK_FRAMES.push(CURRENT_TRACKER),CURRENT_TRACKER=new Tracker(),unwrap(debug.beginTrackingTransaction)(debuggingContext);}function endTrackFrame(){let current=CURRENT_TRACKER;{if(0===OPEN_TRACK_FRAMES.length)throw new Error(\"attempted to close a tracking frame, but one was not open\");unwrap(debug.endTrackingTransaction)();}return CURRENT_TRACKER=OPEN_TRACK_FRAMES.pop()||null,unwrap(current).combine();}function beginUntrackFrame(){OPEN_TRACK_FRAMES.push(CURRENT_TRACKER),CURRENT_TRACKER=null;}function endUntrackFrame(){if(0===OPEN_TRACK_FRAMES.length)throw new Error(\"attempted to close a tracking frame, but one was not open\");CURRENT_TRACKER=OPEN_TRACK_FRAMES.pop()||null;}// This function is only for handling errors and resetting to a valid state\nfunction resetTracking(){for(;OPEN_TRACK_FRAMES.length>0;)OPEN_TRACK_FRAMES.pop();if(CURRENT_TRACKER=null,true/* DEBUG */)return unwrap(debug.resetTrackingTransaction)();}function isTracking(){return null!==CURRENT_TRACKER;}function consumeTag(tag){null!==CURRENT_TRACKER&&CURRENT_TRACKER.add(tag);}const FN=Symbol(\"FN\"),LAST_VALUE=Symbol(\"LAST_VALUE\"),TAG=Symbol(\"TAG\"),SNAPSHOT=Symbol(\"SNAPSHOT\"),DEBUG_LABEL=Symbol(\"DEBUG_LABEL\");function createCache(fn,debuggingLabel){if(\"function\"!=typeof fn)throw new Error(`createCache() must be passed a function as its first parameter. Called with: ${String(fn)}`);let cache={[FN]:fn,[LAST_VALUE]:void 0,[TAG]:void 0,[SNAPSHOT]:-1};return cache[DEBUG_LABEL]=debuggingLabel,cache;}function getValue(cache){assertCache(cache,\"getValue\");let fn=cache[FN],tag=cache[TAG],snapshot=cache[SNAPSHOT];if(void 0!==tag&&validateTag(tag,snapshot))consumeTag(tag);else{beginTrackFrame();try{cache[LAST_VALUE]=fn();}finally{tag=endTrackFrame(),cache[TAG]=tag,cache[SNAPSHOT]=valueForTag(tag),consumeTag(tag);}}return cache[LAST_VALUE];}function isConst(cache){assertCache(cache,\"isConst\");let tag=cache[TAG];// replace this with `expect` when we can\nreturn function(tag,cache){if(void 0===tag)throw new Error(`isConst() can only be used on a cache once getValue() has been called at least once. Called with cache function:\\n\\n${String(cache[FN])}`);}//////////\n// Legacy tracking APIs\n// track() shouldn't be necessary at all in the VM once the autotracking\n// refactors are merged, and we should generally be moving away from it. It may\n// be necessary in Ember for a while longer, but I think we'll be able to drop\n// it in favor of cache sooner rather than later.\n(tag,cache),isConstTag(tag);}function assertCache(value,fnName){if(\"object\"!=typeof value||!(FN in value))throw new Error(`${fnName}() can only be used on an instance of a cache created with createCache(). Called with: ${String(// eslint-disable-next-line @typescript-eslint/no-base-to-string -- @fixme\nvalue)}`);}function track(block,debugLabel){let tag;beginTrackFrame(debugLabel);try{block();}finally{tag=endTrackFrame();}return tag;}// untrack() is currently mainly used to handle places that were previously not\n// tracked, and that tracking now would cause backtracking rerender assertions.\n// I think once we move everyone forward onto modern APIs, we'll probably be\n// able to remove it, but I'm not sure yet.\nfunction untrack(callback){beginUntrackFrame();try{return callback();}finally{endUntrackFrame();}}function trackedData(key,initializer){let values=new WeakMap(),hasInitializer=\"function\"==typeof initializer;return{getter:function(self){let value;// If the field has never been initialized, we should initialize it\nreturn consumeTag(tagFor(self,key)),hasInitializer&&!values.has(self)?(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nvalue=initializer.call(self),values.set(self,value)):value=values.get(self),value;},setter:function(self,value){dirtyTagFor(self,key),values.set(self,value);}};}const GLIMMER_VALIDATOR_REGISTRATION=Symbol(\"GLIMMER_VALIDATOR_REGISTRATION\");if(Reflect.has(globalThis,GLIMMER_VALIDATOR_REGISTRATION))throw new Error(\"The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.\");Reflect.set(globalThis,GLIMMER_VALIDATOR_REGISTRATION,true);const glimmerValidator=/*#__PURE__*/Object.defineProperty({__proto__:null,get ALLOW_CYCLES(){return ALLOW_CYCLES;},COMPUTE,CONSTANT,CONSTANT_TAG,CURRENT_TAG,CurrentTag,INITIAL,VOLATILE,VOLATILE_TAG,VolatileTag,beginTrackFrame,beginUntrackFrame,bump,combine,consumeTag,createCache,createTag,createUpdatableTag,debug,dirtyTag:DIRTY_TAG$1,dirtyTagFor,endTrackFrame,endUntrackFrame,getValue,isConst,isConstTag,isTracking,resetTracking,tagFor,tagMetaFor,track,trackedData,untrack,updateTag:UPDATE_TAG,validateTag,valueForTag},Symbol.toStringTag,{value:'Module'});const REFERENCE=Symbol(\"REFERENCE\");class ReferenceImpl{constructor(type){this.tag=null,this.lastRevision=INITIAL,this.children=null,this.compute=null,this.update=null,this[REFERENCE]=type;}}function createPrimitiveRef(value){const ref=new ReferenceImpl(2);return ref.tag=CONSTANT_TAG,ref.lastValue=value,ref.debugLabel=String(value),ref;}const UNDEFINED_REFERENCE=createPrimitiveRef(void 0),NULL_REFERENCE=createPrimitiveRef(null),TRUE_REFERENCE=createPrimitiveRef(true),FALSE_REFERENCE=createPrimitiveRef(false);function createConstRef(value,debugLabel){const ref=new ReferenceImpl(0);return ref.lastValue=value,ref.tag=CONSTANT_TAG,ref.debugLabel=debugLabel,ref;}function createUnboundRef(value,debugLabel){const ref=new ReferenceImpl(2);return ref.lastValue=value,ref.tag=CONSTANT_TAG,ref.debugLabel=debugLabel,ref;}function createComputeRef(compute,update=null,debugLabel=\"unknown\"){const ref=new ReferenceImpl(1);return ref.compute=compute,ref.update=update,ref.debugLabel=`(result of a \\`${debugLabel}\\` helper)`,ref;}function createReadOnlyRef(ref){return isUpdatableRef(ref)?createComputeRef(()=>valueForRef(ref),null,ref.debugLabel):ref;}function isInvokableRef(ref){return 3===ref[REFERENCE];}function createInvokableRef(inner){const ref=createComputeRef(()=>valueForRef(inner),value=>updateRef(inner,value));return ref.debugLabel=inner.debugLabel,ref[REFERENCE]=3,ref;}function isConstRef(_ref){return _ref.tag===CONSTANT_TAG;}function isUpdatableRef(_ref){return null!==_ref.update;}function valueForRef(_ref){const ref=_ref;let{tag:tag}=ref;if(tag===CONSTANT_TAG)return ref.lastValue;const{lastRevision:lastRevision}=ref;let lastValue;if(null!==tag&&validateTag(tag,lastRevision))lastValue=ref.lastValue;else{const{compute:compute}=ref,newTag=track(()=>{// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlastValue=ref.lastValue=compute();},ref.debugLabel);tag=ref.tag=newTag,ref.lastRevision=valueForTag(newTag);}return consumeTag(tag),lastValue;}function updateRef(_ref,value){(0,_ref.update)(value);}function childRefFor(_parentRef,path){const parentRef=_parentRef,type=parentRef[REFERENCE];let child,children=parentRef.children;if(null===children)children=parentRef.children=new Map();else{const next=children.get(path);if(next)return next;}if(2===type){const parent=valueForRef(parentRef);child=isDict(parent)?createUnboundRef(parent[path],`${parentRef.debugLabel}.${path}`):UNDEFINED_REFERENCE;}else child=createComputeRef(()=>{const parent=valueForRef(parentRef);if(isDict(parent))return getProp(parent,path);},val=>{const parent=valueForRef(parentRef);if(isDict(parent))return setProp(parent,path,val);}),child.debugLabel=`${parentRef.debugLabel}.${path}`;return children.set(path,child),child;}function childRefFromParts(root,parts){let reference=root;for(const part of parts)reference=childRefFor(reference,part);return reference;}let createDebugAliasRef;createDebugAliasRef=(debugLabel,inner)=>{const ref=createComputeRef(()=>valueForRef(inner),isUpdatableRef(inner)?value=>updateRef(inner,value):null);return ref[REFERENCE]=inner[REFERENCE],ref.debugLabel=debugLabel,ref;};const NULL_IDENTITY={},KEY=(_,index)=>index,INDEX=(_,index)=>String(index),IDENTITY=item=>null===item?NULL_IDENTITY:item;class WeakMapWithPrimitives{get weakMap(){return void 0===this._weakMap&&(this._weakMap=new WeakMap()),this._weakMap;}get primitiveMap(){return void 0===this._primitiveMap&&(this._primitiveMap=new Map()),this._primitiveMap;}set(key,value){isIndexable$2(key)?this.weakMap.set(key,value):this.primitiveMap.set(key,value);}get(key){return isIndexable$2(key)?this.weakMap.get(key):this.primitiveMap.get(key);}}const IDENTITIES=new WeakMapWithPrimitives();/**\n           * When iterating over a list, it's possible that an item with the same unique\n           * key could be encountered twice:\n           *\n           * ```js\n           * let arr = ['same', 'different', 'same', 'same'];\n           * ```\n           *\n           * In general, we want to treat these items as _unique within the list_. To do\n           * this, we track the occurences of every item as we iterate the list, and when\n           * an item occurs more than once, we generate a new unique key just for that\n           * item, and that occurence within the list. The next time we iterate the list,\n           * and encounter an item for the nth time, we can get the _same_ key, and let\n           * Glimmer know that it should reuse the DOM for the previous nth occurence.\n           */function uniqueKeyFor(keyFor){let seen=new WeakMapWithPrimitives();return(value,memo)=>{let key=keyFor(value,memo),count=seen.get(key)||0;return seen.set(key,count+1),0===count?key:function(value,count){let identities=IDENTITIES.get(value);void 0===identities&&(identities=[],IDENTITIES.set(value,identities));let identity=identities[count];return void 0===identity&&(identity={value:value,count:count},identities[count]=identity),identity;}(key,count);};}function createIteratorRef(listRef,key){return createComputeRef(()=>{// eslint-disable-next-line @typescript-eslint/no-explicit-any\nlet iterable=valueForRef(listRef),keyFor=function(key){switch(key){case\"@key\":return uniqueKeyFor(KEY);case\"@index\":return uniqueKeyFor(INDEX);case\"@identity\":return uniqueKeyFor(IDENTITY);default:return function(path){if(\"@\"===path[0])throw new Error(`invalid keypath: '${path}', valid keys: @index, @identity, or a path`);return uniqueKeyFor(item=>getPath$1(item,path));}(key);}}(key);if(Array.isArray(iterable))return new ArrayIterator$1(iterable,keyFor);let maybeIterator=toIterator$1(iterable);return null===maybeIterator?new ArrayIterator$1(EMPTY_ARRAY$4,()=>null):new IteratorWrapper(maybeIterator,keyFor);});}function createIteratorItemRef(_value){let value=_value,tag=createTag();return createComputeRef(()=>(consumeTag(tag),value),newValue=>{value!==newValue&&(value=newValue,DIRTY_TAG$1(tag));});}class IteratorWrapper{constructor(inner,keyFor){this.inner=inner,this.keyFor=keyFor;}isEmpty(){return this.inner.isEmpty();}next(){let nextValue=this.inner.next();return null!==nextValue&&(nextValue.key=this.keyFor(nextValue.value,nextValue.memo)),nextValue;}}let ArrayIterator$1=class ArrayIterator{constructor(iterator,keyFor){this.iterator=iterator,this.keyFor=keyFor,this.pos=0,0===iterator.length?this.current={kind:\"empty\"}:this.current={kind:\"first\",value:iterator[this.pos]};}isEmpty(){return\"empty\"===this.current.kind;}next(){let value,current=this.current;if(\"first\"===current.kind)this.current={kind:\"progress\"},value=current.value;else{if(this.pos>=this.iterator.length-1)return null;value=this.iterator[++this.pos];}let{keyFor:keyFor}=this;return{key:keyFor(value,this.pos),value:value,memo:this.pos};}};const glimmerReference=/*#__PURE__*/Object.defineProperty({__proto__:null,FALSE_REFERENCE,NULL_REFERENCE,REFERENCE,TRUE_REFERENCE,UNDEFINED_REFERENCE,childRefFor,childRefFromParts,createComputeRef,createConstRef,get createDebugAliasRef(){return createDebugAliasRef;},createInvokableRef,createIteratorItemRef,createIteratorRef,createPrimitiveRef,createReadOnlyRef,createUnboundRef,isConstRef,isInvokableRef,isUpdatableRef,updateRef,valueForRef},Symbol.toStringTag,{value:'Module'});let debugToString$3;{let getFunctionName=fn=>{let functionName=fn.name;if(\"\"===functionName){let match=/function (\\w+)\\s*\\(/u.exec(String(fn));functionName=match&&match[1]||\"\";}return functionName.replace(/^bound /u,\"\");},getObjectName=obj=>{let name,className;// If the class has a decent looking name, and the `toString` is one of the\n// default Ember toStrings, replace the constructor portion of the toString\n// with the class name. We check the length of the class name to prevent doing\n// this when the value is minified.\nreturn\"function\"==typeof obj.constructor&&(className=getFunctionName(obj.constructor)),\"toString\"in obj&&obj.toString!==Object.prototype.toString&&obj.toString!==Function.prototype.toString&&(// eslint-disable-next-line @typescript-eslint/no-base-to-string\nname=obj.toString()),name&&/<.*:ember\\d+>/u.test(name)&&className&&\"_\"!==className[0]&&className.length>2&&\"Class\"!==className?name.replace(/<.*:/u,`<${className}:`):name||className;},getPrimitiveName=value=>String(value);debugToString$3=value=>\"function\"==typeof value?getFunctionName(value)||\"(unknown function)\":\"object\"==typeof value&&null!==value?getObjectName(value)||\"(unknown object)\":getPrimitiveName(value);}var debugToString$1$2=debugToString$3;const CUSTOM_TAG_FOR=new WeakMap();function getCustomTagFor(obj){return CUSTOM_TAG_FOR.get(obj);}function setCustomTagFor(obj,customTagFn){CUSTOM_TAG_FOR.set(obj,customTagFn);}function convertToInt(prop){if(\"symbol\"==typeof prop)return null;const num=Number(prop);return isNaN(num)?null:num%1==0?num:null;}// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- @fixme\nclass NamedArgsProxy{constructor(named){this.named=named;}// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- @fixme\nget(_target,prop){const ref=this.named[prop];if(void 0!==ref)return valueForRef(ref);}// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- @fixme\nhas(_target,prop){return prop in this.named;}ownKeys(){return Object.keys(this.named);}isExtensible(){return false;}// eslint-disable-next-line @typescript-eslint/no-empty-object-type -- @fixme\ngetOwnPropertyDescriptor(_target,prop){if(!(prop in this.named))throw new Error(`args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for \\`${String(prop)}\\``);return{enumerable:true,configurable:true};}}class PositionalArgsProxy{constructor(positional){this.positional=positional;}get(target,prop){let{positional:positional}=this;if(\"length\"===prop)return positional.length;const parsed=convertToInt(prop);return null!==parsed&&parsed<positional.length?valueForRef(positional[parsed]):target[prop];// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-member-access\n}isExtensible(){return false;}has(_target,prop){const parsed=convertToInt(prop);return null!==parsed&&parsed<this.positional.length;}}const argsProxyFor=(capturedArgs,type)=>{const{named:named,positional:positional}=capturedArgs,namedHandler=new NamedArgsProxy(named),positionalHandler=new PositionalArgsProxy(positional),namedTarget=Object.create(null);{const setHandler=function(_target,prop){throw new Error(`You attempted to set ${String(prop)} on the arguments of a component, helper, or modifier. Arguments are immutable and cannot be updated directly; they always represent the values that are passed down. If you want to set default values, you should use a getter and local tracked state instead.`);},forInDebugHandler=()=>{throw new Error(`Object.keys() was called on the positional arguments array for a ${type}, which is not supported. This function is a low-level function that should not need to be called for positional argument arrays. You may be attempting to iterate over the array using for...in instead of for...of.`);};namedHandler.set=setHandler,positionalHandler.set=setHandler,positionalHandler.ownKeys=forInDebugHandler;}// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nconst namedProxy=new Proxy(namedTarget,namedHandler),positionalProxy=new Proxy([],positionalHandler);// eslint-disable-next-line @typescript-eslint/no-unsafe-argument\nreturn setCustomTagFor(namedProxy,(_obj,key)=>function(namedArgs,key){return track(()=>{key in namedArgs&&// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nvalueForRef(namedArgs[key]);});}(named,key)),setCustomTagFor(positionalProxy,(_obj,key)=>function(positionalArgs,key){return track(()=>{\"[]\"===key&&// consume all of the tags in the positional array\npositionalArgs.forEach(valueForRef);const parsed=convertToInt(key);null!==parsed&&parsed<positionalArgs.length&&// consume the tag of the referenced index\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nvalueForRef(positionalArgs[parsed]);});}(positional,key)),{// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nnamed:namedProxy,positional:positionalProxy};},FROM_CAPABILITIES=new WeakSet();function buildCapabilities(capabilities){return(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nFROM_CAPABILITIES.add(capabilities),Object.freeze(capabilities)),capabilities;}const EMPTY=InternalComponentCapabilities.Empty;/**\n           * Converts a ComponentCapabilities object into a 32-bit integer representation.\n           */function capabilityFlagsFrom(capabilities){return EMPTY|capability(capabilities,\"dynamicLayout\")|capability(capabilities,\"dynamicTag\")|capability(capabilities,\"prepareArgs\")|capability(capabilities,\"createArgs\")|capability(capabilities,\"attributeHook\")|capability(capabilities,\"elementHook\")|capability(capabilities,\"dynamicScope\")|capability(capabilities,\"createCaller\")|capability(capabilities,\"updateHook\")|capability(capabilities,\"createInstance\")|capability(capabilities,\"wrapped\")|capability(capabilities,\"willDestroy\")|capability(capabilities,\"hasSubOwner\");}function capability(capabilities,capability){return capabilities[capability]?InternalComponentCapabilities[capability]:EMPTY;}function managerHasCapability(_manager,capabilities,capability){return!!(capabilities&capability);}function hasCapability(capabilities,capability){return!!(capabilities&capability);}function helperCapabilities(managerAPI,options={}){if(debugAssert(// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- JS-only check\n\"3.23\"===managerAPI,()=>`Invalid helper manager compatibility specified; you specified ${managerAPI}, but only '3.23' is supported.`),!options.hasValue&&!options.hasScheduledEffect||options.hasValue&&options.hasScheduledEffect)throw new Error(\"You must pass either the `hasValue` OR the `hasScheduledEffect` capability when defining a helper manager. Passing neither, or both, is not permitted.\");if(options.hasScheduledEffect)throw new Error(\"The `hasScheduledEffect` capability has not yet been implemented for helper managers. Please pass `hasValue` instead\");return buildCapabilities({hasValue:Boolean(options.hasValue),hasDestroyable:Boolean(options.hasDestroyable),hasScheduledEffect:Boolean(options.hasScheduledEffect)});}////////////\nfunction hasValue(manager){return manager.capabilities.hasValue;}function hasDestroyable(manager){return manager.capabilities.hasDestroyable;}////////////\nclass CustomHelperManager{constructor(factory){this.factory=factory,this.helperManagerDelegates=new WeakMap(),this.undefinedDelegate=null;}getDelegateForOwner(owner){let delegate=this.helperManagerDelegates.get(owner);if(void 0===delegate){let{factory:factory}=this;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nif(delegate=factory(owner),!FROM_CAPABILITIES.has(delegate.capabilities))// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\nthrow new Error(`Custom helper managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.23')\\` (imported via \\`import { capabilities } from '@ember/helper';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);this.helperManagerDelegates.set(owner,delegate);}return delegate;}getDelegateFor(owner){if(void 0===owner){let{undefinedDelegate:undefinedDelegate}=this;if(null===undefinedDelegate){let{factory:factory}=this;this.undefinedDelegate=undefinedDelegate=factory(void 0);}return undefinedDelegate;}return this.getDelegateForOwner(owner);}getHelper(definition){return(capturedArgs,owner)=>{let manager=this.getDelegateFor(owner);const args=argsProxyFor(capturedArgs,\"helper\"),bucket=manager.createHelper(definition,args);if(hasValue(manager)){let cache=createComputeRef(()=>manager.getValue(bucket),null,manager.getDebugName&&manager.getDebugName(definition));return hasDestroyable(manager)&&associateDestroyableChild(cache,manager.getDestroyable(bucket)),cache;}if(hasDestroyable(manager)){let ref=createConstRef(void 0,manager.getDebugName?.(definition)??\"unknown helper\");return associateDestroyableChild(ref,manager.getDestroyable(bucket)),ref;}return UNDEFINED_REFERENCE;};}}class FunctionHelperManager{createHelper(fn,args){return{fn:fn,args:args};}getValue({fn:fn,args:args}){return Object.keys(args.named).length>0?fn(...args.positional,args.named):fn(...args.positional);}getDebugName(fn){return fn.name?`(helper function ${fn.name})`:\"(anonymous helper function)\";}constructor(){this.capabilities=buildCapabilities({hasValue:true,hasDestroyable:false,hasScheduledEffect:false});}}const COMPONENT_MANAGERS=new WeakMap(),MODIFIER_MANAGERS=new WeakMap(),HELPER_MANAGERS=new WeakMap(),getPrototypeOf$1=Object.getPrototypeOf;function setManager(map,manager,obj){return debugAssert(// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- JS-only check\nnull!==obj&&(\"object\"==typeof obj||\"function\"==typeof obj),// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n`Attempted to set a manager on a non-object value. Managers can only be associated with objects or functions. Value was ${debugToString$1$2(obj)}`),debugAssert(!map.has(obj),`Attempted to set the same type of manager multiple times on a value. You can only associate one manager of each type with a given value. Value was ${debugToString$1$2(obj)}`),map.set(obj,manager),obj;}function getManager(map,obj){let pointer=obj;for(;null!==pointer;){const manager=map.get(pointer);if(void 0!==manager)return manager;pointer=getPrototypeOf$1(pointer);}}///////////\nfunction setInternalModifierManager(manager,definition){return setManager(MODIFIER_MANAGERS,manager,definition);}function getInternalModifierManager(definition,isOptional){debugAssert(// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- JS-only check\n\"object\"==typeof definition&&null!==definition||\"function\"==typeof definition,()=>// eslint-disable-next-line @typescript-eslint/no-base-to-string -- @fixme\n`Attempted to use a value as a modifier, but it was not an object or function. Modifier definitions must be objects or functions with an associated modifier manager. The value was: ${definition}`);const manager=getManager(MODIFIER_MANAGERS,definition);return void 0===manager?(debugAssert(isOptional,// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n`Attempted to load a modifier, but there wasn't a modifier manager associated with the definition. The definition was: ${debugToString$1$2(definition)}`),null):manager;}function setInternalHelperManager(manager,definition){return setManager(HELPER_MANAGERS,manager,definition);}const DEFAULT_MANAGER=new CustomHelperManager(()=>new FunctionHelperManager());function getInternalHelperManager(definition,isOptional){debugAssert(// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- JS-only check\n\"object\"==typeof definition&&null!==definition||\"function\"==typeof definition,()=>// eslint-disable-next-line @typescript-eslint/no-base-to-string -- @fixme\n`Attempted to use a value as a helper, but it was not an object or function. Helper definitions must be objects or functions with an associated helper manager. The value was: ${definition}`);let manager=getManager(HELPER_MANAGERS,definition);// Functions are special-cased because functions are defined\n// as the \"default\" helper, per: https://github.com/emberjs/rfcs/pull/756\nif(void 0===manager&&\"function\"==typeof definition&&(manager=DEFAULT_MANAGER),manager)return manager;if(true===isOptional)return null;throw new Error(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n`Attempted to load a helper, but there wasn't a helper manager associated with the definition. The definition was: ${debugToString$1$2(definition)}`);}function setInternalComponentManager(factory,obj){return setManager(COMPONENT_MANAGERS,factory,obj);}function getInternalComponentManager(definition,isOptional){debugAssert(// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- JS-only check\n\"object\"==typeof definition&&null!==definition||\"function\"==typeof definition,()=>// eslint-disable-next-line @typescript-eslint/no-base-to-string -- @fixme\n`Attempted to use a value as a component, but it was not an object or function. Component definitions must be objects or functions with an associated component manager. The value was: ${definition}`);const manager=getManager(COMPONENT_MANAGERS,definition);return void 0===manager?(debugAssert(isOptional,()=>// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n`Attempted to load a component, but there wasn't a component manager associated with the definition. The definition was: ${debugToString$1$2(definition)}`),null):manager;}///////////\nfunction hasInternalComponentManager(definition){return void 0!==getManager(COMPONENT_MANAGERS,definition);}function hasInternalHelperManager(definition){return function(definition){return\"function\"==typeof definition;}(definition)||void 0!==getManager(HELPER_MANAGERS,definition);}function hasInternalModifierManager(definition){return void 0!==getManager(MODIFIER_MANAGERS,definition);}const CAPABILITIES$5={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:true,attributeHook:false,elementHook:false,createCaller:false,dynamicScope:true,updateHook:true,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false};function componentCapabilities(managerAPI,options={}){if(\"3.13\"!==managerAPI)throw new Error(\"Invalid component manager compatibility specified\");let updateHook=Boolean(options.updateHook);return buildCapabilities({asyncLifeCycleCallbacks:Boolean(options.asyncLifecycleCallbacks),destructor:Boolean(options.destructor),updateHook:updateHook});}function hasAsyncLifeCycleCallbacks(delegate){return delegate.capabilities.asyncLifeCycleCallbacks;}function hasUpdateHook(delegate){return delegate.capabilities.updateHook;}/**\n            The CustomComponentManager allows addons to provide custom component\n            implementations that integrate seamlessly into Ember. This is accomplished\n            through a delegate, registered with the custom component manager, which\n            implements a set of hooks that determine component behavior.\n\n            To create a custom component manager, instantiate a new CustomComponentManager\n            class and pass the delegate as the first argument:\n\n            ```js\n            let manager = new CustomComponentManager({\n              // ...delegate implementation...\n            });\n            ```\n\n            ## Delegate Hooks\n\n            Throughout the lifecycle of a component, the component manager will invoke\n            delegate hooks that are responsible for surfacing those lifecycle changes to\n            the end developer.\n\n            * `create()` - invoked when a new instance of a component should be created\n            * `update()` - invoked when the arguments passed to a component change\n            * `getContext()` - returns the object that should be\n          */class CustomComponentManager{constructor(factory){this.factory=factory,this.componentManagerDelegates=new WeakMap();}getDelegateFor(owner){let{componentManagerDelegates:componentManagerDelegates}=this,delegate=componentManagerDelegates.get(owner);if(void 0===delegate){let{factory:factory}=this;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nif(delegate=factory(owner),!FROM_CAPABILITIES.has(delegate.capabilities))// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\nthrow new Error(`Custom component managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.13')\\` (imported via \\`import { capabilities } from '@ember/component';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);componentManagerDelegates.set(owner,delegate);}return delegate;}create(owner,definition,vmArgs){let delegate=this.getDelegateFor(owner),args=argsProxyFor(vmArgs.capture(),\"component\"),component=delegate.createComponent(definition,args);return new CustomComponentState(component,delegate,args);}getDebugName(definition){// eslint-disable-next-line @typescript-eslint/no-base-to-string\nreturn\"function\"==typeof definition?definition.name:definition.toString();}update(bucket){let{delegate:delegate}=bucket;if(hasUpdateHook(delegate)){let{component:component,args:args}=bucket;delegate.updateComponent(component,args);}}didCreate({component:component,delegate:delegate}){hasAsyncLifeCycleCallbacks(delegate)&&delegate.didCreateComponent(component);}didUpdate({component:component,delegate:delegate}){(function(delegate){return hasAsyncLifeCycleCallbacks(delegate)&&hasUpdateHook(delegate);})(delegate)&&delegate.didUpdateComponent(component);}didRenderLayout(){}didUpdateLayout(){}getSelf({component:component,delegate:delegate}){return createConstRef(delegate.getContext(component),\"this\");}getDestroyable(bucket){const{delegate:delegate}=bucket;if(function(delegate){return delegate.capabilities.destructor;}(delegate)){const{component:component}=bucket;return registerDestructor$1(bucket,()=>delegate.destroyComponent(component)),bucket;}return null;}getCapabilities(){return CAPABILITIES$5;}}/**\n           * Stores internal state about a component instance after it's been created.\n           */class CustomComponentState{constructor(component,delegate,args){this.component=component,this.delegate=delegate,this.args=args;}}function modifierCapabilities(managerAPI,optionalFeatures={}){return debugAssert(\"3.22\"===managerAPI,()=>`Invalid modifier manager compatibility specified; you specified ${managerAPI}, but only '3.22' is supported.`),buildCapabilities({disableAutoTracking:Boolean(optionalFeatures.disableAutoTracking)});}/**\n            The CustomModifierManager allows addons to provide custom modifier\n            implementations that integrate seamlessly into Ember. This is accomplished\n            through a delegate, registered with the custom modifier manager, which\n            implements a set of hooks that determine modifier behavior.\n            To create a custom modifier manager, instantiate a new CustomModifierManager\n            class and pass the delegate as the first argument:\n\n            ```js\n            let manager = new CustomModifierManager({\n              // ...delegate implementation...\n            });\n            ```\n\n            ## Delegate Hooks\n\n            Throughout the lifecycle of a modifier, the modifier manager will invoke\n            delegate hooks that are responsible for surfacing those lifecycle changes to\n            the end developer.\n            * `createModifier()` - invoked when a new instance of a modifier should be created\n            * `installModifier()` - invoked when the modifier is installed on the element\n            * `updateModifier()` - invoked when the arguments passed to a modifier change\n            * `destroyModifier()` - invoked when the modifier is about to be destroyed\n          */class CustomModifierManager{constructor(factory){this.factory=factory,this.componentManagerDelegates=new WeakMap();}getDelegateFor(owner){let{componentManagerDelegates:componentManagerDelegates}=this,delegate=componentManagerDelegates.get(owner);if(void 0===delegate){let{factory:factory}=this;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nif(delegate=factory(owner),!FROM_CAPABILITIES.has(delegate.capabilities))// TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\nthrow new Error(`Custom modifier managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.22')\\` (imported via \\`import { capabilities } from '@ember/modifier';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);componentManagerDelegates.set(owner,delegate);}return delegate;}create(owner,element,definition,capturedArgs){let state,delegate=this.getDelegateFor(owner),args=argsProxyFor(capturedArgs,\"modifier\"),instance=delegate.createModifier(definition,args);return state={tag:createUpdatableTag(),element:element,delegate:delegate,args:args,modifier:instance},registerDestructor$1(state,()=>delegate.destroyModifier(instance,args)),state;}getDebugName(definition){return\"function\"==typeof definition?definition.name||definition.toString():\"<unknown>\";}getDebugInstance({modifier:modifier}){return modifier;}getTag({tag:tag}){return tag;}install({element:element,args:args,modifier:modifier,delegate:delegate}){let{capabilities:capabilities}=delegate;capabilities.disableAutoTracking?untrack(()=>delegate.installModifier(modifier,element,args)):delegate.installModifier(modifier,element,args);}update({args:args,modifier:modifier,delegate:delegate}){let{capabilities:capabilities}=delegate;capabilities.disableAutoTracking?untrack(()=>delegate.updateModifier(modifier,args)):delegate.updateModifier(modifier,args);}getDestroyable(state){return state;}}function setComponentManager$1(factory,obj){return setInternalComponentManager(new CustomComponentManager(factory),obj);}function setModifierManager$1(factory,obj){return setInternalModifierManager(new CustomModifierManager(factory),obj);}function setHelperManager$1(factory,obj){return setInternalHelperManager(new CustomHelperManager(factory),obj);}const TEMPLATES$1=new WeakMap(),getPrototypeOf$2=Reflect.getPrototypeOf;function setComponentTemplate(factory,obj){if(null===obj||\"object\"!=typeof obj&&\"function\"!=typeof obj)// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthrow new Error(`Cannot call \\`setComponentTemplate\\` on \\`${debugToString$1$2(obj)}\\``);if(TEMPLATES$1.has(obj))throw new Error(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${debugToString$1$2(obj)}\\`)`);return TEMPLATES$1.set(obj,factory),obj;}function getComponentTemplate(obj){let pointer=obj;for(;null!==pointer;){let template=TEMPLATES$1.get(pointer);if(void 0!==template)return template;pointer=getPrototypeOf$2(pointer);}}const glimmerManager=/*#__PURE__*/Object.defineProperty({__proto__:null,CustomComponentManager,CustomHelperManager,CustomModifierManager,capabilityFlagsFrom,componentCapabilities,getComponentTemplate,getCustomTagFor,getInternalComponentManager,getInternalHelperManager,getInternalModifierManager,hasCapability,hasDestroyable,hasInternalComponentManager,hasInternalHelperManager,hasInternalModifierManager,hasValue,helperCapabilities,managerHasCapability,modifierCapabilities,setComponentManager:setComponentManager$1,setComponentTemplate,setCustomTagFor,setHelperManager:setHelperManager$1,setInternalComponentManager,setInternalHelperManager,setInternalModifierManager,setModifierManager:setModifierManager$1},Symbol.toStringTag,{value:'Module'});let debugToString$2;{let getFunctionName=fn=>{let functionName=fn.name;if(\"\"===functionName){let match=/function (\\w+)\\s*\\(/u.exec(String(fn));functionName=match&&match[1]||\"\";}return functionName.replace(/^bound /u,\"\");},getObjectName=obj=>{let name,className;// If the class has a decent looking name, and the `toString` is one of the\n// default Ember toStrings, replace the constructor portion of the toString\n// with the class name. We check the length of the class name to prevent doing\n// this when the value is minified.\nreturn\"function\"==typeof obj.constructor&&(className=getFunctionName(obj.constructor)),\"toString\"in obj&&obj.toString!==Object.prototype.toString&&obj.toString!==Function.prototype.toString&&(// eslint-disable-next-line @typescript-eslint/no-base-to-string\nname=obj.toString()),name&&/<.*:ember\\d+>/u.test(name)&&className&&\"_\"!==className[0]&&className.length>2&&\"Class\"!==className?name.replace(/<.*:/u,`<${className}:`):name||className;},getPrimitiveName=value=>String(value);debugToString$2=value=>\"function\"==typeof value?getFunctionName(value)||\"(unknown function)\":\"object\"==typeof value&&null!==value?getObjectName(value)||\"(unknown object)\":getPrimitiveName(value);}var debugToString$1$1=debugToString$2;function encodeImmediate(num){return(num|=0)<0?function(num){return-536870913&num;}(num):function(num){return~num;}(num);}let debugCompiler;function makeResolutionTypeVerifier(typeToVerify){return opcode=>{if(!function(opcode){return Array.isArray(opcode)&&2===opcode.length;}(opcode))return false;let type=opcode[0];return type===opcodes.GetStrictKeyword||type===opcodes.GetLexicalSymbol||type===typeToVerify;};}[1,-1].forEach(x=>{return num=encodeImmediate(x),(num|=0)>-536870913?function(num){return~num;}(num):function(num){return 536870912|num;}(num);var num;});const isGetFreeComponent=makeResolutionTypeVerifier(opcodes.GetFreeAsComponentHead),isGetFreeModifier=makeResolutionTypeVerifier(opcodes.GetFreeAsModifierHead),isGetFreeHelper=makeResolutionTypeVerifier(opcodes.GetFreeAsHelperHead),isGetFreeComponentOrHelper=makeResolutionTypeVerifier(opcodes.GetFreeAsComponentOrHelperHead);function assertResolverInvariants(meta){{if(!meta.symbols.upvars)throw new Error(\"Attempted to resolve a component, helper, or modifier, but no free vars were found\");if(!meta.owner)throw new Error(\"Attempted to resolve a component, helper, or modifier, but no owner was associated with the template it was being resolved from\");}return meta;}/**\n           * <Foo/>\n           * <Foo></Foo>\n           * <Foo @arg={{true}} />\n           */function lookupBuiltInHelper(expr,resolver,meta,constants,type){let{symbols:{upvars:upvars}}=assertResolverInvariants(meta),name=upvars[expr[1]],helper=resolver?.lookupBuiltInHelper?.(name)??null;if(null===helper)// Keyword helper did not exist, which means that we're attempting to use a\n// value of some kind that is not in scope\nthrow meta.isStrictMode,new Error(`Attempted to resolve a ${type} in a strict mode template, but that value was not in scope: ${// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nmeta.symbols.upvars[expr[1]]??\"{unknown variable}\"}`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreturn constants.helper(helper,name);}function labelOperand(value){return{type:1,value:value};}function stdlibOperand(value){return{type:5,value:value};}function symbolTableOperand(value){return{type:7,value:value};}function layoutOperand(value){return{type:8,value:value};}class Labels{label(name,index){this.labels[name]=index;}target(at,target){this.targets.push({at:at,target:target});}patch(heap){let{targets:targets,labels:labels}=this;for(const{at:at,target:target}of targets){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet address=labels[target]-at;heap.getbyaddr(at),heap.setbyaddr(at,address);}}constructor(){this.labels=dict(),this.targets=[];}}function encodeOp(encoder,context,meta,op){let{program:{constants:constants},resolver:resolver}=context;if(function(op){return op<1e3;}(op[0])){let[type,...operands]=op;encoder.push(constants,type,...operands);}else switch(op[0]){case 1e3:return encoder.label(op[1]);case 1001:return encoder.startLabels();case 1002:return encoder.stopLabels();case 1004:return function(resolver,constants,meta,[,expr,then]){isGetFreeComponent(expr);let type=expr[0];if(expr[0]===opcodes.GetStrictKeyword)throw meta.isStrictMode,new Error(`Attempted to resolve a component in a strict mode template, but that value was not in scope: ${// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nmeta.symbols.upvars[expr[1]]??\"{unknown variable}\"}`);if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,owner:owner,symbols:{lexical:lexical}}=meta,definition=scopeValues[expr[1]];then(constants.component(definition,owner,false,lexical?.at(expr[1])));}else{let{symbols:{upvars:upvars},owner:owner}=assertResolverInvariants(meta),name=upvars[expr[1]],definition=resolver?.lookupComponent?.(name,owner)??null;if(\"object\"!=typeof definition||null===definition)throw meta.isStrictMode,new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthen(constants.resolvedComponent(definition,name));}}/**\n                * (helper)\n                * (helper arg)\n                */(resolver,constants,meta,op);case 1003:/**\n                * <div {{modifier}}/>\n                * <div {{modifier arg}}/>\n                * <Foo {{modifier}}/>\n                */return function(resolver,constants,meta,[,expr,then]){isGetFreeModifier(expr);let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,symbols:{lexical:lexical}}=meta,definition=scopeValues[expr[1]];then(constants.modifier(definition,lexical?.at(expr[1])??void 0));}else if(type===opcodes.GetStrictKeyword){let{symbols:{upvars:upvars}}=assertResolverInvariants(meta),name=upvars[expr[1]],modifier=resolver?.lookupBuiltInModifier?.(name)??null;if(null===modifier)throw meta.isStrictMode,new Error(`Attempted to resolve a modifier in a strict mode template, but it was not in scope: ${name}`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthen(constants.modifier(modifier,name));}else{let{symbols:{upvars:upvars},owner:owner}=assertResolverInvariants(meta),name=upvars[expr[1]],modifier=resolver?.lookupModifier?.(name,owner)??null;if(null===modifier)throw meta.isStrictMode,new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a modifier, but nothing was found.`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthen(constants.modifier(modifier));}}/**\n                * {{component-or-helper arg}}\n                */(resolver,constants,meta,op);case 1005:return function(resolver,constants,meta,[,expr,then]){isGetFreeHelper(expr);let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues}=meta,definition=scopeValues[expr[1]];then(constants.helper(definition));}else if(type===opcodes.GetStrictKeyword)then(lookupBuiltInHelper(expr,resolver,meta,constants,\"helper\"));else{let{symbols:{upvars:upvars},owner:owner}=assertResolverInvariants(meta),name=upvars[expr[1]],helper=resolver?.lookupHelper?.(name,owner)??null;if(null===helper)throw meta.isStrictMode,new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a helper, but nothing was found.`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthen(constants.helper(helper,name));}}(resolver,constants,meta,op);case 1007:return function(resolver,constants,meta,[,expr,{ifComponent:ifComponent,ifHelper:ifHelper}]){isGetFreeComponentOrHelper(expr);let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,owner:owner,symbols:{lexical:lexical}}=meta,definition=scopeValues[expr[1]],component=constants.component(definition,owner,true,lexical?.at(expr[1]));if(null!==component)return void ifComponent(component);let helper=constants.helper(definition,null,true);if(null===helper)throw meta.isStrictMode,new Error(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n`Attempted to use a value as either a component or helper, but it did not have a component manager or helper manager associated with it. The value was: ${debugToString$1$1(definition)}`);ifHelper(helper);}else if(type===opcodes.GetStrictKeyword)ifHelper(lookupBuiltInHelper(expr,resolver,meta,constants,\"component or helper\"));else{let{symbols:{upvars:upvars},owner:owner}=assertResolverInvariants(meta),name=upvars[expr[1]],definition=resolver?.lookupComponent?.(name,owner)??null;if(null!==definition)ifComponent(constants.resolvedComponent(definition,name));else{let helper=resolver?.lookupHelper?.(name,owner)??null;if(null===helper)throw meta.isStrictMode,new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component or helper, but nothing was found.`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nifHelper(constants.helper(helper,name));}}}/**\n                * {{maybeHelperOrComponent}}\n                */(resolver,constants,meta,op);case 1008:return function(resolver,constants,meta,[,expr,{ifComponent:ifComponent,ifHelper:ifHelper,ifValue:ifValue}]){isGetFreeComponentOrHelper(expr);let type=expr[0];if(type===opcodes.GetLexicalSymbol){let{scopeValues:scopeValues,owner:owner,symbols:{lexical:lexical}}=meta,definition=scopeValues[expr[1]];if(\"function\"!=typeof definition&&(\"object\"!=typeof definition||null===definition))// The value is not an object, so it can't be a component or helper.\nreturn void ifValue(constants.value(definition));let component=constants.component(definition,owner,true,lexical?.at(expr[1]));if(null!==component)return void ifComponent(component);let helper=constants.helper(definition,null,true);if(null!==helper)return void ifHelper(helper);ifValue(constants.value(definition));}else if(type===opcodes.GetStrictKeyword)ifHelper(lookupBuiltInHelper(expr,resolver,meta,constants,\"value\"));else{let{symbols:{upvars:upvars},owner:owner}=assertResolverInvariants(meta),name=upvars[expr[1]],definition=resolver?.lookupComponent?.(name,owner)??null;if(null!==definition)return void ifComponent(constants.resolvedComponent(definition,name));let helper=resolver?.lookupHelper?.(name,owner)??null;null!==helper&&ifHelper(constants.helper(helper,name));}}(resolver,constants,meta,op);case 1010:{let[,freeVar,andThen]=op;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nandThen(meta.symbols.upvars[freeVar],meta.moduleName);break;}case 1011:{let[,valueIndex,then]=op,value=meta.scopeValues[valueIndex];then(constants.value(value));break;}default:throw new Error(`Unexpected high level opcode ${op[0]}`);}}class EncoderImpl{constructor(heap,meta,stdlib){this.heap=heap,this.meta=meta,this.stdlib=stdlib,this.labelsStack=new StackImpl(),this.encoder=new InstructionEncoderImpl([]),this.errors=[],this.handle=heap.malloc();}error(error){this.encoder.encode(30,0),this.errors.push(error);}commit(size){let handle=this.handle;return this.heap.pushMachine(5),this.heap.finishMalloc(handle,size),(list=this.errors)&&list.length>0?{errors:this.errors,handle:handle}:handle;var list;}push(constants,type,...args){let{heap:heap}=this;if(type>TYPE_SIZE)throw new Error(`Opcode type over 8-bits. Got ${type}.`);var value;let first=type|((value=type)>=0&&value<=15?MACHINE_MASK:0)|args.length<<ARG_SHIFT;heap.pushRaw(first);for(let i=0;i<args.length;i++){let op=args[i];heap.pushRaw(this.operand(constants,op));}}operand(constants,operand){if(\"number\"==typeof operand)return operand;if(\"object\"==typeof operand&&null!==operand){if(Array.isArray(operand))return constants.array(operand);switch(operand.type){case 1:return this.currentLabels.target(this.heap.offset,operand.value),-1;case 2:return constants.value(this.meta.isStrictMode);case 3:case 6:case 7:case 8:return constants.value(operand.value);case 4:return constants.value((block=operand.value,containing=this.meta,new CompilableTemplateImpl(block[0],containing,{parameters:block[1]||EMPTY_ARRAY$4})));case 5:return this.stdlib[operand.value];}}var block,containing;return constants.value(operand);}get currentLabels(){return this.labelsStack.current;}label(name){this.currentLabels.label(name,this.heap.offset+1);}startLabels(){this.labelsStack.push(new Labels());}stopLabels(){this.labelsStack.pop().patch(this.heap);}}function templateCompilationContext(evaluation,meta){return{evaluation:evaluation,encoder:new EncoderImpl(evaluation.program.heap,meta,evaluation.stdlib),meta:meta};}class Compilers{add(name,func){this.names[name]=this.funcs.push(func)-1;}compile(op,sexp){let name=sexp[0],index=this.names[name],func=this.funcs[index];sexp[0],func(op,sexp);}constructor(){this.names={},// eslint-disable-next-line @typescript-eslint/no-explicit-any\nthis.funcs=[];}}const EXPRESSIONS=new Compilers();function withPath(op,path){if(void 0!==path&&0!==path.length)for(let i=0;i<path.length;i++)op(22,path[i]);}function expr(op,expression){Array.isArray(expression)?EXPRESSIONS.compile(op,expression):(PushPrimitive(op,expression),op(31));}/**\n           * Push a reference onto the stack corresponding to a statically known primitive\n           * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n           */function PushPrimitiveReference(op,value){PushPrimitive(op,value),op(31);}/**\n           * Push an encoded representation of a JavaScript primitive on the stack\n           *\n           * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n           */function PushPrimitive(op,primitive){let p=primitive;var value;\"number\"==typeof p&&(p=(value=p)%1==0&&value<=536870911&&value>=-536870912?encodeImmediate(p):function(value){return{type:6,value:value};}(p)),op(30,p);}/**\n           * Invoke a foreign function (a \"helper\") based on a statically known handle\n           *\n           * @param op The op creation function\n           * @param handle A handle\n           * @param positional An optional list of expressions to compile\n           * @param named An optional list of named arguments (name + expression) to compile\n           */function Call(op,handle,positional,named){op(0),SimpleArgs(op,positional,named,false),op(16,handle),op(1),op(36,$v0);}/**\n           * Invoke a foreign function (a \"helper\") based on a dynamically loaded definition\n           *\n           * @param op The op creation function\n           * @param positional An optional list of expressions to compile\n           * @param named An optional list of named arguments (name + expression) to compile\n           */function CallDynamic(op,positional,named,append){op(0),SimpleArgs(op,positional,named,false),op(33,$fp,1),op(107),append?(op(36,$v0),append(),op(1),op(34,1)):(op(1),op(34,1),op(36,$v0));}/**\n           * Evaluate statements in the context of new dynamic scope entries. Move entries from the\n           * stack into named entries in the dynamic scope, then evaluate the statements, then pop\n           * the dynamic scope\n           *\n           * @param names a list of dynamic scope names\n           * @param block a function that returns a list of statements to evaluate\n           */function Curry(op,type,definition,positional,named){op(0),SimpleArgs(op,positional,named,false),op(86),expr(op,definition),op(77,type,{type:2,value:void 0}),op(1),op(36,$v0);}/**\n           * Yield to a block located at a particular symbol location.\n           *\n           * @param to the symbol containing the block to yield to\n           * @param params optional block parameters to yield to the block\n           */function YieldBlock(op,to,positional){SimpleArgs(op,positional,null,true),op(23,to),op(24),op(61),op(64),op(40),op(1);}/**\n           * Push an (optional) yieldable block onto the stack. The yieldable block must be known\n           * statically at compile time.\n           *\n           * @param block An optional Compilable block\n           */function PushYieldableBlock(op,block){!function(op,parameters){null!==parameters?op(63,symbolTableOperand({parameters:parameters})):PushPrimitive(op,null);}(op,block&&block[1]),op(62),PushCompilable(op,block);}/**\n           * Invoke a block that is known statically at compile time.\n           *\n           * @param block a Compilable block\n           */function InvokeStaticBlock(op,block){op(0),PushCompilable(op,block),op(61),op(2),op(1);}/**\n           * Invoke a static block, preserving some number of stack entries for use in\n           * updating.\n           *\n           * @param block A compilable block\n           * @param callerCount A number of stack entries to preserve\n           */function InvokeStaticBlockWithStack(op,block,callerCount){let parameters=block[1],calleeCount=parameters.length,count=Math.min(callerCount,calleeCount);if(0!==count){if(op(0),count){op(39);for(let i=0;i<count;i++)op(33,$fp,callerCount-i),op(19,parameters[i]);}PushCompilable(op,block),op(61),op(2),count&&op(40),op(1);}else InvokeStaticBlock(op,block);}function PushCompilable(op,_block){null===_block?PushPrimitive(op,null):op(28,{type:4,value:_block});}/**\n           * Compile arguments, pushing an Arguments object onto the stack.\n           *\n           * @param args.params\n           * @param args.hash\n           * @param args.blocks\n           * @param args.atNames\n           */function SimpleArgs(op,positional,named,atNames){if(null===positional&&null===named)return void op(83);let flags=CompilePositional(op,positional)<<4;atNames&&(flags|=8);let names=EMPTY_STRING_ARRAY;if(named){names=named[0];let val=named[1];for(let i=0;i<val.length;i++)expr(op,val[i]);}op(82,names,EMPTY_STRING_ARRAY,flags);}/**\n           * Compile an optional list of positional arguments, which pushes each argument\n           * onto the stack and returns the number of parameters compiled\n           *\n           * @param positional an optional list of positional arguments\n           */function CompilePositional(op,positional){if(null===positional)return 0;for(let i=0;i<positional.length;i++)expr(op,positional[i]);return positional.length;}function meta$1(layout){let[,locals,upvars,lexicalSymbols]=layout.block;return{symbols:{locals:locals,upvars:upvars,lexical:lexicalSymbols},scopeValues:layout.scope?.()??null,isStrictMode:layout.isStrictMode,moduleName:layout.moduleName,owner:layout.owner,size:locals.length};}EXPRESSIONS.add(opcodes.Concat,(op,[,parts])=>{for(let part of parts)expr(op,part);op(27,parts.length);}),EXPRESSIONS.add(opcodes.Call,(op,[,expression,positional,named])=>{isGetFreeHelper(expression)?op(1005,expression,handle=>{Call(op,handle,positional,named);}):(expr(op,expression),CallDynamic(op,positional,named));}),EXPRESSIONS.add(opcodes.Curry,(op,[,expr,type,positional,named])=>{Curry(op,type,expr,positional,named);}),EXPRESSIONS.add(opcodes.GetSymbol,(op,[,sym,path])=>{op(21,sym),withPath(op,path);}),EXPRESSIONS.add(opcodes.GetLexicalSymbol,(op,[,sym,path])=>{op(1011,sym,handle=>{op(29,handle),withPath(op,path);});}),EXPRESSIONS.add(opcodes.GetStrictKeyword,(op,expr)=>{op(1010,expr[1],()=>{op(1005,expr,handle=>{Call(op,handle,null,null);});});}),EXPRESSIONS.add(opcodes.GetFreeAsHelperHead,(op,expr)=>{op(1010,expr[1],()=>{op(1005,expr,handle=>{Call(op,handle,null,null);});});}),EXPRESSIONS.add(opcodes.Undefined,op=>PushPrimitiveReference(op,void 0)),EXPRESSIONS.add(opcodes.HasBlock,(op,[,block])=>{expr(op,block),op(25);}),EXPRESSIONS.add(opcodes.HasBlockParams,(op,[,block])=>{expr(op,block),op(24),op(61),op(26);}),EXPRESSIONS.add(opcodes.IfInline,(op,[,condition,truthy,falsy])=>{// Push in reverse order\nexpr(op,falsy),expr(op,truthy),expr(op,condition),op(109);}),EXPRESSIONS.add(opcodes.Not,(op,[,value])=>{expr(op,value),op(110);}),EXPRESSIONS.add(opcodes.GetDynamicVar,(op,[,expression])=>{expr(op,expression),op(111);}),EXPRESSIONS.add(opcodes.Log,(op,[,positional])=>{op(0),SimpleArgs(op,positional,null,false),op(112),op(1),op(36,$v0);});class NamedBlocksImpl{constructor(blocks){this.blocks=blocks,this.names=blocks?Object.keys(blocks):[];}get(name){return this.blocks&&this.blocks[name]||null;}has(name){let{blocks:blocks}=this;return null!==blocks&&name in blocks;}with(name,block){let{blocks:blocks}=this;return new NamedBlocksImpl(blocks?assign({},blocks,{[name]:block}):{[name]:block});}get hasAny(){return null!==this.blocks;}}const EMPTY_BLOCKS=new NamedBlocksImpl(null);function namedBlocks(blocks){if(null===blocks)return EMPTY_BLOCKS;let out=dict(),[keys,values]=blocks;for(const[i,key]of enumerate(keys))out[key]=values[i];return new NamedBlocksImpl(out);}function SwitchCases(op,bootstrap,matcher){// Setup the switch DSL\nlet clauses=[],count=0;// Call the callback\nmatcher(function(match,callback){clauses.push({match:match,callback:callback,label:\"CLAUSE\"+count++});}),// Emit the opcodes for the switch\nop(69,1),bootstrap(),op(1001);// First, emit the jump opcodes. We don't need a jump for the last\n// opcode, since it bleeds directly into its clause.\nfor(let clause of clauses.slice(0,-1))op(67,labelOperand(clause.label),clause.match);// Enumerate the clauses in reverse order. Earlier matches will\n// require fewer checks.\nfor(let i=clauses.length-1;i>=0;i--){let clause=clauses[i];op(1e3,clause.label),op(34,1),clause.callback(),// The first match is special: it is placed directly before the END\n// label, so no additional jump is needed at the end of it.\n0!==i&&op(4,labelOperand(\"END\"));}op(1e3,\"END\"),op(1002),op(70);}/**\n           * A convenience for pushing some arguments on the stack and\n           * running some code if the code needs to be re-executed during\n           * updating execution if some of the arguments have changed.\n           *\n           * # Initial Execution\n           *\n           * The `args` function should push zero or more arguments onto\n           * the stack and return the number of arguments pushed.\n           *\n           * The `body` function provides the instructions to execute both\n           * during initial execution and during updating execution.\n           *\n           * Internally, this function starts by pushing a new frame, so\n           * that the body can return and sets the return point ($ra) to\n           * the ENDINITIAL label.\n           *\n           * It then executes the `args` function, which adds instructions\n           * responsible for pushing the arguments for the block to the\n           * stack. These arguments will be restored to the stack before\n           * updating execution.\n           *\n           * Next, it adds the Enter opcode, which marks the current position\n           * in the DOM, and remembers the current $pc (the next instruction)\n           * as the first instruction to execute during updating execution.\n           *\n           * Next, it runs `body`, which adds the opcodes that should\n           * execute both during initial execution and during updating execution.\n           * If the `body` wishes to finish early, it should Jump to the\n           * `FINALLY` label.\n           *\n           * Next, it adds the FINALLY label, followed by:\n           *\n           * - the Exit opcode, which finalizes the marked DOM started by the\n           *   Enter opcode.\n           * - the Return opcode, which returns to the current return point\n           *   ($ra).\n           *\n           * Finally, it adds the ENDINITIAL label followed by the PopFrame\n           * instruction, which restores $fp, $sp and $ra.\n           *\n           * # Updating Execution\n           *\n           * Updating execution for this `replayable` occurs if the `body` added an\n           * assertion, via one of the `JumpIf`, `JumpUnless` or `AssertSame` opcodes.\n           *\n           * If, during updating executon, the assertion fails, the initial VM is\n           * restored, and the stored arguments are pushed onto the stack. The DOM\n           * between the starting and ending markers is cleared, and the VM's cursor\n           * is set to the area just cleared.\n           *\n           * The return point ($ra) is set to -1, the exit instruction.\n           *\n           * Finally, the $pc is set to to the instruction saved off by the\n           * Enter opcode during initial execution, and execution proceeds as\n           * usual.\n           *\n           * The only difference is that when a `Return` instruction is\n           * encountered, the program jumps to -1 rather than the END label,\n           * and the PopFrame opcode is not needed.\n           */function Replayable(op,args,body){// Start a new label frame, to give END and RETURN\n// a unique meaning.\nop(1001),op(0),// If the body invokes a block, its return will return to\n// END. Otherwise, the return in RETURN will return to END.\nop(6,labelOperand(\"ENDINITIAL\")),// Start a new updating closure, remembering `count` elements\n// from the stack. Everything after this point, and before END,\n// will execute both initially and to update the block.\n// The enter and exit opcodes also track the area of the DOM\n// associated with this block. If an assertion inside the block\n// fails (for example, the test value changes from true to false\n// in an #if), the DOM is cleared and the program is re-executed,\n// restoring `count` elements to the stack and executing the\n// instructions between the enter and exit.\nop(69,args()),// Evaluate the body of the block. The body of the block may\n// return, which will jump execution to END during initial\n// execution, and exit the updating routine.\nbody(),// All execution paths in the body should run the FINALLY once\n// they are done. It is executed both during initial execution\n// and during updating execution.\nop(1e3,\"FINALLY\"),// Finalize the DOM.\nop(70),// In initial execution, this is a noop: it returns to the\n// immediately following opcode. In updating execution, this\n// exits the updating routine.\nop(5),// Cleanup code for the block. Runs on initial execution\n// but not on updating.\nop(1e3,\"ENDINITIAL\"),op(1),op(1002);}/**\n           * A specialized version of the `replayable` convenience that allows the\n           * caller to provide different code based upon whether the item at\n           * the top of the stack is true or false.\n           *\n           * As in `replayable`, the `ifTrue` and `ifFalse` code can invoke `return`.\n           *\n           * During the initial execution, a `return` will continue execution\n           * in the cleanup code, which finalizes the current DOM block and pops\n           * the current frame.\n           *\n           * During the updating execution, a `return` will exit the updating\n           * routine, as it can reuse the DOM block and is always only a single\n           * frame deep.\n           */function ReplayableIf(op,args,ifTrue,ifFalse){return Replayable(op,args,()=>{// If the conditional is false, jump to the ELSE label.\nop(66,labelOperand(\"ELSE\")),// Otherwise, execute the code associated with the true branch.\nifTrue(),// We're done, so return. In the initial execution, this runs\n// the cleanup code. In the updating VM, it exits the updating\n// routine.\nop(4,labelOperand(\"FINALLY\")),op(1e3,\"ELSE\"),// If the conditional is false, and code associatied ith the\n// false branch was provided, execute it. If there was no code\n// associated with the false branch, jumping to the else statement\n// has no other behavior.\nvoid 0!==ifFalse&&ifFalse();});}function InvokeComponent(op,component,_elementBlock,positional,named,_blocks){let{compilable:compilable,capabilities:capabilities,handle:handle}=component,elementBlock=_elementBlock?[_elementBlock,[]]:null,blocks=namedBlocks(_blocks);compilable?(op(78,handle),function(op,{capabilities:capabilities,layout:layout,elementBlock:elementBlock,positional:positional,named:named,blocks:blocks}){let{symbolTable:symbolTable}=layout;if(hasCapability(capabilities,InternalComponentCapabilities.prepareArgs))return void InvokeNonStaticComponent(op,{capabilities:capabilities,elementBlock:elementBlock,positional:positional,named:named,atNames:true,blocks:blocks,layout:layout});op(36,$s0),op(33,$sp,1),op(35,$s0),op(0);// Setup arguments\nlet{symbols:symbols}=symbolTable,blockSymbols=[],argSymbols=[],argNames=[],blockNames=blocks.names;// As we push values onto the stack, we store the symbols associated  with them\n// so that we can set them on the scope later on with SetVariable and SetBlock\n// Starting with the attrs block, if it exists and is referenced in the component\nif(null!==elementBlock){let symbol=symbols.indexOf(\"&attrs\");-1!==symbol&&(PushYieldableBlock(op,elementBlock),blockSymbols.push(symbol));}// Followed by the other blocks, if they exist and are referenced in the component.\n// Also store the index of the associated symbol.\nfor(const name of blockNames){let symbol=symbols.indexOf(`&${name}`);-1!==symbol&&(PushYieldableBlock(op,blocks.get(name)),blockSymbols.push(symbol));}// Next up we have arguments. If the component has the `createArgs` capability,\n// then it wants access to the arguments in JavaScript. We can't know whether\n// or not an argument is used, so we have to give access to all of them.\nif(hasCapability(capabilities,InternalComponentCapabilities.createArgs)){// First we push positional arguments\nlet flags=CompilePositional(op,positional)<<4;// setup the flags with the count of positionals, and to indicate that atNames\n// are used\nflags|=8;let names=EMPTY_STRING_ARRAY;// Next, if named args exist, push them all. If they have an associated symbol\n// in the invoked component (e.g. they are used within its template), we push\n// that symbol. If not, we still push the expression as it may be used, and\n// we store the symbol as -1 (this is used later).\nif(null!==named){names=named[0];let val=named[1];for(let i=0;i<val.length;i++){let symbol=symbols.indexOf(names[i]);expr(op,val[i]),argSymbols.push(symbol);}}// Finally, push the VM arguments themselves. These args won't need access\n// to blocks (they aren't accessible from userland anyways), so we push an\n// empty array instead of the actual block names.\nop(82,names,EMPTY_STRING_ARRAY,flags),// And push an extra pop operation to remove the args before we begin setting\n// variables on the local context\nargSymbols.push(-1);}else if(null!==named){// If the component does not have the `createArgs` capability, then the only\n// expressions we need to push onto the stack are those that are actually\n// referenced in the template of the invoked component (e.g. have symbols).\nlet names=named[0],val=named[1];for(let i=0;i<val.length;i++){let name=names[i],symbol=symbols.indexOf(name);-1!==symbol&&(expr(op,val[i]),argSymbols.push(symbol),argNames.push(name));}}op(97,$s0),hasCapability(capabilities,InternalComponentCapabilities.dynamicScope)&&op(59),hasCapability(capabilities,InternalComponentCapabilities.createInstance)&&// eslint-disable-next-line @typescript-eslint/no-explicit-any\nop(87,0|blocks.has(\"default\")),op(88,$s0),hasCapability(capabilities,InternalComponentCapabilities.createArgs)?op(90,$s0):op(90,$s0,argNames),// Setup the new root scope for the component\nop(37,symbols.length+1,Object.keys(blocks).length>0?1:0),// Pop the self reference off the stack and set it to the symbol for `this`\n// in the new scope. This is why all subsequent symbols are increased by one.\nop(19,0);// Going in reverse, now we pop the args/blocks off the stack, starting with\n// arguments, and assign them to their symbols in the new scope.\nfor(const symbol of reverse(argSymbols))// for (let i = argSymbols.length - 1; i >= 0; i--) {\n//   let symbol = argSymbols[i];\n-1===symbol?// The expression was not bound to a local symbol, it was only pushed to be\n// used with VM args in the javascript side\nop(34,1):op(19,symbol+1);// if any positional params exist, pop them off the stack as well\nnull!==positional&&op(34,positional.length);// Finish up by popping off and assigning blocks\nfor(const symbol of reverse(blockSymbols))op(20,symbol+1);op(28,layoutOperand(layout)),op(61),op(2),op(100,$s0),op(1),op(40),hasCapability(capabilities,InternalComponentCapabilities.dynamicScope)&&op(60),op(98),op(35,$s0);}(op,{capabilities:capabilities,layout:compilable,elementBlock:elementBlock,positional:positional,named:named,blocks:blocks})):(op(78,handle),InvokeNonStaticComponent(op,{capabilities:capabilities,elementBlock:elementBlock,positional:positional,named:named,atNames:true,blocks:blocks}));}function InvokeDynamicComponent(op,definition,_elementBlock,positional,named,_blocks,atNames,curried){let elementBlock=_elementBlock?[_elementBlock,[]]:null,blocks=namedBlocks(_blocks);Replayable(op,()=>(expr(op,definition),op(33,$sp,0),2),()=>{op(66,labelOperand(\"ELSE\")),curried?op(81):op(80,{type:2,value:void 0}),op(79),InvokeNonStaticComponent(op,{capabilities:true,elementBlock:elementBlock,positional:positional,named:named,atNames:atNames,blocks:blocks}),op(1e3,\"ELSE\");});}function InvokeNonStaticComponent(op,{capabilities:capabilities,elementBlock:elementBlock,positional:positional,named:named,atNames:atNames,blocks:namedBlocks,layout:layout}){let bindableBlocks=!!namedBlocks,bindableAtNames=true===capabilities||hasCapability(capabilities,InternalComponentCapabilities.prepareArgs)||!(!named||0===named[0].length),blocks=namedBlocks.with(\"attrs\",elementBlock);op(36,$s0),op(33,$sp,1),op(35,$s0),op(0),function(op,positional,named,blocks,atNames){let blockNames=blocks.names;for(const name of blockNames)PushYieldableBlock(op,blocks.get(name));let flags=CompilePositional(op,positional)<<4;atNames&&(flags|=8),blocks.hasAny&&(flags|=7);let names=EMPTY_ARRAY$4;if(named){names=named[0];let val=named[1];for(let i=0;i<val.length;i++)expr(op,val[i]);}op(82,names,blockNames,flags);}(op,positional,named,blocks,atNames),op(85,$s0),invokePreparedComponent(op,blocks.has(\"default\"),bindableBlocks,bindableAtNames,()=>{layout?(op(63,symbolTableOperand(layout.symbolTable)),op(28,layoutOperand(layout)),op(61)):op(92,$s0),op(95,$s0);}),op(35,$s0);}function invokePreparedComponent(op,hasBlock,bindableBlocks,bindableAtNames,populateLayout=null){op(97,$s0),op(59),// eslint-disable-next-line @typescript-eslint/no-explicit-any\nop(87,0|hasBlock),// this has to run after createComponent to allow\n// for late-bound layouts, but a caller is free\n// to populate the layout earlier if it wants to\n// and do nothing here.\npopulateLayout&&populateLayout(),op(88,$s0),op(90,$s0),op(38,$s0),op(19,0),bindableAtNames&&op(17,$s0),bindableBlocks&&op(18,$s0),op(34,1),op(96,$s0),op(100,$s0),op(1),op(40),op(60),op(98);}const STATEMENTS=new Compilers(),INFLATE_ATTR_TABLE=[\"class\",\"id\",\"value\",\"name\",\"type\",\"style\",\"href\"],INFLATE_TAG_TABLE=[\"div\",\"span\",\"p\",\"a\"];function inflateTagName(tagName){return\"string\"==typeof tagName?tagName:INFLATE_TAG_TABLE[tagName];}function inflateAttrName(attrName){return\"string\"==typeof attrName?attrName:INFLATE_ATTR_TABLE[attrName];}function hashToArgs(hash){return null===hash?null:[hash[0].map(key=>`@${key}`),hash[1]];}STATEMENTS.add(opcodes.Comment,(op,sexp)=>op(42,sexp[1])),STATEMENTS.add(opcodes.CloseElement,op=>op(55)),STATEMENTS.add(opcodes.FlushElement,op=>op(54)),STATEMENTS.add(opcodes.Modifier,(op,[,expression,positional,named])=>{isGetFreeModifier(expression)?op(1003,expression,handle=>{op(0),SimpleArgs(op,positional,named,false),op(57,handle),op(1);}):(expr(op,expression),op(0),SimpleArgs(op,positional,named,false),op(33,$fp,1),op(108),op(1));}),STATEMENTS.add(opcodes.StaticAttr,(op,[,name,value,namespace])=>{op(51,inflateAttrName(name),value,namespace??null);}),STATEMENTS.add(opcodes.StaticComponentAttr,(op,[,name,value,namespace])=>{op(105,inflateAttrName(name),value,namespace??null);}),STATEMENTS.add(opcodes.DynamicAttr,(op,[,name,value,namespace])=>{expr(op,value),op(52,inflateAttrName(name),false,namespace??null);}),STATEMENTS.add(opcodes.TrustingDynamicAttr,(op,[,name,value,namespace])=>{expr(op,value),op(52,inflateAttrName(name),true,namespace??null);}),STATEMENTS.add(opcodes.ComponentAttr,(op,[,name,value,namespace])=>{expr(op,value),op(53,inflateAttrName(name),false,namespace??null);}),STATEMENTS.add(opcodes.TrustingComponentAttr,(op,[,name,value,namespace])=>{expr(op,value),op(53,inflateAttrName(name),true,namespace??null);}),STATEMENTS.add(opcodes.OpenElement,(op,[,tag])=>{op(48,inflateTagName(tag));}),STATEMENTS.add(opcodes.OpenElementWithSplat,(op,[,tag])=>{op(89),op(48,inflateTagName(tag));}),STATEMENTS.add(opcodes.Component,(op,[,expr,elementBlock,named,blocks])=>{isGetFreeComponent(expr)?op(1004,expr,component=>{InvokeComponent(op,component,elementBlock,null,named,blocks);}):// otherwise, the component name was an expression, so resolve the expression\n// and invoke it as a dynamic component\nInvokeDynamicComponent(op,expr,elementBlock,null,named,blocks,true,true);}),STATEMENTS.add(opcodes.Yield,(op,[,to,params])=>YieldBlock(op,to,params)),STATEMENTS.add(opcodes.AttrSplat,(op,[,to])=>YieldBlock(op,to,null)),STATEMENTS.add(opcodes.Debugger,(op,[,locals,upvars,lexical])=>{op(103,function(locals,upvars,lexical){return{type:3,value:{locals:locals,upvars:upvars,lexical:lexical}};}(locals,upvars,lexical));}),STATEMENTS.add(opcodes.Append,(op,[,value])=>{// Special case for static values\nif(Array.isArray(value)){if(isGetFreeComponentOrHelper(value))op(1008,value,{ifComponent(component){InvokeComponent(op,component,null,null,null,null);},ifHelper(handle){op(0),Call(op,handle,null,null),op(3,stdlibOperand(\"cautious-non-dynamic-append\")),op(1);},ifValue(handle){op(0),op(29,handle),op(3,stdlibOperand(\"cautious-non-dynamic-append\")),op(1);}});else if(value[0]===opcodes.Call){let[,expression,positional,named]=value;isGetFreeComponentOrHelper(expression)?op(1007,expression,{ifComponent(component){InvokeComponent(op,component,null,positional,hashToArgs(named),null);},ifHelper(handle){op(0),Call(op,handle,positional,named),op(3,stdlibOperand(\"cautious-non-dynamic-append\")),op(1);}}):SwitchCases(op,()=>{expr(op,expression),op(106);},when=>{when(ContentType.Component,()=>{op(81),op(79),InvokeNonStaticComponent(op,{capabilities:true,elementBlock:null,positional:positional,named:named,atNames:false,blocks:namedBlocks(null)});}),when(ContentType.Helper,()=>{CallDynamic(op,positional,named,()=>{op(3,stdlibOperand(\"cautious-non-dynamic-append\"));});});});}else op(0),expr(op,value),op(3,stdlibOperand(\"cautious-append\")),op(1);}else op(41,null==value?\"\":String(value));}),STATEMENTS.add(opcodes.TrustingAppend,(op,[,value])=>{Array.isArray(value)?(op(0),expr(op,value),op(3,stdlibOperand(\"trusting-append\")),op(1)):op(41,null==value?\"\":String(value));}),STATEMENTS.add(opcodes.Block,(op,[,expr,positional,named,blocks])=>{isGetFreeComponent(expr)?op(1004,expr,component=>{InvokeComponent(op,component,null,positional,hashToArgs(named),blocks);}):InvokeDynamicComponent(op,expr,null,positional,named,blocks,false,false);}),STATEMENTS.add(opcodes.InElement,(op,[,block,guid,destination,insertBefore])=>{ReplayableIf(op,()=>(expr(op,guid),void 0===insertBefore?PushPrimitiveReference(op,void 0):expr(op,insertBefore),expr(op,destination),op(33,$sp,0),4),()=>{op(50),InvokeStaticBlock(op,block),op(56);});}),STATEMENTS.add(opcodes.If,(op,[,condition,block,inverse])=>ReplayableIf(op,()=>(expr(op,condition),op(71),1),()=>{InvokeStaticBlock(op,block);},inverse?()=>{InvokeStaticBlock(op,inverse);}:void 0)),STATEMENTS.add(opcodes.Each,(op,[,value,key,block,inverse])=>Replayable(op,()=>(key?expr(op,key):PushPrimitiveReference(op,null),expr(op,value),2),()=>{op(72,labelOperand(\"BODY\"),labelOperand(\"ELSE\")),op(0),op(33,$fp,1),op(6,labelOperand(\"ITER\")),op(1e3,\"ITER\"),op(74,labelOperand(\"BREAK\")),op(1e3,\"BODY\"),InvokeStaticBlockWithStack(op,block,2),op(34,2),op(4,labelOperand(\"FINALLY\")),op(1e3,\"BREAK\"),op(1),op(73),op(4,labelOperand(\"FINALLY\")),op(1e3,\"ELSE\"),inverse&&InvokeStaticBlock(op,inverse);})),STATEMENTS.add(opcodes.Let,(op,[,positional,block])=>{InvokeStaticBlockWithStack(op,block,CompilePositional(op,positional));}),STATEMENTS.add(opcodes.WithDynamicVars,(op,[,named,block])=>{if(named){let[names,expressions]=named;CompilePositional(op,expressions),function(op,names,block){op(59),op(58,names),block(),op(60);}(op,names,()=>{InvokeStaticBlock(op,block);});}else InvokeStaticBlock(op,block);}),STATEMENTS.add(opcodes.InvokeComponent,(op,[,expr,positional,named,blocks])=>{isGetFreeComponent(expr)?op(1004,expr,component=>{InvokeComponent(op,component,null,positional,hashToArgs(named),blocks);}):InvokeDynamicComponent(op,expr,null,positional,named,blocks,false,false);});class CompilableTemplateImpl{constructor(statements,meta,// Part of CompilableTemplate\nsymbolTable,// Used for debugging\nmoduleName=\"plain block\"){this.statements=statements,this.meta=meta,this.symbolTable=symbolTable,this.moduleName=moduleName,this.compiled=null;}// Part of CompilableTemplate\ncompile(context){return function(compilable,context){if(null!==compilable.compiled)return compilable.compiled;compilable.compiled=-1;let{statements:statements,meta:meta}=compilable,result=compileStatements(statements,meta,context);return compilable.compiled=result,result;}(this,context);}}function compilable(layout,moduleName){let[statements,symbols]=layout.block;return new CompilableTemplateImpl(statements,meta$1(layout),{symbols:symbols},moduleName);}function compileStatements(statements,meta,syntaxContext){let sCompiler=STATEMENTS,context=templateCompilationContext(syntaxContext,meta),{encoder:encoder,evaluation:evaluation}=context;function pushOp(...op){encodeOp(encoder,evaluation,meta,op);}for(const statement of statements)sCompiler.compile(pushOp,statement);return context.encoder.commit(meta.size);}const DEFAULT_CAPABILITIES={dynamicLayout:true,dynamicTag:true,prepareArgs:true,createArgs:true,attributeHook:false,elementHook:false,dynamicScope:true,createCaller:false,updateHook:true,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false},MINIMAL_CAPABILITIES={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:false,attributeHook:false,elementHook:false,dynamicScope:false,createCaller:false,updateHook:false,createInstance:false,wrapped:false,willDestroy:false,hasSubOwner:false};class StdLib{constructor(main,trustingGuardedAppend,cautiousGuardedAppend,trustingNonDynamicAppend,cautiousNonDynamicAppend){this.main=main,this.trustingGuardedAppend=trustingGuardedAppend,this.cautiousGuardedAppend=cautiousGuardedAppend,this.trustingNonDynamicAppend=trustingNonDynamicAppend,this.cautiousNonDynamicAppend=cautiousNonDynamicAppend;}get\"trusting-append\"(){return this.trustingGuardedAppend;}get\"cautious-append\"(){return this.cautiousGuardedAppend;}get\"trusting-non-dynamic-append\"(){return this.trustingNonDynamicAppend;}get\"cautious-non-dynamic-append\"(){return this.cautiousNonDynamicAppend;}getAppend(trusting){return trusting?this.trustingGuardedAppend:this.cautiousGuardedAppend;}}/**\n           * Append content to the DOM. This standard function triages content and does the\n           * right thing based upon whether it's a string, safe string, component, fragment\n           * or node.\n           *\n           * @param trusting whether to interpolate a string as raw HTML (corresponds to\n           * triple curlies)\n           */function StdAppend(op,trusting,nonDynamicAppend){SwitchCases(op,()=>op(76),when=>{when(ContentType.String,()=>{trusting?(op(68),op(43)):op(47);}),\"number\"==typeof nonDynamicAppend?(when(ContentType.Component,()=>{op(81),op(79),function(op){op(36,$s0),op(33,$sp,1),op(35,$s0),op(0),op(83),op(85,$s0),invokePreparedComponent(op,false,false,true,()=>{op(92,$s0),op(95,$s0);}),op(35,$s0);}(op);}),when(ContentType.Helper,()=>{CallDynamic(op,null,null,()=>{op(3,nonDynamicAppend);});})):(// when non-dynamic, we can no longer call the value (potentially because we've already called it)\n// this prevents infinite loops. We instead coerce the value, whatever it is, into the DOM.\nwhen(ContentType.Component,()=>{op(47);}),when(ContentType.Helper,()=>{op(47);})),when(ContentType.SafeString,()=>{op(68),op(44);}),when(ContentType.Fragment,()=>{op(68),op(45);}),when(ContentType.Node,()=>{op(68),op(46);});});}function compileStd(context){let mainHandle=build(context,op=>function(op){op(75,$s0),invokePreparedComponent(op,false,false,true);}(op)),trustingGuardedNonDynamicAppend=build(context,op=>StdAppend(op,true,null)),cautiousGuardedNonDynamicAppend=build(context,op=>StdAppend(op,false,null)),trustingGuardedDynamicAppend=build(context,op=>StdAppend(op,true,trustingGuardedNonDynamicAppend)),cautiousGuardedDynamicAppend=build(context,op=>StdAppend(op,false,cautiousGuardedNonDynamicAppend));return new StdLib(mainHandle,trustingGuardedDynamicAppend,cautiousGuardedDynamicAppend,trustingGuardedNonDynamicAppend,cautiousGuardedNonDynamicAppend);}const STDLIB_META={symbols:{locals:null,upvars:null},moduleName:\"stdlib\",// TODO: ??\nscopeValues:null,isStrictMode:true,owner:null,size:0};function build(evaluation,builder){let encoder=new EncoderImpl(evaluation.program.heap,STDLIB_META);builder(function(...op){encodeOp(encoder,evaluation,STDLIB_META,op);});let result=encoder.commit(0);if(\"number\"!=typeof result)// This shouldn't be possible\nthrow new Error(\"Unexpected errors compiling std\");return result;}class EvaluationContextImpl{constructor({constants:constants,heap:heap},createOp,runtime){this.constants=constants,this.heap=heap,this.resolver=runtime.resolver,this.createOp=createOp,this.env=runtime.env,this.program=runtime.program,this.stdlib=compileStd(this);}}class WrappedBuilder{constructor(layout,moduleName){this.layout=layout,this.moduleName=moduleName,this.compiled=null;let{block:block}=layout,[,symbols]=block;symbols=symbols.slice();// ensure ATTRS_BLOCK is always included (only once) in the list of symbols\nlet attrsBlockIndex=symbols.indexOf(\"&attrs\");this.attrsBlockNumber=-1===attrsBlockIndex?symbols.push(\"&attrs\"):attrsBlockIndex+1,this.symbolTable={symbols:symbols},this.meta=meta$1(layout);}compile(syntax){if(null!==this.compiled)return this.compiled;let m=meta$1(this.layout),context=templateCompilationContext(syntax,m),{encoder:encoder,evaluation:evaluation}=context;var op,layout,attrsBlockNumber;op=function(...op){encodeOp(encoder,evaluation,m,op);},layout=this.layout,attrsBlockNumber=this.attrsBlockNumber,op(1001),function(op,register,block){op(36,register),block(),op(35,register);}(op,$s1,()=>{op(91,$s0),op(31),op(33,$sp,0);}),op(66,labelOperand(\"BODY\")),op(36,$s1),op(89),op(49),op(99,$s0),YieldBlock(op,attrsBlockNumber,null),op(54),op(1e3,\"BODY\"),InvokeStaticBlock(op,[layout.block[0],[]]),op(36,$s1),op(66,labelOperand(\"END\")),op(55),op(1e3,\"END\"),op(35,$s1),op(1002);let handle=context.encoder.commit(m.size);return\"number\"!=typeof handle||(this.compiled=handle),handle;}}let clientId=0,templateCacheCounters={cacheHit:0,cacheMiss:0};/**\n           * Wraps a template js in a template module to change it into a factory\n           * that handles lazy parsing the template and to create per env singletons\n           * of the template.\n           */function templateFactory({id:templateId,moduleName:moduleName,block:block,scope:scope,isStrictMode:isStrictMode}){// TODO(template-refactors): This should be removed in the near future, as it\n// appears that id is unused. It is currently kept for backwards compat reasons.\nlet parsedBlock,id=templateId||\"client-\"+clientId++,ownerlessTemplate=null,templateCache=new WeakMap(),factory=owner=>{if(void 0===parsedBlock&&(parsedBlock=JSON.parse(block)),void 0===owner)return null===ownerlessTemplate?(templateCacheCounters.cacheMiss++,ownerlessTemplate=new TemplateImpl({id:id,block:parsedBlock,moduleName:moduleName,owner:null,scope:scope,isStrictMode:isStrictMode})):templateCacheCounters.cacheHit++,ownerlessTemplate;let result=templateCache.get(owner);return void 0===result?(templateCacheCounters.cacheMiss++,result=new TemplateImpl({id:id,block:parsedBlock,moduleName:moduleName,owner:owner,scope:scope,isStrictMode:isStrictMode}),templateCache.set(owner,result)):templateCacheCounters.cacheHit++,result;};// TODO: This caches JSON serialized output once in case a template is\n// compiled by multiple owners, but we haven't verified if this is actually\n// helpful. We should benchmark this in the future.\nreturn factory.__id=id,factory.__meta={moduleName:moduleName},factory;}class TemplateImpl{constructor(parsedLayout){this.parsedLayout=parsedLayout,this.result=\"ok\",this.layout=null,this.wrappedLayout=null;}get moduleName(){return this.parsedLayout.moduleName;}get id(){return this.parsedLayout.id;}// TODO(template-refactors): This should be removed in the near future, it is\n// only being exposed for backwards compatibility\nget referrer(){return{moduleName:this.parsedLayout.moduleName,owner:this.parsedLayout.owner};}asLayout(){return this.layout?this.layout:this.layout=compilable(assign({},this.parsedLayout),this.moduleName);}asWrappedLayout(){return this.wrappedLayout?this.wrappedLayout:this.wrappedLayout=new WrappedBuilder(assign({},this.parsedLayout),this.moduleName);}}const glimmerOpcodeCompiler=/*#__PURE__*/Object.defineProperty({__proto__:null,DEFAULT_CAPABILITIES,EMPTY_BLOCKS,EvaluationContextImpl,MINIMAL_CAPABILITIES,StdLib,WrappedBuilder,compilable,compileStatements,compileStd,debugCompiler,invokeStaticBlock:InvokeStaticBlock,invokeStaticBlockWithStack:InvokeStaticBlockWithStack,meta:meta$1,templateCacheCounters,templateCompilationContext,templateFactory},Symbol.toStringTag,{value:'Module'});const emberTemplateFactoryIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,createTemplateFactory:templateFactory},Symbol.toStringTag,{value:'Module'});const RootTemplate=templateFactory(/*\n            {{component this}}\n          */{\"id\":\"yTlmws8O\",\"block\":\"[[[46,[30,0],null,null,null]],[],[\\\"component\\\"]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/root.hbs\",\"isStrictMode\":true});const objectPrototype=Object.prototype;let counters;{counters={peekCalls:0,peekPrototypeWalks:0,setCalls:0,deleteCalls:0,metaCalls:0,metaInstantiated:0,matchingListenersCalls:0,observerEventsCalls:0,addToListenersCalls:0,removeFromListenersCalls:0,removeAllListenersCalls:0,listenersInherited:0,listenersFlattened:0,parentListenersUsed:0,flattenedListenersCalls:0,reopensAfterFlatten:0,readableLazyChainsCalls:0,writableLazyChainsCalls:0};}/**\n          @module ember\n          */const UNDEFINED=symbol('undefined');var ListenerKind=/*#__PURE__*/function(ListenerKind){ListenerKind[ListenerKind[\"ADD\"]=0]=\"ADD\";ListenerKind[ListenerKind[\"ONCE\"]=1]=\"ONCE\";ListenerKind[ListenerKind[\"REMOVE\"]=2]=\"REMOVE\";return ListenerKind;}(ListenerKind||{});let currentListenerVersion=1;class Meta{// DEBUG\n/** @internal */constructor(obj){/** @internal */_defineProperty(this,\"_descriptors\",void 0);/** @internal */_defineProperty(this,\"_mixins\",void 0);/** @internal */_defineProperty(this,\"_isInit\",void 0);/** @internal */_defineProperty(this,\"_lazyChains\",void 0);/** @internal */_defineProperty(this,\"_values\",void 0);/** @internal */_defineProperty(this,\"_revisions\",void 0);/** @internal */_defineProperty(this,\"source\",void 0);/** @internal */_defineProperty(this,\"proto\",void 0);/** @internal */_defineProperty(this,\"_parent\",void 0);/** @internal */_defineProperty(this,\"_listeners\",void 0);/** @internal */_defineProperty(this,\"_listenersVersion\",1);/** @internal */_defineProperty(this,\"_inheritedEnd\",-1);/** @internal */_defineProperty(this,\"_flattenedVersion\",0);{counters.metaInstantiated++;}this._parent=undefined;this._descriptors=undefined;this._mixins=undefined;this._lazyChains=undefined;this._values=undefined;this._revisions=undefined;// initial value for all flags right now is false\n// see FLAGS const for detailed list of flags used\nthis._isInit=false;// used only internally\nthis.source=obj;this.proto=obj.constructor===undefined?undefined:obj.constructor.prototype;this._listeners=undefined;}/** @internal */get parent(){let parent=this._parent;if(parent===undefined){let proto=getPrototypeOf(this.source);this._parent=parent=proto===null||proto===objectPrototype?null:meta(proto);}return parent;}setInitializing(){this._isInit=true;}/** @internal */unsetInitializing(){this._isInit=false;}/** @internal */isInitializing(){return this._isInit;}/** @internal */isPrototypeMeta(obj){return this.proto===this.source&&this.source===obj;}/** @internal */_getOrCreateOwnMap(key){return this[key]||(this[key]=Object.create(null));}/** @internal */_getOrCreateOwnSet(key){return this[key]||(this[key]=new Set());}/** @internal */_findInheritedMap(key,subkey){let pointer=this;while(pointer!==null){let map=pointer[key];if(map!==undefined){let value=map.get(subkey);if(value!==undefined){return value;}}pointer=pointer.parent;}}/** @internal */_hasInInheritedSet(key,value){let pointer=this;while(pointer!==null){let set=pointer[key];if(set!==undefined&&set.has(value)){return true;}pointer=pointer.parent;}return false;}/** @internal */valueFor(key){let values=this._values;return values!==undefined?values[key]:undefined;}/** @internal */setValueFor(key,value){let values=this._getOrCreateOwnMap('_values');values[key]=value;}/** @internal */revisionFor(key){let revisions=this._revisions;return revisions!==undefined?revisions[key]:undefined;}/** @internal */setRevisionFor(key,revision){let revisions=this._getOrCreateOwnMap('_revisions');revisions[key]=revision;}/** @internal */writableLazyChainsFor(key){{counters.writableLazyChainsCalls++;}let lazyChains=this._getOrCreateOwnMap('_lazyChains');let chains=lazyChains[key];if(chains===undefined){chains=lazyChains[key]=[];}return chains;}/** @internal */readableLazyChainsFor(key){{counters.readableLazyChainsCalls++;}let lazyChains=this._lazyChains;if(lazyChains!==undefined){return lazyChains[key];}return undefined;}/** @internal */addMixin(mixin){!!isDestroyed(this.source)&&assert$1(isDestroyed(this.source)?`Cannot add mixins of \\`${toString$1(mixin)}\\` on \\`${toString$1(this.source)}\\` call addMixin after it has been destroyed.`:'',!isDestroyed(this.source));let set=this._getOrCreateOwnSet('_mixins');set.add(mixin);}/** @internal */hasMixin(mixin){return this._hasInInheritedSet('_mixins',mixin);}/** @internal */forEachMixins(fn){let pointer=this;let seen;while(pointer!==null){let set=pointer._mixins;if(set!==undefined){seen=seen===undefined?new Set():seen;// TODO cleanup typing here\nset.forEach(mixin=>{if(!seen.has(mixin)){seen.add(mixin);fn(mixin);}});}pointer=pointer.parent;}}/** @internal */writeDescriptors(subkey,value){!!isDestroyed(this.source)&&assert$1(isDestroyed(this.source)?`Cannot update descriptors for \\`${subkey}\\` on \\`${toString$1(this.source)}\\` after it has been destroyed.`:'',!isDestroyed(this.source));let map=this._descriptors||(this._descriptors=new Map());map.set(subkey,value);}/** @internal */peekDescriptors(subkey){let possibleDesc=this._findInheritedMap('_descriptors',subkey);return possibleDesc===UNDEFINED?undefined:possibleDesc;}/** @internal */removeDescriptors(subkey){this.writeDescriptors(subkey,UNDEFINED);}/** @internal */forEachDescriptors(fn){let pointer=this;let seen;while(pointer!==null){let map=pointer._descriptors;if(map!==undefined){seen=seen===undefined?new Set():seen;map.forEach((value,key)=>{if(!seen.has(key)){seen.add(key);if(value!==UNDEFINED){fn(key,value);}}});}pointer=pointer.parent;}}/** @internal */addToListeners(eventName,target,method,once,sync){{counters.addToListenersCalls++;}this.pushListener(eventName,target,method,once?ListenerKind.ONCE:ListenerKind.ADD,sync);}/** @internal */removeFromListeners(eventName,target,method){{counters.removeFromListenersCalls++;}this.pushListener(eventName,target,method,ListenerKind.REMOVE);}pushListener(event,target,method,kind,sync=false){let listeners=this.writableListeners();let i=indexOfListener(listeners,event,target,method);// remove if found listener was inherited\nif(i!==-1&&i<this._inheritedEnd){listeners.splice(i,1);this._inheritedEnd--;i=-1;}// if not found, push. Note that we must always push if a listener is not\n// found, even in the case of a function listener remove, because we may be\n// attempting to add or remove listeners _before_ flattening has occurred.\nif(i===-1){!!(this.isPrototypeMeta(this.source)&&typeof method==='function')&&assert$1('You cannot add function listeners to prototypes. Convert the listener to a string listener, or add it to the instance instead.',!(this.isPrototypeMeta(this.source)&&typeof method==='function'));!!(!this.isPrototypeMeta(this.source)&&typeof method==='function'&&kind===ListenerKind.REMOVE)&&assert$1('You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.',!(!this.isPrototypeMeta(this.source)&&typeof method==='function'&&kind===ListenerKind.REMOVE));listeners.push({event,target,method,kind,sync});}else{let listener=listeners[i];!listener&&assert$1('has listener',listener);// If the listener is our own listener and we are trying to remove it, we\n// want to splice it out entirely so we don't hold onto a reference.\nif(kind===ListenerKind.REMOVE&&listener.kind!==ListenerKind.REMOVE){listeners.splice(i,1);}else{!!(listener.kind===ListenerKind.ADD&&kind===ListenerKind.ADD&&listener.sync!==sync)&&assert$1(`You attempted to add an observer for the same method on '${event.split(':')[0]}' twice to ${target} as both sync and async. Observers must be either sync or async, they cannot be both. This is likely a mistake, you should either remove the code that added the observer a second time, or update it to always be sync or async. The method was ${String(method)}.`,!(listener.kind===ListenerKind.ADD&&kind===ListenerKind.ADD&&listener.sync!==sync));// update own listener\nlistener.kind=kind;listener.sync=sync;}}}writableListeners(){// Check if we need to invalidate and reflatten. We need to do this if we\n// have already flattened (flattened version is the current version) and\n// we are either writing to a prototype meta OR we have never inherited, and\n// may have cached the parent's listeners.\nif(this._flattenedVersion===currentListenerVersion&&(this.source===this.proto||this._inheritedEnd===-1)){{counters.reopensAfterFlatten++;}currentListenerVersion++;}// Inherited end has not been set, then we have never created our own\n// listeners, but may have cached the parent's\nif(this._inheritedEnd===-1){this._inheritedEnd=0;this._listeners=[];}return this._listeners;}/**\n              Flattening is based on a global revision counter. If the revision has\n              bumped it means that somewhere in a class inheritance chain something has\n              changed, so we need to reflatten everything. This can only happen if:\n               1. A meta has been flattened (listener has been called)\n              2. The meta is a prototype meta with children who have inherited its\n                 listeners\n              3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n               This is a very rare occurrence, so while the counter is global it shouldn't\n              be updated very often in practice.\n            */flattenedListeners(){{counters.flattenedListenersCalls++;}if(this._flattenedVersion<currentListenerVersion){{counters.listenersFlattened++;}let parent=this.parent;if(parent!==null){// compute\nlet parentListeners=parent.flattenedListeners();if(parentListeners!==undefined){if(this._listeners===undefined){// If this instance doesn't have any of its own listeners (writableListeners\n// has never been called) then we don't need to do any flattening, return\n// the parent's listeners instead.\n{counters.parentListenersUsed++;}this._listeners=parentListeners;}else{let listeners=this._listeners;if(this._inheritedEnd>0){listeners.splice(0,this._inheritedEnd);this._inheritedEnd=0;}for(let listener of parentListeners){let index=indexOfListener(listeners,listener.event,listener.target,listener.method);if(index===-1){{counters.listenersInherited++;}listeners.unshift(listener);this._inheritedEnd++;}}}}}this._flattenedVersion=currentListenerVersion;}return this._listeners;}/** @internal */matchingListeners(eventName){let listeners=this.flattenedListeners();let result;{counters.matchingListenersCalls++;}if(listeners!==undefined){for(let listener of listeners){// REMOVE listeners are placeholders that tell us not to\n// inherit, so they never match. Only ADD and ONCE can match.\nif(listener.event===eventName&&(listener.kind===ListenerKind.ADD||listener.kind===ListenerKind.ONCE)){if(result===undefined){// we create this array only after we've found a listener that\n// matches to avoid allocations when no matches are found.\nresult=[];}result.push(listener.target,listener.method,listener.kind===ListenerKind.ONCE);}}}return result;}/** @internal */observerEvents(){let listeners=this.flattenedListeners();let result;{counters.observerEventsCalls++;}if(listeners!==undefined){for(let listener of listeners){// REMOVE listeners are placeholders that tell us not to\n// inherit, so they never match. Only ADD and ONCE can match.\nif((listener.kind===ListenerKind.ADD||listener.kind===ListenerKind.ONCE)&&listener.event.indexOf(':change')!==-1){if(result===undefined){// we create this array only after we've found a listener that\n// matches to avoid allocations when no matches are found.\nresult=[];}result.push(listener);}}}return result;}}const getPrototypeOf=Object.getPrototypeOf;const metaStore=new WeakMap();function setMeta(obj,meta){!(obj!==null)&&assert$1('Cannot call `setMeta` on null',obj!==null);!(obj!==undefined)&&assert$1('Cannot call `setMeta` on undefined',obj!==undefined);!(typeof obj==='object'||typeof obj==='function')&&assert$1(`Cannot call \\`setMeta\\` on ${typeof obj}`,typeof obj==='object'||typeof obj==='function');{counters.setCalls++;}metaStore.set(obj,meta);}function peekMeta(obj){!(obj!==null)&&assert$1('Cannot call `peekMeta` on null',obj!==null);!(obj!==undefined)&&assert$1('Cannot call `peekMeta` on undefined',obj!==undefined);!(typeof obj==='object'||typeof obj==='function')&&assert$1(`Cannot call \\`peekMeta\\` on ${typeof obj}`,typeof obj==='object'||typeof obj==='function');{counters.peekCalls++;}let meta=metaStore.get(obj);if(meta!==undefined){return meta;}let pointer=getPrototypeOf(obj);while(pointer!==null){{counters.peekPrototypeWalks++;}meta=metaStore.get(pointer);if(meta!==undefined){if(meta.proto!==pointer){// The meta was a prototype meta which was not marked as initializing.\n// This can happen when a prototype chain was created manually via\n// Object.create() and the source object does not have a constructor.\nmeta.proto=pointer;}return meta;}pointer=getPrototypeOf(pointer);}return null;}/**\n            Retrieves the meta hash for an object. If `writable` is true ensures the\n            hash is writable for this object as well.\n\n            The meta object contains information about computed property descriptors as\n            well as any watched properties and other information. You generally will\n            not access this information directly but instead work with higher level\n            methods that manipulate this hash indirectly.\n\n            @method meta\n            @for Ember\n            @private\n\n            @param {Object} obj The object to retrieve meta for\n            @param {Boolean} [writable=true] Pass `false` if you do not intend to modify\n              the meta hash, allowing the method to avoid making an unnecessary copy.\n            @return {Object} the meta hash for an object\n          */const meta=function meta(obj){!(obj!==null)&&assert$1('Cannot call `meta` on null',obj!==null);!(obj!==undefined)&&assert$1('Cannot call `meta` on undefined',obj!==undefined);!(typeof obj==='object'||typeof obj==='function')&&assert$1(`Cannot call \\`meta\\` on ${typeof obj}`,typeof obj==='object'||typeof obj==='function');{counters.metaCalls++;}let maybeMeta=peekMeta(obj);// remove this code, in-favor of explicit parent\nif(maybeMeta!==null&&maybeMeta.source===obj){return maybeMeta;}let newMeta=new Meta(obj);setMeta(obj,newMeta);return newMeta;};{meta._counters=counters;}function indexOfListener(listeners,event,target,method){for(let i=listeners.length-1;i>=0;i--){let listener=listeners[i];!listener&&assert$1('has listener',listener);if(listener.event===event&&listener.target===target&&listener.method===method){return i;}}return-1;}const emberinternalsMetaLibMeta=/*#__PURE__*/Object.defineProperty({__proto__:null,Meta,UNDEFINED,get counters(){return counters;},meta,peekMeta,setMeta},Symbol.toStringTag,{value:'Module'});const emberinternalsMetaIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Meta,UNDEFINED,get counters(){return counters;},meta,peekMeta,setMeta},Symbol.toStringTag,{value:'Module'});function objectAt(array,index){if(Array.isArray(array)){return array[index];}else{return array.objectAt(index);}}/////////\n// This is exported for `@tracked`, but should otherwise be avoided. Use `tagForObject`.\nconst SELF_TAG=symbol('SELF_TAG');function tagForProperty(obj,propertyKey,addMandatorySetter=false,meta){let customTagFor=getCustomTagFor(obj);if(customTagFor!==undefined){return customTagFor(obj,propertyKey,addMandatorySetter);}let tag=tagFor(obj,propertyKey,meta);if(addMandatorySetter){setupMandatorySetter(tag,obj,propertyKey);}return tag;}function tagForObject(obj){if(isObject(obj)){{!!isDestroyed(obj)&&assert$1(isDestroyed(obj)?`Cannot create a new tag for \\`${toString$1(obj)}\\` after it has been destroyed.`:'',!isDestroyed(obj));}return tagFor(obj,SELF_TAG);}return CONSTANT_TAG;}function markObjectAsDirty(obj,propertyKey){dirtyTagFor(obj,propertyKey);dirtyTagFor(obj,SELF_TAG);}const CHAIN_PASS_THROUGH=new WeakSet();function finishLazyChains(meta,key,value){let lazyTags=meta.readableLazyChainsFor(key);if(lazyTags===undefined){return;}if(isObject(value)){for(let[tag,deps]of lazyTags){UPDATE_TAG(tag,getChainTagsForKey(value,deps,tagMetaFor(value),peekMeta(value)));}}lazyTags.length=0;}function getChainTagsForKeys(obj,keys,tagMeta,meta){let tags=[];for(let key of keys){getChainTags(tags,obj,key,tagMeta,meta);}return combine(tags);}function getChainTagsForKey(obj,key,tagMeta,meta){return combine(getChainTags([],obj,key,tagMeta,meta));}function getChainTags(chainTags,obj,path,tagMeta,meta$1){let current=obj;let currentTagMeta=tagMeta;let currentMeta=meta$1;let pathLength=path.length;let segmentEnd=-1;// prevent closures\nlet segment,descriptor;while(true){let lastSegmentEnd=segmentEnd+1;segmentEnd=path.indexOf('.',lastSegmentEnd);if(segmentEnd===-1){segmentEnd=pathLength;}segment=path.slice(lastSegmentEnd,segmentEnd);// If the segment is an @each, we can process it and then break\nif(segment==='@each'&&segmentEnd!==pathLength){lastSegmentEnd=segmentEnd+1;segmentEnd=path.indexOf('.',lastSegmentEnd);let arrLength=current.length;if(typeof arrLength!=='number'||// TODO: should the second test be `isEmberArray` instead?\n!(Array.isArray(current)||'objectAt'in current)){// If the current object isn't an array, there's nothing else to do,\n// we don't watch individual properties. Break out of the loop.\nbreak;}else if(arrLength===0){// Fast path for empty arrays\nchainTags.push(tagForProperty(current,'[]'));break;}if(segmentEnd===-1){segment=path.slice(lastSegmentEnd);}else{// Deprecated, remove once we turn the deprecation into an assertion\nsegment=path.slice(lastSegmentEnd,segmentEnd);}// Push the tags for each item's property\nfor(let i=0;i<arrLength;i++){let item=objectAt(current,i);if(item){!(typeof item==='object')&&assert$1(`When using @each to observe the array \\`${current.toString()}\\`, the items in the array must be objects`,typeof item==='object');chainTags.push(tagForProperty(item,segment,true));currentMeta=peekMeta(item);descriptor=currentMeta!==null?currentMeta.peekDescriptors(segment):undefined;// If the key is an alias, we need to bootstrap it\nif(descriptor!==undefined&&typeof descriptor.altKey==='string'){// eslint-disable-next-line @typescript-eslint/no-unused-expressions\nitem[segment];}}}// Push the tag for the array length itself\nchainTags.push(tagForProperty(current,'[]',true,currentTagMeta));break;}let propertyTag=tagForProperty(current,segment,true,currentTagMeta);descriptor=currentMeta!==null?currentMeta.peekDescriptors(segment):undefined;chainTags.push(propertyTag);// If we're at the end of the path, processing the last segment, and it's\n// not an alias, we should _not_ get the last value, since we already have\n// its tag. There's no reason to access it and do more work.\nif(segmentEnd===pathLength){// If the key was an alias, we should always get the next value in order to\n// bootstrap the alias. This is because aliases, unlike other CPs, should\n// always be in sync with the aliased value.\nif(CHAIN_PASS_THROUGH.has(descriptor)){// eslint-disable-next-line @typescript-eslint/no-unused-expressions\ncurrent[segment];}break;}if(descriptor===undefined){// If the descriptor is undefined, then its a normal property, so we should\n// lookup the value to chain off of like normal.\nif(!(segment in current)&&typeof current.unknownProperty==='function'){current=current.unknownProperty(segment);}else{current=current[segment];}}else if(CHAIN_PASS_THROUGH.has(descriptor)){current=current[segment];}else{// If the descriptor is defined, then its a normal CP (not an alias, which\n// would have been handled earlier). We get the last revision to check if\n// the CP is still valid, and if so we use the cached value. If not, then\n// we create a lazy chain lookup, and the next time the CP is calculated,\n// it will update that lazy chain.\nlet instanceMeta=currentMeta.source===current?currentMeta:meta(current);let lastRevision=instanceMeta.revisionFor(segment);if(lastRevision!==undefined&&validateTag(propertyTag,lastRevision)){current=instanceMeta.valueFor(segment);}else{// use metaFor here to ensure we have the meta for the instance\nlet lazyChains=instanceMeta.writableLazyChainsFor(segment);let rest=path.substring(segmentEnd+1);let placeholderTag=createUpdatableTag();lazyChains.push([placeholderTag,rest]);chainTags.push(placeholderTag);break;}}if(!isObject(current)){// we've hit the end of the chain for now, break out\nbreak;}currentTagMeta=tagMetaFor(current);currentMeta=peekMeta(current);}return chainTags;}// Same as built-in MethodDecorator but with more arguments\nfunction isElementDescriptor(args){let[maybeTarget,maybeKey,maybeDesc]=args;return(// Ensure we have the right number of args\nargs.length===3&&(// Make sure the target is a class or object (prototype)\ntypeof maybeTarget==='function'||typeof maybeTarget==='object'&&maybeTarget!==null)&&// Make sure the key is a string\ntypeof maybeKey==='string'&&(// Make sure the descriptor is the right shape\ntypeof maybeDesc==='object'&&maybeDesc!==null||maybeDesc===undefined));}function nativeDescDecorator(propertyDesc){let decorator=function(){return propertyDesc;};setClassicDecorator(decorator);return decorator;}/**\n            Objects of this type can implement an interface to respond to requests to\n            get and set. The default implementation handles simple properties.\n\n            @class Descriptor\n            @private\n          */class ComputedDescriptor{constructor(){_defineProperty(this,\"enumerable\",true);_defineProperty(this,\"configurable\",true);_defineProperty(this,\"_dependentKeys\",undefined);_defineProperty(this,\"_meta\",undefined);}setup(_obj,keyName,_propertyDesc,meta){meta.writeDescriptors(keyName,this);}teardown(_obj,keyName,meta){meta.removeDescriptors(keyName);}}let COMPUTED_GETTERS;{COMPUTED_GETTERS=new WeakSet();}function DESCRIPTOR_GETTER_FUNCTION(name,descriptor){function getter(){return descriptor.get(this,name);}{COMPUTED_GETTERS.add(getter);}return getter;}function DESCRIPTOR_SETTER_FUNCTION(name,descriptor){let set=function CPSETTER_FUNCTION(value){return descriptor.set(this,name,value);};COMPUTED_SETTERS.add(set);return set;}const COMPUTED_SETTERS=new WeakSet();function makeComputedDecorator(desc,DecoratorClass){let decorator=function COMPUTED_DECORATOR(target,key,propertyDesc,maybeMeta,isClassicDecorator){!(isClassicDecorator||!propertyDesc||!propertyDesc.get||!COMPUTED_GETTERS.has(propertyDesc.get))&&assert$1(`Only one computed property decorator can be applied to a class field or accessor, but '${key}' was decorated twice. You may have added the decorator to both a getter and setter, which is unnecessary.`,isClassicDecorator||!propertyDesc||!propertyDesc.get||!COMPUTED_GETTERS.has(propertyDesc.get));let meta$1=arguments.length===3?meta(target):maybeMeta;desc.setup(target,key,propertyDesc,meta$1);let computedDesc={enumerable:desc.enumerable,configurable:desc.configurable,get:DESCRIPTOR_GETTER_FUNCTION(key,desc),set:DESCRIPTOR_SETTER_FUNCTION(key,desc)};return computedDesc;};setClassicDecorator(decorator,desc);Object.setPrototypeOf(decorator,DecoratorClass.prototype);return decorator;}/////////////\nconst DECORATOR_DESCRIPTOR_MAP=new WeakMap();/**\n            Returns the CP descriptor associated with `obj` and `keyName`, if any.\n\n            @method descriptorForProperty\n            @param {Object} obj the object to check\n            @param {String} keyName the key to check\n            @return {Descriptor}\n            @private\n          */function descriptorForProperty(obj,keyName,_meta){!(obj!==null)&&assert$1('Cannot call `descriptorForProperty` on null',obj!==null);!(obj!==undefined)&&assert$1('Cannot call `descriptorForProperty` on undefined',obj!==undefined);!(typeof obj==='object'||typeof obj==='function')&&assert$1(`Cannot call \\`descriptorForProperty\\` on ${typeof obj}`,typeof obj==='object'||typeof obj==='function');let meta=_meta===undefined?peekMeta(obj):_meta;if(meta!==null){return meta.peekDescriptors(keyName);}}function descriptorForDecorator(dec){return DECORATOR_DESCRIPTOR_MAP.get(dec);}/**\n            Check whether a value is a decorator\n\n            @method isClassicDecorator\n            @param {any} possibleDesc the value to check\n            @return {boolean}\n            @private\n          */function isClassicDecorator(dec){return typeof dec==='function'&&DECORATOR_DESCRIPTOR_MAP.has(dec);}/**\n            Set a value as a decorator\n\n            @method setClassicDecorator\n            @param {function} decorator the value to mark as a decorator\n            @private\n          */function setClassicDecorator(dec,value=true){DECORATOR_DESCRIPTOR_MAP.set(dec,value);}/**\n          @module @ember/object\n          */const END_WITH_EACH_REGEX=/\\.@each$/;/**\n            Expands `pattern`, invoking `callback` for each expansion.\n\n            The only pattern supported is brace-expansion, anything else will be passed\n            once to `callback` directly.\n\n            Example\n\n            ```js\n            import { expandProperties } from '@ember/object/computed';\n\n            function echo(arg){ console.log(arg); }\n\n            expandProperties('foo.bar', echo);              //=> 'foo.bar'\n            expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n            expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n            expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n            expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n            expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n            expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n            ```\n\n            @method expandProperties\n            @static\n            @for @ember/object/computed\n            @public\n            @param {String} pattern The property pattern to expand.\n            @param {Function} callback The callback to invoke.  It is invoked once per\n            expansion, and is passed the expansion.\n          */function expandProperties(pattern,callback){!(typeof pattern==='string')&&assert$1(`A computed property key must be a string, you passed ${typeof pattern} ${pattern}`,typeof pattern==='string');!(pattern.indexOf(' ')===-1)&&assert$1('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"',pattern.indexOf(' ')===-1);// regex to look for double open, double close, or unclosed braces\n!(pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g)===null)&&assert$1(`Brace expanded properties have to be balanced and cannot be nested, pattern: ${pattern}`,pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g)===null);let start=pattern.indexOf('{');if(start<0){callback(pattern.replace(END_WITH_EACH_REGEX,'.[]'));}else{dive('',pattern,start,callback);}}function dive(prefix,pattern,start,callback){let end=pattern.indexOf('}'),i=0,newStart,arrayLength;let tempArr=pattern.substring(start+1,end).split(',');let after=pattern.substring(end+1);prefix=prefix+pattern.substring(0,start);arrayLength=tempArr.length;while(i<arrayLength){newStart=after.indexOf('{');if(newStart<0){callback((prefix+tempArr[i++]+after).replace(END_WITH_EACH_REGEX,'.[]'));}else{dive(prefix+tempArr[i++],after,newStart,callback);}}}const AFTER_OBSERVERS=':change';function changeEvent(keyName){return keyName+AFTER_OBSERVERS;}/**\n          @module @ember/object\n          *//*\n            The event system uses a series of nested hashes to store listeners on an\n            object. When a listener is registered, or when an event arrives, these\n            hashes are consulted to determine which target and action pair to invoke.\n\n            The hashes are stored in the object's meta hash, and look like this:\n\n                // Object's meta hash\n                {\n                  listeners: {       // variable name: `listenerSet`\n                    \"foo:change\": [ // variable name: `actions`\n                      target, method, once\n                    ]\n                  }\n                }\n\n          *//**\n            Add an event listener\n\n            @method addListener\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @param {Object|Function} target A target object or a function\n            @param {Function|String} method A function or the name of a function to be called on `target`\n            @param {Boolean} once A flag whether a function should only be called once\n            @public\n          */function addListener(obj,eventName,target,method,once,sync=true){!(Boolean(obj)&&Boolean(eventName))&&assert$1('You must pass at least an object and event name to addListener',Boolean(obj)&&Boolean(eventName));if(!method&&'function'===typeof target){method=target;target=null;}meta(obj).addToListeners(eventName,target,method,once===true,sync);}/**\n            Remove an event listener\n\n            Arguments should match those passed to `addListener`.\n\n            @method removeListener\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @param {Object|Function} target A target object or a function\n            @param {Function|String} method A function or the name of a function to be called on `target`\n            @public\n          */function removeListener(obj,eventName,targetOrFunction,functionOrName){!(Boolean(obj)&&Boolean(eventName)&&(typeof targetOrFunction==='function'||typeof targetOrFunction==='object'&&Boolean(functionOrName)))&&assert$1('You must pass at least an object, event name, and method or target and method/method name to removeListener',Boolean(obj)&&Boolean(eventName)&&(typeof targetOrFunction==='function'||typeof targetOrFunction==='object'&&Boolean(functionOrName)));let target,method;if(typeof targetOrFunction==='object'){target=targetOrFunction;method=functionOrName;}else{target=null;method=targetOrFunction;}let m=meta(obj);m.removeFromListeners(eventName,target,method);}/**\n            Send an event. The execution of suspended listeners\n            is skipped, and once listeners are removed. A listener without\n            a target is executed on the passed object. If an array of actions\n            is not passed, the actions stored on the passed object are invoked.\n\n            @method sendEvent\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @param {Array} params Optional parameters for each listener.\n            @return {Boolean} if the event was delivered to one or more actions\n            @public\n          */function sendEvent(obj,eventName,params,actions,_meta){if(actions===undefined){let meta=_meta===undefined?peekMeta(obj):_meta;actions=meta!==null?meta.matchingListeners(eventName):undefined;}if(actions===undefined||actions.length===0){return false;}for(let i=actions.length-3;i>=0;i-=3){// looping in reverse for once listeners\nlet target=actions[i];let method=actions[i+1];let once=actions[i+2];if(!method){continue;}if(once){removeListener(obj,eventName,target,method);}if(!target){target=obj;}let type=typeof method;if(type==='string'||type==='symbol'){method=target[method];}method.apply(target,params);}return true;}/**\n            @public\n            @method hasListeners\n            @static\n            @for @ember/object/events\n            @param obj\n            @param {String} eventName\n            @return {Boolean} if `obj` has listeners for event `eventName`\n          */function hasListeners(obj,eventName){let meta=peekMeta(obj);if(meta===null){return false;}let matched=meta.matchingListeners(eventName);return matched!==undefined&&matched.length>0;}/**\n            Define a property as a function that should be executed when\n            a specified event or events are triggered.\n\n            ``` javascript\n            import EmberObject from '@ember/object';\n            import { on } from '@ember/object/evented';\n            import { sendEvent } from '@ember/object/events';\n\n            let Job = EmberObject.extend({\n              logCompleted: on('completed', function() {\n                console.log('Job completed!');\n              })\n            });\n\n            let job = Job.create();\n\n            sendEvent(job, 'completed'); // Logs 'Job completed!'\n           ```\n\n            @method on\n            @static\n            @for @ember/object/evented\n            @param {String} eventNames*\n            @param {Function} func\n            @return {Function} the listener function, passed as last argument to on(...)\n            @public\n          */function on$3(...args){let func=args.pop();let events=args;!(typeof func==='function')&&assert$1('on expects function as last argument',typeof func==='function');!(events.length>0&&events.every(p=>typeof p==='string'&&p.length>0))&&assert$1('on called without valid event names',events.length>0&&events.every(p=>typeof p==='string'&&p.length>0));setListeners(func,events);return func;}const SYNC_DEFAULT=!ENV._DEFAULT_ASYNC_OBSERVERS;const SYNC_OBSERVERS=new Map();const ASYNC_OBSERVERS=new Map();/**\n          @module @ember/object\n          *//**\n            @method addObserver\n            @static\n            @for @ember/object/observers\n            @param obj\n            @param {String} path\n            @param {Object|Function} target\n            @param {Function|String} [method]\n            @public\n          */function addObserver(obj,path,target,method,sync=SYNC_DEFAULT){let eventName=changeEvent(path);addListener(obj,eventName,target,method,false,sync);let meta=peekMeta(obj);if(meta===null||!(meta.isPrototypeMeta(obj)||meta.isInitializing())){activateObserver(obj,eventName,sync);}}/**\n            @method removeObserver\n            @static\n            @for @ember/object/observers\n            @param obj\n            @param {String} path\n            @param {Object|Function} target\n            @param {Function|String} [method]\n            @public\n          */function removeObserver(obj,path,target,method,sync=SYNC_DEFAULT){let eventName=changeEvent(path);let meta=peekMeta(obj);if(meta===null||!(meta.isPrototypeMeta(obj)||meta.isInitializing())){deactivateObserver(obj,eventName,sync);}removeListener(obj,eventName,target,method);}function getOrCreateActiveObserversFor(target,sync){let observerMap=sync===true?SYNC_OBSERVERS:ASYNC_OBSERVERS;if(!observerMap.has(target)){observerMap.set(target,new Map());registerDestructor$1(target,()=>destroyObservers(target),true);}return observerMap.get(target);}function activateObserver(target,eventName,sync=false){let activeObservers=getOrCreateActiveObserversFor(target,sync);if(activeObservers.has(eventName)){activeObservers.get(eventName).count++;}else{let path=eventName.substring(0,eventName.lastIndexOf(':'));let tag=getChainTagsForKey(target,path,tagMetaFor(target),peekMeta(target));activeObservers.set(eventName,{count:1,path,tag,lastRevision:valueForTag(tag),suspended:false});}}let DEACTIVATE_SUSPENDED=false;let SCHEDULED_DEACTIVATE=[];function deactivateObserver(target,eventName,sync=false){if(DEACTIVATE_SUSPENDED===true){SCHEDULED_DEACTIVATE.push([target,eventName,sync]);return;}let observerMap=sync===true?SYNC_OBSERVERS:ASYNC_OBSERVERS;let activeObservers=observerMap.get(target);if(activeObservers!==undefined){let observer=activeObservers.get(eventName);observer.count--;if(observer.count===0){activeObservers.delete(eventName);if(activeObservers.size===0){observerMap.delete(target);}}}}function suspendedObserverDeactivation(){DEACTIVATE_SUSPENDED=true;}function resumeObserverDeactivation(){DEACTIVATE_SUSPENDED=false;for(let[target,eventName,sync]of SCHEDULED_DEACTIVATE){deactivateObserver(target,eventName,sync);}SCHEDULED_DEACTIVATE=[];}/**\n           * Primarily used for cases where we are redefining a class, e.g. mixins/reopen\n           * being applied later. Revalidates all the observers, resetting their tags.\n           *\n           * @private\n           * @param target\n           */function revalidateObservers(target){if(ASYNC_OBSERVERS.has(target)){ASYNC_OBSERVERS.get(target).forEach(observer=>{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);});}if(SYNC_OBSERVERS.has(target)){SYNC_OBSERVERS.get(target).forEach(observer=>{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);});}}let lastKnownRevision=0;function flushAsyncObservers(_schedule){let currentRevision=valueForTag(CURRENT_TAG);if(lastKnownRevision===currentRevision){return;}lastKnownRevision=currentRevision;ASYNC_OBSERVERS.forEach((activeObservers,target)=>{let meta=peekMeta(target);activeObservers.forEach((observer,eventName)=>{if(!validateTag(observer.tag,observer.lastRevision)){let sendObserver=()=>{try{sendEvent(target,eventName,[target,observer.path],undefined,meta);}finally{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);}};if(_schedule){_schedule('actions',sendObserver);}else{sendObserver();}}});});}function flushSyncObservers(){// When flushing synchronous observers, we know that something has changed (we\n// only do this during a notifyPropertyChange), so there's no reason to check\n// a global revision.\nSYNC_OBSERVERS.forEach((activeObservers,target)=>{let meta=peekMeta(target);activeObservers.forEach((observer,eventName)=>{if(!observer.suspended&&!validateTag(observer.tag,observer.lastRevision)){try{observer.suspended=true;sendEvent(target,eventName,[target,observer.path],undefined,meta);}finally{observer.tag=getChainTagsForKey(target,observer.path,tagMetaFor(target),peekMeta(target));observer.lastRevision=valueForTag(observer.tag);observer.suspended=false;}}});});}function setObserverSuspended(target,property,suspended){let activeObservers=SYNC_OBSERVERS.get(target);if(!activeObservers){return;}let observer=activeObservers.get(changeEvent(property));if(observer){observer.suspended=suspended;}}function destroyObservers(target){if(SYNC_OBSERVERS.size>0)SYNC_OBSERVERS.delete(target);if(ASYNC_OBSERVERS.size>0)ASYNC_OBSERVERS.delete(target);}/**\n           @module ember\n           @private\n           */const PROPERTY_DID_CHANGE=Symbol('PROPERTY_DID_CHANGE');function hasPropertyDidChange(obj){return obj!=null&&typeof obj==='object'&&typeof obj[PROPERTY_DID_CHANGE]==='function';}let deferred$1=0;/**\n            This function is called just after an object property has changed.\n            It will notify any observers and clear caches among other things.\n\n            Normally you will not need to call this method directly but if for some\n            reason you can't directly watch a property you can invoke this method\n            manually.\n\n            @method notifyPropertyChange\n            @for @ember/object\n            @param {Object} obj The object with the property that will change\n            @param {String} keyName The property key (or path) that will change.\n            @param {Meta} [_meta] The objects meta.\n            @param {unknown} [value] The new value to set for the property\n            @return {void}\n            @since 3.1.0\n            @public\n          */function notifyPropertyChange(obj,keyName,_meta,value){let meta=_meta===undefined?peekMeta(obj):_meta;if(meta!==null&&(meta.isInitializing()||meta.isPrototypeMeta(obj))){return;}markObjectAsDirty(obj,keyName);if(deferred$1<=0){flushSyncObservers();}if(PROPERTY_DID_CHANGE in obj){// It's redundant to do this here, but we don't want to check above so we can avoid an extra function call in prod.\n!hasPropertyDidChange(obj)&&assert$1('property did change hook is invalid',hasPropertyDidChange(obj));// we need to check the arguments length here; there's a check in Component's `PROPERTY_DID_CHANGE`\n// that checks its arguments length, so we have to explicitly not call this with `value`\n// if it is not passed to `notifyPropertyChange`\nif(arguments.length===4){obj[PROPERTY_DID_CHANGE](keyName,value);}else{obj[PROPERTY_DID_CHANGE](keyName);}}}/**\n            @method beginPropertyChanges\n            @chainable\n            @private\n          */function beginPropertyChanges(){deferred$1++;suspendedObserverDeactivation();}/**\n            @method endPropertyChanges\n            @private\n          */function endPropertyChanges(){deferred$1--;if(deferred$1<=0){flushSyncObservers();resumeObserverDeactivation();}}/**\n            Make a series of property changes together in an\n            exception-safe way.\n\n            ```javascript\n            Ember.changeProperties(function() {\n              obj1.set('foo', mayBlowUpWhenSet);\n              obj2.set('bar', baz);\n            });\n            ```\n\n            @method changeProperties\n            @param {Function} callback\n            @private\n          */function changeProperties(callback){beginPropertyChanges();try{callback();}finally{endPropertyChanges();}}/**\n          @module @ember/object\n          */const DEEP_EACH_REGEX=/\\.@each\\.[^.]+\\./;function noop$2(){}/**\n            `@computed` is a decorator that turns a JavaScript getter and setter into a\n            computed property, which is a _cached, trackable value_. By default the getter\n            will only be called once and the result will be cached. You can specify\n            various properties that your computed property depends on. This will force the\n            cached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n\n            In the following example we decorate a getter - `fullName` -  by calling\n            `computed` with the property dependencies (`firstName` and `lastName`) as\n            arguments. The `fullName` getter will be called once (regardless of how many\n            times it is accessed) as long as its dependencies do not change. Once\n            `firstName` or `lastName` are updated any future calls to `fullName` will\n            incorporate the new values, and any watchers of the value such as templates\n            will be updated:\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            });\n\n            let tom = new Person('Tom', 'Dale');\n\n            tom.fullName; // 'Tom Dale'\n            ```\n\n            You can also provide a setter, which will be used when updating the computed\n            property. Ember's `set` function must be used to update the property\n            since it will also notify observers of the property:\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n\n              set fullName(value) {\n                let [firstName, lastName] = value.split(' ');\n\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n            });\n\n            let person = new Person();\n\n            set(person, 'fullName', 'Peter Wagenet');\n            person.firstName; // 'Peter'\n            person.lastName;  // 'Wagenet'\n            ```\n\n            You can also pass a getter function or object with `get` and `set` functions\n            as the last argument to the computed decorator. This allows you to define\n            computed property _macros_:\n\n            ```js\n            import { computed } from '@ember/object';\n\n            function join(...keys) {\n              return computed(...keys, function() {\n                return keys.map(key => this[key]).join(' ');\n              });\n            }\n\n            class Person {\n              @join('firstName', 'lastName')\n              fullName;\n            }\n            ```\n\n            Note that when defined this way, getters and setters receive the _key_ of the\n            property they are decorating as the first argument. Setters receive the value\n            they are setting to as the second argument instead. Additionally, setters must\n            _return_ the value that should be cached:\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            function fullNameMacro(firstNameKey, lastNameKey) {\n              return computed(firstNameKey, lastNameKey, {\n                get() {\n                  return `${this[firstNameKey]} ${this[lastNameKey]}`;\n                }\n\n                set(key, value) {\n                  let [firstName, lastName] = value.split(' ');\n\n                  set(this, firstNameKey, firstName);\n                  set(this, lastNameKey, lastName);\n\n                  return value;\n                }\n              });\n            }\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @fullNameMacro('firstName', 'lastName') fullName;\n            });\n\n            let person = new Person();\n\n            set(person, 'fullName', 'Peter Wagenet');\n            person.firstName; // 'Peter'\n            person.lastName;  // 'Wagenet'\n            ```\n\n            Computed properties can also be used in classic classes. To do this, we\n            provide the getter and setter as the last argument like we would for a macro,\n            and we assign it to a property on the class definition. This is an _anonymous_\n            computed macro:\n\n            ```javascript\n            import EmberObject, { computed, set } from '@ember/object';\n\n            let Person = EmberObject.extend({\n              // these will be supplied by `create`\n              firstName: null,\n              lastName: null,\n\n              fullName: computed('firstName', 'lastName', {\n                get() {\n                  return `${this.firstName} ${this.lastName}`;\n                }\n\n                set(key, value) {\n                  let [firstName, lastName] = value.split(' ');\n\n                  set(this, 'firstName', firstName);\n                  set(this, 'lastName', lastName);\n\n                  return value;\n                }\n              })\n            });\n\n            let tom = Person.create({\n              firstName: 'Tom',\n              lastName: 'Dale'\n            });\n\n            tom.get('fullName') // 'Tom Dale'\n            ```\n\n            You can overwrite computed property without setters with a normal property (no\n            longer computed) that won't change if dependencies change. You can also mark\n            computed property as `.readOnly()` and block all attempts to set it.\n\n            ```javascript\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @computed('firstName', 'lastName').readOnly()\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            });\n\n            let person = new Person();\n            person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n            ```\n\n            Additional resources:\n            - [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n            - [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n            - [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n\n            @class ComputedProperty\n            @public\n          */class ComputedProperty extends ComputedDescriptor{constructor(args){super();_defineProperty(this,\"_readOnly\",false);_defineProperty(this,\"_hasConfig\",false);_defineProperty(this,\"_getter\",undefined);_defineProperty(this,\"_setter\",undefined);let maybeConfig=args[args.length-1];if(typeof maybeConfig==='function'||maybeConfig!==null&&typeof maybeConfig==='object'){this._hasConfig=true;let config=args.pop();if(typeof config==='function'){!!isClassicDecorator(config)&&assert$1(`You attempted to pass a computed property instance to computed(). Computed property instances are decorator functions, and cannot be passed to computed() because they cannot be turned into decorators twice`,!isClassicDecorator(config));this._getter=config;}else{const objectConfig=config;!(typeof objectConfig==='object'&&!Array.isArray(objectConfig))&&assert$1('computed expects a function or an object as last argument.',typeof objectConfig==='object'&&!Array.isArray(objectConfig));!Object.keys(objectConfig).every(key=>key==='get'||key==='set')&&assert$1('Config object passed to computed can only contain `get` and `set` keys.',Object.keys(objectConfig).every(key=>key==='get'||key==='set'));!(Boolean(objectConfig.get)||Boolean(objectConfig.set))&&assert$1('Computed properties must receive a getter or a setter, you passed none.',Boolean(objectConfig.get)||Boolean(objectConfig.set));this._getter=objectConfig.get||noop$2;this._setter=objectConfig.set;}}if(args.length>0){this._property(...args);}}setup(obj,keyName,propertyDesc,meta){super.setup(obj,keyName,propertyDesc,meta);!!(propertyDesc&&typeof propertyDesc.value==='function')&&assert$1(`@computed can only be used on accessors or fields, attempted to use it with ${keyName} but that was a method. Try converting it to a getter (e.g. \\`get ${keyName}() {}\\`)`,!(propertyDesc&&typeof propertyDesc.value==='function'));!(!propertyDesc||!propertyDesc.initializer)&&assert$1(`@computed can only be used on empty fields. ${keyName} has an initial value (e.g. \\`${keyName} = someValue\\`)`,!propertyDesc||!propertyDesc.initializer);!!(this._hasConfig&&propertyDesc&&(typeof propertyDesc.get==='function'||typeof propertyDesc.set==='function'))&&assert$1(`Attempted to apply a computed property that already has a getter/setter to a ${keyName}, but it is a method or an accessor. If you passed @computed a function or getter/setter (e.g. \\`@computed({ get() { ... } })\\`), then it must be applied to a field`,!(this._hasConfig&&propertyDesc&&(typeof propertyDesc.get==='function'||typeof propertyDesc.set==='function')));if(this._hasConfig===false){!(propertyDesc&&(typeof propertyDesc.get==='function'||typeof propertyDesc.set==='function'))&&assert$1(`Attempted to use @computed on ${keyName}, but it did not have a getter or a setter. You must either pass a get a function or getter/setter to @computed directly (e.g. \\`@computed({ get() { ... } })\\`) or apply @computed directly to a getter/setter`,propertyDesc&&(typeof propertyDesc.get==='function'||typeof propertyDesc.set==='function'));let{get,set}=propertyDesc;if(get!==undefined){this._getter=get;}if(set!==undefined){this._setter=function setterWrapper(_key,value){let ret=set.call(this,value);if(get!==undefined){return typeof ret==='undefined'?get.call(this):ret;}return ret;};}}}_property(...passedArgs){let args=[];function addArg(property){!(DEEP_EACH_REGEX.test(property)===false)&&assert$1(`Dependent keys containing @each only work one level deep. `+`You used the key \"${property}\" which is invalid. `+`Please create an intermediary computed property or `+`switch to using tracked properties.`,DEEP_EACH_REGEX.test(property)===false);args.push(property);}for(let arg of passedArgs){expandProperties(arg,addArg);}this._dependentKeys=args;}get(obj,keyName){let meta$1=meta(obj);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);let ret;let revision=meta$1.revisionFor(keyName);if(revision!==undefined&&validateTag(propertyTag,revision)){ret=meta$1.valueFor(keyName);}else{// For backwards compatibility, we only throw if the CP has any dependencies. CPs without dependencies\n// should be allowed, even after the object has been destroyed, which is why we check _dependentKeys.\n!(this._dependentKeys===undefined||!isDestroyed(obj))&&assert$1(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`,this._dependentKeys===undefined||!isDestroyed(obj));let{_getter,_dependentKeys}=this;// Create a tracker that absorbs any trackable actions inside the CP\nuntrack(()=>{ret=_getter.call(obj,keyName);});if(_dependentKeys!==undefined){UPDATE_TAG(propertyTag,getChainTagsForKeys(obj,_dependentKeys,tagMeta,meta$1));{ALLOW_CYCLES.set(propertyTag,true);}}meta$1.setValueFor(keyName,ret);meta$1.setRevisionFor(keyName,valueForTag(propertyTag));finishLazyChains(meta$1,keyName,ret);}consumeTag(propertyTag);// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(Array.isArray(ret)){consumeTag(tagFor(ret,'[]'));}return ret;}set(obj,keyName,value){if(this._readOnly){this._throwReadOnlyError(obj,keyName);}!(this._setter!==undefined)&&assert$1(`Cannot override the computed property \\`${keyName}\\` on ${toString$1(obj)}.`,this._setter!==undefined);let meta$1=meta(obj);// ensure two way binding works when the component has defined a computed\n// property with both a setter and dependent keys, in that scenario without\n// the sync observer added below the caller's value will never be updated\n//\n// See GH#18147 / GH#19028 for details.\nif(// ensure that we only run this once, while the component is being instantiated\nmeta$1.isInitializing()&&this._dependentKeys!==undefined&&this._dependentKeys.length>0&&typeof obj[PROPERTY_DID_CHANGE]==='function'&&obj.isComponent){// It's redundant to do this here, but we don't want to check above so we can avoid an extra function call in prod.\n!hasPropertyDidChange(obj)&&assert$1('property did change hook is invalid',hasPropertyDidChange(obj));addObserver(obj,keyName,()=>{obj[PROPERTY_DID_CHANGE](keyName);},undefined,true);}let ret;try{beginPropertyChanges();ret=this._set(obj,keyName,value,meta$1);finishLazyChains(meta$1,keyName,ret);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);let{_dependentKeys}=this;if(_dependentKeys!==undefined){UPDATE_TAG(propertyTag,getChainTagsForKeys(obj,_dependentKeys,tagMeta,meta$1));if(true/* DEBUG */){ALLOW_CYCLES.set(propertyTag,true);}}meta$1.setRevisionFor(keyName,valueForTag(propertyTag));}finally{endPropertyChanges();}return ret;}_throwReadOnlyError(obj,keyName){throw new Error(`Cannot set read-only property \"${keyName}\" on object: ${inspect(obj)}`);}_set(obj,keyName,value,meta){let hadCachedValue=meta.revisionFor(keyName)!==undefined;let cachedValue=meta.valueFor(keyName);let ret;let{_setter}=this;setObserverSuspended(obj,keyName,true);try{ret=_setter.call(obj,keyName,value,cachedValue);}finally{setObserverSuspended(obj,keyName,false);}// allows setter to return the same value that is cached already\nif(hadCachedValue&&cachedValue===ret){return ret;}meta.setValueFor(keyName,ret);notifyPropertyChange(obj,keyName,meta,value);return ret;}/* called before property is overridden */teardown(obj,keyName,meta){if(meta.revisionFor(keyName)!==undefined){meta.setRevisionFor(keyName,undefined);meta.setValueFor(keyName,undefined);}super.teardown(obj,keyName,meta);}}class AutoComputedProperty extends ComputedProperty{get(obj,keyName){let meta$1=meta(obj);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);let ret;let revision=meta$1.revisionFor(keyName);if(revision!==undefined&&validateTag(propertyTag,revision)){ret=meta$1.valueFor(keyName);}else{!!isDestroyed(obj)&&assert$1(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`,!isDestroyed(obj));let{_getter}=this;// Create a tracker that absorbs any trackable actions inside the CP\nlet tag=track(()=>{ret=_getter.call(obj,keyName);});UPDATE_TAG(propertyTag,tag);meta$1.setValueFor(keyName,ret);meta$1.setRevisionFor(keyName,valueForTag(propertyTag));finishLazyChains(meta$1,keyName,ret);}consumeTag(propertyTag);// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(Array.isArray(ret)){consumeTag(tagFor(ret,'[]',tagMeta));}return ret;}}// TODO: This class can be svelted once `meta` has been deprecated\nclass ComputedDecoratorImpl extends Function{/**\n              Call on a computed property to set it into read-only mode. When in this\n              mode the computed property will throw an error when set.\n               Example:\n               ```javascript\n              import { computed, set } from '@ember/object';\n               class Person {\n                @computed().readOnly()\n                get guid() {\n                  return 'guid-guid-guid';\n                }\n              }\n               let person = new Person();\n              set(person, 'guid', 'new-guid'); // will throw an exception\n              ```\n               Classic Class Example:\n               ```javascript\n              import EmberObject, { computed } from '@ember/object';\n               let Person = EmberObject.extend({\n                guid: computed(function() {\n                  return 'guid-guid-guid';\n                }).readOnly()\n              });\n               let person = Person.create();\n              person.set('guid', 'new-guid'); // will throw an exception\n              ```\n               @method readOnly\n              @return {ComputedProperty} this\n              @chainable\n              @public\n            */readOnly(){let desc=descriptorForDecorator(this);!!(desc._setter&&desc._setter!==desc._getter)&&assert$1('Computed properties that define a setter using the new syntax cannot be read-only',!(desc._setter&&desc._setter!==desc._getter));desc._readOnly=true;return this;}/**\n              In some cases, you may want to annotate computed properties with additional\n              metadata about how they function or what values they operate on. For example,\n              computed property functions may close over variables that are then no longer\n              available for introspection. You can pass a hash of these values to a\n              computed property.\n               Example:\n               ```javascript\n              import { computed } from '@ember/object';\n              import Person from 'my-app/utils/person';\n               class Store {\n                @computed().meta({ type: Person })\n                get person() {\n                  let personId = this.personId;\n                  return Person.create({ id: personId });\n                }\n              }\n              ```\n               Classic Class Example:\n               ```javascript\n              import { computed } from '@ember/object';\n              import Person from 'my-app/utils/person';\n               const Store = EmberObject.extend({\n                person: computed(function() {\n                  let personId = this.get('personId');\n                  return Person.create({ id: personId });\n                }).meta({ type: Person })\n              });\n              ```\n               The hash that you pass to the `meta()` function will be saved on the\n              computed property descriptor under the `_meta` key. Ember runtime\n              exposes a public API for retrieving these values from classes,\n              via the `metaForProperty()` function.\n               @method meta\n              @param {Object} meta\n              @chainable\n              @public\n            */meta(meta){let prop=descriptorForDecorator(this);if(arguments.length===0){return prop._meta||{};}else{prop._meta=meta;return this;}}// TODO: Remove this when we can provide alternatives in the ecosystem to\n// addons such as ember-macro-helpers that use it.\n/** @internal */get _getter(){return descriptorForDecorator(this)._getter;}// TODO: Refactor this, this is an internal API only\n/** @internal */set enumerable(value){descriptorForDecorator(this).enumerable=value;}}/**\n            This helper returns a new property descriptor that wraps the passed\n            computed property function. You can use this helper to define properties with\n            native decorator syntax, mixins, or via `defineProperty()`.\n\n            Example:\n\n            ```js\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor() {\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            }\n\n            let client = new Person();\n\n            client.fullName; // 'Betty Jones'\n\n            set(client, 'lastName', 'Fuller');\n            client.fullName; // 'Betty Fuller'\n            ```\n\n            Classic Class Example:\n\n            ```js\n            import EmberObject, { computed } from '@ember/object';\n\n            let Person = EmberObject.extend({\n              init() {\n                this._super(...arguments);\n\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              fullName: computed('firstName', 'lastName', function() {\n                return `${this.get('firstName')} ${this.get('lastName')}`;\n              })\n            });\n\n            let client = Person.create();\n\n            client.get('fullName'); // 'Betty Jones'\n\n            client.set('lastName', 'Fuller');\n            client.get('fullName'); // 'Betty Fuller'\n            ```\n\n            You can also provide a setter, either directly on the class using native class\n            syntax, or by passing a hash with `get` and `set` functions.\n\n            Example:\n\n            ```js\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              constructor() {\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              @computed('firstName', 'lastName')\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n\n              set fullName(value) {\n                let [firstName, lastName] = value.split(/\\s+/);\n\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n\n                return value;\n              }\n            }\n\n            let client = new Person();\n\n            client.fullName; // 'Betty Jones'\n\n            set(client, 'lastName', 'Fuller');\n            client.fullName; // 'Betty Fuller'\n            ```\n\n            Classic Class Example:\n\n            ```js\n            import EmberObject, { computed } from '@ember/object';\n\n            let Person = EmberObject.extend({\n              init() {\n                this._super(...arguments);\n\n                this.firstName = 'Betty';\n                this.lastName = 'Jones';\n              },\n\n              fullName: computed('firstName', 'lastName', {\n                get(key) {\n                  return `${this.get('firstName')} ${this.get('lastName')}`;\n                },\n                set(key, value) {\n                  let [firstName, lastName] = value.split(/\\s+/);\n                  this.setProperties({ firstName, lastName });\n                  return value;\n                }\n              })\n            });\n\n            let client = Person.create();\n            client.get('firstName'); // 'Betty'\n\n            client.set('fullName', 'Carroll Fuller');\n            client.get('firstName'); // 'Carroll'\n            ```\n\n            When passed as an argument, the `set` function should accept two parameters,\n            `key` and `value`. The value returned from `set` will be the new value of the\n            property.\n\n            _Note: This is the preferred way to define computed properties when writing third-party\n            libraries that depend on or use Ember, since there is no guarantee that the user\n            will have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._\n\n            @method computed\n            @for @ember/object\n            @static\n            @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.\n            @param {Function} func The computed property function.\n            @return {ComputedDecorator} property decorator instance\n            @public\n          */// @computed without parens or computed with descriptor args\n// @computed with keys only\n// @computed with keys and config\n// @computed with config only\nfunction computed(...args){!!(isElementDescriptor(args.slice(0,3))&&args.length===5&&args[4]===true)&&assert$1(`@computed can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: computed()`,!(isElementDescriptor(args.slice(0,3))&&args.length===5&&args[4]===true));if(isElementDescriptor(args)){// SAFETY: We passed in the impl for this class\nlet decorator=makeComputedDecorator(new ComputedProperty([]),ComputedDecoratorImpl);return decorator(args[0],args[1],args[2]);}// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(new ComputedProperty(args),ComputedDecoratorImpl);}function autoComputed(...config){// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(new AutoComputedProperty(config),ComputedDecoratorImpl);}/**\n            Allows checking if a given property on an object is a computed property. For the most part,\n            this doesn't matter (you would normally just access the property directly and use its value),\n            but for some tooling specific scenarios (e.g. the ember-inspector) it is important to\n            differentiate if a property is a computed property or a \"normal\" property.\n\n            This will work on either a class's prototype or an instance itself.\n\n            @static\n            @method isComputed\n            @for @ember/debug\n            @private\n           */function isComputed(obj,key){return Boolean(descriptorForProperty(obj,key));}function getCachedValueFor(obj,key){let meta=peekMeta(obj);if(meta){return meta.valueFor(key);}else{return undefined;}}/**\n          @module @ember/object\n          *//**\n            NOTE: This is a low-level method used by other parts of the API. You almost\n            never want to call this method directly. Instead you should use\n            `mixin()` to define new properties.\n\n            Defines a property on an object. This method works much like the ES5\n            `Object.defineProperty()` method except that it can also accept computed\n            properties and other special descriptors.\n\n            Normally this method takes only three parameters. However if you pass an\n            instance of `Descriptor` as the third param then you can pass an\n            optional value as the fourth parameter. This is often more efficient than\n            creating new descriptor hashes for each property.\n\n            ## Examples\n\n            ```javascript\n            import { defineProperty, computed } from '@ember/object';\n\n            // ES5 compatible mode\n            defineProperty(contact, 'firstName', {\n              writable: true,\n              configurable: false,\n              enumerable: true,\n              value: 'Charles'\n            });\n\n            // define a simple property\n            defineProperty(contact, 'lastName', undefined, 'Jolley');\n\n            // define a computed property\n            defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n              return this.firstName+' '+this.lastName;\n            }));\n            ```\n\n            @public\n            @method defineProperty\n            @static\n            @for @ember/object\n            @param {Object} obj the object to define this property on. This may be a prototype.\n            @param {String} keyName the name of the property\n            @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n              computed property) or an ES5 descriptor.\n              You must provide this or `data` but not both.\n            @param {*} [data] something other than a descriptor, that will\n              become the explicit value of this property.\n          */function defineProperty(obj,keyName,desc,data,_meta){let meta$1=_meta===undefined?meta(obj):_meta;let previousDesc=descriptorForProperty(obj,keyName,meta$1);let wasDescriptor=previousDesc!==undefined;if(wasDescriptor){previousDesc.teardown(obj,keyName,meta$1);}if(isClassicDecorator(desc)){defineDecorator(obj,keyName,desc,meta$1);}else if(desc===null||desc===undefined){defineValue(obj,keyName,data,wasDescriptor,true);}else{// fallback to ES5\nObject.defineProperty(obj,keyName,desc);}// if key is being watched, override chains that\n// were initialized with the prototype\nif(!meta$1.isPrototypeMeta(obj)){revalidateObservers(obj);}}function defineDecorator(obj,keyName,desc,meta){let propertyDesc;{propertyDesc=desc(obj,keyName,undefined,meta,true);}Object.defineProperty(obj,keyName,propertyDesc);// pass the decorator function forward for backwards compat\nreturn desc;}function defineValue(obj,keyName,value,wasDescriptor,enumerable=true){if(wasDescriptor===true||enumerable===false){Object.defineProperty(obj,keyName,{configurable:true,enumerable,writable:true,value});}else{{setWithMandatorySetter(obj,keyName,value);}}return value;}const EMBER_ARRAYS=new WeakSet();function setEmberArray(obj){EMBER_ARRAYS.add(obj);}function isEmberArray(obj){return EMBER_ARRAYS.has(obj);}const emberArrayinternals=/*#__PURE__*/Object.defineProperty({__proto__:null,isEmberArray,setEmberArray},Symbol.toStringTag,{value:'Module'});const firstDotIndexCache=new Cache(1000,key=>key.indexOf('.'));function isPath(path){return typeof path==='string'&&firstDotIndexCache.get(path)!==-1;}/**\n          @module @ember/object\n          */const PROXY_CONTENT=symbol('PROXY_CONTENT');let getPossibleMandatoryProxyValue;{getPossibleMandatoryProxyValue=function getPossibleMandatoryProxyValue(obj,keyName){let content=obj[PROXY_CONTENT];if(content===undefined){return obj[keyName];}else{/* global Reflect */return Reflect.get(content,keyName,obj);}};}function hasUnknownProperty(val){return typeof val==='object'&&val!==null&&typeof val.unknownProperty==='function';}// ..........................................................\n// GET AND SET\n//\n// If we are on a platform that supports accessors we can use those.\n// Otherwise simulate accessors by looking up the property directly on the\n// object.\n/**\n            Gets the value of a property on an object. If the property is computed,\n            the function will be invoked. If the property is not defined but the\n            object implements the `unknownProperty` method then that will be invoked.\n\n            ```javascript\n            import { get } from '@ember/object';\n            get(obj, \"name\");\n            ```\n\n            If you plan to run on IE8 and older browsers then you should use this\n            method anytime you want to retrieve a property on an object that you don't\n            know for sure is private. (Properties beginning with an underscore '_'\n            are considered private.)\n\n            On all newer browsers, you only need to use this method to retrieve\n            properties if the property might not be defined on the object and you want\n            to respect the `unknownProperty` handler. Otherwise you can ignore this\n            method.\n\n            Note that if the object itself is `undefined`, this method will throw\n            an error.\n\n            @method get\n            @for @ember/object\n            @static\n            @param {Object} obj The object to retrieve from.\n            @param {String} keyName The property key to retrieve\n            @return {Object} the property value or `null`.\n            @public\n          */function get$2(obj,keyName){!(arguments.length===2)&&assert$1(`Get must be called with two arguments; an object and a property key`,arguments.length===2);!(obj!==undefined&&obj!==null)&&assert$1(`Cannot call get with '${keyName}' on an undefined object.`,obj!==undefined&&obj!==null);!(typeof keyName==='string'||typeof keyName==='number'&&!isNaN(keyName))&&assert$1(`The key provided to get must be a string or number, you passed ${keyName}`,typeof keyName==='string'||typeof keyName==='number'&&!isNaN(keyName));!(typeof keyName!=='string'||keyName.lastIndexOf('this.',0)!==0)&&assert$1(`'this' in paths is not supported`,typeof keyName!=='string'||keyName.lastIndexOf('this.',0)!==0);return isPath(keyName)?_getPath(obj,keyName):_getProp(obj,keyName);}function _getProp(obj,keyName){if(obj==null){return;}let value;if(typeof obj==='object'||typeof obj==='function'){{value=getPossibleMandatoryProxyValue(obj,keyName);}if(value===undefined&&typeof obj==='object'&&!(keyName in obj)&&hasUnknownProperty(obj)){value=obj.unknownProperty(keyName);}if(isTracking()){consumeTag(tagFor(obj,keyName));if(Array.isArray(value)||isEmberArray(value)){// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nconsumeTag(tagFor(value,'[]'));}}}else{// SAFETY: It should be ok to access properties on any non-nullish value\nvalue=obj[keyName];}return value;}function _getPath(obj,path,forSet){let parts=typeof path==='string'?path.split('.'):path;for(let part of parts){if(obj===undefined||obj===null||obj.isDestroyed){return undefined;}if(forSet&&(part==='__proto__'||part==='constructor')){return;}obj=_getProp(obj,part);}return obj;}// Warm it up\n_getProp('foo','a');_getProp('foo',1);_getProp({},'a');_getProp({},1);_getProp({unknownProperty(){}},'a');_getProp({unknownProperty(){}},1);get$2({},'foo');get$2({},'foo.bar');let fakeProxy={};setProxy(fakeProxy);track(()=>_getProp({},'a'));track(()=>_getProp({},1));track(()=>_getProp({a:[]},'a'));track(()=>_getProp({a:fakeProxy},'a'));/**\n           @module @ember/object\n          *//**\n            Sets the value of a property on an object, respecting computed properties\n            and notifying observers and other listeners of the change.\n            If the specified property is not defined on the object and the object\n            implements the `setUnknownProperty` method, then instead of setting the\n            value of the property on the object, its `setUnknownProperty` handler\n            will be invoked with the two parameters `keyName` and `value`.\n\n            ```javascript\n            import { set } from '@ember/object';\n            set(obj, \"name\", value);\n            ```\n\n            @method set\n            @static\n            @for @ember/object\n            @param {Object} obj The object to modify.\n            @param {String} keyName The property key to set\n            @param {Object} value The value to set\n            @return {Object} the passed value.\n            @public\n          */function set(obj,keyName,value,tolerant){!(arguments.length===3||arguments.length===4)&&assert$1(`Set must be called with three or four arguments; an object, a property key, a value and tolerant true/false`,arguments.length===3||arguments.length===4);!(obj&&typeof obj==='object'||typeof obj==='function')&&assert$1(`Cannot call set with '${keyName}' on an undefined object.`,obj&&typeof obj==='object'||typeof obj==='function');!(typeof keyName==='string'||typeof keyName==='number'&&!isNaN(keyName))&&assert$1(`The key provided to set must be a string or number, you passed ${keyName}`,typeof keyName==='string'||typeof keyName==='number'&&!isNaN(keyName));!(typeof keyName!=='string'||keyName.lastIndexOf('this.',0)!==0)&&assert$1(`'this' in paths is not supported`,typeof keyName!=='string'||keyName.lastIndexOf('this.',0)!==0);if(obj.isDestroyed){!tolerant&&assert$1(`calling set on destroyed object: ${toString$1(obj)}.${keyName} = ${toString$1(value)}`,tolerant);return value;}return isPath(keyName)?_setPath(obj,keyName,value,tolerant):_setProp(obj,keyName,value);}function _setProp(obj,keyName,value){let descriptor=lookupDescriptor(obj,keyName);if(descriptor!==null&&COMPUTED_SETTERS.has(descriptor.set)){obj[keyName]=value;return value;}let currentValue;{currentValue=getPossibleMandatoryProxyValue(obj,keyName);}if(currentValue===undefined&&'object'===typeof obj&&!(keyName in obj)&&typeof obj.setUnknownProperty==='function'){/* unknown property */obj.setUnknownProperty(keyName,value);}else{{setWithMandatorySetter(obj,keyName,value);}if(currentValue!==value){notifyPropertyChange(obj,keyName);}}return value;}function _setPath(root,path,value,tolerant){let parts=path.split('.');let keyName=parts.pop();!(keyName.trim().length>0)&&assert$1('Property set failed: You passed an empty path',keyName.trim().length>0);let newRoot=_getPath(root,parts,true);if(newRoot!==null&&newRoot!==undefined){return set(newRoot,keyName,value);}else if(!tolerant){throw new Error(`Property set failed: object in path \"${parts.join('.')}\" could not be found.`);}}/**\n            Error-tolerant form of `set`. Will not blow up if any part of the\n            chain is `undefined`, `null`, or destroyed.\n\n            This is primarily used when syncing bindings, which may try to update after\n            an object has been destroyed.\n\n            ```javascript\n            import { trySet } from '@ember/object';\n\n            let obj = { name: \"Zoey\" };\n            trySet(obj, \"contacts.twitter\", \"@emberjs\");\n            ```\n\n            @method trySet\n            @static\n            @for @ember/object\n            @param {Object} root The object to modify.\n            @param {String} path The property path to set\n            @param {Object} value The value to set\n            @public\n          */function trySet(root,path,value){return set(root,path,value,true);}function alias(altKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @alias as a decorator directly, but it requires a `altKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(new AliasedProperty(altKey),AliasDecoratorImpl);}// TODO: This class can be svelted once `meta` has been deprecated\nclass AliasDecoratorImpl extends Function{readOnly(){descriptorForDecorator(this).readOnly();return this;}oneWay(){descriptorForDecorator(this).oneWay();return this;}meta(meta){let prop=descriptorForDecorator(this);if(arguments.length===0){return prop._meta||{};}else{prop._meta=meta;}}}class AliasedProperty extends ComputedDescriptor{constructor(altKey){super();_defineProperty(this,\"altKey\",void 0);this.altKey=altKey;}setup(obj,keyName,propertyDesc,meta){!(this.altKey!==keyName)&&assert$1(`Setting alias '${keyName}' on self`,this.altKey!==keyName);super.setup(obj,keyName,propertyDesc,meta);CHAIN_PASS_THROUGH.add(this);}get(obj,keyName){let ret;let meta$1=meta(obj);let tagMeta=tagMetaFor(obj);let propertyTag=tagFor(obj,keyName,tagMeta);// We don't use the tag since CPs are not automatic, we just want to avoid\n// anything tracking while we get the altKey\nuntrack(()=>{ret=get$2(obj,this.altKey);});let lastRevision=meta$1.revisionFor(keyName);if(lastRevision===undefined||!validateTag(propertyTag,lastRevision)){UPDATE_TAG(propertyTag,getChainTagsForKey(obj,this.altKey,tagMeta,meta$1));meta$1.setRevisionFor(keyName,valueForTag(propertyTag));finishLazyChains(meta$1,keyName,ret);}consumeTag(propertyTag);return ret;}set(obj,_keyName,value){return set(obj,this.altKey,value);}readOnly(){this.set=AliasedProperty_readOnlySet;}oneWay(){this.set=AliasedProperty_oneWaySet;}}function AliasedProperty_readOnlySet(obj,keyName){throw new Error(`Cannot set read-only property '${keyName}' on object: ${inspect(obj)}`);}function AliasedProperty_oneWaySet(obj,keyName,value){defineProperty(obj,keyName,null);return set(obj,keyName,value);}/**\n          @module ember\n          *//**\n            Used internally to allow changing properties in a backwards compatible way, and print a helpful\n            deprecation warning.\n\n            @method deprecateProperty\n            @param {Object} object The object to add the deprecated property to.\n            @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n            @param {String} newKey The property that will be aliased.\n            @private\n            @since 1.7.0\n          */function deprecateProperty(object,deprecatedKey,newKey,options){function _deprecate(){deprecate$1(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`,false,options);}Object.defineProperty(object,deprecatedKey,{configurable:true,enumerable:false,set(value){_deprecate();set(this,newKey,value);},get(){_deprecate();return get$2(this,newKey);}});}function arrayContentWillChange(array,startIdx,removeAmt,addAmt){// if no args are passed assume everything changes\nif(startIdx===undefined){startIdx=0;removeAmt=addAmt=-1;}else{if(removeAmt===undefined){removeAmt=-1;}if(addAmt===undefined){addAmt=-1;}}sendEvent(array,'@array:before',[array,startIdx,removeAmt,addAmt]);return array;}function arrayContentDidChange(array,startIdx,removeAmt,addAmt,notify=true){// if no args are passed assume everything changes\nif(startIdx===undefined){startIdx=0;removeAmt=addAmt=-1;}else{if(removeAmt===undefined){removeAmt=-1;}if(addAmt===undefined){addAmt=-1;}}let meta=peekMeta(array);if(notify){if(addAmt<0||removeAmt<0||addAmt-removeAmt!==0){notifyPropertyChange(array,'length',meta);}notifyPropertyChange(array,'[]',meta);}sendEvent(array,'@array:change',[array,startIdx,removeAmt,addAmt]);if(meta!==null){let length=array.length;let addedAmount=addAmt===-1?0:addAmt;let removedAmount=removeAmt===-1?0:removeAmt;let delta=addedAmount-removedAmount;let previousLength=length-delta;let normalStartIdx=startIdx<0?previousLength+startIdx:startIdx;if(meta.revisionFor('firstObject')!==undefined&&normalStartIdx===0){notifyPropertyChange(array,'firstObject',meta);}if(meta.revisionFor('lastObject')!==undefined){let previousLastIndex=previousLength-1;let lastAffectedIndex=normalStartIdx+removedAmount;if(previousLastIndex<lastAffectedIndex){notifyPropertyChange(array,'lastObject',meta);}}}return array;}const EMPTY_ARRAY$3=Object.freeze([]);// Ideally, we'd use MutableArray.detect but for unknown reasons this causes\n// the node tests to fail strangely.\nfunction isMutableArray(obj){return obj!=null&&typeof obj.replace==='function';}function replace(array,start,deleteCount,items=EMPTY_ARRAY$3){if(isMutableArray(array)){array.replace(start,deleteCount,items);}else{!Array.isArray(array)&&assert$1('Can only replace content of a native array or MutableArray',Array.isArray(array));replaceInNativeArray(array,start,deleteCount,items);}}const CHUNK_SIZE=60000;// To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n// See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\nfunction replaceInNativeArray(array,start,deleteCount,items){arrayContentWillChange(array,start,deleteCount,items.length);if(items.length<=CHUNK_SIZE){array.splice(start,deleteCount,...items);}else{array.splice(start,deleteCount);for(let i=0;i<items.length;i+=CHUNK_SIZE){let chunk=items.slice(i,i+CHUNK_SIZE);array.splice(start+i,0,...chunk);}}arrayContentDidChange(array,start,deleteCount,items.length);}function arrayObserversHelper(obj,target,opts,operation){let{willChange,didChange}=opts;operation(obj,'@array:before',target,willChange);operation(obj,'@array:change',target,didChange);/*\n             * Array proxies have a `_revalidate` method which must be called to set\n             * up their internal array observation systems.\n             */obj._revalidate?.();return obj;}function addArrayObserver(array,target,opts){return arrayObserversHelper(array,target,opts,addListener);}function removeArrayObserver(array,target,opts){return arrayObserversHelper(array,target,opts,removeListener);}const EACH_PROXIES=new WeakMap();function eachProxyArrayWillChange(array,idx,removedCnt,addedCnt){let eachProxy=EACH_PROXIES.get(array);if(eachProxy!==undefined){eachProxy.arrayWillChange(array,idx,removedCnt,addedCnt);}}function eachProxyArrayDidChange(array,idx,removedCnt,addedCnt){let eachProxy=EACH_PROXIES.get(array);if(eachProxy!==undefined){eachProxy.arrayDidChange(array,idx,removedCnt,addedCnt);}}/**\n           @module ember\n          *//**\n            Helper class that allows you to register your library with Ember.\n\n            Singleton created at `Ember.libraries`.\n\n            @class Libraries\n            @constructor\n            @private\n          */class Libraries{constructor(){_defineProperty(this,\"_registry\",void 0);_defineProperty(this,\"_coreLibIndex\",void 0);this._registry=[];this._coreLibIndex=0;}_getLibraryByName(name){let libs=this._registry;for(let lib of libs){if(lib.name===name){return lib;}}return undefined;}register(name,version,isCoreLibrary){let index=this._registry.length;if(!this._getLibraryByName(name)){if(isCoreLibrary){index=this._coreLibIndex++;}this._registry.splice(index,0,{name,version});}else{warn(`Library \"${name}\" is already registered with Ember.`,false,{id:'ember-metal.libraries-register'});}}registerCoreLibrary(name,version){this.register(name,version,true);}deRegister(name){let lib=this._getLibraryByName(name);let index;if(lib){index=this._registry.indexOf(lib);this._registry.splice(index,1);}}}{Libraries.prototype.logVersions=function(){let libs=this._registry;let nameLengths=libs.map(item=>get$2(item,'name.length'));!(nameLengths instanceof Array&&nameLengths.every(n=>typeof n==='number'))&&assert$1('nameLengths is number array',nameLengths instanceof Array&&nameLengths.every(n=>typeof n==='number'));let maxNameLength=Math.max.apply(null,nameLengths);debug$1('-------------------------------');for(let lib of libs){let spaces=new Array(maxNameLength-lib.name.length+1).join(' ');debug$1([lib.name,spaces,' : ',lib.version].join(''));}debug$1('-------------------------------');};}const LIBRARIES=new Libraries();LIBRARIES.registerCoreLibrary('Ember',Version);/**\n           @module @ember/object\n          *//**\n            To get multiple properties at once, call `getProperties`\n            with an object followed by a list of strings or an array:\n\n            ```javascript\n            import { getProperties } from '@ember/object';\n\n            getProperties(record, 'firstName', 'lastName', 'zipCode');\n            // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n            ```\n\n            is equivalent to:\n\n            ```javascript\n            import { getProperties } from '@ember/object';\n\n            getProperties(record, ['firstName', 'lastName', 'zipCode']);\n            // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n            ```\n\n            @method getProperties\n            @static\n            @for @ember/object\n            @param {Object} obj\n            @param {String...|Array} list of keys to get\n            @return {Object}\n            @public\n          */function getProperties(obj,keys){let ret={};let propertyNames;let i=1;if(arguments.length===2&&Array.isArray(keys)){i=0;propertyNames=arguments[1];}else{propertyNames=Array.from(arguments);}for(;i<propertyNames.length;i++){// SAFETY: we are just walking the list of property names, so we know the\n// index access never produces `undefined`.\nlet name=propertyNames[i];ret[name]=get$2(obj,name);}return ret;}/**\n           @module @ember/object\n          *//**\n            Set a list of properties on an object. These properties are set inside\n            a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n            observers will be buffered.\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            let anObject = EmberObject.create();\n\n            anObject.setProperties({\n              firstName: 'Stanley',\n              lastName: 'Stuart',\n              age: 21\n            });\n            ```\n\n            @method setProperties\n            @static\n            @for @ember/object\n            @param obj\n            @param {Object} properties\n            @return properties\n            @public\n          */function setProperties(obj,properties){if(properties===null||typeof properties!=='object'){return properties;}changeProperties(()=>{let props=Object.keys(properties);for(let propertyName of props){// SAFETY: casting `properties` this way is safe because any object in JS\n// can be indexed this way, and the result will be `unknown`, making it\n// safe for callers.\nset(obj,propertyName,properties[propertyName]);}});return properties;}let DEBUG_INJECTION_FUNCTIONS;{DEBUG_INJECTION_FUNCTIONS=new WeakMap();}/**\n           @module ember\n           @private\n           *//**\n            Read-only property that returns the result of a container lookup.\n\n            @class InjectedProperty\n            @namespace Ember\n            @constructor\n            @param {String} type The container type the property will lookup\n            @param {String} nameOrDesc (optional) The name the property will lookup, defaults\n                   to the property's name\n            @private\n          */// Decorator factory (with args)\n// (Also matches non-decorator form, types may be incorrect for this.)\n// Non-decorator\n// Decorator (without args)\n// Catch-all for service and controller injections\nfunction inject$2(type,...args){!(typeof type==='string')&&assert$1('a string type must be provided to inject',typeof type==='string');let elementDescriptor;let name;if(isElementDescriptor(args)){elementDescriptor=args;}else if(typeof args[0]==='string'){name=args[0];}let getInjection=function(propertyName){let owner=getOwner$2(this)||this.container;// fallback to `container` for backwards compat\n!Boolean(owner)&&assert$1(`Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.`,Boolean(owner));return owner.lookup(`${type}:${name||propertyName}`);};{DEBUG_INJECTION_FUNCTIONS.set(getInjection,{type,name});}let decorator=computed({get:getInjection,set(keyName,value){defineProperty(this,keyName,null,value);}});if(elementDescriptor){return decorator(elementDescriptor[0],elementDescriptor[1],elementDescriptor[2]);}else{return decorator;}}/**\n            @decorator\n            @private\n\n            Marks a property as tracked.\n\n            By default, a component's properties are expected to be static,\n            meaning you are not able to update them and have the template update accordingly.\n            Marking a property as tracked means that when that property changes,\n            a rerender of the component is scheduled so the template is kept up to date.\n\n            There are two usages for the `@tracked` decorator, shown below.\n\n            @example No dependencies\n\n            If you don't pass an argument to `@tracked`, only changes to that property\n            will be tracked:\n\n            ```typescript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            export default class MyComponent extends Component {\n              @tracked\n              remainingApples = 10\n            }\n            ```\n\n            When something changes the component's `remainingApples` property, the rerender\n            will be scheduled.\n\n            @example Dependents\n\n            In the case that you have a computed property that depends other\n            properties, you want to track both so that when one of the\n            dependents change, a rerender is scheduled.\n\n            In the following example we have two properties,\n            `eatenApples`, and `remainingApples`.\n\n            ```typescript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            const totalApples = 100;\n\n            export default class MyComponent extends Component {\n              @tracked\n              eatenApples = 0\n\n              get remainingApples() {\n                return totalApples - this.eatenApples;\n              }\n\n              increment() {\n                this.eatenApples = this.eatenApples + 1;\n              }\n            }\n            ```\n\n            @param dependencies Optional dependents to be tracked.\n          */function tracked(...args){!!(isElementDescriptor(args.slice(0,3))&&args.length===5&&args[4]===true)&&assert$1(`@tracked can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: tracked()`,!(isElementDescriptor(args.slice(0,3))&&args.length===5&&args[4]===true));if(!isElementDescriptor(args)){let propertyDesc=args[0];!(args.length===0||typeof propertyDesc==='object'&&propertyDesc!==null)&&assert$1(`tracked() may only receive an options object containing 'value' or 'initializer', received ${propertyDesc}`,args.length===0||typeof propertyDesc==='object'&&propertyDesc!==null);if(propertyDesc){let keys=Object.keys(propertyDesc);!(keys.length<=1&&(keys[0]===undefined||keys[0]==='value'||keys[0]==='initializer'))&&assert$1(`The options object passed to tracked() may only contain a 'value' or 'initializer' property, not both. Received: [${keys}]`,keys.length<=1&&(keys[0]===undefined||keys[0]==='value'||keys[0]==='initializer'));!(!('initializer'in propertyDesc)||typeof propertyDesc.initializer==='function')&&assert$1(`The initializer passed to tracked must be a function. Received ${propertyDesc.initializer}`,!('initializer'in propertyDesc)||typeof propertyDesc.initializer==='function');}let initializer=propertyDesc?propertyDesc.initializer:undefined;let value=propertyDesc?propertyDesc.value:undefined;let decorator=function(target,key,_desc,_meta,isClassicDecorator){!isClassicDecorator&&assert$1(`You attempted to set a default value for ${key} with the @tracked({ value: 'default' }) syntax. You can only use this syntax with classic classes. For native classes, you can use class initializers: @tracked field = 'default';`,isClassicDecorator);let fieldDesc={initializer:initializer||(()=>value)};return descriptorForField([target,key,fieldDesc]);};setClassicDecorator(decorator);return decorator;}return descriptorForField(args);}{// Normally this isn't a classic decorator, but we want to throw a helpful\n// error in development so we need it to treat it like one\nsetClassicDecorator(tracked);}function descriptorForField([target,key,desc]){!(!desc||!desc.value&&!desc.get&&!desc.set)&&assert$1(`You attempted to use @tracked on ${key}, but that element is not a class field. @tracked is only usable on class fields. Native getters and setters will autotrack add any tracked fields they encounter, so there is no need mark getters and setters with @tracked.`,!desc||!desc.value&&!desc.get&&!desc.set);let{getter,setter}=trackedData(key,desc?desc.initializer:undefined);function get(){let value=getter(this);// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(Array.isArray(value)||isEmberArray(value)){consumeTag(tagFor(value,'[]'));}return value;}function set(newValue){setter(this,newValue);dirtyTagFor(this,SELF_TAG);}let newDesc={enumerable:true,configurable:true,isTracked:true,get,set};COMPUTED_SETTERS.add(set);meta(target).writeDescriptors(key,new TrackedDescriptor(get,set));return newDesc;}class TrackedDescriptor{constructor(_get,_set){this._get=_get;this._set=_set;CHAIN_PASS_THROUGH.add(this);}get(obj){return this._get.call(obj);}set(obj,_key,value){this._set.call(obj,value);}}// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358\n// Both glimmerjs/glimmer.js and emberjs/ember.js have the exact same implementation\n// of @cached, so any changes made to one should also be made to the other\n/**\n           * @decorator\n           *\n            Gives the getter a caching behavior. The return value of the getter\n            will be cached until any of the properties it is entangled with\n            are invalidated. This is useful when a getter is expensive and\n            used very often.\n\n            For instance, in this `GuestList` class, we have the `sortedGuests`\n            getter that sorts the guests alphabetically:\n\n            ```javascript\n              import { tracked } from '@glimmer/tracking';\n\n              class GuestList {\n                @tracked guests = ['Zoey', 'Tomster'];\n\n                get sortedGuests() {\n                  return this.guests.slice().sort()\n                }\n              }\n            ```\n\n            Every time `sortedGuests` is accessed, a new array will be created and sorted,\n            because JavaScript getters do not cache by default. When the guest list\n            is small, like the one in the example, this is not a problem. However, if\n            the guest list were to grow very large, it would mean that we would be doing\n            a large amount of work each time we accessed `sortedGuests`. With `@cached`,\n            we can cache the value instead:\n\n            ```javascript\n              import { tracked, cached } from '@glimmer/tracking';\n\n              class GuestList {\n                @tracked guests = ['Zoey', 'Tomster'];\n\n                @cached\n                get sortedGuests() {\n                  return this.guests.slice().sort()\n                }\n              }\n            ```\n\n            Now the `sortedGuests` getter will be cached based on autotracking.\n            It will only rerun and create a new sorted array when the guests tracked\n            property is updated.\n\n\n            ### Tradeoffs\n\n            Overuse is discouraged.\n\n            In general, you should avoid using `@cached` unless you have confirmed that\n            the getter you are decorating is computationally expensive, since `@cached`\n            adds a small amount of overhead to the getter.\n            While the individual costs are small, a systematic use of the `@cached`\n            decorator can add up to a large impact overall in your app.\n            Many getters and tracked properties are only accessed once during rendering,\n            and then never rerendered, so adding `@cached` when unnecessary can\n            negatively impact performance.\n\n            Also, `@cached` may rerun even if the values themselves have not changed,\n            since tracked properties will always invalidate.\n            For example updating an integer value from `5` to an other `5` will trigger\n            a rerun of the cached properties building from this integer.\n\n            Avoiding a cache invalidation in this case is not something that can\n            be achieved on the `@cached` decorator itself, but rather when updating\n            the underlying tracked values, by applying some diff checking mechanisms:\n\n            ```javascript\n            if (nextValue !== this.trackedProp) {\n              this.trackedProp = nextValue;\n            }\n            ```\n\n            Here equal values won't update the property, therefore not triggering\n            the subsequent cache invalidations of the `@cached` properties who were\n            using this `trackedProp`.\n\n            Remember that setting tracked data should only be done during initialization, \n            or as the result of a user action. Setting tracked data during render\n            (such as in a getter), is not supported.\n\n            @method cached\n            @static\n            @for @glimmer/tracking\n            @public\n           */const cached=(...args)=>{const[target,key,descriptor]=args;// Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\nif(target===undefined)throwCachedExtraneousParens();if(typeof target!=='object'||typeof key!=='string'||typeof descriptor!=='object'||args.length!==3){throwCachedInvalidArgsError(args);}if(!('get'in descriptor)||typeof descriptor.get!=='function'){throwCachedGetterOnlyError(key);}const caches=new WeakMap();const getter=descriptor.get;descriptor.get=function(){if(!caches.has(this)){caches.set(this,createCache(getter.bind(this)));}return getValue(caches.get(this));};};function throwCachedExtraneousParens(){throw new Error('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!');}function throwCachedGetterOnlyError(key){throw new Error(`The @cached decorator must be applied to getters. '${key}' is not a getter.`);}function throwCachedInvalidArgsError(args=[]){throw new Error(`You attempted to use @cached on with ${args.length>1?'arguments':'an argument'} ( @cached(${args.map(d=>`'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`);}const hasOwnProperty$2=Object.prototype.hasOwnProperty;let searchDisabled=false;const flags={_set:0,_unprocessedNamespaces:false,get unprocessedNamespaces(){return this._unprocessedNamespaces;},set unprocessedNamespaces(v){this._set++;this._unprocessedNamespaces=v;}};let unprocessedMixins=false;const NAMESPACES=[];const NAMESPACES_BY_ID=Object.create(null);function addNamespace(namespace){flags.unprocessedNamespaces=true;NAMESPACES.push(namespace);}function removeNamespace(namespace){let name=getName(namespace);delete NAMESPACES_BY_ID[name];NAMESPACES.splice(NAMESPACES.indexOf(namespace),1);if(name in context$1.lookup&&namespace===context$1.lookup[name]){context$1.lookup[name]=undefined;}}function findNamespaces(){if(!flags.unprocessedNamespaces){return;}let lookup=context$1.lookup;let keys=Object.keys(lookup);for(let key of keys){// Only process entities that start with uppercase A-Z\nif(!isUppercase(key.charCodeAt(0))){continue;}let obj=tryIsNamespace(lookup,key);if(obj){setName(obj,key);}}}function findNamespace(name){if(!searchDisabled){processAllNamespaces();}return NAMESPACES_BY_ID[name];}function processNamespace(namespace){_processNamespace([namespace.toString()],namespace,new Set());}function processAllNamespaces(){let unprocessedNamespaces=flags.unprocessedNamespaces;if(unprocessedNamespaces){findNamespaces();flags.unprocessedNamespaces=false;}if(unprocessedNamespaces||unprocessedMixins){let namespaces=NAMESPACES;for(let namespace of namespaces){processNamespace(namespace);}unprocessedMixins=false;}}function isSearchDisabled(){return searchDisabled;}function setSearchDisabled(flag){searchDisabled=Boolean(flag);}function setUnprocessedMixins(){unprocessedMixins=true;}function _processNamespace(paths,root,seen){let idx=paths.length;let id=paths.join('.');NAMESPACES_BY_ID[id]=root;setName(root,id);// Loop over all of the keys in the namespace, looking for classes\nfor(let key in root){if(!hasOwnProperty$2.call(root,key)){continue;}let obj=root[key];// If we are processing the `Ember` namespace, for example, the\n// `paths` will start with `[\"Ember\"]`. Every iteration through\n// the loop will update the **second** element of this list with\n// the key, so processing `Ember.View` will make the Array\n// `['Ember', 'View']`.\npaths[idx]=key;// If we have found an unprocessed class\nif(obj&&getName(obj)===void 0){// Replace the class' `toString` with the dot-separated path\nsetName(obj,paths.join('.'));// Support nested namespaces\n}else if(obj&&isNamespace(obj)){// Skip aliased namespaces\nif(seen.has(obj)){continue;}seen.add(obj);// Process the child namespace\n_processNamespace(paths,obj,seen);}}paths.length=idx;// cut out last item\n}function isNamespace(obj){return obj!=null&&typeof obj==='object'&&obj.isNamespace;}function isUppercase(code){return code>=65&&code<=90// A\n;// Z\n}function tryIsNamespace(lookup,prop){try{let obj=lookup[prop];return(obj!==null&&typeof obj==='object'||typeof obj==='function')&&obj.isNamespace&&obj;}catch(_e){// continue\n}}const emberinternalsMetalIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ASYNC_OBSERVERS,ComputedDescriptor,ComputedProperty,get DEBUG_INJECTION_FUNCTIONS(){return DEBUG_INJECTION_FUNCTIONS;},Libraries,NAMESPACES,NAMESPACES_BY_ID,PROPERTY_DID_CHANGE,PROXY_CONTENT,SYNC_OBSERVERS,TrackedDescriptor,_getPath,_getProp,_setProp,activateObserver,addArrayObserver,addListener,addNamespace,addObserver,alias,arrayContentDidChange,arrayContentWillChange,autoComputed,beginPropertyChanges,cached,changeProperties,computed,createCache,defineDecorator,defineProperty,defineValue,deprecateProperty,descriptorForDecorator,descriptorForProperty,eachProxyArrayDidChange,eachProxyArrayWillChange,endPropertyChanges,expandProperties,findNamespace,findNamespaces,flushAsyncObservers,get:get$2,getCachedValueFor,getProperties,getValue,hasListeners,hasUnknownProperty,inject:inject$2,isClassicDecorator,isComputed,isConst,isElementDescriptor,isNamespaceSearchDisabled:isSearchDisabled,libraries:LIBRARIES,makeComputedDecorator,markObjectAsDirty,nativeDescDecorator,notifyPropertyChange,objectAt,on:on$3,processAllNamespaces,processNamespace,removeArrayObserver,removeListener,removeNamespace,removeObserver,replace,replaceInNativeArray,revalidateObservers,sendEvent,set,setClassicDecorator,setNamespaceSearchDisabled:setSearchDisabled,setProperties,setUnprocessedMixins,tagForObject,tagForProperty,tracked,trySet},Symbol.toStringTag,{value:'Module'});const emberObjectEvents=/*#__PURE__*/Object.defineProperty({__proto__:null,addListener,removeListener,sendEvent},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/mixin\n          */const a_concat=Array.prototype.concat;const{isArray:isArray$4}=Array;function extractAccessors(properties){if(properties!==undefined){for(let key of Object.keys(properties)){let desc=Object.getOwnPropertyDescriptor(properties,key);if(desc.get!==undefined||desc.set!==undefined){Object.defineProperty(properties,key,{value:nativeDescDecorator(desc)});}}}return properties;}function concatenatedMixinProperties(concatProp,props,values,base){// reset before adding each new mixin to pickup concats from previous\nlet concats=values[concatProp]||base[concatProp];if(props[concatProp]){concats=concats?a_concat.call(concats,props[concatProp]):props[concatProp];}return concats;}function giveDecoratorSuper(key,decorator,property,descs){if(property===true){return decorator;}let originalGetter=property._getter;if(originalGetter===undefined){return decorator;}let superDesc=descs[key];// Check to see if the super property is a decorator first, if so load its descriptor\nlet superProperty=typeof superDesc==='function'?descriptorForDecorator(superDesc):superDesc;if(superProperty===undefined||superProperty===true){return decorator;}let superGetter=superProperty._getter;if(superGetter===undefined){return decorator;}let get=wrap(originalGetter,superGetter);let set;let originalSetter=property._setter;let superSetter=superProperty._setter;if(superSetter!==undefined){if(originalSetter!==undefined){set=wrap(originalSetter,superSetter);}else{// If the super property has a setter, we default to using it no matter what.\n// This is clearly very broken and weird, but it's what was here so we have\n// to keep it until the next major at least.\n//\n// TODO: Add a deprecation here.\nset=superSetter;}}else{set=originalSetter;}// only create a new CP if we must\nif(get!==originalGetter||set!==originalSetter){// Since multiple mixins may inherit from the same parent, we need\n// to clone the computed property so that other mixins do not receive\n// the wrapped version.\nlet dependentKeys=property._dependentKeys||[];let newProperty=new ComputedProperty([...dependentKeys,{get,set}]);newProperty._readOnly=property._readOnly;newProperty._meta=property._meta;newProperty.enumerable=property.enumerable;// SAFETY: We passed in the impl for this class\nreturn makeComputedDecorator(newProperty,ComputedProperty);}return decorator;}function giveMethodSuper(key,method,values,descs){// Methods overwrite computed properties, and do not call super to them.\nif(descs[key]!==undefined){return method;}// Find the original method in a parent mixin\nlet superMethod=values[key];// Only wrap the new method if the original method was a function\nif(typeof superMethod==='function'){return wrap(method,superMethod);}return method;}function simpleMakeArray(value){if(!value){return[];}else if(!Array.isArray(value)){return[value];}else{return value;}}function applyConcatenatedProperties(key,value,values){let baseValue=values[key];let ret=simpleMakeArray(baseValue).concat(simpleMakeArray(value));{// it is possible to use concatenatedProperties with strings (which cannot be frozen)\n// only freeze objects...\nif(typeof ret==='object'&&ret!==null){// prevent mutating `concatenatedProperties` array after it is applied\nObject.freeze(ret);}}return ret;}function applyMergedProperties(key,value,values){let baseValue=values[key];!!isArray$4(value)&&assert$1(`You passed in \\`${JSON.stringify(value)}\\` as the value for \\`${key}\\` but \\`${key}\\` cannot be an Array`,!isArray$4(value));if(!baseValue){return value;}let newBase=Object.assign({},baseValue);let hasFunction=false;let props=Object.keys(value);for(let prop of props){let propValue=value[prop];if(typeof propValue==='function'){hasFunction=true;newBase[prop]=giveMethodSuper(prop,propValue,baseValue,{});}else{newBase[prop]=propValue;}}if(hasFunction){newBase._super=ROOT;}return newBase;}function mergeMixins(mixins,meta,descs,values,base,keys,keysWithSuper){let currentMixin;for(let i=0;i<mixins.length;i++){currentMixin=mixins[i];!(typeof currentMixin==='object'&&currentMixin!==null&&Object.prototype.toString.call(currentMixin)!=='[object Array]')&&assert$1(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(currentMixin)}`,typeof currentMixin==='object'&&currentMixin!==null&&Object.prototype.toString.call(currentMixin)!=='[object Array]');if(MIXINS.has(currentMixin)){if(meta.hasMixin(currentMixin)){continue;}meta.addMixin(currentMixin);let{properties,mixins}=currentMixin;if(properties!==undefined){mergeProps(meta,properties,descs,values,base,keys,keysWithSuper);}else if(mixins!==undefined){mergeMixins(mixins,meta,descs,values,base,keys,keysWithSuper);if(currentMixin instanceof Mixin&&currentMixin._without!==undefined){currentMixin._without.forEach(keyName=>{// deleting the key means we won't process the value\nlet index=keys.indexOf(keyName);if(index!==-1){keys.splice(index,1);}});}}}else{mergeProps(meta,currentMixin,descs,values,base,keys,keysWithSuper);}}}function mergeProps(meta,props,descs,values,base,keys,keysWithSuper){let concats=concatenatedMixinProperties('concatenatedProperties',props,values,base);let mergings=concatenatedMixinProperties('mergedProperties',props,values,base);let propKeys=Object.keys(props);for(let key of propKeys){let value=props[key];if(value===undefined)continue;if(keys.indexOf(key)===-1){keys.push(key);let desc=meta.peekDescriptors(key);if(desc===undefined){// If the value is a classic decorator, we don't want to actually\n// access it, because that will execute the decorator while we're\n// building the class.\nif(!isClassicDecorator(value)){// The superclass did not have a CP, which means it may have\n// observers or listeners on that property.\nlet prev=values[key]=base[key];if(typeof prev==='function'){updateObserversAndListeners(base,key,prev,false);}}}else{descs[key]=desc;// The super desc will be overwritten on descs, so save off the fact that\n// there was a super so we know to Object.defineProperty when writing\n// the value\nkeysWithSuper.push(key);desc.teardown(base,key,meta);}}let isFunction=typeof value==='function';if(isFunction){let desc=descriptorForDecorator(value);if(desc!==undefined){// Wrap descriptor function to implement _super() if needed\ndescs[key]=giveDecoratorSuper(key,value,desc,descs);values[key]=undefined;continue;}}if(concats&&concats.indexOf(key)>=0||key==='concatenatedProperties'||key==='mergedProperties'){value=applyConcatenatedProperties(key,value,values);}else if(mergings&&mergings.indexOf(key)>-1){value=applyMergedProperties(key,value,values);}else if(isFunction){value=giveMethodSuper(key,value,values,descs);}values[key]=value;descs[key]=undefined;}}function updateObserversAndListeners(obj,key,fn,add){let meta=observerListenerMetaFor(fn);if(meta===undefined)return;let{observers,listeners}=meta;if(observers!==undefined){let updateObserver=add?addObserver:removeObserver;for(let path of observers.paths){updateObserver(obj,path,null,key,observers.sync);}}if(listeners!==undefined){let updateListener=add?addListener:removeListener;for(let listener of listeners){updateListener(obj,listener,null,key);}}}function applyMixin(obj,mixins,_hideKeys=false){let descs=Object.create(null);let values=Object.create(null);let meta$1=meta(obj);let keys=[];let keysWithSuper=[];obj._super=ROOT;// Go through all mixins and hashes passed in, and:\n//\n// * Handle concatenated properties\n// * Handle merged properties\n// * Set up _super wrapping if necessary\n// * Set up computed property descriptors\n// * Copying `toString` in broken browsers\nmergeMixins(mixins,meta$1,descs,values,obj,keys,keysWithSuper);for(let key of keys){let value=values[key];let desc=descs[key];if(value!==undefined){if(typeof value==='function'){updateObserversAndListeners(obj,key,value,true);}defineValue(obj,key,value,keysWithSuper.indexOf(key)!==-1,!_hideKeys);}else if(desc!==undefined){defineDecorator(obj,key,desc,meta$1);}}if(!meta$1.isPrototypeMeta(obj)){revalidateObservers(obj);}return obj;}/**\n            @method mixin\n            @param obj\n            @param mixins*\n            @return obj\n            @private\n          */function mixin(obj,...args){applyMixin(obj,args);return obj;}const MIXINS=new WeakSet();/**\n            The `Mixin` class allows you to create mixins, whose properties can be\n            added to other classes. For instance,\n\n            ```javascript\n            import Mixin from '@ember/object/mixin';\n\n            const EditableMixin = Mixin.create({\n              edit() {\n                console.log('starting to edit');\n                this.set('isEditing', true);\n              },\n              isEditing: false\n            });\n            ```\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import EditableMixin from '../mixins/editable';\n\n            // Mix mixins into classes by passing them as the first arguments to\n            // `.extend.`\n            const Comment = EmberObject.extend(EditableMixin, {\n              post: null\n            });\n\n            let comment = Comment.create({\n              post: somePost\n            });\n\n            comment.edit(); // outputs 'starting to edit'\n            ```\n\n            Note that Mixins are created with `Mixin.create`, not\n            `Mixin.extend`.\n\n            Note that mixins extend a constructor's prototype so arrays and object literals\n            defined as properties will be shared amongst objects that implement the mixin.\n            If you want to define a property in a mixin that is not shared, you can define\n            it either as a computed property or have it be created on initialization of the object.\n\n            ```javascript\n            // filters array will be shared amongst any object implementing mixin\n            import Mixin from '@ember/object/mixin';\n            import { A } from '@ember/array';\n\n            const FilterableMixin = Mixin.create({\n              filters: A()\n            });\n            ```\n\n            ```javascript\n            import Mixin from '@ember/object/mixin';\n            import { A } from '@ember/array';\n            import { computed } from '@ember/object';\n\n            // filters will be a separate array for every object implementing the mixin\n            const FilterableMixin = Mixin.create({\n              filters: computed(function() {\n                return A();\n              })\n            });\n            ```\n\n            ```javascript\n            import Mixin from '@ember/object/mixin';\n            import { A } from '@ember/array';\n\n            // filters will be created as a separate array during the object's initialization\n            const Filterable = Mixin.create({\n              filters: null,\n\n              init() {\n                this._super(...arguments);\n                this.set(\"filters\", A());\n              }\n            });\n            ```\n\n            @class Mixin\n            @public\n          */class Mixin{/** @internal */constructor(mixins,properties){/** @internal *//** @internal */_defineProperty(this,\"mixins\",void 0);/** @internal */_defineProperty(this,\"properties\",void 0);/** @internal */_defineProperty(this,\"ownerConstructor\",void 0);/** @internal */_defineProperty(this,\"_without\",void 0);MIXINS.add(this);this.properties=extractAccessors(properties);this.mixins=buildMixinsArray(mixins);this.ownerConstructor=undefined;this._without=undefined;{// Eagerly add INIT_FACTORY to avoid issues in DEBUG as a result of Object.seal(mixin)\nthis[INIT_FACTORY]=null;/*\n                  In debug builds, we seal mixins to help avoid performance pitfalls.\n                   In IE11 there is a quirk that prevents sealed objects from being added\n                  to a WeakMap. Unfortunately, the mixin system currently relies on\n                  weak maps in `guidFor`, so we need to prime the guid cache weak map.\n                */guidFor(this);if(Mixin._disableDebugSeal!==true){Object.seal(this);}}}/**\n              @method create\n              @for @ember/object/mixin\n              @static\n              @param arguments*\n              @public\n            */static create(...args){setUnprocessedMixins();let M=this;return new M(args,undefined);}// returns the mixins currently applied to the specified object\n// TODO: Make `mixin`\n/** @internal */static mixins(obj){let meta=peekMeta(obj);let ret=[];if(meta===null){return ret;}meta.forEachMixins(currentMixin=>{// skip primitive mixins since these are always anonymous\nif(!currentMixin.properties){ret.push(currentMixin);}});return ret;}/**\n              @method reopen\n              @param arguments*\n              @private\n              @internal\n            */reopen(...args){if(args.length===0){return this;}if(this.properties){let currentMixin=new Mixin(undefined,this.properties);this.properties=undefined;this.mixins=[currentMixin];}else if(!this.mixins){this.mixins=[];}this.mixins=this.mixins.concat(buildMixinsArray(args));return this;}/**\n              @method apply\n              @param obj\n              @return applied object\n              @private\n              @internal\n            */apply(obj,_hideKeys=false){// Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n// mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n// issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n//\n// _hideKeys disables enumerablity when applying the mixin. This is a hack, and we should stop mutating the array prototype by default 😫\nreturn applyMixin(obj,[this],_hideKeys);}/** @internal */applyPartial(obj){return applyMixin(obj,[this]);}/**\n              @method detect\n              @param obj\n              @return {Boolean}\n              @private\n              @internal\n            */detect(obj){if(typeof obj!=='object'||obj===null){return false;}if(MIXINS.has(obj)){return _detect(obj,this);}let meta=peekMeta(obj);if(meta===null){return false;}return meta.hasMixin(this);}/** @internal */without(...args){let ret=new Mixin([this]);ret._without=args;return ret;}/** @internal */keys(){let keys=_keys(this);!keys&&assert$1('[BUG] Missing keys for mixin!',keys);return keys;}/** @internal */toString(){return'(unknown mixin)';}}{Object.defineProperty(Mixin,'_disableDebugSeal',{configurable:true,enumerable:false,writable:true,value:false});}function buildMixinsArray(mixins){let length=mixins&&mixins.length||0;let m=undefined;if(length>0){m=new Array(length);for(let i=0;i<length;i++){let x=mixins[i];!(typeof x==='object'&&x!==null&&Object.prototype.toString.call(x)!=='[object Array]')&&assert$1(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(x)}`,typeof x==='object'&&x!==null&&Object.prototype.toString.call(x)!=='[object Array]');if(MIXINS.has(x)){m[i]=x;}else{m[i]=new Mixin(undefined,x);}}}return m;}{Object.seal(Mixin.prototype);}function _detect(curMixin,targetMixin,seen=new Set()){if(seen.has(curMixin)){return false;}seen.add(curMixin);if(curMixin===targetMixin){return true;}let mixins=curMixin.mixins;if(mixins){return mixins.some(mixin=>_detect(mixin,targetMixin,seen));}return false;}function _keys(mixin,ret=new Set(),seen=new Set()){if(seen.has(mixin)){return;}seen.add(mixin);if(mixin.properties){let props=Object.keys(mixin.properties);for(let prop of props){ret.add(prop);}}else if(mixin.mixins){mixin.mixins.forEach(x=>_keys(x,ret,seen));}return ret;}const emberObjectMixin=/*#__PURE__*/Object.defineProperty({__proto__:null,applyMixin,default:Mixin,mixin},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            RegistryProxyMixin is used to provide public access to specific\n            registry functionality.\n\n            @class RegistryProxyMixin\n            @extends RegistryProxy\n            @private\n          */const RegistryProxyMixin=Mixin.create({__registry__:null,resolveRegistration(fullName){!this.__registry__.isValidFullName(fullName)&&assert$1('fullName must be a proper full name',this.__registry__.isValidFullName(fullName));return this.__registry__.resolve(fullName);},register:registryAlias('register'),unregister:registryAlias('unregister'),hasRegistration:registryAlias('has'),registeredOption:registryAlias('getOption'),registerOptions:registryAlias('options'),registeredOptions:registryAlias('getOptions'),registerOptionsForType:registryAlias('optionsForType'),registeredOptionsForType:registryAlias('getOptionsForType')});function registryAlias(name){return function(...args){// We need this cast because `Parameters` is deferred so that it is not\n// possible for TS to see it will always produce the right type. However,\n// since `AnyFn` has a rest type, it is allowed. See discussion on [this\n// issue](https://github.com/microsoft/TypeScript/issues/47615).\nreturn this.__registry__[name](...args);};}const emberinternalsRuntimeLibMixinsRegistryProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RegistryProxyMixin},Symbol.toStringTag,{value:'Module'});const SET_TIMEOUT=setTimeout;const NOOP$4=()=>{};function buildNext(flush){// Using \"promises first\" here to:\n//\n// 1) Ensure more consistent experience on browsers that\n//    have differently queued microtasks (separate queues for\n//    MutationObserver vs Promises).\n// 2) Ensure better debugging experiences (it shows up in Chrome\n//    call stack as \"Promise.then (async)\") which is more consistent\n//    with user expectations\n//\n// When Promise is unavailable use MutationObserver (mostly so that we\n// still get microtasks on IE11), and when neither MutationObserver and\n// Promise are present use a plain old setTimeout.\nif(typeof Promise==='function'){const autorunPromise=Promise.resolve();return()=>autorunPromise.then(flush);}else if(typeof MutationObserver==='function'){let iterations=0;let observer=new MutationObserver(flush);let node=document.createTextNode('');observer.observe(node,{characterData:true});return()=>{iterations=++iterations%2;node.data=''+iterations;return iterations;};}else{return()=>SET_TIMEOUT(flush,0);}}function buildPlatform(flush){let clearNext=NOOP$4;return{setTimeout(fn,ms){return setTimeout(fn,ms);},clearTimeout(timerId){return clearTimeout(timerId);},now(){return Date.now();},next:buildNext(flush),clearNext};}const NUMBER=/\\d+/;const TIMERS_OFFSET=6;function isCoercableNumber(suspect){let type=typeof suspect;return type==='number'&&suspect===suspect||type==='string'&&NUMBER.test(suspect);}function getOnError(options){return options.onError||options.onErrorTarget&&options.onErrorTarget[options.onErrorMethod];}function findItem(target,method,collection){let index=-1;for(let i=0,l=collection.length;i<l;i+=4){if(collection[i]===target&&collection[i+1]===method){index=i;break;}}return index;}function findTimerItem(target,method,collection){let index=-1;for(let i=2,l=collection.length;i<l;i+=6){if(collection[i]===target&&collection[i+1]===method){index=i-2;break;}}return index;}function getQueueItems(items,queueItemLength,queueItemPositionOffset=0){let queueItems=[];for(let i=0;i<items.length;i+=queueItemLength){let maybeError=items[i+3/* stack */+queueItemPositionOffset];let queueItem={target:items[i+0/* target */+queueItemPositionOffset],method:items[i+1/* method */+queueItemPositionOffset],args:items[i+2/* args */+queueItemPositionOffset],stack:maybeError!==undefined&&'stack'in maybeError?maybeError.stack:''};queueItems.push(queueItem);}return queueItems;}function binarySearch(time,timers){let start=0;let end=timers.length-TIMERS_OFFSET;let middle;let l;while(start<end){// since timers is an array of pairs 'l' will always\n// be an integer\nl=(end-start)/TIMERS_OFFSET;// compensate for the index in case even number\n// of pairs inside timers\nmiddle=start+l-l%TIMERS_OFFSET;if(time>=timers[middle]){start=middle+TIMERS_OFFSET;}else{end=middle;}}return time>=timers[start]?start+TIMERS_OFFSET:start;}const QUEUE_ITEM_LENGTH=4;class Queue{constructor(name,options={},globalOptions={}){this._queueBeingFlushed=[];this.targetQueues=new Map();this.index=0;this._queue=[];this.name=name;this.options=options;this.globalOptions=globalOptions;}stackFor(index){if(index<this._queue.length){let entry=this._queue[index*3+QUEUE_ITEM_LENGTH];if(entry){return entry.stack;}else{return null;}}}flush(sync){let{before,after}=this.options;let target;let method;let args;let errorRecordedForStack;this.targetQueues.clear();if(this._queueBeingFlushed.length===0){this._queueBeingFlushed=this._queue;this._queue=[];}if(before!==undefined){before();}let invoke;let queueItems=this._queueBeingFlushed;if(queueItems.length>0){let onError=getOnError(this.globalOptions);invoke=onError?this.invokeWithOnError:this.invoke;for(let i=this.index;i<queueItems.length;i+=QUEUE_ITEM_LENGTH){this.index+=QUEUE_ITEM_LENGTH;method=queueItems[i+1];// method could have been nullified / canceled during flush\nif(method!==null){//\n//    ** Attention intrepid developer **\n//\n//    To find out the stack of this task when it was scheduled onto\n//    the run loop, add the following to your app.js:\n//\n//    Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n//\n//    Once that is in place, when you are at a breakpoint and navigate\n//    here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n//    which will be the captured stack when this job was scheduled.\n//\n//    One possible long-term solution is the following Chrome issue:\n//       https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n//\ntarget=queueItems[i];args=queueItems[i+2];errorRecordedForStack=queueItems[i+3];// Debugging assistance\ninvoke(target,method,args,onError,errorRecordedForStack);}if(this.index!==this._queueBeingFlushed.length&&this.globalOptions.mustYield&&this.globalOptions.mustYield()){return 1/* Pause */;}}}if(after!==undefined){after();}this._queueBeingFlushed.length=0;this.index=0;if(sync!==false&&this._queue.length>0){// check if new items have been added\nthis.flush(true);}}hasWork(){return this._queueBeingFlushed.length>0||this._queue.length>0;}cancel({target,method}){let queue=this._queue;let targetQueueMap=this.targetQueues.get(target);if(targetQueueMap!==undefined){targetQueueMap.delete(method);}let index=findItem(target,method,queue);if(index>-1){queue[index+1]=null;return true;}// if not found in current queue\n// could be in the queue that is being flushed\nqueue=this._queueBeingFlushed;index=findItem(target,method,queue);if(index>-1){queue[index+1]=null;return true;}return false;}push(target,method,args,stack){this._queue.push(target,method,args,stack);return{queue:this,target,method};}pushUnique(target,method,args,stack){let localQueueMap=this.targetQueues.get(target);if(localQueueMap===undefined){localQueueMap=new Map();this.targetQueues.set(target,localQueueMap);}let index=localQueueMap.get(method);if(index===undefined){let queueIndex=this._queue.push(target,method,args,stack)-QUEUE_ITEM_LENGTH;localQueueMap.set(method,queueIndex);}else{let queue=this._queue;queue[index+2]=args;// replace args\nqueue[index+3]=stack;// replace stack\n}return{queue:this,target,method};}_getDebugInfo(debugEnabled){if(debugEnabled){let debugInfo=getQueueItems(this._queue,QUEUE_ITEM_LENGTH);return debugInfo;}return undefined;}invoke(target,method,args/*, onError, errorRecordedForStack */){if(args===undefined){method.call(target);}else{method.apply(target,args);}}invokeWithOnError(target,method,args,onError,errorRecordedForStack){try{if(args===undefined){method.call(target);}else{method.apply(target,args);}}catch(error){onError(error,errorRecordedForStack);}}}class DeferredActionQueues{constructor(queueNames=[],options){this.queues={};this.queueNameIndex=0;this.queueNames=queueNames;queueNames.reduce(function(queues,queueName){queues[queueName]=new Queue(queueName,options[queueName],options);return queues;},this.queues);}/**\n             * @method schedule\n             * @param {String} queueName\n             * @param {Any} target\n             * @param {Any} method\n             * @param {Any} args\n             * @param {Boolean} onceFlag\n             * @param {Any} stack\n             * @return queue\n             */schedule(queueName,target,method,args,onceFlag,stack){let queues=this.queues;let queue=queues[queueName];if(queue===undefined){throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);}if(method===undefined||method===null){throw new Error(`You attempted to schedule an action in a queue (${queueName}) for a method that doesn\\'t exist`);}this.queueNameIndex=0;if(onceFlag){return queue.pushUnique(target,method,args,stack);}else{return queue.push(target,method,args,stack);}}/**\n             * DeferredActionQueues.flush() calls Queue.flush()\n             *\n             * @method flush\n             * @param {Boolean} fromAutorun\n             */flush(fromAutorun=false){let queue;let queueName;let numberOfQueues=this.queueNames.length;while(this.queueNameIndex<numberOfQueues){queueName=this.queueNames[this.queueNameIndex];queue=this.queues[queueName];if(queue.hasWork()===false){this.queueNameIndex++;if(fromAutorun&&this.queueNameIndex<numberOfQueues){return 1/* Pause */;}}else{if(queue.flush(false/* async */)===1/* Pause */){return 1/* Pause */;}}}}/**\n             * Returns debug information for the current queues.\n             *\n             * @method _getDebugInfo\n             * @param {Boolean} debugEnabled\n             * @returns {IDebugInfo | undefined}\n             */_getDebugInfo(debugEnabled){if(debugEnabled){let debugInfo={};let queue;let queueName;let numberOfQueues=this.queueNames.length;let i=0;while(i<numberOfQueues){queueName=this.queueNames[i];queue=this.queues[queueName];debugInfo[queueName]=queue._getDebugInfo(debugEnabled);i++;}return debugInfo;}return;}}function iteratorDrain(fn){let iterator=fn();let result=iterator.next();while(result.done===false){result.value();result=iterator.next();}}const noop$1=function(){};const DISABLE_SCHEDULE=Object.freeze([]);function parseArgs(){let length=arguments.length;let args;let method;let target;if(length===0);else if(length===1){target=null;method=arguments[0];}else{let argsIndex=2;let methodOrTarget=arguments[0];let methodOrArgs=arguments[1];let type=typeof methodOrArgs;if(type==='function'){target=methodOrTarget;method=methodOrArgs;}else if(methodOrTarget!==null&&type==='string'&&methodOrArgs in methodOrTarget){target=methodOrTarget;method=target[methodOrArgs];}else if(typeof methodOrTarget==='function'){argsIndex=1;target=null;method=methodOrTarget;}if(length>argsIndex){let len=length-argsIndex;args=new Array(len);for(let i=0;i<len;i++){args[i]=arguments[i+argsIndex];}}}return[target,method,args];}function parseTimerArgs(){let[target,method,args]=parseArgs(...arguments);let wait=0;let length=args!==undefined?args.length:0;if(length>0){let last=args[length-1];if(isCoercableNumber(last)){wait=parseInt(args.pop(),10);}}return[target,method,args,wait];}function parseDebounceArgs(){let target;let method;let isImmediate;let args;let wait;if(arguments.length===2){method=arguments[0];wait=arguments[1];target=null;}else{[target,method,args]=parseArgs(...arguments);if(args===undefined){wait=0;}else{wait=args.pop();if(!isCoercableNumber(wait)){isImmediate=wait===true;wait=args.pop();}}}wait=parseInt(wait,10);return[target,method,args,wait,isImmediate];}let UUID=0;let beginCount=0;let endCount=0;let beginEventCount=0;let endEventCount=0;let runCount=0;let joinCount=0;let deferCount=0;let scheduleCount=0;let scheduleIterableCount=0;let deferOnceCount=0;let scheduleOnceCount=0;let setTimeoutCount=0;let laterCount=0;let throttleCount=0;let debounceCount=0;let cancelTimersCount=0;let cancelCount=0;let autorunsCreatedCount=0;let autorunsCompletedCount=0;let deferredActionQueuesCreatedCount=0;let nestedDeferredActionQueuesCreated=0;class Backburner{constructor(queueNames,options){this.DEBUG=false;this.currentInstance=null;this.instanceStack=[];this._eventCallbacks={end:[],begin:[]};this._timerTimeoutId=null;this._timers=[];this._autorun=false;this._autorunStack=null;this.queueNames=queueNames;this.options=options||{};if(typeof this.options.defaultQueue==='string'){this._defaultQueue=this.options.defaultQueue;}else{this._defaultQueue=this.queueNames[0];}this._onBegin=this.options.onBegin||noop$1;this._onEnd=this.options.onEnd||noop$1;this._boundRunExpiredTimers=this._runExpiredTimers.bind(this);this._boundAutorunEnd=()=>{autorunsCompletedCount++;// if the autorun was already flushed, do nothing\nif(this._autorun===false){return;}this._autorun=false;this._autorunStack=null;this._end(true/* fromAutorun */);};let builder=this.options._buildPlatform||buildPlatform;this._platform=builder(this._boundAutorunEnd);}get counters(){return{begin:beginCount,end:endCount,events:{begin:beginEventCount,end:endEventCount},autoruns:{created:autorunsCreatedCount,completed:autorunsCompletedCount},run:runCount,join:joinCount,defer:deferCount,schedule:scheduleCount,scheduleIterable:scheduleIterableCount,deferOnce:deferOnceCount,scheduleOnce:scheduleOnceCount,setTimeout:setTimeoutCount,later:laterCount,throttle:throttleCount,debounce:debounceCount,cancelTimers:cancelTimersCount,cancel:cancelCount,loops:{total:deferredActionQueuesCreatedCount,nested:nestedDeferredActionQueuesCreated}};}get defaultQueue(){return this._defaultQueue;}/*\n              @method begin\n              @return instantiated class DeferredActionQueues\n            */begin(){beginCount++;let options=this.options;let previousInstance=this.currentInstance;let current;if(this._autorun!==false){current=previousInstance;this._cancelAutorun();}else{if(previousInstance!==null){nestedDeferredActionQueuesCreated++;this.instanceStack.push(previousInstance);}deferredActionQueuesCreatedCount++;current=this.currentInstance=new DeferredActionQueues(this.queueNames,options);beginEventCount++;this._trigger('begin',current,previousInstance);}this._onBegin(current,previousInstance);return current;}end(){endCount++;this._end(false);}on(eventName,callback){if(typeof callback!=='function'){throw new TypeError(`Callback must be a function`);}let callbacks=this._eventCallbacks[eventName];if(callbacks!==undefined){callbacks.push(callback);}else{throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);}}off(eventName,callback){let callbacks=this._eventCallbacks[eventName];if(!eventName||callbacks===undefined){throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);}let callbackFound=false;if(callback){for(let i=0;i<callbacks.length;i++){if(callbacks[i]===callback){callbackFound=true;callbacks.splice(i,1);i--;}}}if(!callbackFound){throw new TypeError(`Cannot off() callback that does not exist`);}}run(){runCount++;let[target,method,args]=parseArgs(...arguments);return this._run(target,method,args);}join(){joinCount++;let[target,method,args]=parseArgs(...arguments);return this._join(target,method,args);}/**\n             * @deprecated please use schedule instead.\n             */defer(queueName,target,method,...args){deferCount++;return this.schedule(queueName,target,method,...args);}schedule(queueName,..._args){scheduleCount++;let[target,method,args]=parseArgs(..._args);let stack=this.DEBUG?new Error():undefined;return this._ensureInstance().schedule(queueName,target,method,args,false,stack);}/*\n              Defer the passed iterable of functions to run inside the specified queue.\n                 @method scheduleIterable\n              @param {String} queueName\n              @param {Iterable} an iterable of functions to execute\n              @return method result\n            */scheduleIterable(queueName,iterable){scheduleIterableCount++;let stack=this.DEBUG?new Error():undefined;return this._ensureInstance().schedule(queueName,null,iteratorDrain,[iterable],false,stack);}/**\n             * @deprecated please use scheduleOnce instead.\n             */deferOnce(queueName,target,method,...args){deferOnceCount++;return this.scheduleOnce(queueName,target,method,...args);}scheduleOnce(queueName,..._args){scheduleOnceCount++;let[target,method,args]=parseArgs(..._args);let stack=this.DEBUG?new Error():undefined;return this._ensureInstance().schedule(queueName,target,method,args,true,stack);}setTimeout(){setTimeoutCount++;return this.later(...arguments);}later(){laterCount++;let[target,method,args,wait]=parseTimerArgs(...arguments);return this._later(target,method,args,wait);}throttle(){throttleCount++;let[target,method,args,wait,isImmediate=true]=parseDebounceArgs(...arguments);let index=findTimerItem(target,method,this._timers);let timerId;if(index===-1){timerId=this._later(target,method,isImmediate?DISABLE_SCHEDULE:args,wait);if(isImmediate){this._join(target,method,args);}}else{timerId=this._timers[index+1];let argIndex=index+4;if(this._timers[argIndex]!==DISABLE_SCHEDULE){this._timers[argIndex]=args;}}return timerId;}debounce(){debounceCount++;let[target,method,args,wait,isImmediate=false]=parseDebounceArgs(...arguments);let _timers=this._timers;let index=findTimerItem(target,method,_timers);let timerId;if(index===-1){timerId=this._later(target,method,isImmediate?DISABLE_SCHEDULE:args,wait);if(isImmediate){this._join(target,method,args);}}else{let executeAt=this._platform.now()+wait;let argIndex=index+4;if(_timers[argIndex]===DISABLE_SCHEDULE){args=DISABLE_SCHEDULE;}timerId=_timers[index+1];let i=binarySearch(executeAt,_timers);if(index+TIMERS_OFFSET===i){_timers[index]=executeAt;_timers[argIndex]=args;}else{let stack=this._timers[index+5];this._timers.splice(i,0,executeAt,timerId,target,method,args,stack);this._timers.splice(index,TIMERS_OFFSET);}if(index===0){this._reinstallTimerTimeout();}}return timerId;}cancelTimers(){cancelTimersCount++;this._clearTimerTimeout();this._timers=[];this._cancelAutorun();}hasTimers(){return this._timers.length>0||this._autorun;}cancel(timer){cancelCount++;if(timer===null||timer===undefined){return false;}let timerType=typeof timer;if(timerType==='number'){// we're cancelling a setTimeout or throttle or debounce\nreturn this._cancelLaterTimer(timer);}else if(timerType==='object'&&timer.queue&&timer.method){// we're cancelling a deferOnce\nreturn timer.queue.cancel(timer);}return false;}ensureInstance(){this._ensureInstance();}/**\n             * Returns debug information related to the current instance of Backburner\n             *\n             * @method getDebugInfo\n             * @returns {Object | undefined} Will return and Object containing debug information if\n             * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n             */getDebugInfo(){if(this.DEBUG){return{autorun:this._autorunStack,counters:this.counters,timers:getQueueItems(this._timers,TIMERS_OFFSET,2),instanceStack:[this.currentInstance,...this.instanceStack].map(deferredActionQueue=>deferredActionQueue&&deferredActionQueue._getDebugInfo(this.DEBUG))};}return undefined;}_end(fromAutorun){let currentInstance=this.currentInstance;let nextInstance=null;if(currentInstance===null){throw new Error(`end called without begin`);}// Prevent double-finally bug in Safari 6.0.2 and iOS 6\n// This bug appears to be resolved in Safari 6.0.5 and iOS 7\nlet finallyAlreadyCalled=false;let result;try{result=currentInstance.flush(fromAutorun);}finally{if(!finallyAlreadyCalled){finallyAlreadyCalled=true;if(result===1/* Pause */){const plannedNextQueue=this.queueNames[currentInstance.queueNameIndex];this._scheduleAutorun(plannedNextQueue);}else{this.currentInstance=null;if(this.instanceStack.length>0){nextInstance=this.instanceStack.pop();this.currentInstance=nextInstance;}this._trigger('end',currentInstance,nextInstance);this._onEnd(currentInstance,nextInstance);}}}}_join(target,method,args){if(this.currentInstance===null){return this._run(target,method,args);}if(target===undefined&&args===undefined){return method();}else{return method.apply(target,args);}}_run(target,method,args){let onError=getOnError(this.options);this.begin();if(onError){try{return method.apply(target,args);}catch(error){onError(error);}finally{this.end();}}else{try{return method.apply(target,args);}finally{this.end();}}}_cancelAutorun(){if(this._autorun){this._platform.clearNext();this._autorun=false;this._autorunStack=null;}}_later(target,method,args,wait){let stack=this.DEBUG?new Error():undefined;let executeAt=this._platform.now()+wait;let id=UUID++;if(this._timers.length===0){this._timers.push(executeAt,id,target,method,args,stack);this._installTimerTimeout();}else{// find position to insert\nlet i=binarySearch(executeAt,this._timers);this._timers.splice(i,0,executeAt,id,target,method,args,stack);// always reinstall since it could be out of sync\nthis._reinstallTimerTimeout();}return id;}_cancelLaterTimer(timer){for(let i=1;i<this._timers.length;i+=TIMERS_OFFSET){if(this._timers[i]===timer){this._timers.splice(i-1,TIMERS_OFFSET);if(i===1){this._reinstallTimerTimeout();}return true;}}return false;}/**\n             Trigger an event. Supports up to two arguments. Designed around\n             triggering transition events from one run loop instance to the\n             next, which requires an argument for the  instance and then\n             an argument for the next instance.\n                @private\n             @method _trigger\n             @param {String} eventName\n             @param {any} arg1\n             @param {any} arg2\n             */_trigger(eventName,arg1,arg2){let callbacks=this._eventCallbacks[eventName];if(callbacks!==undefined){for(let i=0;i<callbacks.length;i++){callbacks[i](arg1,arg2);}}}_runExpiredTimers(){this._timerTimeoutId=null;if(this._timers.length>0){this.begin();this._scheduleExpiredTimers();this.end();}}_scheduleExpiredTimers(){let timers=this._timers;let i=0;let l=timers.length;let defaultQueue=this._defaultQueue;let n=this._platform.now();for(;i<l;i+=TIMERS_OFFSET){let executeAt=timers[i];if(executeAt>n){break;}let args=timers[i+4];if(args!==DISABLE_SCHEDULE){let target=timers[i+2];let method=timers[i+3];let stack=timers[i+5];this.currentInstance.schedule(defaultQueue,target,method,args,false,stack);}}timers.splice(0,i);this._installTimerTimeout();}_reinstallTimerTimeout(){this._clearTimerTimeout();this._installTimerTimeout();}_clearTimerTimeout(){if(this._timerTimeoutId===null){return;}this._platform.clearTimeout(this._timerTimeoutId);this._timerTimeoutId=null;}_installTimerTimeout(){if(this._timers.length===0){return;}let minExpiresAt=this._timers[0];let n=this._platform.now();let wait=Math.max(0,minExpiresAt-n);this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,wait);}_ensureInstance(){let currentInstance=this.currentInstance;if(currentInstance===null){this._autorunStack=this.DEBUG?new Error():undefined;currentInstance=this.begin();this._scheduleAutorun(this.queueNames[0]);}return currentInstance;}_scheduleAutorun(plannedNextQueue){autorunsCreatedCount++;const next=this._platform.next;const flush=this.options.flush;if(flush){flush(plannedNextQueue,next);}else{next();}this._autorun=true;}}Backburner.Queue=Queue;Backburner.buildPlatform=buildPlatform;Backburner.buildNext=buildNext;const backburnerjs=/*#__PURE__*/Object.defineProperty({__proto__:null,buildPlatform,default:Backburner},Symbol.toStringTag,{value:'Module'});// Partial types from https://medium.com/codex/currying-in-typescript-ca5226c85b85\nlet currentRunLoop=null;function _getCurrentRunLoop(){return currentRunLoop;}function onBegin(current){currentRunLoop=current;}function onEnd(_current,next){currentRunLoop=next;flushAsyncObservers(schedule);}function flush$1(queueName,next){if(queueName==='render'||queueName===_rsvpErrorQueue){flushAsyncObservers(schedule);}next();}const _rsvpErrorQueue=`${Math.random()}${Date.now()}`.replace('.','');/**\n            Array of named queues. This array determines the order in which queues\n            are flushed at the end of the RunLoop. You can define your own queues by\n            simply adding the queue name to this array. Normally you should not need\n            to inspect or modify this property.\n\n            @property queues\n            @type Array\n            @default ['actions', 'destroy']\n            @private\n          */const _queues=['actions',// used in router transitions to prevent unnecessary loading state entry\n// if all context promises resolve on the 'actions' queue first\n'routerTransitions','render','afterRender','destroy',// used to re-throw unhandled RSVP rejection errors specifically in this\n// position to avoid breaking anything rendered in the other sections\n_rsvpErrorQueue];/**\n           * @internal\n           * @private\n           */const _backburner=new Backburner(_queues,{defaultQueue:'actions',onBegin,onEnd,onErrorTarget,onErrorMethod:'onerror',flush:flush$1});/**\n           @module @ember/runloop\n          */// ..........................................................\n// run - this is ideally the only public API the dev sees\n//\n/**\n            Runs the passed target and method inside of a RunLoop, ensuring any\n            deferred actions including bindings and views updates are flushed at the\n            end.\n\n            Normally you should not need to invoke this method yourself. However if\n            you are implementing raw event handlers when interfacing with other\n            libraries or plugins, you should probably wrap all of your code inside this\n            call.\n\n            ```javascript\n            import { run } from '@ember/runloop';\n\n            run(function() {\n              // code to be executed within a RunLoop\n            });\n            ```\n            @method run\n            @for @ember/runloop\n            @static\n            @param {Object} [target] target of method to call\n            @param {Function|String} method Method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Any additional arguments you wish to pass to the method.\n            @return {Object} return value from invoking the passed function.\n            @public\n          */function run$1(...args){// @ts-expect-error TS doesn't like our spread args\nreturn _backburner.run(...args);}/**\n            If no run-loop is present, it creates a new one. If a run loop is\n            present it will queue itself to run on the existing run-loops action\n            queue.\n\n            Please note: This is not for normal usage, and should be used sparingly.\n\n            If invoked when not within a run loop:\n\n            ```javascript\n            import { join } from '@ember/runloop';\n\n            join(function() {\n              // creates a new run-loop\n            });\n            ```\n\n            Alternatively, if called within an existing run loop:\n\n            ```javascript\n            import { run, join } from '@ember/runloop';\n\n            run(function() {\n              // creates a new run-loop\n\n              join(function() {\n                // joins with the existing run-loop, and queues for invocation on\n                // the existing run-loops action queue.\n              });\n            });\n            ```\n\n            @method join\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to call\n            @param {Function|String} method Method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Any additional arguments you wish to pass to the method.\n            @return {Object} Return value from invoking the passed function. Please note,\n            when called within an existing loop, no return value is possible.\n            @public\n          */function join(methodOrTarget,methodOrArg,...additionalArgs){return _backburner.join(methodOrTarget,methodOrArg,...additionalArgs);}/**\n            Allows you to specify which context to call the specified function in while\n            adding the execution of that function to the Ember run loop. This ability\n            makes this method a great way to asynchronously integrate third-party libraries\n            into your Ember application.\n\n            `bind` takes two main arguments, the desired context and the function to\n            invoke in that context. Any additional arguments will be supplied as arguments\n            to the function that is passed in.\n\n            Let's use the creation of a TinyMCE component as an example. Currently,\n            TinyMCE provides a setup configuration option we can use to do some processing\n            after the TinyMCE instance is initialized but before it is actually rendered.\n            We can use that setup option to do some additional setup for our component.\n            The component itself could look something like the following:\n\n            ```app/components/rich-text-editor.js\n            import Component from '@ember/component';\n            import { on } from '@ember/object/evented';\n            import { bind } from '@ember/runloop';\n\n            export default Component.extend({\n              initializeTinyMCE: on('didInsertElement', function() {\n                tinymce.init({\n                  selector: '#' + this.$().prop('id'),\n                  setup: bind(this, this.setupEditor)\n                });\n              }),\n\n              didInsertElement() {\n                tinymce.init({\n                  selector: '#' + this.$().prop('id'),\n                  setup: bind(this, this.setupEditor)\n                });\n              }\n\n              setupEditor(editor) {\n                this.set('editor', editor);\n\n                editor.on('change', function() {\n                  console.log('content changed!');\n                });\n              }\n            });\n            ```\n\n            In this example, we use `bind` to bind the setupEditor method to the\n            context of the RichTextEditor component and to have the invocation of that\n            method be safely handled and executed by the Ember run loop.\n\n            @method bind\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to call\n            @param {Function|String} method Method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Any additional arguments you wish to pass to the method.\n            @return {Function} returns a new function that will always have a particular context\n            @since 1.4.0\n            @public\n          */// This final fallback is the equivalent of the (quite unsafe!) type for `bind`\n// from TS' defs for `Function.prototype.bind`. In general, it means we have a\n// loss of safety if we do not\nfunction bind(...curried){!function(methodOrTarget,methodOrArg){// Applies the same logic as backburner parseArgs for detecting if a method\n// is actually being passed.\nlet length=arguments.length;if(length===0){return false;}else if(length===1){return typeof methodOrTarget==='function';}else{return typeof methodOrArg==='function'||// second argument is a function\nmethodOrTarget!==null&&typeof methodOrArg==='string'&&methodOrArg in methodOrTarget||// second argument is the name of a method in first argument\ntypeof methodOrTarget==='function'//first argument is a function\n;}// @ts-expect-error TS doesn't like our spread args\n}(...curried)&&assert$1('could not find a suitable method to bind',function(methodOrTarget,methodOrArg){let length=arguments.length;if(length===0){return false;}else if(length===1){return typeof methodOrTarget==='function';}else{return typeof methodOrArg==='function'||methodOrTarget!==null&&typeof methodOrArg==='string'&&methodOrArg in methodOrTarget||typeof methodOrTarget==='function';}}(...curried));// @ts-expect-error TS doesn't like our spread args\nreturn(...args)=>join(...curried.concat(args));}/**\n            Begins a new RunLoop. Any deferred actions invoked after the begin will\n            be buffered until you invoke a matching call to `end()`. This is\n            a lower-level way to use a RunLoop instead of using `run()`.\n\n            ```javascript\n            import { begin, end } from '@ember/runloop';\n\n            begin();\n            // code to be executed within a RunLoop\n            end();\n            ```\n\n            @method begin\n            @static\n            @for @ember/runloop\n            @return {void}\n            @public\n          */function begin(){_backburner.begin();}/**\n            Ends a RunLoop. This must be called sometime after you call\n            `begin()` to flush any deferred actions. This is a lower-level way\n            to use a RunLoop instead of using `run()`.\n\n            ```javascript\n            import { begin, end } from '@ember/runloop';\n\n            begin();\n            // code to be executed within a RunLoop\n            end();\n            ```\n\n            @method end\n            @static\n            @for @ember/runloop\n            @return {void}\n            @public\n          */function end(){_backburner.end();}/**\n            Adds the passed target/method and any optional arguments to the named\n            queue to be executed at the end of the RunLoop. If you have not already\n            started a RunLoop when calling this method one will be started for you\n            automatically.\n\n            At the end of a RunLoop, any methods scheduled in this way will be invoked.\n            Methods will be invoked in an order matching the named queues defined in\n            the `queues` property.\n\n            ```javascript\n            import { schedule } from '@ember/runloop';\n\n            schedule('afterRender', this, function() {\n              // this will be executed in the 'afterRender' queue\n              console.log('scheduled on afterRender queue');\n            });\n\n            schedule('actions', this, function() {\n              // this will be executed in the 'actions' queue\n              console.log('scheduled on actions queue');\n            });\n\n            // Note the functions will be run in order based on the run queues order.\n            // Output would be:\n            //   scheduled on actions queue\n            //   scheduled on afterRender queue\n            ```\n\n            @method schedule\n            @static\n            @for @ember/runloop\n            @param {String} queue The name of the queue to schedule against. Default queues is 'actions'\n            @param {Object} [target] target object to use as the context when invoking a method.\n            @param {String|Function} method The method to invoke. If you pass a string it\n              will be resolved on the target object at the time the scheduled item is\n              invoked allowing you to change the target function.\n            @param {Object} [arguments*] Optional arguments to be passed to the queued method.\n            @return {*} Timer information for use in canceling, see `cancel`.\n            @public\n          */function schedule(...args){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.schedule(...args);}// Used by global test teardown\nfunction _hasScheduledTimers(){return _backburner.hasTimers();}// Used by global test teardown\nfunction _cancelTimers(){_backburner.cancelTimers();}/**\n            Invokes the passed target/method and optional arguments after a specified\n            period of time. The last parameter of this method must always be a number\n            of milliseconds.\n\n            You should use this method whenever you need to run some action after a\n            period of time instead of using `setTimeout()`. This method will ensure that\n            items that expire during the same script execution cycle all execute\n            together, which is often more efficient than using a real setTimeout.\n\n            ```javascript\n            import { later } from '@ember/runloop';\n\n            later(myContext, function() {\n              // code here will execute within a RunLoop in about 500ms with this == myContext\n            }, 500);\n            ```\n\n            @method later\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @param {Number} wait Number of milliseconds to wait.\n            @return {*} Timer information for use in canceling, see `cancel`.\n            @public\n          */function later(...args){return _backburner.later(...args);}/**\n           Schedule a function to run one time during the current RunLoop. This is equivalent\n            to calling `scheduleOnce` with the \"actions\" queue.\n\n            @method once\n            @static\n            @for @ember/runloop\n            @param {Object} [target] The target of the method to invoke.\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @return {Object} Timer information for use in canceling, see `cancel`.\n            @public\n          */function once(...args){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.scheduleOnce('actions',...args);}/**\n            Schedules a function to run one time in a given queue of the current RunLoop.\n            Calling this method with the same queue/target/method combination will have\n            no effect (past the initial call).\n\n            Note that although you can pass optional arguments these will not be\n            considered when looking for duplicates. New arguments will replace previous\n            calls.\n\n            ```javascript\n            import { run, scheduleOnce } from '@ember/runloop';\n\n            function sayHi() {\n              console.log('hi');\n            }\n\n            run(function() {\n              scheduleOnce('afterRender', myContext, sayHi);\n              scheduleOnce('afterRender', myContext, sayHi);\n              // sayHi will only be executed once, in the afterRender queue of the RunLoop\n            });\n            ```\n\n            Also note that for `scheduleOnce` to prevent additional calls, you need to\n            pass the same function instance. The following case works as expected:\n\n            ```javascript\n            function log() {\n              console.log('Logging only once');\n            }\n\n            function scheduleIt() {\n              scheduleOnce('actions', myContext, log);\n            }\n\n            scheduleIt();\n            scheduleIt();\n            ```\n\n            But this other case will schedule the function multiple times:\n\n            ```javascript\n            import { scheduleOnce } from '@ember/runloop';\n\n            function scheduleIt() {\n              scheduleOnce('actions', myContext, function() {\n                console.log('Closure');\n              });\n            }\n\n            scheduleIt();\n            scheduleIt();\n\n            // \"Closure\" will print twice, even though we're using `scheduleOnce`,\n            // because the function we pass to it won't match the\n            // previously scheduled operation.\n            ```\n\n            Available queues, and their order, can be found at `queues`\n\n            @method scheduleOnce\n            @static\n            @for @ember/runloop\n            @param {String} [queue] The name of the queue to schedule against. Default queues is 'actions'.\n            @param {Object} [target] The target of the method to invoke.\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @return {Object} Timer information for use in canceling, see `cancel`.\n            @public\n          */function scheduleOnce(...args){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.scheduleOnce(...args);}/**\n            Schedules an item to run from within a separate run loop, after\n            control has been returned to the system. This is equivalent to calling\n            `later` with a wait time of 1ms.\n\n            ```javascript\n            import { next } from '@ember/runloop';\n\n            next(myContext, function() {\n              // code to be executed in the next run loop,\n              // which will be scheduled after the current one\n            });\n            ```\n\n            Multiple operations scheduled with `next` will coalesce\n            into the same later run loop, along with any other operations\n            scheduled by `later` that expire right around the same\n            time that `next` operations will fire.\n\n            Note that there are often alternatives to using `next`.\n            For instance, if you'd like to schedule an operation to happen\n            after all DOM element operations have completed within the current\n            run loop, you can make use of the `afterRender` run loop queue (added\n            by the `ember-views` package, along with the preceding `render` queue\n            where all the DOM element operations happen).\n\n            Example:\n\n            ```app/components/my-component.js\n            import Component from '@ember/component';\n            import { scheduleOnce } from '@ember/runloop';\n\n            export Component.extend({\n              didInsertElement() {\n                this._super(...arguments);\n                scheduleOnce('afterRender', this, 'processChildElements');\n              },\n\n              processChildElements() {\n                // ... do something with component's child component\n                // elements after they've finished rendering, which\n                // can't be done within this component's\n                // `didInsertElement` hook because that gets run\n                // before the child elements have been added to the DOM.\n              }\n            });\n            ```\n\n            One benefit of the above approach compared to using `next` is\n            that you will be able to perform DOM/CSS operations before unprocessed\n            elements are rendered to the screen, which may prevent flickering or\n            other artifacts caused by delaying processing until after rendering.\n\n            The other major benefit to the above approach is that `next`\n            introduces an element of non-determinism, which can make things much\n            harder to test, due to its reliance on `setTimeout`; it's much harder\n            to guarantee the order of scheduled operations when they are scheduled\n            outside of the current run loop, i.e. with `next`.\n\n            @method next\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              If you pass a string it will be resolved on the\n              target at the time the method is invoked.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @return {Object} Timer information for use in canceling, see `cancel`.\n            @public\n          */function next(...args){return _backburner.later(...args,1);}/**\n            Cancels a scheduled item. Must be a value returned by `later()`,\n            `once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n            `throttle()`.\n\n            ```javascript\n            import {\n              next,\n              cancel,\n              later,\n              scheduleOnce,\n              once,\n              throttle,\n              debounce\n            } from '@ember/runloop';\n\n            let runNext = next(myContext, function() {\n              // will not be executed\n            });\n\n            cancel(runNext);\n\n            let runLater = later(myContext, function() {\n              // will not be executed\n            }, 500);\n\n            cancel(runLater);\n\n            let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n              // will not be executed\n            });\n\n            cancel(runScheduleOnce);\n\n            let runOnce = once(myContext, function() {\n              // will not be executed\n            });\n\n            cancel(runOnce);\n\n            let throttle = throttle(myContext, function() {\n              // will not be executed\n            }, 1, false);\n\n            cancel(throttle);\n\n            let debounce = debounce(myContext, function() {\n              // will not be executed\n            }, 1);\n\n            cancel(debounce);\n\n            let debounceImmediate = debounce(myContext, function() {\n              // will be executed since we passed in true (immediate)\n            }, 100, true);\n\n            // the 100ms delay until this method can be called again will be canceled\n            cancel(debounceImmediate);\n            ```\n\n            @method cancel\n            @static\n            @for @ember/runloop\n            @param {Object} [timer] Timer object to cancel\n            @return {Boolean} true if canceled or false/undefined if it wasn't found\n            @public\n          */function cancel(timer){return _backburner.cancel(timer);}/**\n            Delay calling the target method until the debounce period has elapsed\n            with no additional debounce calls. If `debounce` is called again before\n            the specified time has elapsed, the timer is reset and the entire period\n            must pass again before the target method is called.\n\n            This method should be used when an event may be called multiple times\n            but the action should only be called once when the event is done firing.\n            A common example is for scroll events where you only want updates to\n            happen once scrolling has ceased.\n\n            ```javascript\n            import { debounce } from '@ember/runloop';\n\n            function whoRan() {\n              console.log(this.name + ' ran.');\n            }\n\n            let myContext = { name: 'debounce' };\n\n            debounce(myContext, whoRan, 150);\n\n            // less than 150ms passes\n            debounce(myContext, whoRan, 150);\n\n            // 150ms passes\n            // whoRan is invoked with context myContext\n            // console logs 'debounce ran.' one time.\n            ```\n\n            Immediate allows you to run the function immediately, but debounce\n            other calls for this function until the wait time has elapsed. If\n            `debounce` is called again before the specified time has elapsed,\n            the timer is reset and the entire period must pass again before\n            the method can be called again.\n\n            ```javascript\n            import { debounce } from '@ember/runloop';\n\n            function whoRan() {\n              console.log(this.name + ' ran.');\n            }\n\n            let myContext = { name: 'debounce' };\n\n            debounce(myContext, whoRan, 150, true);\n\n            // console logs 'debounce ran.' one time immediately.\n            // 100ms passes\n            debounce(myContext, whoRan, 150, true);\n\n            // 150ms passes and nothing else is logged to the console and\n            // the debouncee is no longer being watched\n            debounce(myContext, whoRan, 150, true);\n\n            // console logs 'debounce ran.' one time immediately.\n            // 150ms passes and nothing else is logged to the console and\n            // the debouncee is no longer being watched\n            ```\n\n            @method debounce\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @param {Number} wait Number of milliseconds to wait.\n            @param {Boolean} immediate Trigger the function on the leading instead\n              of the trailing edge of the wait interval. Defaults to false.\n            @return {Array} Timer information for use in canceling, see `cancel`.\n            @public\n          */function debounce(...args){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.debounce(...args);}/**\n            Ensure that the target method is never called more frequently than\n            the specified spacing period. The target method is called immediately.\n\n            ```javascript\n            import { throttle } from '@ember/runloop';\n\n            function whoRan() {\n              console.log(this.name + ' ran.');\n            }\n\n            let myContext = { name: 'throttle' };\n\n            throttle(myContext, whoRan, 150);\n            // whoRan is invoked with context myContext\n            // console logs 'throttle ran.'\n\n            // 50ms passes\n            throttle(myContext, whoRan, 150);\n\n            // 50ms passes\n            throttle(myContext, whoRan, 150);\n\n            // 150ms passes\n            throttle(myContext, whoRan, 150);\n            // whoRan is invoked with context myContext\n            // console logs 'throttle ran.'\n            ```\n\n            @method throttle\n            @static\n            @for @ember/runloop\n            @param {Object} [target] target of method to invoke\n            @param {Function|String} method The method to invoke.\n              May be a function or a string. If you pass a string\n              then it will be looked up on the passed target.\n            @param {Object} [args*] Optional arguments to pass to the timeout.\n            @param {Number} spacing Number of milliseconds to space out requests.\n            @param {Boolean} immediate Trigger the function on the leading instead\n              of the trailing edge of the wait interval. Defaults to true.\n            @return {Array} Timer information for use in canceling, see `cancel`.\n            @public\n          */function throttle(...args){// @ts-expect-error TS doesn't like the rest args here\nreturn _backburner.throttle(...args);}const emberRunloopIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_backburner,_cancelTimers,_getCurrentRunLoop,_hasScheduledTimers,_queues,_rsvpErrorQueue,begin,bind,cancel,debounce,end,join,later,next,once,run:run$1,schedule,scheduleOnce,throttle},Symbol.toStringTag,{value:'Module'});// This is defined as a separate interface so that it can be used in the definition of\n// `Owner` without also including the `__container__` property.\n/**\n            ContainerProxyMixin is used to provide public access to specific\n            container functionality.\n\n            @class ContainerProxyMixin\n            @extends ContainerProxy\n            @private\n          */const ContainerProxyMixin=Mixin.create({/**\n             The container stores state.\n              @private\n             @property {Ember.Container} __container__\n             */__container__:null,ownerInjection(){return this.__container__.ownerInjection();},lookup(fullName,options){return this.__container__.lookup(fullName,options);},destroy(){let container=this.__container__;if(container){join(()=>{container.destroy();schedule('destroy',container,'finalizeDestroy');});}this._super();},factoryFor(fullName){return this.__container__.factoryFor(fullName);}});const emberinternalsRuntimeLibMixinsContainerProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ContainerProxyMixin},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            Implements some standard methods for comparing objects. Add this mixin to\n            any class you create that can compare its instances.\n\n            You should implement the `compare()` method.\n\n            @class Comparable\n            @namespace Ember\n            @since Ember 0.9\n            @private\n          */const Comparable=Mixin.create({/**\n              __Required.__ You must implement this method to apply this mixin.\n               Override to return the result of the comparison of the two parameters. The\n              compare method should return:\n               - `-1` if `a < b`\n              - `0` if `a == b`\n              - `1` if `a > b`\n               Default implementation raises an exception.\n               @method compare\n              @param a {Object} the first object to compare\n              @param b {Object} the second object to compare\n              @return {Number} the result of the comparison\n              @private\n            */compare:null});const emberinternalsRuntimeLibMixinsComparable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Comparable},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            `Ember.ActionHandler` is available on some familiar classes including\n            `Route`, `Component`, and `Controller`.\n            (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n            and `Route` and available to the above classes through\n            inheritance.)\n\n            @class ActionHandler\n            @namespace Ember\n            @private\n          */const ActionHandler=Mixin.create({mergedProperties:['actions'],/**\n              The collection of functions, keyed by name, available on this\n              `ActionHandler` as action targets.\n               These functions will be invoked when a matching `{{action}}` is triggered\n              from within a template and the application's current route is this route.\n               Actions can also be invoked from other parts of your application\n              via `ActionHandler#send`.\n               The `actions` hash will inherit action handlers from\n              the `actions` hash defined on extended parent classes\n              or mixins rather than just replace the entire hash, e.g.:\n               ```app/mixins/can-display-banner.js\n              import Mixin from '@ember/object/mixin';\n               export default Mixin.create({\n                actions: {\n                  displayBanner(msg) {\n                    // ...\n                  }\n                }\n              });\n              ```\n               ```app/routes/welcome.js\n              import Route from '@ember/routing/route';\n              import CanDisplayBanner from '../mixins/can-display-banner';\n               export default Route.extend(CanDisplayBanner, {\n                actions: {\n                  playMusic() {\n                    // ...\n                  }\n                }\n              });\n               // `WelcomeRoute`, when active, will be able to respond\n              // to both actions, since the actions hash is merged rather\n              // then replaced when extending mixins / parent classes.\n              this.send('displayBanner');\n              this.send('playMusic');\n              ```\n               Within a Controller, Route or Component's action handler,\n              the value of the `this` context is the Controller, Route or\n              Component object:\n               ```app/routes/song.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  myAction() {\n                    this.controllerFor(\"song\");\n                    this.transitionTo(\"other.route\");\n                    ...\n                  }\n                }\n              });\n              ```\n               It is also possible to call `this._super(...arguments)` from within an\n              action handler if it overrides a handler defined on a parent\n              class or mixin:\n               Take for example the following routes:\n               ```app/mixins/debug-route.js\n              import Mixin from '@ember/object/mixin';\n               export default Mixin.create({\n                actions: {\n                  debugRouteInformation() {\n                    console.debug(\"It's a-me, console.debug!\");\n                  }\n                }\n              });\n              ```\n               ```app/routes/annoying-debug.js\n              import Route from '@ember/routing/route';\n              import DebugRoute from '../mixins/debug-route';\n               export default Route.extend(DebugRoute, {\n                actions: {\n                  debugRouteInformation() {\n                    // also call the debugRouteInformation of mixed in DebugRoute\n                    this._super(...arguments);\n                     // show additional annoyance\n                    window.alert(...);\n                  }\n                }\n              });\n              ```\n               ## Bubbling\n               By default, an action will stop bubbling once a handler defined\n              on the `actions` hash handles it. To continue bubbling the action,\n              you must return `true` from the handler:\n               ```app/router.js\n              Router.map(function() {\n                this.route(\"album\", function() {\n                  this.route(\"song\");\n                });\n              });\n              ```\n               ```app/routes/album.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  startPlaying: function() {\n                  }\n                }\n              });\n              ```\n               ```app/routes/album-song.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  startPlaying() {\n                    // ...\n                     if (actionShouldAlsoBeTriggeredOnParentRoute) {\n                      return true;\n                    }\n                  }\n                }\n              });\n              ```\n               @property actions\n              @type Object\n              @default null\n              @public\n            *//**\n              Triggers a named action on the `ActionHandler`. Any parameters\n              supplied after the `actionName` string will be passed as arguments\n              to the action target function.\n               If the `ActionHandler` has its `target` property set, actions may\n              bubble to the `target`. Bubbling happens when an `actionName` can\n              not be found in the `ActionHandler`'s `actions` hash or if the\n              action target function returns `true`.\n               Example\n               ```app/routes/welcome.js\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                actions: {\n                  playTheme() {\n                    this.send('playMusic', 'theme.mp3');\n                  },\n                  playMusic(track) {\n                    // ...\n                  }\n                }\n              });\n              ```\n               @method send\n              @param {String} actionName The action to trigger\n              @param {*} context a context to send with the action\n              @public\n            */send(actionName,...args){!(!this.isDestroying&&!this.isDestroyed)&&assert$1(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`,!this.isDestroying&&!this.isDestroyed);if(this.actions&&this.actions[actionName]){let shouldBubble=this.actions[actionName].apply(this,args)===true;if(!shouldBubble){return;}}let target=get$2(this,'target');if(target){!(typeof target.send==='function')&&assert$1(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`,typeof target.send==='function');target.send(...arguments);}}});const emberinternalsRuntimeLibMixinsActionHandler=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ActionHandler},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */function contentFor(proxy){let content=get$2(proxy,'content');// SAFETY: Ideally we'd assert instead of casting, but @glimmer/validator doesn't give us\n// sufficient public types for this. Previously this code was .js and worked correctly so\n// hopefully this is sufficiently reliable.\nUPDATE_TAG(tagForObject(proxy),tagForObject(content));return content;}function customTagForProxy(proxy,key,addMandatorySetter){!isProxy(proxy)&&assert$1('Expected a proxy',isProxy(proxy));let meta=tagMetaFor(proxy);let tag=tagFor(proxy,key,meta);{// TODO: Replace this with something more first class for tracking tags in DEBUG\n// SAFETY: This is not an officially supported property but setting shouldn't cause issues.\ntag._propertyKey=key;}if(key in proxy){if(addMandatorySetter){!setupMandatorySetter&&assert$1('[BUG] setupMandatorySetter should be set when debugging',setupMandatorySetter);setupMandatorySetter(tag,proxy,key);}return tag;}else{let tags=[tag,tagFor(proxy,'content',meta)];let content=contentFor(proxy);if(isObject(content)){tags.push(tagForProperty(content,key,addMandatorySetter));}return combine(tags);}}/**\n            `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n            to a proxied `content` object.  See ObjectProxy for more details.\n\n            @class ProxyMixin\n            @namespace Ember\n            @private\n          */const ProxyMixin=Mixin.create({/**\n              The object whose properties will be forwarded.\n               @property content\n              @type {unknown}\n              @default null\n              @public\n            */content:null,init(){this._super(...arguments);setProxy(this);tagForObject(this);setCustomTagFor(this,customTagForProxy);},willDestroy(){this.set('content',null);this._super(...arguments);},isTruthy:computed('content',function(){return Boolean(get$2(this,'content'));}),unknownProperty(key){let content=contentFor(this);return content?get$2(content,key):undefined;},setUnknownProperty(key,value){let m=meta(this);if(m.isInitializing()||m.isPrototypeMeta(this)){// if marked as prototype or object is initializing then just\n// defineProperty rather than delegate\ndefineProperty(this,key,null,value);return value;}let content=contentFor(this);!content&&assert$1(`Cannot delegate set('${key}', ${value}) to the 'content' property of object proxy ${this}: its 'content' is undefined.`,content);// SAFETY: We don't actually guarantee that this is an object, so this isn't necessarily safe :(\nreturn set(content,key,value);}});const emberinternalsRuntimeLibMixinsproxy=/*#__PURE__*/Object.defineProperty({__proto__:null,contentFor,default:ProxyMixin},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/enumerable\n          @private\n          *//**\n            The methods in this mixin have been moved to [MutableArray](/ember/release/classes/MutableArray). This mixin has\n            been intentionally preserved to avoid breaking Enumerable.detect checks\n            until the community migrates away from them.\n\n            @class Enumerable\n            @private\n          */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nconst Enumerable=Mixin.create();const emberEnumerableIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Enumerable},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            The methods in this mixin have been moved to MutableArray. This mixin has\n            been intentionally preserved to avoid breaking MutableEnumerable.detect\n            checks until the community migrates away from them.\n\n            @class MutableEnumerable\n            @namespace Ember\n            @uses Enumerable\n            @private\n          */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nconst MutableEnumerable=Mixin.create(Enumerable);const emberEnumerableMutable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:MutableEnumerable},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n          `Ember.TargetActionSupport` is a mixin that can be included in a class\n          to add a `triggerAction` method with semantics similar to the Handlebars\n          `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n          usually the best choice. This mixin is most often useful when you are\n          doing more complex event handling in Components.\n\n          @class TargetActionSupport\n          @namespace Ember\n          @extends Mixin\n          @private\n          */const TargetActionSupport=Mixin.create({target:null,action:null,actionContext:null,actionContextObject:computed('actionContext',function(){let actionContext=get$2(this,'actionContext');if(typeof actionContext==='string'){let value=get$2(this,actionContext);if(value===undefined){value=get$2(context$1.lookup,actionContext);}return value;}else{return actionContext;}}),/**\n            Send an `action` with an `actionContext` to a `target`. The action, actionContext\n            and target will be retrieved from properties of the object. For example:\n             ```javascript\n            import { alias } from '@ember/object/computed';\n             App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n              target: alias('controller'),\n              action: 'save',\n              actionContext: alias('context'),\n              click() {\n                this.triggerAction(); // Sends the `save` action, along with the current context\n                                      // to the current controller\n              }\n            });\n            ```\n             The `target`, `action`, and `actionContext` can be provided as properties of\n            an optional object argument to `triggerAction` as well.\n             ```javascript\n            App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n              click() {\n                this.triggerAction({\n                  action: 'save',\n                  target: this.get('controller'),\n                  actionContext: this.get('context')\n                }); // Sends the `save` action, along with the current context\n                    // to the current controller\n              }\n            });\n            ```\n             The `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\n            But `target` and `action` must be specified either as properties or with the argument\n            to `triggerAction`, or a combination:\n             ```javascript\n            import { alias } from '@ember/object/computed';\n             App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n              target: alias('controller'),\n              click() {\n                this.triggerAction({\n                  action: 'save'\n                }); // Sends the `save` action, along with a reference to `this`,\n                    // to the current controller\n              }\n            });\n            ```\n             @method triggerAction\n            @param opts {Object} (optional, with the optional keys action, target and/or actionContext)\n            @return {Boolean} true if the action was sent successfully and did not return false\n            @private\n            */triggerAction(opts={}){let{action,target,actionContext}=opts;action=action||get$2(this,'action');target=target||getTarget(this);if(actionContext===undefined){actionContext=get$2(this,'actionContextObject')||this;}let context=Array.isArray(actionContext)?actionContext:[actionContext];if(target&&action){let ret;if(isSendable(target)){ret=target.send(action,...context);}else{!(typeof target[action]==='function')&&assert$1(`The action '${action}' did not exist on ${target}`,typeof target[action]==='function');ret=target[action](...context);}if(ret!==false){return true;}}return false;}});function isSendable(obj){return obj!=null&&typeof obj==='object'&&typeof obj.send==='function';}function getTarget(instance){let target=get$2(instance,'target');if(target){if(typeof target==='string'){let value=get$2(instance,target);if(value===undefined){value=get$2(context$1.lookup,target);}return value;}else{return target;}}if(instance._target){return instance._target;}return null;}{Object.seal(TargetActionSupport);}const emberinternalsRuntimeLibMixinsTargetActionSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:TargetActionSupport},Symbol.toStringTag,{value:'Module'});function callbacksFor(object){let callbacks=object._promiseCallbacks;if(!callbacks){callbacks=object._promiseCallbacks={};}return callbacks;}/**\n            @class EventTarget\n            @for rsvp\n            @public\n          */const EventTarget={/**\n              `EventTarget.mixin` extends an object with EventTarget methods. For\n              Example:\n               ```javascript\n              import EventTarget from 'rsvp';\n               let object = {};\n               EventTarget.mixin(object);\n               object.on('finished', function(event) {\n                // handle event\n              });\n               object.trigger('finished', { detail: value });\n              ```\n               `EventTarget.mixin` also works with prototypes:\n               ```javascript\n              import EventTarget from 'rsvp';\n               let Person = function() {};\n              EventTarget.mixin(Person.prototype);\n               let yehuda = new Person();\n              let tom = new Person();\n               yehuda.on('poke', function(event) {\n                console.log('Yehuda says OW');\n              });\n               tom.on('poke', function(event) {\n                console.log('Tom says OW');\n              });\n               yehuda.trigger('poke');\n              tom.trigger('poke');\n              ```\n               @method mixin\n              @for rsvp\n              @private\n              @param {Object} object object to extend with EventTarget methods\n            */mixin(object){object.on=this.on;object.off=this.off;object.trigger=this.trigger;object._promiseCallbacks=undefined;return object;},/**\n              Registers a callback to be executed when `eventName` is triggered\n               ```javascript\n              object.on('event', function(eventInfo){\n                // handle the event\n              });\n               object.trigger('event');\n              ```\n               @method on\n              @for EventTarget\n              @private\n              @param {String} eventName name of the event to listen for\n              @param {Function} callback function to be called when the event is triggered.\n            */on(eventName,callback){if(typeof callback!=='function'){throw new TypeError('Callback must be a function');}let allCallbacks=callbacksFor(this);let callbacks=allCallbacks[eventName];if(!callbacks){callbacks=allCallbacks[eventName]=[];}if(callbacks.indexOf(callback)===-1){callbacks.push(callback);}},/**\n              You can use `off` to stop firing a particular callback for an event:\n               ```javascript\n              function doStuff() { // do stuff! }\n              object.on('stuff', doStuff);\n               object.trigger('stuff'); // doStuff will be called\n               // Unregister ONLY the doStuff callback\n              object.off('stuff', doStuff);\n              object.trigger('stuff'); // doStuff will NOT be called\n              ```\n               If you don't pass a `callback` argument to `off`, ALL callbacks for the\n              event will not be executed when the event fires. For example:\n               ```javascript\n              let callback1 = function(){};\n              let callback2 = function(){};\n               object.on('stuff', callback1);\n              object.on('stuff', callback2);\n               object.trigger('stuff'); // callback1 and callback2 will be executed.\n               object.off('stuff');\n              object.trigger('stuff'); // callback1 and callback2 will not be executed!\n              ```\n               @method off\n              @for rsvp\n              @private\n              @param {String} eventName event to stop listening to\n              @param {Function} [callback] optional argument. If given, only the function\n              given will be removed from the event's callback queue. If no `callback`\n              argument is given, all callbacks will be removed from the event's callback\n              queue.\n            */off(eventName,callback){let allCallbacks=callbacksFor(this);if(!callback){allCallbacks[eventName]=[];return;}let callbacks=allCallbacks[eventName];let index=callbacks.indexOf(callback);if(index!==-1){callbacks.splice(index,1);}},/**\n              Use `trigger` to fire custom events. For example:\n               ```javascript\n              object.on('foo', function(){\n                console.log('foo event happened!');\n              });\n              object.trigger('foo');\n              // 'foo event happened!' logged to the console\n              ```\n               You can also pass a value as a second argument to `trigger` that will be\n              passed as an argument to all event listeners for the event:\n               ```javascript\n              object.on('foo', function(value){\n                console.log(value.name);\n              });\n               object.trigger('foo', { name: 'bar' });\n              // 'bar' logged to the console\n              ```\n               @method trigger\n              @for rsvp\n              @private\n              @param {String} eventName name of the event to be triggered\n              @param {*} [options] optional value to be passed to any event handlers for\n              the given `eventName`\n            */trigger(eventName,options,label){let allCallbacks=callbacksFor(this);let callbacks=allCallbacks[eventName];if(callbacks){// Don't cache the callbacks.length since it may grow\nlet callback;for(let i=0;i<callbacks.length;i++){callback=callbacks[i];callback(options,label);}}}};const config={instrument:false};EventTarget['mixin'](config);function configure(name,value){if(arguments.length===2){config[name]=value;}else{return config[name];}}const queue$1=[];function scheduleFlush$1(){setTimeout(()=>{for(let i=0;i<queue$1.length;i++){let entry=queue$1[i];let payload=entry.payload;payload.guid=payload.key+payload.id;payload.childGuid=payload.key+payload.childId;if(payload.error){payload.stack=payload.error.stack;}config['trigger'](entry.name,entry.payload);}queue$1.length=0;},50);}function instrument$1(eventName,promise,child){if(1===queue$1.push({name:eventName,payload:{key:promise._guidKey,id:promise._id,eventName:eventName,detail:promise._result,childId:child&&child._id,label:promise._label,timeStamp:Date.now(),error:config[\"instrument-with-stack\"]?new Error(promise._label):null}})){scheduleFlush$1();}}/**\n            `Promise.resolve` returns a promise that will become resolved with the\n            passed `value`. It is shorthand for the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = new Promise(function(resolve, reject){\n              resolve(1);\n            });\n\n            promise.then(function(value){\n              // value === 1\n            });\n            ```\n\n            Instead of writing the above, your code now simply becomes the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = RSVP.Promise.resolve(1);\n\n            promise.then(function(value){\n              // value === 1\n            });\n            ```\n\n            @method resolve\n            @for Promise\n            @static\n            @param {*} object value that the returned promise will be resolved with\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise that will become fulfilled with the given\n            `value`\n          */function resolve$4(object,label){/*jshint validthis:true */let Constructor=this;if(object&&typeof object==='object'&&object.constructor===Constructor){return object;}let promise=new Constructor(noop,label);resolve$3(promise,object);return promise;}function withOwnPromise(){return new TypeError('A promises callback cannot return that same promise.');}function objectOrFunction(x){let type=typeof x;return x!==null&&(type==='object'||type==='function');}function noop(){}const PENDING=void 0;const FULFILLED=1;const REJECTED=2;function tryThen(then,value,fulfillmentHandler,rejectionHandler){try{then.call(value,fulfillmentHandler,rejectionHandler);}catch(e){return e;}}function handleForeignThenable(promise,thenable,then){config.async(promise=>{let sealed=false;let error=tryThen(then,thenable,value=>{if(sealed){return;}sealed=true;if(thenable===value){fulfill(promise,value);}else{resolve$3(promise,value);}},reason=>{if(sealed){return;}sealed=true;reject$2(promise,reason);},'Settle: '+(promise._label||' unknown promise'));if(!sealed&&error){sealed=true;reject$2(promise,error);}},promise);}function handleOwnThenable(promise,thenable){if(thenable._state===FULFILLED){fulfill(promise,thenable._result);}else if(thenable._state===REJECTED){thenable._onError=null;reject$2(promise,thenable._result);}else{subscribe$1(thenable,undefined,value=>{if(thenable===value){fulfill(promise,value);}else{resolve$3(promise,value);}},reason=>reject$2(promise,reason));}}function handleMaybeThenable(promise,maybeThenable,then$1){let isOwnThenable=maybeThenable.constructor===promise.constructor&&then$1===then&&promise.constructor.resolve===resolve$4;if(isOwnThenable){handleOwnThenable(promise,maybeThenable);}else if(typeof then$1==='function'){handleForeignThenable(promise,maybeThenable,then$1);}else{fulfill(promise,maybeThenable);}}function resolve$3(promise,value){if(promise===value){fulfill(promise,value);}else if(objectOrFunction(value)){let then;try{then=value.then;}catch(error){reject$2(promise,error);return;}handleMaybeThenable(promise,value,then);}else{fulfill(promise,value);}}function publishRejection(promise){if(promise._onError){promise._onError(promise._result);}publish(promise);}function fulfill(promise,value){if(promise._state!==PENDING){return;}promise._result=value;promise._state=FULFILLED;if(promise._subscribers.length===0){if(config.instrument){instrument$1('fulfilled',promise);}}else{config.async(publish,promise);}}function reject$2(promise,reason){if(promise._state!==PENDING){return;}promise._state=REJECTED;promise._result=reason;config.async(publishRejection,promise);}function subscribe$1(parent,child,onFulfillment,onRejection){let subscribers=parent._subscribers;let length=subscribers.length;parent._onError=null;subscribers[length]=child;subscribers[length+FULFILLED]=onFulfillment;subscribers[length+REJECTED]=onRejection;if(length===0&&parent._state){config.async(publish,parent);}}function publish(promise){let subscribers=promise._subscribers;let settled=promise._state;if(config.instrument){instrument$1(settled===FULFILLED?'fulfilled':'rejected',promise);}if(subscribers.length===0){return;}let child,callback,result=promise._result;for(let i=0;i<subscribers.length;i+=3){child=subscribers[i];callback=subscribers[i+settled];if(child){invokeCallback(settled,child,callback,result);}else{callback(result);}}promise._subscribers.length=0;}function invokeCallback(state,promise,callback,result){let hasCallback=typeof callback==='function';let value,succeeded=true,error;if(hasCallback){try{value=callback(result);}catch(e){succeeded=false;error=e;}}else{value=result;}if(promise._state!==PENDING);else if(value===promise){reject$2(promise,withOwnPromise());}else if(succeeded===false){reject$2(promise,error);}else if(hasCallback){resolve$3(promise,value);}else if(state===FULFILLED){fulfill(promise,value);}else if(state===REJECTED){reject$2(promise,value);}}function initializePromise(promise,resolver){let resolved=false;try{resolver(value=>{if(resolved){return;}resolved=true;resolve$3(promise,value);},reason=>{if(resolved){return;}resolved=true;reject$2(promise,reason);});}catch(e){reject$2(promise,e);}}function then(onFulfillment,onRejection,label){let parent=this;let state=parent._state;if(state===FULFILLED&&!onFulfillment||state===REJECTED&&!onRejection){config.instrument&&instrument$1('chained',parent,parent);return parent;}parent._onError=null;let child=new parent.constructor(noop,label);let result=parent._result;config.instrument&&instrument$1('chained',parent,child);if(state===PENDING){subscribe$1(parent,child,onFulfillment,onRejection);}else{let callback=state===FULFILLED?onFulfillment:onRejection;config.async(()=>invokeCallback(state,child,callback,result));}return child;}class Enumerator{constructor(Constructor,input,abortOnReject,label){this._instanceConstructor=Constructor;this.promise=new Constructor(noop,label);this._abortOnReject=abortOnReject;this._isUsingOwnPromise=Constructor===Promise$1;this._isUsingOwnResolve=Constructor.resolve===resolve$4;this._init(...arguments);}_init(Constructor,input){let len=input.length||0;this.length=len;this._remaining=len;this._result=new Array(len);this._enumerate(input);}_enumerate(input){let length=this.length;let promise=this.promise;for(let i=0;promise._state===PENDING&&i<length;i++){this._eachEntry(input[i],i,true);}this._checkFullfillment();}_checkFullfillment(){if(this._remaining===0){let result=this._result;fulfill(this.promise,result);this._result=null;}}_settleMaybeThenable(entry,i,firstPass){let c=this._instanceConstructor;if(this._isUsingOwnResolve){let then$1,error,succeeded=true;try{then$1=entry.then;}catch(e){succeeded=false;error=e;}if(then$1===then&&entry._state!==PENDING){entry._onError=null;this._settledAt(entry._state,i,entry._result,firstPass);}else if(typeof then$1!=='function'){this._settledAt(FULFILLED,i,entry,firstPass);}else if(this._isUsingOwnPromise){let promise=new c(noop);if(succeeded===false){reject$2(promise,error);}else{handleMaybeThenable(promise,entry,then$1);this._willSettleAt(promise,i,firstPass);}}else{this._willSettleAt(new c(resolve=>resolve(entry)),i,firstPass);}}else{this._willSettleAt(c.resolve(entry),i,firstPass);}}_eachEntry(entry,i,firstPass){if(entry!==null&&typeof entry==='object'){this._settleMaybeThenable(entry,i,firstPass);}else{this._setResultAt(FULFILLED,i,entry,firstPass);}}_settledAt(state,i,value,firstPass){let promise=this.promise;if(promise._state===PENDING){if(this._abortOnReject&&state===REJECTED){reject$2(promise,value);}else{this._setResultAt(state,i,value,firstPass);this._checkFullfillment();}}}_setResultAt(state,i,value,firstPass){this._remaining--;this._result[i]=value;}_willSettleAt(promise,i,firstPass){subscribe$1(promise,undefined,value=>this._settledAt(FULFILLED,i,value,firstPass),reason=>this._settledAt(REJECTED,i,reason,firstPass));}}function setSettledResult(state,i,value){this._remaining--;if(state===FULFILLED){this._result[i]={state:'fulfilled',value:value};}else{this._result[i]={state:'rejected',reason:value};}}/**\n            `Promise.all` accepts an array of promises, and returns a new promise which\n            is fulfilled with an array of fulfillment values for the passed promises, or\n            rejected with the reason of the first passed promise to be rejected. It casts all\n            elements of the passed iterable to promises as it runs this algorithm.\n\n            Example:\n\n            ```javascript\n            import Promise, { resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = resolve(2);\n            let promise3 = resolve(3);\n            let promises = [ promise1, promise2, promise3 ];\n\n            Promise.all(promises).then(function(array){\n              // The array here would be [ 1, 2, 3 ];\n            });\n            ```\n\n            If any of the `promises` given to `RSVP.all` are rejected, the first promise\n            that is rejected will be given as an argument to the returned promises's\n            rejection handler. For example:\n\n            Example:\n\n            ```javascript\n            import Promise, { resolve, reject } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = reject(new Error(\"2\"));\n            let promise3 = reject(new Error(\"3\"));\n            let promises = [ promise1, promise2, promise3 ];\n\n            Promise.all(promises).then(function(array){\n              // Code here never runs because there are rejected promises!\n            }, function(error) {\n              // error.message === \"2\"\n            });\n            ```\n\n            @method all\n            @for Promise\n            @param {Array} entries array of promises\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled when all `promises` have been\n            fulfilled, or rejected if any of them become rejected.\n            @static\n          */function all$1(entries,label){if(!Array.isArray(entries)){return this.reject(new TypeError(\"Promise.all must be called with an array\"),label);}return new Enumerator(this,entries,true/* abort on reject */,label).promise;}/**\n            `Promise.race` returns a new promise which is settled in the same way as the\n            first passed promise to settle.\n\n            Example:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise1 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                resolve('promise 1');\n              }, 200);\n            });\n\n            let promise2 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                resolve('promise 2');\n              }, 100);\n            });\n\n            Promise.race([promise1, promise2]).then(function(result){\n              // result === 'promise 2' because it was resolved before promise1\n              // was resolved.\n            });\n            ```\n\n            `Promise.race` is deterministic in that only the state of the first\n            settled promise matters. For example, even if other promises given to the\n            `promises` array argument are resolved, but the first settled promise has\n            become rejected before the other promises became fulfilled, the returned\n            promise will become rejected:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise1 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                resolve('promise 1');\n              }, 200);\n            });\n\n            let promise2 = new Promise(function(resolve, reject){\n              setTimeout(function(){\n                reject(new Error('promise 2'));\n              }, 100);\n            });\n\n            Promise.race([promise1, promise2]).then(function(result){\n              // Code here never runs\n            }, function(reason){\n              // reason.message === 'promise 2' because promise 2 became rejected before\n              // promise 1 became fulfilled\n            });\n            ```\n\n            An example real-world use case is implementing timeouts:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            Promise.race([ajax('foo.json'), timeout(5000)])\n            ```\n\n            @method race\n            @for Promise\n            @static\n            @param {Array} entries array of promises to observe\n            @param {String} [label] optional string for describing the promise returned.\n            Useful for tooling.\n            @return {Promise} a promise which settles in the same way as the first passed\n            promise to settle.\n          */function race$1(entries,label){/*jshint validthis:true */let Constructor=this;let promise=new Constructor(noop,label);if(!Array.isArray(entries)){reject$2(promise,new TypeError('Promise.race must be called with an array'));return promise;}for(let i=0;promise._state===PENDING&&i<entries.length;i++){subscribe$1(Constructor.resolve(entries[i]),undefined,value=>resolve$3(promise,value),reason=>reject$2(promise,reason));}return promise;}/**\n            `Promise.reject` returns a promise rejected with the passed `reason`.\n            It is shorthand for the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = new Promise(function(resolve, reject){\n              reject(new Error('WHOOPS'));\n            });\n\n            promise.then(function(value){\n              // Code here doesn't run because the promise is rejected!\n            }, function(reason){\n              // reason.message === 'WHOOPS'\n            });\n            ```\n\n            Instead of writing the above, your code now simply becomes the following:\n\n            ```javascript\n            import Promise from 'rsvp';\n\n            let promise = Promise.reject(new Error('WHOOPS'));\n\n            promise.then(function(value){\n              // Code here doesn't run because the promise is rejected!\n            }, function(reason){\n              // reason.message === 'WHOOPS'\n            });\n            ```\n\n            @method reject\n            @for Promise\n            @static\n            @param {*} reason value that the returned promise will be rejected with.\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise rejected with the given `reason`.\n          */function reject$1(reason,label){/*jshint validthis:true */let Constructor=this;let promise=new Constructor(noop,label);reject$2(promise,reason);return promise;}const guidKey='rsvp_'+Date.now()+'-';let counter=0;function needsResolver(){throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');}function needsNew(){throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");}/**\n            Promise objects represent the eventual result of an asynchronous operation. The\n            primary way of interacting with a promise is through its `then` method, which\n            registers callbacks to receive either a promise’s eventual value or the reason\n            why the promise cannot be fulfilled.\n\n            Terminology\n            -----------\n\n            - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n            - `thenable` is an object or function that defines a `then` method.\n            - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n            - `exception` is a value that is thrown using the throw statement.\n            - `reason` is a value that indicates why a promise was rejected.\n            - `settled` the final resting state of a promise, fulfilled or rejected.\n\n            A promise can be in one of three states: pending, fulfilled, or rejected.\n\n            Promises that are fulfilled have a fulfillment value and are in the fulfilled\n            state.  Promises that are rejected have a rejection reason and are in the\n            rejected state.  A fulfillment value is never a thenable.\n\n            Promises can also be said to *resolve* a value.  If this value is also a\n            promise, then the original promise's settled state will match the value's\n            settled state.  So a promise that *resolves* a promise that rejects will\n            itself reject, and a promise that *resolves* a promise that fulfills will\n            itself fulfill.\n\n\n            Basic Usage:\n            ------------\n\n            ```js\n            let promise = new Promise(function(resolve, reject) {\n              // on success\n              resolve(value);\n\n              // on failure\n              reject(reason);\n            });\n\n            promise.then(function(value) {\n              // on fulfillment\n            }, function(reason) {\n              // on rejection\n            });\n            ```\n\n            Advanced Usage:\n            ---------------\n\n            Promises shine when abstracting away asynchronous interactions such as\n            `XMLHttpRequest`s.\n\n            ```js\n            function getJSON(url) {\n              return new Promise(function(resolve, reject){\n                let xhr = new XMLHttpRequest();\n\n                xhr.open('GET', url);\n                xhr.onreadystatechange = handler;\n                xhr.responseType = 'json';\n                xhr.setRequestHeader('Accept', 'application/json');\n                xhr.send();\n\n                function handler() {\n                  if (this.readyState === this.DONE) {\n                    if (this.status === 200) {\n                      resolve(this.response);\n                    } else {\n                      reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n                    }\n                  }\n                };\n              });\n            }\n\n            getJSON('/posts.json').then(function(json) {\n              // on fulfillment\n            }, function(reason) {\n              // on rejection\n            });\n            ```\n\n            Unlike callbacks, promises are great composable primitives.\n\n            ```js\n            Promise.all([\n              getJSON('/posts'),\n              getJSON('/comments')\n            ]).then(function(values){\n              values[0] // => postsJSON\n              values[1] // => commentsJSON\n\n              return values;\n            });\n            ```\n\n            @class Promise\n            @public\n            @param {function} resolver\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @constructor\n          */let Promise$1=class Promise{constructor(resolver,label){this._id=counter++;this._label=label;this._state=undefined;this._result=undefined;this._subscribers=[];config.instrument&&instrument$1('created',this);if(noop!==resolver){typeof resolver!=='function'&&needsResolver();this instanceof Promise?initializePromise(this,resolver):needsNew();}}_onError(reason){config.after(()=>{if(this._onError){config.trigger('error',reason,this._label);}});}/**\n              `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n              as the catch block of a try/catch statement.\n            \n              ```js\n              function findAuthor(){\n                throw new Error('couldn\\'t find that author');\n              }\n            \n              // synchronous\n              try {\n                findAuthor();\n              } catch(reason) {\n                // something went wrong\n              }\n            \n              // async with promises\n              findAuthor().catch(function(reason){\n                // something went wrong\n              });\n              ```\n            \n              @method catch\n              @param {Function} onRejection\n              @param {String} [label] optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n            */catch(onRejection,label){return this.then(undefined,onRejection,label);}/**\n              `finally` will be invoked regardless of the promise's fate just as native\n              try/catch/finally behaves\n            \n              Synchronous example:\n            \n              ```js\n              findAuthor() {\n                if (Math.random() > 0.5) {\n                  throw new Error();\n                }\n                return new Author();\n              }\n            \n              try {\n                return findAuthor(); // succeed or fail\n              } catch(error) {\n                return findOtherAuthor();\n              } finally {\n                // always runs\n                // doesn't affect the return value\n              }\n              ```\n            \n              Asynchronous example:\n            \n              ```js\n              findAuthor().catch(function(reason){\n                return findOtherAuthor();\n              }).finally(function(){\n                // author was either found, or not\n              });\n              ```\n            \n              @method finally\n              @param {Function} callback\n              @param {String} [label] optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n            */finally(callback,label){let promise=this;let constructor=promise.constructor;if(typeof callback==='function'){return promise.then(value=>constructor.resolve(callback()).then(()=>value),reason=>constructor.resolve(callback()).then(()=>{throw reason;}));}return promise.then(callback,callback);}};Promise$1.cast=resolve$4;// deprecated\nPromise$1.all=all$1;Promise$1.race=race$1;Promise$1.resolve=resolve$4;Promise$1.reject=reject$1;Promise$1.prototype._guidKey=guidKey;/**\n            The primary way of interacting with a promise is through its `then` method,\n            which registers callbacks to receive either a promise's eventual value or the\n            reason why the promise cannot be fulfilled.\n\n            ```js\n            findUser().then(function(user){\n              // user is available\n            }, function(reason){\n              // user is unavailable, and you are given the reason why\n            });\n            ```\n\n            Chaining\n            --------\n\n            The return value of `then` is itself a promise.  This second, 'downstream'\n            promise is resolved with the return value of the first promise's fulfillment\n            or rejection handler, or rejected if the handler throws an exception.\n\n            ```js\n            findUser().then(function (user) {\n              return user.name;\n            }, function (reason) {\n              return 'default name';\n            }).then(function (userName) {\n              // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n              // will be `'default name'`\n            });\n\n            findUser().then(function (user) {\n              throw new Error('Found user, but still unhappy');\n            }, function (reason) {\n              throw new Error('`findUser` rejected and we\\'re unhappy');\n            }).then(function (value) {\n              // never reached\n            }, function (reason) {\n              // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n              // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n            });\n            ```\n            If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n\n            ```js\n            findUser().then(function (user) {\n              throw new PedagogicalException('Upstream error');\n            }).then(function (value) {\n              // never reached\n            }).then(function (value) {\n              // never reached\n            }, function (reason) {\n              // The `PedgagocialException` is propagated all the way down to here\n            });\n            ```\n\n            Assimilation\n            ------------\n\n            Sometimes the value you want to propagate to a downstream promise can only be\n            retrieved asynchronously. This can be achieved by returning a promise in the\n            fulfillment or rejection handler. The downstream promise will then be pending\n            until the returned promise is settled. This is called *assimilation*.\n\n            ```js\n            findUser().then(function (user) {\n              return findCommentsByAuthor(user);\n            }).then(function (comments) {\n              // The user's comments are now available\n            });\n            ```\n\n            If the assimliated promise rejects, then the downstream promise will also reject.\n\n            ```js\n            findUser().then(function (user) {\n              return findCommentsByAuthor(user);\n            }).then(function (comments) {\n              // If `findCommentsByAuthor` fulfills, we'll have the value here\n            }, function (reason) {\n              // If `findCommentsByAuthor` rejects, we'll have the reason here\n            });\n            ```\n\n            Simple Example\n            --------------\n\n            Synchronous Example\n\n            ```javascript\n            let result;\n\n            try {\n              result = findResult();\n              // success\n            } catch(reason) {\n              // failure\n            }\n            ```\n\n            Errback Example\n\n            ```js\n            findResult(function(result, err){\n              if (err) {\n                // failure\n              } else {\n                // success\n              }\n            });\n            ```\n\n            Promise Example;\n\n            ```javascript\n            findResult().then(function(result){\n              // success\n            }, function(reason){\n              // failure\n            });\n            ```\n\n            Advanced Example\n            --------------\n\n            Synchronous Example\n\n            ```javascript\n            let author, books;\n\n            try {\n              author = findAuthor();\n              books  = findBooksByAuthor(author);\n              // success\n            } catch(reason) {\n              // failure\n            }\n            ```\n\n            Errback Example\n\n            ```js\n\n            function foundBooks(books) {\n\n            }\n\n            function failure(reason) {\n\n            }\n\n            findAuthor(function(author, err){\n              if (err) {\n                failure(err);\n                // failure\n              } else {\n                try {\n                  findBoooksByAuthor(author, function(books, err) {\n                    if (err) {\n                      failure(err);\n                    } else {\n                      try {\n                        foundBooks(books);\n                      } catch(reason) {\n                        failure(reason);\n                      }\n                    }\n                  });\n                } catch(error) {\n                  failure(err);\n                }\n                // success\n              }\n            });\n            ```\n\n            Promise Example;\n\n            ```javascript\n            findAuthor().\n              then(findBooksByAuthor).\n              then(function(books){\n                // found books\n            }).catch(function(reason){\n              // something went wrong\n            });\n            ```\n\n            @method then\n            @param {Function} onFulfillment\n            @param {Function} onRejection\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Promise}\n          */Promise$1.prototype.then=then;function makeObject(_,argumentNames){let obj={};let length=_.length;let args=new Array(length);for(let x=0;x<length;x++){args[x]=_[x];}for(let i=0;i<argumentNames.length;i++){let name=argumentNames[i];obj[name]=args[i+1];}return obj;}function arrayResult(_){let length=_.length;let args=new Array(length-1);for(let i=1;i<length;i++){args[i-1]=_[i];}return args;}function wrapThenable(then,promise){return{then(onFulFillment,onRejection){return then.call(promise,onFulFillment,onRejection);}};}/**\n            `denodeify` takes a 'node-style' function and returns a function that\n            will return an `Promise`. You can use `denodeify` in Node.js or the\n            browser when you'd prefer to use promises over using callbacks. For example,\n            `denodeify` transforms the following:\n\n            ```javascript\n            let fs = require('fs');\n\n            fs.readFile('myfile.txt', function(err, data){\n              if (err) return handleError(err);\n              handleData(data);\n            });\n            ```\n\n            into:\n\n            ```javascript\n            let fs = require('fs');\n            let readFile = denodeify(fs.readFile);\n\n            readFile('myfile.txt').then(handleData, handleError);\n            ```\n\n            If the node function has multiple success parameters, then `denodeify`\n            just returns the first one:\n\n            ```javascript\n            let request = denodeify(require('request'));\n\n            request('http://example.com').then(function(res) {\n              // ...\n            });\n            ```\n\n            However, if you need all success parameters, setting `denodeify`'s\n            second parameter to `true` causes it to return all success parameters\n            as an array:\n\n            ```javascript\n            let request = denodeify(require('request'), true);\n\n            request('http://example.com').then(function(result) {\n              // result[0] -> res\n              // result[1] -> body\n            });\n            ```\n\n            Or if you pass it an array with names it returns the parameters as a hash:\n\n            ```javascript\n            let request = denodeify(require('request'), ['res', 'body']);\n\n            request('http://example.com').then(function(result) {\n              // result.res\n              // result.body\n            });\n            ```\n\n            Sometimes you need to retain the `this`:\n\n            ```javascript\n            let app = require('express')();\n            let render = denodeify(app.render.bind(app));\n            ```\n\n            The denodified function inherits from the original function. It works in all\n            environments, except IE 10 and below. Consequently all properties of the original\n            function are available to you. However, any properties you change on the\n            denodeified function won't be changed on the original function. Example:\n\n            ```javascript\n            let request = denodeify(require('request')),\n                cookieJar = request.jar(); // <- Inheritance is used here\n\n            request('http://example.com', {jar: cookieJar}).then(function(res) {\n              // cookieJar.cookies holds now the cookies returned by example.com\n            });\n            ```\n\n            Using `denodeify` makes it easier to compose asynchronous operations instead\n            of using callbacks. For example, instead of:\n\n            ```javascript\n            let fs = require('fs');\n\n            fs.readFile('myfile.txt', function(err, data){\n              if (err) { ... } // Handle error\n              fs.writeFile('myfile2.txt', data, function(err){\n                if (err) { ... } // Handle error\n                console.log('done')\n              });\n            });\n            ```\n\n            you can chain the operations together using `then` from the returned promise:\n\n            ```javascript\n            let fs = require('fs');\n            let readFile = denodeify(fs.readFile);\n            let writeFile = denodeify(fs.writeFile);\n\n            readFile('myfile.txt').then(function(data){\n              return writeFile('myfile2.txt', data);\n            }).then(function(){\n              console.log('done')\n            }).catch(function(error){\n              // Handle error\n            });\n            ```\n\n            @method denodeify\n            @public\n            @static\n            @for rsvp\n            @param {Function} nodeFunc a 'node-style' function that takes a callback as\n            its last argument. The callback expects an error to be passed as its first\n            argument (if an error occurred, otherwise null), and the value from the\n            operation as its second argument ('function(err, value){ }').\n            @param {Boolean|Array} [options] An optional paramter that if set\n            to `true` causes the promise to fulfill with the callback's success arguments\n            as an array. This is useful if the node function has multiple success\n            paramters. If you set this paramter to an array with names, the promise will\n            fulfill with a hash with these names as keys and the success parameters as\n            values.\n            @return {Function} a function that wraps `nodeFunc` to return a `Promise`\n          */function denodeify(nodeFunc,options){let fn=function(){let l=arguments.length;let args=new Array(l+1);let promiseInput=false;for(let i=0;i<l;++i){let arg=arguments[i];// TODO: this code really needs to be cleaned up\nif(!promiseInput){if(arg!==null&&typeof arg==='object'){if(arg.constructor===Promise$1){promiseInput=true;}else{try{promiseInput=arg.then;}catch(error){let p=new Promise$1(noop);reject$2(p,error);return p;}}}else{promiseInput=false;}if(promiseInput&&promiseInput!==true){arg=wrapThenable(promiseInput,arg);}}args[i]=arg;}let promise=new Promise$1(noop);args[l]=function(err,val){if(err){reject$2(promise,err);}else if(options===undefined){resolve$3(promise,val);}else if(options===true){resolve$3(promise,arrayResult(arguments));}else if(Array.isArray(options)){resolve$3(promise,makeObject(arguments,options));}else{resolve$3(promise,val);}};if(promiseInput){return handlePromiseInput(promise,args,nodeFunc,this);}else{return handleValueInput(promise,args,nodeFunc,this);}};fn.__proto__=nodeFunc;return fn;}function handleValueInput(promise,args,nodeFunc,self){try{nodeFunc.apply(self,args);}catch(error){reject$2(promise,error);}return promise;}function handlePromiseInput(promise,args,nodeFunc,self){return Promise$1.all(args).then(args=>handleValueInput(promise,args,nodeFunc,self));}/**\n            This is a convenient alias for `Promise.all`.\n\n            @method all\n            @public\n            @static\n            @for rsvp\n            @param {Array} array Array of promises.\n            @param {String} [label] An optional label. This is useful\n            for tooling.\n          */function all(array,label){return Promise$1.all(array,label);}/**\n          @module rsvp\n          @public\n          **/class AllSettled extends Enumerator{constructor(Constructor,entries,label){super(Constructor,entries,false/* don't abort on reject */,label);}}AllSettled.prototype._setResultAt=setSettledResult;/**\n          `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n          a fail-fast method, it waits until all the promises have returned and\n          shows you all the results. This is useful if you want to handle multiple\n          promises' failure states together as a set.\n           Returns a promise that is fulfilled when all the given promises have been\n          settled. The return promise is fulfilled with an array of the states of\n          the promises passed into the `promises` array argument.\n           Each state object will either indicate fulfillment or rejection, and\n          provide the corresponding value or reason. The states will take one of\n          the following formats:\n           ```javascript\n          { state: 'fulfilled', value: value }\n            or\n          { state: 'rejected', reason: reason }\n          ```\n           Example:\n           ```javascript\n          let promise1 = RSVP.Promise.resolve(1);\n          let promise2 = RSVP.Promise.reject(new Error('2'));\n          let promise3 = RSVP.Promise.reject(new Error('3'));\n          let promises = [ promise1, promise2, promise3 ];\n           RSVP.allSettled(promises).then(function(array){\n            // array == [\n            //   { state: 'fulfilled', value: 1 },\n            //   { state: 'rejected', reason: Error },\n            //   { state: 'rejected', reason: Error }\n            // ]\n            // Note that for the second item, reason.message will be '2', and for the\n            // third item, reason.message will be '3'.\n          }, function(error) {\n            // Not run. (This block would only be called if allSettled had failed,\n            // for instance if passed an incorrect argument type.)\n          });\n          ```\n           @method allSettled\n          @public\n          @static\n          @for rsvp\n          @param {Array} entries\n          @param {String} [label] - optional string that describes the promise.\n          Useful for tooling.\n          @return {Promise} promise that is fulfilled with an array of the settled\n          states of the constituent promises.\n          */function allSettled(entries,label){if(!Array.isArray(entries)){return Promise$1.reject(new TypeError(\"Promise.allSettled must be called with an array\"),label);}return new AllSettled(Promise$1,entries,label).promise;}/**\n            This is a convenient alias for `Promise.race`.\n\n            @method race\n            @public\n            @static\n            @for rsvp\n            @param {Array} array Array of promises.\n            @param {String} [label] An optional label. This is useful\n            for tooling.\n           */function race(array,label){return Promise$1.race(array,label);}class PromiseHash extends Enumerator{constructor(Constructor,object,abortOnReject=true,label){super(Constructor,object,abortOnReject,label);}_init(Constructor,object){this._result={};this._enumerate(object);}_enumerate(input){let keys=Object.keys(input);let length=keys.length;let promise=this.promise;this._remaining=length;let key,val;for(let i=0;promise._state===PENDING&&i<length;i++){key=keys[i];val=input[key];this._eachEntry(val,key,true);}this._checkFullfillment();}}/**\n            `hash` is similar to `all`, but takes an object instead of an array\n            for its `promises` argument.\n\n            Returns a promise that is fulfilled when all the given promises have been\n            fulfilled, or rejected if any of them become rejected. The returned promise\n            is fulfilled with a hash that has the same key names as the `promises` object\n            argument. If any of the values in the object are not promises, they will\n            simply be copied over to the fulfilled object.\n\n            Example:\n\n            ```javascript\n            let promises = {\n              myPromise: resolve(1),\n              yourPromise: resolve(2),\n              theirPromise: resolve(3),\n              notAPromise: 4\n            };\n\n            hash(promises).then(function(hash){\n              // hash here is an object that looks like:\n              // {\n              //   myPromise: 1,\n              //   yourPromise: 2,\n              //   theirPromise: 3,\n              //   notAPromise: 4\n              // }\n            });\n            ```\n\n            If any of the `promises` given to `hash` are rejected, the first promise\n            that is rejected will be given as the reason to the rejection handler.\n\n            Example:\n\n            ```javascript\n            let promises = {\n              myPromise: resolve(1),\n              rejectedPromise: reject(new Error('rejectedPromise')),\n              anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n            };\n\n            hash(promises).then(function(hash){\n              // Code here never runs because there are rejected promises!\n            }, function(reason) {\n              // reason.message === 'rejectedPromise'\n            });\n            ```\n\n            An important note: `hash` is intended for plain JavaScript objects that\n            are just a set of keys and values. `hash` will NOT preserve prototype\n            chains.\n\n            Example:\n\n            ```javascript\n            import { hash, resolve } from 'rsvp';\n            function MyConstructor(){\n              this.example = resolve('Example');\n            }\n\n            MyConstructor.prototype = {\n              protoProperty: resolve('Proto Property')\n            };\n\n            let myObject = new MyConstructor();\n\n            hash(myObject).then(function(hash){\n              // protoProperty will not be present, instead you will just have an\n              // object that looks like:\n              // {\n              //   example: 'Example'\n              // }\n              //\n              // hash.hasOwnProperty('protoProperty'); // false\n              // 'undefined' === typeof hash.protoProperty\n            });\n            ```\n\n            @method hash\n            @public\n            @static\n            @for rsvp\n            @param {Object} object\n            @param {String} [label] optional string that describes the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled when all properties of `promises`\n            have been fulfilled, or rejected if any of them become rejected.\n          */function hash$2(object,label){return Promise$1.resolve(object,label).then(function(object){if(object===null||typeof object!=='object'){throw new TypeError(\"Promise.hash must be called with an object\");}return new PromiseHash(Promise$1,object,label).promise;});}class HashSettled extends PromiseHash{constructor(Constructor,object,label){super(Constructor,object,false,label);}}HashSettled.prototype._setResultAt=setSettledResult;/**\n            `hashSettled` is similar to `allSettled`, but takes an object\n            instead of an array for its `promises` argument.\n\n            Unlike `all` or `hash`, which implement a fail-fast method,\n            but like `allSettled`, `hashSettled` waits until all the\n            constituent promises have returned and then shows you all the results\n            with their states and values/reasons. This is useful if you want to\n            handle multiple promises' failure states together as a set.\n\n            Returns a promise that is fulfilled when all the given promises have been\n            settled, or rejected if the passed parameters are invalid.\n\n            The returned promise is fulfilled with a hash that has the same key names as\n            the `promises` object argument. If any of the values in the object are not\n            promises, they will be copied over to the fulfilled object and marked with state\n            'fulfilled'.\n\n            Example:\n\n            ```javascript\n            import { hashSettled, resolve } from 'rsvp';\n\n            let promises = {\n              myPromise: resolve(1),\n              yourPromise: resolve(2),\n              theirPromise: resolve(3),\n              notAPromise: 4\n            };\n\n            hashSettled(promises).then(function(hash){\n              // hash here is an object that looks like:\n              // {\n              //   myPromise: { state: 'fulfilled', value: 1 },\n              //   yourPromise: { state: 'fulfilled', value: 2 },\n              //   theirPromise: { state: 'fulfilled', value: 3 },\n              //   notAPromise: { state: 'fulfilled', value: 4 }\n              // }\n            });\n            ```\n\n            If any of the `promises` given to `hash` are rejected, the state will\n            be set to 'rejected' and the reason for rejection provided.\n\n            Example:\n\n            ```javascript\n            import { hashSettled, reject, resolve } from 'rsvp';\n\n            let promises = {\n              myPromise: resolve(1),\n              rejectedPromise: reject(new Error('rejection')),\n              anotherRejectedPromise: reject(new Error('more rejection')),\n            };\n\n            hashSettled(promises).then(function(hash){\n              // hash here is an object that looks like:\n              // {\n              //   myPromise:              { state: 'fulfilled', value: 1 },\n              //   rejectedPromise:        { state: 'rejected', reason: Error },\n              //   anotherRejectedPromise: { state: 'rejected', reason: Error },\n              // }\n              // Note that for rejectedPromise, reason.message == 'rejection',\n              // and for anotherRejectedPromise, reason.message == 'more rejection'.\n            });\n            ```\n\n            An important note: `hashSettled` is intended for plain JavaScript objects that\n            are just a set of keys and values. `hashSettled` will NOT preserve prototype\n            chains.\n\n            Example:\n\n            ```javascript\n            import Promise, { hashSettled, resolve } from 'rsvp';\n\n            function MyConstructor(){\n              this.example = resolve('Example');\n            }\n\n            MyConstructor.prototype = {\n              protoProperty: Promise.resolve('Proto Property')\n            };\n\n            let myObject = new MyConstructor();\n\n            hashSettled(myObject).then(function(hash){\n              // protoProperty will not be present, instead you will just have an\n              // object that looks like:\n              // {\n              //   example: { state: 'fulfilled', value: 'Example' }\n              // }\n              //\n              // hash.hasOwnProperty('protoProperty'); // false\n              // 'undefined' === typeof hash.protoProperty\n            });\n            ```\n\n            @method hashSettled\n            @public\n            @for rsvp\n            @param {Object} object\n            @param {String} [label] optional string that describes the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled when when all properties of `promises`\n            have been settled.\n            @static\n          */function hashSettled(object,label){return Promise$1.resolve(object,label).then(function(object){if(object===null||typeof object!=='object'){throw new TypeError(\"hashSettled must be called with an object\");}return new HashSettled(Promise$1,object,false,label).promise;});}/**\n            `rethrow` will rethrow an error on the next turn of the JavaScript event\n            loop in order to aid debugging.\n\n            Promises A+ specifies that any exceptions that occur with a promise must be\n            caught by the promises implementation and bubbled to the last handler. For\n            this reason, it is recommended that you always specify a second rejection\n            handler function to `then`. However, `rethrow` will throw the exception\n            outside of the promise, so it bubbles up to your console if in the browser,\n            or domain/cause uncaught exception in Node. `rethrow` will also throw the\n            error again so the error can be handled by the promise per the spec.\n\n            ```javascript\n            import { rethrow } from 'rsvp';\n\n            function throws(){\n              throw new Error('Whoops!');\n            }\n\n            let promise = new Promise(function(resolve, reject){\n              throws();\n            });\n\n            promise.catch(rethrow).then(function(){\n              // Code here doesn't run because the promise became rejected due to an\n              // error!\n            }, function (err){\n              // handle the error here\n            });\n            ```\n\n            The 'Whoops' error will be thrown on the next turn of the event loop\n            and you can watch for it in your console. You can also handle it using a\n            rejection handler given to `.then` or `.catch` on the returned promise.\n\n            @method rethrow\n            @public\n            @static\n            @for rsvp\n            @param {Error} reason reason the promise became rejected.\n            @throws Error\n            @static\n          */function rethrow(reason){setTimeout(()=>{throw reason;});throw reason;}/**\n            `defer` returns an object similar to jQuery's `$.Deferred`.\n            `defer` should be used when porting over code reliant on `$.Deferred`'s\n            interface. New code should use the `Promise` constructor instead.\n\n            The object returned from `defer` is a plain object with three properties:\n\n            * promise - an `Promise`.\n            * reject - a function that causes the `promise` property on this object to\n              become rejected\n            * resolve - a function that causes the `promise` property on this object to\n              become fulfilled.\n\n            Example:\n\n             ```javascript\n             let deferred = defer();\n\n             deferred.resolve(\"Success!\");\n\n             deferred.promise.then(function(value){\n               // value here is \"Success!\"\n             });\n             ```\n\n            @method defer\n            @public\n            @static\n            @for rsvp\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Object}\n           */function defer(label){let deferred={resolve:undefined,reject:undefined};deferred.promise=new Promise$1((resolve,reject)=>{deferred.resolve=resolve;deferred.reject=reject;},label);return deferred;}class MapEnumerator extends Enumerator{constructor(Constructor,entries,mapFn,label){super(Constructor,entries,true,label,mapFn);}_init(Constructor,input,bool,label,mapFn){let len=input.length||0;this.length=len;this._remaining=len;this._result=new Array(len);this._mapFn=mapFn;this._enumerate(input);}_setResultAt(state,i,value,firstPass){if(firstPass){try{this._eachEntry(this._mapFn(value,i),i,false);}catch(error){this._settledAt(REJECTED,i,error,false);}}else{this._remaining--;this._result[i]=value;}}}/**\n           `map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n            meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n            `map` returns a promise that will become fulfilled with the result of running\n            `mapFn` on the values the promises become fulfilled with.\n\n            For example:\n\n            ```javascript\n            import { map, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = resolve(2);\n            let promise3 = resolve(3);\n            let promises = [ promise1, promise2, promise3 ];\n\n            let mapFn = function(item){\n              return item + 1;\n            };\n\n            map(promises, mapFn).then(function(result){\n              // result is [ 2, 3, 4 ]\n            });\n            ```\n\n            If any of the `promises` given to `map` are rejected, the first promise\n            that is rejected will be given as an argument to the returned promise's\n            rejection handler. For example:\n\n            ```javascript\n            import { map, reject, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = reject(new Error('2'));\n            let promise3 = reject(new Error('3'));\n            let promises = [ promise1, promise2, promise3 ];\n\n            let mapFn = function(item){\n              return item + 1;\n            };\n\n            map(promises, mapFn).then(function(array){\n              // Code here never runs because there are rejected promises!\n            }, function(reason) {\n              // reason.message === '2'\n            });\n            ```\n\n            `map` will also wait if a promise is returned from `mapFn`. For example,\n            say you want to get all comments from a set of blog posts, but you need\n            the blog posts first because they contain a url to those comments.\n\n            ```javscript\n            import { map } from 'rsvp';\n\n            let mapFn = function(blogPost){\n              // getComments does some ajax and returns an Promise that is fulfilled\n              // with some comments data\n              return getComments(blogPost.comments_url);\n            };\n\n            // getBlogPosts does some ajax and returns an Promise that is fulfilled\n            // with some blog post data\n            map(getBlogPosts(), mapFn).then(function(comments){\n              // comments is the result of asking the server for the comments\n              // of all blog posts returned from getBlogPosts()\n            });\n            ```\n\n            @method map\n            @public\n            @static\n            @for rsvp\n            @param {Array} promises\n            @param {Function} mapFn function to be called on each fulfilled promise.\n            @param {String} [label] optional string for labeling the promise.\n            Useful for tooling.\n            @return {Promise} promise that is fulfilled with the result of calling\n            `mapFn` on each fulfilled promise or value when they become fulfilled.\n             The promise will be rejected if any of the given `promises` become rejected.\n          */function map$2(promises,mapFn,label){if(typeof mapFn!=='function'){return Promise$1.reject(new TypeError(\"map expects a function as a second argument\"),label);}return Promise$1.resolve(promises,label).then(function(promises){if(!Array.isArray(promises)){throw new TypeError(\"map must be called with an array\");}return new MapEnumerator(Promise$1,promises,mapFn,label).promise;});}/**\n            This is a convenient alias for `Promise.resolve`.\n\n            @method resolve\n            @public\n            @static\n            @for rsvp\n            @param {*} value value that the returned promise will be resolved with\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise that will become fulfilled with the given\n            `value`\n          */function resolve$2(value,label){return Promise$1.resolve(value,label);}/**\n            This is a convenient alias for `Promise.reject`.\n\n            @method reject\n            @public\n            @static\n            @for rsvp\n            @param {*} reason value that the returned promise will be rejected with.\n            @param {String} [label] optional string for identifying the returned promise.\n            Useful for tooling.\n            @return {Promise} a promise rejected with the given `reason`.\n          */function reject(reason,label){return Promise$1.reject(reason,label);}const EMPTY_OBJECT={};class FilterEnumerator extends MapEnumerator{_checkFullfillment(){if(this._remaining===0&&this._result!==null){let result=this._result.filter(val=>val!==EMPTY_OBJECT);fulfill(this.promise,result);this._result=null;}}_setResultAt(state,i,value,firstPass){if(firstPass){this._result[i]=value;let val,succeeded=true;try{val=this._mapFn(value,i);}catch(error){succeeded=false;this._settledAt(REJECTED,i,error,false);}if(succeeded){this._eachEntry(val,i,false);}}else{this._remaining--;if(!value){this._result[i]=EMPTY_OBJECT;}}}}/**\n           `filter` is similar to JavaScript's native `filter` method.\n           `filterFn` is eagerly called meaning that as soon as any promise\n            resolves its value will be passed to `filterFn`. `filter` returns\n            a promise that will become fulfilled with the result of running\n            `filterFn` on the values the promises become fulfilled with.\n\n            For example:\n\n            ```javascript\n            import { filter, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = resolve(2);\n            let promise3 = resolve(3);\n\n            let promises = [promise1, promise2, promise3];\n\n            let filterFn = function(item){\n              return item > 1;\n            };\n\n            filter(promises, filterFn).then(function(result){\n              // result is [ 2, 3 ]\n            });\n            ```\n\n            If any of the `promises` given to `filter` are rejected, the first promise\n            that is rejected will be given as an argument to the returned promise's\n            rejection handler. For example:\n\n            ```javascript\n            import { filter, reject, resolve } from 'rsvp';\n\n            let promise1 = resolve(1);\n            let promise2 = reject(new Error('2'));\n            let promise3 = reject(new Error('3'));\n            let promises = [ promise1, promise2, promise3 ];\n\n            let filterFn = function(item){\n              return item > 1;\n            };\n\n            filter(promises, filterFn).then(function(array){\n              // Code here never runs because there are rejected promises!\n            }, function(reason) {\n              // reason.message === '2'\n            });\n            ```\n\n            `filter` will also wait for any promises returned from `filterFn`.\n            For instance, you may want to fetch a list of users then return a subset\n            of those users based on some asynchronous operation:\n\n            ```javascript\n            import { filter, resolve } from 'rsvp';\n\n            let alice = { name: 'alice' };\n            let bob   = { name: 'bob' };\n            let users = [ alice, bob ];\n\n            let promises = users.map(function(user){\n              return resolve(user);\n            });\n\n            let filterFn = function(user){\n              // Here, Alice has permissions to create a blog post, but Bob does not.\n              return getPrivilegesForUser(user).then(function(privs){\n                return privs.can_create_blog_post === true;\n              });\n            };\n            filter(promises, filterFn).then(function(users){\n              // true, because the server told us only Alice can create a blog post.\n              users.length === 1;\n              // false, because Alice is the only user present in `users`\n              users[0] === bob;\n            });\n            ```\n\n            @method filter\n            @public\n            @static\n            @for rsvp\n            @param {Array} promises\n            @param {Function} filterFn - function to be called on each resolved value to\n            filter the final results.\n            @param {String} [label] optional string describing the promise. Useful for\n            tooling.\n            @return {Promise}\n          */function filter$1(promises,filterFn,label){if(typeof filterFn!=='function'){return Promise$1.reject(new TypeError(\"filter expects function as a second argument\"),label);}return Promise$1.resolve(promises,label).then(function(promises){if(!Array.isArray(promises)){throw new TypeError(\"filter must be called with an array\");}return new FilterEnumerator(Promise$1,promises,filterFn,label).promise;});}let len=0;let vertxNext;function asap(callback,arg){queue[len]=callback;queue[len+1]=arg;len+=2;if(len===2){// If len is 1, that means that we need to schedule an async flush.\n// If additional callbacks are queued before the queue is flushed, they\n// will be processed by this flush that we are scheduling.\nscheduleFlush();}}const browserWindow=typeof window!=='undefined'?window:undefined;const browserGlobal=browserWindow||{};const BrowserMutationObserver=browserGlobal.MutationObserver||browserGlobal.WebKitMutationObserver;const isNode=typeof self==='undefined'&&typeof process!=='undefined'&&{}.toString.call(process)==='[object process]';// test for web worker but not in IE10\nconst isWorker=typeof Uint8ClampedArray!=='undefined'&&typeof importScripts!=='undefined'&&typeof MessageChannel!=='undefined';// node\nfunction useNextTick(){let nextTick=process.nextTick;// node version 0.10.x displays a deprecation warning when nextTick is used recursively\n// setImmediate should be used instead instead\nlet version=process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);if(Array.isArray(version)&&version[1]==='0'&&version[2]==='10'){nextTick=setImmediate;}return()=>nextTick(flush);}// vertx\nfunction useVertxTimer(){if(typeof vertxNext!=='undefined'){return function(){vertxNext(flush);};}return useSetTimeout();}function useMutationObserver(){let iterations=0;let observer=new BrowserMutationObserver(flush);let node=document.createTextNode('');observer.observe(node,{characterData:true});return()=>node.data=iterations=++iterations%2;}// web worker\nfunction useMessageChannel(){let channel=new MessageChannel();channel.port1.onmessage=flush;return()=>channel.port2.postMessage(0);}function useSetTimeout(){return()=>setTimeout(flush,1);}const queue=new Array(1000);function flush(){for(let i=0;i<len;i+=2){let callback=queue[i];let arg=queue[i+1];callback(arg);queue[i]=undefined;queue[i+1]=undefined;}len=0;}function attemptVertex(){try{const vertx=Function('return this')().require('vertx');vertxNext=vertx.runOnLoop||vertx.runOnContext;return useVertxTimer();}catch(e){return useSetTimeout();}}let scheduleFlush;// Decide what async method to use to triggering processing of queued callbacks:\nif(isNode){scheduleFlush=useNextTick();}else if(BrowserMutationObserver){scheduleFlush=useMutationObserver();}else if(isWorker){scheduleFlush=useMessageChannel();}else if(browserWindow===undefined&&typeof require==='function'){scheduleFlush=attemptVertex();}else{scheduleFlush=useSetTimeout();}// defaults\nconfig.async=asap;config.after=cb=>setTimeout(cb,0);const cast=resolve$2;const async=(callback,arg)=>config.async(callback,arg);function on$2(){config.on(...arguments);}function off(){config.off(...arguments);}// Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\nif(typeof window!=='undefined'&&typeof window['__PROMISE_INSTRUMENTATION__']==='object'){let callbacks=window['__PROMISE_INSTRUMENTATION__'];configure('instrument',true);for(let eventName in callbacks){if(callbacks.hasOwnProperty(eventName)){on$2(eventName,callbacks[eventName]);}}}// the default export here is for backwards compat:\n//   https://github.com/tildeio/rsvp.js/issues/434\nconst RSVP={asap,cast,Promise:Promise$1,EventTarget,all,allSettled,race,hash:hash$2,hashSettled,rethrow,defer,denodeify,configure,on:on$2,off,resolve:resolve$2,reject,map:map$2,async,filter:filter$1};const rsvp=/*#__PURE__*/Object.defineProperty({__proto__:null,EventTarget,Promise:Promise$1,all,allSettled,asap,async,cast,configure,default:RSVP,defer,denodeify,filter:filter$1,hash:hash$2,hashSettled,map:map$2,off,on:on$2,race,reject,resolve:resolve$2,rethrow},Symbol.toStringTag,{value:'Module'});configure('async',(callback,promise)=>{_backburner.schedule('actions',null,callback,promise);});configure('after',cb=>{_backburner.schedule(_rsvpErrorQueue,null,cb);});on$2('error',onerrorDefault);function onerrorDefault(reason){let error=errorFor(reason);if(error){let overrideDispatch=getDispatchOverride();if(overrideDispatch){overrideDispatch(error);}else{throw error;}}}function errorFor(reason){if(!reason)return;let withErrorThrown=reason;if(withErrorThrown.errorThrown){return unwrapErrorThrown(withErrorThrown);}let withName=reason;if(withName.name==='UnrecognizedURLError'){assert$1(`The URL '${withName.message}' did not match any routes in your application`,false);// @ts-expect-error We'll hit this if the assert is stripped\nreturn;}if(reason.name==='TransitionAborted'){return;}return reason;}function unwrapErrorThrown(reason){let error=reason.errorThrown;if(typeof error==='string'){error=new Error(error);}Object.defineProperty(error,'__reason_with_error_thrown__',{value:reason,enumerable:false});return error;}const emberinternalsRuntimeLibExtRsvp=/*#__PURE__*/Object.defineProperty({__proto__:null,default:rsvp,onerrorDefault},Symbol.toStringTag,{value:'Module'});// just for side effect of extending Ember.RSVP\nconst emberinternalsRuntimeIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ActionHandler,Comparable,ContainerProxyMixin,MutableEnumerable,RSVP:rsvp,RegistryProxyMixin,TargetActionSupport,_ProxyMixin:ProxyMixin,_contentFor:contentFor,onerrorDefault},Symbol.toStringTag,{value:'Module'});const{isArray:isArray$3}=Array;/**\n           @module @ember/array\n          *//**\n           Forces the passed object to be part of an array. If the object is already\n           an array, it will return the object. Otherwise, it will add the object to\n           an array. If object is `null` or `undefined`, it will return an empty array.\n\n           ```javascript\n           import { makeArray } from '@ember/array';\n           import ArrayProxy from '@ember/array/proxy';\n\n           makeArray();            // []\n           makeArray(null);        // []\n           makeArray(undefined);   // []\n           makeArray('lindsay');   // ['lindsay']\n           makeArray([1, 2, 42]);  // [1, 2, 42]\n\n           let proxy = ArrayProxy.create({ content: [] });\n\n           makeArray(proxy) === proxy;  // false\n           ```\n\n           @method makeArray\n           @static\n           @for @ember/array\n           @param {Object} obj the object\n           @return {Array}\n           @private\n           */function makeArray(obj){if(obj===null||obj===undefined){return[];}return isArray$3(obj)?obj:[obj];}const emberArrayLibMakeArray=/*#__PURE__*/Object.defineProperty({__proto__:null,default:makeArray},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/object/core\n          */// TODO: Is this correct?\nfunction hasSetUnknownProperty(val){return typeof val==='object'&&val!==null&&typeof val.setUnknownProperty==='function';}function hasToStringExtension(val){return typeof val==='object'&&val!==null&&typeof val.toStringExtension==='function';}const reopen=Mixin.prototype.reopen;const wasApplied=new WeakSet();const prototypeMixinMap=new WeakMap();const initCalled=new WeakSet();// only used in debug builds to enable the proxy trap\nconst destroyCalled=new Set();function ensureDestroyCalled(instance){if(!destroyCalled.has(instance)){instance.destroy();}}function initialize(obj,properties){let m=meta(obj);if(properties!==undefined){!(typeof properties==='object'&&properties!==null)&&assert$1('EmberObject.create only accepts objects.',typeof properties==='object'&&properties!==null);!!(properties instanceof Mixin)&&assert$1('EmberObject.create no longer supports mixing in other '+'definitions, use .extend & .create separately instead.',!(properties instanceof Mixin));let concatenatedProperties=obj.concatenatedProperties;let mergedProperties=obj.mergedProperties;let keyNames=Object.keys(properties);for(let keyName of keyNames){// SAFETY: this cast as a Record is safe because all object types can be\n// indexed in JS, and we explicitly type it as returning `unknown`, so the\n// result *must* be checked below.\nlet value=properties[keyName];!!isClassicDecorator(value)&&assert$1('EmberObject.create no longer supports defining computed '+'properties. Define computed properties using extend() or reopen() '+'before calling create().',!isClassicDecorator(value));!!(typeof value==='function'&&value.toString().indexOf('._super')!==-1)&&assert$1('EmberObject.create no longer supports defining methods that call _super.',!(typeof value==='function'&&value.toString().indexOf('._super')!==-1));!!(keyName==='actions'&&ActionHandler.detect(obj))&&assert$1('`actions` must be provided at extend time, not at create time, '+'when Ember.ActionHandler is used (i.e. views, controllers & routes).',!(keyName==='actions'&&ActionHandler.detect(obj)));let possibleDesc=descriptorForProperty(obj,keyName,m);let isDescriptor=possibleDesc!==undefined;if(!isDescriptor){if(concatenatedProperties!==undefined&&concatenatedProperties.length>0&&concatenatedProperties.includes(keyName)){let baseValue=obj[keyName];if(baseValue){value=makeArray(baseValue).concat(value);}else{value=makeArray(value);}}if(mergedProperties!==undefined&&mergedProperties.length>0&&mergedProperties.includes(keyName)){let baseValue=obj[keyName];value=Object.assign({},baseValue,value);}}if(isDescriptor){possibleDesc.set(obj,keyName,value);}else if(hasSetUnknownProperty(obj)&&!(keyName in obj)){obj.setUnknownProperty(keyName,value);}else{{defineProperty(obj,keyName,null,value,m);// setup mandatory setter\n}}}}// using DEBUG here to avoid the extraneous variable when not needed\n{initCalled.add(obj);}obj.init(properties);m.unsetInitializing();let observerEvents=m.observerEvents();if(observerEvents!==undefined){for(let i=0;i<observerEvents.length;i++){activateObserver(obj,observerEvents[i].event,observerEvents[i].sync);}}sendEvent(obj,'init',undefined,undefined,m);}/**\n            `CoreObject` is the base class for all Ember constructs. It establishes a\n            class system based on Ember's Mixin system, and provides the basis for the\n            Ember Object Model. `CoreObject` should generally not be used directly,\n            instead you should use `EmberObject`.\n\n            ## Usage\n\n            You can define a class by extending from `CoreObject` using the `extend`\n            method:\n\n            ```js\n            const Person = CoreObject.extend({\n              name: 'Tomster',\n            });\n            ```\n\n            For detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\n            section of the guides.\n\n            ## Usage with Native Classes\n\n            Native JavaScript `class` syntax can be used to extend from any `CoreObject`\n            based class:\n\n            ```js\n            class Person extends CoreObject {\n              init() {\n                super.init(...arguments);\n                this.name = 'Tomster';\n              }\n            }\n            ```\n\n            Some notes about `class` usage:\n\n            * `new` syntax is not currently supported with classes that extend from\n              `EmberObject` or `CoreObject`. You must continue to use the `create` method\n              when making new instances of classes, even if they are defined using native\n              class syntax. If you want to use `new` syntax, consider creating classes\n              which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n              such as computed properties and decorators, will still work with base-less\n              classes.\n            * Instead of using `this._super()`, you must use standard `super` syntax in\n              native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n              for more details.\n            * Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n              to set up newly-created instances. Ember uses these to, among other things,\n              support features that need to retrieve other entities by name, like Service\n              injection and `getOwner`. To ensure your custom instance setup logic takes\n              place after this important work is done, avoid using the `constructor` in\n              favor of `init`.\n            * Properties passed to `create` will be available on the instance by the time\n              `init` runs, so any code that requires these values should work at that\n              time.\n            * Using native classes, and switching back to the old Ember Object model is\n              fully supported.\n\n            @class CoreObject\n            @public\n          */class CoreObject{constructor(owner){/** @internal */_defineProperty(this,OWNER$1,void 0);this[OWNER$1]=owner;// prepare prototype...\nthis.constructor.proto();let self;if(hasUnknownProperty(this)){let messageFor=(obj,property)=>{return`You attempted to access the \\`${String(property)}\\` property (of ${obj}).\\n`+`Since Ember 3.1, this is usually fine as you no longer need to use \\`.get()\\`\\n`+`to access computed properties. However, in this case, the object in question\\n`+`is a special kind of Ember object (a proxy). Therefore, it is still necessary\\n`+`to use \\`.get('${String(property)}')\\` in this case.\\n\\n`+`If you encountered this error because of third-party code that you don't control,\\n`+`there is more information at https://github.com/emberjs/ember.js/issues/16148, and\\n`+`you can help us improve this error message by telling us more about what happened in\\n`+`this situation.`;};/* globals Proxy Reflect */self=new Proxy(this,{get(target,property,receiver){if(property===PROXY_CONTENT){return target;}else if(// init called will be set on the proxy, not the target, so get with the receiver\n!initCalled.has(receiver)||typeof property==='symbol'||isInternalSymbol(property)||property==='toJSON'||property==='toString'||property==='toStringExtension'||property==='didDefineProperty'||property==='willWatchProperty'||property==='didUnwatchProperty'||property==='didAddListener'||property==='didRemoveListener'||property==='isDescriptor'||property==='_onLookup'||property in target){return Reflect.get(target,property,receiver);}let value=target.unknownProperty.call(receiver,property);if(typeof value!=='function'){!(value===undefined||value===null)&&assert$1(messageFor(receiver,property),value===undefined||value===null);}}});}else{self=this;}const destroyable=self;registerDestructor$1(self,ensureDestroyCalled,true);registerDestructor$1(self,()=>destroyable.willDestroy());// disable chains\nlet m=meta(self);m.setInitializing();// only return when in debug builds and `self` is the proxy created above\nif(self!==this){return self;}}reopen(...args){applyMixin(this,args);return this;}/**\n              An overridable method called when objects are instantiated. By default,\n              does nothing unless it is overridden during class definition.\n               Example:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                init() {\n                  alert(`Name is ${this.get('name')}`);\n                }\n              });\n               let steve = Person.create({\n                name: 'Steve'\n              });\n               // alerts 'Name is Steve'.\n              ```\n               NOTE: If you do override `init` for a framework class like `Component`\n              from `@ember/component`, be sure to call `this._super(...arguments)`\n              in your `init` declaration!\n              If you don't, Ember may not have an opportunity to\n              do important setup work, and you'll see strange behavior in your\n              application.\n               @method init\n              @public\n            */init(_properties){}/**\n              Defines the properties that will be concatenated from the superclass\n              (instead of overridden).\n               By default, when you extend an Ember class a property defined in\n              the subclass overrides a property with the same name that is defined\n              in the superclass. However, there are some cases where it is preferable\n              to build up a property's value by combining the superclass' property\n              value with the subclass' value. An example of this in use within Ember\n              is the `classNames` property of `Component` from `@ember/component`.\n               Here is some sample code showing the difference between a concatenated\n              property and a normal one:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Bar = EmberObject.extend({\n                // Configure which properties to concatenate\n                concatenatedProperties: ['concatenatedProperty'],\n                 someNonConcatenatedProperty: ['bar'],\n                concatenatedProperty: ['bar']\n              });\n               const FooBar = Bar.extend({\n                someNonConcatenatedProperty: ['foo'],\n                concatenatedProperty: ['foo']\n              });\n               let fooBar = FooBar.create();\n              fooBar.get('someNonConcatenatedProperty'); // ['foo']\n              fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n              ```\n               This behavior extends to object creation as well. Continuing the\n              above example:\n               ```javascript\n              let fooBar = FooBar.create({\n                someNonConcatenatedProperty: ['baz'],\n                concatenatedProperty: ['baz']\n              })\n              fooBar.get('someNonConcatenatedProperty'); // ['baz']\n              fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n              ```\n               Adding a single property that is not an array will just add it in the array:\n               ```javascript\n              let fooBar = FooBar.create({\n                concatenatedProperty: 'baz'\n              })\n              view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n              ```\n               Using the `concatenatedProperties` property, we can tell Ember to mix the\n              content of the properties.\n               In `Component` the `classNames`, `classNameBindings` and\n              `attributeBindings` properties are concatenated.\n               This feature is available for you to use throughout the Ember object model,\n              although typical app developers are likely to use it infrequently. Since\n              it changes expectations about behavior of properties, you should properly\n              document its usage in each individual concatenated property (to not\n              mislead your users to think they can override the property in a subclass).\n               @property concatenatedProperties\n              @type Array\n              @default null\n              @public\n            *//**\n              Defines the properties that will be merged from the superclass\n              (instead of overridden).\n               By default, when you extend an Ember class a property defined in\n              the subclass overrides a property with the same name that is defined\n              in the superclass. However, there are some cases where it is preferable\n              to build up a property's value by merging the superclass property value\n              with the subclass property's value. An example of this in use within Ember\n              is the `queryParams` property of routes.\n               Here is some sample code showing the difference between a merged\n              property and a normal one:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Bar = EmberObject.extend({\n                // Configure which properties are to be merged\n                mergedProperties: ['mergedProperty'],\n                 someNonMergedProperty: {\n                  nonMerged: 'superclass value of nonMerged'\n                },\n                mergedProperty: {\n                  page: { replace: false },\n                  limit: { replace: true }\n                }\n              });\n               const FooBar = Bar.extend({\n                someNonMergedProperty: {\n                  completelyNonMerged: 'subclass value of nonMerged'\n                },\n                mergedProperty: {\n                  limit: { replace: false }\n                }\n              });\n               let fooBar = FooBar.create();\n               fooBar.get('someNonMergedProperty');\n              // => { completelyNonMerged: 'subclass value of nonMerged' }\n              //\n              // Note the entire object, including the nonMerged property of\n              // the superclass object, has been replaced\n               fooBar.get('mergedProperty');\n              // => {\n              //   page: {replace: false},\n              //   limit: {replace: false}\n              // }\n              //\n              // Note the page remains from the superclass, and the\n              // `limit` property's value of `false` has been merged from\n              // the subclass.\n              ```\n               This behavior is not available during object `create` calls. It is only\n              available at `extend` time.\n               In `Route` the `queryParams` property is merged.\n               This feature is available for you to use throughout the Ember object model,\n              although typical app developers are likely to use it infrequently. Since\n              it changes expectations about behavior of properties, you should properly\n              document its usage in each individual merged property (to not\n              mislead your users to think they can override the property in a subclass).\n               @property mergedProperties\n              @type Array\n              @default null\n              @public\n            *//**\n              Destroyed object property flag.\n               if this property is `true` the observers and bindings were already\n              removed by the effect of calling the `destroy()` method.\n               @property isDestroyed\n              @default false\n              @public\n            */get isDestroyed(){return isDestroyed(this);}set isDestroyed(_value){assert$1(`You cannot set \\`${this}.isDestroyed\\` directly, please use \\`.destroy()\\`.`,false);}/**\n              Destruction scheduled flag. The `destroy()` method has been called.\n               The object stays intact until the end of the run loop at which point\n              the `isDestroyed` flag is set.\n               @property isDestroying\n              @default false\n              @public\n            */get isDestroying(){return isDestroying(this);}set isDestroying(_value){assert$1(`You cannot set \\`${this}.isDestroying\\` directly, please use \\`.destroy()\\`.`,false);}/**\n              Destroys an object by setting the `isDestroyed` flag and removing its\n              metadata, which effectively destroys observers and bindings.\n               If you try to set a property on a destroyed object, an exception will be\n              raised.\n               Note that destruction is scheduled for the end of the run loop and does not\n              happen immediately.  It will set an isDestroying flag immediately.\n               @method destroy\n              @return {EmberObject} receiver\n              @public\n            */destroy(){// Used to ensure that manually calling `.destroy()` does not immediately call destroy again\ndestroyCalled.add(this);try{destroy(this);}finally{destroyCalled.delete(this);}return this;}/**\n              Override to implement teardown.\n               @method willDestroy\n              @public\n            */willDestroy(){}/**\n              Returns a string representation which attempts to provide more information\n              than Javascript's `toString` typically does, in a generic way for all Ember\n              objects.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend();\n              person = Person.create();\n              person.toString(); //=> \"<Person:ember1024>\"\n              ```\n               If the object's class is not defined on an Ember namespace, it will\n              indicate it is a subclass of the registered superclass:\n               ```javascript\n              const Student = Person.extend();\n              let student = Student.create();\n              student.toString(); //=> \"<(subclass of Person):ember1025>\"\n              ```\n               If the method `toStringExtension` is defined, its return value will be\n              included in the output.\n               ```javascript\n              const Teacher = Person.extend({\n                toStringExtension() {\n                  return this.get('fullName');\n                }\n              });\n              teacher = Teacher.create();\n              teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n              ```\n               @method toString\n              @return {String} string representation\n              @public\n            */toString(){let extension=hasToStringExtension(this)?`:${this.toStringExtension()}`:'';return`<${getFactoryFor(this)||'(unknown)'}:${guidFor(this)}${extension}>`;}/**\n              Creates a new subclass.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                say(thing) {\n                  alert(thing);\n                 }\n              });\n              ```\n               This defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n               You can also create a subclass from any existing class by calling its `extend()` method.\n              For example, you might want to create a subclass of Ember's built-in `Component` class:\n               ```javascript\n              import Component from '@ember/component';\n               const PersonComponent = Component.extend({\n                tagName: 'li',\n                classNameBindings: ['isAdministrator']\n              });\n              ```\n               When defining a subclass, you can override methods but still access the\n              implementation of your parent class by calling the special `_super()` method:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                say(thing) {\n                  let name = this.get('name');\n                  alert(`${name} says: ${thing}`);\n                }\n              });\n               const Soldier = Person.extend({\n                say(thing) {\n                  this._super(`${thing}, sir!`);\n                },\n                march(numberOfHours) {\n                  alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n                }\n              });\n               let yehuda = Soldier.create({\n                name: 'Yehuda Katz'\n              });\n               yehuda.say('Yes');  // alerts \"Yehuda Katz says: Yes, sir!\"\n              ```\n               The `create()` on line #17 creates an *instance* of the `Soldier` class.\n              The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n              of the `Person` class will *not* have the `march()` method.\n               You can also pass `Mixin` classes to add additional properties to the subclass.\n               ```javascript\n              import EmberObject from '@ember/object';\n              import Mixin from '@ember/object/mixin';\n               const Person = EmberObject.extend({\n                say(thing) {\n                  alert(`${this.get('name')} says: ${thing}`);\n                }\n              });\n               const SingingMixin = Mixin.create({\n                sing(thing) {\n                  alert(`${this.get('name')} sings: la la la ${thing}`);\n                }\n              });\n               const BroadwayStar = Person.extend(SingingMixin, {\n                dance() {\n                  alert(`${this.get('name')} dances: tap tap tap tap `);\n                }\n              });\n              ```\n               The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n               @method extend\n              @static\n              @for @ember/object\n              @param {Mixin} [mixins]* One or more Mixin classes\n              @param {Object} [arguments]* Object containing values to use within the new class\n              @public\n            */static extend(...mixins){let Class=class extends this{};reopen.apply(Class.PrototypeMixin,mixins);return Class;}/**\n              Creates an instance of a class. Accepts either no arguments, or an object\n              containing values to initialize the newly instantiated object with.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                helloWorld() {\n                  alert(`Hi, my name is ${this.get('name')}`);\n                }\n              });\n               let tom = Person.create({\n                name: 'Tom Dale'\n              });\n               tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n              ```\n               `create` will call the `init` function if defined during\n              `AnyObject.extend`\n               If no arguments are passed to `create`, it will not set values to the new\n              instance during initialization:\n               ```javascript\n              let noName = Person.create();\n              noName.helloWorld(); // alerts undefined\n              ```\n               NOTE: For performance reasons, you cannot declare methods or computed\n              properties during `create`. You should instead declare methods and computed\n              properties when using `extend`.\n               @method create\n              @for @ember/object\n              @static\n              @param [arguments]*\n              @public\n            */static create(...args){let props=args[0];let instance;if(props!==undefined){instance=new this(getOwner$2(props));// TODO(SAFETY): at present, we cannot actually rely on this being set,\n// because a number of acceptance tests are (incorrectly? Unclear!)\n// relying on the ability to run through this path with `factory` being\n// `undefined`. It's *possible* that actually means that the type for\n// `setFactoryFor()` should allow `undefined`, but we typed it the other\n// way for good reason! Accordingly, this *casts* `factory`, and the\n// commented-out `assert()` is here in the hope that we can enable it\n// after addressing tests *or* updating the call signature here.\nlet factory=getFactoryFor(props);// assert(`missing factory when creating object ${instance}`, factory !== undefined);\nsetFactoryFor(instance,factory);}else{instance=new this();}if(args.length<=1){initialize(instance,props);}else{initialize(instance,flattenProps.apply(this,args));}// SAFETY: The `initialize` call is responsible to merge the prototype chain\n// so that this holds.\nreturn instance;}/**\n              Augments a constructor's prototype with additional\n              properties and functions:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const MyObject = EmberObject.extend({\n                name: 'an object'\n              });\n               o = MyObject.create();\n              o.get('name'); // 'an object'\n               MyObject.reopen({\n                say(msg) {\n                  console.log(msg);\n                }\n              });\n               o2 = MyObject.create();\n              o2.say('hello'); // logs \"hello\"\n               o.say('goodbye'); // logs \"goodbye\"\n              ```\n               To add functions and properties to the constructor itself,\n              see `reopenClass`\n               @method reopen\n              @for @ember/object\n              @static\n              @public\n            */static reopen(...args){this.willReopen();reopen.apply(this.PrototypeMixin,args);return this;}static willReopen(){let p=this.prototype;if(wasApplied.has(p)){wasApplied.delete(p);// If the base mixin already exists and was applied, create a new mixin to\n// make sure that it gets properly applied. Reusing the same mixin after\n// the first `proto` call will cause it to get skipped.\nif(prototypeMixinMap.has(this)){prototypeMixinMap.set(this,Mixin.create(this.PrototypeMixin));}}}/**\n              Augments a constructor's own properties and functions:\n               ```javascript\n              import EmberObject from '@ember/object';\n               const MyObject = EmberObject.extend({\n                name: 'an object'\n              });\n               MyObject.reopenClass({\n                canBuild: false\n              });\n               MyObject.canBuild; // false\n              o = MyObject.create();\n              ```\n               In other words, this creates static properties and functions for the class.\n              These are only available on the class and not on any instance of that class.\n               ```javascript\n              import EmberObject from '@ember/object';\n               const Person = EmberObject.extend({\n                name: '',\n                sayHello() {\n                  alert(`Hello. My name is ${this.get('name')}`);\n                }\n              });\n               Person.reopenClass({\n                species: 'Homo sapiens',\n                 createPerson(name) {\n                  return Person.create({ name });\n                }\n              });\n               let tom = Person.create({\n                name: 'Tom Dale'\n              });\n              let yehuda = Person.createPerson('Yehuda Katz');\n               tom.sayHello(); // \"Hello. My name is Tom Dale\"\n              yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n              alert(Person.species); // \"Homo sapiens\"\n              ```\n               Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n              variables. They are only valid on `Person`.\n               To add functions and properties to instances of\n              a constructor by extending the constructor's prototype\n              see `reopen`\n               @method reopenClass\n              @for @ember/object\n              @static\n              @public\n            */static reopenClass(...mixins){applyMixin(this,mixins);return this;}static detect(obj){if('function'!==typeof obj){return false;}while(obj){if(obj===this){return true;}obj=obj.superclass;}return false;}static detectInstance(obj){return obj instanceof this;}/**\n              In some cases, you may want to annotate computed properties with additional\n              metadata about how they function or what values they operate on. For\n              example, computed property functions may close over variables that are then\n              no longer available for introspection.\n               You can pass a hash of these values to a computed property like this:\n               ```javascript\n              import { computed } from '@ember/object';\n               person: computed(function() {\n                let personId = this.get('personId');\n                return Person.create({ id: personId });\n              }).meta({ type: Person })\n              ```\n               Once you've done this, you can retrieve the values saved to the computed\n              property from your class like this:\n               ```javascript\n              MyClass.metaForProperty('person');\n              ```\n               This will return the original hash that was passed to `meta()`.\n               @static\n              @method metaForProperty\n              @param key {String} property name\n              @private\n            */static metaForProperty(key){let proto=this.proto();// ensure prototype is initialized\nlet possibleDesc=descriptorForProperty(proto,key);!(possibleDesc!==undefined)&&assert$1(`metaForProperty() could not find a computed property with key '${key}'.`,possibleDesc!==undefined);return possibleDesc._meta||{};}/**\n              Iterate over each computed property for the class, passing its name\n              and any associated metadata (see `metaForProperty`) to the callback.\n               @static\n              @method eachComputedProperty\n              @param {Function} callback\n              @param {Object} binding\n              @private\n            */static eachComputedProperty(callback,binding=this){this.proto();// ensure prototype is initialized\nlet empty={};meta(this.prototype).forEachDescriptors((name,descriptor)=>{if(descriptor.enumerable){let meta=descriptor._meta||empty;callback.call(binding,name,meta);}});}static get PrototypeMixin(){let prototypeMixin=prototypeMixinMap.get(this);if(prototypeMixin===undefined){prototypeMixin=Mixin.create();prototypeMixin.ownerConstructor=this;prototypeMixinMap.set(this,prototypeMixin);}return prototypeMixin;}static get superclass(){let c=Object.getPrototypeOf(this);return c!==Function.prototype?c:undefined;}static proto(){let p=this.prototype;if(!wasApplied.has(p)){wasApplied.add(p);let parent=this.superclass;if(parent){parent.proto();}// If the prototype mixin exists, apply it. In the case of native classes,\n// it will not exist (unless the class has been reopened).\nif(prototypeMixinMap.has(this)){this.PrototypeMixin.apply(p);}}return p;}static toString(){return`<${getFactoryFor(this)||'(unknown)'}:constructor>`;}}_defineProperty(CoreObject,\"isClass\",true);_defineProperty(CoreObject,\"isMethod\",false);_defineProperty(CoreObject,\"_onLookup\",void 0);_defineProperty(CoreObject,\"_lazyInjections\",void 0);function flattenProps(...props){let initProperties={};for(let properties of props){!!(properties instanceof Mixin)&&assert$1('EmberObject.create no longer supports mixing in other '+'definitions, use .extend & .create separately instead.',!(properties instanceof Mixin));let keyNames=Object.keys(properties);for(let j=0,k=keyNames.length;j<k;j++){let keyName=keyNames[j];let value=properties[keyName];initProperties[keyName]=value;}}return initProperties;}{/**\n              Provides lookup-time type validation for injected properties.\n               @private\n              @method _onLookup\n            */CoreObject._onLookup=function injectedPropertyAssertion(debugContainerKey){let[type]=debugContainerKey.split(':');let proto=this.proto();for(let key in proto){let desc=descriptorForProperty(proto,key);if(desc&&DEBUG_INJECTION_FUNCTIONS.has(desc._getter)){!(type==='controller'||DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type!=='controller')&&assert$1(`Defining \\`${key}\\` as an injected controller property on a non-controller (\\`${debugContainerKey}\\`) is not allowed.`,type==='controller'||DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type!=='controller');}}};/**\n              Returns a hash of property names and container names that injected\n              properties will lookup on the container lazily.\n               @method _lazyInjections\n              @return {Object} Hash of all lazy injected property keys to container names\n              @private\n            */CoreObject._lazyInjections=function(){let injections={};let proto=this.proto();let key;let desc;for(key in proto){desc=descriptorForProperty(proto,key);if(desc&&DEBUG_INJECTION_FUNCTIONS.has(desc._getter)){let{namespace,source,type,name}=DEBUG_INJECTION_FUNCTIONS.get(desc._getter);injections[key]={namespace,source,specifier:`${type}:${name||key}`};}}return injections;};}const emberObjectCore=/*#__PURE__*/Object.defineProperty({__proto__:null,default:CoreObject},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/observable\n          *//**\n            ## Overview\n\n            This mixin provides properties and property observing functionality, core\n            features of the Ember object model.\n\n            Properties and observers allow one object to observe changes to a\n            property on another object. This is one of the fundamental ways that\n            models, controllers and views communicate with each other in an Ember\n            application.\n\n            Any object that has this mixin applied can be used in observer\n            operations. That includes `EmberObject` and most objects you will\n            interact with as you write your Ember application.\n\n            Note that you will not generally apply this mixin to classes yourself,\n            but you will use the features provided by this module frequently, so it\n            is important to understand how to use it.\n\n            ## Using `get()` and `set()`\n\n            Because of Ember's support for bindings and observers, you will always\n            access properties using the get method, and set properties using the\n            set method. This allows the observing objects to be notified and\n            computed properties to be handled properly.\n\n            More documentation about `get` and `set` are below.\n\n            ## Observing Property Changes\n\n            You typically observe property changes simply by using the `observer`\n            function in classes that you write.\n\n            For example:\n\n            ```javascript\n            import { observer } from '@ember/object';\n            import EmberObject from '@ember/object';\n\n            EmberObject.extend({\n              valueObserver: observer('value', function(sender, key, value, rev) {\n                // Executes whenever the \"value\" property changes\n                // See the addObserver method for more information about the callback arguments\n              })\n            });\n            ```\n\n            Although this is the most common way to add an observer, this capability\n            is actually built into the `EmberObject` class on top of two methods\n            defined in this mixin: `addObserver` and `removeObserver`. You can use\n            these two methods to add and remove observers yourself if you need to\n            do so at runtime.\n\n            To add an observer for a property, call:\n\n            ```javascript\n            object.addObserver('propertyKey', targetObject, targetAction)\n            ```\n\n            This will call the `targetAction` method on the `targetObject` whenever\n            the value of the `propertyKey` changes.\n\n            Note that if `propertyKey` is a computed property, the observer will be\n            called when any of the property dependencies are changed, even if the\n            resulting value of the computed property is unchanged. This is necessary\n            because computed properties are not computed until `get` is called.\n\n            @class Observable\n            @public\n          */const Observable=Mixin.create({get(keyName){return get$2(this,keyName);},getProperties(...args){return getProperties(this,...args);},set(keyName,value){return set(this,keyName,value);},setProperties(hash){return setProperties(this,hash);},/**\n              Begins a grouping of property changes.\n               You can use this method to group property changes so that notifications\n              will not be sent until the changes are finished. If you plan to make a\n              large number of changes to an object at one time, you should call this\n              method at the beginning of the changes to begin deferring change\n              notifications. When you are done making changes, call\n              `endPropertyChanges()` to deliver the deferred change notifications and end\n              deferring.\n               @method beginPropertyChanges\n              @return {Observable}\n              @private\n            */beginPropertyChanges(){beginPropertyChanges();return this;},/**\n              Ends a grouping of property changes.\n               You can use this method to group property changes so that notifications\n              will not be sent until the changes are finished. If you plan to make a\n              large number of changes to an object at one time, you should call\n              `beginPropertyChanges()` at the beginning of the changes to defer change\n              notifications. When you are done making changes, call this method to\n              deliver the deferred change notifications and end deferring.\n               @method endPropertyChanges\n              @return {Observable}\n              @private\n            */endPropertyChanges(){endPropertyChanges();return this;},notifyPropertyChange(keyName){notifyPropertyChange(this,keyName);return this;},addObserver(key,target,method,sync){addObserver(this,key,target,method,sync);return this;},removeObserver(key,target,method,sync){removeObserver(this,key,target,method,sync);return this;},/**\n              Returns `true` if the object currently has observers registered for a\n              particular key. You can use this method to potentially defer performing\n              an expensive action until someone begins observing a particular property\n              on the object.\n               @method hasObserverFor\n              @param {String} key Key to check\n              @return {Boolean}\n              @private\n            */hasObserverFor(key){return hasListeners(this,`${key}:change`);},incrementProperty(keyName,increment=1){!(!isNaN(parseFloat(String(increment)))&&isFinite(increment))&&assert$1('Must pass a numeric value to incrementProperty',!isNaN(parseFloat(String(increment)))&&isFinite(increment));return set(this,keyName,(parseFloat(get$2(this,keyName))||0)+increment);},decrementProperty(keyName,decrement=1){!((typeof decrement==='number'||!isNaN(parseFloat(decrement)))&&isFinite(decrement))&&assert$1('Must pass a numeric value to decrementProperty',(typeof decrement==='number'||!isNaN(parseFloat(decrement)))&&isFinite(decrement));return set(this,keyName,(get$2(this,keyName)||0)-decrement);},toggleProperty(keyName){return set(this,keyName,!get$2(this,keyName));},cacheFor(keyName){let meta=peekMeta(this);return meta!==null?meta.valueFor(keyName):undefined;}});const emberObjectObservable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Observable},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object\n          *//**\n            `EmberObject` is the main base class for all Ember objects. It is a subclass\n            of `CoreObject` with the `Observable` mixin applied. For details,\n            see the documentation for each of these.\n\n            @class EmberObject\n            @extends CoreObject\n            @uses Observable\n            @public\n          */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nclass EmberObject extends CoreObject.extend(Observable){get _debugContainerKey(){let factory=getFactoryFor(this);return factory!==undefined&&factory.fullName;}}/**\n            Decorator that turns the target function into an Action which can be accessed\n            directly by reference.\n\n            ```js\n            import Component from '@ember/component';\n            import { tracked } from '@glimmer/tracking';\n            import { action } from '@ember/object';\n\n            export default class Tooltip extends Component {\n              @tracked isShowing = false;\n\n              @action\n              toggleShowing() {\n                this.isShowing = !this.isShowing;\n              }\n            }\n            ```\n            ```hbs\n            <!-- template.hbs -->\n            <button {{on \"click\" this.toggleShowing}}>Show tooltip</button>\n\n            {{#if isShowing}}\n              <div class=\"tooltip\">\n                I'm a tooltip!\n              </div>\n            {{/if}}\n            ```\n\n            It also binds the function directly to the instance, so it can be used in any\n            context and will correctly refer to the class it came from:\n\n            ```js\n            import Component from '@ember/component';\n            import { tracked } from '@glimmer/tracking';\n            import { action } from '@ember/object';\n\n            export default class Tooltip extends Component {\n              constructor() {\n                super(...arguments);\n\n                // this.toggleShowing is still bound correctly when added to\n                // the event listener\n                document.addEventListener('click', this.toggleShowing);\n              }\n\n              @tracked isShowing = false;\n\n              @action\n              toggleShowing() {\n                this.isShowing = !this.isShowing;\n              }\n            }\n            ```\n\n            @public\n            @method action\n            @for @ember/object\n            @static\n            @param {Function|undefined} callback The function to turn into an action,\n                                                 when used in classic classes\n            @return {PropertyDecorator} property decorator instance\n          */const BINDINGS_MAP=new WeakMap();function hasProto(obj){return obj!=null&&obj.constructor!==undefined&&typeof obj.constructor.proto==='function';}function setupAction(target,key,actionFn){if(hasProto(target)){target.constructor.proto();}if(!Object.prototype.hasOwnProperty.call(target,'actions')){let parentActions=target.actions;// we need to assign because of the way mixins copy actions down when inheriting\ntarget.actions=parentActions?Object.assign({},parentActions):{};}!(target.actions!=null)&&assert$1(\"[BUG] Somehow the target doesn't have actions!\",target.actions!=null);target.actions[key]=actionFn;return{get(){let bindings=BINDINGS_MAP.get(this);if(bindings===undefined){bindings=new Map();BINDINGS_MAP.set(this,bindings);}let fn=bindings.get(actionFn);if(fn===undefined){fn=actionFn.bind(this);bindings.set(actionFn,fn);}return fn;}};}function action$1(...args){let actionFn;if(!isElementDescriptor(args)){actionFn=args[0];let decorator=function(target,key,_desc,_meta,isClassicDecorator){!isClassicDecorator&&assert$1('The @action decorator may only be passed a method when used in classic classes. You should decorate methods directly in native classes',isClassicDecorator);!(typeof actionFn==='function')&&assert$1('The action() decorator must be passed a method when used in classic classes',typeof actionFn==='function');return setupAction(target,key,actionFn);};setClassicDecorator(decorator);return decorator;}let[target,key,desc]=args;actionFn=desc?.value;!(typeof actionFn==='function')&&assert$1('The @action decorator must be applied to methods when used in native classes',typeof actionFn==='function');// SAFETY: TS types are weird with decorators. This should work.\nreturn setupAction(target,key,actionFn);}// SAFETY: TS types are weird with decorators. This should work.\nsetClassicDecorator(action$1);// ..........................................................\n// OBSERVER HELPER\n//\n/**\n            Specify a method that observes property changes.\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import { observer } from '@ember/object';\n\n            export default EmberObject.extend({\n              valueObserver: observer('value', function() {\n                // Executes whenever the \"value\" property changes\n              })\n            });\n            ```\n\n            Also available as `Function.prototype.observes` if prototype extensions are\n            enabled.\n\n            @method observer\n            @for @ember/object\n            @param {String} propertyNames*\n            @param {Function} func\n            @return func\n            @public\n            @static\n          */function observer(...args){let funcOrDef=args.pop();!(typeof funcOrDef==='function'||typeof funcOrDef==='object'&&funcOrDef!==null)&&assert$1('observer must be provided a function or an observer definition',typeof funcOrDef==='function'||typeof funcOrDef==='object'&&funcOrDef!==null);let func;let dependentKeys;let sync;if(typeof funcOrDef==='function'){func=funcOrDef;dependentKeys=args;sync=!ENV._DEFAULT_ASYNC_OBSERVERS;}else{func=funcOrDef.fn;dependentKeys=funcOrDef.dependentKeys;sync=funcOrDef.sync;}!(typeof func==='function')&&assert$1('observer called without a function',typeof func==='function');!(Array.isArray(dependentKeys)&&dependentKeys.length>0&&dependentKeys.every(p=>typeof p==='string'&&Boolean(p.length)))&&assert$1('observer called without valid path',Array.isArray(dependentKeys)&&dependentKeys.length>0&&dependentKeys.every(p=>typeof p==='string'&&Boolean(p.length)));!(typeof sync==='boolean')&&assert$1('observer called without sync',typeof sync==='boolean');let paths=[];for(let dependentKey of dependentKeys){expandProperties(dependentKey,path=>paths.push(path));}setObservers(func,{paths,sync});return func;}const emberObjectIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,action:action$1,computed,default:EmberObject,defineProperty,get:get$2,getProperties,notifyPropertyChange,observer,set,setProperties,trySet},Symbol.toStringTag,{value:'Module'});function unwrapTemplate$2(template){if(\"error\"===template.result)throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);return template;}/**\n           * Default component template, which is a plain yield\n           */const DEFAULT_TEMPLATE_BLOCK=[[[opcodes.Yield,1,null]],[\"&default\"],[]],DEFAULT_TEMPLATE={// random uuid\nid:\"1b32f5c2-7623-43d6-a0ad-9672898920a1\",moduleName:\"__default__.hbs\",block:JSON.stringify(DEFAULT_TEMPLATE_BLOCK),scope:null,isStrictMode:true},WELL_KNOWN_EMPTY_ARRAY=Object.freeze([]),STARTER_CONSTANTS=[false,true,null,void 0,WELL_KNOWN_EMPTY_ARRAY],WELL_KNOWN_EMPTY_ARRAY_POSITION=STARTER_CONSTANTS.indexOf(WELL_KNOWN_EMPTY_ARRAY);class ConstantsImpl{value(value){let indexMap=this.indexMap,index=indexMap.get(value);return void 0===index&&(index=this.values.push(value)-1,indexMap.set(value,index)),index;}array(values){if(0===values.length)return WELL_KNOWN_EMPTY_ARRAY_POSITION;let handles=new Array(values.length);for(let i=0;i<values.length;i++)handles[i]=this.value(values[i]);return this.value(handles);}toPool(){return this.values;}hasHandle(handle){return this.values.length>handle;}helper(definitionState,// TODO: Add a way to expose resolved name for debugging\n_resolvedName=null,isOptional){let handle=this.helperDefinitionCache.get(definitionState);if(void 0===handle){let managerOrHelper=getInternalHelperManager(definitionState,isOptional);if(null===managerOrHelper)return this.helperDefinitionCache.set(definitionState,null),null;let helper=\"function\"==typeof managerOrHelper?managerOrHelper:managerOrHelper.getHelper(definitionState);handle=this.value(helper),this.helperDefinitionCache.set(definitionState,handle),this.helperDefinitionCount++;}return handle;}modifier(definitionState,resolvedName=null,isOptional){let handle=this.modifierDefinitionCache.get(definitionState);if(void 0===handle){let manager=getInternalModifierManager(definitionState,isOptional);if(null===manager)return this.modifierDefinitionCache.set(definitionState,null),null;let definition={resolvedName:resolvedName,manager:manager,state:definitionState};handle=this.value(definition),this.modifierDefinitionCache.set(definitionState,handle),this.modifierDefinitionCount++;}return handle;}component(definitionState,owner,isOptional,debugName){let definition=this.componentDefinitionCache.get(definitionState);if(void 0===definition){let manager=getInternalComponentManager(definitionState,isOptional);if(null===manager)return this.componentDefinitionCache.set(definitionState,null),null;let template,capabilities=capabilityFlagsFrom(manager.getCapabilities(definitionState)),templateFactory=getComponentTemplate(definitionState),compilable=null;template=managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicLayout)?templateFactory?.(owner):templateFactory?.(owner)??this.defaultTemplate,void 0!==template&&(template=unwrapTemplate$2(template),compilable=managerHasCapability(manager,capabilities,InternalComponentCapabilities.wrapped)?template.asWrappedLayout():template.asLayout()),definition={resolvedName:null,handle:-1,manager:manager,capabilities:capabilities,state:definitionState,compilable:compilable},definition.handle=this.value(definition),debugName&&(definition.debugName=debugName),this.componentDefinitionCache.set(definitionState,definition),this.componentDefinitionCount++;}return definition;}resolvedComponent(resolvedDefinition,resolvedName){let definition=this.componentDefinitionCache.get(resolvedDefinition);if(void 0===definition){let{manager:manager,state:state,template:template}=resolvedDefinition,capabilities=capabilityFlagsFrom(manager.getCapabilities(resolvedDefinition)),compilable=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicLayout)||(template=template??this.defaultTemplate),null!==template&&(template=unwrapTemplate$2(template),compilable=managerHasCapability(manager,capabilities,InternalComponentCapabilities.wrapped)?template.asWrappedLayout():template.asLayout()),definition={resolvedName:resolvedName,handle:-1,manager:manager,capabilities:capabilities,state:state,compilable:compilable},definition.handle=this.value(definition),this.componentDefinitionCache.set(resolvedDefinition,definition),this.componentDefinitionCount++;}return definition;}getValue(index){return this.values[index];}getArray(index){let reifiedArrs=this.reifiedArrs,reified=reifiedArrs[index];if(void 0===reified){let names=this.getValue(index);reified=new Array(names.length);for(const[i,name]of enumerate(names))reified[i]=this.getValue(name);reifiedArrs[index]=reified;}return reified;}constructor(){this.reifiedArrs={[WELL_KNOWN_EMPTY_ARRAY_POSITION]:WELL_KNOWN_EMPTY_ARRAY},this.defaultTemplate=templateFactory(DEFAULT_TEMPLATE)(),// Used for tests and debugging purposes, and to be able to analyze large apps\n// This is why it's enabled even in production\nthis.helperDefinitionCount=0,this.modifierDefinitionCount=0,this.componentDefinitionCount=0,this.values=STARTER_CONSTANTS.slice(),this.indexMap=new Map(this.values.map((value,index)=>[value,index])),this.helperDefinitionCache=new WeakMap(),this.modifierDefinitionCache=new WeakMap(),this.componentDefinitionCache=new WeakMap();}}class RuntimeOpImpl{constructor(heap){this.heap=heap,this.offset=0;}get size(){return 1+((this.heap.getbyaddr(this.offset)&OPERAND_LEN_MASK)>>ARG_SHIFT);}get isMachine(){return this.heap.getbyaddr(this.offset)&MACHINE_MASK?1:0;}get type(){return this.heap.getbyaddr(this.offset)&TYPE_MASK;}get op1(){return this.heap.getbyaddr(this.offset+1);}get op2(){return this.heap.getbyaddr(this.offset+2);}get op3(){return this.heap.getbyaddr(this.offset+3);}}/**\n           * The Program Heap is responsible for dynamically allocating\n           * memory in which we read/write the VM's instructions\n           * from/to. When we malloc we pass out a VMHandle, which\n           * is used as an indirect way of accessing the memory during\n           * execution of the VM. Internally we track the different\n           * regions of the memory in an int array known as the table.\n           *\n           * The table 32-bit aligned and has the following layout:\n           *\n           * | ... | hp (u32) |       info (u32)   | size (u32) |\n           * | ... |  Handle  | Scope Size | State | Size       |\n           * | ... | 32bits   | 30bits     | 2bits | 32bit      |\n           *\n           * With this information we effectively have the ability to\n           * control when we want to free memory. That being said you\n           * can not free during execution as raw address are only\n           * valid during the execution. This means you cannot close\n           * over them as you will have a bad memory access exception.\n           */class ProgramHeapImpl{constructor(){this.offset=0,this.handle=0,this.heap=new Int32Array(1048576),this.handleTable=[],this.handleState=[];}entries(){return this.offset;}pushRaw(value){this.sizeCheck(),this.heap[this.offset++]=value;}pushOp(item){this.pushRaw(item);}pushMachine(item){this.pushRaw(item|MACHINE_MASK);}sizeCheck(){let{heap:heap}=this;if(this.offset===this.heap.length){let newHeap=new Int32Array(heap.length+1048576);newHeap.set(heap,0),this.heap=newHeap;}}getbyaddr(address){return this.heap[address];}setbyaddr(address,value){this.heap[address]=value;}malloc(){// push offset, info, size\nreturn this.handleTable.push(this.offset),this.handleTable.length-1;}finishMalloc(handle){}size(){return this.offset;}// It is illegal to close over this address, as compaction\n// may move it. However, it is legal to use this address\n// multiple times between compactions.\ngetaddr(handle){return this.handleTable[handle];}sizeof(handle){return this.handleTable,-1;}free(handle){this.handleState[handle]=1;}/**\n            * The heap uses the [Mark-Compact Algorithm](https://en.wikipedia.org/wiki/Mark-compact_algorithm) to shift\n            * reachable memory to the bottom of the heap and freeable\n            * memory to the top of the heap. When we have shifted all\n            * the reachable memory to the top of the heap, we move the\n            * offset to the next free position.\n            */compact(){let compactedSize=0,{handleTable:handleTable,handleState:handleState,heap:heap}=this;for(let i=0;i<length;i++){let offset=handleTable[i],size=handleTable[i+1]-offset,state=handleState[i];if(2!==state)if(1===state)// transition to \"already freed\" aka \"purged\"\n// a good improvement would be to reuse\n// these slots\nhandleState[i]=2,compactedSize+=size;else if(0===state){for(let j=offset;j<=i+size;j++)heap[j-compactedSize]=heap[j];handleTable[i]=offset-compactedSize;}else 3===state&&(handleTable[i]=offset-compactedSize);}this.offset=this.offset-compactedSize;}}class ProgramImpl{constructor(constants,heap){this.constants=constants,this.heap=heap,this._opcode=new RuntimeOpImpl(this.heap);}opcode(offset){return this._opcode.offset=offset,this._opcode;}}function artifacts(){return{constants:new ConstantsImpl(),heap:new ProgramHeapImpl()};}const glimmerProgram=/*#__PURE__*/Object.defineProperty({__proto__:null,ConstantsImpl,ProgramHeapImpl,ProgramImpl,RuntimeOpImpl,artifacts},Symbol.toStringTag,{value:'Module'});const NS_MATHML=\"http://www.w3.org/1998/Math/MathML\",NS_SVG=\"http://www.w3.org/2000/svg\";let debugToString;{let getFunctionName=fn=>{let functionName=fn.name;if(\"\"===functionName){let match=/function (\\w+)\\s*\\(/u.exec(String(fn));functionName=match&&match[1]||\"\";}return functionName.replace(/^bound /u,\"\");},getObjectName=obj=>{let name,className;// If the class has a decent looking name, and the `toString` is one of the\n// default Ember toStrings, replace the constructor portion of the toString\n// with the class name. We check the length of the class name to prevent doing\n// this when the value is minified.\nreturn\"function\"==typeof obj.constructor&&(className=getFunctionName(obj.constructor)),\"toString\"in obj&&obj.toString!==Object.prototype.toString&&obj.toString!==Function.prototype.toString&&(// eslint-disable-next-line @typescript-eslint/no-base-to-string\nname=obj.toString()),name&&/<.*:ember\\d+>/u.test(name)&&className&&\"_\"!==className[0]&&className.length>2&&\"Class\"!==className?name.replace(/<.*:/u,`<${className}:`):name||className;},getPrimitiveName=value=>String(value);debugToString=value=>\"function\"==typeof value?getFunctionName(value)||\"(unknown function)\":\"object\"==typeof value&&null!==value?getObjectName(value)||\"(unknown object)\":getPrimitiveName(value);}var debugToString$1=debugToString;function castToSimple(node){return function(node){node.nodeType;}(node),node;}function unwrapHandle(handle){if(\"number\"==typeof handle)return handle;{let error=handle.errors[0];throw new Error(`Compile Error: ${error.problem} @ ${error.span.start}..${error.span.end}`);}}function unwrapTemplate$1(template){if(\"error\"===template.result)throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);return template;}/* eslint-disable @typescript-eslint/no-empty-object-type */function buildUntouchableThis(source){let context=null;{let assertOnProperty=property=>{let access=\"symbol\"==typeof property||\"number\"==typeof property?`[${String(property)}]`:`.${property}`;throw new Error(`You accessed \\`this${access}\\` from a function passed to the ${source}, but the function itself was not bound to a valid \\`this\\` context. Consider updating to use a bound function (for instance, use an arrow function, \\`() => {}\\`).`);};context=new Proxy({},{get(_target,property){assertOnProperty(property);},set:(_target,property)=>(assertOnProperty(property),false),has:(_target,property)=>(assertOnProperty(property),false)});}return context;}function decodeImmediate(num){return(num|=0)>-536870913?function(num){return~num;}(num):function(num){return 536870912|num;}(num);}[1,-1].forEach(x=>{return decodeImmediate((num=x,(num|=0)<0?function(num){return-536870913&num;}(num):function(num){return~num;}(num)));var num;});const APPEND_OPCODES=new class{constructor(){// This code is intentionally putting unsafe `null`s into the array that it\n// will intentionally overwrite before anyone can see them.\n// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nthis.evaluateOpcode=new Array(113).fill(null);}add(name,evaluate,kind=\"syscall\"){this.evaluateOpcode[name]={syscall:\"machine\"!==kind,evaluate:evaluate};}evaluate(vm,opcode,type){let operation=this.evaluateOpcode[type];operation.syscall?(opcode.isMachine,operation.syscall,opcode.isMachine,opcode.type,operation.evaluate(vm,opcode)):(opcode.isMachine,operation.syscall,opcode.isMachine,opcode.type,operation.evaluate(vm.lowlevel,opcode));}}(),TYPE=Symbol(\"TYPE\"),INNER=Symbol(\"INNER\"),OWNER=Symbol(\"OWNER\"),ARGS$1=Symbol(\"ARGS\"),RESOLVED=Symbol(\"RESOLVED\"),CURRIED_VALUES=new WeakSet();function isCurriedValue(value){return CURRIED_VALUES.has(value);}function isCurriedType(value,type){return isCurriedValue(value)&&value[TYPE]===type;}class CurriedValue{/** @internal */constructor(type,inner,owner,args,resolved=false){CURRIED_VALUES.add(this),this[TYPE]=type,this[INNER]=inner,this[OWNER]=owner,this[ARGS$1]=args,this[RESOLVED]=resolved;}}function resolveCurriedValue(curriedValue){let positional,named,definition,owner,resolved,currentWrapper=curriedValue;for(;;){let{[ARGS$1]:curriedArgs,[INNER]:inner}=currentWrapper;if(null!==curriedArgs){let{named:curriedNamed,positional:curriedPositional}=curriedArgs;curriedPositional.length>0&&(positional=void 0===positional?curriedPositional:curriedPositional.concat(positional)),void 0===named&&(named=[]),named.unshift(curriedNamed);}if(!isCurriedValue(inner)){// Save off the owner that this helper was curried with. Later on,\n// we'll fetch the value of this register and set it as the owner on the\n// new root scope.\ndefinition=inner,owner=currentWrapper[OWNER],resolved=currentWrapper[RESOLVED];break;}currentWrapper=inner;}return{definition:definition,owner:owner,resolved:resolved,positional:positional,named:named};}function curry(type,spec,owner,args,resolved=false){return new CurriedValue(type,spec,owner,args,resolved);}class DynamicScopeImpl{constructor(bucket){this.bucket=bucket?assign({},bucket):{};}get(key){return this.bucket[key];}set(key,reference){return this.bucket[key]=reference;}child(){return new DynamicScopeImpl(this.bucket);}}class ScopeImpl{static root(owner,{self:self,size=0}){let refs=new Array(size+1).fill(UNDEFINED_REFERENCE);return new ScopeImpl(owner,refs,null).init({self:self});}static sized(owner,size=0){let refs=new Array(size+1).fill(UNDEFINED_REFERENCE);return new ScopeImpl(owner,refs,null);}constructor(owner,// the 0th slot is `self`\nslots,// a single program can mix owners via curried components, and the state lives on root scopes\ncallerScope){this.owner=owner,this.slots=slots,this.callerScope=callerScope;}init({self:self}){return this.slots[0]=self,this;}/**\n            * @debug\n            */snapshot(){return this.slots.slice();}getSelf(){return this.get(0);}getSymbol(symbol){return this.get(symbol);}getBlock(symbol){let block=this.get(symbol);return block===UNDEFINED_REFERENCE?null:block;}bind(symbol,value){this.set(symbol,value);}bindSelf(self){this.set(0,self);}bindSymbol(symbol,value){this.set(symbol,value);}bindBlock(symbol,value){this.set(symbol,value);}bindCallerScope(scope){this.callerScope=scope;}getCallerScope(){return this.callerScope;}child(){return new ScopeImpl(this.owner,this.slots.slice(),this.callerScope);}get(index){if(index>=this.slots.length)throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);return this.slots[index];}set(index,value){if(index>=this.slots.length)throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);this.slots[index]=value;}}class CursorImpl{constructor(element,nextSibling){this.element=element,this.nextSibling=nextSibling;}}class ConcreteBounds{constructor(parentNode,first,last){this.parentNode=parentNode,this.first=first,this.last=last;}parentElement(){return this.parentNode;}firstNode(){return this.first;}lastNode(){return this.last;}}function move(bounds,reference){let parent=bounds.parentElement(),first=bounds.firstNode(),last=bounds.lastNode(),current=first;for(;;){let next=current.nextSibling;if(parent.insertBefore(current,reference),current===last)return next;current=next;}}function clear(bounds){let parent=bounds.parentElement(),first=bounds.firstNode(),last=bounds.lastNode(),current=first;for(;;){let next=current.nextSibling;if(parent.removeChild(current),current===last)return next;current=next;}}/** @internal */function hasCustomDebugRenderTreeLifecycle(manager){return\"getDebugCustomRenderTree\"in manager;}let GUID=0;class Ref{constructor(value){this.id=GUID++,this.value=value;}get(){return this.value;}release(){if(null===this.value)throw new Error(\"BUG: double release?\");this.value=null;}toString(){let label=`Ref ${this.id}`;if(null===this.value)return`${label} (released)`;try{// eslint-disable-next-line @typescript-eslint/no-base-to-string\nreturn`${label}: ${this.value}`;}catch{return label;}}}class DebugRenderTreeImpl{begin(){this.reset();}create(state,node){let internalNode=assign({},node,{bounds:null,refs:new Set()});this.nodes.set(state,internalNode),this.appendChild(internalNode,state),this.enter(state);}update(state){this.enter(state);}didRender(state,bounds){if(this.stack.current!==state)// eslint-disable-next-line @typescript-eslint/no-base-to-string\nthrow new Error(`BUG: expecting ${this.stack.current}, got ${state}`);this.nodeFor(state).bounds=bounds,this.exit();}willDestroy(state){this.refs.get(state).release();}commit(){this.reset();}capture(){return this.captureRefs(this.roots);}reset(){if(0!==this.stack.size){// We probably encountered an error during the rendering loop. This will\n// likely trigger undefined behavior and memory leaks as the error left\n// things in an inconsistent state. It is recommended that the user\n// refresh the page.\n// TODO: We could warn here? But this happens all the time in our tests?\n// Clean up the root reference to prevent errors from happening if we\n// attempt to capture the render tree (Ember Inspector may do this)\nlet root=this.stack.toArray()[0],ref=this.refs.get(root);for(void 0!==ref&&this.roots.delete(ref);!this.stack.isEmpty();)this.stack.pop();}}enter(state){this.stack.push(state);}exit(){if(0===this.stack.size)throw new Error(\"BUG: unbalanced pop\");this.stack.pop();}nodeFor(state){return this.nodes.get(state);}appendChild(node,state){if(this.refs.has(state))throw new Error(\"BUG: child already appended\");let parent=this.stack.current,ref=new Ref(state);if(this.refs.set(state,ref),parent){let parentNode=this.nodeFor(parent);parentNode.refs.add(ref),node.parent=parentNode;}else this.roots.add(ref);}captureRefs(refs){let captured=[];return refs.forEach(ref=>{let state=ref.get();state?captured.push(this.captureNode(`render-node:${ref.id}`,state)):refs.delete(ref);}),captured;}captureNode(id,state){let node=this.nodeFor(state),{type:type,name:name,args:args,instance:instance,refs:refs}=node,template=this.captureTemplate(node),bounds=this.captureBounds(node),children=this.captureRefs(refs);return{id:id,type:type,name:name,args:reifyArgsDebug(args),instance:instance,template:template,bounds:bounds,children:children};}captureTemplate({template:template}){return template||null;}captureBounds(node){let bounds=node.bounds;return{parentElement:bounds.parentElement(),firstNode:bounds.firstNode(),lastNode:bounds.lastNode()};}constructor(){this.stack=new StackImpl(),this.refs=new WeakMap(),this.roots=new Set(),this.nodes=new WeakMap();}}function getDebugName(definition,manager=definition.manager){return definition.resolvedName??definition.debugName??manager.getDebugName(definition.state);}function normalizeStringValue(value){return isEmpty$2(value)?\"\":String(value);}function isEmpty$2(value){return null==value||\"function\"!=typeof value.toString;}function isIndexable$1(value){return null!==value&&\"object\"==typeof value;}function isSafeString(value){return isIndexable$1(value)&&\"function\"==typeof value.toHTML;}function isString(value){return\"string\"==typeof value;}APPEND_OPCODES.add(39,vm=>vm.pushChildScope()),APPEND_OPCODES.add(40,vm=>vm.popScope()),APPEND_OPCODES.add(59,vm=>vm.pushDynamicScope()),APPEND_OPCODES.add(60,vm=>vm.popDynamicScope()),APPEND_OPCODES.add(28,(vm,{op1:other})=>{vm.stack.push(vm.constants.getValue(other));}),APPEND_OPCODES.add(29,(vm,{op1:other})=>{vm.stack.push(createConstRef(vm.constants.getValue(other),false));}),APPEND_OPCODES.add(30,(vm,{op1:primitive})=>{let stack=vm.stack;if(primitive>=0){// it is a handle which does not already exist on the stack\nlet value=vm.constants.getValue(primitive);stack.push(value);}else// is already an encoded immediate or primitive handle\nstack.push(decodeImmediate(primitive));}),APPEND_OPCODES.add(31,vm=>{let ref,stack=vm.stack,value=stack.pop();ref=void 0===value?UNDEFINED_REFERENCE:null===value?NULL_REFERENCE:true===value?TRUE_REFERENCE:false===value?FALSE_REFERENCE:createPrimitiveRef(value),stack.push(ref);}),APPEND_OPCODES.add(33,(vm,{op1:register,op2:offset})=>{let position=vm.fetchValue(register)-offset;vm.stack.dup(position);}),APPEND_OPCODES.add(34,(vm,{op1:count})=>{vm.stack.pop(count);}),APPEND_OPCODES.add(35,(vm,{op1:register})=>{vm.load(register);}),APPEND_OPCODES.add(36,(vm,{op1:register})=>{vm.fetch(register);}),APPEND_OPCODES.add(58,(vm,{op1:_names})=>{let names=vm.constants.getArray(_names);vm.bindDynamicScope(names);}),APPEND_OPCODES.add(69,(vm,{op1:args})=>{vm.enter(args);}),APPEND_OPCODES.add(70,vm=>{vm.exit();}),APPEND_OPCODES.add(63,(vm,{op1:_table})=>{vm.stack.push(vm.constants.getValue(_table));}),APPEND_OPCODES.add(62,vm=>{vm.stack.push(vm.scope());}),APPEND_OPCODES.add(61,vm=>{let stack=vm.stack,block=stack.pop();block?stack.push(vm.compile(block)):stack.push(null);}),APPEND_OPCODES.add(64,vm=>{let{stack:stack}=vm,handle=stack.pop(),scope=stack.pop(),table=stack.pop(),args=stack.pop();if(null===table||null===handle)// To balance the pop{Frame,Scope}\nreturn vm.lowlevel.pushFrame(),void vm.pushScope(scope??vm.scope());let invokingScope=scope;// If necessary, create a child scope\n{let locals=table.parameters,localsCount=locals.length;if(localsCount>0){invokingScope=invokingScope.child();for(let i=0;i<localsCount;i++)invokingScope.bindSymbol(locals[i],args.at(i));}}vm.lowlevel.pushFrame(),vm.pushScope(invokingScope),vm.call(handle);}),APPEND_OPCODES.add(65,(vm,{op1:target})=>{let reference=vm.stack.pop(),value=Boolean(valueForRef(reference));isConstRef(reference)?value&&vm.lowlevel.goto(target):(value&&vm.lowlevel.goto(target),vm.updateWith(new Assert(reference)));}),APPEND_OPCODES.add(66,(vm,{op1:target})=>{let reference=vm.stack.pop(),value=Boolean(valueForRef(reference));isConstRef(reference)?value||vm.lowlevel.goto(target):(value||vm.lowlevel.goto(target),vm.updateWith(new Assert(reference)));}),APPEND_OPCODES.add(67,(vm,{op1:target,op2:comparison})=>{vm.stack.peek()===comparison&&vm.lowlevel.goto(target);}),APPEND_OPCODES.add(68,vm=>{let reference=vm.stack.peek();isConstRef(reference)||vm.updateWith(new Assert(reference));}),APPEND_OPCODES.add(71,vm=>{let{stack:stack}=vm,valueRef=stack.pop();stack.push(createComputeRef(()=>toBool$1(valueForRef(valueRef))));});class Assert{constructor(ref){this.ref=ref,this.last=valueForRef(ref);}evaluate(vm){let{last:last,ref:ref}=this;last!==valueForRef(ref)&&vm.throw();}}class AssertFilter{constructor(ref,filter){this.ref=ref,this.filter=filter,this.last=filter(valueForRef(ref));}evaluate(vm){let{last:last,ref:ref,filter:filter}=this;last!==filter(valueForRef(ref))&&vm.throw();}}class JumpIfNotModifiedOpcode{finalize(tag,target){this.target=target,this.didModify(tag);}evaluate(vm){let{tag:tag,target:target,lastRevision:lastRevision}=this;!vm.alwaysRevalidate&&validateTag(tag,lastRevision)&&(consumeTag(tag),vm.goto(target));}didModify(tag){this.tag=tag,this.lastRevision=valueForTag(this.tag),consumeTag(tag);}constructor(){this.tag=CONSTANT_TAG,this.lastRevision=INITIAL;}}class BeginTrackFrameOpcode{constructor(debugLabel){this.debugLabel=debugLabel;}evaluate(){beginTrackFrame(this.debugLabel);}}class EndTrackFrameOpcode{constructor(target){this.target=target;}evaluate(){let tag=endTrackFrame();this.target.didModify(tag);}}APPEND_OPCODES.add(41,(vm,{op1:text})=>{vm.tree().appendText(vm.constants.getValue(text));}),APPEND_OPCODES.add(42,(vm,{op1:text})=>{vm.tree().appendComment(vm.constants.getValue(text));}),APPEND_OPCODES.add(48,(vm,{op1:tag})=>{vm.tree().openElement(vm.constants.getValue(tag));}),APPEND_OPCODES.add(49,vm=>{let tagName=valueForRef(vm.stack.pop());vm.tree().openElement(tagName);}),APPEND_OPCODES.add(50,vm=>{let elementRef=vm.stack.pop(),insertBeforeRef=vm.stack.pop(),guidRef=vm.stack.pop(),element=valueForRef(elementRef),insertBefore=valueForRef(insertBeforeRef),guid=valueForRef(guidRef);isConstRef(elementRef)||vm.updateWith(new Assert(elementRef)),void 0===insertBefore||isConstRef(insertBeforeRef)||vm.updateWith(new Assert(insertBeforeRef));let block=vm.tree().pushRemoteElement(element,guid,insertBefore);if(vm.associateDestroyable(block),void 0!==vm.env.debugRenderTree){// Note that there is nothing to update – when the args for an\n// {{#in-element}} changes it gets torn down and a new one is\n// re-created/rendered in its place (see the `Assert`s above)\nlet args=createCapturedArgs(void 0===insertBefore?{}:{insertBefore:insertBeforeRef},[elementRef]);vm.env.debugRenderTree.create(block,{type:\"keyword\",name:\"in-element\",args:args,instance:null}),registerDestructor$1(block,()=>{vm.env.debugRenderTree?.willDestroy(block);});}}),APPEND_OPCODES.add(56,vm=>{let bounds=vm.tree().popRemoteElement();void 0!==vm.env.debugRenderTree&&// The RemoteBlock is also its bounds\nvm.env.debugRenderTree.didRender(bounds,bounds);}),APPEND_OPCODES.add(54,vm=>{let operations=vm.fetchValue($t0),modifiers=null;operations&&(modifiers=operations.flush(vm),vm.loadValue($t0,null)),vm.tree().flushElement(modifiers);}),APPEND_OPCODES.add(55,vm=>{let modifiers=vm.tree().closeElement();null!==modifiers&&modifiers.forEach(modifier=>{vm.env.scheduleInstallModifier(modifier);const d=modifier.manager.getDestroyable(modifier.state);null!==d&&vm.associateDestroyable(d);});}),APPEND_OPCODES.add(57,(vm,{op1:handle})=>{if(!vm.env.isInteractive)return;let owner=vm.getOwner(),args=vm.stack.pop(),definition=vm.constants.getValue(handle),{manager:manager}=definition,{constructing:constructing}=vm.tree(),capturedArgs=args.capture(),state=manager.create(owner,constructing,definition.state,capturedArgs),instance={manager:manager,state:state,definition:definition};vm.fetchValue($t0).addModifier(vm,instance,capturedArgs);let tag=manager.getTag(state);return null!==tag?(consumeTag(tag),vm.updateWith(new UpdateModifierOpcode(tag,instance))):void 0;}),APPEND_OPCODES.add(108,vm=>{if(!vm.env.isInteractive)return;let{stack:stack}=vm,ref=stack.pop(),args=stack.pop().capture(),{positional:outerPositional,named:outerNamed}=args,{constructing:constructing}=vm.tree(),initialOwner=vm.getOwner(),instanceRef=createComputeRef(()=>{let owner,hostDefinition,value=valueForRef(ref);if(!isIndexable$2(value))return;if(isCurriedType(value,2)){let{definition:resolvedDefinition,owner:curriedOwner,positional:positional,named:named}=resolveCurriedValue(value);hostDefinition=resolvedDefinition,owner=curriedOwner,void 0!==positional&&(args.positional=positional.concat(outerPositional)),void 0!==named&&(// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nargs.named=Object.assign({},...named,outerNamed));}else hostDefinition=value,owner=initialOwner;let manager=getInternalModifierManager(hostDefinition,true);if(null===manager)throw new Error(`Expected a dynamic modifier definition, but received an object or function that did not have a modifier manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${debugToString$1?.(hostDefinition)}`);let definition={resolvedName:null,manager:manager,state:hostDefinition},state=manager.create(owner,constructing,definition.state,args);return{manager:manager,state:state,definition:definition};}),instance=valueForRef(instanceRef),tag=null;return void 0!==instance&&(vm.fetchValue($t0).addModifier(vm,instance,args),tag=instance.manager.getTag(instance.state),null!==tag&&consumeTag(tag)),!isConstRef(ref)||tag?vm.updateWith(new UpdateDynamicModifierOpcode(tag,instance,instanceRef)):void 0;});class UpdateModifierOpcode{constructor(tag,modifier){this.tag=tag,this.modifier=modifier,this.lastUpdated=valueForTag(tag);}evaluate(vm){let{modifier:modifier,tag:tag,lastUpdated:lastUpdated}=this;consumeTag(tag),validateTag(tag,lastUpdated)||(vm.env.scheduleUpdateModifier(modifier),this.lastUpdated=valueForTag(tag));}}class UpdateDynamicModifierOpcode{constructor(tag,instance,instanceRef){this.tag=tag,this.instance=instance,this.instanceRef=instanceRef,this.lastUpdated=valueForTag(tag??CURRENT_TAG);}evaluate(vm){let{tag:tag,lastUpdated:lastUpdated,instance:instance,instanceRef:instanceRef}=this,newInstance=valueForRef(instanceRef);if(newInstance!==instance){if(void 0!==instance){let destroyable=instance.manager.getDestroyable(instance.state);null!==destroyable&&destroy(destroyable);}if(void 0!==newInstance){let{manager:manager,state:state}=newInstance,destroyable=manager.getDestroyable(state);null!==destroyable&&associateDestroyableChild(this,destroyable),tag=manager.getTag(state),null!==tag&&(this.lastUpdated=valueForTag(tag)),this.tag=tag,vm.env.scheduleInstallModifier(newInstance);}this.instance=newInstance;}else null===tag||validateTag(tag,lastUpdated)||(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nvm.env.scheduleUpdateModifier(instance),this.lastUpdated=valueForTag(tag));null!==tag&&consumeTag(tag);}}APPEND_OPCODES.add(51,(vm,{op1:_name,op2:_value,op3:_namespace})=>{let name=vm.constants.getValue(_name),value=vm.constants.getValue(_value),namespace=_namespace?vm.constants.getValue(_namespace):null;vm.tree().setStaticAttribute(name,value,namespace);}),APPEND_OPCODES.add(52,(vm,{op1:_name,op2:_trusting,op3:_namespace})=>{let name=vm.constants.getValue(_name),trusting=vm.constants.getValue(_trusting),reference=vm.stack.pop(),value=valueForRef(reference),namespace=_namespace?vm.constants.getValue(_namespace):null,attribute=vm.tree().setDynamicAttribute(name,value,trusting,namespace);isConstRef(reference)||vm.updateWith(new UpdateDynamicAttributeOpcode(reference,attribute,vm.env));});class UpdateDynamicAttributeOpcode{constructor(reference,attribute,env){let initialized=false;this.updateRef=createComputeRef(()=>{let value=valueForRef(reference);initialized?attribute.update(value,env):initialized=true;}),valueForRef(this.updateRef);}evaluate(){valueForRef(this.updateRef);}}APPEND_OPCODES.add(78,(vm,{op1:handle})=>{let definition=vm.constants.getValue(handle),{manager:manager,capabilities:capabilities}=definition,instance={definition:definition,manager:manager,capabilities:capabilities,state:null,handle:null,table:null,lookup:null};vm.stack.push(instance);}),APPEND_OPCODES.add(80,(vm,{op1:_isStrict})=>{let definition,stack=vm.stack,component=valueForRef(stack.pop()),constants=vm.constants,owner=vm.getOwner(),isStrict=constants.getValue(_isStrict);if(vm.loadValue($t1,null),\"string\"==typeof component){if(isStrict)throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${component}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);let resolvedDefinition=function(resolver,constants,name,owner){let definition=resolver?.lookupComponent?.(name,owner)??null;if(!definition)throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreturn constants.resolvedComponent(definition,name);}(vm.context.resolver,constants,component,owner);definition=resolvedDefinition;}else definition=isCurriedValue(component)?component:constants.component(component,owner);stack.push(definition);}),APPEND_OPCODES.add(81,vm=>{let definition,stack=vm.stack,ref=stack.pop(),value=valueForRef(ref),constants=vm.constants;if(\"function\"!=typeof value&&(\"object\"!=typeof value||null===value))throw new Error(`Expected a component definition, but received ${value}. You may have accidentally done <${ref.debugLabel}>, where \"${ref.debugLabel}\" was a string instead of a curried component definition. You must either use the component definition directly, or use the {{component}} helper to create a curried component definition when invoking dynamically.`);if(isCurriedValue(value))definition=value;else if(definition=constants.component(value,vm.getOwner(),true),null===definition)throw new Error(`Expected a dynamic component definition, but received an object or function that did not have a component manager associated with it. The dynamic invocation was \\`<${ref.debugLabel}>\\` or \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${debugToString$1?.(value)??value}`);stack.push(definition);}),APPEND_OPCODES.add(79,vm=>{let capabilities,manager,{stack:stack}=vm,definition=stack.pop();isCurriedValue(definition)?manager=capabilities=null:(manager=definition.manager,capabilities=definition.capabilities),stack.push({definition:definition,capabilities:capabilities,manager:manager,state:null,handle:null,table:null});}),APPEND_OPCODES.add(82,(vm,{op1:_names,op2:_blockNames,op3:flags})=>{let stack=vm.stack,names=vm.constants.getArray(_names),positionalCount=flags>>4,atNames=8&flags,blockNames=7&flags?vm.constants.getArray(_blockNames):EMPTY_STRING_ARRAY;vm.args.setup(stack,names,blockNames,positionalCount,!!atNames),stack.push(vm.args);}),APPEND_OPCODES.add(83,vm=>{let{stack:stack}=vm;stack.push(vm.args.empty(stack));}),APPEND_OPCODES.add(86,vm=>{let stack=vm.stack,capturedArgs=stack.pop().capture();stack.push(capturedArgs);}),APPEND_OPCODES.add(85,(vm,{op1:register})=>{let stack=vm.stack,instance=vm.fetchValue(register),args=stack.pop(),{definition:definition}=instance;if(isCurriedType(definition,0)){definition.manager;let constants=vm.constants,{definition:resolvedDefinition,owner:owner,resolved:resolved,positional:positional,named:named}=resolveCurriedValue(definition);if(resolved)definition=resolvedDefinition;else if(\"string\"==typeof resolvedDefinition){let resolvedValue=vm.context.resolver?.lookupComponent?.(resolvedDefinition,owner)??null;definition=constants.resolvedComponent(resolvedValue,resolvedDefinition);}else definition=constants.component(resolvedDefinition,owner);void 0!==named&&// eslint-disable-next-line @typescript-eslint/no-unsafe-argument\nargs.named.merge(assign({},...named)),void 0!==positional&&(args.realloc(positional.length),args.positional.prepend(positional));let{manager:manager}=definition;instance.definition=definition,instance.manager=manager,instance.capabilities=definition.capabilities,// Save off the owner that this component was curried with. Later on,\n// we'll fetch the value of this register and set it as the owner on the\n// new root scope.\nvm.loadValue($t1,owner);}let{manager:manager,state:state}=definition,capabilities=instance.capabilities;if(!managerHasCapability(manager,capabilities,InternalComponentCapabilities.prepareArgs))return void stack.push(args);let blocks=args.blocks.values,blockNames=args.blocks.names,preparedArgs=manager.prepareArgs(state,args);if(preparedArgs){args.clear();for(let i=0;i<blocks.length;i++)stack.push(blocks[i]);let{positional:positional,named:named}=preparedArgs,positionalCount=positional.length;for(let i=0;i<positionalCount;i++)stack.push(positional[i]);let names=Object.keys(named);for(let i=0;i<names.length;i++)stack.push(named[names[i]]);args.setup(stack,names,blockNames,positionalCount,false);}stack.push(args);}),APPEND_OPCODES.add(87,(vm,{op1:flags})=>{let instance=vm.fetchValue($s0),{definition:definition,manager:manager,capabilities:capabilities}=instance;if(!managerHasCapability(manager,capabilities,InternalComponentCapabilities.createInstance))// TODO: Closure and Main components are always invoked dynamically, so this\n// opcode may run even if this capability is not enabled. In the future we\n// should handle this in a better way.\nreturn;let dynamicScope=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicScope)&&(dynamicScope=vm.dynamicScope());let hasDefaultBlock=1&flags,args=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.createArgs)&&(args=vm.stack.peek());let self=null;managerHasCapability(manager,capabilities,InternalComponentCapabilities.createCaller)&&(self=vm.getSelf());let state=manager.create(vm.getOwner(),definition.state,args,vm.env,dynamicScope,self,!!hasDefaultBlock);// We want to reuse the `state` POJO here, because we know that the opcodes\n// only transition at exactly one place.\ninstance.state=state,managerHasCapability(manager,capabilities,InternalComponentCapabilities.updateHook)&&vm.updateWith(new UpdateComponentOpcode(state,manager,dynamicScope));}),APPEND_OPCODES.add(88,(vm,{op1:register})=>{let{manager:manager,state:state,capabilities:capabilities}=vm.fetchValue(register),d=manager.getDestroyable(state);if(!managerHasCapability(manager,capabilities,InternalComponentCapabilities.willDestroy)&&null!==d&&\"string\"in d)throw new Error(\"BUG: Destructor has willDestroy, but the willDestroy capability was not enabled for this component. Pre-destruction hooks must be explicitly opted into\");d&&vm.associateDestroyable(d);}),APPEND_OPCODES.add(97,(vm,{op1:register})=>{let name;{let{definition:definition,manager:manager}=vm.fetchValue(register);name=getDebugName(definition,manager);}vm.beginCacheGroup(name),vm.tree().pushAppendingBlock();}),APPEND_OPCODES.add(89,vm=>{vm.loadValue($t0,new ComponentElementOperations());}),APPEND_OPCODES.add(53,(vm,{op1:_name,op2:_trusting,op3:_namespace})=>{let name=vm.constants.getValue(_name),trusting=vm.constants.getValue(_trusting),reference=vm.stack.pop(),namespace=_namespace?vm.constants.getValue(_namespace):null;vm.fetchValue($t0).setAttribute(name,reference,trusting,namespace);}),APPEND_OPCODES.add(105,(vm,{op1:_name,op2:_value,op3:_namespace})=>{let name=vm.constants.getValue(_name),value=vm.constants.getValue(_value),namespace=_namespace?vm.constants.getValue(_namespace):null;vm.fetchValue($t0).setStaticAttribute(name,value,namespace);});class ComponentElementOperations{setAttribute(name,value,trusting,namespace){let deferred={value:value,namespace:namespace,trusting:trusting};\"class\"===name&&this.classes.push(value),this.attributes[name]=deferred;}setStaticAttribute(name,value,namespace){let deferred={value:value,namespace:namespace};\"class\"===name&&this.classes.push(value),this.attributes[name]=deferred;}addModifier(vm,modifier,capturedArgs){if(this.modifiers.push(modifier),void 0!==vm.env.debugRenderTree){const{manager:manager,definition:definition,state:state}=modifier;// TODO: we need a stable object for the debugRenderTree as the key, add support for\n// the case where the state is a primitive, or if in practice we always have/require\n// an object, then change the internal types to reflect that\nif(null===state||\"object\"!=typeof state&&\"function\"!=typeof state)return;let{element:element,constructing:constructing}=vm.tree(),name=definition.resolvedName??manager.getDebugName(definition.state),instance=manager.getDebugInstance(state),bounds=new ConcreteBounds(element,constructing,constructing);vm.env.debugRenderTree.create(state,{type:\"modifier\",name:name,args:capturedArgs,instance:instance}),vm.env.debugRenderTree.didRender(state,bounds),// For tearing down the debugRenderTree\nvm.associateDestroyable(state),vm.updateWith(new DebugRenderTreeUpdateOpcode(state)),vm.updateWith(new DebugRenderTreeDidRenderOpcode(state,bounds)),registerDestructor$1(state,()=>{vm.env.debugRenderTree?.willDestroy(state);});}}flush(vm){let type,attributes=this.attributes;for(let name in this.attributes){if(\"type\"===name){type=attributes[name];continue;}let attr=this.attributes[name];\"class\"===name?setDeferredAttr(vm,\"class\",mergeClasses(this.classes),attr.namespace,attr.trusting):setDeferredAttr(vm,name,attr.value,attr.namespace,attr.trusting);}return void 0!==type&&setDeferredAttr(vm,\"type\",type.value,type.namespace,type.trusting),this.modifiers;}constructor(){this.attributes=dict(),this.classes=[],this.modifiers=[];}}function mergeClasses(classes){return 0===classes.length?\"\":1===classes.length?classes[0]:function(classes){return classes.every(c=>\"string\"==typeof c);}(classes)?classes.join(\" \"):(list=classes,createComputeRef(()=>{let ret=[];for(const ref of list){let value=normalizeStringValue(\"string\"==typeof ref?ref:valueForRef(ref));value&&ret.push(value);}return 0===ret.length?null:ret.join(\" \");}));var list;}function setDeferredAttr(vm,name,value,namespace,trusting=false){if(\"string\"==typeof value)vm.tree().setStaticAttribute(name,value,namespace);else{let attribute=vm.tree().setDynamicAttribute(name,valueForRef(value),trusting,namespace);isConstRef(value)||vm.updateWith(new UpdateDynamicAttributeOpcode(value,attribute,vm.env));}}function bindBlock(symbolName,blockName,state,blocks,vm){let symbol=state.table.symbols.indexOf(symbolName),block=blocks.get(blockName);-1!==symbol&&vm.scope().bindBlock(symbol+1,block),state.lookup&&(state.lookup[symbolName]=block);}APPEND_OPCODES.add(99,(vm,{op1:register})=>{let{definition:definition,state:state}=vm.fetchValue(register),{manager:manager}=definition,operations=vm.fetchValue($t0);manager.didCreateElement(state,vm.tree().constructing,operations);}),APPEND_OPCODES.add(90,(vm,{op1:register,op2:_names})=>{let instance=vm.fetchValue(register),{definition:definition,state:state}=instance,{manager:manager}=definition,selfRef=manager.getSelf(state);if(void 0!==vm.env.debugRenderTree){let args,moduleName,instance=vm.fetchValue(register),{definition:definition,manager:manager}=instance;if(vm.stack.peek()===vm.args)args=vm.args.capture();else{let names=vm.constants.getArray(_names);vm.args.setup(vm.stack,names,[],0,true),args=vm.args.capture();}let compilable=definition.compilable;if(null===compilable){managerHasCapability(manager,instance.capabilities,InternalComponentCapabilities.dynamicLayout);let resolver=vm.context.resolver;compilable=null===resolver?null:manager.getDynamicLayout(state,resolver),moduleName=null!==compilable?compilable.moduleName:\"__default__.hbs\";}else moduleName=compilable.moduleName;// For tearing down the debugRenderTree\nif(vm.associateDestroyable(instance),hasCustomDebugRenderTreeLifecycle(manager))manager.getDebugCustomRenderTree(instance.definition.state,instance.state,args,moduleName).forEach(node=>{let{bucket:bucket}=node;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nvm.env.debugRenderTree.create(bucket,node),registerDestructor$1(instance,()=>{vm.env.debugRenderTree?.willDestroy(bucket);}),vm.updateWith(new DebugRenderTreeUpdateOpcode(bucket));});else{let name=getDebugName(definition,manager);vm.env.debugRenderTree.create(instance,{type:\"component\",name:name,args:args,template:moduleName,instance:valueForRef(selfRef)}),registerDestructor$1(instance,()=>{vm.env.debugRenderTree?.willDestroy(instance);}),vm.updateWith(new DebugRenderTreeUpdateOpcode(instance));}}vm.stack.push(selfRef);}),APPEND_OPCODES.add(91,(vm,{op1:register})=>{let{definition:definition,state:state}=vm.fetchValue(register),{manager:manager}=definition,tagName=manager.getTagName(state);// User provided value from JS, so we don't bother to encode\nvm.stack.push(tagName);}),// Dynamic Invocation Only\nAPPEND_OPCODES.add(92,(vm,{op1:register})=>{let instance=vm.fetchValue(register),{manager:manager,definition:definition}=instance,{stack:stack}=vm,{compilable:compilable}=definition;if(null===compilable){let{capabilities:capabilities}=instance;managerHasCapability(manager,capabilities,InternalComponentCapabilities.dynamicLayout);let resolver=vm.context.resolver;compilable=null===resolver?null:manager.getDynamicLayout(instance.state,resolver),null===compilable&&(compilable=managerHasCapability(manager,capabilities,InternalComponentCapabilities.wrapped)?unwrapTemplate$1(vm.constants.defaultTemplate).asWrappedLayout():unwrapTemplate$1(vm.constants.defaultTemplate).asLayout());}let handle=compilable.compile(vm.context);stack.push(compilable.symbolTable),stack.push(handle);}),APPEND_OPCODES.add(75,(vm,{op1:register})=>{let definition=vm.stack.pop(),invocation=vm.stack.pop(),{manager:manager,capabilities:capabilities}=definition,state={definition:definition,manager:manager,capabilities:capabilities,state:null,handle:invocation.handle,table:invocation.symbolTable,lookup:null};vm.loadValue(register,state);}),APPEND_OPCODES.add(95,(vm,{op1:register})=>{let{stack:stack}=vm,handle=stack.pop(),table=stack.pop(),state=vm.fetchValue(register);// In DEBUG handles could be ErrHandle objects\nstate.handle=handle,state.table=table;}),APPEND_OPCODES.add(38,(vm,{op1:register})=>{let owner,{table:table,manager:manager,capabilities:capabilities,state:state}=vm.fetchValue(register);managerHasCapability(manager,capabilities,InternalComponentCapabilities.hasSubOwner)?(owner=manager.getOwner(state),vm.loadValue($t1,null)):(// Check the temp register to see if an owner was resolved from currying\nowner=vm.fetchValue($t1),null===owner?// If an owner wasn't found, default to using the current owner. This\n// will happen for normal dynamic component invocation,\n// e.g. <SomeClassicEmberComponent/>\nowner=vm.getOwner():// Else the owner was found, so clear the temp register. This will happen\n// if we are loading a curried component, e.g. <@someCurriedComponent/>\nvm.loadValue($t1,null)),vm.pushRootScope(table.symbols.length+1,owner);}),APPEND_OPCODES.add(17,(vm,{op1:register})=>{let state=vm.fetchValue(register),scope=vm.scope(),args=vm.stack.peek(),callerNames=args.named.atNames;for(let i=callerNames.length-1;i>=0;i--){let atName=callerNames[i],symbol=state.table.symbols.indexOf(atName),value=args.named.get(atName,true);-1!==symbol&&scope.bindSymbol(symbol+1,value),state.lookup&&(state.lookup[atName]=value);}}),APPEND_OPCODES.add(18,(vm,{op1:register})=>{let state=vm.fetchValue(register),{blocks:blocks}=vm.stack.peek();for(const[i]of enumerate(blocks.names))bindBlock(blocks.symbolNames[i],blocks.names[i],state,blocks,vm);}),// Dynamic Invocation Only\nAPPEND_OPCODES.add(96,(vm,{op1:register})=>{let state=vm.fetchValue(register);vm.call(state.handle);}),APPEND_OPCODES.add(100,(vm,{op1:register})=>{let instance=vm.fetchValue(register),{manager:manager,state:state,capabilities:capabilities}=instance,bounds=vm.tree().popBlock();void 0!==vm.env.debugRenderTree&&(hasCustomDebugRenderTreeLifecycle(manager)?manager.getDebugCustomRenderTree(instance.definition.state,state,EMPTY_ARGS).reverse().forEach(node=>{let{bucket:bucket}=node;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nvm.env.debugRenderTree.didRender(bucket,bounds),vm.updateWith(new DebugRenderTreeDidRenderOpcode(bucket,bounds));}):(vm.env.debugRenderTree.didRender(instance,bounds),vm.updateWith(new DebugRenderTreeDidRenderOpcode(instance,bounds)))),managerHasCapability(manager,capabilities,InternalComponentCapabilities.createInstance)&&(// eslint-disable-next-line @typescript-eslint/no-unsafe-call -- @fixme\nmanager.didRenderLayout(state,bounds),vm.env.didCreate(instance),vm.updateWith(new DidUpdateLayoutOpcode(instance,bounds)));}),APPEND_OPCODES.add(98,vm=>{vm.commitCacheGroup();});class UpdateComponentOpcode{constructor(component,manager,dynamicScope){this.component=component,this.manager=manager,this.dynamicScope=dynamicScope;}evaluate(_vm){let{component:component,manager:manager,dynamicScope:dynamicScope}=this;manager.update(component,dynamicScope);}}class DidUpdateLayoutOpcode{constructor(component,bounds){this.component=component,this.bounds=bounds;}evaluate(vm){let{component:component,bounds:bounds}=this,{manager:manager,state:state}=component;manager.didUpdateLayout(state,bounds),vm.env.didUpdate(component);}}class DebugRenderTreeUpdateOpcode{constructor(bucket){this.bucket=bucket;}evaluate(vm){vm.env.debugRenderTree?.update(this.bucket);}}class DebugRenderTreeDidRenderOpcode{constructor(bucket,bounds){this.bucket=bucket,this.bounds=bounds;}evaluate(vm){vm.env.debugRenderTree?.didRender(this.bucket,this.bounds);}}/*\n            The calling convention is:\n\n            * 0-N block arguments at the bottom\n            * 0-N positional arguments next (left-to-right)\n            * 0-N named arguments next\n          */class VMArgumentsImpl{constructor(){this.stack=null,this.positional=new PositionalArgumentsImpl(),this.named=new NamedArgumentsImpl(),this.blocks=new BlockArgumentsImpl();}empty(stack){let base=stack.registers[$sp]+1;return this.named.empty(stack,base),this.positional.empty(stack,base),this.blocks.empty(stack,base),this;}setup(stack,names,blockNames,positionalCount,atNames){this.stack=stack;/*\n                 | ... | blocks      | positional  | named |\n                 | ... | b0    b1    | p0 p1 p2 p3 | n0 n1 |\n              index | ... | 4/5/6 7/8/9 | 10 11 12 13 | 14 15 |\n                         ^             ^             ^  ^\n                       bbase         pbase       nbase  sp\n              */let named=this.named,namedCount=names.length,namedBase=stack.registers[$sp]-namedCount+1;named.setup(stack,namedBase,namedCount,names,atNames);let positionalBase=namedBase-positionalCount;this.positional.setup(stack,positionalBase,positionalCount);let blocks=this.blocks,blocksCount=blockNames.length,blocksBase=positionalBase-3*blocksCount;blocks.setup(stack,blocksBase,blocksCount,blockNames);}get base(){return this.blocks.base;}get length(){return this.positional.length+this.named.length+3*this.blocks.length;}at(pos){return this.positional.at(pos);}realloc(offset){let{stack:stack}=this;if(offset>0&&null!==stack){let{positional:positional,named:named}=this,newBase=positional.base+offset;for(let i=positional.length+named.length-1;i>=0;i--)stack.copy(i+positional.base,i+newBase);positional.base+=offset,named.base+=offset,stack.registers[$sp]+=offset;}}capture(){let positional=0===this.positional.length?EMPTY_POSITIONAL:this.positional.capture();return{named:0===this.named.length?EMPTY_NAMED:this.named.capture(),positional:positional};}clear(){let{stack:stack,length:length}=this;length>0&&null!==stack&&stack.pop(length);}}const EMPTY_REFERENCES=emptyArray();class PositionalArgumentsImpl{constructor(){this.base=0,this.length=0,this.stack=null,this._references=null;}empty(stack,base){this.stack=stack,this.base=base,this.length=0,this._references=EMPTY_REFERENCES;}setup(stack,base,length){this.stack=stack,this.base=base,this.length=length,this._references=0===length?EMPTY_REFERENCES:null;}at(position){let{base:base,length:length,stack:stack}=this;return position<0||position>=length?UNDEFINED_REFERENCE:stack.get(position,base);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\n}capture(){return this.references;}prepend(other){let additions=other.length;if(additions>0){let{base:base,length:length,stack:stack}=this;this.base=base-=additions,this.length=length+additions;for(let i=0;i<additions;i++)// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nstack.set(other[i],i,base);this._references=null;}}get references(){let references=this._references;if(!references){let{stack:stack,base:base,length:length}=this;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreferences=this._references=stack.slice(base,base+length);}return references;}}class NamedArgumentsImpl{constructor(){this.base=0,this.length=0,this._references=null,this._names=EMPTY_STRING_ARRAY,this._atNames=EMPTY_STRING_ARRAY;}empty(stack,base){this.stack=stack,this.base=base,this.length=0,this._references=EMPTY_REFERENCES,this._names=EMPTY_STRING_ARRAY,this._atNames=EMPTY_STRING_ARRAY;}setup(stack,base,length,names,atNames){this.stack=stack,this.base=base,this.length=length,0===length?(this._references=EMPTY_REFERENCES,this._names=EMPTY_STRING_ARRAY,this._atNames=EMPTY_STRING_ARRAY):(this._references=null,atNames?(this._names=null,this._atNames=names):(this._names=names,this._atNames=null));}get names(){let names=this._names;return names||(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nnames=this._names=this._atNames.map(this.toSyntheticName)),names;}get atNames(){let atNames=this._atNames;return atNames||(// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\natNames=this._atNames=this._names.map(this.toAtName)),atNames;}has(name){return-1!==this.names.indexOf(name);}get(name,atNames=false){let{base:base,stack:stack}=this,idx=(atNames?this.atNames:this.names).indexOf(name);if(-1===idx)return UNDEFINED_REFERENCE;let ref=stack.get(idx,base);return createDebugAliasRef(atNames?name:`@${name}`,ref);}capture(){let{names:names,references:references}=this,map=dict();for(const[i,name]of enumerate(names))// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nmap[name]=createDebugAliasRef(`@${name}`,references[i]);return map;}merge(other){let keys=Object.keys(other);if(keys.length>0){let{names:names,length:length,stack:stack}=this,newNames=names.slice();for(const name of keys)-1===newNames.indexOf(name)&&(length=newNames.push(name),stack.push(other[name]));this.length=length,this._references=null,this._names=newNames,this._atNames=null;}}get references(){let references=this._references;if(!references){let{base:base,length:length,stack:stack}=this;references=this._references=stack.slice(base,base+length);}return references;}toSyntheticName(name){return name.slice(1);}toAtName(name){return`@${name}`;}}function toSymbolName(name){return`&${name}`;}const EMPTY_BLOCK_VALUES=emptyArray();class BlockArgumentsImpl{constructor(){this.internalValues=null,this._symbolNames=null,this.internalTag=null,this.names=EMPTY_STRING_ARRAY,this.length=0,this.base=0;}empty(stack,base){this.stack=stack,this.names=EMPTY_STRING_ARRAY,this.base=base,this.length=0,this._symbolNames=null,this.internalTag=CONSTANT_TAG,this.internalValues=EMPTY_BLOCK_VALUES;}setup(stack,base,length,names){this.stack=stack,this.names=names,this.base=base,this.length=length,this._symbolNames=null,0===length?(this.internalTag=CONSTANT_TAG,this.internalValues=EMPTY_BLOCK_VALUES):(this.internalTag=null,this.internalValues=null);}get values(){let values=this.internalValues;if(!values){let{base:base,length:length,stack:stack}=this;values=this.internalValues=stack.slice(base,base+3*length);}return values;}has(name){return-1!==this.names.indexOf(name);}get(name){let idx=this.names.indexOf(name);if(-1===idx)return null;let{base:base,stack:stack}=this,table=stack.get(3*idx,base),scope=stack.get(3*idx+1,base),handle=stack.get(3*idx+2,base);return null===handle?null:[handle,scope,table];}capture(){return new CapturedBlockArgumentsImpl(this.names,this.values);}get symbolNames(){let symbolNames=this._symbolNames;return null===symbolNames&&(symbolNames=this._symbolNames=this.names.map(toSymbolName)),symbolNames;}}class CapturedBlockArgumentsImpl{constructor(names,values){this.names=names,this.values=values,this.length=names.length;}has(name){return-1!==this.names.indexOf(name);}get(name){let idx=this.names.indexOf(name);return-1===idx?null:[this.values[3*idx+2],this.values[3*idx+1],this.values[3*idx]];}}function createCapturedArgs(named,positional){return{named:named,positional:positional};}function reifyNamed(named){let reified=dict();for(const[key,value]of Object.entries(named))reified[key]=valueForRef(value);return reified;}function reifyPositional(positional){return positional.map(valueForRef);}function reifyArgs(args){return{named:reifyNamed(args.named),positional:reifyPositional(args.positional)};}const ARGUMENT_ERROR=Symbol(\"ARGUMENT_ERROR\");function isArgumentError(arg){return null!==arg&&\"object\"==typeof arg&&arg[ARGUMENT_ERROR];}// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction ArgumentErrorImpl(error){return{[ARGUMENT_ERROR]:true,// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nerror:error};}function reifyArgsDebug(args){return{named:function(named){let reified=dict();for(const[key,value]of Object.entries(named))try{reified[key]=valueForRef(value);}catch(e){reified[key]=ArgumentErrorImpl(e);}return reified;}(args.named),positional:(positional=args.positional,positional.map(p=>{try{return valueForRef(p);}catch(e){return ArgumentErrorImpl(e);}}))};var positional;}const EMPTY_NAMED=Object.freeze(Object.create(null)),EMPTY_POSITIONAL=EMPTY_REFERENCES,EMPTY_ARGS=createCapturedArgs(EMPTY_NAMED,EMPTY_POSITIONAL);function castToString(value){return\"string\"==typeof value?value:\"function\"!=typeof value.toString?\"\":String(value);// eslint-disable-next-line @typescript-eslint/no-base-to-string -- @fixme\n}function resolveHelper(definition,ref){let helper,managerOrHelper=getInternalHelperManager(definition,true);return helper=null===managerOrHelper?null:\"function\"==typeof managerOrHelper?managerOrHelper:managerOrHelper.getHelper(definition),debugAssert(null!==helper,()=>`Expected a dynamic helper definition, but received an object or function that did not have a helper manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\` or \\`(${ref.debugLabel})\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${debugToString$1?.(definition)}`),helper;}function isUndefinedReference(input){return input===UNDEFINED_REFERENCE;}APPEND_OPCODES.add(77,(vm,{op1:type,op2:_isStrict})=>{let stack=vm.stack,definition=stack.pop(),capturedArgs=stack.pop(),owner=vm.getOwner(),resolver=vm.context.resolver,isStrict=false;// strict check only happens in DEBUG builds, no reason to load it otherwise\nisStrict=vm.constants.getValue(_isStrict),vm.loadValue($v0,function(type,inner,owner,args,resolver,isStrict){let lastValue,curriedDefinition;return createComputeRef(()=>{let value=valueForRef(inner);if(value===lastValue)return curriedDefinition;if(isCurriedType(value,type))curriedDefinition=args?curry(type,value,owner,args):args;else if(0===type&&\"string\"==typeof value&&value){// Only components should enter this path, as helpers and modifiers do not\n// support string based resolution\n{if(isStrict)throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${value}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);if(!resolver.lookupComponent?.(value,owner))throw new Error(`Attempted to resolve \\`${value}\\`, which was expected to be a component, but nothing was found.`);}curriedDefinition=curry(type,value,owner,args);}else curriedDefinition=isIndexable$2(value)?curry(type,value,owner,args):null;return lastValue=value,curriedDefinition;});}(type,definition,owner,capturedArgs,resolver,isStrict));}),APPEND_OPCODES.add(107,vm=>{let helperRef,stack=vm.stack,ref=stack.pop(),args=stack.pop().capture(),initialOwner=vm.getOwner(),helperInstanceRef=createComputeRef(()=>{void 0!==helperRef&&destroy(helperRef);let definition=valueForRef(ref);if(isCurriedType(definition,1)){let{definition:resolvedDef,owner:owner,positional:positional,named:named}=resolveCurriedValue(definition),helper=resolveHelper(resolvedDef,ref);void 0!==named&&(// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\nargs.named=assign({},...named,args.named)),void 0!==positional&&(args.positional=positional.concat(args.positional)),helperRef=helper(args,owner),associateDestroyableChild(helperInstanceRef,helperRef);}else if(isIndexable$2(definition)){let helper=resolveHelper(definition,ref);helperRef=helper(args,initialOwner),_hasDestroyableChildren(helperRef)&&associateDestroyableChild(helperInstanceRef,helperRef);}else helperRef=UNDEFINED_REFERENCE;}),helperValueRef=createComputeRef(()=>(valueForRef(helperInstanceRef),valueForRef(helperRef)));vm.associateDestroyable(helperInstanceRef),vm.loadValue($v0,helperValueRef);}),APPEND_OPCODES.add(16,(vm,{op1:handle})=>{let stack=vm.stack,value=vm.constants.getValue(handle)(stack.pop().capture(),vm.getOwner(),vm.dynamicScope());_hasDestroyableChildren(value)&&vm.associateDestroyable(value),vm.loadValue($v0,value);}),APPEND_OPCODES.add(21,(vm,{op1:symbol})=>{let expr=vm.referenceForSymbol(symbol);vm.stack.push(expr);}),APPEND_OPCODES.add(19,(vm,{op1:symbol})=>{let expr=vm.stack.pop();vm.scope().bindSymbol(symbol,expr);}),APPEND_OPCODES.add(20,(vm,{op1:symbol})=>{let handle=vm.stack.pop(),scope=vm.stack.pop(),table=vm.stack.pop();vm.scope().bindBlock(symbol,[handle,scope,table]);}),APPEND_OPCODES.add(37,(vm,{op1:size})=>{vm.pushRootScope(size,vm.getOwner());}),APPEND_OPCODES.add(22,(vm,{op1:_key})=>{let key=vm.constants.getValue(_key),expr=vm.stack.pop();vm.stack.push(childRefFor(expr,key));}),APPEND_OPCODES.add(23,(vm,{op1:_block})=>{let{stack:stack}=vm,block=vm.scope().getBlock(_block);stack.push(block);}),APPEND_OPCODES.add(24,vm=>{let{stack:stack}=vm,block=stack.pop();if(block&&!isUndefinedReference(block)){let[handleOrCompilable,scope,table]=block;stack.push(table),stack.push(scope),stack.push(handleOrCompilable);}else stack.push(null),stack.push(null),stack.push(null);}),APPEND_OPCODES.add(25,vm=>{let{stack:stack}=vm,block=stack.pop();block&&!isUndefinedReference(block)?stack.push(TRUE_REFERENCE):stack.push(FALSE_REFERENCE);}),APPEND_OPCODES.add(26,vm=>{// FIXME(mmun): should only need to push the symbol table\nvm.stack.pop(),vm.stack.pop();let table=vm.stack.pop(),hasBlockParams=table&&table.parameters.length;vm.stack.push(hasBlockParams?TRUE_REFERENCE:FALSE_REFERENCE);}),APPEND_OPCODES.add(27,(vm,{op1:count})=>{let out=new Array(count);for(let i=count;i>0;i--)out[i-1]=vm.stack.pop();var partsRefs;vm.stack.push((partsRefs=out,createComputeRef(()=>{const parts=[];for(const ref of partsRefs){const value=valueForRef(ref);null!=value&&parts.push(castToString(value));}return parts.length>0?parts.join(\"\"):null;})));}),APPEND_OPCODES.add(109,vm=>{let condition=vm.stack.pop(),truthy=vm.stack.pop(),falsy=vm.stack.pop();vm.stack.push(createComputeRef(()=>toBool$1(valueForRef(condition))?valueForRef(truthy):valueForRef(falsy)));}),APPEND_OPCODES.add(110,vm=>{let ref=vm.stack.pop();vm.stack.push(createComputeRef(()=>!toBool$1(valueForRef(ref))));}),APPEND_OPCODES.add(111,vm=>{let scope=vm.dynamicScope(),stack=vm.stack,nameRef=stack.pop();stack.push(createComputeRef(()=>{let name=String(valueForRef(nameRef));return valueForRef(scope.get(name));}));}),APPEND_OPCODES.add(112,vm=>{let{positional:positional}=vm.stack.pop().capture();vm.loadValue($v0,createComputeRef(()=>{// eslint-disable-next-line no-console\nconsole.log(...reifyPositional(positional));}));});class DynamicTextContent{constructor(node,reference,lastValue){this.node=node,this.reference=reference,this.lastValue=lastValue;}evaluate(){let normalized,value=valueForRef(this.reference),{lastValue:lastValue}=this;value!==lastValue&&(normalized=isEmpty$2(value)?\"\":isString(value)?value:String(value),normalized!==lastValue)&&(this.node.nodeValue=this.lastValue=normalized);}}function toContentType(value){return function(value){return isString(value)||isEmpty$2(value)||\"boolean\"==typeof value||\"number\"==typeof value;}(value)?ContentType.String:isCurriedType(value,0)||hasInternalComponentManager(value)?ContentType.Component:isCurriedType(value,1)||hasInternalHelperManager(value)?ContentType.Helper:isSafeString(value)?ContentType.SafeString:function(value){return isIndexable$1(value)&&11===value.nodeType;}(value)?ContentType.Fragment:function(value){return isIndexable$1(value)&&\"number\"==typeof value.nodeType;}(value)?ContentType.Node:ContentType.String;}function toDynamicContentType(value){if(!isIndexable$2(value))return ContentType.String;if(isCurriedType(value,0)||hasInternalComponentManager(value))return ContentType.Component;if(!isCurriedType(value,1)&&!hasInternalHelperManager(value))throw new Error(// eslint-disable-next-line @typescript-eslint/no-base-to-string -- @fixme\n`Attempted use a dynamic value as a component or helper, but that value did not have an associated component or helper manager. The value was: ${value}`);return ContentType.Helper;}function debugCallback(context,get){// eslint-disable-next-line no-console\nconsole.info(\"Use `context`, and `get(<path>)` to debug this template.\"),get(\"this\");// eslint-disable-next-line no-debugger\ndebugger;}APPEND_OPCODES.add(76,vm=>{let reference=vm.stack.peek();vm.stack.push(toContentType(valueForRef(reference))),isConstRef(reference)||vm.updateWith(new AssertFilter(reference,toContentType));}),APPEND_OPCODES.add(106,vm=>{let reference=vm.stack.peek();vm.stack.push(toDynamicContentType(valueForRef(reference))),isConstRef(reference)||vm.updateWith(new AssertFilter(reference,toDynamicContentType));}),APPEND_OPCODES.add(43,vm=>{let reference=vm.stack.pop(),rawValue=valueForRef(reference),value=isEmpty$2(rawValue)?\"\":String(rawValue);vm.tree().appendDynamicHTML(value);}),APPEND_OPCODES.add(44,vm=>{let reference=vm.stack.pop(),rawValue=valueForRef(reference).toHTML(),value=isEmpty$2(rawValue)?\"\":rawValue;vm.tree().appendDynamicHTML(value);}),APPEND_OPCODES.add(47,vm=>{let reference=vm.stack.pop(),rawValue=valueForRef(reference),value=isEmpty$2(rawValue)?\"\":String(rawValue),node=vm.tree().appendDynamicText(value);isConstRef(reference)||vm.updateWith(new DynamicTextContent(node,reference,value));}),APPEND_OPCODES.add(45,vm=>{let reference=vm.stack.pop(),value=valueForRef(reference);vm.tree().appendDynamicFragment(value);}),APPEND_OPCODES.add(46,vm=>{let reference=vm.stack.pop(),value=valueForRef(reference);vm.tree().appendDynamicNode(value);});let callback=debugCallback;// For testing purposes\nfunction setDebuggerCallback(cb){callback=cb;}function resetDebuggerCallback(){callback=debugCallback;}var _symbols=/*#__PURE__*/new WeakMap();class ScopeInspector{constructor(scope,symbols){_classPrivateFieldInitSpec(this,_symbols,void 0);this.scope=scope,_classPrivateFieldSet(_symbols,this,symbols);}get(path){let ref,{scope:scope}=this,symbols=_classPrivateFieldGet(_symbols,this),parts=path.split(\".\"),[head,...tail]=path.split(\".\");return\"this\"===head?ref=scope.getSelf():symbols.locals[head]?ref=scope.getSymbol(symbols.locals[head]):(ref=this.scope.getSelf(),tail=parts),tail.reduce((r,part)=>childRefFor(r,part),ref);}}APPEND_OPCODES.add(103,(vm,{op1:_debugInfo})=>{let debuggerInfo=vm.constants.getValue(_debugInfo),inspector=new ScopeInspector(vm.scope(),debuggerInfo);callback(valueForRef(vm.getSelf()),path=>valueForRef(inspector.get(path)));}),APPEND_OPCODES.add(72,(vm,{op1:relativeStart,op2:elseTarget})=>{let stack=vm.stack,listRef=stack.pop(),keyRef=stack.pop(),keyValue=valueForRef(keyRef),key=null===keyValue?\"@identity\":String(keyValue),iteratorRef=createIteratorRef(listRef,key),iterator=valueForRef(iteratorRef);vm.updateWith(new AssertFilter(iteratorRef,iterator=>iterator.isEmpty())),iterator.isEmpty()?// TODO: Fix this offset, should be accurate\nvm.lowlevel.goto(elseTarget+1):(vm.enterList(iteratorRef,relativeStart),vm.stack.push(iterator));}),APPEND_OPCODES.add(73,vm=>{vm.exitList();}),APPEND_OPCODES.add(74,(vm,{op1:breaks})=>{let item=vm.stack.peek().next();null!==item?vm.registerItem(vm.enterItem(item)):vm.lowlevel.goto(breaks);});const CAPABILITIES$4={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:false,attributeHook:false,elementHook:false,createCaller:false,dynamicScope:false,updateHook:false,createInstance:false,wrapped:false,willDestroy:false,hasSubOwner:false};class TemplateOnlyComponentManager{getCapabilities(){return CAPABILITIES$4;}getDebugName({name:name}){return name;}getSelf(){return NULL_REFERENCE;}getDestroyable(){return null;}}const TEMPLATE_ONLY_COMPONENT_MANAGER=new TemplateOnlyComponentManager();// This is only exported for types, don't use this class directly\nclass TemplateOnlyComponentDefinition{constructor(moduleName=\"@glimmer/component/template-only\",name=\"(unknown template-only component)\"){this.moduleName=moduleName,this.name=name;}toString(){return this.moduleName;}}/**\n            This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\n            is able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\n            without adding a wrapping `<div>` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\n            Specifically, this means that the template will be rendered as \"outer HTML\".\n\n            In general, this method will be used by build time tooling and would not be directly written in an application. However,\n            at times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\n            to use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n            `template-only-glimmer-components` optional feature.\n\n            @example\n\n            ```js\n            import { templateOnlyComponent } from '@glimmer/runtime';\n\n            export default templateOnlyComponent();\n            ```\n\n            @public\n            @method templateOnly\n            @param {String} moduleName the module name that the template only component represents, this will be used for debugging purposes\n            @category EMBER_GLIMMER_SET_COMPONENT_TEMPLATE\n          */function templateOnlyComponent(moduleName,name){return new TemplateOnlyComponentDefinition(moduleName,name);}// http://www.w3.org/TR/html/syntax.html#html-integration-point\nsetInternalComponentManager(TEMPLATE_ONLY_COMPONENT_MANAGER,TemplateOnlyComponentDefinition.prototype);const SVG_INTEGRATION_POINTS={foreignObject:1,desc:1,title:1},BLACKLIST_TABLE=Object.create(null);// http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n// TODO: Adjust SVG attributes\n// http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n// TODO: Adjust SVG elements\n// http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\nclass DOMOperations{constructor(document){this.document=document,this.setupUselessElement();}// split into separate method so that NodeDOMTreeConstruction\n// can override it.\nsetupUselessElement(){this.uselessElement=this.document.createElement(\"div\");}createElement(tag,context){let isElementInSVGNamespace,isHTMLIntegrationPoint,isElementInMathMlNamespace,ns;if(context?(isElementInSVGNamespace=context.namespaceURI===NS_SVG||\"svg\"===tag,isElementInMathMlNamespace=context.namespaceURI===NS_MATHML||\"math\"===tag,isHTMLIntegrationPoint=!!SVG_INTEGRATION_POINTS[context.tagName]):(isElementInSVGNamespace=\"svg\"===tag,isElementInMathMlNamespace=\"math\"===tag,isHTMLIntegrationPoint=false),!isElementInMathMlNamespace&&!isElementInSVGNamespace||isHTMLIntegrationPoint)return this.document.createElement(tag);// FIXME: This does not properly handle <font> with color, face, or\n// size attributes, which is also disallowed by the spec. We should fix\n// this.\nif(BLACKLIST_TABLE[tag])throw new Error(`Cannot create a ${tag} inside an SVG context`);return ns=isElementInMathMlNamespace?NS_MATHML:NS_SVG,this.document.createElementNS(ns,tag);}insertBefore(parent,node,reference){parent.insertBefore(node,reference);}insertHTMLBefore(parent,nextSibling,html){if(\"\"===html){const comment=this.createComment(\"\");return parent.insertBefore(comment,nextSibling),new ConcreteBounds(parent,comment,comment);}const prev=nextSibling?nextSibling.previousSibling:parent.lastChild;let last;if(null===nextSibling)parent.insertAdjacentHTML(\"beforeend\",html),last=parent.lastChild;else if(nextSibling instanceof HTMLElement)nextSibling.insertAdjacentHTML(\"beforebegin\",html),last=nextSibling.previousSibling;else{// Non-element nodes do not support insertAdjacentHTML, so add an\n// element and call it on that element. Then remove the element.\n// This also protects Edge, IE and Firefox w/o the inspector open\n// from merging adjacent text nodes. See ./compat/text-node-merging-fix.ts\nconst{uselessElement:uselessElement}=this;parent.insertBefore(uselessElement,nextSibling),uselessElement.insertAdjacentHTML(\"beforebegin\",html),last=uselessElement.previousSibling,parent.removeChild(uselessElement);}const first=prev?prev.nextSibling:parent.firstChild;return new ConcreteBounds(parent,first,last);}createTextNode(text){return this.document.createTextNode(text);}createComment(data){return this.document.createComment(data);}}// Patch:    insertAdjacentHTML on SVG Fix\n// Browsers: Safari, IE, Edge, Firefox ~33-34\n// Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n//           present but throws an exception on IE and Edge. Old versions of\n//           Firefox create nodes in the incorrect namespace.\n// Fix:      Since IE and Edge silently fail to create SVG nodes using\n//           innerHTML, and because Firefox may create nodes in the incorrect\n//           namespace using innerHTML on SVG elements, an HTML-string wrapping\n//           approach is used. A pre/post SVG tag is added to the string, then\n//           that whole string is added to a div. The created nodes are plucked\n//           out and applied to the target location on DOM.\nfunction applySVGInnerHTMLFix(document,DOMClass,svgNamespace){if(!document)return DOMClass;if(!function(document,svgNamespace){const svg=document.createElementNS(svgNamespace,\"svg\");try{svg.insertAdjacentHTML(\"beforeend\",\"<circle></circle>\");}catch{// IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n// Safari: Will throw, insertAdjacentHTML is not present on SVG\n}finally{// FF: Old versions will create a node in the wrong namespace\nreturn 1!==svg.childNodes.length||svg.firstChild.namespaceURI!==NS_SVG;// eslint-disable-next-line no-unsafe-finally\n}}// Patch:    Adjacent text node merging fix\n// Browsers: IE, Edge, Firefox w/o inspector open\n// Reason:   These browsers will merge adjacent text nodes. For example given\n//           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n//           with proper behavior will populate div.childNodes with two items.\n//           These browsers will populate it with one merged node instead.\n// Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n//           of that wrapper and move the nodes to their target location. Note\n//           that potential SVG bugs will have been handled before this fix.\n//           Note that this fix must only apply to the previous text node, as\n//           the base implementation of `insertHTMLBefore` already handles\n//           following text nodes correctly.\n(document,svgNamespace))return DOMClass;const div=document.createElement(\"div\");return class extends DOMClass{insertHTMLBefore(parent,nextSibling,html){return\"\"===html||parent.namespaceURI!==svgNamespace?super.insertHTMLBefore(parent,nextSibling,html):function(parent,div,html,reference){let source;// This is important, because descendants of the <foreignObject> integration\n// point are parsed in the HTML namespace\nif(\"FOREIGNOBJECT\"===parent.tagName.toUpperCase()){// IE, Edge: also do not correctly support using `innerHTML` on SVG\n// namespaced elements. So here a wrapper is used.\nconst wrappedHtml=\"<svg><foreignObject>\"+html+\"</foreignObject></svg>\";clearElement(div),div.insertAdjacentHTML(\"afterbegin\",wrappedHtml),// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nsource=div.firstChild.firstChild;}else{// IE, Edge: also do not correctly support using `innerHTML` on SVG\n// namespaced elements. So here a wrapper is used.\nconst wrappedHtml=\"<svg>\"+html+\"</svg>\";clearElement(div),div.insertAdjacentHTML(\"afterbegin\",wrappedHtml),// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nsource=div.firstChild;}return function(source,target,nextSibling){const first=source.firstChild;let last=first,current=first;for(;current;){const next=current.nextSibling;target.insertBefore(current,nextSibling),last=current,current=next;}return new ConcreteBounds(target,first,last);}(source,parent,reference);}(parent,div,html,nextSibling);}};}function applyTextNodeMergingFix(document,DOMClass){return document&&function(document){const mergingTextDiv=document.createElement(\"div\");return mergingTextDiv.appendChild(document.createTextNode(\"first\")),mergingTextDiv.insertAdjacentHTML(\"beforeend\",\"second\"),2!==mergingTextDiv.childNodes.length;}(document)?class extends DOMClass{constructor(document){super(document),this.uselessComment=document.createComment(\"\");}insertHTMLBefore(parent,nextSibling,html){if(\"\"===html)return super.insertHTMLBefore(parent,nextSibling,html);let didSetUselessComment=false;const nextPrevious=nextSibling?nextSibling.previousSibling:parent.lastChild;nextPrevious&&nextPrevious instanceof Text&&(didSetUselessComment=true,parent.insertBefore(this.uselessComment,nextSibling));const bounds=super.insertHTMLBefore(parent,nextSibling,html);return didSetUselessComment&&parent.removeChild(this.uselessComment),bounds;}}:DOMClass;}const doc$1=\"undefined\"==typeof document?null:castToSimple(document);let appliedTreeConstruction=class extends DOMOperations{createElementNS(namespace,tag){return this.document.createElementNS(namespace,tag);}setAttribute(element,name,value,namespace=null){namespace?element.setAttributeNS(namespace,name,value):element.setAttribute(name,value);}};appliedTreeConstruction=applyTextNodeMergingFix(doc$1,appliedTreeConstruction),appliedTreeConstruction=applySVGInnerHTMLFix(doc$1,appliedTreeConstruction,NS_SVG);const DOMTreeConstruction=appliedTreeConstruction;[\"b\",\"big\",\"blockquote\",\"body\",\"br\",\"center\",\"code\",\"dd\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"hr\",\"i\",\"img\",\"li\",\"listing\",\"main\",\"meta\",\"nobr\",\"ol\",\"p\",\"pre\",\"ruby\",\"s\",\"small\",\"span\",\"strong\",\"strike\",\"sub\",\"sup\",\"table\",\"tt\",\"u\",\"ul\",\"var\"].forEach(tag=>BLACKLIST_TABLE[tag]=1);const WHITESPACE=/[\\t\\n\\v\\f\\r \\xa0\\u{1680}\\u{180e}\\u{2000}-\\u{200a}\\u{2028}\\u{2029}\\u{202f}\\u{205f}\\u{3000}\\u{feff}]/u,doc=\"undefined\"==typeof document?null:castToSimple(document);function isWhitespace(string){return WHITESPACE.test(string);}class DOMChangesImpl extends DOMOperations{constructor(document1){super(document1),this.document=document1,this.namespace=null;}setAttribute(element,name,value){element.setAttribute(name,value);}removeAttribute(element,name){element.removeAttribute(name);}insertAfter(element,node,reference){this.insertBefore(element,node,reference.nextSibling);}}let helper$3=DOMChangesImpl;helper$3=applyTextNodeMergingFix(doc,helper$3),helper$3=applySVGInnerHTMLFix(doc,helper$3,NS_SVG);const DOMChanges=helper$3;/*\n           * @method normalizeProperty\n           * @param element {HTMLElement}\n           * @param slotName {String}\n           * @returns {Object} { name, type }\n           */function normalizeProperty(element,slotName){let type,normalized;if(slotName in element)normalized=slotName,type=\"prop\";else{let lower=slotName.toLowerCase();lower in element?(type=\"prop\",normalized=lower):(type=\"attr\",normalized=slotName);}return\"prop\"!==type||\"style\"!==normalized.toLowerCase()&&!function(tagName,propName){let tag=ATTR_OVERRIDES[tagName.toUpperCase()];return!(!tag||!tag[propName.toLowerCase()]);}(element.tagName,normalized)||(type=\"attr\"),{normalized:normalized,type:type};}// properties that MUST be set as attributes, due to:\n// * browser bug\n// * strange spec outlier\nconst ATTR_OVERRIDES={INPUT:{form:true,// Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n// Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n// Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\nautocorrect:true,// Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n// Safari 9.1.3: 'list' in document.createElement('input') === false\nlist:true},// element.form is actually a legitimate readOnly property, that is to be\n// mutated, but must be mutated by setAttribute...\nSELECT:{form:true},OPTION:{form:true},TEXTAREA:{form:true},LABEL:{form:true},FIELDSET:{form:true},LEGEND:{form:true},OBJECT:{form:true},OUTPUT:{form:true},BUTTON:{form:true}},TRANSACTION=Symbol(\"TRANSACTION\");class TransactionImpl{didCreate(component){this.createdComponents.push(component);}didUpdate(component){this.updatedComponents.push(component);}scheduleInstallModifier(modifier){this.scheduledInstallModifiers.push(modifier);}scheduleUpdateModifier(modifier){this.scheduledUpdateModifiers.push(modifier);}commit(){let{createdComponents:createdComponents,updatedComponents:updatedComponents}=this;for(const{manager:manager,state:state}of createdComponents)manager.didCreate(state);for(const{manager:manager,state:state}of updatedComponents)manager.didUpdate(state);let{scheduledInstallModifiers:scheduledInstallModifiers,scheduledUpdateModifiers:scheduledUpdateModifiers}=this;for(const{manager:manager,state:state,definition:definition}of scheduledInstallModifiers){let modifierTag=manager.getTag(state);if(null!==modifierTag){let tag=track(()=>manager.install(state),`- While rendering:\\n  (instance of a \\`${definition.resolvedName||manager.getDebugName(definition.state)}\\` modifier)`);UPDATE_TAG(modifierTag,tag);}else manager.install(state);}for(const{manager:manager,state:state,definition:definition}of scheduledUpdateModifiers){let modifierTag=manager.getTag(state);if(null!==modifierTag){let tag=track(()=>manager.update(state),`- While rendering:\\n  (instance of a \\`${definition.resolvedName||manager.getDebugName(definition.state)}\\` modifier)`);UPDATE_TAG(modifierTag,tag);}else manager.update(state);}}constructor(){this.scheduledInstallModifiers=[],this.scheduledUpdateModifiers=[],this.createdComponents=[],this.updatedComponents=[];}}class EnvironmentImpl{constructor(options,delegate){if(this.delegate=delegate,this[_TRANSACTION]=null,this.isInteractive=delegate.isInteractive,this.debugRenderTree=this.delegate.enableDebugTooling?new DebugRenderTreeImpl():void 0,this.isArgumentCaptureError=this.delegate.enableDebugTooling?isArgumentError:void 0,options.appendOperations)this.appendOperations=options.appendOperations,this.updateOperations=options.updateOperations;else if(options.document)this.appendOperations=new DOMTreeConstruction(options.document),this.updateOperations=new DOMChangesImpl(options.document);else throw new Error(\"you must pass document or appendOperations to a new runtime\");}getAppendOperations(){return this.appendOperations;}getDOM(){return this.updateOperations;}begin(){this[TRANSACTION],this.debugRenderTree?.begin(),this[TRANSACTION]=new TransactionImpl();}get transaction(){return this[TRANSACTION];}didCreate(component){this.transaction.didCreate(component);}didUpdate(component){this.transaction.didUpdate(component);}scheduleInstallModifier(modifier){this.isInteractive&&this.transaction.scheduleInstallModifier(modifier);}scheduleUpdateModifier(modifier){this.isInteractive&&this.transaction.scheduleUpdateModifier(modifier);}commit(){let transaction=this.transaction;this[TRANSACTION]=null,transaction.commit(),this.debugRenderTree?.commit(),this.delegate.onTransactionCommit();}}_TRANSACTION=TRANSACTION;function runtimeOptions(options,delegate,artifacts,resolver){return{env:new EnvironmentImpl(options,delegate),program:new ProgramImpl(artifacts.constants,artifacts.heap),resolver:resolver};}function inTransaction(env,block){if(env[TRANSACTION])block();else{env.begin();try{block();}finally{env.commit();}}}var _TRANSACTION;function internalHelper$1(helper){return setInternalHelperManager(helper,{});}/**\n             Use the `{{array}}` helper to create an array to pass as an option to your\n             components.\n\n             ```handlebars\n             <MyComponent @people={{array\n               'Tom Dale'\n               'Yehuda Katz'\n               this.myOtherPerson}}\n             />\n             ```\n              or\n             ```handlebars\n             {{my-component people=(array\n               'Tom Dale'\n               'Yehuda Katz'\n               this.myOtherPerson)\n             }}\n             ```\n\n             Would result in an object such as:\n\n             ```js\n             ['Tom Dale', 'Yehuda Katz', this.get('myOtherPerson')]\n             ```\n\n             Where the 3rd item in the array is bound to updates of the `myOtherPerson` property.\n\n             @method array\n             @param {Array} options\n             @return {Array} Array\n             @public\n           */const array$1=internalHelper$1(({positional:positional})=>createComputeRef(()=>reifyPositional(positional),null,\"array\")),normalizeTextValue=value=>(value=>null==value||\"function\"!=typeof value.toString)(value)?\"\":String(value),concat$1=internalHelper$1(({positional:positional})=>createComputeRef(()=>reifyPositional(positional).map(normalizeTextValue).join(\"\"),null,\"concat\")),context=buildUntouchableThis(\"`fn` helper\"),fn$1=internalHelper$1(({positional:positional})=>{let callbackRef=positional[0];return createComputeRef(()=>(...invocationArgs)=>{let[fn,...args]=reifyPositional(positional);if(function(callbackRef){if(!callbackRef||!isInvokableRef(callbackRef)&&\"function\"!=typeof valueForRef(callbackRef))throw new Error(`You must pass a function as the \\`fn\\` helper's first argument, you passed ${callbackRef?valueForRef(callbackRef):callbackRef}. While rendering:\\n\\n${callbackRef?.debugLabel}`);}/**\n                Dynamically look up a property on an object. The second argument to `{{get}}`\n                should have a string value, although it can be bound.\n                For example, these two usages are equivalent:\n                ```app/components/developer-detail.js\n                import Component from '@glimmer/component';\n                import { tracked } from '@glimmer/tracking';\n                export default class extends Component {\n                @tracked developer = {\n                name: \"Sandi Metz\",\n                language: \"Ruby\"\n                }\n                }\n                ```\n                ```handlebars\n                {{this.developer.name}}\n                {{get this.developer \"name\"}}\n                ```\n                If there were several facts about a person, the `{{get}}` helper can dynamically\n                pick one:\n                ```app/templates/application.hbs\n                <DeveloperDetail @factName=\"language\" />\n                ```\n                ```handlebars\n                {{get this.developer @factName}}\n                ```\n                For a more complex example, this template would allow the user to switch\n                between showing the user's height and weight with a click:\n                ```app/components/developer-detail.js\n                import Component from '@glimmer/component';\n                import { tracked } from '@glimmer/tracking';\n                export default class extends Component {\n                @tracked developer = {\n                name: \"Sandi Metz\",\n                language: \"Ruby\"\n                }\n                @tracked currentFact = 'name'\n                showFact = (fact) => {\n                this.currentFact = fact;\n                }\n                }\n                ```\n                ```app/components/developer-detail.js\n                {{get this.developer this.currentFact}}\n                <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n                <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n                ```\n                The `{{get}}` helper can also respect mutable values itself. For example:\n                ```app/components/developer-detail.js\n                <Input @value={{mut (get this.person this.currentFact)}} />\n                <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n                <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n                ```\n                Would allow the user to swap what fact is being displayed, and also edit\n                that fact via a two-way mutable binding.\n                @public\n                @method get\n                */(callbackRef),!isInvokableRef(callbackRef))// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- @fixme\nreturn fn.call(context,...args,...invocationArgs);{let value=args.length>0?args[0]:invocationArgs[0];updateRef(callbackRef,value);}},null,\"fn\");}),get$1=internalHelper$1(({positional:positional})=>{let sourceRef=positional[0]??UNDEFINED_REFERENCE,pathRef=positional[1]??UNDEFINED_REFERENCE;return createComputeRef(()=>{let source=valueForRef(sourceRef);if(isDict(source))return getPath$1(source,String(valueForRef(pathRef)));},value=>{let source=valueForRef(sourceRef);if(isDict(source))return setPath(source,String(valueForRef(pathRef)),value);},\"get\");}),hash$1=internalHelper$1(({named:named})=>{let ref=createComputeRef(()=>reifyNamed(named),null,\"hash\"),children=new Map();// Setup the children so that templates can bypass getting the value of\n// the reference and treat children lazily\nfor(let name in named)children.set(name,named[name]);return ref.children=children,ref;});let ARGS_CACHES=new WeakMap();function getArgs(proxy){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreturn getValue(ARGS_CACHES.get(proxy));}class SimpleArgsProxy{constructor(context,computeArgs=()=>EMPTY_ARGS){let argsCache=createCache(()=>computeArgs(context));// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nARGS_CACHES.set(this,argsCache),Object.freeze(this);}get named(){return getArgs(this).named||EMPTY_NAMED;}get positional(){return getArgs(this).positional||EMPTY_POSITIONAL;}}////////////\nfunction invokeHelper$1(context,definition,computeArgs){// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- JS usage\nif(\"object\"!=typeof context||null===context)throw new Error(`Expected a context object to be passed as the first parameter to invokeHelper, got ${context}`);const owner=getOwner$3(context),internalManager=getInternalHelperManager(definition);if(\"function\"==typeof internalManager)throw new Error(\"Found a helper manager, but it was an internal built-in helper manager. `invokeHelper` does not support internal helpers yet.\");const manager=internalManager.getDelegateFor(owner);let cache,args=new SimpleArgsProxy(context,computeArgs),bucket=manager.createHelper(definition,args);if(!hasValue(manager))throw new Error(\"TODO: unreachable, to be implemented with hasScheduledEffect\");if(cache=createCache(()=>{if(isDestroying(cache)||isDestroyed(cache))throw new Error(\"You attempted to get the value of a helper after the helper was destroyed, which is not allowed\");return manager.getValue(bucket);}),associateDestroyableChild(context,cache),hasDestroyable(manager)){let destroyable=manager.getDestroyable(bucket);associateDestroyableChild(cache,destroyable);}return cache;}const untouchableContext=buildUntouchableThis(\"`on` modifier\");class OnModifierState{constructor(element,args){this.tag=createUpdatableTag(),this.listener=null,this.element=element,this.args=args,registerDestructor$1(this,()=>{let{element:element,listener:listener}=this;if(listener){let{eventName:eventName,callback:callback,options:options}=listener;removeEventListener(element,eventName,callback,options);}});}// Update this.listener if needed\nupdateListener(){let{element:element,args:args,listener:listener}=this;args.positional[0];let eventName=valueForRef(args.positional[0]);args.positional[1];let once,passive,capture,userProvidedCallback=valueForRef(args.positional[1]);if(2!==args.positional.length)throw new Error(`You can only pass two positional arguments (event name and callback) to the \\`on\\` modifier, but you provided ${args.positional.length}. Consider using the \\`fn\\` helper to provide additional arguments to the \\`on\\` callback.`);{let{once:_once,passive:_passive,capture:_capture,...extra}=reifyNamed(args.named);if(once=_once,passive=_passive,capture=_capture,Object.keys(extra).length>0)throw new Error(`You can only \\`once\\`, \\`passive\\` or \\`capture\\` named arguments to the \\`on\\` modifier, but you provided ${Object.keys(extra).join(\", \")}.`);}let options,shouldUpdate=false;if(shouldUpdate=null===listener||eventName!==listener.eventName||userProvidedCallback!==listener.userProvidedCallback||once!==listener.once||passive!==listener.passive||capture!==listener.capture,// we want to handle both `true` and `false` because both have a meaning:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=770208\nshouldUpdate&&(void 0===once&&void 0===passive&&void 0===capture||(options={once:once,passive:passive,capture:capture})),shouldUpdate){let callback=userProvidedCallback;if(callback=userProvidedCallback.bind(untouchableContext),passive){let _callback=callback;callback=event=>(event.preventDefault=()=>{throw new Error(`You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n${userProvidedCallback.name||\"{anonymous function}\"}`);},_callback(event));}this.listener={eventName:eventName,callback:callback,userProvidedCallback:userProvidedCallback,once:once,passive:passive,capture:capture,options:options},listener&&removeEventListener(element,listener.eventName,listener.callback,listener.options),function(element,eventName,callback,options){adds++,element.addEventListener(eventName,callback,options);}/**\n                The `{{on}}` modifier lets you easily add event listeners (it uses\n                [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n                internally).\n                For example, if you'd like to run a function on your component when a `<button>`\n                in the components template is clicked you might do something like:\n                ```app/components/like-post.hbs\n                <button {{on 'click' this.saveLike}}>Like this post!</button>\n                ```\n                ```app/components/like-post.js\n                import Component from '@glimmer/component';\n                import { action } from '@ember/object';\n                export default class LikePostComponent extends Component {\n                saveLike = () => {\n                // someone likes your post!\n                // better send a request off to your server...\n                }\n                }\n                ```\n                ### Arguments\n                `{{on}}` accepts two positional arguments, and a few named arguments.\n                The positional arguments are:\n                - `event` -- the name to use when calling `addEventListener`\n                - `callback` -- the function to be passed to `addEventListener`\n                The named arguments are:\n                - capture -- a `true` value indicates that events of this type will be dispatched\n                to the registered listener before being dispatched to any EventTarget beneath it\n                in the DOM tree.\n                - once -- indicates that the listener should be invoked at most once after being\n                added. If true, the listener would be automatically removed when invoked.\n                - passive -- if `true`, indicates that the function specified by listener will never\n                call preventDefault(). If a passive listener does call preventDefault(), the user\n                agent will do nothing other than generate a console warning. See\n                [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n                to learn more.\n                The callback function passed to `{{on}}` will receive any arguments that are passed\n                to the event handler. Most commonly this would be the `event` itself.\n                If you would like to pass additional arguments to the function you should use\n                the `{{fn}}` helper.\n                For example, in our example case above if you'd like to pass in the post that\n                was being liked when the button is clicked you could do something like:\n                ```app/components/like-post.hbs\n                <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n                ```\n                In this case, the `saveLike` function will receive two arguments: the click event\n                and the value of `@post`.\n                ### Function Context\n                In the example above, we used an arrow function to ensure that `likePost` is\n                properly bound to the `items-list`, but let's explore what happens if we\n                left out the arrow function:\n                ```app/components/like-post.js\n                import Component from '@glimmer/component';\n                export default class LikePostComponent extends Component {\n                saveLike() {\n                // ...snip...\n                }\n                }\n                ```\n                In this example, when the button is clicked `saveLike` will be invoked,\n                it will **not** have access to the component instance. In other\n                words, it will have no `this` context, so please make sure your functions\n                are bound (via an arrow function or other means) before passing into `on`!\n                @method on\n                @public\n                */(element,eventName,callback,options);}}}let adds=0,removes=0;function removeEventListener(element,eventName,callback,options){removes++,element.removeEventListener(eventName,callback,options);}const on$1=setInternalModifierManager(new class{getDebugName(){return\"on\";}getDebugInstance(){return null;}get counters(){return{adds:adds,removes:removes};}create(_owner,element,_state,args){return new OnModifierState(element,args);}getTag({tag:tag}){return tag;}install(state){state.updateListener();}update(state){state.updateListener();}getDestroyable(state){return state;}}(),{});class LowLevelVM{constructor(stack,context,externs,registers){this.stack=stack,this.externs=externs,this.currentOpSize=0,this.context=context,this.registers=registers;}fetchRegister(register){return this.registers[register];}loadRegister(register,value){this.registers[register]=value;}setPc(pc){this.registers[$pc]=pc;}// Start a new frame and save $ra and $fp on the stack\npushFrame(){this.stack.push(this.registers[$ra]),this.stack.push(this.registers[$fp]),this.registers[$fp]=this.registers[$sp]-1;}// Restore $ra, $sp and $fp\npopFrame(){this.registers[$sp]=this.registers[$fp]-1,this.registers[$ra]=this.stack.get(0),this.registers[$fp]=this.stack.get(1);}pushSmallFrame(){this.stack.push(this.registers[$ra]);}popSmallFrame(){this.registers[$ra]=this.stack.pop();}// Jump to an address in `program`\ngoto(offset){this.setPc(this.target(offset));}target(offset){return this.registers[$pc]+offset-this.currentOpSize;}// Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\ncall(handle){this.registers[$ra]=this.registers[$pc],this.setPc(this.context.program.heap.getaddr(handle));}// Put a specific `program` address in $ra\nreturnTo(offset){this.registers[$ra]=this.target(offset);}// Return to the `program` address stored in $ra\nreturn(){this.setPc(this.registers[$ra]);}nextStatement(){let{registers:registers,context:context}=this,pc=registers[$pc];if(-1===pc)return null;// We have to save off the current operations size so that\n// when we do a jump we can calculate the correct offset\n// to where we are going. We can't simply ask for the size\n// in a jump because we have have already incremented the\n// program counter to the next instruction prior to executing.\nlet opcode=context.program.opcode(pc),operationSize=this.currentOpSize=opcode.size;return this.registers[$pc]+=operationSize,opcode;}evaluateOuter(opcode,vm){this.evaluateInner(opcode,vm);}evaluateInner(opcode,vm){opcode.isMachine?this.evaluateMachine(opcode,vm):this.evaluateSyscall(opcode,vm);}evaluateMachine(opcode,vm){switch(opcode.type){case 0:return void this.pushFrame();case 1:return void this.popFrame();case 3:return void this.call(opcode.op1);case 2:return void vm.call(this.stack.pop());case 4:return void this.goto(opcode.op1);case 5:return void vm.return();case 6:return void this.returnTo(opcode.op1);}}evaluateSyscall(opcode,vm){APPEND_OPCODES.evaluate(vm,opcode,opcode.type);}}const badProtocols=[\"javascript:\",\"vbscript:\"],badTags=[\"A\",\"BODY\",\"LINK\",\"IMG\",\"IFRAME\",\"BASE\",\"FORM\"],badTagsForDataURI=[\"EMBED\"],badAttributes=[\"href\",\"src\",\"background\",\"action\"],badAttributesForDataURI=[\"src\"];function has(array,item){return-1!==array.indexOf(item);}function checkURI(tagName,attribute){return(null===tagName||has(badTags,tagName))&&has(badAttributes,attribute);}function checkDataURI(tagName,attribute){return null!==tagName&&has(badTagsForDataURI,tagName)&&has(badAttributesForDataURI,attribute);}function requiresSanitization(tagName,attribute){return checkURI(tagName,attribute)||checkDataURI(tagName,attribute);}let _protocolForUrlImplementation,DebugStyleAttributeManager;function sanitizeAttributeValue(element,attribute,value){if(null==value)return value;if(isSafeString(value))return value.toHTML();const tagName=element.tagName.toUpperCase();let str=normalizeStringValue(value);if(checkURI(tagName,attribute)){let protocol=(url=str,_protocolForUrlImplementation||(_protocolForUrlImplementation=function(){const weirdURL=URL;if(\"object\"==typeof weirdURL&&null!==weirdURL&&// this is super annoying, TS thinks that URL **must** be a function so `URL.parse` check\n// thinks it is `never` without this `as unknown as any`\n\"function\"==typeof weirdURL.parse){// In Ember-land the `fastboot` package sets the `URL` global to `require('url')`\n// ultimately, this should be changed (so that we can either rely on the natural `URL` global\n// that exists) but for now we have to detect the specific `FastBoot` case first\n// a future version of `fastboot` will detect if this legacy URL setup is required (by\n// inspecting Ember version) and if new enough, it will avoid shadowing the `URL` global\n// constructor with `require('url')`.\nlet nodeURL=weirdURL;return url=>{let protocol=null;return\"string\"==typeof url&&(protocol=nodeURL.parse(url).protocol),null===protocol?\":\":protocol;};}if(\"function\"==typeof weirdURL)return _url=>{try{return new weirdURL(_url).protocol;}catch{// any non-fully qualified url string will trigger an error (because there is no\n// baseURI that we can provide; in that case we **know** that the protocol is\n// \"safe\" because it isn't specifically one of the `badProtocols` listed above\n// (and those protocols can never be the default baseURI)\nreturn\":\";}};throw new Error('@glimmer/runtime needs a valid \"globalThis.URL\"');}()),_protocolForUrlImplementation(url));if(has(badProtocols,protocol))return`unsafe:${str}`;}var url;return checkDataURI(tagName,attribute)?`unsafe:${str}`:str;}function dynamicAttribute(element,attr,namespace,isTrusting=false){const{tagName:tagName,namespaceURI:namespaceURI}=element,attribute={element:element,name:attr,namespace:namespace};if(\"style\"===attr&&!isTrusting)return new DebugStyleAttributeManager(attribute);if(namespaceURI===NS_SVG)return buildDynamicAttribute(tagName,attr,attribute);const{type:type,normalized:normalized}=normalizeProperty(element,attr);return\"attr\"===type?buildDynamicAttribute(tagName,normalized,attribute):function(tagName,name,attribute){return requiresSanitization(tagName,name)?new SafeDynamicProperty(name,attribute):function(tagName,attribute){return(\"INPUT\"===tagName||\"TEXTAREA\"===tagName)&&\"value\"===attribute;}(tagName,name)?new InputValueDynamicAttribute(name,attribute):function(tagName,attribute){return\"OPTION\"===tagName&&\"selected\"===attribute;}(tagName,name)?new OptionSelectedDynamicAttribute(name,attribute):new DefaultDynamicProperty(name,attribute);}(tagName,normalized,attribute);}function buildDynamicAttribute(tagName,name,attribute){return requiresSanitization(tagName,name)?new SafeDynamicAttribute(attribute):new SimpleDynamicAttribute(attribute);}class DynamicAttribute{constructor(attribute){this.attribute=attribute;}}class SimpleDynamicAttribute extends DynamicAttribute{set(dom,value,_env){const normalizedValue=normalizeValue(value);if(null!==normalizedValue){const{name:name,namespace:namespace}=this.attribute;dom.__setAttribute(name,normalizedValue,namespace);}}update(value,_env){const normalizedValue=normalizeValue(value),{element:element,name:name}=this.attribute;null===normalizedValue?element.removeAttribute(name):element.setAttribute(name,normalizedValue);}}class DefaultDynamicProperty extends DynamicAttribute{constructor(normalizedName,attribute){super(attribute),this.normalizedName=normalizedName;}set(dom,value,_env){null!=value&&(this.value=value,dom.__setProperty(this.normalizedName,value));}update(value,_env){const{element:element}=this.attribute;this.value!==value&&(element[this.normalizedName]=this.value=value,null==value&&this.removeAttribute());}removeAttribute(){// TODO this sucks but to preserve properties first and to meet current\n// semantics we must do this.\nconst{element:element,namespace:namespace}=this.attribute;namespace?element.removeAttributeNS(namespace,this.normalizedName):element.removeAttribute(this.normalizedName);}}class SafeDynamicProperty extends DefaultDynamicProperty{set(dom,value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.set(dom,sanitized,env);}update(value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.update(sanitized,env);}}class SafeDynamicAttribute extends SimpleDynamicAttribute{set(dom,value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.set(dom,sanitized,env);}update(value,env){const{element:element,name:name}=this.attribute,sanitized=sanitizeAttributeValue(element,name,value);super.update(sanitized,env);}}class InputValueDynamicAttribute extends DefaultDynamicProperty{set(dom,value){dom.__setProperty(\"value\",normalizeStringValue(value));}update(value){const input=this.attribute.element,currentValue=input.value,normalizedValue=normalizeStringValue(value);currentValue!==normalizedValue&&(input.value=normalizedValue);}}class OptionSelectedDynamicAttribute extends DefaultDynamicProperty{set(dom,value){null!=value&&false!==value&&dom.__setProperty(\"selected\",true);}update(value){this.attribute.element.selected=!!value;}}function normalizeValue(value){return false===value||null==value||void 0===value.toString?null:true===value?\"\":// onclick function etc in SSR\n\"function\"==typeof value?null:String(value);}DebugStyleAttributeManager=class extends SimpleDynamicAttribute{set(dom,value,env){warnIfStyleNotTrusted(value),super.set(dom,value,env);}update(value,env){warnIfStyleNotTrusted(value),super.update(value,env);}};class First{constructor(node){this.node=node;}firstNode(){return this.node;}}class Last{constructor(node){this.node=node;}lastNode(){return this.node;}}class NewTreeBuilder{static forInitialRender(env,cursor){return new this(env,cursor.element,cursor.nextSibling).initialize();}static resume(env,block){let stack=new this(env,block.parentElement(),block.reset(env)).initialize();return stack.pushBlock(block),stack;}constructor(env,parentNode,nextSibling){this.constructing=null,this.operations=null,this.cursors=new StackImpl(),this.modifierStack=new StackImpl(),this.blockStack=new StackImpl(),this.pushElement(parentNode,nextSibling),this.env=env,this.dom=env.getAppendOperations(),this.updateOperations=env.getDOM();}initialize(){return this.pushAppendingBlock(),this;}debugBlocks(){return this.blockStack.toArray();}get element(){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreturn this.cursors.current.element;}get nextSibling(){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreturn this.cursors.current.nextSibling;}get hasBlocks(){return this.blockStack.size>0;}block(){return this.blockStack.current;}popElement(){this.cursors.pop(),this.cursors.current;}pushAppendingBlock(){return this.pushBlock(new AppendingBlockImpl(this.element));}pushResettableBlock(){return this.pushBlock(new ResettableBlockImpl(this.element));}pushBlockList(list){return this.pushBlock(new AppendingBlockList(this.element,list));}pushBlock(block,isRemote=false){let current=this.blockStack.current;return null!==current&&(isRemote||current.didAppendBounds(block)),this.__openBlock(),this.blockStack.push(block),block;}popBlock(){return this.block().finalize(this),this.__closeBlock(),this.blockStack.pop();}__openBlock(){}__closeBlock(){}// todo return seems unused\nopenElement(tag){let element=this.__openElement(tag);return this.constructing=element,element;}__openElement(tag){return this.dom.createElement(tag,this.element);}flushElement(modifiers){let parent=this.element,element=this.constructing;this.__flushElement(parent,element),this.constructing=null,this.operations=null,this.pushModifiers(modifiers),this.pushElement(element,null),this.didOpenElement(element);}__flushElement(parent,constructing){this.dom.insertBefore(parent,constructing,this.nextSibling);}closeElement(){return this.willCloseElement(),this.popElement(),this.popModifiers();}pushRemoteElement(element,guid,insertBefore){return this.__pushRemoteElement(element,guid,insertBefore);}__pushRemoteElement(element,_guid,insertBefore){if(this.pushElement(element,insertBefore),void 0===insertBefore)for(;element.lastChild;)element.removeChild(element.lastChild);let block=new RemoteBlock(element);return this.pushBlock(block,true);}popRemoteElement(){const block=this.popBlock();return this.popElement(),block;}pushElement(element,nextSibling=null){this.cursors.push(new CursorImpl(element,nextSibling));}pushModifiers(modifiers){this.modifierStack.push(modifiers);}popModifiers(){return this.modifierStack.pop();}didAppendBounds(bounds){return this.block().didAppendBounds(bounds),bounds;}didAppendNode(node){return this.block().didAppendNode(node),node;}didOpenElement(element){return this.block().openElement(element),element;}willCloseElement(){this.block().closeElement();}appendText(string){return this.didAppendNode(this.__appendText(string));}__appendText(text){let{dom:dom,element:element,nextSibling:nextSibling}=this,node=dom.createTextNode(text);return dom.insertBefore(element,node,nextSibling),node;}__appendNode(node){return this.dom.insertBefore(this.element,node,this.nextSibling),node;}__appendFragment(fragment){let first=fragment.firstChild;if(first){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet ret=new ConcreteBounds(this.element,first,fragment.lastChild);return this.dom.insertBefore(this.element,fragment,this.nextSibling),ret;}{const comment=this.__appendComment(\"\");return new ConcreteBounds(this.element,comment,comment);}}__appendHTML(html){return this.dom.insertHTMLBefore(this.element,this.nextSibling,html);}appendDynamicHTML(value){let bounds=this.trustedContent(value);this.didAppendBounds(bounds);}appendDynamicText(value){let node=this.untrustedContent(value);return this.didAppendNode(node),node;}appendDynamicFragment(value){let bounds=this.__appendFragment(value);this.didAppendBounds(bounds);}appendDynamicNode(value){let node=this.__appendNode(value),bounds=new ConcreteBounds(this.element,node,node);this.didAppendBounds(bounds);}trustedContent(value){return this.__appendHTML(value);}untrustedContent(value){return this.__appendText(value);}appendComment(string){return this.didAppendNode(this.__appendComment(string));}__appendComment(string){let{dom:dom,element:element,nextSibling:nextSibling}=this,node=dom.createComment(string);return dom.insertBefore(element,node,nextSibling),node;}__setAttribute(name,value,namespace){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthis.dom.setAttribute(this.constructing,name,value,namespace);}__setProperty(name,value){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthis.constructing[name]=value;}setStaticAttribute(name,value,namespace){this.__setAttribute(name,value,namespace);}setDynamicAttribute(name,value,trusting,namespace){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet attribute=dynamicAttribute(this.constructing,name,namespace,trusting);return attribute.set(this,value,this.env),attribute;}}class AppendingBlockImpl{constructor(parent){this.parent=parent,this.first=null,this.last=null,this.nesting=0;}parentElement(){return this.parent;}firstNode(){return this.first.firstNode();}lastNode(){return this.last.lastNode();}openElement(element){this.didAppendNode(element),this.nesting++;}closeElement(){this.nesting--;}didAppendNode(node){0===this.nesting&&(this.first||(this.first=new First(node)),this.last=new Last(node));}didAppendBounds(bounds){0===this.nesting&&(this.first||(this.first=bounds),this.last=bounds);}finalize(stack){null===this.first&&stack.appendComment(\"\");}}class RemoteBlock extends AppendingBlockImpl{constructor(parent){super(parent),registerDestructor$1(this,()=>{// In general, you only need to clear the root of a hierarchy, and should never\n// need to clear any child nodes. This is an important constraint that gives us\n// a strong guarantee that clearing a subtree is a single DOM operation.\n// Because remote blocks are not normally physically nested inside of the tree\n// that they are logically nested inside, we manually clear remote blocks when\n// a logical parent is cleared.\n// HOWEVER, it is currently possible for a remote block to be physically nested\n// inside of the block it is logically contained inside of. This happens when\n// the remote block is appended to the end of the application's entire element.\n// The problem with that scenario is that Glimmer believes that it owns more of\n// the DOM than it actually does. The code is attempting to write past the end\n// of the Glimmer-managed root, but Glimmer isn't aware of that.\n// The correct solution to that problem is for Glimmer to be aware of the end\n// of the bounds that it owns, and once we make that change, this check could\n// be removed.\n// For now, a more targeted fix is to check whether the node was already removed\n// and avoid clearing the node if it was. In most cases this shouldn't happen,\n// so this might hide bugs where the code clears nested nodes unnecessarily,\n// so we should eventually try to do the correct fix.\nthis.parentElement()===this.firstNode().parentNode&&clear(this);});}}class ResettableBlockImpl extends AppendingBlockImpl{constructor(parent){super(parent);}reset(){destroy(this);let nextSibling=clear(this);return this.first=null,this.last=null,this.nesting=0,nextSibling;}}// FIXME: All the noops in here indicate a modelling problem\nclass AppendingBlockList{constructor(parent,boundList){this.parent=parent,this.boundList=boundList,this.parent=parent,this.boundList=boundList;}parentElement(){return this.parent;}firstNode(){return this.boundList[0].firstNode();}lastNode(){let boundList=this.boundList;return boundList[boundList.length-1].lastNode();}openElement(_element){}closeElement(){}didAppendNode(_node){}didAppendBounds(_bounds){}finalize(_stack){this.boundList.length;}}function clientBuilder(env,cursor){return NewTreeBuilder.forInitialRender(env,cursor);}class UpdatingVM{constructor(env,{alwaysRevalidate=false}){this.frameStack=new StackImpl(),this.env=env,this.dom=env.getDOM(),this.alwaysRevalidate=alwaysRevalidate;}execute(opcodes,handler){{let hasErrored=true;try{// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\ndebug.runInTrackingTransaction(()=>this._execute(opcodes,handler),\"- While rendering:\"),// using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n// which would happen with a `catch` + `throw`\nhasErrored=!1;}finally{hasErrored&&// eslint-disable-next-line no-console\nconsole.error(`\\n\\nError occurred:\\n\\n${resetTracking()}\\n\\n`);}}}_execute(opcodes,handler){let{frameStack:frameStack}=this;for(this.try(opcodes,handler);!frameStack.isEmpty();){let opcode=this.frame.nextStatement();void 0!==opcode?opcode.evaluate(this):frameStack.pop();}}get frame(){return this.frameStack.current;}goto(index){this.frame.goto(index);}try(ops,handler){this.frameStack.push(new UpdatingVMFrame(ops,handler));}throw(){this.frame.handleException(),this.frameStack.pop();}}class BlockOpcode{constructor(state,context,bounds,children){this.state=state,this.context=context,this.children=children,this.bounds=bounds;}parentElement(){return this.bounds.parentElement();}firstNode(){return this.bounds.firstNode();}lastNode(){return this.bounds.lastNode();}evaluate(vm){vm.try(this.children,null);}}class TryOpcode extends BlockOpcode{evaluate(vm){vm.try(this.children,this);}handleException(){let{state:state,bounds:bounds,context:{env:env}}=this;destroyChildren(this);let tree=NewTreeBuilder.resume(env,bounds),vm=state.evaluate(tree),children=this.children=[],result=vm.execute(vm=>{vm.updateWith(this),vm.pushUpdating(children);});associateDestroyableChild(this,result.drop);}constructor(...args){super(...args),this.type=\"try\";}}class ListItemOpcode extends TryOpcode{constructor(state,context,bounds,key,memo,value){super(state,context,bounds,[]),this.key=key,this.memo=memo,this.value=value,this.retained=false,this.index=-1;}shouldRemove(){return!this.retained;}reset(){this.retained=false;}}class ListBlockOpcode extends BlockOpcode{constructor(state,context,bounds,children,iterableRef){super(state,context,bounds,children),this.iterableRef=iterableRef,this.type=\"list-block\",this.opcodeMap=new Map(),this.marker=null,this.lastIterator=valueForRef(iterableRef);}initializeChild(opcode){opcode.index=this.children.length-1,this.opcodeMap.set(opcode.key,opcode);}evaluate(vm){let iterator=valueForRef(this.iterableRef);if(this.lastIterator!==iterator){let{bounds:bounds}=this,{dom:dom}=vm,marker=this.marker=dom.createComment(\"\");dom.insertAfter(bounds.parentElement(),marker,bounds.lastNode()),this.sync(iterator),this.parentElement().removeChild(marker),this.marker=null,this.lastIterator=iterator;}// Run now-updated updating opcodes\nsuper.evaluate(vm);}sync(iterator){let{opcodeMap:itemMap,children:children}=this,currentOpcodeIndex=0,seenIndex=0;for(this.children=this.bounds.boundList=[];;){let item=iterator.next();if(null===item)break;let opcode=children[currentOpcodeIndex],{key:key}=item;// Items that have already been found and moved will already be retained,\n// we can continue until we find the next unretained item\nfor(;void 0!==opcode&&opcode.retained;)opcode=children[++currentOpcodeIndex];if(void 0!==opcode&&opcode.key===key)this.retainItem(opcode,item),currentOpcodeIndex++;else if(itemMap.has(key)){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet itemOpcode=itemMap.get(key);// The item opcode was seen already, so we should move it.\nif(itemOpcode.index<seenIndex)this.moveItem(itemOpcode,item,opcode);else{// Update the seen index, we are going to be moving this item around\n// so any other items that come before it will likely need to move as\n// well.\nseenIndex=itemOpcode.index;let seenUnretained=false;// iterate through all of the opcodes between the current position and\n// the position of the item's opcode, and determine if they are all\n// retained.\nfor(let i=currentOpcodeIndex+1;i<seenIndex;i++)if(!children[i].retained){seenUnretained=true;break;}// If we have seen only retained opcodes between this and the matching\n// opcode, it means that all the opcodes in between have been moved\n// already, and we can safely retain this item's opcode.\nseenUnretained?(this.moveItem(itemOpcode,item,opcode),currentOpcodeIndex++):(this.retainItem(itemOpcode,item),currentOpcodeIndex=seenIndex+1);}}else this.insertItem(item,opcode);}for(const opcode of children)opcode.retained?opcode.reset():this.deleteItem(opcode);}retainItem(opcode,item){let{children:children}=this;updateRef(opcode.memo,item.memo),updateRef(opcode.value,item.value),opcode.retained=true,opcode.index=children.length,children.push(opcode);}insertItem(item,before){let{opcodeMap:opcodeMap,bounds:bounds,state:state,children:children,context:{env:env}}=this,{key:key}=item,nextSibling=void 0===before?this.marker:before.firstNode(),elementStack=NewTreeBuilder.forInitialRender(env,{element:bounds.parentElement(),nextSibling:nextSibling});state.evaluate(elementStack).execute(vm=>{let opcode=vm.enterItem(item);opcode.index=children.length,children.push(opcode),opcodeMap.set(key,opcode),associateDestroyableChild(this,opcode);});}moveItem(opcode,item,before){let currentSibling,nextSibling,{children:children}=this;updateRef(opcode.memo,item.memo),updateRef(opcode.value,item.value),opcode.retained=true,void 0===before?move(opcode,this.marker):(currentSibling=opcode.lastNode().nextSibling,nextSibling=before.firstNode(),// Items are moved throughout the algorithm, so there are cases where the\n// the items already happen to be siblings (e.g. an item in between was\n// moved before this move happened). Check to see if they are siblings\n// first before doing the move.\ncurrentSibling!==nextSibling&&move(opcode,nextSibling)),opcode.index=children.length,children.push(opcode);}deleteItem(opcode){destroy(opcode),clear(opcode),this.opcodeMap.delete(opcode.key);}}class UpdatingVMFrame{constructor(ops,exceptionHandler){this.ops=ops,this.exceptionHandler=exceptionHandler,this.current=0;}goto(index){this.current=index;}nextStatement(){return this.ops[this.current++];}handleException(){this.exceptionHandler&&this.exceptionHandler.handleException();}}class RenderResultImpl{constructor(env,updating,bounds,drop){this.env=env,this.updating=updating,this.bounds=bounds,this.drop=drop,associateDestroyableChild(this,drop),registerDestructor$1(this,()=>clear(this.bounds));}rerender({alwaysRevalidate=false}={alwaysRevalidate:false}){let{env:env,updating:updating}=this;new UpdatingVM(env,{alwaysRevalidate:alwaysRevalidate}).execute(updating,this);}parentElement(){return this.bounds.parentElement();}firstNode(){return this.bounds.firstNode();}lastNode(){return this.bounds.lastNode();}handleException(){}}class EvaluationStackImpl{static restore(snapshot,pc){const stack=new this(snapshot.slice(),[0,-1,snapshot.length-1,0]);return stack.registers[$pc]=pc,stack.registers[$sp]=snapshot.length-1,stack.registers[$fp]=-1,stack;}// fp -> sp\nconstructor(stack=[],registers){this.stack=stack,this.registers=registers;}push(value){this.stack[++this.registers[$sp]]=value;}dup(position=this.registers[$sp]){this.stack[++this.registers[$sp]]=this.stack[position];}copy(from,to){this.stack[to]=this.stack[from];}pop(n=1){let top=this.stack[this.registers[$sp]];return this.registers[$sp]-=n,top;}peek(offset=0){return this.stack[this.registers[$sp]-offset];}get(offset,base=this.registers[$fp]){return this.stack[base+offset];}set(value,offset,base=this.registers[$fp]){this.stack[base+offset]=value;}slice(start,end){return this.stack.slice(start,end);}capture(items){let end=this.registers[$sp]+1,start=end-items;return this.stack.slice(start,end);}reset(){this.stack.length=0;}}class Stacks{constructor(scope,dynamicScope){this.drop={},this.scope=new StackImpl(),this.dynamicScope=new StackImpl(),this.updating=new StackImpl(),this.cache=new StackImpl(),this.list=new StackImpl(),this.destroyable=new StackImpl(),this.scope.push(scope),this.dynamicScope.push(dynamicScope),this.destroyable.push(this.drop);}}var _stacks=/*#__PURE__*/new WeakMap();var _registers=/*#__PURE__*/new WeakMap();var _tree=/*#__PURE__*/new WeakMap();class VM{get stack(){return this.lowlevel.stack;}/* Registers */get pc(){return this.lowlevel.fetchRegister($pc);}/**\n            * Fetch a value from a syscall register onto the stack.\n            *\n            * ## Opcodes\n            *\n            * - Append: `Fetch`\n            *\n            * ## State changes\n            *\n            * [!] push Eval Stack <- $register\n            */fetch(register){let value=this.fetchValue(register);this.stack.push(value);}/**\n            * Load a value from the stack into a syscall register.\n            *\n            * ## Opcodes\n            *\n            * - Append: `Load`\n            *\n            * ## State changes\n            *\n            * [!] pop Eval Stack -> `value`\n            * [$] $register <- `value`\n            */load(register){let value=this.stack.pop();this.loadValue(register,value);}/**\n            * Load a value into a syscall register.\n            *\n            * ## State changes\n            *\n            * [$] $register <- `value`\n            *\n            * @utility\n            */loadValue(register,value){_classPrivateFieldGet(_registers,this)[register]=value;}fetchValue(register){return isLowLevelRegister(register)?this.lowlevel.fetchRegister(register):_classPrivateFieldGet(_registers,this)[register];}// Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\ncall(handle){null!==handle&&this.lowlevel.call(handle);}// Return to the `program` address stored in $ra\nreturn(){this.lowlevel.return();}constructor({scope:scope,dynamicScope:dynamicScope,stack:stack,pc:pc},context,tree){_classPrivateFieldInitSpec(this,_stacks,void 0);_classPrivateFieldInitSpec(this,_registers,void 0);_classPrivateFieldInitSpec(this,_tree,void 0);_classPrivateFieldSet(_registers,this,[null,null,null,null,null,null,null,null,null]),// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nassertGlobalContextWasSet();let evalStack=EvaluationStackImpl.restore(stack,pc);_classPrivateFieldSet(_tree,this,tree),this.context=context,_classPrivateFieldSet(_stacks,this,new Stacks(scope,dynamicScope)),this.args=new VMArgumentsImpl(),this.lowlevel=new LowLevelVM(evalStack,context,void 0,evalStack.registers),this.pushUpdating();}static initial(context,options){let scope=ScopeImpl.root(options.owner,options.scope??{self:UNDEFINED_REFERENCE,size:0});const state=function(pc,scope,dynamicScope){return{pc:pc,scope:scope,dynamicScope:dynamicScope,stack:[]};}/**\n              * A closure captures the state of the VM for a particular block of code that is necessary to\n              * re-invoke the block in the future.\n              *\n              * In practice, this allows us to clear the previous render and \"replay\" the block's execution,\n              * rendering content in the same position as the first render.\n              */(context.program.heap.getaddr(options.handle),scope,options.dynamicScope);return new VM(state,context,options.tree);}compile(block){return unwrapHandle(block.compile(this.context));}get constants(){return this.context.program.constants;}get program(){return this.context.program;}get env(){return this.context.env;}captureClosure(args,pc=this.lowlevel.fetchRegister($pc)){return{pc:pc,scope:this.scope(),dynamicScope:this.dynamicScope(),stack:this.stack.capture(args)};}capture(args,pc=this.lowlevel.fetchRegister($pc)){return new Closure(this.captureClosure(args,pc),this.context);}/**\n            * ## Opcodes\n            *\n            * - Append: `BeginComponentTransaction`\n            *\n            * ## State Changes\n            *\n            * [ ] create `guard` (`JumpIfNotModifiedOpcode`)\n            * [ ] create `tracker` (`BeginTrackFrameOpcode`)\n            * [!] push Updating Stack <- `guard`\n            * [!] push Updating Stack <- `tracker`\n            * [!] push Cache Stack <- `guard`\n            * [!] push Tracking Stack\n            */beginCacheGroup(name){let opcodes=this.updating(),guard=new JumpIfNotModifiedOpcode();opcodes.push(guard),opcodes.push(new BeginTrackFrameOpcode(name)),_classPrivateFieldGet(_stacks,this).cache.push(guard),beginTrackFrame(name);}/**\n            * ## Opcodes\n            *\n            * - Append: `CommitComponentTransaction`\n            *\n            * ## State Changes\n            *\n            * Create a new `EndTrackFrameOpcode` (`end`)\n            *\n            * [!] pop CacheStack -> `guard`\n            * [!] pop Tracking Stack -> `tag`\n            * [ ] create `end` (`EndTrackFrameOpcode`) with `guard`\n            * [-] consume `tag`\n            */commitCacheGroup(){let opcodes=this.updating(),guard=_classPrivateFieldGet(_stacks,this).cache.pop(),tag=endTrackFrame();opcodes.push(new EndTrackFrameOpcode(guard)),guard.finalize(tag,opcodes.length);}/**\n            * ## Opcodes\n            *\n            * - Append: `Enter`\n            *\n            * ## State changes\n            *\n            * [!] push Element Stack as `block`\n            * [ ] create `try` (`TryOpcode`) with `block`, capturing `args` from the Eval Stack\n            *\n            * Did Enter (`try`):\n            * [-] associate destroyable `try`\n            * [!] push Destroyable Stack <- `try`\n            * [!] push Updating List <- `try`\n            * [!] push Updating Stack <- `try.children`\n            */enter(args){let state=this.capture(args),block=this.tree().pushResettableBlock(),tryOpcode=new TryOpcode(state,this.context,block,[]);this.didEnter(tryOpcode);}/**\n            * ## Opcodes\n            *\n            * - Append: `Iterate`\n            * - Update: `ListBlock`\n            *\n            * ## State changes\n            *\n            * Create a new ref for the iterator item (`value`).\n            * Create a new ref for the iterator key (`key`).\n            *\n            * [ ] create `valueRef` (`Reference`) from `value`\n            * [ ] create `keyRef` (`Reference`) from `key`\n            * [!] push Eval Stack <- `valueRef`\n            * [!] push Eval Stack <- `keyRef`\n            * [!] push Element Stack <- `UpdatableBlock` as `block`\n            * [ ] capture `closure` with *2* items from the Eval Stack\n            * [ ] create `iteration` (`ListItemOpcode`) with `closure`, `block`, `key`, `keyRef` and `valueRef`\n            *\n            * Did Enter (`iteration`):\n            * [-] associate destroyable `iteration`\n            * [!] push Destroyable Stack <- `iteration`\n            * [!] push Updating List <- `iteration`\n            * [!] push Updating Stack <- `iteration.children`\n            */enterItem({key:key,value:value,memo:memo}){let{stack:stack}=this,valueRef=createIteratorItemRef(value),memoRef=createIteratorItemRef(memo);stack.push(valueRef),stack.push(memoRef);let state=this.capture(2),block=this.tree().pushResettableBlock(),opcode=new ListItemOpcode(state,this.context,block,key,memoRef,valueRef);return this.didEnter(opcode),opcode;}registerItem(opcode){this.listBlock().initializeChild(opcode);}/**\n            * ## Opcodes\n            *\n            * - Append: `EnterList`\n            *\n            * ## State changes\n            *\n            * [ ] capture `closure` with *0* items from the Eval Stack, and `$pc` from `offset`\n            * [ ] create `updating` (empty `Array`)\n            * [!] push Element Stack <- `list` (`BlockList`) with `updating`\n            * [ ] create `list` (`ListBlockOpcode`) with `closure`, `list`, `updating` and `iterableRef`\n            * [!] push List Stack <- `list`\n            *\n            * Did Enter (`list`):\n            * [-] associate destroyable `list`\n            * [!] push Destroyable Stack <- `list`\n            * [!] push Updating List <- `list`\n            * [!] push Updating Stack <- `list.children`\n            */enterList(iterableRef,offset){let updating=[],addr=this.lowlevel.target(offset),state=this.capture(0,addr),list=this.tree().pushBlockList(updating),opcode=new ListBlockOpcode(state,this.context,list,updating,iterableRef);_classPrivateFieldGet(_stacks,this).list.push(opcode),this.didEnter(opcode);}/**\n            * ## Opcodes\n            *\n            * - Append: `Enter`\n            * - Append: `Iterate`\n            * - Append: `EnterList`\n            * - Update: `ListBlock`\n            *\n            * ## State changes\n            *\n            * [-] associate destroyable `opcode`\n            * [!] push Destroyable Stack <- `opcode`\n            * [!] push Updating List <- `opcode`\n            * [!] push Updating Stack <- `opcode.children`\n            *\n            */didEnter(opcode){this.associateDestroyable(opcode),_classPrivateFieldGet(_stacks,this).destroyable.push(opcode),this.updateWith(opcode),this.pushUpdating(opcode.children);}/**\n            * ## Opcodes\n            *\n            * - Append: `Exit`\n            * - Append: `ExitList`\n            *\n            * ## State changes\n            *\n            * [!] pop Destroyable Stack\n            * [!] pop Element Stack\n            * [!] pop Updating Stack\n            */exit(){_classPrivateFieldGet(_stacks,this).destroyable.pop(),_classPrivateFieldGet(_tree,this).popBlock(),this.popUpdating();}/**\n            * ## Opcodes\n            *\n            * - Append: `ExitList`\n            *\n            * ## State changes\n            *\n            * Pop List:\n            * [!] pop Destroyable Stack\n            * [!] pop Element Stack\n            * [!] pop Updating Stack\n            *\n            * [!] pop List Stack\n            */exitList(){this.exit(),_classPrivateFieldGet(_stacks,this).list.pop();}/**\n            * ## Opcodes\n            *\n            * - Append: `RootScope`\n            * - Append: `VirtualRootScope`\n            *\n            * ## State changes\n            *\n            * [!] push Scope Stack\n            */pushRootScope(size,owner){let scope=ScopeImpl.sized(owner,size);return _classPrivateFieldGet(_stacks,this).scope.push(scope),scope;}/**\n            * ## Opcodes\n            *\n            * - Append: `ChildScope`\n            *\n            * ## State changes\n            *\n            * [!] push Scope Stack <- `child` of current Scope\n            */pushChildScope(){_classPrivateFieldGet(_stacks,this).scope.push(this.scope().child());}/**\n            * ## Opcodes\n            *\n            * - Append: `Yield`\n            *\n            * ## State changes\n            *\n            * [!] push Scope Stack <- `scope`\n            */pushScope(scope){_classPrivateFieldGet(_stacks,this).scope.push(scope);}/**\n            * ## Opcodes\n            *\n            * - Append: `PopScope`\n            *\n            * ## State changes\n            *\n            * [!] pop Scope Stack\n            */popScope(){_classPrivateFieldGet(_stacks,this).scope.pop();}/**\n            * ## Opcodes\n            *\n            * - Append: `PushDynamicScope`\n            *\n            * ## State changes:\n            *\n            * [!] push Dynamic Scope Stack <- child of current Dynamic Scope\n            */pushDynamicScope(){let child=this.dynamicScope().child();return _classPrivateFieldGet(_stacks,this).dynamicScope.push(child),child;}/**\n            * ## Opcodes\n            *\n            * - Append: `BindDynamicScope`\n            *\n            * ## State changes:\n            *\n            * [!] pop Dynamic Scope Stack `names.length` times\n            */bindDynamicScope(names){let scope=this.dynamicScope();for(const name of reverse(names))scope.set(name,this.stack.pop());}/**\n            * ## State changes\n            *\n            * - [!] push Updating Stack\n            *\n            * @utility\n            */pushUpdating(list=[]){_classPrivateFieldGet(_stacks,this).updating.push(list);}/**\n            * ## State changes\n            *\n            * [!] pop Updating Stack\n            *\n            * @utility\n            */popUpdating(){return _classPrivateFieldGet(_stacks,this).updating.pop();}/**\n            * ## State changes\n            *\n            * [!] push Updating List\n            *\n            * @utility\n            */updateWith(opcode){this.updating().push(opcode);}listBlock(){return _classPrivateFieldGet(_stacks,this).list.current;}/**\n            * ## State changes\n            *\n            * [-] associate destroyable `child`\n            *\n            * @utility\n            */associateDestroyable(child){let parent=_classPrivateFieldGet(_stacks,this).destroyable.current;associateDestroyableChild(parent,child);}updating(){return _classPrivateFieldGet(_stacks,this).updating.current;}/**\n            * Get Tree Builder\n            */tree(){return _classPrivateFieldGet(_tree,this);}/**\n            * Get current Scope\n            */scope(){return _classPrivateFieldGet(_stacks,this).scope.current;}/**\n            * Get current Dynamic Scope\n            */dynamicScope(){return _classPrivateFieldGet(_stacks,this).dynamicScope.current;}popDynamicScope(){_classPrivateFieldGet(_stacks,this).dynamicScope.pop();}/// SCOPE HELPERS\ngetOwner(){return this.scope().owner;}// eslint-disable-next-line @typescript-eslint/no-explicit-any\ngetSelf(){return this.scope().getSelf();}referenceForSymbol(symbol){return this.scope().getSymbol(symbol);}/// EXECUTION\nexecute(initialize){{let hasErrored=true;try{let value=this._execute(initialize);// using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n// which would happen with a `catch` + `throw`\nreturn hasErrored=!1,value;}finally{if(hasErrored){// If any existing blocks are open, due to an error or something like\n// that, we need to close them all and clean things up properly.\nlet elements=this.tree();for(;elements.hasBlocks;)elements.popBlock();// eslint-disable-next-line no-console\nconsole.error(`\\n\\nError occurred:\\n\\n${resetTracking()}\\n\\n`);}}}}_execute(initialize){let result;initialize&&initialize(this);do{result=this.next();}while(!result.done);return result.value;}next(){let result,{env:env}=this,opcode=this.lowlevel.nextStatement();return null!==opcode?(this.lowlevel.evaluateOuter(opcode,this),result={done:false,value:null}):(// Unload the stack\nthis.stack.reset(),result={done:true,value:new RenderResultImpl(env,this.popUpdating(),_classPrivateFieldGet(_tree,this).popBlock(),_classPrivateFieldGet(_stacks,this).drop)}),result;}}class Closure{constructor(state,context){this.state=state,this.context=context;}evaluate(tree){return new VM(this.state,this.context,tree);}}class TemplateIteratorImpl{constructor(vm){this.vm=vm;}next(){return this.vm.next();}sync(){return debug.runInTrackingTransaction(()=>this.vm.execute(),\"- While rendering:\");}}function renderSync(env,iterator){let result;// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nreturn inTransaction(env,()=>result=iterator.sync()),result;}function renderMain(context,owner,self,tree,layout,dynamicScope=new DynamicScopeImpl()){let handle=unwrapHandle(layout.compile(context)),numSymbols=layout.symbolTable.symbols.length,vm=VM.initial(context,{scope:{self:self,size:numSymbols},dynamicScope:dynamicScope,tree:tree,handle:handle,owner:owner});return new TemplateIteratorImpl(vm);}function renderComponent(context,tree,owner,definition,args={},dynamicScope=new DynamicScopeImpl()){return function(vm,context,owner,definition,args){// Get a list of tuples of argument names and references, like\n// [['title', reference], ['name', reference]]\nconst argList=Object.keys(args).map(key=>[key,args[key]]),blockNames=[\"main\",\"else\",\"attrs\"],argNames=argList.map(([name])=>`@${name}`);let reified=vm.constants.component(definition,owner,void 0,\"{ROOT}\");vm.lowlevel.pushFrame();// Push blocks on to the stack, three stack values per block\nfor(let i=0;i<3*blockNames.length;i++)vm.stack.push(null);vm.stack.push(null),// For each argument, push its backing reference on to the stack\nargList.forEach(([,reference])=>{vm.stack.push(reference);}),// Configure VM based on blocks and args just pushed on to the stack.\nvm.args.setup(vm.stack,argNames,blockNames,0,true);const compilable=reified.compilable,invocation={handle:unwrapHandle(compilable.compile(context)),symbolTable:compilable.symbolTable};// Needed for the Op.Main opcode: arguments, component invocation object, and\n// component definition.\nreturn vm.stack.push(vm.args),vm.stack.push(invocation),vm.stack.push(reified),new TemplateIteratorImpl(vm);}(VM.initial(context,{tree:tree,handle:context.stdlib.main,dynamicScope:dynamicScope,owner:owner}),context,owner,definition,function(record){const root=createConstRef(record,\"args\");return Object.keys(record).reduce((acc,key)=>(acc[key]=childRefFor(root,key),acc),{});}(args));}const SERIALIZATION_FIRST_NODE_STRING=\"%+b:0%\";function isSerializationFirstNode(node){return\"%+b:0%\"===node.nodeValue;}class RehydratingCursor extends CursorImpl{constructor(element,nextSibling,startingBlockDepth){super(element,nextSibling),this.startingBlockDepth=startingBlockDepth,this.candidate=null,this.injectedOmittedNode=false,this.openBlockDepth=startingBlockDepth-1;}}class RehydrateTree extends NewTreeBuilder{constructor(env,parentNode,nextSibling){if(super(env,parentNode,nextSibling),this.unmatchedAttributes=null,this.blockDepth=0,nextSibling)throw new Error(\"Rehydration with nextSibling not supported\");// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nlet node=this.currentCursor.element.firstChild;for(;null!==node&&!isOpenBlock(node);)node=node.nextSibling;this.candidate=node;const startingBlockOffset=getBlockDepth(node);if(0!==startingBlockOffset){// We are rehydrating from a partial tree and not the root component\n// We need to add an extra block before the first block to rehydrate correctly\n// The extra block is needed since the renderComponent API creates a synthetic component invocation which generates the extra block\nconst newBlockDepth=startingBlockOffset-1,newCandidate=this.dom.createComment(`%+b:${newBlockDepth}%`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nnode.parentNode.insertBefore(newCandidate,this.candidate);let closingNode=node.nextSibling;for(;null!==closingNode&&(!isCloseBlock(closingNode)||getBlockDepth(closingNode)!==startingBlockOffset);)closingNode=closingNode.nextSibling;const newClosingBlock=this.dom.createComment(`%-b:${newBlockDepth}%`);// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nnode.parentNode.insertBefore(newClosingBlock,closingNode.nextSibling),this.candidate=newCandidate,this.startingBlockOffset=newBlockDepth;}else this.startingBlockOffset=0;}get currentCursor(){return this.cursors.current;}get candidate(){return this.currentCursor?this.currentCursor.candidate:null;}set candidate(node){this.currentCursor.candidate=node;}disableRehydration(nextSibling){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nconst currentCursor=this.currentCursor;// rehydration will be disabled until we either:\n// * hit popElement (and return to using the parent elements cursor)\n// * hit closeBlock and the next sibling is a close block comment\n//   matching the expected openBlockDepth\ncurrentCursor.candidate=null,currentCursor.nextSibling=nextSibling;}enableRehydration(candidate){// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nconst currentCursor=this.currentCursor;currentCursor.candidate=candidate,currentCursor.nextSibling=null;}pushElement(element,nextSibling=null){const cursor=new RehydratingCursor(element,nextSibling,this.blockDepth||0);/**\n              * <div>   <---------------  currentCursor.element\n              *   <!--%+b:1%--> <-------  would have been removed during openBlock\n              *   <div> <---------------  currentCursor.candidate -> cursor.element\n              *     <!--%+b:2%--> <-----  currentCursor.candidate.firstChild -> cursor.candidate\n              *     Foo\n              *     <!--%-b:2%-->\n              *   </div>\n              *   <!--%-b:1%-->  <------  becomes currentCursor.candidate\n              */null!==this.candidate&&(cursor.candidate=element.firstChild,this.candidate=element.nextSibling),this.cursors.push(cursor);}// clears until the end of the current container\n// either the current open block or higher\nclearMismatch(candidate){let current=candidate;const currentCursor=this.currentCursor;if(null!==currentCursor){const openBlockDepth=currentCursor.openBlockDepth;if(openBlockDepth>=currentCursor.startingBlockDepth)for(;current&&!(isCloseBlock(current)&&openBlockDepth>=getBlockDepthWithOffset(current,this.startingBlockOffset));)current=this.remove(current);else for(;null!==current;)current=this.remove(current);// current cursor parentNode should be openCandidate if element\n// or openCandidate.parentNode if comment\nthis.disableRehydration(current);}}__openBlock(){const{currentCursor:currentCursor}=this;if(null===currentCursor)return;const blockDepth=this.blockDepth;this.blockDepth++;const{candidate:candidate}=currentCursor;if(null===candidate)return;const{tagName:tagName}=currentCursor.element;isOpenBlock(candidate)&&getBlockDepthWithOffset(candidate,this.startingBlockOffset)===blockDepth?(this.candidate=this.remove(candidate),currentCursor.openBlockDepth=blockDepth):\"TITLE\"!==tagName&&\"SCRIPT\"!==tagName&&\"STYLE\"!==tagName&&this.clearMismatch(candidate);}__closeBlock(){const{currentCursor:currentCursor}=this;if(null===currentCursor)return;// openBlock is the last rehydrated open block\nconst openBlockDepth=currentCursor.openBlockDepth;// this currently is the expected next open block depth\nthis.blockDepth--;const{candidate:candidate}=currentCursor;let isRehydrating=false;if(null!==candidate)//assert(\n//  openBlockDepth === this.blockDepth,\n//  'when rehydrating, openBlockDepth should match this.blockDepth here'\n//);\nif(isRehydrating=true,isCloseBlock(candidate)&&getBlockDepthWithOffset(candidate,this.startingBlockOffset)===openBlockDepth){const nextSibling=this.remove(candidate);this.candidate=nextSibling,currentCursor.openBlockDepth--;}else// close the block and clear mismatch in parent container\n// we will be either at the end of the element\n// or at the end of our containing block\nthis.clearMismatch(candidate),isRehydrating=false;if(!isRehydrating){// check if nextSibling matches our expected close block\n// if so, we remove the close block comment and\n// restore rehydration after clearMismatch disabled\nconst nextSibling=currentCursor.nextSibling;if(null!==nextSibling&&isCloseBlock(nextSibling)&&getBlockDepthWithOffset(nextSibling,this.startingBlockOffset)===this.blockDepth){// restore rehydration state\nconst candidate=this.remove(nextSibling);this.enableRehydration(candidate),currentCursor.openBlockDepth--;}}}__appendNode(node){const{candidate:candidate}=this;// This code path is only used when inserting precisely one node. It needs more\n// comparison logic, but we can probably lean on the cases where this code path\n// is actually used.\nreturn candidate||super.__appendNode(node);}__appendHTML(html){const candidateBounds=this.markerBounds();if(candidateBounds){const first=candidateBounds.firstNode(),last=candidateBounds.lastNode(),newBounds=new ConcreteBounds(this.element,first.nextSibling,last.previousSibling),possibleEmptyMarker=this.remove(first);return this.remove(last),null!==possibleEmptyMarker&&isEmpty$1(possibleEmptyMarker)&&(this.candidate=this.remove(possibleEmptyMarker),null!==this.candidate&&this.clearMismatch(this.candidate)),newBounds;}return super.__appendHTML(html);}remove(node){const element=node.parentNode,next=node.nextSibling;return element.removeChild(node),next;}markerBounds(){const _candidate=this.candidate;if(_candidate&&isMarker(_candidate)){const first=_candidate;let last=first.nextSibling;for(;!isMarker(last);)last=last.nextSibling;return new ConcreteBounds(this.element,first,last);}return null;}__appendText(string){const{candidate:candidate}=this;return candidate?3===candidate.nodeType?(candidate.nodeValue!==string&&(candidate.nodeValue=string),this.candidate=candidate.nextSibling,candidate):8===(node=candidate).nodeType&&\"%|%\"===node.nodeValue||isEmpty$1(candidate)&&\"\"===string?(this.candidate=this.remove(candidate),this.__appendText(string)):(this.clearMismatch(candidate),super.__appendText(string)):super.__appendText(string);var node;}__appendComment(string){const _candidate=this.candidate;return _candidate&&8===_candidate.nodeType?(_candidate.nodeValue!==string&&(_candidate.nodeValue=string),this.candidate=_candidate.nextSibling,_candidate):(_candidate&&this.clearMismatch(_candidate),super.__appendComment(string));}__openElement(tag){const _candidate=this.candidate;if(_candidate&&isElement(_candidate)&&function(candidate,tag){return candidate.namespaceURI===NS_SVG?candidate.tagName===tag:candidate.tagName===tag.toUpperCase();}(_candidate,tag))return this.unmatchedAttributes=[].slice.call(_candidate.attributes),_candidate;if(_candidate){if(isElement(_candidate)&&\"TBODY\"===_candidate.tagName)return this.pushElement(_candidate,null),// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthis.currentCursor.injectedOmittedNode=true,this.__openElement(tag);this.clearMismatch(_candidate);}return super.__openElement(tag);}__setAttribute(name,value,namespace){const unmatched=this.unmatchedAttributes;if(unmatched){const attr=findByName(unmatched,name);if(attr)return attr.value!==value&&(attr.value=value),void unmatched.splice(unmatched.indexOf(attr),1);}return super.__setAttribute(name,value,namespace);}__setProperty(name,value){const unmatched=this.unmatchedAttributes;if(unmatched){const attr=findByName(unmatched,name);if(attr)return attr.value!==value&&(attr.value=value),void unmatched.splice(unmatched.indexOf(attr),1);}return super.__setProperty(name,value);}__flushElement(parent,constructing){const{unmatchedAttributes:unmatched}=this;if(unmatched){for(const attr of unmatched)// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nthis.constructing.removeAttribute(attr.name);this.unmatchedAttributes=null;}else super.__flushElement(parent,constructing);}willCloseElement(){const{candidate:candidate,currentCursor:currentCursor}=this;null!==candidate&&this.clearMismatch(candidate),currentCursor&&currentCursor.injectedOmittedNode&&this.popElement(),super.willCloseElement();}getMarker(element,guid){const marker=element.querySelector(`script[glmr=\"${guid}\"]`);return marker?castToSimple(marker):null;}__pushRemoteElement(element,cursorId,insertBefore){const marker=this.getMarker(element,cursorId);// when insertBefore is not present, we clear the element\nif(!marker||marker.parentNode,void 0===insertBefore){for(;null!==element.firstChild&&element.firstChild!==marker;)this.remove(element.firstChild);insertBefore=null;}const cursor=new RehydratingCursor(element,null,this.blockDepth);this.cursors.push(cursor),null===marker?this.disableRehydration(insertBefore):this.candidate=this.remove(marker);const block=new RemoteBlock(element);return this.pushBlock(block,true);}didAppendBounds(bounds){if(super.didAppendBounds(bounds),this.candidate){const last=bounds.lastNode();this.candidate=last.nextSibling;}return bounds;}}function isOpenBlock(node){return 8===node.nodeType&&0===node.nodeValue.lastIndexOf(\"%+b:\",0);}function isCloseBlock(node){return 8===node.nodeType&&0===node.nodeValue.lastIndexOf(\"%-b:\",0);}function getBlockDepth(node){return parseInt(node.nodeValue.slice(4),10);}function getBlockDepthWithOffset(node,offset){return getBlockDepth(node)-offset;}function isElement(node){return 1===node.nodeType;}function isMarker(node){return 8===node.nodeType&&\"%glmr%\"===node.nodeValue;}function isEmpty$1(node){return 8===node.nodeType&&\"% %\"===node.nodeValue;}function findByName(array,name){for(const attr of array)if(attr.name===name)return attr;}function rehydrationBuilder(env,cursor){return RehydrateTree.forInitialRender(env,cursor);}const glimmerRuntime=/*#__PURE__*/Object.defineProperty({__proto__:null,ConcreteBounds,CurriedValue,CursorImpl,DOMChanges,DOMTreeConstruction,DynamicAttribute,DynamicScopeImpl,EMPTY_ARGS,EMPTY_NAMED,EMPTY_POSITIONAL,EnvironmentImpl,IDOMChanges:DOMChangesImpl,LowLevelVM,NewTreeBuilder,RehydrateTree,RemoteBlock,ResettableBlockImpl,SERIALIZATION_FIRST_NODE_STRING,ScopeImpl,SimpleDynamicAttribute,TEMPLATE_ONLY_COMPONENT_MANAGER,TemplateOnlyComponent:TemplateOnlyComponentDefinition,TemplateOnlyComponentManager,UpdatingVM,array:array$1,clear,clientBuilder,concat:concat$1,createCapturedArgs,curry,destroy,dynamicAttribute,fn:fn$1,get:get$1,hash:hash$1,inTransaction,invokeHelper:invokeHelper$1,isDestroyed,isDestroying,isSerializationFirstNode,isWhitespace,normalizeProperty,on:on$1,registerDestructor:registerDestructor$1,rehydrationBuilder,reifyArgs,reifyNamed,reifyPositional,renderComponent,renderMain,renderSync,resetDebuggerCallback,runtimeOptions,setDebuggerCallback,templateOnlyComponent},Symbol.toStringTag,{value:'Module'});// In normal TypeScript, this modifier is essentially an opaque token that just\n// needs to be importable. Declaring it with a unique interface like this,\n// however, gives tools like Glint (that *do* have a richer notion of what it\n// is) a place to install more detailed type information.\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n// SAFETY: at the time of writing, the cast here is from `{}` to `OnModifier`,\n// which makes it strictly safer to use outside this module because it is not\n// usable as \"any non-null item\", which is what `{}` means, without loss of any\n// information from the type itself.\nconst on=on$1;const InputTemplate=templateFactory(/*\n            <input\n            {{!-- for compatibility --}}\n            id={{this.id}}\n            class={{this.class}}\n\n            ...attributes\n\n            type={{this.type}}\n            checked={{this.checked}}\n            value={{this.value}}\n\n            {{on \"change\" this.change}}\n            {{on \"input\" this.input}}\n            {{on \"keyup\" this.keyUp}}\n            {{on \"paste\" this.valueDidChange}}\n            {{on \"cut\" this.valueDidChange}}\n          />\n          */{\"id\":\"Cc/BCoQJ\",\"block\":\"[[[11,\\\"input\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,4,[30,0,[\\\"type\\\"]]],[16,\\\"checked\\\",[30,0,[\\\"checked\\\"]]],[16,2,[30,0,[\\\"value\\\"]]],[4,[32,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[32,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[32,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[32,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[32,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],[]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/input.hbs\",\"scope\":()=>[on],\"isStrictMode\":true});function NOOP$3(){}class InternalComponent{// Override this\nstatic toString(){return'internal component';}constructor(owner,args,caller){this.owner=owner;this.args=args;this.caller=caller;setOwner$1(this,owner);}/**\n             * The default HTML id attribute. We don't really _need_ one, this is just\n             * added for compatibility as it's hard to tell if people rely on it being\n             * present, and it doens't really hurt.\n             *\n             * However, don't rely on this internally, like passing it to `getElementId`.\n             * This can be (and often is) overriden by passing an `id` attribute on the\n             * invocation, which shadows this default id via `...attributes`.\n             */get id(){return guidFor(this);}/**\n             * The default HTML class attribute. Similar to the above, we don't _need_\n             * them, they are just added for compatibility as it's similarly hard to tell\n             * if people rely on it in their CSS etc, and it doens't really hurt.\n             */get class(){return'ember-view';}validateArguments(){for(let name of Object.keys(this.args.named)){if(!this.isSupportedArgument(name)){this.onUnsupportedArgument(name);}}}named(name){let ref=this.args.named[name];return ref?valueForRef(ref):undefined;}positional(index){let ref=this.args.positional[index];return ref?valueForRef(ref):undefined;}listenerFor(name){let listener=this.named(name);if(listener){!(typeof listener==='function')&&assert$1(`The \\`@${name}\\` argument to the <${this.constructor}> component must be a function`,typeof listener==='function');return listener;}else{return NOOP$3;}}isSupportedArgument(_name){return false;}onUnsupportedArgument(_name){}toString(){return`<${this.constructor}:${guidFor(this)}>`;}}const OPAQUE_CONSTRUCTOR_MAP=new WeakMap();function opaquify(constructor,template){let _opaque={// Factory interface\ncreate(){throw assert$1('Use constructor instead of create');},toString(){return constructor.toString();}};let opaque=_opaque;OPAQUE_CONSTRUCTOR_MAP.set(opaque,constructor);setInternalComponentManager(INTERNAL_COMPONENT_MANAGER,opaque);setComponentTemplate(template,opaque);return opaque;}function deopaquify(opaque){let constructor=OPAQUE_CONSTRUCTOR_MAP.get(opaque);!constructor&&assert$1(`[BUG] Invalid internal component constructor: ${opaque}`,constructor);return constructor;}const CAPABILITIES$3={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:true,attributeHook:false,elementHook:false,createCaller:true,dynamicScope:false,updateHook:false,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false};class InternalManager{getCapabilities(){return CAPABILITIES$3;}create(owner,definition,args,_env,_dynamicScope,caller){!isConstRef(caller)&&assert$1('caller must be const',isConstRef(caller));let ComponentClass=deopaquify(definition);let instance=new ComponentClass(owner,args.capture(),valueForRef(caller));untrack(instance['validateArguments'].bind(instance));return instance;}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}getDebugName(definition){return definition.toString();}getSelf(instance){return createConstRef(instance,'this');}getDestroyable(instance){return instance;}}const INTERNAL_COMPONENT_MANAGER=new InternalManager();var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true});};// src/runtime.ts\nvar runtime_exports={};__export(runtime_exports,{c:()=>decorateClass,f:()=>decorateFieldV1,g:()=>decorateFieldV2,i:()=>initializeDeferredDecorator,m:()=>decorateMethodV1,n:()=>decorateMethodV2,p:()=>decoratePOJO});var deferred=/* @__PURE__ */new WeakMap();function deferDecorator(proto,prop,desc){let map=deferred.get(proto);if(!map){map=/* @__PURE__ */new Map();deferred.set(proto,map);}map.set(prop,desc);}function findDeferredDecorator(target,prop){let cursor=target.prototype;while(cursor){let desc=deferred.get(cursor)?.get(prop);if(desc){return desc;}cursor=cursor.prototype;}}function decorateFieldV1(target,prop,decorators,initializer){return decorateFieldV2(target.prototype,prop,decorators,initializer);}function decorateFieldV2(prototype,prop,decorators,initializer){let desc={configurable:true,enumerable:true,writable:true,initializer:null};if(initializer){desc.initializer=initializer;}for(let decorator of decorators){desc=decorator(prototype,prop,desc)||desc;}if(desc.initializer===void 0){Object.defineProperty(prototype,prop,desc);}else{deferDecorator(prototype,prop,desc);}}function decorateMethodV1({prototype},prop,decorators){return decorateMethodV2(prototype,prop,decorators);}function decorateMethodV2(prototype,prop,decorators){const origDesc=Object.getOwnPropertyDescriptor(prototype,prop);let desc={...origDesc};for(let decorator of decorators){desc=decorator(prototype,prop,desc)||desc;}if(desc.initializer!==void 0){desc.value=desc.initializer?desc.initializer.call(prototype):void 0;desc.initializer=void 0;}Object.defineProperty(prototype,prop,desc);}function initializeDeferredDecorator(target,prop){let desc=findDeferredDecorator(target.constructor,prop);if(desc){Object.defineProperty(target,prop,{enumerable:desc.enumerable,configurable:desc.configurable,writable:desc.writable,value:desc.initializer?desc.initializer.call(target):void 0});}}function decorateClass(target,decorators){return decorators.reduce((accum,decorator)=>decorator(accum)||accum,target);}function decoratePOJO(pojo,decorated){for(let[type,prop,decorators]of decorated){if(type===\"field\"){decoratePojoField(pojo,prop,decorators);}else{decorateMethodV2(pojo,prop,decorators);}}return pojo;}function decoratePojoField(pojo,prop,decorators){let desc={configurable:true,enumerable:true,writable:true,initializer:()=>Object.getOwnPropertyDescriptor(pojo,prop)?.value};for(let decorator of decorators){desc=decorator(pojo,prop,desc)||desc;}if(desc.initializer){desc.value=desc.initializer.call(pojo);delete desc.initializer;}Object.defineProperty(pojo,prop,desc);}const UNINITIALIZED=Object.freeze({});function elementForEvent(event){!(event.target instanceof HTMLInputElement||event.target instanceof HTMLTextAreaElement)&&assert$1('[BUG] event target must be an <input> or <textarea> element',event.target instanceof HTMLInputElement||event.target instanceof HTMLTextAreaElement);return event.target;}function valueForEvent(event){return elementForEvent(event).value;}function devirtualize(callback){return event=>callback(valueForEvent(event),event);}function valueFrom(reference){if(reference===undefined){return new LocalValue(undefined);}else if(isConstRef(reference)){return new LocalValue(valueForRef(reference));}else if(isUpdatableRef(reference)){return new UpstreamValue(reference);}else{return new ForkedValue(reference);}}var _value2=/*#__PURE__*/new WeakMap();class LocalValue{constructor(value){_classPrivateFieldInitSpec(this,_value2,(initializeDeferredDecorator(this,\"value\"),void 0));this.value=value;}get(){return this.value;}set(value){this.value=value;}}_LocalValue=LocalValue;decorateFieldV2(_LocalValue.prototype,\"value\",[tracked]);class UpstreamValue{constructor(reference){this.reference=reference;}get(){return valueForRef(this.reference);}set(value){updateRef(this.reference,value);}}class ForkedValue{constructor(reference){_defineProperty(this,\"local\",void 0);_defineProperty(this,\"upstream\",void 0);_defineProperty(this,\"lastUpstreamValue\",UNINITIALIZED);this.upstream=new UpstreamValue(reference);}get(){let upstreamValue=this.upstream.get();if(upstreamValue!==this.lastUpstreamValue){this.lastUpstreamValue=upstreamValue;this.local=new LocalValue(upstreamValue);}!this.local&&assert$1('[BUG] this.local must have been initialized at this point',this.local);return this.local.get();}set(value){!this.local&&assert$1('[BUG] this.local must have been initialized at this point',this.local);this.local.set(value);}}class AbstractInput extends InternalComponent{constructor(...args){super(...args);_defineProperty(this,\"_value\",valueFrom(this.args.named['value']));}validateArguments(){!(this.args.positional.length===0)&&assert$1(`The ${this.constructor} component does not take any positional arguments`,this.args.positional.length===0);super.validateArguments();}get value(){return this._value.get();}set value(value){this._value.set(value);}valueDidChange(event){this.value=valueForEvent(event);}/**\n             * The `change` and `input` actions need to be overridden in the `Input`\n             * subclass. Unfortunately, some ember-source builds currently uses babel\n             * loose mode to transpile its classes. Having the `@action` decorator on the\n             * super class creates a getter on the prototype, and when the subclass\n             * overrides the method, the loose mode transpilation would emit something\n             * like `Subclass.prototype['change'] = function change() { ... }`, which\n             * fails because `prototype['change']` is getter-only/readonly. The correct\n             * solution is to use `Object.defineProperty(prototype, 'change', ...)` but\n             * that requires disabling loose mode. For now, the workaround is to add the\n             * decorator only on the subclass. This is more of a configuration issue on\n             * our own builds and doesn't really affect apps.\n             *//* @action */change(event){this.valueDidChange(event);}/* @action */input(event){this.valueDidChange(event);}keyUp(event){switch(event.key){case'Enter':this.listenerFor('enter')(event);this.listenerFor('insert-newline')(event);break;case'Escape':this.listenerFor('escape-press')(event);break;}}listenerFor(name){let listener=super.listenerFor(name);if(this.isVirtualEventListener(name,listener)){return devirtualize(listener);}else{return listener;}}isVirtualEventListener(name,_listener){let virtualEvents=['enter','insert-newline','escape-press'];return virtualEvents.indexOf(name)!==-1;}}/**\n          @module @ember/component\n          */_AbstractInput=AbstractInput;decorateMethodV2(_AbstractInput.prototype,\"valueDidChange\",[action$1]);decorateMethodV2(_AbstractInput.prototype,\"keyUp\",[action$1]);let isValidInputType;if(hasDOM){const INPUT_TYPES=Object.create(null);const INPUT_ELEMENT=document.createElement('input');INPUT_TYPES['']=false;INPUT_TYPES['text']=true;INPUT_TYPES['checkbox']=true;isValidInputType=type=>{let isValid=INPUT_TYPES[type];if(isValid===undefined){try{INPUT_ELEMENT.type=type;isValid=INPUT_ELEMENT.type===type;}catch(_e){isValid=false;}finally{INPUT_ELEMENT.type='text';}INPUT_TYPES[type]=isValid;}return isValid;};}else{isValidInputType=type=>type!=='';}/**\n            See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n\n            @method input\n            @for Ember.Templates.helpers\n            @param {Hash} options\n            @public\n            *//**\n            An opaque interface which can be imported and used in strict-mode\n            templates to call <Input>.\n\n            See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n\n            @for @ember/component\n            @method Input\n            @see {Ember.Templates.components.Input}\n            @public\n          **//**\n            The `Input` component lets you create an HTML `<input>` element.\n\n            ```handlebars\n            <Input @value=\"987\" />\n            ```\n\n            creates an `<input>` element with `type=\"text\"` and value set to 987.\n\n            ### Text field\n\n            If no `type` argument is specified, a default of type 'text' is used.\n\n            ```handlebars\n            Search:\n            <Input @value={{this.searchWord}} />\n            ```\n\n            In this example, the initial value in the `<input>` will be set to the value of\n            `this.searchWord`. If the user changes the text, the value of `this.searchWord` will also be\n            updated.\n\n            ### Actions\n\n            The `Input` component takes a number of arguments with callbacks that are invoked in response to\n            user events.\n\n            * `enter`\n            * `insert-newline`\n            * `escape-press`\n            * `focus-in`\n            * `focus-out`\n            * `key-down`\n            * `key-press`\n            * `key-up`\n\n            These callbacks are passed to `Input` like this:\n\n            ```handlebars\n            <Input @value={{this.searchWord}} @enter={{this.query}} />\n            ```\n\n            Starting with Ember Octane, we recommend using the `{{on}}` modifier to call actions\n            on specific events, such as the input event.\n\n            ```handlebars\n            <label for=\"input-name\">Name:</label>\n            <Input\n              @id=\"input-name\"\n              @value={{this.name}}\n              {{on \"input\" this.validateName}}\n            />\n            ```\n\n            The event name (e.g. `focusout`, `input`, `keydown`) always follows the casing\n            that the HTML standard uses.\n\n            ### `<input>` HTML Attributes to Avoid\n\n            In most cases, if you want to pass an attribute to the underlying HTML `<input>` element, you\n            can pass the attribute directly, just like any other Ember component.\n\n            ```handlebars\n            <Input @type=\"text\" size=\"10\" />\n            ```\n\n            In this example, the `size` attribute will be applied to the underlying `<input>` element in the\n            outputted HTML.\n\n            However, there are a few attributes where you **must** use the `@` version.\n\n            * `@type`: This argument is used to control which Ember component is used under the hood\n            * `@value`: The `@value` argument installs a two-way binding onto the element. If you wanted a\n              one-way binding, use `<input>` with the `value` property and the `input` event instead.\n            * `@checked` (for checkboxes): like `@value`, the `@checked` argument installs a two-way binding\n              onto the element. If you wanted a one-way binding, use `<input type=\"checkbox\">` with\n              `checked` and the `input` event instead.\n\n            ### Checkbox\n\n            To create an `<input type=\"checkbox\">`:\n\n            ```handlebars\n            Emberize Everything:\n            <Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\n            ```\n\n            This will bind the checked state of this checkbox to the value of `isEmberized` -- if either one\n            changes, it will be reflected in the other.\n\n            @method Input\n            @for Ember.Templates.components\n            @param {Hash} options\n            @public\n          */class _Input extends AbstractInput{constructor(...args){super(...args);_defineProperty(this,\"_checked\",valueFrom(this.args.named['checked']));}static toString(){return'Input';}/**\n             * The HTML class attribute.\n             */get class(){if(this.isCheckbox){return'ember-checkbox ember-view';}else{return'ember-text-field ember-view';}}/**\n             * The HTML type attribute.\n             */get type(){let type=this.named('type');if(type===null||type===undefined){return'text';}!(typeof type==='string')&&assert$1('The `@type` argument to the <Input> component must be a string',typeof type==='string');return isValidInputType(type)?type:'text';}get isCheckbox(){return this.named('type')==='checkbox';}get checked(){if(this.isCheckbox){warn('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. '+'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. '+'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?',untrack(()=>this.args.named['checked']!==undefined||this.args.named['value']===undefined||typeof valueForRef(this.args.named['value'])==='string'),{id:'ember.built-in-components.input-checkbox-value'});return this._checked.get();}else{return undefined;}}set checked(checked){warn('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. '+'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. '+'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?',untrack(()=>this.args.named['checked']!==undefined||this.args.named['value']===undefined||typeof valueForRef(this.args.named['value'])==='string'),{id:'ember.built-in-components.input-checkbox-value'});this._checked.set(checked);}change(event){if(this.isCheckbox){this.checkedDidChange(event);}else{super.change(event);}}input(event){if(!this.isCheckbox){super.input(event);}}checkedDidChange(event){let element=event.target;!(element instanceof HTMLInputElement)&&assert$1('[BUG] element must be an <input>',element instanceof HTMLInputElement);this.checked=element.checked;}isSupportedArgument(name){let supportedArguments=['type','value','checked','enter','insert-newline','escape-press'];return supportedArguments.indexOf(name)!==-1||super.isSupportedArgument(name);}}_Input2=_Input;decorateMethodV2(_Input2.prototype,\"change\",[action$1]);decorateMethodV2(_Input2.prototype,\"input\",[action$1]);decorateMethodV2(_Input2.prototype,\"checkedDidChange\",[action$1]);const Input=opaquify(_Input,InputTemplate);/**\n          @module ember\n          */function isSimpleClick(event){if(!(event instanceof MouseEvent)){return false;}let modifier=event.shiftKey||event.metaKey||event.altKey||event.ctrlKey;let secondaryClick=event.which>1;// IE9 may return undefined\nreturn!modifier&&!secondaryClick;}function constructStyleDeprecationMessage(affectedStyle){return''+'Binding style attributes may introduce cross-site scripting vulnerabilities; '+'please ensure that values being bound are properly escaped. For more information, '+'including how to disable this warning, see '+'https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. '+'Style affected: \"'+affectedStyle+'\"';}/**\n            @private\n            @method getRootViews\n            @param {Object} owner\n          */function getRootViews(owner){let registry=owner.lookup('-view-registry:main');let rootViews=[];Object.keys(registry).forEach(id=>{let view=registry[id];!view&&assert$1('expected view',view);if(view.parentView===null){rootViews.push(view);}});return rootViews;}/**\n            @private\n            @method getViewId\n            @param {Ember.View} view\n           */function getViewId(view){if(view.tagName!==''&&view.elementId){return view.elementId;}else{return guidFor(view);}}const ELEMENT_VIEW=new WeakMap();const VIEW_ELEMENT=new WeakMap();function getElementView(element){return ELEMENT_VIEW.get(element)||null;}/**\n            @private\n            @method getViewElement\n            @param {Ember.View} view\n           */function getViewElement(view){return VIEW_ELEMENT.get(view)||null;}function setElementView(element,view){ELEMENT_VIEW.set(element,view);}function setViewElement(view,element){VIEW_ELEMENT.set(view,element);}// These are not needed for GC, but for correctness. We want to be able to\n// null-out these links while the objects are still live. Specifically, in\n// this case, we want to prevent access to the element (and vice verse) during\n// destruction.\nfunction clearElementView(element){ELEMENT_VIEW.delete(element);}function clearViewElement(view){VIEW_ELEMENT.delete(view);}const CHILD_VIEW_IDS=new WeakMap();/**\n            @private\n            @method getChildViews\n            @param {Ember.View} view\n          */function getChildViews(view){let owner=getOwner$2(view);!owner&&assert$1('View is unexpectedly missing an owner',owner);let registry=owner.lookup('-view-registry:main');return collectChildViews(view,registry);}function initChildViews(view){let childViews=new Set();CHILD_VIEW_IDS.set(view,childViews);return childViews;}function addChildView(parent,child){let childViews=CHILD_VIEW_IDS.get(parent);if(childViews===undefined){childViews=initChildViews(parent);}childViews.add(getViewId(child));}function collectChildViews(view,registry){let views=[];let childViews=CHILD_VIEW_IDS.get(view);if(childViews!==undefined){childViews.forEach(id=>{let view=registry[id];if(view&&!view.isDestroying&&!view.isDestroyed){views.push(view);}});}return views;}/**\n            @private\n            @method getViewBounds\n            @param {Ember.View} view\n          */function getViewBounds(view){return view.renderer.getBounds(view);}/**\n            @private\n            @method getViewRange\n            @param {Ember.View} view\n          */function getViewRange(view){let bounds=getViewBounds(view);let range=document.createRange();range.setStartBefore(bounds.firstNode);range.setEndAfter(bounds.lastNode);return range;}/**\n            `getViewClientRects` provides information about the position of the border\n            box edges of a view relative to the viewport.\n\n            It is only intended to be used by development tools like the Ember Inspector\n            and may not work on older browsers.\n\n            @private\n            @method getViewClientRects\n            @param {Ember.View} view\n          */function getViewClientRects(view){let range=getViewRange(view);return range.getClientRects();}/**\n            `getViewBoundingClientRect` provides information about the position of the\n            bounding border box edges of a view relative to the viewport.\n\n            It is only intended to be used by development tools like the Ember Inspector\n            and may not work on older browsers.\n\n            @private\n            @method getViewBoundingClientRect\n            @param {Ember.View} view\n          */function getViewBoundingClientRect(view){let range=getViewRange(view);return range.getBoundingClientRect();}/**\n            Determines if the element matches the specified selector.\n\n            @private\n            @method matches\n            @param {DOMElement} el\n            @param {String} selector\n          */const elMatches=typeof Element!=='undefined'?Element.prototype.matches:undefined;function matches(el,selector){!(elMatches!==undefined)&&assert$1('cannot call `matches` in fastboot mode',elMatches!==undefined);return elMatches.call(el,selector);}function contains(a,b){if(a.contains!==undefined){return a.contains(b);}let current=b.parentNode;while(current&&(current=current.parentNode)){if(current===a){return true;}}return false;}const emberinternalsViewsLibSystemUtils=/*#__PURE__*/Object.defineProperty({__proto__:null,addChildView,clearElementView,clearViewElement,collectChildViews,constructStyleDeprecationMessage,contains,elMatches,getChildViews,getElementView,getRootViews,getViewBoundingClientRect,getViewBounds,getViewClientRects,getViewElement,getViewId,getViewRange,initChildViews,isSimpleClick,matches,setElementView,setViewElement},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */function ActionManager(){}/**\n            Global action id hash.\n\n            @private\n            @property registeredActions\n            @type Object\n          */ActionManager.registeredActions={};const emberinternalsViewsLibSystemActionManager=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ActionManager},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const ROOT_ELEMENT_CLASS='ember-application';const ROOT_ELEMENT_SELECTOR=`.${ROOT_ELEMENT_CLASS}`;/**\n            `Ember.EventDispatcher` handles delegating browser events to their\n            corresponding `Ember.Views.` For example, when you click on a view,\n            `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\n            called.\n\n            @class EventDispatcher\n            @namespace Ember\n            @private\n            @extends EmberObject\n          */class EventDispatcher extends EmberObject{constructor(...args){super(...args);/**\n              The set of events names (and associated handler function names) to be setup\n              and dispatched by the `EventDispatcher`. Modifications to this list can be done\n              at setup time, generally via the `Application.customEvents` hash.\n               To add new events to be listened to:\n               ```javascript\n              import Application from '@ember/application';\n               let App = Application.create({\n                customEvents: {\n                  paste: 'paste'\n                }\n              });\n              ```\n               To prevent default events from being listened to:\n               ```javascript\n              import Application from '@ember/application';\n               let App = Application.create({\n                customEvents: {\n                  mouseenter: null,\n                  mouseleave: null\n                }\n              });\n              ```\n              @property events\n              @type Object\n              @private\n            */_defineProperty(this,\"events\",{touchstart:'touchStart',touchmove:'touchMove',touchend:'touchEnd',touchcancel:'touchCancel',keydown:'keyDown',keyup:'keyUp',keypress:'keyPress',mousedown:'mouseDown',mouseup:'mouseUp',contextmenu:'contextMenu',click:'click',dblclick:'doubleClick',focusin:'focusIn',focusout:'focusOut',submit:'submit',input:'input',change:'change',dragstart:'dragStart',drag:'drag',dragenter:'dragEnter',dragleave:'dragLeave',dragover:'dragOver',drop:'drop',dragend:'dragEnd'});/**\n              The root DOM element to which event listeners should be attached. Event\n              listeners will be attached to the document unless this is overridden.\n               Can be specified as a DOMElement or a selector string.\n               The default body is a string since this may be evaluated before document.body\n              exists in the DOM.\n               @private\n              @property rootElement\n              @type DOMElement\n              @default 'body'\n            */_defineProperty(this,\"rootElement\",'body');_defineProperty(this,\"_eventHandlers\",Object.create(null));_defineProperty(this,\"_didSetup\",false);_defineProperty(this,\"finalEventNameMapping\",null);_defineProperty(this,\"_sanitizedRootElement\",null);_defineProperty(this,\"lazyEvents\",new Map());_defineProperty(this,\"_reverseEventNameMapping\",null);}/**\n              Sets up event listeners for standard browser events.\n               This will be called after the browser sends a `DOMContentReady` event. By\n              default, it will set up all of the listeners on the document body. If you\n              would like to register the listeners on a different element, set the event\n              dispatcher's `root` property.\n               @private\n              @method setup\n              @param addedEvents {Object}\n            */setup(addedEvents,_rootElement){!(()=>{let owner=getOwner$2(this);!owner&&assert$1('[BUG] Missing owner',owner);// SAFETY: This is not guaranteed to be safe, but this is what we expect to be returned.\nlet environment=owner.lookup('-environment:main');return environment.isInteractive;})()&&assert$1('EventDispatcher should never be setup in fastboot mode. Please report this as an Ember bug.',(()=>{let owner=getOwner$2(this);!owner&&assert$1('[BUG] Missing owner',owner);let environment=owner.lookup('-environment:main');return environment.isInteractive;})());let events=this.finalEventNameMapping={...get$2(this,'events'),...addedEvents};this._reverseEventNameMapping=Object.keys(events).reduce((result,key)=>{let eventName=events[key];return eventName?{...result,[eventName]:key}:result;},{});let lazyEvents=this.lazyEvents;if(_rootElement!==undefined&&_rootElement!==null){set(this,'rootElement',_rootElement);}let specifiedRootElement=get$2(this,'rootElement');let rootElement=typeof specifiedRootElement!=='string'?specifiedRootElement:document.querySelector(specifiedRootElement);!rootElement&&assert$1(`Could not find rootElement (${specifiedRootElement})`,rootElement);!!rootElement.classList.contains(ROOT_ELEMENT_CLASS)&&assert$1(`You cannot use the same root element (${specifiedRootElement}) multiple times in an Ember.Application`,!rootElement.classList.contains(ROOT_ELEMENT_CLASS));!(()=>{let target=rootElement.parentNode;while(target instanceof Element){if(target.classList.contains(ROOT_ELEMENT_CLASS)){return false;}target=target.parentNode;}return true;})()&&assert$1('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application',(()=>{let target=rootElement.parentNode;while(target instanceof Element){if(target.classList.contains(ROOT_ELEMENT_CLASS)){return false;}target=target.parentNode;}return true;})());!!rootElement.querySelector(ROOT_ELEMENT_SELECTOR)&&assert$1('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application',!rootElement.querySelector(ROOT_ELEMENT_SELECTOR));rootElement.classList.add(ROOT_ELEMENT_CLASS);!rootElement.classList.contains(ROOT_ELEMENT_CLASS)&&assert$1(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${get$2(this,'rootElement')||rootElement.tagName}). Make sure you set rootElement to the body or an element in the body.`,rootElement.classList.contains(ROOT_ELEMENT_CLASS));// save off the final sanitized root element (for usage in setupHandler)\nthis._sanitizedRootElement=rootElement;// setup event listeners for the non-lazily setup events\nfor(let event in events){if(Object.prototype.hasOwnProperty.call(events,event)){lazyEvents.set(event,events[event]??null);}}this._didSetup=true;}/**\n              Setup event listeners for the given browser event name\n               @private\n              @method setupHandlerForBrowserEvent\n              @param event the name of the event in the browser\n            */setupHandlerForBrowserEvent(event){!this.finalEventNameMapping&&assert$1('[BUG] Expected finalEventNameMapping to be set',this.finalEventNameMapping);!this._sanitizedRootElement&&assert$1('[BUG] Expected _santizedRootElement to be set',this._sanitizedRootElement);this.setupHandler(this._sanitizedRootElement,event,this.finalEventNameMapping[event]??null);}/**\n              Setup event listeners for the given Ember event name (camel case)\n               @private\n              @method setupHandlerForEmberEvent\n              @param eventName\n            */setupHandlerForEmberEvent(eventName){!this._sanitizedRootElement&&assert$1('[BUG] Expected _sanitizedRootElement to be set',this._sanitizedRootElement);let event=this._reverseEventNameMapping?.[eventName];if(event){this.setupHandler(this._sanitizedRootElement,event,eventName);}}/**\n              Registers an event listener on the rootElement. If the given event is\n              triggered, the provided event handler will be triggered on the target view.\n               If the target view does not implement the event handler, or if the handler\n              returns `false`, the parent view will be called. The event will continue to\n              bubble to each successive parent view until it reaches the top.\n               @private\n              @method setupHandler\n              @param {Element} rootElement\n              @param {String} event the name of the event in the browser\n              @param {String} eventName the name of the method to call on the view\n            */setupHandler(rootElement,event,eventName){if(eventName===null||!this.lazyEvents.has(event)){return;// nothing to do\n}let viewHandler=(target,event)=>{let view=getElementView(target);let result=true;if(view){// SAFETY: As currently written, this is not safe. Though it seems to always be true.\nresult=view.handleEvent(eventName,event);}return result;};let actionHandler=(target,event)=>{let actionId=target.getAttribute('data-ember-action');let actions;// In Glimmer2 this attribute is set to an empty string and an additional\n// attribute it set for each action on a given element. In this case, the\n// attributes need to be read so that a proper set of action handlers can\n// be coalesced.\nif(actionId===''){actions=[];for(let attr of target.attributes){let attrName=attr.name;if(attrName.indexOf('data-ember-action-')===0){let action=ActionManager.registeredActions[attr.value];!action&&assert$1('[BUG] Missing action',action);actions.push(action);}}}else if(actionId){// FIXME: This branch is never called in tests. Improve tests or remove\nlet actionState=ActionManager.registeredActions[actionId];if(actionState){actions=[actionState];}}// We have to check for actions here since in some cases, jQuery will trigger\n// an event on `removeChild` (i.e. focusout) after we've already torn down the\n// action handlers for the view.\nif(!actions){// FIXME: This branch is never called in tests. Improve tests or remove\nreturn;}let result=true;for(let index=0;index<actions.length;index++){let action=actions[index];if(action&&action.eventName===eventName){// return false if any of the action handlers returns false\nresult=action.handler(event)&&result;}}return result;};let handleEvent=this._eventHandlers[event]=event=>{let target=event.target;!(target instanceof Element)&&assert$1(`[BUG] Received event without an Element target: ${event.type}, ${target}`,target instanceof Element);do{if(getElementView(target)){if(viewHandler(target,event)===false){event.preventDefault();event.stopPropagation();break;}else if(event.cancelBubble===true){break;}}else if(typeof target.hasAttribute==='function'&&target.hasAttribute('data-ember-action')){if(actionHandler(target,event)===false){break;}}target=target.parentNode;}while(target instanceof Element);};rootElement.addEventListener(event,handleEvent);this.lazyEvents.delete(event);}destroy(){if(this._didSetup===false){return;}let rootElement=this._sanitizedRootElement;if(!rootElement){return;}for(let event in this._eventHandlers){rootElement.removeEventListener(event,this._eventHandlers[event]);}rootElement.classList.remove(ROOT_ELEMENT_CLASS);return this._super(...arguments);}toString(){return'(EventDispatcher)';}}const emberinternalsViewsLibSystemEventDispatcher=/*#__PURE__*/Object.defineProperty({__proto__:null,default:EventDispatcher},Symbol.toStringTag,{value:'Module'});const ComponentLookup=EmberObject.extend({componentFor(name,owner){let fullName=`component:${name}`;return owner.factoryFor(fullName);},layoutFor(name,owner,options){let templateFullName=`template:components/${name}`;return owner.lookup(templateFullName,options);}});const emberinternalsViewsLibComponentLookup=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ComponentLookup},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/evented\n          *//**\n            This mixin allows for Ember objects to subscribe to and emit events.\n\n            ```app/utils/person.js\n            import EmberObject from '@ember/object';\n            import Evented from '@ember/object/evented';\n\n            export default EmberObject.extend(Evented, {\n              greet() {\n                // ...\n                this.trigger('greet');\n              }\n            });\n            ```\n\n            ```javascript\n            var person = Person.create();\n\n            person.on('greet', function() {\n              console.log('Our person has greeted');\n            });\n\n            person.greet();\n\n            // outputs: 'Our person has greeted'\n            ```\n\n            You can also chain multiple event subscriptions:\n\n            ```javascript\n            person.on('greet', function() {\n              console.log('Our person has greeted');\n            }).one('greet', function() {\n              console.log('Offer one-time special');\n            }).off('event', this, forgetThis);\n            ```\n\n            @class Evented\n            @public\n           */const Evented=Mixin.create({on(name,target,method){addListener(this,name,target,method);return this;},one(name,target,method){addListener(this,name,target,method,true);return this;},trigger(name,...args){sendEvent(this,name,args);},off(name,target,method){removeListener(this,name,target,method);return this;},has(name){return hasListeners(this,name);}});const emberObjectEvented=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Evented,on:on$3},Symbol.toStringTag,{value:'Module'});// Here we have runtime shenanigans to add debug-only errors to the class in dev\n// builds. Those runtime shenanigans produce the need for type-level shenanigans\n// to match: if we just assign without an explicit type annotation on the `let`\n// binding below for `FrameworkObject`, TS gets stuck because this creates\n// `FrameworkObject` with a class expression (rather than the usual class\n// declaration form). That in turn means TS needs to be able to fully name the\n// type produced by the class expression, which includes the `OWNER` symbol from\n// `@glimmer/owner`.\n//\n// By explicitly giving the declaration a type when assigning it the class\n// expression, instead of relying on inference, TS no longer needs to name the\n// `OWNER` property key from the super class, eliminating the private name\n// shenanigans.\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nlet FrameworkObject=class FrameworkObject extends EmberObject{};{const INIT_WAS_CALLED=Symbol('INIT_WAS_CALLED');let ASSERT_INIT_WAS_CALLED=symbol('ASSERT_INIT_WAS_CALLED');FrameworkObject=class DebugFrameworkObject extends EmberObject{constructor(...args){super(...args);_defineProperty(this,INIT_WAS_CALLED,false);}init(properties){super.init(properties);this[INIT_WAS_CALLED]=true;}[ASSERT_INIT_WAS_CALLED](){!this[INIT_WAS_CALLED]&&assert$1(`You must call \\`super.init(...arguments);\\` or \\`this._super(...arguments)\\` when overriding \\`init\\` on a framework object. Please update ${this} to call \\`super.init(...arguments);\\` from \\`init\\` when using native classes or \\`this._super(...arguments)\\` when using \\`EmberObject.extend()\\`.`,this[INIT_WAS_CALLED]);}};addListener(FrameworkObject.prototype,'init',null,ASSERT_INIT_WAS_CALLED);}const emberObjectinternals=/*#__PURE__*/Object.defineProperty({__proto__:null,get FrameworkObject(){return FrameworkObject;},cacheFor:getCachedValueFor,guidFor},Symbol.toStringTag,{value:'Module'});/* eslint no-console:off *//* global console *//**\n          @module @ember/instrumentation\n          @private\n          *//**\n            The purpose of the Ember Instrumentation module is\n            to provide efficient, general-purpose instrumentation\n            for Ember.\n\n            Subscribe to a listener by using `subscribe`:\n\n            ```javascript\n            import { subscribe } from '@ember/instrumentation';\n\n            subscribe(\"render\", {\n              before(name, timestamp, payload) {\n\n              },\n\n              after(name, timestamp, payload) {\n\n              }\n            });\n            ```\n\n            If you return a value from the `before` callback, that same\n            value will be passed as a fourth parameter to the `after`\n            callback.\n\n            Instrument a block of code by using `instrument`:\n\n            ```javascript\n            import { instrument } from '@ember/instrumentation';\n\n            instrument(\"render.handlebars\", payload, function() {\n              // rendering logic\n            }, binding);\n            ```\n\n            Event names passed to `instrument` are namespaced\n            by periods, from more general to more specific. Subscribers\n            can listen for events by whatever level of granularity they\n            are interested in.\n\n            In the above example, the event is `render.handlebars`,\n            and the subscriber listened for all events beginning with\n            `render`. It would receive callbacks for events named\n            `render`, `render.handlebars`, `render.container`, or\n            even `render.handlebars.layout`.\n\n            @class Instrumentation\n            @static\n            @private\n          */let subscribers=[];let cache={};function populateListeners(name){let listeners=[];for(let subscriber of subscribers){if(subscriber.regex.test(name)){listeners.push(subscriber.object);}}cache[name]=listeners;return listeners;}const time=(()=>{let perf='undefined'!==typeof window?window.performance||{}:{};let fn=perf.now||perf.mozNow||perf.webkitNow||perf.msNow||perf.oNow;return fn?fn.bind(perf):Date.now;})();function isCallback$1(value){return typeof value==='function';}/**\n            Notifies event's subscribers, calls `before` and `after` hooks.\n\n            @method instrument\n            @for @ember/instrumentation\n            @static\n            @param {String} [name] Namespaced event name.\n            @param {Object} payload\n            @param {Function} callback Function that you're instrumenting.\n            @param {Object} binding Context that instrument function is called with.\n            @private\n          */function instrument(name,p1,p2,p3){let _payload;let callback;let binding;if(arguments.length<=3&&isCallback$1(p1)){callback=p1;binding=p2;}else{_payload=p1;callback=p2;binding=p3;}// fast path\nif(subscribers.length===0){return callback.call(binding);}// avoid allocating the payload in fast path\nlet payload=_payload||{};let finalizer=_instrumentStart(name,()=>payload);if(finalizer===NOOP$2){return callback.call(binding);}else{return withFinalizer(callback,finalizer,payload,binding);}}function flaggedInstrument(_name,_payload,callback){return callback();}function withFinalizer(callback,finalizer,payload,binding){try{return callback.call(binding);}catch(e){payload.exception=e;throw e;}finally{finalizer();}}function NOOP$2(){}// private for now\nfunction _instrumentStart(name,payloadFunc,payloadArg){if(subscribers.length===0){return NOOP$2;}let listeners=cache[name];if(!listeners){listeners=populateListeners(name);}if(listeners.length===0){return NOOP$2;}let payload=payloadFunc(payloadArg);let STRUCTURED_PROFILE=ENV.STRUCTURED_PROFILE;let timeName;if(STRUCTURED_PROFILE){timeName=`${name}: ${payload.object}`;console.time(timeName);}let beforeValues=[];let timestamp=time();for(let listener of listeners){beforeValues.push(listener.before(name,timestamp,payload));}const constListeners=listeners;return function _instrumentEnd(){let timestamp=time();for(let i=0;i<constListeners.length;i++){let listener=constListeners[i];!listener&&assert$1('has listener',listener);// Iterating over values\nif(typeof listener.after==='function'){listener.after(name,timestamp,payload,beforeValues[i]);}}if(STRUCTURED_PROFILE){console.timeEnd(timeName);}};}/**\n            Subscribes to a particular event or instrumented block of code.\n\n            @method subscribe\n            @for @ember/instrumentation\n            @static\n\n            @param {String} [pattern] Namespaced event name.\n            @param {Object} [object] Before and After hooks.\n\n            @return {Subscriber}\n            @private\n          */function subscribe(pattern,object){let paths=pattern.split('.');let regexes=[];for(let path of paths){if(path==='*'){regexes.push('[^\\\\.]*');}else{regexes.push(path);}}let regex=regexes.join('\\\\.');regex=`${regex}(\\\\..*)?`;let subscriber={pattern,regex:new RegExp(`^${regex}$`),object};subscribers.push(subscriber);cache={};return subscriber;}/**\n            Unsubscribes from a particular event or instrumented block of code.\n\n            @method unsubscribe\n            @for @ember/instrumentation\n            @static\n\n            @param {Object} [subscriber]\n            @private\n          */function unsubscribe(subscriber){let index=0;for(let i=0;i<subscribers.length;i++){if(subscribers[i]===subscriber){index=i;}}subscribers.splice(index,1);cache={};}/**\n            Resets `Instrumentation` by flushing list of subscribers.\n\n            @method reset\n            @for @ember/instrumentation\n            @static\n            @private\n          */function reset(){subscribers.length=0;cache={};}const emberInstrumentationIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_instrumentStart,flaggedInstrument,instrument,reset,subscribe,subscribers,unsubscribe},Symbol.toStringTag,{value:'Module'});const DEFAULT=Object.freeze({// appendChild is only legal while rendering the buffer.\nappendChild(){throw new Error(\"You can't use appendChild outside of the rendering process\");},// Handle events from `Ember.EventDispatcher`\nhandleEvent(){return true;// continue event propagation\n},rerender(){},destroy(){}});const PRE_RENDER=Object.freeze({...DEFAULT});const HAS_ELEMENT=Object.freeze({...DEFAULT,rerender(view){view.renderer.rerender();},destroy(view){view.renderer.remove(view);},// Handle events from `Ember.EventDispatcher`\nhandleEvent(view,eventName,event){if(view.has(eventName)){// Handler should be able to re-dispatch events, so we don't\n// preventDefault or stopPropagation.\nreturn flaggedInstrument(`interaction.${eventName}`,{},()=>{return join(view,view.trigger,eventName,event);});}else{return true;// continue event propagation\n}}});const IN_DOM=Object.freeze({...HAS_ELEMENT,enter(view){// Register the view for event handling. This hash is used by\n// Ember.EventDispatcher to dispatch incoming events.\nview.renderer.register(view);{let elementId=view.elementId;!teardownMandatorySetter&&assert$1('[BUG] Expected teardownMandatorySetter to be set in DEBUG mode',teardownMandatorySetter);teardownMandatorySetter(view,'elementId');Object.defineProperty(view,'elementId',{configurable:true,enumerable:true,get(){return elementId;},set(value){if(value!==elementId){throw new Error(\"Changing a view's elementId after creation is not allowed\");}}});}}});const DESTROYING=Object.freeze({...DEFAULT,appendChild(){throw new Error(\"You can't call appendChild on a view being destroyed\");},rerender(){throw new Error(\"You can't call rerender on a view being destroyed\");}});/*\n            Describe how the specified actions should behave in the various\n            states that a view can exist in. Possible states:\n\n            * preRender: when a view is first instantiated, and after its\n              element was destroyed, it is in the preRender state\n            * hasElement: the DOM representation of the view is created,\n              and is ready to be inserted\n            * inDOM: once a view has been inserted into the DOM it is in\n              the inDOM state. A view spends the vast majority of its\n              existence in this state.\n            * destroyed: once a view has been destroyed (using the destroy\n              method), it is in this state. No further actions can be invoked\n              on a destroyed view.\n          */const states=Object.freeze({preRender:PRE_RENDER,inDOM:IN_DOM,hasElement:HAS_ELEMENT,destroying:DESTROYING});const emberinternalsViewsLibViewsStates=/*#__PURE__*/Object.defineProperty({__proto__:null,default:states},Symbol.toStringTag,{value:'Module'});var _renderer=/*#__PURE__*/new WeakMap();class CoreView extends FrameworkObject.extend(Evented,ActionHandler){constructor(...args){super(...args);_defineProperty(this,\"isView\",true);_defineProperty(this,\"_superTrigger\",void 0);_defineProperty(this,\"_superHas\",void 0);_classPrivateFieldInitSpec(this,_renderer,(initializeDeferredDecorator(this,\"renderer\"),void 0));}/**\n              If the view is currently inserted into the DOM of a parent view, this\n              property will point to the parent of the view.\n               @property parentView\n              @type Ember.View\n              @default null\n              @private\n            */init(properties){super.init(properties);// Handle methods from Evented\n// The native class inheritance will not work for mixins. To work around this,\n// we copy the existing trigger and has methods provided by the mixin and swap in the\n// new ones from our class.\nthis._superTrigger=this.trigger;this.trigger=this._trigger;this._superHas=this.has;this.has=this._has;this.parentView??=null;this._state='preRender';this._currentState=this._states.preRender;}instrumentDetails(hash){hash['object']=this.toString();hash['containerKey']=this._debugContainerKey;hash['view']=this;return hash;}/**\n              Override the default event firing from `Evented` to\n              also call methods with the given name.\n               @method trigger\n              @param name {String}\n              @private\n            */// Changed to `trigger` on init\n_trigger(name,...args){this._superTrigger(name,...args);let method=this[name];if(typeof method==='function'){return method.apply(this,args);}}// Changed to `has` on init\n_has(name){return typeof this[name]==='function'||this._superHas(name);}}// Declare on the prototype to have a single shared value.\n_CoreView=CoreView;decorateFieldV2(_CoreView.prototype,\"renderer\",[inject$2('renderer','-dom')]);_defineProperty(CoreView,\"isViewFactory\",true);CoreView.prototype._states=states;const emberinternalsViewsLibViewsCoreView=/*#__PURE__*/Object.defineProperty({__proto__:null,default:CoreView},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const EMPTY_ARRAY$2=Object.freeze([]);/**\n            @class ClassNamesSupport\n            @namespace Ember\n            @private\n          */const ClassNamesSupport=Mixin.create({concatenatedProperties:['classNames','classNameBindings'],init(){this._super(...arguments);!(descriptorForProperty(this,'classNameBindings')===undefined&&Array.isArray(this.classNameBindings))&&assert$1(`Only arrays are allowed for 'classNameBindings'`,descriptorForProperty(this,'classNameBindings')===undefined&&Array.isArray(this.classNameBindings));!(descriptorForProperty(this,'classNames')===undefined&&Array.isArray(this.classNames))&&assert$1(`Only arrays of static class strings are allowed for 'classNames'. For dynamic classes, use 'classNameBindings'.`,descriptorForProperty(this,'classNames')===undefined&&Array.isArray(this.classNames));},/**\n              Standard CSS class names to apply to the view's outer element. This\n              property automatically inherits any class names defined by the view's\n              superclasses as well.\n               @property classNames\n              @type Array\n              @default ['ember-view']\n              @public\n            */classNames:EMPTY_ARRAY$2,/**\n              A list of properties of the view to apply as class names. If the property\n              is a string value, the value of that string will be applied as a class\n              name.\n               ```javascript\n              // Applies the 'high' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['priority'],\n                priority: 'high'\n              });\n              ```\n               If the value of the property is a Boolean, the name of that property is\n              added as a dasherized class name.\n               ```javascript\n              // Applies the 'is-urgent' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['isUrgent'],\n                isUrgent: true\n              });\n              ```\n               If you would prefer to use a custom value instead of the dasherized\n              property name, you can pass a binding like this:\n               ```javascript\n              // Applies the 'urgent' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['isUrgent:urgent'],\n                isUrgent: true\n              });\n              ```\n               If you would like to specify a class that should only be added when the\n              property is false, you can declare a binding like this:\n               ```javascript\n              // Applies the 'disabled' class to the view element\n              import Component from '@ember/component';\n              Component.extend({\n                classNameBindings: ['isEnabled::disabled'],\n                isEnabled: false\n              });\n              ```\n               This list of properties is inherited from the component's superclasses as well.\n               @property classNameBindings\n              @type Array\n              @default []\n              @public\n            */classNameBindings:EMPTY_ARRAY$2});const emberinternalsViewsLibMixinsClassNamesSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ClassNamesSupport},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const ChildViewsSupport=Mixin.create({/**\n              Array of child views. You should never edit this array directly.\n               @property childViews\n              @type Array\n              @default []\n              @private\n            */childViews:nativeDescDecorator({configurable:false,enumerable:false,get(){return getChildViews(this);}}),appendChild(view){addChildView(this,view);}});const emberinternalsViewsLibMixinsChildViewsSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ChildViewsSupport},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */const ViewStateSupport=Mixin.create({_transitionTo(state){let priorState=this._currentState;let currentState=this._currentState=this._states[state];this._state=state;if(priorState&&priorState.exit){priorState.exit(this);}if(currentState.enter){currentState.enter(this);}}});const emberinternalsViewsLibMixinsViewStateSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ViewStateSupport},Symbol.toStringTag,{value:'Module'});function K$1(){return this;}/**\n           @class ViewMixin\n           @namespace Ember\n           @private\n          */const ViewMixin=Mixin.create({/**\n             A list of properties of the view to apply as attributes. If the property\n             is a string value, the value of that string will be applied as the value\n             for an attribute of the property's name.\n              The following example creates a tag like `<div priority=\"high\" />`.\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                attributeBindings: ['priority'],\n                priority: 'high'\n              });\n             ```\n              If the value of the property is a Boolean, the attribute is treated as\n             an HTML Boolean attribute. It will be present if the property is `true`\n             and omitted if the property is `false`.\n              The following example creates markup like `<div visible />`.\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                attributeBindings: ['visible'],\n                visible: true\n              });\n             ```\n              If you would prefer to use a custom value instead of the property name,\n             you can create the same markup as the last example with a binding like\n             this:\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                attributeBindings: ['isVisible:visible'],\n                isVisible: true\n              });\n             ```\n              This list of attributes is inherited from the component's superclasses,\n             as well.\n              @property attributeBindings\n             @type Array\n             @default []\n             @public\n             */concatenatedProperties:['attributeBindings'],// ..........................................................\n// TEMPLATE SUPPORT\n//\n/**\n             Return the nearest ancestor that is an instance of the provided\n             class or mixin.\n              @method nearestOfType\n             @param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),\n             or an instance of Mixin.\n             @return Ember.View\n             @deprecated use `yield` and contextual components for composition instead.\n             @private\n             */nearestOfType(klass){let view=this.parentView;let isOfType=klass instanceof Mixin?view=>klass.detect(view):view=>klass.detect(view.constructor);while(view){if(isOfType(view)){return view;}view=view.parentView;}return;},/**\n             Return the nearest ancestor that has a given property.\n              @method nearestWithProperty\n             @param {String} property A property name\n             @return Ember.View\n             @deprecated use `yield` and contextual components for composition instead.\n             @private\n             */nearestWithProperty(property){let view=this.parentView;while(view){if(property in view){return view;}view=view.parentView;}},/**\n             Renders the view again. This will work regardless of whether the\n             view is already in the DOM or not. If the view is in the DOM, the\n             rendering process will be deferred to give bindings a chance\n             to synchronize.\n              If children were added during the rendering process using `appendChild`,\n             `rerender` will remove them, because they will be added again\n             if needed by the next `render`.\n              In general, if the display of your view changes, you should modify\n             the DOM element directly instead of manually calling `rerender`, which can\n             be slow.\n              @method rerender\n             @public\n             */rerender(){return this._currentState.rerender(this);},// ..........................................................\n// ELEMENT SUPPORT\n//\n/**\n             Returns the current DOM element for the view.\n               @property element\n              @type DOMElement\n              @public\n            */element:nativeDescDecorator({configurable:false,enumerable:false,get(){return this.renderer.getElement(this);}}),/**\n             Appends the view's element to the specified parent element.\n              Note that this method just schedules the view to be appended; the DOM\n             element will not be appended to the given element until all bindings have\n             finished synchronizing.\n              This is not typically a function that you will need to call directly when\n             building your application. If you do need to use `appendTo`, be sure that\n             the target element you are providing is associated with an `Application`\n             and does not have an ancestor element that is associated with an Ember view.\n              @method appendTo\n             @param {String|DOMElement} A selector, element, HTML string\n             @return {Ember.View} receiver\n             @private\n             */appendTo(selector){let target;if(hasDOM){!(typeof selector==='string'||selector instanceof Element)&&assert$1(`Expected a selector or instance of Element`,typeof selector==='string'||selector instanceof Element);target=typeof selector==='string'?document.querySelector(selector):selector;!target&&assert$1(`You tried to append to (${selector}) but that isn't in the DOM`,target);!!matches(target,'.ember-view')&&assert$1('You cannot append to an existing Ember.View.',!matches(target,'.ember-view'));!(()=>{let node=target.parentNode;while(node instanceof Element){if(matches(node,'.ember-view')){return false;}node=node.parentNode;}return true;})()&&assert$1('You cannot append to an existing Ember.View.',(()=>{let node=target.parentNode;while(node instanceof Element){if(matches(node,'.ember-view')){return false;}node=node.parentNode;}return true;})());}else{target=selector;!(typeof target!=='string')&&assert$1(`You tried to append to a selector string (${selector}) in an environment without a DOM`,typeof target!=='string');!(typeof target.appendChild==='function')&&assert$1(`You tried to append to a non-Element (${selector}) in an environment without a DOM`,typeof target.appendChild==='function');}// SAFETY: SimpleElement is supposed to be a subset of Element so this _should_ be safe.\n// However, the types are more specific in some places which necessitates the `as`.\nthis.renderer.appendTo(this,target);return this;},/**\n             Appends the view's element to the document body. If the view does\n             not have an HTML representation yet\n             the element will be generated automatically.\n              If your application uses the `rootElement` property, you must append\n             the view within that element. Rendering views outside of the `rootElement`\n             is not supported.\n              Note that this method just schedules the view to be appended; the DOM\n             element will not be appended to the document body until all bindings have\n             finished synchronizing.\n              @method append\n             @return {Ember.View} receiver\n             @private\n             */append(){return this.appendTo(document.body);},/**\n             The HTML `id` of the view's element in the DOM. You can provide this\n             value yourself but it must be unique (just as in HTML):\n              ```handlebars\n             {{my-component elementId=\"a-really-cool-id\"}}\n             ```\n              If not manually set a default value will be provided by the framework.\n              Once rendered an element's `elementId` is considered immutable and you\n             should never change it. If you need to compute a dynamic value for the\n             `elementId`, you should do this when the component or element is being\n             instantiated:\n              ```app/components/my-component.js\n             import Component from '@ember/component';\n              export default Component.extend({\n                init() {\n                  this._super(...arguments);\n                  let index = this.get('index');\n                  this.set('elementId', 'component-id' + index);\n                }\n              });\n             ```\n              @property elementId\n             @type String\n             @public\n             */elementId:null,/**\n             Called when a view is going to insert an element into the DOM.\n              @event willInsertElement\n             @public\n             */willInsertElement:K$1,/**\n             Called when the element of the view has been inserted into the DOM.\n             Override this function to do any set up that requires an element\n             in the document body.\n              When a view has children, didInsertElement will be called on the\n             child view(s) first and on itself afterwards.\n              @event didInsertElement\n             @public\n             */didInsertElement:K$1,/**\n             Called when the view is about to rerender, but before anything has\n             been torn down. This is a good opportunity to tear down any manual\n             observers you have installed based on the DOM state\n              @event willClearRender\n             @public\n             */willClearRender:K$1,/**\n             You must call `destroy` on a view to destroy the view (and all of its\n             child views). This will remove the view from any parent node, then make\n             sure that the DOM element managed by the view can be released by the\n             memory manager.\n              @method destroy\n             @private\n             */destroy(){this._super(...arguments);this._currentState.destroy(this);},/**\n             Called when the element of the view is going to be destroyed. Override\n             this function to do any teardown that requires an element, like removing\n             event listeners.\n              Please note: any property changes made during this event will have no\n             effect on object observers.\n              @event willDestroyElement\n             @public\n             */willDestroyElement:K$1,/**\n             Called after the element of the view is destroyed.\n              @event willDestroyElement\n             @public\n             */didDestroyElement:K$1,/**\n             Called when the parentView property has changed.\n              @event parentViewDidChange\n             @private\n             */parentViewDidChange:K$1,// ..........................................................\n// STANDARD RENDER PROPERTIES\n//\n/**\n             Tag name for the view's outer element. The tag name is only used when an\n             element is first created. If you change the `tagName` for an element, you\n             must destroy and recreate the view element.\n              By default, the render buffer will use a `<div>` tag for views.\n              If the tagName is `''`, the view will be tagless, with no outer element.\n             Component properties that depend on the presence of an outer element, such\n             as `classNameBindings` and `attributeBindings`, do not work with tagless\n             components. Tagless components cannot implement methods to handle events,\n             and their `element` property has a `null` value.\n              @property tagName\n             @type String\n             @default null\n             @public\n             */// We leave this null by default so we can tell the difference between\n// the default case and a user-specified tag.\ntagName:null,// .......................................................\n// CORE DISPLAY METHODS\n//\n/**\n             Setup a view, but do not finish waking it up.\n              * configure `childViews`\n             * register the view with the global views hash, which is used for event\n             dispatch\n              @method init\n             @private\n             */init(){this._super(...arguments);!(descriptorForProperty(this,'elementId')===undefined)&&assert$1(`You cannot use a computed property for the component's \\`elementId\\` (${this}).`,descriptorForProperty(this,'elementId')===undefined);!(descriptorForProperty(this,'tagName')===undefined)&&assert$1(`You cannot use a computed property for the component's \\`tagName\\` (${this}).`,descriptorForProperty(this,'tagName')===undefined);if(!this.elementId&&this.tagName!==''){this.elementId=guidFor(this);}!!this.render&&assert$1('Using a custom `.render` function is no longer supported.',!this.render);},// .......................................................\n// EVENT HANDLING\n//\n/**\n             Handle events from `EventDispatcher`\n              @method handleEvent\n             @param eventName {String}\n             @param evt {Event}\n             @private\n             */handleEvent(eventName,evt){return this._currentState.handleEvent(this,eventName,evt);}});const emberinternalsViewsLibMixinsViewSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ViewMixin},Symbol.toStringTag,{value:'Module'});/**\n           @module ember\n          *//**\n           @class ActionSupport\n           @namespace Ember\n           @private\n          */const ActionSupport=Mixin.create({send(actionName,...args){!(!this.isDestroying&&!this.isDestroyed)&&assert$1(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`,!this.isDestroying&&!this.isDestroyed);let action=this.actions&&this.actions[actionName];if(action){let shouldBubble=action.apply(this,args)===true;if(!shouldBubble){return;}}let target=get$2(this,'target');if(target){!(typeof target.send==='function')&&assert$1(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`,typeof target.send==='function');target.send(...arguments);}else{!action&&assert$1(`${inspect(this)} had no action handler for: ${actionName}`,action);}}});const emberinternalsViewsLibMixinsActionSupport=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ActionSupport},Symbol.toStringTag,{value:'Module'});const MUTABLE_CELL=Symbol('MUTABLE_CELL');const emberinternalsViewsLibCompatAttrs=/*#__PURE__*/Object.defineProperty({__proto__:null,MUTABLE_CELL},Symbol.toStringTag,{value:'Module'});const emberinternalsViewsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ActionManager,ActionSupport,ChildViewsSupport,ClassNamesSupport,ComponentLookup,CoreView,EventDispatcher,MUTABLE_CELL,ViewMixin,ViewStateSupport,addChildView,clearElementView,clearViewElement,constructStyleDeprecationMessage,getChildViews,getElementView,getRootViews,getViewBoundingClientRect,getViewBounds,getViewClientRects,getViewElement,getViewId,isSimpleClick,setElementView,setViewElement},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/engine\n          */const ENGINE_PARENT=Symbol('ENGINE_PARENT');/**\n            `getEngineParent` retrieves an engine instance's parent instance.\n\n            @method getEngineParent\n            @param {EngineInstance} engine An engine instance.\n            @return {EngineInstance} The parent engine instance.\n            @for @ember/engine\n            @static\n            @private\n          */function getEngineParent(engine){return engine[ENGINE_PARENT];}/**\n            `setEngineParent` sets an engine instance's parent instance.\n\n            @method setEngineParent\n            @param {EngineInstance} engine An engine instance.\n            @param {EngineInstance} parent The parent engine instance.\n            @private\n          */function setEngineParent(engine,parent){engine[ENGINE_PARENT]=parent;}const emberEngineLibEngineParent=/*#__PURE__*/Object.defineProperty({__proto__:null,ENGINE_PARENT,getEngineParent,setEngineParent},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/service\n           @public\n           *//**\n            @method inject\n            @static\n            @since 1.10.0\n            @for @ember/service\n            @param {String} name (optional) name of the service to inject, defaults to\n                   the property's name\n            @return {ComputedDecorator} injection decorator instance\n            @public\n            @deprecated Please import `service` instead.\n          */function inject$1(...args){deprecateUntil('Importing `inject` from `@ember/service` is deprecated. Please import `service` instead.',DEPRECATIONS.DEPRECATE_IMPORT_INJECT);return inject$2('service',...args);}/**\n            Creates a property that lazily looks up a service in the container. There are\n            no restrictions as to what objects a service can be injected into.\n\n            Example:\n\n            ```app/routes/application.js\n            import Route from '@ember/routing/route';\n            import { service } from '@ember/service';\n\n            export default class ApplicationRoute extends Route {\n              @service('auth') authManager;\n\n              model() {\n                return this.authManager.findCurrentUser();\n              }\n            }\n            ```\n\n            Classic Class Example:\n\n            ```app/routes/application.js\n            import Route from '@ember/routing/route';\n            import { service } from '@ember/service';\n\n            export default Route.extend({\n              authManager: service('auth'),\n\n              model() {\n                return this.get('authManager').findCurrentUser();\n              }\n            });\n            ```\n\n            This example will create an `authManager` property on the application route\n            that looks up the `auth` service in the container, making it easily accessible\n            in the `model` hook.\n\n            @method service\n            @static\n            @since 4.1.0\n            @for @ember/service\n            @param {String} name (optional) name of the service to inject, defaults to\n                   the property's name\n            @return {ComputedDecorator} injection decorator instance\n            @public\n          */function service(...args){return inject$2('service',...args);}/**\n            @class Service\n            @extends EmberObject\n            @since 1.10.0\n            @public\n          */class Service extends FrameworkObject{}/**\n            A type registry for Ember `Service`s. Meant to be declaration-merged so string\n            lookups resolve to the correct type.\n\n            Blueprints should include such a declaration merge for TypeScript:\n\n            ```ts\n            import Service from '@ember/service';\n\n            export default class ExampleService extends Service {\n              // ...\n            }\n\n            declare module '@ember/service' {\n              export interface Registry {\n                example: ExampleService;\n              }\n            }\n            ```\n\n            Then `@service` can check that the service is registered correctly, and APIs\n            like `owner.lookup('service:example')` can return `ExampleService`.\n           */// NOTE: this cannot be `Record<string, Service | undefined>`, convenient as\n// that would be for end users, because there is no actual contract to that\n// effect with Ember -- and in the future this choice would allow us to have\n// registered services which have no base class.\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n_defineProperty(Service,\"isServiceFactory\",true);const emberServiceIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Service,inject:inject$1,service},Symbol.toStringTag,{value:'Module'});const LinkToTemplate=templateFactory(/*\n            <a\n            {{!-- for compatibility --}}\n            id={{this.id}}\n            class={{this.class}}\n\n            {{!-- deprecated attribute bindings --}}\n            role={{this.role}}\n            title={{this.title}}\n            rel={{this.rel}}\n            tabindex={{this.tabindex}}\n            target={{this.target}}\n\n            ...attributes\n\n            href={{this.href}}\n\n            {{on 'click' this.click}}\n          >{{yield}}</a>\n          */{\"id\":\"7Z3LFeO/\",\"block\":\"[[[11,3],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"rel\\\",[30,0,[\\\"rel\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"target\\\",[30,0,[\\\"target\\\"]]],[17,1],[16,6,[30,0,[\\\"href\\\"]]],[4,[32,0],[\\\"click\\\",[30,0,[\\\"click\\\"]]],null],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],[\\\"yield\\\"]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\",\"scope\":()=>[on],\"isStrictMode\":true});const EMPTY_ARRAY$1=[];const EMPTY_QUERY_PARAMS={};debugFreeze(EMPTY_ARRAY$1);debugFreeze(EMPTY_QUERY_PARAMS);function isMissing(value){return value===null||value===undefined;}function isPresent$1(value){return!isMissing(value);}function isQueryParams(value){return typeof value==='object'&&value!==null&&value['isQueryParams']===true;}/**\n            The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\n            supplied model to the route as its `model` context of the route. The block for `LinkTo`\n            becomes the contents of the rendered element:\n\n            ```handlebars\n            <LinkTo @route='photoGallery'>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            This will result in:\n\n            ```html\n            <a href=\"/hamster-photos\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            ### Disabling the `LinkTo` component\n\n            The `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\n            doesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\n            element.\n\n            (The class name to apply to the element can be overridden by using the `disabledClass`\n            argument)\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @disabled={{true}}>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            ### Handling `href`\n\n            `<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\n            that matches the path to the supplied `routeName`.\n\n            ### Handling current route\n\n            The `LinkTo` component will apply a CSS class name of 'active' when the application's current\n            route matches the supplied routeName. For example, if the application's current route is\n            'photoGallery.recent', then the following invocation of `LinkTo`:\n\n            ```handlebars\n            <LinkTo @route='photoGallery.recent'>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            will result in\n\n            ```html\n            <a href=\"/hamster-photos/this-week\" class=\"active\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            The CSS class used for active classes can be customized by passing an `activeClass` argument:\n\n            ```handlebars\n            <LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            ### Keeping a link active for other routes\n\n            If you need a link to be 'active' even when it doesn't match the current route, you can use the\n            `current-when` argument.\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @current-when='photos'>\n              Photo Gallery\n            </LinkTo>\n            ```\n\n            This may be helpful for keeping links active for:\n\n            * non-nested routes that are logically related\n            * some secondary menu approaches\n            * 'top navigation' with 'sub navigation' scenarios\n\n            A link will be active if `current-when` is `true` or the current\n            route is the route this link would transition to.\n\n            To match multiple routes 'space-separate' the routes:\n\n            ```handlebars\n            <LinkTo @route='gallery' @current-when='photos drawings paintings'>\n              Art Gallery\n            </LinkTo>\n            ```\n\n            ### Supplying a model\n\n            An optional `model` argument can be used for routes whose\n            paths contain dynamic segments. This argument will become\n            the model context of the linked route:\n\n            ```javascript\n            Router.map(function() {\n              this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n            });\n            ```\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n              {{aPhoto.title}}\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/42\">\n              Tomster\n            </a>\n            ```\n\n            ### Supplying multiple models\n\n            For deep-linking to route paths that contain multiple\n            dynamic segments, the `models` argument can be used.\n\n            As the router transitions through the route path, each\n            supplied model argument will become the context for the\n            route with the dynamic segments:\n\n            ```javascript\n            Router.map(function() {\n              this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n                this.route(\"comment\", {path: \"comments/:comment_id\"});\n              });\n            });\n            ```\n\n            This argument will become the model context of the linked route:\n\n            ```handlebars\n            <LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n              {{comment.body}}\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/42/comments/718\">\n              A+++ would snuggle again.\n            </a>\n            ```\n\n            ### Supplying an explicit dynamic segment value\n\n            If you don't have a model object available to pass to `LinkTo`,\n            an optional string or integer argument can be passed for routes whose\n            paths contain dynamic segments. This argument will become the value\n            of the dynamic segment:\n\n            ```javascript\n            Router.map(function() {\n              this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n            });\n            ```\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @model={{aPhotoId}}>\n              {{this.aPhoto.title}}\n            </LinkTo>\n            ```\n\n            ```html\n            <a href=\"/hamster-photos/42\">\n              Tomster\n            </a>\n            ```\n\n            When transitioning into the linked route, the `model` hook will\n            be triggered with parameters including this passed identifier.\n\n            ### Supplying query parameters\n\n            If you need to add optional key-value pairs that appear to the right of the ? in a URL,\n            you can use the `query` argument.\n\n            ```handlebars\n            <LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n              Great Hamster Photos\n            </LinkTo>\n            ```\n\n            This will result in:\n\n            ```html\n            <a href=\"/hamster-photos?page=1&per_page=20\">\n              Great Hamster Photos\n            </a>\n            ```\n\n            @for Ember.Templates.components\n            @method LinkTo\n            @public\n          *//**\n            @module @ember/routing\n          *//**\n            See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n\n            @for Ember.Templates.helpers\n            @method link-to\n            @see {Ember.Templates.components.LinkTo}\n            @public\n          **//**\n            An opaque interface which can be imported and used in strict-mode\n            templates to call <LinkTo>.\n\n            See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n\n            @for @ember/routing\n            @method LinkTo\n            @see {Ember.Templates.components.LinkTo}\n            @public\n          **/var _routing=/*#__PURE__*/new WeakMap();class _LinkTo extends InternalComponent{constructor(...args){super(...args);_classPrivateFieldInitSpec(this,_routing,(initializeDeferredDecorator(this,\"routing\"),void 0));// GH #17963\n_defineProperty(this,\"currentRouteCache\",createCache(()=>{consumeTag(tagFor(this.routing,'currentState'));return untrack(()=>this.routing.currentRouteName);}));}static toString(){return'LinkTo';}validateArguments(){!(!this.isEngine||this.engineMountPoint!==undefined)&&assert$1('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. '+'If you are using the ember-engines addon, use the <LinkToExternal> component instead. '+'See https://ember-engines.com/docs/links for more info.',!this.isEngine||this.engineMountPoint!==undefined);!('route'in this.args.named||'model'in this.args.named||'models'in this.args.named||'query'in this.args.named)&&assert$1('You must provide at least one of the `@route`, `@model`, `@models` or `@query` arguments to `<LinkTo>`.','route'in this.args.named||'model'in this.args.named||'models'in this.args.named||'query'in this.args.named);!!('model'in this.args.named&&'models'in this.args.named)&&assert$1('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.',!('model'in this.args.named&&'models'in this.args.named));super.validateArguments();}get class(){let classes='ember-view';if(this.isActive){classes+=this.classFor('active');if(this.willBeActive===false){classes+=' ember-transitioning-out';}}else if(this.willBeActive){classes+=' ember-transitioning-in';}if(this.isLoading){classes+=this.classFor('loading');}if(this.isDisabled){classes+=this.classFor('disabled');}return classes;}get href(){if(this.isLoading){return'#';}let{routing,route,models,query}=this;!isPresent$1(route)&&assert$1('[BUG] route can only be missing if isLoading is true',isPresent$1(route));// consume the current router state so we invalidate when QP changes\n// TODO: can we narrow this down to QP changes only?\nconsumeTag(tagFor(routing,'currentState'));{try{return routing.generateURL(route,models,query);}catch(e){let details=e instanceof Error?e.message:inspect(e);let message=`While generating link to route \"${route}\": ${details}`;if(e instanceof Error){e.message=message;throw e;}else{throw message;}}}}click(event){if(!isSimpleClick(event)){return;}let element=event.currentTarget;!(element instanceof HTMLAnchorElement)&&assert$1('[BUG] must be an <a> element',element instanceof HTMLAnchorElement);let isSelf=element.target===''||element.target==='_self';if(isSelf){this.preventDefault(event);}else{return;}if(this.isDisabled){return;}if(this.isLoading){warn('This link is in an inactive loading state because at least one of its models '+'currently has a null/undefined value, or the provided route name is invalid.',false,{id:'ember-glimmer.link-to.inactive-loading-state'});return;}let{routing,route,models,query,replace}=this;let payload={transition:undefined};flaggedInstrument('interaction.link-to',payload,()=>{!isPresent$1(route)&&assert$1('[BUG] route can only be missing if isLoading is true',isPresent$1(route));payload.transition=routing.transitionTo(route,models,query,replace);});}get route(){if('route'in this.args.named){let route=this.named('route');!(isMissing(route)||typeof route==='string')&&assert$1('The `@route` argument to the <LinkTo> component must be a string',isMissing(route)||typeof route==='string');return route&&this.namespaceRoute(route);}else{return this.currentRoute;}}get currentRoute(){return getValue(this.currentRouteCache);}// TODO: not sure why generateURL takes {}[] instead of unknown[]\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nget models(){if('models'in this.args.named){let models=this.named('models');!Array.isArray(models)&&assert$1('The `@models` argument to the <LinkTo> component must be an array.',Array.isArray(models));return models;}else if('model'in this.args.named){// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nreturn[this.named('model')];}else{return EMPTY_ARRAY$1;}}get query(){if('query'in this.args.named){let query=this.named('query');!(query!==null&&typeof query==='object')&&assert$1('The `@query` argument to the <LinkTo> component must be an object.',query!==null&&typeof query==='object');return{...query};}else{return EMPTY_QUERY_PARAMS;}}get replace(){return this.named('replace')===true;}get isActive(){return this.isActiveForState(this.routing.currentState);}get willBeActive(){let current=this.routing.currentState;let target=this.routing.targetState;if(current===target){return null;}else{return this.isActiveForState(target);}}get isLoading(){return isMissing(this.route)||this.models.some(model=>isMissing(model));}get isDisabled(){return Boolean(this.named('disabled'));}get isEngine(){let owner=this.owner;return getEngineParent(owner)!==undefined;}get engineMountPoint(){let owner=this.owner;return owner.mountPoint;}classFor(state){let className=this.named(`${state}Class`);!(isMissing(className)||typeof className==='string'||typeof className==='boolean')&&assert$1(`The \\`@${state}Class\\` argument to the <LinkTo> component must be a string or boolean`,isMissing(className)||typeof className==='string'||typeof className==='boolean');if(className===true||isMissing(className)){return` ${state}`;}else if(className){return` ${className}`;}else{return'';}}namespaceRoute(route){let{engineMountPoint}=this;if(engineMountPoint===undefined){return route;}else if(route==='application'){return engineMountPoint;}else{return`${engineMountPoint}.${route}`;}}isActiveForState(state){if(!isPresent$1(state)){return false;}if(this.isLoading){return false;}let currentWhen=this.named('current-when');if(typeof currentWhen==='boolean'){return currentWhen;}else if(typeof currentWhen==='string'){let{models,routing}=this;return currentWhen.split(' ').some(route=>routing.isActiveForRoute(models,undefined,this.namespaceRoute(route),state));}else{let{route,models,query,routing}=this;!isPresent$1(route)&&assert$1('[BUG] route can only be missing if isLoading is true',isPresent$1(route));return routing.isActiveForRoute(models,query,route,state);}}preventDefault(event){event.preventDefault();}isSupportedArgument(name){let supportedArguments=['route','model','models','query','replace','disabled','current-when','activeClass','loadingClass','disabledClass'];return supportedArguments.indexOf(name)!==-1||super.isSupportedArgument(name);}}_LinkTo2=_LinkTo;decorateFieldV2(_LinkTo2.prototype,\"routing\",[service('-routing')]);decorateMethodV2(_LinkTo2.prototype,\"click\",[action$1]);let{prototype}=_LinkTo;let descriptorFor=(target,property)=>{if(target){return Object.getOwnPropertyDescriptor(target,property)||descriptorFor(Object.getPrototypeOf(target),property);}else{return null;}};// @href\n{let superOnUnsupportedArgument=prototype['onUnsupportedArgument'];Object.defineProperty(prototype,'onUnsupportedArgument',{configurable:true,enumerable:false,value:function onUnsupportedArgument(name){if(name==='href'){assert$1(`Passing the \\`@href\\` argument to <LinkTo> is not supported.`);}else{superOnUnsupportedArgument.call(this,name);}}});}// QP\n{let superModelsDescriptor=descriptorFor(prototype,'models');!(superModelsDescriptor&&typeof superModelsDescriptor.get==='function')&&assert$1(`[BUG] expecting models to be a getter on <LinkTo>`,superModelsDescriptor&&typeof superModelsDescriptor.get==='function');// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nlet superModelsGetter=superModelsDescriptor.get;Object.defineProperty(prototype,'models',{configurable:true,enumerable:false,// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nget:function models(){let models=superModelsGetter.call(this);if(models.length>0&&!('query'in this.args.named)){if(isQueryParams(models[models.length-1])){models=models.slice(0,-1);}}return models;}});let superQueryDescriptor=descriptorFor(prototype,'query');!(superQueryDescriptor&&typeof superQueryDescriptor.get==='function')&&assert$1(`[BUG] expecting query to be a getter on <LinkTo>`,superQueryDescriptor&&typeof superQueryDescriptor.get==='function');// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nlet superQueryGetter=superQueryDescriptor.get;Object.defineProperty(prototype,'query',{configurable:true,enumerable:false,// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nget:function query(){if('query'in this.args.named){let qp=superQueryGetter.call(this);if(isQueryParams(qp)){return qp.values??EMPTY_QUERY_PARAMS;}else{return qp;}}else{let models=superModelsGetter.call(this);if(models.length>0){let qp=models[models.length-1];if(isQueryParams(qp)&&qp.values!==null){return qp.values;}}return EMPTY_QUERY_PARAMS;}}});}// Positional Arguments\n{let superOnUnsupportedArgument=prototype['onUnsupportedArgument'];Object.defineProperty(prototype,'onUnsupportedArgument',{configurable:true,enumerable:false,value:function onUnsupportedArgument(name){if(name!=='params'){superOnUnsupportedArgument.call(this,name);}}});}const LinkTo=opaquify(_LinkTo,LinkToTemplate);const TextareaTemplate=templateFactory(/*\n            <textarea\n            {{!-- for compatibility --}}\n            id={{this.id}}\n            class={{this.class}}\n\n            ...attributes\n\n            value={{this.value}}\n\n            {{on \"change\" this.change}}\n            {{on \"input\" this.input}}\n            {{on \"keyup\" this.keyUp}}\n            {{on \"paste\" this.valueDidChange}}\n            {{on \"cut\" this.valueDidChange}}\n          />\n          */{\"id\":\"KVdeMchh\",\"block\":\"[[[11,\\\"textarea\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,2,[30,0,[\\\"value\\\"]]],[4,[32,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[32,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[32,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[32,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[32,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],[]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/textarea.hbs\",\"scope\":()=>[on],\"isStrictMode\":true});/**\n          @module @ember/component\n          */class _Textarea extends AbstractInput{static toString(){return'Textarea';}get class(){return'ember-text-area ember-view';}// See abstract-input.ts for why these are needed\nchange(event){super.change(event);}input(event){super.input(event);}isSupportedArgument(name){let supportedArguments=['type','value','enter','insert-newline','escape-press'];return supportedArguments.indexOf(name)!==-1||super.isSupportedArgument(name);}}_Textarea2=_Textarea;decorateMethodV2(_Textarea2.prototype,\"change\",[action$1]);decorateMethodV2(_Textarea2.prototype,\"input\",[action$1]);const Textarea=opaquify(_Textarea,TextareaTemplate);/**\n           * @deprecated\n           */function unwrapTemplate(template){if(template.result==='error'){throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);}return template;}function isTemplateFactory(template){return typeof template==='function';}function referenceForParts(rootRef,parts){let isAttrs=parts[0]==='attrs';// TODO deprecate this\nif(isAttrs){parts.shift();if(parts.length===1){return childRefFor(rootRef,parts[0]);}}return childRefFromParts(rootRef,parts);}function parseAttributeBinding(microsyntax){let colonIndex=microsyntax.indexOf(':');if(colonIndex===-1){!(microsyntax!=='class')&&assert$1('You cannot use class as an attributeBinding, use classNameBindings instead.',microsyntax!=='class');return[microsyntax,microsyntax,true];}else{let prop=microsyntax.substring(0,colonIndex);let attribute=microsyntax.substring(colonIndex+1);!(attribute!=='class')&&assert$1('You cannot use class as an attributeBinding, use classNameBindings instead.',attribute!=='class');return[prop,attribute,false];}}function installAttributeBinding(component,rootRef,parsed,operations){let[prop,attribute,isSimple]=parsed;if(attribute==='id'){// SAFETY: `get` could not infer the type of `prop` and just gave us `unknown`.\n//         we may want to throw an error in the future if the value isn't string or null/undefined.\nlet elementId=get$2(component,prop);if(elementId===undefined||elementId===null){elementId=component.elementId;}let elementIdRef=createPrimitiveRef(elementId);operations.setAttribute('id',elementIdRef,true,null);return;}let isPath=prop.indexOf('.')>-1;let reference=isPath?referenceForParts(rootRef,prop.split('.')):childRefFor(rootRef,prop);!!(isSimple&&isPath)&&assert$1(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`,!(isSimple&&isPath));operations.setAttribute(attribute,reference,false,null);}function createClassNameBindingRef(rootRef,microsyntax,operations){let parts=microsyntax.split(':');let[prop,truthy,falsy]=parts;// NOTE: This could be an empty string\n!(prop!==undefined)&&assert$1('has prop',prop!==undefined);// Will always have at least one part\nlet isStatic=prop==='';if(isStatic){operations.setAttribute('class',createPrimitiveRef(truthy),true,null);}else{let isPath=prop.indexOf('.')>-1;let parts=isPath?prop.split('.'):[];let value=isPath?referenceForParts(rootRef,parts):childRefFor(rootRef,prop);let ref;if(truthy===undefined){ref=createSimpleClassNameBindingRef(value,isPath?parts[parts.length-1]:prop);}else{ref=createColonClassNameBindingRef(value,truthy,falsy);}operations.setAttribute('class',ref,false,null);}}function createSimpleClassNameBindingRef(inner,path){let dasherizedPath;return createComputeRef(()=>{let value=valueForRef(inner);if(value===true){!(path!==undefined)&&assert$1('You must pass a path when binding a to a class name using classNameBindings',path!==undefined);return dasherizedPath||(dasherizedPath=dasherize(path));}else if(value||value===0){return String(value);}else{return null;}});}function createColonClassNameBindingRef(inner,truthy,falsy){return createComputeRef(()=>{return valueForRef(inner)?truthy:falsy;});}function NOOP$1(){}/**\n            @module ember\n          *//**\n            Represents the internal state of the component.\n\n            @class ComponentStateBucket\n            @private\n          */class ComponentStateBucket{constructor(component,args,argsTag,finalizer,hasWrappedElement,isInteractive){_defineProperty(this,\"classRef\",null);_defineProperty(this,\"rootRef\",void 0);_defineProperty(this,\"argsRevision\",void 0);this.component=component;this.args=args;this.argsTag=argsTag;this.finalizer=finalizer;this.hasWrappedElement=hasWrappedElement;this.isInteractive=isInteractive;this.classRef=null;this.argsRevision=args===null?0:valueForTag(argsTag);this.rootRef=createConstRef(component,'this');registerDestructor$1(this,()=>this.willDestroy(),true);registerDestructor$1(this,()=>this.component.destroy());}willDestroy(){let{component,isInteractive}=this;if(isInteractive){beginUntrackFrame();component.trigger('willDestroyElement');component.trigger('willClearRender');endUntrackFrame();let element=getViewElement(component);if(element){clearElementView(element);clearViewElement(component);}}component.renderer.unregister(component);}finalize(){let{finalizer}=this;finalizer();this.finalizer=NOOP$1;}}function internalHelper(helper){return setInternalHelperManager(helper,{});}/**\n          @module ember\n          */const ACTIONS=new WeakSet();/**\n            The `{{action}}` helper provides a way to pass triggers for behavior (usually\n            just a function) between components, and into components from controllers.\n\n            ### Passing functions with the action helper\n\n            There are three contexts an action helper can be used in. The first two\n            contexts to discuss are attribute context, and Handlebars value context.\n\n            ```handlebars\n            {{! An example of attribute context }}\n            <div onclick={{action \"save\"}}></div>\n            {{! Examples of Handlebars value context }}\n            {{input on-input=(action \"save\")}}\n            {{yield (action \"refreshData\") andAnotherParam}}\n            ```\n\n            In these contexts,\n            the helper is called a \"closure action\" helper. Its behavior is simple:\n            If passed a function name, read that function off the `actions` property\n            of the current context. Once that function is read, or immediately if a function was\n            passed, create a closure over that function and any arguments.\n            The resulting value of an action helper used this way is simply a function.\n\n            For example, in the attribute context:\n\n            ```handlebars\n            {{! An example of attribute context }}\n            <div onclick={{action \"save\"}}></div>\n            ```\n\n            The resulting template render logic would be:\n\n            ```js\n            var div = document.createElement('div');\n            var actionFunction = (function(context){\n              return function() {\n                return context.actions.save.apply(context, arguments);\n              };\n            })(context);\n            div.onclick = actionFunction;\n            ```\n\n            Thus when the div is clicked, the action on that context is called.\n            Because the `actionFunction` is just a function, closure actions can be\n            passed between components and still execute in the correct context.\n\n            Here is an example action handler on a component:\n\n            ```app/components/my-component.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n\n            export default class extends Component {\n              @action\n              save() {\n                this.model.save();\n              }\n            }\n            ```\n\n            Actions are always looked up on the `actions` property of the current context.\n            This avoids collisions in the naming of common actions, such as `destroy`.\n            Two options can be passed to the `action` helper when it is used in this way.\n\n            * `target=someProperty` will look to `someProperty` instead of the current\n              context for the `actions` hash. This can be useful when targeting a\n              service for actions.\n            * `value=\"target.value\"` will read the path `target.value` off the first\n              argument to the action when it is called and rewrite the first argument\n              to be that value. This is useful when attaching actions to event listeners.\n\n            ### Invoking an action\n\n            Closure actions curry both their scope and any arguments. When invoked, any\n            additional arguments are added to the already curried list.\n            Actions are presented in JavaScript as callbacks, and are\n            invoked like any other JavaScript function.\n\n            For example\n\n            ```app/components/update-name.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n\n            export default class extends Component {\n              @action\n              setName(model, name) {\n                model.set('name', name);\n              }\n            }\n            ```\n\n            ```app/components/update-name.hbs\n            {{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n            ```\n\n            The first argument (`@model`) was curried over, and the run-time argument (`event`)\n            becomes a second argument. Action calls can be nested this way because each simply\n            returns a function. Any function can be passed to the `{{action}}` helper, including\n            other actions.\n\n            Actions invoked with `sendAction` have the same currying behavior as demonstrated\n            with `on-input` above. For example:\n\n            ```app/components/my-input.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n\n            export default class extends Component {\n              @action\n              setName(model, name) {\n                model.set('name', name);\n              }\n            }\n            ```\n\n            ```handlebars\n            <MyInput @submit={{action 'setName' @model}} />\n            ```\n\n            or\n\n            ```handlebars\n            {{my-input submit=(action 'setName' @model)}}\n            ```\n\n            ```app/components/my-component.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              click() {\n                // Note that model is not passed, it was curried in the template\n                this.submit('bob');\n              }\n            });\n            ```\n\n            ### Attaching actions to DOM elements\n\n            The third context of the `{{action}}` helper can be called \"element space\".\n            For example:\n\n            ```handlebars\n            {{! An example of element space }}\n            <div {{action \"save\"}}></div>\n            ```\n\n            Used this way, the `{{action}}` helper provides a useful shortcut for\n            registering an HTML element in a template for a single DOM event and\n            forwarding that interaction to the template's context (controller or component).\n            If the context of a template is a controller, actions used this way will\n            bubble to routes when the controller does not implement the specified action.\n            Once an action hits a route, it will bubble through the route hierarchy.\n\n            ### Event Propagation\n\n            `{{action}}` helpers called in element space can control event bubbling. Note\n            that the closure style actions cannot.\n\n            Events triggered through the action helper will automatically have\n            `.preventDefault()` called on them. You do not need to do so in your event\n            handlers. If you need to allow event propagation (to handle file inputs for\n            example) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n\n            ```handlebars\n            <div {{action \"sayHello\" preventDefault=false}}>\n              <input type=\"file\" />\n              <input type=\"checkbox\" />\n            </div>\n            ```\n\n            To disable bubbling, pass `bubbles=false` to the helper:\n\n            ```handlebars\n            <button {{action 'edit' post bubbles=false}}>Edit</button>\n            ```\n\n            To disable bubbling with closure style actions you must create your own\n            wrapper helper that makes use of `event.stopPropagation()`:\n\n            ```handlebars\n            <div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n            ```\n\n            ```app/helpers/disable-bubbling.js\n            import { helper } from '@ember/component/helper';\n\n            export function disableBubbling([action]) {\n              return function(event) {\n                event.stopPropagation();\n                return action(event);\n              };\n            }\n            export default helper(disableBubbling);\n            ```\n\n            If you need the default handler to trigger you should either register your\n            own event handler, or use event methods on your view class. See\n            [\"Responding to Browser Events\"](/ember/release/classes/Component)\n            in the documentation for `Component` for more information.\n\n            ### Specifying DOM event type\n\n            `{{action}}` helpers called in element space can specify an event type.\n            By default the `{{action}}` helper registers for DOM `click` events. You can\n            supply an `on` option to the helper to specify a different DOM event name:\n\n            ```handlebars\n            <div {{action \"anActionName\" on=\"doubleClick\"}}>\n              click me\n            </div>\n            ```\n\n            See [\"Event Names\"](/ember/release/classes/Component) for a list of\n            acceptable DOM event names.\n\n            ### Specifying whitelisted modifier keys\n\n            `{{action}}` helpers called in element space can specify modifier keys.\n            By default the `{{action}}` helper will ignore click events with pressed modifier\n            keys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n\n            ```handlebars\n            <div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n              click me\n            </div>\n            ```\n\n            This way the action will fire when clicking with the alt key pressed down.\n            Alternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n\n            ```handlebars\n            <div {{action \"anActionName\" allowedKeys=\"any\"}}>\n              click me with any key pressed\n            </div>\n            ```\n\n            ### Specifying a Target\n\n            A `target` option can be provided to the helper to change\n            which object will receive the method call. This option must be a path\n            to an object, accessible in the current context:\n\n            ```app/templates/application.hbs\n            <div {{action \"anActionName\" target=someService}}>\n              click me\n            </div>\n            ```\n\n            ```app/controllers/application.js\n            import Controller from '@ember/controller';\n            import { service } from '@ember/service';\n\n            export default class extends Controller {\n              @service someService;\n            }\n            ```\n\n            @method action\n            @deprecated\n            @for Ember.Templates.helpers\n            @public\n          */const action=internalHelper(args=>{deprecateUntil(`Usage of the \\`(action)\\` helper is deprecated. Migrate to native functions and function invocation.`,DEPRECATIONS.DEPRECATE_TEMPLATE_ACTION);let{named,positional}=args;// The first two argument slots are reserved.\n// pos[0] is the context (or `this`)\n// pos[1] is the action name or function\n// Anything else is an action argument.\nlet[context,action,...restArgs]=positional;!(context&&action)&&assert$1('hash position arguments',context&&action);let debugKey=action.debugLabel;let target='target'in named?named['target']:context;let processArgs=makeArgsProcessor('value'in named&&named['value']||false,restArgs);let fn;if(isInvokableRef(action)){fn=makeClosureAction(action,action,invokeRef,processArgs,debugKey);}else{fn=makeDynamicClosureAction(valueForRef(context),// SAFETY: glimmer-vm should expose narrowing utilities for references\n//         as is, `target` is still `Reference<unknown>`.\n//         however, we never even tried to narrow `target`, so this is potentially risky code.\ntarget,// SAFETY: glimmer-vm should expose narrowing utilities for references\n//         as is, `action` is still `Reference<unknown>`\naction,processArgs,debugKey);}ACTIONS.add(fn);return createUnboundRef(fn,'(result of an `action` helper)');});function NOOP(args){return args;}function makeArgsProcessor(valuePathRef,actionArgsRef){let mergeArgs;if(actionArgsRef.length>0){mergeArgs=args=>{return actionArgsRef.map(valueForRef).concat(args);};}let readValue;if(valuePathRef){readValue=args=>{let valuePath=valueForRef(valuePathRef);if(valuePath&&args.length>0){args[0]=get$2(args[0],valuePath);}return args;};}if(mergeArgs&&readValue){return args=>{return readValue(mergeArgs(args));};}else{return mergeArgs||readValue||NOOP;}}function makeDynamicClosureAction(context,targetRef,actionRef,processArgs,debugKey){const action=valueForRef(actionRef);// We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n{makeClosureAction(context,valueForRef(targetRef),action,processArgs,debugKey);}return(...args)=>{return makeClosureAction(context,valueForRef(targetRef),action,processArgs,debugKey)(...args);};}function makeClosureAction(context,target,action,processArgs,debugKey){let self;let fn;!(action!==undefined&&action!==null)&&assert$1(`Action passed is null or undefined in (action) from ${target}.`,action!==undefined&&action!==null);if(typeof action==='string'){!(target!==null&&typeof target==='object')&&assert$1('target must be an object',target!==null&&typeof target==='object');self=target;let value=target.actions?.[action];!Boolean(value)&&assert$1(`An action named '${action}' was not found in ${target}`,Boolean(value));!(typeof value==='function')&&assert$1(`An action named '${action}' was found in ${target}, but is not a function`,typeof value==='function');fn=value;}else if(typeof action==='function'){self=context;fn=action;}else{assert$1(`An action could not be made for \\`${debugKey||action}\\` in ${target}. Please confirm that you are using either a quoted action name (i.e. \\`(action '${debugKey||'myAction'}')\\`) or a function available in ${target}.`,false);}return(...args)=>{let payload={};return flaggedInstrument('interaction.ember-action',payload,()=>{return join(self,fn,...processArgs(args));});};}// The code above:\n// 1. Finds an action function, usually on the `actions` hash\n// 2. Calls it with the target as the correct `this` context\n// Previously, `UPDATE_REFERENCED_VALUE` was a method on the reference itself,\n// so this made a bit more sense. Now, it isn't, and so we need to create a\n// function that can have `this` bound to it when called. This allows us to use\n// the same codepath to call `updateRef` on the reference.\nfunction invokeRef(value){updateRef(this,value);}// ComponentArgs takes EvaluatedNamedArgs and converts them into the\n// inputs needed by CurlyComponents (attrs and props, with mutable\n// cells, etc).\nfunction processComponentArgs(namedArgs){let attrs=Object.create(null);let props=Object.create(null);for(let name in namedArgs){let ref=namedArgs[name];!ref&&assert$1('expected ref',ref);let value=valueForRef(ref);let isAction=typeof value==='function'&&ACTIONS.has(value);if(isUpdatableRef(ref)&&!isAction){attrs[name]=new MutableCell(ref,value);}else{attrs[name]=value;}props[name]=value;}props.attrs=attrs;return props;}const REF=Symbol('REF');class MutableCell{constructor(ref,value){_defineProperty(this,\"value\",void 0);_defineProperty(this,MUTABLE_CELL,void 0);_defineProperty(this,REF,void 0);this[MUTABLE_CELL]=true;this[REF]=ref;this.value=value;}update(val){updateRef(this[REF],val);}}const ARGS=enumerableSymbol('ARGS');const HAS_BLOCK=enumerableSymbol('HAS_BLOCK');const DIRTY_TAG=Symbol('DIRTY_TAG');const IS_DISPATCHING_ATTRS=Symbol('IS_DISPATCHING_ATTRS');const BOUNDS=Symbol('BOUNDS');const EMBER_VIEW_REF=createPrimitiveRef('ember-view');function aliasIdToElementId(args,props){if(args.named.has('id')){!!args.named.has('elementId')&&assert$1(`You cannot invoke a component with both 'id' and 'elementId' at the same time.`,!args.named.has('elementId'));props.elementId=props.id;}}// We must traverse the attributeBindings in reverse keeping track of\n// what has already been applied. This is essentially refining the concatenated\n// properties applying right to left.\nfunction applyAttributeBindings(attributeBindings,component,rootRef,operations){let seen=[];let i=attributeBindings.length-1;while(i!==-1){let binding=attributeBindings[i];!binding&&assert$1('has binding',binding);let parsed=parseAttributeBinding(binding);let attribute=parsed[1];if(seen.indexOf(attribute)===-1){seen.push(attribute);installAttributeBinding(component,rootRef,parsed,operations);}i--;}if(seen.indexOf('id')===-1){let id=component.elementId?component.elementId:guidFor(component);operations.setAttribute('id',createPrimitiveRef(id),false,null);}}const EMPTY_POSITIONAL_ARGS=[];debugFreeze(EMPTY_POSITIONAL_ARGS);class CurlyComponentManager{templateFor(component){let{layout,layoutName}=component;let owner=getOwner$2(component);!owner&&assert$1('Component is unexpectedly missing an owner',owner);let factory;if(layout===undefined){if(layoutName!==undefined){let _factory=owner.lookup(`template:${layoutName}`);!(_factory!==undefined)&&assert$1(`Layout \\`${layoutName}\\` not found!`,_factory!==undefined);factory=_factory;}else{return null;}}else if(isTemplateFactory(layout)){factory=layout;}else{// no layout was found, use the default layout\nreturn null;}return unwrapTemplate(factory(owner)).asWrappedLayout();}getDynamicLayout(bucket){return this.templateFor(bucket.component);}getTagName(state){let{component,hasWrappedElement}=state;if(!hasWrappedElement){return null;}return component&&component.tagName||'div';}getCapabilities(){return CURLY_CAPABILITIES;}prepareArgs(ComponentClass,args){if(args.named.has('__ARGS__')){!(args.positional.length===0)&&assert$1('[BUG] cannot pass both __ARGS__ and positional arguments',args.positional.length===0);let{__ARGS__,...rest}=args.named.capture();!__ARGS__&&assert$1('[BUG] unexpectedly missing __ARGS__ after check',__ARGS__);// does this need to be untracked?\nlet __args__=valueForRef(__ARGS__);let prepared={positional:__args__.positional,named:{...rest,...__args__.named}};return prepared;}const{positionalParams}=ComponentClass.class??ComponentClass;// early exits\nif(positionalParams===undefined||positionalParams===null||args.positional.length===0){return null;}let named;if(typeof positionalParams==='string'){!!args.named.has(positionalParams)&&assert$1(`You cannot specify positional parameters and the hash argument \\`${positionalParams}\\`.`,!args.named.has(positionalParams));let captured=args.positional.capture();named={[positionalParams]:createComputeRef(()=>reifyPositional(captured))};Object.assign(named,args.named.capture());}else if(Array.isArray(positionalParams)&&positionalParams.length>0){const count=Math.min(positionalParams.length,args.positional.length);named={};Object.assign(named,args.named.capture());for(let i=0;i<count;i++){let name=positionalParams[i];!name&&assert$1('Expected at least one positional param',name);!!args.named.has(name)&&assert$1(`You cannot specify both a positional param (at position ${i}) and the hash argument \\`${name}\\`.`,!args.named.has(name));named[name]=args.positional.at(i);}}else{return null;}return{positional:EMPTY_ARRAY$4,named};}/*\n             * This hook is responsible for actually instantiating the component instance.\n             * It also is where we perform additional bookkeeping to support legacy\n             * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n             * etc.\n             */create(owner,ComponentClass,args,{isInteractive},dynamicScope,callerSelfRef,hasBlock){// Get the nearest concrete component instance from the scope. \"Virtual\"\n// components will be skipped.\nlet parentView=dynamicScope.view;// Capture the arguments, which tells Glimmer to give us our own, stable\n// copy of the Arguments object that is safe to hold on to between renders.\nlet capturedArgs=args.named.capture();beginTrackFrame();let props=processComponentArgs(capturedArgs);props[ARGS]=capturedArgs;let argsTag=endTrackFrame();// Alias `id` argument to `elementId` property on the component instance.\naliasIdToElementId(args,props);// Set component instance's parentView property to point to nearest concrete\n// component.\nprops.parentView=parentView;// Set whether this component was invoked with a block\n// (`{{#my-component}}{{/my-component}}`) or without one\n// (`{{my-component}}`).\nprops[HAS_BLOCK]=hasBlock;// Save the current `this` context of the template as the component's\n// `_target`, so bubbled actions are routed to the right place.\nprops._target=valueForRef(callerSelfRef);setOwner$1(props,owner);// caller:\n// <FaIcon @name=\"bug\" />\n//\n// callee:\n// <i class=\"fa-{{@name}}\"></i>\n// Now that we've built up all of the properties to set on the component instance,\n// actually create it.\nbeginUntrackFrame();let component=ComponentClass.create(props);let finalizer=_instrumentStart('render.component',initialRenderInstrumentDetails,component);// We become the new parentView for downstream components, so save our\n// component off on the dynamic scope.\ndynamicScope.view=component;// Unless we're the root component, we need to add ourselves to our parent\n// component's childViews array.\nif(parentView!==null&&parentView!==undefined){addChildView(parentView,component);}component.trigger('didReceiveAttrs');let hasWrappedElement=component.tagName!=='';// We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\nif(!hasWrappedElement){if(isInteractive){component.trigger('willRender');}component._transitionTo('hasElement');if(isInteractive){component.trigger('willInsertElement');}}// Track additional lifecycle metadata about this component in a state bucket.\n// Essentially we're saving off all the state we'll need in the future.\nlet bucket=new ComponentStateBucket(component,capturedArgs,argsTag,finalizer,hasWrappedElement,isInteractive);if(args.named.has('class')){bucket.classRef=args.named.get('class');}{processComponentInitializationAssertions(component,props);}if(isInteractive&&hasWrappedElement){component.trigger('willRender');}endUntrackFrame();// consume every argument so we always run again\nconsumeTag(bucket.argsTag);consumeTag(component[DIRTY_TAG]);return bucket;}getDebugName(definition){return definition.fullName||definition.normalizedName||definition.class?.name||definition.name;}getSelf({rootRef}){return rootRef;}didCreateElement({component,classRef,isInteractive,rootRef},element,operations){setViewElement(component,element);setElementView(element,component);let{attributeBindings,classNames,classNameBindings}=component;if(attributeBindings&&attributeBindings.length){applyAttributeBindings(attributeBindings,component,rootRef,operations);}else{let id=component.elementId?component.elementId:guidFor(component);operations.setAttribute('id',createPrimitiveRef(id),false,null);}if(classRef){const ref=createSimpleClassNameBindingRef(classRef);operations.setAttribute('class',ref,false,null);}if(classNames&&classNames.length){classNames.forEach(name=>{operations.setAttribute('class',createPrimitiveRef(name),false,null);});}if(classNameBindings&&classNameBindings.length){classNameBindings.forEach(binding=>{createClassNameBindingRef(rootRef,binding,operations);});}operations.setAttribute('class',EMBER_VIEW_REF,false,null);if('ariaRole'in component){operations.setAttribute('role',childRefFor(rootRef,'ariaRole'),false,null);}component._transitionTo('hasElement');if(isInteractive){beginUntrackFrame();component.trigger('willInsertElement');endUntrackFrame();}}didRenderLayout(bucket,bounds){bucket.component[BOUNDS]=bounds;bucket.finalize();}didCreate({component,isInteractive}){if(isInteractive){component._transitionTo('inDOM');component.trigger('didInsertElement');component.trigger('didRender');}}update(bucket){let{component,args,argsTag,argsRevision,isInteractive}=bucket;bucket.finalizer=_instrumentStart('render.component',rerenderInstrumentDetails,component);beginUntrackFrame();if(args!==null&&!validateTag(argsTag,argsRevision)){beginTrackFrame();let props=processComponentArgs(args);argsTag=bucket.argsTag=endTrackFrame();bucket.argsRevision=valueForTag(argsTag);component[IS_DISPATCHING_ATTRS]=true;component.setProperties(props);component[IS_DISPATCHING_ATTRS]=false;component.trigger('didUpdateAttrs');component.trigger('didReceiveAttrs');}if(isInteractive){component.trigger('willUpdate');component.trigger('willRender');}endUntrackFrame();consumeTag(argsTag);consumeTag(component[DIRTY_TAG]);}didUpdateLayout(bucket){bucket.finalize();}didUpdate({component,isInteractive}){if(isInteractive){component.trigger('didUpdate');component.trigger('didRender');}}getDestroyable(bucket){return bucket;}}function processComponentInitializationAssertions(component,props){!(()=>{let{classNameBindings}=component;for(let i=0;i<classNameBindings.length;i++){let binding=classNameBindings[i];if(typeof binding!=='string'||binding.length===0){return false;}}return true;})()&&assert$1(`classNameBindings must be non-empty strings: ${component}`,(()=>{let{classNameBindings}=component;for(let i=0;i<classNameBindings.length;i++){let binding=classNameBindings[i];if(typeof binding!=='string'||binding.length===0){return false;}}return true;})());!(()=>{let{classNameBindings}=component;for(let binding of classNameBindings){if(binding.split(' ').length>1){return false;}}return true;})()&&assert$1(`classNameBindings must not have spaces in them: ${component}`,(()=>{let{classNameBindings}=component;for(let binding of classNameBindings){if(binding.split(' ').length>1){return false;}}return true;})());!(component.tagName!==''||!component.classNameBindings||component.classNameBindings.length===0)&&assert$1(`You cannot use \\`classNameBindings\\` on a tag-less component: ${component}`,component.tagName!==''||!component.classNameBindings||component.classNameBindings.length===0);!(component.tagName!==''||props.id===component.elementId||!component.elementId&&component.elementId!=='')&&assert$1(`You cannot use \\`elementId\\` on a tag-less component: ${component}`,component.tagName!==''||props.id===component.elementId||!component.elementId&&component.elementId!=='');!(component.tagName!==''||!component.attributeBindings||component.attributeBindings.length===0)&&assert$1(`You cannot use \\`attributeBindings\\` on a tag-less component: ${component}`,component.tagName!==''||!component.attributeBindings||component.attributeBindings.length===0);}function initialRenderInstrumentDetails(component){return component.instrumentDetails({initialRender:true});}function rerenderInstrumentDetails(component){return component.instrumentDetails({initialRender:false});}const CURLY_CAPABILITIES={dynamicLayout:true,dynamicTag:true,prepareArgs:true,createArgs:true,attributeHook:true,elementHook:true,createCaller:true,dynamicScope:true,updateHook:true,createInstance:true,wrapped:true,willDestroy:true,hasSubOwner:false};const CURLY_COMPONENT_MANAGER=new CurlyComponentManager();function isCurlyManager(manager){return manager===CURLY_COMPONENT_MANAGER;}// Keep track of which component classes have already been processed for lazy event setup.\nlet lazyEventsProcessed=new WeakMap();/**\n          @module @ember/component\n          */// A zero-runtime-overhead private symbol to use in branding the component to\n// preserve its type parameter.\n/**\n            A component is a reusable UI element that consists of a `.hbs` template and an\n            optional JavaScript class that defines its behavior. For example, someone\n            might make a `button` in the template and handle the click behavior in the\n            JavaScript file that shares the same name as the template.\n\n            Components are broken down into two categories:\n\n            - Components _without_ JavaScript, that are based only on a template. These\n              are called Template-only or TO components.\n            - Components _with_ JavaScript, which consist of a template and a backing\n              class.\n\n            Ember ships with two types of JavaScript classes for components:\n\n            1. Glimmer components, imported from `@glimmer/component`, which are the\n               default component's for Ember Octane (3.15) and more recent editions.\n            2. Classic components, imported from `@ember/component`, which were the\n               default for older editions of Ember (pre 3.15).\n\n            Below is the documentation for Classic components. If you are looking for the\n            API documentation for Template-only or Glimmer components, it is [available\n            here](/ember/release/modules/@glimmer%2Fcomponent).\n\n            ## Defining a Classic Component\n\n            If you want to customize the component in order to handle events, transform\n            arguments or maintain internal state, you implement a subclass of `Component`.\n\n            One example is to add computed properties to your component:\n\n            ```app/components/person-profile.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n                let { title, firstName, lastName } = this.person;\n\n                if (title) {\n                  return `${title} ${lastName}`;\n                } else {\n                  return `${firstName} ${lastName}`;\n                }\n              })\n            });\n            ```\n\n            And then use it in the component's template:\n\n            ```app/templates/components/person-profile.hbs\n            <h1>{{this.displayName}}</h1>\n            {{yield}}\n            ```\n\n            ## Customizing a Classic Component's HTML Element in JavaScript\n\n            ### HTML Tag\n\n            The default HTML tag name used for a component's HTML representation is `div`.\n            This can be customized by setting the `tagName` property.\n\n            Consider the following component class:\n\n            ```app/components/emphasized-paragraph.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'em'\n            });\n            ```\n\n            When invoked, this component would produce output that looks something like\n            this:\n\n            ```html\n            <em id=\"ember1\" class=\"ember-view\"></em>\n            ```\n\n            ### HTML `class` Attribute\n\n            The HTML `class` attribute of a component's tag can be set by providing a\n            `classNames` property that is set to an array of strings:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNames: ['my-class', 'my-other-class']\n            });\n            ```\n\n            Invoking this component will produce output that looks like this:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n            ```\n\n            `class` attribute values can also be set by providing a `classNameBindings`\n            property set to an array of properties names for the component. The return\n            value of these properties will be added as part of the value for the\n            components's `class` attribute. These properties can be computed properties:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n            import { computed } from '@ember/object';\n\n            export default Component.extend({\n              classNames: ['my-class', 'my-other-class'],\n              classNameBindings: ['propertyA', 'propertyB'],\n\n              propertyA: 'from-a',\n              propertyB: computed(function() {\n                if (someLogic) { return 'from-b'; }\n              })\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n            ```\n\n            Note that `classNames` and `classNameBindings` is in addition to the `class`\n            attribute passed with the angle bracket invocation syntax. Therefore, if this\n            component was invoked like so:\n\n            ```handlebars\n            <MyWidget class=\"from-invocation\" />\n            ```\n\n            The resulting HTML will look similar to this:\n\n            ```html\n            <div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n            ```\n\n            If the value of a class name binding returns a boolean the property name\n            itself will be used as the class name if the property is true. The class name\n            will not be added if the value is `false` or `undefined`.\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['hovered'],\n\n              hovered: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view hovered\"></div>\n            ```\n\n            ### Custom Class Names for Boolean Values\n\n            When using boolean class name bindings you can supply a string value other\n            than the property name for use as the `class` HTML attribute by appending the\n            preferred value after a \":\" character when defining the binding:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['awesome:so-very-cool'],\n\n              awesome: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n            ```\n\n            Boolean value class name bindings whose property names are in a\n            camelCase-style format will be converted to a dasherized format:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['isUrgent'],\n\n              isUrgent: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n            ```\n\n            Class name bindings can also refer to object values that are found by\n            traversing a path relative to the component itself:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n            import EmberObject from '@ember/object';\n\n            export default Component.extend({\n              classNameBindings: ['messages.empty'],\n\n              messages: EmberObject.create({\n                empty: true\n              })\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view empty\"></div>\n            ```\n\n            If you want to add a class name for a property which evaluates to true and and\n            a different class name if it evaluates to false, you can pass a binding like\n            this:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              classNameBindings: ['isEnabled:enabled:disabled'],\n              isEnabled: true\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view enabled\"></div>\n            ```\n\n            When isEnabled is `false`, the resulting HTML representation looks like this:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view disabled\"></div>\n            ```\n\n            This syntax offers the convenience to add a class if a property is `false`:\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n            export default Component.extend({\n              classNameBindings: ['isEnabled::disabled'],\n              isEnabled: true\n            });\n            ```\n\n            Invoking this component when the `isEnabled` property is true will produce\n            HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view\"></div>\n            ```\n\n            Invoking it when the `isEnabled` property on the component is `false` will\n            produce HTML that looks like:\n\n            ```html\n            <div id=\"ember1\" class=\"ember-view disabled\"></div>\n            ```\n\n            Updates to the value of a class name binding will result in automatic update\n            of the  HTML `class` attribute in the component's rendered HTML\n            representation. If the value becomes `false` or `undefined` the class name\n            will be removed.\n\n            Both `classNames` and `classNameBindings` are concatenated properties. See\n            [EmberObject](/ember/release/classes/EmberObject) documentation for more\n            information about concatenated properties.\n\n            ### Other HTML Attributes\n\n            The HTML attribute section of a component's tag can be set by providing an\n            `attributeBindings` property set to an array of property names on the\n            component. The return value of these properties will be used as the value of\n            the component's HTML associated attribute:\n\n            ```app/components/my-anchor.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'a',\n              attributeBindings: ['href'],\n\n              href: 'http://google.com'\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n            ```\n\n            One property can be mapped on to another by placing a \":\" between the source\n            property and the destination property:\n\n            ```app/components/my-anchor.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'a',\n              attributeBindings: ['url:href'],\n\n              url: 'http://google.com'\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n            ```\n\n            HTML attributes passed with angle bracket invocations will take precedence\n            over those specified in `attributeBindings`. Therefore, if this component was\n            invoked like so:\n\n            ```handlebars\n            <MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n            ```\n\n            The resulting HTML will looks like this:\n\n            ```html\n            <a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n            ```\n\n            Note that the `href` attribute is ultimately set to `http://bing.com`, despite\n            it having attribute binidng to the `url` property, which was set to\n            `http://google.com`.\n\n            Namespaced attributes (e.g. `xlink:href`) are supported, but have to be\n            mapped, since `:` is not a valid character for properties in Javascript:\n\n            ```app/components/my-use.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'use',\n              attributeBindings: ['xlinkHref:xlink:href'],\n\n              xlinkHref: '#triangle'\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <use xlink:href=\"#triangle\"></use>\n            ```\n\n            If the value of a property monitored by `attributeBindings` is a boolean, the\n            attribute will be present or absent depending on the value:\n\n            ```app/components/my-text-input.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'input',\n              attributeBindings: ['disabled'],\n\n              disabled: false\n            });\n            ```\n\n            Invoking this component will produce HTML that looks like:\n\n            ```html\n            <input id=\"ember1\" class=\"ember-view\" />\n            ```\n\n            `attributeBindings` can refer to computed properties:\n\n            ```app/components/my-text-input.js\n            import Component from '@ember/component';\n            import { computed } from '@ember/object';\n\n            export default Component.extend({\n              tagName: 'input',\n              attributeBindings: ['disabled'],\n\n              disabled: computed(function() {\n                if (someLogic) {\n                  return true;\n                } else {\n                  return false;\n                }\n              })\n            });\n            ```\n\n            To prevent setting an attribute altogether, use `null` or `undefined` as the\n            value of the property used in `attributeBindings`:\n\n            ```app/components/my-text-input.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              tagName: 'form',\n              attributeBindings: ['novalidate'],\n              novalidate: null\n            });\n            ```\n\n            Updates to the property of an attribute binding will result in automatic\n            update of the  HTML attribute in the component's HTML output.\n\n            `attributeBindings` is a concatenated property. See\n            [EmberObject](/ember/release/classes/EmberObject) documentation for more\n            information about concatenated properties.\n\n            ## Layouts\n\n            The `layout` property can be used to dynamically specify a template associated\n            with a component class, instead of relying on Ember to link together a\n            component class and a template based on file names.\n\n            In general, applications should not use this feature, but it's commonly used\n            in addons for historical reasons.\n\n            The `layout` property should be set to the default export of a template\n            module, which is the name of a template file without the `.hbs` extension.\n\n            ```app/templates/components/person-profile.hbs\n            <h1>Person's Title</h1>\n            <div class='details'>{{yield}}</div>\n            ```\n\n            ```app/components/person-profile.js\n              import Component from '@ember/component';\n              import layout from '../templates/components/person-profile';\n\n              export default Component.extend({\n                layout\n              });\n            ```\n\n            If you invoke the component:\n\n            ```handlebars\n            <PersonProfile>\n              <h2>Chief Basket Weaver</h2>\n              <h3>Fisherman Industries</h3>\n            </PersonProfile>\n            ```\n\n            or\n\n            ```handlebars\n            {{#person-profile}}\n              <h2>Chief Basket Weaver</h2>\n              <h3>Fisherman Industries</h3>\n            {{/person-profile}}\n            ```\n\n            It will result in the following HTML output:\n\n            ```html\n            <h1>Person's Title</h1>\n              <div class=\"details\">\n              <h2>Chief Basket Weaver</h2>\n              <h3>Fisherman Industries</h3>\n            </div>\n            ```\n\n            ## Handling Browser Events\n\n            There are two ways to handle user-initiated events:\n\n            ### Using the `on` modifier to capture browser events\n\n            In a component's template, you can attach an event handler to any element with the `on` modifier:\n\n            ```handlebars\n            <button {{on 'click' this.doSomething}} />\n            ```\n\n            This will call the function on your component:\n\n            ```js\n            import Component from '@ember/component';\n\n            export default class ExampleComponent extends Component {\n              doSomething = (event) => {\n                // `event` is the native click Event\n                console.log('clicked on the button');\n              };\n            });\n            ```\n\n            See the [Guide on Component event\n            handlers](https://guides.emberjs.com/release/components/component-state-and-actions/#toc_html-modifiers-and-actions)\n            and the [API docs for `on`](../Ember.Templates.helpers/methods/on?anchor=on)\n            for more details.\n\n            ### Event Handler Methods\n\n            Components can also respond to user-initiated events by implementing a method\n            that matches the event name. This approach is appropriate when the same event\n            should be handled by all instances of the same component.\n\n            An event object will be passed as the argument to the event handler method.\n\n            ```app/components/my-widget.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              click(event) {\n                // `event.target` is either the component's element or one of its children\n                let tag = event.target.tagName.toLowerCase();\n                console.log('clicked on a `<${tag}>` HTML element!');\n              }\n            });\n            ```\n\n            In this example, whenever the user clicked anywhere inside the component, it\n            will log a message to the console.\n\n            It is possible to handle event types other than `click` by implementing the\n            following event handler methods. In addition, custom events can be registered\n            by using `Application.customEvents`.\n\n            Touch events:\n\n            * `touchStart`\n            * `touchMove`\n            * `touchEnd`\n            * `touchCancel`\n\n            Keyboard events:\n\n            * `keyDown`\n            * `keyUp`\n            * `keyPress`\n\n            Mouse events:\n\n            * `mouseDown`\n            * `mouseUp`\n            * `contextMenu`\n            * `click`\n            * `doubleClick`\n            * `focusIn`\n            * `focusOut`\n\n            Form events:\n\n            * `submit`\n            * `change`\n            * `focusIn`\n            * `focusOut`\n            * `input`\n\n            Drag and drop events:\n\n            * `dragStart`\n            * `drag`\n            * `dragEnter`\n            * `dragLeave`\n            * `dragOver`\n            * `dragEnd`\n            * `drop`\n\n            @class Component\n            @extends Ember.CoreView\n            @uses Ember.TargetActionSupport\n            @uses Ember.ClassNamesSupport\n            @uses Ember.ActionSupport\n            @uses Ember.ViewMixin\n            @uses Ember.ViewStateSupport\n            @public\n          */// This type param is used in the class, so must appear here.\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nclass Component extends CoreView.extend(ChildViewsSupport,ViewStateSupport,ClassNamesSupport,TargetActionSupport,ActionSupport,ViewMixin,{// These need to be overridable via extend/create but should still\n// have a default. Defining them here is the best way to achieve that.\ndidReceiveAttrs(){},didRender(){},didUpdate(){},didUpdateAttrs(){},willRender(){},willUpdate(){}}){constructor(...args){super(...args);_defineProperty(this,\"isComponent\",true);_defineProperty(this,\"__dispatcher\",void 0);}// SAFETY: this has no runtime existence whatsoever; it is a \"phantom type\"\n// here to preserve the type param.\n// SAFTEY: This is set in `init`.\ninit(properties){super.init(properties);// Handle methods from ViewMixin.\n// The native class inheritance will not work for mixins. To work around this,\n// we copy the existing rerender method provided by the mixin and swap in the\n// new rerender method from our class.\nthis._superRerender=this.rerender;this.rerender=this._rerender;this[IS_DISPATCHING_ATTRS]=false;this[DIRTY_TAG]=createTag();this[BOUNDS]=null;const eventDispatcher=this._dispatcher;if(eventDispatcher){let lazyEventsProcessedForComponentClass=lazyEventsProcessed.get(eventDispatcher);if(!lazyEventsProcessedForComponentClass){lazyEventsProcessedForComponentClass=new WeakSet();lazyEventsProcessed.set(eventDispatcher,lazyEventsProcessedForComponentClass);}let proto=Object.getPrototypeOf(this);if(!lazyEventsProcessedForComponentClass.has(proto)){let lazyEvents=eventDispatcher.lazyEvents;lazyEvents.forEach((mappedEventName,event)=>{if(mappedEventName!==null&&typeof this[mappedEventName]==='function'){eventDispatcher.setupHandlerForBrowserEvent(event);}});lazyEventsProcessedForComponentClass.add(proto);}}if(eventDispatcher&&this.renderer._isInteractive&&this.tagName===''){let eventNames=[];let events=eventDispatcher.finalEventNameMapping;for(let key in events){let methodName=events[key];if(methodName&&typeof this[methodName]==='function'){eventNames.push(methodName);}}// If in a tagless component, assert that no event handlers are defined\n!!eventNames.length&&assert$1(`You can not define \\`${eventNames}\\` function(s) to handle DOM event in the \\`${this}\\` tagless component since it doesn't have any DOM element.`,!eventNames.length);}}get _dispatcher(){if(this.__dispatcher===undefined){let owner=getOwner$2(this);!owner&&assert$1('Component is unexpectedly missing an owner',owner);if(owner.lookup('-environment:main').isInteractive){let dispatcher=owner.lookup('event_dispatcher:main');!(dispatcher instanceof EventDispatcher)&&assert$1('Expected dispatcher to be an EventDispatcher',dispatcher instanceof EventDispatcher);this.__dispatcher=dispatcher;}else{// In FastBoot we have no EventDispatcher. Set to null to not try again to look it up.\nthis.__dispatcher=null;}}return this.__dispatcher;}on(name,target,method){this._dispatcher?.setupHandlerForEmberEvent(name);// The `on` method here comes from the Evented mixin. Since this mixin\n// is applied to the parent of this class, however, we are still able\n// to use `super`.\nreturn super.on(name,target,method);}// Changed to `rerender` on init\n_rerender(){DIRTY_TAG$1(this[DIRTY_TAG]);this._superRerender();}[PROPERTY_DID_CHANGE](key,value){if(this[IS_DISPATCHING_ATTRS]){return;}let args=this[ARGS];let reference=args!==undefined?args[key]:undefined;if(reference!==undefined&&isUpdatableRef(reference)){updateRef(reference,arguments.length===2?value:get$2(this,key));}}getAttr(key){// TODO Intimate API should be deprecated\nreturn this.get(key);}/**\n              Normally, Ember's component model is \"write-only\". The component takes a\n              bunch of attributes that it got passed in, and uses them to render its\n              template.\n               One nice thing about this model is that if you try to set a value to the\n              same thing as last time, Ember (through HTMLBars) will avoid doing any\n              work on the DOM.\n               This is not just a performance optimization. If an attribute has not\n              changed, it is important not to clobber the element's \"hidden state\".\n              For example, if you set an input's `value` to the same value as before,\n              it will clobber selection state and cursor position. In other words,\n              setting an attribute is not **always** idempotent.\n               This method provides a way to read an element's attribute and also\n              update the last value Ember knows about at the same time. This makes\n              setting an attribute idempotent.\n               In particular, what this means is that if you get an `<input>` element's\n              `value` attribute and then re-render the template with the same value,\n              it will avoid clobbering the cursor and selection position.\n              Since most attribute sets are idempotent in the browser, you typically\n              can get away with reading attributes using jQuery, but the most reliable\n              way to do so is through this method.\n              @method readDOMAttr\n               @param {String} name the name of the attribute\n              @return String\n              @public\n              */readDOMAttr(name){// TODO revisit this\nlet _element=getViewElement(this);!(_element!==null)&&assert$1(`Cannot call \\`readDOMAttr\\` on ${this} which does not have an element`,_element!==null);let element=_element;let isSVG=element.namespaceURI==='http://www.w3.org/2000/svg';let{type,normalized}=normalizeProperty(element,name);if(isSVG||type==='attr'){return element.getAttribute(normalized);}return element[normalized];}// --- Declarations which support mixins ---\n// We use `declare` on these properties, even though they are optional, so\n// that they do not get created on the class *at all* when emitting the\n// transpiled code. Otherwise, since declared class properties are equivalent\n// to calling `defineProperty` in the class constructor, they would \"stomp\"\n// the properties supplied by mixins.\n/**\n             Enables components to take a list of parameters as arguments.\n              For example, a component that takes two parameters with the names\n              `name` and `age`:\n               ```app/components/my-component.js\n              import Component from '@ember/component';\n               let MyComponent = Component.extend();\n               MyComponent.reopenClass({\n                positionalParams: ['name', 'age']\n              });\n               export default MyComponent;\n              ```\n               It can then be invoked like this:\n               ```hbs\n              {{my-component \"John\" 38}}\n              ```\n               The parameters can be referred to just like named parameters:\n               ```hbs\n              Name: {{name}}, Age: {{age}}.\n              ```\n               Using a string instead of an array allows for an arbitrary number of\n              parameters:\n               ```app/components/my-component.js\n              import Component from '@ember/component';\n               let MyComponent = Component.extend();\n               MyComponent.reopenClass({\n                positionalParams: 'names'\n              });\n               export default MyComponent;\n              ```\n               It can then be invoked like this:\n               ```hbs\n              {{my-component \"John\" \"Michael\" \"Scott\"}}\n              ```\n              The parameters can then be referred to by enumerating over the list:\n               ```hbs\n              {{#each names as |name|}}{{name}}{{/each}}\n              ```\n               @static\n              @public\n              @property positionalParams\n              @since 1.13.0\n              *//**\n                 Enables components to take a list of parameters as arguments.\n                 For example, a component that takes two parameters with the names\n                 `name` and `age`:\n                 ```app/components/my-component.js\n                 import Component from '@ember/component';\n                 let MyComponent = Component.extend();\n                 MyComponent.reopenClass({\n                 positionalParams: ['name', 'age']\n                 });\n                 export default MyComponent;\n                 ```\n                 It can then be invoked like this:\n                 ```hbs\n                 {{my-component \"John\" 38}}\n                 ```\n                 The parameters can be referred to just like named parameters:\n                 ```hbs\n                 Name: {{name}}, Age: {{age}}.\n                 ```\n                 Using a string instead of an array allows for an arbitrary number of\n                 parameters:\n                 ```app/components/my-component.js\n                 import Component from '@ember/component';\n                 let MyComponent = Component.extend();\n                 MyComponent.reopenClass({\n                 positionalParams: 'names'\n                 });\n                 export default MyComponent;\n                 ```\n                 It can then be invoked like this:\n                 ```hbs\n                 {{my-component \"John\" \"Michael\" \"Scott\"}}\n                 ```\n                 The parameters can then be referred to by enumerating over the list:\n                 ```hbs\n                 {{#each names as |name|}}{{name}}{{/each}}\n                 ```\n                 @static\n                 @public\n                 @property positionalParams\n                 @since 1.13.0\n                 *//**\n              Layout can be used to wrap content in a component.\n              @property layout\n              @type Function\n              @public\n            *//**\n              The name of the layout to lookup if no layout is provided.\n              By default `Component` will lookup a template with this name in\n              `Ember.TEMPLATES` (a shared global object).\n              @property layoutName\n              @type String\n              @default undefined\n              @private\n            *//**\n             The WAI-ARIA role of the control represented by this view. For example, a\n              button may have a role of type 'button', or a pane may have a role of\n              type 'alertdialog'. This property is used by assistive software to help\n              visually challenged users navigate rich web applications.\n               The full list of valid WAI-ARIA roles is available at:\n              [https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)\n               @property ariaRole\n              @type String\n              @default undefined\n              @public\n              */static toString(){return'@ember/component';}}// We continue to use reopenClass here so that positionalParams can be overridden with reopenClass in subclasses.\n_defineProperty(Component,\"isComponentFactory\",true);Component.reopenClass({positionalParams:[]});setInternalComponentManager(CURLY_COMPONENT_MANAGER,Component);/**\n          @module @ember/component\n          */const RECOMPUTE_TAG=Symbol('RECOMPUTE_TAG');// Signature type utilities\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n// Implements Ember's `Factory` interface and tags it for narrowing/checking.\nconst IS_CLASSIC_HELPER=Symbol('IS_CLASSIC_HELPER');// A zero-runtime-overhead private symbol to use in branding the component to\n// preserve its type parameter.\n/**\n            Ember Helpers are functions that can compute values, and are used in templates.\n            For example, this code calls a helper named `format-currency`:\n\n            ```app/templates/application.hbs\n            <Cost @cents={{230}} />\n            ```\n\n            ```app/components/cost.hbs\n            <div>{{format-currency @cents currency=\"$\"}}</div>\n            ```\n\n            Additionally a helper can be called as a nested helper.\n            In this example, we show the formatted currency value if the `showMoney`\n            named argument is truthy.\n\n            ```handlebars\n            {{if @showMoney (format-currency @cents currency=\"$\")}}\n            ```\n\n            Helpers defined using a class must provide a `compute` function. For example:\n\n            ```app/helpers/format-currency.js\n            import Helper from '@ember/component/helper';\n\n            export default class extends Helper {\n              compute([cents], { currency }) {\n                return `${currency}${cents * 0.01}`;\n              }\n            }\n            ```\n\n            Each time the input to a helper changes, the `compute` function will be\n            called again.\n\n            As instances, these helpers also have access to the container and will accept\n            injected dependencies.\n\n            Additionally, class helpers can call `recompute` to force a new computation.\n\n            @class Helper\n            @extends CoreObject\n            @public\n            @since 1.13.0\n          */// ESLint doesn't understand declaration merging.\n/* eslint-disable import/export */class Helper extends FrameworkObject{// SAFETY: this is initialized in `init`, rather than `constructor`. It is\n// safe to `declare` like this *if and only if* nothing uses the constructor\n// directly in this class, since nothing else can run before `init`.\n// SAFETY: this has no runtime existence whatsoever; it is a \"phantom type\"\n// here to preserve the type param.\ninit(properties){super.init(properties);this[RECOMPUTE_TAG]=createTag();!this.compute&&assert$1('expected compute to be defined',this.compute);}/**\n              On a class-based helper, it may be useful to force a recomputation of that\n              helpers value. This is akin to `rerender` on a component.\n               For example, this component will rerender when the `currentUser` on a\n              session service changes:\n               ```app/helpers/current-user-email.js\n              import Helper from '@ember/component/helper'\n              import { service } from '@ember/service'\n              import { observer } from '@ember/object'\n               export default Helper.extend({\n                session: service(),\n                 onNewUser: observer('session.currentUser', function() {\n                  this.recompute();\n                }),\n                 compute() {\n                  return this.get('session.currentUser.email');\n                }\n              });\n              ```\n               @method recompute\n              @public\n              @since 1.13.0\n            */recompute(){join(()=>DIRTY_TAG$1(this[RECOMPUTE_TAG]));}}/* eslint-enable import/export */_defineProperty(Helper,\"isHelperFactory\",true);_defineProperty(Helper,IS_CLASSIC_HELPER,true);// `packages/ember/index.js` was setting `Helper.helper`. This seems like\n// a bad idea and probably not something we want. We've moved that definition\n// here, but it should definitely be reviewed and probably removed.\n/** @deprecated */_defineProperty(Helper,\"helper\",helper$2);function isClassicHelper(obj){return obj[IS_CLASSIC_HELPER]===true;}class ClassicHelperManager{constructor(owner){_defineProperty(this,\"capabilities\",helperCapabilities('3.23',{hasValue:true,hasDestroyable:true}));_defineProperty(this,\"ownerInjection\",void 0);let ownerInjection={};setOwner$1(ownerInjection,owner);this.ownerInjection=ownerInjection;}createHelper(definition,args){let instance=isFactoryManager(definition)?definition.create():definition.create(this.ownerInjection);!function(instance){if(instance!==null&&typeof instance==='object'){let cast=instance;return typeof cast.compute==='function'&&typeof cast.destroy==='function';}return false;}(instance)&&assert$1('expected HelperInstance',function(instance){if(instance!==null&&typeof instance==='object'){let cast=instance;return typeof cast.compute==='function'&&typeof cast.destroy==='function';}return false;}(instance));return{instance,args};}getDestroyable({instance}){return instance;}getValue({instance,args}){let{positional,named}=args;let ret=instance.compute(positional,named);consumeTag(instance[RECOMPUTE_TAG]);return ret;}getDebugName(definition){return getDebugName$2((definition.class||definition)['prototype']);}}function isFactoryManager(obj){return obj!=null&&'class'in obj;}setHelperManager$1(owner=>{return new ClassicHelperManager(owner);},Helper);const CLASSIC_HELPER_MANAGER=getInternalHelperManager(Helper);///////////\nclass Wrapper{constructor(compute){_defineProperty(this,\"isHelperFactory\",true);this.compute=compute;}create(){// needs new instance or will leak containers\nreturn{compute:this.compute};}}class SimpleClassicHelperManager{constructor(){_defineProperty(this,\"capabilities\",helperCapabilities('3.23',{hasValue:true}));}createHelper(definition,args){return()=>definition.compute.call(null,args.positional,args.named);}getValue(fn){return fn();}getDebugName(definition){return getDebugName$2(definition.compute);}}const SIMPLE_CLASSIC_HELPER_MANAGER=new SimpleClassicHelperManager();setHelperManager$1(()=>SIMPLE_CLASSIC_HELPER_MANAGER,Wrapper.prototype);/*\n            Function-based helpers need to present with a constructor signature so that\n            type parameters can be preserved when `helper()` is passed a generic function\n            (this is particularly key for checking helper invocations with Glint).\n            Accordingly, we define an abstract class and declaration merge it with the\n            interface; this inherently provides an `abstract` constructor. Since it is\n            `abstract`, it is not callable, which is important since end users should not\n            be able to do `let myHelper = helper(someFn); new myHelper()`.\n           *//**\n           * The type of a function-based helper.\n           *\n           * @note This is *not* user-constructible: it is exported only so that the type\n           *   returned by the `helper` function can be named (and indeed can be exported\n           *   like `export default helper(...)` safely).\n           */// Making `FunctionBasedHelper` an alias this way allows callers to name it in\n// terms meaningful to *them*, while preserving the type behavior described on\n// the `abstract class FunctionBasedHelperInstance` below.\n// This abstract class -- specifically, its `protected abstract __concrete__`\n// member -- prevents subclasses from doing `class X extends helper(..)`, since\n// that is an error at runtime. While it is rare that people would type that, it\n// is not impossible and we use this to give them early signal via the types for\n// a behavior which will break (and in a somewhat inscrutable way!) at runtime.\n//\n// This is needful because we lie about what this actually is for Glint's sake:\n// a function-based helper returns a `Factory<SimpleHelper>`, which is designed\n// to be \"opaque\" from a consumer's POV, i.e. not user-callable or constructible\n// but only useable in a template (or via `invokeHelper()` which also treats it\n// as a fully opaque `object` from a type POV). But Glint needs a `Helper<S>` to\n// make it work the same way as class-based helpers. (Note that this does not\n// hold for plain functions as helpers, which it can handle distinctly.) This\n// signature thus makes it so that the item is usable *as* a `Helper` in Glint,\n// but without letting end users treat it as a helper class instance.\n/**\n            In many cases it is not necessary to use the full `Helper` class.\n            The `helper` method create pure-function helpers without instances.\n            For example:\n\n            ```app/helpers/format-currency.js\n            import { helper } from '@ember/component/helper';\n\n            export default helper(function([cents], {currency}) {\n              return `${currency}${cents * 0.01}`;\n            });\n            ```\n\n            @static\n            @param {Function} helper The helper function\n            @method helper\n            @for @ember/component/helper\n            @public\n            @since 1.13.0\n          */// This overload allows users to write types directly on the callback passed to\n// the `helper` function and infer the resulting type correctly.\n// This overload allows users to provide a `Signature` type explicitly at the\n// helper definition site, e.g. `helper<Sig>((pos, named) => {...})`. **Note:**\n// this overload must appear second, since TS' inference engine will not\n// correctly infer the type of `S` here from the types on the supplied callback.\nfunction helper$2(helperFn){// SAFETY: this is completely lies, in two ways:\n//\n// 1. `Wrapper` is a `Factory<SimpleHelper<S>>`, but from the perspective of\n//    any external callers (i.e. Ember *users*), it is quite important that\n//    the `Factory` relationship be hidden, because it is not public API for\n//    an end user to call `.create()` on a helper created this way. Instead,\n//    we provide them an `abstract new` signature (which means it cannot be\n//    directly constructed by calling `new` on it) and which does not have the\n//    `.create()` signature on it anymore.\n//\n// 2. The produced type here ends up being a subtype of `Helper`, which is not\n//    strictly true. This is necessary for the sake of Glint, which provides\n//    its information by way of a \"declaration merge\" with `Helper<S>` in the\n//    case of items produced by `helper()`.\n//\n// Long-term, this entire construct can go away in favor of deprecating the\n// `helper()` invocation in favor of using plain functions.\nreturn new Wrapper(helperFn);}/**\n          @module @ember/template\n          *//**\n            A wrapper around a string that has been marked as safe (\"trusted\"). **When\n            rendered in HTML, Ember will not perform any escaping.**\n\n            Note:\n\n            1. This does not *make* the string safe; it means that some code in your\n               application has *marked* it as safe using the `htmlSafe()` function.\n\n            2. The only public API for getting a `SafeString` is calling `htmlSafe()`. It\n               is *not* user-constructible.\n\n            If a string contains user inputs or other untrusted data, you must sanitize\n            the string before using the `htmlSafe` method. Otherwise your code is\n            vulnerable to [Cross-Site Scripting][xss]. There are many open source\n            sanitization libraries to choose from, both for front end and server-side\n            sanitization.\n\n            [xss]: https://owasp.org/www-community/attacks/DOM_Based_XSS\n\n            ```javascript\n            import { htmlSafe } from '@ember/template';\n\n            let someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\n            htmlSafe(someTrustedorSanitizedString);\n            ```\n\n            @for @ember/template\n            @class SafeString\n            @since 4.12.0\n            @public\n           */class SafeString{constructor(string){_defineProperty(this,\"__string\",void 0);this.__string=string;}/**\n              Get the string back to use as a string.\n               @public\n              @method toString\n              @returns {String} The string marked as trusted\n             */toString(){return`${this.__string}`;}/**\n              Get the wrapped string as HTML to use without escaping.\n               @public\n              @method toHTML\n              @returns {String} the trusted string, without any escaping applied\n             */toHTML(){return this.toString();}}const escape={'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#x27;','`':'&#x60;','=':'&#x3D;'};const possible=/[&<>\"'`=]/;const badChars=/[&<>\"'`=]/g;function escapeChar(chr){return escape[chr];}function escapeExpression(string){let s;if(typeof string!=='string'){// don't escape SafeStrings, since they're already safe\nif(isHTMLSafe(string)){return string.toHTML();}else if(string===null||string===undefined){return'';}else if(!string){return String(string);}// Force a string conversion as this will be done by the append regardless and\n// the regex test will do this transparently behind the scenes, causing issues if\n// an object's to string has escaped characters in it.\ns=String(string);}else{s=string;}if(!possible.test(s)){return s;}// SAFETY: this is technically a lie, but it's a true lie as long as the\n// invariant it depends on is upheld: `escapeChar` will always return a string\n// as long as its input is one of the characters in `escape`, and it will only\n// be called if it matches one of the characters in the `badChar` regex, which\n// is hand-maintained to match the set escaped. (It would be nice if TS could\n// \"see\" into the regex to see how this works, but that'd be quite a lot of\n// extra fanciness.)\nreturn s.replace(badChars,escapeChar);}/**\n            Use this method to indicate that a string should be rendered as HTML\n            when the string is used in a template. To say this another way,\n            strings marked with `htmlSafe` will not be HTML escaped.\n\n            A word of warning -   The `htmlSafe` method does not make the string safe;\n            it only tells the framework to treat the string as if it is safe to render\n            as HTML. If a string contains user inputs or other untrusted\n            data, you must sanitize the string before using the `htmlSafe` method.\n            Otherwise your code is vulnerable to\n            [Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\n            There are many open source sanitization libraries to choose from,\n            both for front end and server-side sanitization.\n\n            ```javascript\n            import { htmlSafe } from '@ember/template';\n\n            const someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\n            htmlSafe(someTrustedorSanitizedString)\n            ```\n\n            @method htmlSafe\n            @for @ember/template\n            @param str {String} The string to treat as trusted.\n            @static\n            @return {SafeString} A string that will not be HTML escaped by Handlebars.\n            @public\n          */function htmlSafe(str){if(str===null||str===undefined){str='';}else if(typeof str!=='string'){str=String(str);}return new SafeString(str);}/**\n            Detects if a string was decorated using `htmlSafe`.\n\n            ```javascript\n            import { htmlSafe, isHTMLSafe } from '@ember/template';\n\n            let plainString = 'plain string';\n            let safeString = htmlSafe('<div>someValue</div>');\n\n            isHTMLSafe(plainString); // false\n            isHTMLSafe(safeString);  // true\n            ```\n\n            @method isHTMLSafe\n            @for @ember/template\n            @static\n            @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n            @public\n          */function isHTMLSafe(str){return str!==null&&typeof str==='object'&&'toHTML'in str&&typeof str.toHTML==='function';}/**\n          @module @ember/engine\n          *//**\n            The `EngineInstance` encapsulates all of the stateful aspects of a\n            running `Engine`.\n\n            @public\n            @class EngineInstance\n            @extends EmberObject\n            @uses RegistryProxyMixin\n            @uses ContainerProxyMixin\n          */// Note on types: since `EngineInstance` uses `RegistryProxyMixin` and\n// `ContainerProxyMixin`, which respectively implement the same `RegistryMixin`\n// and `ContainerMixin` types used to define `InternalOwner`, this is the same\n// type as `InternalOwner` from TS's POV. The point of the explicit `extends`\n// clauses for `InternalOwner` and `Owner` is to keep us honest: if this stops\n// type checking, we have broken part of our public API contract. Medium-term,\n// the goal here is to `EngineInstance` simple be `Owner`.\nclass EngineInstance extends EmberObject.extend(RegistryProxyMixin,ContainerProxyMixin){constructor(...args){super(...args);/**\n              The base `Engine` for which this is an instance.\n               @property {Engine} engine\n              @private\n            */_defineProperty(this,ENGINE_PARENT,void 0);_defineProperty(this,\"_booted\",false);_defineProperty(this,\"_bootPromise\",null);}/**\n             @private\n             @method setupRegistry\n             @param {Registry} registry\n             @param {BootOptions} options\n             */// This is effectively an \"abstract\" method: it defines the contract a\n// subclass (e.g. `ApplicationInstance`) must follow to implement this\n// behavior, but an `EngineInstance` has no behavior of its own here.\nstatic setupRegistry(_registry,_options){}init(properties){super.init(properties);// Ensure the guid gets setup for this instance\nguidFor(this);this.base??=this.application;// Create a per-instance registry that will use the application's registry\n// as a fallback for resolving registrations.\nlet registry=this.__registry__=new Registry({fallback:this.base.__registry__});// Create a per-instance container from the instance's registry\nthis.__container__=registry.container({owner:this});this._booted=false;}/**\n              Initialize the `EngineInstance` and return a promise that resolves\n              with the instance itself when the boot process is complete.\n               The primary task here is to run any registered instance initializers.\n               See the documentation on `BootOptions` for the options it takes.\n               @public\n              @method boot\n              @param options {Object}\n              @return {Promise<EngineInstance,Error>}\n            */boot(options){if(this._bootPromise){return this._bootPromise;}this._bootPromise=new rsvp.Promise(resolve=>{resolve(this._bootSync(options));});return this._bootPromise;}/**\n              Unfortunately, a lot of existing code assumes booting an instance is\n              synchronous – specifically, a lot of tests assume the last call to\n              `app.advanceReadiness()` or `app.reset()` will result in a new instance\n              being fully-booted when the current runloop completes.\n               We would like new code (like the `visit` API) to stop making this\n              assumption, so we created the asynchronous version above that returns a\n              promise. But until we have migrated all the code, we would have to expose\n              this method for use *internally* in places where we need to boot an instance\n              synchronously.\n               @private\n            */_bootSync(options){if(this._booted){return this;}!getEngineParent(this)&&assert$1(\"An engine instance's parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.\",getEngineParent(this));this.cloneParentDependencies();this.setupRegistry(options);this.base.runInstanceInitializers(this);this._booted=true;return this;}setupRegistry(options=this.__container__.lookup('-environment:main')){this.constructor.setupRegistry(this.__registry__,options);}/**\n             Unregister a factory.\n              Overrides `RegistryProxy#unregister` in order to clear any cached instances\n             of the unregistered factory.\n              @public\n             @method unregister\n             @param {String} fullName\n             */unregister(fullName){this.__container__.reset(fullName);// We overwrote this method from RegistryProxyMixin.\nthis.__registry__.unregister(fullName);}/**\n              Build a new `EngineInstance` that's a child of this instance.\n               Engines must be registered by name with their parent engine\n              (or application).\n               @private\n              @method buildChildEngineInstance\n              @param name {String} the registered name of the engine.\n              @param options {Object} options provided to the engine instance.\n              @return {EngineInstance,Error}\n            */buildChildEngineInstance(name,options={}){let ChildEngine=this.lookup(`engine:${name}`);if(!ChildEngine){throw new Error(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);}let engineInstance=ChildEngine.buildInstance(options);setEngineParent(engineInstance,this);return engineInstance;}/**\n              Clone dependencies shared between an engine instance and its parent.\n               @private\n              @method cloneParentDependencies\n            */cloneParentDependencies(){const parent=getEngineParent(this);!parent&&assert$1('expected parent',parent);let registrations=['route:basic','service:-routing'];registrations.forEach(key=>{let registration=parent.resolveRegistration(key);!isFactory(registration)&&assert$1('expected registration to be a factory',isFactory(registration));this.register(key,registration);});let env=parent.lookup('-environment:main');this.register('-environment:main',env,{instantiate:false});// The type annotation forces TS to (a) validate that these match and (b)\n// *notice* that they match, e.g. below on the `singletons.push()`.\nlet singletons=['router:main',privatize`-bucket-cache:main`,'-view-registry:main',`renderer:-dom`,'service:-document'];if(env['isInteractive']){singletons.push('event_dispatcher:main');}singletons.forEach(key=>{// SAFETY: We already expect this to be a singleton\nlet singleton=parent.lookup(key);this.register(key,singleton,{instantiate:false});});}}const emberEngineInstance=/*#__PURE__*/Object.defineProperty({__proto__:null,default:EngineInstance},Symbol.toStringTag,{value:'Module'});function instrumentationPayload$1(def){// \"main\" used to be the outlet name, keeping it around for compatibility\nreturn{object:`${def.name}:main`};}const CAPABILITIES$2={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:false,attributeHook:false,elementHook:false,createCaller:false,dynamicScope:true,updateHook:false,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false};const CAPABILITIES_MASK$1=capabilityFlagsFrom(CAPABILITIES$2);class OutletComponentManager{create(_owner,definition,_args,env,dynamicScope){let parentStateRef=dynamicScope.get('outletState');let currentStateRef=definition.ref;// This is the actual primary responsibility of the outlet component –\n// it represents the switching from one route component/template into\n// the next. The rest only exists to support the debug render tree and\n// the old-school (and unreliable) instrumentation.\ndynamicScope.set('outletState',currentStateRef);let state={finalize:_instrumentStart('render.outlet',instrumentationPayload$1,definition)};if(env.debugRenderTree!==undefined){let parentState=valueForRef(parentStateRef);let parentOwner=parentState?.render?.owner;let currentState=valueForRef(currentStateRef);let currentOwner=currentState?.render?.owner;if(parentOwner&&parentOwner!==currentOwner){!(currentOwner instanceof EngineInstance)&&assert$1('Expected currentOwner to be an EngineInstance',currentOwner instanceof EngineInstance);let{mountPoint}=currentOwner;if(mountPoint){state.engine={mountPoint,instance:currentOwner};}}}return state;}getDebugName({name}){return`{{outlet}} for ${name}`;}getDebugCustomRenderTree(_definition,state){let nodes=[];nodes.push({bucket:state,type:'outlet',// \"main\" used to be the outlet name, keeping it around for compatibility\nname:'main',args:EMPTY_ARGS,instance:undefined,template:undefined});if(state.engine){nodes.push({bucket:state.engine,type:'engine',name:state.engine.mountPoint,args:EMPTY_ARGS,instance:state.engine.instance,template:undefined});}return nodes;}getCapabilities(){return CAPABILITIES$2;}getSelf(){return UNDEFINED_REFERENCE;}didCreate(){}didUpdate(){}didRenderLayout(state){state.finalize();}didUpdateLayout(){}getDestroyable(){return null;}}const OUTLET_MANAGER=new OutletComponentManager();const OUTLET_COMPONENT_TEMPLATE=templateFactory(/*\n            <@Component @controller={{@controller}} @model={{@model}} />\n          */{\"id\":\"Hacwyo/Q\",\"block\":\"[[[8,[30,1],null,[[\\\"@controller\\\",\\\"@model\\\"],[[30,2],[30,3]]],null]],[\\\"@Component\\\",\\\"@controller\\\",\\\"@model\\\"],[]]\",\"moduleName\":\"/home/runner/work/ember.js/ember.js/packages/@ember/-internals/glimmer/lib/component-managers/outlet.ts\",\"isStrictMode\":true});class OutletComponent{constructor(owner,state){// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"resolvedName\",null);_defineProperty(this,\"manager\",OUTLET_MANAGER);_defineProperty(this,\"capabilities\",CAPABILITIES_MASK$1);_defineProperty(this,\"compilable\",void 0);this.state=state;this.compilable=unwrapTemplate(OUTLET_COMPONENT_TEMPLATE(owner)).asLayout();}}function createRootOutlet(outletView){return new OutletComponent(outletView.owner,outletView.state);}class RootComponentManager extends CurlyComponentManager{constructor(component){super();_defineProperty(this,\"component\",void 0);this.component=component;}create(_owner,_state,_args,{isInteractive},dynamicScope){let component=this.component;let finalizer=_instrumentStart('render.component',initialRenderInstrumentDetails,component);dynamicScope.view=component;let hasWrappedElement=component.tagName!=='';// We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\nif(!hasWrappedElement){if(isInteractive){component.trigger('willRender');}component._transitionTo('hasElement');if(isInteractive){component.trigger('willInsertElement');}}{processComponentInitializationAssertions(component,{});}let bucket=new ComponentStateBucket(component,null,CONSTANT_TAG,finalizer,hasWrappedElement,isInteractive);consumeTag(component[DIRTY_TAG]);return bucket;}}// ROOT is the top-level template it has nothing but one yield.\n// it is supposed to have a dummy element\nconst ROOT_CAPABILITIES={dynamicLayout:true,dynamicTag:true,prepareArgs:false,createArgs:false,attributeHook:true,elementHook:true,createCaller:true,dynamicScope:true,updateHook:true,createInstance:true,wrapped:true,willDestroy:false,hasSubOwner:false};class RootComponentDefinition{constructor(component){// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"resolvedName\",'-top-level');_defineProperty(this,\"state\",void 0);_defineProperty(this,\"manager\",void 0);_defineProperty(this,\"capabilities\",capabilityFlagsFrom(ROOT_CAPABILITIES));_defineProperty(this,\"compilable\",null);this.manager=new RootComponentManager(component);let factory=getFactoryFor(component);!(factory!==undefined)&&assert$1('missing factory for component',factory!==undefined);this.state=factory;}}/**\n          @module ember\n          *//**\n            The `{{#each}}` helper loops over elements in a collection. It is an extension\n            of the base Handlebars `{{#each}}` helper.\n\n            The default behavior of `{{#each}}` is to yield its inner block once for every\n            item in an array passing the item as the first block parameter.\n\n            Assuming the `@developers` argument contains this array:\n\n            ```javascript\n            [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n            ```\n\n            ```handlebars\n            <ul>\n              {{#each @developers as |person|}}\n                <li>Hello, {{person.name}}!</li>\n              {{/each}}\n            </ul>\n            ```\n\n            The same rules apply to arrays of primitives.\n\n            ```javascript\n            ['Yehuda', 'Tom', 'Paul']\n            ```\n\n            ```handlebars\n            <ul>\n              {{#each @developerNames as |name|}}\n                <li>Hello, {{name}}!</li>\n              {{/each}}\n            </ul>\n            ```\n\n            During iteration, the index of each item in the array is provided as a second block\n            parameter.\n\n            ```handlebars\n            <ul>\n              {{#each @developers as |person index|}}\n                <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n              {{/each}}\n            </ul>\n            ```\n\n            ### Specifying Keys\n\n            In order to improve rendering speed, Ember will try to reuse the DOM elements\n            where possible. Specifically, if the same item is present in the array both\n            before and after the change, its DOM output will be reused.\n\n            The `key` option is used to tell Ember how to determine if the items in the\n            array being iterated over with `{{#each}}` has changed between renders. By\n            default the item's object identity is used.\n\n            This is usually sufficient, so in most cases, the `key` option is simply not\n            needed. However, in some rare cases, the objects' identities may change even\n            though they represent the same underlying data.\n\n            For example:\n\n            ```javascript\n            people.map(person => {\n              return { ...person, type: 'developer' };\n            });\n            ```\n\n            In this case, each time the `people` array is `map`-ed over, it will produce\n            an new array with completely different objects between renders. In these cases,\n            you can help Ember determine how these objects related to each other with the\n            `key` option:\n\n            ```handlebars\n            <ul>\n              {{#each @developers key=\"name\" as |person|}}\n                <li>Hello, {{person.name}}!</li>\n              {{/each}}\n            </ul>\n            ```\n\n            By doing so, Ember will use the value of the property specified (`person.name`\n            in the example) to find a \"match\" from the previous render. That is, if Ember\n            has previously seen an object from the `@developers` array with a matching\n            name, its DOM elements will be re-used.\n\n            There are two special values for `key`:\n\n              * `@index` - The index of the item in the array.\n              * `@identity` - The item in the array itself.\n\n            ### {{else}} condition\n\n            `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n            if the collection is empty.\n\n            ```handlebars\n            <ul>\n              {{#each @developers as |person|}}\n                <li>{{person.name}} is available!</li>\n              {{else}}\n                <li>Sorry, nobody is available for this task.</li>\n              {{/each}}\n            </ul>\n            ```\n\n            @method each\n            @for Ember.Templates.helpers\n            @public\n           *//**\n            The `{{each-in}}` helper loops over properties on an object.\n\n            For example, given this component definition:\n\n            ```app/components/developer-details.js\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            export default class extends Component {\n              @tracked developer = {\n                \"name\": \"Shelly Sails\",\n                \"age\": 42\n              };\n            }\n            ```\n\n            This template would display all properties on the `developer`\n            object in a list:\n\n            ```app/components/developer-details.hbs\n            <ul>\n              {{#each-in this.developer as |key value|}}\n                <li>{{key}}: {{value}}</li>\n              {{/each-in}}\n            </ul>\n            ```\n\n            Outputting their name and age:\n\n            ```html\n            <ul>\n              <li>name: Shelly Sails</li>\n              <li>age: 42</li>\n            </ul>\n            ```\n\n            @method each-in\n            @for Ember.Templates.helpers\n            @public\n            @since 2.1.0\n          */class EachInWrapper{constructor(inner){this.inner=inner;}}const eachIn=internalHelper(({positional})=>{const inner=positional[0];!inner&&assert$1('expected at least one positional arg',inner);return createComputeRef(()=>{let iterable=valueForRef(inner);consumeTag(tagForObject(iterable));if(isProxy(iterable)){// this is because the each-in doesn't actually get(proxy, 'key') but bypasses it\n// and the proxy's tag is lazy updated on access\niterable=contentFor(iterable);}return new EachInWrapper(iterable);});});function toIterator(iterable){if(iterable instanceof EachInWrapper){return toEachInIterator(iterable.inner);}else{return toEachIterator(iterable);}}function toEachInIterator(iterable){if(!isIndexable(iterable)){return null;}if(Array.isArray(iterable)||isEmberArray(iterable)){return ObjectIterator.fromIndexable(iterable);}else if(isNativeIterable(iterable)){return MapLikeNativeIterator.from(iterable);}else if(hasForEach(iterable)){return ObjectIterator.fromForEachable(iterable);}else{return ObjectIterator.fromIndexable(iterable);}}function toEachIterator(iterable){if(!isObject(iterable)){return null;}if(Array.isArray(iterable)){return ArrayIterator.from(iterable);}else if(isEmberArray(iterable)){return EmberArrayIterator.from(iterable);}else if(isNativeIterable(iterable)){return ArrayLikeNativeIterator.from(iterable);}else if(hasForEach(iterable)){return ArrayIterator.fromForEachable(iterable);}else{return null;}}class BoundedIterator{constructor(length){_defineProperty(this,\"position\",0);this.length=length;}isEmpty(){return false;}memoFor(position){return position;}next(){let{length,position}=this;if(position>=length){return null;}let value=this.valueFor(position);let memo=this.memoFor(position);this.position++;return{value,memo};}}class ArrayIterator extends BoundedIterator{static from(iterable){return iterable.length>0?new this(iterable):null;}static fromForEachable(object){let array=[];object.forEach(item=>array.push(item));return this.from(array);}constructor(array){super(array.length);this.array=array;}valueFor(position){return this.array[position];}}class EmberArrayIterator extends BoundedIterator{static from(iterable){return iterable.length>0?new this(iterable):null;}constructor(array){super(array.length);this.array=array;}valueFor(position){return objectAt(this.array,position);}}class ObjectIterator extends BoundedIterator{static fromIndexable(obj){let keys=Object.keys(obj);if(keys.length===0){return null;}else{let values=[];for(let key of keys){let value;value=obj[key];// Add the tag of the returned value if it is an array, since arrays\n// should always cause updates if they are consumed and then changed\nif(isTracking()){consumeTag(tagFor(obj,key));if(Array.isArray(value)){consumeTag(tagFor(value,'[]'));}}values.push(value);}return new this(keys,values);}}static fromForEachable(obj){let keys=[];let values=[];let length=0;let isMapLike=false;// Not using an arrow function here so we can get an accurate `arguments`\nobj.forEach(function(value,key){isMapLike=isMapLike||arguments.length>=2;if(isMapLike){keys.push(key);}values.push(value);length++;});if(length===0){return null;}else if(isMapLike){return new this(keys,values);}else{return new ArrayIterator(values);}}constructor(keys,values){super(values.length);this.keys=keys;this.values=values;}valueFor(position){return this.values[position];}memoFor(position){return this.keys[position];}}class NativeIterator{static from(iterable){let iterator=iterable[Symbol.iterator]();let result=iterator.next();let{done}=result;if(done){return null;}else{return new this(iterator,result);}}constructor(iterable,result){_defineProperty(this,\"position\",0);this.iterable=iterable;this.result=result;}isEmpty(){return false;}next(){let{iterable,result,position}=this;if(result.done){return null;}let value=this.valueFor(result,position);let memo=this.memoFor(result,position);this.position++;this.result=iterable.next();return{value,memo};}}class ArrayLikeNativeIterator extends NativeIterator{valueFor(result){return result.value;}memoFor(_result,position){return position;}}class MapLikeNativeIterator extends NativeIterator{valueFor(result){return result.value[1];}memoFor(result){return result.value[0];}}function hasForEach(value){return value!=null&&typeof value['forEach']==='function';}function isNativeIterable(value){return value!=null&&typeof value[Symbol.iterator]==='function';}function isIndexable(value){return value!==null&&(typeof value==='object'||typeof value==='function');}/**\n           @module @ember/utils\n          *//**\n            Returns true if the passed value is null or undefined. This avoids errors\n            from JSLint complaining about use of ==, which can be technically\n            confusing.\n\n            ```javascript\n            isNone(null);          // true\n            isNone(undefined);     // true\n            isNone('');            // false\n            isNone([]);            // false\n            isNone(function() {}); // false\n            ```\n\n            @method isNone\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @public\n          */function isNone(obj){return obj===null||obj===undefined;}const emberUtilsLibIsNone=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isNone},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            Verifies that a value is `null` or `undefined`, an empty string, or an empty\n            array.\n\n            Constrains the rules on `isNone` by returning true for empty strings and\n            empty arrays.\n\n            If the value is an object with a `size` property of type number, it is used\n            to check emptiness.\n\n            ```javascript\n            isEmpty(null);             // true\n            isEmpty(undefined);        // true\n            isEmpty('');               // true\n            isEmpty([]);               // true\n            isEmpty({ size: 0});       // true\n            isEmpty({});               // false\n            isEmpty('Adam Hawkins');   // false\n            isEmpty([0,1,2]);          // false\n            isEmpty('\\n\\t');           // false\n            isEmpty('  ');             // false\n            isEmpty({ size: 1 })       // false\n            isEmpty({ size: () => 0 }) // false\n            ```\n\n            @method isEmpty\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @public\n          */function isEmpty(obj){if(obj===null||obj===undefined){return true;}if(!hasUnknownProperty(obj)&&typeof obj.size==='number'){return!obj.size;}if(typeof obj==='object'){let size=get$2(obj,'size');if(typeof size==='number'){return!size;}let length=get$2(obj,'length');if(typeof length==='number'){return!length;}}if(typeof obj.length==='number'&&typeof obj!=='function'){return!obj.length;}return false;}const emberUtilsLibIsEmpty=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isEmpty},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            A value is blank if it is empty or a whitespace string.\n\n            ```javascript\n            import { isBlank } from '@ember/utils';\n\n            isBlank(null);            // true\n            isBlank(undefined);       // true\n            isBlank('');              // true\n            isBlank([]);              // true\n            isBlank('\\n\\t');          // true\n            isBlank('  ');            // true\n            isBlank({});              // false\n            isBlank('\\n\\t Hello');    // false\n            isBlank('Hello world');   // false\n            isBlank([1,2,3]);         // false\n            ```\n\n            @method isBlank\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @since 1.5.0\n            @public\n          */function isBlank(obj){return isEmpty(obj)||typeof obj==='string'&&/\\S/.test(obj)===false;}const emberUtilsLibIsBlank=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isBlank},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            A value is present if it not `isBlank`.\n\n            ```javascript\n            isPresent(null);            // false\n            isPresent(undefined);       // false\n            isPresent('');              // false\n            isPresent('  ');            // false\n            isPresent('\\n\\t');          // false\n            isPresent([]);              // false\n            isPresent({ length: 0 });   // false\n            isPresent(false);           // true\n            isPresent(true);            // true\n            isPresent('string');        // true\n            isPresent(0);               // true\n            isPresent(function() {});   // true\n            isPresent({});              // true\n            isPresent('\\n\\t Hello');    // true\n            isPresent([1, 2, 3]);       // true\n            ```\n\n            @method isPresent\n            @static\n            @for @ember/utils\n            @param {Object} obj Value to test\n            @return {Boolean}\n            @since 1.8.0\n            @public\n          */function isPresent(obj){return!isBlank(obj);}const emberUtilsLibIsPresent=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isPresent},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/utils\n          *//**\n            Compares two objects, returning true if they are equal.\n\n            ```javascript\n            import { isEqual } from '@ember/utils';\n\n            isEqual('hello', 'hello');                   // true\n            isEqual(1, 2);                               // false\n            ```\n\n            `isEqual` is a more specific comparison than a triple equal comparison.\n            It will call the `isEqual` instance method on the objects being\n            compared, allowing finer control over when objects should be considered\n            equal to each other.\n\n            ```javascript\n            import { isEqual } from '@ember/utils';\n            import EmberObject from '@ember/object';\n\n            let Person = EmberObject.extend({\n              isEqual(other) { return this.ssn == other.ssn; }\n            });\n\n            let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n            let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n\n            isEqual(personA, personB); // true\n            ```\n\n            Due to the expense of array comparisons, collections will never be equal to\n            each other even if each of their items are equal to each other.\n\n            ```javascript\n            import { isEqual } from '@ember/utils';\n\n            isEqual([4, 2], [4, 2]);                     // false\n            ```\n\n            @method isEqual\n            @for @ember/utils\n            @static\n            @param {Object} a first object to compare\n            @param {Object} b second object to compare\n            @return {Boolean}\n            @public\n          */function isEqual(a,b){if(a&&typeof a.isEqual==='function'){return a.isEqual(b);}if(a instanceof Date&&b instanceof Date){return a.getTime()===b.getTime();}return a===b;}const emberUtilsLibIsEqual=/*#__PURE__*/Object.defineProperty({__proto__:null,default:isEqual},Symbol.toStringTag,{value:'Module'});// ........................................\n// TYPING & ARRAY MESSAGING\n//\nconst TYPE_MAP={'[object Boolean]':'boolean','[object Number]':'number','[object String]':'string','[object Function]':'function','[object AsyncFunction]':'function','[object Array]':'array','[object Date]':'date','[object RegExp]':'regexp','[object Object]':'object','[object FileList]':'filelist'};const{toString}=Object.prototype;/**\n           @module @ember/utils\n          *//**\n            Returns a consistent type for the passed object.\n\n            Use this instead of the built-in `typeof` to get the type of an item.\n            It will return the same result across all browsers and includes a bit\n            more detail. Here is what will be returned:\n\n                | Return Value  | Meaning                                              |\n                |---------------|------------------------------------------------------|\n                | 'string'      | String primitive or String object.                   |\n                | 'number'      | Number primitive or Number object.                   |\n                | 'boolean'     | Boolean primitive or Boolean object.                 |\n                | 'null'        | Null value                                           |\n                | 'undefined'   | Undefined value                                      |\n                | 'function'    | A function                                           |\n                | 'array'       | An instance of Array                                 |\n                | 'regexp'      | An instance of RegExp                                |\n                | 'date'        | An instance of Date                                  |\n                | 'filelist'    | An instance of FileList                              |\n                | 'class'       | An Ember class (created using EmberObject.extend())  |\n                | 'instance'    | An Ember object instance                             |\n                | 'error'       | An instance of the Error object                      |\n                | 'object'      | A JavaScript object not inheriting from EmberObject  |\n\n            Examples:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import { typeOf } from '@ember/utils';\n            import EmberObject from '@ember/object';\n\n            typeOf();                       // 'undefined'\n            typeOf(null);                   // 'null'\n            typeOf(undefined);              // 'undefined'\n            typeOf('michael');              // 'string'\n            typeOf(new String('michael'));  // 'string'\n            typeOf(101);                    // 'number'\n            typeOf(new Number(101));        // 'number'\n            typeOf(true);                   // 'boolean'\n            typeOf(new Boolean(true));      // 'boolean'\n            typeOf(A);                      // 'function'\n            typeOf(A());                    // 'array'\n            typeOf([1, 2, 90]);             // 'array'\n            typeOf(/abc/);                  // 'regexp'\n            typeOf(new Date());             // 'date'\n            typeOf(event.target.files);     // 'filelist'\n            typeOf(EmberObject.extend());   // 'class'\n            typeOf(EmberObject.create());   // 'instance'\n            typeOf(new Error('teamocil'));  // 'error'\n\n            // 'normal' JavaScript object\n            typeOf({ a: 'b' });             // 'object'\n            ```\n\n            @method typeOf\n            @for @ember/utils\n            @param item the item to check\n            @return {String} the type\n            @public\n            @static\n          */function typeOf(item){if(item===null){return'null';}if(item===undefined){return'undefined';}let ret=TYPE_MAP[toString.call(item)]||'object';if(ret==='function'){if(CoreObject.detect(item)){ret='class';}}else if(ret==='object'){if(item instanceof Error){ret='error';}else if(item instanceof CoreObject){ret='instance';}else if(item instanceof Date){ret='date';}}return ret;}const emberUtilsLibTypeOf=/*#__PURE__*/Object.defineProperty({__proto__:null,default:typeOf},Symbol.toStringTag,{value:'Module'});const TYPE_ORDER={undefined:0,null:1,boolean:2,number:3,string:4,array:5,object:6,instance:7,function:8,class:9,date:10,regexp:11,filelist:12,error:13};//\n// the spaceship operator\n//\n//                      `. ___\n//                     __,' __`.                _..----....____\n//         __...--.'``;.   ,.   ;``--..__     .'    ,-._    _.-'\n//   _..-''-------'   `'   `'   `'     O ``-''._   (,;') _,'\n// ,'________________                          \\`-._`-','\n//  `._              ```````````------...___   '-.._'-:\n//     ```--.._      ,.                     ````--...__\\-.\n//             `.--. `-` \"INFINITY IS LESS     ____    |  |`\n//               `. `.   THAN BEYOND\"        ,'`````.  ;  ;`\n//                 `._`.        __________   `.      \\'__/`\n//                    `-:._____/______/___/____`.     \\  `\n//                                |       `._    `.    \\\n//                                `._________`-.   `.   `.___\n//                                              SSt  `------'`\nfunction spaceship(a,b){// SAFETY: `Math.sign` always returns `-1` for negative, `0` for zero, and `1`\n// for positive numbers. (The extra precision is useful for the way we use\n// this in the context of `compare`.)\nreturn Math.sign(a-b);}/**\n           @module @ember/utils\n          *//**\n           Compares two javascript values and returns:\n\n            - -1 if the first is smaller than the second,\n            - 0 if both are equal,\n            - 1 if the first is greater than the second.\n\n            ```javascript\n            import { compare } from '@ember/utils';\n\n            compare('hello', 'hello');  // 0\n            compare('abc', 'dfg');      // -1\n            compare(2, 1);              // 1\n            ```\n\n           If the types of the two objects are different precedence occurs in the\n           following order, with types earlier in the list considered `<` types\n           later in the list:\n\n            - undefined\n            - null\n            - boolean\n            - number\n            - string\n            - array\n            - object\n            - instance\n            - function\n            - class\n            - date\n\n            ```javascript\n            import { compare } from '@ember/utils';\n\n            compare('hello', 50);       // 1\n            compare(50, 'hello');       // -1\n            ```\n\n           @method compare\n           @for @ember/utils\n           @static\n           @param {Object} v First value to compare\n           @param {Object} w Second value to compare\n           @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n           @public\n          */function compare(v,w){if(v===w){return 0;}let type1=typeOf(v);let type2=typeOf(w);if(type1==='instance'&&isComparable(v)&&v.constructor.compare){return v.constructor.compare(v,w);}if(type2==='instance'&&isComparable(w)&&w.constructor.compare){// SAFETY: Multiplying by a negative just changes the sign\nreturn w.constructor.compare(w,v)*-1;}let res=spaceship(TYPE_ORDER[type1],TYPE_ORDER[type2]);if(res!==0){return res;}// types are equal - so we have to check values now\nswitch(type1){case'boolean':!(typeof v==='boolean'&&typeof w==='boolean')&&assert$1('both are boolean',typeof v==='boolean'&&typeof w==='boolean');return spaceship(Number(v),Number(w));case'number':!(typeof v==='number'&&typeof w==='number')&&assert$1('both are numbers',typeof v==='number'&&typeof w==='number');return spaceship(v,w);case'string':!(typeof v==='string'&&typeof w==='string')&&assert$1('both are strings',typeof v==='string'&&typeof w==='string');return spaceship(v.localeCompare(w),0);case'array':{!(Array.isArray(v)&&Array.isArray(w))&&assert$1('both are arrays',Array.isArray(v)&&Array.isArray(w));let vLen=v.length;let wLen=w.length;let len=Math.min(vLen,wLen);for(let i=0;i<len;i++){let r=compare(v[i],w[i]);if(r!==0){return r;}}// all elements are equal now\n// shorter array should be ordered first\nreturn spaceship(vLen,wLen);}case'instance':if(isComparable(v)&&v.compare){return v.compare(v,w);}return 0;case'date':!(v instanceof Date&&w instanceof Date)&&assert$1('both are dates',v instanceof Date&&w instanceof Date);return spaceship(v.getTime(),w.getTime());default:return 0;}}function isComparable(value){return Comparable.detect(value);}const emberUtilsLibCompare=/*#__PURE__*/Object.defineProperty({__proto__:null,default:compare},Symbol.toStringTag,{value:'Module'});const emberUtilsIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,compare,isBlank,isEmpty,isEqual,isNone,isPresent,typeOf},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/array\n          */const EMPTY_ARRAY=Object.freeze([]);const identityFunction=item=>item;function uniqBy$1(array,keyOrFunc=identityFunction){!isArray$2(array)&&assert$1(`first argument passed to \\`uniqBy\\` should be array`,isArray$2(array));let ret=A();let seen=new Set();let getter=typeof keyOrFunc==='function'?keyOrFunc:item=>get$2(item,keyOrFunc);array.forEach(item=>{let val=getter(item);if(!seen.has(val)){seen.add(val);ret.push(item);}});return ret;}function iter(...args){let valueProvided=args.length===2;let[key,value]=args;return valueProvided?item=>value===get$2(item,key):item=>Boolean(get$2(item,key));}function findIndex(array,predicate,startAt){let len=array.length;for(let index=startAt;index<len;index++){// SAFETY: Because we're checking the index this value should always be set.\nlet item=objectAt(array,index);if(predicate(item,index,array)){return index;}}return-1;}function find(array,callback,target=null){let predicate=callback.bind(target);let index=findIndex(array,predicate,0);return index===-1?undefined:objectAt(array,index);}function any(array,callback,target=null){let predicate=callback.bind(target);return findIndex(array,predicate,0)!==-1;}function every(array,callback,target=null){let cb=callback.bind(target);let predicate=(item,index,array)=>!cb(item,index,array);return findIndex(array,predicate,0)===-1;}function indexOf$1(array,val,startAt=0,withNaNCheck){let len=array.length;if(startAt<0){startAt+=len;}// SameValueZero comparison (NaN !== NaN)\nlet predicate=withNaNCheck&&val!==val?item=>item!==item:item=>item===val;return findIndex(array,predicate,startAt);}function removeAt(array,index,len){!(index>-1&&index<array.length)&&assert$1(`\\`removeAt\\` index provided is out of range`,index>-1&&index<array.length);replace(array,index,len??1,EMPTY_ARRAY);return array;}function insertAt(array,index,item){!(index>-1&&index<=array.length)&&assert$1(`\\`insertAt\\` index provided is out of range`,index>-1&&index<=array.length);replace(array,index,0,[item]);return item;}/**\n            Returns true if the passed object is an array or Array-like.\n\n            Objects are considered Array-like if any of the following are true:\n\n              - the object is a native Array\n              - the object has an objectAt property\n              - the object is an Object, and has a length property\n\n            Unlike `typeOf` this method returns true even if the passed object is\n            not formally an array but appears to be array-like (i.e. implements `Array`)\n\n            ```javascript\n            import { isArray } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            isArray();                                      // false\n            isArray([]);                                    // true\n            isArray(ArrayProxy.create({ content: [] }));    // true\n            ```\n\n            @method isArray\n            @static\n            @for @ember/array\n            @param {Object} obj The object to test\n            @return {Boolean} true if the passed object is an array or Array-like\n            @public\n          */function isArray$2(obj){if(typeof obj==='object'&&obj!==null){// SAFETY: Property read checks are safe if it's an object\nlet possibleProxyContent=obj[PROXY_CONTENT];if(possibleProxyContent!==undefined){obj=possibleProxyContent;}}// SAFETY: Property read checks are safe if it's an object\nif(!obj||obj.setInterval){return false;}if(Array.isArray(obj)||EmberArray.detect(obj)){return true;}let type=typeOf(obj);if('array'===type){return true;}// SAFETY: Property read checks are safe if it's an object\nlet length=obj.length;if(typeof length==='number'&&length===length&&'object'===type){return true;}return false;}/*\n            This allows us to define computed properties that are not enumerable.\n            The primary reason this is important is that when `NativeArray` is\n            applied to `Array.prototype` we need to ensure that we do not add _any_\n            new enumerable properties.\n          */function nonEnumerableComputed(callback){let property=computed(callback);property.enumerable=false;return property;}function mapBy$1(key){return this.map(next=>get$2(next,key));}// ..........................................................\n// ARRAY\n//\n/**\n            This mixin implements Observer-friendly Array-like behavior. It is not a\n            concrete implementation, but it can be used up by other classes that want\n            to appear like arrays.\n\n            For example, ArrayProxy is a concrete class that can be instantiated to\n            implement array-like behavior. This class uses the Array Mixin by way of\n            the MutableArray mixin, which allows observable changes to be made to the\n            underlying array.\n\n            This mixin defines methods specifically for collections that provide\n            index-ordered access to their contents. When you are designing code that\n            needs to accept any kind of Array-like object, you should use these methods\n            instead of Array primitives because these will properly notify observers of\n            changes to the array.\n\n            Although these methods are efficient, they do add a layer of indirection to\n            your application so it is a good idea to use them only when you need the\n            flexibility of using both true JavaScript arrays and \"virtual\" arrays such\n            as controllers and collections.\n\n            You can use the methods defined in this module to access and modify array\n            contents in an observable-friendly way. You can also be notified whenever\n            the membership of an array changes by using `.observes('myArray.[]')`.\n\n            To support `EmberArray` in your own class, you must override two\n            primitives to use it: `length()` and `objectAt()`.\n\n            @class EmberArray\n            @uses Enumerable\n            @since Ember 0.9.0\n            @public\n          */const EmberArray=Mixin.create(Enumerable,{init(){this._super(...arguments);setEmberArray(this);},objectsAt(indexes){return indexes.map(idx=>objectAt(this,idx));},'[]':nonEnumerableComputed({get(){return this;},set(_key,value){this.replace(0,this.length,value);return this;}}),firstObject:nonEnumerableComputed(function(){return objectAt(this,0);}).readOnly(),lastObject:nonEnumerableComputed(function(){return objectAt(this,this.length-1);}).readOnly(),// Add any extra methods to EmberArray that are native to the built-in Array.\nslice(beginIndex=0,endIndex){let ret=A();let length=this.length;if(beginIndex<0){beginIndex=length+beginIndex;}let validatedEndIndex;if(endIndex===undefined||endIndex>length){validatedEndIndex=length;}else if(endIndex<0){validatedEndIndex=length+endIndex;}else{validatedEndIndex=endIndex;}while(beginIndex<validatedEndIndex){ret[ret.length]=objectAt(this,beginIndex++);}return ret;},indexOf(object,startAt){return indexOf$1(this,object,startAt,false);},lastIndexOf(object,startAt){let len=this.length;if(startAt===undefined||startAt>=len){startAt=len-1;}if(startAt<0){startAt+=len;}for(let idx=startAt;idx>=0;idx--){if(objectAt(this,idx)===object){return idx;}}return-1;},forEach(callback,target=null){!(typeof callback==='function')&&assert$1('`forEach` expects a function as first argument.',typeof callback==='function');let length=this.length;for(let index=0;index<length;index++){let item=this.objectAt(index);callback.call(target,item,index,this);}return this;},getEach:mapBy$1,setEach(key,value){return this.forEach(item=>set(item,key,value));},map(callback,target=null){!(typeof callback==='function')&&assert$1('`map` expects a function as first argument.',typeof callback==='function');let ret=A();this.forEach((x,idx,i)=>ret[idx]=callback.call(target,x,idx,i));return ret;},mapBy:mapBy$1,filter(callback,target=null){!(typeof callback==='function')&&assert$1('`filter` expects a function as first argument.',typeof callback==='function');let ret=A();this.forEach((x,idx,i)=>{if(callback.call(target,x,idx,i)){ret.push(x);}});return ret;},reject(callback,target=null){!(typeof callback==='function')&&assert$1('`reject` expects a function as first argument.',typeof callback==='function');return this.filter(function(){// @ts-expect-error TS doesn't like us using arguments like this\nreturn!callback.apply(target,arguments);});},filterBy(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nreturn this.filter(iter(...arguments));},rejectBy(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nreturn this.reject(iter(...arguments));},find(callback,target=null){!(typeof callback==='function')&&assert$1('`find` expects a function as first argument.',typeof callback==='function');return find(this,callback,target);},findBy(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nlet callback=iter(...arguments);return find(this,callback);},every(callback,target=null){!(typeof callback==='function')&&assert$1('`every` expects a function as first argument.',typeof callback==='function');return every(this,callback,target);},isEvery(){// @ts-expect-error TS doesn't like the ...arguments spread here.\nlet callback=iter(...arguments);return every(this,callback);},any(callback,target=null){!(typeof callback==='function')&&assert$1('`any` expects a function as first argument.',typeof callback==='function');return any(this,callback,target);},isAny(){// @ts-expect-error TS doesn't like us using arguments like this\nlet callback=iter(...arguments);return any(this,callback);},// FIXME: When called without initialValue, behavior does not match native behavior\nreduce(callback,initialValue){!(typeof callback==='function')&&assert$1('`reduce` expects a function as first argument.',typeof callback==='function');let ret=initialValue;this.forEach(function(item,i){ret=callback(ret,item,i,this);},this);return ret;},invoke(methodName,...args){let ret=A();// SAFETY: This is not entirely safe and the code will not work with Ember proxies\nthis.forEach(item=>ret.push(item[methodName]?.(...args)));return ret;},toArray(){return this.map(item=>item);},compact(){return this.filter(value=>value!=null);},includes(object,startAt){return indexOf$1(this,object,startAt,true)!==-1;},sortBy(){let sortKeys=arguments;return this.toArray().sort((a,b)=>{for(let i=0;i<sortKeys.length;i++){let key=sortKeys[i];let propA=get$2(a,key);let propB=get$2(b,key);// return 1 or -1 else continue to the next sortKey\nlet compareValue=compare(propA,propB);if(compareValue){return compareValue;}}return 0;});},uniq(){return uniqBy$1(this);},uniqBy(key){return uniqBy$1(this,key);},without(value){if(!this.includes(value)){return this;// nothing to do\n}// SameValueZero comparison (NaN !== NaN)\nlet predicate=value===value?item=>item!==value:item=>item===item;return this.filter(predicate);}});/**\n            This mixin defines the API for modifying array-like objects. These methods\n            can be applied only to a collection that keeps its items in an ordered set.\n            It builds upon the Array mixin and adds methods to modify the array.\n            One concrete implementations of this class include ArrayProxy.\n\n            It is important to use the methods in this class to modify arrays so that\n            changes are observable. This allows the binding system in Ember to function\n            correctly.\n\n\n            Note that an Array can change even if it does not implement this mixin.\n            For example, one might implement a SparseArray that cannot be directly\n            modified, but if its underlying enumerable changes, it will change also.\n\n            @class MutableArray\n            @uses EmberArray\n            @uses MutableEnumerable\n            @public\n          */const MutableArray=Mixin.create(EmberArray,MutableEnumerable,{clear(){let len=this.length;if(len===0){return this;}this.replace(0,len,EMPTY_ARRAY);return this;},insertAt(idx,object){insertAt(this,idx,object);return this;},removeAt(start,len){return removeAt(this,start,len);},pushObject(obj){return insertAt(this,this.length,obj);},pushObjects(objects){this.replace(this.length,0,objects);return this;},popObject(){let len=this.length;if(len===0){return null;}let ret=objectAt(this,len-1);this.removeAt(len-1,1);return ret;},shiftObject(){if(this.length===0){return null;}let ret=objectAt(this,0);this.removeAt(0);return ret;},unshiftObject(obj){return insertAt(this,0,obj);},unshiftObjects(objects){this.replace(0,0,objects);return this;},reverseObjects(){let len=this.length;if(len===0){return this;}let objects=this.toArray().reverse();this.replace(0,len,objects);return this;},setObjects(objects){if(objects.length===0){return this.clear();}let len=this.length;this.replace(0,len,objects);return this;},removeObject(obj){let loc=this.length||0;while(--loc>=0){let curObject=objectAt(this,loc);if(curObject===obj){this.removeAt(loc);}}return this;},removeObjects(objects){beginPropertyChanges();for(let i=objects.length-1;i>=0;i--){// SAFETY: Due to the loop structure we know this will always exist.\nthis.removeObject(objects[i]);}endPropertyChanges();return this;},addObject(obj){let included=this.includes(obj);if(!included){this.pushObject(obj);}return this;},addObjects(objects){beginPropertyChanges();objects.forEach(obj=>this.addObject(obj));endPropertyChanges();return this;}});/**\n            Creates an `Ember.NativeArray` from an Array-like object.\n            Does not modify the original object's contents.\n\n            Example\n\n            ```app/components/my-component.js\n            import Component from '@ember/component';\n            import { A } from '@ember/array';\n\n            export default Component.extend({\n              tagName: 'ul',\n              classNames: ['pagination'],\n\n              init() {\n                this._super(...arguments);\n\n                if (!this.get('content')) {\n                  this.set('content', A());\n                  this.set('otherContent', A([1,2,3]));\n                }\n              }\n            });\n            ```\n\n            @method A\n            @static\n            @for @ember/array\n            @return {Ember.NativeArray}\n            @public\n          */// Add Ember.Array to Array.prototype. Remove methods with native\n// implementations and supply some more optimized versions of generic methods\n// because they are so common.\n/**\n          @module ember\n          *//**\n           * The final definition of NativeArray removes all native methods. This is the list of removed methods\n           * when run in Chrome 106.\n           *//**\n           * These additional items must be redefined since `Omit` causes methods that return `this` to return the\n           * type at the time of the Omit.\n           */// This is the same as MutableArray, but removes the actual native methods that exist on Array.prototype.\n/**\n            The NativeArray mixin contains the properties needed to make the native\n            Array support MutableArray and all of its dependent APIs.\n\n            @class Ember.NativeArray\n            @uses MutableArray\n            @uses Observable\n            @public\n          */let NativeArray=Mixin.create(MutableArray,Observable,{objectAt(idx){return this[idx];},// primitive for array support.\nreplace(start,deleteCount,items=EMPTY_ARRAY){!Array.isArray(items)&&assert$1('The third argument to replace needs to be an array.',Array.isArray(items));replaceInNativeArray(this,start,deleteCount,items);return this;}});// Remove any methods implemented natively so we don't override them\nconst ignore=['length'];NativeArray.keys().forEach(methodName=>{// SAFETY: It's safe to read unknown properties from an object\nif(Array.prototype[methodName]){ignore.push(methodName);}});NativeArray=NativeArray.without(...ignore);let A;A=function(arr){!!(this instanceof A)&&assert$1('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`',!(this instanceof A));if(isEmberArray(arr)){// SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray\nreturn arr;}else{// SAFETY: This will return an NativeArray but TS can't infer that.\nreturn NativeArray.apply(arr??[]);}};const emberArrayIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get A(){return A;},MutableArray,get NativeArray(){return NativeArray;},default:EmberArray,isArray:isArray$2,makeArray,removeAt,uniqBy:uniqBy$1},Symbol.toStringTag,{value:'Module'});function toBool(predicate){if(isProxy(predicate)){consumeTag(tagForProperty(predicate,'content'));return Boolean(get$2(predicate,'isTruthy'));}else if(isArray$2(predicate)){consumeTag(tagForProperty(predicate,'[]'));return predicate.length!==0;}else if(isHTMLSafe(predicate)){return Boolean(predicate.toString());}else{return Boolean(predicate);}}///////////\n// Setup global context\nsetGlobalContext({scheduleRevalidate(){_backburner.ensureInstance();},toBool,toIterator,getProp:_getProp,setProp:_setProp,getPath:get$2,setPath:set,scheduleDestroy(destroyable,destructor){schedule('actions',null,destructor,destroyable);},scheduleDestroyed(finalizeDestructor){schedule('destroy',null,finalizeDestructor);},warnIfStyleNotTrusted(value){warn(constructStyleDeprecationMessage(String(value)),(()=>{if(value===null||value===undefined||isHTMLSafe(value)){return true;}return false;})(),{id:'ember-htmlbars.style-xss-warning'});},assert(test,msg,options){{let id=options?.id;let override=VM_ASSERTION_OVERRIDES.filter(o=>o.id===id)[0];!test&&assert$1(override?.message??msg,test);}},deprecate(msg,test,options){{let{id}=options;if(id==='argument-less-helper-paren-less-invocation'){throw new Error(`A resolved helper cannot be passed as a named argument as the syntax is `+`ambiguously a pass-by-reference or invocation. Use the `+`\\`{{helper 'foo-helper}}\\` helper to pass by reference or explicitly `+`invoke the helper with parens: \\`{{(fooHelper)}}\\`.`);}let override=VM_DEPRECATION_OVERRIDES.filter(o=>o.id===id)[0];if(!override)throw new Error(`deprecation override for ${id} not found`);// allow deprecations to be disabled in the VM_DEPRECATION_OVERRIDES array below\nif(!override.disabled){!Boolean(test)&&deprecate$1(override.message??msg,Boolean(test),override);}}}});{debug?.setTrackingTransactionEnv?.({debugMessage(obj,keyName){let dirtyString=keyName?`\\`${keyName}\\` on \\`${getDebugName$2?.(obj)}\\``:`\\`${getDebugName$2?.(obj)}\\``;return`You attempted to update ${dirtyString}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`;}});}///////////\n// VM Assertion/Deprecation overrides\nconst VM_DEPRECATION_OVERRIDES=[{id:'setting-on-hash',until:'4.4.0',for:'ember-source',since:{available:'3.28.0',enabled:'3.28.0'}}];const VM_ASSERTION_OVERRIDES=[];///////////\n// Define environment delegate\nclass EmberEnvironmentDelegate{constructor(owner,isInteractive){_defineProperty(this,\"enableDebugTooling\",ENV._DEBUG_RENDER_TREE);this.owner=owner;this.isInteractive=isInteractive;}onTransactionCommit(){}}/**\n          @module ember\n          */const disallowDynamicResolution=internalHelper(({positional,named})=>{const nameOrValueRef=positional[0];!(positional.length===1&&nameOrValueRef)&&assert$1(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`,positional.length===1&&nameOrValueRef);let typeRef=named['type'];let locRef=named['loc'];let originalRef=named['original'];!typeRef&&assert$1(`[BUG] expecting \\`type\\` named argument`,typeRef);!locRef&&assert$1(`[BUG] expecting \\`loc\\` named argument`,locRef);!originalRef&&assert$1(`[BUG] expecting \\`original\\` named argument`,originalRef);// Bug: why do these fail?\n// assert('[BUG] expecting a string literal for the `type` argument', isConstRef(typeRef));\n// assert('[BUG] expecting a string literal for the `loc` argument', isConstRef(locRef));\n// assert('[BUG] expecting a string literal for the `original` argument', isConstRef(originalRef));\nconst type=valueForRef(typeRef);const loc=valueForRef(locRef);const original=valueForRef(originalRef);!(typeof type==='string')&&assert$1('[BUG] expecting a string literal for the `type` argument',typeof type==='string');!(typeof loc==='string')&&assert$1('[BUG] expecting a string literal for the `loc` argument',typeof loc==='string');!(typeof original==='string')&&assert$1('[BUG] expecting a string literal for the `original` argument',typeof original==='string');return createComputeRef(()=>{let nameOrValue=valueForRef(nameOrValueRef);!(typeof nameOrValue!=='string')&&assert$1(`Passing a dynamic string to the \\`(${type})\\` keyword is disallowed. `+`(You specified \\`(${type} ${original})\\` and \\`${original}\\` evaluated into \"${nameOrValue}\".) `+`This ensures we can statically analyze the template and determine which ${type}s are used. `+`If the ${type} name is always the same, use a string literal instead, i.e. \\`(${type} \"${nameOrValue}\")\\`. `+`Otherwise, import the ${type}s into JavaScript and pass them directly. `+'See https://github.com/emberjs/rfcs/blob/master/text/0496-handlebars-strict-mode.md#4-no-dynamic-resolution for details. '+loc,typeof nameOrValue!=='string');return nameOrValue;});});let helper$1;{helper$1=args=>{const inner=args.positional[0];!inner&&assert$1('expected at least one positional arg',inner);return createComputeRef(()=>{let value=valueForRef(inner);!(value!==null&&value!==undefined)&&assert$1('You cannot pass a null or undefined destination element to in-element',value!==null&&value!==undefined);return value;});};}const inElementNullCheckHelper=internalHelper(helper$1);const normalizeClassHelper=internalHelper(({positional})=>{return createComputeRef(()=>{let classNameArg=positional[0];let valueArg=positional[1];!(classNameArg&&valueArg)&&assert$1('expected at least two positional args',classNameArg&&valueArg);let classNameParts=valueForRef(classNameArg).split('.');let className=classNameParts[classNameParts.length-1];!className&&assert$1('has className',className);// Always at least one split result\nlet value=valueForRef(valueArg);if(value===true){return dasherize(className);}else if(!value&&value!==0){return'';}else{return String(value);}});});/**\n            @module ember\n          */const resolve$1=internalHelper(({positional},owner)=>{// why is this allowed to be undefined in the first place?\n!owner&&assert$1('[BUG] missing owner',owner);!(positional.length===1)&&assert$1(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`,positional.length===1);let fullNameRef=positional[0];!(fullNameRef&&isConstRef(fullNameRef))&&assert$1('[BUG] expecting a string literal as argument',fullNameRef&&isConstRef(fullNameRef));let fullName=valueForRef(fullNameRef);!(typeof fullName==='string')&&assert$1('[BUG] expecting a string literal as argument',typeof fullName==='string');!(s=>s.split(':').length===2)(fullName)&&assert$1('[BUG] expecting a valid full name',(s=>s.split(':').length===2)(fullName));{let[type,name]=fullName.split(':');!owner.hasRegistration(fullName)&&assert$1(`Attempted to invoke \\`(-resolve \"${fullName}\")\\`, but ${name} was not a valid ${type} name.`,owner.hasRegistration(fullName));}return createConstRef(owner.factoryFor(fullName)?.class,`(-resolve \"${fullName}\")`);});/**\n          @module ember\n          *//**\n            This reference is used to get the `[]` tag of iterables, so we can trigger\n            updates to `{{each}}` when it changes. It is put into place by a template\n            transform at build time, similar to the (-each-in) helper\n          */const trackArray=internalHelper(({positional})=>{const inner=positional[0];!inner&&assert$1('expected at least one positional arg',inner);return createComputeRef(()=>{let iterable=valueForRef(inner);if(isObject(iterable)){consumeTag(tagForProperty(iterable,'[]'));}return iterable;});});/**\n          @module ember\n          *//**\n            The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n            (mutable) value passed to it, which will __change the value of the parent component__.\n\n            To specify that a parameter is mutable, when invoking the child `Component`:\n\n            ```handlebars\n            <MyChild @childClickCount={{fn (mut totalClicks)}} />\n            ```\n\n             or\n\n            ```handlebars\n            {{my-child childClickCount=(mut totalClicks)}}\n            ```\n\n            The child `Component` can then modify the parent's value just by modifying its own\n            property:\n\n            ```javascript\n            // my-child.js\n            export default Component.extend({\n              click() {\n                this.incrementProperty('childClickCount');\n              }\n            });\n            ```\n\n            Note that for curly components (`{{my-component}}`) the bindings are already mutable,\n            making the `mut` unnecessary.\n\n            Additionally, the `mut` helper can be combined with the `fn` helper to\n            mutate a value. For example:\n\n            ```handlebars\n            <MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n            ```\n\n            or\n\n            ```handlebars\n            {{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n            ```\n\n            The child `Component` would invoke the function with the new click value:\n\n            ```javascript\n            // my-child.js\n            export default Component.extend({\n              click() {\n                this.get('click-count-change')(this.get('childClickCount') + 1);\n              }\n            });\n            ```\n\n            The `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n\n            The `mut` helper, when used with `fn`, will return a function that\n            sets the value passed to `mut` to its first argument. As an example, we can create a\n            button that increments a value passing the value directly to the `fn`:\n\n            ```handlebars\n            {{! inc helper is not provided by Ember }}\n            <button onclick={{fn (mut count) (inc count)}}>\n              Increment count\n            </button>\n            ```\n\n            @method mut\n            @param {Object} [attr] the \"two-way\" attribute that can be modified.\n            @for Ember.Templates.helpers\n            @public\n          */const mut=internalHelper(({positional})=>{let ref=positional[0];!ref&&assert$1('expected at least one positional arg',ref);// TODO: Improve this error message. This covers at least two distinct\n// cases:\n//\n// 1. (mut \"not a path\") – passing a literal, result from a helper\n//    invocation, etc\n//\n// 2. (mut receivedValue) – passing a value received from the caller\n//    that was originally derived from a literal, result from a helper\n//    invocation, etc\n//\n// This message is alright for the first case, but could be quite\n// confusing for the second case.\n!isUpdatableRef(ref)&&assert$1('You can only pass a path to mut',isUpdatableRef(ref));return createInvokableRef(ref);});/**\n          @module ember\n          *//**\n            The `readonly` helper let's you specify that a binding is one-way only,\n            instead of two-way.\n            When you pass a `readonly` binding from an outer context (e.g. parent component),\n            to to an inner context (e.g. child component), you are saying that changing that\n            property in the inner context does not change the value in the outer context.\n\n            To specify that a binding is read-only, when invoking the child `Component`:\n\n            ```app/components/my-parent.js\n            export default Component.extend({\n              totalClicks: 3\n            });\n            ```\n\n            ```app/templates/components/my-parent.hbs\n            {{log totalClicks}} // -> 3\n            <MyChild @childClickCount={{readonly totalClicks}} />\n            ```\n            ```\n            {{my-child childClickCount=(readonly totalClicks)}}\n            ```\n\n            Now, when you update `childClickCount`:\n\n            ```app/components/my-child.js\n            export default Component.extend({\n              click() {\n                this.incrementProperty('childClickCount');\n              }\n            });\n            ```\n\n            The value updates in the child component, but not the parent component:\n\n            ```app/templates/components/my-child.hbs\n            {{log childClickCount}} //-> 4\n            ```\n\n            ```app/templates/components/my-parent.hbs\n            {{log totalClicks}} //-> 3\n            <MyChild @childClickCount={{readonly totalClicks}} />\n            ```\n            or\n            ```app/templates/components/my-parent.hbs\n            {{log totalClicks}} //-> 3\n            {{my-child childClickCount=(readonly totalClicks)}}\n            ```\n\n            ### Objects and Arrays\n\n            When passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\n            only the reference to the object is protected using the readonly helper.\n            This means that you can change properties of the object both on the parent component, as well as the child component.\n            The `readonly` binding behaves similar to the `const` keyword in JavaScript.\n\n            Let's look at an example:\n\n            First let's set up the parent component:\n\n            ```app/components/my-parent.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              clicks: null,\n\n              init() {\n                this._super(...arguments);\n                this.set('clicks', { total: 3 });\n              }\n            });\n            ```\n\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 3\n            <MyChild @childClicks={{readonly clicks}} />\n            ```\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 3\n            {{my-child childClicks=(readonly clicks)}}\n            ```\n\n            Now, if you update the `total` property of `childClicks`:\n\n            ```app/components/my-child.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              click() {\n                this.get('clicks').incrementProperty('total');\n              }\n            });\n            ```\n\n            You will see the following happen:\n\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 4\n            <MyChild @childClicks={{readonly clicks}} />\n            ```\n            or\n            ```app/templates/components/my-parent.hbs\n            {{log clicks.total}} //-> 4\n            {{my-child childClicks=(readonly clicks)}}\n            ```\n\n            ```app/templates/components/my-child.hbs\n            {{log childClicks.total}} //-> 4\n            ```\n\n            @method readonly\n            @param {Object} [attr] the read-only attribute.\n            @for Ember.Templates.helpers\n            @private\n          */const readonly=internalHelper(({positional})=>{let firstArg=positional[0];!firstArg&&assert$1('has first arg',firstArg);return createReadOnlyRef(firstArg);});/**\n          @module ember\n          *//**\n            The `{{unbound}}` helper disconnects the one-way binding of a property,\n            essentially freezing its value at the moment of rendering. For example,\n            in this example the display of the variable `name` will not change even\n            if it is set with a new value:\n\n            ```handlebars\n            {{unbound this.name}}\n            ```\n\n            Like any helper, the `unbound` helper can accept a nested helper expression.\n            This allows for custom helpers to be rendered unbound:\n\n            ```handlebars\n            {{unbound (some-custom-helper)}}\n            {{unbound (capitalize this.name)}}\n            {{! You can use any helper, including unbound, in a nested expression }}\n            {{capitalize (unbound this.name)}}\n            ```\n\n            The `unbound` helper only accepts a single argument, and it return an\n            unbound value.\n\n            @method unbound\n            @for Ember.Templates.helpers\n            @public\n          */const unbound=internalHelper(({positional,named})=>{!(positional.length===1&&Object.keys(named).length===0)&&assert$1('unbound helper cannot be called with multiple params or hash params',positional.length===1&&Object.keys(named).length===0);return createUnboundRef(valueForRef(positional[0]),'(result of an `unbound` helper)');});/**\n          @module ember\n          */const uniqueId$1=internalHelper(()=>{// SAFETY: glimmer-vm should change the signature of createUnboundRef to use a generic\n//         so that the type param to `Reference<?>` can infer from the first argument.\n//\n// NOTE: constRef is an optimization so we don't let the VM create extra wrappers,\n//       tracking frames, etc.\nreturn createConstRef(uniqueId$2(),'unique-id');});// From https://gist.github.com/selfish/fef2c0ba6cdfe07af76e64cecd74888b\n//\n// This code should be reasonably fast, and provide a unique value every time\n// it's called, which is what we need here. It produces a string formatted as a\n// standard UUID, which avoids accidentally turning Ember-specific\n// implementation details into an intimate API. It also ensures that the UUID\n// always starts with a letter, to avoid creating invalid IDs with a numeric\n// digit at the start.\nfunction uniqueId$2(){// @ts-expect-error this one-liner abuses weird JavaScript semantics that\n// TypeScript (legitimately) doesn't like, but they're nonetheless valid and\n// specced.\nreturn([3e7]+-1e3+-4e3+-2e3+-1e11).replace(/[0-3]/g,a=>(a*4^Math.random()*16>>(a&2)).toString(16));}const MODIFIERS=['alt','shift','meta','ctrl'];const POINTER_EVENT_TYPE_REGEX=/^click|mouse|touch/;function isAllowedEvent(event,allowedKeys){if(allowedKeys===null||allowedKeys===undefined){if(POINTER_EVENT_TYPE_REGEX.test(event.type)){return isSimpleClick(event);}else{allowedKeys='';}}if(allowedKeys.indexOf('any')>=0){return true;}for(let i=0;i<MODIFIERS.length;i++){if(event[MODIFIERS[i]+'Key']&&allowedKeys.indexOf(MODIFIERS[i])===-1){return false;}}return true;}let ActionHelper={// registeredActions is re-exported for compatibility with older plugins\n// that were using this undocumented API.\nregisteredActions:ActionManager.registeredActions,registerAction(actionState){let{actionId}=actionState;ActionManager.registeredActions[actionId]=actionState;return actionId;},unregisterAction(actionState){let{actionId}=actionState;delete ActionManager.registeredActions[actionId];}};class ActionState{constructor(element,owner,actionId,actionArgs,namedArgs,positionalArgs){_defineProperty(this,\"element\",void 0);_defineProperty(this,\"owner\",void 0);_defineProperty(this,\"actionId\",void 0);_defineProperty(this,\"actionName\",void 0);_defineProperty(this,\"actionArgs\",void 0);_defineProperty(this,\"namedArgs\",void 0);_defineProperty(this,\"positional\",void 0);_defineProperty(this,\"implicitTarget\",void 0);_defineProperty(this,\"eventName\",void 0);_defineProperty(this,\"tag\",createUpdatableTag());this.element=element;this.owner=owner;this.actionId=actionId;this.actionArgs=actionArgs;this.namedArgs=namedArgs;this.positional=positionalArgs;this.eventName=this.getEventName();registerDestructor$1(this,()=>ActionHelper.unregisterAction(this));}getEventName(){let{on}=this.namedArgs;return on!==undefined?valueForRef(on):'click';}getActionArgs(){let result=new Array(this.actionArgs.length);for(let i=0;i<this.actionArgs.length;i++){result[i]=valueForRef(this.actionArgs[i]);}return result;}getTarget(){let{implicitTarget,namedArgs}=this;let{target}=namedArgs;return target!==undefined?valueForRef(target):valueForRef(implicitTarget);}handler(event){let{actionName,namedArgs}=this;let{bubbles,preventDefault,allowedKeys}=namedArgs;let bubblesVal=bubbles!==undefined?valueForRef(bubbles):undefined;let preventDefaultVal=preventDefault!==undefined?valueForRef(preventDefault):undefined;let allowedKeysVal=allowedKeys!==undefined?valueForRef(allowedKeys):undefined;let target=this.getTarget();let shouldBubble=bubblesVal!==false;if(!isAllowedEvent(event,allowedKeysVal)){return true;}if(preventDefaultVal!==false){event.preventDefault();}if(!shouldBubble){event.stopPropagation();}join(()=>{let args=this.getActionArgs();let payload={name:null};if(isInvokableRef(actionName)){flaggedInstrument('interaction.ember-action',payload,()=>{updateRef(actionName,args[0]);});return;}if(typeof actionName==='function'){flaggedInstrument('interaction.ember-action',payload,()=>{actionName.apply(target,args);});return;}payload.name=actionName;if(target.send){flaggedInstrument('interaction.ember-action',payload,()=>{target.send.apply(target,[actionName,...args]);});}else{!(typeof target[actionName]==='function')&&assert$1(`The action '${actionName}' did not exist on ${target}`,typeof target[actionName]==='function');flaggedInstrument('interaction.ember-action',payload,()=>{target[actionName].apply(target,args);});}});return shouldBubble;}}class ActionModifierManager{create(owner,element,_state,{named,positional}){let actionArgs=[];// The first two arguments are (1) `this` and (2) the action name.\n// Everything else is a param.\nfor(let i=2;i<positional.length;i++){actionArgs.push(positional[i]);}let actionId=uuid$1();return new ActionState(element,owner,actionId,actionArgs,named,positional);}getDebugInstance(){return null;}getDebugName(){return'action';}install(actionState){deprecateUntil(`Usage of the \\`{{action}}\\` modifier is deprecated. Migrate to native functions and function invocation.`,DEPRECATIONS.DEPRECATE_TEMPLATE_ACTION);let{element,actionId,positional}=actionState;let actionName;let actionNameRef;let implicitTarget;if(positional.length>1){implicitTarget=positional[0];actionNameRef=positional[1];if(isInvokableRef(actionNameRef)){actionName=actionNameRef;}else{actionName=valueForRef(actionNameRef);{let actionPath=actionNameRef.debugLabel;let actionPathParts=actionPath.split('.');let actionLabel=actionPathParts[actionPathParts.length-1];!(typeof actionName==='string'||typeof actionName==='function')&&assert$1('You specified a quoteless path, `'+actionPath+'`, to the '+'{{action}} helper which did not resolve to an action name (a '+'string). Perhaps you meant to use a quoted actionName? (e.g. '+'{{action \"'+actionLabel+'\"}}).',typeof actionName==='string'||typeof actionName==='function');}}}actionState.actionName=actionName;actionState.implicitTarget=implicitTarget;this.ensureEventSetup(actionState);ActionHelper.registerAction(actionState);element.setAttribute('data-ember-action','');element.setAttribute(`data-ember-action-${actionId}`,String(actionId));}update(actionState){let{positional}=actionState;let actionNameRef=positional[1];!actionNameRef&&assert$1('Expected at least one positional arg',actionNameRef);if(!isInvokableRef(actionNameRef)){actionState.actionName=valueForRef(actionNameRef);}let newEventName=actionState.getEventName();if(newEventName!==actionState.eventName){this.ensureEventSetup(actionState);actionState.eventName=actionState.getEventName();}}ensureEventSetup(actionState){let dispatcher=actionState.owner.lookup('event_dispatcher:main');!(dispatcher instanceof EventDispatcher)&&assert$1('Expected dispatcher to be an EventDispatcher',dispatcher instanceof EventDispatcher);dispatcher?.setupHandlerForEmberEvent(actionState.eventName);}getTag(actionState){return actionState.tag;}getDestroyable(actionState){return actionState;}}const ACTION_MODIFIER_MANAGER=new ActionModifierManager();const actionModifier=setInternalModifierManager(ACTION_MODIFIER_MANAGER,{});var createObject=Object.create;function createMap(){var map=createObject(null);map[\"__\"]=undefined;delete map[\"__\"];return map;}var Target=function Target(path,matcher,delegate){this.path=path;this.matcher=matcher;this.delegate=delegate;};Target.prototype.to=function to(target,callback){var delegate=this.delegate;if(delegate&&delegate.willAddRoute){target=delegate.willAddRoute(this.matcher.target,target);}this.matcher.add(this.path,target);if(callback){if(callback.length===0){throw new Error(\"You must have an argument in the function passed to `to`\");}this.matcher.addChild(this.path,target,callback,this.delegate);}};var Matcher=function Matcher(target){this.routes=createMap();this.children=createMap();this.target=target;};Matcher.prototype.add=function add(path,target){this.routes[path]=target;};Matcher.prototype.addChild=function addChild(path,target,callback,delegate){var matcher=new Matcher(target);this.children[path]=matcher;var match=generateMatch(path,matcher,delegate);if(delegate&&delegate.contextEntered){delegate.contextEntered(target,match);}callback(match);};function generateMatch(startingPath,matcher,delegate){function match(path,callback){var fullPath=startingPath+path;if(callback){callback(generateMatch(fullPath,matcher,delegate));}else{return new Target(fullPath,matcher,delegate);}}return match;}function addRoute(routeArray,path,handler){var len=0;for(var i=0;i<routeArray.length;i++){len+=routeArray[i].path.length;}path=path.substr(len);var route={path:path,handler:handler};routeArray.push(route);}function eachRoute(baseRoute,matcher,callback,binding){var routes=matcher.routes;var paths=Object.keys(routes);for(var i=0;i<paths.length;i++){var path=paths[i];var routeArray=baseRoute.slice();addRoute(routeArray,path,routes[path]);var nested=matcher.children[path];if(nested){eachRoute(routeArray,nested,callback,binding);}else{callback.call(binding,routeArray);}}}var map$1=function(callback,addRouteCallback){var matcher=new Matcher();callback(generateMatch(\"\",matcher,this.delegate));eachRoute([],matcher,function(routes){if(addRouteCallback){addRouteCallback(this,routes);}else{this.add(routes);}},this);};// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n// values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n// chars are \"/\" and \"%\".\n// Safe to call multiple times on the same path.\n// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\nfunction normalizePath(path){return path.split(\"/\").map(normalizeSegment).join(\"/\");}// We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n// form when normalizing paths, so replace them with their encoded form after\n// decoding the rest of the path\nvar SEGMENT_RESERVED_CHARS=/%|\\//g;function normalizeSegment(segment){if(segment.length<3||segment.indexOf(\"%\")===-1){return segment;}return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS,encodeURIComponent);}// We do not want to encode these characters when generating dynamic path segments\n// See https://tools.ietf.org/html/rfc3986#section-3.3\n// sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n// others allowed by RFC 3986: \":\", \"@\"\n//\n// First encode the entire path segment, then decode any of the encoded special chars.\n//\n// The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n// so the possible encoded chars are:\n// ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\nvar PATH_SEGMENT_ENCODINGS=/%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;function encodePathSegment(str){return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS,decodeURIComponent);}var escapeRegex=/(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;var isArray$1=Array.isArray;var hasOwnProperty$1=Object.prototype.hasOwnProperty;function getParam(params,key){if(typeof params!==\"object\"||params===null){throw new Error(\"You must pass an object as the second argument to `generate`.\");}if(!hasOwnProperty$1.call(params,key)){throw new Error(\"You must provide param `\"+key+\"` to `generate`.\");}var value=params[key];var str=typeof value===\"string\"?value:\"\"+value;if(str.length===0){throw new Error(\"You must provide a param `\"+key+\"`.\");}return str;}var eachChar=[];eachChar[0/* Static */]=function(segment,currentState){var state=currentState;var value=segment.value;for(var i=0;i<value.length;i++){var ch=value.charCodeAt(i);state=state.put(ch,false,false);}return state;};eachChar[1/* Dynamic */]=function(_,currentState){return currentState.put(47/* SLASH */,true,true);};eachChar[2/* Star */]=function(_,currentState){return currentState.put(-1/* ANY */,false,true);};eachChar[4/* Epsilon */]=function(_,currentState){return currentState;};var regex=[];regex[0/* Static */]=function(segment){return segment.value.replace(escapeRegex,\"\\\\$1\");};regex[1/* Dynamic */]=function(){return\"([^/]+)\";};regex[2/* Star */]=function(){return\"(.+)\";};regex[4/* Epsilon */]=function(){return\"\";};var generate=[];generate[0/* Static */]=function(segment){return segment.value;};generate[1/* Dynamic */]=function(segment,params){var value=getParam(params,segment.value);if(RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS){return encodePathSegment(value);}else{return value;}};generate[2/* Star */]=function(segment,params){return getParam(params,segment.value);};generate[4/* Epsilon */]=function(){return\"\";};var EmptyObject=Object.freeze({});var EmptyArray=Object.freeze([]);// The `names` will be populated with the paramter name for each dynamic/star\n// segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n// segment, indicating whether it should be decoded during recognition.\nfunction parse(segments,route,types){// normalize route as not starting with a \"/\". Recognition will\n// also normalize.\nif(route.length>0&&route.charCodeAt(0)===47/* SLASH */){route=route.substr(1);}var parts=route.split(\"/\");var names=undefined;var shouldDecodes=undefined;for(var i=0;i<parts.length;i++){var part=parts[i];var flags=0;var type=0;if(part===\"\"){type=4/* Epsilon */;}else if(part.charCodeAt(0)===58/* COLON */){type=1/* Dynamic */;}else if(part.charCodeAt(0)===42/* STAR */){type=2/* Star */;}else{type=0/* Static */;}flags=2<<type;if(flags&12/* Named */){part=part.slice(1);names=names||[];names.push(part);shouldDecodes=shouldDecodes||[];shouldDecodes.push((flags&4/* Decoded */)!==0);}if(flags&14/* Counted */){types[type]++;}segments.push({type:type,value:normalizeSegment(part)});}return{names:names||EmptyArray,shouldDecodes:shouldDecodes||EmptyArray};}function isEqualCharSpec(spec,char,negate){return spec.char===char&&spec.negate===negate;}// A State has a character specification and (`charSpec`) and a list of possible\n// subsequent states (`nextStates`).\n//\n// If a State is an accepting state, it will also have several additional\n// properties:\n//\n// * `regex`: A regular expression that is used to extract parameters from paths\n//   that reached this accepting state.\n// * `handlers`: Information on how to convert the list of captures into calls\n//   to registered handlers with the specified parameters\n// * `types`: How many static, dynamic or star segments in this route. Used to\n//   decide which route to use if multiple registered routes match a path.\n//\n// Currently, State is implemented naively by looping over `nextStates` and\n// comparing a character specification against a character. A more efficient\n// implementation would use a hash of keys pointing at one or more next states.\nvar State=function State(states,id,char,negate,repeat){this.states=states;this.id=id;this.char=char;this.negate=negate;this.nextStates=repeat?id:null;this.pattern=\"\";this._regex=undefined;this.handlers=undefined;this.types=undefined;};State.prototype.regex=function regex$1(){if(!this._regex){this._regex=new RegExp(this.pattern);}return this._regex;};State.prototype.get=function get(char,negate){var this$1$1=this;var nextStates=this.nextStates;if(nextStates===null){return;}if(isArray$1(nextStates)){for(var i=0;i<nextStates.length;i++){var child=this$1$1.states[nextStates[i]];if(isEqualCharSpec(child,char,negate)){return child;}}}else{var child$1=this.states[nextStates];if(isEqualCharSpec(child$1,char,negate)){return child$1;}}};State.prototype.put=function put(char,negate,repeat){var state;// If the character specification already exists in a child of the current\n// state, just return that state.\nif(state=this.get(char,negate)){return state;}// Make a new state for the character spec\nvar states=this.states;state=new State(states,states.length,char,negate,repeat);states[states.length]=state;// Insert the new state as a child of the current state\nif(this.nextStates==null){this.nextStates=state.id;}else if(isArray$1(this.nextStates)){this.nextStates.push(state.id);}else{this.nextStates=[this.nextStates,state.id];}// Return the new state\nreturn state;};// Find a list of child states matching the next character\nState.prototype.match=function match(ch){var this$1$1=this;var nextStates=this.nextStates;if(!nextStates){return[];}var returned=[];if(isArray$1(nextStates)){for(var i=0;i<nextStates.length;i++){var child=this$1$1.states[nextStates[i]];if(isMatch(child,ch)){returned.push(child);}}}else{var child$1=this.states[nextStates];if(isMatch(child$1,ch)){returned.push(child$1);}}return returned;};function isMatch(spec,char){return spec.negate?spec.char!==char&&spec.char!==-1/* ANY */:spec.char===char||spec.char===-1/* ANY */;}// This is a somewhat naive strategy, but should work in a lot of cases\n// A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n//\n// This strategy generally prefers more static and less dynamic matching.\n// Specifically, it\n//\n//  * prefers fewer stars to more, then\n//  * prefers using stars for less of the match to more, then\n//  * prefers fewer dynamic segments to more, then\n//  * prefers more static segments to more\nfunction sortSolutions(states){return states.sort(function(a,b){var ref=a.types||[0,0,0];var astatics=ref[0];var adynamics=ref[1];var astars=ref[2];var ref$1=b.types||[0,0,0];var bstatics=ref$1[0];var bdynamics=ref$1[1];var bstars=ref$1[2];if(astars!==bstars){return astars-bstars;}if(astars){if(astatics!==bstatics){return bstatics-astatics;}if(adynamics!==bdynamics){return bdynamics-adynamics;}}if(adynamics!==bdynamics){return adynamics-bdynamics;}if(astatics!==bstatics){return bstatics-astatics;}return 0;});}function recognizeChar(states,ch){var nextStates=[];for(var i=0,l=states.length;i<l;i++){var state=states[i];nextStates=nextStates.concat(state.match(ch));}return nextStates;}var RecognizeResults=function RecognizeResults(queryParams){this.length=0;this.queryParams=queryParams||{};};RecognizeResults.prototype.splice=Array.prototype.splice;RecognizeResults.prototype.slice=Array.prototype.slice;RecognizeResults.prototype.push=Array.prototype.push;function findHandler(state,originalPath,queryParams){var handlers=state.handlers;var regex=state.regex();if(!regex||!handlers){throw new Error(\"state not initialized\");}var captures=originalPath.match(regex);var currentCapture=1;var result=new RecognizeResults(queryParams);result.length=handlers.length;for(var i=0;i<handlers.length;i++){var handler=handlers[i];var names=handler.names;var shouldDecodes=handler.shouldDecodes;var params=EmptyObject;var isDynamic=false;if(names!==EmptyArray&&shouldDecodes!==EmptyArray){for(var j=0;j<names.length;j++){isDynamic=true;var name=names[j];var capture=captures&&captures[currentCapture++];if(params===EmptyObject){params={};}if(RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS&&shouldDecodes[j]){params[name]=capture&&decodeURIComponent(capture);}else{params[name]=capture;}}}result[i]={handler:handler.handler,params:params,isDynamic:isDynamic};}return result;}function decodeQueryParamPart(part){// http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\npart=part.replace(/\\+/gm,\"%20\");var result;try{result=decodeURIComponent(part);}catch(error){result=\"\";}return result;}var RouteRecognizer=function RouteRecognizer(){this.names=createMap();var states=[];var state=new State(states,0,-1/* ANY */,true,false);states[0]=state;this.states=states;this.rootState=state;};RouteRecognizer.prototype.add=function add(routes,options){var currentState=this.rootState;var pattern=\"^\";var types=[0,0,0];var handlers=new Array(routes.length);var allSegments=[];var isEmpty=true;var j=0;for(var i=0;i<routes.length;i++){var route=routes[i];var ref=parse(allSegments,route.path,types);var names=ref.names;var shouldDecodes=ref.shouldDecodes;// preserve j so it points to the start of newly added segments\nfor(;j<allSegments.length;j++){var segment=allSegments[j];if(segment.type===4/* Epsilon */){continue;}isEmpty=false;// Add a \"/\" for the new segment\ncurrentState=currentState.put(47/* SLASH */,false,false);pattern+=\"/\";// Add a representation of the segment to the NFA and regex\ncurrentState=eachChar[segment.type](segment,currentState);pattern+=regex[segment.type](segment);}handlers[i]={handler:route.handler,names:names,shouldDecodes:shouldDecodes};}if(isEmpty){currentState=currentState.put(47/* SLASH */,false,false);pattern+=\"/\";}currentState.handlers=handlers;currentState.pattern=pattern+\"$\";currentState.types=types;var name;if(typeof options===\"object\"&&options!==null&&options.as){name=options.as;}if(name){// if (this.names[name]) {\n//   throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n// }\nthis.names[name]={segments:allSegments,handlers:handlers};}};RouteRecognizer.prototype.handlersFor=function handlersFor(name){var route=this.names[name];if(!route){throw new Error(\"There is no route named \"+name);}var result=new Array(route.handlers.length);for(var i=0;i<route.handlers.length;i++){var handler=route.handlers[i];result[i]=handler;}return result;};RouteRecognizer.prototype.hasRoute=function hasRoute(name){return!!this.names[name];};RouteRecognizer.prototype.generate=function generate$1(name,params){var route=this.names[name];var output=\"\";if(!route){throw new Error(\"There is no route named \"+name);}var segments=route.segments;for(var i=0;i<segments.length;i++){var segment=segments[i];if(segment.type===4/* Epsilon */){continue;}output+=\"/\";output+=generate[segment.type](segment,params);}if(output.charAt(0)!==\"/\"){output=\"/\"+output;}if(params&&params.queryParams){output+=this.generateQueryString(params.queryParams);}return output;};RouteRecognizer.prototype.generateQueryString=function generateQueryString(params){var pairs=[];var keys=Object.keys(params);keys.sort();for(var i=0;i<keys.length;i++){var key=keys[i];var value=params[key];if(value==null){continue;}var pair=encodeURIComponent(key);if(isArray$1(value)){for(var j=0;j<value.length;j++){var arrayPair=key+\"[]\"+\"=\"+encodeURIComponent(value[j]);pairs.push(arrayPair);}}else{pair+=\"=\"+encodeURIComponent(value);pairs.push(pair);}}if(pairs.length===0){return\"\";}return\"?\"+pairs.join(\"&\");};RouteRecognizer.prototype.parseQueryString=function parseQueryString(queryString){var pairs=queryString.split(\"&\");var queryParams={};for(var i=0;i<pairs.length;i++){var pair=pairs[i].split(\"=\"),key=decodeQueryParamPart(pair[0]),keyLength=key.length,isArray=false,value=void 0;if(pair.length===1){value=\"true\";}else{// Handle arrays\nif(keyLength>2&&key.slice(keyLength-2)===\"[]\"){isArray=true;key=key.slice(0,keyLength-2);if(!queryParams[key]){queryParams[key]=[];}}value=pair[1]?decodeQueryParamPart(pair[1]):\"\";}if(isArray){queryParams[key].push(value);}else{queryParams[key]=value;}}return queryParams;};RouteRecognizer.prototype.recognize=function recognize(path){var results;var states=[this.rootState];var queryParams={};var isSlashDropped=false;var hashStart=path.indexOf(\"#\");if(hashStart!==-1){path=path.substr(0,hashStart);}var queryStart=path.indexOf(\"?\");if(queryStart!==-1){var queryString=path.substr(queryStart+1,path.length);path=path.substr(0,queryStart);queryParams=this.parseQueryString(queryString);}if(path.charAt(0)!==\"/\"){path=\"/\"+path;}var originalPath=path;if(RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS){path=normalizePath(path);}else{path=decodeURI(path);originalPath=decodeURI(originalPath);}var pathLen=path.length;if(pathLen>1&&path.charAt(pathLen-1)===\"/\"){path=path.substr(0,pathLen-1);originalPath=originalPath.substr(0,originalPath.length-1);isSlashDropped=true;}for(var i=0;i<path.length;i++){states=recognizeChar(states,path.charCodeAt(i));if(!states.length){break;}}var solutions=[];for(var i$1=0;i$1<states.length;i$1++){if(states[i$1].handlers){solutions.push(states[i$1]);}}states=sortSolutions(solutions);var state=solutions[0];if(state&&state.handlers){// if a trailing slash was dropped and a star segment is the last segment\n// specified, put the trailing slash back\nif(isSlashDropped&&state.pattern&&state.pattern.slice(-5)===\"(.+)$\"){originalPath=originalPath+\"/\";}results=findHandler(state,originalPath,queryParams);}return results;};RouteRecognizer.VERSION=\"0.3.4\";// Set to false to opt-out of encoding and decoding path segments.\n// See https://github.com/tildeio/route-recognizer/pull/55\nRouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS=true;RouteRecognizer.Normalizer={normalizeSegment:normalizeSegment,normalizePath:normalizePath,encodePathSegment:encodePathSegment};RouteRecognizer.prototype.map=map$1;const routeRecognizer=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RouteRecognizer},Symbol.toStringTag,{value:'Module'});function buildTransitionAborted(){let error=new Error('TransitionAborted');error.name='TransitionAborted';error.code='TRANSITION_ABORTED';return error;}function isTransitionAborted(maybeError){return typeof maybeError==='object'&&maybeError!==null&&maybeError.code==='TRANSITION_ABORTED';}function isAbortable(maybeAbortable){return typeof maybeAbortable==='object'&&maybeAbortable!==null&&typeof maybeAbortable.isAborted==='boolean';}function throwIfAborted(maybe){if(isAbortable(maybe)&&maybe.isAborted){throw buildTransitionAborted();}}const slice$1=Array.prototype.slice;const hasOwnProperty=Object.prototype.hasOwnProperty;/**\n            Determines if an object is Promise by checking if it is \"thenable\".\n          **/function isPromise(p){return p!==null&&typeof p==='object'&&typeof p.then==='function';}function merge(hash,other){for(let prop in other){if(hasOwnProperty.call(other,prop)){hash[prop]=other[prop];}}}/**\n            @private\n\n            Extracts query params from the end of an array\n          **/function extractQueryParams(array){let len=array&&array.length,head,queryParams;if(len&&len>0){let obj=array[len-1];if(isQueryParamsContainer(obj)){queryParams=obj.queryParams;head=slice$1.call(array,0,len-1);return[head,queryParams];}}// SAFETY: We confirmed that the last item isn't a QP container\nreturn[array,null];}// TODO: Actually check that Dict is QueryParams\nfunction isQueryParamsContainer(obj){if(obj&&typeof obj==='object'){let cast=obj;return'queryParams'in cast&&Object.keys(cast.queryParams).every(k=>typeof k==='string');}return false;}/**\n            @private\n\n            Coerces query param properties and array elements into strings.\n          **/function coerceQueryParamsToString(queryParams){for(let key in queryParams){let val=queryParams[key];if(typeof val==='number'){queryParams[key]=''+val;}else if(Array.isArray(val)){for(let i=0,l=val.length;i<l;i++){val[i]=''+val[i];}}}}/**\n            @private\n           */function log(router,...args){if(!router.log){return;}if(args.length===2){let[sequence,msg]=args;router.log('Transition #'+sequence+': '+msg);}else{let[msg]=args;router.log(msg);}}function isParam(object){return typeof object==='string'||object instanceof String||typeof object==='number'||object instanceof Number;}function forEach(array,callback){for(let i=0,l=array.length;i<l&&callback(array[i])!==false;i++){// empty intentionally\n}}function getChangelist(oldObject,newObject){let key;let results={all:{},changed:{},removed:{}};merge(results.all,newObject);let didChange=false;coerceQueryParamsToString(oldObject);coerceQueryParamsToString(newObject);// Calculate removals\nfor(key in oldObject){if(hasOwnProperty.call(oldObject,key)){if(!hasOwnProperty.call(newObject,key)){didChange=true;results.removed[key]=oldObject[key];}}}// Calculate changes\nfor(key in newObject){if(hasOwnProperty.call(newObject,key)){let oldElement=oldObject[key];let newElement=newObject[key];if(isArray(oldElement)&&isArray(newElement)){if(oldElement.length!==newElement.length){results.changed[key]=newObject[key];didChange=true;}else{for(let i=0,l=oldElement.length;i<l;i++){if(oldElement[i]!==newElement[i]){results.changed[key]=newObject[key];didChange=true;}}}}else if(oldObject[key]!==newObject[key]){results.changed[key]=newObject[key];didChange=true;}}}return didChange?results:undefined;}function isArray(obj){return Array.isArray(obj);}function promiseLabel(label){return'Router: '+label;}const STATE_SYMBOL=`__STATE__-2619860001345920-3322w3`;const PARAMS_SYMBOL=`__PARAMS__-261986232992830203-23323`;const QUERY_PARAMS_SYMBOL=`__QPS__-2619863929824844-32323`;const REDIRECT_DESTINATION_SYMBOL=`__RDS__-2619863929824844-32323`;/**\n            A Transition is a thenable (a promise-like object) that represents\n            an attempt to transition to another route. It can be aborted, either\n            explicitly via `abort` or by attempting another transition while a\n            previous one is still underway. An aborted transition can also\n            be `retry()`d later.\n\n            @class Transition\n            @constructor\n            @param {Object} router\n            @param {Object} intent\n            @param {Object} state\n            @param {Object} error\n            @private\n           */class Transition{constructor(router,intent,state,error=undefined,previousTransition=undefined){this.from=null;this.to=undefined;this.isAborted=false;this.isActive=true;this.urlMethod='update';this.resolveIndex=0;this.queryParamsOnly=false;this.isTransition=true;this.isCausedByAbortingTransition=false;this.isCausedByInitialTransition=false;this.isCausedByAbortingReplaceTransition=false;this._visibleQueryParams={};this.isIntermediate=false;this[STATE_SYMBOL]=state||router.state;this.intent=intent;this.router=router;this.data=intent&&intent.data||{};this.resolvedModels={};this[QUERY_PARAMS_SYMBOL]={};this.promise=undefined;this.error=undefined;this[PARAMS_SYMBOL]={};this.routeInfos=[];this.targetName=undefined;this.pivotHandler=undefined;this.sequence=-1;{let error=new Error(`Transition creation stack`);this.debugCreationStack=()=>error.stack;// not aborted yet, will be replaced when `this.isAborted` is set\nthis.debugAbortStack=()=>undefined;this.debugPreviousTransition=previousTransition;}if(error){this.promise=Promise$1.reject(error);this.error=error;return;}// if you're doing multiple redirects, need the new transition to know if it\n// is actually part of the first transition or not. Any further redirects\n// in the initial transition also need to know if they are part of the\n// initial transition\nthis.isCausedByAbortingTransition=!!previousTransition;this.isCausedByInitialTransition=!!previousTransition&&(previousTransition.isCausedByInitialTransition||previousTransition.sequence===0);// Every transition in the chain is a replace\nthis.isCausedByAbortingReplaceTransition=!!previousTransition&&previousTransition.urlMethod==='replace'&&(!previousTransition.isCausedByAbortingTransition||previousTransition.isCausedByAbortingReplaceTransition);if(state){this[PARAMS_SYMBOL]=state.params;this[QUERY_PARAMS_SYMBOL]=state.queryParams;this.routeInfos=state.routeInfos;let len=state.routeInfos.length;if(len){this.targetName=state.routeInfos[len-1].name;}for(let i=0;i<len;++i){let handlerInfo=state.routeInfos[i];// TODO: this all seems hacky\nif(!handlerInfo.isResolved){break;}this.pivotHandler=handlerInfo.route;}this.sequence=router.currentSequence++;this.promise=state.resolve(this).catch(result=>{let error=this.router.transitionDidError(result,this);throw error;},promiseLabel('Handle Abort'));}else{this.promise=Promise$1.resolve(this[STATE_SYMBOL]);this[PARAMS_SYMBOL]={};}}/**\n              The Transition's internal promise. Calling `.then` on this property\n              is that same as calling `.then` on the Transition object itself, but\n              this property is exposed for when you want to pass around a\n              Transition's promise, but not the Transition object itself, since\n              Transition object can be externally `abort`ed, while the promise\n              cannot.\n                 @property promise\n              @type {Object}\n              @public\n             *//**\n              Custom state can be stored on a Transition's `data` object.\n              This can be useful for decorating a Transition within an earlier\n              hook and shared with a later hook. Properties set on `data` will\n              be copied to new transitions generated by calling `retry` on this\n              transition.\n                 @property data\n              @type {Object}\n              @public\n             *//**\n              A standard promise hook that resolves if the transition\n              succeeds and rejects if it fails/redirects/aborts.\n                 Forwards to the internal `promise` property which you can\n              use in situations where you want to pass around a thenable,\n              but not the Transition itself.\n                 @method then\n              @param {Function} onFulfilled\n              @param {Function} onRejected\n              @param {String} label optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n              @public\n             */then(onFulfilled,onRejected,label){return this.promise.then(onFulfilled,onRejected,label);}/**\n                 Forwards to the internal `promise` property which you can\n              use in situations where you want to pass around a thennable,\n              but not the Transition itself.\n                 @method catch\n              @param {Function} onRejection\n              @param {String} label optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n              @public\n             */catch(onRejection,label){return this.promise.catch(onRejection,label);}/**\n                 Forwards to the internal `promise` property which you can\n              use in situations where you want to pass around a thenable,\n              but not the Transition itself.\n                 @method finally\n              @param {Function} callback\n              @param {String} label optional string for labeling the promise.\n              Useful for tooling.\n              @return {Promise}\n              @public\n             */finally(callback,label){return this.promise.finally(callback,label);}/**\n              Aborts the Transition. Note you can also implicitly abort a transition\n              by initiating another transition while a previous one is underway.\n                 @method abort\n              @return {Transition} this transition\n              @public\n             */abort(){this.rollback();let transition=new Transition(this.router,undefined,undefined,undefined);transition.to=this.from;transition.from=this.from;transition.isAborted=true;this.router.routeWillChange(transition);this.router.routeDidChange(transition);return this;}rollback(){if(!this.isAborted){log(this.router,this.sequence,this.targetName+': transition was aborted');{let error=new Error(`Transition aborted stack`);this.debugAbortStack=()=>error.stack;}if(this.intent!==undefined&&this.intent!==null){this.intent.preTransitionState=this.router.state;}this.isAborted=true;this.isActive=false;this.router.activeTransition=undefined;}}redirect(newTransition){this[REDIRECT_DESTINATION_SYMBOL]=newTransition;this.rollback();this.router.routeWillChange(newTransition);}/**\n                 Retries a previously-aborted transition (making sure to abort the\n              transition if it's still active). Returns a new transition that\n              represents the new attempt to transition.\n                 @method retry\n              @return {Transition} new transition\n              @public\n             */retry(){// TODO: add tests for merged state retry()s\nthis.abort();let newTransition=this.router.transitionByIntent(this.intent,false);// inheriting a `null` urlMethod is not valid\n// the urlMethod is only set to `null` when\n// the transition is initiated *after* the url\n// has been updated (i.e. `router.handleURL`)\n//\n// in that scenario, the url method cannot be\n// inherited for a new transition because then\n// the url would not update even though it should\nif(this.urlMethod!==null){newTransition.method(this.urlMethod);}return newTransition;}/**\n                 Sets the URL-changing method to be employed at the end of a\n              successful transition. By default, a new Transition will just\n              use `updateURL`, but passing 'replace' to this method will\n              cause the URL to update using 'replaceWith' instead. Omitting\n              a parameter will disable the URL change, allowing for transitions\n              that don't update the URL at completion (this is also used for\n              handleURL, since the URL has already changed before the\n              transition took place).\n                 @method method\n              @param {String} method the type of URL-changing method to use\n                at the end of a transition. Accepted values are 'replace',\n                falsy values, or any other non-falsy value (which is\n                interpreted as an updateURL transition).\n                 @return {Transition} this transition\n              @public\n             */method(method){this.urlMethod=method;return this;}// Alias 'trigger' as 'send'\nsend(ignoreFailure=false,_name,err,transition,handler){this.trigger(ignoreFailure,_name,err,transition,handler);}/**\n                 Fires an event on the current list of resolved/resolving\n              handlers within this transition. Useful for firing events\n              on route hierarchies that haven't fully been entered yet.\n                 Note: This method is also aliased as `send`\n                 @method trigger\n              @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n              @param {String} name the name of the event to fire\n              @public\n             */trigger(ignoreFailure=false,name,...args){// TODO: Deprecate the current signature\nif(typeof ignoreFailure==='string'){name=ignoreFailure;ignoreFailure=false;}this.router.triggerEvent(this[STATE_SYMBOL].routeInfos.slice(0,this.resolveIndex+1),ignoreFailure,name,args);}/**\n              Transitions are aborted and their promises rejected\n              when redirects occur; this method returns a promise\n              that will follow any redirects that occur and fulfill\n              with the value fulfilled by any redirecting transitions\n              that occur.\n                 @method followRedirects\n              @return {Promise} a promise that fulfills with the same\n                value that the final redirecting transition fulfills with\n              @public\n             */followRedirects(){return this.promise.catch(reason=>{if(this[REDIRECT_DESTINATION_SYMBOL]){return this[REDIRECT_DESTINATION_SYMBOL].followRedirects();}return Promise$1.reject(reason);});}toString(){return'Transition (sequence '+this.sequence+')';}/**\n              @private\n             */log(message){log(this.router,this.sequence,message);}}/**\n            @private\n\n            Logs and returns an instance of TransitionAborted.\n           */function logAbort(transition){log(transition.router,transition.sequence,'detected abort.');return buildTransitionAborted();}function isTransition(obj){return typeof obj==='object'&&obj instanceof Transition&&obj.isTransition;}function prepareResult(obj){if(isTransition(obj)){return null;}return obj;}let ROUTE_INFOS=new WeakMap();function toReadOnlyRouteInfo(routeInfos,queryParams={},options={includeAttributes:false,localizeMapUpdates:false}){const LOCAL_ROUTE_INFOS=new WeakMap();return routeInfos.map((info,i)=>{let{name,params,paramNames,context,route}=info;// SAFETY: This should be safe since it is just for use as a key\nlet key=info;if(ROUTE_INFOS.has(key)&&options.includeAttributes){let routeInfo=ROUTE_INFOS.get(key);routeInfo=attachMetadata(route,routeInfo);let routeInfoWithAttribute=createRouteInfoWithAttributes(routeInfo,context);LOCAL_ROUTE_INFOS.set(key,routeInfo);if(!options.localizeMapUpdates){ROUTE_INFOS.set(key,routeInfoWithAttribute);}return routeInfoWithAttribute;}const routeInfosRef=options.localizeMapUpdates?LOCAL_ROUTE_INFOS:ROUTE_INFOS;let routeInfo={find(predicate,thisArg){let publicInfo;let arr=[];if(predicate.length===3){arr=routeInfos.map(// SAFETY: This should be safe since it is just for use as a key\ninfo=>routeInfosRef.get(info));}for(let i=0;routeInfos.length>i;i++){// SAFETY: This should be safe since it is just for use as a key\npublicInfo=routeInfosRef.get(routeInfos[i]);if(predicate.call(thisArg,publicInfo,i,arr)){return publicInfo;}}return undefined;},get name(){return name;},get paramNames(){return paramNames;},get metadata(){return buildRouteInfoMetadata(info.route);},get parent(){let parent=routeInfos[i-1];if(parent===undefined){return null;}// SAFETY: This should be safe since it is just for use as a key\nreturn routeInfosRef.get(parent);},get child(){let child=routeInfos[i+1];if(child===undefined){return null;}// SAFETY: This should be safe since it is just for use as a key\nreturn routeInfosRef.get(child);},get localName(){let parts=this.name.split('.');return parts[parts.length-1];},get params(){return params;},get queryParams(){return queryParams;}};if(options.includeAttributes){routeInfo=createRouteInfoWithAttributes(routeInfo,context);}// SAFETY: This should be safe since it is just for use as a key\nLOCAL_ROUTE_INFOS.set(info,routeInfo);if(!options.localizeMapUpdates){// SAFETY: This should be safe since it is just for use as a key\nROUTE_INFOS.set(info,routeInfo);}return routeInfo;});}function createRouteInfoWithAttributes(routeInfo,context){let attributes={get attributes(){return context;}};if(!Object.isExtensible(routeInfo)||routeInfo.hasOwnProperty('attributes')){return Object.freeze(Object.assign({},routeInfo,attributes));}return Object.assign(routeInfo,attributes);}function buildRouteInfoMetadata(route){if(route!==undefined&&route!==null&&route.buildRouteInfoMetadata!==undefined){return route.buildRouteInfoMetadata();}return null;}function attachMetadata(route,routeInfo){let metadata={get metadata(){return buildRouteInfoMetadata(route);}};if(!Object.isExtensible(routeInfo)||routeInfo.hasOwnProperty('metadata')){return Object.freeze(Object.assign({},routeInfo,metadata));}return Object.assign(routeInfo,metadata);}class InternalRouteInfo{constructor(router,name,paramNames,route){this._routePromise=undefined;this._route=null;this.params={};this.isResolved=false;this.name=name;this.paramNames=paramNames;this.router=router;if(route){this._processRoute(route);}}getModel(_transition){return Promise$1.resolve(this.context);}serialize(_context){return this.params||{};}resolve(transition){return Promise$1.resolve(this.routePromise).then(route=>{throwIfAborted(transition);return route;}).then(()=>this.runBeforeModelHook(transition)).then(()=>throwIfAborted(transition)).then(()=>this.getModel(transition)).then(resolvedModel=>{throwIfAborted(transition);return resolvedModel;}).then(resolvedModel=>this.runAfterModelHook(transition,resolvedModel)).then(resolvedModel=>this.becomeResolved(transition,resolvedModel));}becomeResolved(transition,resolvedContext){let params=this.serialize(resolvedContext);if(transition){this.stashResolvedModel(transition,resolvedContext);transition[PARAMS_SYMBOL]=transition[PARAMS_SYMBOL]||{};transition[PARAMS_SYMBOL][this.name]=params;}let context;let contextsMatch=resolvedContext===this.context;if('context'in this||!contextsMatch){context=resolvedContext;}// SAFETY: Since this is just for lookup, it should be safe\nlet cached=ROUTE_INFOS.get(this);let resolved=new ResolvedRouteInfo(this.router,this.name,this.paramNames,params,this.route,context);if(cached!==undefined){// SAFETY: This is potentially a bit risker, but for what we're doing, it should be ok.\nROUTE_INFOS.set(resolved,cached);}return resolved;}shouldSupersede(routeInfo){// Prefer this newer routeInfo over `other` if:\n// 1) The other one doesn't exist\n// 2) The names don't match\n// 3) This route has a context that doesn't match\n//    the other one (or the other one doesn't have one).\n// 4) This route has parameters that don't match the other.\nif(!routeInfo){return true;}let contextsMatch=routeInfo.context===this.context;return routeInfo.name!==this.name||'context'in this&&!contextsMatch||this.hasOwnProperty('params')&&!paramsMatch(this.params,routeInfo.params);}get route(){// _route could be set to either a route object or undefined, so we\n// compare against null to know when it's been set\nif(this._route!==null){return this._route;}return this.fetchRoute();}set route(route){this._route=route;}get routePromise(){if(this._routePromise){return this._routePromise;}this.fetchRoute();return this._routePromise;}set routePromise(routePromise){this._routePromise=routePromise;}log(transition,message){if(transition.log){transition.log(this.name+': '+message);}}updateRoute(route){route._internalName=this.name;return this.route=route;}runBeforeModelHook(transition){if(transition.trigger){transition.trigger(true,'willResolveModel',transition,this.route);}let result;if(this.route){if(this.route.beforeModel!==undefined){result=this.route.beforeModel(transition);}}if(isTransition(result)){result=null;}return Promise$1.resolve(result);}runAfterModelHook(transition,resolvedModel){// Stash the resolved model on the payload.\n// This makes it possible for users to swap out\n// the resolved model in afterModel.\nlet name=this.name;this.stashResolvedModel(transition,resolvedModel);let result;if(this.route!==undefined){if(this.route.afterModel!==undefined){result=this.route.afterModel(resolvedModel,transition);}}result=prepareResult(result);return Promise$1.resolve(result).then(()=>{// Ignore the fulfilled value returned from afterModel.\n// Return the value stashed in resolvedModels, which\n// might have been swapped out in afterModel.\n// SAFTEY: We expect this to be of type T, though typing it as such is challenging.\nreturn transition.resolvedModels[name];});}stashResolvedModel(transition,resolvedModel){transition.resolvedModels=transition.resolvedModels||{};// SAFETY: It's unfortunate that we have to do this cast. It should be safe though.\ntransition.resolvedModels[this.name]=resolvedModel;}fetchRoute(){let route=this.router.getRoute(this.name);return this._processRoute(route);}_processRoute(route){// Setup a routePromise so that we can wait for asynchronously loaded routes\nthis.routePromise=Promise$1.resolve(route);// Wait until the 'route' property has been updated when chaining to a route\n// that is a promise\nif(isPromise(route)){this.routePromise=this.routePromise.then(r=>{return this.updateRoute(r);});// set to undefined to avoid recursive loop in the route getter\nreturn this.route=undefined;}else if(route){return this.updateRoute(route);}return undefined;}}class ResolvedRouteInfo extends InternalRouteInfo{constructor(router,name,paramNames,params,route,context){super(router,name,paramNames,route);this.params=params;this.isResolved=true;this.context=context;}resolve(transition){// A ResolvedRouteInfo just resolved with itself.\nif(transition&&transition.resolvedModels){transition.resolvedModels[this.name]=this.context;}return Promise$1.resolve(this);}}class UnresolvedRouteInfoByParam extends InternalRouteInfo{constructor(router,name,paramNames,params,route){super(router,name,paramNames,route);this.params={};if(params){this.params=params;}}getModel(transition){let fullParams=this.params;if(transition&&transition[QUERY_PARAMS_SYMBOL]){fullParams={};merge(fullParams,this.params);fullParams.queryParams=transition[QUERY_PARAMS_SYMBOL];}let route=this.route;let result;// FIXME: Review these casts\nif(route.deserialize){result=route.deserialize(fullParams,transition);}else if(route.model){result=route.model(fullParams,transition);}if(result&&isTransition(result)){result=undefined;}return Promise$1.resolve(result);}}class UnresolvedRouteInfoByObject extends InternalRouteInfo{constructor(router,name,paramNames,context){super(router,name,paramNames);this.context=context;this.serializer=this.router.getSerializer(name);}getModel(transition){if(this.router.log!==undefined){this.router.log(this.name+': resolving provided model');}return super.getModel(transition);}/**\n              @private\n                 Serializes a route using its custom `serialize` method or\n              by a default that looks up the expected property name from\n              the dynamic segment.\n                 @param {Object} model the model to be serialized for this route\n            */serialize(model){let{paramNames,context}=this;if(!model){// SAFETY: By the time we serialize, we expect to be resolved.\n// This may not be an entirely safe assumption though no tests fail.\nmodel=context;}let object={};if(isParam(model)){object[paramNames[0]]=model;return object;}// Use custom serialize if it exists.\nif(this.serializer){// invoke this.serializer unbound (getSerializer returns a stateless function)\nreturn this.serializer.call(null,model,paramNames);}else if(this.route!==undefined){if(this.route.serialize){return this.route.serialize(model,paramNames);}}if(paramNames.length!==1){return;}let name=paramNames[0];if(/_id$/.test(name)){// SAFETY: Model is supposed to extend IModel already\nobject[name]=model.id;}else{object[name]=model;}return object;}}function paramsMatch(a,b){if(a===b){// Both are identical, may both be undefined\nreturn true;}if(!a||!b){// Only one is undefined, already checked they aren't identical\nreturn false;}// Note: this assumes that both params have the same\n// number of keys, but since we're comparing the\n// same routes, they should.\nfor(let k in a){if(a.hasOwnProperty(k)&&a[k]!==b[k]){return false;}}return true;}class TransitionIntent{constructor(router,data={}){this.router=router;this.data=data;}}function handleError(currentState,transition,error){// This is the only possible\n// reject value of TransitionState#resolve\nlet routeInfos=currentState.routeInfos;let errorHandlerIndex=transition.resolveIndex>=routeInfos.length?routeInfos.length-1:transition.resolveIndex;let wasAborted=transition.isAborted;throw new TransitionError(error,currentState.routeInfos[errorHandlerIndex].route,wasAborted,currentState);}function resolveOneRouteInfo(currentState,transition){if(transition.resolveIndex===currentState.routeInfos.length){// This is is the only possible\n// fulfill value of TransitionState#resolve\nreturn;}let routeInfo=currentState.routeInfos[transition.resolveIndex];let callback=proceed.bind(null,currentState,transition);return routeInfo.resolve(transition).then(callback,null,currentState.promiseLabel('Proceed'));}function proceed(currentState,transition,resolvedRouteInfo){let wasAlreadyResolved=currentState.routeInfos[transition.resolveIndex].isResolved;// Swap the previously unresolved routeInfo with\n// the resolved routeInfo\ncurrentState.routeInfos[transition.resolveIndex++]=resolvedRouteInfo;if(!wasAlreadyResolved){// Call the redirect hook. The reason we call it here\n// vs. afterModel is so that redirects into child\n// routes don't re-run the model hooks for this\n// already-resolved route.\nlet{route}=resolvedRouteInfo;if(route!==undefined){if(route.redirect){route.redirect(resolvedRouteInfo.context,transition);}}}// Proceed after ensuring that the redirect hook\n// didn't abort this transition by transitioning elsewhere.\nthrowIfAborted(transition);return resolveOneRouteInfo(currentState,transition);}class TransitionState{constructor(){this.routeInfos=[];this.queryParams={};this.params={};}promiseLabel(label){let targetName='';forEach(this.routeInfos,function(routeInfo){if(targetName!==''){targetName+='.';}targetName+=routeInfo.name;return true;});return promiseLabel(\"'\"+targetName+\"': \"+label);}resolve(transition){// First, calculate params for this state. This is useful\n// information to provide to the various route hooks.\nlet params=this.params;forEach(this.routeInfos,routeInfo=>{params[routeInfo.name]=routeInfo.params||{};return true;});transition.resolveIndex=0;let callback=resolveOneRouteInfo.bind(null,this,transition);let errorHandler=handleError.bind(null,this,transition);// The prelude RSVP.resolve() async moves us into the promise land.\nreturn Promise$1.resolve(null,this.promiseLabel('Start transition')).then(callback,null,this.promiseLabel('Resolve route')).catch(errorHandler,this.promiseLabel('Handle error')).then(()=>this);}}class TransitionError{constructor(error,route,wasAborted,state){this.error=error;this.route=route;this.wasAborted=wasAborted;this.state=state;}}class NamedTransitionIntent extends TransitionIntent{constructor(router,name,pivotHandler,contexts=[],queryParams={},data){super(router,data);this.preTransitionState=undefined;this.name=name;this.pivotHandler=pivotHandler;this.contexts=contexts;this.queryParams=queryParams;}applyToState(oldState,isIntermediate){let handlers=this.router.recognizer.handlersFor(this.name);let targetRouteName=handlers[handlers.length-1].handler;return this.applyToHandlers(oldState,handlers,targetRouteName,isIntermediate,false);}applyToHandlers(oldState,parsedHandlers,targetRouteName,isIntermediate,checkingIfActive){let i,len;let newState=new TransitionState();let objects=this.contexts.slice(0);let invalidateIndex=parsedHandlers.length;// Pivot handlers are provided for refresh transitions\nif(this.pivotHandler){for(i=0,len=parsedHandlers.length;i<len;++i){if(parsedHandlers[i].handler===this.pivotHandler._internalName){invalidateIndex=i;break;}}}for(i=parsedHandlers.length-1;i>=0;--i){let result=parsedHandlers[i];let name=result.handler;let oldHandlerInfo=oldState.routeInfos[i];let newHandlerInfo=null;if(result.names.length>0){if(i>=invalidateIndex){newHandlerInfo=this.createParamHandlerInfo(name,result.names,objects,oldHandlerInfo);}else{newHandlerInfo=this.getHandlerInfoForDynamicSegment(name,result.names,objects,oldHandlerInfo,targetRouteName,i);}}else{// This route has no dynamic segment.\n// Therefore treat as a param-based handlerInfo\n// with empty params. This will cause the `model`\n// hook to be called with empty params, which is desirable.\nnewHandlerInfo=this.createParamHandlerInfo(name,result.names,objects,oldHandlerInfo);}if(checkingIfActive){// If we're performing an isActive check, we want to\n// serialize URL params with the provided context, but\n// ignore mismatches between old and new context.\nnewHandlerInfo=newHandlerInfo.becomeResolved(null,// SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\nnewHandlerInfo.context);let oldContext=oldHandlerInfo&&oldHandlerInfo.context;if(result.names.length>0&&oldHandlerInfo.context!==undefined&&newHandlerInfo.context===oldContext){// If contexts match in isActive test, assume params also match.\n// This allows for flexibility in not requiring that every last\n// handler provide a `serialize` method\nnewHandlerInfo.params=oldHandlerInfo&&oldHandlerInfo.params;}newHandlerInfo.context=oldContext;}let handlerToUse=oldHandlerInfo;if(i>=invalidateIndex||newHandlerInfo.shouldSupersede(oldHandlerInfo)){invalidateIndex=Math.min(i,invalidateIndex);handlerToUse=newHandlerInfo;}if(isIntermediate&&!checkingIfActive){handlerToUse=handlerToUse.becomeResolved(null,// SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\nhandlerToUse.context);}newState.routeInfos.unshift(handlerToUse);}if(objects.length>0){throw new Error('More context objects were passed than there are dynamic segments for the route: '+targetRouteName);}if(!isIntermediate){this.invalidateChildren(newState.routeInfos,invalidateIndex);}merge(newState.queryParams,this.queryParams||{});if(isIntermediate&&oldState.queryParams){merge(newState.queryParams,oldState.queryParams);}return newState;}invalidateChildren(handlerInfos,invalidateIndex){for(let i=invalidateIndex,l=handlerInfos.length;i<l;++i){let handlerInfo=handlerInfos[i];if(handlerInfo.isResolved){let{name,params,route,paramNames}=handlerInfos[i];handlerInfos[i]=new UnresolvedRouteInfoByParam(this.router,name,paramNames,params,route);}}}getHandlerInfoForDynamicSegment(name,names,objects,oldHandlerInfo,_targetRouteName,i){let objectToUse;if(objects.length>0){// Use the objects provided for this transition.\nobjectToUse=objects[objects.length-1];if(isParam(objectToUse)){return this.createParamHandlerInfo(name,names,objects,oldHandlerInfo);}else{objects.pop();}}else if(oldHandlerInfo&&oldHandlerInfo.name===name){// Reuse the matching oldHandlerInfo\nreturn oldHandlerInfo;}else{if(this.preTransitionState){let preTransitionHandlerInfo=this.preTransitionState.routeInfos[i];objectToUse=preTransitionHandlerInfo===null||preTransitionHandlerInfo===void 0?void 0:preTransitionHandlerInfo.context;}else{// Ideally we should throw this error to provide maximal\n// information to the user that not enough context objects\n// were provided, but this proves too cumbersome in Ember\n// in cases where inner template helpers are evaluated\n// before parent helpers un-render, in which cases this\n// error somewhat prematurely fires.\n//throw new Error(\"Not enough context objects were provided to complete a transition to \" + targetRouteName + \". Specifically, the \" + name + \" route needs an object that can be serialized into its dynamic URL segments [\" + names.join(', ') + \"]\");\nreturn oldHandlerInfo;}}return new UnresolvedRouteInfoByObject(this.router,name,names,objectToUse);}createParamHandlerInfo(name,names,objects,oldHandlerInfo){let params={};// Soak up all the provided string/numbers\nlet numNames=names.length;let missingParams=[];while(numNames--){// Only use old params if the names match with the new handler\nlet oldParams=oldHandlerInfo&&name===oldHandlerInfo.name&&oldHandlerInfo.params||{};let peek=objects[objects.length-1];let paramName=names[numNames];if(isParam(peek)){params[paramName]=''+objects.pop();}else{// If we're here, this means only some of the params\n// were string/number params, so try and use a param\n// value from a previous handler.\nif(oldParams.hasOwnProperty(paramName)){params[paramName]=oldParams[paramName];}else{missingParams.push(paramName);}}}if(missingParams.length>0){throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${name}.`+` Missing params: ${missingParams}`);}return new UnresolvedRouteInfoByParam(this.router,name,names,params);}}const UnrecognizedURLError=function(){UnrecognizedURLError.prototype=Object.create(Error.prototype);UnrecognizedURLError.prototype.constructor=UnrecognizedURLError;function UnrecognizedURLError(message){let error=Error.call(this,message);this.name='UnrecognizedURLError';this.message=message||'UnrecognizedURL';if(Error.captureStackTrace){Error.captureStackTrace(this,UnrecognizedURLError);}else{this.stack=error.stack;}}return UnrecognizedURLError;}();class URLTransitionIntent extends TransitionIntent{constructor(router,url,data){super(router,data);this.url=url;this.preTransitionState=undefined;}applyToState(oldState){let newState=new TransitionState();let results=this.router.recognizer.recognize(this.url),i,len;if(!results){throw new UnrecognizedURLError(this.url);}let statesDiffer=false;let _url=this.url;// Checks if a handler is accessible by URL. If it is not, an error is thrown.\n// For the case where the handler is loaded asynchronously, the error will be\n// thrown once it is loaded.\nfunction checkHandlerAccessibility(handler){if(handler&&handler.inaccessibleByURL){throw new UnrecognizedURLError(_url);}return handler;}for(i=0,len=results.length;i<len;++i){let result=results[i];let name=result.handler;let paramNames=[];if(this.router.recognizer.hasRoute(name)){paramNames=this.router.recognizer.handlersFor(name)[i].names;}let newRouteInfo=new UnresolvedRouteInfoByParam(this.router,name,paramNames,result.params);let route=newRouteInfo.route;if(route){checkHandlerAccessibility(route);}else{// If the handler is being loaded asynchronously, check if we can\n// access it after it has resolved\nnewRouteInfo.routePromise=newRouteInfo.routePromise.then(checkHandlerAccessibility);}let oldRouteInfo=oldState.routeInfos[i];if(statesDiffer||newRouteInfo.shouldSupersede(oldRouteInfo)){statesDiffer=true;newState.routeInfos[i]=newRouteInfo;}else{newState.routeInfos[i]=oldRouteInfo;}}merge(newState.queryParams,results.queryParams);return newState;}}class Router{constructor(logger){this._lastQueryParams={};this.state=undefined;this.oldState=undefined;this.activeTransition=undefined;this.currentRouteInfos=undefined;this._changedQueryParams=undefined;this.currentSequence=0;this.log=logger;this.recognizer=new RouteRecognizer();this.reset();}/**\n              The main entry point into the router. The API is essentially\n              the same as the `map` method in `route-recognizer`.\n                 This method extracts the String handler at the last `.to()`\n              call and uses it as the name of the whole route.\n                 @param {Function} callback\n            */map(callback){this.recognizer.map(callback,function(recognizer,routes){for(let i=routes.length-1,proceed=true;i>=0&&proceed;--i){let route=routes[i];let handler=route.handler;recognizer.add(routes,{as:handler});proceed=route.path==='/'||route.path===''||handler.slice(-6)==='.index';}});}hasRoute(route){return this.recognizer.hasRoute(route);}queryParamsTransition(changelist,wasTransitioning,oldState,newState){this.fireQueryParamDidChange(newState,changelist);if(!wasTransitioning&&this.activeTransition){// One of the routes in queryParamsDidChange\n// caused a transition. Just return that transition.\nreturn this.activeTransition;}else{// Running queryParamsDidChange didn't change anything.\n// Just update query params and be on our way.\n// We have to return a noop transition that will\n// perform a URL update at the end. This gives\n// the user the ability to set the url update\n// method (default is replaceState).\nlet newTransition=new Transition(this,undefined,undefined);newTransition.queryParamsOnly=true;oldState.queryParams=this.finalizeQueryParamChange(newState.routeInfos,newState.queryParams,newTransition);newTransition[QUERY_PARAMS_SYMBOL]=newState.queryParams;this.toReadOnlyInfos(newTransition,newState);this.routeWillChange(newTransition);newTransition.promise=newTransition.promise.then(result=>{if(!newTransition.isAborted){this._updateURL(newTransition,oldState);this.didTransition(this.currentRouteInfos);this.toInfos(newTransition,newState.routeInfos,true);this.routeDidChange(newTransition);}return result;},null,promiseLabel('Transition complete'));return newTransition;}}transitionByIntent(intent,isIntermediate){try{return this.getTransitionByIntent(intent,isIntermediate);}catch(e){return new Transition(this,intent,undefined,e,undefined);}}recognize(url){let intent=new URLTransitionIntent(this,url);let newState=this.generateNewState(intent);if(newState===null){return newState;}let readonlyInfos=toReadOnlyRouteInfo(newState.routeInfos,newState.queryParams,{includeAttributes:false,localizeMapUpdates:true});return readonlyInfos[readonlyInfos.length-1];}recognizeAndLoad(url){let intent=new URLTransitionIntent(this,url);let newState=this.generateNewState(intent);if(newState===null){return Promise$1.reject(`URL ${url} was not recognized`);}let newTransition=new Transition(this,intent,newState,undefined);return newTransition.then(()=>{let routeInfosWithAttributes=toReadOnlyRouteInfo(newState.routeInfos,newTransition[QUERY_PARAMS_SYMBOL],{includeAttributes:true,localizeMapUpdates:false});return routeInfosWithAttributes[routeInfosWithAttributes.length-1];});}generateNewState(intent){try{return intent.applyToState(this.state,false);}catch(e){return null;}}getTransitionByIntent(intent,isIntermediate){let wasTransitioning=!!this.activeTransition;let oldState=wasTransitioning?this.activeTransition[STATE_SYMBOL]:this.state;let newTransition;let newState=intent.applyToState(oldState,isIntermediate);let queryParamChangelist=getChangelist(oldState.queryParams,newState.queryParams);if(routeInfosEqual(newState.routeInfos,oldState.routeInfos)){// This is a no-op transition. See if query params changed.\nif(queryParamChangelist){let newTransition=this.queryParamsTransition(queryParamChangelist,wasTransitioning,oldState,newState);newTransition.queryParamsOnly=true;// SAFETY: The returned OpaqueTransition should actually be this.\nreturn newTransition;}// No-op. No need to create a new transition.\nreturn this.activeTransition||new Transition(this,undefined,undefined);}if(isIntermediate){let transition=new Transition(this,undefined,newState);transition.isIntermediate=true;this.toReadOnlyInfos(transition,newState);this.setupContexts(newState,transition);this.routeWillChange(transition);return this.activeTransition;}// Create a new transition to the destination route.\nnewTransition=new Transition(this,intent,newState,undefined,this.activeTransition);// transition is to same route with same params, only query params differ.\n// not caught above probably because refresh() has been used\nif(routeInfosSameExceptQueryParams(newState.routeInfos,oldState.routeInfos)){newTransition.queryParamsOnly=true;}this.toReadOnlyInfos(newTransition,newState);// Abort and usurp any previously active transition.\nif(this.activeTransition){this.activeTransition.redirect(newTransition);}this.activeTransition=newTransition;// Transition promises by default resolve with resolved state.\n// For our purposes, swap out the promise to resolve\n// after the transition has been finalized.\nnewTransition.promise=newTransition.promise.then(result=>{return this.finalizeTransition(newTransition,result);},null,promiseLabel('Settle transition promise when transition is finalized'));if(!wasTransitioning){this.notifyExistingHandlers(newState,newTransition);}this.fireQueryParamDidChange(newState,queryParamChangelist);return newTransition;}/**\n            @private\n               Begins and returns a Transition based on the provided\n            arguments. Accepts arguments in the form of both URL\n            transitions and named transitions.\n               @param {Router} router\n            @param {Array[Object]} args arguments passed to transitionTo,\n              replaceWith, or handleURL\n            */doTransition(name,modelsArray=[],isIntermediate=false){let lastArg=modelsArray[modelsArray.length-1];let queryParams={};if(lastArg&&Object.prototype.hasOwnProperty.call(lastArg,'queryParams')){// We just checked this.\n// TODO: Use an assertion?\nqueryParams=modelsArray.pop().queryParams;}let intent;if(name===undefined){log(this,'Updating query params');// A query param update is really just a transition\n// into the route you're already on.\nlet{routeInfos}=this.state;intent=new NamedTransitionIntent(this,routeInfos[routeInfos.length-1].name,undefined,[],queryParams);}else if(name.charAt(0)==='/'){log(this,'Attempting URL transition to '+name);intent=new URLTransitionIntent(this,name);}else{log(this,'Attempting transition to '+name);intent=new NamedTransitionIntent(this,name,undefined,// SAFETY: We know this to be the case since we removed the last item if it was QPs\nmodelsArray,queryParams);}return this.transitionByIntent(intent,isIntermediate);}/**\n            @private\n               Updates the URL (if necessary) and calls `setupContexts`\n            to update the router's array of `currentRouteInfos`.\n            */finalizeTransition(transition,newState){try{log(transition.router,transition.sequence,'Resolved all models on destination route; finalizing transition.');let routeInfos=newState.routeInfos;// Run all the necessary enter/setup/exit hooks\nthis.setupContexts(newState,transition);// Check if a redirect occurred in enter/setup\nif(transition.isAborted){// TODO: cleaner way? distinguish b/w targetRouteInfos?\nthis.state.routeInfos=this.currentRouteInfos;return Promise$1.reject(logAbort(transition));}this._updateURL(transition,newState);transition.isActive=false;this.activeTransition=undefined;this.triggerEvent(this.currentRouteInfos,true,'didTransition',[]);this.didTransition(this.currentRouteInfos);this.toInfos(transition,newState.routeInfos,true);this.routeDidChange(transition);log(this,transition.sequence,'TRANSITION COMPLETE.');// Resolve with the final route.\nreturn routeInfos[routeInfos.length-1].route;}catch(e){if(!isTransitionAborted(e)){let infos=transition[STATE_SYMBOL].routeInfos;transition.trigger(true,'error',e,transition,infos[infos.length-1].route);transition.abort();}throw e;}}/**\n            @private\n               Takes an Array of `RouteInfo`s, figures out which ones are\n            exiting, entering, or changing contexts, and calls the\n            proper route hooks.\n               For example, consider the following tree of routes. Each route is\n            followed by the URL segment it handles.\n               ```\n            |~index (\"/\")\n            | |~posts (\"/posts\")\n            | | |-showPost (\"/:id\")\n            | | |-newPost (\"/new\")\n            | | |-editPost (\"/edit\")\n            | |~about (\"/about/:id\")\n            ```\n               Consider the following transitions:\n               1. A URL transition to `/posts/1`.\n               1. Triggers the `*model` callbacks on the\n                  `index`, `posts`, and `showPost` routes\n               2. Triggers the `enter` callback on the same\n               3. Triggers the `setup` callback on the same\n            2. A direct transition to `newPost`\n               1. Triggers the `exit` callback on `showPost`\n               2. Triggers the `enter` callback on `newPost`\n               3. Triggers the `setup` callback on `newPost`\n            3. A direct transition to `about` with a specified\n               context object\n               1. Triggers the `exit` callback on `newPost`\n                  and `posts`\n               2. Triggers the `serialize` callback on `about`\n               3. Triggers the `enter` callback on `about`\n               4. Triggers the `setup` callback on `about`\n               @param {Router} transition\n            @param {TransitionState} newState\n            */setupContexts(newState,transition){let partition=this.partitionRoutes(this.state,newState);let i,l,route;for(i=0,l=partition.exited.length;i<l;i++){route=partition.exited[i].route;delete route.context;if(route!==undefined){if(route._internalReset!==undefined){route._internalReset(true,transition);}if(route.exit!==undefined){route.exit(transition);}}}let oldState=this.oldState=this.state;this.state=newState;let currentRouteInfos=this.currentRouteInfos=partition.unchanged.slice();try{for(i=0,l=partition.reset.length;i<l;i++){route=partition.reset[i].route;if(route!==undefined){if(route._internalReset!==undefined){route._internalReset(false,transition);}}}for(i=0,l=partition.updatedContext.length;i<l;i++){this.routeEnteredOrUpdated(currentRouteInfos,partition.updatedContext[i],false,transition);}for(i=0,l=partition.entered.length;i<l;i++){this.routeEnteredOrUpdated(currentRouteInfos,partition.entered[i],true,transition);}}catch(e){this.state=oldState;this.currentRouteInfos=oldState.routeInfos;throw e;}this.state.queryParams=this.finalizeQueryParamChange(currentRouteInfos,newState.queryParams,transition);}/**\n            @private\n               Fires queryParamsDidChange event\n            */fireQueryParamDidChange(newState,queryParamChangelist){// If queryParams changed trigger event\nif(queryParamChangelist){// This is a little hacky but we need some way of storing\n// changed query params given that no activeTransition\n// is guaranteed to have occurred.\nthis._changedQueryParams=queryParamChangelist.all;this.triggerEvent(newState.routeInfos,true,'queryParamsDidChange',[queryParamChangelist.changed,queryParamChangelist.all,queryParamChangelist.removed]);this._changedQueryParams=undefined;}}/**\n            @private\n               Helper method used by setupContexts. Handles errors or redirects\n            that may happen in enter/setup.\n            */routeEnteredOrUpdated(currentRouteInfos,routeInfo,enter,transition){let route=routeInfo.route,context=routeInfo.context;function _routeEnteredOrUpdated(route){if(enter){if(route.enter!==undefined){route.enter(transition);}}throwIfAborted(transition);route.context=context;if(route.contextDidChange!==undefined){route.contextDidChange();}if(route.setup!==undefined){route.setup(context,transition);}throwIfAborted(transition);currentRouteInfos.push(routeInfo);return route;}// If the route doesn't exist, it means we haven't resolved the route promise yet\nif(route===undefined){routeInfo.routePromise=routeInfo.routePromise.then(_routeEnteredOrUpdated);}else{_routeEnteredOrUpdated(route);}return true;}/**\n            @private\n               This function is called when transitioning from one URL to\n            another to determine which routes are no longer active,\n            which routes are newly active, and which routes remain\n            active but have their context changed.\n               Take a list of old routes and new routes and partition\n            them into four buckets:\n               * unchanged: the route was active in both the old and\n              new URL, and its context remains the same\n            * updated context: the route was active in both the\n              old and new URL, but its context changed. The route's\n              `setup` method, if any, will be called with the new\n              context.\n            * exited: the route was active in the old URL, but is\n              no longer active.\n            * entered: the route was not active in the old URL, but\n              is now active.\n               The PartitionedRoutes structure has four fields:\n               * `updatedContext`: a list of `RouteInfo` objects that\n              represent routes that remain active but have a changed\n              context\n            * `entered`: a list of `RouteInfo` objects that represent\n              routes that are newly active\n            * `exited`: a list of `RouteInfo` objects that are no\n              longer active.\n            * `unchanged`: a list of `RouteInfo` objects that remain active.\n               @param {Array[InternalRouteInfo]} oldRoutes a list of the route\n              information for the previous URL (or `[]` if this is the\n              first handled transition)\n            @param {Array[InternalRouteInfo]} newRoutes a list of the route\n              information for the new URL\n               @return {Partition}\n            */partitionRoutes(oldState,newState){let oldRouteInfos=oldState.routeInfos;let newRouteInfos=newState.routeInfos;let routes={updatedContext:[],exited:[],entered:[],unchanged:[],reset:[]};let routeChanged,contextChanged=false,i,l;for(i=0,l=newRouteInfos.length;i<l;i++){let oldRouteInfo=oldRouteInfos[i],newRouteInfo=newRouteInfos[i];if(!oldRouteInfo||oldRouteInfo.route!==newRouteInfo.route){routeChanged=true;}if(routeChanged){routes.entered.push(newRouteInfo);if(oldRouteInfo){routes.exited.unshift(oldRouteInfo);}}else if(contextChanged||oldRouteInfo.context!==newRouteInfo.context){contextChanged=true;routes.updatedContext.push(newRouteInfo);}else{routes.unchanged.push(oldRouteInfo);}}for(i=newRouteInfos.length,l=oldRouteInfos.length;i<l;i++){routes.exited.unshift(oldRouteInfos[i]);}routes.reset=routes.updatedContext.slice();routes.reset.reverse();return routes;}_updateURL(transition,state){let urlMethod=transition.urlMethod;if(!urlMethod){return;}let{routeInfos}=state;let{name:routeName}=routeInfos[routeInfos.length-1];let params={};for(let i=routeInfos.length-1;i>=0;--i){let routeInfo=routeInfos[i];merge(params,routeInfo.params);if(routeInfo.route.inaccessibleByURL){urlMethod=null;}}if(urlMethod){params.queryParams=transition._visibleQueryParams||state.queryParams;let url=this.recognizer.generate(routeName,params);// transitions during the initial transition must always use replaceURL.\n// When the app boots, you are at a url, e.g. /foo. If some route\n// redirects to bar as part of the initial transition, you don't want to\n// add a history entry for /foo. If you do, pressing back will immediately\n// hit the redirect again and take you back to /bar, thus killing the back\n// button\nlet initial=transition.isCausedByInitialTransition;// say you are at / and you click a link to route /foo. In /foo's\n// route, the transition is aborted using replaceWith('/bar').\n// Because the current url is still /, the history entry for / is\n// removed from the history. Clicking back will take you to the page\n// you were on before /, which is often not even the app, thus killing\n// the back button. That's why updateURL is always correct for an\n// aborting transition that's not the initial transition\nlet replaceAndNotAborting=urlMethod==='replace'&&!transition.isCausedByAbortingTransition;// because calling refresh causes an aborted transition, this needs to be\n// special cased - if the initial transition is a replace transition, the\n// urlMethod should be honored here.\nlet isQueryParamsRefreshTransition=transition.queryParamsOnly&&urlMethod==='replace';// say you are at / and you a `replaceWith(/foo)` is called. Then, that\n// transition is aborted with `replaceWith(/bar)`. At the end, we should\n// end up with /bar replacing /. We are replacing the replace. We only\n// will replace the initial route if all subsequent aborts are also\n// replaces. However, there is some ambiguity around the correct behavior\n// here.\nlet replacingReplace=urlMethod==='replace'&&transition.isCausedByAbortingReplaceTransition;if(initial||replaceAndNotAborting||isQueryParamsRefreshTransition||replacingReplace){this.replaceURL(url);}else{this.updateURL(url);}}}finalizeQueryParamChange(resolvedHandlers,newQueryParams,transition){// We fire a finalizeQueryParamChange event which\n// gives the new route hierarchy a chance to tell\n// us which query params it's consuming and what\n// their final values are. If a query param is\n// no longer consumed in the final route hierarchy,\n// its serialized segment will be removed\n// from the URL.\nfor(let k in newQueryParams){if(newQueryParams.hasOwnProperty(k)&&newQueryParams[k]===null){delete newQueryParams[k];}}let finalQueryParamsArray=[];this.triggerEvent(resolvedHandlers,true,'finalizeQueryParamChange',[newQueryParams,finalQueryParamsArray,transition]);if(transition){transition._visibleQueryParams={};}let finalQueryParams={};for(let i=0,len=finalQueryParamsArray.length;i<len;++i){let qp=finalQueryParamsArray[i];finalQueryParams[qp.key]=qp.value;if(transition&&qp.visible!==false){transition._visibleQueryParams[qp.key]=qp.value;}}return finalQueryParams;}toReadOnlyInfos(newTransition,newState){let oldRouteInfos=this.state.routeInfos;this.fromInfos(newTransition,oldRouteInfos);this.toInfos(newTransition,newState.routeInfos);this._lastQueryParams=newState.queryParams;}fromInfos(newTransition,oldRouteInfos){if(newTransition!==undefined&&oldRouteInfos.length>0){let fromInfos=toReadOnlyRouteInfo(oldRouteInfos,Object.assign({},this._lastQueryParams),{includeAttributes:true,localizeMapUpdates:false});newTransition.from=fromInfos[fromInfos.length-1]||null;}}toInfos(newTransition,newRouteInfos,includeAttributes=false){if(newTransition!==undefined&&newRouteInfos.length>0){let toInfos=toReadOnlyRouteInfo(newRouteInfos,Object.assign({},newTransition[QUERY_PARAMS_SYMBOL]),{includeAttributes,localizeMapUpdates:false});newTransition.to=toInfos[toInfos.length-1]||null;}}notifyExistingHandlers(newState,newTransition){let oldRouteInfos=this.state.routeInfos,i,oldRouteInfoLen,oldHandler,newRouteInfo;oldRouteInfoLen=oldRouteInfos.length;for(i=0;i<oldRouteInfoLen;i++){oldHandler=oldRouteInfos[i];newRouteInfo=newState.routeInfos[i];if(!newRouteInfo||oldHandler.name!==newRouteInfo.name){break;}if(!newRouteInfo.isResolved);}this.triggerEvent(oldRouteInfos,true,'willTransition',[newTransition]);this.routeWillChange(newTransition);this.willTransition(oldRouteInfos,newState.routeInfos,newTransition);}/**\n              Clears the current and target route routes and triggers exit\n              on each of them starting at the leaf and traversing up through\n              its ancestors.\n            */reset(){if(this.state){forEach(this.state.routeInfos.slice().reverse(),function(routeInfo){let route=routeInfo.route;if(route!==undefined){if(route.exit!==undefined){route.exit();}}return true;});}this.oldState=undefined;this.state=new TransitionState();this.currentRouteInfos=undefined;}/**\n              let handler = routeInfo.handler;\n              The entry point for handling a change to the URL (usually\n              via the back and forward button).\n                 Returns an Array of handlers and the parameters associated\n              with those parameters.\n                 @param {String} url a URL to process\n                 @return {Array} an Array of `[handler, parameter]` tuples\n            */handleURL(url){// Perform a URL-based transition, but don't change\n// the URL afterward, since it already happened.\nif(url.charAt(0)!=='/'){url='/'+url;}return this.doTransition(url).method(null);}/**\n              Transition into the specified named route.\n                 If necessary, trigger the exit callback on any routes\n              that are no longer represented by the target route.\n                 @param {String} name the name of the route\n            */transitionTo(name,...contexts){if(typeof name==='object'){contexts.push(name);return this.doTransition(undefined,contexts,false);}return this.doTransition(name,contexts);}intermediateTransitionTo(name,...args){return this.doTransition(name,args,true);}refresh(pivotRoute){let previousTransition=this.activeTransition;let state=previousTransition?previousTransition[STATE_SYMBOL]:this.state;let routeInfos=state.routeInfos;if(pivotRoute===undefined){pivotRoute=routeInfos[0].route;}log(this,'Starting a refresh transition');let name=routeInfos[routeInfos.length-1].name;let intent=new NamedTransitionIntent(this,name,pivotRoute,[],this._changedQueryParams||state.queryParams);let newTransition=this.transitionByIntent(intent,false);// if the previous transition is a replace transition, that needs to be preserved\nif(previousTransition&&previousTransition.urlMethod==='replace'){newTransition.method(previousTransition.urlMethod);}return newTransition;}/**\n              Identical to `transitionTo` except that the current URL will be replaced\n              if possible.\n                 This method is intended primarily for use with `replaceState`.\n                 @param {String} name the name of the route\n            */replaceWith(name){return this.doTransition(name).method('replace');}/**\n              Take a named route and context objects and generate a\n              URL.\n                 @param {String} name the name of the route to generate\n                a URL for\n              @param {...Object} objects a list of objects to serialize\n                 @return {String} a URL\n            */generate(routeName,...args){let partitionedArgs=extractQueryParams(args),suppliedParams=partitionedArgs[0],queryParams=partitionedArgs[1];// Construct a TransitionIntent with the provided params\n// and apply it to the present state of the router.\nlet intent=new NamedTransitionIntent(this,routeName,undefined,suppliedParams);let state=intent.applyToState(this.state,false);let params={};for(let i=0,len=state.routeInfos.length;i<len;++i){let routeInfo=state.routeInfos[i];let routeParams=routeInfo.serialize();merge(params,routeParams);}params.queryParams=queryParams;return this.recognizer.generate(routeName,params);}applyIntent(routeName,contexts){let intent=new NamedTransitionIntent(this,routeName,undefined,contexts);let state=this.activeTransition&&this.activeTransition[STATE_SYMBOL]||this.state;return intent.applyToState(state,false);}isActiveIntent(routeName,contexts,queryParams,_state){let state=_state||this.state,targetRouteInfos=state.routeInfos,routeInfo,len;if(!targetRouteInfos.length){return false;}let targetHandler=targetRouteInfos[targetRouteInfos.length-1].name;let recognizerHandlers=this.recognizer.handlersFor(targetHandler);let index=0;for(len=recognizerHandlers.length;index<len;++index){routeInfo=targetRouteInfos[index];if(routeInfo.name===routeName){break;}}if(index===recognizerHandlers.length){// The provided route name isn't even in the route hierarchy.\nreturn false;}let testState=new TransitionState();testState.routeInfos=targetRouteInfos.slice(0,index+1);recognizerHandlers=recognizerHandlers.slice(0,index+1);let intent=new NamedTransitionIntent(this,targetHandler,undefined,contexts);let newState=intent.applyToHandlers(testState,recognizerHandlers,targetHandler,true,true);let routesEqual=routeInfosEqual(newState.routeInfos,testState.routeInfos);if(!queryParams||!routesEqual){return routesEqual;}// Get a hash of QPs that will still be active on new route\nlet activeQPsOnNewHandler={};merge(activeQPsOnNewHandler,queryParams);let activeQueryParams=state.queryParams;for(let key in activeQueryParams){if(activeQueryParams.hasOwnProperty(key)&&activeQPsOnNewHandler.hasOwnProperty(key)){activeQPsOnNewHandler[key]=activeQueryParams[key];}}return routesEqual&&!getChangelist(activeQPsOnNewHandler,queryParams);}isActive(routeName,...args){let[contexts,queryParams]=extractQueryParams(args);return this.isActiveIntent(routeName,contexts,queryParams);}trigger(name,...args){this.triggerEvent(this.currentRouteInfos,false,name,args);}}function routeInfosEqual(routeInfos,otherRouteInfos){if(routeInfos.length!==otherRouteInfos.length){return false;}for(let i=0,len=routeInfos.length;i<len;++i){// SAFETY: Just casting for comparison\nif(routeInfos[i]!==otherRouteInfos[i]){return false;}}return true;}function routeInfosSameExceptQueryParams(routeInfos,otherRouteInfos){if(routeInfos.length!==otherRouteInfos.length){return false;}for(let i=0,len=routeInfos.length;i<len;++i){if(routeInfos[i].name!==otherRouteInfos[i].name){return false;}if(!paramsEqual(routeInfos[i].params,otherRouteInfos[i].params)){return false;}}return true;}function paramsEqual(params,otherParams){if(params===otherParams){// Both identical or both undefined\nreturn true;}if(!params||!otherParams){// One is falsy but other is not\nreturn false;}let keys=Object.keys(params);let otherKeys=Object.keys(otherParams);if(keys.length!==otherKeys.length){return false;}for(let i=0,len=keys.length;i<len;++i){let key=keys[i];if(params[key]!==otherParams[key]){return false;}}return true;}const routerJs=/*#__PURE__*/Object.defineProperty({__proto__:null,InternalRouteInfo,InternalTransition:Transition,PARAMS_SYMBOL,QUERY_PARAMS_SYMBOL,STATE_SYMBOL,TransitionError,TransitionState,default:Router,logAbort},Symbol.toStringTag,{value:'Module'});const ALL_PERIODS_REGEX=/\\./g;function extractRouteArgs(args){// SAFETY: This should just be the same thing\nargs=args.slice();let possibleOptions=args[args.length-1];let queryParams;if(isRouteOptions(possibleOptions)){args.pop();// Remove options\nqueryParams=possibleOptions.queryParams;}else{queryParams={};}let routeName;if(typeof args[0]==='string'){routeName=args.shift();// We just checked this!\n!(typeof routeName==='string')&&assert$1('routeName is a string',typeof routeName==='string');}// SAFTEY: We removed the name and options if they existed, only models left.\nlet models=args;return{routeName,models,queryParams};}function getActiveTargetName(router){let routeInfos=router.activeTransition?router.activeTransition[STATE_SYMBOL].routeInfos:router.state.routeInfos;let lastRouteInfo=routeInfos[routeInfos.length-1];!lastRouteInfo&&assert$1('has last route info',lastRouteInfo);return lastRouteInfo.name;}function stashParamNames(router,routeInfos){if(routeInfos['_namesStashed']){return;}// This helper exists because router.js/route-recognizer.js awkwardly\n// keeps separate a routeInfo's list of parameter names depending\n// on whether a URL transition or named transition is happening.\n// Hopefully we can remove this in the future.\nlet routeInfo=routeInfos[routeInfos.length-1];!routeInfo&&assert$1('has route info',routeInfo);let targetRouteName=routeInfo.name;let recogHandlers=router._routerMicrolib.recognizer.handlersFor(targetRouteName);let dynamicParent;for(let i=0;i<routeInfos.length;++i){let routeInfo=routeInfos[i];!routeInfo&&assert$1('has route info',routeInfo);let names=recogHandlers[i].names;if(names.length){dynamicParent=routeInfo;}routeInfo['_names']=names;let route=routeInfo.route;route._stashNames(routeInfo,dynamicParent);}routeInfos['_namesStashed']=true;}function _calculateCacheValuePrefix(prefix,part){// calculates the dot separated sections from prefix that are also\n// at the start of part - which gives us the route name\n// given : prefix = site.article.comments, part = site.article.id\n//      - returns: site.article (use get(values[site.article], 'id') to get the dynamic part - used below)\n// given : prefix = site.article, part = site.article.id\n//      - returns: site.article. (use get(values[site.article], 'id') to get the dynamic part - used below)\nlet prefixParts=prefix.split('.');let currPrefix='';for(let i=0;i<prefixParts.length;i++){let currPart=prefixParts.slice(0,i+1).join('.');if(part.indexOf(currPart)!==0){break;}currPrefix=currPart;}return currPrefix;}/*\n            Stolen from Controller\n          */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nfunction calculateCacheKey(prefix,parts=[],values){let suffixes='';for(let part of parts){let cacheValuePrefix=_calculateCacheValuePrefix(prefix,part);let value;if(values){if(cacheValuePrefix&&cacheValuePrefix in values){let partRemovedPrefix=part.indexOf(cacheValuePrefix)===0?part.substring(cacheValuePrefix.length+1):part;value=get$2(values[cacheValuePrefix],partRemovedPrefix);}else{value=get$2(values,part);}}suffixes+=`::${part}:${value}`;}return prefix+suffixes.replace(ALL_PERIODS_REGEX,'-');}/*\n            Controller-defined query parameters can come in three shapes:\n\n            Array\n              queryParams: ['foo', 'bar']\n            Array of simple objects where value is an alias\n              queryParams: [\n                {\n                  'foo': 'rename_foo_to_this'\n                },\n                {\n                  'bar': 'call_bar_this_instead'\n                }\n              ]\n            Array of fully defined objects\n              queryParams: [\n                {\n                  'foo': {\n                    as: 'rename_foo_to_this'\n                  },\n                }\n                {\n                  'bar': {\n                    as: 'call_bar_this_instead',\n                    scope: 'controller'\n                  }\n                }\n              ]\n\n            This helper normalizes all three possible styles into the\n            'Array of fully defined objects' style.\n          */function normalizeControllerQueryParams(queryParams){let qpMap={};for(let queryParam of queryParams){accumulateQueryParamDescriptors(queryParam,qpMap);}return qpMap;}function accumulateQueryParamDescriptors(_desc,accum){let desc=typeof _desc==='string'?{[_desc]:{as:null}}:_desc;for(let key in desc){if(!Object.prototype.hasOwnProperty.call(desc,key)){return;}let _singleDesc=desc[key];let singleDesc=typeof _singleDesc==='string'?{as:_singleDesc}:_singleDesc;let partialVal=accum[key]||{as:null,scope:'model'};let val={...partialVal,...singleDesc};accum[key]=val;}}/*\n            Check if a routeName resembles a url instead\n\n            @private\n          */function resemblesURL(str){return typeof str==='string'&&(str===''||str[0]==='/');}/*\n            Returns an arguments array where the route name arg is prefixed based on the mount point\n\n            @private\n          */function prefixRouteNameArg(route,args){let routeName;let owner=getOwner$2(route);!(owner instanceof EngineInstance)&&assert$1('Expected route to have EngineInstance as owner',owner instanceof EngineInstance);let prefix=owner.mountPoint;// only alter the routeName if it's actually referencing a route.\nif(owner.routable&&typeof args[0]==='string'){routeName=args[0];if(resemblesURL(routeName)){throw new Error('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');}else{routeName=`${prefix}.${routeName}`;args[0]=routeName;}}return args;}function shallowEqual(a,b){let aCount=0;let bCount=0;for(let kA in a){if(Object.prototype.hasOwnProperty.call(a,kA)){if(a[kA]!==b[kA]){return false;}aCount++;}}for(let kB in b){if(Object.prototype.hasOwnProperty.call(b,kB)){bCount++;}}return aCount===bCount;}function isRouteOptions(value){if(value&&typeof value==='object'){let qps=value.queryParams;if(qps&&typeof qps==='object'){return Object.keys(qps).every(k=>typeof k==='string');}}return false;}const emberRoutingLibUtils=/*#__PURE__*/Object.defineProperty({__proto__:null,calculateCacheKey,extractRouteArgs,getActiveTargetName,normalizeControllerQueryParams,prefixRouteNameArg,resemblesURL,shallowEqual,stashParamNames},Symbol.toStringTag,{value:'Module'});class RouterState{constructor(emberRouter,router,routerJsState){_defineProperty(this,\"router\",void 0);_defineProperty(this,\"emberRouter\",void 0);_defineProperty(this,\"routerJsState\",void 0);this.emberRouter=emberRouter;this.router=router;this.routerJsState=routerJsState;}isActiveIntent(routeName,models,queryParams){let state=this.routerJsState;if(!this.router.isActiveIntent(routeName,models,undefined,state)){return false;}if(queryParams!==undefined&&Object.keys(queryParams).length>0){let visibleQueryParams=Object.assign({},queryParams);this.emberRouter._prepareQueryParams(routeName,models,visibleQueryParams);return shallowEqual(visibleQueryParams,state.queryParams);}return true;}}const emberRoutingLibRouterState=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RouterState},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object\n          */function expandPropertiesToArray(predicateName,properties){let expandedProperties=[];function extractProperty(entry){expandedProperties.push(entry);}for(let property of properties){!(property.indexOf(' ')<0)&&assert$1(`Dependent keys passed to \\`${predicateName}\\` computed macro can't have spaces.`,property.indexOf(' ')<0);expandProperties(property,extractProperty);}return expandedProperties;}function generateComputedWithPredicate(name,predicate){return(dependentKey,...additionalDependentKeys)=>{let properties=[dependentKey,...additionalDependentKeys];!!isElementDescriptor(properties)&&assert$1(`You attempted to use @${name} as a decorator directly, but it requires at least one dependent key parameter`,!isElementDescriptor(properties));let dependentKeys=expandPropertiesToArray(name,properties);let computedFunc=computed(...dependentKeys,function(){let lastIdx=dependentKeys.length-1;for(let i=0;i<lastIdx;i++){// SAFETY: `i` is derived from the length of `dependentKeys`\nlet value=get$2(this,dependentKeys[i]);if(!predicate(value)){return value;}}// SAFETY: `lastIdx` is derived from the length of `dependentKeys`\nreturn get$2(this,dependentKeys[lastIdx]);});return computedFunc;};}/**\n            A computed property macro that returns true if the value of the dependent\n            property is null, an empty string, empty array, or empty function.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { empty } from '@ember/object/computed';\n\n            class ToDoList {\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              @empty('todos') isDone;\n            }\n\n            let todoList = new ToDoList(\n              ['Unit Test', 'Documentation', 'Release']\n            );\n\n            todoList.isDone; // false\n            set(todoList, 'todos', []);\n            todoList.isDone; // true\n            ```\n\n            @since 1.6.0\n            @method empty\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns true if the value\n            of the dependent property is null, an empty string, empty array, or empty\n            function and false if the underlying value is not empty.\n\n            @public\n          */function empty(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @empty as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(`${dependentKey}.length`,function(){return isEmpty(get$2(this,dependentKey));});}/**\n            A computed property that returns true if the value of the dependent property\n            is NOT null, an empty string, empty array, or empty function.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { notEmpty } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(backpack) {\n                set(this, 'backpack', backpack);\n              }\n\n              @notEmpty('backpack') hasStuff\n            }\n\n            let hamster = new Hamster(\n              ['Food', 'Sleeping Bag', 'Tent']\n            );\n\n            hamster.hasStuff; // true\n            set(hamster, 'backpack', []);\n            hamster.hasStuff; // false\n            ```\n\n            @method notEmpty\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns true if original\n            value for property is not empty.\n            @public\n          */function notEmpty(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @notEmpty as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(`${dependentKey}.length`,function(){return!isEmpty(get$2(this,dependentKey));});}/**\n            A computed property that returns true if the value of the dependent property\n            is null or undefined. This avoids errors from JSLint complaining about use of\n            ==, which can be technically confusing.\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { none } from '@ember/object/computed';\n\n            class Hamster {\n              @none('food') isHungry;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.isHungry; // true\n\n            set(hamster, 'food', 'Banana');\n            hamster.isHungry; // false\n\n            set(hamster, 'food', null);\n            hamster.isHungry; // true\n            ```\n\n            @method none\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns true if original\n            value for property is null or undefined.\n            @public\n          */function none(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @none as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return isNone(get$2(this,dependentKey));});}/**\n            A computed property that returns the inverse boolean value of the original\n            value for the dependent property.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { not } from '@ember/object/computed';\n\n            class User {\n              loggedIn = false;\n\n              @not('loggedIn') isAnonymous;\n            }\n\n            let user = new User();\n\n            user.isAnonymous; // true\n            set(user, 'loggedIn', true);\n            user.isAnonymous; // false\n            ```\n\n            @method not\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which returns inverse of the\n            original value for property\n            @public\n          */function not(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @not as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return!get$2(this,dependentKey);});}/**\n            A computed property that converts the provided dependent property into a\n            boolean value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { bool } from '@ember/object/computed';\n\n\n            class Hamster {\n              @bool('numBananas') hasBananas\n            }\n\n            let hamster = new Hamster();\n\n            hamster.hasBananas; // false\n\n            set(hamster, 'numBananas', 0);\n            hamster.hasBananas; // false\n\n            set(hamster, 'numBananas', 1);\n            hamster.hasBananas; // true\n\n            set(hamster, 'numBananas', null);\n            hamster.hasBananas; // false\n            ```\n\n            @method bool\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which converts to boolean the\n            original value for property\n            @public\n          */function bool(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @bool as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return Boolean(get$2(this,dependentKey));});}/**\n            A computed property which matches the original value for the dependent\n            property against a given RegExp, returning `true` if the value matches the\n            RegExp and `false` if it does not.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { match } from '@ember/object/computed';\n\n            class User {\n              @match('email', /^.+@.+\\..+$/) hasValidEmail;\n            }\n\n            let user = new User();\n\n            user.hasValidEmail; // false\n\n            set(user, 'email', '');\n            user.hasValidEmail; // false\n\n            set(user, 'email', 'ember_hamster@example.com');\n            user.hasValidEmail; // true\n            ```\n\n            @method match\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {RegExp} regexp\n            @return {ComputedProperty} computed property which match the original value\n            for property against a given RegExp\n            @public\n          */function match(dependentKey,regexp){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @match as a decorator directly, but it requires `dependentKey` and `regexp` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){let value=get$2(this,dependentKey);return regexp.test(value);});}/**\n            A computed property that returns true if the provided dependent property is\n            equal to the given value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { equal } from '@ember/object/computed';\n\n            class Hamster {\n              @equal('percentCarrotsEaten', 100) satisfied;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.satisfied; // false\n\n            set(hamster, 'percentCarrotsEaten', 100);\n            hamster.satisfied; // true\n\n            set(hamster, 'percentCarrotsEaten', 50);\n            hamster.satisfied; // false\n            ```\n\n            @method equal\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {String|Number|Object} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is equal to the given value.\n            @public\n          */function equal(dependentKey,value){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @equal as a decorator directly, but it requires `dependentKey` and `value` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return get$2(this,dependentKey)===value;});}/**\n            A computed property that returns true if the provided dependent property is\n            greater than the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { gt } from '@ember/object/computed';\n\n            class Hamster {\n              @gt('numBananas', 10) hasTooManyBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 3);\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 11);\n            hamster.hasTooManyBananas; // true\n            ```\n\n            @method gt\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is greater than given value.\n            @public\n          */function gt(dependentKey,value){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @gt as a decorator directly, but it requires `dependentKey` and `value` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return get$2(this,dependentKey)>value;});}/**\n            A computed property that returns true if the provided dependent property is\n            greater than or equal to the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { gte } from '@ember/object/computed';\n\n            class Hamster {\n              @gte('numBananas', 10) hasTooManyBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 3);\n            hamster.hasTooManyBananas; // false\n\n            set(hamster, 'numBananas', 10);\n            hamster.hasTooManyBananas; // true\n            ```\n\n            @method gte\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is greater or equal then given value.\n            @public\n          */function gte(dependentKey,value){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @gte as a decorator directly, but it requires `dependentKey` and `value` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return get$2(this,dependentKey)>=value;});}/**\n            A computed property that returns true if the provided dependent property is\n            less than the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { lt } from '@ember/object/computed';\n\n            class Hamster {\n              @lt('numBananas', 3) needsMoreBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.needsMoreBananas; // true\n\n            set(hamster, 'numBananas', 3);\n            hamster.needsMoreBananas; // false\n\n            set(hamster, 'numBananas', 2);\n            hamster.needsMoreBananas; // true\n            ```\n\n            @method lt\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is less then given value.\n            @public\n          */function lt(dependentKey,value){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @lt as a decorator directly, but it requires `dependentKey` and `value` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return get$2(this,dependentKey)<value;});}/**\n            A computed property that returns true if the provided dependent property is\n            less than or equal to the provided value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { lte } from '@ember/object/computed';\n\n            class Hamster {\n              @lte('numBananas', 3) needsMoreBananas;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.needsMoreBananas; // true\n\n            set(hamster, 'numBananas', 5);\n            hamster.needsMoreBananas; // false\n\n            set(hamster, 'numBananas', 3);\n            hamster.needsMoreBananas; // true\n            ```\n\n            @method lte\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Number} value\n            @return {ComputedProperty} computed property which returns true if the\n            original value for property is less or equal than given value.\n            @public\n          */function lte(dependentKey,value){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @lte as a decorator directly, but it requires `dependentKey` and `value` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,function(){return get$2(this,dependentKey)<=value;});}/**\n            A computed property that performs a logical `and` on the original values for\n            the provided dependent properties.\n\n            You may pass in more than two properties and even use property brace\n            expansion.  The computed property will return the first falsy value or last\n            truthy value just like JavaScript's `&&` operator.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { and } from '@ember/object/computed';\n\n            class Hamster {\n              @and('hasTent', 'hasBackpack') readyForCamp;\n              @and('hasWalkingStick', 'hasBackpack') readyForHike;\n            }\n\n            let tomster = new Hamster();\n\n            tomster.readyForCamp; // false\n\n            set(tomster, 'hasTent', true);\n            tomster.readyForCamp; // false\n\n            set(tomster, 'hasBackpack', true);\n            tomster.readyForCamp; // true\n\n            set(tomster, 'hasBackpack', 'Yes');\n            tomster.readyForCamp; // 'Yes'\n\n            set(tomster, 'hasWalkingStick', null);\n            tomster.readyForHike; // null\n            ```\n\n            @method and\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey*\n            @return {ComputedProperty} computed property which performs a logical `and` on\n            the values of all the original values for properties.\n            @public\n          */const and=generateComputedWithPredicate('and',value=>value);/**\n            A computed property which performs a logical `or` on the original values for\n            the provided dependent properties.\n\n            You may pass in more than two properties and even use property brace\n            expansion.  The computed property will return the first truthy value or last\n            falsy value just like JavaScript's `||` operator.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { or } from '@ember/object/computed';\n\n            class Hamster {\n              @or('hasJacket', 'hasUmbrella') readyForRain;\n              @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n            }\n\n            let tomster = new Hamster();\n\n            tomster.readyForRain; // undefined\n\n            set(tomster, 'hasUmbrella', true);\n            tomster.readyForRain; // true\n\n            set(tomster, 'hasJacket', 'Yes');\n            tomster.readyForRain; // 'Yes'\n\n            set(tomster, 'hasSunscreen', 'Check');\n            tomster.readyForBeach; // 'Check'\n            ```\n\n            @method or\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey*\n            @return {ComputedProperty} computed property which performs a logical `or` on\n            the values of all the original values for properties.\n            @public\n          */const or=generateComputedWithPredicate('or',value=>!value);/**\n            Creates a new property that is an alias for another property on an object.\n            Calls to `get` or `set` this property behave as though they were called on the\n            original property.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { alias } from '@ember/object/computed';\n\n            class Person {\n              name = 'Alex Matchneer';\n\n              @alias('name') nomen;\n            }\n\n            let alex = new Person();\n\n            alex.nomen; // 'Alex Matchneer'\n            alex.name;  // 'Alex Matchneer'\n\n            set(alex, 'nomen', '@machty');\n            alex.name;  // '@machty'\n            ```\n\n            @method alias\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates an alias to the\n            original value for property.\n            @public\n          *//**\n            Where the `alias` computed macro aliases `get` and `set`, and allows for\n            bidirectional data flow, the `oneWay` computed macro only provides an aliased\n            `get`. The `set` will not mutate the upstream property, rather causes the\n            current property to become the value set. This causes the downstream property\n            to permanently diverge from the upstream property.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { oneWay }from '@ember/object/computed';\n\n            class User {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @oneWay('firstName') nickName;\n            }\n\n            let teddy = new User('Teddy', 'Zeenny');\n\n            teddy.nickName; // 'Teddy'\n\n            set(teddy, 'nickName', 'TeddyBear');\n            teddy.firstName; // 'Teddy'\n            teddy.nickName; // 'TeddyBear'\n            ```\n\n            @method oneWay\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates a one way computed\n            property to the original value for property.\n            @public\n          */function oneWay(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @oneWay as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return alias(dependentKey).oneWay();}/**\n            This is a more semantically meaningful alias of the `oneWay` computed macro,\n            whose name is somewhat ambiguous as to which direction the data flows.\n\n            @method reads\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates a one way computed\n              property to the original value for property.\n            @public\n           *//**\n            Where `oneWay` computed macro provides oneWay bindings, the `readOnly`\n            computed macro provides a readOnly one way binding. Very often when using\n            the `oneWay` macro one does not also want changes to propagate back up, as\n            they will replace the value.\n\n            This prevents the reverse flow, and also throws an exception when it occurs.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { readOnly } from '@ember/object/computed';\n\n            class User {\n              constructor(firstName, lastName) {\n                set(this, 'firstName', firstName);\n                set(this, 'lastName', lastName);\n              }\n\n              @readOnly('firstName') nickName;\n            });\n\n            let teddy = new User('Teddy', 'Zeenny');\n\n            teddy.nickName; // 'Teddy'\n\n            set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n            // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n\n            teddy.firstName; // 'Teddy'\n            ```\n\n            @method readOnly\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @return {ComputedProperty} computed property which creates a one way computed\n            property to the original value for property.\n            @since 1.5.0\n            @public\n          */function readOnly(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @readOnly as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return alias(dependentKey).readOnly();}/**\n            Creates a new property that is an alias for another property on an object.\n            Calls to `get` or `set` this property behave as though they were called on the\n            original property, but also print a deprecation warning.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { deprecatingAlias } from '@ember/object/computed';\n\n            class Hamster {\n              @deprecatingAlias('cavendishCount', {\n                id: 'hamster.deprecate-banana',\n                until: '3.0.0'\n              })\n              bananaCount;\n            }\n\n            let hamster = new Hamster();\n\n            set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n            hamster.cavendishCount; // 5\n            ```\n\n            @method deprecatingAlias\n            @static\n            @for @ember/object/computed\n            @param {String} dependentKey\n            @param {Object} options Options for `deprecate`.\n            @return {ComputedProperty} computed property which creates an alias with a\n            deprecation to the original value for property.\n            @since 1.7.0\n            @public\n          */function deprecatingAlias(dependentKey,options){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @deprecatingAlias as a decorator directly, but it requires `dependentKey` and `options` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));return computed(dependentKey,{get(key){deprecate$1(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`,false,options);return get$2(this,dependentKey);},set(key,value){deprecate$1(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`,false,options);set(this,dependentKey,value);return value;}});}const emberObjectLibComputedComputedMacros=/*#__PURE__*/Object.defineProperty({__proto__:null,and,bool,deprecatingAlias,empty,equal,gt,gte,lt,lte,match,none,not,notEmpty,oneWay,or,readOnly},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object\n          */function isNativeOrEmberArray(obj){return Array.isArray(obj)||EmberArray.detect(obj);}function reduceMacro(dependentKey,callback,initialValue,name){!!/[[\\]{}]/g.test(dependentKey)&&assert$1(`Dependent key passed to \\`${name}\\` computed macro shouldn't contain brace expanding pattern.`,!/[[\\]{}]/g.test(dependentKey));return computed(`${dependentKey}.[]`,function(){let arr=get$2(this,dependentKey);if(arr===null||typeof arr!=='object'){return initialValue;}return arr.reduce(callback,initialValue,this);}).readOnly();}function arrayMacro(dependentKey,additionalDependentKeys,callback){// This is a bit ugly\nlet propertyName;if(/@each/.test(dependentKey)){propertyName=dependentKey.replace(/\\.@each.*$/,'');}else{propertyName=dependentKey;dependentKey+='.[]';}return computed(dependentKey,...additionalDependentKeys,function(){let value=get$2(this,propertyName);if(isNativeOrEmberArray(value)){return A(callback.call(this,value));}else{return A();}}).readOnly();}function multiArrayMacro(_dependentKeys,callback,name){!_dependentKeys.every(dependentKey=>!/[[\\]{}]/g.test(dependentKey))&&assert$1(`Dependent keys passed to \\`${name}\\` computed macro shouldn't contain brace expanding pattern.`,_dependentKeys.every(dependentKey=>!/[[\\]{}]/g.test(dependentKey)));let dependentKeys=_dependentKeys.map(key=>`${key}.[]`);return computed(...dependentKeys,function(){return A(callback.call(this,_dependentKeys));}).readOnly();}/**\n            A computed property that returns the sum of the values in the dependent array.\n\n            Example:\n\n            ```javascript\n            import { sum } from '@ember/object/computed';\n\n            class Invoice {\n              lineItems = [1.00, 2.50, 9.99];\n\n              @sum('lineItems') total;\n            }\n\n            let invoice = new Invoice();\n\n            invoice.total; // 13.49\n            ```\n\n            @method sum\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @return {ComputedProperty} computes the sum of all values in the\n            dependentKey's array\n            @since 1.4.0\n            @public\n          */function sum(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @sum as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return reduceMacro(dependentKey,(sum,item)=>sum+item,0,'sum');}/**\n            A computed property that calculates the maximum value in the dependent array.\n            This will return `-Infinity` when the dependent array is empty.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { mapBy, max } from '@ember/object/computed';\n\n            class Person {\n              children = [];\n\n              @mapBy('children', 'age') childAges;\n              @max('childAges') maxChildAge;\n            }\n\n            let lordByron = new Person();\n\n            lordByron.maxChildAge; // -Infinity\n\n            set(lordByron, 'children', [\n              {\n                name: 'Augusta Ada Byron',\n                age: 7\n              }\n            ]);\n            lordByron.maxChildAge; // 7\n\n            set(lordByron, 'children', [\n              ...lordByron.children,\n              {\n                name: 'Allegra Byron',\n                age: 5\n              }, {\n                name: 'Elizabeth Medora Leigh',\n                age: 8\n              }\n            ]);\n            lordByron.maxChildAge; // 8\n            ```\n\n            If the types of the arguments are not numbers, they will be converted to\n            numbers and the type of the return value will always be `Number`. For example,\n            the max of a list of Date objects will be the highest timestamp as a `Number`.\n            This behavior is consistent with `Math.max`.\n\n            @method max\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @return {ComputedProperty} computes the largest value in the dependentKey's\n            array\n            @public\n          */function max(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @max as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return reduceMacro(dependentKey,(max,item)=>Math.max(max,item),-Infinity,'max');}/**\n            A computed property that calculates the minimum value in the dependent array.\n            This will return `Infinity` when the dependent array is empty.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { mapBy, min } from '@ember/object/computed';\n\n            class Person {\n              children = [];\n\n              @mapBy('children', 'age') childAges;\n              @min('childAges') minChildAge;\n            }\n\n            let lordByron = Person.create({ children: [] });\n\n            lordByron.minChildAge; // Infinity\n\n            set(lordByron, 'children', [\n              {\n                name: 'Augusta Ada Byron',\n                age: 7\n              }\n            ]);\n            lordByron.minChildAge; // 7\n\n            set(lordByron, 'children', [\n              ...lordByron.children,\n              {\n                name: 'Allegra Byron',\n                age: 5\n              }, {\n                name: 'Elizabeth Medora Leigh',\n                age: 8\n              }\n            ]);\n            lordByron.minChildAge; // 5\n            ```\n\n            If the types of the arguments are not numbers, they will be converted to\n            numbers and the type of the return value will always be `Number`. For example,\n            the min of a list of Date objects will be the lowest timestamp as a `Number`.\n            This behavior is consistent with `Math.min`.\n\n            @method min\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @return {ComputedProperty} computes the smallest value in the dependentKey's array\n            @public\n          */function min(dependentKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @min as a decorator directly, but it requires a `dependentKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));return reduceMacro(dependentKey,(min,item)=>Math.min(min,item),Infinity,'min');}/**\n            Returns an array mapped via the callback\n\n            The callback method you provide should have the following signature:\n            - `item` is the current item in the iteration.\n            - `index` is the integer index of the current item in the iteration.\n\n            ```javascript\n            function mapCallback(item, index);\n            ```\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { map } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @map('chores', function(chore, index) {\n                return `${chore.toUpperCase()}!`;\n              })\n              excitingChores;\n            });\n\n            let hamster = new Hamster(['clean', 'write more unit tests']);\n\n            hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n            ```\n\n            You can optionally pass an array of additional dependent keys as the second\n            parameter to the macro, if your map function relies on any external values:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { map } from '@ember/object/computed';\n\n            class Hamster {\n              shouldUpperCase = false;\n\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @map('chores', ['shouldUpperCase'], function(chore, index) {\n                if (this.shouldUpperCase) {\n                  return `${chore.toUpperCase()}!`;\n                } else {\n                  return `${chore}!`;\n                }\n              })\n              excitingChores;\n            }\n\n            let hamster = new Hamster(['clean', 'write more unit tests']);\n\n            hamster.excitingChores; // ['clean!', 'write more unit tests!']\n\n            set(hamster, 'shouldUpperCase', true);\n            hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n            ```\n\n            @method map\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {Array} [additionalDependentKeys] optional array of additional\n            dependent keys\n            @param {Function} callback\n            @return {ComputedProperty} an array mapped via the callback\n            @public\n          */function map(dependentKey,additionalDependentKeysOrCallback,callback){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @map as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));!(typeof callback==='function'||callback===undefined&&typeof additionalDependentKeysOrCallback==='function')&&assert$1('The final parameter provided to map must be a callback function',typeof callback==='function'||callback===undefined&&typeof additionalDependentKeysOrCallback==='function');!(Array.isArray(additionalDependentKeysOrCallback)||typeof additionalDependentKeysOrCallback==='function')&&assert$1('The second parameter provided to map must either be the callback or an array of additional dependent keys',Array.isArray(additionalDependentKeysOrCallback)||typeof additionalDependentKeysOrCallback==='function');let additionalDependentKeys;if(typeof additionalDependentKeysOrCallback==='function'){callback=additionalDependentKeysOrCallback;additionalDependentKeys=[];}else{additionalDependentKeys=additionalDependentKeysOrCallback;}const cCallback=callback;!cCallback&&assert$1('[BUG] Missing callback',cCallback);return arrayMacro(dependentKey,additionalDependentKeys,function(value){// This is so dumb...\nreturn Array.isArray(value)?value.map(cCallback,this):value.map(cCallback,this);});}/**\n            Returns an array mapped to the specified key.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { mapBy } from '@ember/object/computed';\n\n            class Person {\n              children = [];\n\n              @mapBy('children', 'age') childAges;\n            }\n\n            let lordByron = new Person();\n\n            lordByron.childAges; // []\n\n            set(lordByron, 'children', [\n              {\n                name: 'Augusta Ada Byron',\n                age: 7\n              }\n            ]);\n            lordByron.childAges; // [7]\n\n            set(lordByron, 'children', [\n              ...lordByron.children,\n              {\n                name: 'Allegra Byron',\n                age: 5\n              }, {\n                name: 'Elizabeth Medora Leigh',\n                age: 8\n              }\n            ]);\n            lordByron.childAges; // [7, 5, 8]\n            ```\n\n            @method mapBy\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {String} propertyKey\n            @return {ComputedProperty} an array mapped to the specified key\n            @public\n          */function mapBy(dependentKey,propertyKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @mapBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));!(typeof propertyKey==='string')&&assert$1('`mapBy` computed macro expects a property string for its second argument, '+'perhaps you meant to use \"map\"',typeof propertyKey==='string');!!/[[\\]{}]/g.test(dependentKey)&&assert$1(`Dependent key passed to \\`mapBy\\` computed macro shouldn't contain brace expanding pattern.`,!/[[\\]{}]/g.test(dependentKey));return map(`${dependentKey}.@each.${propertyKey}`,item=>get$2(item,propertyKey));}/**\n            Filters the array by the callback, like the `Array.prototype.filter` method.\n\n            The callback method you provide should have the following signature:\n            - `item` is the current item in the iteration.\n            - `index` is the integer index of the current item in the iteration.\n            - `array` is the dependant array itself.\n\n            ```javascript\n            function filterCallback(item, index, array);\n            ```\n\n            In the callback, return a truthy value that coerces to true to keep the\n            element, or a falsy to reject it.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { filter } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @filter('chores', function(chore, index, array) {\n                return !chore.done;\n              })\n              remainingChores;\n            }\n\n            let hamster = Hamster.create([\n              { name: 'cook', done: true },\n              { name: 'clean', done: true },\n              { name: 'write more unit tests', done: false }\n            ]);\n\n            hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n            ```\n\n            You can also use `@each.property` in your dependent key, the callback will\n            still use the underlying array:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { filter } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @filter('chores.@each.done', function(chore, index, array) {\n                return !chore.done;\n              })\n              remainingChores;\n            }\n\n            let hamster = new Hamster([\n              { name: 'cook', done: true },\n              { name: 'clean', done: true },\n              { name: 'write more unit tests', done: false }\n            ]);\n            hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n\n            set(hamster.chores[2], 'done', true);\n            hamster.remainingChores; // []\n            ```\n\n            Finally, you can optionally pass an array of additional dependent keys as the\n            second parameter to the macro, if your filter function relies on any external\n            values:\n\n            ```javascript\n            import { filter } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              doneKey = 'finished';\n\n              @filter('chores', ['doneKey'], function(chore, index, array) {\n                return !chore[this.doneKey];\n              })\n              remainingChores;\n            }\n\n            let hamster = new Hamster([\n              { name: 'cook', finished: true },\n              { name: 'clean', finished: true },\n              { name: 'write more unit tests', finished: false }\n            ]);\n\n            hamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n            ```\n\n            @method filter\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {Array} [additionalDependentKeys] optional array of additional dependent keys\n            @param {Function} callback\n            @return {ComputedProperty} the filtered array\n            @public\n          */function filter(dependentKey,additionalDependentKeysOrCallback,callback){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @filter as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));!(typeof callback==='function'||callback===undefined&&typeof additionalDependentKeysOrCallback==='function')&&assert$1('The final parameter provided to filter must be a callback function',typeof callback==='function'||callback===undefined&&typeof additionalDependentKeysOrCallback==='function');!(Array.isArray(additionalDependentKeysOrCallback)||typeof additionalDependentKeysOrCallback==='function')&&assert$1('The second parameter provided to filter must either be the callback or an array of additional dependent keys',Array.isArray(additionalDependentKeysOrCallback)||typeof additionalDependentKeysOrCallback==='function');let additionalDependentKeys;if(typeof additionalDependentKeysOrCallback==='function'){callback=additionalDependentKeysOrCallback;additionalDependentKeys=[];}else{additionalDependentKeys=additionalDependentKeysOrCallback;}const cCallback=callback;return arrayMacro(dependentKey,additionalDependentKeys,function(value){// This is a really silly way to keep TS happy\nreturn Array.isArray(value)?value.filter(cCallback,this):value.filter(cCallback,this);});}/**\n            Filters the array by the property and value.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { filterBy } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(chores) {\n                set(this, 'chores', chores);\n              }\n\n              @filterBy('chores', 'done', false) remainingChores;\n            }\n\n            let hamster = new Hamster([\n              { name: 'cook', done: true },\n              { name: 'clean', done: true },\n              { name: 'write more unit tests', done: false }\n            ]);\n\n            hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n            ```\n\n            @method filterBy\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {String} propertyKey\n            @param {*} value\n            @return {ComputedProperty} the filtered array\n            @public\n          */function filterBy(dependentKey,propertyKey,value){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @filterBy as a decorator directly, but it requires atleast `dependentKey` and `propertyKey` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));!!/[[\\]{}]/g.test(dependentKey)&&assert$1(`Dependent key passed to \\`filterBy\\` computed macro shouldn't contain brace expanding pattern.`,!/[[\\]{}]/g.test(dependentKey));let callback;if(arguments.length===2){callback=item=>get$2(item,propertyKey);}else{callback=item=>get$2(item,propertyKey)===value;}return filter(`${dependentKey}.@each.${propertyKey}`,callback);}/**\n            A computed property which returns a new array with all the unique elements\n            from one or more dependent arrays.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { uniq } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(fruits) {\n                set(this, 'fruits', fruits);\n              }\n\n              @uniq('fruits') uniqueFruits;\n            }\n\n            let hamster = new Hamster([\n              'banana',\n              'grape',\n              'kale',\n              'banana'\n            ]);\n\n            hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n            ```\n\n            @method uniq\n            @for @ember/object/computed\n            @static\n            @param {String} propertyKey*\n            @return {ComputedProperty} computes a new array with all the\n            unique elements from the dependent array\n            @public\n          */function uniq(dependentKey,...additionalDependentKeys){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @uniq/@union as a decorator directly, but it requires atleast one dependent key parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));let args=[dependentKey,...additionalDependentKeys];return multiArrayMacro(args,function(dependentKeys){let uniq=A();let seen=new Set();dependentKeys.forEach(dependentKey=>{let value=get$2(this,dependentKey);if(isNativeOrEmberArray(value)){value.forEach(item=>{if(!seen.has(item)){seen.add(item);uniq.push(item);}});}});return uniq;},'uniq');}/**\n            A computed property which returns a new array with all the unique elements\n            from an array, with uniqueness determined by specific key.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { uniqBy } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(fruits) {\n                set(this, 'fruits', fruits);\n              }\n\n              @uniqBy('fruits', 'id') uniqueFruits;\n            }\n\n            let hamster = new Hamster([\n              { id: 1, 'banana' },\n              { id: 2, 'grape' },\n              { id: 3, 'peach' },\n              { id: 1, 'banana' }\n            ]);\n\n            hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n            ```\n\n            @method uniqBy\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey\n            @param {String} propertyKey\n            @return {ComputedProperty} computes a new array with all the\n            unique elements from the dependent array\n            @public\n          */function uniqBy(dependentKey,propertyKey){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @uniqBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters',!isElementDescriptor(Array.prototype.slice.call(arguments)));!!/[[\\]{}]/g.test(dependentKey)&&assert$1(`Dependent key passed to \\`uniqBy\\` computed macro shouldn't contain brace expanding pattern.`,!/[[\\]{}]/g.test(dependentKey));return computed(`${dependentKey}.[]`,function(){let list=get$2(this,dependentKey);return isNativeOrEmberArray(list)?uniqBy$1(list,propertyKey):A();}).readOnly();}/**\n            A computed property which returns a new array with all the unique elements\n            from one or more dependent arrays.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { union } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(fruits, vegetables) {\n                set(this, 'fruits', fruits);\n                set(this, 'vegetables', vegetables);\n              }\n\n              @union('fruits', 'vegetables') uniqueFruits;\n            });\n\n            let hamster = new, Hamster(\n              [\n                'banana',\n                'grape',\n                'kale',\n                'banana',\n                'tomato'\n              ],\n              [\n                'tomato',\n                'carrot',\n                'lettuce'\n              ]\n            );\n\n            hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n            ```\n\n            @method union\n            @for @ember/object/computed\n            @static\n            @param {String} propertyKey*\n            @return {ComputedProperty} computes a new array with all the unique elements\n            from one or more dependent arrays.\n            @public\n          */let union=uniq;/**\n            A computed property which returns a new array with all the elements\n            two or more dependent arrays have in common.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { intersect } from '@ember/object/computed';\n\n            class FriendGroups {\n              constructor(adaFriends, charlesFriends) {\n                set(this, 'adaFriends', adaFriends);\n                set(this, 'charlesFriends', charlesFriends);\n              }\n\n              @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n            }\n\n            let groups = new FriendGroups(\n              ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n              ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n            );\n\n            groups.friendsInCommon; // ['William King', 'Mary Somerville']\n            ```\n\n            @method intersect\n            @for @ember/object/computed\n            @static\n            @param {String} propertyKey*\n            @return {ComputedProperty} computes a new array with all the duplicated\n            elements from the dependent arrays\n            @public\n          */function intersect(dependentKey,...additionalDependentKeys){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @intersect as a decorator directly, but it requires atleast one dependent key parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));let args=[dependentKey,...additionalDependentKeys];return multiArrayMacro(args,function(dependentKeys){let arrays=dependentKeys.map(dependentKey=>{let array=get$2(this,dependentKey);return Array.isArray(array)?array:[];});let firstArray=arrays.pop();!firstArray&&assert$1('Attempted to apply multiArrayMacro for intersect without any dependentKeys',firstArray);let results=firstArray.filter(candidate=>{for(let array of arrays){let found=false;for(let item of array){if(item===candidate){found=true;break;}}if(found===false){return false;}}return true;});return A(results);},'intersect');}/**\n            A computed property which returns a new array with all the properties from the\n            first dependent array that are not in the second dependent array.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { setDiff } from '@ember/object/computed';\n\n            class Hamster {\n              constructor(likes, fruits) {\n                set(this, 'likes', likes);\n                set(this, 'fruits', fruits);\n              }\n\n              @setDiff('likes', 'fruits') wants;\n            }\n\n            let hamster = new Hamster(\n              [\n                'banana',\n                'grape',\n                'kale'\n              ],\n              [\n                'grape',\n                'kale',\n              ]\n            );\n\n            hamster.wants; // ['banana']\n            ```\n\n            @method setDiff\n            @for @ember/object/computed\n            @static\n            @param {String} setAProperty\n            @param {String} setBProperty\n            @return {ComputedProperty} computes a new array with all the items from the\n            first dependent array that are not in the second dependent array\n            @public\n          */function setDiff(setAProperty,setBProperty){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @setDiff as a decorator directly, but it requires atleast one dependent key parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));!(arguments.length===2)&&assert$1('`setDiff` computed macro requires exactly two dependent arrays.',arguments.length===2);!(!/[[\\]{}]/g.test(setAProperty)&&!/[[\\]{}]/g.test(setBProperty))&&assert$1(`Dependent keys passed to \\`setDiff\\` computed macro shouldn't contain brace expanding pattern.`,!/[[\\]{}]/g.test(setAProperty)&&!/[[\\]{}]/g.test(setBProperty));return computed(`${setAProperty}.[]`,`${setBProperty}.[]`,function(){let setA=get$2(this,setAProperty);let setB=get$2(this,setBProperty);if(!isNativeOrEmberArray(setA)){return A();}if(!isNativeOrEmberArray(setB)){return setA;}return setA.filter(x=>setB.indexOf(x)===-1);}).readOnly();}/**\n            A computed property that returns the array of values for the provided\n            dependent properties.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { collect } from '@ember/object/computed';\n\n            class Hamster {\n              @collect('hat', 'shirt') clothes;\n            }\n\n            let hamster = new Hamster();\n\n            hamster.clothes; // [null, null]\n\n            set(hamster, 'hat', 'Camp Hat');\n            set(hamster, 'shirt', 'Camp Shirt');\n            hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n            ```\n\n            @method collect\n            @for @ember/object/computed\n            @static\n            @param {String} dependentKey*\n            @return {ComputedProperty} computed property which maps values of all passed\n            in properties to an array.\n            @public\n          */function collect(dependentKey,...additionalDependentKeys){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @collect as a decorator directly, but it requires atleast one dependent key parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));let dependentKeys=[dependentKey,...additionalDependentKeys];return multiArrayMacro(dependentKeys,function(){let res=dependentKeys.map(key=>{let val=get$2(this,key);return val===undefined?null:val;});return A(res);},'collect');}// (UN)SAFETY: we use `any` here to match how TS defines the sorting for arrays.\n// Additionally, since we're using it with *decorators*, we don't have any way\n// to plumb through the relationship between the types in a way that would be\n// variance-safe.\n/**\n            A computed property which returns a new array with all the properties from the\n            first dependent array sorted based on a property or sort function. The sort\n            macro can be used in two different ways:\n\n            1. By providing a sort callback function\n            2. By providing an array of keys to sort the array\n\n            In the first form, the callback method you provide should have the following\n            signature:\n\n            ```javascript\n            function sortCallback(itemA, itemB);\n            ```\n\n            - `itemA` the first item to compare.\n            - `itemB` the second item to compare.\n\n            This function should return negative number (e.g. `-1`) when `itemA` should\n            come before `itemB`. It should return positive number (e.g. `1`) when `itemA`\n            should come after `itemB`. If the `itemA` and `itemB` are equal this function\n            should return `0`.\n\n            Therefore, if this function is comparing some numeric values, simple `itemA -\n            itemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\n            series of `if`.\n\n            Example:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { sort } from '@ember/object/computed';\n\n            class ToDoList {\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              // using a custom sort function\n              @sort('todos', function(a, b){\n                if (a.priority > b.priority) {\n                  return 1;\n                } else if (a.priority < b.priority) {\n                  return -1;\n                }\n\n                return 0;\n              })\n              priorityTodos;\n            }\n\n            let todoList = new ToDoList([\n              { name: 'Unit Test', priority: 2 },\n              { name: 'Documentation', priority: 3 },\n              { name: 'Release', priority: 1 }\n            ]);\n\n            todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n            ```\n\n            You can also optionally pass an array of additional dependent keys as the\n            second parameter, if your sort function is dependent on additional values that\n            could changes:\n\n            ```js\n            import EmberObject, { set } from '@ember/object';\n            import { sort } from '@ember/object/computed';\n\n            class ToDoList {\n              sortKey = 'priority';\n\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              // using a custom sort function\n              @sort('todos', ['sortKey'], function(a, b){\n                if (a[this.sortKey] > b[this.sortKey]) {\n                  return 1;\n                } else if (a[this.sortKey] < b[this.sortKey]) {\n                  return -1;\n                }\n\n                return 0;\n              })\n              sortedTodos;\n            });\n\n            let todoList = new ToDoList([\n              { name: 'Unit Test', priority: 2 },\n              { name: 'Documentation', priority: 3 },\n              { name: 'Release', priority: 1 }\n            ]);\n\n            todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n            ```\n\n            In the second form, you should provide the key of the array of sort values as\n            the second parameter:\n\n            ```javascript\n            import { set } from '@ember/object';\n            import { sort } from '@ember/object/computed';\n\n            class ToDoList {\n              constructor(todos) {\n                set(this, 'todos', todos);\n              }\n\n              // using standard ascending sort\n              todosSorting = ['name'];\n              @sort('todos', 'todosSorting') sortedTodos;\n\n              // using descending sort\n              todosSortingDesc = ['name:desc'];\n              @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n            }\n\n            let todoList = new ToDoList([\n              { name: 'Unit Test', priority: 2 },\n              { name: 'Documentation', priority: 3 },\n              { name: 'Release', priority: 1 }\n            ]);\n\n            todoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n            todoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n            ```\n\n            @method sort\n            @for @ember/object/computed\n            @static\n            @param {String} itemsKey\n            @param {String|Function|Array} sortDefinitionOrDependentKeys The key of the sort definition (an array of sort properties),\n            the sort function, or an array of additional dependent keys\n            @param {Function?} sortDefinition the sort function (when used with additional dependent keys)\n            @return {ComputedProperty} computes a new sorted array based on the sort\n            property array or callback function\n            @public\n          */function sort(itemsKey,additionalDependentKeysOrDefinition,sortDefinition){!!isElementDescriptor(Array.prototype.slice.call(arguments))&&assert$1('You attempted to use @sort as a decorator directly, but it requires atleast an `itemsKey` parameter',!isElementDescriptor(Array.prototype.slice.call(arguments)));{let argumentsValid=false;if(arguments.length===2){argumentsValid=typeof itemsKey==='string'&&(typeof additionalDependentKeysOrDefinition==='string'||typeof additionalDependentKeysOrDefinition==='function');}if(arguments.length===3){argumentsValid=typeof itemsKey==='string'&&Array.isArray(additionalDependentKeysOrDefinition)&&typeof sortDefinition==='function';}!argumentsValid&&assert$1('The `sort` computed macro can either be used with an array of sort properties or with a sort function. If used with an array of sort properties, it must receive exactly two arguments: the key of the array to sort, and the key of the array of sort properties. If used with a sort function, it may receive up to three arguments: the key of the array to sort, an optional additional array of dependent keys for the computed property, and the sort function.',argumentsValid);}let additionalDependentKeys;let sortDefinitionOrString;if(Array.isArray(additionalDependentKeysOrDefinition)){additionalDependentKeys=additionalDependentKeysOrDefinition;sortDefinitionOrString=sortDefinition;}else{additionalDependentKeys=[];sortDefinitionOrString=additionalDependentKeysOrDefinition;}if(typeof sortDefinitionOrString==='function'){return customSort(itemsKey,additionalDependentKeys,sortDefinitionOrString);}else{return propertySort(itemsKey,sortDefinitionOrString);}}function customSort(itemsKey,additionalDependentKeys,comparator){return arrayMacro(itemsKey,additionalDependentKeys,function(value){return value.slice().sort((x,y)=>comparator.call(this,x,y));});}// This one needs to dynamically set up and tear down observers on the itemsKey\n// depending on the sortProperties\nfunction propertySort(itemsKey,sortPropertiesKey){let cp=autoComputed(function(key){let sortProperties=get$2(this,sortPropertiesKey);!function(arr){return isNativeOrEmberArray(arr)&&arr.every(s=>typeof s==='string');}(sortProperties)&&assert$1(`The sort definition for '${key}' on ${this} must be a function or an array of strings`,function(arr){return isNativeOrEmberArray(arr)&&arr.every(s=>typeof s==='string');}(sortProperties));let itemsKeyIsAtThis=itemsKey==='@this';let normalizedSortProperties=normalizeSortProperties(sortProperties);let items=itemsKeyIsAtThis?this:get$2(this,itemsKey);if(!isNativeOrEmberArray(items)){return A();}if(normalizedSortProperties.length===0){return A(items.slice());}else{return sortByNormalizedSortProperties(items,normalizedSortProperties);}}).readOnly();return cp;}function normalizeSortProperties(sortProperties){let callback=p=>{let[prop,direction]=p.split(':');direction=direction||'asc';// SAFETY: There will always be at least one value returned by split\nreturn[prop,direction];};// This nonsense is necessary since technically the two map implementations diverge.\nreturn Array.isArray(sortProperties)?sortProperties.map(callback):sortProperties.map(callback);}function sortByNormalizedSortProperties(items,normalizedSortProperties){return A(items.slice().sort((itemA,itemB)=>{for(let[prop,direction]of normalizedSortProperties){let result=compare(get$2(itemA,prop),get$2(itemB,prop));if(result!==0){return direction==='desc'?-1*result:result;}}return 0;}));}const emberObjectLibComputedReduceComputedMacros=/*#__PURE__*/Object.defineProperty({__proto__:null,collect,filter,filterBy,intersect,map,mapBy,max,min,setDiff,sort,sum,union,uniq,uniqBy},Symbol.toStringTag,{value:'Module'});const emberObjectComputed=/*#__PURE__*/Object.defineProperty({__proto__:null,alias,and,bool,collect,default:ComputedProperty,deprecatingAlias,empty,equal,expandProperties,filter,filterBy,gt,gte,intersect,lt,lte,map,mapBy,match,max,min,none,not,notEmpty,oneWay,or,readOnly,reads:oneWay,setDiff,sort,sum,union,uniq,uniqBy},Symbol.toStringTag,{value:'Module'});/**\n            Ember’s dependency injection system is built on the idea of an \"owner\": an\n            object responsible for managing items which can be registered and looked up\n            with the system.\n\n            This module does not provide any concrete instances of owners. Instead, it\n            defines the core type, `Owner`, which specifies the public API contract for an\n            owner. The primary concrete implementations of `Owner` are `EngineInstance`,\n            from `@ember/engine/instance`, and its `ApplicationInstance` subclass, from\n            `@ember/application/instance`.\n\n            Along with `Owner` itself, this module provides a number of supporting types\n            related to Ember's DI system:\n\n            - `Factory`, Ember's primary interface for something which can create class\n              instances registered with the DI system.\n\n            - `FactoryManager`, an interface for inspecting a `Factory`'s class.\n\n            - `Resolver`, an interface defining the contract for the object responsible\n              for mapping string names to the corresponding classes. For example, when you\n              write `@service('session')`, a resolver is responsible to map that back to\n              the `Session` service class in your codebase. Normally, this is handled for\n              you automatically with `ember-resolver`, which is the main implementor of\n              this interface.\n\n            For more details on each, see their per-item docs.\n\n            @module @ember/owner\n            @public\n          */// NOTE: this documentation appears here instead of at the definition site so\n// it can appear correctly in both API docs and for TS, while providing a richer\n// internal representation for Ember's own usage.\n/**\n            Framework objects in an Ember application (components, services, routes, etc.)\n            are created via a factory and dependency injection system. Each of these\n            objects is the responsibility of an \"owner\", which handled its\n            instantiation and manages its lifetime.\n\n            `getOwner` fetches the owner object responsible for an instance. This can\n            be used to lookup or resolve other class instances, or register new factories\n            into the owner.\n\n            For example, this component dynamically looks up a service based on the\n            `audioType` passed as an argument:\n\n            ```app/components/play-audio.js\n            import Component from '@glimmer/component';\n            import { action } from '@ember/object';\n            import { getOwner } from '@ember/owner';\n\n            // Usage:\n            //\n            //   <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n            //\n            export default class extends Component {\n              get audioService() {\n                return getOwner(this)?.lookup(`service:${this.args.audioType}`);\n              }\n\n              @action\n              onPlay() {\n                this.audioService?.play(this.args.audioFile);\n              }\n            }\n            ```\n\n            @method getOwner\n            @static\n            @for @ember/owner\n            @param {Object} object An object with an owner.\n            @return {Object} An owner object.\n            @since 2.3.0\n            @public\n          */// SAFETY: the cast here is necessary, instead of using an assignment, because\n// TS (not incorrectly! Nothing expressly relates them) does not see that the\n// `InternalOwner` and `Owner` do actually have identical constraints on their\n// relations to the `DIRegistry`.\nconst getOwner$1=getOwner$2;const emberOwnerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,getOwner:getOwner$1,setOwner:setOwner$1},Symbol.toStringTag,{value:'Module'});/**\n            A two-tiered cache with support for fallback values when doing lookups.\n            Uses \"buckets\" and then \"keys\" to cache values.\n\n            @private\n            @class BucketCache\n          */class BucketCache{constructor(){_defineProperty(this,\"cache\",void 0);this.cache=new Map();}has(bucketKey){return this.cache.has(bucketKey);}stash(bucketKey,key,value){let bucket=this.cache.get(bucketKey);if(bucket===undefined){bucket=new Map();this.cache.set(bucketKey,bucket);}bucket.set(key,value);}lookup(bucketKey,prop,defaultValue){if(!this.has(bucketKey)){return defaultValue;}let bucket=this.cache.get(bucketKey);if(bucket.has(prop)){return bucket.get(prop);}else{return defaultValue;}}}const emberRoutingLibCache=/*#__PURE__*/Object.defineProperty({__proto__:null,default:BucketCache},Symbol.toStringTag,{value:'Module'});let uuid=0;function isCallback(value){return typeof value==='function';}function isOptions(value){return value!==null&&typeof value==='object';}class DSLImpl{constructor(name=null,options){_defineProperty(this,\"parent\",void 0);// eslint-disable-next-line @typescript-eslint/no-wrapper-object-types\n_defineProperty(this,\"matches\",void 0);_defineProperty(this,\"enableLoadingSubstates\",void 0);_defineProperty(this,\"explicitIndex\",false);_defineProperty(this,\"options\",void 0);this.parent=name;this.enableLoadingSubstates=Boolean(options&&options.enableLoadingSubstates);this.matches=[];this.options=options;}route(name,_options,_callback){let options;let callback=null;let dummyErrorRoute=`/_unused_dummy_error_path_route_${name}/:error`;if(isCallback(_options)){!(arguments.length===2)&&assert$1('Unexpected arguments',arguments.length===2);options={};callback=_options;}else if(isCallback(_callback)){!(arguments.length===3)&&assert$1('Unexpected arguments',arguments.length===3);!isOptions(_options)&&assert$1('Unexpected arguments',isOptions(_options));options=_options;callback=_callback;}else{options=_options||{};}!(()=>{if(options.overrideNameAssertion===true){return true;}return['basic','application'].indexOf(name)===-1;})()&&assert$1(`'${name}' cannot be used as a route name.`,(()=>{if(options.overrideNameAssertion===true){return true;}return['basic','application'].indexOf(name)===-1;})());!(name.indexOf(':')===-1)&&assert$1(`'${name}' is not a valid route name. It cannot contain a ':'. You may want to use the 'path' option instead.`,name.indexOf(':')===-1);if(this.enableLoadingSubstates){createRoute(this,`${name}_loading`,{resetNamespace:options.resetNamespace});createRoute(this,`${name}_error`,{resetNamespace:options.resetNamespace,path:dummyErrorRoute});}if(callback){let fullName=getFullName(this,name,options.resetNamespace);let dsl=new DSLImpl(fullName,this.options);createRoute(dsl,'loading');createRoute(dsl,'error',{path:dummyErrorRoute});callback.call(dsl);createRoute(this,name,options,dsl.generate());}else{createRoute(this,name,options);}}push(url,name,callback,// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nserialize){let parts=name.split('.');if(this.options.engineInfo){let localFullName=name.slice(this.options.engineInfo.fullName.length+1);let routeInfo=Object.assign({localFullName},this.options.engineInfo);if(serialize){routeInfo.serializeMethod=serialize;}this.options.addRouteForEngine(name,routeInfo);}else if(serialize){throw new Error(`Defining a route serializer on route '${name}' outside an Engine is not allowed.`);}if(url===''||url==='/'||parts[parts.length-1]==='index'){this.explicitIndex=true;}this.matches.push(url,name,callback);}generate(){let dslMatches=this.matches;if(!this.explicitIndex){this.route('index',{path:'/'});}return match=>{for(let i=0;i<dslMatches.length;i+=3){match(dslMatches[i]).to(dslMatches[i+1],dslMatches[i+2]);}};}mount(_name,options={}){let engineRouteMap=this.options.resolveRouteMap(_name);let name=_name;if(options.as){name=options.as;}let fullName=getFullName(this,name,options.resetNamespace);let engineInfo={name:_name,instanceId:uuid++,mountPoint:fullName,fullName};let path=options.path;if(typeof path!=='string'){path=`/${name}`;}let callback;let dummyErrorRoute=`/_unused_dummy_error_path_route_${name}/:error`;if(engineRouteMap){let shouldResetEngineInfo=false;let oldEngineInfo=this.options.engineInfo;if(oldEngineInfo){shouldResetEngineInfo=true;this.options.engineInfo=engineInfo;}let optionsForChild=Object.assign({engineInfo},this.options);let childDSL=new DSLImpl(fullName,optionsForChild);createRoute(childDSL,'loading');createRoute(childDSL,'error',{path:dummyErrorRoute});engineRouteMap.class.call(childDSL);callback=childDSL.generate();if(shouldResetEngineInfo){this.options.engineInfo=oldEngineInfo;}}let localFullName='application';let routeInfo=Object.assign({localFullName},engineInfo);if(this.enableLoadingSubstates){// These values are important to register the loading routes under their\n// proper names for the Router and within the Engine's registry.\nlet substateName=`${name}_loading`;let localFullName=`application_loading`;let routeInfo=Object.assign({localFullName},engineInfo);createRoute(this,substateName,{resetNamespace:options.resetNamespace});this.options.addRouteForEngine(substateName,routeInfo);substateName=`${name}_error`;localFullName=`application_error`;routeInfo=Object.assign({localFullName},engineInfo);createRoute(this,substateName,{resetNamespace:options.resetNamespace,path:dummyErrorRoute});this.options.addRouteForEngine(substateName,routeInfo);}this.options.addRouteForEngine(fullName,routeInfo);this.push(path,fullName,callback);}}function canNest(dsl){return dsl.parent!=='application';}function getFullName(dsl,name,resetNamespace){if(canNest(dsl)&&resetNamespace!==true){return`${dsl.parent}.${name}`;}else{return name;}}function createRoute(dsl,name,options={},callback){let fullName=getFullName(dsl,name,options.resetNamespace);if(typeof options.path!=='string'){options.path=`/${name}`;}dsl.push(options.path,fullName,callback,options.serialize);}const emberRoutingLibDsl=/*#__PURE__*/Object.defineProperty({__proto__:null,default:DSLImpl},Symbol.toStringTag,{value:'Module'});const MODEL=symbol('MODEL');/**\n          @module @ember/controller\n          *//**\n            @class ControllerMixin\n            @namespace Ember\n            @uses Ember.ActionHandler\n            @private\n          */const ControllerMixin=Mixin.create(ActionHandler,{/* ducktype as a controller */isController:true,concatenatedProperties:['queryParams'],target:null,store:null,init(){this._super(...arguments);let owner=getOwner$2(this);if(owner){this.namespace=owner.lookup('application:main');this.target=owner.lookup('router:main');}},model:computed({get(){return this[MODEL];},set(_key,value){return this[MODEL]=value;}}),queryParams:null,/**\n             This property is updated to various different callback functions depending on\n             the current \"state\" of the backing route. It is used by\n             `Controller.prototype._qpChanged`.\n              The methods backing each state can be found in the `Route.prototype._qp` computed\n             property return value (the `.states` property). The current values are listed here for\n             the sanity of future travelers:\n              * `inactive` - This state is used when this controller instance is not part of the active\n               route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n               `Route.prototype.actions.finalizeQueryParamChange`.\n             * `active` - This state is used when this controller instance is part of the active\n               route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n             * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n               @method _qpDelegate\n              @private\n            */_qpDelegate:null,// set by route\n/**\n             During `Route#setup` observers are created to invoke this method\n             when any of the query params declared in `Controller#queryParams` property\n             are changed.\n              When invoked this method uses the currently active query param update delegate\n             (see `Controller.prototype._qpDelegate` for details) and invokes it with\n             the QP key/value being changed.\n               @method _qpChanged\n              @private\n            */_qpChanged(controller,_prop){let dotIndex=_prop.indexOf('.[]');let prop=dotIndex===-1?_prop:_prop.slice(0,dotIndex);let delegate=controller._qpDelegate;let value=get$2(controller,prop);delegate(prop,value);}});// NOTE: This doesn't actually extend EmberObject.\n/**\n            @class Controller\n            @extends EmberObject\n            @uses Ember.ControllerMixin\n            @public\n          */class Controller extends FrameworkObject.extend(ControllerMixin){}/**\n            Creates a property that lazily looks up another controller in the container.\n            Can only be used when defining another controller.\n\n            Example:\n\n            ```app/controllers/post.js\n            import Controller, {\n              inject as controller\n            } from '@ember/controller';\n\n            export default class PostController extends Controller {\n              @controller posts;\n            }\n            ```\n\n            Classic Class Example:\n\n            ```app/controllers/post.js\n            import Controller, {\n              inject as controller\n            } from '@ember/controller';\n\n            export default Controller.extend({\n              posts: controller()\n            });\n            ```\n\n            This example will create a `posts` property on the `post` controller that\n            looks up the `posts` controller in the container, making it easy to reference\n            other controllers.\n\n            @method inject\n            @static\n            @for @ember/controller\n            @since 1.10.0\n            @param {String} name (optional) name of the controller to inject, defaults to\n                   the property's name\n            @return {ComputedDecorator} injection decorator instance\n            @public\n          */function inject(...args){return inject$2('controller',...args);}/**\n            A type registry for Ember `Controller`s. Meant to be declaration-merged so string\n            lookups resolve to the correct type.\n\n            Blueprints should include such a declaration merge for TypeScript:\n\n            ```ts\n            import Controller from '@ember/controller';\n\n            export default class ExampleController extends Controller {\n            // ...\n            }\n\n            declare module '@ember/controller' {\n              export interface Registry {\n                example: ExampleController;\n              }\n            }\n            ```\n\n            Then `@inject` can check that the service is registered correctly, and APIs\n            like `owner.lookup('controller:example')` can return `ExampleController`.\n          */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nconst emberControllerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ControllerMixin,default:Controller,inject},Symbol.toStringTag,{value:'Module'});let wrapGetterSetter=function(target,key,desc){let{get:originalGet}=desc;!(descriptorForProperty(target,key)===undefined)&&assert$1('You attempted to use @dependentKeyCompat on a property that already has been decorated with either @computed or @tracked. @dependentKeyCompat is only necessary for native getters that are not decorated with @computed.',descriptorForProperty(target,key)===undefined);if(originalGet!==undefined){desc.get=function(){let propertyTag=tagFor(this,key);let ret;let tag=track(()=>{ret=originalGet.call(this);});UPDATE_TAG(propertyTag,tag);consumeTag(tag);return ret;};}return desc;};/**\n            `@dependentKeyCompat` is decorator that can be used on _native getters_ that\n            use tracked properties. It exposes the getter to Ember's classic computed\n            property and observer systems, so they can watch it for changes. It can be\n            used in both native and classic classes.\n\n            Native Example:\n\n            ```js\n            import { tracked } from '@glimmer/tracking';\n            import { dependentKeyCompat } from '@ember/object/compat';\n            import { computed, set } from '@ember/object';\n\n            class Person {\n              @tracked firstName;\n              @tracked lastName;\n\n              @dependentKeyCompat\n              get fullName() {\n                return `${this.firstName} ${this.lastName}`;\n              }\n            }\n\n            class Profile {\n              constructor(person) {\n                set(this, 'person', person);\n              }\n\n              @computed('person.fullName')\n              get helloMessage() {\n                return `Hello, ${this.person.fullName}!`;\n              }\n            }\n            ```\n\n            Classic Example:\n\n            ```js\n            import { tracked } from '@glimmer/tracking';\n            import { dependentKeyCompat } from '@ember/object/compat';\n            import EmberObject, { computed, observer, set } from '@ember/object';\n\n            const Person = EmberObject.extend({\n              firstName: tracked(),\n              lastName: tracked(),\n\n              fullName: dependentKeyCompat(function() {\n                return `${this.firstName} ${this.lastName}`;\n              }),\n            });\n\n            const Profile = EmberObject.extend({\n              person: null,\n\n              helloMessage: computed('person.fullName', function() {\n                return `Hello, ${this.person.fullName}!`;\n              }),\n\n              onNameUpdated: observer('person.fullName', function() {\n                console.log('person name updated!');\n              }),\n            });\n            ```\n\n            `dependentKeyCompat()` can receive a getter function or an object containing\n            `get`/`set` methods when used in classic classes, like computed properties.\n\n            In general, only properties which you _expect_ to be watched by older,\n            untracked clases should be marked as dependency compatible. The decorator is\n            meant as an interop layer for parts of Ember's older classic APIs, and should\n            not be applied to every possible getter/setter in classes. The number of\n            dependency compatible getters should be _minimized_ wherever possible. New\n            application code should not need to use `@dependentKeyCompat`, since it is\n            only for interoperation with older code.\n\n            @public\n            @method dependentKeyCompat\n            @for @ember/object/compat\n            @static\n            @param {PropertyDescriptor|undefined} desc A property descriptor containing\n                                                       the getter and setter (when used in\n                                                       classic classes)\n            @return {PropertyDecorator} property decorator instance\n           */function dependentKeyCompat(...args){if(isElementDescriptor(args)){let[target,key,desc]=args;!(desc!=null&&(typeof desc.get==='function'||typeof desc.set==='function'))&&assert$1('The @dependentKeyCompat decorator must be applied to getters/setters when used in native classes',desc!=null&&(typeof desc.get==='function'||typeof desc.set==='function'));return wrapGetterSetter(target,key,desc);}else{const desc=args[0];!(value=>{if(value&&typeof value==='object'){let cast=value;return(cast.configurable===undefined||cast.configurable===false||cast.configurable===true)&&(cast.enumerable===undefined||cast.enumerable===false||cast.enumerable===true)&&(cast.writable===undefined||cast.writable===false||cast.writable===true)&&(cast.get===undefined||typeof cast.get==='function')&&(cast.set===undefined||typeof cast.set==='function');}return false;})(desc)&&assert$1('expected valid PropertyDescriptor',(value=>{if(value&&typeof value==='object'){let cast=value;return(cast.configurable===undefined||cast.configurable===false||cast.configurable===true)&&(cast.enumerable===undefined||cast.enumerable===false||cast.enumerable===true)&&(cast.writable===undefined||cast.writable===false||cast.writable===true)&&(cast.get===undefined||typeof cast.get==='function')&&(cast.set===undefined||typeof cast.set==='function');}return false;})(desc));let decorator=function(target,key,_desc,_meta,isClassicDecorator){!isClassicDecorator&&assert$1('The @dependentKeyCompat decorator may only be passed a method when used in classic classes. You should decorate getters/setters directly in native classes',isClassicDecorator);!(typeof desc.get==='function'||typeof desc.set==='function')&&assert$1('The dependentKeyCompat() decorator must be passed a getter or setter when used in classic classes',typeof desc.get==='function'||typeof desc.set==='function');return wrapGetterSetter(target,key,desc);};setClassicDecorator(decorator);return decorator;}}setClassicDecorator(dependentKeyCompat);const emberObjectCompat=/*#__PURE__*/Object.defineProperty({__proto__:null,dependentKeyCompat},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/routing\n          *//**\n            Generates a controller factory\n\n            @for Ember\n            @method generateControllerFactory\n            @private\n          *//* eslint-disable @typescript-eslint/no-empty-object-type */function generateControllerFactory(owner,controllerName){/* eslint-enable @typescript-eslint/no-empty-object-type */let factoryManager=owner.factoryFor('controller:basic');!(factoryManager!==undefined)&&assert$1('[BUG] unexpectedly missing a factoryManager for `controller:basic`',factoryManager!==undefined);// SAFETY: This is *not* safe, and the cast should be removed in favor of the\n// `assert()` below after altering *tests*. It is left in this state for the\n// moment in the interest of keeping type-only changes separate from changes\n// to the runtime behavior of the system, even for tests.\nlet Factory=factoryManager.class;// assert(\n//   '[BUG] factory for `controller:main` is unexpectedly not a Controller',\n//   ((factory): factory is typeof Controller => factory === Controller)(Factory)\n// );\nFactory=Factory.extend({toString(){return`(generated ${controllerName} controller)`;}});let fullName=`controller:${controllerName}`;owner.register(fullName,Factory);// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nreturn owner.factoryFor(fullName);}/**\n            Generates and instantiates a controller extending from `controller:basic`\n            if present, or `Controller` if not.\n\n            @for Ember\n            @method generateController\n            @private\n            @since 1.3.0\n          */function generateController(owner,controllerName){generateControllerFactory(owner,controllerName);let fullName=`controller:${controllerName}`;let instance=owner.lookup(fullName);!(instance instanceof Controller)&&assert$1('Expected an instance of controller',instance instanceof Controller);{if(get$2(instance,'namespace.LOG_ACTIVE_GENERATION')){info(`generated -> ${fullName}`,{fullName});}}return instance;}const emberRoutingLibGenerateController=/*#__PURE__*/Object.defineProperty({__proto__:null,default:generateController,generateControllerFactory},Symbol.toStringTag,{value:'Module'});const RENDER=Symbol('render');const RENDER_STATE=Symbol('render-state');/**\n          @module @ember/routing/route\n          *//**\n            The `Route` class is used to define individual routes. Refer to\n            the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n\n            @class Route\n            @extends EmberObject\n            @uses ActionHandler\n            @uses Evented\n            @since 1.0.0\n            @public\n          */class Route extends EmberObject.extend(ActionHandler,Evented){constructor(owner){super(owner);// These properties will end up appearing in the public interface because we\n// `implements IRoute` from `router.js`, which has them as part of *its*\n// public contract. We mark them as `@internal` so they at least signal to\n// people subclassing `Route` that they should not use them.\n/** @internal */_defineProperty(this,\"context\",{});/** @internal *//** @internal */_defineProperty(this,\"_bucketCache\",void 0);/** @internal */_defineProperty(this,\"_internalName\",void 0);_defineProperty(this,\"_names\",void 0);_defineProperty(this,\"_router\",void 0);_defineProperty(this,RENDER_STATE,undefined);if(owner){let router=owner.lookup('router:main');let bucketCache=owner.lookup(privatize`-bucket-cache:main`);this._router=router;this._bucketCache=bucketCache;this._topLevelViewTemplate=owner.lookup('template:-outlet');this._environment=owner.lookup('-environment:main');}}/**\n              A hook you can implement to convert the route's model into parameters\n              for the URL.\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' });\n              });\n               ```\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class PostRoute extends Route {\n                model({ post_id }) {\n                  // the server returns `{ id: 12 }`\n                  return fetch(`/posts/${post_id}`;\n                }\n                 serialize(model) {\n                  // this will make the URL `/posts/12`\n                  return { post_id: model.id };\n                }\n              }\n              ```\n               The default `serialize` method will insert the model's `id` into the\n              route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n              If the route has multiple dynamic segments or does not contain '_id', `serialize`\n              will return `getProperties(model, params)`\n               This method is called when `transitionTo` is called with a context\n              in order to populate the URL.\n               @method serialize\n              @param {Object} model the routes model\n              @param {Array} params an Array of parameter names for the current\n                route (in the example, `['post_id']`.\n              @return {Object} the serialized parameters\n              @since 1.0.0\n              @public\n            */serialize(model,params){if(params.length<1||!model){return;}let object={};if(params.length===1){let[name]=params;!name&&assert$1('has name',name);if(typeof model==='object'&&name in model){object[name]=get$2(model,name);}else if(/_id$/.test(name)){object[name]=get$2(model,'id');}else if(isProxy(model)){object[name]=get$2(model,name);}}else{object=getProperties(model,params);}return object;}/**\n              Configuration hash for this route's queryParams. The possible\n              configuration options and their defaults are as follows\n              (assuming a query param whose controller property is `page`):\n               ```javascript\n              queryParams = {\n                page: {\n                  // By default, controller query param properties don't\n                  // cause a full transition when they are changed, but\n                  // rather only cause the URL to update. Setting\n                  // `refreshModel` to true will cause an \"in-place\"\n                  // transition to occur, whereby the model hooks for\n                  // this route (and any child routes) will re-fire, allowing\n                  // you to reload models (e.g., from the server) using the\n                  // updated query param values.\n                  refreshModel: false,\n                   // By default, changes to controller query param properties\n                  // cause the URL to update via `pushState`, which means an\n                  // item will be added to the browser's history, allowing\n                  // you to use the back button to restore the app to the\n                  // previous state before the query param property was changed.\n                  // Setting `replace` to true will use `replaceState` (or its\n                  // hash location equivalent), which causes no browser history\n                  // item to be added. This options name and default value are\n                  // the same as the `link-to` helper's `replace` option.\n                  replace: false,\n                   // By default, the query param URL key is the same name as\n                  // the controller property name. Use `as` to specify a\n                  // different URL key.\n                  as: 'page'\n                }\n              };\n              ```\n               @property queryParams\n              @for Route\n              @type Object\n              @since 1.6.0\n              @public\n            */// Set in reopen so it can be overriden with extend\n/**\n              The name of the template to use by default when rendering this route's\n              template.\n               ```app/routes/posts/list.js\n              import Route from '@ember/routing/route';\n               export default class PostsListRoute extends Route {\n                templateName = 'posts/list';\n              }\n              ```\n               ```app/routes/posts/index.js\n              import PostsListRoute from '../posts/list';\n               export default class PostsIndexRoute extends PostsListRoute {};\n              ```\n               ```app/routes/posts/archived.js\n              import PostsListRoute from '../posts/list';\n               export default class PostsArchivedRoute extends PostsListRoute {};\n              ```\n               @property templateName\n              @type String\n              @default null\n              @since 1.4.0\n              @public\n            */// Set in reopen so it can be overriden with extend\n/**\n              The name of the controller to associate with this route.\n               By default, Ember will lookup a route's controller that matches the name\n              of the route (i.e. `posts.new`). However,\n              if you would like to define a specific controller to use, you can do so\n              using this property.\n               This is useful in many ways, as the controller specified will be:\n               * passed to the `setupController` method.\n              * used as the controller for the template being rendered by the route.\n              * returned from a call to `controllerFor` for the route.\n               @property controllerName\n              @type String\n              @default null\n              @since 1.4.0\n              @public\n            */// Set in reopen so it can be overriden with extend\n/**\n              The controller associated with this route.\n               Example\n               ```app/routes/form.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class FormRoute extends Route {\n                @action\n                willTransition(transition) {\n                  if (this.controller.get('userHasEnteredData') &&\n                      !confirm('Are you sure you want to abandon progress?')) {\n                    transition.abort();\n                  } else {\n                    // Bubble the `willTransition` action so that\n                    // parent routes can decide whether or not to abort.\n                    return true;\n                  }\n                }\n              }\n              ```\n               @property controller\n              @type Controller\n              @since 1.6.0\n              @public\n            *//**\n              The name of the route, dot-delimited.\n               For example, a route found at `app/routes/posts/post.js` will have\n              a `routeName` of `posts.post`.\n               @property routeName\n              @for Route\n              @type String\n              @since 1.0.0\n              @public\n            *//**\n              The name of the route, dot-delimited, including the engine prefix\n              if applicable.\n               For example, a route found at `addon/routes/posts/post.js` within an\n              engine named `admin` will have a `fullRouteName` of `admin.posts.post`.\n               @property fullRouteName\n              @for Route\n              @type String\n              @since 2.10.0\n              @public\n            *//**\n              Sets the name for this route, including a fully resolved name for routes\n              inside engines.\n               @private\n              @method _setRouteName\n              @param {String} name\n            */_setRouteName(name){this.routeName=name;let owner=getOwner$2(this);!(owner instanceof EngineInstance)&&assert$1('Expected route to have EngineInstance as owner',owner instanceof EngineInstance);this.fullRouteName=getEngineRouteName(owner,name);}/**\n              @private\n               @method _stashNames\n            */_stashNames(routeInfo,dynamicParent){if(this._names){return;}let names=this._names=routeInfo['_names'];if(!names.length){routeInfo=dynamicParent;names=routeInfo&&routeInfo['_names']||[];}// SAFETY: Since `_qp` is protected we can't infer the type\nlet qps=get$2(this,'_qp').qps;let namePaths=new Array(names.length);for(let a=0;a<names.length;++a){namePaths[a]=`${routeInfo.name}.${names[a]}`;}for(let qp of qps){if(qp.scope==='model'){qp.parts=namePaths;}}}/**\n              @private\n               @property _activeQPChanged\n            */_activeQPChanged(qp,value){this._router._activeQPChanged(qp.scopedPropertyName,value);}/**\n              @private\n              @method _updatingQPChanged\n            */_updatingQPChanged(qp){this._router._updatingQPChanged(qp.urlKey);}/**\n              Returns a hash containing the parameters of an ancestor route.\n               You may notice that `this.paramsFor` sometimes works when referring to a\n              child route, but this behavior should not be relied upon as only ancestor\n              routes are certain to be loaded in time.\n               Example\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('member', { path: ':name' }, function() {\n                  this.route('interest', { path: ':interest' });\n                });\n              });\n              ```\n               ```app/routes/member.js\n              import Route from '@ember/routing/route';\n               export default class MemberRoute extends Route {\n                queryParams = {\n                  memberQp: { refreshModel: true }\n                }\n              }\n              ```\n               ```app/routes/member/interest.js\n              import Route from '@ember/routing/route';\n               export default class MemberInterestRoute extends Route {\n                queryParams = {\n                  interestQp: { refreshModel: true }\n                }\n                 model() {\n                  return this.paramsFor('member');\n                }\n              }\n              ```\n               If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n              the `member.interest` route is a hash with:\n               * `name`: `turing`\n              * `memberQp`: `member`\n               @method paramsFor\n              @param {String} name\n              @return {Object} hash containing the parameters of the route `name`\n              @since 1.4.0\n              @public\n            */paramsFor(name){let owner=getOwner$2(this);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let route=owner.lookup(`route:${name}`);if(route===undefined){return{};}let transition=this._router._routerMicrolib.activeTransition;let state=transition?transition[STATE_SYMBOL]:this._router._routerMicrolib.state;let fullName=route.fullRouteName;let params={...state.params[fullName]};let queryParams=getQueryParamsFor(route,state);return Object.entries(queryParams).reduce((params,[key,value])=>{!!params[key]&&assert$1(`The route '${this.routeName}' has both a dynamic segment and query param with name '${key}'. Please rename one to avoid collisions.`,!params[key]);params[key]=value;return params;},params);}/**\n              Serializes the query parameter key\n               @method serializeQueryParamKey\n              @param {String} controllerPropertyName\n              @private\n            */serializeQueryParamKey(controllerPropertyName){return controllerPropertyName;}/**\n              Serializes value of the query parameter based on defaultValueType\n               @method serializeQueryParam\n              @param {Object} value\n              @param {String} urlKey\n              @param {String} defaultValueType\n              @private\n            */serializeQueryParam(value,_urlKey,defaultValueType){// urlKey isn't used here, but anyone overriding\n// can use it to provide serialization specific\n// to a certain query param.\nreturn this._router._serializeQueryParam(value,defaultValueType);}/**\n              Deserializes value of the query parameter based on defaultValueType\n               @method deserializeQueryParam\n              @param {Object} value\n              @param {String} urlKey\n              @param {String} defaultValueType\n              @private\n            */deserializeQueryParam(value,_urlKey,defaultValueType){// urlKey isn't used here, but anyone overriding\n// can use it to provide deserialization specific\n// to a certain query param.\nreturn this._router._deserializeQueryParam(value,defaultValueType);}/**\n              @private\n               @property _optionsForQueryParam\n            */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n_optionsForQueryParam(qp){const queryParams=get$2(this,'queryParams');return get$2(queryParams,qp.urlKey)||get$2(queryParams,qp.prop)||queryParams[qp.urlKey]||queryParams[qp.prop]||{};}/**\n              A hook you can use to reset controller values either when the model\n              changes or the route is exiting.\n               ```app/routes/articles.js\n              import Route from '@ember/routing/route';\n               export default class ArticlesRoute extends Route {\n                resetController(controller, isExiting, transition) {\n                  if (isExiting && transition.targetName !== 'error') {\n                    controller.set('page', 1);\n                  }\n                }\n              }\n              ```\n               @method resetController\n              @param {Controller} controller instance\n              @param {Boolean} isExiting\n              @param {Object} transition\n              @since 1.7.0\n              @public\n            */resetController(_controller,_isExiting,_transition){// We document that subclasses do not have to return *anything* and in fact\n// do not even have to call super, so whiel we *do* return `this`, we need\n// to be explicit in the types that our return type is *effectively* `void`.\nreturn this;}/**\n              @private\n               @method exit\n            */exit(transition){this.deactivate(transition);this.trigger('deactivate',transition);this.teardownViews();}/**\n              @private\n               @method _internalReset\n              @since 3.6.0\n            */_internalReset(isExiting,transition){let controller=this.controller;// SAFETY: Since `_qp` is protected we can't infer the type\ncontroller['_qpDelegate']=get$2(this,'_qp').states.inactive;this.resetController(controller,isExiting,transition);}/**\n              @private\n               @method enter\n            */enter(transition){this[RENDER_STATE]=undefined;this.activate(transition);this.trigger('activate',transition);}/**\n              This event is triggered when the router enters the route. It is\n              not executed when the model for the route changes.\n               ```app/routes/application.js\n              import { on } from '@ember/object/evented';\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                collectAnalytics: on('activate', function(){\n                  collectAnalytics();\n                })\n              });\n              ```\n               @event activate\n              @since 1.9.0\n              @public\n            *//**\n              This event is triggered when the router completely exits this\n              route. It is not executed when the model for the route changes.\n               ```app/routes/index.js\n              import { on } from '@ember/object/evented';\n              import Route from '@ember/routing/route';\n               export default Route.extend({\n                trackPageLeaveAnalytics: on('deactivate', function(){\n                  trackPageLeaveAnalytics();\n                })\n              });\n              ```\n               @event deactivate\n              @since 1.9.0\n              @public\n            *//**\n              This hook is executed when the router completely exits this route. It is\n              not executed when the model for the route changes.\n               @method deactivate\n              @param {Transition} transition\n              @since 1.0.0\n              @public\n            */deactivate(_transition){}/**\n              This hook is executed when the router enters the route. It is not executed\n              when the model for the route changes.\n               @method activate\n              @param {Transition} transition\n              @since 1.0.0\n              @public\n            */activate(_transition){}/**\n              Perform a synchronous transition into another route without attempting\n              to resolve promises, update the URL, or abort any currently active\n              asynchronous transitions (i.e. regular transitions caused by\n              `transitionTo` or URL changes).\n               This method is handy for performing intermediate transitions on the\n              way to a final destination route, and is called internally by the\n              default implementations of the `error` and `loading` handlers.\n               @method intermediateTransitionTo\n              @param {String} name the name of the route\n              @param {...Object} models the model(s) to be used while transitioning\n              to the route.\n              @since 1.2.0\n              @public\n             */intermediateTransitionTo(...args){let[name,...preparedArgs]=prefixRouteNameArg(this,args);this._router.intermediateTransitionTo(name,...preparedArgs);}/**\n              Refresh the model on this route and any child routes, firing the\n              `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n              to how routes are entered when transitioning in from other route.\n              The current route params (e.g. `article_id`) will be passed in\n              to the respective model hooks, and if a different model is returned,\n              `setupController` and associated route hooks will re-fire as well.\n               An example usage of this method is re-querying the server for the\n              latest information using the same parameters as when the route\n              was first entered.\n               Note that this will cause `model` hooks to fire even on routes\n              that were provided a model object when the route was initially\n              entered.\n               @method refresh\n              @return {Transition} the transition object associated with this\n                attempted transition\n              @since 1.4.0\n              @public\n             */refresh(){return this._router._routerMicrolib.refresh(this);}/**\n              This hook is the entry point for router.js\n               @private\n              @method setup\n            */setup(context,transition){let controllerName=this.controllerName||this.routeName;let definedController=this.controllerFor(controllerName,true);let controller=definedController??this.generateController(controllerName);// SAFETY: Since `_qp` is protected we can't infer the type\nlet queryParams=get$2(this,'_qp');// Assign the route's controller so that it can more easily be\n// referenced in action handlers. Side effects. Side effects everywhere.\nif(!this.controller){let propNames=queryParams.propertyNames;addQueryParamsObservers(controller,propNames);this.controller=controller;}let states=queryParams.states;controller._qpDelegate=states.allowOverrides;if(transition){// Update the model dep values used to calculate cache keys.\nstashParamNames(this._router,transition[STATE_SYMBOL].routeInfos);let cache=this._bucketCache;let params=transition[PARAMS_SYMBOL];let allParams=queryParams.propertyNames;allParams.forEach(prop=>{let aQp=queryParams.map[prop];!aQp&&assert$1('expected aQp',aQp);aQp.values=params;let cacheKey=calculateCacheKey(aQp.route.fullRouteName,aQp.parts,aQp.values);let value=cache.lookup(cacheKey,prop,aQp.undecoratedDefaultValue);set(controller,prop,value);});let qpValues=getQueryParamsFor(this,transition[STATE_SYMBOL]);setProperties(controller,qpValues);}this.setupController(controller,context,transition);if(this._environment.options.shouldRender){this[RENDER]();}// Setup can cause changes to QPs which need to be propogated immediately in\n// some situations. Eventually, we should work on making these async somehow.\nflushAsyncObservers(false);}/*\n              Called when a query parameter for this route changes, regardless of whether the route\n              is currently part of the active route hierarchy. This will update the query parameter's\n              value in the cache so if this route becomes active, the cache value has been updated.\n            */_qpChanged(prop,value,qp){if(!qp){return;}// Update model-dep cache\nlet cache=this._bucketCache;let cacheKey=calculateCacheKey(qp.route.fullRouteName,qp.parts,qp.values);cache.stash(cacheKey,prop,value);}/**\n              This hook is the first of the route entry validation hooks\n              called when an attempt is made to transition into a route\n              or one of its children. It is called before `model` and\n              `afterModel`, and is appropriate for cases when:\n               1) A decision can be made to redirect elsewhere without\n                 needing to resolve the model first.\n              2) Any async operations need to occur first before the\n                 model is attempted to be resolved.\n               This hook is provided the current `transition` attempt\n              as a parameter, which can be used to `.abort()` the transition,\n              save it for a later `.retry()`, or retrieve values set\n              on it from a previous hook. You can also just call\n              `router.transitionTo` to another route to implicitly\n              abort the `transition`.\n               You can return a promise from this hook to pause the\n              transition until the promise resolves (or rejects). This could\n              be useful, for instance, for retrieving async code from\n              the server that is required to enter a route.\n               @method beforeModel\n              @param {Transition} transition\n              @return {any | Promise<any>} if the value returned from this hook is\n                a promise, the transition will pause until the transition\n                resolves. Otherwise, non-promise return values are not\n                utilized in any way.\n              @since 1.0.0\n              @public\n            */beforeModel(_transition){}/**\n              This hook is called after this route's model has resolved.\n              It follows identical async/promise semantics to `beforeModel`\n              but is provided the route's resolved model in addition to\n              the `transition`, and is therefore suited to performing\n              logic that can only take place after the model has already\n              resolved.\n               ```app/routes/posts.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class PostsRoute extends Route {\n                @service router;\n                 afterModel(posts, transition) {\n                  if (posts.get('length') === 1) {\n                    this.router.transitionTo('post.show', posts.get('firstObject'));\n                  }\n                }\n              }\n              ```\n               Refer to documentation for `beforeModel` for a description\n              of transition-pausing semantics when a promise is returned\n              from this hook.\n               @method afterModel\n              @param {Object} resolvedModel the value returned from `model`,\n                or its resolved value if it was a promise\n              @param {Transition} transition\n              @return {any | Promise<any>} if the value returned from this hook is\n                a promise, the transition will pause until the transition\n                resolves. Otherwise, non-promise return values are not\n                utilized in any way.\n              @since 1.0.0\n              @public\n             */afterModel(_resolvedModel,_transition){}/**\n              A hook you can implement to optionally redirect to another route.\n               Calling `this.router.transitionTo` from inside of the `redirect` hook will\n              abort the current transition (into the route that has implemented `redirect`).\n               `redirect` and `afterModel` behave very similarly and are\n              called almost at the same time, but they have an important\n              distinction when calling `this.router.transitionTo` to a child route\n              of the current route. From `afterModel`, this new transition\n              invalidates the current transition, causing `beforeModel`,\n              `model`, and `afterModel` hooks to be called again. But the\n              same transition started from `redirect` does _not_ invalidate\n              the current transition. In other words, by the time the `redirect`\n              hook has been called, both the resolved model and the attempted\n              entry into this route are considered fully validated.\n               @method redirect\n              @param {Object} model the model for this route\n              @param {Transition} transition the transition object associated with the current transition\n              @since 1.0.0\n              @public\n            */redirect(_model,_transition){}/**\n              Called when the context is changed by router.js.\n               @private\n              @method contextDidChange\n            */contextDidChange(){this.currentModel=this.context;}/**\n              A hook you can implement to convert the URL into the model for\n              this route.\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' });\n              });\n               export default Router;\n              ```\n               Note that for routes with dynamic segments, this hook is not always\n              executed. If the route is entered through a transition (e.g. when\n              using the `link-to` Handlebars helper or the `transitionTo` method\n              of routes), and a model context is already provided this hook\n              is not called.\n               A model context does not include a primitive string or number,\n              which does cause the model hook to be called.\n               Routes without dynamic segments will always execute the model hook.\n               ```javascript\n              // no dynamic segment, model hook always called\n              this.router.transitionTo('posts');\n               // model passed in, so model hook not called\n              thePost = store.findRecord('post', 1);\n              this.router.transitionTo('post', thePost);\n               // integer passed in, model hook is called\n              this.router.transitionTo('post', 1);\n               // model id passed in, model hook is called\n              // useful for forcing the hook to execute\n              thePost = store.findRecord('post', 1);\n              this.router.transitionTo('post', thePost.id);\n              ```\n               This hook follows the asynchronous/promise semantics\n              described in the documentation for `beforeModel`. In particular,\n              if a promise returned from `model` fails, the error will be\n              handled by the `error` hook on `Route`.\n               Note that the legacy behavior of automatically defining a model\n              hook when a dynamic segment ending in `_id` is present is\n              [deprecated](https://deprecations.emberjs.com/v5.x#toc_deprecate-implicit-route-model).\n              You should explicitly define a model hook whenever any segments are\n              present.\n               Example\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class PostRoute extends Route {\n                @service store;\n                 model(params) {\n                  return this.store.findRecord('post', params.post_id);\n                }\n              }\n              ```\n               @method model\n              @param {Object} params the parameters extracted from the URL\n              @param {Transition} transition\n              @return {any | Promise<any>} the model for this route. If\n                a promise is returned, the transition will pause until\n                the promise resolves, and the resolved value of the promise\n                will be used as the model for this route.\n              @since 1.0.0\n              @public\n            */model(params,transition){let name,sawParams;// SAFETY: Since `_qp` is protected we can't infer the type\nlet queryParams=get$2(this,'_qp').map;for(let prop in params){if(prop==='queryParams'||queryParams&&prop in queryParams){continue;}let match=prop.match(/^(.*)_id$/);if(match!==null){name=match[1];}sawParams=true;}if(!name){if(sawParams){// SAFETY: This should be equivalent\nreturn Object.assign({},params);}else{if(transition.resolveIndex<1){return;}// SAFETY: This should be correct, but TS is unable to infer this.\nreturn transition[STATE_SYMBOL].routeInfos[transition.resolveIndex-1].context;}}return undefined;}/**\n              @private\n              @method deserialize\n              @param {Object} params the parameters extracted from the URL\n              @param {Transition} transition\n              @return {any | Promise<any>} the model for this route.\n               Router.js hook.\n             */deserialize(_params,transition){return this.model(this._paramsFor(this.routeName,_params),transition);}/**\n              A hook you can use to setup the controller for the current route.\n               This method is called with the controller for the current route and the\n              model supplied by the `model` hook.\n               By default, the `setupController` hook sets the `model` property of\n              the controller to the specified `model` when it is not `undefined`.\n               If you implement the `setupController` hook in your Route, it will\n              prevent this default behavior. If you want to preserve that behavior\n              when implementing your `setupController` function, make sure to call\n              `super`:\n               ```app/routes/photos.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class PhotosRoute extends Route {\n                @service store;\n                 model() {\n                  return this.store.findAll('photo');\n                }\n                 setupController(controller, model) {\n                  super.setupController(controller, model);\n                   this.controllerFor('application').set('showingPhotos', true);\n                }\n              }\n              ```\n               The provided controller will be one resolved based on the name\n              of this route.\n               If no explicit controller is defined, Ember will automatically create one.\n               As an example, consider the router:\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' });\n              });\n               export default Router;\n              ```\n               If you have defined a file for the post controller,\n              the framework will use it.\n              If it is not defined, a basic `Controller` instance would be used.\n               @example Behavior of a basic Controller\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class PostRoute extends Route {\n                setupController(controller, model) {\n                  controller.set('model', model);\n                }\n              });\n              ```\n               @method setupController\n              @param {Controller} controller instance\n              @param {Object} model\n              @param {Transition} [transition]\n              @since 1.0.0\n              @public\n            */setupController(controller,context,_transition){if(controller&&context!==undefined){set(controller,'model',context);}}/**\n              Returns the controller of the current route, or a parent (or any ancestor)\n              route in a route hierarchy.\n               The controller instance must already have been created, either through entering the\n              associated route or using `generateController`.\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class PostRoute extends Route {\n                setupController(controller, post) {\n                  super.setupController(controller, post);\n                   this.controllerFor('posts').set('currentPost', post);\n                }\n              }\n              ```\n               @method controllerFor\n              @param {String} name the name of the route or controller\n              @return {Controller | undefined}\n              @since 1.0.0\n              @public\n            */controllerFor(name,_skipAssert=false){let owner=getOwner$2(this);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let route=owner.lookup(`route:${name}`);if(route&&route.controllerName){name=route.controllerName;}let controller=owner.lookup(`controller:${name}`);// NOTE: We're specifically checking that skipAssert is true, because according\n//   to the old API the second parameter was model. We do not want people who\n//   passed a model to skip the assertion.\n!(controller!==undefined||_skipAssert===true)&&assert$1(`The controller named '${name}' could not be found. Make sure that this route exists and has already been entered at least once. If you are accessing a controller not associated with a route, make sure the controller class is explicitly defined.`,controller!==undefined||_skipAssert===true);!(controller===undefined||controller instanceof Controller)&&assert$1(`Expected controller:${name} to be an instance of Controller`,controller===undefined||controller instanceof Controller);return controller;}/**\n              Generates a controller for a route.\n               Example\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n               export default class Post extends Route {\n                setupController(controller, post) {\n                  super.setupController(controller, post);\n                   this.generateController('posts');\n                }\n              }\n              ```\n               @method generateController\n              @param {String} name the name of the controller\n              @private\n            */generateController(name){let owner=getOwner$2(this);!owner&&assert$1('Route is unexpectedly missing an owner',owner);return generateController(owner,name);}/**\n              Returns the resolved model of a parent (or any ancestor) route\n              in a route hierarchy.  During a transition, all routes\n              must resolve a model object, and if a route\n              needs access to a parent route's model in order to\n              resolve a model (or just reuse the model from a parent),\n              it can call `this.modelFor(theNameOfParentRoute)` to\n              retrieve it. If the ancestor route's model was a promise,\n              its resolved result is returned.\n               Example\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('post', { path: '/posts/:post_id' }, function() {\n                  this.route('comments');\n                });\n              });\n               export default Router;\n              ```\n               ```app/routes/post/comments.js\n              import Route from '@ember/routing/route';\n               export default class PostCommentsRoute extends Route {\n                model() {\n                  let post = this.modelFor('post');\n                   return post.comments;\n                }\n              }\n              ```\n               @method modelFor\n              @param {String} name the name of the route\n              @return {Object} the model object\n              @since 1.0.0\n              @public\n            */modelFor(_name){let name;let owner=getOwner$2(this);!(owner instanceof EngineInstance)&&assert$1('Expected router owner to be an EngineInstance',owner instanceof EngineInstance);let transition=this._router&&this._router._routerMicrolib?this._router._routerMicrolib.activeTransition:undefined;// Only change the route name when there is an active transition.\n// Otherwise, use the passed in route name.\nif(owner.routable&&transition!==undefined){name=getEngineRouteName(owner,_name);}else{name=_name;}let route=owner.lookup(`route:${name}`);// If we are mid-transition, we want to try and look up\n// resolved parent contexts on the current transitionEvent.\nif(transition!==undefined&&transition!==null){let modelLookupName=route&&route.routeName||name;if(Object.prototype.hasOwnProperty.call(transition.resolvedModels,modelLookupName)){return transition.resolvedModels[modelLookupName];}}return route?.currentModel;}/**\n              `this[RENDER]` is used to set up the rendering option for the outlet state.\n              @method this[RENDER]\n              @private\n             */[RENDER](){this[RENDER_STATE]=buildRenderState(this);once(this._router,'_setOutlets');}willDestroy(){this.teardownViews();}/**\n              @private\n               @method teardownViews\n            */teardownViews(){if(this[RENDER_STATE]){this[RENDER_STATE]=undefined;once(this._router,'_setOutlets');}}/**\n              Allows you to produce custom metadata for the route.\n              The return value of this method will be attached to\n              its corresponding RouteInfoWithAttributes object.\n               Example\n               ```app/routes/posts/index.js\n              import Route from '@ember/routing/route';\n               export default class PostsIndexRoute extends Route {\n                buildRouteInfoMetadata() {\n                  return { title: 'Posts Page' }\n                }\n              }\n              ```\n               ```app/routes/application.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               export default class ApplicationRoute extends Route {\n                @service router\n                 constructor() {\n                  super(...arguments);\n                   this.router.on('routeDidChange', transition => {\n                    document.title = transition.to.metadata.title;\n                    // would update document's title to \"Posts Page\"\n                  });\n                }\n              }\n              ```\n              @method buildRouteInfoMetadata\n              @return any\n              @since 3.10.0\n              @public\n             */buildRouteInfoMetadata(){}_paramsFor(routeName,params){let transition=this._router._routerMicrolib.activeTransition;if(transition!==undefined){return this.paramsFor(routeName);}return params;}/** @deprecated Manually define your own store, such as with `@service store` */get _store(){const owner=getOwner$2(this);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let routeName=this.routeName;return{find(name,value){let modelClass=owner.factoryFor(`model:${name}`);!Boolean(modelClass)&&assert$1(`You used the dynamic segment \\`${name}_id\\` in your route `+`\\`${routeName}\\` for which Ember requires you provide a `+`data-loading implementation. Commonly, that is done by `+`adding a model hook implementation on the route `+`(\\`model({${name}_id}) {\\`) or by injecting an implemention of `+`a data store: \\`@service store;\\`.`,Boolean(modelClass));if(!modelClass){return;}modelClass=modelClass.class;!(typeof modelClass.find==='function')&&assert$1(`You used the dynamic segment \\`${name}_id\\` in your route `+`\\`${routeName}\\` for which Ember requires you provide a `+`data-loading implementation. Commonly, that is done by `+`adding a model hook implementation on the route `+`(\\`model({${name}_id}) {\\`) or by injecting an implemention of `+`a data store: \\`@service store;\\`.\\n\\n`+`Rarely, applications may attempt to use a legacy behavior where `+`the model class (in this case \\`${name}\\`) is resolved and the `+`\\`find\\` method on that class is invoked to load data. In this `+`application, a model of \\`${name}\\` was found but it did not `+`provide a \\`find\\` method. You should not add a \\`find\\` `+`method to your model. Instead, please implement an appropriate `+`\\`model\\` hook on the \\`${routeName}\\` route.`,typeof modelClass.find==='function');return modelClass.find(value);}};}/**\n              @private\n              @property _qp\n              */get _qp(){let combinedQueryParameterConfiguration={};let controllerName=this.controllerName||this.routeName;let owner=getOwner$2(this);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let controller=owner.lookup(`controller:${controllerName}`);let queryParameterConfiguraton=get$2(this,'queryParams');let hasRouterDefinedQueryParams=Object.keys(queryParameterConfiguraton).length>0;if(controller){!(controller instanceof Controller)&&assert$1('Expected an instance of controller',controller instanceof Controller);// the developer has authored a controller class in their application for\n// this route find its query params and normalize their object shape them\n// merge in the query params for the route. As a mergedProperty,\n// Route#queryParams is always at least `{}`\nlet controllerDefinedQueryParameterConfiguration=get$2(controller,'queryParams')||[];let normalizedControllerQueryParameterConfiguration=normalizeControllerQueryParams(controllerDefinedQueryParameterConfiguration);combinedQueryParameterConfiguration=mergeEachQueryParams(normalizedControllerQueryParameterConfiguration,queryParameterConfiguraton);}else if(hasRouterDefinedQueryParams){// the developer has not defined a controller but *has* supplied route query params.\n// Generate a class for them so we can later insert default values\ncontroller=generateController(owner,controllerName);combinedQueryParameterConfiguration=queryParameterConfiguraton;}let qps=[];let map={};let propertyNames=[];for(let propName in combinedQueryParameterConfiguration){if(!Object.prototype.hasOwnProperty.call(combinedQueryParameterConfiguration,propName)){continue;}// to support the dubious feature of using unknownProperty\n// on queryParams configuration\nif(propName==='unknownProperty'||propName==='_super'){// possible todo: issue deprecation warning?\ncontinue;}let desc=combinedQueryParameterConfiguration[propName];!desc&&assert$1(`[BUG] missing query parameter configuration for ${propName}`,desc);let scope=desc.scope||'model';let parts=undefined;if(scope==='controller'){parts=[];}let urlKey=desc.as||this.serializeQueryParamKey(propName);let defaultValue=get$2(controller,propName);defaultValue=copyDefaultValue(defaultValue);let type=desc.type||typeOf(defaultValue);let defaultValueSerialized=this.serializeQueryParam(defaultValue,urlKey,type);let scopedPropertyName=`${controllerName}:${propName}`;let qp={undecoratedDefaultValue:get$2(controller,propName),defaultValue,serializedDefaultValue:defaultValueSerialized,serializedValue:defaultValueSerialized,type,urlKey,prop:propName,scopedPropertyName,controllerName,route:this,parts,// provided later when stashNames is called if 'model' scope\nvalues:null,// provided later when setup is called. no idea why.\nscope};map[propName]=map[urlKey]=map[scopedPropertyName]=qp;qps.push(qp);propertyNames.push(propName);}return{qps,map,propertyNames,states:{/*\n                    Called when a query parameter changes in the URL, this route cares\n                    about that query parameter, but the route is not currently\n                    in the active route hierarchy.\n                  */inactive:(prop,value)=>{let qp=map[prop];!qp&&assert$1('expected inactive callback to only be called for registered qps',qp);this._qpChanged(prop,value,qp);},/*\n                    Called when a query parameter changes in the URL, this route cares\n                    about that query parameter, and the route is currently\n                    in the active route hierarchy.\n                  */active:(prop,value)=>{let qp=map[prop];!qp&&assert$1('expected active callback to only be called for registered qps',qp);this._qpChanged(prop,value,qp);return this._activeQPChanged(qp,value);},/*\n                    Called when a value of a query parameter this route handles changes in a controller\n                    and the route is currently in the active route hierarchy.\n                  */allowOverrides:(prop,value)=>{let qp=map[prop];!qp&&assert$1('expected allowOverrides callback to only be called for registered qps',qp);this._qpChanged(prop,value,qp);return this._updatingQPChanged(qp);}}};}// Set in reopen\n/**\n              Sends an action to the router, which will delegate it to the currently\n              active route hierarchy per the bubbling rules explained under `actions`.\n               Example\n               ```app/router.js\n              // ...\n               Router.map(function() {\n                this.route('index');\n              });\n               export default Router;\n              ```\n               ```app/routes/application.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class ApplicationRoute extends Route {\n                @action\n                track(arg) {\n                  console.log(arg, 'was clicked');\n                }\n              }\n              ```\n               ```app/routes/index.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class IndexRoute extends Route {\n                @action\n                trackIfDebug(arg) {\n                  if (debug) {\n                    this.send('track', arg);\n                  }\n                }\n              }\n              ```\n               @method send\n              @param {String} name the name of the action to trigger\n              @param {...*} args\n              @since 1.0.0\n              @public\n            */// Set with reopen to override parent behavior\n}_Route=Route;_defineProperty(Route,\"isRouteFactory\",true);decorateMethodV2(_Route.prototype,\"_store\",[computed]);decorateMethodV2(_Route.prototype,\"_qp\",[computed]);function getRenderState(route){return route[RENDER_STATE];}function buildRenderState(route){let owner=getOwner$2(route);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let name=route.routeName;let controller=owner.lookup(`controller:${route.controllerName||name}`);!(controller instanceof Controller)&&assert$1('Expected an instance of controller',controller instanceof Controller);let model=route.currentModel;let templateFactoryOrComponent=owner.lookup(`template:${route.templateName||name}`);// Now we support either a component or a template to be returned by this\n// resolver call, but if it's a `TemplateFactory`, we need to instantiate\n// it into a `Template`, since that's what `RenderState` wants. We can't\n// easily change it, it's intimate API used by @ember/test-helpers and the\n// like. We could compatibly allow `Template` | `TemplateFactory`, and that's\n// what it used to do but we _just_ went through deprecations to get that\n// removed. It's also not ideal since once you mix the two types, they are\n// not exactly easy to tell apart.\n//\n// It may also be tempting to just normalize `Template` into `RouteTemplate`\n// here, and we could. However, this is not the only entrypoint where this\n// `RenderState` is made – @ember/test-helpers punches through an impressive\n// amount of private API to set it directly, and this feature would also be\n// useful for them. So, even if we had normalized here, we'd still have to\n// check and do that again during render anyway.\nlet template;if(templateFactoryOrComponent){if(hasInternalComponentManager(templateFactoryOrComponent)){template=templateFactoryOrComponent;}else{if(typeof templateFactoryOrComponent!=='function'){let label;try{label=`\\`${String(templateFactoryOrComponent)}\\``;}catch{label='an unknown object';}assert$1(`Failed to render the ${name} route, expected `+`\\`template:${route.templateName||name}\\` to resolve into `+`a component or a \\`TemplateFactory\\`, got: ${label}. `+`Most likely an improperly defined class or an invalid module export.`);}template=templateFactoryOrComponent(owner);}}else{// default `{{outlet}}`\ntemplate=route._topLevelViewTemplate(owner);}let render={owner,name,controller,model,template};{let LOG_VIEW_LOOKUPS=get$2(route._router,'namespace.LOG_VIEW_LOOKUPS');// This is covered by tests and the existing code was deliberately\n// targeting the value prior to normalization, but is this message actually\n// accurate? It seems like we will always default the `{{outlet}}` template\n// so I'm not sure about \"Nothing will be rendered?\" (who consumes these\n// logs anyway? as lookups happen more infrequently now I doubt this is all\n// that useful)\nif(LOG_VIEW_LOOKUPS&&!templateFactoryOrComponent){info(`Could not find \"${name}\" template. Nothing will be rendered`,{fullName:`template:${name}`});}}return render;}function getFullQueryParams(router,state){if(state.fullQueryParams){return state.fullQueryParams;}let haveAllRouteInfosResolved=state.routeInfos.every(routeInfo=>routeInfo.route);let fullQueryParamsState={...state.queryParams};router._deserializeQueryParams(state.routeInfos,fullQueryParamsState);// only cache query params state if all routeinfos have resolved; it's possible\n// for lazy routes to not have resolved when `getFullQueryParams` is called, so\n// we wait until all routes have resolved prior to caching query params state\nif(haveAllRouteInfosResolved){state.fullQueryParams=fullQueryParamsState;}return fullQueryParamsState;}function getQueryParamsFor(route,state){state.queryParamsFor=state.queryParamsFor||{};let name=route.fullRouteName;let existing=state.queryParamsFor[name];if(existing){return existing;}let fullQueryParams=getFullQueryParams(route._router,state);let params=state.queryParamsFor[name]={};// Copy over all the query params for this route/controller into params hash.\n// SAFETY: Since `_qp` is protected we can't infer the type\nlet qps=get$2(route,'_qp').qps;for(let qp of qps){// Put deserialized qp on params hash.\nlet qpValueWasPassedIn=qp.prop in fullQueryParams;params[qp.prop]=qpValueWasPassedIn?fullQueryParams[qp.prop]:copyDefaultValue(qp.defaultValue);}return params;}// FIXME: This should probably actually return a `NativeArray` if the passed in value is an Array.\nfunction copyDefaultValue(value){if(Array.isArray(value)){// SAFETY: We lost the type data about the array if we don't cast.\nreturn A(value.slice());}return value;}/*\n            Merges all query parameters from a controller with those from\n            a route, returning a new object and avoiding any mutations to\n            the existing objects.\n          */function mergeEachQueryParams(controllerQP,routeQP){let qps={};let keysAlreadyMergedOrSkippable={defaultValue:true,type:true,scope:true,as:true};// first loop over all controller qps, merging them with any matching route qps\n// into a new empty object to avoid mutating.\nfor(let cqpName in controllerQP){if(!Object.prototype.hasOwnProperty.call(controllerQP,cqpName)){continue;}qps[cqpName]={...controllerQP[cqpName],...routeQP[cqpName]};// allows us to skip this QP when we check route QPs.\nkeysAlreadyMergedOrSkippable[cqpName]=true;}// loop over all route qps, skipping those that were merged in the first pass\n// because they also appear in controller qps\nfor(let rqpName in routeQP){if(!Object.prototype.hasOwnProperty.call(routeQP,rqpName)||keysAlreadyMergedOrSkippable[rqpName]){continue;}qps[rqpName]={...routeQP[rqpName],...controllerQP[rqpName]};}return qps;}function addQueryParamsObservers(controller,propNames){propNames.forEach(prop=>{if(descriptorForProperty(controller,prop)===undefined){let desc=lookupDescriptor(controller,prop);if(desc!==null&&(typeof desc.get==='function'||typeof desc.set==='function')){defineProperty(controller,prop,dependentKeyCompat({get:desc.get,set:desc.set}));}}addObserver(controller,`${prop}.[]`,controller,controller._qpChanged,false);});}function getEngineRouteName(engine,routeName){if(engine.routable){let prefix=engine.mountPoint;if(routeName==='application'){return prefix;}else{return`${prefix}.${routeName}`;}}return routeName;}const defaultSerialize=Route.prototype.serialize;function hasDefaultSerialize(route){return route.serialize===defaultSerialize;}// Set these here so they can be overridden with extend\nRoute.reopen({mergedProperties:['queryParams'],queryParams:{},templateName:null,controllerName:null,send(...args){!(!this.isDestroying&&!this.isDestroyed)&&assert$1(`Attempted to call .send() with the action '${args[0]}' on the destroyed route '${this.routeName}'.`,!this.isDestroying&&!this.isDestroyed);if(this._router&&this._router._routerMicrolib||!isTesting()){this._router.send(...args);}else{let name=args.shift();let action=this.actions[name];if(action){return action.apply(this,args);}}},/**\n              The controller associated with this route.\n               Example\n               ```app/routes/form.js\n              import Route from '@ember/routing/route';\n              import { action } from '@ember/object';\n               export default class FormRoute extends Route {\n                @action\n                willTransition(transition) {\n                  if (this.controller.get('userHasEnteredData') &&\n                      !confirm('Are you sure you want to abandon progress?')) {\n                    transition.abort();\n                  } else {\n                    // Bubble the `willTransition` action so that\n                    // parent routes can decide whether or not to abort.\n                    return true;\n                  }\n                }\n              }\n              ```\n               @property controller\n              @type Controller\n              @since 1.6.0\n              @public\n            */actions:{/**\n              This action is called when one or more query params have changed. Bubbles.\n               @method queryParamsDidChange\n              @param changed {Object} Keys are names of query params that have changed.\n              @param totalPresent {Object} Keys are names of query params that are currently set.\n              @param removed {Object} Keys are names of query params that have been removed.\n              @returns {boolean}\n              @private\n              */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nqueryParamsDidChange(changed,_totalPresent,removed){// SAFETY: Since `_qp` is protected we can't infer the type\nlet qpMap=get$2(this,'_qp').map;let totalChanged=Object.keys(changed).concat(Object.keys(removed));for(let change of totalChanged){let qp=qpMap[change];if(qp){let options=this._optionsForQueryParam(qp);!(options&&typeof options==='object')&&assert$1('options exists',options&&typeof options==='object');if(get$2(options,'refreshModel')&&this._router.currentState){this.refresh();break;}}}return true;},finalizeQueryParamChange(params,// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nfinalParams,transition){if(this.fullRouteName!=='application'){return true;}// Transition object is absent for intermediate transitions.\nif(!transition){return;}let routeInfos=transition[STATE_SYMBOL].routeInfos;let router=this._router;let qpMeta=router._queryParamsFor(routeInfos);let changes=router._qpUpdates;let qpUpdated=false;let replaceUrl;stashParamNames(router,routeInfos);for(let qp of qpMeta.qps){let route=qp.route;let controller=route.controller;let presentKey=qp.urlKey in params&&qp.urlKey;// Do a reverse lookup to see if the changed query\n// param URL key corresponds to a QP property on\n// this controller.\nlet value;let svalue;if(changes.has(qp.urlKey)){// Value updated in/before setupController\nvalue=get$2(controller,qp.prop);svalue=route.serializeQueryParam(value,qp.urlKey,qp.type);}else{if(presentKey){svalue=params[presentKey];if(svalue!==undefined){value=route.deserializeQueryParam(svalue,qp.urlKey,qp.type);}}else{// No QP provided; use default value.\nsvalue=qp.serializedDefaultValue;value=copyDefaultValue(qp.defaultValue);}}// SAFETY: Since `_qp` is protected we can't infer the type\ncontroller._qpDelegate=get$2(route,'_qp').states.inactive;let thisQueryParamChanged=svalue!==qp.serializedValue;if(thisQueryParamChanged){if(transition.queryParamsOnly&&replaceUrl!==false){let options=route._optionsForQueryParam(qp);let replaceConfigValue=get$2(options,'replace');if(replaceConfigValue){replaceUrl=true;}else if(replaceConfigValue===false){// Explicit pushState wins over any other replaceStates.\nreplaceUrl=false;}}set(controller,qp.prop,value);qpUpdated=true;}// Stash current serialized value of controller.\nqp.serializedValue=svalue;let thisQueryParamHasDefaultValue=qp.serializedDefaultValue===svalue;if(!thisQueryParamHasDefaultValue){finalParams.push({value:svalue,visible:true,key:presentKey||qp.urlKey});}}// Some QPs have been updated, and those changes need to be propogated\n// immediately. Eventually, we should work on making this async somehow.\nif(qpUpdated===true){flushAsyncObservers(false);}if(replaceUrl){transition.method('replace');}qpMeta.qps.forEach(qp=>{// SAFETY: Since `_qp` is protected we can't infer the type\nlet routeQpMeta=get$2(qp.route,'_qp');let finalizedController=qp.route.controller;finalizedController['_qpDelegate']=get$2(routeQpMeta,'states.active');});router._qpUpdates.clear();return;}}});const emberRoutingRoute=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Route,defaultSerialize,getFullQueryParams,getRenderState,hasDefaultSerialize},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/router\n          */function defaultDidTransition(infos){updatePaths(this);this._cancelSlowTransitionTimer();this.notifyPropertyChange('url');this.set('currentState',this.targetState);{// @ts-expect-error namespace isn't public\nif(this.namespace.LOG_TRANSITIONS){// eslint-disable-next-line no-console\nconsole.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);}}}function defaultWillTransition(oldInfos,newInfos){{// @ts-expect-error namespace isn't public\nif(this.namespace.LOG_TRANSITIONS){// eslint-disable-next-line no-console\nconsole.log(`Preparing to transition from '${EmberRouter._routePath(oldInfos)}' to '${EmberRouter._routePath(newInfos)}'`);}}}let freezeRouteInfo;{freezeRouteInfo=transition=>{if(transition.from!==null&&!Object.isFrozen(transition.from)){Object.freeze(transition.from);}if(transition.to!==null&&!Object.isFrozen(transition.to)){Object.freeze(transition.to);}};}function K(){return this;}const{slice}=Array.prototype;/**\n            The `EmberRouter` class manages the application state and URLs. Refer to\n            the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n\n            @class EmberRouter\n            @extends EmberObject\n            @uses Evented\n            @public\n          */class EmberRouter extends EmberObject.extend(Evented){/**\n              The `Router.map` function allows you to define mappings from URLs to routes\n              in your application. These mappings are defined within the\n              supplied callback function using `this.route`.\n               The first parameter is the name of the route which is used by default as the\n              path name as well.\n               The second parameter is the optional options hash. Available options are:\n                 * `path`: allows you to provide your own path as well as mark dynamic\n                  segments.\n                * `resetNamespace`: false by default; when nesting routes, ember will\n                  combine the route names to form the fully-qualified route name, which is\n                  used with `{{link-to}}` or manually transitioning to routes. Setting\n                  `resetNamespace: true` will cause the route not to inherit from its\n                  parent route's names. This is handy for preventing extremely long route names.\n                  Keep in mind that the actual URL path behavior is still retained.\n               The third parameter is a function, which can be used to nest routes.\n              Nested routes, by default, will have the parent route tree's route name and\n              path prepended to it's own.\n               ```app/router.js\n              Router.map(function(){\n                this.route('post', { path: '/post/:post_id' }, function() {\n                  this.route('edit');\n                  this.route('comments', { resetNamespace: true }, function() {\n                    this.route('new');\n                  });\n                });\n              });\n              ```\n               @method map\n              @param callback\n              @public\n            */static map(callback){if(!this.dslCallbacks){this.dslCallbacks=[];// FIXME: Can we remove this?\nthis.reopenClass({dslCallbacks:this.dslCallbacks});}this.dslCallbacks.push(callback);return this;}static _routePath(routeInfos){let path=[];// We have to handle coalescing resource names that\n// are prefixed with their parent's names, e.g.\n// ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\nfunction intersectionMatches(a1,a2){for(let i=0;i<a1.length;++i){if(a1[i]!==a2[i]){return false;}}return true;}let name,nameParts,oldNameParts;for(let i=1;i<routeInfos.length;i++){let routeInfo=routeInfos[i];!routeInfo&&assert$1('has routeInfo',routeInfo);name=routeInfo.name;nameParts=name.split('.');oldNameParts=slice.call(path);while(oldNameParts.length){if(intersectionMatches(oldNameParts,nameParts)){break;}oldNameParts.shift();}path.push(...nameParts.slice(oldNameParts.length));}return path.join('.');}// Note that owner is actually required in this scenario, but since it is strictly\n// optional in other contexts trying to make it required here confuses TS.\nconstructor(owner){super(owner);/**\n             Represents the URL of the root of the application, often '/'. This prefix is\n              assumed on all routes defined on this router.\n               @property rootURL\n              @default '/'\n              @public\n            */// Set with reopen to allow overriding via extend\n/**\n             The `location` property determines the type of URL's that your\n              application will use.\n               The following location types are currently available:\n               * `history` - use the browser's history API to make the URLs look just like any standard URL\n              * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n              * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n              * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n               This value is defaulted to `history` by the `locationType` setting of `/config/environment.js`\n               @property location\n              @default 'hash'\n              @see {Location}\n              @public\n            */// Set with reopen to allow overriding via extend\n_defineProperty(this,\"_routerMicrolib\",void 0);_defineProperty(this,\"_didSetupRouter\",false);_defineProperty(this,\"_initialTransitionStarted\",false);_defineProperty(this,\"currentURL\",null);_defineProperty(this,\"currentRouteName\",null);_defineProperty(this,\"currentPath\",null);_defineProperty(this,\"currentRoute\",null);_defineProperty(this,\"_qpCache\",Object.create(null));// Set of QueryParam['urlKey']\n_defineProperty(this,\"_qpUpdates\",new Set());_defineProperty(this,\"_queuedQPChanges\",{});_defineProperty(this,\"_bucketCache\",void 0);_defineProperty(this,\"_toplevelView\",null);_defineProperty(this,\"_handledErrors\",new Set());_defineProperty(this,\"_engineInstances\",Object.create(null));_defineProperty(this,\"_engineInfoByRoute\",Object.create(null));_defineProperty(this,\"_routerService\",void 0);_defineProperty(this,\"_slowTransitionTimer\",null);_defineProperty(this,\"namespace\",void 0);_defineProperty(this,\"currentState\",null);_defineProperty(this,\"targetState\",null);!owner&&assert$1('BUG: Missing owner',owner);this._resetQueuedQueryParameterChanges();this.namespace=owner.lookup('application:main');let bucketCache=owner.lookup(privatize`-bucket-cache:main`);!(bucketCache instanceof BucketCache)&&assert$1('BUG: BucketCache should always be present',bucketCache instanceof BucketCache);this._bucketCache=bucketCache;let routerService=owner.lookup('service:router');!(routerService!==undefined)&&assert$1('BUG: RouterService should always be present',routerService!==undefined);this._routerService=routerService;}_initRouterJs(){let location=get$2(this,'location');let router=this;const owner=getOwner$1(this);!owner&&assert$1('Router is unexpectedly missing an owner',owner);let seen=Object.create(null);class PrivateRouter extends Router{getRoute(name){let routeName=name;let routeOwner=owner;let engineInfo=router._engineInfoByRoute[routeName];if(engineInfo){let engineInstance=router._getEngineInstance(engineInfo);routeOwner=engineInstance;routeName=engineInfo.localFullName;}let fullRouteName=`route:${routeName}`;!routeOwner&&assert$1('Route is unexpectedly missing an owner',routeOwner);let route=routeOwner.lookup(fullRouteName);if(seen[name]){!route&&assert$1('seen routes should exist',route);return route;}seen[name]=true;if(!route){// SAFETY: this is configured in `commonSetupRegistry` in the\n// `@ember/application/lib` package.\nlet DefaultRoute=routeOwner.factoryFor('route:basic').class;routeOwner.register(fullRouteName,DefaultRoute.extend());route=routeOwner.lookup(fullRouteName);{if(router.namespace.LOG_ACTIVE_GENERATION){info(`generated -> ${fullRouteName}`,{fullName:fullRouteName});}}}route._setRouteName(routeName);if(engineInfo&&!hasDefaultSerialize(route)){throw new Error('Defining a custom serialize method on an Engine route is not supported.');}return route;}getSerializer(name){let engineInfo=router._engineInfoByRoute[name];// If this is not an Engine route, we fall back to the handler for serialization\nif(!engineInfo){return;}return engineInfo.serializeMethod||defaultSerialize;}updateURL(path){once(()=>{location.setURL(path);set(router,'currentURL',path);});}// TODO: merge into routeDidChange\ndidTransition(infos){!(router.didTransition===defaultDidTransition)&&assert$1('You attempted to override the \"didTransition\" method which has been deprecated. Please inject the router service and listen to the \"routeDidChange\" event.',router.didTransition===defaultDidTransition);router.didTransition(infos);}// TODO: merge into routeWillChange\nwillTransition(oldInfos,newInfos){!(router.willTransition===defaultWillTransition)&&assert$1('You attempted to override the \"willTransition\" method which has been deprecated. Please inject the router service and listen to the \"routeWillChange\" event.',router.willTransition===defaultWillTransition);router.willTransition(oldInfos,newInfos);}triggerEvent(routeInfos,ignoreFailure,name,args){return triggerEvent.bind(router)(routeInfos,ignoreFailure,name,args);}routeWillChange(transition){router.trigger('routeWillChange',transition);{freezeRouteInfo(transition);}router._routerService.trigger('routeWillChange',transition);// in case of intermediate transition we update the current route\n// to make router.currentRoute.name consistent with router.currentRouteName\n// see https://github.com/emberjs/ember.js/issues/19449\nif(transition.isIntermediate){router.set('currentRoute',transition.to);}}routeDidChange(transition){router.set('currentRoute',transition.to);once(()=>{router.trigger('routeDidChange',transition);{freezeRouteInfo(transition);}router._routerService.trigger('routeDidChange',transition);});}transitionDidError(error,transition){if(error.wasAborted||transition.isAborted){// If the error was a transition erorr or the transition aborted\n// log the abort.\nreturn logAbort(transition);}else{// Otherwise trigger the \"error\" event to attempt an intermediate\n// transition into an error substate\ntransition.trigger(false,'error',error.error,transition,error.route);if(router._isErrorHandled(error.error)){// If we handled the error with a substate just roll the state back on\n// the transition and send the \"routeDidChange\" event for landing on\n// the error substate and return the error.\ntransition.rollback();this.routeDidChange(transition);return error.error;}else{// If it was not handled, abort the transition completely and return\n// the error.\ntransition.abort();return error.error;}}}replaceURL(url){if(location.replaceURL){let doReplaceURL=()=>{location.replaceURL(url);set(router,'currentURL',url);};once(doReplaceURL);}else{this.updateURL(url);}}}let routerMicrolib=this._routerMicrolib=new PrivateRouter();let dslCallbacks=this.constructor.dslCallbacks||[K];let dsl=this._buildDSL();dsl.route('application',{path:'/',resetNamespace:true,overrideNameAssertion:true},function(){for(let i=0;i<dslCallbacks.length;i++){dslCallbacks[i].call(this);}});{if(this.namespace.LOG_TRANSITIONS_INTERNAL){routerMicrolib.log=console.log.bind(console);// eslint-disable-line no-console\n}}routerMicrolib.map(dsl.generate());}_buildDSL(){let enableLoadingSubstates=this._hasModuleBasedResolver();let router=this;const owner=getOwner$1(this);!owner&&assert$1('Router is unexpectedly missing an owner',owner);let options={enableLoadingSubstates,resolveRouteMap(name){return owner.factoryFor(`route-map:${name}`);},addRouteForEngine(name,engineInfo){if(!router._engineInfoByRoute[name]){router._engineInfoByRoute[name]=engineInfo;}}};return new DSLImpl(null,options);}/*\n              Resets all pending query parameter changes.\n              Called after transitioning to a new route\n              based on query parameter changes.\n            */_resetQueuedQueryParameterChanges(){this._queuedQPChanges={};}_hasModuleBasedResolver(){let owner=getOwner$1(this);!owner&&assert$1('Router is unexpectedly missing an owner',owner);let resolver=get$2(owner,'application.__registry__.resolver.moduleBasedResolver');return Boolean(resolver);}/**\n              Initializes the current router instance and sets up the change handling\n              event listeners used by the instances `location` implementation.\n               A property named `initialURL` will be used to determine the initial URL.\n              If no value is found `/` will be used.\n               @method startRouting\n              @private\n            */startRouting(){if(this.setupRouter()){let initialURL=get$2(this,'initialURL');if(initialURL===undefined){initialURL=get$2(this,'location').getURL();}let initialTransition=this.handleURL(initialURL);if(initialTransition&&initialTransition.error){throw initialTransition.error;}}}setupRouter(){if(this._didSetupRouter){return false;}this._didSetupRouter=true;this._setupLocation();let location=get$2(this,'location');// Allow the Location class to cancel the router setup while it refreshes\n// the page\nif(get$2(location,'cancelRouterSetup')){return false;}this._initRouterJs();location.onUpdateURL(url=>{this.handleURL(url);});return true;}_setOutlets(){// This is triggered async during Route#willDestroy.\n// If the router is also being destroyed we do not want to\n// to create another this._toplevelView (and leak the renderer)\nif(this.isDestroying||this.isDestroyed){return;}let routeInfos=this._routerMicrolib.currentRouteInfos;if(!routeInfos){return;}let root=null;let parent=null;for(let routeInfo of routeInfos){let route=routeInfo.route;let render=getRenderState(route);if(render){let state={render,outlets:{main:undefined}};if(parent){parent.outlets.main=state;}else{root=state;}parent=state;}else{// It used to be that we would create a stub entry and keep traversing,\n// but I don't think that is necessary anymore – if a parent route did\n// not render, then the child routes have nowhere to render into these\n// days. That wasn't always the case since in the past any route can\n// render into any other route's outlets.\nbreak;}}// when a transitionTo happens after the validation phase\n// during the initial transition _setOutlets is called\n// when no routes are active. However, it will get called\n// again with the correct values during the next turn of\n// the runloop\nif(root===null){return;}if(!this._toplevelView){let owner=getOwner$1(this);!owner&&assert$1('Router is unexpectedly missing an owner',owner);// SAFETY: we don't presently have any type registries internally to make\n// this safe, so in each of these cases we assume that nothing *else* is\n// registered at this `FullName`, and simply check to make sure that\n// *something* is.\nlet OutletView=owner.factoryFor('view:-outlet');!(OutletView!==undefined)&&assert$1('[BUG] unexpectedly missing `view:-outlet`',OutletView!==undefined);let application=owner.lookup('application:main');!(application!==undefined)&&assert$1('[BUG] unexpectedly missing `application:-main`',application!==undefined);let environment=owner.lookup('-environment:main');!(environment!==undefined)&&assert$1('[BUG] unexpectedly missing `-environment:main`',environment!==undefined);let template=owner.lookup('template:-outlet');!(template!==undefined)&&assert$1('[BUG] unexpectedly missing `template:-outlet`',template!==undefined);this._toplevelView=OutletView.create({environment,template,application});this._toplevelView.setOutletState(root);// TODO(SAFETY): At least one test runs without this set correctly. At a\n// later time, update the test to configure this correctly. The test ID:\n// `Router Service - non application test:  RouterService#transitionTo with basic route`\nlet instance=owner.lookup('-application-instance:main');// let instance = owner.lookup('-application-instance:main') as ApplicationInstance | undefined;\n// assert('[BUG] unexpectedly missing `-application-instance:main`', instance !== undefined);\nif(instance){// SAFETY: LOL. This is calling a deprecated API with a type that we\n// cannot actually confirm at a type level *is* a `ViewMixin`. Seems:\n// not great on multiple fronts!\ninstance.didCreateRootView(this._toplevelView);}}else{this._toplevelView.setOutletState(root);}}handleURL(url){// Until we have an ember-idiomatic way of accessing #hashes, we need to\n// remove it because router.js doesn't know how to handle it.\nlet _url=url.split(/#(.+)?/)[0];return this._doURLTransition('handleURL',_url);}_doURLTransition(routerJsMethod,url){this._initialTransitionStarted=true;let transition=this._routerMicrolib[routerJsMethod](url||'/');didBeginTransition(transition,this);return transition;}/**\n              Transition the application into another route. The route may\n              be either a single route or route path:\n               @method transitionTo\n              @param {String} [name] the name of the route or a URL\n              @param {...Object} models the model(s) or identifier(s) to be used while\n                transitioning to the route.\n              @param {Object} [options] optional hash with a queryParams property\n                containing a mapping of query parameters\n              @return {Transition} the transition object associated with this\n                attempted transition\n              @public\n            */transitionTo(...args){if(resemblesURL(args[0])){!(!this.isDestroying&&!this.isDestroyed)&&assert$1(`A transition was attempted from '${this.currentRouteName}' to '${args[0]}' but the application instance has already been destroyed.`,!this.isDestroying&&!this.isDestroyed);return this._doURLTransition('transitionTo',args[0]);}let{routeName,models,queryParams}=extractRouteArgs(args);!(!this.isDestroying&&!this.isDestroyed)&&assert$1(`A transition was attempted from '${this.currentRouteName}' to '${routeName}' but the application instance has already been destroyed.`,!this.isDestroying&&!this.isDestroyed);return this._doTransition(routeName,models,queryParams);}intermediateTransitionTo(name,...args){this._routerMicrolib.intermediateTransitionTo(name,...args);updatePaths(this);{let infos=this._routerMicrolib.currentRouteInfos;if(this.namespace.LOG_TRANSITIONS){!infos&&assert$1('expected infos to be set',infos);// eslint-disable-next-line no-console\nconsole.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);}}}/**\n              Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n              it replaces the entry for the current route.\n              When the user clicks the \"back\" button in the browser, there will be fewer steps.\n              This is most commonly used to manage redirects in a way that does not cause confusing additions\n              to the user's browsing history.\n               @method replaceWith\n              @param {String} [name] the name of the route or a URL\n              @param {...Object} models the model(s) or identifier(s) to be used while\n                transitioning to the route.\n              @param {Object} [options] optional hash with a queryParams property\n                containing a mapping of query parameters\n              @return {Transition} the transition object associated with this\n                attempted transition\n              @public\n            */replaceWith(...args){return this.transitionTo(...args).method('replace');}generate(name,...args){let url=this._routerMicrolib.generate(name,...args);!(typeof this.location!=='string')&&assert$1('expected non-string location',typeof this.location!=='string');return this.location.formatURL(url);}/**\n              Determines if the supplied route is currently active.\n               @method isActive\n              @param routeName\n              @return {Boolean}\n              @private\n            */isActive(routeName){return this._routerMicrolib.isActive(routeName);}/**\n              An alternative form of `isActive` that doesn't require\n              manual concatenation of the arguments into a single\n              array.\n               @method isActiveIntent\n              @param routeName\n              @param models\n              @param queryParams\n              @return {Boolean}\n              @private\n              @since 1.7.0\n            */isActiveIntent(routeName,models,queryParams){return this.currentState.isActiveIntent(routeName,models,queryParams);}send(name,...args){/*name, context*/this._routerMicrolib.trigger(name,...args);}/**\n              Does this router instance have the given route.\n               @method hasRoute\n              @return {Boolean}\n              @private\n            */hasRoute(route){return this._routerMicrolib.hasRoute(route);}/**\n              Resets the state of the router by clearing the current route\n              handlers and deactivating them.\n               @private\n              @method reset\n             */reset(){this._didSetupRouter=false;this._initialTransitionStarted=false;if(this._routerMicrolib){this._routerMicrolib.reset();}}willDestroy(){if(this._toplevelView){this._toplevelView.destroy();this._toplevelView=null;}super.willDestroy();this.reset();let instances=this._engineInstances;for(let name in instances){let instanceMap=instances[name];!instanceMap&&assert$1('has instanceMap',instanceMap);for(let id in instanceMap){let instance=instanceMap[id];!instance&&assert$1('has instance',instance);run$1(instance,'destroy');}}}/*\n              Called when an active route's query parameter has changed.\n              These changes are batched into a runloop run and trigger\n              a single transition.\n            */_activeQPChanged(queryParameterName,newValue){this._queuedQPChanges[queryParameterName]=newValue;once(this,this._fireQueryParamTransition);}// The queryParameterName is QueryParam['urlKey']\n_updatingQPChanged(queryParameterName){this._qpUpdates.add(queryParameterName);}/*\n              Triggers a transition to a route based on query parameter changes.\n              This is called once per runloop, to batch changes.\n               e.g.\n               if these methods are called in succession:\n              this._activeQPChanged('foo', '10');\n                // results in _queuedQPChanges = { foo: '10' }\n              this._activeQPChanged('bar', false);\n                // results in _queuedQPChanges = { foo: '10', bar: false }\n               _queuedQPChanges will represent both of these changes\n              and the transition using `transitionTo` will be triggered\n              once.\n            */_fireQueryParamTransition(){this.transitionTo({queryParams:this._queuedQPChanges});this._resetQueuedQueryParameterChanges();}_setupLocation(){let location=this.location;let rootURL=this.rootURL;let owner=getOwner$1(this);!owner&&assert$1('Router is unexpectedly missing an owner',owner);if('string'===typeof location){let resolvedLocation=owner.lookup(`location:${location}`);!resolvedLocation&&assert$1(`Could not resolve a location class at 'location:${location}'`,resolvedLocation);location=set(this,'location',resolvedLocation);}if(location!==null&&typeof location==='object'){if(rootURL){set(location,'rootURL',rootURL);}// ensure that initState is called AFTER the rootURL is set on\n// the location instance\nif(typeof location.initState==='function'){location.initState();}}}/**\n              Serializes the given query params according to their QP meta information.\n               @private\n              @method _serializeQueryParams\n              @param {Arrray<RouteInfo>} routeInfos\n              @param {Object} queryParams\n              @return {Void}\n            */_serializeQueryParams(routeInfos,queryParams){forEachQueryParam(this,routeInfos,queryParams,(key,value,qp)=>{if(qp){delete queryParams[key];queryParams[qp.urlKey]=qp.route.serializeQueryParam(value,qp.urlKey,qp.type);}else if(value===undefined){return;// We don't serialize undefined values\n}else{queryParams[key]=this._serializeQueryParam(value,typeOf(value));}});}/**\n              Serializes the value of a query parameter based on a type\n               @private\n              @method _serializeQueryParam\n              @param {Object} value\n              @param {String} type\n            */_serializeQueryParam(value,type){if(value===null||value===undefined){return value;}else if(type==='array'){return JSON.stringify(value);}return`${value}`;}/**\n              Deserializes the given query params according to their QP meta information.\n               @private\n              @method _deserializeQueryParams\n              @param {Array<RouteInfo>} routeInfos\n              @param {Object} queryParams\n              @return {Void}\n            */_deserializeQueryParams(routeInfos,queryParams){forEachQueryParam(this,routeInfos,queryParams,(key,value,qp)=>{// If we don't have QP meta info for a given key, then we do nothing\n// because all values will be treated as strings\nif(qp){delete queryParams[key];queryParams[qp.prop]=qp.route.deserializeQueryParam(value,qp.urlKey,qp.type);}});}/**\n              Deserializes the value of a query parameter based on a default type\n               @private\n              @method _deserializeQueryParam\n              @param {Object} value\n              @param {String} defaultType\n            */_deserializeQueryParam(value,defaultType){if(value===null||value===undefined){return value;}else if(defaultType==='boolean'){return value==='true';}else if(defaultType==='number'){return Number(value).valueOf();}else if(defaultType==='array'){return A(JSON.parse(value));}return value;}/**\n              Removes (prunes) any query params with default values from the given QP\n              object. Default values are determined from the QP meta information per key.\n               @private\n              @method _pruneDefaultQueryParamValues\n              @param {Array<RouteInfo>} routeInfos\n              @param {Object} queryParams\n              @return {Void}\n            */_pruneDefaultQueryParamValues(routeInfos,queryParams){let qps=this._queryParamsFor(routeInfos);for(let key in queryParams){let qp=qps.map[key];if(qp&&qp.serializedDefaultValue===queryParams[key]){delete queryParams[key];}}}_doTransition(_targetRouteName,models,_queryParams,_fromRouterService){let targetRouteName=_targetRouteName||getActiveTargetName(this._routerMicrolib);!(Boolean(targetRouteName)&&this._routerMicrolib.hasRoute(targetRouteName))&&assert$1(`The route ${targetRouteName} was not found`,Boolean(targetRouteName)&&this._routerMicrolib.hasRoute(targetRouteName));this._initialTransitionStarted=true;let queryParams={};this._processActiveTransitionQueryParams(targetRouteName,models,queryParams,_queryParams);Object.assign(queryParams,_queryParams);this._prepareQueryParams(targetRouteName,models,queryParams,Boolean(_fromRouterService));let transition=this._routerMicrolib.transitionTo(targetRouteName,...models,{queryParams});didBeginTransition(transition,this);return transition;}_processActiveTransitionQueryParams(targetRouteName,models,queryParams,// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n_queryParams){// merge in any queryParams from the active transition which could include\n// queryParams from the url on initial load.\nif(!this._routerMicrolib.activeTransition){return;}let unchangedQPs={};let qpUpdates=this._qpUpdates;let params=getFullQueryParams(this,this._routerMicrolib.activeTransition[STATE_SYMBOL]);for(let key in params){if(!qpUpdates.has(key)){unchangedQPs[key]=params[key];}}// We need to fully scope queryParams so that we can create one object\n// that represents both passed-in queryParams and ones that aren't changed\n// from the active transition.\nthis._fullyScopeQueryParams(targetRouteName,models,_queryParams);this._fullyScopeQueryParams(targetRouteName,models,unchangedQPs);Object.assign(queryParams,unchangedQPs);}/**\n              Prepares the query params for a URL or Transition. Restores any undefined QP\n              keys/values, serializes all values, and then prunes any default values.\n               @private\n              @method _prepareQueryParams\n              @param {String} targetRouteName\n              @param {Array<Object>} models\n              @param {Object} queryParams\n              @param {boolean} keepDefaultQueryParamValues\n              @return {Void}\n            */_prepareQueryParams(targetRouteName,models,queryParams,_fromRouterService){let state=calculatePostTransitionState(this,targetRouteName,models);this._hydrateUnsuppliedQueryParams(state,queryParams,Boolean(_fromRouterService));this._serializeQueryParams(state.routeInfos,queryParams);if(!_fromRouterService){this._pruneDefaultQueryParamValues(state.routeInfos,queryParams);}}/**\n              Returns the meta information for the query params of a given route. This\n              will be overridden to allow support for lazy routes.\n               @private\n              @method _getQPMeta\n              @param {RouteInfo} routeInfo\n              @return {Object}\n            */_getQPMeta(routeInfo){let route=routeInfo.route;return route&&get$2(route,'_qp');}/**\n              Returns a merged query params meta object for a given set of routeInfos.\n              Useful for knowing what query params are available for a given route hierarchy.\n               @private\n              @method _queryParamsFor\n              @param {Array<RouteInfo>} routeInfos\n              @return {Object}\n             */_queryParamsFor(routeInfos){let routeInfoLength=routeInfos.length;let leafRouteName=routeInfos[routeInfoLength-1].name;let cached=this._qpCache[leafRouteName];if(cached!==undefined){return cached;}let shouldCache=true;let map={};let qps=[];let qpsByUrlKey={};let qpMeta;let urlKey;let qpOther;for(let routeInfo of routeInfos){qpMeta=this._getQPMeta(routeInfo);if(!qpMeta){shouldCache=false;continue;}// Loop over each QP to make sure we don't have any collisions by urlKey\nfor(let qp of qpMeta.qps){{urlKey=qp.urlKey;qpOther=qpsByUrlKey[urlKey];if(qpOther&&qpOther.controllerName!==qp.controllerName){assert$1(`You're not allowed to have more than one controller property map to the same query param key, but both \\`${qpOther.scopedPropertyName}\\` and \\`${qp.scopedPropertyName}\\` map to \\`${urlKey}\\`. You can fix this by mapping one of the controller properties to a different query param key via the \\`as\\` config option, e.g. \\`${qpOther.prop}: { as: 'other-${qpOther.prop}' }\\``,false);}qpsByUrlKey[urlKey]=qp;}qps.push(qp);}Object.assign(map,qpMeta.map);}let finalQPMeta={qps,map};if(shouldCache){this._qpCache[leafRouteName]=finalQPMeta;}return finalQPMeta;}/**\n              Maps all query param keys to their fully scoped property name of the form\n              `controllerName:propName`.\n               @private\n              @method _fullyScopeQueryParams\n              @param {String} leafRouteName\n              @param {Array<Object>} contexts\n              @param {Object} queryParams\n              @return {Void}\n            */_fullyScopeQueryParams(leafRouteName,contexts,queryParams){let state=calculatePostTransitionState(this,leafRouteName,contexts);let routeInfos=state.routeInfos;let qpMeta;for(let routeInfo of routeInfos){qpMeta=this._getQPMeta(routeInfo);if(!qpMeta){continue;}for(let qp of qpMeta.qps){let presentProp=qp.prop in queryParams&&qp.prop||qp.scopedPropertyName in queryParams&&qp.scopedPropertyName||qp.urlKey in queryParams&&qp.urlKey;if(presentProp){if(presentProp!==qp.scopedPropertyName){queryParams[qp.scopedPropertyName]=queryParams[presentProp];delete queryParams[presentProp];}}}}}/**\n              Hydrates (adds/restores) any query params that have pre-existing values into\n              the given queryParams hash. This is what allows query params to be \"sticky\"\n              and restore their last known values for their scope.\n               @private\n              @method _hydrateUnsuppliedQueryParams\n              @param {TransitionState} state\n              @param {Object} queryParams\n              @return {Void}\n            */_hydrateUnsuppliedQueryParams(state,queryParams,_fromRouterService){let routeInfos=state.routeInfos;let appCache=this._bucketCache;let qpMeta;let qp;let presentProp;for(let routeInfo of routeInfos){qpMeta=this._getQPMeta(routeInfo);if(!qpMeta){continue;}// Needs to stay for index loop to avoid throwIfClosureRequired\nfor(let j=0,qpLen=qpMeta.qps.length;j<qpLen;++j){qp=qpMeta.qps[j];!qp&&assert$1('expected qp',qp);presentProp=qp.prop in queryParams&&qp.prop||qp.scopedPropertyName in queryParams&&qp.scopedPropertyName||qp.urlKey in queryParams&&qp.urlKey;!function(){if(qp.urlKey===presentProp||qp.scopedPropertyName===presentProp){return true;}if(_fromRouterService&&presentProp!==false&&qp.urlKey!==qp.prop){// assumptions (mainly from current transitionTo_test):\n// - this is only supposed to be run when there is an alias to a query param and the alias is used to set the param\n// - when there is no alias: qp.urlKey == qp.prop\nreturn false;}return true;}()&&assert$1(`You passed the \\`${presentProp}\\` query parameter during a transition into ${qp.route.routeName}, please update to ${qp.urlKey}`,function(){if(qp.urlKey===presentProp||qp.scopedPropertyName===presentProp){return true;}if(_fromRouterService&&presentProp!==false&&qp.urlKey!==qp.prop){return false;}return true;}());if(presentProp){if(presentProp!==qp.scopedPropertyName){queryParams[qp.scopedPropertyName]=queryParams[presentProp];delete queryParams[presentProp];}}else{let cacheKey=calculateCacheKey(qp.route.fullRouteName,qp.parts,state.params);!appCache&&assert$1('ROUTER BUG: expected appCache to be defined. This is an internal bug, please open an issue on Github if you see this message!',appCache);queryParams[qp.scopedPropertyName]=appCache.lookup(cacheKey,qp.prop,qp.defaultValue);}}}}_scheduleLoadingEvent(transition,originRoute){this._cancelSlowTransitionTimer();this._slowTransitionTimer=scheduleOnce('routerTransitions',this,this._handleSlowTransition,transition,originRoute);}_handleSlowTransition(transition,originRoute){if(!this._routerMicrolib.activeTransition){// Don't fire an event if we've since moved on from\n// the transition that put us in a loading state.\nreturn;}let targetState=new RouterState(this,this._routerMicrolib,this._routerMicrolib.activeTransition[STATE_SYMBOL]);this.set('targetState',targetState);transition.trigger(true,'loading',transition,originRoute);}_cancelSlowTransitionTimer(){if(this._slowTransitionTimer){cancel(this._slowTransitionTimer);}this._slowTransitionTimer=null;}// These three helper functions are used to ensure errors aren't\n// re-raised if they're handled in a route's error action.\n_markErrorAsHandled(error){this._handledErrors.add(error);}_isErrorHandled(error){return this._handledErrors.has(error);}_clearHandledError(error){this._handledErrors.delete(error);}_getEngineInstance({name,instanceId,mountPoint}){let engineInstances=this._engineInstances;let namedInstances=engineInstances[name];if(!namedInstances){namedInstances=Object.create(null);engineInstances[name]=namedInstances;}// We just set these!\n!namedInstances&&assert$1('has namedInstances',namedInstances);let engineInstance=namedInstances[instanceId];if(!engineInstance){let owner=getOwner$1(this);!(owner instanceof EngineInstance)&&assert$1('Expected router to have EngineInstance as owner',owner instanceof EngineInstance);!owner.hasRegistration(`engine:${name}`)&&assert$1(`You attempted to mount the engine '${name}' in your router map, but the engine can not be found.`,owner.hasRegistration(`engine:${name}`));engineInstance=owner.buildChildEngineInstance(name,{routable:true,mountPoint});engineInstance.boot();namedInstances[instanceId]=engineInstance;}return engineInstance;}/**\n              Handles updating the paths and notifying any listeners of the URL\n              change.\n               Triggers the router level `didTransition` hook.\n               For example, to notify google analytics when the route changes,\n              you could use this hook.  (Note: requires also including GA scripts, etc.)\n               ```javascript\n              import config from './config/environment';\n              import EmberRouter from '@ember/routing/router';\n              import { service } from '@ember/service';\n               let Router = EmberRouter.extend({\n                location: config.locationType,\n                 router: service(),\n                 didTransition: function() {\n                  this._super(...arguments);\n                   ga('send', 'pageview', {\n                    page: this.router.currentURL,\n                    title: this.router.currentRouteName,\n                  });\n                }\n              });\n              ```\n               @method didTransition\n              @private\n              @since 1.2.0\n            */// Set with reopen to allow overriding via extend\n/**\n              Handles notifying any listeners of an impending URL\n              change.\n               Triggers the router level `willTransition` hook.\n               @method willTransition\n              @private\n              @since 1.11.0\n            */// Set with reopen to allow overriding via extend\n/**\n             Represents the current URL.\n               @property url\n              @type {String}\n              @private\n            */// Set with reopen to allow overriding via extend\n}/*\n            Helper function for iterating over routes in a set of routeInfos that are\n            at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n            and the routeInfos given were for 'foo.bar.baz', then the given callback\n            will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n            individually.\n\n            If the callback returns anything other than `true`, then iteration will stop.\n\n            @private\n            @param {Route} originRoute\n            @param {Array<RouteInfo>} routeInfos\n            @param {Function} callback\n            @return {Void}\n           */// Begin Evented\n// End Evented\n// Set with reopenClass\n_defineProperty(EmberRouter,\"dslCallbacks\",void 0);function forEachRouteAbove(routeInfos,callback){for(let i=routeInfos.length-1;i>=0;--i){let routeInfo=routeInfos[i];!routeInfo&&assert$1('has routeInfo',routeInfo);let route=routeInfo.route;// routeInfo.handler being `undefined` generally means either:\n//\n// 1. an error occurred during creation of the route in question\n// 2. the route is across an async boundary (e.g. within an engine)\n//\n// In both of these cases, we cannot invoke the callback on that specific\n// route, because it just doesn't exist...\nif(route===undefined){continue;}if(callback(route,routeInfo)!==true){return;}}}// These get invoked when an action bubbles above ApplicationRoute\n// and are not meant to be overridable.\nlet defaultActionHandlers={willResolveModel(_routeInfos,transition,originRoute){this._scheduleLoadingEvent(transition,originRoute);},// Attempt to find an appropriate error route or substate to enter.\nerror(routeInfos,error,transition){let router=this;let routeInfoWithError=routeInfos[routeInfos.length-1];forEachRouteAbove(routeInfos,(route,routeInfo)=>{// We don't check the leaf most routeInfo since that would\n// technically be below where we're at in the route hierarchy.\nif(routeInfo!==routeInfoWithError){// Check for the existence of an 'error' route.\nlet errorRouteName=findRouteStateName(route,'error');if(errorRouteName){router._markErrorAsHandled(error);router.intermediateTransitionTo(errorRouteName,error);return false;}}// Check for an 'error' substate route\nlet errorSubstateName=findRouteSubstateName(route,'error');if(errorSubstateName){router._markErrorAsHandled(error);router.intermediateTransitionTo(errorSubstateName,error);return false;}return true;});logError(error,`Error while processing route: ${transition.targetName}`);},// Attempt to find an appropriate loading route or substate to enter.\nloading(routeInfos,transition){let router=this;let routeInfoWithSlowLoading=routeInfos[routeInfos.length-1];forEachRouteAbove(routeInfos,(route,routeInfo)=>{// We don't check the leaf most routeInfos since that would\n// technically be below where we're at in the route hierarchy.\nif(routeInfo!==routeInfoWithSlowLoading){// Check for the existence of a 'loading' route.\nlet loadingRouteName=findRouteStateName(route,'loading');if(loadingRouteName){router.intermediateTransitionTo(loadingRouteName);return false;}}// Check for loading substate\nlet loadingSubstateName=findRouteSubstateName(route,'loading');if(loadingSubstateName){router.intermediateTransitionTo(loadingSubstateName);return false;}// Don't bubble above pivot route.\nreturn transition.pivotHandler!==route;});}};function logError(_error,initialMessage){let errorArgs=[];let error;if(_error&&typeof _error==='object'&&typeof _error.errorThrown==='object'){error=_error.errorThrown;}else{error=_error;}if(initialMessage){errorArgs.push(initialMessage);}if(error){if(error.message){errorArgs.push(error.message);}if(error.stack){errorArgs.push(error.stack);}if(typeof error==='string'){errorArgs.push(error);}}console.error(...errorArgs);//eslint-disable-line no-console\n}/**\n            Finds the name of the substate route if it exists for the given route. A\n            substate route is of the form `route_state`, such as `foo_loading`.\n\n            @private\n            @param {Route} route\n            @param {String} state\n            @return {String}\n          */function findRouteSubstateName(route,state){let owner=getOwner$1(route);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let{routeName,fullRouteName,_router:router}=route;let substateName=`${routeName}_${state}`;let substateNameFull=`${fullRouteName}_${state}`;return routeHasBeenDefined(owner,router,substateName,substateNameFull)?substateNameFull:'';}/**\n            Finds the name of the state route if it exists for the given route. A state\n            route is of the form `route.state`, such as `foo.loading`. Properly Handles\n            `application` named routes.\n\n            @private\n            @param {Route} route\n            @param {String} state\n            @return {String}\n          */function findRouteStateName(route,state){let owner=getOwner$1(route);!owner&&assert$1('Route is unexpectedly missing an owner',owner);let{routeName,fullRouteName,_router:router}=route;let stateName=routeName==='application'?state:`${routeName}.${state}`;let stateNameFull=fullRouteName==='application'?state:`${fullRouteName}.${state}`;return routeHasBeenDefined(owner,router,stateName,stateNameFull)?stateNameFull:'';}/**\n            Determines whether or not a route has been defined by checking that the route\n            is in the Router's map and the owner has a registration for that route.\n\n            @private\n            @param {Owner} owner\n            @param {Router} router\n            @param {String} localName\n            @param {String} fullName\n            @return {Boolean}\n          */function routeHasBeenDefined(owner,router,localName,fullName){let routerHasRoute=router.hasRoute(fullName);let ownerHasRoute=owner.factoryFor(`template:${localName}`)||owner.factoryFor(`route:${localName}`);return routerHasRoute&&ownerHasRoute;}function triggerEvent(routeInfos,ignoreFailure,name,args){if(!routeInfos){if(ignoreFailure){return;}// TODO: update?\nthrow new Error(`Can't trigger action '${name}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \\`.send()\\` on the \\`Transition\\` object passed to the \\`model/beforeModel/afterModel\\` hooks.`);}let eventWasHandled=false;let routeInfo,handler,actionHandler;for(let i=routeInfos.length-1;i>=0;i--){routeInfo=routeInfos[i];!routeInfo&&assert$1('[BUG] Missing routeInfo',routeInfo);handler=routeInfo.route;actionHandler=handler&&handler.actions&&handler.actions[name];if(actionHandler){if(actionHandler.apply(handler,args)===true){eventWasHandled=true;}else{// Should only hit here if a non-bubbling error action is triggered on a route.\nif(name==='error'){!handler&&assert$1('[BUG] Missing handler',handler);handler._router._markErrorAsHandled(args[0]);}return;}}}let defaultHandler=defaultActionHandlers[name];if(defaultHandler){defaultHandler.call(this,routeInfos,...args);return;}if(!eventWasHandled&&!ignoreFailure){throw new Error(`Nothing handled the action '${name}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`);}}function calculatePostTransitionState(emberRouter,leafRouteName,contexts){let state=emberRouter._routerMicrolib.applyIntent(leafRouteName,contexts);let{routeInfos,params}=state;for(let routeInfo of routeInfos){// If the routeInfo is not resolved, we serialize the context into params\nif(!routeInfo.isResolved){params[routeInfo.name]=routeInfo.serialize(routeInfo.context);}else{params[routeInfo.name]=routeInfo.params;}}return state;}function updatePaths(router){let infos=router._routerMicrolib.currentRouteInfos;if(infos.length===0){return;}let path=EmberRouter._routePath(infos);let info=infos[infos.length-1];!info&&assert$1('expected info',info);let currentRouteName=info.name;let location=router.location;!(typeof location!=='string')&&assert$1('expected location to not be a string',typeof location!=='string');let currentURL=location.getURL();set(router,'currentPath',path);set(router,'currentRouteName',currentRouteName);set(router,'currentURL',currentURL);}function didBeginTransition(transition,router){let routerState=new RouterState(router,router._routerMicrolib,transition[STATE_SYMBOL]);if(!router.currentState){router.set('currentState',routerState);}router.set('targetState',routerState);transition.promise=transition.catch(error=>{if(router._isErrorHandled(error)){router._clearHandledError(error);}else{throw error;}},'Transition Error');}function forEachQueryParam(router,routeInfos,queryParams,callback){let qpCache=router._queryParamsFor(routeInfos);for(let key in queryParams){if(!Object.prototype.hasOwnProperty.call(queryParams,key)){continue;}let value=queryParams[key];let qp=qpCache.map[key];callback(key,value,qp);}}EmberRouter.reopen({didTransition:defaultDidTransition,willTransition:defaultWillTransition,rootURL:'/',location:'hash',// FIXME: Does this need to be overrideable via extend?\nurl:computed(function(){let location=get$2(this,'location');if(typeof location==='string'){return undefined;}return location.getURL();})});const emberRoutingRouter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:EmberRouter,triggerEvent},Symbol.toStringTag,{value:'Module'});/**\n           * @module @ember/routing/router-service\n           */const ROUTER=Symbol('ROUTER');function cleanURL(url,rootURL){if(rootURL==='/'){return url;}return url.substring(rootURL.length);}/**\n             The Router service is the public API that provides access to the router.\n\n             The immediate benefit of the Router service is that you can inject it into components,\n             giving them a friendly way to initiate transitions and ask questions about the current\n             global router state.\n\n             In this example, the Router service is injected into a component to initiate a transition\n             to a dedicated route:\n\n             ```app/components/example.js\n             import Component from '@glimmer/component';\n             import { action } from '@ember/object';\n             import { service } from '@ember/service';\n\n             export default class ExampleComponent extends Component {\n               @service router;\n\n               @action\n               next() {\n                 this.router.transitionTo('other.route');\n               }\n             }\n             ```\n\n             Like any service, it can also be injected into helpers, routes, etc.\n\n             @public\n             @extends Service\n             @class RouterService\n           */var _currentRouteName=/*#__PURE__*/new WeakMap();var _currentURL=/*#__PURE__*/new WeakMap();var _location=/*#__PURE__*/new WeakMap();var _rootURL=/*#__PURE__*/new WeakMap();var _currentRoute=/*#__PURE__*/new WeakMap();class RouterService extends Service.extend(Evented){constructor(...args){super(...args);_defineProperty(this,ROUTER,void 0);_classPrivateFieldInitSpec(this,_currentRouteName,(initializeDeferredDecorator(this,\"currentRouteName\"),void 0));_classPrivateFieldInitSpec(this,_currentURL,(initializeDeferredDecorator(this,\"currentURL\"),void 0));_classPrivateFieldInitSpec(this,_location,(initializeDeferredDecorator(this,\"location\"),void 0));_classPrivateFieldInitSpec(this,_rootURL,(initializeDeferredDecorator(this,\"rootURL\"),void 0));_classPrivateFieldInitSpec(this,_currentRoute,(initializeDeferredDecorator(this,\"currentRoute\"),void 0));}get _router(){let router=this[ROUTER];if(router!==undefined){return router;}let owner=getOwner$2(this);!owner&&assert$1('RouterService is unexpectedly missing an owner',owner);let _router=owner.lookup('router:main');!(_router instanceof EmberRouter)&&assert$1('ROUTER SERVICE BUG: Expected router to be an instance of EmberRouter',_router instanceof EmberRouter);return this[ROUTER]=_router;}willDestroy(){super.willDestroy();this[ROUTER]=undefined;}/**\n               Transition the application into another route. The route may\n               be either a single route or route path:\n                Calling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\n               This behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\n               See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n                In the following example we use the Router service to navigate to a route with a\n               specific model from a Component in the first action, and in the second we trigger\n               a query-params only transition.\n                ```app/components/example.js\n               import Component from '@glimmer/component';\n               import { action } from '@ember/object';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                  @action\n                 goToComments(post) {\n                   this.router.transitionTo('comments', post);\n                 }\n                  @action\n                 fetchMoreComments(latestComment) {\n                   this.router.transitionTo({\n                     queryParams: { commentsAfter: latestComment }\n                   });\n                 }\n               }\n               ```\n                @method transitionTo\n               @param {String} [routeNameOrUrl] the name of the route or a URL\n               @param {...Object} [models] the model(s) or identifier(s) to be used while\n                 transitioning to the route.\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters. May be supplied as the only\n                parameter to trigger a query-parameter-only transition.\n               @return {Transition} the transition object associated with this\n                 attempted transition\n               @public\n             */transitionTo(...args){if(resemblesURL(args[0])){// NOTE: this `args[0] as string` cast is safe and TS correctly infers it\n// in 3.6+, so it can be removed when TS is upgraded.\nreturn this._router._doURLTransition('transitionTo',args[0]);}let{routeName,models,queryParams}=extractRouteArgs(args);let transition=this._router._doTransition(routeName,models,queryParams,true);return transition;}/**\n               Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n               it replaces the entry for the current route.\n               When the user clicks the \"back\" button in the browser, there will be fewer steps.\n               This is most commonly used to manage redirects in a way that does not cause confusing additions\n               to the user's browsing history.\n                Calling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\n               This behavior is different from calling `replaceWith` on a route.\n               See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n                Usage example:\n                ```app/routes/application.js\n               import Route from '@ember/routing/route';\n               import { service } from '@ember/service';\n                export default class extends Route {\n                 @service router;\n                 beforeModel() {\n                   if (!authorized()){\n                     this.router.replaceWith('unauthorized');\n                   }\n                 }\n               });\n               ```\n                @method replaceWith\n               @param {String} routeNameOrUrl the name of the route or a URL of the desired destination\n               @param {...Object} models the model(s) or identifier(s) to be used while\n                 transitioning to the route i.e. an object of params to pass to the destination route\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters\n               @return {Transition} the transition object associated with this\n                 attempted transition\n               @public\n             */replaceWith(...args){return this.transitionTo(...args).method('replace');}/**\n              Generate a URL based on the supplied route name and optionally a model. The\n              URL is returned as a string that can be used for any purpose.\n               In this example, the URL for the `author.books` route for a given author\n              is copied to the clipboard.\n               ```app/templates/application.hbs\n              <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n              ```\n               ```app/components/copy-link.js\n              import Component from '@glimmer/component';\n              import { service } from '@ember/service';\n              import { action } from '@ember/object';\n               export default class CopyLinkComponent extends Component {\n                @service router;\n                @service clipboard;\n                 @action\n                copyBooksURL() {\n                  if (this.author) {\n                    const url = this.router.urlFor('author.books', this.args.author);\n                    this.clipboard.set(url);\n                    // Clipboard now has /author/tomster/books\n                  }\n                }\n              }\n              ```\n               Just like with `transitionTo` and `replaceWith`, `urlFor` can also handle\n              query parameters.\n               ```app/templates/application.hbs\n              <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n              ```\n               ```app/components/copy-link.js\n              import Component from '@glimmer/component';\n              import { service } from '@ember/service';\n              import { action } from '@ember/object';\n               export default class CopyLinkComponent extends Component {\n                @service router;\n                @service clipboard;\n                 @action\n                copyOnlyEmberBooksURL() {\n                  if (this.author) {\n                    const url = this.router.urlFor('author.books', this.author, {\n                      queryParams: { filter: 'emberjs' }\n                    });\n                    this.clipboard.set(url);\n                    // Clipboard now has /author/tomster/books?filter=emberjs\n                  }\n                }\n              }\n              ```\n                @method urlFor\n               @param {String} routeName the name of the route\n               @param {...Object} models the model(s) for the route.\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters\n               @return {String} the string representing the generated URL\n               @public\n             */urlFor(routeName,...args){this._router.setupRouter();return this._router.generate(routeName,...args);}/**\n               Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\n               See [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n               [queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n                In the following example, `isActive` will return `true` if the current route is `/posts`.\n                ```app/components/posts.js\n               import Component from '@glimmer/component';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                  displayComments() {\n                   return this.router.isActive('posts');\n                 }\n               });\n               ```\n                The next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\n               assuming the post has an id of 1:\n                ```app/components/posts.js\n               import Component from '@glimmer/component';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                  displayComments(post) {\n                   return this.router.isActive('posts', post.id);\n                 }\n               });\n               ```\n                Where `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\n               If `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.\n                @method isActive\n               @param {String} routeName the name of the route\n               @param {...Object} models the model(s) or identifier(s) to be used when determining the active route.\n               @param {Object} [options] optional hash with a queryParams property\n                 containing a mapping of query parameters\n               @return {boolean} true if the provided routeName/models/queryParams are active\n               @public\n             */isActive(...args){let{routeName,models,queryParams}=extractRouteArgs(args);let routerMicrolib=this._router._routerMicrolib;// When using isActive() in a getter, we want to entagle with the auto-tracking system\n// for example,\n// in\n// get isBarActive() {\n//   return isActive('foo.bar');\n// }\n//\n// you'd expect isBarActive to be dirtied when the route changes.\n//\n// https://github.com/emberjs/ember.js/issues/19004\nconsumeTag(tagFor(this._router,'currentURL'));// UNSAFE: casting `routeName as string` here encodes the existing\n// assumption but may be wrong: `extractRouteArgs` correctly returns it as\n// `string | undefined`. There may be bugs if `isActiveIntent` does\n// not correctly account for `undefined` values for `routeName`. Spoilers:\n// it *does not* account for this being `undefined`.\nif(!routerMicrolib.isActiveIntent(routeName,models)){return false;}let hasQueryParams=Object.keys(queryParams).length>0;if(hasQueryParams){// UNSAFE: casting `routeName as string` here encodes the existing\n// assumption but may be wrong: `extractRouteArgs` correctly returns it\n// as `string | undefined`. There may be bugs if `_prepareQueryParams`\n// does not correctly account for `undefined` values for `routeName`.\n//  Spoilers: under the hood this currently uses router.js APIs which\n// *do not* account for this being `undefined`.\nlet targetRouteName=routeName;queryParams=Object.assign({},queryParams);this._router._prepareQueryParams(targetRouteName,models,queryParams,true/* fromRouterService */);let currentQueryParams=Object.assign({},routerMicrolib.state.queryParams);this._router._prepareQueryParams(targetRouteName,models,currentQueryParams,true/* fromRouterService */);return shallowEqual(queryParams,currentQueryParams);}return true;}/**\n               Takes a string URL and returns a `RouteInfo` for the leafmost route represented\n               by the URL. Returns `null` if the URL is not recognized. This method expects to\n               receive the actual URL as seen by the browser including the app's `rootURL`.\n                See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n                In the following example `recognize` is used to verify if a path belongs to our\n               application before transitioning to it.\n                ```\n               import Component from '@ember/component';\n               import { service } from '@ember/service';\n                export default class extends Component {\n                 @service router;\n                 path = '/';\n                  click() {\n                   if (this.router.recognize(this.path)) {\n                     this.router.transitionTo(this.path);\n                   }\n                 }\n               }\n               ```\n                 @method recognize\n                @param {String} url\n                @return {RouteInfo | null}\n                @public\n              */recognize(url){!(url.indexOf(this.rootURL)===0)&&assert$1(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`,url.indexOf(this.rootURL)===0);this._router.setupRouter();let internalURL=cleanURL(url,this.rootURL);return this._router._routerMicrolib.recognize(internalURL);}/**\n              Takes a string URL and returns a promise that resolves to a\n              `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n              The promise rejects if the URL is not recognized or an unhandled exception\n              is encountered. This method expects to receive the actual URL as seen by\n              the browser including the app's `rootURL`.\n                 @method recognizeAndLoad\n                @param {String} url\n                @return {RouteInfo}\n                @public\n             */recognizeAndLoad(url){!(url.indexOf(this.rootURL)===0)&&assert$1(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`,url.indexOf(this.rootURL)===0);this._router.setupRouter();let internalURL=cleanURL(url,this.rootURL);return this._router._routerMicrolib.recognizeAndLoad(internalURL);}/**\n              You can register a listener for events emitted by this service with `.on()`:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class extends Route {\n                @service router;\n                 activate() {\n                  this.router.on('routeWillChange', (transition) => {\n                    if (!transition.to.find(route => route.name === this.routeName)) {\n                      alert(\"Please save or cancel your changes.\");\n                      transition.abort();\n                    }\n                  })\n                }\n              }\n              ```\n               @method on\n              @param {String} eventName\n              @param {Function} callback\n              @public\n            *//**\n              You can unregister a listener for events emitted by this service with `.off()`:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class ContactFormRoute extends Route {\n                @service router;\n                 callback = (transition) => {\n                  if (!transition.to.find(route => route.name === this.routeName)) {\n                    alert('Please save or cancel your changes.');\n                    transition.abort();\n                  }\n                };\n                 activate() {\n                  this.router.on('routeWillChange', this.callback);\n                }\n                 deactivate() {\n                  this.router.off('routeWillChange', this.callback);\n                }\n              }\n              ```\n               @method off\n              @param {String} eventName\n              @param {Function} callback\n              @public\n            *//**\n              The `routeWillChange` event is fired at the beginning of any\n              attempted transition with a `Transition` object as the sole\n              argument. This action can be used for aborting, redirecting,\n              or decorating the transition from the currently active routes.\n               A good example is preventing navigation when a form is\n              half-filled out:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class extends Route {\n                @service router;\n                 activate() {\n                  this.router.on('routeWillChange', (transition) => {\n                    if (!transition.to.find(route => route.name === this.routeName)) {\n                      alert(\"Please save or cancel your changes.\");\n                      transition.abort();\n                    }\n                  })\n                }\n              }\n              ```\n               The `routeWillChange` event fires whenever a new route is chosen as the desired target of a transition. This includes `transitionTo`, `replaceWith`, all redirection for any reason including error handling, and abort. Aborting implies changing the desired target back to where you already were. Once a transition has completed, `routeDidChange` fires.\n               @event routeWillChange\n              @param {Transition} transition\n              @public\n            *//**\n              The `routeDidChange` event only fires once a transition has settled.\n              This includes aborts and error substates. Like the `routeWillChange` event\n              it receives a Transition as the sole argument.\n               A good example is sending some analytics when the route has transitioned:\n               ```app/routes/contact-form.js\n              import Route from '@ember/routing';\n              import { service } from '@ember/service';\n               export default class extends Route {\n                @service router;\n                 activate() {\n                  this.router.on('routeDidChange', (transition) => {\n                    ga.send('pageView', {\n                      current: transition.to.name,\n                      from: transition.from.name\n                    });\n                  })\n                }\n              }\n              ```\n               `routeDidChange` will be called after any `Route`'s\n              [didTransition](/ember/release/classes/Route/events/didTransition?anchor=didTransition)\n              action has been fired.\n              The updates of properties\n              [currentURL](/ember/release/classes/RouterService/properties/currentURL?anchor=currentURL),\n              [currentRouteName](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRouteName)\n              and\n              [currentRoute](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRoute)\n              are completed at the time `routeDidChange` is called.\n               @event routeDidChange\n              @param {Transition} transition\n              @public\n            *//**\n             * Refreshes all currently active routes, doing a full transition.\n             * If a route name is provided and refers to a currently active route,\n             * it will refresh only that route and its descendents.\n             * Returns a promise that will be resolved once the refresh is complete.\n             * All resetController, beforeModel, model, afterModel, redirect, and setupController\n             * hooks will be called again. You will get new data from the model hook.\n             *\n             * @method refresh\n             * @param {String} [routeName] the route to refresh (along with all child routes)\n             * @return Transition\n             * @public\n             */refresh(pivotRouteName){if(!pivotRouteName){return this._router._routerMicrolib.refresh();}!this._router.hasRoute(pivotRouteName)&&assert$1(`The route \"${pivotRouteName}\" was not found`,this._router.hasRoute(pivotRouteName));!this.isActive(pivotRouteName)&&assert$1(`The route \"${pivotRouteName}\" is currently not active`,this.isActive(pivotRouteName));let owner=getOwner$2(this);!owner&&assert$1('RouterService is unexpectedly missing an owner',owner);let pivotRoute=owner.lookup(`route:${pivotRouteName}`);return this._router._routerMicrolib.refresh(pivotRoute);}/**\n             Name of the current route.\n               This property represents the logical name of the route,\n              which is dot separated.\n              For the following router:\n               ```app/router.js\n              Router.map(function() {\n                this.route('about');\n                this.route('blog', function () {\n                  this.route('post', { path: ':post_id' });\n                });\n              });\n              ```\n               It will return:\n               * `index` when you visit `/`\n              * `about` when you visit `/about`\n              * `blog.index` when you visit `/blog`\n              * `blog.post` when you visit `/blog/some-post-id`\n               @property currentRouteName\n              @type {String | null}\n              @public\n            *//**\n              The `currentRoute` property contains metadata about the current leaf route.\n              It returns a `RouteInfo` object that has information like the route name,\n              params, query params and more.\n               See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n               This property is guaranteed to change whenever a route transition\n              happens (even when that transition only changes parameters\n              and doesn't change the active route).\n               Usage example:\n              ```app/components/header.js\n                import Component from '@glimmer/component';\n                import { service } from '@ember/service';\n                import { notEmpty } from '@ember/object/computed';\n                 export default class extends Component {\n                  @service router;\n                   @notEmpty('router.currentRoute.child') isChildRoute;\n                });\n              ```\n               @property currentRoute\n              @type RouteInfo\n              @public\n            */}_RouterService=RouterService;decorateFieldV2(_RouterService.prototype,\"currentRouteName\",[readOnly('_router.currentRouteName')]);decorateFieldV2(_RouterService.prototype,\"currentURL\",[readOnly('_router.currentURL')]);/**\n             Current URL for the application.\n             This property represents the URL path for this route.\n            For the following router:\n               ```app/router.js\n              Router.map(function() {\n                this.route('about');\n                this.route('blog', function () {\n                  this.route('post', { path: ':post_id' });\n                });\n              });\n              ```\n               It will return:\n               * `/` when you visit `/`\n              * `/about` when you visit `/about`\n              * `/blog` when you visit `/blog`\n              * `/blog/some-post-id` when you visit `/blog/some-post-id`\n               @property currentURL\n              @type String\n              @public\n            */decorateFieldV2(_RouterService.prototype,\"location\",[readOnly('_router.location')]);/**\n              The `location` property returns what implementation of the `location` API\n              your application is using, which determines what type of URL is being used.\n               See [Location](/ember/release/classes/Location) for more information.\n               To force a particular `location` API implementation to be used in your\n              application you can set a location type on your `config/environment`.\n              For example, to set the `history` type:\n               ```config/environment.js\n              'use strict';\n               module.exports = function(environment) {\n                let ENV = {\n                  modulePrefix: 'router-service',\n                  environment,\n                  rootURL: '/',\n                  locationType: 'history',\n                  ...\n                }\n              }\n              ```\n               The following location types are available by default:\n              `hash`, `history`, `none`.\n               See [HashLocation](/ember/release/classes/HashLocation).\n              See [HistoryLocation](/ember/release/classes/HistoryLocation).\n              See [NoneLocation](/ember/release/classes/NoneLocation).\n               @property location\n              @default 'hash'\n              @see {Location}\n              @public\n            */decorateFieldV2(_RouterService.prototype,\"rootURL\",[readOnly('_router.rootURL')]);/**\n              The `rootURL` property represents the URL of the root of\n              the application, '/' by default.\n              This prefix is assumed on all routes defined on this app.\n               If you change the `rootURL` in your environment configuration\n              like so:\n               ```config/environment.js\n              'use strict';\n               module.exports = function(environment) {\n                let ENV = {\n                  modulePrefix: 'router-service',\n                  environment,\n                  rootURL: '/my-root',\n                …\n                }\n              ]\n              ```\n               This property will return `/my-root`.\n               @property rootURL\n              @default '/'\n              @public\n            */decorateFieldV2(_RouterService.prototype,\"currentRoute\",[readOnly('_router.currentRoute')]);const emberRoutingRouterService=/*#__PURE__*/Object.defineProperty({__proto__:null,ROUTER,default:RouterService},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            The Routing service is used by LinkTo, and provides facilities for\n            the component/view layer to interact with the router.\n\n            This is a private service for internal usage only. For public usage,\n            refer to the `Router` service.\n\n            @private\n            @class RoutingService\n          */class RoutingService extends Service{constructor(...args){super(...args);_defineProperty(this,ROUTER,void 0);}get router(){let router=this[ROUTER];if(router!==undefined){return router;}let owner=getOwner$2(this);!owner&&assert$1('RoutingService is unexpectedly missing an owner',owner);let _router=owner.lookup('router:main');!(_router instanceof EmberRouter)&&assert$1('ROUTING SERVICE BUG: Expected router to be an instance of EmberRouter',_router instanceof EmberRouter);_router.setupRouter();return this[ROUTER]=_router;}hasRoute(routeName){return this.router.hasRoute(routeName);}transitionTo(routeName,models,queryParams,shouldReplace){let transition=this.router._doTransition(routeName,models,queryParams);if(shouldReplace){transition.method('replace');}return transition;}normalizeQueryParams(routeName,models,queryParams){this.router._prepareQueryParams(routeName,models,queryParams);}_generateURL(routeName,models,queryParams){let visibleQueryParams={};if(queryParams){Object.assign(visibleQueryParams,queryParams);this.normalizeQueryParams(routeName,models,visibleQueryParams);}return this.router.generate(routeName,...models,{queryParams:visibleQueryParams});}generateURL(routeName,models,queryParams){if(this.router._initialTransitionStarted){return this._generateURL(routeName,models,queryParams);}else{// Swallow error when transition has not started.\n// When rendering in tests without visit(), we cannot infer the route context which <LinkTo/> needs be aware of\ntry{return this._generateURL(routeName,models,queryParams);}catch(_e){return;}}}isActiveForRoute(contexts,queryParams,routeName,routerState){let handlers=this.router._routerMicrolib.recognizer.handlersFor(routeName);let leafName=handlers[handlers.length-1].handler;let maximumContexts=numberOfContextsAcceptedByHandler(routeName,handlers);// NOTE: any ugliness in the calculation of activeness is largely\n// due to the fact that we support automatic normalizing of\n// `resource` -> `resource.index`, even though there might be\n// dynamic segments / query params defined on `resource.index`\n// which complicates (and makes somewhat ambiguous) the calculation\n// of activeness for links that link to `resource` instead of\n// directly to `resource.index`.\n// if we don't have enough contexts revert back to full route name\n// this is because the leaf route will use one of the contexts\nif(contexts.length>maximumContexts){routeName=leafName;}return routerState.isActiveIntent(routeName,contexts,queryParams);}}RoutingService.reopen({targetState:readOnly('router.targetState'),currentState:readOnly('router.currentState'),currentRouteName:readOnly('router.currentRouteName'),currentPath:readOnly('router.currentPath')});function numberOfContextsAcceptedByHandler(handlerName,handlerInfos){let req=0;for(let i=0;i<handlerInfos.length;i++){req+=handlerInfos[i].names.length;if(handlerInfos[i].handler===handlerName){break;}}return req;}const emberRoutingLibRoutingService=/*#__PURE__*/Object.defineProperty({__proto__:null,default:RoutingService},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/routing\n          *//**\n            Finds a controller instance.\n\n            @for Ember\n            @method controllerFor\n            @private\n          */function controllerFor(container,controllerName,lookupOptions){return container.lookup(`controller:${controllerName}`,lookupOptions);}const emberRoutingLibControllerFor=/*#__PURE__*/Object.defineProperty({__proto__:null,default:controllerFor},Symbol.toStringTag,{value:'Module'});const emberRoutinginternals=/*#__PURE__*/Object.defineProperty({__proto__:null,BucketCache,DSL:DSLImpl,RouterState,RoutingService,controllerFor,generateController,generateControllerFactory,prefixRouteNameArg},Symbol.toStringTag,{value:'Module'});const CAPABILITIES$1={dynamicLayout:true,dynamicTag:false,prepareArgs:false,createArgs:true,attributeHook:false,elementHook:false,createCaller:true,dynamicScope:true,updateHook:true,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:true};class MountManager{getDynamicLayout(state){let templateFactory=state.engine.lookup('template:application');return unwrapTemplate(templateFactory(state.engine)).asLayout();}getCapabilities(){return CAPABILITIES$1;}getOwner(state){return state.engine;}create(owner,{name},args,env){// TODO\n// mount is a runtime helper, this shouldn't use dynamic layout\n// we should resolve the engine app template in the helper\n// it also should use the owner that looked up the mount helper.\n!(owner instanceof EngineInstance)&&assert$1('Expected owner to be an EngineInstance',owner instanceof EngineInstance);let engine=owner.buildChildEngineInstance(name);engine.boot();let applicationFactory=engine.factoryFor(`controller:application`);let controllerFactory=applicationFactory||generateControllerFactory(engine,'application');let controller;let self;let bucket;let modelRef;if(args.named.has('model')){modelRef=args.named.get('model');}if(modelRef===undefined){controller=controllerFactory.create();self=createConstRef(controller,'this');bucket={engine,controller,self,modelRef};}else{let model=valueForRef(modelRef);controller=controllerFactory.create({model});self=createConstRef(controller,'this');bucket={engine,controller,self,modelRef};}if(env.debugRenderTree){associateDestroyableChild(engine,controller);}return bucket;}getDebugName({name}){return name;}getDebugCustomRenderTree(definition,state,args,templateModuleName){return[{bucket:state.engine,instance:state.engine,type:'engine',name:definition.name,args},{bucket:state.controller,instance:state.controller,type:'route-template',name:'application',args,template:templateModuleName}];}getSelf({self}){return self;}getDestroyable(bucket){return bucket.engine;}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}update(bucket){let{controller,modelRef}=bucket;if(modelRef!==undefined){controller.set('model',valueForRef(modelRef));}}}const MOUNT_MANAGER=new MountManager();class MountDefinition{constructor(resolvedName){// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"state\",void 0);_defineProperty(this,\"manager\",MOUNT_MANAGER);_defineProperty(this,\"compilable\",null);_defineProperty(this,\"capabilities\",capabilityFlagsFrom(CAPABILITIES$1));this.resolvedName=resolvedName;this.state={name:resolvedName};}}/**\n          @module ember\n          *//**\n            The `{{mount}}` helper lets you embed a routeless engine in a template.\n            Mounting an engine will cause an instance to be booted and its `application`\n            template to be rendered.\n\n            For example, the following template mounts the `ember-chat` engine:\n\n            ```handlebars\n            {{! application.hbs }}\n            {{mount \"ember-chat\"}}\n            ```\n\n            Additionally, you can also pass in a `model` argument that will be\n            set as the engines model. This can be an existing object:\n\n            ```\n            <div>\n              {{mount 'admin' model=userSettings}}\n            </div>\n            ```\n\n            Or an inline `hash`, and you can even pass components:\n\n            ```\n            <div>\n              <h1>Application template!</h1>\n              {{mount 'admin' model=(hash\n                  title='Secret Admin'\n                  signInButton=(component 'sign-in-button')\n              )}}\n            </div>\n            ```\n\n            @method mount\n            @param {String} name Name of the engine to mount.\n            @param {Object} [model] Object that will be set as\n                                    the model of the engine.\n            @for Ember.Templates.helpers\n            @public\n          */const mountHelper=internalHelper((args,owner)=>{!owner&&assert$1('{{mount}} must be used within a component that has an owner',owner);let nameRef=args.positional[0];let captured;!(args.positional.length===1)&&assert$1('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.',args.positional.length===1);if(args.named){let keys=Object.keys(args.named);let extra=keys.filter(k=>k!=='model');!(extra.length===0)&&assert$1('You can only pass a `model` argument to the {{mount}} helper, '+'e.g. {{mount \"profile-engine\" model=this.profile}}. '+`You passed ${extra.join(',')}.`,extra.length===0);}captured=createCapturedArgs(args.named,EMPTY_POSITIONAL);let lastName,lastDef;return createComputeRef(()=>{let name=valueForRef(nameRef);if(typeof name==='string'){if(lastName===name){return lastDef;}!owner.hasRegistration(`engine:${name}`)&&assert$1(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`,owner.hasRegistration(`engine:${name}`));lastName=name;lastDef=curry(0,new MountDefinition(name),owner,captured,true);return lastDef;}else{!(name===null||name===undefined)&&assert$1(`Invalid engine name '${name}' specified, engine name must be either a string, null or undefined.`,name===null||name===undefined);lastDef=null;lastName=null;return null;}});});const CAPABILITIES={dynamicLayout:false,dynamicTag:false,prepareArgs:false,createArgs:true,attributeHook:false,elementHook:false,createCaller:false,dynamicScope:false,updateHook:false,createInstance:true,wrapped:false,willDestroy:false,hasSubOwner:false};const CAPABILITIES_MASK=capabilityFlagsFrom(CAPABILITIES);class RouteTemplateManager{create(_owner,_definition,args){let self=args.named.get('controller');{self=createDebugAliasRef('this',self);}let controller=valueForRef(self);return{self,controller};}getSelf({self}){return self;}getDebugName({name}){return`route-template (${name})`;}getDebugCustomRenderTree({name,templateName},state,args){return[{bucket:state,type:'route-template',name,args,instance:state.controller,template:templateName}];}getCapabilities(){return CAPABILITIES;}didRenderLayout(){}didUpdateLayout(){}didCreate(){}didUpdate(){}getDestroyable(){return null;}}const ROUTE_TEMPLATE_MANAGER=new RouteTemplateManager();/**\n           * This \"upgrades\" a route template into a invocable component. Conceptually\n           * it can be 1:1 for each unique `Template`, but it's also cheap to construct,\n           * so unless the stability is desirable for other reasons, it's probably not\n           * worth caching this.\n           */class RouteTemplate{constructor(name,template){// handle is not used by this custom definition\n_defineProperty(this,\"handle\",-1);_defineProperty(this,\"resolvedName\",void 0);_defineProperty(this,\"state\",void 0);_defineProperty(this,\"manager\",ROUTE_TEMPLATE_MANAGER);_defineProperty(this,\"capabilities\",CAPABILITIES_MASK);_defineProperty(this,\"compilable\",void 0);let unwrapped=unwrapTemplate(template);// TODO This actually seems inaccurate – it ultimately came from the\n// outlet's name. Also, setting this overrides `getDebugName()` in that\n// message. Is that desirable?\nthis.resolvedName=name;this.state={name,templateName:unwrapped.moduleName};this.compilable=unwrapped.asLayout();}}// TODO a lot these fields are copied from the adjacent existing components\n// implementation, haven't looked into who cares about `ComponentDefinition`\n// and if it is appropriate here. It seems like this version is intended to\n// be used with `curry` which probably isn't necessary here. It could be the\n// case that we just want to do something more similar to `InternalComponent`\n// (the one we used to implement `Input` and `LinkTo`). For now it follows\n// the same pattern to get things going.\nfunction makeRouteTemplate(owner,name,template){let routeTemplate=new RouteTemplate(name,template);return curry(0,routeTemplate,owner,null,true);}/**\n            The `{{outlet}}` helper lets you specify where a child route will render in\n            your template. An important use of the `{{outlet}}` helper is in your\n            application's `application.hbs` file:\n\n            ```app/templates/application.hbs\n            <MyHeader />\n\n            <div class=\"my-dynamic-content\">\n              <!-- this content will change based on the current route, which depends on the current URL -->\n              {{outlet}}\n            </div>\n\n            <MyFooter />\n            ```\n\n            See the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\n            information on how your `route` interacts with the `{{outlet}}` helper.\n            Note: Your content __will not render__ if there isn't an `{{outlet}}` for it.\n\n            @method outlet\n            @for Ember.Templates.helpers\n            @public\n          */const outletHelper=internalHelper((_args,owner,scope)=>{!owner&&assert$1('Expected owner to be present, {{outlet}} requires an owner',owner);!scope&&assert$1('Expected dynamic scope to be present. You may have attempted to use the {{outlet}} keyword dynamically. This keyword cannot be used dynamically.',scope);let outletRef=createComputeRef(()=>{let state=valueForRef(scope.get('outletState'));return state?.outlets?.main;});let lastState=null;let outlet=null;return createComputeRef(()=>{let outletState=valueForRef(outletRef);let state=stateFor(outletRef,outletState);// This code is deliberately using the behavior in glimmer-vm where in\n// <@Component />, the component is considered stabled via `===`, and\n// will continue to re-render in-place as long as the `===` holds, but\n// when it changes to a different object, it teardown the old component\n// (running destructors, etc), and render the component in its place (or\n// nothing if the new value is nullish. Here we are carefully exploiting\n// that fact, and returns the same stable object so long as it is the\n// same route, but return a different one when the route changes. On the\n// other hand, changing the model only intentionally do not teardown the\n// component and instead re-render in-place.\nif(!isStable(state,lastState)){lastState=state;if(state!==null){// If we are crossing an engine mount point, this is how the owner\n// gets switched.\nlet outletOwner=outletState?.render?.owner??owner;let named=dict();// Here we either have a raw template that needs to be normalized,\n// or a component that we can render as-is. `RouteTemplate` upgrades\n// the template into a component so we can have a unified code path.\n// We still store the original `template` value, because we rely on\n// its identity for the stability check, and the `RouteTemplate`\n// wrapper doesn't dedup for us.\nlet template=state.template;let component;if(hasInternalComponentManager(template)){component=template;}else{{// We don't appear to have a standard way or a brand to check, but for the\n// purpose of avoiding obvious user errors, this probably gets you close\n// enough.\nlet isTemplate=template=>{if(template===null||typeof template!=='object'){return false;}else{let t=template;return t.result==='ok'||t.result==='error';}};// We made it past the `TemplateFactory` instantiation before\n// getting here, so either we got unlucky where the invalid type\n// happens to be a function that didn't mind taking owner as an\n// argument, or this was directly set by something like test\n// helpers.\nif(!isTemplate(template)){let label;try{label=`\\`${String(template)}\\``;}catch{label='an unknown object';}assert$1(`Failed to render the \\`${state.name}\\` route: expected `+`a component or Template object, but got ${label}.`);}}component=makeRouteTemplate(outletOwner,state.name,template);}// Component is stable for the lifetime of the outlet\nnamed['Component']=createConstRef(component,'@Component');// Controller is stable for the lifetime of the outlet\nnamed['controller']=createConstRef(state.controller,'@controller');// Create a ref for the model\nlet modelRef=childRefFromParts(outletRef,['render','model']);// Store the value of the model\nlet model=valueForRef(modelRef);// Create a compute ref which we pass in as the `{{@model}}` reference\n// for the outlet. This ref will update and return the value of the\n// model _until_ the outlet itself changes. Once the outlet changes,\n// dynamic scope also changes, and so the original model ref would not\n// provide the correct updated value. So we stop updating and return\n// the _last_ model value for that outlet.\nnamed['model']=createComputeRef(()=>{if(lastState===state){model=valueForRef(modelRef);}return model;});{named['model']=createDebugAliasRef('@model',named['model']);}let args=createCapturedArgs(named,EMPTY_POSITIONAL);// Package up everything\noutlet=curry(0,new OutletComponent(owner,state),outletOwner,args,true);}else{outlet=null;}}return outlet;});});function stateFor(ref,outlet){if(outlet===undefined)return null;let render=outlet.render;if(render===undefined)return null;let template=render.template;// The type doesn't actually allow for `null`, but if we make it past this\n// point it is really important that we have _something_ to render. We could\n// assert, but that is probably overly strict for very little to gain.\nif(template===undefined||template===null)return null;return{ref,name:render.name,template,controller:render.controller};}function isStable(state,lastState){if(state===null||lastState===null){return false;}return state.template===lastState.template&&state.controller===lastState.controller;}function instrumentationPayload(name){return{object:`component:${name}`};}function componentFor(name,owner){let fullName=`component:${name}`;return owner.factoryFor(fullName)||null;}function layoutFor(name,owner,options){if(DEPRECATIONS.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING.isRemoved){return null;}let templateFullName=`template:components/${name}`;let result=owner.lookup(templateFullName,options)||null;if(result){deprecateUntil(`Components with separately resolved templates are deprecated. Migrate to either co-located js/ts + hbs files or to gjs/gts. Tried to lookup '${templateFullName}'.`,DEPRECATIONS.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING);}return result;}function lookupComponentPair(owner,name,options){let component=componentFor(name,owner);if(isFactory(component)&&component.class){let layout=getComponentTemplate(component.class);if(layout!==undefined){return{component,layout};}}let layout=layoutFor(name,owner,options);if(component===null&&layout===null){return null;}else{return{component,layout};}}const BUILTIN_KEYWORD_HELPERS={action,mut,readonly,unbound,'-hash':hash$1,'-each-in':eachIn,'-normalize-class':normalizeClassHelper,'-resolve':resolve$1,'-track-array':trackArray,'-mount':mountHelper,'-outlet':outletHelper,'-in-el-null':inElementNullCheckHelper};const BUILTIN_HELPERS={...BUILTIN_KEYWORD_HELPERS,array:array$1,concat:concat$1,fn:fn$1,get:get$1,hash:hash$1,'unique-id':uniqueId$1};{BUILTIN_HELPERS['-disallow-dynamic-resolution']=disallowDynamicResolution;}const BUILTIN_KEYWORD_MODIFIERS={action:actionModifier};const BUILTIN_MODIFIERS={...BUILTIN_KEYWORD_MODIFIERS,on:on$1};const CLASSIC_HELPER_MANAGER_ASSOCIATED=new WeakSet();class ResolverImpl{constructor(){_defineProperty(this,\"componentDefinitionCache\",new Map());}lookupPartial(){return null;}lookupHelper(name,owner){!!(BUILTIN_HELPERS[name]&&owner.hasRegistration(`helper:${name}`))&&assert$1(`You attempted to overwrite the built-in helper \"${name}\" which is not allowed. Please rename the helper.`,!(BUILTIN_HELPERS[name]&&owner.hasRegistration(`helper:${name}`)));let helper=BUILTIN_HELPERS[name];if(helper!==undefined){return helper;}let factory=owner.factoryFor(`helper:${name}`);if(factory===undefined){return null;}let definition=factory.class;if(definition===undefined){return null;}if(typeof definition==='function'&&isClassicHelper(definition)){// For classic class based helpers, we need to pass the factoryFor result itself rather\n// than the raw value (`factoryFor(...).class`). This is because injections are already\n// bound in the factoryFor result, including type-based injections\n{// In DEBUG we need to only set the associated value once, otherwise\n// we'll trigger an assertion\nif(!CLASSIC_HELPER_MANAGER_ASSOCIATED.has(factory)){CLASSIC_HELPER_MANAGER_ASSOCIATED.add(factory);setInternalHelperManager(CLASSIC_HELPER_MANAGER,factory);}}return factory;}return definition;}lookupBuiltInHelper(name){return BUILTIN_KEYWORD_HELPERS[name]??null;}lookupModifier(name,owner){let builtin=BUILTIN_MODIFIERS[name];if(builtin!==undefined){return builtin;}let modifier=owner.factoryFor(`modifier:${name}`);if(modifier===undefined){return null;}return modifier.class||null;}lookupBuiltInModifier(name){return BUILTIN_KEYWORD_MODIFIERS[name]??null;}lookupComponent(name,owner){let pair=lookupComponentPair(owner,name);if(pair===null){!(name!=='text-area')&&assert$1('Could not find component `<TextArea />` (did you mean `<Textarea />`?)',name!=='text-area');return null;}let template=null;let key;if(pair.component===null){key=template=pair.layout(owner);}else{key=pair.component;}let cachedComponentDefinition=this.componentDefinitionCache.get(key);if(cachedComponentDefinition!==undefined){return cachedComponentDefinition;}if(template===null&&pair.layout!==null){template=pair.layout(owner);}let finalizer=_instrumentStart('render.getComponentDefinition',instrumentationPayload,name);let definition=null;if(pair.component===null){definition={state:templateOnlyComponent(undefined,name),manager:TEMPLATE_ONLY_COMPONENT_MANAGER,template};}else{let factory=pair.component;!(factory.class!==undefined)&&assert$1(`missing component class ${name}`,factory.class!==undefined);let ComponentClass=factory.class;let manager=getInternalComponentManager(ComponentClass);definition={state:isCurlyManager(manager)?factory:ComponentClass,manager,template};}finalizer();this.componentDefinitionCache.set(key,definition);!!(definition===null&&name==='text-area')&&assert$1('Could not find component `<TextArea />` (did you mean `<Textarea />`?)',!(definition===null&&name==='text-area'));return definition;}}// We use the `InternalOwner` notion here because we actually need all of its\n// API for using with renderers (normally, it will be `EngineInstance`).\n// We use `getOwner` from our internal home for it rather than the narrower\n// public API for the same reason.\nconst TOP_LEVEL_NAME='-top-level';class OutletView{static extend(injections){return class extends OutletView{static create(options){if(options){return super.create(Object.assign({},injections,options));}else{return super.create(injections);}}};}static reopenClass(injections){Object.assign(this,injections);}static create(options){let{environment:_environment,application:namespace,template:templateFactory}=options;let owner=getOwner$2(options);!owner&&assert$1('OutletView is unexpectedly missing an owner',owner);let template=templateFactory(owner);return new OutletView(_environment,owner,template,namespace);}constructor(_environment,owner,template,namespace){_defineProperty(this,\"ref\",void 0);_defineProperty(this,\"state\",void 0);this._environment=_environment;this.owner=owner;this.template=template;this.namespace=namespace;let outletStateTag=createTag();let outletState={outlets:{main:undefined},render:{owner:owner,name:TOP_LEVEL_NAME,controller:undefined,model:undefined,template}};let ref=this.ref=createComputeRef(()=>{consumeTag(outletStateTag);return outletState;},state=>{DIRTY_TAG$1(outletStateTag);outletState.outlets['main']=state;});this.state={ref,name:TOP_LEVEL_NAME,template,controller:undefined};}appendTo(selector){let target;if(this._environment.hasDOM){target=typeof selector==='string'?document.querySelector(selector):selector;}else{target=selector;}let renderer=this.owner.lookup('renderer:-dom');// SAFETY: It's not clear that this cast is safe.\n// The types for appendOutletView may be incorrect or this is a potential bug.\nschedule('render',renderer,'appendOutletView',this,target);}rerender(){/**/}setOutletState(state){updateRef(this.ref,state);}destroy(){/**/}}class DynamicScope{constructor(view,outletState){this.view=view;this.outletState=outletState;}child(){return new DynamicScope(this.view,this.outletState);}get(key){!(key==='outletState')&&assert$1(`Using \\`-get-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`,key==='outletState');return this.outletState;}set(key,value){!(key==='outletState')&&assert$1(`Using \\`-with-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`,key==='outletState');this.outletState=value;return value;}}const NO_OP=()=>{};// This wrapper logic prevents us from rerendering in case of a hard failure\n// during render. This prevents infinite revalidation type loops from occuring,\n// and ensures that errors are not swallowed by subsequent follow on failures.\nfunction errorLoopTransaction(fn){{return()=>{let didError=true;try{fn();didError=false;}finally{if(didError){// Noop the function so that we won't keep calling it and causing\n// infinite looping failures;\nfn=()=>{// eslint-disable-next-line no-console\nconsole.warn('Attempted to rerender, but the Ember application has had an unrecoverable error occur during render. You should reload the application after fixing the cause of the error.');};}}};}}class RootState{constructor(root,context,owner,template,self,parentElement,dynamicScope,builder){_defineProperty(this,\"id\",void 0);_defineProperty(this,\"result\",void 0);_defineProperty(this,\"destroyed\",void 0);_defineProperty(this,\"render\",void 0);_defineProperty(this,\"env\",void 0);this.root=root;!(template!==undefined)&&assert$1(`You cannot render \\`${valueForRef(self)}\\` without a template.`,template!==undefined);this.id=root instanceof OutletView?guidFor(root):getViewId(root);this.result=undefined;this.destroyed=false;this.env=context.env;this.render=errorLoopTransaction(()=>{let layout=unwrapTemplate(template).asLayout();let iterator=renderMain(context,owner,self,builder(context.env,{element:parentElement,nextSibling:null}),layout,dynamicScope);let result=this.result=iterator.sync();// override .render function after initial render\nthis.render=errorLoopTransaction(()=>result.rerender({alwaysRevalidate:false}));});}isFor(possibleRoot){return this.root===possibleRoot;}destroy(){let{result,env}=this;this.destroyed=true;this.root=null;this.result=undefined;this.render=undefined;if(result!==undefined){/*\n                 Handles these scenarios:\n                  * When roots are removed during standard rendering process, a transaction exists already\n                   `.begin()` / `.commit()` are not needed.\n                 * When roots are being destroyed manually (`component.append(); component.destroy() case), no\n                   transaction exists already.\n                 * When roots are being destroyed during `Renderer#destroy`, no transaction exists\n                  */inTransaction(env,()=>destroy(result));}}}const renderers=[];function _resetRenderers(){renderers.length=0;}function register(renderer){!(renderers.indexOf(renderer)===-1)&&assert$1('Cannot register the same renderer twice',renderers.indexOf(renderer)===-1);renderers.push(renderer);}function deregister(renderer){let index=renderers.indexOf(renderer);!(index!==-1)&&assert$1('Cannot deregister unknown unregistered renderer',index!==-1);renderers.splice(index,1);}function loopBegin(){for(let renderer of renderers){renderer._scheduleRevalidate();}}let renderSettledDeferred=null;/*\n            Returns a promise which will resolve when rendering has settled. Settled in\n            this context is defined as when all of the tags in use are \"current\" (e.g.\n            `renderers.every(r => r._isValid())`). When this is checked at the _end_ of\n            the run loop, this essentially guarantees that all rendering is completed.\n\n            @method renderSettled\n            @returns {Promise<void>} a promise which fulfills when rendering has settled\n          */function renderSettled(){if(renderSettledDeferred===null){renderSettledDeferred=RSVP.defer();// if there is no current runloop, the promise created above will not have\n// a chance to resolve (because its resolved in backburner's \"end\" event)\nif(!_getCurrentRunLoop()){// ensure a runloop has been kicked off\n_backburner.schedule('actions',null,NO_OP);}}return renderSettledDeferred.promise;}function resolveRenderPromise(){if(renderSettledDeferred!==null){let resolve=renderSettledDeferred.resolve;renderSettledDeferred=null;_backburner.join(null,resolve);}}let loops=0;function loopEnd(){for(let renderer of renderers){if(!renderer._isValid()){if(loops>ENV._RERENDER_LOOP_LIMIT){loops=0;// TODO: do something better\nrenderer.destroy();throw new Error('infinite rendering invalidation detected');}loops++;return _backburner.join(null,NO_OP);}}loops=0;resolveRenderPromise();}_backburner.on('begin',loopBegin);_backburner.on('end',loopEnd);class Renderer{static create(props){let{_viewRegistry}=props;let owner=getOwner$2(props);!owner&&assert$1('Renderer is unexpectedly missing an owner',owner);let document=owner.lookup('service:-document');let env=owner.lookup('-environment:main');let rootTemplate=owner.lookup(privatize`template:-root`);let builder=owner.lookup('service:-dom-builder');return new this(owner,document,env,rootTemplate,_viewRegistry,builder);}constructor(owner,document,envOptions,rootTemplate,viewRegistry,builder=clientBuilder){_defineProperty(this,\"_rootTemplate\",void 0);_defineProperty(this,\"_viewRegistry\",void 0);_defineProperty(this,\"_roots\",void 0);_defineProperty(this,\"_removedRoots\",void 0);_defineProperty(this,\"_builder\",void 0);_defineProperty(this,\"_inRenderTransaction\",false);_defineProperty(this,\"_owner\",void 0);_defineProperty(this,\"_context\",void 0);_defineProperty(this,\"_lastRevision\",-1);_defineProperty(this,\"_destroyed\",false);/** @internal */_defineProperty(this,\"_isInteractive\",void 0);_defineProperty(this,\"_runtimeResolver\",void 0);_defineProperty(this,\"env\",void 0);this._owner=owner;this._rootTemplate=rootTemplate(owner);this._viewRegistry=viewRegistry||owner.lookup('-view-registry:main');this._roots=[];this._removedRoots=[];this._builder=builder;this._isInteractive=envOptions.isInteractive;let sharedArtifacts=artifacts();// resolver is exposed for tests\nlet resolver=this._runtimeResolver=new ResolverImpl();let env=new EmberEnvironmentDelegate(owner,envOptions.isInteractive);let options=runtimeOptions({document},env,sharedArtifacts,resolver);this._context=new EvaluationContextImpl(sharedArtifacts,heap=>new RuntimeOpImpl(heap),options);this.env=this._context.env;}get debugRenderTree(){let{debugRenderTree}=this.env;!debugRenderTree&&assert$1('Attempted to access the DebugRenderTree, but it did not exist. Is the Ember Inspector open?',debugRenderTree);return debugRenderTree;}// renderer HOOKS\nappendOutletView(view,target){// TODO: This bypasses the {{outlet}} syntax so logically duplicates\n// some of the set up code. Since this is all internal (or is it?),\n// we can refactor this to do something more direct/less convoluted\n// and with less setup, but get it working first\nlet outlet=createRootOutlet(view);let{name,/* controller, */template}=view.state;let named=dict();named['Component']=createConstRef(makeRouteTemplate(view.owner,name,template),'@Component');// TODO: is this guaranteed to be undefined? It seems to be the\n// case in the `OutletView` class. Investigate how much that class\n// exists as an internal implementation detail only, or if it was\n// used outside of core. As far as I can tell, test-helpers uses\n// it but only for `setOutletState`.\n// named['controller'] = createConstRef(controller, '@controller');\n// Update: at least according to the debug render tree tests, we\n// appear to always expect this to be undefined. Not a definitive\n// source by any means, but is useful evidence\nnamed['controller']=UNDEFINED_REFERENCE;named['model']=UNDEFINED_REFERENCE;let args=createCapturedArgs(named,EMPTY_POSITIONAL);this._appendDefinition(view,curry(0,outlet,view.owner,args,true),target);}appendTo(view,target){let definition=new RootComponentDefinition(view);this._appendDefinition(view,curry(0,definition,this._owner,null,true),target);}_appendDefinition(root,definition,target){let self=createConstRef(definition,'this');let dynamicScope=new DynamicScope(null,UNDEFINED_REFERENCE);let rootState=new RootState(root,this._context,this._owner,this._rootTemplate,self,target,dynamicScope,this._builder);this._renderRoot(rootState);}rerender(){this._scheduleRevalidate();}register(view){let id=getViewId(view);!!this._viewRegistry[id]&&assert$1('Attempted to register a view with an id already in use: '+id,!this._viewRegistry[id]);this._viewRegistry[id]=view;}unregister(view){delete this._viewRegistry[getViewId(view)];}remove(view){view._transitionTo('destroying');this.cleanupRootFor(view);if(this._isInteractive){view.trigger('didDestroyElement');}}cleanupRootFor(view){// no need to cleanup roots if we have already been destroyed\nif(this._destroyed){return;}let roots=this._roots;// traverse in reverse so we can remove items\n// without mucking up the index\nlet i=this._roots.length;while(i--){let root=roots[i];!root&&assert$1('has root',root);if(root.isFor(view)){root.destroy();roots.splice(i,1);}}}destroy(){if(this._destroyed){return;}this._destroyed=true;this._clearAllRoots();}getElement(view){if(this._isInteractive){return getViewElement(view);}else{throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');}}getBounds(view){let bounds=view[BOUNDS];!bounds&&assert$1('object passed to getBounds must have the BOUNDS symbol as a property',bounds);let parentElement=bounds.parentElement();let firstNode=bounds.firstNode();let lastNode=bounds.lastNode();return{parentElement,firstNode,lastNode};}createElement(tagName){return this.env.getAppendOperations().createElement(tagName);}_renderRoot(root){let{_roots:roots}=this;roots.push(root);if(roots.length===1){register(this);}this._renderRootsTransaction();}_renderRoots(){let{_roots:roots,_removedRoots:removedRoots}=this;let initialRootsLength;do{initialRootsLength=roots.length;inTransaction(this.env,()=>{// ensure that for the first iteration of the loop\n// each root is processed\nfor(let i=0;i<roots.length;i++){let root=roots[i];true&&!root&&assert$1('has root',root);if(root.destroyed){// add to the list of roots to be removed\n// they will be removed from `this._roots` later\nremovedRoots.push(root);// skip over roots that have been marked as destroyed\ncontinue;}// when processing non-initial reflush loops,\n// do not process more roots than needed\nif(i>=initialRootsLength){continue;}root.render();}this._lastRevision=valueForTag(CURRENT_TAG);});}while(roots.length>initialRootsLength);// remove any roots that were destroyed during this transaction\nwhile(removedRoots.length){let root=removedRoots.pop();let rootIndex=roots.indexOf(root);roots.splice(rootIndex,1);}if(this._roots.length===0){deregister(this);}}_renderRootsTransaction(){if(this._inRenderTransaction){// currently rendering roots, a new root was added and will\n// be processed by the existing _renderRoots invocation\nreturn;}// used to prevent calling _renderRoots again (see above)\n// while we are actively rendering roots\nthis._inRenderTransaction=true;let completedWithoutError=false;try{this._renderRoots();completedWithoutError=true;}finally{if(!completedWithoutError){this._lastRevision=valueForTag(CURRENT_TAG);}this._inRenderTransaction=false;}}_clearAllRoots(){let roots=this._roots;for(let root of roots){root.destroy();}this._removedRoots.length=0;this._roots=[];// if roots were present before destroying\n// deregister this renderer instance\nif(roots.length){deregister(this);}}_scheduleRevalidate(){_backburner.scheduleOnce('render',this,this._revalidate);}_isValid(){return this._destroyed||this._roots.length===0||validateTag(CURRENT_TAG,this._lastRevision);}_revalidate(){if(this._isValid()){return;}this._renderRootsTransaction();}}// STATE within a module is frowned upon, this exists\n// to support Ember.TEMPLATES but shield ember internals from this legacy\n// global API.\nlet TEMPLATES={};function setTemplates(templates){TEMPLATES=templates;}function getTemplates(){return TEMPLATES;}function getTemplate(name){if(Object.prototype.hasOwnProperty.call(TEMPLATES,name)){return TEMPLATES[name];}}function hasTemplate(name){return Object.prototype.hasOwnProperty.call(TEMPLATES,name);}function setTemplate(name,template){return TEMPLATES[name]=template;}const EMPTY_ATTRS=[];function indexOfAttribute(attributes,namespaceURI,localName){for(let i=0;i<attributes.length;i++){const attr=attributes[i];if(attr.namespaceURI===namespaceURI&&attr.localName===localName){return i;}}return-1;}function adjustAttrName(namespaceURI,localName){return namespaceURI===\"http://www.w3.org/1999/xhtml\"/* HTML */?localName.toLowerCase():localName;}function getAttribute(attributes,namespaceURI,localName){const index=indexOfAttribute(attributes,namespaceURI,localName);return index===-1?null:attributes[index].value;}function removeAttribute(attributes,namespaceURI,localName){const index=indexOfAttribute(attributes,namespaceURI,localName);if(index!==-1){attributes.splice(index,1);}}// https://dom.spec.whatwg.org/#dom-element-setattributens\nfunction setAttribute(element,namespaceURI,prefix,localName,value){if(typeof value!=='string'){value=''+value;}let{attributes}=element;if(attributes===EMPTY_ATTRS){attributes=element.attributes=[];}else{const index=indexOfAttribute(attributes,namespaceURI,localName);if(index!==-1){attributes[index].value=value;return;}}attributes.push({localName,name:prefix===null?localName:prefix+':'+localName,namespaceURI,prefix,specified:true,value});}class ChildNodes{constructor(node){this.node=node;this.stale=true;this._length=0;}get length(){if(this.stale){this.stale=false;let len=0;let child=this.node.firstChild;for(;child!==null;len++){this[len]=child;child=child.nextSibling;}const oldLen=this._length;this._length=len;for(;len<oldLen;len++){delete this[len];}}return this._length;}item(index){return index<this.length?this[index]:null;}}function cloneNode(node,deep){const clone=nodeFrom(node);if(deep){let child=node.firstChild;let nextChild=child;while(child!==null){nextChild=child.nextSibling;clone.appendChild(child.cloneNode(true));child=nextChild;}}return clone;}function nodeFrom(node){let namespaceURI;if(node.nodeType===1/* ELEMENT_NODE */){namespaceURI=node.namespaceURI;}const clone=new SimpleNodeImpl(node.ownerDocument,node.nodeType,node.nodeName,node.nodeValue,namespaceURI);if(node.nodeType===1/* ELEMENT_NODE */){clone.attributes=copyAttrs(node.attributes);}return clone;}function copyAttrs(attrs){if(attrs===EMPTY_ATTRS){return EMPTY_ATTRS;}const copy=[];for(let i=0;i<attrs.length;i++){const attr=attrs[i];copy.push({localName:attr.localName,name:attr.name,namespaceURI:attr.namespaceURI,prefix:attr.prefix,specified:true,value:attr.value});}return copy;}function insertBefore(parentNode,newChild,refChild){invalidate(parentNode);insertBetween(parentNode,newChild,refChild===null?parentNode.lastChild:refChild.previousSibling,refChild);}function removeChild(parentNode,oldChild){invalidate(parentNode);removeBetween(parentNode,oldChild,oldChild.previousSibling,oldChild.nextSibling);}function invalidate(parentNode){const childNodes=parentNode._childNodes;if(childNodes!==undefined){childNodes.stale=true;}}function insertBetween(parentNode,newChild,previousSibling,nextSibling){if(newChild.nodeType===11/* DOCUMENT_FRAGMENT_NODE */){insertFragment(newChild,parentNode,previousSibling,nextSibling);return;}if(newChild.parentNode!==null){removeChild(newChild.parentNode,newChild);}newChild.parentNode=parentNode;newChild.previousSibling=previousSibling;newChild.nextSibling=nextSibling;if(previousSibling===null){parentNode.firstChild=newChild;}else{previousSibling.nextSibling=newChild;}if(nextSibling===null){parentNode.lastChild=newChild;}else{nextSibling.previousSibling=newChild;}}function removeBetween(parentNode,oldChild,previousSibling,nextSibling){oldChild.parentNode=null;oldChild.previousSibling=null;oldChild.nextSibling=null;if(previousSibling===null){parentNode.firstChild=nextSibling;}else{previousSibling.nextSibling=nextSibling;}if(nextSibling===null){parentNode.lastChild=previousSibling;}else{nextSibling.previousSibling=previousSibling;}}function insertFragment(fragment,parentNode,previousSibling,nextSibling){const firstChild=fragment.firstChild;if(firstChild===null){return;}fragment.firstChild=null;fragment.lastChild=null;let lastChild=firstChild;let newChild=firstChild;firstChild.previousSibling=previousSibling;if(previousSibling===null){parentNode.firstChild=firstChild;}else{previousSibling.nextSibling=firstChild;}while(newChild!==null){newChild.parentNode=parentNode;lastChild=newChild;newChild=newChild.nextSibling;}lastChild.nextSibling=nextSibling;if(nextSibling===null){parentNode.lastChild=lastChild;}else{nextSibling.previousSibling=lastChild;}}function parseQualifiedName(qualifiedName){let localName=qualifiedName;let prefix=null;const i=qualifiedName.indexOf(':');if(i!==-1){prefix=qualifiedName.slice(0,i);localName=qualifiedName.slice(i+1);}return[prefix,localName];}class SimpleNodeImpl{constructor(ownerDocument,nodeType,nodeName,nodeValue,namespaceURI){this.ownerDocument=ownerDocument;this.nodeType=nodeType;this.nodeName=nodeName;this.nodeValue=nodeValue;this.namespaceURI=namespaceURI;this.parentNode=null;this.previousSibling=null;this.nextSibling=null;this.firstChild=null;this.lastChild=null;this.attributes=EMPTY_ATTRS;/**\n               * @internal\n               */this._childNodes=undefined;}get tagName(){return this.nodeName;}get childNodes(){let children=this._childNodes;if(children===undefined){children=this._childNodes=new ChildNodes(this);}return children;}cloneNode(deep){return cloneNode(this,deep===true);}appendChild(newChild){insertBefore(this,newChild,null);return newChild;}insertBefore(newChild,refChild){insertBefore(this,newChild,refChild);return newChild;}removeChild(oldChild){removeChild(this,oldChild);return oldChild;}insertAdjacentHTML(position,html){const raw=new SimpleNodeImpl(this.ownerDocument,-1/* RAW_NODE */,'#raw',html,void 0);let parentNode;let nextSibling;switch(position){case'beforebegin':parentNode=this.parentNode;nextSibling=this;break;case'afterbegin':parentNode=this;nextSibling=this.firstChild;break;case'beforeend':parentNode=this;nextSibling=null;break;case'afterend':parentNode=this.parentNode;nextSibling=this.nextSibling;break;default:throw new Error('invalid position');}if(parentNode===null){throw new Error(`${position} requires a parentNode`);}insertBefore(parentNode,raw,nextSibling);}getAttribute(name){const localName=adjustAttrName(this.namespaceURI,name);return getAttribute(this.attributes,null,localName);}getAttributeNS(namespaceURI,localName){return getAttribute(this.attributes,namespaceURI,localName);}setAttribute(name,value){const localName=adjustAttrName(this.namespaceURI,name);setAttribute(this,null,null,localName,value);}setAttributeNS(namespaceURI,qualifiedName,value){const[prefix,localName]=parseQualifiedName(qualifiedName);setAttribute(this,namespaceURI,prefix,localName,value);}removeAttribute(name){const localName=adjustAttrName(this.namespaceURI,name);removeAttribute(this.attributes,null,localName);}removeAttributeNS(namespaceURI,localName){removeAttribute(this.attributes,namespaceURI,localName);}get doctype(){return this.firstChild;}get documentElement(){return this.lastChild;}get head(){return this.documentElement.firstChild;}get body(){return this.documentElement.lastChild;}createElement(name){return new SimpleNodeImpl(this,1/* ELEMENT_NODE */,name.toUpperCase(),null,\"http://www.w3.org/1999/xhtml\"/* HTML */);}createElementNS(namespace,qualifiedName){// Node name is case-preserving in XML contexts, but returns canonical uppercase form in HTML contexts\n// https://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-104682815\nconst nodeName=namespace===\"http://www.w3.org/1999/xhtml\"/* HTML */?qualifiedName.toUpperCase():qualifiedName;// we don't care to parse the qualified name because we only support HTML documents\n// which don't support prefixed elements\nreturn new SimpleNodeImpl(this,1/* ELEMENT_NODE */,nodeName,null,namespace);}createTextNode(text){return new SimpleNodeImpl(this,3/* TEXT_NODE */,'#text',text,void 0);}createComment(text){return new SimpleNodeImpl(this,8/* COMMENT_NODE */,'#comment',text,void 0);}/**\n             * Backwards compat\n             * @deprecated\n             */createRawHTMLSection(text){return new SimpleNodeImpl(this,-1/* RAW_NODE */,'#raw',text,void 0);}createDocumentFragment(){return new SimpleNodeImpl(this,11/* DOCUMENT_FRAGMENT_NODE */,'#document-fragment',null,void 0);}}function createHTMLDocument(){// dom.d.ts types ownerDocument as Document but for a document ownerDocument is null\nconst document=new SimpleNodeImpl(null,9/* DOCUMENT_NODE */,'#document',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const doctype=new SimpleNodeImpl(document,10/* DOCUMENT_TYPE_NODE */,'html',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const html=new SimpleNodeImpl(document,1/* ELEMENT_NODE */,'HTML',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const head=new SimpleNodeImpl(document,1/* ELEMENT_NODE */,'HEAD',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);const body=new SimpleNodeImpl(document,1/* ELEMENT_NODE */,'BODY',null,\"http://www.w3.org/1999/xhtml\"/* HTML */);html.appendChild(head);html.appendChild(body);document.appendChild(doctype);document.appendChild(html);return document;}const simpleDomDocument=/*#__PURE__*/Object.defineProperty({__proto__:null,default:createHTMLDocument},Symbol.toStringTag,{value:'Module'});class NodeDOMTreeConstruction extends DOMTreeConstruction{constructor(doc){super(doc||createHTMLDocument());}// override to prevent usage of `this.document` until after the constructor\nsetupUselessElement(){}insertHTMLBefore(parent,reference,html){// eslint-disable-next-line @typescript-eslint/no-deprecated, @typescript-eslint/no-non-null-assertion\nlet raw=this.document.createRawHTMLSection(html);return parent.insertBefore(raw,reference),new ConcreteBounds(parent,raw,raw);}// override to avoid SVG detection/work when in node (this is not needed in SSR)\ncreateElement(tag){return this.document.createElement(tag);}// override to avoid namespace shenanigans when in node (this is not needed in SSR)\nsetAttribute(element,name,value){element.setAttribute(name,value);}}const NEEDS_EXTRA_CLOSE=new WeakMap();class SerializeBuilder extends NewTreeBuilder{__openBlock(){let{tagName:tagName}=this.element;if(\"TITLE\"!==tagName&&\"SCRIPT\"!==tagName&&\"STYLE\"!==tagName){let depth=this.serializeBlockDepth++;this.__appendComment(`%+b:${depth}%`);}super.__openBlock();}__closeBlock(){let{tagName:tagName}=this.element;if(super.__closeBlock(),\"TITLE\"!==tagName&&\"SCRIPT\"!==tagName&&\"STYLE\"!==tagName){let depth=--this.serializeBlockDepth;this.__appendComment(`%-b:${depth}%`);}}__appendHTML(html){let{tagName:tagName}=this.element;if(\"TITLE\"===tagName||\"SCRIPT\"===tagName||\"STYLE\"===tagName)return super.__appendHTML(html);// Do we need to run the html tokenizer here?\nlet first=this.__appendComment(\"%glmr%\");if(\"TABLE\"===tagName){let openIndex=html.indexOf(\"<\");openIndex>-1&&\"tr\"===html.slice(openIndex+1,openIndex+3)&&(html=`<tbody>${html}</tbody>`);}\"\"===html?this.__appendComment(\"% %\"):super.__appendHTML(html);let last=this.__appendComment(\"%glmr%\");return new ConcreteBounds(this.element,first,last);}__appendText(string){let{tagName:tagName}=this.element,current=function(cursor){let{element:element,nextSibling:nextSibling}=cursor;return null===nextSibling?element.lastChild:nextSibling.previousSibling;}(this);return\"TITLE\"===tagName||\"SCRIPT\"===tagName||\"STYLE\"===tagName?super.__appendText(string):\"\"===string?this.__appendComment(\"% %\"):(current&&3===current.nodeType&&this.__appendComment(\"%|%\"),super.__appendText(string));}closeElement(){return NEEDS_EXTRA_CLOSE.has(this.element)&&(NEEDS_EXTRA_CLOSE.delete(this.element),super.closeElement()),super.closeElement();}openElement(tag){return\"tr\"===tag&&\"TBODY\"!==this.element.tagName&&\"THEAD\"!==this.element.tagName&&\"TFOOT\"!==this.element.tagName&&(this.openElement(\"tbody\"),// This prevents the closeBlock comment from being re-parented\n// under the auto inserted tbody. Rehydration builder needs to\n// account for the insertion since it is injected here and not\n// really in the template.\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme\nNEEDS_EXTRA_CLOSE.set(this.constructing,true),this.flushElement(null)),super.openElement(tag);}pushRemoteElement(element,cursorId,insertBefore=null){let{dom:dom}=this,script=dom.createElement(\"script\");return script.setAttribute(\"glmr\",cursorId),dom.insertBefore(element,script,insertBefore),super.pushRemoteElement(element,cursorId,insertBefore);}constructor(...args){super(...args),this.serializeBlockDepth=0;}}function serializeBuilder(env,cursor){return SerializeBuilder.forInitialRender(env,cursor);}const glimmerNode=/*#__PURE__*/Object.defineProperty({__proto__:null,NodeDOMTreeConstruction,serializeBuilder},Symbol.toStringTag,{value:'Module'});const OutletTemplate=templateFactory(/*\n            {{component (outletHelper)}}\n          */{\"id\":\"tiXbzL5t\",\"block\":\"[[[46,[28,[32,0],null,null],null,null,null]],[],[\\\"component\\\"]]\",\"moduleName\":\"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\",\"scope\":()=>[outletHelper],\"isStrictMode\":true});function setupApplicationRegistry(registry){// because we are using injections we can't use instantiate false\n// we need to use bind() to copy the function so factory for\n// association won't leak\nregistry.register('service:-dom-builder',{// Additionally, we *must* constrain this to require `props` on create, else\n// we *know* it cannot have an owner.\ncreate(props){let owner=getOwner$2(props);!owner&&assert$1('DomBuilderService is unexpectedly missing an owner',owner);let env=owner.lookup('-environment:main');switch(env._renderMode){case'serialize':return serializeBuilder.bind(null);case'rehydrate':return rehydrationBuilder.bind(null);default:return clientBuilder.bind(null);}}});registry.register(privatize`template:-root`,RootTemplate);registry.register('renderer:-dom',Renderer);}function setupEngineRegistry(registry){registry.optionsForType('template',{instantiate:false});registry.register('view:-outlet',OutletView);registry.register('template:-outlet',OutletTemplate);registry.optionsForType('helper',{instantiate:false});registry.register('component:input',Input);registry.register('component:link-to',LinkTo);registry.register('component:textarea',Textarea);}/**\n             Associate a class with a component manager (an object that is responsible for\n             coordinating the lifecycle events that occurs when invoking, rendering and\n             re-rendering a component).\n\n             @method setComponentManager\n             @param {Function} factory a function to create the owner for an object\n             @param {Object} obj the object to associate with the componetn manager\n             @return {Object} the same object passed in\n             @public\n            */function setComponentManager(manager,obj){return setComponentManager$1(manager,obj);}/**\n            [Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n\n            ### Showing a property\n\n            Templates manage the flow of an application's UI, and display state (through\n            the DOM) to a user. For example, given a component with the property \"name\",\n            that component's template can use the name in several ways:\n\n            ```app/components/person-profile.js\n            import Component from '@ember/component';\n\n            export default Component.extend({\n              name: 'Jill'\n            });\n            ```\n\n            ```app/components/person-profile.hbs\n            {{this.name}}\n            <div>{{this.name}}</div>\n            <span data-name={{this.name}}></span>\n            ```\n\n            Any time the \"name\" property on the component changes, the DOM will be\n            updated.\n\n            Properties can be chained as well:\n\n            ```handlebars\n            {{@aUserModel.name}}\n            <div>{{@listOfUsers.firstObject.name}}</div>\n            ```\n\n            ### Using Ember helpers\n\n            When content is passed in mustaches `{{}}`, Ember will first try to find a helper\n            or component with that name. For example, the `if` helper:\n\n            ```app/components/person-profile.hbs\n            {{if this.name \"I have a name\" \"I have no name\"}}\n            <span data-has-name={{if this.name true}}></span>\n            ```\n\n            The returned value is placed where the `{{}}` is called. The above style is\n            called \"inline\". A second style of helper usage is called \"block\". For example:\n\n            ```handlebars\n            {{#if this.name}}\n              I have a name\n            {{else}}\n              I have no name\n            {{/if}}\n            ```\n\n            The block form of helpers allows you to control how the UI is created based\n            on the values of properties.\n            A third form of helper is called \"nested\". For example here the concat\n            helper will add \" Doe\" to a displayed name if the person has no last name:\n\n            ```handlebars\n            <span data-name={{concat this.firstName (\n              if this.lastName (concat \" \" this.lastName) \"Doe\"\n            )}}></span>\n            ```\n\n            Ember's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\n            namespace. Documentation on creating custom helpers can be found under\n            [helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\n            under [Helper](/ember/release/classes/Helper) if a helper requires access to\n            dependency injection).\n\n            ### Invoking a Component\n\n            Ember components represent state to the UI of an application. Further\n            reading on components can be found under [Component](/ember/release/classes/Component).\n\n            @module @ember/component\n            @main @ember/component\n            @public\n           */const emberinternalsGlimmerIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Component,DOMChanges,DOMTreeConstruction,Helper,Input,LinkTo,NodeDOMTreeConstruction,OutletView,Renderer,RootTemplate,SafeString,Textarea,_resetRenderers,componentCapabilities,escapeExpression,getTemplate,getTemplates,hasTemplate,helper:helper$2,htmlSafe,isHTMLSafe,isSerializationFirstNode,modifierCapabilities,renderSettled,setComponentManager,setTemplate,setTemplates,setupApplicationRegistry,setupEngineRegistry,template:templateFactory,templateCacheCounters,uniqueId:uniqueId$2},Symbol.toStringTag,{value:'Module'});const emberinternalsRoutingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,RouterDSL:DSLImpl,controllerFor,generateController,generateControllerFactory},Symbol.toStringTag,{value:'Module'});// The formatting here is designed to help make this type actually be\n// comprehensible to mortals, including the mortals who came up with it.\n// prettier-ignore\n// A way of representing non-user-constructible types. You can conveniently use\n// this by doing `interface Type extends Opaque<'some-type-name'> { ... }` for\n// simple types, and/or you can type-parameterize it as makes sense for your use\n// case (see e.g. `@ember/component/helper`'s use with functional helpers).\nclass Opaque{}const emberinternalsUtilityTypesIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Opaque},Symbol.toStringTag,{value:'Module'});const fallbackViewRegistry=makeDictionary(null);const emberinternalsViewsLibCompatFallbackViewRegistry=/*#__PURE__*/Object.defineProperty({__proto__:null,default:fallbackViewRegistry},Symbol.toStringTag,{value:'Module'});/*globals CustomEvent *//**\n            @module @ember/application\n          */const loadHooks=ENV.EMBER_LOAD_HOOKS||{};const loaded={};let _loaded=loaded;/**\n            Detects when a specific package of Ember (e.g. 'Application')\n            has fully loaded and is available for extension.\n\n            The provided `callback` will be called with the `name` passed\n            resolved from a string into the object:\n\n            ``` javascript\n            import { onLoad } from '@ember/application';\n\n            onLoad('Ember.Application' function(hbars) {\n              hbars.registerHelper(...);\n            });\n            ```\n\n            @method onLoad\n            @static\n            @for @ember/application\n            @param name {String} name of hook\n            @param callback {Function} callback to be called\n            @private\n          */function onLoad(name,callback){let object=loaded[name];let hooks=loadHooks[name]??=[];hooks.push(callback);if(object){callback(object);}}/**\n            Called when an Ember.js package (e.g Application) has finished\n            loading. Triggers any callbacks registered for this event.\n\n            @method runLoadHooks\n            @static\n            @for @ember/application\n            @param name {String} name of hook\n            @param object {Object} object to pass to callbacks\n            @private\n          */function runLoadHooks(name,object){loaded[name]=object;if(window$1&&typeof CustomEvent==='function'){let event=new CustomEvent(name,{detail:object});window$1.dispatchEvent(event);}loadHooks[name]?.forEach(callback=>callback(object));}const emberApplicationLibLazyLoad=/*#__PURE__*/Object.defineProperty({__proto__:null,_loaded,onLoad,runLoadHooks},Symbol.toStringTag,{value:'Module'});/**\n            @private\n\n            Returns the current `location.pathname`, normalized for IE inconsistencies.\n          */function getPath(location){let pathname=location.pathname;// Various versions of IE/Opera don't always return a leading slash\nif(pathname[0]!=='/'){pathname=`/${pathname}`;}return pathname;}/**\n            @private\n\n            Returns the current `location.search`.\n          */function getQuery(location){return location.search;}/**\n            @private\n\n            Returns the hash or empty string\n          */function getHash(location){if(location.hash!==undefined){return location.hash.substring(0);}return'';}function getFullPath(location){return getPath(location)+getQuery(location)+getHash(location);}function getOrigin(location){let origin=location.origin;// Older browsers, especially IE, don't have origin\nif(!origin){origin=`${location.protocol}//${location.hostname}`;if(location.port){origin+=`:${location.port}`;}}return origin;}/**\n            Replaces the current location, making sure we explicitly include the origin\n            to prevent redirecting to a different origin.\n\n            @private\n          */function replacePath(location,path){location.replace(getOrigin(location)+path);}const emberRoutingLibLocationUtils=/*#__PURE__*/Object.defineProperty({__proto__:null,getFullPath,getHash,getOrigin,getPath,getQuery,replacePath},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/hash-location\n          *//**\n            `HashLocation` implements the location API using the browser's\n            hash. At present, it relies on a `hashchange` event existing in the\n            browser.\n\n            Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n            server side URL portion of the URL from the portion that is used by Ember.\n\n            Example:\n\n            ```app/router.js\n            Router.map(function() {\n              this.route('posts', function() {\n                this.route('new');\n              });\n            });\n\n            Router.reopen({\n              location: 'hash'\n            });\n            ```\n\n            This will result in a posts.new url of `/#/posts/new`.\n\n            @class HashLocation\n            @extends EmberObject\n            @protected\n          */class HashLocation extends EmberObject{constructor(...args){super(...args);_defineProperty(this,\"_hashchangeHandler\",void 0);_defineProperty(this,\"_location\",void 0);_defineProperty(this,\"lastSetURL\",null);}init(){this.location=this._location??window.location;this._hashchangeHandler=undefined;}/**\n              @private\n               Returns normalized location.hash\n               @since 1.5.1\n              @method getHash\n            */getHash(){return getHash(this.location);}/**\n              Returns the normalized URL, constructed from `location.hash`.\n               e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n               By convention, hashed paths must begin with a forward slash, otherwise they\n              are not treated as a path so we can distinguish intent.\n               @private\n              @method getURL\n            */getURL(){let originalPath=this.getHash().substring(1);let outPath=originalPath;if(outPath[0]!=='/'){outPath='/';// Only add the # if the path isn't empty.\n// We do NOT want `/#` since the ampersand\n// is only included (conventionally) when\n// the location.hash has a value\nif(originalPath){outPath+=`#${originalPath}`;}}return outPath;}/**\n              Set the `location.hash` and remembers what was set. This prevents\n              `onUpdateURL` callbacks from triggering when the hash was set by\n              `HashLocation`.\n               @private\n              @method setURL\n              @param path {String}\n            */setURL(path){this.location.hash=path;this.lastSetURL=path;}/**\n              Uses location.replace to update the url without a page reload\n              or history modification.\n               @private\n              @method replaceURL\n              @param path {String}\n            */replaceURL(path){this.location.replace(`#${path}`);this.lastSetURL=path;}/**\n              Register a callback to be invoked when the hash changes. These\n              callbacks will execute when the user presses the back or forward\n              button, but not after `setURL` is invoked.\n               @private\n              @method onUpdateURL\n              @param callback {Function}\n            */onUpdateURL(callback){this._removeEventListener();this._hashchangeHandler=bind(this,function(_event){let path=this.getURL();if(this.lastSetURL===path){return;}this.lastSetURL=null;callback(path);});window.addEventListener('hashchange',this._hashchangeHandler);}/**\n              Given a URL, formats it to be placed into the page as part\n              of an element's `href` attribute.\n               @private\n              @method formatURL\n              @param url {String}\n            */formatURL(url){return`#${url}`;}/**\n              Cleans up the HashLocation event listener.\n               @private\n              @method willDestroy\n            */willDestroy(){this._removeEventListener();}_removeEventListener(){if(this._hashchangeHandler){window.removeEventListener('hashchange',this._hashchangeHandler);}}}const emberRoutingHashLocation=/*#__PURE__*/Object.defineProperty({__proto__:null,default:HashLocation},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/history-location\n          */let popstateFired=false;function _uuid(){return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function(c){let r,v;r=Math.random()*16|0;v=c==='x'?r:r&3|8;return v.toString(16);});}/**\n            HistoryLocation implements the location API using the browser's\n            history.pushState API.\n\n            Using `HistoryLocation` results in URLs that are indistinguishable from a\n            standard URL. This relies upon the browser's `history` API.\n\n            Example:\n\n            ```app/router.js\n            Router.map(function() {\n              this.route('posts', function() {\n                this.route('new');\n              });\n            });\n\n            Router.reopen({\n              location: 'history'\n            });\n            ```\n\n            This will result in a posts.new url of `/posts/new`.\n\n            Keep in mind that your server must serve the Ember app at all the routes you\n            define.\n\n            Using `HistoryLocation` will also result in location states being recorded by\n            the browser `history` API with the following schema:\n\n            ```\n            window.history.state -> { path: '/', uuid: '3552e730-b4a6-46bd-b8bf-d8c3c1a97e0a' }\n            ```\n\n            This allows each in-app location state to be tracked uniquely across history\n            state changes via the `uuid` field.\n\n            @class HistoryLocation\n            @extends EmberObject\n            @protected\n          */class HistoryLocation extends EmberObject{constructor(...args){super(...args);// SAFETY: both of these properties initialized via `init`.\n_defineProperty(this,\"history\",void 0);_defineProperty(this,\"_previousURL\",void 0);_defineProperty(this,\"_popstateHandler\",void 0);/**\n              Will be pre-pended to path upon state change\n               @property rootURL\n              @default '/'\n              @private\n            */_defineProperty(this,\"rootURL\",'/');}/**\n              @private\n               Returns normalized location.hash\n               @method getHash\n            */getHash(){return getHash(this.location);}init(){this._super(...arguments);let base=document.querySelector('base');let baseURL='';if(base!==null&&base.hasAttribute('href')){baseURL=base.getAttribute('href')??'';}this.baseURL=baseURL;this.location=this.location??window.location;this._popstateHandler=undefined;}/**\n              Used to set state on first call to setURL\n               @private\n              @method initState\n            */initState(){let history=this.history??window.history;this.history=history;let{state}=history;let path=this.formatURL(this.getURL());if(state&&state.path===path){// preserve existing state\n// used for webkit workaround, since there will be no initial popstate event\nthis._previousURL=this.getURL();}else{this.replaceState(path);}}/**\n              Returns the current `location.pathname` without `rootURL` or `baseURL`\n               @private\n              @method getURL\n              @return url {String}\n            */getURL(){let{location,rootURL,baseURL}=this;let path=location.pathname;// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');baseURL=baseURL.replace(/\\/$/,'');// remove baseURL and rootURL from start of path\nlet url=path.replace(new RegExp(`^${baseURL}(?=/|$)`),'').replace(new RegExp(`^${rootURL}(?=/|$)`),'').replace(/\\/\\//g,'/');// remove extra slashes\nlet search=location.search||'';url+=search+this.getHash();return url;}/**\n              Uses `history.pushState` to update the url without a page reload.\n               @private\n              @method setURL\n              @param path {String}\n            */setURL(path){!this.history&&assert$1('HistoryLocation.history is unexpectedly missing',this.history);let{state}=this.history;path=this.formatURL(path);if(!state||state.path!==path){this.pushState(path);}}/**\n              Uses `history.replaceState` to update the url without a page reload\n              or history modification.\n               @private\n              @method replaceURL\n              @param path {String}\n            */replaceURL(path){!this.history&&assert$1('HistoryLocation.history is unexpectedly missing',this.history);let{state}=this.history;path=this.formatURL(path);if(!state||state.path!==path){this.replaceState(path);}}/**\n             Pushes a new state.\n              @private\n             @method pushState\n             @param path {String}\n            */pushState(path){let state={path,uuid:_uuid()};!this.history&&assert$1('HistoryLocation.history is unexpectedly missing',this.history);this.history.pushState(state,'',path);// used for webkit workaround\nthis._previousURL=this.getURL();}/**\n             Replaces the current state.\n              @private\n             @method replaceState\n             @param path {String}\n            */replaceState(path){let state={path,uuid:_uuid()};!this.history&&assert$1('HistoryLocation.history is unexpectedly missing',this.history);this.history.replaceState(state,'',path);// used for webkit workaround\nthis._previousURL=this.getURL();}/**\n              Register a callback to be invoked whenever the browser\n              history changes, including using forward and back buttons.\n               @private\n              @method onUpdateURL\n              @param callback {Function}\n            */onUpdateURL(callback){this._removeEventListener();this._popstateHandler=()=>{// Ignore initial page load popstate event in Chrome\nif(!popstateFired){popstateFired=true;if(this.getURL()===this._previousURL){return;}}callback(this.getURL());};window.addEventListener('popstate',this._popstateHandler);}/**\n              Formats url to be placed into href attribute.\n               @private\n              @method formatURL\n              @param url {String}\n              @return formatted url {String}\n            */formatURL(url){let{rootURL,baseURL}=this;if(url!==''){// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');baseURL=baseURL.replace(/\\/$/,'');}else if(baseURL[0]==='/'&&rootURL[0]==='/'){// if baseURL and rootURL both start with a slash\n// ... remove trailing slash from baseURL if it exists\nbaseURL=baseURL.replace(/\\/$/,'');}return baseURL+rootURL+url;}/**\n              Cleans up the HistoryLocation event listener.\n               @private\n              @method willDestroy\n            */willDestroy(){this._removeEventListener();}_removeEventListener(){if(this._popstateHandler){window.removeEventListener('popstate',this._popstateHandler);}}}const emberRoutingHistoryLocation=/*#__PURE__*/Object.defineProperty({__proto__:null,default:HistoryLocation},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/routing/none-location\n          *//**\n            NoneLocation does not interact with the browser. It is useful for\n            testing, or when you need to manage state with your Router, but temporarily\n            don't want it to muck with the URL (for example when you embed your\n            application in a larger page).\n\n            Using `NoneLocation` causes Ember to not store the applications URL state\n            in the actual URL. This is generally used for testing purposes, and is one\n            of the changes made when calling `App.setupForTesting()`.\n\n            @class NoneLocation\n            @extends EmberObject\n            @protected\n          */class NoneLocation extends EmberObject{constructor(...args){super(...args);_defineProperty(this,\"updateCallback\",void 0);}// Set in reopen so it can be overwritten with extend\n/**\n              Will be pre-pended to path.\n               @private\n              @property rootURL\n              @default '/'\n            */// Set in reopen so it can be overwritten with extend\ninitState(){this._super(...arguments);let{rootURL}=this;// This assert doesn't have anything to do with state initialization,\n// but we're hijacking this method since it's called after the route has\n// set the rootURL property on its Location instance.\n!(rootURL.charAt(rootURL.length-1)==='/')&&assert$1('rootURL must end with a trailing forward slash e.g. \"/app/\"',rootURL.charAt(rootURL.length-1)==='/');}/**\n              Returns the current path without `rootURL`.\n               @private\n              @method getURL\n              @return {String} path\n            */getURL(){let{path,rootURL}=this;// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');// remove rootURL from url\nreturn path.replace(new RegExp(`^${rootURL}(?=/|$)`),'');}/**\n              Set the path and remembers what was set. Using this method\n              to change the path will not invoke the `updateURL` callback.\n               @private\n              @method setURL\n              @param path {String}\n            */setURL(path){this.path=path;}/**\n              Register a callback to be invoked when the path changes. These\n              callbacks will execute when the user presses the back or forward\n              button, but not after `setURL` is invoked.\n               @private\n              @method onUpdateURL\n              @param callback {Function}\n            */onUpdateURL(callback){this.updateCallback=callback;}/**\n              Sets the path and calls the `updateURL` callback.\n               @private\n              @method handleURL\n              @param url {String}\n            */handleURL(url){this.path=url;if(this.updateCallback){this.updateCallback(url);}}/**\n              Given a URL, formats it to be placed into the page as part\n              of an element's `href` attribute.\n               @private\n              @method formatURL\n              @param {String} url\n              @return {String} url\n            */formatURL(url){let{rootURL}=this;if(url!==''){// remove trailing slashes if they exists\nrootURL=rootURL.replace(/\\/$/,'');}return rootURL+url;}}NoneLocation.reopen({path:'',rootURL:'/'});const emberRoutingNoneLocation=/*#__PURE__*/Object.defineProperty({__proto__:null,default:NoneLocation},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/application\n          *//**\n            The `ApplicationInstance` encapsulates all of the stateful aspects of a\n            running `Application`.\n\n            At a high-level, we break application boot into two distinct phases:\n\n            * Definition time, where all of the classes, templates, and other\n              dependencies are loaded (typically in the browser).\n            * Run time, where we begin executing the application once everything\n              has loaded.\n\n            Definition time can be expensive and only needs to happen once since it is\n            an idempotent operation. For example, between test runs and FastBoot\n            requests, the application stays the same. It is only the state that we want\n            to reset.\n\n            That state is what the `ApplicationInstance` manages: it is responsible for\n            creating the container that contains all application state, and disposing of\n            it once the particular test run or FastBoot request has finished.\n\n            @public\n            @class ApplicationInstance\n            @extends EngineInstance\n          */class ApplicationInstance extends EngineInstance{constructor(...args){super(...args);/**\n              The `Application` for which this is an instance.\n               @property {Application} application\n              @private\n            *//**\n              The root DOM element of the Application as an element or a\n              CSS selector.\n               @private\n              @property {String|DOMElement} rootElement\n            */_defineProperty(this,\"rootElement\",null);_defineProperty(this,\"_router\",void 0);}init(properties){super.init(properties);this.application._watchInstance(this);// Register this instance in the per-instance registry.\n//\n// Why do we need to register the instance in the first place?\n// Because we need a good way for the root route (a.k.a ApplicationRoute)\n// to notify us when it has created the root-most view. That view is then\n// appended to the rootElement, in the case of apps, to the fixture harness\n// in tests, or rendered to a string in the case of FastBoot.\nthis.register('-application-instance:main',this,{instantiate:false});}/**\n              Overrides the base `EngineInstance._bootSync` method with concerns relevant\n              to booting application (instead of engine) instances.\n               This method should only contain synchronous boot concerns. Asynchronous\n              boot concerns should eventually be moved to the `boot` method, which\n              returns a promise.\n               Until all boot code has been made asynchronous, we need to continue to\n              expose this method for use *internally* in places where we need to boot an\n              instance synchronously.\n               @private\n            */_bootSync(options){if(this._booted){return this;}options=new _BootOptions(options);this.setupRegistry(options);if(options.rootElement){this.rootElement=options.rootElement;}else{this.rootElement=this.application.rootElement;}if(options.location){set(this.router,'location',options.location);}this.application.runInstanceInitializers(this);if(options.isInteractive){this.setupEventDispatcher();}this._booted=true;return this;}setupRegistry(options){this.constructor.setupRegistry(this.__registry__,options);}get router(){if(!this._router){let router=this.lookup('router:main');!(router instanceof EmberRouter)&&assert$1('expected an instance of Router',router instanceof EmberRouter);this._router=router;}return this._router;}/**\n              This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n              when it has finished creating the root View. By default, we simply take the\n              view and append it to the `rootElement` specified on the Application.\n               In cases like FastBoot and testing, we can override this hook and implement\n              custom behavior, such as serializing to a string and sending over an HTTP\n              socket rather than appending to DOM.\n               @param view {Ember.View} the root-most view\n              @deprecated\n              @private\n            */didCreateRootView(view){view.appendTo(this.rootElement);}/**\n              Tells the router to start routing. The router will ask the location for the\n              current URL of the page to determine the initial URL to start routing to.\n              To start the app at a specific URL, call `handleURL` instead.\n               @private\n            */startRouting(){this.router.startRouting();}/**\n              Sets up the router, initializing the child router and configuring the\n              location before routing begins.\n               Because setup should only occur once, multiple calls to `setupRouter`\n              beyond the first call have no effect.\n               This is commonly used in order to confirm things that rely on the router\n              are functioning properly from tests that are primarily rendering related.\n               For example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n              `setupRenderingTest` calling `this.owner.setupRouter()` would allow that\n              rendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\n              have the correct URL.\n               @public\n            */setupRouter(){this.router.setupRouter();}/**\n              Directs the router to route to a particular URL. This is useful in tests,\n              for example, to tell the app to start at a particular URL.\n               @param url {String} the URL the router should route to\n              @private\n            */handleURL(url){this.setupRouter();return this.router.handleURL(url);}/**\n              @private\n            */setupEventDispatcher(){let dispatcher=this.lookup('event_dispatcher:main');!(dispatcher instanceof EventDispatcher)&&assert$1('expected EventDispatcher',dispatcher instanceof EventDispatcher);let applicationCustomEvents=get$2(this.application,'customEvents');let instanceCustomEvents=get$2(this,'customEvents');let customEvents=Object.assign({},applicationCustomEvents,instanceCustomEvents);!(this.rootElement===null||typeof this.rootElement==='string'||this.rootElement instanceof Element)&&assert$1('[BUG] Tried to set up dispatcher with an invalid root element',this.rootElement===null||typeof this.rootElement==='string'||this.rootElement instanceof Element);dispatcher.setup(customEvents,this.rootElement);return dispatcher;}/**\n              Returns the current URL of the app instance. This is useful when your\n              app does not update the browsers URL bar (i.e. it uses the `'none'`\n              location adapter).\n               @public\n              @return {String} the current URL\n            */getURL(){return this.router.url;}// `instance.visit(url)` should eventually replace `instance.handleURL()`;\n// the test helpers can probably be switched to use this implementation too\n/**\n              Navigate the instance to a particular URL. This is useful in tests, for\n              example, or to tell the app to start at a particular URL. This method\n              returns a promise that resolves with the app instance when the transition\n              is complete, or rejects if the transition was aborted due to an error.\n               @public\n              @param url {String} the destination URL\n              @return {Promise<ApplicationInstance>}\n            */visit(url){this.setupRouter();let bootOptions=this.__container__.lookup('-environment:main');let router=this.router;let handleTransitionResolve=()=>{if(!bootOptions.options.shouldRender){// No rendering is needed, and routing has completed, simply return.\nreturn this;}else{// Ensure that the visit promise resolves when all rendering has completed\nreturn renderSettled().then(()=>this);}};let handleTransitionReject=error=>{if(error.error&&error.error instanceof Error){throw error.error;}else if(error.name==='TransitionAborted'&&router._routerMicrolib.activeTransition){return router._routerMicrolib.activeTransition.then(handleTransitionResolve,handleTransitionReject);}else if(error.name==='TransitionAborted'){throw new Error(error.message);}else{throw error;}};let location=get$2(router,'location');!(typeof location!=='string')&&assert$1('location has been initialized',typeof location!=='string');// Keeps the location adapter's internal URL in-sync\nlocation.setURL(url);// getURL returns the set url with the rootURL stripped off\nreturn router.handleURL(location.getURL()).then(handleTransitionResolve,handleTransitionReject);}willDestroy(){super.willDestroy();this.application._unwatchInstance(this);}/**\n             @private\n             @method setupRegistry\n             @param {Registry} registry\n             @param {BootOptions} options\n            */static setupRegistry(registry,options={}){let coptions=options instanceof _BootOptions?options:new _BootOptions(options);registry.register('-environment:main',coptions.toEnvironment(),{instantiate:false});registry.register('service:-document',coptions.document,{instantiate:false});super.setupRegistry(registry,coptions);}}/**\n            A list of boot-time configuration options for customizing the behavior of\n            an `ApplicationInstance`.\n\n            This is an interface class that exists purely to document the available\n            options; you do not need to construct it manually. Simply pass a regular\n            JavaScript object containing the desired options into methods that require\n            one of these options object:\n\n            ```javascript\n            MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n            ```\n\n            Not all combinations of the supported options are valid. See the documentation\n            on `Application#visit` for the supported configurations.\n\n            Internal, experimental or otherwise unstable flags are marked as private.\n\n            @class BootOptions\n            @namespace ApplicationInstance\n            @public\n          */class _BootOptions{constructor(options={}){/**\n              Interactive mode: whether we need to set up event delegation and invoke\n              lifecycle callbacks on Components.\n               @property isInteractive\n              @type boolean\n              @default auto-detected\n              @private\n            */_defineProperty(this,\"isInteractive\",void 0);/**\n              @property _renderMode\n              @type string\n              @default undefined\n              @private\n            */_defineProperty(this,\"_renderMode\",void 0);/**\n              Run in a full browser environment.\n               When this flag is set to `false`, it will disable most browser-specific\n              and interactive features. Specifically:\n               * It does not use `jQuery` to append the root view; the `rootElement`\n                (either specified as a subsequent option or on the application itself)\n                must already be an `Element` in the given `document` (as opposed to a\n                string selector).\n               * It does not set up an `EventDispatcher`.\n               * It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n               * It sets the `location` option to `\"none\"`. (If you would like to use\n                the location adapter specified in the app's router instead, you can also\n                specify `{ location: null }` to specifically opt-out.)\n               @property isBrowser\n              @type boolean\n              @default auto-detected\n              @public\n            */_defineProperty(this,\"isBrowser\",void 0);/**\n              If present, overrides the router's `location` property with this\n              value. This is useful for environments where trying to modify the\n              URL would be inappropriate.\n               @property location\n              @type string\n              @default null\n              @public\n            */_defineProperty(this,\"location\",null);/**\n              Disable rendering completely.\n               When this flag is set to `false`, it will disable the entire rendering\n              pipeline. Essentially, this puts the app into \"routing-only\" mode. No\n              templates will be rendered, and no Components will be created.\n               @property shouldRender\n              @type boolean\n              @default true\n              @public\n            */_defineProperty(this,\"shouldRender\",void 0);/**\n              If present, render into the given `Document` object instead of the\n              global `window.document` object.\n               In practice, this is only useful in non-browser environment or in\n              non-interactive mode, because Ember's `jQuery` dependency is\n              implicitly bound to the current document, causing event delegation\n              to not work properly when the app is rendered into a foreign\n              document object (such as an iframe's `contentDocument`).\n               In non-browser mode, this could be a \"`Document`-like\" object as\n              Ember only interact with a small subset of the DOM API in non-\n              interactive mode. While the exact requirements have not yet been\n              formalized, the `SimpleDOM` library's implementation is known to\n              work.\n               @property document\n              @type Document\n              @default the global `document` object\n              @public\n            */_defineProperty(this,\"document\",void 0);/**\n              If present, overrides the application's `rootElement` property on\n              the instance. This is useful for testing environment, where you\n              might want to append the root view to a fixture area.\n               In non-browser mode, because Ember does not have access to jQuery,\n              this options must be specified as a DOM `Element` object instead of\n              a selector string.\n               See the documentation on `Application`'s `rootElement` for\n              details.\n               @property rootElement\n              @type String|Element\n              @default null\n              @public\n            */_defineProperty(this,\"rootElement\",void 0);this.isInteractive=Boolean(hasDOM);// This default is overridable below\nthis._renderMode=options._renderMode;if(options.isBrowser!==undefined){this.isBrowser=Boolean(options.isBrowser);}else{this.isBrowser=Boolean(hasDOM);}if(!this.isBrowser){this.isInteractive=false;this.location='none';}if(options.shouldRender!==undefined){this.shouldRender=Boolean(options.shouldRender);}else{this.shouldRender=true;}if(!this.shouldRender){this.isInteractive=false;}if(options.document){this.document=options.document;}else{this.document=typeof document!=='undefined'?document:null;}if(options.rootElement){this.rootElement=options.rootElement;}// Set these options last to give the user a chance to override the\n// defaults from the \"combo\" options like `isBrowser` (although in\n// practice, the resulting combination is probably invalid)\nif(options.location!==undefined){this.location=options.location;}if(options.isInteractive!==undefined){this.isInteractive=Boolean(options.isInteractive);}}toEnvironment(){// Do we really want to assign all of this!?\nreturn{...emberinternalsBrowserEnvironmentIndex,// For compatibility with existing code\nhasDOM:this.isBrowser,isInteractive:this.isInteractive,_renderMode:this._renderMode,options:this};}}const emberApplicationInstance=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ApplicationInstance},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/application/namespace\n          *//**\n            A Namespace is an object usually used to contain other objects or methods\n            such as an application or framework. Create a namespace anytime you want\n            to define one of these new containers.\n\n            # Example Usage\n\n            ```javascript\n            MyFramework = Ember.Namespace.create({\n              VERSION: '1.0.0'\n            });\n            ```\n\n            @class Namespace\n            @extends EmberObject\n            @public\n          */class Namespace extends EmberObject{init(properties){super.init(properties);addNamespace(this);}toString(){let existing_name=get$2(this,'name')||get$2(this,'modulePrefix');if(existing_name){!(typeof existing_name==='string')&&assert$1(\"name wasn't a string\",typeof existing_name==='string');return existing_name;}findNamespaces();let name=getName(this);if(name===undefined){name=guidFor(this);setName(this,name);}return name;}nameClasses(){processNamespace(this);}destroy(){removeNamespace(this);return super.destroy();}}// Declare on the prototype to have a single shared value.\n_defineProperty(Namespace,\"NAMESPACES\",NAMESPACES);_defineProperty(Namespace,\"NAMESPACES_BY_ID\",NAMESPACES_BY_ID);_defineProperty(Namespace,\"processAll\",processAllNamespaces);_defineProperty(Namespace,\"byName\",findNamespace);Namespace.prototype.isNamespace=true;const emberApplicationNamespace=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Namespace},Symbol.toStringTag,{value:'Module'});/**\n           * A topologically ordered map of key/value pairs with a simple API for adding constraints.\n           *\n           * Edges can forward reference keys that have not been added yet (the forward reference will\n           * map the key to undefined).\n           */var DAG=function(){function DAG(){this._vertices=new Vertices();}/**\n             * Adds a key/value pair with dependencies on other key/value pairs.\n             *\n             * @public\n             * @param key    The key of the vertex to be added.\n             * @param value  The value of that vertex.\n             * @param before A key or array of keys of the vertices that must\n             *               be visited before this vertex.\n             * @param after  An string or array of strings with the keys of the\n             *               vertices that must be after this vertex is visited.\n             */DAG.prototype.add=function(key,value,before,after){if(!key)throw new Error('argument `key` is required');var vertices=this._vertices;var v=vertices.add(key);v.val=value;if(before){if(typeof before===\"string\"){vertices.addEdge(v,vertices.add(before));}else{for(var i=0;i<before.length;i++){vertices.addEdge(v,vertices.add(before[i]));}}}if(after){if(typeof after===\"string\"){vertices.addEdge(vertices.add(after),v);}else{for(var i=0;i<after.length;i++){vertices.addEdge(vertices.add(after[i]),v);}}}};/**\n             * @deprecated please use add.\n             */DAG.prototype.addEdges=function(key,value,before,after){this.add(key,value,before,after);};/**\n             * Visits key/value pairs in topological order.\n             *\n             * @public\n             * @param callback The function to be invoked with each key/value.\n             */DAG.prototype.each=function(callback){this._vertices.walk(callback);};/**\n             * @deprecated please use each.\n             */DAG.prototype.topsort=function(callback){this.each(callback);};return DAG;}();/** @private */var Vertices=function(){function Vertices(){this.length=0;this.stack=new IntStack();this.path=new IntStack();this.result=new IntStack();}Vertices.prototype.add=function(key){if(!key)throw new Error(\"missing key\");var l=this.length|0;var vertex;for(var i=0;i<l;i++){vertex=this[i];if(vertex.key===key)return vertex;}this.length=l+1;return this[l]={idx:l,key:key,val:undefined,out:false,flag:false,length:0};};Vertices.prototype.addEdge=function(v,w){this.check(v,w.key);var l=w.length|0;for(var i=0;i<l;i++){if(w[i]===v.idx)return;}w.length=l+1;w[l]=v.idx;v.out=true;};Vertices.prototype.walk=function(cb){this.reset();for(var i=0;i<this.length;i++){var vertex=this[i];if(vertex.out)continue;this.visit(vertex,\"\");}this.each(this.result,cb);};Vertices.prototype.check=function(v,w){if(v.key===w){throw new Error(\"cycle detected: \"+w+\" <- \"+w);}// quick check\nif(v.length===0)return;// shallow check\nfor(var i=0;i<v.length;i++){var key=this[v[i]].key;if(key===w){throw new Error(\"cycle detected: \"+w+\" <- \"+v.key+\" <- \"+w);}}// deep check\nthis.reset();this.visit(v,w);if(this.path.length>0){var msg_1=\"cycle detected: \"+w;this.each(this.path,function(key){msg_1+=\" <- \"+key;});throw new Error(msg_1);}};Vertices.prototype.reset=function(){this.stack.length=0;this.path.length=0;this.result.length=0;for(var i=0,l=this.length;i<l;i++){this[i].flag=false;}};Vertices.prototype.visit=function(start,search){var _a=this,stack=_a.stack,path=_a.path,result=_a.result;stack.push(start.idx);while(stack.length){var index=stack.pop()|0;if(index>=0){// enter\nvar vertex=this[index];if(vertex.flag)continue;vertex.flag=true;path.push(index);if(search===vertex.key)break;// push exit\nstack.push(~index);this.pushIncoming(vertex);}else{// exit\npath.pop();result.push(~index);}}};Vertices.prototype.pushIncoming=function(incomming){var stack=this.stack;for(var i=incomming.length-1;i>=0;i--){var index=incomming[i];if(!this[index].flag){stack.push(index);}}};Vertices.prototype.each=function(indices,cb){for(var i=0,l=indices.length;i<l;i++){var vertex=this[indices[i]];cb(vertex.key,vertex.val);}};return Vertices;}();/** @private */var IntStack=function(){function IntStack(){this.length=0;}IntStack.prototype.push=function(n){this[this.length++]=n|0;};IntStack.prototype.pop=function(){return this[--this.length]|0;};return IntStack;}();const dagMap=/*#__PURE__*/Object.defineProperty({__proto__:null,default:DAG},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/debug/container-debug-adapter\n          *//**\n            The `ContainerDebugAdapter` helps the container and resolver interface\n            with tools that debug Ember such as the\n            [Ember Inspector](https://github.com/emberjs/ember-inspector)\n            for Chrome and Firefox.\n\n            This class can be extended by a custom resolver implementer\n            to override some of the methods with library-specific code.\n\n            The methods likely to be overridden are:\n\n            * `canCatalogEntriesByType`\n            * `catalogEntriesByType`\n\n            The adapter will need to be registered\n            in the application's container as `container-debug-adapter:main`.\n\n            Example:\n\n            ```javascript\n            Application.initializer({\n              name: \"containerDebugAdapter\",\n\n              initialize(application) {\n                application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n              }\n            });\n            ```\n\n            @class ContainerDebugAdapter\n            @extends EmberObject\n            @since 1.5.0\n            @public\n          */class ContainerDebugAdapter extends EmberObject{constructor(owner){super(owner);/**\n              The resolver instance of the application\n              being debugged. This property will be injected\n              on creation.\n               @property resolver\n              @public\n            */_defineProperty(this,\"resolver\",void 0);this.resolver=getOwner$2(this).lookup('resolver-for-debugging:main');}/**\n              Returns true if it is possible to catalog a list of available\n              classes in the resolver for a given type.\n               @method canCatalogEntriesByType\n              @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n              @return {boolean} whether a list is available for this type.\n              @public\n            */canCatalogEntriesByType(type){if(type==='model'||type==='template'){return false;}return true;}/**\n              Returns the available classes a given type.\n               @method catalogEntriesByType\n              @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n              @return {Array} An array of strings.\n              @public\n            */catalogEntriesByType(type){let namespaces=Namespace.NAMESPACES;let types=[];let typeSuffixRegex=new RegExp(`${classify(type)}$`);namespaces.forEach(namespace=>{for(let key in namespace){if(!Object.prototype.hasOwnProperty.call(namespace,key)){continue;}if(typeSuffixRegex.test(key)){let klass=namespace[key];if(typeOf(klass)==='class'){types.push(dasherize(key.replace(typeSuffixRegex,'')));}}}});return types;}}const emberDebugContainerDebugAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ContainerDebugAdapter},Symbol.toStringTag,{value:'Module'});function props(obj){let properties=[];for(let key in obj){properties.push(key);}return properties;}/**\n          @module @ember/engine\n          *//**\n            The `Engine` class contains core functionality for both applications and\n            engines.\n\n            Each engine manages a registry that's used for dependency injection and\n            exposed through `RegistryProxy`.\n\n            Engines also manage initializers and instance initializers.\n\n            Engines can spawn `EngineInstance` instances via `buildInstance()`.\n\n            @class Engine\n            @extends Ember.Namespace\n            @uses RegistryProxyMixin\n            @public\n          */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nclass Engine extends Namespace.extend(RegistryProxyMixin){constructor(...args){super(...args);/**\n              A private flag indicating whether an engine's initializers have run yet.\n               @private\n              @property _initializersRan\n            */_defineProperty(this,\"_initializersRan\",false);}/**\n              This creates a registry with the default Ember naming conventions.\n               It also configures the registry:\n               * registered views are created every time they are looked up (they are\n                not singletons)\n              * registered templates are not factories; the registered value is\n                returned directly.\n              * the router receives the application as its `namespace` property\n              * all controllers receive the router as their `target` and `controllers`\n                properties\n              * all controllers receive the application as their `namespace` property\n              * the application view receives the application controller as its\n                `controller` property\n              * the application view receives the application template as its\n                `defaultTemplate` property\n               @method buildRegistry\n              @static\n              @param {Application} namespace the application for which to\n                build the registry\n              @return {Ember.Registry} the built registry\n              @private\n            */static buildRegistry(namespace){let registry=new Registry({resolver:resolverFor(namespace)});registry.set=set;registry.register('application:main',namespace,{instantiate:false});commonSetupRegistry$1(registry);setupEngineRegistry(registry);return registry;}/**\n              Set this to provide an alternate class to `DefaultResolver`\n               @property resolver\n              @public\n            */init(properties){super.init(properties);this.buildRegistry();}/**\n              Ensure that initializers are run once, and only once, per engine.\n               @private\n              @method ensureInitializers\n            */ensureInitializers(){if(!this._initializersRan){this.runInitializers();this._initializersRan=true;}}/**\n              Create an EngineInstance for this engine.\n               @public\n              @method buildInstance\n              @return {EngineInstance} the engine instance\n            */buildInstance(options={}){this.ensureInitializers();return EngineInstance.create({...options,base:this});}/**\n              Build and configure the registry for the current engine.\n               @private\n              @method buildRegistry\n              @return {Ember.Registry} the configured registry\n            */buildRegistry(){let registry=this.__registry__=this.constructor.buildRegistry(this);return registry;}/**\n              @private\n              @method initializer\n            */initializer(initializer){this.constructor.initializer(initializer);}/**\n              @private\n              @method instanceInitializer\n            */instanceInitializer(initializer){this.constructor.instanceInitializer(initializer);}/**\n              @private\n              @method runInitializers\n            */runInitializers(){this._runInitializer('initializers',(name,initializer)=>{!initializer&&assert$1(`No application initializer named '${name}'`,initializer);initializer.initialize(this);});}/**\n              @private\n              @since 1.12.0\n              @method runInstanceInitializers\n            */runInstanceInitializers(instance){this._runInitializer('instanceInitializers',(name,initializer)=>{!initializer&&assert$1(`No instance initializer named '${name}'`,initializer);initializer.initialize(instance);});}_runInitializer(bucketName,cb){let initializersByName=get$2(this.constructor,bucketName);let initializers=props(initializersByName);let graph=new DAG();let initializer;for(let name of initializers){initializer=initializersByName[name];!initializer&&assert$1(`missing ${bucketName}: ${name}`,initializer);graph.add(initializer.name,initializer,initializer.before,initializer.after);}graph.topsort(cb);}}/**\n            This function defines the default lookup rules for container lookups:\n\n            * templates are looked up on `Ember.TEMPLATES`\n            * other names are looked up on the application after classifying the name.\n              For example, `controller:post` looks up `App.PostController` by default.\n            * if the default lookup fails, look for registered classes on the container\n\n            This allows the application to register default injections in the container\n            that could be overridden by the normal naming convention.\n\n            @private\n            @method resolverFor\n            @param {Ember.Enginer} namespace the namespace to look for classes\n            @return {*} the resolved value for a given lookup\n          */_defineProperty(Engine,\"initializers\",Object.create(null));_defineProperty(Engine,\"instanceInitializers\",Object.create(null));/**\n              The goal of initializers should be to register dependencies and injections.\n              This phase runs once. Because these initializers may load code, they are\n              allowed to defer application readiness and advance it. If you need to access\n              the container or store you should use an InstanceInitializer that will be run\n              after all initializers and therefore after all code is loaded and the app is\n              ready.\n               Initializer receives an object which has the following attributes:\n              `name`, `before`, `after`, `initialize`. The only required attribute is\n              `initialize`, all others are optional.\n               * `name` allows you to specify under which name the initializer is registered.\n              This must be a unique name, as trying to register two initializers with the\n              same name will result in an error.\n               ```app/initializer/named-initializer.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Running namedInitializer!');\n              }\n               export default {\n                name: 'named-initializer',\n                initialize\n              };\n              ```\n               * `before` and `after` are used to ensure that this initializer is ran prior\n              or after the one identified by the value. This value can be a single string\n              or an array of strings, referencing the `name` of other initializers.\n               An example of ordering initializers, we create an initializer named `first`:\n               ```app/initializer/first.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('First initializer!');\n              }\n               export default {\n                name: 'first',\n                initialize\n              };\n              ```\n               ```bash\n              // DEBUG: First initializer!\n              ```\n               We add another initializer named `second`, specifying that it should run\n              after the initializer named `first`:\n               ```app/initializer/second.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Second initializer!');\n              }\n               export default {\n                name: 'second',\n                after: 'first',\n                initialize\n              };\n              ```\n               ```\n              // DEBUG: First initializer!\n              // DEBUG: Second initializer!\n              ```\n               Afterwards we add a further initializer named `pre`, this time specifying\n              that it should run before the initializer named `first`:\n               ```app/initializer/pre.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Pre initializer!');\n              }\n               export default {\n                name: 'pre',\n                before: 'first',\n                initialize\n              };\n              ```\n               ```bash\n              // DEBUG: Pre initializer!\n              // DEBUG: First initializer!\n              // DEBUG: Second initializer!\n              ```\n               Finally we add an initializer named `post`, specifying it should run after\n              both the `first` and the `second` initializers:\n               ```app/initializer/post.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Post initializer!');\n              }\n               export default {\n                name: 'post',\n                after: ['first', 'second'],\n                initialize\n              };\n              ```\n               ```bash\n              // DEBUG: Pre initializer!\n              // DEBUG: First initializer!\n              // DEBUG: Second initializer!\n              // DEBUG: Post initializer!\n              ```\n               * `initialize` is a callback function that receives one argument,\n                `application`, on which you can operate.\n               Example of using `application` to register an adapter:\n               ```app/initializer/api-adapter.js\n              import ApiAdapter from '../utils/api-adapter';\n               export function initialize(application) {\n                application.register('api-adapter:main', ApiAdapter);\n              }\n               export default {\n                name: 'post',\n                after: ['first', 'second'],\n                initialize\n              };\n              ```\n               @method initializer\n              @param initializer {Object}\n              @public\n            */_defineProperty(Engine,\"initializer\",buildInitializerMethod('initializers','initializer'));/**\n              Instance initializers run after all initializers have run. Because\n              instance initializers run after the app is fully set up. We have access\n              to the store, container, and other items. However, these initializers run\n              after code has loaded and are not allowed to defer readiness.\n               Instance initializer receives an object which has the following attributes:\n              `name`, `before`, `after`, `initialize`. The only required attribute is\n              `initialize`, all others are optional.\n               * `name` allows you to specify under which name the instanceInitializer is\n              registered. This must be a unique name, as trying to register two\n              instanceInitializer with the same name will result in an error.\n               ```app/initializer/named-instance-initializer.js\n              import { debug } from '@ember/debug';\n               export function initialize() {\n                debug('Running named-instance-initializer!');\n              }\n               export default {\n                name: 'named-instance-initializer',\n                initialize\n              };\n              ```\n               * `before` and `after` are used to ensure that this initializer is ran prior\n              or after the one identified by the value. This value can be a single string\n              or an array of strings, referencing the `name` of other initializers.\n               * See Application.initializer for discussion on the usage of before\n              and after.\n               Example instanceInitializer to preload data into the store.\n               ```app/initializer/preload-data.js\n               export function initialize(application) {\n                  var userConfig, userConfigEncoded, store;\n                  // We have a HTML escaped JSON representation of the user's basic\n                  // configuration generated server side and stored in the DOM of the main\n                  // index.html file. This allows the app to have access to a set of data\n                  // without making any additional remote calls. Good for basic data that is\n                  // needed for immediate rendering of the page. Keep in mind, this data,\n                  // like all local models and data can be manipulated by the user, so it\n                  // should not be relied upon for security or authorization.\n                   // Grab the encoded data from the meta tag\n                  userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n                   // Unescape the text, then parse the resulting JSON into a real object\n                  userConfig = JSON.parse(unescape(userConfigEncoded));\n                   // Lookup the store\n                  store = application.lookup('service:store');\n                   // Push the encoded JSON into the store\n                  store.pushPayload(userConfig);\n              }\n               export default {\n                name: 'named-instance-initializer',\n                initialize\n              };\n              ```\n               @method instanceInitializer\n              @param instanceInitializer\n              @public\n            */_defineProperty(Engine,\"instanceInitializer\",buildInitializerMethod('instanceInitializers','instance initializer'));function resolverFor(namespace){let ResolverClass=namespace.Resolver;let props={namespace};return ResolverClass.create(props);}/** @internal */function buildInitializerMethod(bucketName,humanName){return function(initializer){// If this is the first initializer being added to a subclass, we are going to reopen the class\n// to make sure we have a new `initializers` object, which extends from the parent class' using\n// prototypal inheritance. Without this, attempting to add initializers to the subclass would\n// pollute the parent class as well as other subclasses.\n// SAFETY: The superclass may be an Engine, we don't call unless we confirmed it was ok.\nlet superclass=this.superclass;if(superclass[bucketName]!==undefined&&superclass[bucketName]===this[bucketName]){let attrs={[bucketName]:Object.create(this[bucketName])};this.reopenClass(attrs);}!!this[bucketName][initializer.name]&&assert$1(`The ${humanName} '${initializer.name}' has already been registered`,!this[bucketName][initializer.name]);!canInvoke(initializer,'initialize')&&assert$1(`An ${humanName} cannot be registered without an initialize function`,canInvoke(initializer,'initialize'));!(initializer.name!==undefined)&&assert$1(`An ${humanName} cannot be registered without a name property`,initializer.name!==undefined);let initializers=this[bucketName];initializers[initializer.name]=initializer;};}function commonSetupRegistry$1(registry){registry.optionsForType('component',{singleton:false});registry.optionsForType('view',{singleton:false});registry.register('controller:basic',Controller,{instantiate:false});// Register the routing service...\nregistry.register('service:-routing',RoutingService);// DEBUGGING\nregistry.register('resolver-for-debugging:main',registry.resolver,{instantiate:false});registry.register('container-debug-adapter:main',ContainerDebugAdapter);registry.register('component-lookup:main',ComponentLookup);}const emberEngineIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,buildInitializerMethod,default:Engine,getEngineParent,setEngineParent},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/application\n          *//**\n           * @deprecated Use `import { getOwner } from '@ember/owner';` instead.\n           */const getOwner=getOwner$1;/**\n           * @deprecated Use `import { setOwner } from '@ember/owner';` instead.\n           */const setOwner=setOwner$1;/**\n            An instance of `Application` is the starting point for every Ember\n            application. It instantiates, initializes and coordinates the\n            objects that make up your app.\n\n            Each Ember app has one and only one `Application` object. Although\n            Ember CLI creates this object implicitly, the `Application` class\n            is defined in the `app/app.js`. You can define a `ready` method on the\n            `Application` class, which will be run by Ember when the application is\n            initialized.\n\n            ```app/app.js\n            export default class App extends Application {\n              ready() {\n                // your code here\n              }\n            }\n            ```\n\n            Because `Application` ultimately inherits from `Ember.Namespace`, any classes\n            you create will have useful string representations when calling `toString()`.\n            See the `Ember.Namespace` documentation for more information.\n\n            While you can think of your `Application` as a container that holds the\n            other classes in your application, there are several other responsibilities\n            going on under-the-hood that you may want to understand. It is also important\n            to understand that an `Application` is different from an `ApplicationInstance`.\n            Refer to the Guides to understand the difference between these.\n\n            ### Event Delegation\n\n            Ember uses a technique called _event delegation_. This allows the framework\n            to set up a global, shared event listener instead of requiring each view to\n            do it manually. For example, instead of each view registering its own\n            `mousedown` listener on its associated element, Ember sets up a `mousedown`\n            listener on the `body`.\n\n            If a `mousedown` event occurs, Ember will look at the target of the event and\n            start walking up the DOM node tree, finding corresponding views and invoking\n            their `mouseDown` method as it goes.\n\n            `Application` has a number of default events that it listens for, as\n            well as a mapping from lowercase events to camel-cased view method names. For\n            example, the `keypress` event causes the `keyPress` method on the view to be\n            called, the `dblclick` event causes `doubleClick` to be called, and so on.\n\n            If there is a bubbling browser event that Ember does not listen for by\n            default, you can specify custom events and their corresponding view method\n            names by setting the application's `customEvents` property:\n\n            ```app/app.js\n            import Application from '@ember/application';\n\n            export default class App extends Application {\n              customEvents = {\n                // add support for the paste event\n                paste: 'paste'\n              }\n            }\n            ```\n\n            To prevent Ember from setting up a listener for a default event,\n            specify the event name with a `null` value in the `customEvents`\n            property:\n\n            ```app/app.js\n            import Application from '@ember/application';\n\n            export default class App extends Application {\n              customEvents = {\n                // prevent listeners for mouseenter/mouseleave events\n                mouseenter: null,\n                mouseleave: null\n              }\n            }\n            ```\n\n            By default, the application sets up these event listeners on the document\n            body. However, in cases where you are embedding an Ember application inside\n            an existing page, you may want it to set up the listeners on an element\n            inside the body.\n\n            For example, if only events inside a DOM element with the ID of `ember-app`\n            should be delegated, set your application's `rootElement` property:\n\n            ```app/app.js\n            import Application from '@ember/application';\n\n            export default class App extends Application {\n              rootElement = '#ember-app'\n            }\n            ```\n\n            The `rootElement` can be either a DOM element or a CSS selector\n            string. Note that *views appended to the DOM outside the root element will\n            not receive events.* If you specify a custom root element, make sure you only\n            append views inside it!\n\n            To learn more about the events Ember components use, see\n\n            [components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n\n            ### Initializers\n\n            To add behavior to the Application's boot process, you can define initializers in\n            the `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\n            These files should export a named `initialize` function which will receive the created `application`\n            object as its first argument.\n\n            ```javascript\n            export function initialize(application) {\n              // application.inject('route', 'foo', 'service:foo');\n            }\n            ```\n\n            Application initializers can be used for a variety of reasons including:\n\n            - setting up external libraries\n            - injecting dependencies\n            - setting up event listeners in embedded apps\n            - deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n\n            ### Routing\n\n            In addition to creating your application's router, `Application` is\n            also responsible for telling the router when to start routing. Transitions\n            between routes can be logged with the `LOG_TRANSITIONS` flag, and more\n            detailed intra-transition logging can be logged with\n            the `LOG_TRANSITIONS_INTERNAL` flag:\n\n            ```javascript\n            import Application from '@ember/application';\n\n            let App = Application.create({\n              LOG_TRANSITIONS: true, // basic logging of successful transitions\n              LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n            });\n            ```\n\n            By default, the router will begin trying to translate the current URL into\n            application state once the browser emits the `DOMContentReady` event. If you\n            need to defer routing, you can call the application's `deferReadiness()`\n            method. Once routing can begin, call the `advanceReadiness()` method.\n\n            If there is any setup required before routing begins, you can implement a\n            `ready()` method on your app that will be invoked immediately before routing\n            begins.\n\n            @class Application\n            @extends Engine\n            @public\n          */class Application extends Engine{constructor(...args){super(...args);_defineProperty(this,\"Router\",void 0);_defineProperty(this,\"__deprecatedInstance__\",void 0);_defineProperty(this,\"__container__\",void 0);_defineProperty(this,\"_bootPromise\",null);_defineProperty(this,\"_bootResolver\",null);}/**\n              This creates a registry with the default Ember naming conventions.\n               It also configures the registry:\n               * registered views are created every time they are looked up (they are\n                not singletons)\n              * registered templates are not factories; the registered value is\n                returned directly.\n              * the router receives the application as its `namespace` property\n              * all controllers receive the router as their `target` and `controllers`\n                properties\n              * all controllers receive the application as their `namespace` property\n              * the application view receives the application controller as its\n                `controller` property\n              * the application view receives the application template as its\n                `defaultTemplate` property\n               @method buildRegistry\n              @static\n              @param {Application} namespace the application for which to\n                build the registry\n              @return {Ember.Registry} the built registry\n              @private\n            */static buildRegistry(namespace){let registry=super.buildRegistry(namespace);commonSetupRegistry(registry);setupApplicationRegistry(registry);return registry;}/**\n              The root DOM element of the Application. This can be specified as an\n              element or a [selector string](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors#reference_table_of_selectors).\n               This is the element that will be passed to the Application's,\n              `eventDispatcher`, which sets up the listeners for event delegation. Every\n              view in your application should be a child of the element you specify here.\n               @property rootElement\n              @type DOMElement\n              @default 'body'\n              @public\n            *//**\n               @property _document\n              @type Document | null\n              @default 'window.document'\n              @private\n            *//**\n              The `Ember.EventDispatcher` responsible for delegating events to this\n              application's views.\n               The event dispatcher is created by the application at initialization time\n              and sets up event listeners on the DOM element described by the\n              application's `rootElement` property.\n               See the documentation for `Ember.EventDispatcher` for more information.\n               @property eventDispatcher\n              @type Ember.EventDispatcher\n              @default null\n              @public\n            *//**\n              The DOM events for which the event dispatcher should listen.\n               By default, the application's `Ember.EventDispatcher` listens\n              for a set of standard DOM events, such as `mousedown` and\n              `keyup`, and delegates them to your application's `Ember.View`\n              instances.\n               If you would like additional bubbling events to be delegated to your\n              views, set your `Application`'s `customEvents` property\n              to a hash containing the DOM event name as the key and the\n              corresponding view method name as the value. Setting an event to\n              a value of `null` will prevent a default event listener from being\n              added for that event.\n               To add new events to be listened to:\n               ```app/app.js\n              import Application from '@ember/application';\n               let App = Application.extend({\n                customEvents: {\n                  // add support for the paste event\n                  paste: 'paste'\n                }\n              });\n              ```\n               To prevent default events from being listened to:\n               ```app/app.js\n              import Application from '@ember/application';\n               let App = Application.extend({\n                customEvents: {\n                  // remove support for mouseenter / mouseleave events\n                  mouseenter: null,\n                  mouseleave: null\n                }\n              });\n              ```\n              @property customEvents\n              @type Object\n              @default null\n              @public\n            *//**\n              Whether the application should automatically start routing and render\n              templates to the `rootElement` on DOM ready. While default by true,\n              other environments such as FastBoot or a testing harness can set this\n              property to `false` and control the precise timing and behavior of the boot\n              process.\n               @property autoboot\n              @type Boolean\n              @default true\n              @private\n            *//**\n              Whether the application should be configured for the legacy \"globals mode\".\n              Under this mode, the Application object serves as a global namespace for all\n              classes.\n               ```javascript\n              import Application from '@ember/application';\n              import Component from '@ember/component';\n               let App = Application.create({\n                ...\n              });\n               App.Router.reopen({\n                location: 'none'\n              });\n               App.Router.map({\n                ...\n              });\n               App.MyComponent = Component.extend({\n                ...\n              });\n              ```\n               This flag also exposes other internal APIs that assumes the existence of\n              a special \"default instance\", like `App.__container__.lookup(...)`.\n               This option is currently not configurable, its value is derived from\n              the `autoboot` flag – disabling `autoboot` also implies opting-out of\n              globals mode support, although they are ultimately orthogonal concerns.\n               Some of the global modes features are already deprecated in 1.x. The\n              existence of this flag is to untangle the globals mode code paths from\n              the autoboot code paths, so that these legacy features can be reviewed\n              for deprecation/removal separately.\n               Forcing the (autoboot=true, _globalsMode=false) here and running the tests\n              would reveal all the places where we are still relying on these legacy\n              behavior internally (mostly just tests).\n               @property _globalsMode\n              @type Boolean\n              @default true\n              @private\n            *//**\n              An array of application instances created by `buildInstance()`. Used\n              internally to ensure that all instances get destroyed.\n               @property _applicationInstances\n              @type Array\n              @private\n            */init(properties){super.init(properties);this.rootElement??='body';this._document??=null;this.eventDispatcher??=null;this.customEvents??=null;this.autoboot??=true;this._document??=hasDOM?window.document:null;this._globalsMode??=true;{if(ENV.LOG_VERSION){// we only need to see this once per Application#init\nENV.LOG_VERSION=false;LIBRARIES.logVersions?.();}}// Start off the number of deferrals at 1. This will be decremented by\n// the Application's own `boot` method.\nthis._readinessDeferrals=1;this._booted=false;this._applicationInstances=new Set();this.autoboot=this._globalsMode=Boolean(this.autoboot);if(this._globalsMode){this._prepareForGlobalsMode();}if(this.autoboot){this.waitForDOMReady();}}/**\n              Create an ApplicationInstance for this application.\n               @public\n              @method buildInstance\n              @return {ApplicationInstance} the application instance\n            */buildInstance(options={}){!!this.isDestroyed&&assert$1('You cannot build new instances of this application since it has already been destroyed',!this.isDestroyed);!!this.isDestroying&&assert$1('You cannot build new instances of this application since it is being destroyed',!this.isDestroying);return ApplicationInstance.create({...options,base:this,application:this});}/**\n              Start tracking an ApplicationInstance for this application.\n              Used when the ApplicationInstance is created.\n               @private\n              @method _watchInstance\n            */_watchInstance(instance){this._applicationInstances.add(instance);}/**\n              Stop tracking an ApplicationInstance for this application.\n              Used when the ApplicationInstance is about to be destroyed.\n               @private\n              @method _unwatchInstance\n            */_unwatchInstance(instance){return this._applicationInstances.delete(instance);}/**\n              Enable the legacy globals mode by allowing this application to act\n              as a global namespace. See the docs on the `_globalsMode` property\n              for details.\n               Most of these features are already deprecated in 1.x, so we can\n              stop using them internally and try to remove them.\n               @private\n              @method _prepareForGlobalsMode\n            */_prepareForGlobalsMode(){// Create subclass of Router for this Application instance.\n// This is to ensure that someone reopening `App.Router` does not\n// tamper with the default `Router`.\nthis.Router=(this.Router||EmberRouter).extend();this._buildDeprecatedInstance();}/*\n              Build the deprecated instance for legacy globals mode support.\n              Called when creating and resetting the application.\n               This is orthogonal to autoboot: the deprecated instance needs to\n              be created at Application construction (not boot) time to expose\n              App.__container__. If autoboot sees that this instance exists,\n              it will continue booting it to avoid doing unncessary work (as\n              opposed to building a new instance at boot time), but they are\n              otherwise unrelated.\n               @private\n              @method _buildDeprecatedInstance\n            */_buildDeprecatedInstance(){// Build a default instance\nlet instance=this.buildInstance();// Legacy support for App.__container__ and other global methods\n// on App that rely on a single, default instance.\nthis.__deprecatedInstance__=instance;this.__container__=instance.__container__;}/**\n              Automatically kick-off the boot process for the application once the\n              DOM has become ready.\n               The initialization itself is scheduled on the actions queue which\n              ensures that code-loading finishes before booting.\n               If you are asynchronously loading code, you should call `deferReadiness()`\n              to defer booting, and then call `advanceReadiness()` once all of your code\n              has finished loading.\n               @private\n              @method waitForDOMReady\n            */waitForDOMReady(){const document=this._document;// SAFETY: Casting as Document should be safe since we're just reading a property.\n// If it's not actually a Document then it will evaluate false which is fine for our\n// purposes.\nif(document===null||document.readyState!=='loading'){schedule('actions',this,this.domReady);}else{// Ideally we'd just check `document instanceof Document` but currently some tests pass a fake document.\n!function(d){return typeof d.removeEventListener==='function';}(document)&&assert$1('[BUG] Called waitForDOMReady with an invalid document',function(d){return typeof d.removeEventListener==='function';}(document));let callback=()=>{document.removeEventListener('DOMContentLoaded',callback);run$1(this,this.domReady);};document.addEventListener('DOMContentLoaded',callback);}}/**\n              This is the autoboot flow:\n               1. Boot the app by calling `this.boot()`\n              2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n              3. Boot the instance by calling `instance.boot()`\n              4. Invoke the `App.ready()` callback\n              5. Kick-off routing on the instance\n               Ideally, this is all we would need to do:\n               ```javascript\n              _autoBoot() {\n                this.boot().then(() => {\n                  let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n                  return instance.boot();\n                }).then((instance) => {\n                  App.ready();\n                  instance.startRouting();\n                });\n              }\n              ```\n               Unfortunately, we cannot actually write this because we need to participate\n              in the \"synchronous\" boot process. While the code above would work fine on\n              the initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\n              boot a new instance synchronously (see the documentation on `_bootSync()`\n              for details).\n               Because of this restriction, the actual logic of this method is located\n              inside `didBecomeReady()`.\n               @private\n              @method domReady\n            */domReady(){if(this.isDestroying||this.isDestroyed){return;}this._bootSync();// Continues to `didBecomeReady`\n}/**\n              Use this to defer readiness until some condition is true.\n               Example:\n               ```javascript\n              import Application from '@ember/application';\n               let App = Application.create();\n               App.deferReadiness();\n               fetch('/auth-token')\n              .then(response => response.json())\n              .then(data => {\n                App.token = data.token;\n                App.advanceReadiness();\n              });\n              ```\n               This allows you to perform asynchronous setup logic and defer\n              booting your application until the setup has finished.\n               However, if the setup requires a loading UI, it might be better\n              to use the router for this purpose.\n               @method deferReadiness\n              @public\n            */deferReadiness(){!(this instanceof Application)&&assert$1('You must call deferReadiness on an instance of Application',this instanceof Application);!!this.isDestroyed&&assert$1('You cannot defer readiness since application has already destroyed',!this.isDestroyed);!!this.isDestroying&&assert$1('You cannot defer readiness since the application is being destroyed',!this.isDestroying);!(this._readinessDeferrals>0)&&assert$1('You cannot defer readiness since the `ready()` hook has already been called',this._readinessDeferrals>0);this._readinessDeferrals++;}/**\n              Call `advanceReadiness` after any asynchronous setup logic has completed.\n              Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n              or the application will never become ready and routing will not begin.\n               @method advanceReadiness\n              @see {Application#deferReadiness}\n              @public\n            */advanceReadiness(){!(this instanceof Application)&&assert$1('You must call advanceReadiness on an instance of Application',this instanceof Application);!!this.isDestroyed&&assert$1('You cannot advance readiness since application has already destroyed',!this.isDestroyed);!!this.isDestroying&&assert$1('You cannot advance readiness since the application is being destroyed',!this.isDestroying);!(this._readinessDeferrals>0)&&assert$1('You cannot advance readiness since the `ready()` hook has already been called',this._readinessDeferrals>0);this._readinessDeferrals--;if(this._readinessDeferrals===0){once(this,this.didBecomeReady);}}/**\n              Initialize the application and return a promise that resolves with the `Application`\n              object when the boot process is complete.\n               Run any application initializers and run the application load hook. These hooks may\n              choose to defer readiness. For example, an authentication hook might want to defer\n              readiness until the auth token has been retrieved.\n               By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n              is disabled, this is automatically called when the first application instance is\n              created via `visit`.\n               @public\n              @method boot\n              @return {Promise<Application,Error>}\n            */boot(){!!this.isDestroyed&&assert$1('You cannot boot this application since it has already been destroyed',!this.isDestroyed);!!this.isDestroying&&assert$1('You cannot boot this application since it is being destroyed',!this.isDestroying);if(this._bootPromise){return this._bootPromise;}try{this._bootSync();}catch(_){// Ignore the error: in the asynchronous boot path, the error is already reflected\n// in the promise rejection\n}!this._bootPromise&&assert$1('has boot promise',this._bootPromise);return this._bootPromise;}/**\n              Unfortunately, a lot of existing code assumes the booting process is\n              \"synchronous\". Specifically, a lot of tests assumes the last call to\n              `app.advanceReadiness()` or `app.reset()` will result in the app being\n              fully-booted when the current runloop completes.\n               We would like new code (like the `visit` API) to stop making this assumption,\n              so we created the asynchronous version above that returns a promise. But until\n              we have migrated all the code, we would have to expose this method for use\n              *internally* in places where we need to boot an app \"synchronously\".\n               @private\n            */_bootSync(){if(this._booted||this.isDestroying||this.isDestroyed){return;}// Even though this returns synchronously, we still need to make sure the\n// boot promise exists for book-keeping purposes: if anything went wrong in\n// the boot process, we need to store the error as a rejection on the boot\n// promise so that a future caller of `boot()` can tell what failed.\nlet defer=this._bootResolver=rsvp.defer();this._bootPromise=defer.promise;try{this.runInitializers();runLoadHooks('application',this);this.advanceReadiness();// Continues to `didBecomeReady`\n}catch(error){// For the asynchronous boot path\ndefer.reject(error);// For the synchronous boot path\nthrow error;}}/**\n              Reset the application. This is typically used only in tests. It cleans up\n              the application in the following order:\n               1. Deactivate existing routes\n              2. Destroy all objects in the container\n              3. Create a new application container\n              4. Re-route to the existing url\n               Typical Example:\n               ```javascript\n              import Application from '@ember/application';\n              let App;\n               run(function() {\n                App = Application.create();\n              });\n               module('acceptance test', {\n                setup: function() {\n                  App.reset();\n                }\n              });\n               test('first test', function() {\n                // App is freshly reset\n              });\n               test('second test', function() {\n                // App is again freshly reset\n              });\n              ```\n               Advanced Example:\n               Occasionally you may want to prevent the app from initializing during\n              setup. This could enable extra configuration, or enable asserting prior\n              to the app becoming ready.\n               ```javascript\n              import Application from '@ember/application';\n              let App;\n               run(function() {\n                App = Application.create();\n              });\n               module('acceptance test', {\n                setup: function() {\n                  run(function() {\n                    App.reset();\n                    App.deferReadiness();\n                  });\n                }\n              });\n               test('first test', function() {\n                ok(true, 'something before app is initialized');\n                 run(function() {\n                  App.advanceReadiness();\n                });\n                 ok(true, 'something after app is initialized');\n              });\n              ```\n               @method reset\n              @public\n            */reset(){!!this.isDestroyed&&assert$1('You cannot reset this application since it has already been destroyed',!this.isDestroyed);!!this.isDestroying&&assert$1('You cannot reset this application since it is being destroyed',!this.isDestroying);!(this._globalsMode&&this.autoboot)&&assert$1(`Calling reset() on instances of \\`Application\\` is not\n            supported when globals mode is disabled; call \\`visit()\\` to\n            create new \\`ApplicationInstance\\`s and dispose them\n            via their \\`destroy()\\` method instead.`,this._globalsMode&&this.autoboot);let instance=this.__deprecatedInstance__;this._readinessDeferrals=1;this._bootPromise=null;this._bootResolver=null;this._booted=false;function handleReset(){!instance&&assert$1('expected instance',instance);run$1(instance,'destroy');this._buildDeprecatedInstance();schedule('actions',this,'_bootSync');}join(this,handleReset);}/**\n              @private\n              @method didBecomeReady\n            */didBecomeReady(){if(this.isDestroying||this.isDestroyed){return;}!this._bootResolver&&assert$1('expected _bootResolver',this._bootResolver);try{// TODO: Is this still needed for _globalsMode = false?\n// See documentation on `_autoboot()` for details\nif(this.autoboot){let instance;if(this._globalsMode){// If we already have the __deprecatedInstance__ lying around, boot it to\n// avoid unnecessary work\ninstance=this.__deprecatedInstance__;true&&!instance&&assert$1('expected instance',instance);}else{// Otherwise, build an instance and boot it. This is currently unreachable,\n// because we forced _globalsMode to === autoboot; but having this branch\n// allows us to locally toggle that flag for weeding out legacy globals mode\n// dependencies independently\ninstance=this.buildInstance();}instance._bootSync();// TODO: App.ready() is not called when autoboot is disabled, is this correct?\nthis.ready();instance.startRouting();}// For the asynchronous boot path\nthis._bootResolver.resolve(this);// For the synchronous boot path\nthis._booted=true;}catch(error){// For the asynchronous boot path\nthis._bootResolver.reject(error);// For the synchronous boot path\nthrow error;}}/**\n              Called when the Application has become ready, immediately before routing\n              begins. The call will be delayed until the DOM has become ready.\n               @event ready\n              @public\n            */ready(){return this;}// This method must be moved to the application instance object\nwillDestroy(){super.willDestroy();if(_loaded['application']===this){_loaded['application']=undefined;}if(this._applicationInstances.size){this._applicationInstances.forEach(i=>i.destroy());this._applicationInstances.clear();}}/**\n              Boot a new instance of `ApplicationInstance` for the current\n              application and navigate it to the given `url`. Returns a `Promise` that\n              resolves with the instance when the initial routing and rendering is\n              complete, or rejects with any error that occurred during the boot process.\n               When `autoboot` is disabled, calling `visit` would first cause the\n              application to boot, which runs the application initializers.\n               This method also takes a hash of boot-time configuration options for\n              customizing the instance's behavior. See the documentation on\n              `ApplicationInstance.BootOptions` for details.\n               `ApplicationInstance.BootOptions` is an interface class that exists\n              purely to document the available options; you do not need to construct it\n              manually. Simply pass a regular JavaScript object containing of the\n              desired options:\n               ```javascript\n              MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n              ```\n               ### Supported Scenarios\n               While the `BootOptions` class exposes a large number of knobs, not all\n              combinations of them are valid; certain incompatible combinations might\n              result in unexpected behavior.\n               For example, booting the instance in the full browser environment\n              while specifying a foreign `document` object (e.g. `{ isBrowser: true,\n              document: iframe.contentDocument }`) does not work correctly today,\n              largely due to Ember's jQuery dependency.\n               Currently, there are three officially supported scenarios/configurations.\n              Usages outside of these scenarios are not guaranteed to work, but please\n              feel free to file bug reports documenting your experience and any issues\n              you encountered to help expand support.\n               #### Browser Applications (Manual Boot)\n               The setup is largely similar to how Ember works out-of-the-box. Normally,\n              Ember will boot a default instance for your Application on \"DOM ready\".\n              However, you can customize this behavior by disabling `autoboot`.\n               For example, this allows you to render a miniture demo of your application\n              into a specific area on your marketing website:\n               ```javascript\n              import MyApp from 'my-app';\n               $(function() {\n                let App = MyApp.create({ autoboot: false });\n                 let options = {\n                  // Override the router's location adapter to prevent it from updating\n                  // the URL in the address bar\n                  location: 'none',\n                   // Override the default `rootElement` on the app to render into a\n                  // specific `div` on the page\n                  rootElement: '#demo'\n                };\n                 // Start the app at the special demo URL\n                App.visit('/demo', options);\n              });\n              ```\n               Or perhaps you might want to boot two instances of your app on the same\n              page for a split-screen multiplayer experience:\n               ```javascript\n              import MyApp from 'my-app';\n               $(function() {\n                let App = MyApp.create({ autoboot: false });\n                 let sessionId = MyApp.generateSessionID();\n                 let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n                let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n                 Promise.all([player1, player2]).then(() => {\n                  // Both apps have completed the initial render\n                  $('#loading').fadeOut();\n                });\n              });\n              ```\n               Do note that each app instance maintains their own registry/container, so\n              they will run in complete isolation by default.\n               #### Server-Side Rendering (also known as FastBoot)\n               This setup allows you to run your Ember app in a server environment using\n              Node.js and render its content into static HTML for SEO purposes.\n               ```javascript\n              const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n               function renderURL(url) {\n                let dom = new SimpleDOM.Document();\n                let rootElement = dom.body;\n                let options = { isBrowser: false, document: dom, rootElement: rootElement };\n                 return MyApp.visit(options).then(instance => {\n                  try {\n                    return HTMLSerializer.serialize(rootElement.firstChild);\n                  } finally {\n                    instance.destroy();\n                  }\n                });\n              }\n              ```\n               In this scenario, because Ember does not have access to a global `document`\n              object in the Node.js environment, you must provide one explicitly. In practice,\n              in the non-browser environment, the stand-in `document` object only needs to\n              implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n              to work.\n               Since there is no DOM access in the non-browser environment, you must also\n              specify a DOM `Element` object in the same `document` for the `rootElement` option\n              (as opposed to a selector string like `\"body\"`).\n               See the documentation on the `isBrowser`, `document` and `rootElement` properties\n              on `ApplicationInstance.BootOptions` for details.\n               #### Server-Side Resource Discovery\n               This setup allows you to run the routing layer of your Ember app in a server\n              environment using Node.js and completely disable rendering. This allows you\n              to simulate and discover the resources (i.e. AJAX requests) needed to fulfill\n              a given request and eagerly \"push\" these resources to the client.\n               ```app/initializers/network-service.js\n              import BrowserNetworkService from 'app/services/network/browser';\n              import NodeNetworkService from 'app/services/network/node';\n               // Inject a (hypothetical) service for abstracting all AJAX calls and use\n              // the appropriate implementation on the client/server. This also allows the\n              // server to log all the AJAX calls made during a particular request and use\n              // that for resource-discovery purpose.\n               export function initialize(application) {\n                if (window) { // browser\n                  application.register('service:network', BrowserNetworkService);\n                } else { // node\n                  application.register('service:network', NodeNetworkService);\n                }\n              };\n               export default {\n                name: 'network-service',\n                initialize: initialize\n              };\n              ```\n               ```app/routes/post.js\n              import Route from '@ember/routing/route';\n              import { service } from '@ember/service';\n               // An example of how the (hypothetical) service is used in routes.\n               export default class IndexRoute extends Route {\n                @service network;\n                 model(params) {\n                  return this.network.fetch(`/api/posts/${params.post_id}.json`);\n                }\n                 afterModel(post) {\n                  if (post.isExternalContent) {\n                    return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n                  } else {\n                    return post;\n                  }\n                }\n              }\n              ```\n               ```javascript\n              // Finally, put all the pieces together\n               function discoverResourcesFor(url) {\n                return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n                  let networkService = instance.lookup('service:network');\n                  return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n                });\n              }\n              ```\n               @public\n              @method visit\n              @param url {String} The initial URL to navigate to\n              @param options {ApplicationInstance.BootOptions}\n              @return {Promise<ApplicationInstance, Error>}\n            */visit(url,options){!!this.isDestroyed&&assert$1('You cannot visit this application since it has already been destroyed',!this.isDestroyed);!!this.isDestroying&&assert$1('You cannot visit this application since it is being destroyed',!this.isDestroying);return this.boot().then(()=>{let instance=this.buildInstance();return instance.boot(options).then(()=>instance.visit(url)).catch(error=>{run$1(instance,'destroy');throw error;});});}}_defineProperty(Application,\"initializer\",buildInitializerMethod('initializers','initializer'));_defineProperty(Application,\"instanceInitializer\",buildInitializerMethod('instanceInitializers','instance initializer'));function commonSetupRegistry(registry){registry.register('router:main',EmberRouter);registry.register('-view-registry:main',{create(){return makeDictionary(null);}});registry.register('route:basic',Route);registry.register('event_dispatcher:main',EventDispatcher);registry.register('location:hash',HashLocation);registry.register('location:history',HistoryLocation);registry.register('location:none',NoneLocation);registry.register(privatize`-bucket-cache:main`,{create(){return new BucketCache();}});registry.register('service:router',RouterService);}const emberApplicationIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,_loaded,default:Application,getOwner,onLoad,runLoadHooks,setOwner},Symbol.toStringTag,{value:'Module'});const emberArrayMutable=/*#__PURE__*/Object.defineProperty({__proto__:null,default:MutableArray},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/array/proxy\n          */function isMutable(obj){return Array.isArray(obj)||typeof obj.replace==='function';}const ARRAY_OBSERVER_MAPPING={willChange:'_arrangedContentArrayWillChange',didChange:'_arrangedContentArrayDidChange'};function customTagForArrayProxy(proxy,key){!(proxy instanceof ArrayProxy)&&assert$1('[BUG] Expected a proxy',proxy instanceof ArrayProxy);if(key==='[]'){proxy._revalidate();return proxy._arrTag;}else if(key==='length'){proxy._revalidate();return proxy._lengthTag;}return tagFor(proxy,key);}/**\n            An ArrayProxy wraps any other object that implements `Array` and/or\n            `MutableArray,` forwarding all requests. This makes it very useful for\n            a number of binding use cases or other cases where being able to swap\n            out the underlying array is useful.\n\n            A simple example of usage:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            let pets = ['dog', 'cat', 'fish'];\n            let ap = ArrayProxy.create({ content: A(pets) });\n\n            ap.get('firstObject');                        // 'dog'\n            ap.set('content', ['amoeba', 'paramecium']);\n            ap.get('firstObject');                        // 'amoeba'\n            ```\n\n            This class can also be useful as a layer to transform the contents of\n            an array, as they are accessed. This can be done by overriding\n            `objectAtContent`:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            let pets = ['dog', 'cat', 'fish'];\n            let ap = ArrayProxy.create({\n                content: A(pets),\n                objectAtContent: function(idx) {\n                    return this.get('content').objectAt(idx).toUpperCase();\n                }\n            });\n\n            ap.get('firstObject'); // . 'DOG'\n            ```\n\n            When overriding this class, it is important to place the call to\n            `_super` *after* setting `content` so the internal observers have\n            a chance to fire properly:\n\n            ```javascript\n            import { A } from '@ember/array';\n            import ArrayProxy from '@ember/array/proxy';\n\n            export default ArrayProxy.extend({\n              init() {\n                this.set('content', A(['dog', 'cat', 'fish']));\n                this._super(...arguments);\n              }\n            });\n            ```\n\n            @class ArrayProxy\n            @extends EmberObject\n            @uses MutableArray\n            @public\n          */class ArrayProxy extends EmberObject{constructor(...args){super(...args);/*\n              `this._objectsDirtyIndex` determines which indexes in the `this._objects`\n              cache are dirty.\n               If `this._objectsDirtyIndex === -1` then no indexes are dirty.\n              Otherwise, an index `i` is dirty if `i >= this._objectsDirtyIndex`.\n               Calling `objectAt` with a dirty index will cause the `this._objects`\n              cache to be recomputed.\n            *//** @internal */_defineProperty(this,\"_objectsDirtyIndex\",0);/** @internal */_defineProperty(this,\"_objects\",null);/** @internal */_defineProperty(this,\"_lengthDirty\",true);/** @internal */_defineProperty(this,\"_length\",0);/** @internal */_defineProperty(this,\"_arrangedContent\",null);/** @internal */_defineProperty(this,\"_arrangedContentIsUpdating\",false);/** @internal */_defineProperty(this,\"_arrangedContentTag\",null);/** @internal */_defineProperty(this,\"_arrangedContentRevision\",null);/** @internal */_defineProperty(this,\"_lengthTag\",null);/** @internal */_defineProperty(this,\"_arrTag\",null);}init(props){super.init(props);setCustomTagFor(this,customTagForArrayProxy);}[PROPERTY_DID_CHANGE](){this._revalidate();}willDestroy(){this._removeArrangedContentArrayObserver();}objectAtContent(idx){let arrangedContent=get$2(this,'arrangedContent');!arrangedContent&&assert$1('[BUG] Called objectAtContent without content',arrangedContent);return objectAt(arrangedContent,idx);}// See additional docs for `replace` from `MutableArray`:\n// https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\nreplace(idx,amt,objects){!(get$2(this,'arrangedContent')===get$2(this,'content'))&&assert$1('Mutating an arranged ArrayProxy is not allowed',get$2(this,'arrangedContent')===get$2(this,'content'));this.replaceContent(idx,amt,objects);}replaceContent(idx,amt,objects){let content=get$2(this,'content');!content&&assert$1('[BUG] Called replaceContent without content',content);!isMutable(content)&&assert$1('Mutating a non-mutable array is not allowed',isMutable(content));replace(content,idx,amt,objects);}// Overriding objectAt is not supported.\nobjectAt(idx){this._revalidate();if(this._objects===null){this._objects=[];}if(this._objectsDirtyIndex!==-1&&idx>=this._objectsDirtyIndex){let arrangedContent=get$2(this,'arrangedContent');if(arrangedContent){let length=this._objects.length=get$2(arrangedContent,'length');for(let i=this._objectsDirtyIndex;i<length;i++){// SAFETY: This is expected to only ever return an instance of T. In other words, there should\n// be no gaps in the array. Unfortunately, we can't actually assert for it since T could include\n// any types, including null or undefined.\nthis._objects[i]=this.objectAtContent(i);}}else{this._objects.length=0;}this._objectsDirtyIndex=-1;}return this._objects[idx];}// Overriding length is not supported.\nget length(){this._revalidate();if(this._lengthDirty){let arrangedContent=get$2(this,'arrangedContent');this._length=arrangedContent?get$2(arrangedContent,'length'):0;this._lengthDirty=false;}!this._lengthTag&&assert$1('[BUG] _lengthTag is not set',this._lengthTag);consumeTag(this._lengthTag);return this._length;}set length(value){let length=this.length;let removedCount=length-value;let added;if(removedCount===0){return;}else if(removedCount<0){added=new Array(-removedCount);removedCount=0;}let content=get$2(this,'content');if(content){!isMutable(content)&&assert$1('Mutating a non-mutable array is not allowed',isMutable(content));replace(content,value,removedCount,added);this._invalidate();}}_updateArrangedContentArray(arrangedContent){let oldLength=this._objects===null?0:this._objects.length;let newLength=arrangedContent?get$2(arrangedContent,'length'):0;this._removeArrangedContentArrayObserver();arrayContentWillChange(this,0,oldLength,newLength);this._invalidate();arrayContentDidChange(this,0,oldLength,newLength,false);this._addArrangedContentArrayObserver(arrangedContent);}_addArrangedContentArrayObserver(arrangedContent){if(arrangedContent&&!arrangedContent.isDestroyed){!(arrangedContent!==this)&&assert$1(\"Can't set ArrayProxy's content to itself\",arrangedContent!==this);!function(arr){return Array.isArray(arr)||EmberArray.detect(arr);}(arrangedContent)&&assert$1(`ArrayProxy expects a native Array, EmberArray, or ArrayProxy, but you passed ${typeof arrangedContent}`,function(arr){return Array.isArray(arr)||EmberArray.detect(arr);}(arrangedContent));!!arrangedContent.isDestroyed&&assert$1('ArrayProxy expected its contents to not be destroyed',!arrangedContent.isDestroyed);addArrayObserver(arrangedContent,this,ARRAY_OBSERVER_MAPPING);this._arrangedContent=arrangedContent;}}_removeArrangedContentArrayObserver(){if(this._arrangedContent){removeArrayObserver(this._arrangedContent,this,ARRAY_OBSERVER_MAPPING);}}_arrangedContentArrayWillChange(){}_arrangedContentArrayDidChange(_proxy,idx,removedCnt,addedCnt){arrayContentWillChange(this,idx,removedCnt,addedCnt);let dirtyIndex=idx;if(dirtyIndex<0){let length=get$2(this._arrangedContent,'length');dirtyIndex+=length+removedCnt-addedCnt;}if(this._objectsDirtyIndex===-1||this._objectsDirtyIndex>dirtyIndex){this._objectsDirtyIndex=dirtyIndex;}this._lengthDirty=true;arrayContentDidChange(this,idx,removedCnt,addedCnt,false);}_invalidate(){this._objectsDirtyIndex=0;this._lengthDirty=true;}_revalidate(){if(this._arrangedContentIsUpdating===true)return;if(this._arrangedContentTag===null||!validateTag(this._arrangedContentTag,this._arrangedContentRevision)){let arrangedContent=this.get('arrangedContent');if(this._arrangedContentTag===null){// This is the first time the proxy has been setup, only add the observer\n// don't trigger any events\nthis._addArrangedContentArrayObserver(arrangedContent);}else{this._arrangedContentIsUpdating=true;this._updateArrangedContentArray(arrangedContent);this._arrangedContentIsUpdating=false;}let arrangedContentTag=this._arrangedContentTag=tagFor(this,'arrangedContent');this._arrangedContentRevision=valueForTag(this._arrangedContentTag);if(isObject(arrangedContent)){this._lengthTag=combine([arrangedContentTag,tagForProperty(arrangedContent,'length')]);this._arrTag=combine([arrangedContentTag,tagForProperty(arrangedContent,'[]')]);}else{this._lengthTag=this._arrTag=arrangedContentTag;}}}}ArrayProxy.reopen(MutableArray,{arrangedContent:alias('content')});const emberArrayProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ArrayProxy},Symbol.toStringTag,{value:'Module'});/**\n            Set `EmberENV.FEATURES` in your application's `config/environment.js` file\n            to enable canary features in your application.\n\n            See the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\n            for more details.\n\n            @module @ember/canary-features\n            @public\n          */const DEFAULT_FEATURES={// FLAG_NAME: true/false\n};/**\n            The hash of enabled Canary features. Add to this, any canary features\n            before creating your application.\n\n            @class FEATURES\n            @static\n            @since 1.1.0\n            @public\n          */const FEATURES=Object.assign(DEFAULT_FEATURES,ENV.FEATURES);/**\n            Determine whether the specified `feature` is enabled. Used by Ember's\n            build tools to exclude experimental features from beta/stable builds.\n\n            You can define the following configuration options:\n\n            * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n              enabled/disabled.\n\n            @method isEnabled\n            @param {String} feature The feature to check\n            @return {Boolean}\n            @since 1.1.0\n            @public\n          */function isEnabled(feature){let value=FEATURES[feature];if(value===true||value===false){return value;}else if(ENV.ENABLE_OPTIONAL_FEATURES){return true;}else{return false;}}// Uncomment the below when features are present:\n// function featureValue(value: null | boolean) {\n//   if (ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n//     return true;\n//   }\n//   return value;\n// }\n//\n// export const FLAG_NAME = featureValue(FEATURES.FLAG_NAME);\nconst emberCanaryFeaturesIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,DEFAULT_FEATURES,FEATURES,isEnabled},Symbol.toStringTag,{value:'Module'});const emberComponentHelper=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Helper,helper:helper$2},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/component\n            @public\n           *//**\n           * Assigns a TemplateFactory to a component class.\n           *\n           * @method setComponentTemplate\n           * @static\n           * @for @ember/component\n           * @public\n           *\n           * ```js\n           * import Component from '@glimmer/component';\n           * import { hbs } from 'ember-cli-htmlbars';\n           * import { setComponentTemplate } from '@ember/component';\n           *\n           * export default class Demo extends Component {\n           *   // ...\n           * }\n           *\n           * setComponentTemplate(hbs`\n           *  <div>my template</div>\n           * `, Demo);\n           * ```\n           *\n           * @param {TemplateFactory} templateFactory\n           * @param {object} componentDefinition\n           *//**\n           * Returns the TemplateFactory associated with a component\n           *\n           * @method getComponentTemplate\n           * @static\n           * @for @ember/component\n           * @public\n           *\n           * ```js\n           * import Component from '@glimmer/component';\n           * import { hbs } from 'ember-cli-htmlbars';\n           * import { getComponentTemplate } from '@ember/component';\n           *\n           * export default class Demo extends Component {\n           *   // ...\n           * }\n           *\n           * let theTemplateFactory = getTemplateFactory(Demo)\n           * ```\n           *\n           * @param {object} componentDefinition\n           * @returns {TemplateFactory}\n           *//**\n           * Tell the VM how manage a type of object / class when encountered\n           * via component-invocation.\n           *\n           * A Component Manager, must implement this interface:\n           * - static create()\n           * - createComponent()\n           * - updateComponent()\n           * - destroyComponent()\n           * - getContext()\n           *\n           * @method setComponentManager\n           * @static\n           * @for @ember/component\n           * @public\n           *\n           *\n           * After a component manager is registered via `setComponentManager`,\n           *\n           * ```js\n           * import { StateNode } from 'xstate';\n           * import ComponentManager from './-private/statechart-manager';\n           *\n           * setComponentManager((owner) => ComponentManager.create(owner), StateNode.prototype);\n           * ```\n           *\n           * Instances of the class can be used as component.\n           * No need to extend from `@glimmer/component`.\n           *\n           * ```js\n           * // app/components/my-component.js\n           * import { createMachine } from 'xstate';\n           *\n           * export default createMachine({ ... });\n           * ```\n           * ```hbs\n           * {{!-- app/templates/application.hbs}}\n           * <MyComponent />\n           * ```\n           *\n           * @param {(owner: Owner) => import('@glimmer/interfaces').ComponentManager} managerFactory\n           * @param {object} object that will be managed by the return value of `managerFactory`\n           *\n           *//**\n           * Tells Glimmer what capabilities a Component Manager will have\n           *\n           * ```js\n           * import { capabilities } from '@ember/component';\n           *\n           * export class MyComponentManager {\n           *   capabilities = capabilities('3.13', {\n           *     // capabilities listed here\n           *   })\n           * }\n           * ```\n           *\n           *\n           * For a full list of capabilities, their defaults, and how they are used, see [@glimmer/manager](https://github.com/glimmerjs/glimmer-vm/blob/4f1bef0d9a8a3c3ebd934c5b6e09de4c5f6e4468/packages/%40glimmer/manager/lib/public/component.ts#L26)\n           *\n           *\n           * @method capabilities\n           * @static\n           * @for @ember/component\n           * @public\n           * @param {'3.13'} managerApiVersion\n           * @param {Parameters<import('@ember/-internals/glimmer').componentCapabilities>[1]} options\n           *\n           */const emberComponentIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Input,Textarea,capabilities:componentCapabilities,default:Component,getComponentTemplate,setComponentManager,setComponentTemplate},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/component/template-only\n            @public\n          *//**\n           * Template-only components have no backing class instance, so `this` in their\n           * templates is null. This means that you can only reference passed in arguments\n           * (e.g. `{{@arg}}`).\n           */// eslint-disable-next-line @typescript-eslint/no-empty-object-type\n/**\n           * A convenience alias for {@link TemplateOnlyComponent}\n           */// NOTES:\n//\n// 1. The generic here is for a *signature: a way to hang information for tools\n//    like Glint which can provide typey checking for component templates using\n//    information supplied via this generic. While it may appear useless on this\n//    class definition and extension, it is used by external tools and should\n//    not be removed.\n// 2. SAFETY: this cast is *throwing away* information that is not part of the\n//    public API and replacing it with something which has the same calling\n//    contract, but much less information (since we do not want to expose the\n//    internal APIs like `moduleName` etc.).\n// prettier-ignore\nconst templateOnly=templateOnlyComponent;const emberComponentTemplateOnly=/*#__PURE__*/Object.defineProperty({__proto__:null,default:templateOnly},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/debug/data-adapter\n          */// Represents the base contract for iterables as understood in the GLimmer VM\n// historically. This is *not* the public API for it, because there *is* no\n// public API for it. Recent versions of Glimmer simply use `Symbol.iterator`,\n// but some older consumers still use this basic shape.\nfunction iterate(arr,fn){if(Symbol.iterator in arr){for(let item of arr){fn(item);}}else{// SAFETY: this cast required to work this way to interop between TS 4.8\n// and 4.9. When we drop support for 4.8, it will narrow correctly via the\n// use of the `in` operator above. (Preferably we will solve this by just\n// switching to require `Symbol.iterator` instead.)\nassert$1('',typeof arr.forEach==='function');arr.forEach(fn);}}class RecordsWatcher{getCacheForItem(record){let recordCache=this.recordCaches.get(record);if(!recordCache){let hasBeenAdded=false;recordCache=createCache(()=>{if(!hasBeenAdded){this.added.push(this.wrapRecord(record));hasBeenAdded=true;}else{this.updated.push(this.wrapRecord(record));}});this.recordCaches.set(record,recordCache);}return recordCache;}constructor(records,recordsAdded,recordsUpdated,recordsRemoved,wrapRecord,release){_defineProperty(this,\"recordCaches\",new Map());_defineProperty(this,\"added\",[]);_defineProperty(this,\"updated\",[]);_defineProperty(this,\"removed\",[]);this.wrapRecord=wrapRecord;this.release=release;this.recordArrayCache=createCache(()=>{let seen=new Set();// Track `[]` for legacy support\nconsumeTag(tagFor(records,'[]'));iterate(records,record=>{getValue(this.getCacheForItem(record));seen.add(record);});// Untrack this operation because these records are being removed, they\n// should not be polled again in the future\nuntrack(()=>{this.recordCaches.forEach((_cache,record)=>{if(!seen.has(record)){this.removed.push(wrapRecord(record));this.recordCaches.delete(record);}});});if(this.added.length>0){recordsAdded(this.added);this.added=[];}if(this.updated.length>0){recordsUpdated(this.updated);this.updated=[];}if(this.removed.length>0){recordsRemoved(this.removed);this.removed=[];}});}revalidate(){getValue(this.recordArrayCache);}}class TypeWatcher{constructor(records,onChange,release){this.release=release;let hasBeenAccessed=false;this.cache=createCache(()=>{// Empty iteration, we're doing this just\n// to track changes to the records array\niterate(records,()=>{});// Also track `[]` for legacy support\nconsumeTag(tagFor(records,'[]'));if(hasBeenAccessed===true){next(onChange);}else{hasBeenAccessed=true;}});this.release=release;}revalidate(){getValue(this.cache);}}/**\n            The `DataAdapter` helps a data persistence library\n            interface with tools that debug Ember such\n            as the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n            for Chrome and Firefox.\n\n            This class will be extended by a persistence library\n            which will override some of the methods with\n            library-specific code.\n\n            The methods likely to be overridden are:\n\n            * `getFilters`\n            * `detect`\n            * `columnsForType`\n            * `getRecords`\n            * `getRecordColumnValues`\n            * `getRecordKeywords`\n            * `getRecordFilterValues`\n            * `getRecordColor`\n\n            The adapter will need to be registered\n            in the application's container as `dataAdapter:main`.\n\n            Example:\n\n            ```javascript\n            Application.initializer({\n              name: \"data-adapter\",\n\n              initialize: function(application) {\n                application.register('data-adapter:main', DS.DataAdapter);\n              }\n            });\n            ```\n\n            @class DataAdapter\n            @extends EmberObject\n            @public\n          */class DataAdapter extends EmberObject{// TODO: Revisit this\nconstructor(owner){super(owner);_defineProperty(this,\"releaseMethods\",A());_defineProperty(this,\"recordsWatchers\",new Map());_defineProperty(this,\"typeWatchers\",new Map());_defineProperty(this,\"flushWatchers\",null);/**\n              The container-debug-adapter which is used\n              to list all models.\n               @property containerDebugAdapter\n              @default undefined\n              @since 1.5.0\n              @public\n            **//**\n              The number of attributes to send\n              as columns. (Enough to make the record\n              identifiable).\n               @private\n              @property attributeLimit\n              @default 3\n              @since 1.3.0\n            */_defineProperty(this,\"attributeLimit\",3);/**\n               Ember Data > v1.0.0-beta.18\n               requires string model names to be passed\n               around instead of the actual factories.\n                This is a stamp for the Ember Inspector\n               to differentiate between the versions\n               to be able to support older versions too.\n                @public\n               @property acceptsModelName\n             */_defineProperty(this,\"acceptsModelName\",true);this.containerDebugAdapter=getOwner$2(this).lookup('container-debug-adapter:main');}/**\n               Map from records arrays to RecordsWatcher instances\n                @private\n               @property recordsWatchers\n               @since 3.26.0\n             *//**\n              Map from records arrays to TypeWatcher instances\n               @private\n              @property typeWatchers\n              @since 3.26.0\n             *//**\n              Callback that is currently scheduled on backburner end to flush and check\n              all active watchers.\n               @private\n              @property flushWatchers\n              @since 3.26.0\n              *//**\n              Stores all methods that clear observers.\n              These methods will be called on destruction.\n               @private\n              @property releaseMethods\n              @since 1.3.0\n            *//**\n              Specifies how records can be filtered.\n              Records returned will need to have a `filterValues`\n              property with a key for every name in the returned array.\n               @public\n              @method getFilters\n              @return {Array} List of objects defining filters.\n               The object should have a `name` and `desc` property.\n            */getFilters(){return A();}/**\n              Fetch the model types and observe them for changes.\n               @public\n              @method watchModelTypes\n               @param {Function} typesAdded Callback to call to add types.\n              Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n               @param {Function} typesUpdated Callback to call when a type has changed.\n              Takes an array of objects containing wrapped types.\n               @return {Function} Method to call to remove all observers\n            */watchModelTypes(typesAdded,typesUpdated){let modelTypes=this.getModelTypes();let releaseMethods=A();let typesToSend;typesToSend=modelTypes.map(type=>{let klass=type.klass;let wrapped=this.wrapModelType(klass,type.name);releaseMethods.push(this.observeModelType(type.name,typesUpdated));return wrapped;});typesAdded(typesToSend);let release=()=>{releaseMethods.forEach(fn=>fn());this.releaseMethods.removeObject(release);};this.releaseMethods.pushObject(release);return release;}_nameToClass(type){if(typeof type==='string'){let owner=getOwner$2(this);let Factory=owner.factoryFor(`model:${type}`);type=Factory&&Factory.class;}return type;}/**\n              Fetch the records of a given type and observe them for changes.\n               @public\n              @method watchRecords\n               @param {String} modelName The model name.\n               @param {Function} recordsAdded Callback to call to add records.\n              Takes an array of objects containing wrapped records.\n              The object should have the following properties:\n                columnValues: {Object} The key and value of a table cell.\n                object: {Object} The actual record object.\n               @param {Function} recordsUpdated Callback to call when a record has changed.\n              Takes an array of objects containing wrapped records.\n               @param {Function} recordsRemoved Callback to call when a record has removed.\n              Takes an array of objects containing wrapped records.\n               @return {Function} Method to call to remove all observers.\n            */watchRecords(modelName,recordsAdded,recordsUpdated,recordsRemoved){let klass=this._nameToClass(modelName);let records=this.getRecords(klass,modelName);let{recordsWatchers}=this;let recordsWatcher=recordsWatchers.get(records);if(!recordsWatcher){recordsWatcher=new RecordsWatcher(records,recordsAdded,recordsUpdated,recordsRemoved,record=>this.wrapRecord(record),()=>{recordsWatchers.delete(records);this.updateFlushWatchers();});recordsWatchers.set(records,recordsWatcher);this.updateFlushWatchers();recordsWatcher.revalidate();}return recordsWatcher.release;}updateFlushWatchers(){if(this.flushWatchers===null){if(this.typeWatchers.size>0||this.recordsWatchers.size>0){this.flushWatchers=()=>{this.typeWatchers.forEach(watcher=>watcher.revalidate());this.recordsWatchers.forEach(watcher=>watcher.revalidate());};_backburner.on('end',this.flushWatchers);}}else if(this.typeWatchers.size===0&&this.recordsWatchers.size===0){_backburner.off('end',this.flushWatchers);this.flushWatchers=null;}}/**\n              Clear all observers before destruction\n              @private\n              @method willDestroy\n            */willDestroy(){this._super(...arguments);this.typeWatchers.forEach(watcher=>watcher.release());this.recordsWatchers.forEach(watcher=>watcher.release());this.releaseMethods.forEach(fn=>fn());if(this.flushWatchers){_backburner.off('end',this.flushWatchers);}}/**\n              Detect whether a class is a model.\n               Test that against the model class\n              of your persistence library.\n               @public\n              @method detect\n              @return boolean Whether the class is a model class or not.\n            */detect(_klass){return false;}/**\n              Get the columns for a given model type.\n               @public\n              @method columnsForType\n              @return {Array} An array of columns of the following format:\n               name: {String} The name of the column.\n               desc: {String} Humanized description (what would show in a table column name).\n            */columnsForType(_klass){return A();}/**\n              Adds observers to a model type class.\n               @private\n              @method observeModelType\n              @param {String} modelName The model type name.\n              @param {Function} typesUpdated Called when a type is modified.\n              @return {Function} The function to call to remove observers.\n            */observeModelType(modelName,typesUpdated){let klass=this._nameToClass(modelName);let records=this.getRecords(klass,modelName);let onChange=()=>{typesUpdated([this.wrapModelType(klass,modelName)]);};let{typeWatchers}=this;let typeWatcher=typeWatchers.get(records);if(!typeWatcher){typeWatcher=new TypeWatcher(records,onChange,()=>{typeWatchers.delete(records);this.updateFlushWatchers();});typeWatchers.set(records,typeWatcher);this.updateFlushWatchers();typeWatcher.revalidate();}return typeWatcher.release;}/**\n              Wraps a given model type and observes changes to it.\n               @private\n              @method wrapModelType\n              @param {Class} klass A model class.\n              @param {String} modelName Name of the class.\n              @return {Object} The wrapped type has the following format:\n                name: {String} The name of the type.\n                count: {Integer} The number of records available.\n                columns: {Columns} An array of columns to describe the record.\n                object: {Class} The actual Model type class.\n            */wrapModelType(klass,name){let records=this.getRecords(klass,name);return{name,count:get$2(records,'length'),columns:this.columnsForType(klass),object:klass};}/**\n              Fetches all models defined in the application.\n               @private\n              @method getModelTypes\n              @return {Array} Array of model types.\n            */getModelTypes(){let containerDebugAdapter=this.containerDebugAdapter;let stringTypes=containerDebugAdapter.canCatalogEntriesByType('model')?containerDebugAdapter.catalogEntriesByType('model'):this._getObjectsOnNamespaces();// New adapters return strings instead of classes.\nlet klassTypes=stringTypes.map(name=>{return{klass:this._nameToClass(name),name};});return klassTypes.filter(type=>this.detect(type.klass));}/**\n              Loops over all namespaces and all objects\n              attached to them.\n               @private\n              @method _getObjectsOnNamespaces\n              @return {Array} Array of model type strings.\n            */_getObjectsOnNamespaces(){let namespaces=Namespace.NAMESPACES;let types=[];namespaces.forEach(namespace=>{for(let key in namespace){if(!Object.prototype.hasOwnProperty.call(namespace,key)){continue;}// Even though we will filter again in `getModelTypes`,\n// we should not call `lookupFactory` on non-models\nif(!this.detect(namespace[key])){continue;}let name=dasherize(key);types.push(name);}});return types;}/**\n              Fetches all loaded records for a given type.\n               @public\n              @method getRecords\n              @return {Array} An array of records.\n               This array will be observed for changes,\n               so it should update when new records are added/removed.\n            */getRecords(_klass,_name){return A();}/**\n              Wraps a record and observers changes to it.\n               @private\n              @method wrapRecord\n              @param {Object} record The record instance.\n              @return {Object} The wrapped record. Format:\n              columnValues: {Array}\n              searchKeywords: {Array}\n            */wrapRecord(record){return{object:record,columnValues:this.getRecordColumnValues(record),searchKeywords:this.getRecordKeywords(record),filterValues:this.getRecordFilterValues(record),color:this.getRecordColor(record)};}/**\n              Gets the values for each column.\n               @public\n              @method getRecordColumnValues\n              @return {Object} Keys should match column names defined\n              by the model type.\n            */getRecordColumnValues(_record){return{};}/**\n              Returns keywords to match when searching records.\n               @public\n              @method getRecordKeywords\n              @return {Array} Relevant keywords for search.\n            */getRecordKeywords(_record){return A();}/**\n              Returns the values of filters defined by `getFilters`.\n               @public\n              @method getRecordFilterValues\n              @param {Object} record The record instance.\n              @return {Object} The filter values.\n            */getRecordFilterValues(_record){return{};}/**\n              Each record can have a color that represents its state.\n               @public\n              @method getRecordColor\n              @param {Object} record The record instance\n              @return {String} The records color.\n                Possible options: black, red, blue, green.\n            */getRecordColor(_record){return null;}}const emberDebugDataAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:DataAdapter},Symbol.toStringTag,{value:'Module'});// These versions should be the version that the deprecation was _introduced_,\n// not the version that the feature will be removed.\n/** Introduced in 4.0.0-beta.1 */const ASSIGN=true;const emberDeprecatedFeaturesIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,ASSIGN},Symbol.toStringTag,{value:'Module'});/**\n            Ember manages the lifecycles and lifetimes of many built in constructs, such\n            as components, and does so in a hierarchical way - when a parent component is\n            destroyed, all of its children are destroyed as well.\n\n            This destroyables API exposes the basic building blocks for destruction:\n\n            * registering a function to be ran when an object is destroyed\n            * checking if an object is in a destroying state\n            * associate an object as a child of another so that the child object will be destroyed\n              when the associated parent object is destroyed.\n\n            @module @ember/destroyable\n            @public\n          *//**\n            This function is used to associate a destroyable object with a parent. When the parent\n            is destroyed, all registered children will also be destroyed.\n\n            ```js\n            class CustomSelect extends Component {\n              constructor(...args) {\n                super(...args);\n\n                // obj is now a child of the component. When the component is destroyed,\n                // obj will also be destroyed, and have all of its destructors triggered.\n                this.obj = associateDestroyableChild(this, {});\n              }\n            }\n            ```\n\n            Returns the associated child for convenience.\n\n            @method associateDestroyableChild\n            @for @ember/destroyable\n            @param {Object|Function} parent the destroyable to entangle the child destroyables lifetime with\n            @param {Object|Function} child the destroyable to be entangled with the parents lifetime\n            @returns {Object|Function} the child argument\n            @static\n            @public\n          *//**\n           Receives a destroyable, and returns true if the destroyable has begun destroying. Otherwise returns\n           false.\n\n            ```js\n            let obj = {};\n            isDestroying(obj); // false\n            destroy(obj);\n            isDestroying(obj); // true\n            // ...sometime later, after scheduled destruction\n            isDestroyed(obj); // true\n            isDestroying(obj); // true\n            ```\n\n            @method isDestroying\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the object to check\n            @returns {Boolean}\n            @static\n            @public\n          *//**\n            Receives a destroyable, and returns true if the destroyable has finished destroying. Otherwise\n            returns false.\n\n            ```js\n            let obj = {};\n\n            isDestroyed(obj); // false\n            destroy(obj);\n\n            // ...sometime later, after scheduled destruction\n\n            isDestroyed(obj); // true\n            ```\n\n            @method isDestroyed\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the object to check\n            @returns {Boolean}\n            @static\n            @public\n          *//**\n            Initiates the destruction of a destroyable object. It runs all associated destructors, and then\n            destroys all children recursively.\n\n            ```js\n            let obj = {};\n\n            registerDestructor(obj, () => console.log('destroyed!'));\n\n            destroy(obj); // this will schedule the destructor to be called\n\n            // ...some time later, during scheduled destruction\n\n            // destroyed!\n            ```\n\n            Destruction via `destroy()` follows these steps:\n\n            1, Mark the destroyable such that `isDestroying(destroyable)` returns `true`\n            2, Call `destroy()` on each of the destroyable's associated children\n            3, Schedule calling the destroyable's destructors\n            4, Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`\n\n            This results in the entire tree of destroyables being first marked as destroying,\n            then having all of their destructors called, and finally all being marked as isDestroyed.\n            There won't be any in between states where some items are marked as `isDestroying` while\n            destroying, while others are not.\n\n            @method destroy\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the object to destroy\n            @static\n            @public\n          *//**\n            This function asserts that all objects which have associated destructors or associated children\n            have been destroyed at the time it is called. It is meant to be a low level hook that testing\n            frameworks can use to hook into and validate that all destroyables have in fact been destroyed.\n\n            This function requires that `enableDestroyableTracking` was called previously, and is only\n            available in non-production builds.\n\n            @method assertDestroyablesDestroyed\n            @for @ember/destroyable\n            @static\n            @public\n          *//**\n            This function instructs the destroyable system to keep track of all destroyables (their\n            children, destructors, etc). This enables a future usage of `assertDestroyablesDestroyed`\n            to be used to ensure that all destroyable tasks (registered destructors and associated children)\n            have completed when `assertDestroyablesDestroyed` is called.\n\n            @method enableDestroyableTracking\n            @for @ember/destroyable\n            @static\n            @public\n          *//**\n            Receives a destroyable object and a destructor function, and associates the\n            function with it. When the destroyable is destroyed with destroy, or when its\n            parent is destroyed, the destructor function will be called.\n\n            ```js\n            import Component from '@glimmer/component';\n            import { registerDestructor } from '@ember/destroyable';\n\n            class Modal extends Component {\n              @service resize;\n\n              constructor(...args) {\n                super(...args);\n\n                this.resize.register(this, this.layout);\n\n                registerDestructor(this, () => this.resize.unregister(this));\n              }\n            }\n            ```\n\n            Multiple destructors can be associated with a given destroyable, and they can be\n            associated over time, allowing libraries to dynamically add destructors as needed.\n            `registerDestructor` also returns the associated destructor function, for convenience.\n\n            The destructor function is passed a single argument, which is the destroyable itself.\n            This allows the function to be reused multiple times for many destroyables, rather\n            than creating a closure function per destroyable.\n\n            ```js\n            import Component from '@glimmer/component';\n            import { registerDestructor } from '@ember/destroyable';\n\n            function unregisterResize(instance) {\n              instance.resize.unregister(instance);\n            }\n\n            class Modal extends Component {\n              @service resize;\n\n              constructor(...args) {\n                super(...args);\n\n                this.resize.register(this, this.layout);\n\n                registerDestructor(this, unregisterResize);\n              }\n            }\n            ```\n\n            @method registerDestructor\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the destroyable to register the destructor function with\n            @param {Function} destructor the destructor to run when the destroyable object is destroyed\n            @static\n            @public\n          */function registerDestructor(destroyable,destructor){return registerDestructor$1(destroyable,destructor);}/**\n            Receives a destroyable and a destructor function, and de-associates the destructor\n            from the destroyable.\n\n            ```js\n            import Component from '@glimmer/component';\n            import { registerDestructor, unregisterDestructor } from '@ember/destroyable';\n\n            class Modal extends Component {\n              @service modals;\n\n              constructor(...args) {\n                super(...args);\n\n                this.modals.add(this);\n\n                this.modalDestructor = registerDestructor(this, () => this.modals.remove(this));\n              }\n\n              @action pinModal() {\n                unregisterDestructor(this, this.modalDestructor);\n              }\n            }\n            ```\n\n            @method unregisterDestructor\n            @for @ember/destroyable\n            @param {Object|Function} destroyable the destroyable to unregister the destructor function from\n            @param {Function} destructor the destructor to remove from the destroyable\n            @static\n            @public\n          */function unregisterDestructor(destroyable,destructor){return unregisterDestructor$1(destroyable,destructor);}const emberDestroyableIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get assertDestroyablesDestroyed(){return assertDestroyablesDestroyed;},associateDestroyableChild,destroy,get enableDestroyableTracking(){return enableDestroyableTracking;},isDestroyed,isDestroying,registerDestructor,unregisterDestructor},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/helper\n          *//**\n            `capabilities` returns a capabilities configuration which can be used to modify\n            the behavior of the manager. Manager capabilities _must_ be provided using the\n            `capabilities` function, as the underlying implementation can change over time.\n\n            The first argument to capabilities is a version string, which is the version of\n            Ember that the capabilities were defined in. Ember can add new versions at any\n            time, and these may have entirely different behaviors, but it will not remove\n            old versions until the next major version.\n\n            ```js\n            capabilities('3.23');\n            ```\n\n            The second argument is an object of capabilities and boolean values indicating\n            whether they are enabled or disabled.\n\n            ```js\n            capabilities('3.23', {\n              hasValue: true,\n              hasDestructor: true,\n            });\n            ```\n\n            If no value is specified, then the default value will be used.\n\n            ### `3.23` capabilities\n\n            #### `hasDestroyable`\n\n            - Default value: false\n\n            Determines if the helper has a destroyable to include in the destructor\n            hierarchy. If enabled, the `getDestroyable` hook will be called, and its result\n            will be associated with the destroyable parent block.\n\n            #### `hasValue`\n\n            - Default value: false\n\n            Determines if the helper has a value which can be used externally. The helper's\n            `getValue` hook will be run whenever the value of the helper is accessed if this\n            capability is enabled.\n\n            @method capabilities\n            @for @ember/helper\n            @static\n            @param {String} managerApiVersion The version of capabilities that are being used\n            @param options The capabilities values\n            @return {Capabilities} The capabilities object instance\n            @public\n          */const capabilities=helperCapabilities;/**\n            Sets the helper manager for an object or function.\n\n            ```js\n            setHelperManager((owner) => new ClassHelperManager(owner), Helper)\n            ```\n\n            When a value is used as a helper in a template, the helper manager is looked up\n            on the object by walking up its prototype chain and finding the first helper\n            manager. This manager then receives the value and can create and manage an\n            instance of a helper from it. This provides a layer of indirection that allows\n            users to design high-level helper APIs, without Ember needing to worry about the\n            details. High-level APIs can be experimented with and iterated on while the\n            core of Ember helpers remains stable, and new APIs can be introduced gradually\n            over time to existing code bases.\n\n            `setHelperManager` receives two arguments:\n\n            1. A factory function, which receives the `owner` and returns an instance of a\n              helper manager.\n            2. A helper definition, which is the object or function to associate the factory function with.\n\n            The first time the object is looked up, the factory function will be called to\n            create the helper manager. It will be cached, and in subsequent lookups the\n            cached helper manager will be used instead.\n\n            Only one helper manager is guaranteed to exist per `owner` and per usage of\n            `setHelperManager`, so many helpers will end up using the same instance of the\n            helper manager. As such, you should only store state that is related to the\n            manager itself. If you want to store state specific to a particular helper\n            definition, you should assign a unique helper manager to that helper. In\n            general, most managers should either be stateless, or only have the `owner` they\n            were created with as state.\n\n            Helper managers must fulfill the following interface (This example uses\n            [TypeScript interfaces](https://www.typescriptlang.org/docs/handbook/interfaces.html)\n            for precision, you do not need to write helper managers using TypeScript):\n\n            ```ts\n            interface HelperManager<HelperStateBucket> {\n              capabilities: HelperCapabilities;\n\n              createHelper(definition: HelperDefinition, args: TemplateArgs): HelperStateBucket;\n\n              getValue?(bucket: HelperStateBucket): unknown;\n\n              runEffect?(bucket: HelperStateBucket): void;\n\n              getDestroyable?(bucket: HelperStateBucket): object;\n            }\n            ```\n\n            The capabilities property _must_ be provided using the `capabilities()` function\n            imported from the same module as `setHelperManager`:\n\n            ```js\n            import { capabilities } from '@ember/helper';\n\n            class MyHelperManager {\n              capabilities = capabilities('3.21.0', { hasValue: true });\n\n              // ...snip...\n            }\n            ```\n\n            Below is a description of each of the methods on the interface and their\n            functions.\n\n            #### `createHelper`\n\n            `createHelper` is a required hook on the HelperManager interface. The hook is\n            passed the definition of the helper that is currently being created, and is\n            expected to return a _state bucket_. This state bucket is what represents the\n            current state of the helper, and will be passed to the other lifecycle hooks at\n            appropriate times. It is not necessarily related to the definition of the\n            helper itself - for instance, you could return an object _containing_ an\n            instance of the helper:\n\n            ```js\n            class MyManager {\n              createHelper(Definition, args) {\n                return {\n                  instance: new Definition(args);\n                };\n              }\n            }\n            ```\n\n            This allows the manager to store metadata that it doesn't want to expose to the\n            user.\n\n            This hook is _not_ autotracked - changes to tracked values used within this hook\n            will _not_ result in a call to any of the other lifecycle hooks. This is because\n            it is unclear what should happen if it invalidates, and rather than make a\n            decision at this point, the initial API is aiming to allow as much expressivity\n            as possible. This could change in the future with changes to capabilities and\n            their behaviors.\n\n            If users do want to autotrack some values used during construction, they can\n            either create the instance of the helper in `runEffect` or `getValue`, or they\n            can use the `cache` API to autotrack the `createHelper` hook themselves. This\n            provides maximum flexibility and expressiveness to manager authors.\n\n            This hook has the following timing semantics:\n\n            **Always**\n            - called as discovered during DOM construction\n            - called in definition order in the template\n\n            #### `getValue`\n\n            `getValue` is an optional hook that should return the value of the helper. This\n            is the value that is returned from the helper and passed into the template.\n\n            This hook is called when the value is requested from the helper (e.g. when the\n            template is rendering and the helper value is needed). The hook is autotracked,\n            and will rerun whenever any tracked values used inside of it are updated.\n            Otherwise it does not rerun.\n\n            > Note: This means that arguments which are not _consumed_ within the hook will\n            > not trigger updates.\n\n            This hook is only called for helpers with the `hasValue` capability enabled.\n            This hook has the following timing semantics:\n\n            **Always**\n            - called the first time the helper value is requested\n            - called after autotracked state has changed\n\n            **Never**\n            - called if the `hasValue` capability is disabled\n\n            #### `runEffect`\n\n            `runEffect` is an optional hook that should run the effect that the helper is\n            applying, setting it up or updating it.\n\n            This hook is scheduled to be called some time after render and prior to paint.\n            There is not a guaranteed, 1-to-1 relationship between a render pass and this\n            hook firing. For instance, multiple render passes could occur, and the hook may\n            only trigger once. It may also never trigger if it was dirtied in one render\n            pass and then destroyed in the next.\n\n            The hook is autotracked, and will rerun whenever any tracked values used inside\n            of it are updated. Otherwise it does not rerun.\n\n            The hook is also run during a time period where state mutations are _disabled_\n            in Ember. Any tracked state mutation will throw an error during this time,\n            including changes to tracked properties, changes made using `Ember.set`, updates\n            to computed properties, etc. This is meant to prevent infinite rerenders and\n            other antipatterns.\n\n            This hook is only called for helpers with the `hasScheduledEffect` capability\n            enabled. This hook is also not called in SSR currently, though this could be\n            added as a capability in the future. It has the following timing semantics:\n\n            **Always**\n            - called after the helper was first created, if the helper has not been\n              destroyed since creation\n            - called after autotracked state has changed, if the helper has not been\n              destroyed during render\n\n            **Never**\n            - called if the `hasScheduledEffect` capability is disabled\n            - called in SSR\n\n            #### `getDestroyable`\n\n            `getDestroyable` is an optional hook that users can use to register a\n            destroyable object for the helper. This destroyable will be registered to the\n            containing block or template parent, and will be destroyed when it is destroyed.\n            See the [Destroyables RFC](https://github.com/emberjs/rfcs/blob/master/text/0580-destroyables.md)\n            for more details.\n\n            `getDestroyable` is only called if the `hasDestroyable` capability is enabled.\n\n            This hook has the following timing semantics:\n\n            **Always**\n            - called immediately after the `createHelper` hook is called\n\n            **Never**\n            - called if the `hasDestroyable` capability is disabled\n\n            @method setHelperManager\n            @for @ember/helper\n            @static\n            @param {Function} factory A factory function which receives an optional owner, and returns a helper manager\n            @param {object} definition The definition to associate the manager factory with\n            @return {object} The definition passed into setHelperManager\n            @public\n          */const setHelperManager=setHelperManager$1;/**\n            The `invokeHelper` function can be used to create a helper instance in\n            JavaScript.\n\n            To access a helper's value you have to use `getValue` from\n            `@glimmer/tracking/primitives/cache`.\n\n            ```js\n            // app/components/data-loader.js\n            import Component from '@glimmer/component';\n            import { getValue } from '@glimmer/tracking/primitives/cache';\n            import Helper from '@ember/component/helper';\n            import { invokeHelper } from '@ember/helper';\n\n            class PlusOne extends Helper {\n              compute([number]) {\n                return number + 1;\n              }\n            }\n\n            export default class PlusOneComponent extends Component {\n              plusOne = invokeHelper(this, PlusOne, () => {\n                return {\n                  positional: [this.args.number],\n                };\n              });\n\n              get value() {\n                return getValue(this.plusOne);\n              }\n            }\n            ```\n            ```js\n            {{this.value}}\n            ```\n\n            It receives three arguments:\n\n            * `context`: The parent context of the helper. When the parent is torn down and\n              removed, the helper will be as well.\n            * `definition`: The definition of the helper.\n            * `computeArgs`: An optional function that produces the arguments to the helper.\n              The function receives the parent context as an argument, and must return an\n              object with a `positional` property that is an array and/or a `named`\n              property that is an object.\n\n            And it returns a Cache instance that contains the most recent value of the\n            helper. You can access the helper using `getValue()` like any other cache. The\n            cache is also destroyable, and using the `destroy()` function on it will cause\n            the helper to be torn down.\n\n            Note that using `getValue()` on helpers that have scheduled effects will not\n            trigger the effect early. Effects will continue to run at their scheduled time.\n\n            @method invokeHelper\n            @for @ember/helper\n            @static\n            @param {object} context The parent context of the helper\n            @param {object} definition The helper definition\n            @param {Function} computeArgs An optional function that produces args\n            @returns\n            @public\n          */const invokeHelper=invokeHelper$1;// SAFETY: we need to provide interfaces that Glint can declaration-merge with\n// to provide appropriate completions. In each case, the imported item is\n// currently typed only as `object`, and we are replacing it with a similarly\n// low-information interface type: these are empty objects which are simply able\n// to be distinguished so that Glint can provide the relevant extensions.\n/* eslint-disable @typescript-eslint/no-empty-object-type *//**\n           * Using the `{{hash}}` helper, you can pass objects directly from the template\n           * as an argument to your components.\n           *\n           * ```\n           * import { hash } from '@ember/helper';\n           *\n           * <template>\n           *   {{#each-in (hash givenName='Jen' familyName='Weber') as |key value|}}\n           *     <p>{{key}}: {{value}}</p>\n           *   {{/each-in}}\n           * </template>\n           * ```\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `hash` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           */const hash=hash$1;/**\n           * Using the `{{array}}` helper, you can pass arrays directly from the template\n           * as an argument to your components.\n           *\n           * ```js\n           * import { array } from '@ember/helper';\n           *\n           * <template>\n           *   <ul>\n           *   {{#each (array 'Tom Dale' 'Yehuda Katz' @anotherPerson) as |person|}}\n           *     <li>{{person}}</li>\n           *   {{/each}}\n           *   </ul>\n           * </template>\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `array` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           * ```\n           */const array=array$1;/**\n           * The `{{concat}}` helper makes it easy to dynamically send a number of\n           * parameters to a component or helper as a single parameter in the format of a\n           * concatenated string.\n           *\n           * For example:\n           *\n           * ```js\n           * import { concat } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @foo (concat \"item\" @index)}}\n           * </template>\n           * ```\n           *\n           * This will display the result of `@foo.item1` when `index` is `1`, and\n           * `this.foo.item2` when `index` is `2`, etc.\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `concat` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           */const concat=concat$1;/**\n           * The `{{get}}` helper makes it easy to dynamically look up a property on an\n           * object or an element in an array. The second argument to `{{get}}` can be a\n           * string or a number, depending on the object being accessed.\n           *\n           * To access a property on an object with a string key:\n           *\n           * ```js\n           * import { get } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @someObject \"objectKey\"}}\n           * </template>\n           * ```\n           *\n           * To access the first element in an array:\n           *\n           * ```js\n           * import { get } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @someArray 0}}\n           * </template>\n           * ```\n           *\n           * To access a property on an object with a dynamic key:\n           *\n           * ```js\n           * import { get } from '@ember/helper';\n           *\n           * <template>\n           *   {{get @address @field}}\n           * </template>\n           * ```\n           *\n           * This will display the result of `@foo.item1` when `index` is `1`, and\n           * `this.foo.item2` when `index` is `2`, etc.\n           *\n           * **NOTE:** this example uses the experimental `<template>` feature, which is\n           * the only place you need to import `concat` to use it (it is a built-in when\n           * writing standalone `.hbs` files).\n           */const get=get$1;/**\n           * `{{fn}}` is a helper that receives a function and some arguments, and returns\n           * a new function that combines. This allows you to pass parameters along to\n           * functions in your templates:\n           *\n           * ```js\n           * import { fn } from '@ember/helper';\n           *\n           * function showAlert(message) {\n           *   alert(`The message is: '${message}'`);\n           * }\n           *\n           * <template>\n           *   <button type=\"button\" {{on \"click\" (fn showAlert \"Hello!\")}}>\n           *     Click me!\n           *   </button>\n           * </template>\n           * ```\n           */const fn=fn$1;/**\n           * Use the {{uniqueId}} helper to generate a unique ID string suitable for use as\n           * an ID attribute in the DOM.\n           *\n           * Each invocation of {{uniqueId}} will return a new, unique ID string.\n           * You can use the `let` helper to create an ID that can be reused within a template.\n           *\n           * ```js\n           * import { uniqueId } from '@ember/helper';\n           *\n           * <template>\n           *   {{#let (uniqueId) as |emailId|}}\n           *     <label for={{emailId}}>Email address</label>\n           *     <input id={{emailId}} type=\"email\" />\n           *   {{/let}}\n           * </template>\n           * ```\n           */const uniqueId=uniqueId$2;/* eslint-enable @typescript-eslint/no-empty-object-type */const emberHelperIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,array,capabilities,concat,fn,get,hash,invokeHelper,setHelperManager,uniqueId},Symbol.toStringTag,{value:'Module'});// NOTE: this uses assignment to *require* that the `glimmerSetModifierManager`\n// is legally assignable to this type, i.e. that variance is properly upheld.\nconst setModifierManager=setModifierManager$1;const emberModifierIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,capabilities:modifierCapabilities,on,setModifierManager},Symbol.toStringTag,{value:'Module'});// This is a legacy location to keep the reexports test happy.\n// Don't add anything new here.\nconst emberObjectInternals=/*#__PURE__*/Object.defineProperty({__proto__:null,cacheFor:getCachedValueFor,guidFor},Symbol.toStringTag,{value:'Module'});const emberObjectObservers=/*#__PURE__*/Object.defineProperty({__proto__:null,addObserver,removeObserver},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/object/promise-proxy-mixin\n          */function tap(proxy,promise){setProperties(proxy,{isFulfilled:false,isRejected:false});return promise.then(value=>{if(!proxy.isDestroyed&&!proxy.isDestroying){setProperties(proxy,{content:value,isFulfilled:true});}return value;},reason=>{if(!proxy.isDestroyed&&!proxy.isDestroying){setProperties(proxy,{reason,isRejected:true});}throw reason;},'Ember: PromiseProxy');}/**\n            A low level mixin making ObjectProxy promise-aware.\n\n            ```javascript\n            import { resolve } from 'rsvp';\n            import $ from 'jquery';\n            import ObjectProxy from '@ember/object/proxy';\n            import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n\n            let ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n\n            let proxy = ObjectPromiseProxy.create({\n              promise: resolve($.getJSON('/some/remote/data.json'))\n            });\n\n            proxy.then(function(json){\n               // the json\n            }, function(reason) {\n               // the reason why you have no json\n            });\n            ```\n\n            the proxy has bindable attributes which\n            track the promises life cycle\n\n            ```javascript\n            proxy.get('isPending')   //=> true\n            proxy.get('isSettled')  //=> false\n            proxy.get('isRejected')  //=> false\n            proxy.get('isFulfilled') //=> false\n            ```\n\n            When the $.getJSON completes, and the promise is fulfilled\n            with json, the life cycle attributes will update accordingly.\n            Note that $.getJSON doesn't return an ECMA specified promise,\n            it is useful to wrap this with an `RSVP.resolve` so that it behaves\n            as a spec compliant promise.\n\n            ```javascript\n            proxy.get('isPending')   //=> false\n            proxy.get('isSettled')   //=> true\n            proxy.get('isRejected')  //=> false\n            proxy.get('isFulfilled') //=> true\n            ```\n\n            As the proxy is an ObjectProxy, and the json now its content,\n            all the json properties will be available directly from the proxy.\n\n            ```javascript\n            // Assuming the following json:\n            {\n              firstName: 'Stefan',\n              lastName: 'Penner'\n            }\n\n            // both properties will accessible on the proxy\n            proxy.get('firstName') //=> 'Stefan'\n            proxy.get('lastName')  //=> 'Penner'\n            ```\n\n            @class PromiseProxyMixin\n            @public\n          */const PromiseProxyMixin=Mixin.create({reason:null,isPending:computed('isSettled',function(){return!get$2(this,'isSettled');}).readOnly(),isSettled:computed('isRejected','isFulfilled',function(){return get$2(this,'isRejected')||get$2(this,'isFulfilled');}).readOnly(),isRejected:false,isFulfilled:false,promise:computed({get(){throw new Error(\"PromiseProxy's promise must be set\");},set(_key,promise){return tap(this,promise);}}),then:promiseAlias('then'),catch:promiseAlias('catch'),finally:promiseAlias('finally')});function promiseAlias(name){return function(...args){let promise=get$2(this,'promise');// We need this cast because `Parameters` is deferred so that it is not\n// possible for TS to see it will always produce the right type. However,\n// since `AnyFn` has a rest type, it is allowed. See discussion on [this\n// issue](https://github.com/microsoft/TypeScript/issues/47615).\nreturn promise[name](...args);};}const emberObjectPromiseProxyMixin=/*#__PURE__*/Object.defineProperty({__proto__:null,default:PromiseProxyMixin},Symbol.toStringTag,{value:'Module'});/**\n          @module @ember/object/proxy\n          *//**\n            `ObjectProxy` forwards all properties not defined by the proxy itself\n            to a proxied `content` object.\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import ObjectProxy from '@ember/object/proxy';\n\n            let exampleObject = EmberObject.create({\n              name: 'Foo'\n            });\n\n            let exampleProxy = ObjectProxy.create({\n              content: exampleObject\n            });\n\n            // Access and change existing properties\n            exampleProxy.get('name');          // 'Foo'\n            exampleProxy.set('name', 'Bar');\n            exampleObject.get('name');         // 'Bar'\n\n            // Create new 'description' property on `exampleObject`\n            exampleProxy.set('description', 'Foo is a whizboo baz');\n            exampleObject.get('description');  // 'Foo is a whizboo baz'\n            ```\n\n            While `content` is unset, setting a property to be delegated will throw an\n            Error.\n\n            ```javascript\n            import ObjectProxy from '@ember/object/proxy';\n\n            let exampleProxy = ObjectProxy.create({\n              content: null,\n              flag: null\n            });\n            exampleProxy.set('flag', true);\n            exampleProxy.get('flag');         // true\n            exampleProxy.get('foo');          // undefined\n            exampleProxy.set('foo', 'data');  // throws Error\n            ```\n\n            Delegated properties can be bound to and will change when content is updated.\n\n            Computed properties on the proxy itself can depend on delegated properties.\n\n            ```javascript\n            import { computed } from '@ember/object';\n            import ObjectProxy from '@ember/object/proxy';\n\n            ProxyWithComputedProperty = ObjectProxy.extend({\n              fullName: computed('firstName', 'lastName', function() {\n                var firstName = this.get('firstName'),\n                    lastName = this.get('lastName');\n                if (firstName && lastName) {\n                  return firstName + ' ' + lastName;\n                }\n                return firstName || lastName;\n              })\n            });\n\n            let exampleProxy = ProxyWithComputedProperty.create();\n\n            exampleProxy.get('fullName');  // undefined\n            exampleProxy.set('content', {\n              firstName: 'Tom', lastName: 'Dale'\n            }); // triggers property change for fullName on proxy\n\n            exampleProxy.get('fullName');  // 'Tom Dale'\n            ```\n\n            @class ObjectProxy\n            @extends EmberObject\n            @uses Ember.ProxyMixin\n            @public\n          */// eslint-disable-next-line @typescript-eslint/no-unused-vars\nclass ObjectProxy extends FrameworkObject{}ObjectProxy.PrototypeMixin.reopen(ProxyMixin);const emberObjectProxy=/*#__PURE__*/Object.defineProperty({__proto__:null,default:ObjectProxy},Symbol.toStringTag,{value:'Module'});/**\n            @module @ember/renderer\n            @public\n          */const emberRendererIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,renderSettled},Symbol.toStringTag,{value:'Module'});const emberRoutingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,LinkTo},Symbol.toStringTag,{value:'Module'});const emberRoutingLibEngines=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});class QueryParams{constructor(values=null){_defineProperty(this,\"values\",void 0);_defineProperty(this,\"isQueryParams\",true);this.values=values;}}const emberRoutingLibQueryParams=/*#__PURE__*/Object.defineProperty({__proto__:null,default:QueryParams},Symbol.toStringTag,{value:'Module'});const emberRoutingLibRouteInfo=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRoutingLocation=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRoutingRouteInfo=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRoutingTransition=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});const emberRunloopprivateBackburner=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});// (UN)SAFETY: the public API is that people can import and use this (and indeed\n// it is emitted as part of Ember's build!), so we define it as having the type\n// which makes that work. However, in practice it is supplied by the build,\n// *for* the build, and will *not* be present at runtime, so the actual value\n// here is `undefined` in prod; in dev it is a function which throws a somewhat\n// nicer error. This is janky, but... here we are.\nlet __emberTemplateCompiler;const compileTemplate=(...args)=>{if(!__emberTemplateCompiler){throw new Error('Attempted to call `compileTemplate` without first loading the runtime template compiler.');}return __emberTemplateCompiler.compile(...args);};let precompileTemplate;{precompileTemplate=()=>{throw new Error('Attempted to call `precompileTemplate` at runtime, but this API is meant to be used at compile time. You should use `compileTemplate` instead.');};}function __registerTemplateCompiler(c){__emberTemplateCompiler=c;}const emberTemplateCompilationIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get __emberTemplateCompiler(){return __emberTemplateCompiler;},__registerTemplateCompiler,compileTemplate,get precompileTemplate(){return precompileTemplate;}},Symbol.toStringTag,{value:'Module'});// NOTE: this intentionally *only* exports the *type* `SafeString`, not its\n// value, since it should not be constructed by users.\nconst emberTemplateIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,htmlSafe,isHTMLSafe},Symbol.toStringTag,{value:'Module'});function run(fn){if(!_getCurrentRunLoop()){return run$1(fn);}else{return fn();}}const emberTestingLibTestRun=/*#__PURE__*/Object.defineProperty({__proto__:null,default:run},Symbol.toStringTag,{value:'Module'});let lastPromise=null;class TestPromise extends rsvp.Promise{constructor(executor,label){super(executor,label);lastPromise=this;}then(onFulfilled,onRejected,label){let normalizedOnFulfilled=typeof onFulfilled==='function'?result=>isolate(onFulfilled,result):undefined;return super.then(normalizedOnFulfilled,onRejected,label);}}/**\n            This returns a thenable tailored for testing.  It catches failed\n            `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\n            callback in the last chained then.\n\n            This method should be returned by async helpers such as `wait`.\n\n            @public\n            @for Ember.Test\n            @method promise\n            @param {Function} resolver The function used to resolve the promise.\n            @param {String} label An optional string for identifying the promise.\n          */function promise(resolver,label){let fullLabel=`Ember.Test.promise: ${label||'<Unknown Promise>'}`;return new TestPromise(resolver,fullLabel);}/**\n            Replacement for `Ember.RSVP.resolve`\n            The only difference is this uses\n            an instance of `Ember.Test.Promise`\n\n            @public\n            @for Ember.Test\n            @method resolve\n            @param {Mixed} The value to resolve\n            @since 1.2.0\n          */function resolve(result,label){return TestPromise.resolve(result,label);}function getLastPromise(){return lastPromise;}// This method isolates nested async methods\n// so that they don't conflict with other last promises.\n//\n// 1. Set `Ember.Test.lastPromise` to null\n// 2. Invoke method\n// 3. Return the last promise created during method\nfunction isolate(onFulfilled,result){// Reset lastPromise for nested helpers\nlastPromise=null;let value=onFulfilled(result);let promise=lastPromise;lastPromise=null;// If the method returned a promise\n// return that promise. If not,\n// return the last async helper's promise\nif(value&&value instanceof TestPromise||!promise){return value;}else{return run(()=>resolve(promise).then(()=>value));}}const emberTestingLibTestPromise=/*#__PURE__*/Object.defineProperty({__proto__:null,default:TestPromise,getLastPromise,promise,resolve},Symbol.toStringTag,{value:'Module'});const helpers={};/**\n           @module @ember/test\n          *//**\n            `registerHelper` is used to register a test helper that will be injected\n            when `App.injectTestHelpers` is called.\n\n            The helper method will always be called with the current Application as\n            the first parameter.\n\n            For example:\n\n            ```javascript\n            import { registerHelper } from '@ember/test';\n            import { run } from '@ember/runloop';\n\n            registerHelper('boot', function(app) {\n              run(app, app.advanceReadiness);\n            });\n            ```\n\n            This helper can later be called without arguments because it will be\n            called with `app` as the first parameter.\n\n            ```javascript\n            import Application from '@ember/application';\n\n            App = Application.create();\n            App.injectTestHelpers();\n            boot();\n            ```\n\n            @public\n            @for @ember/test\n            @static\n            @method registerHelper\n            @param {String} name The name of the helper method to add.\n            @param {Function} helperMethod\n            @param options {Object}\n          */function registerHelper$1(name,helperMethod){helpers[name]={method:helperMethod,meta:{wait:false}};}/**\n            `registerAsyncHelper` is used to register an async test helper that will be injected\n            when `App.injectTestHelpers` is called.\n\n            The helper method will always be called with the current Application as\n            the first parameter.\n\n            For example:\n\n            ```javascript\n            import { registerAsyncHelper } from '@ember/test';\n            import { run } from '@ember/runloop';\n\n            registerAsyncHelper('boot', function(app) {\n              run(app, app.advanceReadiness);\n            });\n            ```\n\n            The advantage of an async helper is that it will not run\n            until the last async helper has completed.  All async helpers\n            after it will wait for it complete before running.\n\n\n            For example:\n\n            ```javascript\n            import { registerAsyncHelper } from '@ember/test';\n\n            registerAsyncHelper('deletePost', function(app, postId) {\n              click('.delete-' + postId);\n            });\n\n            // ... in your test\n            visit('/post/2');\n            deletePost(2);\n            visit('/post/3');\n            deletePost(3);\n            ```\n\n            @public\n            @for @ember/test\n            @method registerAsyncHelper\n            @param {String} name The name of the helper method to add.\n            @param {Function} helperMethod\n            @since 1.2.0\n          */function registerAsyncHelper$1(name,helperMethod){helpers[name]={method:helperMethod,meta:{wait:true}};}/**\n            Remove a previously added helper method.\n\n            Example:\n\n            ```javascript\n            import { unregisterHelper } from '@ember/test';\n\n            unregisterHelper('wait');\n            ```\n\n            @public\n            @method unregisterHelper\n            @static\n            @for @ember/test\n            @param {String} name The helper to remove.\n          */function unregisterHelper$1(name){delete helpers[name];// SAFETY: This isn't necessarily a safe thing to do, but in terms of the immediate types here\n// it won't error.\ndelete TestPromise.prototype[name];}const emberTestingLibTestHelpers=/*#__PURE__*/Object.defineProperty({__proto__:null,helpers,registerAsyncHelper:registerAsyncHelper$1,registerHelper:registerHelper$1,unregisterHelper:unregisterHelper$1},Symbol.toStringTag,{value:'Module'});const callbacks$1=[];/**\n            Used to register callbacks to be fired whenever `App.injectTestHelpers`\n            is called.\n\n            The callback will receive the current application as an argument.\n\n            Example:\n\n            ```javascript\n            import $ from 'jquery';\n\n            Ember.Test.onInjectHelpers(function() {\n              $(document).ajaxSend(function() {\n                Test.pendingRequests++;\n              });\n\n              $(document).ajaxComplete(function() {\n                Test.pendingRequests--;\n              });\n            });\n            ```\n\n            @public\n            @for Ember.Test\n            @method onInjectHelpers\n            @param {Function} callback The function to be called.\n          */function onInjectHelpers(callback){callbacks$1.push(callback);}function invokeInjectHelpersCallbacks(app){for(let callback of callbacks$1){callback(app);}}const emberTestingLibTestOnInjectHelpers=/*#__PURE__*/Object.defineProperty({__proto__:null,callbacks:callbacks$1,invokeInjectHelpersCallbacks,onInjectHelpers},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/test\n          */const contexts=[];const callbacks=[];/**\n             This allows ember-testing to play nicely with other asynchronous\n             events, such as an application that is waiting for a CSS3\n             transition or an IndexDB transaction. The waiter runs periodically\n             after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n             until the returning result is truthy. After the waiters finish, the next async helper\n             is executed and the process repeats.\n\n             For example:\n\n             ```javascript\n             import { registerWaiter } from '@ember/test';\n\n             registerWaiter(function() {\n               return myPendingTransactions() === 0;\n             });\n             ```\n             The `context` argument allows you to optionally specify the `this`\n             with which your callback will be invoked.\n\n             For example:\n\n             ```javascript\n             import { registerWaiter } from '@ember/test';\n\n             registerWaiter(MyDB, MyDB.hasPendingTransactions);\n             ```\n\n             @public\n             @for @ember/test\n             @static\n             @method registerWaiter\n             @param {Object} context (optional)\n             @param {Function} callback\n             @since 1.2.0\n          */function registerWaiter$1(// Formatting makes a pretty big difference in how readable this is.\n// prettier-ignore\n...args){let checkedCallback;let checkedContext;if(args.length===1){checkedContext=null;checkedCallback=args[0];}else{checkedContext=args[0];checkedCallback=args[1];}if(indexOf(checkedContext,checkedCallback)>-1){return;}contexts.push(checkedContext);callbacks.push(checkedCallback);}/**\n             `unregisterWaiter` is used to unregister a callback that was\n             registered with `registerWaiter`.\n\n             @public\n             @for @ember/test\n             @static\n             @method unregisterWaiter\n             @param {Object} context (optional)\n             @param {Function} callback\n             @since 1.2.0\n          */function unregisterWaiter$1(context,callback){if(!callbacks.length){return;}if(arguments.length===1){callback=context;context=null;}let i=indexOf(context,callback);if(i===-1){return;}contexts.splice(i,1);callbacks.splice(i,1);}/**\n            Iterates through each registered test waiter, and invokes\n            its callback. If any waiter returns false, this method will return\n            true indicating that the waiters have not settled yet.\n\n            This is generally used internally from the acceptance/integration test\n            infrastructure.\n\n            @public\n            @for @ember/test\n            @static\n            @method checkWaiters\n          */function checkWaiters(){if(!callbacks.length){return false;}for(let i=0;i<callbacks.length;i++){let context=contexts[i];let callback=callbacks[i];// SAFETY: The loop ensures that this exists\nif(!callback.call(context)){return true;}}return false;}function indexOf(context,callback){for(let i=0;i<callbacks.length;i++){if(callbacks[i]===callback&&contexts[i]===context){return i;}}return-1;}const emberTestingLibTestWaiters=/*#__PURE__*/Object.defineProperty({__proto__:null,checkWaiters,registerWaiter:registerWaiter$1,unregisterWaiter:unregisterWaiter$1},Symbol.toStringTag,{value:'Module'});let adapter;function getAdapter(){return adapter;}function setAdapter(value){adapter=value;if(value&&typeof value.exception==='function'){setDispatchOverride(adapterDispatch);}else{setDispatchOverride(null);}}function asyncStart(){if(adapter){adapter.asyncStart();}}function asyncEnd(){if(adapter){adapter.asyncEnd();}}function adapterDispatch(error){adapter.exception(error);// @ts-expect-error Normally unreachable\nconsole.error(error.stack);// eslint-disable-line no-console\n}const emberTestingLibTestAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,asyncEnd,asyncStart,getAdapter,setAdapter},Symbol.toStringTag,{value:'Module'});/**\n            @module ember\n          *//**\n            This is a container for an assortment of testing related functionality:\n\n            * Choose your default test adapter (for your framework of choice).\n            * Register/Unregister additional test helpers.\n            * Setup callbacks to be fired when the test helpers are injected into\n              your application.\n\n            @class Test\n            @namespace Ember\n            @public\n          */const Test={/**\n              Hash containing all known test helpers.\n               @property _helpers\n              @private\n              @since 1.7.0\n            */_helpers:helpers,registerHelper:registerHelper$1,registerAsyncHelper:registerAsyncHelper$1,unregisterHelper:unregisterHelper$1,onInjectHelpers,Promise:TestPromise,promise,resolve,registerWaiter:registerWaiter$1,unregisterWaiter:unregisterWaiter$1,checkWaiters};/**\n           Used to allow ember-testing to communicate with a specific testing\n           framework.\n\n           You can manually set it before calling `App.setupForTesting()`.\n\n           Example:\n\n           ```javascript\n           Ember.Test.adapter = MyCustomAdapter.create()\n           ```\n\n           If you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.\n\n           @public\n           @for Ember.Test\n           @property adapter\n           @type {Class} The adapter to be used.\n           @default Ember.Test.QUnitAdapter\n          */Object.defineProperty(Test,'adapter',{get:getAdapter,set:setAdapter});const emberTestingLibTest=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Test},Symbol.toStringTag,{value:'Module'});/**\n           @module @ember/test\n          *//**\n            The primary purpose of this class is to create hooks that can be implemented\n            by an adapter for various test frameworks.\n\n            @class TestAdapter\n            @public\n          */const Adapter=EmberObject.extend({/**\n              This callback will be called whenever an async operation is about to start.\n               Override this to call your framework's methods that handle async\n              operations.\n               @public\n              @method asyncStart\n            */asyncStart(){},/**\n              This callback will be called whenever an async operation has completed.\n               @public\n              @method asyncEnd\n            */asyncEnd(){},/**\n              Override this method with your testing framework's false assertion.\n              This function is called whenever an exception occurs causing the testing\n              promise to fail.\n               QUnit example:\n               ```javascript\n                exception: function(error) {\n                  ok(false, error);\n                };\n              ```\n               @public\n              @method exception\n              @param {String} error The exception to be raised.\n            */exception(error){throw error;}});const emberTestingLibAdaptersAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Adapter},Symbol.toStringTag,{value:'Module'});/* globals QUnit */function isVeryOldQunit(obj){return obj!=null&&typeof obj.stop==='function';}/**\n             @module ember\n          *//**\n            This class implements the methods defined by TestAdapter for the\n            QUnit testing framework.\n\n            @class QUnitAdapter\n            @namespace Ember.Test\n            @extends TestAdapter\n            @public\n          */const QUnitAdapter=Adapter.extend({init(){this.doneCallbacks=[];},asyncStart(){if(isVeryOldQunit(QUnit)){// very old QUnit version\n// eslint-disable-next-line qunit/no-qunit-stop\nQUnit.stop();}else{this.doneCallbacks.push(QUnit.config.current?QUnit.config.current.assert.async():null);}},asyncEnd(){// checking for QUnit.stop here (even though we _need_ QUnit.start) because\n// QUnit.start() still exists in QUnit 2.x (it just throws an error when calling\n// inside a test context)\nif(isVeryOldQunit(QUnit)){QUnit.start();}else{let done=this.doneCallbacks.pop();// This can be null if asyncStart() was called outside of a test\nif(done){done();}}},exception(error){QUnit.config.current.assert.ok(false,inspect(error));}});const emberTestingLibAdaptersQunit=/*#__PURE__*/Object.defineProperty({__proto__:null,default:QUnitAdapter},Symbol.toStringTag,{value:'Module'});/* global self *//**\n            Sets Ember up for testing. This is useful to perform\n            basic setup steps in order to unit test.\n\n            Use `App.setupForTesting` to perform integration tests (full\n            application testing).\n\n            @method setupForTesting\n            @namespace Ember\n            @since 1.5.0\n            @private\n          */function setupForTesting(){setTesting(true);let adapter=getAdapter();// if adapter is not manually set default to QUnit\nif(!adapter){setAdapter(typeof self.QUnit==='undefined'?Adapter.create():QUnitAdapter.create());}}const emberTestingLibSetupForTesting=/*#__PURE__*/Object.defineProperty({__proto__:null,default:setupForTesting},Symbol.toStringTag,{value:'Module'});Application.reopen({/**\n             This property contains the testing helpers for the current application. These\n             are created once you call `injectTestHelpers` on your `Application`\n             instance. The included helpers are also available on the `window` object by\n             default, but can be used from this object on the individual application also.\n               @property testHelpers\n              @type {Object}\n              @default {}\n              @public\n            */testHelpers:{},/**\n             This property will contain the original methods that were registered\n             on the `helperContainer` before `injectTestHelpers` is called.\n              When `removeTestHelpers` is called, these methods are restored to the\n             `helperContainer`.\n               @property originalMethods\n              @type {Object}\n              @default {}\n              @private\n              @since 1.3.0\n            */originalMethods:{},/**\n            This property indicates whether or not this application is currently in\n            testing mode. This is set when `setupForTesting` is called on the current\n            application.\n             @property testing\n            @type {Boolean}\n            @default false\n            @since 1.3.0\n            @public\n            */testing:false,/**\n              This hook defers the readiness of the application, so that you can start\n              the app when your tests are ready to run. It also sets the router's\n              location to 'none', so that the window's location will not be modified\n              (preventing both accidental leaking of state between tests and interference\n              with your testing framework). `setupForTesting` should only be called after\n              setting a custom `router` class (for example `App.Router = Router.extend(`).\n               Example:\n               ```\n              App.setupForTesting();\n              ```\n               @method setupForTesting\n              @public\n            */setupForTesting(){setupForTesting();this.testing=true;this.resolveRegistration('router:main').reopen({location:'none'});},/**\n              This will be used as the container to inject the test helpers into. By\n              default the helpers are injected into `window`.\n               @property helperContainer\n              @type {Object} The object to be used for test helpers.\n              @default window\n              @since 1.2.0\n              @private\n            */helperContainer:null,/**\n              This injects the test helpers into the `helperContainer` object. If an object is provided\n              it will be used as the helperContainer. If `helperContainer` is not set it will default\n              to `window`. If a function of the same name has already been defined it will be cached\n              (so that it can be reset if the helper is removed with `unregisterHelper` or\n              `removeTestHelpers`).\n               Any callbacks registered with `onInjectHelpers` will be called once the\n              helpers have been injected.\n               Example:\n              ```\n              App.injectTestHelpers();\n              ```\n               @method injectTestHelpers\n              @public\n            */injectTestHelpers(helperContainer){if(helperContainer){this.helperContainer=helperContainer;}else{this.helperContainer=window;}this.reopen({willDestroy(){this._super(...arguments);this.removeTestHelpers();}});this.testHelpers={};for(let name in helpers){// SAFETY: It is safe to access a property on an object\nthis.originalMethods[name]=this.helperContainer[name];// SAFETY: It is not quite as safe to do this, but it _seems_ to be ok.\nthis.testHelpers[name]=this.helperContainer[name]=helper(this,name);// SAFETY: We checked that it exists\nprotoWrap(TestPromise.prototype,name,helper(this,name),helpers[name].meta.wait);}invokeInjectHelpersCallbacks(this);},/**\n              This removes all helpers that have been registered, and resets and functions\n              that were overridden by the helpers.\n               Example:\n               ```javascript\n              App.removeTestHelpers();\n              ```\n               @public\n              @method removeTestHelpers\n            */removeTestHelpers(){if(!this.helperContainer){return;}for(let name in helpers){this.helperContainer[name]=this.originalMethods[name];// SAFETY: This is a weird thing, but it's not technically unsafe here.\ndelete TestPromise.prototype[name];delete this.testHelpers[name];delete this.originalMethods[name];}}});// This method is no longer needed\n// But still here for backwards compatibility\n// of helper chaining\nfunction protoWrap(proto,name,callback,isAsync){// SAFETY: This isn't entirely safe, but it _seems_ to be ok.\nproto[name]=function(...args){if(isAsync){return callback.apply(this,args);}else{// SAFETY: This is not actually safe.\nreturn this.then(function(){return callback.apply(this,args);});}};}function helper(app,name){let helper=helpers[name];!helper&&assert$1(`[BUG] Missing helper: ${name}`,helper);let fn=helper.method;let meta=helper.meta;if(!meta.wait){return(...args)=>fn.apply(app,[app,...args]);}return(...args)=>{let lastPromise=run(()=>resolve(getLastPromise()));// wait for last helper's promise to resolve and then\n// execute. To be safe, we need to tell the adapter we're going\n// asynchronous here, because fn may not be invoked before we\n// return.\nasyncStart();return lastPromise.then(()=>fn.apply(app,[app,...args])).finally(asyncEnd);};}const emberTestingLibExtApplication=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});rsvp.configure('async',function(callback,promise){// if schedule will cause autorun, we need to inform adapter\n_backburner.schedule('actions',()=>callback(promise));});const emberTestingLibExtRsvp=/*#__PURE__*/Object.defineProperty({__proto__:null,default:rsvp},Symbol.toStringTag,{value:'Module'});function andThen(app,callback){let wait=app.testHelpers['wait'];!wait&&assert$1('[BUG] Missing wait helper',wait);return wait(callback(app));}const emberTestingLibHelpersAndThen=/*#__PURE__*/Object.defineProperty({__proto__:null,default:andThen},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            Returns the current path.\n\n          Example:\n\n          ```javascript\n          function validateURL() {\n            equal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n          }\n\n          click('#some-link-id').then(validateURL);\n          ```\n\n          @method currentPath\n          @return {Object} The currently active path.\n          @since 1.5.0\n          @public\n          */function currentPath(app){!app.__container__&&assert$1('[BUG] app.__container__ is not set',app.__container__);let routingService=app.__container__.lookup('service:-routing');!(routingService instanceof RoutingService)&&assert$1('[BUG] service:-routing is not a RoutingService',routingService instanceof RoutingService);return get$2(routingService,'currentPath');}const emberTestingLibHelpersCurrentPath=/*#__PURE__*/Object.defineProperty({__proto__:null,default:currentPath},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            Returns the currently active route name.\n\n          Example:\n\n          ```javascript\n          function validateRouteName() {\n            equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n          }\n          visit('/some/path').then(validateRouteName)\n          ```\n\n          @method currentRouteName\n          @return {Object} The name of the currently active route.\n          @since 1.5.0\n          @public\n          */function currentRouteName(app){!app.__container__&&assert$1('[BUG] app.__container__ is not set',app.__container__);let routingService=app.__container__.lookup('service:-routing');!(routingService instanceof RoutingService)&&assert$1('[BUG] service:-routing is not a RoutingService',routingService instanceof RoutingService);return get$2(routingService,'currentRouteName');}const emberTestingLibHelpersCurrentRouteName=/*#__PURE__*/Object.defineProperty({__proto__:null,default:currentRouteName},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            Returns the current URL.\n\n          Example:\n\n          ```javascript\n          function validateURL() {\n            equal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n          }\n\n          click('#some-link-id').then(validateURL);\n          ```\n\n          @method currentURL\n          @return {Object} The currently active URL.\n          @since 1.5.0\n          @public\n          */function currentURL(app){!app.__container__&&assert$1('[BUG] app.__container__ is not set',app.__container__);let router=app.__container__.lookup('router:main');!(router instanceof EmberRouter)&&assert$1('[BUG] router:main is not a Router',router instanceof EmberRouter);let location=get$2(router,'location');!(typeof location!=='string')&&assert$1('[BUG] location is still a string',typeof location!=='string');return location.getURL();}const emberTestingLibHelpersCurrentUrl=/*#__PURE__*/Object.defineProperty({__proto__:null,default:currentURL},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */let resume;/**\n           Resumes a test paused by `pauseTest`.\n\n           @method resumeTest\n           @return {void}\n           @public\n          */function resumeTest(){!resume&&assert$1('Testing has not been paused. There is nothing to resume.',resume);resume();resume=undefined;}/**\n           Pauses the current test - this is useful for debugging while testing or for test-driving.\n           It allows you to inspect the state of your application at any point.\n           Example (The test will pause before clicking the button):\n\n           ```javascript\n           visit('/')\n           return pauseTest();\n           click('.btn');\n           ```\n\n           You may want to turn off the timeout before pausing.\n\n           qunit (timeout available to use as of 2.4.0):\n\n           ```\n           visit('/');\n           assert.timeout(0);\n           return pauseTest();\n           click('.btn');\n           ```\n\n           mocha (timeout happens automatically as of ember-mocha v0.14.0):\n\n           ```\n           visit('/');\n           this.timeout(0);\n           return pauseTest();\n           click('.btn');\n           ```\n\n\n           @since 1.9.0\n           @method pauseTest\n           @return {Object} A promise that will never resolve\n           @public\n          */function pauseTest(){info('Testing paused. Use `resumeTest()` to continue.');return new rsvp.Promise(resolve=>{resume=resolve;},'TestAdapter paused promise');}const emberTestingLibHelpersPauseTest=/*#__PURE__*/Object.defineProperty({__proto__:null,pauseTest,resumeTest},Symbol.toStringTag,{value:'Module'});/**\n            Loads a route, sets up any controllers, and renders any templates associated\n            with the route as though a real user had triggered the route change while\n            using your app.\n\n            Example:\n\n            ```javascript\n            visit('posts/index').then(function() {\n              // assert something\n            });\n            ```\n\n            @method visit\n            @param {String} url the name of the route\n            @return {RSVP.Promise<undefined>}\n            @public\n          */function visit(app,url){!app.__container__&&assert$1('[BUG] Missing container',app.__container__);const router=app.__container__.lookup('router:main');!(router instanceof EmberRouter)&&assert$1('[BUG] router:main is not a Router',router instanceof EmberRouter);let shouldHandleURL=false;app.boot().then(()=>{!(typeof router.location!=='string')&&assert$1('[BUG] router.location is still a string',typeof router.location!=='string');router.location.setURL(url);if(shouldHandleURL){!app.__deprecatedInstance__&&assert$1(\"[BUG] __deprecatedInstance__ isn't set\",app.__deprecatedInstance__);run$1(app.__deprecatedInstance__,'handleURL',url);}});if(app._readinessDeferrals>0){// SAFETY: This should be safe, though it is odd.\nrouter.initialURL=url;run$1(app,'advanceReadiness');delete router.initialURL;}else{shouldHandleURL=true;}let wait=app.testHelpers['wait'];!wait&&assert$1('[BUG] missing wait helper',wait);return wait();}const emberTestingLibHelpersVisit=/*#__PURE__*/Object.defineProperty({__proto__:null,default:visit},Symbol.toStringTag,{value:'Module'});let requests=[];function pendingRequests(){return requests.length;}function clearPendingRequests(){requests.length=0;}function incrementPendingRequests(_,xhr){requests.push(xhr);}function decrementPendingRequests(_,xhr){setTimeout(function(){for(let i=0;i<requests.length;i++){if(xhr===requests[i]){requests.splice(i,1);break;}}},0);}const emberTestingLibTestPendingRequests=/*#__PURE__*/Object.defineProperty({__proto__:null,clearPendingRequests,decrementPendingRequests,incrementPendingRequests,pendingRequests},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          *//**\n            Causes the run loop to process any pending events. This is used to ensure that\n            any async operations from other helpers (or your assertions) have been processed.\n\n            This is most often used as the return value for the helper functions (see 'click',\n            'fillIn','visit',etc). However, there is a method to register a test helper which\n            utilizes this method without the need to actually call `wait()` in your helpers.\n\n            The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n            to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n\n            Example:\n\n            ```javascript\n            import { registerAsyncHelper } from '@ember/test';\n\n            registerAsyncHelper('loginUser', function(app, username, password) {\n              visit('secured/path/here')\n                .fillIn('#username', username)\n                .fillIn('#password', password)\n                .click('.submit');\n            });\n            ```\n\n            @method wait\n            @param {Object} value The value to be returned.\n            @return {RSVP.Promise<any>} Promise that resolves to the passed value.\n            @public\n            @since 1.0.0\n          */function wait(app,value){return new rsvp.Promise(function(resolve){!app.__container__&&assert$1('[BUG] Missing container',app.__container__);const router=app.__container__.lookup('router:main');!(router instanceof EmberRouter)&&assert$1('[BUG] Expected router:main to be a subclass of Ember Router',router instanceof EmberRouter);// Every 10ms, poll for the async thing to have finished\nlet watcher=setInterval(()=>{// 1. If the router is loading, keep polling\nlet routerIsLoading=router._routerMicrolib&&Boolean(router._routerMicrolib.activeTransition);if(routerIsLoading){return;}// 2. If there are pending Ajax requests, keep polling\nif(pendingRequests()){return;}// 3. If there are scheduled timers or we are inside of a run loop, keep polling\nif(_hasScheduledTimers()||_getCurrentRunLoop()){return;}if(checkWaiters()){return;}// Stop polling\nclearInterval(watcher);// Synchronously resolve the promise\nrun$1(null,resolve,value);},10);});}const emberTestingLibHelpersWait=/*#__PURE__*/Object.defineProperty({__proto__:null,default:wait},Symbol.toStringTag,{value:'Module'});registerAsyncHelper$1('visit',visit);registerAsyncHelper$1('wait',wait);registerAsyncHelper$1('andThen',andThen);registerAsyncHelper$1('pauseTest',pauseTest);registerHelper$1('currentRouteName',currentRouteName);registerHelper$1('currentPath',currentPath);registerHelper$1('currentURL',currentURL);registerHelper$1('resumeTest',resumeTest);const emberTestingLibHelpers=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});let name='deferReadiness in `testing` mode';onLoad('Ember.Application',function(ApplicationClass){if(!ApplicationClass.initializers[name]){ApplicationClass.initializer({name:name,initialize(application){if(application.testing){application.deferReadiness();}}});}});const emberTestingLibInitializers=/*#__PURE__*/Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:'Module'});// to setup initializer\nconst emberTestingLibPublicApi=/*#__PURE__*/Object.defineProperty({__proto__:null,Adapter,QUnitAdapter,Test,setupForTesting},Symbol.toStringTag,{value:'Module'});let registerAsyncHelper;let registerHelper;let registerWaiter;let unregisterHelper;let unregisterWaiter;let _impl;let testingNotAvailableMessage=()=>{throw new Error('Attempted to use test utilities, but `ember-testing` was not included');};registerAsyncHelper=testingNotAvailableMessage;registerHelper=testingNotAvailableMessage;registerWaiter=testingNotAvailableMessage;unregisterHelper=testingNotAvailableMessage;unregisterWaiter=testingNotAvailableMessage;function registerTestImplementation(impl){let{Test}=impl;registerAsyncHelper=Test.registerAsyncHelper;registerHelper=Test.registerHelper;registerWaiter=Test.registerWaiter;unregisterHelper=Test.unregisterHelper;unregisterWaiter=Test.unregisterWaiter;_impl=impl;}const emberTestIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,get _impl(){return _impl;},get registerAsyncHelper(){return registerAsyncHelper;},get registerHelper(){return registerHelper;},registerTestImplementation,get registerWaiter(){return registerWaiter;},get unregisterHelper(){return unregisterHelper;},get unregisterWaiter(){return unregisterWaiter;}},Symbol.toStringTag,{value:'Module'});registerTestImplementation(emberTestingLibPublicApi);const emberTestingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,Adapter,QUnitAdapter,Test,setupForTesting},Symbol.toStringTag,{value:'Module'});const emberTestAdapter=/*#__PURE__*/Object.defineProperty({__proto__:null,default:Adapter},Symbol.toStringTag,{value:'Module'});const DEBUG=false;const CI=false;const glimmerEnv=/*#__PURE__*/Object.defineProperty({__proto__:null,CI,DEBUG},Symbol.toStringTag,{value:'Module'});/**\n            In order to tell Ember a value might change, we need to mark it as trackable.\n            Trackable values are values that:\n\n            - Can change over their component’s lifetime and\n            - Should cause Ember to rerender if and when they change\n\n            We can do this by marking the field with the `@tracked` decorator.\n\n            @module @glimmer/tracking\n            @public\n          *//**\n            Marks a property as tracked. By default, values that are rendered in Ember app\n            templates are _static_, meaning that updates to them won't cause the\n            application to rerender. Marking a property as tracked means that when that\n            property changes, any templates that used that property, directly or\n            indirectly, will rerender. For instance, consider this component:\n\n            ```handlebars\n            <div>Count: {{this.count}}</div>\n            <div>Times Ten: {{this.timesTen}}</div>\n            <div>\n              <button {{on \"click\" this.plusOne}}>\n                Plus One\n              </button>\n            </div>\n            ```\n\n            ```javascript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n            import { action } from '@ember/object';\n\n            export default class CounterComponent extends Component {\n              @tracked count = 0;\n\n              get timesTen() {\n                return this.count * 10;\n              }\n\n              @action\n              plusOne() {\n                this.count += 1;\n              }\n            }\n            ```\n\n            Both the `{{this.count}}` and the `{{this.timesTen}}` properties in the\n            template will update whenever the button is clicked. Any tracked properties\n            that are used in any way to calculate a value that is used in the template\n            will cause a rerender when updated - this includes through method calls and\n            other means:\n\n            ```javascript\n            import Component from '@glimmer/component';\n            import { tracked } from '@glimmer/tracking';\n\n            class Entry {\n              @tracked name;\n              @tracked phoneNumber;\n\n              constructor(name, phoneNumber) {\n                this.name = name;\n                this.phoneNumber = phoneNumber;\n              }\n            }\n\n            export default class PhoneBookComponent extends Component {\n              entries = [\n                new Entry('Pizza Palace', 5551234),\n                new Entry('1st Street Cleaners', 5554321),\n                new Entry('Plants R Us', 5552468),\n              ];\n\n              // Any usage of this property will update whenever any of the names in the\n              // entries arrays are updated\n              get names() {\n                return this.entries.map(e => e.name);\n              }\n\n              // Any usage of this property will update whenever any of the numbers in the\n              // entries arrays are updated\n              get numbers() {\n                return this.getFormattedNumbers();\n              }\n\n              getFormattedNumbers() {\n                return this.entries\n                  .map(e => e.phoneNumber)\n                  .map(number => {\n                    let numberString = '' + number;\n\n                    return numberString.slice(0, 3) + '-' + numberString.slice(3);\n                  });\n              }\n            }\n            ```\n\n            It's important to note that setting tracked properties will always trigger an\n            update, even if the property is set to the same value as it was before.\n\n            ```js\n            let entry = new Entry('Pizza Palace', 5551234);\n            // if entry was used when rendering, this would cause a rerender, even though\n            // the name is being set to the same value as it was before\n            entry.name = entry.name;\n            ```\n\n            `tracked` can also be used with the classic Ember object model in a similar\n            manner to classic computed properties:\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import { tracked } from '@glimmer/tracking';\n\n            const Entry = EmberObject.extend({\n              name: tracked(),\n              phoneNumber: tracked()\n            });\n            ```\n\n            Often this is unnecessary, but to ensure robust auto-tracking behavior it is\n            advisable to mark tracked state appropriately wherever possible.\n            This form of `tracked` also accepts an optional configuration object\n            containing either an initial `value` or an `initializer` function (but not\n            both).\n\n            ```javascript\n            import EmberObject from '@ember/object';\n            import { tracked } from '@glimmer/tracking';\n\n            const Entry = EmberObject.extend({\n              name: tracked({ value: 'Zoey' }),\n              favoriteSongs: tracked({\n                initializer: () => ['Raspberry Beret', 'Time After Time']\n              })\n            });\n            ```\n\n            @method tracked\n            @static\n            @for @glimmer/tracking\n            @public\n          *//**\n            The `@cached` decorator can be used on getters in order to cache the return\n            value of the getter. This is useful when a getter is expensive and used very\n            often. For instance, in this guest list class, we have the `sortedGuests`\n            getter that sorts the guests alphabetically:\n\n            ```js\n            import { tracked } from '@glimmer/tracking';\n\n            class GuestList {\n              @tracked guests = ['Zoey', 'Tomster'];\n\n              get sortedGuests() {\n                return this.guests.slice().sort()\n              }\n            }\n            ```\n\n            Every time `sortedGuests` is accessed, a new array will be created and sorted,\n            because JavaScript getters do not cache by default. When the guest list is\n            small, like the one in the example, this is not a problem. However, if the guest\n            list were to grow very large, it would mean that we would be doing a large\n            amount of work each time we accessed `sortedGetters`. With `@cached`, we can\n            cache the value instead:\n\n            ```js\n            import { tracked, cached } from '@glimmer/tracking';\n\n            class GuestList {\n              @tracked guests = ['Zoey', 'Tomster'];\n\n              @cached\n              get sortedGuests() {\n                return this.guests.slice().sort()\n              }\n            }\n            ```\n\n            Now the `sortedGuests` getter will be cached based on _autotracking_. It will\n            only rerun and create a new sorted array when the `guests` tracked property is\n            updated.\n\n            In general, you should avoid using `@cached` unless you have confirmed that the\n            getter you are decorating is computationally expensive. `@cached` adds a small\n            amount of overhead to the getter, making it more expensive. While this overhead\n            is small, if `@cached` is overused it can add up to a large impact overall in\n            your app. Many getters and tracked properties are only accessed once, rendered,\n            and then never rerendered, so adding `@cached` when it is unnecessary can\n            negatively impact performance.\n\n            @method cached\n            @static\n            @for @glimmer/tracking\n            @public\n           */const glimmerTrackingIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,cached,tracked},Symbol.toStringTag,{value:'Module'});const glimmerTrackingPrimitivesCache=/*#__PURE__*/Object.defineProperty({__proto__:null,createCache,getValue,isConst},Symbol.toStringTag,{value:'Module'});/**\n          @module ember\n          */// eslint-disable-next-line @typescript-eslint/no-namespace\nlet Ember;(function(_Ember){_Ember.isNamespace=true;function toString(){return'Ember';}_Ember.toString=toString;_Ember.Container=Container;_Ember.Registry=Registry;// ****@ember/-internals/glimmer****\n// Partially re-exported from @glimmer/manager\n_Ember._setComponentManager=setComponentManager;_Ember._componentManagerCapabilities=componentCapabilities;_Ember._modifierManagerCapabilities=modifierCapabilities;_Ember.meta=meta;_Ember._createCache=createCache;_Ember._cacheGetValue=getValue;_Ember._cacheIsConst=isConst;_Ember._descriptor=nativeDescDecorator;_Ember._getPath=_getPath;_Ember._setClassicDecorator=setClassicDecorator;_Ember._tracked=tracked;_Ember.beginPropertyChanges=beginPropertyChanges;_Ember.changeProperties=changeProperties;_Ember.endPropertyChanges=endPropertyChanges;_Ember.hasListeners=hasListeners;_Ember.libraries=LIBRARIES;_Ember._ContainerProxyMixin=ContainerProxyMixin;_Ember._ProxyMixin=ProxyMixin;_Ember._RegistryProxyMixin=RegistryProxyMixin;_Ember.ActionHandler=ActionHandler;_Ember.Comparable=Comparable;// ****@ember/-internals/view****\n_Ember.ComponentLookup=ComponentLookup;_Ember.EventDispatcher=EventDispatcher;_Ember._Cache=Cache;_Ember.GUID_KEY=GUID_KEY;_Ember.canInvoke=canInvoke;_Ember.generateGuid=generateGuid;_Ember.guidFor=guidFor;_Ember.uuid=uuid$1;_Ember.wrap=wrap;_Ember.getOwner=getOwner;_Ember.onLoad=onLoad;_Ember.runLoadHooks=runLoadHooks;_Ember.setOwner=setOwner;_Ember.Application=Application;// ****@ember/application/instance****\n_Ember.ApplicationInstance=ApplicationInstance;// // ****@ember/application/namespace****\n_Ember.Namespace=Namespace;// ****@ember/array****\n_Ember.A=A;_Ember.Array=EmberArray;_Ember.NativeArray=NativeArray;_Ember.isArray=isArray$2;_Ember.makeArray=makeArray;_Ember.MutableArray=MutableArray;// ****@ember/array/proxy****\n_Ember.ArrayProxy=ArrayProxy;// ****@ember/canary-features****\n_Ember.FEATURES={isEnabled,...FEATURES};_Ember._Input=Input;_Ember.Component=Component;// // ****@ember/component/helper****\n_Ember.Helper=Helper;// ****@ember/controller****\n_Ember.Controller=Controller;_Ember.ControllerMixin=ControllerMixin;// ****@ember/debug****\n_Ember._captureRenderTree=captureRenderTree;_Ember.assert=assert$1;_Ember.warn=warn;_Ember.debug=debug$1;_Ember.deprecate=deprecate$1;_Ember.deprecateFunc=deprecateFunc;_Ember.runInDebug=runInDebug;_Ember.inspect=inspect;_Ember.Debug={registerDeprecationHandler:registerHandler$1,registerWarnHandler:registerHandler,// ****@ember/-internals/metal****\nisComputed:isComputed};_Ember.ContainerDebugAdapter=ContainerDebugAdapter;// ****@ember/debug/data-adapter****\n_Ember.DataAdapter=DataAdapter;// ****@ember/destroyable****\n_Ember._assertDestroyablesDestroyed=assertDestroyablesDestroyed;_Ember._associateDestroyableChild=associateDestroyableChild;_Ember._enableDestroyableTracking=enableDestroyableTracking;_Ember._isDestroying=isDestroying;_Ember._isDestroyed=isDestroyed;_Ember._registerDestructor=registerDestructor;_Ember._unregisterDestructor=unregisterDestructor;_Ember.destroy=destroy;_Ember.Engine=Engine;// ****@ember/engine/instance****\n_Ember.EngineInstance=EngineInstance;// ****@ember/enumerable****\n_Ember.Enumerable=Enumerable;// ****@ember/enumerable/mutable****\n_Ember.MutableEnumerable=MutableEnumerable;// ****@ember/instrumentation****\n/** @private */_Ember.instrument=instrument;_Ember.subscribe=subscribe;_Ember.Instrumentation={instrument:instrument,subscribe:subscribe,unsubscribe:unsubscribe,reset:reset};_Ember.Object=EmberObject;_Ember._action=action$1;_Ember.computed=computed;_Ember.defineProperty=defineProperty;_Ember.get=get$2;_Ember.getProperties=getProperties;_Ember.notifyPropertyChange=notifyPropertyChange;_Ember.observer=observer;_Ember.set=set;_Ember.trySet=trySet;_Ember.setProperties=setProperties;_Ember.cacheFor=getCachedValueFor;_Ember._dependentKeyCompat=dependentKeyCompat;_Ember.ComputedProperty=ComputedProperty;_Ember.expandProperties=expandProperties;_Ember.CoreObject=CoreObject;// ****@ember/object/evented****\n_Ember.Evented=Evented;_Ember.on=on$3;_Ember.addListener=addListener;_Ember.removeListener=removeListener;_Ember.sendEvent=sendEvent;_Ember.Mixin=Mixin;_Ember.mixin=mixin;_Ember.Observable=Observable;// ****@ember/object/observers****\n_Ember.addObserver=addObserver;_Ember.removeObserver=removeObserver;_Ember.PromiseProxyMixin=PromiseProxyMixin;// ****@ember/object/proxy****\n_Ember.ObjectProxy=ObjectProxy;// ****@ember/routing/-internals****\n_Ember.RouterDSL=DSLImpl;_Ember.controllerFor=controllerFor;_Ember.generateController=generateController;_Ember.generateControllerFactory=generateControllerFactory;_Ember.HashLocation=HashLocation;// ****@ember/routing/history-location****\n_Ember.HistoryLocation=HistoryLocation;// ****@ember/routing/none-location****\n_Ember.NoneLocation=NoneLocation;// ****@ember/routing/route****\n_Ember.Route=Route;// ****@ember/routing/router****\n_Ember.Router=EmberRouter;// // ****@ember/runloop****\n_Ember.run=run$1;_Ember.Service=Service;// ****@ember/utils****\n_Ember.compare=compare;_Ember.isBlank=isBlank;_Ember.isEmpty=isEmpty;_Ember.isEqual=isEqual;_Ember.isNone=isNone;_Ember.isPresent=isPresent;_Ember.typeOf=typeOf;_Ember.VERSION=Version;_Ember.ViewUtils={// ****@ember/-internals/views****\ngetChildViews:getChildViews,getElementView:getElementView,getRootViews:getRootViews,getViewBounds:getViewBounds,getViewBoundingClientRect:getViewBoundingClientRect,getViewClientRects:getViewClientRects,getViewElement:getViewElement,isSimpleClick:isSimpleClick,// ****@ember/-internals/glimmer****\nisSerializationFirstNode};_Ember._getComponentTemplate=getComponentTemplate;_Ember._helperManagerCapabilities=helperCapabilities;_Ember._setComponentTemplate=setComponentTemplate;_Ember._setHelperManager=setHelperManager$1;_Ember._setModifierManager=setModifierManager$1;_Ember._templateOnlyComponent=templateOnlyComponent;_Ember._invokeHelper=invokeHelper$1;_Ember._hash=hash$1;_Ember._array=array$1;_Ember._concat=concat$1;_Ember._get=get$1;_Ember._on=on$1;_Ember._fn=fn$1;_Ember._Backburner=Backburner;// // ****@ember/controller, @ember/service****\n/**\n              Namespace for injection helper methods.\n               @class inject\n              @namespace Ember\n              @static\n              @public\n            */function inject$1(){// uses `globalThis` to avoid clobbering with `Ember.Object` in TS namespace\nassert$1(`Injected properties must be created through helpers, see '${globalThis.Object.keys(inject$1).map(k=>`'inject.${k}'`).join(' or ')}'`);}_Ember.inject=inject$1;// ****@ember/controller****\ninject$1.controller=inject;// ****@ember/service****\ninject$1.service=service;_Ember.__loader={get require(){return globalThis.require;},get define(){return globalThis.define;},get registry(){let g=globalThis;return g.requirejs?.entries??g.require.entries;}};// ------------------------------------------------------------------------ //\n// These properties are assigned to the namespace with getters (and, in some\n// cases setters) with `Object.defineProperty` below.\n// ------------------------------------------------------------------------ //\n// ****@ember/-internals/environment****\n/**\n              A function may be assigned to `Ember.onerror` to be called when Ember\n              internals encounter an error. This is useful for specialized error handling\n              and reporting code.\n               ```javascript\n               Ember.onerror = function(error) {\n                const payload = {\n                  stack: error.stack,\n                  otherInformation: 'whatever app state you want to provide'\n                };\n                 fetch('/report-error', {\n                  method: 'POST',\n                  body: JSON.stringify(payload)\n                });\n              };\n              ```\n               Internally, `Ember.onerror` is used as Backburner's error handler.\n               @event onerror\n              @for Ember\n              @param {Error} error the error object\n              @public\n            */// ****@ember/-internals/error-handling****\n/**\n              Whether searching on the global for new Namespace instances is enabled.\n               This is only exported here as to not break any addons.  Given the new\n              visit API, you will have issues if you treat this as a indicator of\n              booted.\n               Internally this is only exposing a flag in Namespace.\n               @property BOOTED\n              @for Ember\n              @type Boolean\n              @private\n            *//**\n              Global hash of shared templates. This will automatically be populated\n              by the build tools so that you can store your Handlebars templates in\n              separate files that get loaded into JavaScript at buildtime.\n               @property TEMPLATES\n              @for Ember\n              @type Object\n              @private\n            */})(Ember||(Ember={}));// This syntax is not reliably implemented by TypeScript transpilers, but\n// we need to re-export the`RSVP` *namespace* for type compatibility.\n// To achieve this, we use a type-only `declare namespace` block to get the\n// types to behave correctly, and separately set the `RSVP` property on the\n// `Ember` object dynamically. (The types behave correctly because of\n// namespace merging semantics.)\n// eslint-disable-next-line @typescript-eslint/no-namespace\nReflect.set(Ember,'RSVP',rsvp);Object.defineProperty(Ember,'ENV',{get:getENV,enumerable:false});Object.defineProperty(Ember,'lookup',{get:getLookup,set:setLookup,enumerable:false});Object.defineProperty(Ember,'onerror',{get:getOnerror,set:setOnerror,enumerable:false});Object.defineProperty(Ember,'testing',{get:isTesting,set:setTesting,enumerable:false});Object.defineProperty(Ember,'BOOTED',{configurable:false,enumerable:false,get:isSearchDisabled,set:setSearchDisabled});Object.defineProperty(Ember,'TEMPLATES',{get:getTemplates,set:setTemplates,configurable:false,enumerable:false});Object.defineProperty(Ember,'TEMPLATES',{get:getTemplates,set:setTemplates,configurable:false,enumerable:false});// ****@ember/debug****\nObject.defineProperty(Ember,'testing',{get:isTesting,set:setTesting,enumerable:false});runLoadHooks('Ember.Application',Application);let EmberHandlebars={template:templateFactory,Utils:{escapeExpression}};let EmberHTMLBars={template:templateFactory};function defineEmberTemplateCompilerLazyLoad(key){Object.defineProperty(Ember,key,{configurable:true,enumerable:true,get(){if(__emberTemplateCompiler){EmberHTMLBars.precompile=EmberHandlebars.precompile=__emberTemplateCompiler.precompile;EmberHTMLBars.compile=EmberHandlebars.compile=compileTemplate;Object.defineProperty(Ember,'HTMLBars',{configurable:true,writable:true,enumerable:true,value:EmberHTMLBars});Object.defineProperty(Ember,'Handlebars',{configurable:true,writable:true,enumerable:true,value:EmberHandlebars});}return key==='Handlebars'?EmberHandlebars:EmberHTMLBars;}});}defineEmberTemplateCompilerLazyLoad('HTMLBars');defineEmberTemplateCompilerLazyLoad('Handlebars');// do this to ensure that Ember.Test is defined properly on the global\n// if it is present.\nfunction defineEmberTestingLazyLoad(key){Object.defineProperty(Ember,key,{configurable:true,enumerable:true,get(){if(_impl){let{Test,Adapter,QUnitAdapter,setupForTesting}=_impl;// @ts-expect-error We should not do this\nTest.Adapter=Adapter;// @ts-expect-error We should not do this\nTest.QUnitAdapter=QUnitAdapter;Object.defineProperty(Ember,'Test',{configurable:true,writable:true,enumerable:true,value:Test});Object.defineProperty(Ember,'setupForTesting',{configurable:true,writable:true,enumerable:true,value:setupForTesting});return key==='Test'?Test:setupForTesting;}return undefined;}});}defineEmberTestingLazyLoad('Test');defineEmberTestingLazyLoad('setupForTesting');// @ts-expect-error Per types, runLoadHooks requires a second parameter. Should we loosen types?\nrunLoadHooks('Ember');const doNotUseThis=Ember;const index=new Proxy(doNotUseThis,{get(target,key,receiver){// We don't have symbol exports, so this is probably fine.\nif(typeof key==='string'){deprecateUntil(`importing ${key} from the 'ember' barrel file is deprecated.`,DEPRECATIONS.DEPRECATE_IMPORT_EMBER(key));}return Reflect.get(target,key,receiver);},getOwnPropertyDescriptor(target,key){if(typeof key==='string'){deprecateUntil(`importing ${key} from the 'ember' barrel file is deprecated.`,DEPRECATIONS.DEPRECATE_IMPORT_EMBER(key));}return Object.getOwnPropertyDescriptor(target,key);}});const emberIndex=/*#__PURE__*/Object.defineProperty({__proto__:null,default:index},Symbol.toStringTag,{value:'Module'});/* eslint-disable */d('ember-testing/index',emberTestingIndex);d('ember-testing/lib/adapters/adapter',emberTestingLibAdaptersAdapter);d('ember-testing/lib/adapters/qunit',emberTestingLibAdaptersQunit);d('ember-testing/lib/ext/application',emberTestingLibExtApplication);d('ember-testing/lib/ext/rsvp',emberTestingLibExtRsvp);d('ember-testing/lib/helpers',emberTestingLibHelpers);d('ember-testing/lib/helpers/and_then',emberTestingLibHelpersAndThen);d('ember-testing/lib/helpers/current_path',emberTestingLibHelpersCurrentPath);d('ember-testing/lib/helpers/current_route_name',()=>emberTestingLibHelpersCurrentRouteName);d('ember-testing/lib/helpers/current_url',emberTestingLibHelpersCurrentUrl);d('ember-testing/lib/helpers/pause_test',emberTestingLibHelpersPauseTest);d('ember-testing/lib/helpers/visit',emberTestingLibHelpersVisit);d('ember-testing/lib/helpers/wait',emberTestingLibHelpersWait);d('ember-testing/lib/initializers',emberTestingLibInitializers);d('ember-testing/lib/public-api',emberTestingLibPublicApi);d('ember-testing/lib/setup_for_testing',emberTestingLibSetupForTesting);d('ember-testing/lib/test',emberTestingLibTest);d('ember-testing/lib/test/adapter',emberTestingLibTestAdapter);d('ember-testing/lib/test/helpers',emberTestingLibTestHelpers);d('ember-testing/lib/test/on_inject_helpers',emberTestingLibTestOnInjectHelpers);d('ember-testing/lib/test/pending_requests',emberTestingLibTestPendingRequests);d('ember-testing/lib/test/promise',emberTestingLibTestPromise);d('ember-testing/lib/test/run',emberTestingLibTestRun);d('ember-testing/lib/test/waiters',emberTestingLibTestWaiters);/* eslint-disable */d('@ember/-internals/browser-environment/index',emberinternalsBrowserEnvironmentIndex);d('@ember/-internals/container/index',emberinternalsContainerIndex);d('@ember/-internals/deprecations/index',emberinternalsDeprecationsIndex);d('@ember/-internals/environment/index',emberinternalsEnvironmentIndex);d('@ember/-internals/error-handling/index',emberinternalsErrorHandlingIndex);d('@ember/-internals/glimmer/index',emberinternalsGlimmerIndex);d('@ember/-internals/meta/index',emberinternalsMetaIndex);d('@ember/-internals/meta/lib/meta',emberinternalsMetaLibMeta);d('@ember/-internals/metal/index',emberinternalsMetalIndex);d('@ember/-internals/owner/index',emberinternalsOwnerIndex);d('@ember/-internals/routing/index',emberinternalsRoutingIndex);d('@ember/-internals/runtime/index',emberinternalsRuntimeIndex);d('@ember/-internals/runtime/lib/ext/rsvp',emberinternalsRuntimeLibExtRsvp);d('@ember/-internals/runtime/lib/mixins/-proxy',emberinternalsRuntimeLibMixinsproxy);d('@ember/-internals/runtime/lib/mixins/action_handler',emberinternalsRuntimeLibMixinsActionHandler);d('@ember/-internals/runtime/lib/mixins/comparable',emberinternalsRuntimeLibMixinsComparable);d('@ember/-internals/runtime/lib/mixins/container_proxy',emberinternalsRuntimeLibMixinsContainerProxy);d('@ember/-internals/runtime/lib/mixins/registry_proxy',emberinternalsRuntimeLibMixinsRegistryProxy);d('@ember/-internals/runtime/lib/mixins/target_action_support',emberinternalsRuntimeLibMixinsTargetActionSupport);d('@ember/-internals/string/index',emberinternalsStringIndex);d('@ember/-internals/utility-types/index',emberinternalsUtilityTypesIndex);d('@ember/-internals/utils/index',emberinternalsUtilsIndex);d('@ember/-internals/views/index',emberinternalsViewsIndex);d('@ember/-internals/views/lib/compat/attrs',emberinternalsViewsLibCompatAttrs);d('@ember/-internals/views/lib/compat/fallback-view-registry',emberinternalsViewsLibCompatFallbackViewRegistry);d('@ember/-internals/views/lib/component_lookup',emberinternalsViewsLibComponentLookup);d('@ember/-internals/views/lib/mixins/action_support',emberinternalsViewsLibMixinsActionSupport);d('@ember/-internals/views/lib/mixins/child_views_support',emberinternalsViewsLibMixinsChildViewsSupport);d('@ember/-internals/views/lib/mixins/class_names_support',emberinternalsViewsLibMixinsClassNamesSupport);d('@ember/-internals/views/lib/mixins/view_state_support',emberinternalsViewsLibMixinsViewStateSupport);d('@ember/-internals/views/lib/mixins/view_support',emberinternalsViewsLibMixinsViewSupport);d('@ember/-internals/views/lib/system/action_manager',emberinternalsViewsLibSystemActionManager);d('@ember/-internals/views/lib/system/event_dispatcher',emberinternalsViewsLibSystemEventDispatcher);d('@ember/-internals/views/lib/system/utils',emberinternalsViewsLibSystemUtils);d('@ember/-internals/views/lib/views/core_view',emberinternalsViewsLibViewsCoreView);d('@ember/-internals/views/lib/views/states',emberinternalsViewsLibViewsStates);d('@ember/application/index',emberApplicationIndex);d('@ember/application/instance',emberApplicationInstance);d('@ember/application/lib/lazy_load',emberApplicationLibLazyLoad);d('@ember/application/namespace',emberApplicationNamespace);d('@ember/array/-internals',emberArrayinternals);d('@ember/array/index',emberArrayIndex);d('@ember/array/lib/make-array',emberArrayLibMakeArray);d('@ember/array/mutable',emberArrayMutable);d('@ember/array/proxy',emberArrayProxy);d('@ember/canary-features/index',emberCanaryFeaturesIndex);d('@ember/component/helper',emberComponentHelper);d('@ember/component/index',emberComponentIndex);d('@ember/component/template-only',emberComponentTemplateOnly);d('@ember/controller/index',emberControllerIndex);d('@ember/debug/index',emberDebugIndex);d('@ember/debug/lib/capture-render-tree',emberDebugLibCaptureRenderTree);d('@ember/debug/lib/deprecate',emberDebugLibDeprecate);d('@ember/debug/lib/handlers',emberDebugLibHandlers);d('@ember/debug/lib/inspect',emberDebugLibInspect);d('@ember/debug/lib/testing',emberDebugLibTesting);d('@ember/debug/lib/warn',emberDebugLibWarn);d('@ember/debug/container-debug-adapter',emberDebugContainerDebugAdapter);d('@ember/debug/data-adapter',emberDebugDataAdapter);d('@ember/deprecated-features/index',emberDeprecatedFeaturesIndex);d('@ember/destroyable/index',emberDestroyableIndex);d('@ember/engine/index',emberEngineIndex);d('@ember/engine/instance',emberEngineInstance);d('@ember/engine/lib/engine-parent',emberEngineLibEngineParent);d('@ember/enumerable/index',emberEnumerableIndex);d('@ember/enumerable/mutable',emberEnumerableMutable);d('@ember/helper/index',emberHelperIndex);d('@ember/instrumentation/index',emberInstrumentationIndex);d('@ember/modifier/index',emberModifierIndex);d('@ember/object/-internals',emberObjectinternals);d('@ember/object/compat',emberObjectCompat);d('@ember/object/computed',emberObjectComputed);d('@ember/object/core',emberObjectCore);d('@ember/object/evented',emberObjectEvented);d('@ember/object/events',emberObjectEvents);d('@ember/object/index',emberObjectIndex);d('@ember/object/internals',emberObjectInternals);d('@ember/object/lib/computed/computed_macros',emberObjectLibComputedComputedMacros);d('@ember/object/lib/computed/reduce_computed_macros',emberObjectLibComputedReduceComputedMacros);d('@ember/object/mixin',emberObjectMixin);d('@ember/object/observable',emberObjectObservable);d('@ember/object/observers',emberObjectObservers);d('@ember/object/promise-proxy-mixin',emberObjectPromiseProxyMixin);d('@ember/object/proxy',emberObjectProxy);d('@ember/owner/index',emberOwnerIndex);d('@ember/renderer/index',emberRendererIndex);d('@ember/routing/-internals',emberRoutinginternals);d('@ember/routing/hash-location',emberRoutingHashLocation);d('@ember/routing/history-location',emberRoutingHistoryLocation);d('@ember/routing/index',emberRoutingIndex);d('@ember/routing/lib/cache',emberRoutingLibCache);d('@ember/routing/lib/controller_for',emberRoutingLibControllerFor);d('@ember/routing/lib/dsl',emberRoutingLibDsl);d('@ember/routing/lib/engines',emberRoutingLibEngines);d('@ember/routing/lib/generate_controller',emberRoutingLibGenerateController);d('@ember/routing/lib/location-utils',emberRoutingLibLocationUtils);d('@ember/routing/lib/query_params',emberRoutingLibQueryParams);d('@ember/routing/lib/route-info',emberRoutingLibRouteInfo);d('@ember/routing/lib/router_state',emberRoutingLibRouterState);d('@ember/routing/lib/routing-service',emberRoutingLibRoutingService);d('@ember/routing/lib/utils',emberRoutingLibUtils);d('@ember/routing/location',emberRoutingLocation);d('@ember/routing/none-location',emberRoutingNoneLocation);d('@ember/routing/route-info',emberRoutingRouteInfo);d('@ember/routing/route',emberRoutingRoute);d('@ember/routing/router-service',emberRoutingRouterService);d('@ember/routing/router',emberRoutingRouter);d('@ember/routing/transition',emberRoutingTransition);d('@ember/runloop/-private/backburner',emberRunloopprivateBackburner);d('@ember/runloop/index',emberRunloopIndex);d('@ember/service/index',emberServiceIndex);d('@ember/template-compilation/index',emberTemplateCompilationIndex);d('@ember/template-factory/index',emberTemplateFactoryIndex);d('@ember/template/index',emberTemplateIndex);d('@ember/test/adapter',emberTestAdapter);d('@ember/test/index',emberTestIndex);d('@ember/utils/index',emberUtilsIndex);d('@ember/utils/lib/compare',emberUtilsLibCompare);d('@ember/utils/lib/is-equal',emberUtilsLibIsEqual);d('@ember/utils/lib/is_blank',emberUtilsLibIsBlank);d('@ember/utils/lib/is_empty',emberUtilsLibIsEmpty);d('@ember/utils/lib/is_none',emberUtilsLibIsNone);d('@ember/utils/lib/is_present',emberUtilsLibIsPresent);d('@ember/utils/lib/type-of',emberUtilsLibTypeOf);d('@ember/version/index',emberVersionIndex);d('@glimmer/destroyable',glimmerDestroyable);d('@glimmer/encoder',glimmerEncoder);d('@glimmer/env',glimmerEnv);d('@glimmer/global-context',glimmerGlobalContext);d('@glimmer/manager',glimmerManager);d('@glimmer/node',glimmerNode);d('@glimmer/opcode-compiler',glimmerOpcodeCompiler);d('@glimmer/owner',glimmerOwner);d('@glimmer/program',glimmerProgram);d('@glimmer/reference',glimmerReference);d('@glimmer/runtime',glimmerRuntime);d('@glimmer/tracking/index',glimmerTrackingIndex);d('@glimmer/tracking/primitives/cache',glimmerTrackingPrimitivesCache);d('@glimmer/util',glimmerUtil);d('@glimmer/validator',glimmerValidator);d('@glimmer/vm',glimmerVm);d('@glimmer/wire-format',glimmerWireFormat);d('@simple-dom/document',simpleDomDocument);d('backburner.js',backburnerjs);d('dag-map',dagMap);d('ember/index',emberIndex);d('ember/version',emberVersion);d('route-recognizer',routeRecognizer);d('router_js',routerJs);d('rsvp',rsvp);if(typeof module==='object'&&typeof module.require==='function'){module.exports=index;}})();","/* eslint-disable no-empty */\n/* global require */\n\n(function () {\n  try {\n    require('ember-cli-deprecation-workflow').default();\n  } catch (e) {}\n})();\n","if (typeof FastBoot === 'undefined') {\n      var preferNative = false;\n      (function (originalGlobal) {\n  define('fetch', ['exports', 'ember', 'rsvp'], function (exports, Ember__module, RSVP__module) {\n    'use strict';\n\n    var Ember = 'default' in Ember__module ? Ember__module['default'] : Ember__module;\n    var RSVP = 'default' in RSVP__module ? RSVP__module['default'] : RSVP__module;\n    var Promise = RSVP.Promise;\n    var supportProps = ['FormData', 'FileReader', 'Blob', 'URLSearchParams', 'Symbol', 'ArrayBuffer'];\n    var polyfillProps = ['fetch', 'Headers', 'Request', 'Response', 'AbortController'];\n    var combinedProps = supportProps;\n    if (preferNative) {\n      combinedProps = supportProps.concat(polyfillProps);\n    }\n    combinedProps.forEach(function (prop) {\n      if (originalGlobal[prop]) {\n        Object.defineProperty(exports, prop, {\n          configurable: true,\n          get: function () {\n            return originalGlobal[prop];\n          },\n          set: function (v) {\n            originalGlobal[prop] = v;\n          }\n        });\n      }\n    });\n\n    // shadow github/fetch global object\n    // https://github.com/github/fetch/blob/v3.4.0/fetch.js\n    var globalThis = exports;\n    // shadow mo/abortcontroller-polyfill global object\n    // https://github.com/mo/abortcontroller-polyfill/blob/v1.4.0/src/abortcontroller-polyfill.js\n    var self = exports;\n    (function () {\n      'use strict';\n\n      const {\n        NativeAbortSignal,\n        NativeAbortController\n      } = function (self) {\n        return {\n          NativeAbortSignal: self.AbortSignal,\n          NativeAbortController: self.AbortController\n        };\n      }(typeof self !== 'undefined' ? self : global);\n\n      /**\n       * @param {any} reason abort reason\n       */\n      function createAbortEvent(reason) {\n        let event;\n        try {\n          event = new Event('abort');\n        } catch (e) {\n          if (typeof document !== 'undefined') {\n            if (!document.createEvent) {\n              // For Internet Explorer 8:\n              event = document.createEventObject();\n              event.type = 'abort';\n            } else {\n              // For Internet Explorer 11:\n              event = document.createEvent('Event');\n              event.initEvent('abort', false, false);\n            }\n          } else {\n            // Fallback where document isn't available:\n            event = {\n              type: 'abort',\n              bubbles: false,\n              cancelable: false\n            };\n          }\n        }\n        event.reason = reason;\n        return event;\n      }\n\n      /**\n       * @param {any} reason abort reason\n       */\n      function normalizeAbortReason(reason) {\n        if (reason === undefined) {\n          if (typeof document === 'undefined') {\n            reason = new Error('This operation was aborted');\n            reason.name = 'AbortError';\n          } else {\n            try {\n              reason = new DOMException('signal is aborted without reason');\n              // The DOMException does not support setting the name property directly.\n              Object.defineProperty(reason, 'name', {\n                value: 'AbortError'\n              });\n            } catch (err) {\n              // IE 11 does not support calling the DOMException constructor, use a\n              // regular error object on it instead.\n              reason = new Error('This operation was aborted');\n              reason.name = 'AbortError';\n            }\n          }\n        }\n        return reason;\n      }\n      class Emitter {\n        constructor() {\n          Object.defineProperty(this, 'listeners', {\n            value: {},\n            writable: true,\n            configurable: true\n          });\n        }\n        addEventListener(type, callback, options) {\n          if (!(type in this.listeners)) {\n            this.listeners[type] = [];\n          }\n          this.listeners[type].push({\n            callback,\n            options\n          });\n        }\n        removeEventListener(type, callback) {\n          if (!(type in this.listeners)) {\n            return;\n          }\n          const stack = this.listeners[type];\n          for (let i = 0, l = stack.length; i < l; i++) {\n            if (stack[i].callback === callback) {\n              stack.splice(i, 1);\n              return;\n            }\n          }\n        }\n        dispatchEvent(event) {\n          if (!(event.type in this.listeners)) {\n            return;\n          }\n          const stack = this.listeners[event.type];\n          const stackToCall = stack.slice();\n          for (let i = 0, l = stackToCall.length; i < l; i++) {\n            const listener = stackToCall[i];\n            try {\n              listener.callback.call(this, event);\n            } catch (e) {\n              Promise.resolve().then(() => {\n                throw e;\n              });\n            }\n            if (listener.options && listener.options.once) {\n              this.removeEventListener(event.type, listener.callback);\n            }\n          }\n          return !event.defaultPrevented;\n        }\n      }\n      class AbortSignal$1 extends Emitter {\n        constructor() {\n          super();\n          // Some versions of babel does not transpile super() correctly for IE <= 10, if the parent\n          // constructor has failed to run, then \"this.listeners\" will still be undefined and then we call\n          // the parent constructor directly instead as a workaround. For general details, see babel bug:\n          // https://github.com/babel/babel/issues/3041\n          // This hack was added as a fix for the issue described here:\n          // https://github.com/Financial-Times/polyfill-library/pull/59#issuecomment-477558042\n          if (!this.listeners) {\n            Emitter.call(this);\n          }\n\n          // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n          // we want Object.keys(new AbortController().signal) to be [] for compat with the native impl\n          Object.defineProperty(this, 'aborted', {\n            value: false,\n            writable: true,\n            configurable: true\n          });\n          Object.defineProperty(this, 'onabort', {\n            value: null,\n            writable: true,\n            configurable: true\n          });\n          Object.defineProperty(this, 'reason', {\n            value: undefined,\n            writable: true,\n            configurable: true\n          });\n        }\n        toString() {\n          return '[object AbortSignal]';\n        }\n        dispatchEvent(event) {\n          if (event.type === 'abort') {\n            this.aborted = true;\n            if (typeof this.onabort === 'function') {\n              this.onabort.call(this, event);\n            }\n          }\n          super.dispatchEvent(event);\n        }\n\n        /**\n         * @see {@link https://developer.mozilla.org/zh-CN/docs/Web/API/AbortSignal/throwIfAborted}\n         */\n        throwIfAborted() {\n          const {\n            aborted,\n            reason = 'Aborted'\n          } = this;\n          if (!aborted) return;\n          throw reason;\n        }\n\n        /**\n         * @see {@link https://developer.mozilla.org/zh-CN/docs/Web/API/AbortSignal/timeout_static}\n         * @param {number} time The \"active\" time in milliseconds before the returned {@link AbortSignal} will abort.\n         *                      The value must be within range of 0 and {@link Number.MAX_SAFE_INTEGER}.\n         * @returns {AbortSignal} The signal will abort with its {@link AbortSignal.reason} property set to a `TimeoutError` {@link DOMException} on timeout,\n         *                        or an `AbortError` {@link DOMException} if the operation was user-triggered.\n         */\n        static timeout(time) {\n          const controller = new AbortController$1();\n          setTimeout(() => controller.abort(new DOMException(`This signal is timeout in ${time}ms`, 'TimeoutError')), time);\n          return controller.signal;\n        }\n\n        /**\n         * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/any_static}\n         * @param {Iterable<AbortSignal>} iterable An {@link Iterable} (such as an {@link Array}) of abort signals.\n         * @returns {AbortSignal} - **Already aborted**, if any of the abort signals given is already aborted.\n         *                          The returned {@link AbortSignal}'s reason will be already set to the `reason` of the first abort signal that was already aborted.\n         *                        - **Asynchronously aborted**, when any abort signal in `iterable` aborts.\n         *                          The `reason` will be set to the reason of the first abort signal that is aborted.\n         */\n        static any(iterable) {\n          const controller = new AbortController$1();\n          /**\n           * @this AbortSignal\n           */\n          function abort() {\n            controller.abort(this.reason);\n            clean();\n          }\n          function clean() {\n            for (const signal of iterable) signal.removeEventListener('abort', abort);\n          }\n          for (const signal of iterable) if (signal.aborted) {\n            controller.abort(signal.reason);\n            break;\n          } else signal.addEventListener('abort', abort);\n          return controller.signal;\n        }\n      }\n      class AbortController$1 {\n        constructor() {\n          // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n          // we want Object.keys(new AbortController()) to be [] for compat with the native impl\n          Object.defineProperty(this, 'signal', {\n            value: new AbortSignal$1(),\n            writable: true,\n            configurable: true\n          });\n        }\n        abort(reason) {\n          const signalReason = normalizeAbortReason(reason);\n          const event = createAbortEvent(signalReason);\n          this.signal.reason = signalReason;\n          this.signal.dispatchEvent(event);\n        }\n        toString() {\n          return '[object AbortController]';\n        }\n      }\n      if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n        // These are necessary to make sure that we get correct output for:\n        // Object.prototype.toString.call(new AbortController())\n        AbortController$1.prototype[Symbol.toStringTag] = 'AbortController';\n        AbortSignal$1.prototype[Symbol.toStringTag] = 'AbortSignal';\n      }\n      function polyfillNeeded(self) {\n        if (self.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL) {\n          console.log('__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill');\n          return true;\n        }\n\n        // Note that the \"unfetch\" minimal fetch polyfill defines fetch() without\n        // defining window.Request, and this polyfill need to work on top of unfetch\n        // so the below feature detection needs the !self.AbortController part.\n        // The Request.prototype check is also needed because Safari versions 11.1.2\n        // up to and including 12.1.x has a window.AbortController present but still\n        // does NOT correctly implement abortable fetch:\n        // https://bugs.webkit.org/show_bug.cgi?id=174980#c2\n        return typeof self.Request === 'function' && !self.Request.prototype.hasOwnProperty('signal') || !self.AbortController;\n      }\n      (function (self) {\n        if (!polyfillNeeded(self)) {\n          return;\n        }\n        self.AbortController = AbortController$1;\n        self.AbortSignal = AbortSignal$1;\n      })(typeof self !== 'undefined' ? self : global);\n    })();\n    var WHATWGFetch = function (exports) {\n      'use strict';\n\n      /* eslint-disable no-prototype-builtins */\n      var g = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self ||\n      // eslint-disable-next-line no-undef\n      typeof global !== 'undefined' && global || {};\n      var support = {\n        searchParams: 'URLSearchParams' in g,\n        iterable: 'Symbol' in g && 'iterator' in Symbol,\n        blob: 'FileReader' in g && 'Blob' in g && function () {\n          try {\n            new Blob();\n            return true;\n          } catch (e) {\n            return false;\n          }\n        }(),\n        formData: 'FormData' in g,\n        arrayBuffer: 'ArrayBuffer' in g\n      };\n      function isDataView(obj) {\n        return obj && DataView.prototype.isPrototypeOf(obj);\n      }\n      if (support.arrayBuffer) {\n        var viewClasses = ['[object Int8Array]', '[object Uint8Array]', '[object Uint8ClampedArray]', '[object Int16Array]', '[object Uint16Array]', '[object Int32Array]', '[object Uint32Array]', '[object Float32Array]', '[object Float64Array]'];\n        var isArrayBufferView = ArrayBuffer.isView || function (obj) {\n          return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;\n        };\n      }\n      function normalizeName(name) {\n        if (typeof name !== 'string') {\n          name = String(name);\n        }\n        if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n          throw new TypeError('Invalid character in header field name: \"' + name + '\"');\n        }\n        return name.toLowerCase();\n      }\n      function normalizeValue(value) {\n        if (typeof value !== 'string') {\n          value = String(value);\n        }\n        return value;\n      }\n\n      // Build a destructive iterator for the value list\n      function iteratorFor(items) {\n        var iterator = {\n          next: function () {\n            var value = items.shift();\n            return {\n              done: value === undefined,\n              value: value\n            };\n          }\n        };\n        if (support.iterable) {\n          iterator[Symbol.iterator] = function () {\n            return iterator;\n          };\n        }\n        return iterator;\n      }\n      function Headers(headers) {\n        this.map = {};\n        if (headers instanceof Headers) {\n          headers.forEach(function (value, name) {\n            this.append(name, value);\n          }, this);\n        } else if (Array.isArray(headers)) {\n          headers.forEach(function (header) {\n            if (header.length != 2) {\n              throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length);\n            }\n            this.append(header[0], header[1]);\n          }, this);\n        } else if (headers) {\n          Object.getOwnPropertyNames(headers).forEach(function (name) {\n            this.append(name, headers[name]);\n          }, this);\n        }\n      }\n      Headers.prototype.append = function (name, value) {\n        name = normalizeName(name);\n        value = normalizeValue(value);\n        var oldValue = this.map[name];\n        this.map[name] = oldValue ? oldValue + ', ' + value : value;\n      };\n      Headers.prototype['delete'] = function (name) {\n        delete this.map[normalizeName(name)];\n      };\n      Headers.prototype.get = function (name) {\n        name = normalizeName(name);\n        return this.has(name) ? this.map[name] : null;\n      };\n      Headers.prototype.has = function (name) {\n        return this.map.hasOwnProperty(normalizeName(name));\n      };\n      Headers.prototype.set = function (name, value) {\n        this.map[normalizeName(name)] = normalizeValue(value);\n      };\n      Headers.prototype.forEach = function (callback, thisArg) {\n        for (var name in this.map) {\n          if (this.map.hasOwnProperty(name)) {\n            callback.call(thisArg, this.map[name], name, this);\n          }\n        }\n      };\n      Headers.prototype.keys = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push(name);\n        });\n        return iteratorFor(items);\n      };\n      Headers.prototype.values = function () {\n        var items = [];\n        this.forEach(function (value) {\n          items.push(value);\n        });\n        return iteratorFor(items);\n      };\n      Headers.prototype.entries = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push([name, value]);\n        });\n        return iteratorFor(items);\n      };\n      if (support.iterable) {\n        Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n      }\n      function consumed(body) {\n        if (body._noBody) return;\n        if (body.bodyUsed) {\n          return Promise.reject(new TypeError('Already read'));\n        }\n        body.bodyUsed = true;\n      }\n      function fileReaderReady(reader) {\n        return new Promise(function (resolve, reject) {\n          reader.onload = function () {\n            resolve(reader.result);\n          };\n          reader.onerror = function () {\n            reject(reader.error);\n          };\n        });\n      }\n      function readBlobAsArrayBuffer(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        reader.readAsArrayBuffer(blob);\n        return promise;\n      }\n      function readBlobAsText(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type);\n        var encoding = match ? match[1] : 'utf-8';\n        reader.readAsText(blob, encoding);\n        return promise;\n      }\n      function readArrayBufferAsText(buf) {\n        var view = new Uint8Array(buf);\n        var chars = new Array(view.length);\n        for (var i = 0; i < view.length; i++) {\n          chars[i] = String.fromCharCode(view[i]);\n        }\n        return chars.join('');\n      }\n      function bufferClone(buf) {\n        if (buf.slice) {\n          return buf.slice(0);\n        } else {\n          var view = new Uint8Array(buf.byteLength);\n          view.set(new Uint8Array(buf));\n          return view.buffer;\n        }\n      }\n      function Body() {\n        this.bodyUsed = false;\n        this._initBody = function (body) {\n          /*\n            fetch-mock wraps the Response object in an ES6 Proxy to\n            provide useful test harness features such as flush. However, on\n            ES5 browsers without fetch or Proxy support pollyfills must be used;\n            the proxy-pollyfill is unable to proxy an attribute unless it exists\n            on the object before the Proxy is created. This change ensures\n            Response.bodyUsed exists on the instance, while maintaining the\n            semantic of setting Request.bodyUsed in the constructor before\n            _initBody is called.\n          */\n          // eslint-disable-next-line no-self-assign\n          this.bodyUsed = this.bodyUsed;\n          this._bodyInit = body;\n          if (!body) {\n            this._noBody = true;\n            this._bodyText = '';\n          } else if (typeof body === 'string') {\n            this._bodyText = body;\n          } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n            this._bodyBlob = body;\n          } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n            this._bodyFormData = body;\n          } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n            this._bodyText = body.toString();\n          } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n            this._bodyArrayBuffer = bufferClone(body.buffer);\n            // IE 10-11 can't handle a DataView body.\n            this._bodyInit = new Blob([this._bodyArrayBuffer]);\n          } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n            this._bodyArrayBuffer = bufferClone(body);\n          } else {\n            this._bodyText = body = Object.prototype.toString.call(body);\n          }\n          if (!this.headers.get('content-type')) {\n            if (typeof body === 'string') {\n              this.headers.set('content-type', 'text/plain;charset=UTF-8');\n            } else if (this._bodyBlob && this._bodyBlob.type) {\n              this.headers.set('content-type', this._bodyBlob.type);\n            } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n              this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n            }\n          }\n        };\n        if (support.blob) {\n          this.blob = function () {\n            var rejected = consumed(this);\n            if (rejected) {\n              return rejected;\n            }\n            if (this._bodyBlob) {\n              return Promise.resolve(this._bodyBlob);\n            } else if (this._bodyArrayBuffer) {\n              return Promise.resolve(new Blob([this._bodyArrayBuffer]));\n            } else if (this._bodyFormData) {\n              throw new Error('could not read FormData body as blob');\n            } else {\n              return Promise.resolve(new Blob([this._bodyText]));\n            }\n          };\n        }\n        this.arrayBuffer = function () {\n          if (this._bodyArrayBuffer) {\n            var isConsumed = consumed(this);\n            if (isConsumed) {\n              return isConsumed;\n            } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n              return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength));\n            } else {\n              return Promise.resolve(this._bodyArrayBuffer);\n            }\n          } else if (support.blob) {\n            return this.blob().then(readBlobAsArrayBuffer);\n          } else {\n            throw new Error('could not read as ArrayBuffer');\n          }\n        };\n        this.text = function () {\n          var rejected = consumed(this);\n          if (rejected) {\n            return rejected;\n          }\n          if (this._bodyBlob) {\n            return readBlobAsText(this._bodyBlob);\n          } else if (this._bodyArrayBuffer) {\n            return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));\n          } else if (this._bodyFormData) {\n            throw new Error('could not read FormData body as text');\n          } else {\n            return Promise.resolve(this._bodyText);\n          }\n        };\n        if (support.formData) {\n          this.formData = function () {\n            return this.text().then(decode);\n          };\n        }\n        this.json = function () {\n          return this.text().then(JSON.parse);\n        };\n        return this;\n      }\n\n      // HTTP methods whose capitalization should be normalized\n      var methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'];\n      function normalizeMethod(method) {\n        var upcased = method.toUpperCase();\n        return methods.indexOf(upcased) > -1 ? upcased : method;\n      }\n      function Request(input, options) {\n        if (!(this instanceof Request)) {\n          throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n        }\n        options = options || {};\n        var body = options.body;\n        if (input instanceof Request) {\n          if (input.bodyUsed) {\n            throw new TypeError('Already read');\n          }\n          this.url = input.url;\n          this.credentials = input.credentials;\n          if (!options.headers) {\n            this.headers = new Headers(input.headers);\n          }\n          this.method = input.method;\n          this.mode = input.mode;\n          this.signal = input.signal;\n          if (!body && input._bodyInit != null) {\n            body = input._bodyInit;\n            input.bodyUsed = true;\n          }\n        } else {\n          this.url = String(input);\n        }\n        this.credentials = options.credentials || this.credentials || 'same-origin';\n        if (options.headers || !this.headers) {\n          this.headers = new Headers(options.headers);\n        }\n        this.method = normalizeMethod(options.method || this.method || 'GET');\n        this.mode = options.mode || this.mode || null;\n        this.signal = options.signal || this.signal || function () {\n          if ('AbortController' in g) {\n            var ctrl = new AbortController();\n            return ctrl.signal;\n          }\n        }();\n        this.referrer = null;\n        if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n          throw new TypeError('Body not allowed for GET or HEAD requests');\n        }\n        this._initBody(body);\n        if (this.method === 'GET' || this.method === 'HEAD') {\n          if (options.cache === 'no-store' || options.cache === 'no-cache') {\n            // Search for a '_' parameter in the query string\n            var reParamSearch = /([?&])_=[^&]*/;\n            if (reParamSearch.test(this.url)) {\n              // If it already exists then set the value with the current time\n              this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n            } else {\n              // Otherwise add a new '_' parameter to the end with the current time\n              var reQueryString = /\\?/;\n              this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n            }\n          }\n        }\n      }\n      Request.prototype.clone = function () {\n        return new Request(this, {\n          body: this._bodyInit\n        });\n      };\n      function decode(body) {\n        var form = new FormData();\n        body.trim().split('&').forEach(function (bytes) {\n          if (bytes) {\n            var split = bytes.split('=');\n            var name = split.shift().replace(/\\+/g, ' ');\n            var value = split.join('=').replace(/\\+/g, ' ');\n            form.append(decodeURIComponent(name), decodeURIComponent(value));\n          }\n        });\n        return form;\n      }\n      function parseHeaders(rawHeaders) {\n        var headers = new Headers();\n        // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n        // https://tools.ietf.org/html/rfc7230#section-3.2\n        var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n        // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n        // https://github.com/github/fetch/issues/748\n        // https://github.com/zloirock/core-js/issues/751\n        preProcessedHeaders.split('\\r').map(function (header) {\n          return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header;\n        }).forEach(function (line) {\n          var parts = line.split(':');\n          var key = parts.shift().trim();\n          if (key) {\n            var value = parts.join(':').trim();\n            try {\n              headers.append(key, value);\n            } catch (error) {\n              console.warn('Response ' + error.message);\n            }\n          }\n        });\n        return headers;\n      }\n      Body.call(Request.prototype);\n      function Response(bodyInit, options) {\n        if (!(this instanceof Response)) {\n          throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n        }\n        if (!options) {\n          options = {};\n        }\n        this.type = 'default';\n        this.status = options.status === undefined ? 200 : options.status;\n        if (this.status < 200 || this.status > 599) {\n          throw new RangeError(\"Failed to construct 'Response': The status provided (0) is outside the range [200, 599].\");\n        }\n        this.ok = this.status >= 200 && this.status < 300;\n        this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n        this.headers = new Headers(options.headers);\n        this.url = options.url || '';\n        this._initBody(bodyInit);\n      }\n      Body.call(Response.prototype);\n      Response.prototype.clone = function () {\n        return new Response(this._bodyInit, {\n          status: this.status,\n          statusText: this.statusText,\n          headers: new Headers(this.headers),\n          url: this.url\n        });\n      };\n      Response.error = function () {\n        var response = new Response(null, {\n          status: 200,\n          statusText: ''\n        });\n        response.ok = false;\n        response.status = 0;\n        response.type = 'error';\n        return response;\n      };\n      var redirectStatuses = [301, 302, 303, 307, 308];\n      Response.redirect = function (url, status) {\n        if (redirectStatuses.indexOf(status) === -1) {\n          throw new RangeError('Invalid status code');\n        }\n        return new Response(null, {\n          status: status,\n          headers: {\n            location: url\n          }\n        });\n      };\n      exports.DOMException = g.DOMException;\n      try {\n        new exports.DOMException();\n      } catch (err) {\n        exports.DOMException = function (message, name) {\n          this.message = message;\n          this.name = name;\n          var error = Error(message);\n          this.stack = error.stack;\n        };\n        exports.DOMException.prototype = Object.create(Error.prototype);\n        exports.DOMException.prototype.constructor = exports.DOMException;\n      }\n      function fetch(input, init) {\n        return new Promise(function (resolve, reject) {\n          var request = new Request(input, init);\n          if (request.signal && request.signal.aborted) {\n            return reject(new exports.DOMException('Aborted', 'AbortError'));\n          }\n          var xhr = new XMLHttpRequest();\n          function abortXhr() {\n            xhr.abort();\n          }\n          xhr.onload = function () {\n            var options = {\n              statusText: xhr.statusText,\n              headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n            };\n            // This check if specifically for when a user fetches a file locally from the file system\n            // Only if the status is out of a normal range\n            if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {\n              options.status = 200;\n            } else {\n              options.status = xhr.status;\n            }\n            options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n            var body = 'response' in xhr ? xhr.response : xhr.responseText;\n            setTimeout(function () {\n              resolve(new Response(body, options));\n            }, 0);\n          };\n          xhr.onerror = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request failed'));\n            }, 0);\n          };\n          xhr.ontimeout = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request timed out'));\n            }, 0);\n          };\n          xhr.onabort = function () {\n            setTimeout(function () {\n              reject(new exports.DOMException('Aborted', 'AbortError'));\n            }, 0);\n          };\n          function fixUrl(url) {\n            try {\n              return url === '' && g.location.href ? g.location.href : url;\n            } catch (e) {\n              return url;\n            }\n          }\n          xhr.open(request.method, fixUrl(request.url), true);\n          if (request.credentials === 'include') {\n            xhr.withCredentials = true;\n          } else if (request.credentials === 'omit') {\n            xhr.withCredentials = false;\n          }\n          if ('responseType' in xhr) {\n            if (support.blob) {\n              xhr.responseType = 'blob';\n            } else if (support.arrayBuffer) {\n              xhr.responseType = 'arraybuffer';\n            }\n          }\n          if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || g.Headers && init.headers instanceof g.Headers)) {\n            var names = [];\n            Object.getOwnPropertyNames(init.headers).forEach(function (name) {\n              names.push(normalizeName(name));\n              xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n            });\n            request.headers.forEach(function (value, name) {\n              if (names.indexOf(name) === -1) {\n                xhr.setRequestHeader(name, value);\n              }\n            });\n          } else {\n            request.headers.forEach(function (value, name) {\n              xhr.setRequestHeader(name, value);\n            });\n          }\n          if (request.signal) {\n            request.signal.addEventListener('abort', abortXhr);\n            xhr.onreadystatechange = function () {\n              // DONE (success or failure)\n              if (xhr.readyState === 4) {\n                request.signal.removeEventListener('abort', abortXhr);\n              }\n            };\n          }\n          xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n        });\n      }\n      fetch.polyfill = true;\n      if (!g.fetch) {\n        g.fetch = fetch;\n        g.Headers = Headers;\n        g.Request = Request;\n        g.Response = Response;\n      }\n      exports.Headers = Headers;\n      exports.Request = Request;\n      exports.Response = Response;\n      exports.fetch = fetch;\n      return exports;\n    }({});\n    if (!globalThis.fetch) {\n      throw new Error('fetch is not defined - maybe your browser targets are not covering everything you need?');\n    }\n    var pending = 0;\n    function decrement(result) {\n      pending--;\n      return result;\n    }\n    if (Ember.Test) {\n      Ember.Test.registerWaiter(function () {\n        return pending === 0;\n      });\n      exports['default'] = function () {\n        pending++;\n        return exports.fetch.apply(originalGlobal, arguments).then(function (response) {\n          response.clone().blob().then(decrement, decrement);\n          return response;\n        }, function (reason) {\n          decrement(reason);\n          throw reason;\n        });\n      };\n    } else {\n      exports['default'] = exports.fetch;\n    }\n    supportProps.forEach(function (prop) {\n      delete exports[prop];\n    });\n  });\n})(typeof window !== 'undefined' && window || typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global);\n    }","/*\r\n * Add color theme colors to the window object\r\n * so this can be used by the charts and vector maps\r\n */\r\n\r\nconst theme = {\r\n  \"primary\": \"#3B7DDD\",\r\n  \"secondary\": \"#6c757d\",\r\n  \"success\": \"#1cbb8c\",\r\n  \"info\": \"#17a2b8\",\r\n  \"warning\": \"#fcb92c\",\r\n  \"danger\": \"#dc3545\",\r\n  \"white\": \"#fff\",\r\n  \"gray-100\": \"#f8f9fa\",\r\n  \"gray-200\": \"#e9ecef\",\r\n  \"gray-300\": \"#dee2e6\",\r\n  \"gray-400\": \"#ced4da\",\r\n  \"gray-500\": \"#adb5bd\",\r\n  \"gray-600\": \"#6c757d\",\r\n  \"gray-700\": \"#495057\",\r\n  \"gray-800\": \"#343a40\",\r\n  \"gray-900\": \"#212529\",\r\n  \"black\": \"#000\"\r\n};\r\n\r\n// Add theme to the window object\r\nwindow.theme = theme;","jsVectorMap.addMap(\"world\",{insets:[{width:900,top:0,left:0,height:440.70631074413296,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.39474939}]}],paths:{BD:{path:\"M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z\",name:\"Bangladesh\"},BE:{path:\"M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z\",name:\"Belgium\"},BF:{path:\"M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z\",name:\"Burkina Faso\"},BG:{path:\"M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z\",name:\"Bulgaria\"},BA:{path:\"M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z\",name:\"Bosnia and Herz.\"},BN:{path:\"M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z\",name:\"Brunei\"},BO:{path:\"M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z\",name:\"Bolivia\"},JP:{path:\"M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z\",name:\"Japan\"},BI:{path:\"M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z\",name:\"Burundi\"},BJ:{path:\"M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z\",name:\"Benin\"},BT:{path:\"M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z\",name:\"Bhutan\"},JM:{path:\"M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z\",name:\"Jamaica\"},BW:{path:\"M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z\",name:\"Botswana\"},BR:{path:\"M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z\",name:\"Brazil\"},BS:{path:\"M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z\",name:\"Bahamas\"},BY:{path:\"M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z\",name:\"Belarus\"},BZ:{path:\"M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z\",name:\"Belize\"},RU:{path:\"M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM874.85,67.94l-5.63,0.48l-0.26,-0.84l3.15,-1.89l1.94,0.01l3.19,1.16l-2.39,1.09ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z\",name:\"Russia\"},RW:{path:\"M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z\",name:\"Rwanda\"},RS:{path:\"M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z\",name:\"Serbia\"},LT:{path:\"M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z\",name:\"Lithuania\"},LU:{path:\"M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z\",name:\"Luxembourg\"},LR:{path:\"M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z\",name:\"Liberia\"},RO:{path:\"M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z\",name:\"Romania\"},GW:{path:\"M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z\",name:\"Guinea-Bissau\"},GT:{path:\"M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z\",name:\"Guatemala\"},GR:{path:\"M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z\",name:\"Greece\"},GQ:{path:\"M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z\",name:\"Eq. Guinea\"},GY:{path:\"M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z\",name:\"Guyana\"},GE:{path:\"M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z\",name:\"Georgia\"},GB:{path:\"M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z\",name:\"United Kingdom\"},GA:{path:\"M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z\",name:\"Gabon\"},GN:{path:\"M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z\",name:\"Guinea\"},GM:{path:\"M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z\",name:\"Gambia\"},GL:{path:\"M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z\",name:\"Greenland\"},KW:{path:\"M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z\",name:\"Kuwait\"},GH:{path:\"M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z\",name:\"Ghana\"},OM:{path:\"M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z\",name:\"Oman\"},_2:{path:\"M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z\",name:\"Somaliland\"},_1:{path:\"M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z\",name:\"Kosovo\"},_0:{path:\"M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z\",name:\"N. Cyprus\"},JO:{path:\"M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z\",name:\"Jordan\"},HR:{path:\"M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z\",name:\"Croatia\"},HT:{path:\"M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z\",name:\"Haiti\"},HU:{path:\"M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z\",name:\"Hungary\"},HN:{path:\"M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z\",name:\"Honduras\"},PR:{path:\"M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z\",name:\"Puerto Rico\"},PS:{path:\"M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z\",name:\"Palestine\"},PT:{path:\"M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z\",name:\"Portugal\"},PY:{path:\"M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z\",name:\"Paraguay\"},PA:{path:\"M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z\",name:\"Panama\"},PG:{path:\"M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z\",name:\"Papua New Guinea\"},PE:{path:\"M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z\",name:\"Peru\"},PK:{path:\"M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z\",name:\"Pakistan\"},PH:{path:\"M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z\",name:\"Philippines\"},PL:{path:\"M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z\",name:\"Poland\"},ZM:{path:\"M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z\",name:\"Zambia\"},EH:{path:\"M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z\",name:\"W. Sahara\"},EE:{path:\"M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z\",name:\"Estonia\"},EG:{path:\"M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z\",name:\"Egypt\"},ZA:{path:\"M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z\",name:\"South Africa\"},EC:{path:\"M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z\",name:\"Ecuador\"},AL:{path:\"M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z\",name:\"Albania\"},AO:{path:\"M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z\",name:\"Angola\"},KZ:{path:\"M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z\",name:\"Kazakhstan\"},ET:{path:\"M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z\",name:\"Ethiopia\"},ZW:{path:\"M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z\",name:\"Zimbabwe\"},ES:{path:\"M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z\",name:\"Spain\"},ER:{path:\"M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z\",name:\"Eritrea\"},ME:{path:\"M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z\",name:\"Montenegro\"},MD:{path:\"M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z\",name:\"Moldova\"},MG:{path:\"M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z\",name:\"Madagascar\"},MA:{path:\"M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z\",name:\"Morocco\"},UZ:{path:\"M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z\",name:\"Uzbekistan\"},MM:{path:\"M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z\",name:\"Myanmar\"},ML:{path:\"M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z\",name:\"Mali\"},MN:{path:\"M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z\",name:\"Mongolia\"},MK:{path:\"M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z\",name:\"Macedonia\"},MW:{path:\"M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z\",name:\"Malawi\"},MR:{path:\"M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z\",name:\"Mauritania\"},UG:{path:\"M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z\",name:\"Uganda\"},MY:{path:\"M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z\",name:\"Malaysia\"},MX:{path:\"M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z\",name:\"Mexico\"},VU:{path:\"M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z\",name:\"Vanuatu\"},FR:{path:\"M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z\",name:\"France\"},FI:{path:\"M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z\",name:\"Finland\"},FJ:{path:\"M871.53,326.34l-2.8,1.05l-0.08,-0.23l2.97,-1.21l-0.1,0.39ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z\",name:\"Fiji\"},FK:{path:\"M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z\",name:\"Falkland Is.\"},NI:{path:\"M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z\",name:\"Nicaragua\"},NL:{path:\"M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z\",name:\"Netherlands\"},NO:{path:\"M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z\",name:\"Norway\"},NA:{path:\"M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z\",name:\"Namibia\"},NC:{path:\"M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z\",name:\"New Caledonia\"},NE:{path:\"M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z\",name:\"Niger\"},NG:{path:\"M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z\",name:\"Nigeria\"},NZ:{path:\"M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z\",name:\"New Zealand\"},NP:{path:\"M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z\",name:\"Nepal\"},CI:{path:\"M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z\",name:\"Côte d'Ivoire\"},CH:{path:\"M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z\",name:\"Switzerland\"},CO:{path:\"M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z\",name:\"Colombia\"},CN:{path:\"M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z\",name:\"China\"},CM:{path:\"M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z\",name:\"Cameroon\"},CL:{path:\"M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z\",name:\"Chile\"},CA:{path:\"M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z\",name:\"Canada\"},CG:{path:\"M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z\",name:\"Congo\"},CF:{path:\"M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z\",name:\"Central African Rep.\"},CD:{path:\"M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z\",name:\"Dem. Rep. Congo\"},CZ:{path:\"M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z\",name:\"Czech Rep.\"},CY:{path:\"M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z\",name:\"Cyprus\"},CR:{path:\"M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z\",name:\"Costa Rica\"},CU:{path:\"M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z\",name:\"Cuba\"},SZ:{path:\"M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z\",name:\"Swaziland\"},SY:{path:\"M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z\",name:\"Syria\"},KG:{path:\"M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z\",name:\"Kyrgyzstan\"},KE:{path:\"M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z\",name:\"Kenya\"},SS:{path:\"M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z\",name:\"S. Sudan\"},SR:{path:\"M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z\",name:\"Suriname\"},KH:{path:\"M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z\",name:\"Cambodia\"},SV:{path:\"M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z\",name:\"El Salvador\"},SK:{path:\"M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z\",name:\"Slovakia\"},KR:{path:\"M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z\",name:\"Korea\"},SI:{path:\"M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z\",name:\"Slovenia\"},KP:{path:\"M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z\",name:\"Dem. Rep. Korea\"},SO:{path:\"M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z\",name:\"Somalia\"},SN:{path:\"M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z\",name:\"Senegal\"},SL:{path:\"M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z\",name:\"Sierra Leone\"},SB:{path:\"M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z\",name:\"Solomon Is.\"},SA:{path:\"M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z\",name:\"Saudi Arabia\"},SE:{path:\"M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z\",name:\"Sweden\"},SD:{path:\"M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z\",name:\"Sudan\"},DO:{path:\"M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z\",name:\"Dominican Rep.\"},DJ:{path:\"M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z\",name:\"Djibouti\"},DK:{path:\"M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z\",name:\"Denmark\"},DE:{path:\"M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z\",name:\"Germany\"},YE:{path:\"M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z\",name:\"Yemen\"},AT:{path:\"M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z\",name:\"Austria\"},DZ:{path:\"M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z\",name:\"Algeria\"},US:{path:\"M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z\",name:\"United States\"},LV:{path:\"M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z\",name:\"Latvia\"},UY:{path:\"M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z\",name:\"Uruguay\"},LB:{path:\"M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z\",name:\"Lebanon\"},LA:{path:\"M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z\",name:\"Lao PDR\"},TW:{path:\"M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z\",name:\"Taiwan\"},TT:{path:\"M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z\",name:\"Trinidad and Tobago\"},TR:{path:\"M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z\",name:\"Turkey\"},LK:{path:\"M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z\",name:\"Sri Lanka\"},TN:{path:\"M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z\",name:\"Tunisia\"},TL:{path:\"M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z\",name:\"Timor-Leste\"},TM:{path:\"M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z\",name:\"Turkmenistan\"},TJ:{path:\"M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z\",name:\"Tajikistan\"},LS:{path:\"M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z\",name:\"Lesotho\"},TH:{path:\"M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z\",name:\"Thailand\"},TF:{path:\"M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z\",name:\"Fr. S. Antarctic Lands\"},TG:{path:\"M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z\",name:\"Togo\"},TD:{path:\"M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z\",name:\"Chad\"},LY:{path:\"M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z\",name:\"Libya\"},AE:{path:\"M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z\",name:\"United Arab Emirates\"},VE:{path:\"M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z\",name:\"Venezuela\"},AF:{path:\"M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z\",name:\"Afghanistan\"},IQ:{path:\"M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z\",name:\"Iraq\"},IS:{path:\"M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z\",name:\"Iceland\"},IR:{path:\"M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z\",name:\"Iran\"},AM:{path:\"M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z\",name:\"Armenia\"},IT:{path:\"M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z\",name:\"Italy\"},VN:{path:\"M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z\",name:\"Vietnam\"},AR:{path:\"M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z\",name:\"Argentina\"},AU:{path:\"M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z\",name:\"Australia\"},IL:{path:\"M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z\",name:\"Israel\"},IN:{path:\"M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z\",name:\"India\"},TZ:{path:\"M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z\",name:\"Tanzania\"},AZ:{path:\"M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z\",name:\"Azerbaijan\"},IE:{path:\"M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z\",name:\"Ireland\"},ID:{path:\"M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z\",name:\"Indonesia\"},UA:{path:\"M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z\",name:\"Ukraine\"},QA:{path:\"M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z\",name:\"Qatar\"},MZ:{path:\"M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z\",name:\"Mozambique\"}},height:440.70631074413296,width:900,projection:{type:\"mill\",centralMeridian:11.5}});","var canUseDOM = !!(\n  typeof window !== 'undefined' &&\n  window.document &&\n  window.document.createElement\n);\n\nmodule.exports = canUseDOM;","/*!\n * Chart.js v2.9.4\n * https://www.chartjs.org\n * (c) 2020 Chart.js Contributors\n * Released under the MIT License\n */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(function() { try { return require('moment'); } catch(e) { } }()) :\ntypeof define === 'function' && define.amd ? define(['require'], function(require) { return factory(function() { try { return require('moment'); } catch(e) { } }()); }) :\n(global = global || self, global.Chart = factory(global.moment));\n}(this, (function (moment) { 'use strict';\n\nmoment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment;\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nfunction getCjsExportFromNamespace (n) {\n\treturn n && n['default'] || n;\n}\n\nvar colorName = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\nvar conversions = createCommonjsModule(function (module) {\n/* MIT license */\n\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n//       values that give correct `typeof` results).\n//       do not use box values types (i.e. Number(), String(), etc.)\n\nvar reverseKeywords = {};\nfor (var key in colorName) {\n\tif (colorName.hasOwnProperty(key)) {\n\t\treverseKeywords[colorName[key]] = key;\n\t}\n}\n\nvar convert = module.exports = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\n// hide .channels and .labels properties\nfor (var model in convert) {\n\tif (convert.hasOwnProperty(model)) {\n\t\tif (!('channels' in convert[model])) {\n\t\t\tthrow new Error('missing channels property: ' + model);\n\t\t}\n\n\t\tif (!('labels' in convert[model])) {\n\t\t\tthrow new Error('missing channel labels property: ' + model);\n\t\t}\n\n\t\tif (convert[model].labels.length !== convert[model].channels) {\n\t\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t\t}\n\n\t\tvar channels = convert[model].channels;\n\t\tvar labels = convert[model].labels;\n\t\tdelete convert[model].channels;\n\t\tdelete convert[model].labels;\n\t\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\t\tObject.defineProperty(convert[model], 'labels', {value: labels});\n\t}\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar min = Math.min(r, g, b);\n\tvar max = Math.max(r, g, b);\n\tvar delta = max - min;\n\tvar h;\n\tvar s;\n\tvar l;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tl = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tvar rdif;\n\tvar gdif;\n\tvar bdif;\n\tvar h;\n\tvar s;\n\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar v = Math.max(r, g, b);\n\tvar diff = v - Math.min(r, g, b);\n\tvar diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = s = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tvar r = rgb[0];\n\tvar g = rgb[1];\n\tvar b = rgb[2];\n\tvar h = convert.rgb.hsl(rgb)[0];\n\tvar w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar c;\n\tvar m;\n\tvar y;\n\tvar k;\n\n\tk = Math.min(1 - r, 1 - g, 1 - b);\n\tc = (1 - r - k) / (1 - k) || 0;\n\tm = (1 - g - k) / (1 - k) || 0;\n\ty = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\n/**\n * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n * */\nfunction comparativeDistance(x, y) {\n\treturn (\n\t\tMath.pow(x[0] - y[0], 2) +\n\t\tMath.pow(x[1] - y[1], 2) +\n\t\tMath.pow(x[2] - y[2], 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tvar reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tvar currentClosestDistance = Infinity;\n\tvar currentClosestKeyword;\n\n\tfor (var keyword in colorName) {\n\t\tif (colorName.hasOwnProperty(keyword)) {\n\t\t\tvar value = colorName[keyword];\n\n\t\t\t// Compute comparative distance\n\t\t\tvar distance = comparativeDistance(rgb, value);\n\n\t\t\t// Check if its less, if so set as closest\n\t\t\tif (distance < currentClosestDistance) {\n\t\t\t\tcurrentClosestDistance = distance;\n\t\t\t\tcurrentClosestKeyword = keyword;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn colorName[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\n\t// assume sRGB\n\tr = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n\tvar x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tvar y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tvar z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tvar xyz = convert.rgb.xyz(rgb);\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tvar h = hsl[0] / 360;\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar t1;\n\tvar t2;\n\tvar t3;\n\tvar rgb;\n\tvar val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tt1 = 2 * l - t2;\n\n\trgb = [0, 0, 0];\n\tfor (var i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tvar h = hsl[0];\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar smin = s;\n\tvar lmin = Math.max(l, 0.01);\n\tvar sv;\n\tvar v;\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tv = (l + s) / 2;\n\tsv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tvar h = hsv[0] / 60;\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar hi = Math.floor(h) % 6;\n\n\tvar f = h - Math.floor(h);\n\tvar p = 255 * v * (1 - s);\n\tvar q = 255 * v * (1 - (s * f));\n\tvar t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tvar h = hsv[0];\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar vmin = Math.max(v, 0.01);\n\tvar lmin;\n\tvar sl;\n\tvar l;\n\n\tl = (2 - s) * v;\n\tlmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tvar h = hwb[0] / 360;\n\tvar wh = hwb[1] / 100;\n\tvar bl = hwb[2] / 100;\n\tvar ratio = wh + bl;\n\tvar i;\n\tvar v;\n\tvar f;\n\tvar n;\n\n\t// wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\ti = Math.floor(6 * h);\n\tv = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tn = wh + f * (v - wh); // linear interpolation\n\n\tvar r;\n\tvar g;\n\tvar b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tvar c = cmyk[0] / 100;\n\tvar m = cmyk[1] / 100;\n\tvar y = cmyk[2] / 100;\n\tvar k = cmyk[3] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = 1 - Math.min(1, c * (1 - k) + k);\n\tg = 1 - Math.min(1, m * (1 - k) + k);\n\tb = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tvar x = xyz[0] / 100;\n\tvar y = xyz[1] / 100;\n\tvar z = xyz[2] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar x;\n\tvar y;\n\tvar z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tvar y2 = Math.pow(y, 3);\n\tvar x2 = Math.pow(x, 3);\n\tvar z2 = Math.pow(z, 3);\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar hr;\n\tvar h;\n\tvar c;\n\n\thr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tc = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tvar l = lch[0];\n\tvar c = lch[1];\n\tvar h = lch[2];\n\tvar a;\n\tvar b;\n\tvar hr;\n\n\thr = h / 360 * 2 * Math.PI;\n\ta = c * Math.cos(hr);\n\tb = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\tvar value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tvar ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\n\t// we use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tvar ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tvar color = args % 10;\n\n\t// handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tvar mult = (~~(args > 50) + 1) * 0.5;\n\tvar r = ((color & 1) * mult) * 255;\n\tvar g = (((color >> 1) & 1) * mult) * 255;\n\tvar b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// handle greyscale\n\tif (args >= 232) {\n\t\tvar c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tvar rem;\n\tvar r = Math.floor(args / 36) / 5 * 255;\n\tvar g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tvar b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tvar integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tvar match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tvar colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(function (char) {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tvar integer = parseInt(colorString, 16);\n\tvar r = (integer >> 16) & 0xFF;\n\tvar g = (integer >> 8) & 0xFF;\n\tvar b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar max = Math.max(Math.max(r, g), b);\n\tvar min = Math.min(Math.min(r, g), b);\n\tvar chroma = (max - min);\n\tvar grayscale;\n\tvar hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma + 4;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar c = 1;\n\tvar f = 0;\n\n\tif (l < 0.5) {\n\t\tc = 2.0 * s * l;\n\t} else {\n\t\tc = 2.0 * s * (1.0 - l);\n\t}\n\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\n\tvar c = s * v;\n\tvar f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tvar h = hcg[0] / 360;\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tvar pure = [0, 0, 0];\n\tvar hi = (h % 1) * 6;\n\tvar v = hi % 1;\n\tvar w = 1 - v;\n\tvar mg = 0;\n\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar v = c + g * (1.0 - c);\n\tvar f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar l = g * (1.0 - c) + 0.5 * c;\n\tvar s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\tvar v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tvar w = hwb[1] / 100;\n\tvar b = hwb[2] / 100;\n\tvar v = 1 - b;\n\tvar c = v - w;\n\tvar g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = convert.gray.hsv = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tvar val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tvar integer = (val << 16) + (val << 8) + val;\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tvar val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n});\nvar conversions_1 = conversions.rgb;\nvar conversions_2 = conversions.hsl;\nvar conversions_3 = conversions.hsv;\nvar conversions_4 = conversions.hwb;\nvar conversions_5 = conversions.cmyk;\nvar conversions_6 = conversions.xyz;\nvar conversions_7 = conversions.lab;\nvar conversions_8 = conversions.lch;\nvar conversions_9 = conversions.hex;\nvar conversions_10 = conversions.keyword;\nvar conversions_11 = conversions.ansi16;\nvar conversions_12 = conversions.ansi256;\nvar conversions_13 = conversions.hcg;\nvar conversions_14 = conversions.apple;\nvar conversions_15 = conversions.gray;\n\n/*\n\tthis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tvar graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tvar models = Object.keys(conversions);\n\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tvar graph = buildGraph();\n\tvar queue = [fromModel]; // unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tvar current = queue.pop();\n\t\tvar adjacents = Object.keys(conversions[current]);\n\n\t\tfor (var len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tvar adjacent = adjacents[i];\n\t\t\tvar node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tvar path = [graph[toModel].parent, toModel];\n\tvar fn = conversions[graph[toModel].parent][toModel];\n\n\tvar cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nvar route = function (fromModel) {\n\tvar graph = deriveBFS(fromModel);\n\tvar conversion = {};\n\n\tvar models = Object.keys(graph);\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tvar toModel = models[i];\n\t\tvar node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// no possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\nvar convert = {};\n\nvar models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\tvar result = fn(args);\n\n\t\t// we're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (var len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(function (fromModel) {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tvar routes = route(fromModel);\n\tvar routeModels = Object.keys(routes);\n\n\trouteModels.forEach(function (toModel) {\n\t\tvar fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nvar colorConvert = convert;\n\nvar colorName$1 = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\n/* MIT license */\n\n\nvar colorString = {\n   getRgba: getRgba,\n   getHsla: getHsla,\n   getRgb: getRgb,\n   getHsl: getHsl,\n   getHwb: getHwb,\n   getAlpha: getAlpha,\n\n   hexString: hexString,\n   rgbString: rgbString,\n   rgbaString: rgbaString,\n   percentString: percentString,\n   percentaString: percentaString,\n   hslString: hslString,\n   hslaString: hslaString,\n   hwbString: hwbString,\n   keyword: keyword\n};\n\nfunction getRgba(string) {\n   if (!string) {\n      return;\n   }\n   var abbr =  /^#([a-fA-F0-9]{3,4})$/i,\n       hex =  /^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,\n       rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n       per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n       keyword = /(\\w+)/;\n\n   var rgb = [0, 0, 0],\n       a = 1,\n       match = string.match(abbr),\n       hexAlpha = \"\";\n   if (match) {\n      match = match[1];\n      hexAlpha = match[3];\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match[i] + match[i], 16);\n      }\n      if (hexAlpha) {\n         a = Math.round((parseInt(hexAlpha + hexAlpha, 16) / 255) * 100) / 100;\n      }\n   }\n   else if (match = string.match(hex)) {\n      hexAlpha = match[2];\n      match = match[1];\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);\n      }\n      if (hexAlpha) {\n         a = Math.round((parseInt(hexAlpha, 16) / 255) * 100) / 100;\n      }\n   }\n   else if (match = string.match(rgba)) {\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match[i + 1]);\n      }\n      a = parseFloat(match[4]);\n   }\n   else if (match = string.match(per)) {\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n      }\n      a = parseFloat(match[4]);\n   }\n   else if (match = string.match(keyword)) {\n      if (match[1] == \"transparent\") {\n         return [0, 0, 0, 0];\n      }\n      rgb = colorName$1[match[1]];\n      if (!rgb) {\n         return;\n      }\n   }\n\n   for (var i = 0; i < rgb.length; i++) {\n      rgb[i] = scale(rgb[i], 0, 255);\n   }\n   if (!a && a != 0) {\n      a = 1;\n   }\n   else {\n      a = scale(a, 0, 1);\n   }\n   rgb[3] = a;\n   return rgb;\n}\n\nfunction getHsla(string) {\n   if (!string) {\n      return;\n   }\n   var hsl = /^hsla?\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n   var match = string.match(hsl);\n   if (match) {\n      var alpha = parseFloat(match[4]);\n      var h = scale(parseInt(match[1]), 0, 360),\n          s = scale(parseFloat(match[2]), 0, 100),\n          l = scale(parseFloat(match[3]), 0, 100),\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n      return [h, s, l, a];\n   }\n}\n\nfunction getHwb(string) {\n   if (!string) {\n      return;\n   }\n   var hwb = /^hwb\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n   var match = string.match(hwb);\n   if (match) {\n    var alpha = parseFloat(match[4]);\n      var h = scale(parseInt(match[1]), 0, 360),\n          w = scale(parseFloat(match[2]), 0, 100),\n          b = scale(parseFloat(match[3]), 0, 100),\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n      return [h, w, b, a];\n   }\n}\n\nfunction getRgb(string) {\n   var rgba = getRgba(string);\n   return rgba && rgba.slice(0, 3);\n}\n\nfunction getHsl(string) {\n  var hsla = getHsla(string);\n  return hsla && hsla.slice(0, 3);\n}\n\nfunction getAlpha(string) {\n   var vals = getRgba(string);\n   if (vals) {\n      return vals[3];\n   }\n   else if (vals = getHsla(string)) {\n      return vals[3];\n   }\n   else if (vals = getHwb(string)) {\n      return vals[3];\n   }\n}\n\n// generators\nfunction hexString(rgba, a) {\n   var a = (a !== undefined && rgba.length === 3) ? a : rgba[3];\n   return \"#\" + hexDouble(rgba[0]) \n              + hexDouble(rgba[1])\n              + hexDouble(rgba[2])\n              + (\n                 (a >= 0 && a < 1)\n                 ? hexDouble(Math.round(a * 255))\n                 : \"\"\n              );\n}\n\nfunction rgbString(rgba, alpha) {\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n      return rgbaString(rgba, alpha);\n   }\n   return \"rgb(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \")\";\n}\n\nfunction rgbaString(rgba, alpha) {\n   if (alpha === undefined) {\n      alpha = (rgba[3] !== undefined ? rgba[3] : 1);\n   }\n   return \"rgba(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2]\n           + \", \" + alpha + \")\";\n}\n\nfunction percentString(rgba, alpha) {\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n      return percentaString(rgba, alpha);\n   }\n   var r = Math.round(rgba[0]/255 * 100),\n       g = Math.round(rgba[1]/255 * 100),\n       b = Math.round(rgba[2]/255 * 100);\n\n   return \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\";\n}\n\nfunction percentaString(rgba, alpha) {\n   var r = Math.round(rgba[0]/255 * 100),\n       g = Math.round(rgba[1]/255 * 100),\n       b = Math.round(rgba[2]/255 * 100);\n   return \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + (alpha || rgba[3] || 1) + \")\";\n}\n\nfunction hslString(hsla, alpha) {\n   if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {\n      return hslaString(hsla, alpha);\n   }\n   return \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\";\n}\n\nfunction hslaString(hsla, alpha) {\n   if (alpha === undefined) {\n      alpha = (hsla[3] !== undefined ? hsla[3] : 1);\n   }\n   return \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \"\n           + alpha + \")\";\n}\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\nfunction hwbString(hwb, alpha) {\n   if (alpha === undefined) {\n      alpha = (hwb[3] !== undefined ? hwb[3] : 1);\n   }\n   return \"hwb(\" + hwb[0] + \", \" + hwb[1] + \"%, \" + hwb[2] + \"%\"\n           + (alpha !== undefined && alpha !== 1 ? \", \" + alpha : \"\") + \")\";\n}\n\nfunction keyword(rgb) {\n  return reverseNames[rgb.slice(0, 3)];\n}\n\n// helpers\nfunction scale(num, min, max) {\n   return Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n  var str = num.toString(16).toUpperCase();\n  return (str.length < 2) ? \"0\" + str : str;\n}\n\n\n//create a list of reverse color names\nvar reverseNames = {};\nfor (var name in colorName$1) {\n   reverseNames[colorName$1[name]] = name;\n}\n\n/* MIT license */\n\n\n\nvar Color = function (obj) {\n\tif (obj instanceof Color) {\n\t\treturn obj;\n\t}\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(obj);\n\t}\n\n\tthis.valid = false;\n\tthis.values = {\n\t\trgb: [0, 0, 0],\n\t\thsl: [0, 0, 0],\n\t\thsv: [0, 0, 0],\n\t\thwb: [0, 0, 0],\n\t\tcmyk: [0, 0, 0, 0],\n\t\talpha: 1\n\t};\n\n\t// parse Color() argument\n\tvar vals;\n\tif (typeof obj === 'string') {\n\t\tvals = colorString.getRgba(obj);\n\t\tif (vals) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals = colorString.getHsla(obj)) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals = colorString.getHwb(obj)) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t}\n\t} else if (typeof obj === 'object') {\n\t\tvals = obj;\n\t\tif (vals.r !== undefined || vals.red !== undefined) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals.l !== undefined || vals.lightness !== undefined) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals.v !== undefined || vals.value !== undefined) {\n\t\t\tthis.setValues('hsv', vals);\n\t\t} else if (vals.w !== undefined || vals.whiteness !== undefined) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t} else if (vals.c !== undefined || vals.cyan !== undefined) {\n\t\t\tthis.setValues('cmyk', vals);\n\t\t}\n\t}\n};\n\nColor.prototype = {\n\tisValid: function () {\n\t\treturn this.valid;\n\t},\n\trgb: function () {\n\t\treturn this.setSpace('rgb', arguments);\n\t},\n\thsl: function () {\n\t\treturn this.setSpace('hsl', arguments);\n\t},\n\thsv: function () {\n\t\treturn this.setSpace('hsv', arguments);\n\t},\n\thwb: function () {\n\t\treturn this.setSpace('hwb', arguments);\n\t},\n\tcmyk: function () {\n\t\treturn this.setSpace('cmyk', arguments);\n\t},\n\n\trgbArray: function () {\n\t\treturn this.values.rgb;\n\t},\n\thslArray: function () {\n\t\treturn this.values.hsl;\n\t},\n\thsvArray: function () {\n\t\treturn this.values.hsv;\n\t},\n\thwbArray: function () {\n\t\tvar values = this.values;\n\t\tif (values.alpha !== 1) {\n\t\t\treturn values.hwb.concat([values.alpha]);\n\t\t}\n\t\treturn values.hwb;\n\t},\n\tcmykArray: function () {\n\t\treturn this.values.cmyk;\n\t},\n\trgbaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.rgb.concat([values.alpha]);\n\t},\n\thslaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.hsl.concat([values.alpha]);\n\t},\n\talpha: function (val) {\n\t\tif (val === undefined) {\n\t\t\treturn this.values.alpha;\n\t\t}\n\t\tthis.setValues('alpha', val);\n\t\treturn this;\n\t},\n\n\tred: function (val) {\n\t\treturn this.setChannel('rgb', 0, val);\n\t},\n\tgreen: function (val) {\n\t\treturn this.setChannel('rgb', 1, val);\n\t},\n\tblue: function (val) {\n\t\treturn this.setChannel('rgb', 2, val);\n\t},\n\thue: function (val) {\n\t\tif (val) {\n\t\t\tval %= 360;\n\t\t\tval = val < 0 ? 360 + val : val;\n\t\t}\n\t\treturn this.setChannel('hsl', 0, val);\n\t},\n\tsaturation: function (val) {\n\t\treturn this.setChannel('hsl', 1, val);\n\t},\n\tlightness: function (val) {\n\t\treturn this.setChannel('hsl', 2, val);\n\t},\n\tsaturationv: function (val) {\n\t\treturn this.setChannel('hsv', 1, val);\n\t},\n\twhiteness: function (val) {\n\t\treturn this.setChannel('hwb', 1, val);\n\t},\n\tblackness: function (val) {\n\t\treturn this.setChannel('hwb', 2, val);\n\t},\n\tvalue: function (val) {\n\t\treturn this.setChannel('hsv', 2, val);\n\t},\n\tcyan: function (val) {\n\t\treturn this.setChannel('cmyk', 0, val);\n\t},\n\tmagenta: function (val) {\n\t\treturn this.setChannel('cmyk', 1, val);\n\t},\n\tyellow: function (val) {\n\t\treturn this.setChannel('cmyk', 2, val);\n\t},\n\tblack: function (val) {\n\t\treturn this.setChannel('cmyk', 3, val);\n\t},\n\n\thexString: function () {\n\t\treturn colorString.hexString(this.values.rgb);\n\t},\n\trgbString: function () {\n\t\treturn colorString.rgbString(this.values.rgb, this.values.alpha);\n\t},\n\trgbaString: function () {\n\t\treturn colorString.rgbaString(this.values.rgb, this.values.alpha);\n\t},\n\tpercentString: function () {\n\t\treturn colorString.percentString(this.values.rgb, this.values.alpha);\n\t},\n\thslString: function () {\n\t\treturn colorString.hslString(this.values.hsl, this.values.alpha);\n\t},\n\thslaString: function () {\n\t\treturn colorString.hslaString(this.values.hsl, this.values.alpha);\n\t},\n\thwbString: function () {\n\t\treturn colorString.hwbString(this.values.hwb, this.values.alpha);\n\t},\n\tkeyword: function () {\n\t\treturn colorString.keyword(this.values.rgb, this.values.alpha);\n\t},\n\n\trgbNumber: function () {\n\t\tvar rgb = this.values.rgb;\n\t\treturn (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];\n\t},\n\n\tluminosity: function () {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tvar rgb = this.values.rgb;\n\t\tvar lum = [];\n\t\tfor (var i = 0; i < rgb.length; i++) {\n\t\t\tvar chan = rgb[i] / 255;\n\t\t\tlum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);\n\t\t}\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast: function (color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tvar lum1 = this.luminosity();\n\t\tvar lum2 = color2.luminosity();\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel: function (color2) {\n\t\tvar contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7.1) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tdark: function () {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tvar rgb = this.values.rgb;\n\t\tvar yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n\t\treturn yiq < 128;\n\t},\n\n\tlight: function () {\n\t\treturn !this.dark();\n\t},\n\n\tnegate: function () {\n\t\tvar rgb = [];\n\t\tfor (var i = 0; i < 3; i++) {\n\t\t\trgb[i] = 255 - this.values.rgb[i];\n\t\t}\n\t\tthis.setValues('rgb', rgb);\n\t\treturn this;\n\t},\n\n\tlighten: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] += hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdarken: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] -= hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tsaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] += hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdesaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] -= hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\twhiten: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[1] += hwb[1] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tblacken: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[2] += hwb[2] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tgreyscale: function () {\n\t\tvar rgb = this.values.rgb;\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tvar val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\tthis.setValues('rgb', [val, val, val]);\n\t\treturn this;\n\t},\n\n\tclearer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha - (alpha * ratio));\n\t\treturn this;\n\t},\n\n\topaquer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha + (alpha * ratio));\n\t\treturn this;\n\t},\n\n\trotate: function (degrees) {\n\t\tvar hsl = this.values.hsl;\n\t\tvar hue = (hsl[0] + degrees) % 360;\n\t\thsl[0] = hue < 0 ? 360 + hue : hue;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\t/**\n\t * Ported from sass implementation in C\n\t * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t */\n\tmix: function (mixinColor, weight) {\n\t\tvar color1 = this;\n\t\tvar color2 = mixinColor;\n\t\tvar p = weight === undefined ? 0.5 : weight;\n\n\t\tvar w = 2 * p - 1;\n\t\tvar a = color1.alpha() - color2.alpha();\n\n\t\tvar w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n\t\tvar w2 = 1 - w1;\n\n\t\treturn this\n\t\t\t.rgb(\n\t\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\t\tw1 * color1.blue() + w2 * color2.blue()\n\t\t\t)\n\t\t\t.alpha(color1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n\n\ttoJSON: function () {\n\t\treturn this.rgb();\n\t},\n\n\tclone: function () {\n\t\t// NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,\n\t\t// making the final build way to big to embed in Chart.js. So let's do it manually,\n\t\t// assuming that values to clone are 1 dimension arrays containing only numbers,\n\t\t// except 'alpha' which is a number.\n\t\tvar result = new Color();\n\t\tvar source = this.values;\n\t\tvar target = result.values;\n\t\tvar value, type;\n\n\t\tfor (var prop in source) {\n\t\t\tif (source.hasOwnProperty(prop)) {\n\t\t\t\tvalue = source[prop];\n\t\t\t\ttype = ({}).toString.call(value);\n\t\t\t\tif (type === '[object Array]') {\n\t\t\t\t\ttarget[prop] = value.slice(0);\n\t\t\t\t} else if (type === '[object Number]') {\n\t\t\t\t\ttarget[prop] = value;\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('unexpected color value:', value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n};\n\nColor.prototype.spaces = {\n\trgb: ['red', 'green', 'blue'],\n\thsl: ['hue', 'saturation', 'lightness'],\n\thsv: ['hue', 'saturation', 'value'],\n\thwb: ['hue', 'whiteness', 'blackness'],\n\tcmyk: ['cyan', 'magenta', 'yellow', 'black']\n};\n\nColor.prototype.maxes = {\n\trgb: [255, 255, 255],\n\thsl: [360, 100, 100],\n\thsv: [360, 100, 100],\n\thwb: [360, 100, 100],\n\tcmyk: [100, 100, 100, 100]\n};\n\nColor.prototype.getValues = function (space) {\n\tvar values = this.values;\n\tvar vals = {};\n\n\tfor (var i = 0; i < space.length; i++) {\n\t\tvals[space.charAt(i)] = values[space][i];\n\t}\n\n\tif (values.alpha !== 1) {\n\t\tvals.a = values.alpha;\n\t}\n\n\t// {r: 255, g: 255, b: 255, a: 0.4}\n\treturn vals;\n};\n\nColor.prototype.setValues = function (space, vals) {\n\tvar values = this.values;\n\tvar spaces = this.spaces;\n\tvar maxes = this.maxes;\n\tvar alpha = 1;\n\tvar i;\n\n\tthis.valid = true;\n\n\tif (space === 'alpha') {\n\t\talpha = vals;\n\t} else if (vals.length) {\n\t\t// [10, 10, 10]\n\t\tvalues[space] = vals.slice(0, space.length);\n\t\talpha = vals[space.length];\n\t} else if (vals[space.charAt(0)] !== undefined) {\n\t\t// {r: 10, g: 10, b: 10}\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[space.charAt(i)];\n\t\t}\n\n\t\talpha = vals.a;\n\t} else if (vals[spaces[space][0]] !== undefined) {\n\t\t// {red: 10, green: 10, blue: 10}\n\t\tvar chans = spaces[space];\n\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[chans[i]];\n\t\t}\n\n\t\talpha = vals.alpha;\n\t}\n\n\tvalues.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha)));\n\n\tif (space === 'alpha') {\n\t\treturn false;\n\t}\n\n\tvar capped;\n\n\t// cap values of the space prior converting all values\n\tfor (i = 0; i < space.length; i++) {\n\t\tcapped = Math.max(0, Math.min(maxes[space][i], values[space][i]));\n\t\tvalues[space][i] = Math.round(capped);\n\t}\n\n\t// convert to all the other color spaces\n\tfor (var sname in spaces) {\n\t\tif (sname !== space) {\n\t\t\tvalues[sname] = colorConvert[space][sname](values[space]);\n\t\t}\n\t}\n\n\treturn true;\n};\n\nColor.prototype.setSpace = function (space, args) {\n\tvar vals = args[0];\n\n\tif (vals === undefined) {\n\t\t// color.rgb()\n\t\treturn this.getValues(space);\n\t}\n\n\t// color.rgb(10, 10, 10)\n\tif (typeof vals === 'number') {\n\t\tvals = Array.prototype.slice.call(args);\n\t}\n\n\tthis.setValues(space, vals);\n\treturn this;\n};\n\nColor.prototype.setChannel = function (space, index, val) {\n\tvar svalues = this.values[space];\n\tif (val === undefined) {\n\t\t// color.red()\n\t\treturn svalues[index];\n\t} else if (val === svalues[index]) {\n\t\t// color.red(color.red())\n\t\treturn this;\n\t}\n\n\t// color.red(100)\n\tsvalues[index] = val;\n\tthis.setValues(space, svalues);\n\n\treturn this;\n};\n\nif (typeof window !== 'undefined') {\n\twindow.Color = Color;\n}\n\nvar chartjsColor = Color;\n\nfunction isValidKey(key) {\r\n\treturn ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;\r\n}\r\n\r\n/**\r\n * @namespace Chart.helpers\r\n */\r\nvar helpers = {\r\n\t/**\r\n\t * An empty function that can be used, for example, for optional callback.\r\n\t */\r\n\tnoop: function() {},\r\n\r\n\t/**\r\n\t * Returns a unique id, sequentially generated from a global variable.\r\n\t * @returns {number}\r\n\t * @function\r\n\t */\r\n\tuid: (function() {\r\n\t\tvar id = 0;\r\n\t\treturn function() {\r\n\t\t\treturn id++;\r\n\t\t};\r\n\t}()),\r\n\r\n\t/**\r\n\t * Returns true if `value` is neither null nor undefined, else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @since 2.7.0\r\n\t */\r\n\tisNullOrUndef: function(value) {\r\n\t\treturn value === null || typeof value === 'undefined';\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is an array (including typed arrays), else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @function\r\n\t */\r\n\tisArray: function(value) {\r\n\t\tif (Array.isArray && Array.isArray(value)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tvar type = Object.prototype.toString.call(value);\r\n\t\tif (type.substr(0, 7) === '[object' && type.substr(-6) === 'Array]') {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is an object (excluding null), else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @since 2.7.0\r\n\t */\r\n\tisObject: function(value) {\r\n\t\treturn value !== null && Object.prototype.toString.call(value) === '[object Object]';\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is a finite number, else returns false\r\n\t * @param {*} value  - The value to test.\r\n\t * @returns {boolean}\r\n\t */\r\n\tisFinite: function(value) {\r\n\t\treturn (typeof value === 'number' || value instanceof Number) && isFinite(value);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns `value` if defined, else returns `defaultValue`.\r\n\t * @param {*} value - The value to return if defined.\r\n\t * @param {*} defaultValue - The value to return if `value` is undefined.\r\n\t * @returns {*}\r\n\t */\r\n\tvalueOrDefault: function(value, defaultValue) {\r\n\t\treturn typeof value === 'undefined' ? defaultValue : value;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns value at the given `index` in array if defined, else returns `defaultValue`.\r\n\t * @param {Array} value - The array to lookup for value at `index`.\r\n\t * @param {number} index - The index in `value` to lookup for value.\r\n\t * @param {*} defaultValue - The value to return if `value[index]` is undefined.\r\n\t * @returns {*}\r\n\t */\r\n\tvalueAtIndexOrDefault: function(value, index, defaultValue) {\r\n\t\treturn helpers.valueOrDefault(helpers.isArray(value) ? value[index] : value, defaultValue);\r\n\t},\r\n\r\n\t/**\r\n\t * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the\r\n\t * value returned by `fn`. If `fn` is not a function, this method returns undefined.\r\n\t * @param {function} fn - The function to call.\r\n\t * @param {Array|undefined|null} args - The arguments with which `fn` should be called.\r\n\t * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\r\n\t * @returns {*}\r\n\t */\r\n\tcallback: function(fn, args, thisArg) {\r\n\t\tif (fn && typeof fn.call === 'function') {\r\n\t\t\treturn fn.apply(thisArg, args);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Note(SB) for performance sake, this method should only be used when loopable type\r\n\t * is unknown or in none intensive code (not called often and small loopable). Else\r\n\t * it's preferable to use a regular for() loop and save extra function calls.\r\n\t * @param {object|Array} loopable - The object or array to be iterated.\r\n\t * @param {function} fn - The function to call for each item.\r\n\t * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\r\n\t * @param {boolean} [reverse] - If true, iterates backward on the loopable.\r\n\t */\r\n\teach: function(loopable, fn, thisArg, reverse) {\r\n\t\tvar i, len, keys;\r\n\t\tif (helpers.isArray(loopable)) {\r\n\t\t\tlen = loopable.length;\r\n\t\t\tif (reverse) {\r\n\t\t\t\tfor (i = len - 1; i >= 0; i--) {\r\n\t\t\t\t\tfn.call(thisArg, loopable[i], i);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (i = 0; i < len; i++) {\r\n\t\t\t\t\tfn.call(thisArg, loopable[i], i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else if (helpers.isObject(loopable)) {\r\n\t\t\tkeys = Object.keys(loopable);\r\n\t\t\tlen = keys.length;\r\n\t\t\tfor (i = 0; i < len; i++) {\r\n\t\t\t\tfn.call(thisArg, loopable[keys[i]], keys[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if the `a0` and `a1` arrays have the same content, else returns false.\r\n\t * @see https://stackoverflow.com/a/14853974\r\n\t * @param {Array} a0 - The array to compare\r\n\t * @param {Array} a1 - The array to compare\r\n\t * @returns {boolean}\r\n\t */\r\n\tarrayEquals: function(a0, a1) {\r\n\t\tvar i, ilen, v0, v1;\r\n\r\n\t\tif (!a0 || !a1 || a0.length !== a1.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = a0.length; i < ilen; ++i) {\r\n\t\t\tv0 = a0[i];\r\n\t\t\tv1 = a1[i];\r\n\r\n\t\t\tif (v0 instanceof Array && v1 instanceof Array) {\r\n\t\t\t\tif (!helpers.arrayEquals(v0, v1)) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t} else if (v0 !== v1) {\r\n\t\t\t\t// NOTE: two different object instances will never be equal: {x:20} != {x:20}\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a deep copy of `source` without keeping references on objects and arrays.\r\n\t * @param {*} source - The value to clone.\r\n\t * @returns {*}\r\n\t */\r\n\tclone: function(source) {\r\n\t\tif (helpers.isArray(source)) {\r\n\t\t\treturn source.map(helpers.clone);\r\n\t\t}\r\n\r\n\t\tif (helpers.isObject(source)) {\r\n\t\t\tvar target = Object.create(source);\r\n\t\t\tvar keys = Object.keys(source);\r\n\t\t\tvar klen = keys.length;\r\n\t\t\tvar k = 0;\r\n\r\n\t\t\tfor (; k < klen; ++k) {\r\n\t\t\t\ttarget[keys[k]] = helpers.clone(source[keys[k]]);\r\n\t\t\t}\r\n\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\treturn source;\r\n\t},\r\n\r\n\t/**\r\n\t * The default merger when Chart.helpers.merge is called without merger option.\r\n\t * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback.\r\n\t * @private\r\n\t */\r\n\t_merger: function(key, target, source, options) {\r\n\t\tif (!isValidKey(key)) {\r\n\t\t\t// We want to ensure we do not copy prototypes over\r\n\t\t\t// as this can pollute global namespaces\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tval = target[key];\r\n\t\tvar sval = source[key];\r\n\r\n\t\tif (helpers.isObject(tval) && helpers.isObject(sval)) {\r\n\t\t\thelpers.merge(tval, sval, options);\r\n\t\t} else {\r\n\t\t\ttarget[key] = helpers.clone(sval);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Merges source[key] in target[key] only if target[key] is undefined.\r\n\t * @private\r\n\t */\r\n\t_mergerIf: function(key, target, source) {\r\n\t\tif (!isValidKey(key)) {\r\n\t\t\t// We want to ensure we do not copy prototypes over\r\n\t\t\t// as this can pollute global namespaces\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tval = target[key];\r\n\t\tvar sval = source[key];\r\n\r\n\t\tif (helpers.isObject(tval) && helpers.isObject(sval)) {\r\n\t\t\thelpers.mergeIf(tval, sval);\r\n\t\t} else if (!target.hasOwnProperty(key)) {\r\n\t\t\ttarget[key] = helpers.clone(sval);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Recursively deep copies `source` properties into `target` with the given `options`.\r\n\t * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\r\n\t * @param {object} target - The target object in which all sources are merged into.\r\n\t * @param {object|object[]} source - Object(s) to merge into `target`.\r\n\t * @param {object} [options] - Merging options:\r\n\t * @param {function} [options.merger] - The merge method (key, target, source, options)\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\tmerge: function(target, source, options) {\r\n\t\tvar sources = helpers.isArray(source) ? source : [source];\r\n\t\tvar ilen = sources.length;\r\n\t\tvar merge, i, keys, klen, k;\r\n\r\n\t\tif (!helpers.isObject(target)) {\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\toptions = options || {};\r\n\t\tmerge = options.merger || helpers._merger;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tsource = sources[i];\r\n\t\t\tif (!helpers.isObject(source)) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tkeys = Object.keys(source);\r\n\t\t\tfor (k = 0, klen = keys.length; k < klen; ++k) {\r\n\t\t\t\tmerge(keys[k], target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn target;\r\n\t},\r\n\r\n\t/**\r\n\t * Recursively deep copies `source` properties into `target` *only* if not defined in target.\r\n\t * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\r\n\t * @param {object} target - The target object in which all sources are merged into.\r\n\t * @param {object|object[]} source - Object(s) to merge into `target`.\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\tmergeIf: function(target, source) {\r\n\t\treturn helpers.merge(target, source, {merger: helpers._mergerIf});\r\n\t},\r\n\r\n\t/**\r\n\t * Applies the contents of two or more objects together into the first object.\r\n\t * @param {object} target - The target object in which all objects are merged into.\r\n\t * @param {object} arg1 - Object containing additional properties to merge in target.\r\n\t * @param {object} argN - Additional objects containing properties to merge in target.\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\textend: Object.assign || function(target) {\r\n\t\treturn helpers.merge(target, [].slice.call(arguments, 1), {\r\n\t\t\tmerger: function(key, dst, src) {\r\n\t\t\t\tdst[key] = src[key];\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * Basic javascript inheritance based on the model created in Backbone.js\r\n\t */\r\n\tinherits: function(extensions) {\r\n\t\tvar me = this;\r\n\t\tvar ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function() {\r\n\t\t\treturn me.apply(this, arguments);\r\n\t\t};\r\n\r\n\t\tvar Surrogate = function() {\r\n\t\t\tthis.constructor = ChartElement;\r\n\t\t};\r\n\r\n\t\tSurrogate.prototype = me.prototype;\r\n\t\tChartElement.prototype = new Surrogate();\r\n\t\tChartElement.extend = helpers.inherits;\r\n\r\n\t\tif (extensions) {\r\n\t\t\thelpers.extend(ChartElement.prototype, extensions);\r\n\t\t}\r\n\r\n\t\tChartElement.__super__ = me.prototype;\r\n\t\treturn ChartElement;\r\n\t},\r\n\r\n\t_deprecated: function(scope, value, previous, current) {\r\n\t\tif (value !== undefined) {\r\n\t\t\tconsole.warn(scope + ': \"' + previous +\r\n\t\t\t\t'\" is deprecated. Please use \"' + current + '\" instead');\r\n\t\t}\r\n\t}\r\n};\r\n\r\nvar helpers_core = helpers;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.callback instead.\r\n * @function Chart.helpers.callCallback\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.callCallback = helpers.callback;\r\n\r\n/**\r\n * Provided for backward compatibility, use Array.prototype.indexOf instead.\r\n * Array.prototype.indexOf compatibility: Chrome, Opera, Safari, FF1.5+, IE9+\r\n * @function Chart.helpers.indexOf\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.indexOf = function(array, item, fromIndex) {\r\n\treturn Array.prototype.indexOf.call(array, item, fromIndex);\r\n};\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.valueOrDefault instead.\r\n * @function Chart.helpers.getValueOrDefault\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.getValueOrDefault = helpers.valueOrDefault;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.valueAtIndexOrDefault instead.\r\n * @function Chart.helpers.getValueAtIndexOrDefault\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.getValueAtIndexOrDefault = helpers.valueAtIndexOrDefault;\n\n/**\r\n * Easing functions adapted from Robert Penner's easing equations.\r\n * @namespace Chart.helpers.easingEffects\r\n * @see http://www.robertpenner.com/easing/\r\n */\r\nvar effects = {\r\n\tlinear: function(t) {\r\n\t\treturn t;\r\n\t},\r\n\r\n\teaseInQuad: function(t) {\r\n\t\treturn t * t;\r\n\t},\r\n\r\n\teaseOutQuad: function(t) {\r\n\t\treturn -t * (t - 2);\r\n\t},\r\n\r\n\teaseInOutQuad: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t;\r\n\t\t}\r\n\t\treturn -0.5 * ((--t) * (t - 2) - 1);\r\n\t},\r\n\r\n\teaseInCubic: function(t) {\r\n\t\treturn t * t * t;\r\n\t},\r\n\r\n\teaseOutCubic: function(t) {\r\n\t\treturn (t = t - 1) * t * t + 1;\r\n\t},\r\n\r\n\teaseInOutCubic: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t;\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * t + 2);\r\n\t},\r\n\r\n\teaseInQuart: function(t) {\r\n\t\treturn t * t * t * t;\r\n\t},\r\n\r\n\teaseOutQuart: function(t) {\r\n\t\treturn -((t = t - 1) * t * t * t - 1);\r\n\t},\r\n\r\n\teaseInOutQuart: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t * t;\r\n\t\t}\r\n\t\treturn -0.5 * ((t -= 2) * t * t * t - 2);\r\n\t},\r\n\r\n\teaseInQuint: function(t) {\r\n\t\treturn t * t * t * t * t;\r\n\t},\r\n\r\n\teaseOutQuint: function(t) {\r\n\t\treturn (t = t - 1) * t * t * t * t + 1;\r\n\t},\r\n\r\n\teaseInOutQuint: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t * t * t;\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * t * t * t + 2);\r\n\t},\r\n\r\n\teaseInSine: function(t) {\r\n\t\treturn -Math.cos(t * (Math.PI / 2)) + 1;\r\n\t},\r\n\r\n\teaseOutSine: function(t) {\r\n\t\treturn Math.sin(t * (Math.PI / 2));\r\n\t},\r\n\r\n\teaseInOutSine: function(t) {\r\n\t\treturn -0.5 * (Math.cos(Math.PI * t) - 1);\r\n\t},\r\n\r\n\teaseInExpo: function(t) {\r\n\t\treturn (t === 0) ? 0 : Math.pow(2, 10 * (t - 1));\r\n\t},\r\n\r\n\teaseOutExpo: function(t) {\r\n\t\treturn (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1;\r\n\t},\r\n\r\n\teaseInOutExpo: function(t) {\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * Math.pow(2, 10 * (t - 1));\r\n\t\t}\r\n\t\treturn 0.5 * (-Math.pow(2, -10 * --t) + 2);\r\n\t},\r\n\r\n\teaseInCirc: function(t) {\r\n\t\tif (t >= 1) {\r\n\t\t\treturn t;\r\n\t\t}\r\n\t\treturn -(Math.sqrt(1 - t * t) - 1);\r\n\t},\r\n\r\n\teaseOutCirc: function(t) {\r\n\t\treturn Math.sqrt(1 - (t = t - 1) * t);\r\n\t},\r\n\r\n\teaseInOutCirc: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn -0.5 * (Math.sqrt(1 - t * t) - 1);\r\n\t\t}\r\n\t\treturn 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\r\n\t},\r\n\r\n\teaseInElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.3;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\treturn -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\r\n\t},\r\n\r\n\teaseOutElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.3;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\treturn a * Math.pow(2, -10 * t) * Math.sin((t - s) * (2 * Math.PI) / p) + 1;\r\n\t},\r\n\r\n\teaseInOutElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif ((t /= 0.5) === 2) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.45;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\tif (t < 1) {\r\n\t\t\treturn -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\r\n\t\t}\r\n\t\treturn a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p) * 0.5 + 1;\r\n\t},\r\n\teaseInBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\treturn t * t * ((s + 1) * t - s);\r\n\t},\r\n\r\n\teaseOutBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\treturn (t = t - 1) * t * ((s + 1) * t + s) + 1;\r\n\t},\r\n\r\n\teaseInOutBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s));\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);\r\n\t},\r\n\r\n\teaseInBounce: function(t) {\r\n\t\treturn 1 - effects.easeOutBounce(1 - t);\r\n\t},\r\n\r\n\teaseOutBounce: function(t) {\r\n\t\tif (t < (1 / 2.75)) {\r\n\t\t\treturn 7.5625 * t * t;\r\n\t\t}\r\n\t\tif (t < (2 / 2.75)) {\r\n\t\t\treturn 7.5625 * (t -= (1.5 / 2.75)) * t + 0.75;\r\n\t\t}\r\n\t\tif (t < (2.5 / 2.75)) {\r\n\t\t\treturn 7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375;\r\n\t\t}\r\n\t\treturn 7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375;\r\n\t},\r\n\r\n\teaseInOutBounce: function(t) {\r\n\t\tif (t < 0.5) {\r\n\t\t\treturn effects.easeInBounce(t * 2) * 0.5;\r\n\t\t}\r\n\t\treturn effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5;\r\n\t}\r\n};\r\n\r\nvar helpers_easing = {\r\n\teffects: effects\r\n};\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.easing.effects instead.\r\n * @function Chart.helpers.easingEffects\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.easingEffects = effects;\n\nvar PI = Math.PI;\r\nvar RAD_PER_DEG = PI / 180;\r\nvar DOUBLE_PI = PI * 2;\r\nvar HALF_PI = PI / 2;\r\nvar QUARTER_PI = PI / 4;\r\nvar TWO_THIRDS_PI = PI * 2 / 3;\r\n\r\n/**\r\n * @namespace Chart.helpers.canvas\r\n */\r\nvar exports$1 = {\r\n\t/**\r\n\t * Clears the entire canvas associated to the given `chart`.\r\n\t * @param {Chart} chart - The chart for which to clear the canvas.\r\n\t */\r\n\tclear: function(chart) {\r\n\t\tchart.ctx.clearRect(0, 0, chart.width, chart.height);\r\n\t},\r\n\r\n\t/**\r\n\t * Creates a \"path\" for a rectangle with rounded corners at position (x, y) with a\r\n\t * given size (width, height) and the same `radius` for all corners.\r\n\t * @param {CanvasRenderingContext2D} ctx - The canvas 2D Context.\r\n\t * @param {number} x - The x axis of the coordinate for the rectangle starting point.\r\n\t * @param {number} y - The y axis of the coordinate for the rectangle starting point.\r\n\t * @param {number} width - The rectangle's width.\r\n\t * @param {number} height - The rectangle's height.\r\n\t * @param {number} radius - The rounded amount (in pixels) for the four corners.\r\n\t * @todo handle `radius` as top-left, top-right, bottom-right, bottom-left array/object?\r\n\t */\r\n\troundedRect: function(ctx, x, y, width, height, radius) {\r\n\t\tif (radius) {\r\n\t\t\tvar r = Math.min(radius, height / 2, width / 2);\r\n\t\t\tvar left = x + r;\r\n\t\t\tvar top = y + r;\r\n\t\t\tvar right = x + width - r;\r\n\t\t\tvar bottom = y + height - r;\r\n\r\n\t\t\tctx.moveTo(x, top);\r\n\t\t\tif (left < right && top < bottom) {\r\n\t\t\t\tctx.arc(left, top, r, -PI, -HALF_PI);\r\n\t\t\t\tctx.arc(right, top, r, -HALF_PI, 0);\r\n\t\t\t\tctx.arc(right, bottom, r, 0, HALF_PI);\r\n\t\t\t\tctx.arc(left, bottom, r, HALF_PI, PI);\r\n\t\t\t} else if (left < right) {\r\n\t\t\t\tctx.moveTo(left, y);\r\n\t\t\t\tctx.arc(right, top, r, -HALF_PI, HALF_PI);\r\n\t\t\t\tctx.arc(left, top, r, HALF_PI, PI + HALF_PI);\r\n\t\t\t} else if (top < bottom) {\r\n\t\t\t\tctx.arc(left, top, r, -PI, 0);\r\n\t\t\t\tctx.arc(left, bottom, r, 0, PI);\r\n\t\t\t} else {\r\n\t\t\t\tctx.arc(left, top, r, -PI, PI);\r\n\t\t\t}\r\n\t\t\tctx.closePath();\r\n\t\t\tctx.moveTo(x, y);\r\n\t\t} else {\r\n\t\t\tctx.rect(x, y, width, height);\r\n\t\t}\r\n\t},\r\n\r\n\tdrawPoint: function(ctx, style, radius, x, y, rotation) {\r\n\t\tvar type, xOffset, yOffset, size, cornerRadius;\r\n\t\tvar rad = (rotation || 0) * RAD_PER_DEG;\r\n\r\n\t\tif (style && typeof style === 'object') {\r\n\t\t\ttype = style.toString();\r\n\t\t\tif (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\r\n\t\t\t\tctx.save();\r\n\t\t\t\tctx.translate(x, y);\r\n\t\t\t\tctx.rotate(rad);\r\n\t\t\t\tctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);\r\n\t\t\t\tctx.restore();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (isNaN(radius) || radius <= 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.beginPath();\r\n\r\n\t\tswitch (style) {\r\n\t\t// Default includes circle\r\n\t\tdefault:\r\n\t\t\tctx.arc(x, y, radius, 0, DOUBLE_PI);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'triangle':\r\n\t\t\tctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\trad += TWO_THIRDS_PI;\r\n\t\t\tctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\trad += TWO_THIRDS_PI;\r\n\t\t\tctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'rectRounded':\r\n\t\t\t// NOTE: the rounded rect implementation changed to use `arc` instead of\r\n\t\t\t// `quadraticCurveTo` since it generates better results when rect is\r\n\t\t\t// almost a circle. 0.516 (instead of 0.5) produces results with visually\r\n\t\t\t// closer proportion to the previous impl and it is inscribed in the\r\n\t\t\t// circle with `radius`. For more details, see the following PRs:\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5597\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5858\r\n\t\t\tcornerRadius = radius * 0.516;\r\n\t\t\tsize = radius - cornerRadius;\r\n\t\t\txOffset = Math.cos(rad + QUARTER_PI) * size;\r\n\t\t\tyOffset = Math.sin(rad + QUARTER_PI) * size;\r\n\t\t\tctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);\r\n\t\t\tctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad);\r\n\t\t\tctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI);\r\n\t\t\tctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'rect':\r\n\t\t\tif (!rotation) {\r\n\t\t\t\tsize = Math.SQRT1_2 * radius;\r\n\t\t\t\tctx.rect(x - size, y - size, 2 * size, 2 * size);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\t/* falls through */\r\n\t\tcase 'rectRot':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'crossRot':\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\t/* falls through */\r\n\t\tcase 'cross':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'star':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'line':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'dash':\r\n\t\t\tctx.moveTo(x, y);\r\n\t\t\tctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius);\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\tctx.fill();\r\n\t\tctx.stroke();\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if the point is inside the rectangle\r\n\t * @param {object} point - The point to test\r\n\t * @param {object} area - The rectangle\r\n\t * @returns {boolean}\r\n\t * @private\r\n\t */\r\n\t_isPointInArea: function(point, area) {\r\n\t\tvar epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\r\n\r\n\t\treturn point.x > area.left - epsilon && point.x < area.right + epsilon &&\r\n\t\t\tpoint.y > area.top - epsilon && point.y < area.bottom + epsilon;\r\n\t},\r\n\r\n\tclipArea: function(ctx, area) {\r\n\t\tctx.save();\r\n\t\tctx.beginPath();\r\n\t\tctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);\r\n\t\tctx.clip();\r\n\t},\r\n\r\n\tunclipArea: function(ctx) {\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\tlineTo: function(ctx, previous, target, flip) {\r\n\t\tvar stepped = target.steppedLine;\r\n\t\tif (stepped) {\r\n\t\t\tif (stepped === 'middle') {\r\n\t\t\t\tvar midpoint = (previous.x + target.x) / 2.0;\r\n\t\t\t\tctx.lineTo(midpoint, flip ? target.y : previous.y);\r\n\t\t\t\tctx.lineTo(midpoint, flip ? previous.y : target.y);\r\n\t\t\t} else if ((stepped === 'after' && !flip) || (stepped !== 'after' && flip)) {\r\n\t\t\t\tctx.lineTo(previous.x, target.y);\r\n\t\t\t} else {\r\n\t\t\t\tctx.lineTo(target.x, previous.y);\r\n\t\t\t}\r\n\t\t\tctx.lineTo(target.x, target.y);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!target.tension) {\r\n\t\t\tctx.lineTo(target.x, target.y);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.bezierCurveTo(\r\n\t\t\tflip ? previous.controlPointPreviousX : previous.controlPointNextX,\r\n\t\t\tflip ? previous.controlPointPreviousY : previous.controlPointNextY,\r\n\t\t\tflip ? target.controlPointNextX : target.controlPointPreviousX,\r\n\t\t\tflip ? target.controlPointNextY : target.controlPointPreviousY,\r\n\t\t\ttarget.x,\r\n\t\t\ttarget.y);\r\n\t}\r\n};\r\n\r\nvar helpers_canvas = exports$1;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas.clear instead.\r\n * @namespace Chart.helpers.clear\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.clear = exports$1.clear;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas.roundedRect instead.\r\n * @namespace Chart.helpers.drawRoundedRectangle\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.drawRoundedRectangle = function(ctx) {\r\n\tctx.beginPath();\r\n\texports$1.roundedRect.apply(exports$1, arguments);\r\n};\n\nvar defaults = {\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_set: function(scope, values) {\r\n\t\treturn helpers_core.merge(this[scope] || (this[scope] = {}), values);\r\n\t}\r\n};\r\n\r\n// TODO(v3): remove 'global' from namespace.  all default are global and\r\n// there's inconsistency around which options are under 'global'\r\ndefaults._set('global', {\r\n\tdefaultColor: 'rgba(0,0,0,0.1)',\r\n\tdefaultFontColor: '#666',\r\n\tdefaultFontFamily: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\r\n\tdefaultFontSize: 12,\r\n\tdefaultFontStyle: 'normal',\r\n\tdefaultLineHeight: 1.2,\r\n\tshowLines: true\r\n});\r\n\r\nvar core_defaults = defaults;\n\nvar valueOrDefault = helpers_core.valueOrDefault;\r\n\r\n/**\r\n * Converts the given font object into a CSS font string.\r\n * @param {object} font - A font object.\r\n * @return {string} The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font\r\n * @private\r\n */\r\nfunction toFontString(font) {\r\n\tif (!font || helpers_core.isNullOrUndef(font.size) || helpers_core.isNullOrUndef(font.family)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\treturn (font.style ? font.style + ' ' : '')\r\n\t\t+ (font.weight ? font.weight + ' ' : '')\r\n\t\t+ font.size + 'px '\r\n\t\t+ font.family;\r\n}\r\n\r\n/**\r\n * @alias Chart.helpers.options\r\n * @namespace\r\n */\r\nvar helpers_options = {\r\n\t/**\r\n\t * Converts the given line height `value` in pixels for a specific font `size`.\r\n\t * @param {number|string} value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em').\r\n\t * @param {number} size - The font size (in pixels) used to resolve relative `value`.\r\n\t * @returns {number} The effective line height in pixels (size * 1.2 if value is invalid).\r\n\t * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height\r\n\t * @since 2.7.0\r\n\t */\r\n\ttoLineHeight: function(value, size) {\r\n\t\tvar matches = ('' + value).match(/^(normal|(\\d+(?:\\.\\d+)?)(px|em|%)?)$/);\r\n\t\tif (!matches || matches[1] === 'normal') {\r\n\t\t\treturn size * 1.2;\r\n\t\t}\r\n\r\n\t\tvalue = +matches[2];\r\n\r\n\t\tswitch (matches[3]) {\r\n\t\tcase 'px':\r\n\t\t\treturn value;\r\n\t\tcase '%':\r\n\t\t\tvalue /= 100;\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\treturn size * value;\r\n\t},\r\n\r\n\t/**\r\n\t * Converts the given value into a padding object with pre-computed width/height.\r\n\t * @param {number|object} value - If a number, set the value to all TRBL component,\r\n\t *  else, if and object, use defined properties and sets undefined ones to 0.\r\n\t * @returns {object} The padding values (top, right, bottom, left, width, height)\r\n\t * @since 2.7.0\r\n\t */\r\n\ttoPadding: function(value) {\r\n\t\tvar t, r, b, l;\r\n\r\n\t\tif (helpers_core.isObject(value)) {\r\n\t\t\tt = +value.top || 0;\r\n\t\t\tr = +value.right || 0;\r\n\t\t\tb = +value.bottom || 0;\r\n\t\t\tl = +value.left || 0;\r\n\t\t} else {\r\n\t\t\tt = r = b = l = +value || 0;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\ttop: t,\r\n\t\t\tright: r,\r\n\t\t\tbottom: b,\r\n\t\t\tleft: l,\r\n\t\t\theight: t + b,\r\n\t\t\twidth: l + r\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Parses font options and returns the font object.\r\n\t * @param {object} options - A object that contains font options to be parsed.\r\n\t * @return {object} The font object.\r\n\t * @todo Support font.* options and renamed to toFont().\r\n\t * @private\r\n\t */\r\n\t_parseFont: function(options) {\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar size = valueOrDefault(options.fontSize, globalDefaults.defaultFontSize);\r\n\t\tvar font = {\r\n\t\t\tfamily: valueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily),\r\n\t\t\tlineHeight: helpers_core.options.toLineHeight(valueOrDefault(options.lineHeight, globalDefaults.defaultLineHeight), size),\r\n\t\t\tsize: size,\r\n\t\t\tstyle: valueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle),\r\n\t\t\tweight: null,\r\n\t\t\tstring: ''\r\n\t\t};\r\n\r\n\t\tfont.string = toFontString(font);\r\n\t\treturn font;\r\n\t},\r\n\r\n\t/**\r\n\t * Evaluates the given `inputs` sequentially and returns the first defined value.\r\n\t * @param {Array} inputs - An array of values, falling back to the last value.\r\n\t * @param {object} [context] - If defined and the current value is a function, the value\r\n\t * is called with `context` as first argument and the result becomes the new input.\r\n\t * @param {number} [index] - If defined and the current value is an array, the value\r\n\t * at `index` become the new input.\r\n\t * @param {object} [info] - object to return information about resolution in\r\n\t * @param {boolean} [info.cacheable] - Will be set to `false` if option is not cacheable.\r\n\t * @since 2.7.0\r\n\t */\r\n\tresolve: function(inputs, context, index, info) {\r\n\t\tvar cacheable = true;\r\n\t\tvar i, ilen, value;\r\n\r\n\t\tfor (i = 0, ilen = inputs.length; i < ilen; ++i) {\r\n\t\t\tvalue = inputs[i];\r\n\t\t\tif (value === undefined) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif (context !== undefined && typeof value === 'function') {\r\n\t\t\t\tvalue = value(context);\r\n\t\t\t\tcacheable = false;\r\n\t\t\t}\r\n\t\t\tif (index !== undefined && helpers_core.isArray(value)) {\r\n\t\t\t\tvalue = value[index];\r\n\t\t\t\tcacheable = false;\r\n\t\t\t}\r\n\t\t\tif (value !== undefined) {\r\n\t\t\t\tif (info && !cacheable) {\r\n\t\t\t\t\tinfo.cacheable = false;\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\n/**\r\n * @alias Chart.helpers.math\r\n * @namespace\r\n */\r\nvar exports$2 = {\r\n\t/**\r\n\t * Returns an array of factors sorted from 1 to sqrt(value)\r\n\t * @private\r\n\t */\r\n\t_factorize: function(value) {\r\n\t\tvar result = [];\r\n\t\tvar sqrt = Math.sqrt(value);\r\n\t\tvar i;\r\n\r\n\t\tfor (i = 1; i < sqrt; i++) {\r\n\t\t\tif (value % i === 0) {\r\n\t\t\t\tresult.push(i);\r\n\t\t\t\tresult.push(value / i);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (sqrt === (sqrt | 0)) { // if value is a square number\r\n\t\t\tresult.push(sqrt);\r\n\t\t}\r\n\r\n\t\tresult.sort(function(a, b) {\r\n\t\t\treturn a - b;\r\n\t\t}).pop();\r\n\t\treturn result;\r\n\t},\r\n\r\n\tlog10: Math.log10 || function(x) {\r\n\t\tvar exponent = Math.log(x) * Math.LOG10E; // Math.LOG10E = 1 / Math.LN10.\r\n\t\t// Check for whole powers of 10,\r\n\t\t// which due to floating point rounding error should be corrected.\r\n\t\tvar powerOf10 = Math.round(exponent);\r\n\t\tvar isPowerOf10 = x === Math.pow(10, powerOf10);\r\n\r\n\t\treturn isPowerOf10 ? powerOf10 : exponent;\r\n\t}\r\n};\r\n\r\nvar helpers_math = exports$2;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.math.log10 instead.\r\n * @namespace Chart.helpers.log10\r\n * @deprecated since version 2.9.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.log10 = exports$2.log10;\n\nvar getRtlAdapter = function(rectX, width) {\r\n\treturn {\r\n\t\tx: function(x) {\r\n\t\t\treturn rectX + rectX + width - x;\r\n\t\t},\r\n\t\tsetWidth: function(w) {\r\n\t\t\twidth = w;\r\n\t\t},\r\n\t\ttextAlign: function(align) {\r\n\t\t\tif (align === 'center') {\r\n\t\t\t\treturn align;\r\n\t\t\t}\r\n\t\t\treturn align === 'right' ? 'left' : 'right';\r\n\t\t},\r\n\t\txPlus: function(x, value) {\r\n\t\t\treturn x - value;\r\n\t\t},\r\n\t\tleftForLtr: function(x, itemWidth) {\r\n\t\t\treturn x - itemWidth;\r\n\t\t},\r\n\t};\r\n};\r\n\r\nvar getLtrAdapter = function() {\r\n\treturn {\r\n\t\tx: function(x) {\r\n\t\t\treturn x;\r\n\t\t},\r\n\t\tsetWidth: function(w) { // eslint-disable-line no-unused-vars\r\n\t\t},\r\n\t\ttextAlign: function(align) {\r\n\t\t\treturn align;\r\n\t\t},\r\n\t\txPlus: function(x, value) {\r\n\t\t\treturn x + value;\r\n\t\t},\r\n\t\tleftForLtr: function(x, _itemWidth) { // eslint-disable-line no-unused-vars\r\n\t\t\treturn x;\r\n\t\t},\r\n\t};\r\n};\r\n\r\nvar getAdapter = function(rtl, rectX, width) {\r\n\treturn rtl ? getRtlAdapter(rectX, width) : getLtrAdapter();\r\n};\r\n\r\nvar overrideTextDirection = function(ctx, direction) {\r\n\tvar style, original;\r\n\tif (direction === 'ltr' || direction === 'rtl') {\r\n\t\tstyle = ctx.canvas.style;\r\n\t\toriginal = [\r\n\t\t\tstyle.getPropertyValue('direction'),\r\n\t\t\tstyle.getPropertyPriority('direction'),\r\n\t\t];\r\n\r\n\t\tstyle.setProperty('direction', direction, 'important');\r\n\t\tctx.prevTextDirection = original;\r\n\t}\r\n};\r\n\r\nvar restoreTextDirection = function(ctx) {\r\n\tvar original = ctx.prevTextDirection;\r\n\tif (original !== undefined) {\r\n\t\tdelete ctx.prevTextDirection;\r\n\t\tctx.canvas.style.setProperty('direction', original[0], original[1]);\r\n\t}\r\n};\r\n\r\nvar helpers_rtl = {\r\n\tgetRtlAdapter: getAdapter,\r\n\toverrideTextDirection: overrideTextDirection,\r\n\trestoreTextDirection: restoreTextDirection,\r\n};\n\nvar helpers$1 = helpers_core;\r\nvar easing = helpers_easing;\r\nvar canvas = helpers_canvas;\r\nvar options = helpers_options;\r\nvar math = helpers_math;\r\nvar rtl = helpers_rtl;\nhelpers$1.easing = easing;\nhelpers$1.canvas = canvas;\nhelpers$1.options = options;\nhelpers$1.math = math;\nhelpers$1.rtl = rtl;\n\nfunction interpolate(start, view, model, ease) {\r\n\tvar keys = Object.keys(model);\r\n\tvar i, ilen, key, actual, origin, target, type, c0, c1;\r\n\r\n\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\tkey = keys[i];\r\n\r\n\t\ttarget = model[key];\r\n\r\n\t\t// if a value is added to the model after pivot() has been called, the view\r\n\t\t// doesn't contain it, so let's initialize the view to the target value.\r\n\t\tif (!view.hasOwnProperty(key)) {\r\n\t\t\tview[key] = target;\r\n\t\t}\r\n\r\n\t\tactual = view[key];\r\n\r\n\t\tif (actual === target || key[0] === '_') {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tif (!start.hasOwnProperty(key)) {\r\n\t\t\tstart[key] = actual;\r\n\t\t}\r\n\r\n\t\torigin = start[key];\r\n\r\n\t\ttype = typeof target;\r\n\r\n\t\tif (type === typeof origin) {\r\n\t\t\tif (type === 'string') {\r\n\t\t\t\tc0 = chartjsColor(origin);\r\n\t\t\t\tif (c0.valid) {\r\n\t\t\t\t\tc1 = chartjsColor(target);\r\n\t\t\t\t\tif (c1.valid) {\r\n\t\t\t\t\t\tview[key] = c1.mix(c0, ease).rgbString();\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else if (helpers$1.isFinite(origin) && helpers$1.isFinite(target)) {\r\n\t\t\t\tview[key] = origin + (target - origin) * ease;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tview[key] = target;\r\n\t}\r\n}\r\n\r\nvar Element = function(configuration) {\r\n\thelpers$1.extend(this, configuration);\r\n\tthis.initialize.apply(this, arguments);\r\n};\r\n\r\nhelpers$1.extend(Element.prototype, {\r\n\t_type: undefined,\r\n\r\n\tinitialize: function() {\r\n\t\tthis.hidden = false;\r\n\t},\r\n\r\n\tpivot: function() {\r\n\t\tvar me = this;\r\n\t\tif (!me._view) {\r\n\t\t\tme._view = helpers$1.extend({}, me._model);\r\n\t\t}\r\n\t\tme._start = {};\r\n\t\treturn me;\r\n\t},\r\n\r\n\ttransition: function(ease) {\r\n\t\tvar me = this;\r\n\t\tvar model = me._model;\r\n\t\tvar start = me._start;\r\n\t\tvar view = me._view;\r\n\r\n\t\t// No animation -> No Transition\r\n\t\tif (!model || ease === 1) {\r\n\t\t\tme._view = helpers$1.extend({}, model);\r\n\t\t\tme._start = null;\r\n\t\t\treturn me;\r\n\t\t}\r\n\r\n\t\tif (!view) {\r\n\t\t\tview = me._view = {};\r\n\t\t}\r\n\r\n\t\tif (!start) {\r\n\t\t\tstart = me._start = {};\r\n\t\t}\r\n\r\n\t\tinterpolate(start, view, model, ease);\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\treturn {\r\n\t\t\tx: this._model.x,\r\n\t\t\ty: this._model.y\r\n\t\t};\r\n\t},\r\n\r\n\thasValue: function() {\r\n\t\treturn helpers$1.isNumber(this._model.x) && helpers$1.isNumber(this._model.y);\r\n\t}\r\n});\r\n\r\nElement.extend = helpers$1.inherits;\r\n\r\nvar core_element = Element;\n\nvar exports$3 = core_element.extend({\r\n\tchart: null, // the animation associated chart instance\r\n\tcurrentStep: 0, // the current animation step\r\n\tnumSteps: 60, // default number of steps\r\n\teasing: '', // the easing to use for this animation\r\n\trender: null, // render function used by the animation service\r\n\r\n\tonAnimationProgress: null, // user specified callback to fire on each step of the animation\r\n\tonAnimationComplete: null, // user specified callback to fire when the animation finishes\r\n});\r\n\r\nvar core_animation = exports$3;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.Animation instead\r\n * @prop Chart.Animation#animationObject\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n */\r\nObject.defineProperty(exports$3.prototype, 'animationObject', {\r\n\tget: function() {\r\n\t\treturn this;\r\n\t}\r\n});\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.Animation#chart instead\r\n * @prop Chart.Animation#chartInstance\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n */\r\nObject.defineProperty(exports$3.prototype, 'chartInstance', {\r\n\tget: function() {\r\n\t\treturn this.chart;\r\n\t},\r\n\tset: function(value) {\r\n\t\tthis.chart = value;\r\n\t}\r\n});\n\ncore_defaults._set('global', {\r\n\tanimation: {\r\n\t\tduration: 1000,\r\n\t\teasing: 'easeOutQuart',\r\n\t\tonProgress: helpers$1.noop,\r\n\t\tonComplete: helpers$1.noop\r\n\t}\r\n});\r\n\r\nvar core_animations = {\r\n\tanimations: [],\r\n\trequest: null,\r\n\r\n\t/**\r\n\t * @param {Chart} chart - The chart to animate.\r\n\t * @param {Chart.Animation} animation - The animation that we will animate.\r\n\t * @param {number} duration - The animation duration in ms.\r\n\t * @param {boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions\r\n\t */\r\n\taddAnimation: function(chart, animation, duration, lazy) {\r\n\t\tvar animations = this.animations;\r\n\t\tvar i, ilen;\r\n\r\n\t\tanimation.chart = chart;\r\n\t\tanimation.startTime = Date.now();\r\n\t\tanimation.duration = duration;\r\n\r\n\t\tif (!lazy) {\r\n\t\t\tchart.animating = true;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = animations.length; i < ilen; ++i) {\r\n\t\t\tif (animations[i].chart === chart) {\r\n\t\t\t\tanimations[i] = animation;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tanimations.push(animation);\r\n\r\n\t\t// If there are no animations queued, manually kickstart a digest, for lack of a better word\r\n\t\tif (animations.length === 1) {\r\n\t\t\tthis.requestAnimationFrame();\r\n\t\t}\r\n\t},\r\n\r\n\tcancelAnimation: function(chart) {\r\n\t\tvar index = helpers$1.findIndex(this.animations, function(animation) {\r\n\t\t\treturn animation.chart === chart;\r\n\t\t});\r\n\r\n\t\tif (index !== -1) {\r\n\t\t\tthis.animations.splice(index, 1);\r\n\t\t\tchart.animating = false;\r\n\t\t}\r\n\t},\r\n\r\n\trequestAnimationFrame: function() {\r\n\t\tvar me = this;\r\n\t\tif (me.request === null) {\r\n\t\t\t// Skip animation frame requests until the active one is executed.\r\n\t\t\t// This can happen when processing mouse events, e.g. 'mousemove'\r\n\t\t\t// and 'mouseout' events will trigger multiple renders.\r\n\t\t\tme.request = helpers$1.requestAnimFrame.call(window, function() {\r\n\t\t\t\tme.request = null;\r\n\t\t\t\tme.startDigest();\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tstartDigest: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tme.advance();\r\n\r\n\t\t// Do we have more stuff to animate?\r\n\t\tif (me.animations.length > 0) {\r\n\t\t\tme.requestAnimationFrame();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tadvance: function() {\r\n\t\tvar animations = this.animations;\r\n\t\tvar animation, chart, numSteps, nextStep;\r\n\t\tvar i = 0;\r\n\r\n\t\t// 1 animation per chart, so we are looping charts here\r\n\t\twhile (i < animations.length) {\r\n\t\t\tanimation = animations[i];\r\n\t\t\tchart = animation.chart;\r\n\t\t\tnumSteps = animation.numSteps;\r\n\r\n\t\t\t// Make sure that currentStep starts at 1\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/6104\r\n\t\t\tnextStep = Math.floor((Date.now() - animation.startTime) / animation.duration * numSteps) + 1;\r\n\t\t\tanimation.currentStep = Math.min(nextStep, numSteps);\r\n\r\n\t\t\thelpers$1.callback(animation.render, [chart, animation], chart);\r\n\t\t\thelpers$1.callback(animation.onAnimationProgress, [animation], chart);\r\n\r\n\t\t\tif (animation.currentStep >= numSteps) {\r\n\t\t\t\thelpers$1.callback(animation.onAnimationComplete, [animation], chart);\r\n\t\t\t\tchart.animating = false;\r\n\t\t\t\tanimations.splice(i, 1);\r\n\t\t\t} else {\r\n\t\t\t\t++i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\nvar resolve = helpers$1.options.resolve;\r\n\r\nvar arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\r\n\r\n/**\r\n * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',\r\n * 'unshift') and notify the listener AFTER the array has been altered. Listeners are\r\n * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.\r\n */\r\nfunction listenArrayEvents(array, listener) {\r\n\tif (array._chartjs) {\r\n\t\tarray._chartjs.listeners.push(listener);\r\n\t\treturn;\r\n\t}\r\n\r\n\tObject.defineProperty(array, '_chartjs', {\r\n\t\tconfigurable: true,\r\n\t\tenumerable: false,\r\n\t\tvalue: {\r\n\t\t\tlisteners: [listener]\r\n\t\t}\r\n\t});\r\n\r\n\tarrayEvents.forEach(function(key) {\r\n\t\tvar method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);\r\n\t\tvar base = array[key];\r\n\r\n\t\tObject.defineProperty(array, key, {\r\n\t\t\tconfigurable: true,\r\n\t\t\tenumerable: false,\r\n\t\t\tvalue: function() {\r\n\t\t\t\tvar args = Array.prototype.slice.call(arguments);\r\n\t\t\t\tvar res = base.apply(this, args);\r\n\r\n\t\t\t\thelpers$1.each(array._chartjs.listeners, function(object) {\r\n\t\t\t\t\tif (typeof object[method] === 'function') {\r\n\t\t\t\t\t\tobject[method].apply(object, args);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t\treturn res;\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n}\r\n\r\n/**\r\n * Removes the given array event listener and cleanup extra attached properties (such as\r\n * the _chartjs stub and overridden methods) if array doesn't have any more listeners.\r\n */\r\nfunction unlistenArrayEvents(array, listener) {\r\n\tvar stub = array._chartjs;\r\n\tif (!stub) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tvar listeners = stub.listeners;\r\n\tvar index = listeners.indexOf(listener);\r\n\tif (index !== -1) {\r\n\t\tlisteners.splice(index, 1);\r\n\t}\r\n\r\n\tif (listeners.length > 0) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tarrayEvents.forEach(function(key) {\r\n\t\tdelete array[key];\r\n\t});\r\n\r\n\tdelete array._chartjs;\r\n}\r\n\r\n// Base class for all dataset controllers (line, bar, etc)\r\nvar DatasetController = function(chart, datasetIndex) {\r\n\tthis.initialize(chart, datasetIndex);\r\n};\r\n\r\nhelpers$1.extend(DatasetController.prototype, {\r\n\r\n\t/**\r\n\t * Element type used to generate a meta dataset (e.g. Chart.element.Line).\r\n\t * @type {Chart.core.element}\r\n\t */\r\n\tdatasetElementType: null,\r\n\r\n\t/**\r\n\t * Element type used to generate a meta data (e.g. Chart.element.Point).\r\n\t * @type {Chart.core.element}\r\n\t */\r\n\tdataElementType: null,\r\n\r\n\t/**\r\n\t * Dataset element option keys to be resolved in _resolveDatasetElementOptions.\r\n\t * A derived controller may override this to resolve controller-specific options.\r\n\t * The keys defined here are for backward compatibility for legend styles.\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderColor',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'borderWidth'\r\n\t],\r\n\r\n\t/**\r\n\t * Data element option keys to be resolved in _resolveDataElementOptions.\r\n\t * A derived controller may override this to resolve controller-specific options.\r\n\t * The keys defined here are for backward compatibility for legend styles.\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'pointStyle'\r\n\t],\r\n\r\n\tinitialize: function(chart, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tme.chart = chart;\r\n\t\tme.index = datasetIndex;\r\n\t\tme.linkScales();\r\n\t\tme.addElements();\r\n\t\tme._type = me.getMeta().type;\r\n\t},\r\n\r\n\tupdateIndex: function(datasetIndex) {\r\n\t\tthis.index = datasetIndex;\r\n\t},\r\n\r\n\tlinkScales: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar chart = me.chart;\r\n\t\tvar scales = chart.scales;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar scalesOpts = chart.options.scales;\r\n\r\n\t\tif (meta.xAxisID === null || !(meta.xAxisID in scales) || dataset.xAxisID) {\r\n\t\t\tmeta.xAxisID = dataset.xAxisID || scalesOpts.xAxes[0].id;\r\n\t\t}\r\n\t\tif (meta.yAxisID === null || !(meta.yAxisID in scales) || dataset.yAxisID) {\r\n\t\t\tmeta.yAxisID = dataset.yAxisID || scalesOpts.yAxes[0].id;\r\n\t\t}\r\n\t},\r\n\r\n\tgetDataset: function() {\r\n\t\treturn this.chart.data.datasets[this.index];\r\n\t},\r\n\r\n\tgetMeta: function() {\r\n\t\treturn this.chart.getDatasetMeta(this.index);\r\n\t},\r\n\r\n\tgetScaleForId: function(scaleID) {\r\n\t\treturn this.chart.scales[scaleID];\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.getMeta().yAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.getMeta().xAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScale: function() {\r\n\t\treturn this.getScaleForId(this._getValueScaleId());\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScale: function() {\r\n\t\treturn this.getScaleForId(this._getIndexScaleId());\r\n\t},\r\n\r\n\treset: function() {\r\n\t\tthis._update(true);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tdestroy: function() {\r\n\t\tif (this._data) {\r\n\t\t\tunlistenArrayEvents(this._data, this);\r\n\t\t}\r\n\t},\r\n\r\n\tcreateMetaDataset: function() {\r\n\t\tvar me = this;\r\n\t\tvar type = me.datasetElementType;\r\n\t\treturn type && new type({\r\n\t\t\t_chart: me.chart,\r\n\t\t\t_datasetIndex: me.index\r\n\t\t});\r\n\t},\r\n\r\n\tcreateMetaData: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar type = me.dataElementType;\r\n\t\treturn type && new type({\r\n\t\t\t_chart: me.chart,\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index\r\n\t\t});\r\n\t},\r\n\r\n\taddElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar data = me.getDataset().data || [];\r\n\t\tvar metaData = meta.data;\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = data.length; i < ilen; ++i) {\r\n\t\t\tmetaData[i] = metaData[i] || me.createMetaData(i);\r\n\t\t}\r\n\r\n\t\tmeta.dataset = meta.dataset || me.createMetaDataset();\r\n\t},\r\n\r\n\taddElementAndReset: function(index) {\r\n\t\tvar element = this.createMetaData(index);\r\n\t\tthis.getMeta().data.splice(index, 0, element);\r\n\t\tthis.updateElement(element, index, true);\r\n\t},\r\n\r\n\tbuildOrUpdateElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar data = dataset.data || (dataset.data = []);\r\n\r\n\t\t// In order to correctly handle data addition/deletion animation (an thus simulate\r\n\t\t// real-time charts), we need to monitor these data modifications and synchronize\r\n\t\t// the internal meta data accordingly.\r\n\t\tif (me._data !== data) {\r\n\t\t\tif (me._data) {\r\n\t\t\t\t// This case happens when the user replaced the data array instance.\r\n\t\t\t\tunlistenArrayEvents(me._data, me);\r\n\t\t\t}\r\n\r\n\t\t\tif (data && Object.isExtensible(data)) {\r\n\t\t\t\tlistenArrayEvents(data, me);\r\n\t\t\t}\r\n\t\t\tme._data = data;\r\n\t\t}\r\n\r\n\t\t// Re-sync meta data in case the user replaced the data array or if we missed\r\n\t\t// any updates and so make sure that we handle number of datapoints changing.\r\n\t\tme.resyncElements();\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the merged user-supplied and default dataset-level options\r\n\t * @private\r\n\t */\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tme._config = helpers$1.merge(Object.create(null), [\r\n\t\t\tme.chart.options.datasets[me._type],\r\n\t\t\tme.getDataset(),\r\n\t\t], {\r\n\t\t\tmerger: function(key, target, source) {\r\n\t\t\t\tif (key !== '_meta' && key !== 'data') {\r\n\t\t\t\t\thelpers$1._merger(key, target, source);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\r\n\t_update: function(reset) {\r\n\t\tvar me = this;\r\n\t\tme._configure();\r\n\t\tme._cachedDataOpts = null;\r\n\t\tme.update(reset);\r\n\t},\r\n\r\n\tupdate: helpers$1.noop,\r\n\r\n\ttransition: function(easingValue) {\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar elements = meta.data || [];\r\n\t\tvar ilen = elements.length;\r\n\t\tvar i = 0;\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\telements[i].transition(easingValue);\r\n\t\t}\r\n\r\n\t\tif (meta.dataset) {\r\n\t\t\tmeta.dataset.transition(easingValue);\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar elements = meta.data || [];\r\n\t\tvar ilen = elements.length;\r\n\t\tvar i = 0;\r\n\r\n\t\tif (meta.dataset) {\r\n\t\t\tmeta.dataset.draw();\r\n\t\t}\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\telements[i].draw();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a set of predefined style properties that should be used to represent the dataset\r\n\t * or the data if the index is specified\r\n\t * @param {number} index - data index\r\n\t * @return {IStyleInterface} style object\r\n\t */\r\n\tgetStyle: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar dataset = meta.dataset;\r\n\t\tvar style;\r\n\r\n\t\tme._configure();\r\n\t\tif (dataset && index === undefined) {\r\n\t\t\tstyle = me._resolveDatasetElementOptions(dataset || {});\r\n\t\t} else {\r\n\t\t\tindex = index || 0;\r\n\t\t\tstyle = me._resolveDataElementOptions(meta.data[index] || {}, index);\r\n\t\t}\r\n\r\n\t\tif (style.fill === false || style.fill === null) {\r\n\t\t\tstyle.backgroundColor = style.borderColor;\r\n\t\t}\r\n\r\n\t\treturn style;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function(element, hover) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasetOpts = me._config;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar options = chart.options.elements[me.datasetElementType.prototype._type] || {};\r\n\t\tvar elementOptions = me._datasetElementOptions;\r\n\t\tvar values = {};\r\n\t\tvar i, ilen, key, readKey;\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataset: me.getDataset(),\r\n\t\t\tdatasetIndex: me.index,\r\n\t\t\thover: hover\r\n\t\t};\r\n\r\n\t\tfor (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\r\n\t\t\tkey = elementOptions[i];\r\n\t\t\treadKey = hover ? 'hover' + key.charAt(0).toUpperCase() + key.slice(1) : key;\r\n\t\t\tvalues[key] = resolve([\r\n\t\t\t\tcustom[readKey],\r\n\t\t\t\tdatasetOpts[readKey],\r\n\t\t\t\toptions[readKey]\r\n\t\t\t], context);\r\n\t\t}\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function(element, index) {\r\n\t\tvar me = this;\r\n\t\tvar custom = element && element.custom;\r\n\t\tvar cached = me._cachedDataOpts;\r\n\t\tif (cached && !custom) {\r\n\t\t\treturn cached;\r\n\t\t}\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasetOpts = me._config;\r\n\t\tvar options = chart.options.elements[me.dataElementType.prototype._type] || {};\r\n\t\tvar elementOptions = me._dataElementOptions;\r\n\t\tvar values = {};\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: me.getDataset(),\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\t// `resolve` sets cacheable to `false` if any option is indexed or scripted\r\n\t\tvar info = {cacheable: !custom};\r\n\r\n\t\tvar keys, i, ilen, key;\r\n\r\n\t\tcustom = custom || {};\r\n\r\n\t\tif (helpers$1.isArray(elementOptions)) {\r\n\t\t\tfor (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\r\n\t\t\t\tkey = elementOptions[i];\r\n\t\t\t\tvalues[key] = resolve([\r\n\t\t\t\t\tcustom[key],\r\n\t\t\t\t\tdatasetOpts[key],\r\n\t\t\t\t\toptions[key]\r\n\t\t\t\t], context, index, info);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tkeys = Object.keys(elementOptions);\r\n\t\t\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\t\t\tkey = keys[i];\r\n\t\t\t\tvalues[key] = resolve([\r\n\t\t\t\t\tcustom[key],\r\n\t\t\t\t\tdatasetOpts[elementOptions[key]],\r\n\t\t\t\t\tdatasetOpts[key],\r\n\t\t\t\t\toptions[key]\r\n\t\t\t\t], context, index, info);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (info.cacheable) {\r\n\t\t\tme._cachedDataOpts = Object.freeze(values);\r\n\t\t}\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tremoveHoverStyle: function(element) {\r\n\t\thelpers$1.merge(element._model, element.$previousStyle || {});\r\n\t\tdelete element.$previousStyle;\r\n\t},\r\n\r\n\tsetHoverStyle: function(element) {\r\n\t\tvar dataset = this.chart.data.datasets[element._datasetIndex];\r\n\t\tvar index = element._index;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar model = element._model;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\telement.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = resolve([custom.hoverBackgroundColor, dataset.hoverBackgroundColor, getHoverColor(model.backgroundColor)], undefined, index);\r\n\t\tmodel.borderColor = resolve([custom.hoverBorderColor, dataset.hoverBorderColor, getHoverColor(model.borderColor)], undefined, index);\r\n\t\tmodel.borderWidth = resolve([custom.hoverBorderWidth, dataset.hoverBorderWidth, model.borderWidth], undefined, index);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_removeDatasetHoverStyle: function() {\r\n\t\tvar element = this.getMeta().dataset;\r\n\r\n\t\tif (element) {\r\n\t\t\tthis.removeHoverStyle(element);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_setDatasetHoverStyle: function() {\r\n\t\tvar element = this.getMeta().dataset;\r\n\t\tvar prev = {};\r\n\t\tvar i, ilen, key, keys, hoverOptions, model;\r\n\r\n\t\tif (!element) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmodel = element._model;\r\n\t\thoverOptions = this._resolveDatasetElementOptions(element, true);\r\n\r\n\t\tkeys = Object.keys(hoverOptions);\r\n\t\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\t\tkey = keys[i];\r\n\t\t\tprev[key] = model[key];\r\n\t\t\tmodel[key] = hoverOptions[key];\r\n\t\t}\r\n\r\n\t\telement.$previousStyle = prev;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tresyncElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar data = me.getDataset().data;\r\n\t\tvar numMeta = meta.data.length;\r\n\t\tvar numData = data.length;\r\n\r\n\t\tif (numData < numMeta) {\r\n\t\t\tmeta.data.splice(numData, numMeta - numData);\r\n\t\t} else if (numData > numMeta) {\r\n\t\t\tme.insertElements(numMeta, numData - numMeta);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tinsertElements: function(start, count) {\r\n\t\tfor (var i = 0; i < count; ++i) {\r\n\t\t\tthis.addElementAndReset(start + i);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataPush: function() {\r\n\t\tvar count = arguments.length;\r\n\t\tthis.insertElements(this.getDataset().data.length - count, count);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataPop: function() {\r\n\t\tthis.getMeta().data.pop();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataShift: function() {\r\n\t\tthis.getMeta().data.shift();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataSplice: function(start, count) {\r\n\t\tthis.getMeta().data.splice(start, count);\r\n\t\tthis.insertElements(start, arguments.length - 2);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataUnshift: function() {\r\n\t\tthis.insertElements(0, arguments.length);\r\n\t}\r\n});\r\n\r\nDatasetController.extend = helpers$1.inherits;\r\n\r\nvar core_datasetController = DatasetController;\n\nvar TAU = Math.PI * 2;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tarc: {\r\n\t\t\tbackgroundColor: core_defaults.global.defaultColor,\r\n\t\t\tborderColor: '#fff',\r\n\t\t\tborderWidth: 2,\r\n\t\t\tborderAlign: 'center'\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction clipArc(ctx, arc) {\r\n\tvar startAngle = arc.startAngle;\r\n\tvar endAngle = arc.endAngle;\r\n\tvar pixelMargin = arc.pixelMargin;\r\n\tvar angleMargin = pixelMargin / arc.outerRadius;\r\n\tvar x = arc.x;\r\n\tvar y = arc.y;\r\n\r\n\t// Draw an inner border by cliping the arc and drawing a double-width border\r\n\t// Enlarge the clipping arc by 0.33 pixels to eliminate glitches between borders\r\n\tctx.beginPath();\r\n\tctx.arc(x, y, arc.outerRadius, startAngle - angleMargin, endAngle + angleMargin);\r\n\tif (arc.innerRadius > pixelMargin) {\r\n\t\tangleMargin = pixelMargin / arc.innerRadius;\r\n\t\tctx.arc(x, y, arc.innerRadius - pixelMargin, endAngle + angleMargin, startAngle - angleMargin, true);\r\n\t} else {\r\n\t\tctx.arc(x, y, pixelMargin, endAngle + Math.PI / 2, startAngle - Math.PI / 2);\r\n\t}\r\n\tctx.closePath();\r\n\tctx.clip();\r\n}\r\n\r\nfunction drawFullCircleBorders(ctx, vm, arc, inner) {\r\n\tvar endAngle = arc.endAngle;\r\n\tvar i;\r\n\r\n\tif (inner) {\r\n\t\tarc.endAngle = arc.startAngle + TAU;\r\n\t\tclipArc(ctx, arc);\r\n\t\tarc.endAngle = endAngle;\r\n\t\tif (arc.endAngle === arc.startAngle && arc.fullCircles) {\r\n\t\t\tarc.endAngle += TAU;\r\n\t\t\tarc.fullCircles--;\r\n\t\t}\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.startAngle + TAU, arc.startAngle, true);\r\n\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\tctx.stroke();\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.startAngle + TAU);\r\n\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\tctx.stroke();\r\n\t}\r\n}\r\n\r\nfunction drawBorder(ctx, vm, arc) {\r\n\tvar inner = vm.borderAlign === 'inner';\r\n\r\n\tif (inner) {\r\n\t\tctx.lineWidth = vm.borderWidth * 2;\r\n\t\tctx.lineJoin = 'round';\r\n\t} else {\r\n\t\tctx.lineWidth = vm.borderWidth;\r\n\t\tctx.lineJoin = 'bevel';\r\n\t}\r\n\r\n\tif (arc.fullCircles) {\r\n\t\tdrawFullCircleBorders(ctx, vm, arc, inner);\r\n\t}\r\n\r\n\tif (inner) {\r\n\t\tclipArc(ctx, arc);\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.endAngle);\r\n\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\tctx.closePath();\r\n\tctx.stroke();\r\n}\r\n\r\nvar element_arc = core_element.extend({\r\n\t_type: 'arc',\r\n\r\n\tinLabelRange: function(mouseX) {\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm) {\r\n\t\t\treturn (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2));\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\tinRange: function(chartX, chartY) {\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm) {\r\n\t\t\tvar pointRelativePosition = helpers$1.getAngleFromPoint(vm, {x: chartX, y: chartY});\r\n\t\t\tvar angle = pointRelativePosition.angle;\r\n\t\t\tvar distance = pointRelativePosition.distance;\r\n\r\n\t\t\t// Sanitise angle range\r\n\t\t\tvar startAngle = vm.startAngle;\r\n\t\t\tvar endAngle = vm.endAngle;\r\n\t\t\twhile (endAngle < startAngle) {\r\n\t\t\t\tendAngle += TAU;\r\n\t\t\t}\r\n\t\t\twhile (angle > endAngle) {\r\n\t\t\t\tangle -= TAU;\r\n\t\t\t}\r\n\t\t\twhile (angle < startAngle) {\r\n\t\t\t\tangle += TAU;\r\n\t\t\t}\r\n\r\n\t\t\t// Check if within the range of the open/close angle\r\n\t\t\tvar betweenAngles = (angle >= startAngle && angle <= endAngle);\r\n\t\t\tvar withinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius);\r\n\r\n\t\t\treturn (betweenAngles && withinRadius);\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar halfAngle = (vm.startAngle + vm.endAngle) / 2;\r\n\t\tvar halfRadius = (vm.innerRadius + vm.outerRadius) / 2;\r\n\t\treturn {\r\n\t\t\tx: vm.x + Math.cos(halfAngle) * halfRadius,\r\n\t\t\ty: vm.y + Math.sin(halfAngle) * halfRadius\r\n\t\t};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2);\r\n\t\tvar rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;\r\n\r\n\t\treturn {\r\n\t\t\tx: vm.x + (Math.cos(centreAngle) * rangeFromCentre),\r\n\t\t\ty: vm.y + (Math.sin(centreAngle) * rangeFromCentre)\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar pixelMargin = (vm.borderAlign === 'inner') ? 0.33 : 0;\r\n\t\tvar arc = {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y,\r\n\t\t\tinnerRadius: vm.innerRadius,\r\n\t\t\touterRadius: Math.max(vm.outerRadius - pixelMargin, 0),\r\n\t\t\tpixelMargin: pixelMargin,\r\n\t\t\tstartAngle: vm.startAngle,\r\n\t\t\tendAngle: vm.endAngle,\r\n\t\t\tfullCircles: Math.floor(vm.circumference / TAU)\r\n\t\t};\r\n\t\tvar i;\r\n\r\n\t\tctx.save();\r\n\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.strokeStyle = vm.borderColor;\r\n\r\n\t\tif (arc.fullCircles) {\r\n\t\t\tarc.endAngle = arc.startAngle + TAU;\r\n\t\t\tctx.beginPath();\r\n\t\t\tctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\r\n\t\t\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\t\t\tctx.closePath();\r\n\t\t\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\t\t\tctx.fill();\r\n\t\t\t}\r\n\t\t\tarc.endAngle = arc.startAngle + vm.circumference % TAU;\r\n\t\t}\r\n\r\n\t\tctx.beginPath();\r\n\t\tctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\r\n\t\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\t\tctx.closePath();\r\n\t\tctx.fill();\r\n\r\n\t\tif (vm.borderWidth) {\r\n\t\t\tdrawBorder(ctx, vm, arc);\r\n\t\t}\r\n\r\n\t\tctx.restore();\r\n\t}\r\n});\n\nvar valueOrDefault$1 = helpers$1.valueOrDefault;\r\n\r\nvar defaultColor = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tline: {\r\n\t\t\ttension: 0.4,\r\n\t\t\tbackgroundColor: defaultColor,\r\n\t\t\tborderWidth: 3,\r\n\t\t\tborderColor: defaultColor,\r\n\t\t\tborderCapStyle: 'butt',\r\n\t\t\tborderDash: [],\r\n\t\t\tborderDashOffset: 0.0,\r\n\t\t\tborderJoinStyle: 'miter',\r\n\t\t\tcapBezierPoints: true,\r\n\t\t\tfill: true, // do we fill in the area between the line and its base axis\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar element_line = core_element.extend({\r\n\t_type: 'line',\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar vm = me._view;\r\n\t\tvar ctx = me._chart.ctx;\r\n\t\tvar spanGaps = vm.spanGaps;\r\n\t\tvar points = me._children.slice(); // clone array\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar globalOptionLineElements = globalDefaults.elements.line;\r\n\t\tvar lastDrawnIndex = -1;\r\n\t\tvar closePath = me._loop;\r\n\t\tvar index, previous, currentVM;\r\n\r\n\t\tif (!points.length) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (me._loop) {\r\n\t\t\tfor (index = 0; index < points.length; ++index) {\r\n\t\t\t\tprevious = helpers$1.previousItem(points, index);\r\n\t\t\t\t// If the line has an open path, shift the point array\r\n\t\t\t\tif (!points[index]._view.skip && previous._view.skip) {\r\n\t\t\t\t\tpoints = points.slice(index).concat(points.slice(0, index));\r\n\t\t\t\t\tclosePath = spanGaps;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// If the line has a close path, add the first point again\r\n\t\t\tif (closePath) {\r\n\t\t\t\tpoints.push(points[0]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\r\n\t\t// Stroke Line Options\r\n\t\tctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle;\r\n\r\n\t\t// IE 9 and 10 do not support line dash\r\n\t\tif (ctx.setLineDash) {\r\n\t\t\tctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);\r\n\t\t}\r\n\r\n\t\tctx.lineDashOffset = valueOrDefault$1(vm.borderDashOffset, globalOptionLineElements.borderDashOffset);\r\n\t\tctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;\r\n\t\tctx.lineWidth = valueOrDefault$1(vm.borderWidth, globalOptionLineElements.borderWidth);\r\n\t\tctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor;\r\n\r\n\t\t// Stroke Line\r\n\t\tctx.beginPath();\r\n\r\n\t\t// First point moves to it's starting position no matter what\r\n\t\tcurrentVM = points[0]._view;\r\n\t\tif (!currentVM.skip) {\r\n\t\t\tctx.moveTo(currentVM.x, currentVM.y);\r\n\t\t\tlastDrawnIndex = 0;\r\n\t\t}\r\n\r\n\t\tfor (index = 1; index < points.length; ++index) {\r\n\t\t\tcurrentVM = points[index]._view;\r\n\t\t\tprevious = lastDrawnIndex === -1 ? helpers$1.previousItem(points, index) : points[lastDrawnIndex];\r\n\r\n\t\t\tif (!currentVM.skip) {\r\n\t\t\t\tif ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) {\r\n\t\t\t\t\t// There was a gap and this is the first point after the gap\r\n\t\t\t\t\tctx.moveTo(currentVM.x, currentVM.y);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Line to next point\r\n\t\t\t\t\thelpers$1.canvas.lineTo(ctx, previous._view, currentVM);\r\n\t\t\t\t}\r\n\t\t\t\tlastDrawnIndex = index;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (closePath) {\r\n\t\t\tctx.closePath();\r\n\t\t}\r\n\r\n\t\tctx.stroke();\r\n\t\tctx.restore();\r\n\t}\r\n});\n\nvar valueOrDefault$2 = helpers$1.valueOrDefault;\r\n\r\nvar defaultColor$1 = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tpoint: {\r\n\t\t\tradius: 3,\r\n\t\t\tpointStyle: 'circle',\r\n\t\t\tbackgroundColor: defaultColor$1,\r\n\t\t\tborderColor: defaultColor$1,\r\n\t\t\tborderWidth: 1,\r\n\t\t\t// Hover\r\n\t\t\thitRadius: 1,\r\n\t\t\thoverRadius: 4,\r\n\t\t\thoverBorderWidth: 1\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction xRange(mouseX) {\r\n\tvar vm = this._view;\r\n\treturn vm ? (Math.abs(mouseX - vm.x) < vm.radius + vm.hitRadius) : false;\r\n}\r\n\r\nfunction yRange(mouseY) {\r\n\tvar vm = this._view;\r\n\treturn vm ? (Math.abs(mouseY - vm.y) < vm.radius + vm.hitRadius) : false;\r\n}\r\n\r\nvar element_point = core_element.extend({\r\n\t_type: 'point',\r\n\r\n\tinRange: function(mouseX, mouseY) {\r\n\t\tvar vm = this._view;\r\n\t\treturn vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;\r\n\t},\r\n\r\n\tinLabelRange: xRange,\r\n\tinXRange: xRange,\r\n\tinYRange: yRange,\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\treturn Math.PI * Math.pow(this._view.radius, 2);\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y,\r\n\t\t\tpadding: vm.radius + vm.borderWidth\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function(chartArea) {\r\n\t\tvar vm = this._view;\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar pointStyle = vm.pointStyle;\r\n\t\tvar rotation = vm.rotation;\r\n\t\tvar radius = vm.radius;\r\n\t\tvar x = vm.x;\r\n\t\tvar y = vm.y;\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar defaultColor = globalDefaults.defaultColor; // eslint-disable-line no-shadow\r\n\r\n\t\tif (vm.skip) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Clipping for Points.\r\n\t\tif (chartArea === undefined || helpers$1.canvas._isPointInArea(vm, chartArea)) {\r\n\t\t\tctx.strokeStyle = vm.borderColor || defaultColor;\r\n\t\t\tctx.lineWidth = valueOrDefault$2(vm.borderWidth, globalDefaults.elements.point.borderWidth);\r\n\t\t\tctx.fillStyle = vm.backgroundColor || defaultColor;\r\n\t\t\thelpers$1.canvas.drawPoint(ctx, pointStyle, radius, x, y, rotation);\r\n\t\t}\r\n\t}\r\n});\n\nvar defaultColor$2 = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\trectangle: {\r\n\t\t\tbackgroundColor: defaultColor$2,\r\n\t\t\tborderColor: defaultColor$2,\r\n\t\t\tborderSkipped: 'bottom',\r\n\t\t\tborderWidth: 0\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction isVertical(vm) {\r\n\treturn vm && vm.width !== undefined;\r\n}\r\n\r\n/**\r\n * Helper function to get the bounds of the bar regardless of the orientation\r\n * @param bar {Chart.Element.Rectangle} the bar\r\n * @return {Bounds} bounds of the bar\r\n * @private\r\n */\r\nfunction getBarBounds(vm) {\r\n\tvar x1, x2, y1, y2, half;\r\n\r\n\tif (isVertical(vm)) {\r\n\t\thalf = vm.width / 2;\r\n\t\tx1 = vm.x - half;\r\n\t\tx2 = vm.x + half;\r\n\t\ty1 = Math.min(vm.y, vm.base);\r\n\t\ty2 = Math.max(vm.y, vm.base);\r\n\t} else {\r\n\t\thalf = vm.height / 2;\r\n\t\tx1 = Math.min(vm.x, vm.base);\r\n\t\tx2 = Math.max(vm.x, vm.base);\r\n\t\ty1 = vm.y - half;\r\n\t\ty2 = vm.y + half;\r\n\t}\r\n\r\n\treturn {\r\n\t\tleft: x1,\r\n\t\ttop: y1,\r\n\t\tright: x2,\r\n\t\tbottom: y2\r\n\t};\r\n}\r\n\r\nfunction swap(orig, v1, v2) {\r\n\treturn orig === v1 ? v2 : orig === v2 ? v1 : orig;\r\n}\r\n\r\nfunction parseBorderSkipped(vm) {\r\n\tvar edge = vm.borderSkipped;\r\n\tvar res = {};\r\n\r\n\tif (!edge) {\r\n\t\treturn res;\r\n\t}\r\n\r\n\tif (vm.horizontal) {\r\n\t\tif (vm.base > vm.x) {\r\n\t\t\tedge = swap(edge, 'left', 'right');\r\n\t\t}\r\n\t} else if (vm.base < vm.y) {\r\n\t\tedge = swap(edge, 'bottom', 'top');\r\n\t}\r\n\r\n\tres[edge] = true;\r\n\treturn res;\r\n}\r\n\r\nfunction parseBorderWidth(vm, maxW, maxH) {\r\n\tvar value = vm.borderWidth;\r\n\tvar skip = parseBorderSkipped(vm);\r\n\tvar t, r, b, l;\r\n\r\n\tif (helpers$1.isObject(value)) {\r\n\t\tt = +value.top || 0;\r\n\t\tr = +value.right || 0;\r\n\t\tb = +value.bottom || 0;\r\n\t\tl = +value.left || 0;\r\n\t} else {\r\n\t\tt = r = b = l = +value || 0;\r\n\t}\r\n\r\n\treturn {\r\n\t\tt: skip.top || (t < 0) ? 0 : t > maxH ? maxH : t,\r\n\t\tr: skip.right || (r < 0) ? 0 : r > maxW ? maxW : r,\r\n\t\tb: skip.bottom || (b < 0) ? 0 : b > maxH ? maxH : b,\r\n\t\tl: skip.left || (l < 0) ? 0 : l > maxW ? maxW : l\r\n\t};\r\n}\r\n\r\nfunction boundingRects(vm) {\r\n\tvar bounds = getBarBounds(vm);\r\n\tvar width = bounds.right - bounds.left;\r\n\tvar height = bounds.bottom - bounds.top;\r\n\tvar border = parseBorderWidth(vm, width / 2, height / 2);\r\n\r\n\treturn {\r\n\t\touter: {\r\n\t\t\tx: bounds.left,\r\n\t\t\ty: bounds.top,\r\n\t\t\tw: width,\r\n\t\t\th: height\r\n\t\t},\r\n\t\tinner: {\r\n\t\t\tx: bounds.left + border.l,\r\n\t\t\ty: bounds.top + border.t,\r\n\t\t\tw: width - border.l - border.r,\r\n\t\t\th: height - border.t - border.b\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction inRange(vm, x, y) {\r\n\tvar skipX = x === null;\r\n\tvar skipY = y === null;\r\n\tvar bounds = !vm || (skipX && skipY) ? false : getBarBounds(vm);\r\n\r\n\treturn bounds\r\n\t\t&& (skipX || x >= bounds.left && x <= bounds.right)\r\n\t\t&& (skipY || y >= bounds.top && y <= bounds.bottom);\r\n}\r\n\r\nvar element_rectangle = core_element.extend({\r\n\t_type: 'rectangle',\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar rects = boundingRects(vm);\r\n\t\tvar outer = rects.outer;\r\n\t\tvar inner = rects.inner;\r\n\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.fillRect(outer.x, outer.y, outer.w, outer.h);\r\n\r\n\t\tif (outer.w === inner.w && outer.h === inner.h) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.beginPath();\r\n\t\tctx.rect(outer.x, outer.y, outer.w, outer.h);\r\n\t\tctx.clip();\r\n\t\tctx.fillStyle = vm.borderColor;\r\n\t\tctx.rect(inner.x, inner.y, inner.w, inner.h);\r\n\t\tctx.fill('evenodd');\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\theight: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn vm.base - vm.y;\r\n\t},\r\n\r\n\tinRange: function(mouseX, mouseY) {\r\n\t\treturn inRange(this._view, mouseX, mouseY);\r\n\t},\r\n\r\n\tinLabelRange: function(mouseX, mouseY) {\r\n\t\tvar vm = this._view;\r\n\t\treturn isVertical(vm)\r\n\t\t\t? inRange(vm, mouseX, null)\r\n\t\t\t: inRange(vm, null, mouseY);\r\n\t},\r\n\r\n\tinXRange: function(mouseX) {\r\n\t\treturn inRange(this._view, mouseX, null);\r\n\t},\r\n\r\n\tinYRange: function(mouseY) {\r\n\t\treturn inRange(this._view, null, mouseY);\r\n\t},\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar x, y;\r\n\t\tif (isVertical(vm)) {\r\n\t\t\tx = vm.x;\r\n\t\t\ty = (vm.y + vm.base) / 2;\r\n\t\t} else {\r\n\t\t\tx = (vm.x + vm.base) / 2;\r\n\t\t\ty = vm.y;\r\n\t\t}\r\n\r\n\t\treturn {x: x, y: y};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\tvar vm = this._view;\r\n\r\n\t\treturn isVertical(vm)\r\n\t\t\t? vm.width * Math.abs(vm.y - vm.base)\r\n\t\t\t: vm.height * Math.abs(vm.x - vm.base);\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\t}\r\n});\n\nvar elements = {};\r\nvar Arc = element_arc;\r\nvar Line = element_line;\r\nvar Point = element_point;\r\nvar Rectangle = element_rectangle;\nelements.Arc = Arc;\nelements.Line = Line;\nelements.Point = Point;\nelements.Rectangle = Rectangle;\n\nvar deprecated = helpers$1._deprecated;\r\nvar valueOrDefault$3 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('bar', {\r\n\thover: {\r\n\t\tmode: 'label'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\toffset: true,\r\n\t\t\tgridLines: {\r\n\t\t\t\toffsetGridLines: true\r\n\t\t\t}\r\n\t\t}],\r\n\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear'\r\n\t\t}]\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\tbar: {\r\n\t\t\tcategoryPercentage: 0.8,\r\n\t\t\tbarPercentage: 0.9\r\n\t\t}\r\n\t}\r\n});\r\n\r\n/**\r\n * Computes the \"optimal\" sample size to maintain bars equally sized while preventing overlap.\r\n * @private\r\n */\r\nfunction computeMinSampleSize(scale, pixels) {\r\n\tvar min = scale._length;\r\n\tvar prev, curr, i, ilen;\r\n\r\n\tfor (i = 1, ilen = pixels.length; i < ilen; ++i) {\r\n\t\tmin = Math.min(min, Math.abs(pixels[i] - pixels[i - 1]));\r\n\t}\r\n\r\n\tfor (i = 0, ilen = scale.getTicks().length; i < ilen; ++i) {\r\n\t\tcurr = scale.getPixelForTick(i);\r\n\t\tmin = i > 0 ? Math.min(min, Math.abs(curr - prev)) : min;\r\n\t\tprev = curr;\r\n\t}\r\n\r\n\treturn min;\r\n}\r\n\r\n/**\r\n * Computes an \"ideal\" category based on the absolute bar thickness or, if undefined or null,\r\n * uses the smallest interval (see computeMinSampleSize) that prevents bar overlapping. This\r\n * mode currently always generates bars equally sized (until we introduce scriptable options?).\r\n * @private\r\n */\r\nfunction computeFitCategoryTraits(index, ruler, options) {\r\n\tvar thickness = options.barThickness;\r\n\tvar count = ruler.stackCount;\r\n\tvar curr = ruler.pixels[index];\r\n\tvar min = helpers$1.isNullOrUndef(thickness)\r\n\t\t? computeMinSampleSize(ruler.scale, ruler.pixels)\r\n\t\t: -1;\r\n\tvar size, ratio;\r\n\r\n\tif (helpers$1.isNullOrUndef(thickness)) {\r\n\t\tsize = min * options.categoryPercentage;\r\n\t\tratio = options.barPercentage;\r\n\t} else {\r\n\t\t// When bar thickness is enforced, category and bar percentages are ignored.\r\n\t\t// Note(SB): we could add support for relative bar thickness (e.g. barThickness: '50%')\r\n\t\t// and deprecate barPercentage since this value is ignored when thickness is absolute.\r\n\t\tsize = thickness * count;\r\n\t\tratio = 1;\r\n\t}\r\n\r\n\treturn {\r\n\t\tchunk: size / count,\r\n\t\tratio: ratio,\r\n\t\tstart: curr - (size / 2)\r\n\t};\r\n}\r\n\r\n/**\r\n * Computes an \"optimal\" category that globally arranges bars side by side (no gap when\r\n * percentage options are 1), based on the previous and following categories. This mode\r\n * generates bars with different widths when data are not evenly spaced.\r\n * @private\r\n */\r\nfunction computeFlexCategoryTraits(index, ruler, options) {\r\n\tvar pixels = ruler.pixels;\r\n\tvar curr = pixels[index];\r\n\tvar prev = index > 0 ? pixels[index - 1] : null;\r\n\tvar next = index < pixels.length - 1 ? pixels[index + 1] : null;\r\n\tvar percent = options.categoryPercentage;\r\n\tvar start, size;\r\n\r\n\tif (prev === null) {\r\n\t\t// first data: its size is double based on the next point or,\r\n\t\t// if it's also the last data, we use the scale size.\r\n\t\tprev = curr - (next === null ? ruler.end - ruler.start : next - curr);\r\n\t}\r\n\r\n\tif (next === null) {\r\n\t\t// last data: its size is also double based on the previous point.\r\n\t\tnext = curr + curr - prev;\r\n\t}\r\n\r\n\tstart = curr - (curr - Math.min(prev, next)) / 2 * percent;\r\n\tsize = Math.abs(next - prev) / 2 * percent;\r\n\r\n\treturn {\r\n\t\tchunk: size / ruler.stackCount,\r\n\t\tratio: options.barPercentage,\r\n\t\tstart: start\r\n\t};\r\n}\r\n\r\nvar controller_bar = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Rectangle,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderSkipped',\r\n\t\t'borderWidth',\r\n\t\t'barPercentage',\r\n\t\t'barThickness',\r\n\t\t'categoryPercentage',\r\n\t\t'maxBarThickness',\r\n\t\t'minBarLength'\r\n\t],\r\n\r\n\tinitialize: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta, scaleOpts;\r\n\r\n\t\tcore_datasetController.prototype.initialize.apply(me, arguments);\r\n\r\n\t\tmeta = me.getMeta();\r\n\t\tmeta.stack = me.getDataset().stack;\r\n\t\tmeta.bar = true;\r\n\r\n\t\tscaleOpts = me._getIndexScale().options;\r\n\t\tdeprecated('bar chart', scaleOpts.barPercentage, 'scales.[x/y]Axes.barPercentage', 'dataset.barPercentage');\r\n\t\tdeprecated('bar chart', scaleOpts.barThickness, 'scales.[x/y]Axes.barThickness', 'dataset.barThickness');\r\n\t\tdeprecated('bar chart', scaleOpts.categoryPercentage, 'scales.[x/y]Axes.categoryPercentage', 'dataset.categoryPercentage');\r\n\t\tdeprecated('bar chart', me._getValueScale().options.minBarLength, 'scales.[x/y]Axes.minBarLength', 'dataset.minBarLength');\r\n\t\tdeprecated('bar chart', scaleOpts.maxBarThickness, 'scales.[x/y]Axes.maxBarThickness', 'dataset.maxBarThickness');\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar rects = me.getMeta().data;\r\n\t\tvar i, ilen;\r\n\r\n\t\tme._ruler = me.getRuler();\r\n\r\n\t\tfor (i = 0, ilen = rects.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(rects[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(rectangle, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar options = me._resolveDataElementOptions(rectangle, index);\r\n\r\n\t\trectangle._xScale = me.getScaleForId(meta.xAxisID);\r\n\t\trectangle._yScale = me.getScaleForId(meta.yAxisID);\r\n\t\trectangle._datasetIndex = me.index;\r\n\t\trectangle._index = index;\r\n\t\trectangle._model = {\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderSkipped: options.borderSkipped,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\tdatasetLabel: dataset.label,\r\n\t\t\tlabel: me.chart.data.labels[index]\r\n\t\t};\r\n\r\n\t\tif (helpers$1.isArray(dataset.data[index])) {\r\n\t\t\trectangle._model.borderSkipped = null;\r\n\t\t}\r\n\r\n\t\tme._updateElementGeometry(rectangle, index, reset, options);\r\n\r\n\t\trectangle.pivot();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_updateElementGeometry: function(rectangle, index, reset, options) {\r\n\t\tvar me = this;\r\n\t\tvar model = rectangle._model;\r\n\t\tvar vscale = me._getValueScale();\r\n\t\tvar base = vscale.getBasePixel();\r\n\t\tvar horizontal = vscale.isHorizontal();\r\n\t\tvar ruler = me._ruler || me.getRuler();\r\n\t\tvar vpixels = me.calculateBarValuePixels(me.index, index, options);\r\n\t\tvar ipixels = me.calculateBarIndexPixels(me.index, index, ruler, options);\r\n\r\n\t\tmodel.horizontal = horizontal;\r\n\t\tmodel.base = reset ? base : vpixels.base;\r\n\t\tmodel.x = horizontal ? reset ? base : vpixels.head : ipixels.center;\r\n\t\tmodel.y = horizontal ? ipixels.center : reset ? base : vpixels.head;\r\n\t\tmodel.height = horizontal ? ipixels.size : undefined;\r\n\t\tmodel.width = horizontal ? undefined : ipixels.size;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the stacks based on groups and bar visibility.\r\n\t * @param {number} [last] - The dataset index\r\n\t * @returns {string[]} The list of stack IDs\r\n\t * @private\r\n\t */\r\n\t_getStacks: function(last) {\r\n\t\tvar me = this;\r\n\t\tvar scale = me._getIndexScale();\r\n\t\tvar metasets = scale._getMatchingVisibleMetas(me._type);\r\n\t\tvar stacked = scale.options.stacked;\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar stacks = [];\r\n\t\tvar i, meta;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tmeta = metasets[i];\r\n\t\t\t// stacked   | meta.stack\r\n\t\t\t//           | found | not found | undefined\r\n\t\t\t// false     |   x   |     x     |     x\r\n\t\t\t// true      |       |     x     |\r\n\t\t\t// undefined |       |     x     |     x\r\n\t\t\tif (stacked === false || stacks.indexOf(meta.stack) === -1 ||\r\n\t\t\t\t(stacked === undefined && meta.stack === undefined)) {\r\n\t\t\t\tstacks.push(meta.stack);\r\n\t\t\t}\r\n\t\t\tif (meta.index === last) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn stacks;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the effective number of stacks based on groups and bar visibility.\r\n\t * @private\r\n\t */\r\n\tgetStackCount: function() {\r\n\t\treturn this._getStacks().length;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the stack index for the given dataset based on groups and bar visibility.\r\n\t * @param {number} [datasetIndex] - The dataset index\r\n\t * @param {string} [name] - The stack name to find\r\n\t * @returns {number} The stack index\r\n\t * @private\r\n\t */\r\n\tgetStackIndex: function(datasetIndex, name) {\r\n\t\tvar stacks = this._getStacks(datasetIndex);\r\n\t\tvar index = (name !== undefined)\r\n\t\t\t? stacks.indexOf(name)\r\n\t\t\t: -1; // indexOf returns -1 if element is not present\r\n\r\n\t\treturn (index === -1)\r\n\t\t\t? stacks.length - 1\r\n\t\t\t: index;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetRuler: function() {\r\n\t\tvar me = this;\r\n\t\tvar scale = me._getIndexScale();\r\n\t\tvar pixels = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = me.getMeta().data.length; i < ilen; ++i) {\r\n\t\t\tpixels.push(scale.getPixelForValue(null, i, me.index));\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tpixels: pixels,\r\n\t\t\tstart: scale._startPixel,\r\n\t\t\tend: scale._endPixel,\r\n\t\t\tstackCount: me.getStackCount(),\r\n\t\t\tscale: scale\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Note: pixel values are not clamped to the scale area.\r\n\t * @private\r\n\t */\r\n\tcalculateBarValuePixels: function(datasetIndex, index, options) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar scale = me._getValueScale();\r\n\t\tvar isHorizontal = scale.isHorizontal();\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar metasets = scale._getMatchingVisibleMetas(me._type);\r\n\t\tvar value = scale._parseValue(datasets[datasetIndex].data[index]);\r\n\t\tvar minBarLength = options.minBarLength;\r\n\t\tvar stacked = scale.options.stacked;\r\n\t\tvar stack = me.getMeta().stack;\r\n\t\tvar start = value.start === undefined ? 0 : value.max >= 0 && value.min >= 0 ? value.min : value.max;\r\n\t\tvar length = value.start === undefined ? value.end : value.max >= 0 && value.min >= 0 ? value.max - value.min : value.min - value.max;\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar i, imeta, ivalue, base, head, size, stackLength;\r\n\r\n\t\tif (stacked || (stacked === undefined && stack !== undefined)) {\r\n\t\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\t\timeta = metasets[i];\r\n\r\n\t\t\t\tif (imeta.index === datasetIndex) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (imeta.stack === stack) {\r\n\t\t\t\t\tstackLength = scale._parseValue(datasets[imeta.index].data[index]);\r\n\t\t\t\t\tivalue = stackLength.start === undefined ? stackLength.end : stackLength.min >= 0 && stackLength.max >= 0 ? stackLength.max : stackLength.min;\r\n\r\n\t\t\t\t\tif ((value.min < 0 && ivalue < 0) || (value.max >= 0 && ivalue > 0)) {\r\n\t\t\t\t\t\tstart += ivalue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tbase = scale.getPixelForValue(start);\r\n\t\thead = scale.getPixelForValue(start + length);\r\n\t\tsize = head - base;\r\n\r\n\t\tif (minBarLength !== undefined && Math.abs(size) < minBarLength) {\r\n\t\t\tsize = minBarLength;\r\n\t\t\tif (length >= 0 && !isHorizontal || length < 0 && isHorizontal) {\r\n\t\t\t\thead = base - minBarLength;\r\n\t\t\t} else {\r\n\t\t\t\thead = base + minBarLength;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tsize: size,\r\n\t\t\tbase: base,\r\n\t\t\thead: head,\r\n\t\t\tcenter: head + size / 2\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tcalculateBarIndexPixels: function(datasetIndex, index, ruler, options) {\r\n\t\tvar me = this;\r\n\t\tvar range = options.barThickness === 'flex'\r\n\t\t\t? computeFlexCategoryTraits(index, ruler, options)\r\n\t\t\t: computeFitCategoryTraits(index, ruler, options);\r\n\r\n\t\tvar stackIndex = me.getStackIndex(datasetIndex, me.getMeta().stack);\r\n\t\tvar center = range.start + (range.chunk * stackIndex) + (range.chunk / 2);\r\n\t\tvar size = Math.min(\r\n\t\t\tvalueOrDefault$3(options.maxBarThickness, Infinity),\r\n\t\t\trange.chunk * range.ratio);\r\n\r\n\t\treturn {\r\n\t\t\tbase: center - size / 2,\r\n\t\t\thead: center + size / 2,\r\n\t\t\tcenter: center,\r\n\t\t\tsize: size\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar scale = me._getValueScale();\r\n\t\tvar rects = me.getMeta().data;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar ilen = rects.length;\r\n\t\tvar i = 0;\r\n\r\n\t\thelpers$1.canvas.clipArea(chart.ctx, chart.chartArea);\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tvar val = scale._parseValue(dataset.data[i]);\r\n\t\t\tif (!isNaN(val.min) && !isNaN(val.max)) {\r\n\t\t\t\trects[i].draw();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\thelpers$1.canvas.unclipArea(chart.ctx);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar values = helpers$1.extend({}, core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments));\r\n\t\tvar indexOpts = me._getIndexScale().options;\r\n\t\tvar valueOpts = me._getValueScale().options;\r\n\r\n\t\tvalues.barPercentage = valueOrDefault$3(indexOpts.barPercentage, values.barPercentage);\r\n\t\tvalues.barThickness = valueOrDefault$3(indexOpts.barThickness, values.barThickness);\r\n\t\tvalues.categoryPercentage = valueOrDefault$3(indexOpts.categoryPercentage, values.categoryPercentage);\r\n\t\tvalues.maxBarThickness = valueOrDefault$3(indexOpts.maxBarThickness, values.maxBarThickness);\r\n\t\tvalues.minBarLength = valueOrDefault$3(valueOpts.minBarLength, values.minBarLength);\r\n\r\n\t\treturn values;\r\n\t}\r\n\r\n});\n\nvar valueOrDefault$4 = helpers$1.valueOrDefault;\r\nvar resolve$1 = helpers$1.options.resolve;\r\n\r\ncore_defaults._set('bubble', {\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'linear', // bubble should probably use a linear scale by default\r\n\t\t\tposition: 'bottom',\r\n\t\t\tid: 'x-axis-0' // need an ID so datasets can reference the scale\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'left',\r\n\t\t\tid: 'y-axis-0'\r\n\t\t}]\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\t// Title doesn't make sense for scatter since we format the data as a point\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(item, data) {\r\n\t\t\t\tvar datasetLabel = data.datasets[item.datasetIndex].label || '';\r\n\t\t\t\tvar dataPoint = data.datasets[item.datasetIndex].data[item.index];\r\n\t\t\t\treturn datasetLabel + ': (' + item.xLabel + ', ' + item.yLabel + ', ' + dataPoint.r + ')';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_bubble = core_datasetController.extend({\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tdataElementType: elements.Point,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t\t'hoverRadius',\r\n\t\t'hitRadius',\r\n\t\t'pointStyle',\r\n\t\t'rotation'\r\n\t],\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar points = meta.data;\r\n\r\n\t\t// Update Points\r\n\t\thelpers$1.each(points, function(point, index) {\r\n\t\t\tme.updateElement(point, index, reset);\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar xScale = me.getScaleForId(meta.xAxisID);\r\n\t\tvar yScale = me.getScaleForId(meta.yAxisID);\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\t\tvar data = me.getDataset().data[index];\r\n\t\tvar dsIndex = me.index;\r\n\r\n\t\tvar x = reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex);\r\n\t\tvar y = reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex);\r\n\r\n\t\tpoint._xScale = xScale;\r\n\t\tpoint._yScale = yScale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = dsIndex;\r\n\t\tpoint._index = index;\r\n\t\tpoint._model = {\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\thitRadius: options.hitRadius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tradius: reset ? 0 : options.radius,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\tx: x,\r\n\t\t\ty: y,\r\n\t\t};\r\n\r\n\t\tpoint.pivot();\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$4(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$4(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$4(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = options.radius + options.hoverRadius;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function(point, index) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar data = dataset.data[index] || {};\r\n\t\tvar values = core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments);\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: dataset,\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\t// In case values were cached (and thus frozen), we need to clone the values\r\n\t\tif (me._cachedDataOpts === values) {\r\n\t\t\tvalues = helpers$1.extend({}, values);\r\n\t\t}\r\n\r\n\t\t// Custom radius resolution\r\n\t\tvalues.radius = resolve$1([\r\n\t\t\tcustom.radius,\r\n\t\t\tdata.r,\r\n\t\t\tme._config.radius,\r\n\t\t\tchart.options.elements.point.radius\r\n\t\t], context, index);\r\n\r\n\t\treturn values;\r\n\t}\r\n});\n\nvar valueOrDefault$5 = helpers$1.valueOrDefault;\r\n\r\nvar PI$1 = Math.PI;\r\nvar DOUBLE_PI$1 = PI$1 * 2;\r\nvar HALF_PI$1 = PI$1 / 2;\r\n\r\ncore_defaults._set('doughnut', {\r\n\tanimation: {\r\n\t\t// Boolean - Whether we animate the rotation of the Doughnut\r\n\t\tanimateRotate: true,\r\n\t\t// Boolean - Whether we animate scaling the Doughnut from the centre\r\n\t\tanimateScale: false\r\n\t},\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar data = chart.data;\r\n\t\tvar datasets = data.datasets;\r\n\t\tvar labels = data.labels;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\t\tif (datasets.length) {\r\n\t\t\tfor (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\r\n\t\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\t\tlistItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\r\n\t\t\t\tif (labels[i]) {\r\n\t\t\t\t\tlistItem.appendChild(document.createTextNode(labels[i]));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t},\r\n\tlegend: {\r\n\t\tlabels: {\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar data = chart.data;\r\n\t\t\t\tif (data.labels.length && data.datasets.length) {\r\n\t\t\t\t\treturn data.labels.map(function(label, i) {\r\n\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\r\n\t\t\t\t\t\tvar style = meta.controller.getStyle(i);\r\n\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: label,\r\n\t\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\t\thidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\r\n\r\n\t\t\t\t\t\t\t// Extra data used for toggling the correct item\r\n\t\t\t\t\t\t\tindex: i\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\treturn [];\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.index;\r\n\t\t\tvar chart = this.chart;\r\n\t\t\tvar i, ilen, meta;\r\n\r\n\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\t// toggle visibility of index if exists\r\n\t\t\t\tif (meta.data[index]) {\r\n\t\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tchart.update();\r\n\t\t}\r\n\t},\r\n\r\n\t// The percentage of the chart that we cut out of the middle.\r\n\tcutoutPercentage: 50,\r\n\r\n\t// The rotation of the chart, where the first data arc begins.\r\n\trotation: -HALF_PI$1,\r\n\r\n\t// The total circumference of the chart.\r\n\tcircumference: DOUBLE_PI$1,\r\n\r\n\t// Need to override these to give a nice default\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(tooltipItem, data) {\r\n\t\t\t\tvar dataLabel = data.labels[tooltipItem.index];\r\n\t\t\t\tvar value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\r\n\r\n\t\t\t\tif (helpers$1.isArray(dataLabel)) {\r\n\t\t\t\t\t// show value on first line of multiline label\r\n\t\t\t\t\t// need to clone because we are changing the value\r\n\t\t\t\t\tdataLabel = dataLabel.slice();\r\n\t\t\t\t\tdataLabel[0] += value;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdataLabel += value;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn dataLabel;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_doughnut = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Arc,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'borderAlign',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t],\r\n\r\n\t// Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly\r\n\tgetRingIndex: function(datasetIndex) {\r\n\t\tvar ringIndex = 0;\r\n\r\n\t\tfor (var j = 0; j < datasetIndex; ++j) {\r\n\t\t\tif (this.chart.isDatasetVisible(j)) {\r\n\t\t\t\t++ringIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ringIndex;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar ratioX = 1;\r\n\t\tvar ratioY = 1;\r\n\t\tvar offsetX = 0;\r\n\t\tvar offsetY = 0;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar arcs = meta.data;\r\n\t\tvar cutout = opts.cutoutPercentage / 100 || 0;\r\n\t\tvar circumference = opts.circumference;\r\n\t\tvar chartWeight = me._getRingWeight(me.index);\r\n\t\tvar maxWidth, maxHeight, i, ilen;\r\n\r\n\t\t// If the chart's circumference isn't a full circle, calculate size as a ratio of the width/height of the arc\r\n\t\tif (circumference < DOUBLE_PI$1) {\r\n\t\t\tvar startAngle = opts.rotation % DOUBLE_PI$1;\r\n\t\t\tstartAngle += startAngle >= PI$1 ? -DOUBLE_PI$1 : startAngle < -PI$1 ? DOUBLE_PI$1 : 0;\r\n\t\t\tvar endAngle = startAngle + circumference;\r\n\t\t\tvar startX = Math.cos(startAngle);\r\n\t\t\tvar startY = Math.sin(startAngle);\r\n\t\t\tvar endX = Math.cos(endAngle);\r\n\t\t\tvar endY = Math.sin(endAngle);\r\n\t\t\tvar contains0 = (startAngle <= 0 && endAngle >= 0) || endAngle >= DOUBLE_PI$1;\r\n\t\t\tvar contains90 = (startAngle <= HALF_PI$1 && endAngle >= HALF_PI$1) || endAngle >= DOUBLE_PI$1 + HALF_PI$1;\r\n\t\t\tvar contains180 = startAngle === -PI$1 || endAngle >= PI$1;\r\n\t\t\tvar contains270 = (startAngle <= -HALF_PI$1 && endAngle >= -HALF_PI$1) || endAngle >= PI$1 + HALF_PI$1;\r\n\t\t\tvar minX = contains180 ? -1 : Math.min(startX, startX * cutout, endX, endX * cutout);\r\n\t\t\tvar minY = contains270 ? -1 : Math.min(startY, startY * cutout, endY, endY * cutout);\r\n\t\t\tvar maxX = contains0 ? 1 : Math.max(startX, startX * cutout, endX, endX * cutout);\r\n\t\t\tvar maxY = contains90 ? 1 : Math.max(startY, startY * cutout, endY, endY * cutout);\r\n\t\t\tratioX = (maxX - minX) / 2;\r\n\t\t\tratioY = (maxY - minY) / 2;\r\n\t\t\toffsetX = -(maxX + minX) / 2;\r\n\t\t\toffsetY = -(maxY + minY) / 2;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\r\n\t\t}\r\n\r\n\t\tchart.borderWidth = me.getMaxBorderWidth();\r\n\t\tmaxWidth = (chartArea.right - chartArea.left - chart.borderWidth) / ratioX;\r\n\t\tmaxHeight = (chartArea.bottom - chartArea.top - chart.borderWidth) / ratioY;\r\n\t\tchart.outerRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0);\r\n\t\tchart.innerRadius = Math.max(chart.outerRadius * cutout, 0);\r\n\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / (me._getVisibleDatasetWeightTotal() || 1);\r\n\t\tchart.offsetX = offsetX * chart.outerRadius;\r\n\t\tchart.offsetY = offsetY * chart.outerRadius;\r\n\r\n\t\tmeta.total = me.calculateTotal();\r\n\r\n\t\tme.outerRadius = chart.outerRadius - chart.radiusLength * me._getRingWeightOffset(me.index);\r\n\t\tme.innerRadius = Math.max(me.outerRadius - chart.radiusLength * chartWeight, 0);\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(arcs[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(arc, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar animationOpts = opts.animation;\r\n\t\tvar centerX = (chartArea.left + chartArea.right) / 2;\r\n\t\tvar centerY = (chartArea.top + chartArea.bottom) / 2;\r\n\t\tvar startAngle = opts.rotation; // non reset case handled later\r\n\t\tvar endAngle = opts.rotation; // non reset case handled later\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / DOUBLE_PI$1);\r\n\t\tvar innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius;\r\n\t\tvar outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius;\r\n\t\tvar options = arc._options || {};\r\n\r\n\t\thelpers$1.extend(arc, {\r\n\t\t\t// Utility\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index,\r\n\r\n\t\t\t// Desired view properties\r\n\t\t\t_model: {\r\n\t\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\t\tborderColor: options.borderColor,\r\n\t\t\t\tborderWidth: options.borderWidth,\r\n\t\t\t\tborderAlign: options.borderAlign,\r\n\t\t\t\tx: centerX + chart.offsetX,\r\n\t\t\t\ty: centerY + chart.offsetY,\r\n\t\t\t\tstartAngle: startAngle,\r\n\t\t\t\tendAngle: endAngle,\r\n\t\t\t\tcircumference: circumference,\r\n\t\t\t\touterRadius: outerRadius,\r\n\t\t\t\tinnerRadius: innerRadius,\r\n\t\t\t\tlabel: helpers$1.valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tvar model = arc._model;\r\n\r\n\t\t// Set correct angles if not resetting\r\n\t\tif (!reset || !animationOpts.animateRotate) {\r\n\t\t\tif (index === 0) {\r\n\t\t\t\tmodel.startAngle = opts.rotation;\r\n\t\t\t} else {\r\n\t\t\t\tmodel.startAngle = me.getMeta().data[index - 1]._model.endAngle;\r\n\t\t\t}\r\n\r\n\t\t\tmodel.endAngle = model.startAngle + model.circumference;\r\n\t\t}\r\n\r\n\t\tarc.pivot();\r\n\t},\r\n\r\n\tcalculateTotal: function() {\r\n\t\tvar dataset = this.getDataset();\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar total = 0;\r\n\t\tvar value;\r\n\r\n\t\thelpers$1.each(meta.data, function(element, index) {\r\n\t\t\tvalue = dataset.data[index];\r\n\t\t\tif (!isNaN(value) && !element.hidden) {\r\n\t\t\t\ttotal += Math.abs(value);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t/* if (total === 0) {\r\n\t\t\ttotal = NaN;\r\n\t\t}*/\r\n\r\n\t\treturn total;\r\n\t},\r\n\r\n\tcalculateCircumference: function(value) {\r\n\t\tvar total = this.getMeta().total;\r\n\t\tif (total > 0 && !isNaN(value)) {\r\n\t\t\treturn DOUBLE_PI$1 * (Math.abs(value) / total);\r\n\t\t}\r\n\t\treturn 0;\r\n\t},\r\n\r\n\t// gets the max border or hover width to properly scale pie charts\r\n\tgetMaxBorderWidth: function(arcs) {\r\n\t\tvar me = this;\r\n\t\tvar max = 0;\r\n\t\tvar chart = me.chart;\r\n\t\tvar i, ilen, meta, arc, controller, options, borderWidth, hoverWidth;\r\n\r\n\t\tif (!arcs) {\r\n\t\t\t// Find the outmost visible dataset\r\n\t\t\tfor (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\r\n\t\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\t\tarcs = meta.data;\r\n\t\t\t\t\tif (i !== me.index) {\r\n\t\t\t\t\t\tcontroller = meta.controller;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!arcs) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarc = arcs[i];\r\n\t\t\tif (controller) {\r\n\t\t\t\tcontroller._configure();\r\n\t\t\t\toptions = controller._resolveDataElementOptions(arc, i);\r\n\t\t\t} else {\r\n\t\t\t\toptions = arc._options;\r\n\t\t\t}\r\n\t\t\tif (options.borderAlign !== 'inner') {\r\n\t\t\t\tborderWidth = options.borderWidth;\r\n\t\t\t\thoverWidth = options.hoverBorderWidth;\r\n\r\n\t\t\t\tmax = borderWidth > max ? borderWidth : max;\r\n\t\t\t\tmax = hoverWidth > max ? hoverWidth : max;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn max;\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(arc) {\r\n\t\tvar model = arc._model;\r\n\t\tvar options = arc._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tarc.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$5(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$5(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$5(options.hoverBorderWidth, options.borderWidth);\r\n\t},\r\n\r\n\t/**\r\n\t * Get radius length offset of the dataset in relation to the visible datasets weights. This allows determining the inner and outer radius correctly\r\n\t * @private\r\n\t */\r\n\t_getRingWeightOffset: function(datasetIndex) {\r\n\t\tvar ringWeightOffset = 0;\r\n\r\n\t\tfor (var i = 0; i < datasetIndex; ++i) {\r\n\t\t\tif (this.chart.isDatasetVisible(i)) {\r\n\t\t\t\tringWeightOffset += this._getRingWeight(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ringWeightOffset;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getRingWeight: function(dataSetIndex) {\r\n\t\treturn Math.max(valueOrDefault$5(this.chart.data.datasets[dataSetIndex].weight, 1), 0);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the sum of all visibile data set weights.  This value can be 0.\r\n\t * @private\r\n\t */\r\n\t_getVisibleDatasetWeightTotal: function() {\r\n\t\treturn this._getRingWeightOffset(this.chart.data.datasets.length);\r\n\t}\r\n});\n\ncore_defaults._set('horizontalBar', {\r\n\thover: {\r\n\t\tmode: 'index',\r\n\t\taxis: 'y'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'bottom'\r\n\t\t}],\r\n\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\tposition: 'left',\r\n\t\t\toffset: true,\r\n\t\t\tgridLines: {\r\n\t\t\t\toffsetGridLines: true\r\n\t\t\t}\r\n\t\t}]\r\n\t},\r\n\r\n\telements: {\r\n\t\trectangle: {\r\n\t\t\tborderSkipped: 'left'\r\n\t\t}\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tmode: 'index',\r\n\t\taxis: 'y'\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\thorizontalBar: {\r\n\t\t\tcategoryPercentage: 0.8,\r\n\t\t\tbarPercentage: 0.9\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_horizontalBar = controller_bar.extend({\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.getMeta().xAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.getMeta().yAxisID;\r\n\t}\r\n});\n\nvar valueOrDefault$6 = helpers$1.valueOrDefault;\r\nvar resolve$2 = helpers$1.options.resolve;\r\nvar isPointInArea = helpers$1.canvas._isPointInArea;\r\n\r\ncore_defaults._set('line', {\r\n\tshowLines: true,\r\n\tspanGaps: false,\r\n\r\n\thover: {\r\n\t\tmode: 'label'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\tid: 'x-axis-0'\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tid: 'y-axis-0'\r\n\t\t}]\r\n\t}\r\n});\r\n\r\nfunction scaleClip(scale, halfBorderWidth) {\r\n\tvar tickOpts = scale && scale.options.ticks || {};\r\n\tvar reverse = tickOpts.reverse;\r\n\tvar min = tickOpts.min === undefined ? halfBorderWidth : 0;\r\n\tvar max = tickOpts.max === undefined ? halfBorderWidth : 0;\r\n\treturn {\r\n\t\tstart: reverse ? max : min,\r\n\t\tend: reverse ? min : max\r\n\t};\r\n}\r\n\r\nfunction defaultClip(xScale, yScale, borderWidth) {\r\n\tvar halfBorderWidth = borderWidth / 2;\r\n\tvar x = scaleClip(xScale, halfBorderWidth);\r\n\tvar y = scaleClip(yScale, halfBorderWidth);\r\n\r\n\treturn {\r\n\t\ttop: y.end,\r\n\t\tright: x.end,\r\n\t\tbottom: y.start,\r\n\t\tleft: x.start\r\n\t};\r\n}\r\n\r\nfunction toClip(value) {\r\n\tvar t, r, b, l;\r\n\r\n\tif (helpers$1.isObject(value)) {\r\n\t\tt = value.top;\r\n\t\tr = value.right;\r\n\t\tb = value.bottom;\r\n\t\tl = value.left;\r\n\t} else {\r\n\t\tt = r = b = l = value;\r\n\t}\r\n\r\n\treturn {\r\n\t\ttop: t,\r\n\t\tright: r,\r\n\t\tbottom: b,\r\n\t\tleft: l\r\n\t};\r\n}\r\n\r\n\r\nvar controller_line = core_datasetController.extend({\r\n\r\n\tdatasetElementType: elements.Line,\r\n\r\n\tdataElementType: elements.Point,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderColor',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'borderWidth',\r\n\t\t'cubicInterpolationMode',\r\n\t\t'fill'\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: {\r\n\t\tbackgroundColor: 'pointBackgroundColor',\r\n\t\tborderColor: 'pointBorderColor',\r\n\t\tborderWidth: 'pointBorderWidth',\r\n\t\thitRadius: 'pointHitRadius',\r\n\t\thoverBackgroundColor: 'pointHoverBackgroundColor',\r\n\t\thoverBorderColor: 'pointHoverBorderColor',\r\n\t\thoverBorderWidth: 'pointHoverBorderWidth',\r\n\t\thoverRadius: 'pointHoverRadius',\r\n\t\tpointStyle: 'pointStyle',\r\n\t\tradius: 'pointRadius',\r\n\t\trotation: 'pointRotation'\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar line = meta.dataset;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar options = me.chart.options;\r\n\t\tvar config = me._config;\r\n\t\tvar showLine = me._showLine = valueOrDefault$6(config.showLine, options.showLines);\r\n\t\tvar i, ilen;\r\n\r\n\t\tme._xScale = me.getScaleForId(meta.xAxisID);\r\n\t\tme._yScale = me.getScaleForId(meta.yAxisID);\r\n\r\n\t\t// Update Line\r\n\t\tif (showLine) {\r\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\r\n\t\t\tif (config.tension !== undefined && config.lineTension === undefined) {\r\n\t\t\t\tconfig.lineTension = config.tension;\r\n\t\t\t}\r\n\r\n\t\t\t// Utility\r\n\t\t\tline._scale = me._yScale;\r\n\t\t\tline._datasetIndex = me.index;\r\n\t\t\t// Data\r\n\t\t\tline._children = points;\r\n\t\t\t// Model\r\n\t\t\tline._model = me._resolveDatasetElementOptions(line);\r\n\r\n\t\t\tline.pivot();\r\n\t\t}\r\n\r\n\t\t// Update Points\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(points[i], i, reset);\r\n\t\t}\r\n\r\n\t\tif (showLine && line._model.tension !== 0) {\r\n\t\t\tme.updateBezierControlPoints();\r\n\t\t}\r\n\r\n\t\t// Now pivot the point for animation\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tpoints[i].pivot();\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar datasetIndex = me.index;\r\n\t\tvar value = dataset.data[index];\r\n\t\tvar xScale = me._xScale;\r\n\t\tvar yScale = me._yScale;\r\n\t\tvar lineModel = meta.dataset._model;\r\n\t\tvar x, y;\r\n\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\r\n\t\tx = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex);\r\n\t\ty = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex);\r\n\r\n\t\t// Utility\r\n\t\tpoint._xScale = xScale;\r\n\t\tpoint._yScale = yScale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = datasetIndex;\r\n\t\tpoint._index = index;\r\n\r\n\t\t// Desired view properties\r\n\t\tpoint._model = {\r\n\t\t\tx: x,\r\n\t\t\ty: y,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\t// Appearance\r\n\t\t\tradius: options.radius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\ttension: valueOrDefault$6(custom.tension, lineModel ? lineModel.tension : 0),\r\n\t\t\tsteppedLine: lineModel ? lineModel.steppedLine : false,\r\n\t\t\t// Tooltip\r\n\t\t\thitRadius: options.hitRadius\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function(element) {\r\n\t\tvar me = this;\r\n\t\tvar config = me._config;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar options = me.chart.options;\r\n\t\tvar lineOptions = options.elements.line;\r\n\t\tvar values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\r\n\r\n\t\t// The default behavior of lines is to break at null values, according\r\n\t\t// to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158\r\n\t\t// This option gives lines the ability to span gaps\r\n\t\tvalues.spanGaps = valueOrDefault$6(config.spanGaps, options.spanGaps);\r\n\t\tvalues.tension = valueOrDefault$6(config.lineTension, lineOptions.tension);\r\n\t\tvalues.steppedLine = resolve$2([custom.steppedLine, config.steppedLine, lineOptions.stepped]);\r\n\t\tvalues.clip = toClip(valueOrDefault$6(config.clip, defaultClip(me._xScale, me._yScale, values.borderWidth)));\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tcalculatePointY: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar yScale = me._yScale;\r\n\t\tvar sumPos = 0;\r\n\t\tvar sumNeg = 0;\r\n\t\tvar i, ds, dsMeta, stackedRightValue, rightValue, metasets, ilen;\r\n\r\n\t\tif (yScale.options.stacked) {\r\n\t\t\trightValue = +yScale.getRightValue(value);\r\n\t\t\tmetasets = chart._getSortedVisibleDatasetMetas();\r\n\t\t\tilen = metasets.length;\r\n\r\n\t\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\t\tdsMeta = metasets[i];\r\n\t\t\t\tif (dsMeta.index === datasetIndex) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tds = chart.data.datasets[dsMeta.index];\r\n\t\t\t\tif (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id) {\r\n\t\t\t\t\tstackedRightValue = +yScale.getRightValue(ds.data[index]);\r\n\t\t\t\t\tif (stackedRightValue < 0) {\r\n\t\t\t\t\t\tsumNeg += stackedRightValue || 0;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsumPos += stackedRightValue || 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (rightValue < 0) {\r\n\t\t\t\treturn yScale.getPixelForValue(sumNeg + rightValue);\r\n\t\t\t}\r\n\t\t\treturn yScale.getPixelForValue(sumPos + rightValue);\r\n\t\t}\r\n\t\treturn yScale.getPixelForValue(value);\r\n\t},\r\n\r\n\tupdateBezierControlPoints: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar lineModel = meta.dataset._model;\r\n\t\tvar area = chart.chartArea;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar i, ilen, model, controlPoints;\r\n\r\n\t\t// Only consider points that are drawn in case the spanGaps option is used\r\n\t\tif (lineModel.spanGaps) {\r\n\t\t\tpoints = points.filter(function(pt) {\r\n\t\t\t\treturn !pt._model.skip;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction capControlPoint(pt, min, max) {\r\n\t\t\treturn Math.max(Math.min(pt, max), min);\r\n\t\t}\r\n\r\n\t\tif (lineModel.cubicInterpolationMode === 'monotone') {\r\n\t\t\thelpers$1.splineCurveMonotone(points);\r\n\t\t} else {\r\n\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\t\tmodel = points[i]._model;\r\n\t\t\t\tcontrolPoints = helpers$1.splineCurve(\r\n\t\t\t\t\thelpers$1.previousItem(points, i)._model,\r\n\t\t\t\t\tmodel,\r\n\t\t\t\t\thelpers$1.nextItem(points, i)._model,\r\n\t\t\t\t\tlineModel.tension\r\n\t\t\t\t);\r\n\t\t\t\tmodel.controlPointPreviousX = controlPoints.previous.x;\r\n\t\t\t\tmodel.controlPointPreviousY = controlPoints.previous.y;\r\n\t\t\t\tmodel.controlPointNextX = controlPoints.next.x;\r\n\t\t\t\tmodel.controlPointNextY = controlPoints.next.y;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (chart.options.elements.line.capBezierPoints) {\r\n\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\t\tmodel = points[i]._model;\r\n\t\t\t\tif (isPointInArea(model, area)) {\r\n\t\t\t\t\tif (i > 0 && isPointInArea(points[i - 1]._model, area)) {\r\n\t\t\t\t\t\tmodel.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);\r\n\t\t\t\t\t\tmodel.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (i < points.length - 1 && isPointInArea(points[i + 1]._model, area)) {\r\n\t\t\t\t\t\tmodel.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);\r\n\t\t\t\t\t\tmodel.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar points = meta.data || [];\r\n\t\tvar area = chart.chartArea;\r\n\t\tvar canvas = chart.canvas;\r\n\t\tvar i = 0;\r\n\t\tvar ilen = points.length;\r\n\t\tvar clip;\r\n\r\n\t\tif (me._showLine) {\r\n\t\t\tclip = meta.dataset._model.clip;\r\n\r\n\t\t\thelpers$1.canvas.clipArea(chart.ctx, {\r\n\t\t\t\tleft: clip.left === false ? 0 : area.left - clip.left,\r\n\t\t\t\tright: clip.right === false ? canvas.width : area.right + clip.right,\r\n\t\t\t\ttop: clip.top === false ? 0 : area.top - clip.top,\r\n\t\t\t\tbottom: clip.bottom === false ? canvas.height : area.bottom + clip.bottom\r\n\t\t\t});\r\n\r\n\t\t\tmeta.dataset.draw();\r\n\r\n\t\t\thelpers$1.canvas.unclipArea(chart.ctx);\r\n\t\t}\r\n\r\n\t\t// Draw the points\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tpoints[i].draw(area);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$6(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$6(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$6(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = valueOrDefault$6(options.hoverRadius, options.radius);\r\n\t},\r\n});\n\nvar resolve$3 = helpers$1.options.resolve;\r\n\r\ncore_defaults._set('polarArea', {\r\n\tscale: {\r\n\t\ttype: 'radialLinear',\r\n\t\tangleLines: {\r\n\t\t\tdisplay: false\r\n\t\t},\r\n\t\tgridLines: {\r\n\t\t\tcircular: true\r\n\t\t},\r\n\t\tpointLabels: {\r\n\t\t\tdisplay: false\r\n\t\t},\r\n\t\tticks: {\r\n\t\t\tbeginAtZero: true\r\n\t\t}\r\n\t},\r\n\r\n\t// Boolean - Whether to animate the rotation of the chart\r\n\tanimation: {\r\n\t\tanimateRotate: true,\r\n\t\tanimateScale: true\r\n\t},\r\n\r\n\tstartAngle: -0.5 * Math.PI,\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar data = chart.data;\r\n\t\tvar datasets = data.datasets;\r\n\t\tvar labels = data.labels;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\t\tif (datasets.length) {\r\n\t\t\tfor (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\r\n\t\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\t\tlistItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\r\n\t\t\t\tif (labels[i]) {\r\n\t\t\t\t\tlistItem.appendChild(document.createTextNode(labels[i]));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t},\r\n\tlegend: {\r\n\t\tlabels: {\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar data = chart.data;\r\n\t\t\t\tif (data.labels.length && data.datasets.length) {\r\n\t\t\t\t\treturn data.labels.map(function(label, i) {\r\n\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\r\n\t\t\t\t\t\tvar style = meta.controller.getStyle(i);\r\n\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: label,\r\n\t\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\t\thidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\r\n\r\n\t\t\t\t\t\t\t// Extra data used for toggling the correct item\r\n\t\t\t\t\t\t\tindex: i\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\treturn [];\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.index;\r\n\t\t\tvar chart = this.chart;\r\n\t\t\tvar i, ilen, meta;\r\n\r\n\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\r\n\t\t\t}\r\n\r\n\t\t\tchart.update();\r\n\t\t}\r\n\t},\r\n\r\n\t// Need to override these to give a nice default\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(item, data) {\r\n\t\t\t\treturn data.labels[item.index] + ': ' + item.yLabel;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_polarArea = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Arc,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'borderAlign',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar start = me.chart.options.startAngle || 0;\r\n\t\tvar starts = me._starts = [];\r\n\t\tvar angles = me._angles = [];\r\n\t\tvar arcs = meta.data;\r\n\t\tvar i, ilen, angle;\r\n\r\n\t\tme._updateRadius();\r\n\r\n\t\tmeta.count = me.countVisibleElements();\r\n\r\n\t\tfor (i = 0, ilen = dataset.data.length; i < ilen; i++) {\r\n\t\t\tstarts[i] = start;\r\n\t\t\tangle = me._computeAngle(i);\r\n\t\t\tangles[i] = angle;\r\n\t\t\tstart += angle;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\r\n\t\t\tme.updateElement(arcs[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_updateRadius: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\r\n\r\n\t\tchart.outerRadius = Math.max(minSize / 2, 0);\r\n\t\tchart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);\r\n\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();\r\n\r\n\t\tme.outerRadius = chart.outerRadius - (chart.radiusLength * me.index);\r\n\t\tme.innerRadius = me.outerRadius - chart.radiusLength;\r\n\t},\r\n\r\n\tupdateElement: function(arc, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar opts = chart.options;\r\n\t\tvar animationOpts = opts.animation;\r\n\t\tvar scale = chart.scale;\r\n\t\tvar labels = chart.data.labels;\r\n\r\n\t\tvar centerX = scale.xCenter;\r\n\t\tvar centerY = scale.yCenter;\r\n\r\n\t\t// var negHalfPI = -0.5 * Math.PI;\r\n\t\tvar datasetStartAngle = opts.startAngle;\r\n\t\tvar distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\r\n\t\tvar startAngle = me._starts[index];\r\n\t\tvar endAngle = startAngle + (arc.hidden ? 0 : me._angles[index]);\r\n\r\n\t\tvar resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\r\n\t\tvar options = arc._options || {};\r\n\r\n\t\thelpers$1.extend(arc, {\r\n\t\t\t// Utility\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index,\r\n\t\t\t_scale: scale,\r\n\r\n\t\t\t// Desired view properties\r\n\t\t\t_model: {\r\n\t\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\t\tborderColor: options.borderColor,\r\n\t\t\t\tborderWidth: options.borderWidth,\r\n\t\t\t\tborderAlign: options.borderAlign,\r\n\t\t\t\tx: centerX,\r\n\t\t\t\ty: centerY,\r\n\t\t\t\tinnerRadius: 0,\r\n\t\t\t\touterRadius: reset ? resetRadius : distance,\r\n\t\t\t\tstartAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,\r\n\t\t\t\tendAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,\r\n\t\t\t\tlabel: helpers$1.valueAtIndexOrDefault(labels, index, labels[index])\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tarc.pivot();\r\n\t},\r\n\r\n\tcountVisibleElements: function() {\r\n\t\tvar dataset = this.getDataset();\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar count = 0;\r\n\r\n\t\thelpers$1.each(meta.data, function(element, index) {\r\n\t\t\tif (!isNaN(dataset.data[index]) && !element.hidden) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn count;\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(arc) {\r\n\t\tvar model = arc._model;\r\n\t\tvar options = arc._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\t\tvar valueOrDefault = helpers$1.valueOrDefault;\r\n\r\n\t\tarc.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeAngle: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar count = this.getMeta().count;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar meta = me.getMeta();\r\n\r\n\t\tif (isNaN(dataset.data[index]) || meta.data[index].hidden) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: me.chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: dataset,\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\treturn resolve$3([\r\n\t\t\tme.chart.options.elements.arc.angle,\r\n\t\t\t(2 * Math.PI) / count\r\n\t\t], context, index);\r\n\t}\r\n});\n\ncore_defaults._set('pie', helpers$1.clone(core_defaults.doughnut));\r\ncore_defaults._set('pie', {\r\n\tcutoutPercentage: 0\r\n});\r\n\r\n// Pie charts are Doughnut chart with different defaults\r\nvar controller_pie = controller_doughnut;\n\nvar valueOrDefault$7 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('radar', {\r\n\tspanGaps: false,\r\n\tscale: {\r\n\t\ttype: 'radialLinear'\r\n\t},\r\n\telements: {\r\n\t\tline: {\r\n\t\t\tfill: 'start',\r\n\t\t\ttension: 0 // no bezier in radar\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_radar = core_datasetController.extend({\r\n\tdatasetElementType: elements.Line,\r\n\r\n\tdataElementType: elements.Point,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderWidth',\r\n\t\t'borderColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'fill'\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: {\r\n\t\tbackgroundColor: 'pointBackgroundColor',\r\n\t\tborderColor: 'pointBorderColor',\r\n\t\tborderWidth: 'pointBorderWidth',\r\n\t\thitRadius: 'pointHitRadius',\r\n\t\thoverBackgroundColor: 'pointHoverBackgroundColor',\r\n\t\thoverBorderColor: 'pointHoverBorderColor',\r\n\t\thoverBorderWidth: 'pointHoverBorderWidth',\r\n\t\thoverRadius: 'pointHoverRadius',\r\n\t\tpointStyle: 'pointStyle',\r\n\t\tradius: 'pointRadius',\r\n\t\trotation: 'pointRotation'\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar line = meta.dataset;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar scale = me.chart.scale;\r\n\t\tvar config = me._config;\r\n\t\tvar i, ilen;\r\n\r\n\t\t// Compatibility: If the properties are defined with only the old name, use those values\r\n\t\tif (config.tension !== undefined && config.lineTension === undefined) {\r\n\t\t\tconfig.lineTension = config.tension;\r\n\t\t}\r\n\r\n\t\t// Utility\r\n\t\tline._scale = scale;\r\n\t\tline._datasetIndex = me.index;\r\n\t\t// Data\r\n\t\tline._children = points;\r\n\t\tline._loop = true;\r\n\t\t// Model\r\n\t\tline._model = me._resolveDatasetElementOptions(line);\r\n\r\n\t\tline.pivot();\r\n\r\n\t\t// Update Points\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(points[i], i, reset);\r\n\t\t}\r\n\r\n\t\t// Update bezier control points\r\n\t\tme.updateBezierControlPoints();\r\n\r\n\t\t// Now pivot the point for animation\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tpoints[i].pivot();\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar scale = me.chart.scale;\r\n\t\tvar pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\t\tvar lineModel = me.getMeta().dataset._model;\r\n\t\tvar x = reset ? scale.xCenter : pointPosition.x;\r\n\t\tvar y = reset ? scale.yCenter : pointPosition.y;\r\n\r\n\t\t// Utility\r\n\t\tpoint._scale = scale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = me.index;\r\n\t\tpoint._index = index;\r\n\r\n\t\t// Desired view properties\r\n\t\tpoint._model = {\r\n\t\t\tx: x, // value not used in dataset scale, but we want a consistent API between scales\r\n\t\t\ty: y,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\t// Appearance\r\n\t\t\tradius: options.radius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\ttension: valueOrDefault$7(custom.tension, lineModel ? lineModel.tension : 0),\r\n\r\n\t\t\t// Tooltip\r\n\t\t\thitRadius: options.hitRadius\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar config = me._config;\r\n\t\tvar options = me.chart.options;\r\n\t\tvar values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\r\n\r\n\t\tvalues.spanGaps = valueOrDefault$7(config.spanGaps, options.spanGaps);\r\n\t\tvalues.tension = valueOrDefault$7(config.lineTension, options.elements.line.tension);\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tupdateBezierControlPoints: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar area = me.chart.chartArea;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar i, ilen, model, controlPoints;\r\n\r\n\t\t// Only consider points that are drawn in case the spanGaps option is used\r\n\t\tif (meta.dataset._model.spanGaps) {\r\n\t\t\tpoints = points.filter(function(pt) {\r\n\t\t\t\treturn !pt._model.skip;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction capControlPoint(pt, min, max) {\r\n\t\t\treturn Math.max(Math.min(pt, max), min);\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tmodel = points[i]._model;\r\n\t\t\tcontrolPoints = helpers$1.splineCurve(\r\n\t\t\t\thelpers$1.previousItem(points, i, true)._model,\r\n\t\t\t\tmodel,\r\n\t\t\t\thelpers$1.nextItem(points, i, true)._model,\r\n\t\t\t\tmodel.tension\r\n\t\t\t);\r\n\r\n\t\t\t// Prevent the bezier going outside of the bounds of the graph\r\n\t\t\tmodel.controlPointPreviousX = capControlPoint(controlPoints.previous.x, area.left, area.right);\r\n\t\t\tmodel.controlPointPreviousY = capControlPoint(controlPoints.previous.y, area.top, area.bottom);\r\n\t\t\tmodel.controlPointNextX = capControlPoint(controlPoints.next.x, area.left, area.right);\r\n\t\t\tmodel.controlPointNextY = capControlPoint(controlPoints.next.y, area.top, area.bottom);\r\n\t\t}\r\n\t},\r\n\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$7(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$7(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$7(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = valueOrDefault$7(options.hoverRadius, options.radius);\r\n\t}\r\n});\n\ncore_defaults._set('scatter', {\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\tid: 'x-axis-1',    // need an ID so datasets can reference the scale\r\n\t\t\ttype: 'linear',    // scatter should not use a category axis\r\n\t\t\tposition: 'bottom'\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\tid: 'y-axis-1',\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'left'\r\n\t\t}]\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';     // doesn't make sense for scatter since data are formatted as a point\r\n\t\t\t},\r\n\t\t\tlabel: function(item) {\r\n\t\t\t\treturn '(' + item.xLabel + ', ' + item.yLabel + ')';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\tscatter: {\r\n\t\t\tshowLine: false\r\n\t\t}\r\n\t}\r\n});\r\n\r\n// Scatter charts use line controllers\r\nvar controller_scatter = controller_line;\n\n// NOTE export a map in which the key represents the controller type, not\r\n// the class, and so must be CamelCase in order to be correctly retrieved\r\n// by the controller in core.controller.js (`controllers[meta.type]`).\r\n\r\nvar controllers = {\r\n\tbar: controller_bar,\r\n\tbubble: controller_bubble,\r\n\tdoughnut: controller_doughnut,\r\n\thorizontalBar: controller_horizontalBar,\r\n\tline: controller_line,\r\n\tpolarArea: controller_polarArea,\r\n\tpie: controller_pie,\r\n\tradar: controller_radar,\r\n\tscatter: controller_scatter\r\n};\n\n/**\r\n * Helper function to get relative position for an event\r\n * @param {Event|IEvent} event - The event to get the position for\r\n * @param {Chart} chart - The chart\r\n * @returns {object} the event position\r\n */\r\nfunction getRelativePosition(e, chart) {\r\n\tif (e.native) {\r\n\t\treturn {\r\n\t\t\tx: e.x,\r\n\t\t\ty: e.y\r\n\t\t};\r\n\t}\r\n\r\n\treturn helpers$1.getRelativePosition(e, chart);\r\n}\r\n\r\n/**\r\n * Helper function to traverse all of the visible elements in the chart\r\n * @param {Chart} chart - the chart\r\n * @param {function} handler - the callback to execute for each visible item\r\n */\r\nfunction parseVisibleItems(chart, handler) {\r\n\tvar metasets = chart._getSortedVisibleDatasetMetas();\r\n\tvar metadata, i, j, ilen, jlen, element;\r\n\r\n\tfor (i = 0, ilen = metasets.length; i < ilen; ++i) {\r\n\t\tmetadata = metasets[i].data;\r\n\t\tfor (j = 0, jlen = metadata.length; j < jlen; ++j) {\r\n\t\t\telement = metadata[j];\r\n\t\t\tif (!element._view.skip) {\r\n\t\t\t\thandler(element);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * Helper function to get the items that intersect the event position\r\n * @param {ChartElement[]} items - elements to filter\r\n * @param {object} position - the point to be nearest to\r\n * @return {ChartElement[]} the nearest items\r\n */\r\nfunction getIntersectItems(chart, position) {\r\n\tvar elements = [];\r\n\r\n\tparseVisibleItems(chart, function(element) {\r\n\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\telements.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn elements;\r\n}\r\n\r\n/**\r\n * Helper function to get the items nearest to the event position considering all visible items in teh chart\r\n * @param {Chart} chart - the chart to look at elements from\r\n * @param {object} position - the point to be nearest to\r\n * @param {boolean} intersect - if true, only consider items that intersect the position\r\n * @param {function} distanceMetric - function to provide the distance between points\r\n * @return {ChartElement[]} the nearest items\r\n */\r\nfunction getNearestItems(chart, position, intersect, distanceMetric) {\r\n\tvar minDistance = Number.POSITIVE_INFINITY;\r\n\tvar nearestItems = [];\r\n\r\n\tparseVisibleItems(chart, function(element) {\r\n\t\tif (intersect && !element.inRange(position.x, position.y)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar center = element.getCenterPoint();\r\n\t\tvar distance = distanceMetric(position, center);\r\n\t\tif (distance < minDistance) {\r\n\t\t\tnearestItems = [element];\r\n\t\t\tminDistance = distance;\r\n\t\t} else if (distance === minDistance) {\r\n\t\t\t// Can have multiple items at the same distance in which case we sort by size\r\n\t\t\tnearestItems.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn nearestItems;\r\n}\r\n\r\n/**\r\n * Get a distance metric function for two points based on the\r\n * axis mode setting\r\n * @param {string} axis - the axis mode. x|y|xy\r\n */\r\nfunction getDistanceMetricForAxis(axis) {\r\n\tvar useX = axis.indexOf('x') !== -1;\r\n\tvar useY = axis.indexOf('y') !== -1;\r\n\r\n\treturn function(pt1, pt2) {\r\n\t\tvar deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;\r\n\t\tvar deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;\r\n\t\treturn Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));\r\n\t};\r\n}\r\n\r\nfunction indexMode(chart, e, options) {\r\n\tvar position = getRelativePosition(e, chart);\r\n\t// Default axis for index mode is 'x' to match old behaviour\r\n\toptions.axis = options.axis || 'x';\r\n\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\r\n\tvar elements = [];\r\n\r\n\tif (!items.length) {\r\n\t\treturn [];\r\n\t}\r\n\r\n\tchart._getSortedVisibleDatasetMetas().forEach(function(meta) {\r\n\t\tvar element = meta.data[items[0]._index];\r\n\r\n\t\t// don't count items that are skipped (null data)\r\n\t\tif (element && !element._view.skip) {\r\n\t\t\telements.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn elements;\r\n}\r\n\r\n/**\r\n * @interface IInteractionOptions\r\n */\r\n/**\r\n * If true, only consider items that intersect the point\r\n * @name IInterfaceOptions#boolean\r\n * @type Boolean\r\n */\r\n\r\n/**\r\n * Contains interaction related functions\r\n * @namespace Chart.Interaction\r\n */\r\nvar core_interaction = {\r\n\t// Helper function for different modes\r\n\tmodes: {\r\n\t\tsingle: function(chart, e) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar elements = [];\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\telements.push(element);\r\n\t\t\t\t\treturn elements;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\treturn elements.slice(0, 1);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * @function Chart.Interaction.modes.label\r\n\t\t * @deprecated since version 2.4.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tlabel: indexMode,\r\n\r\n\t\t/**\r\n\t\t * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something\r\n\t\t * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item\r\n\t\t * @function Chart.Interaction.modes.index\r\n\t\t * @since v2.4.0\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use during interaction\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tindex: indexMode,\r\n\r\n\t\t/**\r\n\t\t * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something\r\n\t\t * If the options.intersect is false, we find the nearest item and return the items in that dataset\r\n\t\t * @function Chart.Interaction.modes.dataset\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use during interaction\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tdataset: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\toptions.axis = options.axis || 'xy';\r\n\t\t\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\t\t\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\r\n\r\n\t\t\tif (items.length > 0) {\r\n\t\t\t\titems = chart.getDatasetMeta(items[0]._datasetIndex).data;\r\n\t\t\t}\r\n\r\n\t\t\treturn items;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * @function Chart.Interaction.modes.x-axis\r\n\t\t * @deprecated since version 2.4.0. Use index mode and intersect == true\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\t'x-axis': function(chart, e) {\r\n\t\t\treturn indexMode(chart, e, {intersect: false});\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Point mode returns all elements that hit test based on the event position\r\n\t\t * of the event\r\n\t\t * @function Chart.Interaction.modes.intersect\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tpoint: function(chart, e) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\treturn getIntersectItems(chart, position);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * nearest mode returns the element closest to the point\r\n\t\t * @function Chart.Interaction.modes.intersect\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tnearest: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\toptions.axis = options.axis || 'xy';\r\n\t\t\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\t\t\treturn getNearestItems(chart, position, options.intersect, distanceMetric);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * x mode returns the elements that hit-test at the current x coordinate\r\n\t\t * @function Chart.Interaction.modes.x\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tx: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar items = [];\r\n\t\t\tvar intersectsItem = false;\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inXRange(position.x)) {\r\n\t\t\t\t\titems.push(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\tintersectsItem = true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// If we want to trigger on an intersect and we don't have any items\r\n\t\t\t// that intersect the position, return nothing\r\n\t\t\tif (options.intersect && !intersectsItem) {\r\n\t\t\t\titems = [];\r\n\t\t\t}\r\n\t\t\treturn items;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * y mode returns the elements that hit-test at the current y coordinate\r\n\t\t * @function Chart.Interaction.modes.y\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\ty: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar items = [];\r\n\t\t\tvar intersectsItem = false;\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inYRange(position.y)) {\r\n\t\t\t\t\titems.push(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\tintersectsItem = true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// If we want to trigger on an intersect and we don't have any items\r\n\t\t\t// that intersect the position, return nothing\r\n\t\t\tif (options.intersect && !intersectsItem) {\r\n\t\t\t\titems = [];\r\n\t\t\t}\r\n\t\t\treturn items;\r\n\t\t}\r\n\t}\r\n};\n\nvar extend = helpers$1.extend;\r\n\r\nfunction filterByPosition(array, position) {\r\n\treturn helpers$1.where(array, function(v) {\r\n\t\treturn v.pos === position;\r\n\t});\r\n}\r\n\r\nfunction sortByWeight(array, reverse) {\r\n\treturn array.sort(function(a, b) {\r\n\t\tvar v0 = reverse ? b : a;\r\n\t\tvar v1 = reverse ? a : b;\r\n\t\treturn v0.weight === v1.weight ?\r\n\t\t\tv0.index - v1.index :\r\n\t\t\tv0.weight - v1.weight;\r\n\t});\r\n}\r\n\r\nfunction wrapBoxes(boxes) {\r\n\tvar layoutBoxes = [];\r\n\tvar i, ilen, box;\r\n\r\n\tfor (i = 0, ilen = (boxes || []).length; i < ilen; ++i) {\r\n\t\tbox = boxes[i];\r\n\t\tlayoutBoxes.push({\r\n\t\t\tindex: i,\r\n\t\t\tbox: box,\r\n\t\t\tpos: box.position,\r\n\t\t\thorizontal: box.isHorizontal(),\r\n\t\t\tweight: box.weight\r\n\t\t});\r\n\t}\r\n\treturn layoutBoxes;\r\n}\r\n\r\nfunction setLayoutDims(layouts, params) {\r\n\tvar i, ilen, layout;\r\n\tfor (i = 0, ilen = layouts.length; i < ilen; ++i) {\r\n\t\tlayout = layouts[i];\r\n\t\t// store width used instead of chartArea.w in fitBoxes\r\n\t\tlayout.width = layout.horizontal\r\n\t\t\t? layout.box.fullWidth && params.availableWidth\r\n\t\t\t: params.vBoxMaxWidth;\r\n\t\t// store height used instead of chartArea.h in fitBoxes\r\n\t\tlayout.height = layout.horizontal && params.hBoxMaxHeight;\r\n\t}\r\n}\r\n\r\nfunction buildLayoutBoxes(boxes) {\r\n\tvar layoutBoxes = wrapBoxes(boxes);\r\n\tvar left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true);\r\n\tvar right = sortByWeight(filterByPosition(layoutBoxes, 'right'));\r\n\tvar top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true);\r\n\tvar bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom'));\r\n\r\n\treturn {\r\n\t\tleftAndTop: left.concat(top),\r\n\t\trightAndBottom: right.concat(bottom),\r\n\t\tchartArea: filterByPosition(layoutBoxes, 'chartArea'),\r\n\t\tvertical: left.concat(right),\r\n\t\thorizontal: top.concat(bottom)\r\n\t};\r\n}\r\n\r\nfunction getCombinedMax(maxPadding, chartArea, a, b) {\r\n\treturn Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]);\r\n}\r\n\r\nfunction updateDims(chartArea, params, layout) {\r\n\tvar box = layout.box;\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\tvar newWidth, newHeight;\r\n\r\n\tif (layout.size) {\r\n\t\t// this layout was already counted for, lets first reduce old size\r\n\t\tchartArea[layout.pos] -= layout.size;\r\n\t}\r\n\tlayout.size = layout.horizontal ? box.height : box.width;\r\n\tchartArea[layout.pos] += layout.size;\r\n\r\n\tif (box.getPadding) {\r\n\t\tvar boxPadding = box.getPadding();\r\n\t\tmaxPadding.top = Math.max(maxPadding.top, boxPadding.top);\r\n\t\tmaxPadding.left = Math.max(maxPadding.left, boxPadding.left);\r\n\t\tmaxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom);\r\n\t\tmaxPadding.right = Math.max(maxPadding.right, boxPadding.right);\r\n\t}\r\n\r\n\tnewWidth = params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right');\r\n\tnewHeight = params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom');\r\n\r\n\tif (newWidth !== chartArea.w || newHeight !== chartArea.h) {\r\n\t\tchartArea.w = newWidth;\r\n\t\tchartArea.h = newHeight;\r\n\r\n\t\t// return true if chart area changed in layout's direction\r\n\t\tvar sizes = layout.horizontal ? [newWidth, chartArea.w] : [newHeight, chartArea.h];\r\n\t\treturn sizes[0] !== sizes[1] && (!isNaN(sizes[0]) || !isNaN(sizes[1]));\r\n\t}\r\n}\r\n\r\nfunction handleMaxPadding(chartArea) {\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\r\n\tfunction updatePos(pos) {\r\n\t\tvar change = Math.max(maxPadding[pos] - chartArea[pos], 0);\r\n\t\tchartArea[pos] += change;\r\n\t\treturn change;\r\n\t}\r\n\tchartArea.y += updatePos('top');\r\n\tchartArea.x += updatePos('left');\r\n\tupdatePos('right');\r\n\tupdatePos('bottom');\r\n}\r\n\r\nfunction getMargins(horizontal, chartArea) {\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\r\n\tfunction marginForPositions(positions) {\r\n\t\tvar margin = {left: 0, top: 0, right: 0, bottom: 0};\r\n\t\tpositions.forEach(function(pos) {\r\n\t\t\tmargin[pos] = Math.max(chartArea[pos], maxPadding[pos]);\r\n\t\t});\r\n\t\treturn margin;\r\n\t}\r\n\r\n\treturn horizontal\r\n\t\t? marginForPositions(['left', 'right'])\r\n\t\t: marginForPositions(['top', 'bottom']);\r\n}\r\n\r\nfunction fitBoxes(boxes, chartArea, params) {\r\n\tvar refitBoxes = [];\r\n\tvar i, ilen, layout, box, refit, changed;\r\n\r\n\tfor (i = 0, ilen = boxes.length; i < ilen; ++i) {\r\n\t\tlayout = boxes[i];\r\n\t\tbox = layout.box;\r\n\r\n\t\tbox.update(\r\n\t\t\tlayout.width || chartArea.w,\r\n\t\t\tlayout.height || chartArea.h,\r\n\t\t\tgetMargins(layout.horizontal, chartArea)\r\n\t\t);\r\n\t\tif (updateDims(chartArea, params, layout)) {\r\n\t\t\tchanged = true;\r\n\t\t\tif (refitBoxes.length) {\r\n\t\t\t\t// Dimensions changed and there were non full width boxes before this\r\n\t\t\t\t// -> we have to refit those\r\n\t\t\t\trefit = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!box.fullWidth) { // fullWidth boxes don't need to be re-fitted in any case\r\n\t\t\trefitBoxes.push(layout);\r\n\t\t}\r\n\t}\r\n\r\n\treturn refit ? fitBoxes(refitBoxes, chartArea, params) || changed : changed;\r\n}\r\n\r\nfunction placeBoxes(boxes, chartArea, params) {\r\n\tvar userPadding = params.padding;\r\n\tvar x = chartArea.x;\r\n\tvar y = chartArea.y;\r\n\tvar i, ilen, layout, box;\r\n\r\n\tfor (i = 0, ilen = boxes.length; i < ilen; ++i) {\r\n\t\tlayout = boxes[i];\r\n\t\tbox = layout.box;\r\n\t\tif (layout.horizontal) {\r\n\t\t\tbox.left = box.fullWidth ? userPadding.left : chartArea.left;\r\n\t\t\tbox.right = box.fullWidth ? params.outerWidth - userPadding.right : chartArea.left + chartArea.w;\r\n\t\t\tbox.top = y;\r\n\t\t\tbox.bottom = y + box.height;\r\n\t\t\tbox.width = box.right - box.left;\r\n\t\t\ty = box.bottom;\r\n\t\t} else {\r\n\t\t\tbox.left = x;\r\n\t\t\tbox.right = x + box.width;\r\n\t\t\tbox.top = chartArea.top;\r\n\t\t\tbox.bottom = chartArea.top + chartArea.h;\r\n\t\t\tbox.height = box.bottom - box.top;\r\n\t\t\tx = box.right;\r\n\t\t}\r\n\t}\r\n\r\n\tchartArea.x = x;\r\n\tchartArea.y = y;\r\n}\r\n\r\ncore_defaults._set('global', {\r\n\tlayout: {\r\n\t\tpadding: {\r\n\t\t\ttop: 0,\r\n\t\t\tright: 0,\r\n\t\t\tbottom: 0,\r\n\t\t\tleft: 0\r\n\t\t}\r\n\t}\r\n});\r\n\r\n/**\r\n * @interface ILayoutItem\r\n * @prop {string} position - The position of the item in the chart layout. Possible values are\r\n * 'left', 'top', 'right', 'bottom', and 'chartArea'\r\n * @prop {number} weight - The weight used to sort the item. Higher weights are further away from the chart area\r\n * @prop {boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down\r\n * @prop {function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)\r\n * @prop {function} update - Takes two parameters: width and height. Returns size of item\r\n * @prop {function} getPadding -  Returns an object with padding on the edges\r\n * @prop {number} width - Width of item. Must be valid after update()\r\n * @prop {number} height - Height of item. Must be valid after update()\r\n * @prop {number} left - Left edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} top - Top edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} right - Right edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update\r\n */\r\n\r\n// The layout service is very self explanatory.  It's responsible for the layout within a chart.\r\n// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need\r\n// It is this service's responsibility of carrying out that layout.\r\nvar core_layouts = {\r\n\tdefaults: {},\r\n\r\n\t/**\r\n\t * Register a box to a chart.\r\n\t * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.\r\n\t * @param {Chart} chart - the chart to use\r\n\t * @param {ILayoutItem} item - the item to add to be layed out\r\n\t */\r\n\taddBox: function(chart, item) {\r\n\t\tif (!chart.boxes) {\r\n\t\t\tchart.boxes = [];\r\n\t\t}\r\n\r\n\t\t// initialize item with default values\r\n\t\titem.fullWidth = item.fullWidth || false;\r\n\t\titem.position = item.position || 'top';\r\n\t\titem.weight = item.weight || 0;\r\n\t\titem._layers = item._layers || function() {\r\n\t\t\treturn [{\r\n\t\t\t\tz: 0,\r\n\t\t\t\tdraw: function() {\r\n\t\t\t\t\titem.draw.apply(item, arguments);\r\n\t\t\t\t}\r\n\t\t\t}];\r\n\t\t};\r\n\r\n\t\tchart.boxes.push(item);\r\n\t},\r\n\r\n\t/**\r\n\t * Remove a layoutItem from a chart\r\n\t * @param {Chart} chart - the chart to remove the box from\r\n\t * @param {ILayoutItem} layoutItem - the item to remove from the layout\r\n\t */\r\n\tremoveBox: function(chart, layoutItem) {\r\n\t\tvar index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;\r\n\t\tif (index !== -1) {\r\n\t\t\tchart.boxes.splice(index, 1);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Sets (or updates) options on the given `item`.\r\n\t * @param {Chart} chart - the chart in which the item lives (or will be added to)\r\n\t * @param {ILayoutItem} item - the item to configure with the given options\r\n\t * @param {object} options - the new item options.\r\n\t */\r\n\tconfigure: function(chart, item, options) {\r\n\t\tvar props = ['fullWidth', 'position', 'weight'];\r\n\t\tvar ilen = props.length;\r\n\t\tvar i = 0;\r\n\t\tvar prop;\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tprop = props[i];\r\n\t\t\tif (options.hasOwnProperty(prop)) {\r\n\t\t\t\titem[prop] = options[prop];\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Fits boxes of the given chart into the given size by having each box measure itself\r\n\t * then running a fitting algorithm\r\n\t * @param {Chart} chart - the chart\r\n\t * @param {number} width - the width to fit into\r\n\t * @param {number} height - the height to fit into\r\n\t */\r\n\tupdate: function(chart, width, height) {\r\n\t\tif (!chart) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar layoutOptions = chart.options.layout || {};\r\n\t\tvar padding = helpers$1.options.toPadding(layoutOptions.padding);\r\n\r\n\t\tvar availableWidth = width - padding.width;\r\n\t\tvar availableHeight = height - padding.height;\r\n\t\tvar boxes = buildLayoutBoxes(chart.boxes);\r\n\t\tvar verticalBoxes = boxes.vertical;\r\n\t\tvar horizontalBoxes = boxes.horizontal;\r\n\r\n\t\t// Essentially we now have any number of boxes on each of the 4 sides.\r\n\t\t// Our canvas looks like the following.\r\n\t\t// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and\r\n\t\t// B1 is the bottom axis\r\n\t\t// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays\r\n\t\t// These locations are single-box locations only, when trying to register a chartArea location that is already taken,\r\n\t\t// an error will be thrown.\r\n\t\t//\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |                  T1 (Full Width)                   |\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |    |    |                 T2                  |    |\r\n\t\t// |    |----|-------------------------------------|----|\r\n\t\t// |    |    | C1 |                           | C2 |    |\r\n\t\t// |    |    |----|                           |----|    |\r\n\t\t// |    |    |                                     |    |\r\n\t\t// | L1 | L2 |           ChartArea (C0)            | R1 |\r\n\t\t// |    |    |                                     |    |\r\n\t\t// |    |    |----|                           |----|    |\r\n\t\t// |    |    | C3 |                           | C4 |    |\r\n\t\t// |    |----|-------------------------------------|----|\r\n\t\t// |    |    |                 B1                  |    |\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |                  B2 (Full Width)                   |\r\n\t\t// |----------------------------------------------------|\r\n\t\t//\r\n\r\n\t\tvar params = Object.freeze({\r\n\t\t\touterWidth: width,\r\n\t\t\touterHeight: height,\r\n\t\t\tpadding: padding,\r\n\t\t\tavailableWidth: availableWidth,\r\n\t\t\tvBoxMaxWidth: availableWidth / 2 / verticalBoxes.length,\r\n\t\t\thBoxMaxHeight: availableHeight / 2\r\n\t\t});\r\n\t\tvar chartArea = extend({\r\n\t\t\tmaxPadding: extend({}, padding),\r\n\t\t\tw: availableWidth,\r\n\t\t\th: availableHeight,\r\n\t\t\tx: padding.left,\r\n\t\t\ty: padding.top\r\n\t\t}, padding);\r\n\r\n\t\tsetLayoutDims(verticalBoxes.concat(horizontalBoxes), params);\r\n\r\n\t\t// First fit vertical boxes\r\n\t\tfitBoxes(verticalBoxes, chartArea, params);\r\n\r\n\t\t// Then fit horizontal boxes\r\n\t\tif (fitBoxes(horizontalBoxes, chartArea, params)) {\r\n\t\t\t// if the area changed, re-fit vertical boxes\r\n\t\t\tfitBoxes(verticalBoxes, chartArea, params);\r\n\t\t}\r\n\r\n\t\thandleMaxPadding(chartArea);\r\n\r\n\t\t// Finally place the boxes to correct coordinates\r\n\t\tplaceBoxes(boxes.leftAndTop, chartArea, params);\r\n\r\n\t\t// Move to opposite side of chart\r\n\t\tchartArea.x += chartArea.w;\r\n\t\tchartArea.y += chartArea.h;\r\n\r\n\t\tplaceBoxes(boxes.rightAndBottom, chartArea, params);\r\n\r\n\t\tchart.chartArea = {\r\n\t\t\tleft: chartArea.left,\r\n\t\t\ttop: chartArea.top,\r\n\t\t\tright: chartArea.left + chartArea.w,\r\n\t\t\tbottom: chartArea.top + chartArea.h\r\n\t\t};\r\n\r\n\t\t// Finally update boxes in chartArea (radial scale for example)\r\n\t\thelpers$1.each(boxes.chartArea, function(layout) {\r\n\t\t\tvar box = layout.box;\r\n\t\t\textend(box, chart.chartArea);\r\n\t\t\tbox.update(chartArea.w, chartArea.h);\r\n\t\t});\r\n\t}\r\n};\n\n/**\r\n * Platform fallback implementation (minimal).\r\n * @see https://github.com/chartjs/Chart.js/pull/4591#issuecomment-319575939\r\n */\r\n\r\nvar platform_basic = {\r\n\tacquireContext: function(item) {\r\n\t\tif (item && item.canvas) {\r\n\t\t\t// Support for any object associated to a canvas (including a context2d)\r\n\t\t\titem = item.canvas;\r\n\t\t}\r\n\r\n\t\treturn item && item.getContext('2d') || null;\r\n\t}\r\n};\n\nvar platform_dom = \"/*\\r\\n * DOM element rendering detection\\r\\n * https://davidwalsh.name/detect-node-insertion\\r\\n */\\r\\n@keyframes chartjs-render-animation {\\r\\n\\tfrom { opacity: 0.99; }\\r\\n\\tto { opacity: 1; }\\r\\n}\\r\\n\\r\\n.chartjs-render-monitor {\\r\\n\\tanimation: chartjs-render-animation 0.001s;\\r\\n}\\r\\n\\r\\n/*\\r\\n * DOM element resizing detection\\r\\n * https://github.com/marcj/css-element-queries\\r\\n */\\r\\n.chartjs-size-monitor,\\r\\n.chartjs-size-monitor-expand,\\r\\n.chartjs-size-monitor-shrink {\\r\\n\\tposition: absolute;\\r\\n\\tdirection: ltr;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\toverflow: hidden;\\r\\n\\tpointer-events: none;\\r\\n\\tvisibility: hidden;\\r\\n\\tz-index: -1;\\r\\n}\\r\\n\\r\\n.chartjs-size-monitor-expand > div {\\r\\n\\tposition: absolute;\\r\\n\\twidth: 1000000px;\\r\\n\\theight: 1000000px;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n}\\r\\n\\r\\n.chartjs-size-monitor-shrink > div {\\r\\n\\tposition: absolute;\\r\\n\\twidth: 200%;\\r\\n\\theight: 200%;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n}\\r\\n\";\n\nvar platform_dom$1 = /*#__PURE__*/Object.freeze({\n__proto__: null,\n'default': platform_dom\n});\n\nvar stylesheet = getCjsExportFromNamespace(platform_dom$1);\n\nvar EXPANDO_KEY = '$chartjs';\r\nvar CSS_PREFIX = 'chartjs-';\r\nvar CSS_SIZE_MONITOR = CSS_PREFIX + 'size-monitor';\r\nvar CSS_RENDER_MONITOR = CSS_PREFIX + 'render-monitor';\r\nvar CSS_RENDER_ANIMATION = CSS_PREFIX + 'render-animation';\r\nvar ANIMATION_START_EVENTS = ['animationstart', 'webkitAnimationStart'];\r\n\r\n/**\r\n * DOM event types -> Chart.js event types.\r\n * Note: only events with different types are mapped.\r\n * @see https://developer.mozilla.org/en-US/docs/Web/Events\r\n */\r\nvar EVENT_TYPES = {\r\n\ttouchstart: 'mousedown',\r\n\ttouchmove: 'mousemove',\r\n\ttouchend: 'mouseup',\r\n\tpointerenter: 'mouseenter',\r\n\tpointerdown: 'mousedown',\r\n\tpointermove: 'mousemove',\r\n\tpointerup: 'mouseup',\r\n\tpointerleave: 'mouseout',\r\n\tpointerout: 'mouseout'\r\n};\r\n\r\n/**\r\n * The \"used\" size is the final value of a dimension property after all calculations have\r\n * been performed. This method uses the computed style of `element` but returns undefined\r\n * if the computed style is not expressed in pixels. That can happen in some cases where\r\n * `element` has a size relative to its parent and this last one is not yet displayed,\r\n * for example because of `display: none` on a parent node.\r\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\r\n * @returns {number} Size in pixels or undefined if unknown.\r\n */\r\nfunction readUsedSize(element, property) {\r\n\tvar value = helpers$1.getStyle(element, property);\r\n\tvar matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\r\n\treturn matches ? Number(matches[1]) : undefined;\r\n}\r\n\r\n/**\r\n * Initializes the canvas style and render size without modifying the canvas display size,\r\n * since responsiveness is handled by the controller.resize() method. The config is used\r\n * to determine the aspect ratio to apply in case no explicit height has been specified.\r\n */\r\nfunction initCanvas(canvas, config) {\r\n\tvar style = canvas.style;\r\n\r\n\t// NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it\r\n\t// returns null or '' if no explicit value has been set to the canvas attribute.\r\n\tvar renderHeight = canvas.getAttribute('height');\r\n\tvar renderWidth = canvas.getAttribute('width');\r\n\r\n\t// Chart.js modifies some canvas values that we want to restore on destroy\r\n\tcanvas[EXPANDO_KEY] = {\r\n\t\tinitial: {\r\n\t\t\theight: renderHeight,\r\n\t\t\twidth: renderWidth,\r\n\t\t\tstyle: {\r\n\t\t\t\tdisplay: style.display,\r\n\t\t\t\theight: style.height,\r\n\t\t\t\twidth: style.width\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t// Force canvas to display as block to avoid extra space caused by inline\r\n\t// elements, which would interfere with the responsive resize process.\r\n\t// https://github.com/chartjs/Chart.js/issues/2538\r\n\tstyle.display = style.display || 'block';\r\n\r\n\tif (renderWidth === null || renderWidth === '') {\r\n\t\tvar displayWidth = readUsedSize(canvas, 'width');\r\n\t\tif (displayWidth !== undefined) {\r\n\t\t\tcanvas.width = displayWidth;\r\n\t\t}\r\n\t}\r\n\r\n\tif (renderHeight === null || renderHeight === '') {\r\n\t\tif (canvas.style.height === '') {\r\n\t\t\t// If no explicit render height and style height, let's apply the aspect ratio,\r\n\t\t\t// which one can be specified by the user but also by charts as default option\r\n\t\t\t// (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.\r\n\t\t\tcanvas.height = canvas.width / (config.options.aspectRatio || 2);\r\n\t\t} else {\r\n\t\t\tvar displayHeight = readUsedSize(canvas, 'height');\r\n\t\t\tif (displayWidth !== undefined) {\r\n\t\t\t\tcanvas.height = displayHeight;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\treturn canvas;\r\n}\r\n\r\n/**\r\n * Detects support for options object argument in addEventListener.\r\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support\r\n * @private\r\n */\r\nvar supportsEventListenerOptions = (function() {\r\n\tvar supports = false;\r\n\ttry {\r\n\t\tvar options = Object.defineProperty({}, 'passive', {\r\n\t\t\t// eslint-disable-next-line getter-return\r\n\t\t\tget: function() {\r\n\t\t\t\tsupports = true;\r\n\t\t\t}\r\n\t\t});\r\n\t\twindow.addEventListener('e', null, options);\r\n\t} catch (e) {\r\n\t\t// continue regardless of error\r\n\t}\r\n\treturn supports;\r\n}());\r\n\r\n// Default passive to true as expected by Chrome for 'touchstart' and 'touchend' events.\r\n// https://github.com/chartjs/Chart.js/issues/4287\r\nvar eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false;\r\n\r\nfunction addListener(node, type, listener) {\r\n\tnode.addEventListener(type, listener, eventListenerOptions);\r\n}\r\n\r\nfunction removeListener(node, type, listener) {\r\n\tnode.removeEventListener(type, listener, eventListenerOptions);\r\n}\r\n\r\nfunction createEvent(type, chart, x, y, nativeEvent) {\r\n\treturn {\r\n\t\ttype: type,\r\n\t\tchart: chart,\r\n\t\tnative: nativeEvent || null,\r\n\t\tx: x !== undefined ? x : null,\r\n\t\ty: y !== undefined ? y : null,\r\n\t};\r\n}\r\n\r\nfunction fromNativeEvent(event, chart) {\r\n\tvar type = EVENT_TYPES[event.type] || event.type;\r\n\tvar pos = helpers$1.getRelativePosition(event, chart);\r\n\treturn createEvent(type, chart, pos.x, pos.y, event);\r\n}\r\n\r\nfunction throttled(fn, thisArg) {\r\n\tvar ticking = false;\r\n\tvar args = [];\r\n\r\n\treturn function() {\r\n\t\targs = Array.prototype.slice.call(arguments);\r\n\t\tthisArg = thisArg || this;\r\n\r\n\t\tif (!ticking) {\r\n\t\t\tticking = true;\r\n\t\t\thelpers$1.requestAnimFrame.call(window, function() {\r\n\t\t\t\tticking = false;\r\n\t\t\t\tfn.apply(thisArg, args);\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createDiv(cls) {\r\n\tvar el = document.createElement('div');\r\n\tel.className = cls || '';\r\n\treturn el;\r\n}\r\n\r\n// Implementation based on https://github.com/marcj/css-element-queries\r\nfunction createResizer(handler) {\r\n\tvar maxSize = 1000000;\r\n\r\n\t// NOTE(SB) Don't use innerHTML because it could be considered unsafe.\r\n\t// https://github.com/chartjs/Chart.js/issues/5902\r\n\tvar resizer = createDiv(CSS_SIZE_MONITOR);\r\n\tvar expand = createDiv(CSS_SIZE_MONITOR + '-expand');\r\n\tvar shrink = createDiv(CSS_SIZE_MONITOR + '-shrink');\r\n\r\n\texpand.appendChild(createDiv());\r\n\tshrink.appendChild(createDiv());\r\n\r\n\tresizer.appendChild(expand);\r\n\tresizer.appendChild(shrink);\r\n\tresizer._reset = function() {\r\n\t\texpand.scrollLeft = maxSize;\r\n\t\texpand.scrollTop = maxSize;\r\n\t\tshrink.scrollLeft = maxSize;\r\n\t\tshrink.scrollTop = maxSize;\r\n\t};\r\n\r\n\tvar onScroll = function() {\r\n\t\tresizer._reset();\r\n\t\thandler();\r\n\t};\r\n\r\n\taddListener(expand, 'scroll', onScroll.bind(expand, 'expand'));\r\n\taddListener(shrink, 'scroll', onScroll.bind(shrink, 'shrink'));\r\n\r\n\treturn resizer;\r\n}\r\n\r\n// https://davidwalsh.name/detect-node-insertion\r\nfunction watchForRender(node, handler) {\r\n\tvar expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\r\n\tvar proxy = expando.renderProxy = function(e) {\r\n\t\tif (e.animationName === CSS_RENDER_ANIMATION) {\r\n\t\t\thandler();\r\n\t\t}\r\n\t};\r\n\r\n\thelpers$1.each(ANIMATION_START_EVENTS, function(type) {\r\n\t\taddListener(node, type, proxy);\r\n\t});\r\n\r\n\t// #4737: Chrome might skip the CSS animation when the CSS_RENDER_MONITOR class\r\n\t// is removed then added back immediately (same animation frame?). Accessing the\r\n\t// `offsetParent` property will force a reflow and re-evaluate the CSS animation.\r\n\t// https://gist.github.com/paulirish/5d52fb081b3570c81e3a#box-metrics\r\n\t// https://github.com/chartjs/Chart.js/issues/4737\r\n\texpando.reflow = !!node.offsetParent;\r\n\r\n\tnode.classList.add(CSS_RENDER_MONITOR);\r\n}\r\n\r\nfunction unwatchForRender(node) {\r\n\tvar expando = node[EXPANDO_KEY] || {};\r\n\tvar proxy = expando.renderProxy;\r\n\r\n\tif (proxy) {\r\n\t\thelpers$1.each(ANIMATION_START_EVENTS, function(type) {\r\n\t\t\tremoveListener(node, type, proxy);\r\n\t\t});\r\n\r\n\t\tdelete expando.renderProxy;\r\n\t}\r\n\r\n\tnode.classList.remove(CSS_RENDER_MONITOR);\r\n}\r\n\r\nfunction addResizeListener(node, listener, chart) {\r\n\tvar expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\r\n\r\n\t// Let's keep track of this added resizer and thus avoid DOM query when removing it.\r\n\tvar resizer = expando.resizer = createResizer(throttled(function() {\r\n\t\tif (expando.resizer) {\r\n\t\t\tvar container = chart.options.maintainAspectRatio && node.parentNode;\r\n\t\t\tvar w = container ? container.clientWidth : 0;\r\n\t\t\tlistener(createEvent('resize', chart));\r\n\t\t\tif (container && container.clientWidth < w && chart.canvas) {\r\n\t\t\t\t// If the container size shrank during chart resize, let's assume\r\n\t\t\t\t// scrollbar appeared. So we resize again with the scrollbar visible -\r\n\t\t\t\t// effectively making chart smaller and the scrollbar hidden again.\r\n\t\t\t\t// Because we are inside `throttled`, and currently `ticking`, scroll\r\n\t\t\t\t// events are ignored during this whole 2 resize process.\r\n\t\t\t\t// If we assumed wrong and something else happened, we are resizing\r\n\t\t\t\t// twice in a frame (potential performance issue)\r\n\t\t\t\tlistener(createEvent('resize', chart));\r\n\t\t\t}\r\n\t\t}\r\n\t}));\r\n\r\n\t// The resizer needs to be attached to the node parent, so we first need to be\r\n\t// sure that `node` is attached to the DOM before injecting the resizer element.\r\n\twatchForRender(node, function() {\r\n\t\tif (expando.resizer) {\r\n\t\t\tvar container = node.parentNode;\r\n\t\t\tif (container && container !== resizer.parentNode) {\r\n\t\t\t\tcontainer.insertBefore(resizer, container.firstChild);\r\n\t\t\t}\r\n\r\n\t\t\t// The container size might have changed, let's reset the resizer state.\r\n\t\t\tresizer._reset();\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction removeResizeListener(node) {\r\n\tvar expando = node[EXPANDO_KEY] || {};\r\n\tvar resizer = expando.resizer;\r\n\r\n\tdelete expando.resizer;\r\n\tunwatchForRender(node);\r\n\r\n\tif (resizer && resizer.parentNode) {\r\n\t\tresizer.parentNode.removeChild(resizer);\r\n\t}\r\n}\r\n\r\n/**\r\n * Injects CSS styles inline if the styles are not already present.\r\n * @param {HTMLDocument|ShadowRoot} rootNode - the node to contain the <style>.\r\n * @param {string} css - the CSS to be injected.\r\n */\r\nfunction injectCSS(rootNode, css) {\r\n\t// https://stackoverflow.com/q/3922139\r\n\tvar expando = rootNode[EXPANDO_KEY] || (rootNode[EXPANDO_KEY] = {});\r\n\tif (!expando.containsStyles) {\r\n\t\texpando.containsStyles = true;\r\n\t\tcss = '/* Chart.js */\\n' + css;\r\n\t\tvar style = document.createElement('style');\r\n\t\tstyle.setAttribute('type', 'text/css');\r\n\t\tstyle.appendChild(document.createTextNode(css));\r\n\t\trootNode.appendChild(style);\r\n\t}\r\n}\r\n\r\nvar platform_dom$2 = {\r\n\t/**\r\n\t * When `true`, prevents the automatic injection of the stylesheet required to\r\n\t * correctly detect when the chart is added to the DOM and then resized. This\r\n\t * switch has been added to allow external stylesheet (`dist/Chart(.min)?.js`)\r\n\t * to be manually imported to make this library compatible with any CSP.\r\n\t * See https://github.com/chartjs/Chart.js/issues/5208\r\n\t */\r\n\tdisableCSSInjection: false,\r\n\r\n\t/**\r\n\t * This property holds whether this platform is enabled for the current environment.\r\n\t * Currently used by platform.js to select the proper implementation.\r\n\t * @private\r\n\t */\r\n\t_enabled: typeof window !== 'undefined' && typeof document !== 'undefined',\r\n\r\n\t/**\r\n\t * Initializes resources that depend on platform options.\r\n\t * @param {HTMLCanvasElement} canvas - The Canvas element.\r\n\t * @private\r\n\t */\r\n\t_ensureLoaded: function(canvas) {\r\n\t\tif (!this.disableCSSInjection) {\r\n\t\t\t// If the canvas is in a shadow DOM, then the styles must also be inserted\r\n\t\t\t// into the same shadow DOM.\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5763\r\n\t\t\tvar root = canvas.getRootNode ? canvas.getRootNode() : document;\r\n\t\t\tvar targetNode = root.host ? root : document.head;\r\n\t\t\tinjectCSS(targetNode, stylesheet);\r\n\t\t}\r\n\t},\r\n\r\n\tacquireContext: function(item, config) {\r\n\t\tif (typeof item === 'string') {\r\n\t\t\titem = document.getElementById(item);\r\n\t\t} else if (item.length) {\r\n\t\t\t// Support for array based queries (such as jQuery)\r\n\t\t\titem = item[0];\r\n\t\t}\r\n\r\n\t\tif (item && item.canvas) {\r\n\t\t\t// Support for any object associated to a canvas (including a context2d)\r\n\t\t\titem = item.canvas;\r\n\t\t}\r\n\r\n\t\t// To prevent canvas fingerprinting, some add-ons undefine the getContext\r\n\t\t// method, for example: https://github.com/kkapsner/CanvasBlocker\r\n\t\t// https://github.com/chartjs/Chart.js/issues/2807\r\n\t\tvar context = item && item.getContext && item.getContext('2d');\r\n\r\n\t\t// `instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is\r\n\t\t// inside an iframe or when running in a protected environment. We could guess the\r\n\t\t// types from their toString() value but let's keep things flexible and assume it's\r\n\t\t// a sufficient condition if the item has a context2D which has item as `canvas`.\r\n\t\t// https://github.com/chartjs/Chart.js/issues/3887\r\n\t\t// https://github.com/chartjs/Chart.js/issues/4102\r\n\t\t// https://github.com/chartjs/Chart.js/issues/4152\r\n\t\tif (context && context.canvas === item) {\r\n\t\t\t// Load platform resources on first chart creation, to make it possible to\r\n\t\t\t// import the library before setting platform options.\r\n\t\t\tthis._ensureLoaded(item);\r\n\t\t\tinitCanvas(item, config);\r\n\t\t\treturn context;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t},\r\n\r\n\treleaseContext: function(context) {\r\n\t\tvar canvas = context.canvas;\r\n\t\tif (!canvas[EXPANDO_KEY]) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar initial = canvas[EXPANDO_KEY].initial;\r\n\t\t['height', 'width'].forEach(function(prop) {\r\n\t\t\tvar value = initial[prop];\r\n\t\t\tif (helpers$1.isNullOrUndef(value)) {\r\n\t\t\t\tcanvas.removeAttribute(prop);\r\n\t\t\t} else {\r\n\t\t\t\tcanvas.setAttribute(prop, value);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.each(initial.style || {}, function(value, key) {\r\n\t\t\tcanvas.style[key] = value;\r\n\t\t});\r\n\r\n\t\t// The canvas render size might have been changed (and thus the state stack discarded),\r\n\t\t// we can't use save() and restore() to restore the initial state. So make sure that at\r\n\t\t// least the canvas context is reset to the default state by setting the canvas width.\r\n\t\t// https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html\r\n\t\t// eslint-disable-next-line no-self-assign\r\n\t\tcanvas.width = canvas.width;\r\n\r\n\t\tdelete canvas[EXPANDO_KEY];\r\n\t},\r\n\r\n\taddEventListener: function(chart, type, listener) {\r\n\t\tvar canvas = chart.canvas;\r\n\t\tif (type === 'resize') {\r\n\t\t\t// Note: the resize event is not supported on all browsers.\r\n\t\t\taddResizeListener(canvas, listener, chart);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar expando = listener[EXPANDO_KEY] || (listener[EXPANDO_KEY] = {});\r\n\t\tvar proxies = expando.proxies || (expando.proxies = {});\r\n\t\tvar proxy = proxies[chart.id + '_' + type] = function(event) {\r\n\t\t\tlistener(fromNativeEvent(event, chart));\r\n\t\t};\r\n\r\n\t\taddListener(canvas, type, proxy);\r\n\t},\r\n\r\n\tremoveEventListener: function(chart, type, listener) {\r\n\t\tvar canvas = chart.canvas;\r\n\t\tif (type === 'resize') {\r\n\t\t\t// Note: the resize event is not supported on all browsers.\r\n\t\t\tremoveResizeListener(canvas);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar expando = listener[EXPANDO_KEY] || {};\r\n\t\tvar proxies = expando.proxies || {};\r\n\t\tvar proxy = proxies[chart.id + '_' + type];\r\n\t\tif (!proxy) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tremoveListener(canvas, type, proxy);\r\n\t}\r\n};\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use EventTarget.addEventListener instead.\r\n * EventTarget.addEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\r\n * @function Chart.helpers.addEvent\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.addEvent = addListener;\r\n\r\n/**\r\n * Provided for backward compatibility, use EventTarget.removeEventListener instead.\r\n * EventTarget.removeEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener\r\n * @function Chart.helpers.removeEvent\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.removeEvent = removeListener;\n\n// @TODO Make possible to select another platform at build time.\r\nvar implementation = platform_dom$2._enabled ? platform_dom$2 : platform_basic;\r\n\r\n/**\r\n * @namespace Chart.platform\r\n * @see https://chartjs.gitbooks.io/proposals/content/Platform.html\r\n * @since 2.4.0\r\n */\r\nvar platform = helpers$1.extend({\r\n\t/**\r\n\t * @since 2.7.0\r\n\t */\r\n\tinitialize: function() {},\r\n\r\n\t/**\r\n\t * Called at chart construction time, returns a context2d instance implementing\r\n\t * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}.\r\n\t * @param {*} item - The native item from which to acquire context (platform specific)\r\n\t * @param {object} options - The chart options\r\n\t * @returns {CanvasRenderingContext2D} context2d instance\r\n\t */\r\n\tacquireContext: function() {},\r\n\r\n\t/**\r\n\t * Called at chart destruction time, releases any resources associated to the context\r\n\t * previously returned by the acquireContext() method.\r\n\t * @param {CanvasRenderingContext2D} context - The context2d instance\r\n\t * @returns {boolean} true if the method succeeded, else false\r\n\t */\r\n\treleaseContext: function() {},\r\n\r\n\t/**\r\n\t * Registers the specified listener on the given chart.\r\n\t * @param {Chart} chart - Chart from which to listen for event\r\n\t * @param {string} type - The ({@link IEvent}) type to listen for\r\n\t * @param {function} listener - Receives a notification (an object that implements\r\n\t * the {@link IEvent} interface) when an event of the specified type occurs.\r\n\t */\r\n\taddEventListener: function() {},\r\n\r\n\t/**\r\n\t * Removes the specified listener previously registered with addEventListener.\r\n\t * @param {Chart} chart - Chart from which to remove the listener\r\n\t * @param {string} type - The ({@link IEvent}) type to remove\r\n\t * @param {function} listener - The listener function to remove from the event target.\r\n\t */\r\n\tremoveEventListener: function() {}\r\n\r\n}, implementation);\n\ncore_defaults._set('global', {\r\n\tplugins: {}\r\n});\r\n\r\n/**\r\n * The plugin service singleton\r\n * @namespace Chart.plugins\r\n * @since 2.1.0\r\n */\r\nvar core_plugins = {\r\n\t/**\r\n\t * Globally registered plugins.\r\n\t * @private\r\n\t */\r\n\t_plugins: [],\r\n\r\n\t/**\r\n\t * This identifier is used to invalidate the descriptors cache attached to each chart\r\n\t * when a global plugin is registered or unregistered. In this case, the cache ID is\r\n\t * incremented and descriptors are regenerated during following API calls.\r\n\t * @private\r\n\t */\r\n\t_cacheId: 0,\r\n\r\n\t/**\r\n\t * Registers the given plugin(s) if not already registered.\r\n\t * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\r\n\t */\r\n\tregister: function(plugins) {\r\n\t\tvar p = this._plugins;\r\n\t\t([]).concat(plugins).forEach(function(plugin) {\r\n\t\t\tif (p.indexOf(plugin) === -1) {\r\n\t\t\t\tp.push(plugin);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Unregisters the given plugin(s) only if registered.\r\n\t * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\r\n\t */\r\n\tunregister: function(plugins) {\r\n\t\tvar p = this._plugins;\r\n\t\t([]).concat(plugins).forEach(function(plugin) {\r\n\t\t\tvar idx = p.indexOf(plugin);\r\n\t\t\tif (idx !== -1) {\r\n\t\t\t\tp.splice(idx, 1);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Remove all registered plugins.\r\n\t * @since 2.1.5\r\n\t */\r\n\tclear: function() {\r\n\t\tthis._plugins = [];\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the number of registered plugins?\r\n\t * @returns {number}\r\n\t * @since 2.1.5\r\n\t */\r\n\tcount: function() {\r\n\t\treturn this._plugins.length;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns all registered plugin instances.\r\n\t * @returns {IPlugin[]} array of plugin objects.\r\n\t * @since 2.1.5\r\n\t */\r\n\tgetAll: function() {\r\n\t\treturn this._plugins;\r\n\t},\r\n\r\n\t/**\r\n\t * Calls enabled plugins for `chart` on the specified hook and with the given args.\r\n\t * This method immediately returns as soon as a plugin explicitly returns false. The\r\n\t * returned value can be used, for instance, to interrupt the current action.\r\n\t * @param {Chart} chart - The chart instance for which plugins should be called.\r\n\t * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate').\r\n\t * @param {Array} [args] - Extra arguments to apply to the hook call.\r\n\t * @returns {boolean} false if any of the plugins return false, else returns true.\r\n\t */\r\n\tnotify: function(chart, hook, args) {\r\n\t\tvar descriptors = this.descriptors(chart);\r\n\t\tvar ilen = descriptors.length;\r\n\t\tvar i, descriptor, plugin, params, method;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tdescriptor = descriptors[i];\r\n\t\t\tplugin = descriptor.plugin;\r\n\t\t\tmethod = plugin[hook];\r\n\t\t\tif (typeof method === 'function') {\r\n\t\t\t\tparams = [chart].concat(args || []);\r\n\t\t\t\tparams.push(descriptor.options);\r\n\t\t\t\tif (method.apply(plugin, params) === false) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns descriptors of enabled plugins for the given chart.\r\n\t * @returns {object[]} [{ plugin, options }]\r\n\t * @private\r\n\t */\r\n\tdescriptors: function(chart) {\r\n\t\tvar cache = chart.$plugins || (chart.$plugins = {});\r\n\t\tif (cache.id === this._cacheId) {\r\n\t\t\treturn cache.descriptors;\r\n\t\t}\r\n\r\n\t\tvar plugins = [];\r\n\t\tvar descriptors = [];\r\n\t\tvar config = (chart && chart.config) || {};\r\n\t\tvar options = (config.options && config.options.plugins) || {};\r\n\r\n\t\tthis._plugins.concat(config.plugins || []).forEach(function(plugin) {\r\n\t\t\tvar idx = plugins.indexOf(plugin);\r\n\t\t\tif (idx !== -1) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tvar id = plugin.id;\r\n\t\t\tvar opts = options[id];\r\n\t\t\tif (opts === false) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif (opts === true) {\r\n\t\t\t\topts = helpers$1.clone(core_defaults.global.plugins[id]);\r\n\t\t\t}\r\n\r\n\t\t\tplugins.push(plugin);\r\n\t\t\tdescriptors.push({\r\n\t\t\t\tplugin: plugin,\r\n\t\t\t\toptions: opts || {}\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tcache.descriptors = descriptors;\r\n\t\tcache.id = this._cacheId;\r\n\t\treturn descriptors;\r\n\t},\r\n\r\n\t/**\r\n\t * Invalidates cache for the given chart: descriptors hold a reference on plugin option,\r\n\t * but in some cases, this reference can be changed by the user when updating options.\r\n\t * https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\r\n\t * @private\r\n\t */\r\n\t_invalidate: function(chart) {\r\n\t\tdelete chart.$plugins;\r\n\t}\r\n};\n\nvar core_scaleService = {\r\n\t// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then\r\n\t// use the new chart options to grab the correct scale\r\n\tconstructors: {},\r\n\t// Use a registration function so that we can move to an ES6 map when we no longer need to support\r\n\t// old browsers\r\n\r\n\t// Scale config defaults\r\n\tdefaults: {},\r\n\tregisterScaleType: function(type, scaleConstructor, scaleDefaults) {\r\n\t\tthis.constructors[type] = scaleConstructor;\r\n\t\tthis.defaults[type] = helpers$1.clone(scaleDefaults);\r\n\t},\r\n\tgetScaleConstructor: function(type) {\r\n\t\treturn this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;\r\n\t},\r\n\tgetScaleDefaults: function(type) {\r\n\t\t// Return the scale defaults merged with the global settings so that we always use the latest ones\r\n\t\treturn this.defaults.hasOwnProperty(type) ? helpers$1.merge(Object.create(null), [core_defaults.scale, this.defaults[type]]) : {};\r\n\t},\r\n\tupdateScaleDefaults: function(type, additions) {\r\n\t\tvar me = this;\r\n\t\tif (me.defaults.hasOwnProperty(type)) {\r\n\t\t\tme.defaults[type] = helpers$1.extend(me.defaults[type], additions);\r\n\t\t}\r\n\t},\r\n\taddScalesToLayout: function(chart) {\r\n\t\t// Adds each scale to the chart.boxes array to be sized accordingly\r\n\t\thelpers$1.each(chart.scales, function(scale) {\r\n\t\t\t// Set ILayoutItem parameters for backwards compatibility\r\n\t\t\tscale.fullWidth = scale.options.fullWidth;\r\n\t\t\tscale.position = scale.options.position;\r\n\t\t\tscale.weight = scale.options.weight;\r\n\t\t\tcore_layouts.addBox(chart, scale);\r\n\t\t});\r\n\t}\r\n};\n\nvar valueOrDefault$8 = helpers$1.valueOrDefault;\r\nvar getRtlHelper = helpers$1.rtl.getRtlAdapter;\r\n\r\ncore_defaults._set('global', {\r\n\ttooltips: {\r\n\t\tenabled: true,\r\n\t\tcustom: null,\r\n\t\tmode: 'nearest',\r\n\t\tposition: 'average',\r\n\t\tintersect: true,\r\n\t\tbackgroundColor: 'rgba(0,0,0,0.8)',\r\n\t\ttitleFontStyle: 'bold',\r\n\t\ttitleSpacing: 2,\r\n\t\ttitleMarginBottom: 6,\r\n\t\ttitleFontColor: '#fff',\r\n\t\ttitleAlign: 'left',\r\n\t\tbodySpacing: 2,\r\n\t\tbodyFontColor: '#fff',\r\n\t\tbodyAlign: 'left',\r\n\t\tfooterFontStyle: 'bold',\r\n\t\tfooterSpacing: 2,\r\n\t\tfooterMarginTop: 6,\r\n\t\tfooterFontColor: '#fff',\r\n\t\tfooterAlign: 'left',\r\n\t\tyPadding: 6,\r\n\t\txPadding: 6,\r\n\t\tcaretPadding: 2,\r\n\t\tcaretSize: 5,\r\n\t\tcornerRadius: 6,\r\n\t\tmultiKeyBackground: '#fff',\r\n\t\tdisplayColors: true,\r\n\t\tborderColor: 'rgba(0,0,0,0)',\r\n\t\tborderWidth: 0,\r\n\t\tcallbacks: {\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeTitle: helpers$1.noop,\r\n\t\t\ttitle: function(tooltipItems, data) {\r\n\t\t\t\tvar title = '';\r\n\t\t\t\tvar labels = data.labels;\r\n\t\t\t\tvar labelCount = labels ? labels.length : 0;\r\n\r\n\t\t\t\tif (tooltipItems.length > 0) {\r\n\t\t\t\t\tvar item = tooltipItems[0];\r\n\t\t\t\t\tif (item.label) {\r\n\t\t\t\t\t\ttitle = item.label;\r\n\t\t\t\t\t} else if (item.xLabel) {\r\n\t\t\t\t\t\ttitle = item.xLabel;\r\n\t\t\t\t\t} else if (labelCount > 0 && item.index < labelCount) {\r\n\t\t\t\t\t\ttitle = labels[item.index];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn title;\r\n\t\t\t},\r\n\t\t\tafterTitle: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeBody: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItem, data)\r\n\t\t\tbeforeLabel: helpers$1.noop,\r\n\t\t\tlabel: function(tooltipItem, data) {\r\n\t\t\t\tvar label = data.datasets[tooltipItem.datasetIndex].label || '';\r\n\r\n\t\t\t\tif (label) {\r\n\t\t\t\t\tlabel += ': ';\r\n\t\t\t\t}\r\n\t\t\t\tif (!helpers$1.isNullOrUndef(tooltipItem.value)) {\r\n\t\t\t\t\tlabel += tooltipItem.value;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlabel += tooltipItem.yLabel;\r\n\t\t\t\t}\r\n\t\t\t\treturn label;\r\n\t\t\t},\r\n\t\t\tlabelColor: function(tooltipItem, chart) {\r\n\t\t\t\tvar meta = chart.getDatasetMeta(tooltipItem.datasetIndex);\r\n\t\t\t\tvar activeElement = meta.data[tooltipItem.index];\r\n\t\t\t\tvar view = activeElement._view;\r\n\t\t\t\treturn {\r\n\t\t\t\t\tborderColor: view.borderColor,\r\n\t\t\t\t\tbackgroundColor: view.backgroundColor\r\n\t\t\t\t};\r\n\t\t\t},\r\n\t\t\tlabelTextColor: function() {\r\n\t\t\t\treturn this._options.bodyFontColor;\r\n\t\t\t},\r\n\t\t\tafterLabel: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tafterBody: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeFooter: helpers$1.noop,\r\n\t\t\tfooter: helpers$1.noop,\r\n\t\t\tafterFooter: helpers$1.noop\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar positioners = {\r\n\t/**\r\n\t * Average mode places the tooltip at the average position of the elements shown\r\n\t * @function Chart.Tooltip.positioners.average\r\n\t * @param elements {ChartElement[]} the elements being displayed in the tooltip\r\n\t * @returns {object} tooltip position\r\n\t */\r\n\taverage: function(elements) {\r\n\t\tif (!elements.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tvar i, len;\r\n\t\tvar x = 0;\r\n\t\tvar y = 0;\r\n\t\tvar count = 0;\r\n\r\n\t\tfor (i = 0, len = elements.length; i < len; ++i) {\r\n\t\t\tvar el = elements[i];\r\n\t\t\tif (el && el.hasValue()) {\r\n\t\t\t\tvar pos = el.tooltipPosition();\r\n\t\t\t\tx += pos.x;\r\n\t\t\t\ty += pos.y;\r\n\t\t\t\t++count;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tx: x / count,\r\n\t\t\ty: y / count\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Gets the tooltip position nearest of the item nearest to the event position\r\n\t * @function Chart.Tooltip.positioners.nearest\r\n\t * @param elements {Chart.Element[]} the tooltip elements\r\n\t * @param eventPosition {object} the position of the event in canvas coordinates\r\n\t * @returns {object} the tooltip position\r\n\t */\r\n\tnearest: function(elements, eventPosition) {\r\n\t\tvar x = eventPosition.x;\r\n\t\tvar y = eventPosition.y;\r\n\t\tvar minDistance = Number.POSITIVE_INFINITY;\r\n\t\tvar i, len, nearestElement;\r\n\r\n\t\tfor (i = 0, len = elements.length; i < len; ++i) {\r\n\t\t\tvar el = elements[i];\r\n\t\t\tif (el && el.hasValue()) {\r\n\t\t\t\tvar center = el.getCenterPoint();\r\n\t\t\t\tvar d = helpers$1.distanceBetweenPoints(eventPosition, center);\r\n\r\n\t\t\t\tif (d < minDistance) {\r\n\t\t\t\t\tminDistance = d;\r\n\t\t\t\t\tnearestElement = el;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (nearestElement) {\r\n\t\t\tvar tp = nearestElement.tooltipPosition();\r\n\t\t\tx = tp.x;\r\n\t\t\ty = tp.y;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tx: x,\r\n\t\t\ty: y\r\n\t\t};\r\n\t}\r\n};\r\n\r\n// Helper to push or concat based on if the 2nd parameter is an array or not\r\nfunction pushOrConcat(base, toPush) {\r\n\tif (toPush) {\r\n\t\tif (helpers$1.isArray(toPush)) {\r\n\t\t\t// base = base.concat(toPush);\r\n\t\t\tArray.prototype.push.apply(base, toPush);\r\n\t\t} else {\r\n\t\t\tbase.push(toPush);\r\n\t\t}\r\n\t}\r\n\r\n\treturn base;\r\n}\r\n\r\n/**\r\n * Returns array of strings split by newline\r\n * @param {string} value - The value to split by newline.\r\n * @returns {string[]} value if newline present - Returned from String split() method\r\n * @function\r\n */\r\nfunction splitNewlines(str) {\r\n\tif ((typeof str === 'string' || str instanceof String) && str.indexOf('\\n') > -1) {\r\n\t\treturn str.split('\\n');\r\n\t}\r\n\treturn str;\r\n}\r\n\r\n\r\n/**\r\n * Private helper to create a tooltip item model\r\n * @param element - the chart element (point, arc, bar) to create the tooltip item for\r\n * @return new tooltip item\r\n */\r\nfunction createTooltipItem(element) {\r\n\tvar xScale = element._xScale;\r\n\tvar yScale = element._yScale || element._scale; // handle radar || polarArea charts\r\n\tvar index = element._index;\r\n\tvar datasetIndex = element._datasetIndex;\r\n\tvar controller = element._chart.getDatasetMeta(datasetIndex).controller;\r\n\tvar indexScale = controller._getIndexScale();\r\n\tvar valueScale = controller._getValueScale();\r\n\r\n\treturn {\r\n\t\txLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tyLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tlabel: indexScale ? '' + indexScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tvalue: valueScale ? '' + valueScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tindex: index,\r\n\t\tdatasetIndex: datasetIndex,\r\n\t\tx: element._model.x,\r\n\t\ty: element._model.y\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the reset model for the tooltip\r\n * @param tooltipOpts {object} the tooltip options\r\n */\r\nfunction getBaseModel(tooltipOpts) {\r\n\tvar globalDefaults = core_defaults.global;\r\n\r\n\treturn {\r\n\t\t// Positioning\r\n\t\txPadding: tooltipOpts.xPadding,\r\n\t\tyPadding: tooltipOpts.yPadding,\r\n\t\txAlign: tooltipOpts.xAlign,\r\n\t\tyAlign: tooltipOpts.yAlign,\r\n\r\n\t\t// Drawing direction and text direction\r\n\t\trtl: tooltipOpts.rtl,\r\n\t\ttextDirection: tooltipOpts.textDirection,\r\n\r\n\t\t// Body\r\n\t\tbodyFontColor: tooltipOpts.bodyFontColor,\r\n\t\t_bodyFontFamily: valueOrDefault$8(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_bodyFontStyle: valueOrDefault$8(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),\r\n\t\t_bodyAlign: tooltipOpts.bodyAlign,\r\n\t\tbodyFontSize: valueOrDefault$8(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),\r\n\t\tbodySpacing: tooltipOpts.bodySpacing,\r\n\r\n\t\t// Title\r\n\t\ttitleFontColor: tooltipOpts.titleFontColor,\r\n\t\t_titleFontFamily: valueOrDefault$8(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_titleFontStyle: valueOrDefault$8(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),\r\n\t\ttitleFontSize: valueOrDefault$8(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),\r\n\t\t_titleAlign: tooltipOpts.titleAlign,\r\n\t\ttitleSpacing: tooltipOpts.titleSpacing,\r\n\t\ttitleMarginBottom: tooltipOpts.titleMarginBottom,\r\n\r\n\t\t// Footer\r\n\t\tfooterFontColor: tooltipOpts.footerFontColor,\r\n\t\t_footerFontFamily: valueOrDefault$8(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_footerFontStyle: valueOrDefault$8(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),\r\n\t\tfooterFontSize: valueOrDefault$8(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),\r\n\t\t_footerAlign: tooltipOpts.footerAlign,\r\n\t\tfooterSpacing: tooltipOpts.footerSpacing,\r\n\t\tfooterMarginTop: tooltipOpts.footerMarginTop,\r\n\r\n\t\t// Appearance\r\n\t\tcaretSize: tooltipOpts.caretSize,\r\n\t\tcornerRadius: tooltipOpts.cornerRadius,\r\n\t\tbackgroundColor: tooltipOpts.backgroundColor,\r\n\t\topacity: 0,\r\n\t\tlegendColorBackground: tooltipOpts.multiKeyBackground,\r\n\t\tdisplayColors: tooltipOpts.displayColors,\r\n\t\tborderColor: tooltipOpts.borderColor,\r\n\t\tborderWidth: tooltipOpts.borderWidth\r\n\t};\r\n}\r\n\r\n/**\r\n * Get the size of the tooltip\r\n */\r\nfunction getTooltipSize(tooltip, model) {\r\n\tvar ctx = tooltip._chart.ctx;\r\n\r\n\tvar height = model.yPadding * 2; // Tooltip Padding\r\n\tvar width = 0;\r\n\r\n\t// Count of all lines in the body\r\n\tvar body = model.body;\r\n\tvar combinedBodyLength = body.reduce(function(count, bodyItem) {\r\n\t\treturn count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;\r\n\t}, 0);\r\n\tcombinedBodyLength += model.beforeBody.length + model.afterBody.length;\r\n\r\n\tvar titleLineCount = model.title.length;\r\n\tvar footerLineCount = model.footer.length;\r\n\tvar titleFontSize = model.titleFontSize;\r\n\tvar bodyFontSize = model.bodyFontSize;\r\n\tvar footerFontSize = model.footerFontSize;\r\n\r\n\theight += titleLineCount * titleFontSize; // Title Lines\r\n\theight += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing\r\n\theight += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin\r\n\theight += combinedBodyLength * bodyFontSize; // Body Lines\r\n\theight += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing\r\n\theight += footerLineCount ? model.footerMarginTop : 0; // Footer Margin\r\n\theight += footerLineCount * (footerFontSize); // Footer Lines\r\n\theight += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing\r\n\r\n\t// Title width\r\n\tvar widthPadding = 0;\r\n\tvar maxLineWidth = function(line) {\r\n\t\twidth = Math.max(width, ctx.measureText(line).width + widthPadding);\r\n\t};\r\n\r\n\tctx.font = helpers$1.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);\r\n\thelpers$1.each(model.title, maxLineWidth);\r\n\r\n\t// Body width\r\n\tctx.font = helpers$1.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);\r\n\thelpers$1.each(model.beforeBody.concat(model.afterBody), maxLineWidth);\r\n\r\n\t// Body lines may include some extra width due to the color box\r\n\twidthPadding = model.displayColors ? (bodyFontSize + 2) : 0;\r\n\thelpers$1.each(body, function(bodyItem) {\r\n\t\thelpers$1.each(bodyItem.before, maxLineWidth);\r\n\t\thelpers$1.each(bodyItem.lines, maxLineWidth);\r\n\t\thelpers$1.each(bodyItem.after, maxLineWidth);\r\n\t});\r\n\r\n\t// Reset back to 0\r\n\twidthPadding = 0;\r\n\r\n\t// Footer width\r\n\tctx.font = helpers$1.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);\r\n\thelpers$1.each(model.footer, maxLineWidth);\r\n\r\n\t// Add padding\r\n\twidth += 2 * model.xPadding;\r\n\r\n\treturn {\r\n\t\twidth: width,\r\n\t\theight: height\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the alignment of a tooltip given the size\r\n */\r\nfunction determineAlignment(tooltip, size) {\r\n\tvar model = tooltip._model;\r\n\tvar chart = tooltip._chart;\r\n\tvar chartArea = tooltip._chart.chartArea;\r\n\tvar xAlign = 'center';\r\n\tvar yAlign = 'center';\r\n\r\n\tif (model.y < size.height) {\r\n\t\tyAlign = 'top';\r\n\t} else if (model.y > (chart.height - size.height)) {\r\n\t\tyAlign = 'bottom';\r\n\t}\r\n\r\n\tvar lf, rf; // functions to determine left, right alignment\r\n\tvar olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart\r\n\tvar yf; // function to get the y alignment if the tooltip goes outside of the left or right edges\r\n\tvar midX = (chartArea.left + chartArea.right) / 2;\r\n\tvar midY = (chartArea.top + chartArea.bottom) / 2;\r\n\r\n\tif (yAlign === 'center') {\r\n\t\tlf = function(x) {\r\n\t\t\treturn x <= midX;\r\n\t\t};\r\n\t\trf = function(x) {\r\n\t\t\treturn x > midX;\r\n\t\t};\r\n\t} else {\r\n\t\tlf = function(x) {\r\n\t\t\treturn x <= (size.width / 2);\r\n\t\t};\r\n\t\trf = function(x) {\r\n\t\t\treturn x >= (chart.width - (size.width / 2));\r\n\t\t};\r\n\t}\r\n\r\n\tolf = function(x) {\r\n\t\treturn x + size.width + model.caretSize + model.caretPadding > chart.width;\r\n\t};\r\n\torf = function(x) {\r\n\t\treturn x - size.width - model.caretSize - model.caretPadding < 0;\r\n\t};\r\n\tyf = function(y) {\r\n\t\treturn y <= midY ? 'top' : 'bottom';\r\n\t};\r\n\r\n\tif (lf(model.x)) {\r\n\t\txAlign = 'left';\r\n\r\n\t\t// Is tooltip too wide and goes over the right side of the chart.?\r\n\t\tif (olf(model.x)) {\r\n\t\t\txAlign = 'center';\r\n\t\t\tyAlign = yf(model.y);\r\n\t\t}\r\n\t} else if (rf(model.x)) {\r\n\t\txAlign = 'right';\r\n\r\n\t\t// Is tooltip too wide and goes outside left edge of canvas?\r\n\t\tif (orf(model.x)) {\r\n\t\t\txAlign = 'center';\r\n\t\t\tyAlign = yf(model.y);\r\n\t\t}\r\n\t}\r\n\r\n\tvar opts = tooltip._options;\r\n\treturn {\r\n\t\txAlign: opts.xAlign ? opts.xAlign : xAlign,\r\n\t\tyAlign: opts.yAlign ? opts.yAlign : yAlign\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment\r\n */\r\nfunction getBackgroundPoint(vm, size, alignment, chart) {\r\n\t// Background Position\r\n\tvar x = vm.x;\r\n\tvar y = vm.y;\r\n\r\n\tvar caretSize = vm.caretSize;\r\n\tvar caretPadding = vm.caretPadding;\r\n\tvar cornerRadius = vm.cornerRadius;\r\n\tvar xAlign = alignment.xAlign;\r\n\tvar yAlign = alignment.yAlign;\r\n\tvar paddingAndSize = caretSize + caretPadding;\r\n\tvar radiusAndPadding = cornerRadius + caretPadding;\r\n\r\n\tif (xAlign === 'right') {\r\n\t\tx -= size.width;\r\n\t} else if (xAlign === 'center') {\r\n\t\tx -= (size.width / 2);\r\n\t\tif (x + size.width > chart.width) {\r\n\t\t\tx = chart.width - size.width;\r\n\t\t}\r\n\t\tif (x < 0) {\r\n\t\t\tx = 0;\r\n\t\t}\r\n\t}\r\n\r\n\tif (yAlign === 'top') {\r\n\t\ty += paddingAndSize;\r\n\t} else if (yAlign === 'bottom') {\r\n\t\ty -= size.height + paddingAndSize;\r\n\t} else {\r\n\t\ty -= (size.height / 2);\r\n\t}\r\n\r\n\tif (yAlign === 'center') {\r\n\t\tif (xAlign === 'left') {\r\n\t\t\tx += paddingAndSize;\r\n\t\t} else if (xAlign === 'right') {\r\n\t\t\tx -= paddingAndSize;\r\n\t\t}\r\n\t} else if (xAlign === 'left') {\r\n\t\tx -= radiusAndPadding;\r\n\t} else if (xAlign === 'right') {\r\n\t\tx += radiusAndPadding;\r\n\t}\r\n\r\n\treturn {\r\n\t\tx: x,\r\n\t\ty: y\r\n\t};\r\n}\r\n\r\nfunction getAlignedX(vm, align) {\r\n\treturn align === 'center'\r\n\t\t? vm.x + vm.width / 2\r\n\t\t: align === 'right'\r\n\t\t\t? vm.x + vm.width - vm.xPadding\r\n\t\t\t: vm.x + vm.xPadding;\r\n}\r\n\r\n/**\r\n * Helper to build before and after body lines\r\n */\r\nfunction getBeforeAfterBodyLines(callback) {\r\n\treturn pushOrConcat([], splitNewlines(callback));\r\n}\r\n\r\nvar exports$4 = core_element.extend({\r\n\tinitialize: function() {\r\n\t\tthis._model = getBaseModel(this._options);\r\n\t\tthis._lastActive = [];\r\n\t},\r\n\r\n\t// Get the title\r\n\t// Args are: (tooltipItem, data)\r\n\tgetTitle: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me._options;\r\n\t\tvar callbacks = opts.callbacks;\r\n\r\n\t\tvar beforeTitle = callbacks.beforeTitle.apply(me, arguments);\r\n\t\tvar title = callbacks.title.apply(me, arguments);\r\n\t\tvar afterTitle = callbacks.afterTitle.apply(me, arguments);\r\n\r\n\t\tvar lines = [];\r\n\t\tlines = pushOrConcat(lines, splitNewlines(beforeTitle));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(title));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(afterTitle));\r\n\r\n\t\treturn lines;\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetBeforeBody: function() {\r\n\t\treturn getBeforeAfterBodyLines(this._options.callbacks.beforeBody.apply(this, arguments));\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetBody: function(tooltipItems, data) {\r\n\t\tvar me = this;\r\n\t\tvar callbacks = me._options.callbacks;\r\n\t\tvar bodyItems = [];\r\n\r\n\t\thelpers$1.each(tooltipItems, function(tooltipItem) {\r\n\t\t\tvar bodyItem = {\r\n\t\t\t\tbefore: [],\r\n\t\t\t\tlines: [],\r\n\t\t\t\tafter: []\r\n\t\t\t};\r\n\t\t\tpushOrConcat(bodyItem.before, splitNewlines(callbacks.beforeLabel.call(me, tooltipItem, data)));\r\n\t\t\tpushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));\r\n\t\t\tpushOrConcat(bodyItem.after, splitNewlines(callbacks.afterLabel.call(me, tooltipItem, data)));\r\n\r\n\t\t\tbodyItems.push(bodyItem);\r\n\t\t});\r\n\r\n\t\treturn bodyItems;\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetAfterBody: function() {\r\n\t\treturn getBeforeAfterBodyLines(this._options.callbacks.afterBody.apply(this, arguments));\r\n\t},\r\n\r\n\t// Get the footer and beforeFooter and afterFooter lines\r\n\t// Args are: (tooltipItem, data)\r\n\tgetFooter: function() {\r\n\t\tvar me = this;\r\n\t\tvar callbacks = me._options.callbacks;\r\n\r\n\t\tvar beforeFooter = callbacks.beforeFooter.apply(me, arguments);\r\n\t\tvar footer = callbacks.footer.apply(me, arguments);\r\n\t\tvar afterFooter = callbacks.afterFooter.apply(me, arguments);\r\n\r\n\t\tvar lines = [];\r\n\t\tlines = pushOrConcat(lines, splitNewlines(beforeFooter));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(footer));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(afterFooter));\r\n\r\n\t\treturn lines;\r\n\t},\r\n\r\n\tupdate: function(changed) {\r\n\t\tvar me = this;\r\n\t\tvar opts = me._options;\r\n\r\n\t\t// Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition\r\n\t\t// that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time\r\n\t\t// which breaks any animations.\r\n\t\tvar existingModel = me._model;\r\n\t\tvar model = me._model = getBaseModel(opts);\r\n\t\tvar active = me._active;\r\n\r\n\t\tvar data = me._data;\r\n\r\n\t\t// In the case where active.length === 0 we need to keep these at existing values for good animations\r\n\t\tvar alignment = {\r\n\t\t\txAlign: existingModel.xAlign,\r\n\t\t\tyAlign: existingModel.yAlign\r\n\t\t};\r\n\t\tvar backgroundPoint = {\r\n\t\t\tx: existingModel.x,\r\n\t\t\ty: existingModel.y\r\n\t\t};\r\n\t\tvar tooltipSize = {\r\n\t\t\twidth: existingModel.width,\r\n\t\t\theight: existingModel.height\r\n\t\t};\r\n\t\tvar tooltipPosition = {\r\n\t\t\tx: existingModel.caretX,\r\n\t\t\ty: existingModel.caretY\r\n\t\t};\r\n\r\n\t\tvar i, len;\r\n\r\n\t\tif (active.length) {\r\n\t\t\tmodel.opacity = 1;\r\n\r\n\t\t\tvar labelColors = [];\r\n\t\t\tvar labelTextColors = [];\r\n\t\t\ttooltipPosition = positioners[opts.position].call(me, active, me._eventPosition);\r\n\r\n\t\t\tvar tooltipItems = [];\r\n\t\t\tfor (i = 0, len = active.length; i < len; ++i) {\r\n\t\t\t\ttooltipItems.push(createTooltipItem(active[i]));\r\n\t\t\t}\r\n\r\n\t\t\t// If the user provided a filter function, use it to modify the tooltip items\r\n\t\t\tif (opts.filter) {\r\n\t\t\t\ttooltipItems = tooltipItems.filter(function(a) {\r\n\t\t\t\t\treturn opts.filter(a, data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// If the user provided a sorting function, use it to modify the tooltip items\r\n\t\t\tif (opts.itemSort) {\r\n\t\t\t\ttooltipItems = tooltipItems.sort(function(a, b) {\r\n\t\t\t\t\treturn opts.itemSort(a, b, data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// Determine colors for boxes\r\n\t\t\thelpers$1.each(tooltipItems, function(tooltipItem) {\r\n\t\t\t\tlabelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, me._chart));\r\n\t\t\t\tlabelTextColors.push(opts.callbacks.labelTextColor.call(me, tooltipItem, me._chart));\r\n\t\t\t});\r\n\r\n\r\n\t\t\t// Build the Text Lines\r\n\t\t\tmodel.title = me.getTitle(tooltipItems, data);\r\n\t\t\tmodel.beforeBody = me.getBeforeBody(tooltipItems, data);\r\n\t\t\tmodel.body = me.getBody(tooltipItems, data);\r\n\t\t\tmodel.afterBody = me.getAfterBody(tooltipItems, data);\r\n\t\t\tmodel.footer = me.getFooter(tooltipItems, data);\r\n\r\n\t\t\t// Initial positioning and colors\r\n\t\t\tmodel.x = tooltipPosition.x;\r\n\t\t\tmodel.y = tooltipPosition.y;\r\n\t\t\tmodel.caretPadding = opts.caretPadding;\r\n\t\t\tmodel.labelColors = labelColors;\r\n\t\t\tmodel.labelTextColors = labelTextColors;\r\n\r\n\t\t\t// data points\r\n\t\t\tmodel.dataPoints = tooltipItems;\r\n\r\n\t\t\t// We need to determine alignment of the tooltip\r\n\t\t\ttooltipSize = getTooltipSize(this, model);\r\n\t\t\talignment = determineAlignment(this, tooltipSize);\r\n\t\t\t// Final Size and Position\r\n\t\t\tbackgroundPoint = getBackgroundPoint(model, tooltipSize, alignment, me._chart);\r\n\t\t} else {\r\n\t\t\tmodel.opacity = 0;\r\n\t\t}\r\n\r\n\t\tmodel.xAlign = alignment.xAlign;\r\n\t\tmodel.yAlign = alignment.yAlign;\r\n\t\tmodel.x = backgroundPoint.x;\r\n\t\tmodel.y = backgroundPoint.y;\r\n\t\tmodel.width = tooltipSize.width;\r\n\t\tmodel.height = tooltipSize.height;\r\n\r\n\t\t// Point where the caret on the tooltip points to\r\n\t\tmodel.caretX = tooltipPosition.x;\r\n\t\tmodel.caretY = tooltipPosition.y;\r\n\r\n\t\tme._model = model;\r\n\r\n\t\tif (changed && opts.custom) {\r\n\t\t\topts.custom.call(me, model);\r\n\t\t}\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tdrawCaret: function(tooltipPoint, size) {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar caretPosition = this.getCaretPosition(tooltipPoint, size, vm);\r\n\r\n\t\tctx.lineTo(caretPosition.x1, caretPosition.y1);\r\n\t\tctx.lineTo(caretPosition.x2, caretPosition.y2);\r\n\t\tctx.lineTo(caretPosition.x3, caretPosition.y3);\r\n\t},\r\n\tgetCaretPosition: function(tooltipPoint, size, vm) {\r\n\t\tvar x1, x2, x3, y1, y2, y3;\r\n\t\tvar caretSize = vm.caretSize;\r\n\t\tvar cornerRadius = vm.cornerRadius;\r\n\t\tvar xAlign = vm.xAlign;\r\n\t\tvar yAlign = vm.yAlign;\r\n\t\tvar ptX = tooltipPoint.x;\r\n\t\tvar ptY = tooltipPoint.y;\r\n\t\tvar width = size.width;\r\n\t\tvar height = size.height;\r\n\r\n\t\tif (yAlign === 'center') {\r\n\t\t\ty2 = ptY + (height / 2);\r\n\r\n\t\t\tif (xAlign === 'left') {\r\n\t\t\t\tx1 = ptX;\r\n\t\t\t\tx2 = x1 - caretSize;\r\n\t\t\t\tx3 = x1;\r\n\r\n\t\t\t\ty1 = y2 + caretSize;\r\n\t\t\t\ty3 = y2 - caretSize;\r\n\t\t\t} else {\r\n\t\t\t\tx1 = ptX + width;\r\n\t\t\t\tx2 = x1 + caretSize;\r\n\t\t\t\tx3 = x1;\r\n\r\n\t\t\t\ty1 = y2 - caretSize;\r\n\t\t\t\ty3 = y2 + caretSize;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (xAlign === 'left') {\r\n\t\t\t\tx2 = ptX + cornerRadius + (caretSize);\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t} else if (xAlign === 'right') {\r\n\t\t\t\tx2 = ptX + width - cornerRadius - caretSize;\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t} else {\r\n\t\t\t\tx2 = vm.caretX;\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t}\r\n\t\t\tif (yAlign === 'top') {\r\n\t\t\t\ty1 = ptY;\r\n\t\t\t\ty2 = y1 - caretSize;\r\n\t\t\t\ty3 = y1;\r\n\t\t\t} else {\r\n\t\t\t\ty1 = ptY + height;\r\n\t\t\t\ty2 = y1 + caretSize;\r\n\t\t\t\ty3 = y1;\r\n\t\t\t\t// invert drawing order\r\n\t\t\t\tvar tmp = x3;\r\n\t\t\t\tx3 = x1;\r\n\t\t\t\tx1 = tmp;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn {x1: x1, x2: x2, x3: x3, y1: y1, y2: y2, y3: y3};\r\n\t},\r\n\r\n\tdrawTitle: function(pt, vm, ctx) {\r\n\t\tvar title = vm.title;\r\n\t\tvar length = title.length;\r\n\t\tvar titleFontSize, titleSpacing, i;\r\n\r\n\t\tif (length) {\r\n\t\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\t\tpt.x = getAlignedX(vm, vm._titleAlign);\r\n\r\n\t\t\tctx.textAlign = rtlHelper.textAlign(vm._titleAlign);\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\ttitleFontSize = vm.titleFontSize;\r\n\t\t\ttitleSpacing = vm.titleSpacing;\r\n\r\n\t\t\tctx.fillStyle = vm.titleFontColor;\r\n\t\t\tctx.font = helpers$1.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);\r\n\r\n\t\t\tfor (i = 0; i < length; ++i) {\r\n\t\t\t\tctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFontSize / 2);\r\n\t\t\t\tpt.y += titleFontSize + titleSpacing; // Line Height and spacing\r\n\r\n\t\t\t\tif (i + 1 === length) {\r\n\t\t\t\t\tpt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdrawBody: function(pt, vm, ctx) {\r\n\t\tvar bodyFontSize = vm.bodyFontSize;\r\n\t\tvar bodySpacing = vm.bodySpacing;\r\n\t\tvar bodyAlign = vm._bodyAlign;\r\n\t\tvar body = vm.body;\r\n\t\tvar drawColorBoxes = vm.displayColors;\r\n\t\tvar xLinePadding = 0;\r\n\t\tvar colorX = drawColorBoxes ? getAlignedX(vm, 'left') : 0;\r\n\r\n\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\tvar fillLineOfText = function(line) {\r\n\t\t\tctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyFontSize / 2);\r\n\t\t\tpt.y += bodyFontSize + bodySpacing;\r\n\t\t};\r\n\r\n\t\tvar bodyItem, textColor, labelColors, lines, i, j, ilen, jlen;\r\n\t\tvar bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign);\r\n\r\n\t\tctx.textAlign = bodyAlign;\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.font = helpers$1.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);\r\n\r\n\t\tpt.x = getAlignedX(vm, bodyAlignForCalculation);\r\n\r\n\t\t// Before body lines\r\n\t\tctx.fillStyle = vm.bodyFontColor;\r\n\t\thelpers$1.each(vm.beforeBody, fillLineOfText);\r\n\r\n\t\txLinePadding = drawColorBoxes && bodyAlignForCalculation !== 'right'\r\n\t\t\t? bodyAlign === 'center' ? (bodyFontSize / 2 + 1) : (bodyFontSize + 2)\r\n\t\t\t: 0;\r\n\r\n\t\t// Draw body lines now\r\n\t\tfor (i = 0, ilen = body.length; i < ilen; ++i) {\r\n\t\t\tbodyItem = body[i];\r\n\t\t\ttextColor = vm.labelTextColors[i];\r\n\t\t\tlabelColors = vm.labelColors[i];\r\n\r\n\t\t\tctx.fillStyle = textColor;\r\n\t\t\thelpers$1.each(bodyItem.before, fillLineOfText);\r\n\r\n\t\t\tlines = bodyItem.lines;\r\n\t\t\tfor (j = 0, jlen = lines.length; j < jlen; ++j) {\r\n\t\t\t\t// Draw Legend-like boxes if needed\r\n\t\t\t\tif (drawColorBoxes) {\r\n\t\t\t\t\tvar rtlColorX = rtlHelper.x(colorX);\r\n\r\n\t\t\t\t\t// Fill a white rect so that colours merge nicely if the opacity is < 1\r\n\t\t\t\t\tctx.fillStyle = vm.legendColorBackground;\r\n\t\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize);\r\n\r\n\t\t\t\t\t// Border\r\n\t\t\t\t\tctx.lineWidth = 1;\r\n\t\t\t\t\tctx.strokeStyle = labelColors.borderColor;\r\n\t\t\t\t\tctx.strokeRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize);\r\n\r\n\t\t\t\t\t// Inner square\r\n\t\t\t\t\tctx.fillStyle = labelColors.backgroundColor;\r\n\t\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), bodyFontSize - 2), pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);\r\n\t\t\t\t\tctx.fillStyle = textColor;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfillLineOfText(lines[j]);\r\n\t\t\t}\r\n\r\n\t\t\thelpers$1.each(bodyItem.after, fillLineOfText);\r\n\t\t}\r\n\r\n\t\t// Reset back to 0 for after body\r\n\t\txLinePadding = 0;\r\n\r\n\t\t// After body lines\r\n\t\thelpers$1.each(vm.afterBody, fillLineOfText);\r\n\t\tpt.y -= bodySpacing; // Remove last body spacing\r\n\t},\r\n\r\n\tdrawFooter: function(pt, vm, ctx) {\r\n\t\tvar footer = vm.footer;\r\n\t\tvar length = footer.length;\r\n\t\tvar footerFontSize, i;\r\n\r\n\t\tif (length) {\r\n\t\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\t\tpt.x = getAlignedX(vm, vm._footerAlign);\r\n\t\t\tpt.y += vm.footerMarginTop;\r\n\r\n\t\t\tctx.textAlign = rtlHelper.textAlign(vm._footerAlign);\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\tfooterFontSize = vm.footerFontSize;\r\n\r\n\t\t\tctx.fillStyle = vm.footerFontColor;\r\n\t\t\tctx.font = helpers$1.fontString(footerFontSize, vm._footerFontStyle, vm._footerFontFamily);\r\n\r\n\t\t\tfor (i = 0; i < length; ++i) {\r\n\t\t\t\tctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFontSize / 2);\r\n\t\t\t\tpt.y += footerFontSize + vm.footerSpacing;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdrawBackground: function(pt, vm, ctx, tooltipSize) {\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.strokeStyle = vm.borderColor;\r\n\t\tctx.lineWidth = vm.borderWidth;\r\n\t\tvar xAlign = vm.xAlign;\r\n\t\tvar yAlign = vm.yAlign;\r\n\t\tvar x = pt.x;\r\n\t\tvar y = pt.y;\r\n\t\tvar width = tooltipSize.width;\r\n\t\tvar height = tooltipSize.height;\r\n\t\tvar radius = vm.cornerRadius;\r\n\r\n\t\tctx.beginPath();\r\n\t\tctx.moveTo(x + radius, y);\r\n\t\tif (yAlign === 'top') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + width - radius, y);\r\n\t\tctx.quadraticCurveTo(x + width, y, x + width, y + radius);\r\n\t\tif (yAlign === 'center' && xAlign === 'right') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + width, y + height - radius);\r\n\t\tctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\r\n\t\tif (yAlign === 'bottom') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + radius, y + height);\r\n\t\tctx.quadraticCurveTo(x, y + height, x, y + height - radius);\r\n\t\tif (yAlign === 'center' && xAlign === 'left') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x, y + radius);\r\n\t\tctx.quadraticCurveTo(x, y, x + radius, y);\r\n\t\tctx.closePath();\r\n\r\n\t\tctx.fill();\r\n\r\n\t\tif (vm.borderWidth > 0) {\r\n\t\t\tctx.stroke();\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm.opacity === 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tooltipSize = {\r\n\t\t\twidth: vm.width,\r\n\t\t\theight: vm.height\r\n\t\t};\r\n\t\tvar pt = {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\r\n\t\t// IE11/Edge does not like very small opacities, so snap to 0\r\n\t\tvar opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity;\r\n\r\n\t\t// Truthy/falsey value for empty tooltip\r\n\t\tvar hasTooltipContent = vm.title.length || vm.beforeBody.length || vm.body.length || vm.afterBody.length || vm.footer.length;\r\n\r\n\t\tif (this._options.enabled && hasTooltipContent) {\r\n\t\t\tctx.save();\r\n\t\t\tctx.globalAlpha = opacity;\r\n\r\n\t\t\t// Draw Background\r\n\t\t\tthis.drawBackground(pt, vm, ctx, tooltipSize);\r\n\r\n\t\t\t// Draw Title, Body, and Footer\r\n\t\t\tpt.y += vm.yPadding;\r\n\r\n\t\t\thelpers$1.rtl.overrideTextDirection(ctx, vm.textDirection);\r\n\r\n\t\t\t// Titles\r\n\t\t\tthis.drawTitle(pt, vm, ctx);\r\n\r\n\t\t\t// Body\r\n\t\t\tthis.drawBody(pt, vm, ctx);\r\n\r\n\t\t\t// Footer\r\n\t\t\tthis.drawFooter(pt, vm, ctx);\r\n\r\n\t\t\thelpers$1.rtl.restoreTextDirection(ctx, vm.textDirection);\r\n\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event - The event to handle\r\n\t * @returns {boolean} true if the tooltip changed\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar options = me._options;\r\n\t\tvar changed = false;\r\n\r\n\t\tme._lastActive = me._lastActive || [];\r\n\r\n\t\t// Find Active Elements for tooltips\r\n\t\tif (e.type === 'mouseout') {\r\n\t\t\tme._active = [];\r\n\t\t} else {\r\n\t\t\tme._active = me._chart.getElementsAtEventForMode(e, options.mode, options);\r\n\t\t\tif (options.reverse) {\r\n\t\t\t\tme._active.reverse();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Remember Last Actives\r\n\t\tchanged = !helpers$1.arrayEquals(me._active, me._lastActive);\r\n\r\n\t\t// Only handle target event on tooltip change\r\n\t\tif (changed) {\r\n\t\t\tme._lastActive = me._active;\r\n\r\n\t\t\tif (options.enabled || options.custom) {\r\n\t\t\t\tme._eventPosition = {\r\n\t\t\t\t\tx: e.x,\r\n\t\t\t\t\ty: e.y\r\n\t\t\t\t};\r\n\r\n\t\t\t\tme.update(true);\r\n\t\t\t\tme.pivot();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn changed;\r\n\t}\r\n});\r\n\r\n/**\r\n * @namespace Chart.Tooltip.positioners\r\n */\r\nvar positioners_1 = positioners;\r\n\r\nvar core_tooltip = exports$4;\ncore_tooltip.positioners = positioners_1;\n\nvar valueOrDefault$9 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {},\r\n\tevents: [\r\n\t\t'mousemove',\r\n\t\t'mouseout',\r\n\t\t'click',\r\n\t\t'touchstart',\r\n\t\t'touchmove'\r\n\t],\r\n\thover: {\r\n\t\tonHover: null,\r\n\t\tmode: 'nearest',\r\n\t\tintersect: true,\r\n\t\tanimationDuration: 400\r\n\t},\r\n\tonClick: null,\r\n\tmaintainAspectRatio: true,\r\n\tresponsive: true,\r\n\tresponsiveAnimationDuration: 0\r\n});\r\n\r\n/**\r\n * Recursively merge the given config objects representing the `scales` option\r\n * by incorporating scale defaults in `xAxes` and `yAxes` array items, then\r\n * returns a deep copy of the result, thus doesn't alter inputs.\r\n */\r\nfunction mergeScaleConfig(/* config objects ... */) {\r\n\treturn helpers$1.merge(Object.create(null), [].slice.call(arguments), {\r\n\t\tmerger: function(key, target, source, options) {\r\n\t\t\tif (key === 'xAxes' || key === 'yAxes') {\r\n\t\t\t\tvar slen = source[key].length;\r\n\t\t\t\tvar i, type, scale;\r\n\r\n\t\t\t\tif (!target[key]) {\r\n\t\t\t\t\ttarget[key] = [];\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfor (i = 0; i < slen; ++i) {\r\n\t\t\t\t\tscale = source[key][i];\r\n\t\t\t\t\ttype = valueOrDefault$9(scale.type, key === 'xAxes' ? 'category' : 'linear');\r\n\r\n\t\t\t\t\tif (i >= target[key].length) {\r\n\t\t\t\t\t\ttarget[key].push({});\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (!target[key][i].type || (scale.type && scale.type !== target[key][i].type)) {\r\n\t\t\t\t\t\t// new/untyped scale or type changed: let's apply the new defaults\r\n\t\t\t\t\t\t// then merge source scale to correctly overwrite the defaults.\r\n\t\t\t\t\t\thelpers$1.merge(target[key][i], [core_scaleService.getScaleDefaults(type), scale]);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// scales type are the same\r\n\t\t\t\t\t\thelpers$1.merge(target[key][i], scale);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\thelpers$1._merger(key, target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n\r\n/**\r\n * Recursively merge the given config objects as the root options by handling\r\n * default scale options for the `scales` and `scale` properties, then returns\r\n * a deep copy of the result, thus doesn't alter inputs.\r\n */\r\nfunction mergeConfig(/* config objects ... */) {\r\n\treturn helpers$1.merge(Object.create(null), [].slice.call(arguments), {\r\n\t\tmerger: function(key, target, source, options) {\r\n\t\t\tvar tval = target[key] || Object.create(null);\r\n\t\t\tvar sval = source[key];\r\n\r\n\t\t\tif (key === 'scales') {\r\n\t\t\t\t// scale config merging is complex. Add our own function here for that\r\n\t\t\t\ttarget[key] = mergeScaleConfig(tval, sval);\r\n\t\t\t} else if (key === 'scale') {\r\n\t\t\t\t// used in polar area & radar charts since there is only one scale\r\n\t\t\t\ttarget[key] = helpers$1.merge(tval, [core_scaleService.getScaleDefaults(sval.type), sval]);\r\n\t\t\t} else {\r\n\t\t\t\thelpers$1._merger(key, target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction initConfig(config) {\r\n\tconfig = config || Object.create(null);\r\n\r\n\t// Do NOT use mergeConfig for the data object because this method merges arrays\r\n\t// and so would change references to labels and datasets, preventing data updates.\r\n\tvar data = config.data = config.data || {};\r\n\tdata.datasets = data.datasets || [];\r\n\tdata.labels = data.labels || [];\r\n\r\n\tconfig.options = mergeConfig(\r\n\t\tcore_defaults.global,\r\n\t\tcore_defaults[config.type],\r\n\t\tconfig.options || {});\r\n\r\n\treturn config;\r\n}\r\n\r\nfunction updateConfig(chart) {\r\n\tvar newOptions = chart.options;\r\n\r\n\thelpers$1.each(chart.scales, function(scale) {\r\n\t\tcore_layouts.removeBox(chart, scale);\r\n\t});\r\n\r\n\tnewOptions = mergeConfig(\r\n\t\tcore_defaults.global,\r\n\t\tcore_defaults[chart.config.type],\r\n\t\tnewOptions);\r\n\r\n\tchart.options = chart.config.options = newOptions;\r\n\tchart.ensureScalesHaveIDs();\r\n\tchart.buildOrUpdateScales();\r\n\r\n\t// Tooltip\r\n\tchart.tooltip._options = newOptions.tooltips;\r\n\tchart.tooltip.initialize();\r\n}\r\n\r\nfunction nextAvailableScaleId(axesOpts, prefix, index) {\r\n\tvar id;\r\n\tvar hasId = function(obj) {\r\n\t\treturn obj.id === id;\r\n\t};\r\n\r\n\tdo {\r\n\t\tid = prefix + index++;\r\n\t} while (helpers$1.findIndex(axesOpts, hasId) >= 0);\r\n\r\n\treturn id;\r\n}\r\n\r\nfunction positionIsHorizontal(position) {\r\n\treturn position === 'top' || position === 'bottom';\r\n}\r\n\r\nfunction compare2Level(l1, l2) {\r\n\treturn function(a, b) {\r\n\t\treturn a[l1] === b[l1]\r\n\t\t\t? a[l2] - b[l2]\r\n\t\t\t: a[l1] - b[l1];\r\n\t};\r\n}\r\n\r\nvar Chart = function(item, config) {\r\n\tthis.construct(item, config);\r\n\treturn this;\r\n};\r\n\r\nhelpers$1.extend(Chart.prototype, /** @lends Chart */ {\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tconstruct: function(item, config) {\r\n\t\tvar me = this;\r\n\r\n\t\tconfig = initConfig(config);\r\n\r\n\t\tvar context = platform.acquireContext(item, config);\r\n\t\tvar canvas = context && context.canvas;\r\n\t\tvar height = canvas && canvas.height;\r\n\t\tvar width = canvas && canvas.width;\r\n\r\n\t\tme.id = helpers$1.uid();\r\n\t\tme.ctx = context;\r\n\t\tme.canvas = canvas;\r\n\t\tme.config = config;\r\n\t\tme.width = width;\r\n\t\tme.height = height;\r\n\t\tme.aspectRatio = height ? width / height : null;\r\n\t\tme.options = config.options;\r\n\t\tme._bufferedRender = false;\r\n\t\tme._layers = [];\r\n\r\n\t\t/**\r\n\t\t * Provided for backward compatibility, Chart and Chart.Controller have been merged,\r\n\t\t * the \"instance\" still need to be defined since it might be called from plugins.\r\n\t\t * @prop Chart#chart\r\n\t\t * @deprecated since version 2.6.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tme.chart = me;\r\n\t\tme.controller = me; // chart.chart.controller #inception\r\n\r\n\t\t// Add the chart instance to the global namespace\r\n\t\tChart.instances[me.id] = me;\r\n\r\n\t\t// Define alias to the config data: `chart.data === chart.config.data`\r\n\t\tObject.defineProperty(me, 'data', {\r\n\t\t\tget: function() {\r\n\t\t\t\treturn me.config.data;\r\n\t\t\t},\r\n\t\t\tset: function(value) {\r\n\t\t\t\tme.config.data = value;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (!context || !canvas) {\r\n\t\t\t// The given item is not a compatible context2d element, let's return before finalizing\r\n\t\t\t// the chart initialization but after setting basic chart / controller properties that\r\n\t\t\t// can help to figure out that the chart is not valid (e.g chart.canvas !== null);\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/2807\r\n\t\t\tconsole.error(\"Failed to create chart: can't acquire context from the given item\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme.initialize();\r\n\t\tme.update();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tinitialize: function() {\r\n\t\tvar me = this;\r\n\r\n\t\t// Before init plugin notification\r\n\t\tcore_plugins.notify(me, 'beforeInit');\r\n\r\n\t\thelpers$1.retinaScale(me, me.options.devicePixelRatio);\r\n\r\n\t\tme.bindEvents();\r\n\r\n\t\tif (me.options.responsive) {\r\n\t\t\t// Initial resize before chart draws (must be silent to preserve initial animations).\r\n\t\t\tme.resize(true);\r\n\t\t}\r\n\r\n\t\tme.initToolTip();\r\n\r\n\t\t// After init plugin notification\r\n\t\tcore_plugins.notify(me, 'afterInit');\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tclear: function() {\r\n\t\thelpers$1.canvas.clear(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\tstop: function() {\r\n\t\t// Stops any current animation loop occurring\r\n\t\tcore_animations.cancelAnimation(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\tresize: function(silent) {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar canvas = me.canvas;\r\n\t\tvar aspectRatio = (options.maintainAspectRatio && me.aspectRatio) || null;\r\n\r\n\t\t// the canvas render width and height will be casted to integers so make sure that\r\n\t\t// the canvas display style uses the same integer values to avoid blurring effect.\r\n\r\n\t\t// Set to 0 instead of canvas.size because the size defaults to 300x150 if the element is collapsed\r\n\t\tvar newWidth = Math.max(0, Math.floor(helpers$1.getMaximumWidth(canvas)));\r\n\t\tvar newHeight = Math.max(0, Math.floor(aspectRatio ? newWidth / aspectRatio : helpers$1.getMaximumHeight(canvas)));\r\n\r\n\t\tif (me.width === newWidth && me.height === newHeight) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tcanvas.width = me.width = newWidth;\r\n\t\tcanvas.height = me.height = newHeight;\r\n\t\tcanvas.style.width = newWidth + 'px';\r\n\t\tcanvas.style.height = newHeight + 'px';\r\n\r\n\t\thelpers$1.retinaScale(me, options.devicePixelRatio);\r\n\r\n\t\tif (!silent) {\r\n\t\t\t// Notify any plugins about the resize\r\n\t\t\tvar newSize = {width: newWidth, height: newHeight};\r\n\t\t\tcore_plugins.notify(me, 'resize', [newSize]);\r\n\r\n\t\t\t// Notify of resize\r\n\t\t\tif (options.onResize) {\r\n\t\t\t\toptions.onResize(me, newSize);\r\n\t\t\t}\r\n\r\n\t\t\tme.stop();\r\n\t\t\tme.update({\r\n\t\t\t\tduration: options.responsiveAnimationDuration\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\r\n\tensureScalesHaveIDs: function() {\r\n\t\tvar options = this.options;\r\n\t\tvar scalesOptions = options.scales || {};\r\n\t\tvar scaleOptions = options.scale;\r\n\r\n\t\thelpers$1.each(scalesOptions.xAxes, function(xAxisOptions, index) {\r\n\t\t\tif (!xAxisOptions.id) {\r\n\t\t\t\txAxisOptions.id = nextAvailableScaleId(scalesOptions.xAxes, 'x-axis-', index);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.each(scalesOptions.yAxes, function(yAxisOptions, index) {\r\n\t\t\tif (!yAxisOptions.id) {\r\n\t\t\t\tyAxisOptions.id = nextAvailableScaleId(scalesOptions.yAxes, 'y-axis-', index);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (scaleOptions) {\r\n\t\t\tscaleOptions.id = scaleOptions.id || 'scale';\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Builds a map of scale ID to scale object for future lookup.\r\n\t */\r\n\tbuildOrUpdateScales: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar scales = me.scales || {};\r\n\t\tvar items = [];\r\n\t\tvar updated = Object.keys(scales).reduce(function(obj, id) {\r\n\t\t\tobj[id] = false;\r\n\t\t\treturn obj;\r\n\t\t}, {});\r\n\r\n\t\tif (options.scales) {\r\n\t\t\titems = items.concat(\r\n\t\t\t\t(options.scales.xAxes || []).map(function(xAxisOptions) {\r\n\t\t\t\t\treturn {options: xAxisOptions, dtype: 'category', dposition: 'bottom'};\r\n\t\t\t\t}),\r\n\t\t\t\t(options.scales.yAxes || []).map(function(yAxisOptions) {\r\n\t\t\t\t\treturn {options: yAxisOptions, dtype: 'linear', dposition: 'left'};\r\n\t\t\t\t})\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (options.scale) {\r\n\t\t\titems.push({\r\n\t\t\t\toptions: options.scale,\r\n\t\t\t\tdtype: 'radialLinear',\r\n\t\t\t\tisDefault: true,\r\n\t\t\t\tdposition: 'chartArea'\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\thelpers$1.each(items, function(item) {\r\n\t\t\tvar scaleOptions = item.options;\r\n\t\t\tvar id = scaleOptions.id;\r\n\t\t\tvar scaleType = valueOrDefault$9(scaleOptions.type, item.dtype);\r\n\r\n\t\t\tif (positionIsHorizontal(scaleOptions.position) !== positionIsHorizontal(item.dposition)) {\r\n\t\t\t\tscaleOptions.position = item.dposition;\r\n\t\t\t}\r\n\r\n\t\t\tupdated[id] = true;\r\n\t\t\tvar scale = null;\r\n\t\t\tif (id in scales && scales[id].type === scaleType) {\r\n\t\t\t\tscale = scales[id];\r\n\t\t\t\tscale.options = scaleOptions;\r\n\t\t\t\tscale.ctx = me.ctx;\r\n\t\t\t\tscale.chart = me;\r\n\t\t\t} else {\r\n\t\t\t\tvar scaleClass = core_scaleService.getScaleConstructor(scaleType);\r\n\t\t\t\tif (!scaleClass) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tscale = new scaleClass({\r\n\t\t\t\t\tid: id,\r\n\t\t\t\t\ttype: scaleType,\r\n\t\t\t\t\toptions: scaleOptions,\r\n\t\t\t\t\tctx: me.ctx,\r\n\t\t\t\t\tchart: me\r\n\t\t\t\t});\r\n\t\t\t\tscales[scale.id] = scale;\r\n\t\t\t}\r\n\r\n\t\t\tscale.mergeTicksOptions();\r\n\r\n\t\t\t// TODO(SB): I think we should be able to remove this custom case (options.scale)\r\n\t\t\t// and consider it as a regular scale part of the \"scales\"\" map only! This would\r\n\t\t\t// make the logic easier and remove some useless? custom code.\r\n\t\t\tif (item.isDefault) {\r\n\t\t\t\tme.scale = scale;\r\n\t\t\t}\r\n\t\t});\r\n\t\t// clear up discarded scales\r\n\t\thelpers$1.each(updated, function(hasUpdated, id) {\r\n\t\t\tif (!hasUpdated) {\r\n\t\t\t\tdelete scales[id];\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tme.scales = scales;\r\n\r\n\t\tcore_scaleService.addScalesToLayout(this);\r\n\t},\r\n\r\n\tbuildOrUpdateControllers: function() {\r\n\t\tvar me = this;\r\n\t\tvar newControllers = [];\r\n\t\tvar datasets = me.data.datasets;\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; i++) {\r\n\t\t\tvar dataset = datasets[i];\r\n\t\t\tvar meta = me.getDatasetMeta(i);\r\n\t\t\tvar type = dataset.type || me.config.type;\r\n\r\n\t\t\tif (meta.type && meta.type !== type) {\r\n\t\t\t\tme.destroyDatasetMeta(i);\r\n\t\t\t\tmeta = me.getDatasetMeta(i);\r\n\t\t\t}\r\n\t\t\tmeta.type = type;\r\n\t\t\tmeta.order = dataset.order || 0;\r\n\t\t\tmeta.index = i;\r\n\r\n\t\t\tif (meta.controller) {\r\n\t\t\t\tmeta.controller.updateIndex(i);\r\n\t\t\t\tmeta.controller.linkScales();\r\n\t\t\t} else {\r\n\t\t\t\tvar ControllerClass = controllers[meta.type];\r\n\t\t\t\tif (ControllerClass === undefined) {\r\n\t\t\t\t\tthrow new Error('\"' + meta.type + '\" is not a chart type.');\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmeta.controller = new ControllerClass(me, i);\r\n\t\t\t\tnewControllers.push(meta.controller);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn newControllers;\r\n\t},\r\n\r\n\t/**\r\n\t * Reset the elements of all datasets\r\n\t * @private\r\n\t */\r\n\tresetElements: function() {\r\n\t\tvar me = this;\r\n\t\thelpers$1.each(me.data.datasets, function(dataset, datasetIndex) {\r\n\t\t\tme.getDatasetMeta(datasetIndex).controller.reset();\r\n\t\t}, me);\r\n\t},\r\n\r\n\t/**\r\n\t* Resets the chart back to it's state before the initial animation\r\n\t*/\r\n\treset: function() {\r\n\t\tthis.resetElements();\r\n\t\tthis.tooltip.initialize();\r\n\t},\r\n\r\n\tupdate: function(config) {\r\n\t\tvar me = this;\r\n\t\tvar i, ilen;\r\n\r\n\t\tif (!config || typeof config !== 'object') {\r\n\t\t\t// backwards compatibility\r\n\t\t\tconfig = {\r\n\t\t\t\tduration: config,\r\n\t\t\t\tlazy: arguments[1]\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tupdateConfig(me);\r\n\r\n\t\t// plugins options references might have change, let's invalidate the cache\r\n\t\t// https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\r\n\t\tcore_plugins._invalidate(me);\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeUpdate') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// In case the entire data object changed\r\n\t\tme.tooltip._data = me.data;\r\n\r\n\t\t// Make sure dataset controllers are updated and new controllers are reset\r\n\t\tvar newControllers = me.buildOrUpdateControllers();\r\n\r\n\t\t// Make sure all dataset controllers have correct meta data counts\r\n\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; i++) {\r\n\t\t\tme.getDatasetMeta(i).controller.buildOrUpdateElements();\r\n\t\t}\r\n\r\n\t\tme.updateLayout();\r\n\r\n\t\t// Can only reset the new controllers after the scales have been updated\r\n\t\tif (me.options.animation && me.options.animation.duration) {\r\n\t\t\thelpers$1.each(newControllers, function(controller) {\r\n\t\t\t\tcontroller.reset();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tme.updateDatasets();\r\n\r\n\t\t// Need to reset tooltip in case it is displayed with elements that are removed\r\n\t\t// after update.\r\n\t\tme.tooltip.initialize();\r\n\r\n\t\t// Last active contains items that were previously in the tooltip.\r\n\t\t// When we reset the tooltip, we need to clear it\r\n\t\tme.lastActive = [];\r\n\r\n\t\t// Do this before render so that any plugins that need final scale updates can use it\r\n\t\tcore_plugins.notify(me, 'afterUpdate');\r\n\r\n\t\tme._layers.sort(compare2Level('z', '_idx'));\r\n\r\n\t\tif (me._bufferedRender) {\r\n\t\t\tme._bufferedRequest = {\r\n\t\t\t\tduration: config.duration,\r\n\t\t\t\teasing: config.easing,\r\n\t\t\t\tlazy: config.lazy\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tme.render(config);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Updates the chart layout unless a plugin returns `false` to the `beforeLayout`\r\n\t * hook, in which case, plugins will not be called on `afterLayout`.\r\n\t * @private\r\n\t */\r\n\tupdateLayout: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeLayout') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tcore_layouts.update(this, this.width, this.height);\r\n\r\n\t\tme._layers = [];\r\n\t\thelpers$1.each(me.boxes, function(box) {\r\n\t\t\t// _configure is called twice, once in core.scale.update and once here.\r\n\t\t\t// Here the boxes are fully updated and at their final positions.\r\n\t\t\tif (box._configure) {\r\n\t\t\t\tbox._configure();\r\n\t\t\t}\r\n\t\t\tme._layers.push.apply(me._layers, box._layers());\r\n\t\t}, me);\r\n\r\n\t\tme._layers.forEach(function(item, index) {\r\n\t\t\titem._idx = index;\r\n\t\t});\r\n\r\n\t\t/**\r\n\t\t * Provided for backward compatibility, use `afterLayout` instead.\r\n\t\t * @method IPlugin#afterScaleUpdate\r\n\t\t * @deprecated since version 2.5.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tcore_plugins.notify(me, 'afterScaleUpdate');\r\n\t\tcore_plugins.notify(me, 'afterLayout');\r\n\t},\r\n\r\n\t/**\r\n\t * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetsUpdate`.\r\n\t * @private\r\n\t */\r\n\tupdateDatasets: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetsUpdate') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tfor (var i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tme.updateDataset(i);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetsUpdate');\r\n\t},\r\n\r\n\t/**\r\n\t * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetUpdate`.\r\n\t * @private\r\n\t */\r\n\tupdateDataset: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getDatasetMeta(index);\r\n\t\tvar args = {\r\n\t\t\tmeta: meta,\r\n\t\t\tindex: index\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetUpdate', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmeta.controller._update();\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetUpdate', [args]);\r\n\t},\r\n\r\n\trender: function(config) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (!config || typeof config !== 'object') {\r\n\t\t\t// backwards compatibility\r\n\t\t\tconfig = {\r\n\t\t\t\tduration: config,\r\n\t\t\t\tlazy: arguments[1]\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tvar animationOptions = me.options.animation;\r\n\t\tvar duration = valueOrDefault$9(config.duration, animationOptions && animationOptions.duration);\r\n\t\tvar lazy = config.lazy;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeRender') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar onComplete = function(animation) {\r\n\t\t\tcore_plugins.notify(me, 'afterRender');\r\n\t\t\thelpers$1.callback(animationOptions && animationOptions.onComplete, [animation], me);\r\n\t\t};\r\n\r\n\t\tif (animationOptions && duration) {\r\n\t\t\tvar animation = new core_animation({\r\n\t\t\t\tnumSteps: duration / 16.66, // 60 fps\r\n\t\t\t\teasing: config.easing || animationOptions.easing,\r\n\r\n\t\t\t\trender: function(chart, animationObject) {\r\n\t\t\t\t\tvar easingFunction = helpers$1.easing.effects[animationObject.easing];\r\n\t\t\t\t\tvar currentStep = animationObject.currentStep;\r\n\t\t\t\t\tvar stepDecimal = currentStep / animationObject.numSteps;\r\n\r\n\t\t\t\t\tchart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);\r\n\t\t\t\t},\r\n\r\n\t\t\t\tonAnimationProgress: animationOptions.onProgress,\r\n\t\t\t\tonAnimationComplete: onComplete\r\n\t\t\t});\r\n\r\n\t\t\tcore_animations.addAnimation(me, animation, duration, lazy);\r\n\t\t} else {\r\n\t\t\tme.draw();\r\n\r\n\t\t\t// See https://github.com/chartjs/Chart.js/issues/3781\r\n\t\t\tonComplete(new core_animation({numSteps: 0, chart: me}));\r\n\t\t}\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tdraw: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar i, layers;\r\n\r\n\t\tme.clear();\r\n\r\n\t\tif (helpers$1.isNullOrUndef(easingValue)) {\r\n\t\t\teasingValue = 1;\r\n\t\t}\r\n\r\n\t\tme.transition(easingValue);\r\n\r\n\t\tif (me.width <= 0 || me.height <= 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDraw', [easingValue]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Because of plugin hooks (before/afterDatasetsDraw), datasets can't\r\n\t\t// currently be part of layers. Instead, we draw\r\n\t\t// layers <= 0 before(default, backward compat), and the rest after\r\n\t\tlayers = me._layers;\r\n\t\tfor (i = 0; i < layers.length && layers[i].z <= 0; ++i) {\r\n\t\t\tlayers[i].draw(me.chartArea);\r\n\t\t}\r\n\r\n\t\tme.drawDatasets(easingValue);\r\n\r\n\t\t// Rest of layers\r\n\t\tfor (; i < layers.length; ++i) {\r\n\t\t\tlayers[i].draw(me.chartArea);\r\n\t\t}\r\n\r\n\t\tme._drawTooltip(easingValue);\r\n\r\n\t\tcore_plugins.notify(me, 'afterDraw', [easingValue]);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\ttransition: function(easingValue) {\r\n\t\tvar me = this;\r\n\r\n\t\tfor (var i = 0, ilen = (me.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\tif (me.isDatasetVisible(i)) {\r\n\t\t\t\tme.getDatasetMeta(i).controller.transition(easingValue);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.tooltip.transition(easingValue);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getSortedDatasetMetas: function(filterVisible) {\r\n\t\tvar me = this;\r\n\t\tvar datasets = me.data.datasets || [];\r\n\t\tvar result = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; ++i) {\r\n\t\t\tif (!filterVisible || me.isDatasetVisible(i)) {\r\n\t\t\t\tresult.push(me.getDatasetMeta(i));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tresult.sort(compare2Level('order', 'index'));\r\n\r\n\t\treturn result;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getSortedVisibleDatasetMetas: function() {\r\n\t\treturn this._getSortedDatasetMetas(true);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetsDraw`.\r\n\t * @private\r\n\t */\r\n\tdrawDatasets: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar metasets, i;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetsDraw', [easingValue]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmetasets = me._getSortedVisibleDatasetMetas();\r\n\t\tfor (i = metasets.length - 1; i >= 0; --i) {\r\n\t\t\tme.drawDataset(metasets[i], easingValue);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetsDraw', [easingValue]);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetDraw`.\r\n\t * @private\r\n\t */\r\n\tdrawDataset: function(meta, easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar args = {\r\n\t\t\tmeta: meta,\r\n\t\t\tindex: meta.index,\r\n\t\t\teasingValue: easingValue\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetDraw', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmeta.controller.draw(easingValue);\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetDraw', [args]);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws tooltip unless a plugin returns `false` to the `beforeTooltipDraw`\r\n\t * hook, in which case, plugins will not be called on `afterTooltipDraw`.\r\n\t * @private\r\n\t */\r\n\t_drawTooltip: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar tooltip = me.tooltip;\r\n\t\tvar args = {\r\n\t\t\ttooltip: tooltip,\r\n\t\t\teasingValue: easingValue\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeTooltipDraw', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\ttooltip.draw();\r\n\r\n\t\tcore_plugins.notify(me, 'afterTooltipDraw', [args]);\r\n\t},\r\n\r\n\t/**\r\n\t * Get the single element that was clicked on\r\n\t * @return An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw\r\n\t */\r\n\tgetElementAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.single(this, e);\r\n\t},\r\n\r\n\tgetElementsAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.label(this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetElementsAtXAxis: function(e) {\r\n\t\treturn core_interaction.modes['x-axis'](this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetElementsAtEventForMode: function(e, mode, options) {\r\n\t\tvar method = core_interaction.modes[mode];\r\n\t\tif (typeof method === 'function') {\r\n\t\t\treturn method(this, e, options);\r\n\t\t}\r\n\r\n\t\treturn [];\r\n\t},\r\n\r\n\tgetDatasetAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.dataset(this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetDatasetMeta: function(datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.data.datasets[datasetIndex];\r\n\t\tif (!dataset._meta) {\r\n\t\t\tdataset._meta = {};\r\n\t\t}\r\n\r\n\t\tvar meta = dataset._meta[me.id];\r\n\t\tif (!meta) {\r\n\t\t\tmeta = dataset._meta[me.id] = {\r\n\t\t\t\ttype: null,\r\n\t\t\t\tdata: [],\r\n\t\t\t\tdataset: null,\r\n\t\t\t\tcontroller: null,\r\n\t\t\t\thidden: null,\t\t\t// See isDatasetVisible() comment\r\n\t\t\t\txAxisID: null,\r\n\t\t\t\tyAxisID: null,\r\n\t\t\t\torder: dataset.order || 0,\r\n\t\t\t\tindex: datasetIndex\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn meta;\r\n\t},\r\n\r\n\tgetVisibleDatasetCount: function() {\r\n\t\tvar count = 0;\r\n\t\tfor (var i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tif (this.isDatasetVisible(i)) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn count;\r\n\t},\r\n\r\n\tisDatasetVisible: function(datasetIndex) {\r\n\t\tvar meta = this.getDatasetMeta(datasetIndex);\r\n\r\n\t\t// meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,\r\n\t\t// the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.\r\n\t\treturn typeof meta.hidden === 'boolean' ? !meta.hidden : !this.data.datasets[datasetIndex].hidden;\r\n\t},\r\n\r\n\tgenerateLegend: function() {\r\n\t\treturn this.options.legendCallback(this);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tdestroyDatasetMeta: function(datasetIndex) {\r\n\t\tvar id = this.id;\r\n\t\tvar dataset = this.data.datasets[datasetIndex];\r\n\t\tvar meta = dataset._meta && dataset._meta[id];\r\n\r\n\t\tif (meta) {\r\n\t\t\tmeta.controller.destroy();\r\n\t\t\tdelete dataset._meta[id];\r\n\t\t}\r\n\t},\r\n\r\n\tdestroy: function() {\r\n\t\tvar me = this;\r\n\t\tvar canvas = me.canvas;\r\n\t\tvar i, ilen;\r\n\r\n\t\tme.stop();\r\n\r\n\t\t// dataset controllers need to cleanup associated data\r\n\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tme.destroyDatasetMeta(i);\r\n\t\t}\r\n\r\n\t\tif (canvas) {\r\n\t\t\tme.unbindEvents();\r\n\t\t\thelpers$1.canvas.clear(me);\r\n\t\t\tplatform.releaseContext(me.ctx);\r\n\t\t\tme.canvas = null;\r\n\t\t\tme.ctx = null;\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'destroy');\r\n\r\n\t\tdelete Chart.instances[me.id];\r\n\t},\r\n\r\n\ttoBase64Image: function() {\r\n\t\treturn this.canvas.toDataURL.apply(this.canvas, arguments);\r\n\t},\r\n\r\n\tinitToolTip: function() {\r\n\t\tvar me = this;\r\n\t\tme.tooltip = new core_tooltip({\r\n\t\t\t_chart: me,\r\n\t\t\t_chartInstance: me, // deprecated, backward compatibility\r\n\t\t\t_data: me.data,\r\n\t\t\t_options: me.options.tooltips\r\n\t\t}, me);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tbindEvents: function() {\r\n\t\tvar me = this;\r\n\t\tvar listeners = me._listeners = {};\r\n\t\tvar listener = function() {\r\n\t\t\tme.eventHandler.apply(me, arguments);\r\n\t\t};\r\n\r\n\t\thelpers$1.each(me.options.events, function(type) {\r\n\t\t\tplatform.addEventListener(me, type, listener);\r\n\t\t\tlisteners[type] = listener;\r\n\t\t});\r\n\r\n\t\t// Elements used to detect size change should not be injected for non responsive charts.\r\n\t\t// See https://github.com/chartjs/Chart.js/issues/2210\r\n\t\tif (me.options.responsive) {\r\n\t\t\tlistener = function() {\r\n\t\t\t\tme.resize();\r\n\t\t\t};\r\n\r\n\t\t\tplatform.addEventListener(me, 'resize', listener);\r\n\t\t\tlisteners.resize = listener;\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tunbindEvents: function() {\r\n\t\tvar me = this;\r\n\t\tvar listeners = me._listeners;\r\n\t\tif (!listeners) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tdelete me._listeners;\r\n\t\thelpers$1.each(listeners, function(listener, type) {\r\n\t\t\tplatform.removeEventListener(me, type, listener);\r\n\t\t});\r\n\t},\r\n\r\n\tupdateHoverStyle: function(elements, mode, enabled) {\r\n\t\tvar prefix = enabled ? 'set' : 'remove';\r\n\t\tvar element, i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = elements.length; i < ilen; ++i) {\r\n\t\t\telement = elements[i];\r\n\t\t\tif (element) {\r\n\t\t\t\tthis.getDatasetMeta(element._datasetIndex).controller[prefix + 'HoverStyle'](element);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (mode === 'dataset') {\r\n\t\t\tthis.getDatasetMeta(elements[0]._datasetIndex).controller['_' + prefix + 'DatasetHoverStyle']();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\teventHandler: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar tooltip = me.tooltip;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeEvent', [e]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Buffer any update calls so that renders do not occur\r\n\t\tme._bufferedRender = true;\r\n\t\tme._bufferedRequest = null;\r\n\r\n\t\tvar changed = me.handleEvent(e);\r\n\t\t// for smooth tooltip animations issue #4989\r\n\t\t// the tooltip should be the source of change\r\n\t\t// Animation check workaround:\r\n\t\t// tooltip._start will be null when tooltip isn't animating\r\n\t\tif (tooltip) {\r\n\t\t\tchanged = tooltip._start\r\n\t\t\t\t? tooltip.handleEvent(e)\r\n\t\t\t\t: changed | tooltip.handleEvent(e);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterEvent', [e]);\r\n\r\n\t\tvar bufferedRequest = me._bufferedRequest;\r\n\t\tif (bufferedRequest) {\r\n\t\t\t// If we have an update that was triggered, we need to do a normal render\r\n\t\t\tme.render(bufferedRequest);\r\n\t\t} else if (changed && !me.animating) {\r\n\t\t\t// If entering, leaving, or changing elements, animate the change via pivot\r\n\t\t\tme.stop();\r\n\r\n\t\t\t// We only need to render at this point. Updating will cause scales to be\r\n\t\t\t// recomputed generating flicker & using more memory than necessary.\r\n\t\t\tme.render({\r\n\t\t\t\tduration: me.options.hover.animationDuration,\r\n\t\t\t\tlazy: true\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tme._bufferedRender = false;\r\n\t\tme._bufferedRequest = null;\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event the event to handle\r\n\t * @return {boolean} true if the chart needs to re-render\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options || {};\r\n\t\tvar hoverOptions = options.hover;\r\n\t\tvar changed = false;\r\n\r\n\t\tme.lastActive = me.lastActive || [];\r\n\r\n\t\t// Find Active Elements for hover and tooltips\r\n\t\tif (e.type === 'mouseout') {\r\n\t\t\tme.active = [];\r\n\t\t} else {\r\n\t\t\tme.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);\r\n\t\t}\r\n\r\n\t\t// Invoke onHover hook\r\n\t\t// Need to call with native event here to not break backwards compatibility\r\n\t\thelpers$1.callback(options.onHover || options.hover.onHover, [e.native, me.active], me);\r\n\r\n\t\tif (e.type === 'mouseup' || e.type === 'click') {\r\n\t\t\tif (options.onClick) {\r\n\t\t\t\t// Use e.native here for backwards compatibility\r\n\t\t\t\toptions.onClick.call(me, e.native, me.active);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Remove styling for last active (even if it may still be active)\r\n\t\tif (me.lastActive.length) {\r\n\t\t\tme.updateHoverStyle(me.lastActive, hoverOptions.mode, false);\r\n\t\t}\r\n\r\n\t\t// Built in hover styling\r\n\t\tif (me.active.length && hoverOptions.mode) {\r\n\t\t\tme.updateHoverStyle(me.active, hoverOptions.mode, true);\r\n\t\t}\r\n\r\n\t\tchanged = !helpers$1.arrayEquals(me.active, me.lastActive);\r\n\r\n\t\t// Remember Last Actives\r\n\t\tme.lastActive = me.active;\r\n\r\n\t\treturn changed;\r\n\t}\r\n});\r\n\r\n/**\r\n * NOTE(SB) We actually don't use this container anymore but we need to keep it\r\n * for backward compatibility. Though, it can still be useful for plugins that\r\n * would need to work on multiple charts?!\r\n */\r\nChart.instances = {};\r\n\r\nvar core_controller = Chart;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart instead.\r\n * @class Chart.Controller\r\n * @deprecated since version 2.6\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nChart.Controller = Chart;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart\r\n * @deprecated since version 2.8\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nChart.types = {};\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.helpers.configMerge\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.configMerge = mergeConfig;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.helpers.scaleMerge\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.scaleMerge = mergeScaleConfig;\n\nvar core_helpers = function() {\r\n\r\n\t// -- Basic js utility methods\r\n\r\n\thelpers$1.where = function(collection, filterCallback) {\r\n\t\tif (helpers$1.isArray(collection) && Array.prototype.filter) {\r\n\t\t\treturn collection.filter(filterCallback);\r\n\t\t}\r\n\t\tvar filtered = [];\r\n\r\n\t\thelpers$1.each(collection, function(item) {\r\n\t\t\tif (filterCallback(item)) {\r\n\t\t\t\tfiltered.push(item);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn filtered;\r\n\t};\r\n\thelpers$1.findIndex = Array.prototype.findIndex ?\r\n\t\tfunction(array, callback, scope) {\r\n\t\t\treturn array.findIndex(callback, scope);\r\n\t\t} :\r\n\t\tfunction(array, callback, scope) {\r\n\t\t\tscope = scope === undefined ? array : scope;\r\n\t\t\tfor (var i = 0, ilen = array.length; i < ilen; ++i) {\r\n\t\t\t\tif (callback.call(scope, array[i], i, array)) {\r\n\t\t\t\t\treturn i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn -1;\r\n\t\t};\r\n\thelpers$1.findNextWhere = function(arrayToSearch, filterCallback, startIndex) {\r\n\t\t// Default to start of the array\r\n\t\tif (helpers$1.isNullOrUndef(startIndex)) {\r\n\t\t\tstartIndex = -1;\r\n\t\t}\r\n\t\tfor (var i = startIndex + 1; i < arrayToSearch.length; i++) {\r\n\t\t\tvar currentItem = arrayToSearch[i];\r\n\t\t\tif (filterCallback(currentItem)) {\r\n\t\t\t\treturn currentItem;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\thelpers$1.findPreviousWhere = function(arrayToSearch, filterCallback, startIndex) {\r\n\t\t// Default to end of the array\r\n\t\tif (helpers$1.isNullOrUndef(startIndex)) {\r\n\t\t\tstartIndex = arrayToSearch.length;\r\n\t\t}\r\n\t\tfor (var i = startIndex - 1; i >= 0; i--) {\r\n\t\t\tvar currentItem = arrayToSearch[i];\r\n\t\t\tif (filterCallback(currentItem)) {\r\n\t\t\t\treturn currentItem;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t// -- Math methods\r\n\thelpers$1.isNumber = function(n) {\r\n\t\treturn !isNaN(parseFloat(n)) && isFinite(n);\r\n\t};\r\n\thelpers$1.almostEquals = function(x, y, epsilon) {\r\n\t\treturn Math.abs(x - y) < epsilon;\r\n\t};\r\n\thelpers$1.almostWhole = function(x, epsilon) {\r\n\t\tvar rounded = Math.round(x);\r\n\t\treturn ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);\r\n\t};\r\n\thelpers$1.max = function(array) {\r\n\t\treturn array.reduce(function(max, value) {\r\n\t\t\tif (!isNaN(value)) {\r\n\t\t\t\treturn Math.max(max, value);\r\n\t\t\t}\r\n\t\t\treturn max;\r\n\t\t}, Number.NEGATIVE_INFINITY);\r\n\t};\r\n\thelpers$1.min = function(array) {\r\n\t\treturn array.reduce(function(min, value) {\r\n\t\t\tif (!isNaN(value)) {\r\n\t\t\t\treturn Math.min(min, value);\r\n\t\t\t}\r\n\t\t\treturn min;\r\n\t\t}, Number.POSITIVE_INFINITY);\r\n\t};\r\n\thelpers$1.sign = Math.sign ?\r\n\t\tfunction(x) {\r\n\t\t\treturn Math.sign(x);\r\n\t\t} :\r\n\t\tfunction(x) {\r\n\t\t\tx = +x; // convert to a number\r\n\t\t\tif (x === 0 || isNaN(x)) {\r\n\t\t\t\treturn x;\r\n\t\t\t}\r\n\t\t\treturn x > 0 ? 1 : -1;\r\n\t\t};\r\n\thelpers$1.toRadians = function(degrees) {\r\n\t\treturn degrees * (Math.PI / 180);\r\n\t};\r\n\thelpers$1.toDegrees = function(radians) {\r\n\t\treturn radians * (180 / Math.PI);\r\n\t};\r\n\r\n\t/**\r\n\t * Returns the number of decimal places\r\n\t * i.e. the number of digits after the decimal point, of the value of this Number.\r\n\t * @param {number} x - A number.\r\n\t * @returns {number} The number of decimal places.\r\n\t * @private\r\n\t */\r\n\thelpers$1._decimalPlaces = function(x) {\r\n\t\tif (!helpers$1.isFinite(x)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tvar e = 1;\r\n\t\tvar p = 0;\r\n\t\twhile (Math.round(x * e) / e !== x) {\r\n\t\t\te *= 10;\r\n\t\t\tp++;\r\n\t\t}\r\n\t\treturn p;\r\n\t};\r\n\r\n\t// Gets the angle from vertical upright to the point about a centre.\r\n\thelpers$1.getAngleFromPoint = function(centrePoint, anglePoint) {\r\n\t\tvar distanceFromXCenter = anglePoint.x - centrePoint.x;\r\n\t\tvar distanceFromYCenter = anglePoint.y - centrePoint.y;\r\n\t\tvar radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\r\n\r\n\t\tvar angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\r\n\r\n\t\tif (angle < (-0.5 * Math.PI)) {\r\n\t\t\tangle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tangle: angle,\r\n\t\t\tdistance: radialDistanceFromCenter\r\n\t\t};\r\n\t};\r\n\thelpers$1.distanceBetweenPoints = function(pt1, pt2) {\r\n\t\treturn Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\r\n\t};\r\n\r\n\t/**\r\n\t * Provided for backward compatibility, not available anymore\r\n\t * @function Chart.helpers.aliasPixel\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t */\r\n\thelpers$1.aliasPixel = function(pixelWidth) {\r\n\t\treturn (pixelWidth % 2 === 0) ? 0 : 0.5;\r\n\t};\r\n\r\n\t/**\r\n\t * Returns the aligned pixel value to avoid anti-aliasing blur\r\n\t * @param {Chart} chart - The chart instance.\r\n\t * @param {number} pixel - A pixel value.\r\n\t * @param {number} width - The width of the element.\r\n\t * @returns {number} The aligned pixel value.\r\n\t * @private\r\n\t */\r\n\thelpers$1._alignPixel = function(chart, pixel, width) {\r\n\t\tvar devicePixelRatio = chart.currentDevicePixelRatio;\r\n\t\tvar halfWidth = width / 2;\r\n\t\treturn Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;\r\n\t};\r\n\r\n\thelpers$1.splineCurve = function(firstPoint, middlePoint, afterPoint, t) {\r\n\t\t// Props to Rob Spencer at scaled innovation for his post on splining between points\r\n\t\t// http://scaledinnovation.com/analytics/splines/aboutSplines.html\r\n\r\n\t\t// This function must also respect \"skipped\" points\r\n\r\n\t\tvar previous = firstPoint.skip ? middlePoint : firstPoint;\r\n\t\tvar current = middlePoint;\r\n\t\tvar next = afterPoint.skip ? middlePoint : afterPoint;\r\n\r\n\t\tvar d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));\r\n\t\tvar d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));\r\n\r\n\t\tvar s01 = d01 / (d01 + d12);\r\n\t\tvar s12 = d12 / (d01 + d12);\r\n\r\n\t\t// If all points are the same, s01 & s02 will be inf\r\n\t\ts01 = isNaN(s01) ? 0 : s01;\r\n\t\ts12 = isNaN(s12) ? 0 : s12;\r\n\r\n\t\tvar fa = t * s01; // scaling factor for triangle Ta\r\n\t\tvar fb = t * s12;\r\n\r\n\t\treturn {\r\n\t\t\tprevious: {\r\n\t\t\t\tx: current.x - fa * (next.x - previous.x),\r\n\t\t\t\ty: current.y - fa * (next.y - previous.y)\r\n\t\t\t},\r\n\t\t\tnext: {\r\n\t\t\t\tx: current.x + fb * (next.x - previous.x),\r\n\t\t\t\ty: current.y + fb * (next.y - previous.y)\r\n\t\t\t}\r\n\t\t};\r\n\t};\r\n\thelpers$1.EPSILON = Number.EPSILON || 1e-14;\r\n\thelpers$1.splineCurveMonotone = function(points) {\r\n\t\t// This function calculates Bézier control points in a similar way than |splineCurve|,\r\n\t\t// but preserves monotonicity of the provided data and ensures no local extremums are added\r\n\t\t// between the dataset discrete points due to the interpolation.\r\n\t\t// See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation\r\n\r\n\t\tvar pointsWithTangents = (points || []).map(function(point) {\r\n\t\t\treturn {\r\n\t\t\t\tmodel: point._model,\r\n\t\t\t\tdeltaK: 0,\r\n\t\t\t\tmK: 0\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\t// Calculate slopes (deltaK) and initialize tangents (mK)\r\n\t\tvar pointsLen = pointsWithTangents.length;\r\n\t\tvar i, pointBefore, pointCurrent, pointAfter;\r\n\t\tfor (i = 0; i < pointsLen; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tif (pointCurrent.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\r\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\r\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\r\n\t\t\t\tvar slopeDeltaX = (pointAfter.model.x - pointCurrent.model.x);\r\n\r\n\t\t\t\t// In the case of two points that appear at the same x pixel, slopeDeltaX is 0\r\n\t\t\t\tpointCurrent.deltaK = slopeDeltaX !== 0 ? (pointAfter.model.y - pointCurrent.model.y) / slopeDeltaX : 0;\r\n\t\t\t}\r\n\r\n\t\t\tif (!pointBefore || pointBefore.model.skip) {\r\n\t\t\t\tpointCurrent.mK = pointCurrent.deltaK;\r\n\t\t\t} else if (!pointAfter || pointAfter.model.skip) {\r\n\t\t\t\tpointCurrent.mK = pointBefore.deltaK;\r\n\t\t\t} else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {\r\n\t\t\t\tpointCurrent.mK = 0;\r\n\t\t\t} else {\r\n\t\t\t\tpointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Adjust tangents to ensure monotonic properties\r\n\t\tvar alphaK, betaK, tauK, squaredMagnitude;\r\n\t\tfor (i = 0; i < pointsLen - 1; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tpointAfter = pointsWithTangents[i + 1];\r\n\t\t\tif (pointCurrent.model.skip || pointAfter.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tif (helpers$1.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {\r\n\t\t\t\tpointCurrent.mK = pointAfter.mK = 0;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\talphaK = pointCurrent.mK / pointCurrent.deltaK;\r\n\t\t\tbetaK = pointAfter.mK / pointCurrent.deltaK;\r\n\t\t\tsquaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\r\n\t\t\tif (squaredMagnitude <= 9) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\ttauK = 3 / Math.sqrt(squaredMagnitude);\r\n\t\t\tpointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;\r\n\t\t\tpointAfter.mK = betaK * tauK * pointCurrent.deltaK;\r\n\t\t}\r\n\r\n\t\t// Compute control points\r\n\t\tvar deltaX;\r\n\t\tfor (i = 0; i < pointsLen; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tif (pointCurrent.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\r\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\r\n\t\t\tif (pointBefore && !pointBefore.model.skip) {\r\n\t\t\t\tdeltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;\r\n\t\t\t\tpointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;\r\n\t\t\t\tpointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;\r\n\t\t\t}\r\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\r\n\t\t\t\tdeltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;\r\n\t\t\t\tpointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;\r\n\t\t\t\tpointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\thelpers$1.nextItem = function(collection, index, loop) {\r\n\t\tif (loop) {\r\n\t\t\treturn index >= collection.length - 1 ? collection[0] : collection[index + 1];\r\n\t\t}\r\n\t\treturn index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];\r\n\t};\r\n\thelpers$1.previousItem = function(collection, index, loop) {\r\n\t\tif (loop) {\r\n\t\t\treturn index <= 0 ? collection[collection.length - 1] : collection[index - 1];\r\n\t\t}\r\n\t\treturn index <= 0 ? collection[0] : collection[index - 1];\r\n\t};\r\n\t// Implementation of the nice number algorithm used in determining where axis labels will go\r\n\thelpers$1.niceNum = function(range, round) {\r\n\t\tvar exponent = Math.floor(helpers$1.log10(range));\r\n\t\tvar fraction = range / Math.pow(10, exponent);\r\n\t\tvar niceFraction;\r\n\r\n\t\tif (round) {\r\n\t\t\tif (fraction < 1.5) {\r\n\t\t\t\tniceFraction = 1;\r\n\t\t\t} else if (fraction < 3) {\r\n\t\t\t\tniceFraction = 2;\r\n\t\t\t} else if (fraction < 7) {\r\n\t\t\t\tniceFraction = 5;\r\n\t\t\t} else {\r\n\t\t\t\tniceFraction = 10;\r\n\t\t\t}\r\n\t\t} else if (fraction <= 1.0) {\r\n\t\t\tniceFraction = 1;\r\n\t\t} else if (fraction <= 2) {\r\n\t\t\tniceFraction = 2;\r\n\t\t} else if (fraction <= 5) {\r\n\t\t\tniceFraction = 5;\r\n\t\t} else {\r\n\t\t\tniceFraction = 10;\r\n\t\t}\r\n\r\n\t\treturn niceFraction * Math.pow(10, exponent);\r\n\t};\r\n\t// Request animation polyfill - https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n\thelpers$1.requestAnimFrame = (function() {\r\n\t\tif (typeof window === 'undefined') {\r\n\t\t\treturn function(callback) {\r\n\t\t\t\tcallback();\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn window.requestAnimationFrame ||\r\n\t\t\twindow.webkitRequestAnimationFrame ||\r\n\t\t\twindow.mozRequestAnimationFrame ||\r\n\t\t\twindow.oRequestAnimationFrame ||\r\n\t\t\twindow.msRequestAnimationFrame ||\r\n\t\t\tfunction(callback) {\r\n\t\t\t\treturn window.setTimeout(callback, 1000 / 60);\r\n\t\t\t};\r\n\t}());\r\n\t// -- DOM methods\r\n\thelpers$1.getRelativePosition = function(evt, chart) {\r\n\t\tvar mouseX, mouseY;\r\n\t\tvar e = evt.originalEvent || evt;\r\n\t\tvar canvas = evt.target || evt.srcElement;\r\n\t\tvar boundingRect = canvas.getBoundingClientRect();\r\n\r\n\t\tvar touches = e.touches;\r\n\t\tif (touches && touches.length > 0) {\r\n\t\t\tmouseX = touches[0].clientX;\r\n\t\t\tmouseY = touches[0].clientY;\r\n\r\n\t\t} else {\r\n\t\t\tmouseX = e.clientX;\r\n\t\t\tmouseY = e.clientY;\r\n\t\t}\r\n\r\n\t\t// Scale mouse coordinates into canvas coordinates\r\n\t\t// by following the pattern laid out by 'jerryj' in the comments of\r\n\t\t// https://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/\r\n\t\tvar paddingLeft = parseFloat(helpers$1.getStyle(canvas, 'padding-left'));\r\n\t\tvar paddingTop = parseFloat(helpers$1.getStyle(canvas, 'padding-top'));\r\n\t\tvar paddingRight = parseFloat(helpers$1.getStyle(canvas, 'padding-right'));\r\n\t\tvar paddingBottom = parseFloat(helpers$1.getStyle(canvas, 'padding-bottom'));\r\n\t\tvar width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;\r\n\t\tvar height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom;\r\n\r\n\t\t// We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However\r\n\t\t// the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here\r\n\t\tmouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / (width) * canvas.width / chart.currentDevicePixelRatio);\r\n\t\tmouseY = Math.round((mouseY - boundingRect.top - paddingTop) / (height) * canvas.height / chart.currentDevicePixelRatio);\r\n\r\n\t\treturn {\r\n\t\t\tx: mouseX,\r\n\t\t\ty: mouseY\r\n\t\t};\r\n\r\n\t};\r\n\r\n\t// Private helper function to convert max-width/max-height values that may be percentages into a number\r\n\tfunction parseMaxStyle(styleValue, node, parentProperty) {\r\n\t\tvar valueInPixels;\r\n\t\tif (typeof styleValue === 'string') {\r\n\t\t\tvalueInPixels = parseInt(styleValue, 10);\r\n\r\n\t\t\tif (styleValue.indexOf('%') !== -1) {\r\n\t\t\t\t// percentage * size in dimension\r\n\t\t\t\tvalueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvalueInPixels = styleValue;\r\n\t\t}\r\n\r\n\t\treturn valueInPixels;\r\n\t}\r\n\r\n\t/**\r\n\t * Returns if the given value contains an effective constraint.\r\n\t * @private\r\n\t */\r\n\tfunction isConstrainedValue(value) {\r\n\t\treturn value !== undefined && value !== null && value !== 'none';\r\n\t}\r\n\r\n\t/**\r\n\t * Returns the max width or height of the given DOM node in a cross-browser compatible fashion\r\n\t * @param {HTMLElement} domNode - the node to check the constraint on\r\n\t * @param {string} maxStyle - the style that defines the maximum for the direction we are using ('max-width' / 'max-height')\r\n\t * @param {string} percentageProperty - property of parent to use when calculating width as a percentage\r\n\t * @see {@link https://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser}\r\n\t */\r\n\tfunction getConstraintDimension(domNode, maxStyle, percentageProperty) {\r\n\t\tvar view = document.defaultView;\r\n\t\tvar parentNode = helpers$1._getParentNode(domNode);\r\n\t\tvar constrainedNode = view.getComputedStyle(domNode)[maxStyle];\r\n\t\tvar constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];\r\n\t\tvar hasCNode = isConstrainedValue(constrainedNode);\r\n\t\tvar hasCContainer = isConstrainedValue(constrainedContainer);\r\n\t\tvar infinity = Number.POSITIVE_INFINITY;\r\n\r\n\t\tif (hasCNode || hasCContainer) {\r\n\t\t\treturn Math.min(\r\n\t\t\t\thasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,\r\n\t\t\t\thasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);\r\n\t\t}\r\n\r\n\t\treturn 'none';\r\n\t}\r\n\t// returns Number or undefined if no constraint\r\n\thelpers$1.getConstraintWidth = function(domNode) {\r\n\t\treturn getConstraintDimension(domNode, 'max-width', 'clientWidth');\r\n\t};\r\n\t// returns Number or undefined if no constraint\r\n\thelpers$1.getConstraintHeight = function(domNode) {\r\n\t\treturn getConstraintDimension(domNode, 'max-height', 'clientHeight');\r\n\t};\r\n\t/**\r\n\t * @private\r\n \t */\r\n\thelpers$1._calculatePadding = function(container, padding, parentDimension) {\r\n\t\tpadding = helpers$1.getStyle(container, padding);\r\n\r\n\t\treturn padding.indexOf('%') > -1 ? parentDimension * parseInt(padding, 10) / 100 : parseInt(padding, 10);\r\n\t};\r\n\t/**\r\n\t * @private\r\n\t */\r\n\thelpers$1._getParentNode = function(domNode) {\r\n\t\tvar parent = domNode.parentNode;\r\n\t\tif (parent && parent.toString() === '[object ShadowRoot]') {\r\n\t\t\tparent = parent.host;\r\n\t\t}\r\n\t\treturn parent;\r\n\t};\r\n\thelpers$1.getMaximumWidth = function(domNode) {\r\n\t\tvar container = helpers$1._getParentNode(domNode);\r\n\t\tif (!container) {\r\n\t\t\treturn domNode.clientWidth;\r\n\t\t}\r\n\r\n\t\tvar clientWidth = container.clientWidth;\r\n\t\tvar paddingLeft = helpers$1._calculatePadding(container, 'padding-left', clientWidth);\r\n\t\tvar paddingRight = helpers$1._calculatePadding(container, 'padding-right', clientWidth);\r\n\r\n\t\tvar w = clientWidth - paddingLeft - paddingRight;\r\n\t\tvar cw = helpers$1.getConstraintWidth(domNode);\r\n\t\treturn isNaN(cw) ? w : Math.min(w, cw);\r\n\t};\r\n\thelpers$1.getMaximumHeight = function(domNode) {\r\n\t\tvar container = helpers$1._getParentNode(domNode);\r\n\t\tif (!container) {\r\n\t\t\treturn domNode.clientHeight;\r\n\t\t}\r\n\r\n\t\tvar clientHeight = container.clientHeight;\r\n\t\tvar paddingTop = helpers$1._calculatePadding(container, 'padding-top', clientHeight);\r\n\t\tvar paddingBottom = helpers$1._calculatePadding(container, 'padding-bottom', clientHeight);\r\n\r\n\t\tvar h = clientHeight - paddingTop - paddingBottom;\r\n\t\tvar ch = helpers$1.getConstraintHeight(domNode);\r\n\t\treturn isNaN(ch) ? h : Math.min(h, ch);\r\n\t};\r\n\thelpers$1.getStyle = function(el, property) {\r\n\t\treturn el.currentStyle ?\r\n\t\t\tel.currentStyle[property] :\r\n\t\t\tdocument.defaultView.getComputedStyle(el, null).getPropertyValue(property);\r\n\t};\r\n\thelpers$1.retinaScale = function(chart, forceRatio) {\r\n\t\tvar pixelRatio = chart.currentDevicePixelRatio = forceRatio || (typeof window !== 'undefined' && window.devicePixelRatio) || 1;\r\n\t\tif (pixelRatio === 1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar canvas = chart.canvas;\r\n\t\tvar height = chart.height;\r\n\t\tvar width = chart.width;\r\n\r\n\t\tcanvas.height = height * pixelRatio;\r\n\t\tcanvas.width = width * pixelRatio;\r\n\t\tchart.ctx.scale(pixelRatio, pixelRatio);\r\n\r\n\t\t// If no style has been set on the canvas, the render size is used as display size,\r\n\t\t// making the chart visually bigger, so let's enforce it to the \"correct\" values.\r\n\t\t// See https://github.com/chartjs/Chart.js/issues/3575\r\n\t\tif (!canvas.style.height && !canvas.style.width) {\r\n\t\t\tcanvas.style.height = height + 'px';\r\n\t\t\tcanvas.style.width = width + 'px';\r\n\t\t}\r\n\t};\r\n\t// -- Canvas methods\r\n\thelpers$1.fontString = function(pixelSize, fontStyle, fontFamily) {\r\n\t\treturn fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\r\n\t};\r\n\thelpers$1.longestText = function(ctx, font, arrayOfThings, cache) {\r\n\t\tcache = cache || {};\r\n\t\tvar data = cache.data = cache.data || {};\r\n\t\tvar gc = cache.garbageCollect = cache.garbageCollect || [];\r\n\r\n\t\tif (cache.font !== font) {\r\n\t\t\tdata = cache.data = {};\r\n\t\t\tgc = cache.garbageCollect = [];\r\n\t\t\tcache.font = font;\r\n\t\t}\r\n\r\n\t\tctx.font = font;\r\n\t\tvar longest = 0;\r\n\t\tvar ilen = arrayOfThings.length;\r\n\t\tvar i, j, jlen, thing, nestedThing;\r\n\t\tfor (i = 0; i < ilen; i++) {\r\n\t\t\tthing = arrayOfThings[i];\r\n\r\n\t\t\t// Undefined strings and arrays should not be measured\r\n\t\t\tif (thing !== undefined && thing !== null && helpers$1.isArray(thing) !== true) {\r\n\t\t\t\tlongest = helpers$1.measureText(ctx, data, gc, longest, thing);\r\n\t\t\t} else if (helpers$1.isArray(thing)) {\r\n\t\t\t\t// if it is an array lets measure each element\r\n\t\t\t\t// to do maybe simplify this function a bit so we can do this more recursively?\r\n\t\t\t\tfor (j = 0, jlen = thing.length; j < jlen; j++) {\r\n\t\t\t\t\tnestedThing = thing[j];\r\n\t\t\t\t\t// Undefined strings and arrays should not be measured\r\n\t\t\t\t\tif (nestedThing !== undefined && nestedThing !== null && !helpers$1.isArray(nestedThing)) {\r\n\t\t\t\t\t\tlongest = helpers$1.measureText(ctx, data, gc, longest, nestedThing);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar gcLen = gc.length / 2;\r\n\t\tif (gcLen > arrayOfThings.length) {\r\n\t\t\tfor (i = 0; i < gcLen; i++) {\r\n\t\t\t\tdelete data[gc[i]];\r\n\t\t\t}\r\n\t\t\tgc.splice(0, gcLen);\r\n\t\t}\r\n\t\treturn longest;\r\n\t};\r\n\thelpers$1.measureText = function(ctx, data, gc, longest, string) {\r\n\t\tvar textWidth = data[string];\r\n\t\tif (!textWidth) {\r\n\t\t\ttextWidth = data[string] = ctx.measureText(string).width;\r\n\t\t\tgc.push(string);\r\n\t\t}\r\n\t\tif (textWidth > longest) {\r\n\t\t\tlongest = textWidth;\r\n\t\t}\r\n\t\treturn longest;\r\n\t};\r\n\r\n\t/**\r\n\t * @deprecated\r\n\t */\r\n\thelpers$1.numberOfLabelLines = function(arrayOfThings) {\r\n\t\tvar numberOfLines = 1;\r\n\t\thelpers$1.each(arrayOfThings, function(thing) {\r\n\t\t\tif (helpers$1.isArray(thing)) {\r\n\t\t\t\tif (thing.length > numberOfLines) {\r\n\t\t\t\t\tnumberOfLines = thing.length;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn numberOfLines;\r\n\t};\r\n\r\n\thelpers$1.color = !chartjsColor ?\r\n\t\tfunction(value) {\r\n\t\t\tconsole.error('Color.js not found!');\r\n\t\t\treturn value;\r\n\t\t} :\r\n\t\tfunction(value) {\r\n\t\t\t/* global CanvasGradient */\r\n\t\t\tif (value instanceof CanvasGradient) {\r\n\t\t\t\tvalue = core_defaults.global.defaultColor;\r\n\t\t\t}\r\n\r\n\t\t\treturn chartjsColor(value);\r\n\t\t};\r\n\r\n\thelpers$1.getHoverColor = function(colorValue) {\r\n\t\t/* global CanvasPattern */\r\n\t\treturn (colorValue instanceof CanvasPattern || colorValue instanceof CanvasGradient) ?\r\n\t\t\tcolorValue :\r\n\t\t\thelpers$1.color(colorValue).saturate(0.5).darken(0.1).rgbString();\r\n\t};\r\n};\n\nfunction abstract() {\r\n\tthrow new Error(\r\n\t\t'This method is not implemented: either no adapter can ' +\r\n\t\t'be found or an incomplete integration was provided.'\r\n\t);\r\n}\r\n\r\n/**\r\n * Date adapter (current used by the time scale)\r\n * @namespace Chart._adapters._date\r\n * @memberof Chart._adapters\r\n * @private\r\n */\r\n\r\n/**\r\n * Currently supported unit string values.\r\n * @typedef {('millisecond'|'second'|'minute'|'hour'|'day'|'week'|'month'|'quarter'|'year')}\r\n * @memberof Chart._adapters._date\r\n * @name Unit\r\n */\r\n\r\n/**\r\n * @class\r\n */\r\nfunction DateAdapter(options) {\r\n\tthis.options = options || {};\r\n}\r\n\r\nhelpers$1.extend(DateAdapter.prototype, /** @lends DateAdapter */ {\r\n\t/**\r\n\t * Returns a map of time formats for the supported formatting units defined\r\n\t * in Unit as well as 'datetime' representing a detailed date/time string.\r\n\t * @returns {{string: string}}\r\n\t */\r\n\tformats: abstract,\r\n\r\n\t/**\r\n\t * Parses the given `value` and return the associated timestamp.\r\n\t * @param {any} value - the value to parse (usually comes from the data)\r\n\t * @param {string} [format] - the expected data format\r\n\t * @returns {(number|null)}\r\n\t * @function\r\n\t */\r\n\tparse: abstract,\r\n\r\n\t/**\r\n\t * Returns the formatted date in the specified `format` for a given `timestamp`.\r\n\t * @param {number} timestamp - the timestamp to format\r\n\t * @param {string} format - the date/time token\r\n\t * @return {string}\r\n\t * @function\r\n\t */\r\n\tformat: abstract,\r\n\r\n\t/**\r\n\t * Adds the specified `amount` of `unit` to the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {number} amount - the amount to add\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @return {number}\r\n\t * @function\r\n\t */\r\n\tadd: abstract,\r\n\r\n\t/**\r\n\t * Returns the number of `unit` between the given timestamps.\r\n\t * @param {number} max - the input timestamp (reference)\r\n\t * @param {number} min - the timestamp to substract\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @return {number}\r\n\t * @function\r\n\t */\r\n\tdiff: abstract,\r\n\r\n\t/**\r\n\t * Returns start of `unit` for the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @param {number} [weekday] - the ISO day of the week with 1 being Monday\r\n\t * and 7 being Sunday (only needed if param *unit* is `isoWeek`).\r\n\t * @function\r\n\t */\r\n\tstartOf: abstract,\r\n\r\n\t/**\r\n\t * Returns end of `unit` for the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @function\r\n\t */\r\n\tendOf: abstract,\r\n\r\n\t// DEPRECATIONS\r\n\r\n\t/**\r\n\t * Provided for backward compatibility for scale.getValueForPixel(),\r\n\t * this method should be overridden only by the moment adapter.\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t * @private\r\n\t */\r\n\t_create: function(value) {\r\n\t\treturn value;\r\n\t}\r\n});\r\n\r\nDateAdapter.override = function(members) {\r\n\thelpers$1.extend(DateAdapter.prototype, members);\r\n};\r\n\r\nvar _date = DateAdapter;\n\nvar core_adapters = {\n\t_date: _date\n};\n\n/**\r\n * Namespace to hold static tick generation functions\r\n * @namespace Chart.Ticks\r\n */\r\nvar core_ticks = {\r\n\t/**\r\n\t * Namespace to hold formatters for different types of ticks\r\n\t * @namespace Chart.Ticks.formatters\r\n\t */\r\n\tformatters: {\r\n\t\t/**\r\n\t\t * Formatter for value labels\r\n\t\t * @method Chart.Ticks.formatters.values\r\n\t\t * @param value the value to display\r\n\t\t * @return {string|string[]} the label to display\r\n\t\t */\r\n\t\tvalues: function(value) {\r\n\t\t\treturn helpers$1.isArray(value) ? value : '' + value;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Formatter for linear numeric ticks\r\n\t\t * @method Chart.Ticks.formatters.linear\r\n\t\t * @param tickValue {number} the value to be formatted\r\n\t\t * @param index {number} the position of the tickValue parameter in the ticks array\r\n\t\t * @param ticks {number[]} the list of ticks being converted\r\n\t\t * @return {string} string representation of the tickValue parameter\r\n\t\t */\r\n\t\tlinear: function(tickValue, index, ticks) {\r\n\t\t\t// If we have lots of ticks, don't use the ones\r\n\t\t\tvar delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0];\r\n\r\n\t\t\t// If we have a number like 2.5 as the delta, figure out how many decimal places we need\r\n\t\t\tif (Math.abs(delta) > 1) {\r\n\t\t\t\tif (tickValue !== Math.floor(tickValue)) {\r\n\t\t\t\t\t// not an integer\r\n\t\t\t\t\tdelta = tickValue - Math.floor(tickValue);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tvar logDelta = helpers$1.log10(Math.abs(delta));\r\n\t\t\tvar tickString = '';\r\n\r\n\t\t\tif (tickValue !== 0) {\r\n\t\t\t\tvar maxTick = Math.max(Math.abs(ticks[0]), Math.abs(ticks[ticks.length - 1]));\r\n\t\t\t\tif (maxTick < 1e-4) { // all ticks are small numbers; use scientific notation\r\n\t\t\t\t\tvar logTick = helpers$1.log10(Math.abs(tickValue));\r\n\t\t\t\t\tvar numExponential = Math.floor(logTick) - Math.floor(logDelta);\r\n\t\t\t\t\tnumExponential = Math.max(Math.min(numExponential, 20), 0);\r\n\t\t\t\t\ttickString = tickValue.toExponential(numExponential);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar numDecimal = -1 * Math.floor(logDelta);\r\n\t\t\t\t\tnumDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places\r\n\t\t\t\t\ttickString = tickValue.toFixed(numDecimal);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\ttickString = '0'; // never show decimal places for 0\r\n\t\t\t}\r\n\r\n\t\t\treturn tickString;\r\n\t\t},\r\n\r\n\t\tlogarithmic: function(tickValue, index, ticks) {\r\n\t\t\tvar remain = tickValue / (Math.pow(10, Math.floor(helpers$1.log10(tickValue))));\r\n\r\n\t\t\tif (tickValue === 0) {\r\n\t\t\t\treturn '0';\r\n\t\t\t} else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {\r\n\t\t\t\treturn tickValue.toExponential();\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n};\n\nvar isArray = helpers$1.isArray;\r\nvar isNullOrUndef = helpers$1.isNullOrUndef;\r\nvar valueOrDefault$a = helpers$1.valueOrDefault;\r\nvar valueAtIndexOrDefault = helpers$1.valueAtIndexOrDefault;\r\n\r\ncore_defaults._set('scale', {\r\n\tdisplay: true,\r\n\tposition: 'left',\r\n\toffset: false,\r\n\r\n\t// grid line settings\r\n\tgridLines: {\r\n\t\tdisplay: true,\r\n\t\tcolor: 'rgba(0,0,0,0.1)',\r\n\t\tlineWidth: 1,\r\n\t\tdrawBorder: true,\r\n\t\tdrawOnChartArea: true,\r\n\t\tdrawTicks: true,\r\n\t\ttickMarkLength: 10,\r\n\t\tzeroLineWidth: 1,\r\n\t\tzeroLineColor: 'rgba(0,0,0,0.25)',\r\n\t\tzeroLineBorderDash: [],\r\n\t\tzeroLineBorderDashOffset: 0.0,\r\n\t\toffsetGridLines: false,\r\n\t\tborderDash: [],\r\n\t\tborderDashOffset: 0.0\r\n\t},\r\n\r\n\t// scale label\r\n\tscaleLabel: {\r\n\t\t// display property\r\n\t\tdisplay: false,\r\n\r\n\t\t// actual label\r\n\t\tlabelString: '',\r\n\r\n\t\t// top/bottom padding\r\n\t\tpadding: {\r\n\t\t\ttop: 4,\r\n\t\t\tbottom: 4\r\n\t\t}\r\n\t},\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\tbeginAtZero: false,\r\n\t\tminRotation: 0,\r\n\t\tmaxRotation: 50,\r\n\t\tmirror: false,\r\n\t\tpadding: 0,\r\n\t\treverse: false,\r\n\t\tdisplay: true,\r\n\t\tautoSkip: true,\r\n\t\tautoSkipPadding: 0,\r\n\t\tlabelOffset: 0,\r\n\t\t// We pass through arrays to be rendered as multiline labels, we convert Others to strings here.\r\n\t\tcallback: core_ticks.formatters.values,\r\n\t\tminor: {},\r\n\t\tmajor: {}\r\n\t}\r\n});\r\n\r\n/** Returns a new array containing numItems from arr */\r\nfunction sample(arr, numItems) {\r\n\tvar result = [];\r\n\tvar increment = arr.length / numItems;\r\n\tvar i = 0;\r\n\tvar len = arr.length;\r\n\r\n\tfor (; i < len; i += increment) {\r\n\t\tresult.push(arr[Math.floor(i)]);\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nfunction getPixelForGridLine(scale, index, offsetGridLines) {\r\n\tvar length = scale.getTicks().length;\r\n\tvar validIndex = Math.min(index, length - 1);\r\n\tvar lineValue = scale.getPixelForTick(validIndex);\r\n\tvar start = scale._startPixel;\r\n\tvar end = scale._endPixel;\r\n\tvar epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\r\n\tvar offset;\r\n\r\n\tif (offsetGridLines) {\r\n\t\tif (length === 1) {\r\n\t\t\toffset = Math.max(lineValue - start, end - lineValue);\r\n\t\t} else if (index === 0) {\r\n\t\t\toffset = (scale.getPixelForTick(1) - lineValue) / 2;\r\n\t\t} else {\r\n\t\t\toffset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2;\r\n\t\t}\r\n\t\tlineValue += validIndex < index ? offset : -offset;\r\n\r\n\t\t// Return undefined if the pixel is out of the range\r\n\t\tif (lineValue < start - epsilon || lineValue > end + epsilon) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\treturn lineValue;\r\n}\r\n\r\nfunction garbageCollect(caches, length) {\r\n\thelpers$1.each(caches, function(cache) {\r\n\t\tvar gc = cache.gc;\r\n\t\tvar gcLen = gc.length / 2;\r\n\t\tvar i;\r\n\t\tif (gcLen > length) {\r\n\t\t\tfor (i = 0; i < gcLen; ++i) {\r\n\t\t\t\tdelete cache.data[gc[i]];\r\n\t\t\t}\r\n\t\t\tgc.splice(0, gcLen);\r\n\t\t}\r\n\t});\r\n}\r\n\r\n/**\r\n * Returns {width, height, offset} objects for the first, last, widest, highest tick\r\n * labels where offset indicates the anchor point offset from the top in pixels.\r\n */\r\nfunction computeLabelSizes(ctx, tickFonts, ticks, caches) {\r\n\tvar length = ticks.length;\r\n\tvar widths = [];\r\n\tvar heights = [];\r\n\tvar offsets = [];\r\n\tvar widestLabelSize = 0;\r\n\tvar highestLabelSize = 0;\r\n\tvar i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;\r\n\r\n\tfor (i = 0; i < length; ++i) {\r\n\t\tlabel = ticks[i].label;\r\n\t\ttickFont = ticks[i].major ? tickFonts.major : tickFonts.minor;\r\n\t\tctx.font = fontString = tickFont.string;\r\n\t\tcache = caches[fontString] = caches[fontString] || {data: {}, gc: []};\r\n\t\tlineHeight = tickFont.lineHeight;\r\n\t\twidth = height = 0;\r\n\t\t// Undefined labels and arrays should not be measured\r\n\t\tif (!isNullOrUndef(label) && !isArray(label)) {\r\n\t\t\twidth = helpers$1.measureText(ctx, cache.data, cache.gc, width, label);\r\n\t\t\theight = lineHeight;\r\n\t\t} else if (isArray(label)) {\r\n\t\t\t// if it is an array let's measure each element\r\n\t\t\tfor (j = 0, jlen = label.length; j < jlen; ++j) {\r\n\t\t\t\tnestedLabel = label[j];\r\n\t\t\t\t// Undefined labels and arrays should not be measured\r\n\t\t\t\tif (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) {\r\n\t\t\t\t\twidth = helpers$1.measureText(ctx, cache.data, cache.gc, width, nestedLabel);\r\n\t\t\t\t\theight += lineHeight;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\twidths.push(width);\r\n\t\theights.push(height);\r\n\t\toffsets.push(lineHeight / 2);\r\n\t\twidestLabelSize = Math.max(width, widestLabelSize);\r\n\t\thighestLabelSize = Math.max(height, highestLabelSize);\r\n\t}\r\n\tgarbageCollect(caches, length);\r\n\r\n\twidest = widths.indexOf(widestLabelSize);\r\n\thighest = heights.indexOf(highestLabelSize);\r\n\r\n\tfunction valueAt(idx) {\r\n\t\treturn {\r\n\t\t\twidth: widths[idx] || 0,\r\n\t\t\theight: heights[idx] || 0,\r\n\t\t\toffset: offsets[idx] || 0\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tfirst: valueAt(0),\r\n\t\tlast: valueAt(length - 1),\r\n\t\twidest: valueAt(widest),\r\n\t\thighest: valueAt(highest)\r\n\t};\r\n}\r\n\r\nfunction getTickMarkLength(options) {\r\n\treturn options.drawTicks ? options.tickMarkLength : 0;\r\n}\r\n\r\nfunction getScaleLabelHeight(options) {\r\n\tvar font, padding;\r\n\r\n\tif (!options.display) {\r\n\t\treturn 0;\r\n\t}\r\n\r\n\tfont = helpers$1.options._parseFont(options);\r\n\tpadding = helpers$1.options.toPadding(options.padding);\r\n\r\n\treturn font.lineHeight + padding.height;\r\n}\r\n\r\nfunction parseFontOptions(options, nestedOpts) {\r\n\treturn helpers$1.extend(helpers$1.options._parseFont({\r\n\t\tfontFamily: valueOrDefault$a(nestedOpts.fontFamily, options.fontFamily),\r\n\t\tfontSize: valueOrDefault$a(nestedOpts.fontSize, options.fontSize),\r\n\t\tfontStyle: valueOrDefault$a(nestedOpts.fontStyle, options.fontStyle),\r\n\t\tlineHeight: valueOrDefault$a(nestedOpts.lineHeight, options.lineHeight)\r\n\t}), {\r\n\t\tcolor: helpers$1.options.resolve([nestedOpts.fontColor, options.fontColor, core_defaults.global.defaultFontColor])\r\n\t});\r\n}\r\n\r\nfunction parseTickFontOptions(options) {\r\n\tvar minor = parseFontOptions(options, options.minor);\r\n\tvar major = options.major.enabled ? parseFontOptions(options, options.major) : minor;\r\n\r\n\treturn {minor: minor, major: major};\r\n}\r\n\r\nfunction nonSkipped(ticksToFilter) {\r\n\tvar filtered = [];\r\n\tvar item, index, len;\r\n\tfor (index = 0, len = ticksToFilter.length; index < len; ++index) {\r\n\t\titem = ticksToFilter[index];\r\n\t\tif (typeof item._index !== 'undefined') {\r\n\t\t\tfiltered.push(item);\r\n\t\t}\r\n\t}\r\n\treturn filtered;\r\n}\r\n\r\nfunction getEvenSpacing(arr) {\r\n\tvar len = arr.length;\r\n\tvar i, diff;\r\n\r\n\tif (len < 2) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tfor (diff = arr[0], i = 1; i < len; ++i) {\r\n\t\tif (arr[i] - arr[i - 1] !== diff) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\treturn diff;\r\n}\r\n\r\nfunction calculateSpacing(majorIndices, ticks, axisLength, ticksLimit) {\r\n\tvar evenMajorSpacing = getEvenSpacing(majorIndices);\r\n\tvar spacing = (ticks.length - 1) / ticksLimit;\r\n\tvar factors, factor, i, ilen;\r\n\r\n\t// If the major ticks are evenly spaced apart, place the minor ticks\r\n\t// so that they divide the major ticks into even chunks\r\n\tif (!evenMajorSpacing) {\r\n\t\treturn Math.max(spacing, 1);\r\n\t}\r\n\r\n\tfactors = helpers$1.math._factorize(evenMajorSpacing);\r\n\tfor (i = 0, ilen = factors.length - 1; i < ilen; i++) {\r\n\t\tfactor = factors[i];\r\n\t\tif (factor > spacing) {\r\n\t\t\treturn factor;\r\n\t\t}\r\n\t}\r\n\treturn Math.max(spacing, 1);\r\n}\r\n\r\nfunction getMajorIndices(ticks) {\r\n\tvar result = [];\r\n\tvar i, ilen;\r\n\tfor (i = 0, ilen = ticks.length; i < ilen; i++) {\r\n\t\tif (ticks[i].major) {\r\n\t\t\tresult.push(i);\r\n\t\t}\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nfunction skipMajors(ticks, majorIndices, spacing) {\r\n\tvar count = 0;\r\n\tvar next = majorIndices[0];\r\n\tvar i, tick;\r\n\r\n\tspacing = Math.ceil(spacing);\r\n\tfor (i = 0; i < ticks.length; i++) {\r\n\t\ttick = ticks[i];\r\n\t\tif (i === next) {\r\n\t\t\ttick._index = i;\r\n\t\t\tcount++;\r\n\t\t\tnext = majorIndices[count * spacing];\r\n\t\t} else {\r\n\t\t\tdelete tick.label;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction skip(ticks, spacing, majorStart, majorEnd) {\r\n\tvar start = valueOrDefault$a(majorStart, 0);\r\n\tvar end = Math.min(valueOrDefault$a(majorEnd, ticks.length), ticks.length);\r\n\tvar count = 0;\r\n\tvar length, i, tick, next;\r\n\r\n\tspacing = Math.ceil(spacing);\r\n\tif (majorEnd) {\r\n\t\tlength = majorEnd - majorStart;\r\n\t\tspacing = length / Math.floor(length / spacing);\r\n\t}\r\n\r\n\tnext = start;\r\n\r\n\twhile (next < 0) {\r\n\t\tcount++;\r\n\t\tnext = Math.round(start + count * spacing);\r\n\t}\r\n\r\n\tfor (i = Math.max(start, 0); i < end; i++) {\r\n\t\ttick = ticks[i];\r\n\t\tif (i === next) {\r\n\t\t\ttick._index = i;\r\n\t\t\tcount++;\r\n\t\t\tnext = Math.round(start + count * spacing);\r\n\t\t} else {\r\n\t\t\tdelete tick.label;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nvar Scale = core_element.extend({\r\n\r\n\tzeroLineIndex: 0,\r\n\r\n\t/**\r\n\t * Get the padding needed for the scale\r\n\t * @method getPadding\r\n\t * @private\r\n\t * @returns {Padding} the necessary padding\r\n\t */\r\n\tgetPadding: function() {\r\n\t\tvar me = this;\r\n\t\treturn {\r\n\t\t\tleft: me.paddingLeft || 0,\r\n\t\t\ttop: me.paddingTop || 0,\r\n\t\t\tright: me.paddingRight || 0,\r\n\t\t\tbottom: me.paddingBottom || 0\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the scale tick objects ({label, major})\r\n\t * @since 2.7\r\n\t */\r\n\tgetTicks: function() {\r\n\t\treturn this._ticks;\r\n\t},\r\n\r\n\t/**\r\n\t* @private\r\n\t*/\r\n\t_getLabels: function() {\r\n\t\tvar data = this.chart.data;\r\n\t\treturn this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];\r\n\t},\r\n\r\n\t// These methods are ordered by lifecyle. Utilities then follow.\r\n\t// Any function defined here is inherited by all scale types.\r\n\t// Any function can be extended by the scale type\r\n\r\n\t/**\r\n\t * Provided for backward compatibility, not available anymore\r\n\t * @function Chart.Scale.mergeTicksOptions\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t */\r\n\tmergeTicksOptions: function() {\r\n\t\t// noop\r\n\t},\r\n\r\n\tbeforeUpdate: function() {\r\n\t\thelpers$1.callback(this.options.beforeUpdate, [this]);\r\n\t},\r\n\r\n\t/**\r\n\t * @param {number} maxWidth - the max width in pixels\r\n\t * @param {number} maxHeight - the max height in pixels\r\n\t * @param {object} margins - the space between the edge of the other scales and edge of the chart\r\n\t *   This space comes from two sources:\r\n\t *     - padding - space that's required to show the labels at the edges of the scale\r\n\t *     - thickness of scales or legends in another orientation\r\n\t */\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar sampleSize = tickOpts.sampleSize;\r\n\t\tvar i, ilen, labels, ticks, samplingEnabled;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = helpers$1.extend({\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t}, margins);\r\n\r\n\t\tme._ticks = null;\r\n\t\tme.ticks = null;\r\n\t\tme._labelSizes = null;\r\n\t\tme._maxLabelLines = 0;\r\n\t\tme.longestLabelWidth = 0;\r\n\t\tme.longestTextCache = me.longestTextCache || {};\r\n\t\tme._gridLineItems = null;\r\n\t\tme._labelItems = null;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\r\n\t\t// Data min/max\r\n\t\tme.beforeDataLimits();\r\n\t\tme.determineDataLimits();\r\n\t\tme.afterDataLimits();\r\n\r\n\t\t// Ticks - `this.ticks` is now DEPRECATED!\r\n\t\t// Internal ticks are now stored as objects in the PRIVATE `this._ticks` member\r\n\t\t// and must not be accessed directly from outside this class. `this.ticks` being\r\n\t\t// around for long time and not marked as private, we can't change its structure\r\n\t\t// without unexpected breaking changes. If you need to access the scale ticks,\r\n\t\t// use scale.getTicks() instead.\r\n\r\n\t\tme.beforeBuildTicks();\r\n\r\n\t\t// New implementations should return an array of objects but for BACKWARD COMPAT,\r\n\t\t// we still support no return (`this.ticks` internally set by calling this method).\r\n\t\tticks = me.buildTicks() || [];\r\n\r\n\t\t// Allow modification of ticks in callback.\r\n\t\tticks = me.afterBuildTicks(ticks) || ticks;\r\n\r\n\t\t// Ensure ticks contains ticks in new tick format\r\n\t\tif ((!ticks || !ticks.length) && me.ticks) {\r\n\t\t\tticks = [];\r\n\t\t\tfor (i = 0, ilen = me.ticks.length; i < ilen; ++i) {\r\n\t\t\t\tticks.push({\r\n\t\t\t\t\tvalue: me.ticks[i],\r\n\t\t\t\t\tmajor: false\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme._ticks = ticks;\r\n\r\n\t\t// Compute tick rotation and fit using a sampled subset of labels\r\n\t\t// We generally don't need to compute the size of every single label for determining scale size\r\n\t\tsamplingEnabled = sampleSize < ticks.length;\r\n\t\tlabels = me._convertTicksToLabels(samplingEnabled ? sample(ticks, sampleSize) : ticks);\r\n\r\n\t\t// _configure is called twice, once here, once from core.controller.updateLayout.\r\n\t\t// Here we haven't been positioned yet, but dimensions are correct.\r\n\t\t// Variables set in _configure are needed for calculateTickRotation, and\r\n\t\t// it's ok that coordinates are not correct there, only dimensions matter.\r\n\t\tme._configure();\r\n\r\n\t\t// Tick Rotation\r\n\t\tme.beforeCalculateTickRotation();\r\n\t\tme.calculateTickRotation();\r\n\t\tme.afterCalculateTickRotation();\r\n\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\r\n\t\t// Auto-skip\r\n\t\tme._ticksToDraw = tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto') ? me._autoSkip(ticks) : ticks;\r\n\r\n\t\tif (samplingEnabled) {\r\n\t\t\t// Generate labels using all non-skipped ticks\r\n\t\t\tlabels = me._convertTicksToLabels(me._ticksToDraw);\r\n\t\t}\r\n\r\n\t\tme.ticks = labels;   // BACKWARD COMPATIBILITY\r\n\r\n\t\t// IMPORTANT: after this point, we consider that `this.ticks` will NEVER change!\r\n\r\n\t\tme.afterUpdate();\r\n\r\n\t\t// TODO(v3): remove minSize as a public property and return value from all layout boxes. It is unused\r\n\t\t// make maxWidth and maxHeight private\r\n\t\treturn me.minSize;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar reversePixels = me.options.ticks.reverse;\r\n\t\tvar startPixel, endPixel;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\tstartPixel = me.left;\r\n\t\t\tendPixel = me.right;\r\n\t\t} else {\r\n\t\t\tstartPixel = me.top;\r\n\t\t\tendPixel = me.bottom;\r\n\t\t\t// by default vertical scales are from bottom to top, so pixels are reversed\r\n\t\t\treversePixels = !reversePixels;\r\n\t\t}\r\n\t\tme._startPixel = startPixel;\r\n\t\tme._endPixel = endPixel;\r\n\t\tme._reversePixels = reversePixels;\r\n\t\tme._length = endPixel - startPixel;\r\n\t},\r\n\r\n\tafterUpdate: function() {\r\n\t\thelpers$1.callback(this.options.afterUpdate, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: function() {\r\n\t\thelpers$1.callback(this.options.beforeSetDimensions, [this]);\r\n\t},\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\t},\r\n\tafterSetDimensions: function() {\r\n\t\thelpers$1.callback(this.options.afterSetDimensions, [this]);\r\n\t},\r\n\r\n\t// Data limits\r\n\tbeforeDataLimits: function() {\r\n\t\thelpers$1.callback(this.options.beforeDataLimits, [this]);\r\n\t},\r\n\tdetermineDataLimits: helpers$1.noop,\r\n\tafterDataLimits: function() {\r\n\t\thelpers$1.callback(this.options.afterDataLimits, [this]);\r\n\t},\r\n\r\n\t//\r\n\tbeforeBuildTicks: function() {\r\n\t\thelpers$1.callback(this.options.beforeBuildTicks, [this]);\r\n\t},\r\n\tbuildTicks: helpers$1.noop,\r\n\tafterBuildTicks: function(ticks) {\r\n\t\tvar me = this;\r\n\t\t// ticks is empty for old axis implementations here\r\n\t\tif (isArray(ticks) && ticks.length) {\r\n\t\t\treturn helpers$1.callback(me.options.afterBuildTicks, [me, ticks]);\r\n\t\t}\r\n\t\t// Support old implementations (that modified `this.ticks` directly in buildTicks)\r\n\t\tme.ticks = helpers$1.callback(me.options.afterBuildTicks, [me, me.ticks]) || me.ticks;\r\n\t\treturn ticks;\r\n\t},\r\n\r\n\tbeforeTickToLabelConversion: function() {\r\n\t\thelpers$1.callback(this.options.beforeTickToLabelConversion, [this]);\r\n\t},\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\t\t// Convert ticks to strings\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tme.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback, this);\r\n\t},\r\n\tafterTickToLabelConversion: function() {\r\n\t\thelpers$1.callback(this.options.afterTickToLabelConversion, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeCalculateTickRotation: function() {\r\n\t\thelpers$1.callback(this.options.beforeCalculateTickRotation, [this]);\r\n\t},\r\n\tcalculateTickRotation: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar numTicks = me.getTicks().length;\r\n\t\tvar minRotation = tickOpts.minRotation || 0;\r\n\t\tvar maxRotation = tickOpts.maxRotation;\r\n\t\tvar labelRotation = minRotation;\r\n\t\tvar labelSizes, maxLabelWidth, maxLabelHeight, maxWidth, tickWidth, maxHeight, maxLabelDiagonal;\r\n\r\n\t\tif (!me._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !me.isHorizontal()) {\r\n\t\t\tme.labelRotation = minRotation;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlabelSizes = me._getLabelSizes();\r\n\t\tmaxLabelWidth = labelSizes.widest.width;\r\n\t\tmaxLabelHeight = labelSizes.highest.height - labelSizes.highest.offset;\r\n\r\n\t\t// Estimate the width of each grid based on the canvas width, the maximum\r\n\t\t// label width and the number of tick intervals\r\n\t\tmaxWidth = Math.min(me.maxWidth, me.chart.width - maxLabelWidth);\r\n\t\ttickWidth = options.offset ? me.maxWidth / numTicks : maxWidth / (numTicks - 1);\r\n\r\n\t\t// Allow 3 pixels x2 padding either side for label readability\r\n\t\tif (maxLabelWidth + 6 > tickWidth) {\r\n\t\t\ttickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1));\r\n\t\t\tmaxHeight = me.maxHeight - getTickMarkLength(options.gridLines)\r\n\t\t\t\t- tickOpts.padding - getScaleLabelHeight(options.scaleLabel);\r\n\t\t\tmaxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);\r\n\t\t\tlabelRotation = helpers$1.toDegrees(Math.min(\r\n\t\t\t\tMath.asin(Math.min((labelSizes.highest.height + 6) / tickWidth, 1)),\r\n\t\t\t\tMath.asin(Math.min(maxHeight / maxLabelDiagonal, 1)) - Math.asin(maxLabelHeight / maxLabelDiagonal)\r\n\t\t\t));\r\n\t\t\tlabelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));\r\n\t\t}\r\n\r\n\t\tme.labelRotation = labelRotation;\r\n\t},\r\n\tafterCalculateTickRotation: function() {\r\n\t\thelpers$1.callback(this.options.afterCalculateTickRotation, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeFit: function() {\r\n\t\thelpers$1.callback(this.options.beforeFit, [this]);\r\n\t},\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\t// Reset\r\n\t\tvar minSize = me.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\r\n\t\tvar chart = me.chart;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\t\tvar scaleLabelOpts = opts.scaleLabel;\r\n\t\tvar gridLineOpts = opts.gridLines;\r\n\t\tvar display = me._isVisible();\r\n\t\tvar isBottom = opts.position === 'bottom';\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\r\n\t\t// Width\r\n\t\tif (isHorizontal) {\r\n\t\t\tminSize.width = me.maxWidth;\r\n\t\t} else if (display) {\r\n\t\t\tminSize.width = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\r\n\t\t}\r\n\r\n\t\t// height\r\n\t\tif (!isHorizontal) {\r\n\t\t\tminSize.height = me.maxHeight; // fill all the height\r\n\t\t} else if (display) {\r\n\t\t\tminSize.height = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\r\n\t\t}\r\n\r\n\t\t// Don't bother fitting the ticks if we are not showing the labels\r\n\t\tif (tickOpts.display && display) {\r\n\t\t\tvar tickFonts = parseTickFontOptions(tickOpts);\r\n\t\t\tvar labelSizes = me._getLabelSizes();\r\n\t\t\tvar firstLabelSize = labelSizes.first;\r\n\t\t\tvar lastLabelSize = labelSizes.last;\r\n\t\t\tvar widestLabelSize = labelSizes.widest;\r\n\t\t\tvar highestLabelSize = labelSizes.highest;\r\n\t\t\tvar lineSpace = tickFonts.minor.lineHeight * 0.4;\r\n\t\t\tvar tickPadding = tickOpts.padding;\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\t// A horizontal axis is more constrained by the height.\r\n\t\t\t\tvar isRotated = me.labelRotation !== 0;\r\n\t\t\t\tvar angleRadians = helpers$1.toRadians(me.labelRotation);\r\n\t\t\t\tvar cosRotation = Math.cos(angleRadians);\r\n\t\t\t\tvar sinRotation = Math.sin(angleRadians);\r\n\r\n\t\t\t\tvar labelHeight = sinRotation * widestLabelSize.width\r\n\t\t\t\t\t+ cosRotation * (highestLabelSize.height - (isRotated ? highestLabelSize.offset : 0))\r\n\t\t\t\t\t+ (isRotated ? 0 : lineSpace); // padding\r\n\r\n\t\t\t\tminSize.height = Math.min(me.maxHeight, minSize.height + labelHeight + tickPadding);\r\n\r\n\t\t\t\tvar offsetLeft = me.getPixelForTick(0) - me.left;\r\n\t\t\t\tvar offsetRight = me.right - me.getPixelForTick(me.getTicks().length - 1);\r\n\t\t\t\tvar paddingLeft, paddingRight;\r\n\r\n\t\t\t\t// Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned\r\n\t\t\t\t// which means that the right padding is dominated by the font height\r\n\t\t\t\tif (isRotated) {\r\n\t\t\t\t\tpaddingLeft = isBottom ?\r\n\t\t\t\t\t\tcosRotation * firstLabelSize.width + sinRotation * firstLabelSize.offset :\r\n\t\t\t\t\t\tsinRotation * (firstLabelSize.height - firstLabelSize.offset);\r\n\t\t\t\t\tpaddingRight = isBottom ?\r\n\t\t\t\t\t\tsinRotation * (lastLabelSize.height - lastLabelSize.offset) :\r\n\t\t\t\t\t\tcosRotation * lastLabelSize.width + sinRotation * lastLabelSize.offset;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tpaddingLeft = firstLabelSize.width / 2;\r\n\t\t\t\t\tpaddingRight = lastLabelSize.width / 2;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Adjust padding taking into account changes in offsets\r\n\t\t\t\t// and add 3 px to move away from canvas edges\r\n\t\t\t\tme.paddingLeft = Math.max((paddingLeft - offsetLeft) * me.width / (me.width - offsetLeft), 0) + 3;\r\n\t\t\t\tme.paddingRight = Math.max((paddingRight - offsetRight) * me.width / (me.width - offsetRight), 0) + 3;\r\n\t\t\t} else {\r\n\t\t\t\t// A vertical axis is more constrained by the width. Labels are the\r\n\t\t\t\t// dominant factor here, so get that length first and account for padding\r\n\t\t\t\tvar labelWidth = tickOpts.mirror ? 0 :\r\n\t\t\t\t\t// use lineSpace for consistency with horizontal axis\r\n\t\t\t\t\t// tickPadding is not implemented for horizontal\r\n\t\t\t\t\twidestLabelSize.width + tickPadding + lineSpace;\r\n\r\n\t\t\t\tminSize.width = Math.min(me.maxWidth, minSize.width + labelWidth);\r\n\r\n\t\t\t\tme.paddingTop = firstLabelSize.height / 2;\r\n\t\t\t\tme.paddingBottom = lastLabelSize.height / 2;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.handleMargins();\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\tme.width = me._length = chart.width - me.margins.left - me.margins.right;\r\n\t\t\tme.height = minSize.height;\r\n\t\t} else {\r\n\t\t\tme.width = minSize.width;\r\n\t\t\tme.height = me._length = chart.height - me.margins.top - me.margins.bottom;\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Handle margins and padding interactions\r\n\t * @private\r\n\t */\r\n\thandleMargins: function() {\r\n\t\tvar me = this;\r\n\t\tif (me.margins) {\r\n\t\t\tme.margins.left = Math.max(me.paddingLeft, me.margins.left);\r\n\t\t\tme.margins.top = Math.max(me.paddingTop, me.margins.top);\r\n\t\t\tme.margins.right = Math.max(me.paddingRight, me.margins.right);\r\n\t\t\tme.margins.bottom = Math.max(me.paddingBottom, me.margins.bottom);\r\n\t\t}\r\n\t},\r\n\r\n\tafterFit: function() {\r\n\t\thelpers$1.callback(this.options.afterFit, [this]);\r\n\t},\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\tvar pos = this.options.position;\r\n\t\treturn pos === 'top' || pos === 'bottom';\r\n\t},\r\n\tisFullWidth: function() {\r\n\t\treturn this.options.fullWidth;\r\n\t},\r\n\r\n\t// Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not\r\n\tgetRightValue: function(rawValue) {\r\n\t\t// Null and undefined values first\r\n\t\tif (isNullOrUndef(rawValue)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\t\t// isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values\r\n\t\tif ((typeof rawValue === 'number' || rawValue instanceof Number) && !isFinite(rawValue)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\r\n\t\t// If it is in fact an object, dive in one more level\r\n\t\tif (rawValue) {\r\n\t\t\tif (this.isHorizontal()) {\r\n\t\t\t\tif (rawValue.x !== undefined) {\r\n\t\t\t\t\treturn this.getRightValue(rawValue.x);\r\n\t\t\t\t}\r\n\t\t\t} else if (rawValue.y !== undefined) {\r\n\t\t\t\treturn this.getRightValue(rawValue.y);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Value is good, return it\r\n\t\treturn rawValue;\r\n\t},\r\n\r\n\t_convertTicksToLabels: function(ticks) {\r\n\t\tvar me = this;\r\n\t\tvar labels, i, ilen;\r\n\r\n\t\tme.ticks = ticks.map(function(tick) {\r\n\t\t\treturn tick.value;\r\n\t\t});\r\n\r\n\t\tme.beforeTickToLabelConversion();\r\n\r\n\t\t// New implementations should return the formatted tick labels but for BACKWARD\r\n\t\t// COMPAT, we still support no return (`this.ticks` internally changed by calling\r\n\t\t// this method and supposed to contain only string values).\r\n\t\tlabels = me.convertTicksToLabels(ticks) || me.ticks;\r\n\r\n\t\tme.afterTickToLabelConversion();\r\n\r\n\t\t// BACKWARD COMPAT: synchronize `_ticks` with labels (so potentially `this.ticks`)\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\tticks[i].label = labels[i];\r\n\t\t}\r\n\r\n\t\treturn labels;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLabelSizes: function() {\r\n\t\tvar me = this;\r\n\t\tvar labelSizes = me._labelSizes;\r\n\r\n\t\tif (!labelSizes) {\r\n\t\t\tme._labelSizes = labelSizes = computeLabelSizes(me.ctx, parseTickFontOptions(me.options.ticks), me.getTicks(), me.longestTextCache);\r\n\t\t\tme.longestLabelWidth = labelSizes.widest.width;\r\n\t\t}\r\n\r\n\t\treturn labelSizes;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_parseValue: function(value) {\r\n\t\tvar start, end, min, max;\r\n\r\n\t\tif (isArray(value)) {\r\n\t\t\tstart = +this.getRightValue(value[0]);\r\n\t\t\tend = +this.getRightValue(value[1]);\r\n\t\t\tmin = Math.min(start, end);\r\n\t\t\tmax = Math.max(start, end);\r\n\t\t} else {\r\n\t\t\tvalue = +this.getRightValue(value);\r\n\t\t\tstart = undefined;\r\n\t\t\tend = value;\r\n\t\t\tmin = value;\r\n\t\t\tmax = value;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tmin: min,\r\n\t\t\tmax: max,\r\n\t\t\tstart: start,\r\n\t\t\tend: end\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t* @private\r\n\t*/\r\n\t_getScaleLabel: function(rawValue) {\r\n\t\tvar v = this._parseValue(rawValue);\r\n\t\tif (v.start !== undefined) {\r\n\t\t\treturn '[' + v.start + ', ' + v.end + ']';\r\n\t\t}\r\n\r\n\t\treturn +this.getRightValue(rawValue);\r\n\t},\r\n\r\n\t/**\r\n\t * Used to get the value to display in the tooltip for the data at the given index\r\n\t * @param index\r\n\t * @param datasetIndex\r\n\t */\r\n\tgetLabelForIndex: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Returns the location of the given data point. Value can either be an index or a numerical value\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t * @param value\r\n\t * @param index\r\n\t * @param datasetIndex\r\n\t */\r\n\tgetPixelForValue: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Used to get the data value from a given pixel. This is the inverse of getPixelForValue\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t * @param pixel\r\n\t */\r\n\tgetValueForPixel: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Returns the location of the tick at the given index\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar offset = me.options.offset;\r\n\t\tvar numTicks = me._ticks.length;\r\n\t\tvar tickWidth = 1 / Math.max(numTicks - (offset ? 0 : 1), 1);\r\n\r\n\t\treturn index < 0 || index > numTicks - 1\r\n\t\t\t? null\r\n\t\t\t: me.getPixelForDecimal(index * tickWidth + (offset ? tickWidth / 2 : 0));\r\n\t},\r\n\r\n\t/**\r\n\t * Utility for getting the pixel location of a percentage of scale\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetPixelForDecimal: function(decimal) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (me._reversePixels) {\r\n\t\t\tdecimal = 1 - decimal;\r\n\t\t}\r\n\r\n\t\treturn me._startPixel + decimal * me._length;\r\n\t},\r\n\r\n\tgetDecimalForPixel: function(pixel) {\r\n\t\tvar decimal = (pixel - this._startPixel) / this._length;\r\n\t\treturn this._reversePixels ? 1 - decimal : decimal;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the pixel for the minimum chart value\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetBasePixel: function() {\r\n\t\treturn this.getPixelForValue(this.getBaseValue());\r\n\t},\r\n\r\n\tgetBaseValue: function() {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\r\n\t\treturn me.beginAtZero ? 0 :\r\n\t\t\tmin < 0 && max < 0 ? max :\r\n\t\t\tmin > 0 && max > 0 ? min :\r\n\t\t\t0;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a subset of ticks to be plotted to avoid overlapping labels.\r\n\t * @private\r\n\t */\r\n\t_autoSkip: function(ticks) {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar axisLength = me._length;\r\n\t\tvar ticksLimit = tickOpts.maxTicksLimit || axisLength / me._tickSize() + 1;\r\n\t\tvar majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : [];\r\n\t\tvar numMajorIndices = majorIndices.length;\r\n\t\tvar first = majorIndices[0];\r\n\t\tvar last = majorIndices[numMajorIndices - 1];\r\n\t\tvar i, ilen, spacing, avgMajorSpacing;\r\n\r\n\t\t// If there are too many major ticks to display them all\r\n\t\tif (numMajorIndices > ticksLimit) {\r\n\t\t\tskipMajors(ticks, majorIndices, numMajorIndices / ticksLimit);\r\n\t\t\treturn nonSkipped(ticks);\r\n\t\t}\r\n\r\n\t\tspacing = calculateSpacing(majorIndices, ticks, axisLength, ticksLimit);\r\n\r\n\t\tif (numMajorIndices > 0) {\r\n\t\t\tfor (i = 0, ilen = numMajorIndices - 1; i < ilen; i++) {\r\n\t\t\t\tskip(ticks, spacing, majorIndices[i], majorIndices[i + 1]);\r\n\t\t\t}\r\n\t\t\tavgMajorSpacing = numMajorIndices > 1 ? (last - first) / (numMajorIndices - 1) : null;\r\n\t\t\tskip(ticks, spacing, helpers$1.isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first);\r\n\t\t\tskip(ticks, spacing, last, helpers$1.isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing);\r\n\t\t\treturn nonSkipped(ticks);\r\n\t\t}\r\n\t\tskip(ticks, spacing);\r\n\t\treturn nonSkipped(ticks);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_tickSize: function() {\r\n\t\tvar me = this;\r\n\t\tvar optionTicks = me.options.ticks;\r\n\r\n\t\t// Calculate space needed by label in axis direction.\r\n\t\tvar rot = helpers$1.toRadians(me.labelRotation);\r\n\t\tvar cos = Math.abs(Math.cos(rot));\r\n\t\tvar sin = Math.abs(Math.sin(rot));\r\n\r\n\t\tvar labelSizes = me._getLabelSizes();\r\n\t\tvar padding = optionTicks.autoSkipPadding || 0;\r\n\t\tvar w = labelSizes ? labelSizes.widest.width + padding : 0;\r\n\t\tvar h = labelSizes ? labelSizes.highest.height + padding : 0;\r\n\r\n\t\t// Calculate space needed for 1 tick in axis direction.\r\n\t\treturn me.isHorizontal()\r\n\t\t\t? h * cos > w * sin ? w / cos : h / sin\r\n\t\t\t: h * sin < w * cos ? h / cos : w / sin;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_isVisible: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar display = me.options.display;\r\n\t\tvar i, ilen, meta;\r\n\r\n\t\tif (display !== 'auto') {\r\n\t\t\treturn !!display;\r\n\t\t}\r\n\r\n\t\t// When 'auto', the scale is visible if at least one associated dataset is visible.\r\n\t\tfor (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\tif (meta.xAxisID === me.id || meta.yAxisID === me.id) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeGridLineItems: function(chartArea) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar options = me.options;\r\n\t\tvar gridLines = options.gridLines;\r\n\t\tvar position = options.position;\r\n\t\tvar offsetGridLines = gridLines.offsetGridLines;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar ticks = me._ticksToDraw;\r\n\t\tvar ticksLength = ticks.length + (offsetGridLines ? 1 : 0);\r\n\r\n\t\tvar tl = getTickMarkLength(gridLines);\r\n\t\tvar items = [];\r\n\t\tvar axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\r\n\t\tvar axisHalfWidth = axisWidth / 2;\r\n\t\tvar alignPixel = helpers$1._alignPixel;\r\n\t\tvar alignBorderValue = function(pixel) {\r\n\t\t\treturn alignPixel(chart, pixel, axisWidth);\r\n\t\t};\r\n\t\tvar borderValue, i, tick, lineValue, alignedLineValue;\r\n\t\tvar tx1, ty1, tx2, ty2, x1, y1, x2, y2, lineWidth, lineColor, borderDash, borderDashOffset;\r\n\r\n\t\tif (position === 'top') {\r\n\t\t\tborderValue = alignBorderValue(me.bottom);\r\n\t\t\tty1 = me.bottom - tl;\r\n\t\t\tty2 = borderValue - axisHalfWidth;\r\n\t\t\ty1 = alignBorderValue(chartArea.top) + axisHalfWidth;\r\n\t\t\ty2 = chartArea.bottom;\r\n\t\t} else if (position === 'bottom') {\r\n\t\t\tborderValue = alignBorderValue(me.top);\r\n\t\t\ty1 = chartArea.top;\r\n\t\t\ty2 = alignBorderValue(chartArea.bottom) - axisHalfWidth;\r\n\t\t\tty1 = borderValue + axisHalfWidth;\r\n\t\t\tty2 = me.top + tl;\r\n\t\t} else if (position === 'left') {\r\n\t\t\tborderValue = alignBorderValue(me.right);\r\n\t\t\ttx1 = me.right - tl;\r\n\t\t\ttx2 = borderValue - axisHalfWidth;\r\n\t\t\tx1 = alignBorderValue(chartArea.left) + axisHalfWidth;\r\n\t\t\tx2 = chartArea.right;\r\n\t\t} else {\r\n\t\t\tborderValue = alignBorderValue(me.left);\r\n\t\t\tx1 = chartArea.left;\r\n\t\t\tx2 = alignBorderValue(chartArea.right) - axisHalfWidth;\r\n\t\t\ttx1 = borderValue + axisHalfWidth;\r\n\t\t\ttx2 = me.left + tl;\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < ticksLength; ++i) {\r\n\t\t\ttick = ticks[i] || {};\r\n\r\n\t\t\t// autoskipper skipped this tick (#4635)\r\n\t\t\tif (isNullOrUndef(tick.label) && i < ticks.length) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tif (i === me.zeroLineIndex && options.offset === offsetGridLines) {\r\n\t\t\t\t// Draw the first index specially\r\n\t\t\t\tlineWidth = gridLines.zeroLineWidth;\r\n\t\t\t\tlineColor = gridLines.zeroLineColor;\r\n\t\t\t\tborderDash = gridLines.zeroLineBorderDash || [];\r\n\t\t\t\tborderDashOffset = gridLines.zeroLineBorderDashOffset || 0.0;\r\n\t\t\t} else {\r\n\t\t\t\tlineWidth = valueAtIndexOrDefault(gridLines.lineWidth, i, 1);\r\n\t\t\t\tlineColor = valueAtIndexOrDefault(gridLines.color, i, 'rgba(0,0,0,0.1)');\r\n\t\t\t\tborderDash = gridLines.borderDash || [];\r\n\t\t\t\tborderDashOffset = gridLines.borderDashOffset || 0.0;\r\n\t\t\t}\r\n\r\n\t\t\tlineValue = getPixelForGridLine(me, tick._index || i, offsetGridLines);\r\n\r\n\t\t\t// Skip if the pixel is out of the range\r\n\t\t\tif (lineValue === undefined) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\talignedLineValue = alignPixel(chart, lineValue, lineWidth);\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\ttx1 = tx2 = x1 = x2 = alignedLineValue;\r\n\t\t\t} else {\r\n\t\t\t\tty1 = ty2 = y1 = y2 = alignedLineValue;\r\n\t\t\t}\r\n\r\n\t\t\titems.push({\r\n\t\t\t\ttx1: tx1,\r\n\t\t\t\tty1: ty1,\r\n\t\t\t\ttx2: tx2,\r\n\t\t\t\tty2: ty2,\r\n\t\t\t\tx1: x1,\r\n\t\t\t\ty1: y1,\r\n\t\t\t\tx2: x2,\r\n\t\t\t\ty2: y2,\r\n\t\t\t\twidth: lineWidth,\r\n\t\t\t\tcolor: lineColor,\r\n\t\t\t\tborderDash: borderDash,\r\n\t\t\t\tborderDashOffset: borderDashOffset,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\titems.ticksLength = ticksLength;\r\n\t\titems.borderValue = borderValue;\r\n\r\n\t\treturn items;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeLabelItems: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar optionTicks = options.ticks;\r\n\t\tvar position = options.position;\r\n\t\tvar isMirrored = optionTicks.mirror;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar ticks = me._ticksToDraw;\r\n\t\tvar fonts = parseTickFontOptions(optionTicks);\r\n\t\tvar tickPadding = optionTicks.padding;\r\n\t\tvar tl = getTickMarkLength(options.gridLines);\r\n\t\tvar rotation = -helpers$1.toRadians(me.labelRotation);\r\n\t\tvar items = [];\r\n\t\tvar i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset;\r\n\r\n\t\tif (position === 'top') {\r\n\t\t\ty = me.bottom - tl - tickPadding;\r\n\t\t\ttextAlign = !rotation ? 'center' : 'left';\r\n\t\t} else if (position === 'bottom') {\r\n\t\t\ty = me.top + tl + tickPadding;\r\n\t\t\ttextAlign = !rotation ? 'center' : 'right';\r\n\t\t} else if (position === 'left') {\r\n\t\t\tx = me.right - (isMirrored ? 0 : tl) - tickPadding;\r\n\t\t\ttextAlign = isMirrored ? 'left' : 'right';\r\n\t\t} else {\r\n\t\t\tx = me.left + (isMirrored ? 0 : tl) + tickPadding;\r\n\t\t\ttextAlign = isMirrored ? 'right' : 'left';\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\ttick = ticks[i];\r\n\t\t\tlabel = tick.label;\r\n\r\n\t\t\t// autoskipper skipped this tick (#4635)\r\n\t\t\tif (isNullOrUndef(label)) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpixel = me.getPixelForTick(tick._index || i) + optionTicks.labelOffset;\r\n\t\t\tfont = tick.major ? fonts.major : fonts.minor;\r\n\t\t\tlineHeight = font.lineHeight;\r\n\t\t\tlineCount = isArray(label) ? label.length : 1;\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tx = pixel;\r\n\t\t\t\ttextOffset = position === 'top'\r\n\t\t\t\t\t? ((!rotation ? 0.5 : 1) - lineCount) * lineHeight\r\n\t\t\t\t\t: (!rotation ? 0.5 : 0) * lineHeight;\r\n\t\t\t} else {\r\n\t\t\t\ty = pixel;\r\n\t\t\t\ttextOffset = (1 - lineCount) * lineHeight / 2;\r\n\t\t\t}\r\n\r\n\t\t\titems.push({\r\n\t\t\t\tx: x,\r\n\t\t\t\ty: y,\r\n\t\t\t\trotation: rotation,\r\n\t\t\t\tlabel: label,\r\n\t\t\t\tfont: font,\r\n\t\t\t\ttextOffset: textOffset,\r\n\t\t\t\ttextAlign: textAlign\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn items;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawGrid: function(chartArea) {\r\n\t\tvar me = this;\r\n\t\tvar gridLines = me.options.gridLines;\r\n\r\n\t\tif (!gridLines.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar chart = me.chart;\r\n\t\tvar alignPixel = helpers$1._alignPixel;\r\n\t\tvar axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\r\n\t\tvar items = me._gridLineItems || (me._gridLineItems = me._computeGridLineItems(chartArea));\r\n\t\tvar width, color, i, ilen, item;\r\n\r\n\t\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\t\titem = items[i];\r\n\t\t\twidth = item.width;\r\n\t\t\tcolor = item.color;\r\n\r\n\t\t\tif (width && color) {\r\n\t\t\t\tctx.save();\r\n\t\t\t\tctx.lineWidth = width;\r\n\t\t\t\tctx.strokeStyle = color;\r\n\t\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\t\tctx.setLineDash(item.borderDash);\r\n\t\t\t\t\tctx.lineDashOffset = item.borderDashOffset;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tctx.beginPath();\r\n\r\n\t\t\t\tif (gridLines.drawTicks) {\r\n\t\t\t\t\tctx.moveTo(item.tx1, item.ty1);\r\n\t\t\t\t\tctx.lineTo(item.tx2, item.ty2);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (gridLines.drawOnChartArea) {\r\n\t\t\t\t\tctx.moveTo(item.x1, item.y1);\r\n\t\t\t\t\tctx.lineTo(item.x2, item.y2);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tctx.stroke();\r\n\t\t\t\tctx.restore();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (axisWidth) {\r\n\t\t\t// Draw the line at the edge of the axis\r\n\t\t\tvar firstLineWidth = axisWidth;\r\n\t\t\tvar lastLineWidth = valueAtIndexOrDefault(gridLines.lineWidth, items.ticksLength - 1, 1);\r\n\t\t\tvar borderValue = items.borderValue;\r\n\t\t\tvar x1, x2, y1, y2;\r\n\r\n\t\t\tif (me.isHorizontal()) {\r\n\t\t\t\tx1 = alignPixel(chart, me.left, firstLineWidth) - firstLineWidth / 2;\r\n\t\t\t\tx2 = alignPixel(chart, me.right, lastLineWidth) + lastLineWidth / 2;\r\n\t\t\t\ty1 = y2 = borderValue;\r\n\t\t\t} else {\r\n\t\t\t\ty1 = alignPixel(chart, me.top, firstLineWidth) - firstLineWidth / 2;\r\n\t\t\t\ty2 = alignPixel(chart, me.bottom, lastLineWidth) + lastLineWidth / 2;\r\n\t\t\t\tx1 = x2 = borderValue;\r\n\t\t\t}\r\n\r\n\t\t\tctx.lineWidth = axisWidth;\r\n\t\t\tctx.strokeStyle = valueAtIndexOrDefault(gridLines.color, 0);\r\n\t\t\tctx.beginPath();\r\n\t\t\tctx.moveTo(x1, y1);\r\n\t\t\tctx.lineTo(x2, y2);\r\n\t\t\tctx.stroke();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar optionTicks = me.options.ticks;\r\n\r\n\t\tif (!optionTicks.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar items = me._labelItems || (me._labelItems = me._computeLabelItems());\r\n\t\tvar i, j, ilen, jlen, item, tickFont, label, y;\r\n\r\n\t\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\t\titem = items[i];\r\n\t\t\ttickFont = item.font;\r\n\r\n\t\t\t// Make sure we draw text in the correct color and font\r\n\t\t\tctx.save();\r\n\t\t\tctx.translate(item.x, item.y);\r\n\t\t\tctx.rotate(item.rotation);\r\n\t\t\tctx.font = tickFont.string;\r\n\t\t\tctx.fillStyle = tickFont.color;\r\n\t\t\tctx.textBaseline = 'middle';\r\n\t\t\tctx.textAlign = item.textAlign;\r\n\r\n\t\t\tlabel = item.label;\r\n\t\t\ty = item.textOffset;\r\n\t\t\tif (isArray(label)) {\r\n\t\t\t\tfor (j = 0, jlen = label.length; j < jlen; ++j) {\r\n\t\t\t\t\t// We just make sure the multiline element is a string here..\r\n\t\t\t\t\tctx.fillText('' + label[j], 0, y);\r\n\t\t\t\t\ty += tickFont.lineHeight;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tctx.fillText(label, 0, y);\r\n\t\t\t}\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawTitle: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar options = me.options;\r\n\t\tvar scaleLabel = options.scaleLabel;\r\n\r\n\t\tif (!scaleLabel.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar scaleLabelFontColor = valueOrDefault$a(scaleLabel.fontColor, core_defaults.global.defaultFontColor);\r\n\t\tvar scaleLabelFont = helpers$1.options._parseFont(scaleLabel);\r\n\t\tvar scaleLabelPadding = helpers$1.options.toPadding(scaleLabel.padding);\r\n\t\tvar halfLineHeight = scaleLabelFont.lineHeight / 2;\r\n\t\tvar position = options.position;\r\n\t\tvar rotation = 0;\r\n\t\tvar scaleLabelX, scaleLabelY;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\tscaleLabelX = me.left + me.width / 2; // midpoint of the width\r\n\t\t\tscaleLabelY = position === 'bottom'\r\n\t\t\t\t? me.bottom - halfLineHeight - scaleLabelPadding.bottom\r\n\t\t\t\t: me.top + halfLineHeight + scaleLabelPadding.top;\r\n\t\t} else {\r\n\t\t\tvar isLeft = position === 'left';\r\n\t\t\tscaleLabelX = isLeft\r\n\t\t\t\t? me.left + halfLineHeight + scaleLabelPadding.top\r\n\t\t\t\t: me.right - halfLineHeight - scaleLabelPadding.top;\r\n\t\t\tscaleLabelY = me.top + me.height / 2;\r\n\t\t\trotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.translate(scaleLabelX, scaleLabelY);\r\n\t\tctx.rotate(rotation);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.fillStyle = scaleLabelFontColor; // render in correct colour\r\n\t\tctx.font = scaleLabelFont.string;\r\n\t\tctx.fillText(scaleLabel.labelString, 0, 0);\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\tdraw: function(chartArea) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (!me._isVisible()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme._drawGrid(chartArea);\r\n\t\tme._drawTitle();\r\n\t\tme._drawLabels();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_layers: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tz = opts.ticks && opts.ticks.z || 0;\r\n\t\tvar gz = opts.gridLines && opts.gridLines.z || 0;\r\n\r\n\t\tif (!me._isVisible() || tz === gz || me.draw !== me._draw) {\r\n\t\t\t// backward compatibility: draw has been overridden by custom scale\r\n\t\t\treturn [{\r\n\t\t\t\tz: tz,\r\n\t\t\t\tdraw: function() {\r\n\t\t\t\t\tme.draw.apply(me, arguments);\r\n\t\t\t\t}\r\n\t\t\t}];\r\n\t\t}\r\n\r\n\t\treturn [{\r\n\t\t\tz: gz,\r\n\t\t\tdraw: function() {\r\n\t\t\t\tme._drawGrid.apply(me, arguments);\r\n\t\t\t\tme._drawTitle.apply(me, arguments);\r\n\t\t\t}\r\n\t\t}, {\r\n\t\t\tz: tz,\r\n\t\t\tdraw: function() {\r\n\t\t\t\tme._drawLabels.apply(me, arguments);\r\n\t\t\t}\r\n\t\t}];\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getMatchingVisibleMetas: function(type) {\r\n\t\tvar me = this;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\treturn me.chart._getSortedVisibleDatasetMetas()\r\n\t\t\t.filter(function(meta) {\r\n\t\t\t\treturn (!type || meta.type === type)\r\n\t\t\t\t\t&& (isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id);\r\n\t\t\t});\r\n\t}\r\n});\r\n\r\nScale.prototype._draw = Scale.prototype.draw;\r\n\r\nvar core_scale = Scale;\n\nvar isNullOrUndef$1 = helpers$1.isNullOrUndef;\r\n\r\nvar defaultConfig = {\r\n\tposition: 'bottom'\r\n};\r\n\r\nvar scale_category = core_scale.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar labels = me._getLabels();\r\n\t\tvar ticksOpts = me.options.ticks;\r\n\t\tvar min = ticksOpts.min;\r\n\t\tvar max = ticksOpts.max;\r\n\t\tvar minIndex = 0;\r\n\t\tvar maxIndex = labels.length - 1;\r\n\t\tvar findIndex;\r\n\r\n\t\tif (min !== undefined) {\r\n\t\t\t// user specified min value\r\n\t\t\tfindIndex = labels.indexOf(min);\r\n\t\t\tif (findIndex >= 0) {\r\n\t\t\t\tminIndex = findIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (max !== undefined) {\r\n\t\t\t// user specified max value\r\n\t\t\tfindIndex = labels.indexOf(max);\r\n\t\t\tif (findIndex >= 0) {\r\n\t\t\t\tmaxIndex = findIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.minIndex = minIndex;\r\n\t\tme.maxIndex = maxIndex;\r\n\t\tme.min = labels[minIndex];\r\n\t\tme.max = labels[maxIndex];\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar labels = me._getLabels();\r\n\t\tvar minIndex = me.minIndex;\r\n\t\tvar maxIndex = me.maxIndex;\r\n\r\n\t\t// If we are viewing some subset of labels, slice the original array\r\n\t\tme.ticks = (minIndex === 0 && maxIndex === labels.length - 1) ? labels : labels.slice(minIndex, maxIndex + 1);\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\r\n\t\tif (chart.getDatasetMeta(datasetIndex).controller._getValueScaleId() === me.id) {\r\n\t\t\treturn me.getRightValue(chart.data.datasets[datasetIndex].data[index]);\r\n\t\t}\r\n\r\n\t\treturn me._getLabels()[index];\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar offset = me.options.offset;\r\n\t\tvar ticks = me.ticks;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (!me.isHorizontal()) {\r\n\t\t\t// For backward compatibility, vertical category scale reverse is inverted.\r\n\t\t\tme._reversePixels = !me._reversePixels;\r\n\t\t}\r\n\r\n\t\tif (!ticks) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme._startValue = me.minIndex - (offset ? 0.5 : 0);\r\n\t\tme._valueRange = Math.max(ticks.length - (offset ? 0 : 1), 1);\r\n\t},\r\n\r\n\t// Used to get data value locations.  Value can either be an index or a numerical value\r\n\tgetPixelForValue: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar valueCategory, labels, idx;\r\n\r\n\t\tif (!isNullOrUndef$1(index) && !isNullOrUndef$1(datasetIndex)) {\r\n\t\t\tvalue = me.chart.data.datasets[datasetIndex].data[index];\r\n\t\t}\r\n\r\n\t\t// If value is a data object, then index is the index in the data array,\r\n\t\t// not the index of the scale. We need to change that.\r\n\t\tif (!isNullOrUndef$1(value)) {\r\n\t\t\tvalueCategory = me.isHorizontal() ? value.x : value.y;\r\n\t\t}\r\n\t\tif (valueCategory !== undefined || (value !== undefined && isNaN(index))) {\r\n\t\t\tlabels = me._getLabels();\r\n\t\t\tvalue = helpers$1.valueOrDefault(valueCategory, value);\r\n\t\t\tidx = labels.indexOf(value);\r\n\t\t\tindex = idx !== -1 ? idx : index;\r\n\t\t\tif (isNaN(index)) {\r\n\t\t\t\tindex = value;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn me.getPixelForDecimal((index - me._startValue) / me._valueRange);\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.ticks;\r\n\t\treturn index < 0 || index > ticks.length - 1\r\n\t\t\t? null\r\n\t\t\t: this.getPixelForValue(ticks[index], index + this.minIndex);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar value = Math.round(me._startValue + me.getDecimalForPixel(pixel) * me._valueRange);\r\n\t\treturn Math.min(Math.max(value, 0), me.ticks.length - 1);\r\n\t},\r\n\r\n\tgetBasePixel: function() {\r\n\t\treturn this.bottom;\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults = defaultConfig;\nscale_category._defaults = _defaults;\n\nvar noop = helpers$1.noop;\r\nvar isNullOrUndef$2 = helpers$1.isNullOrUndef;\r\n\r\n/**\r\n * Generate a set of linear ticks\r\n * @param generationOptions the options used to generate the ticks\r\n * @param dataRange the range of the data\r\n * @returns {number[]} array of tick values\r\n */\r\nfunction generateTicks(generationOptions, dataRange) {\r\n\tvar ticks = [];\r\n\t// To get a \"nice\" value for the tick spacing, we will use the appropriately named\r\n\t// \"nice number\" algorithm. See https://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks\r\n\t// for details.\r\n\r\n\tvar MIN_SPACING = 1e-14;\r\n\tvar stepSize = generationOptions.stepSize;\r\n\tvar unit = stepSize || 1;\r\n\tvar maxNumSpaces = generationOptions.maxTicks - 1;\r\n\tvar min = generationOptions.min;\r\n\tvar max = generationOptions.max;\r\n\tvar precision = generationOptions.precision;\r\n\tvar rmin = dataRange.min;\r\n\tvar rmax = dataRange.max;\r\n\tvar spacing = helpers$1.niceNum((rmax - rmin) / maxNumSpaces / unit) * unit;\r\n\tvar factor, niceMin, niceMax, numSpaces;\r\n\r\n\t// Beyond MIN_SPACING floating point numbers being to lose precision\r\n\t// such that we can't do the math necessary to generate ticks\r\n\tif (spacing < MIN_SPACING && isNullOrUndef$2(min) && isNullOrUndef$2(max)) {\r\n\t\treturn [rmin, rmax];\r\n\t}\r\n\r\n\tnumSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing);\r\n\tif (numSpaces > maxNumSpaces) {\r\n\t\t// If the calculated num of spaces exceeds maxNumSpaces, recalculate it\r\n\t\tspacing = helpers$1.niceNum(numSpaces * spacing / maxNumSpaces / unit) * unit;\r\n\t}\r\n\r\n\tif (stepSize || isNullOrUndef$2(precision)) {\r\n\t\t// If a precision is not specified, calculate factor based on spacing\r\n\t\tfactor = Math.pow(10, helpers$1._decimalPlaces(spacing));\r\n\t} else {\r\n\t\t// If the user specified a precision, round to that number of decimal places\r\n\t\tfactor = Math.pow(10, precision);\r\n\t\tspacing = Math.ceil(spacing * factor) / factor;\r\n\t}\r\n\r\n\tniceMin = Math.floor(rmin / spacing) * spacing;\r\n\tniceMax = Math.ceil(rmax / spacing) * spacing;\r\n\r\n\t// If min, max and stepSize is set and they make an evenly spaced scale use it.\r\n\tif (stepSize) {\r\n\t\t// If very close to our whole number, use it.\r\n\t\tif (!isNullOrUndef$2(min) && helpers$1.almostWhole(min / spacing, spacing / 1000)) {\r\n\t\t\tniceMin = min;\r\n\t\t}\r\n\t\tif (!isNullOrUndef$2(max) && helpers$1.almostWhole(max / spacing, spacing / 1000)) {\r\n\t\t\tniceMax = max;\r\n\t\t}\r\n\t}\r\n\r\n\tnumSpaces = (niceMax - niceMin) / spacing;\r\n\t// If very close to our rounded value, use it.\r\n\tif (helpers$1.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\r\n\t\tnumSpaces = Math.round(numSpaces);\r\n\t} else {\r\n\t\tnumSpaces = Math.ceil(numSpaces);\r\n\t}\r\n\r\n\tniceMin = Math.round(niceMin * factor) / factor;\r\n\tniceMax = Math.round(niceMax * factor) / factor;\r\n\tticks.push(isNullOrUndef$2(min) ? niceMin : min);\r\n\tfor (var j = 1; j < numSpaces; ++j) {\r\n\t\tticks.push(Math.round((niceMin + j * spacing) * factor) / factor);\r\n\t}\r\n\tticks.push(isNullOrUndef$2(max) ? niceMax : max);\r\n\r\n\treturn ticks;\r\n}\r\n\r\nvar scale_linearbase = core_scale.extend({\r\n\tgetRightValue: function(value) {\r\n\t\tif (typeof value === 'string') {\r\n\t\t\treturn +value;\r\n\t\t}\r\n\t\treturn core_scale.prototype.getRightValue.call(this, value);\r\n\t},\r\n\r\n\thandleTickRangeOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\t// If we are forcing it to begin at 0, but 0 will already be rendered on the chart,\r\n\t\t// do nothing since that would make the chart weird. If the user really wants a weird chart\r\n\t\t// axis, they can manually override it\r\n\t\tif (tickOpts.beginAtZero) {\r\n\t\t\tvar minSign = helpers$1.sign(me.min);\r\n\t\t\tvar maxSign = helpers$1.sign(me.max);\r\n\r\n\t\t\tif (minSign < 0 && maxSign < 0) {\r\n\t\t\t\t// move the top up to 0\r\n\t\t\t\tme.max = 0;\r\n\t\t\t} else if (minSign > 0 && maxSign > 0) {\r\n\t\t\t\t// move the bottom down to 0\r\n\t\t\t\tme.min = 0;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar setMin = tickOpts.min !== undefined || tickOpts.suggestedMin !== undefined;\r\n\t\tvar setMax = tickOpts.max !== undefined || tickOpts.suggestedMax !== undefined;\r\n\r\n\t\tif (tickOpts.min !== undefined) {\r\n\t\t\tme.min = tickOpts.min;\r\n\t\t} else if (tickOpts.suggestedMin !== undefined) {\r\n\t\t\tif (me.min === null) {\r\n\t\t\t\tme.min = tickOpts.suggestedMin;\r\n\t\t\t} else {\r\n\t\t\t\tme.min = Math.min(me.min, tickOpts.suggestedMin);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (tickOpts.max !== undefined) {\r\n\t\t\tme.max = tickOpts.max;\r\n\t\t} else if (tickOpts.suggestedMax !== undefined) {\r\n\t\t\tif (me.max === null) {\r\n\t\t\t\tme.max = tickOpts.suggestedMax;\r\n\t\t\t} else {\r\n\t\t\t\tme.max = Math.max(me.max, tickOpts.suggestedMax);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (setMin !== setMax) {\r\n\t\t\t// We set the min or the max but not both.\r\n\t\t\t// So ensure that our range is good\r\n\t\t\t// Inverted or 0 length range can happen when\r\n\t\t\t// ticks.min is set, and no datasets are visible\r\n\t\t\tif (me.min >= me.max) {\r\n\t\t\t\tif (setMin) {\r\n\t\t\t\t\tme.max = me.min + 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tme.min = me.max - 1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (me.min === me.max) {\r\n\t\t\tme.max++;\r\n\r\n\t\t\tif (!tickOpts.beginAtZero) {\r\n\t\t\t\tme.min--;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tgetTickLimit: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar stepSize = tickOpts.stepSize;\r\n\t\tvar maxTicksLimit = tickOpts.maxTicksLimit;\r\n\t\tvar maxTicks;\r\n\r\n\t\tif (stepSize) {\r\n\t\t\tmaxTicks = Math.ceil(me.max / stepSize) - Math.floor(me.min / stepSize) + 1;\r\n\t\t} else {\r\n\t\t\tmaxTicks = me._computeTickLimit();\r\n\t\t\tmaxTicksLimit = maxTicksLimit || 11;\r\n\t\t}\r\n\r\n\t\tif (maxTicksLimit) {\r\n\t\t\tmaxTicks = Math.min(maxTicksLimit, maxTicks);\r\n\t\t}\r\n\r\n\t\treturn maxTicks;\r\n\t},\r\n\r\n\t_computeTickLimit: function() {\r\n\t\treturn Number.POSITIVE_INFINITY;\r\n\t},\r\n\r\n\thandleDirectionalChanges: noop,\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\t// Figure out what the max number of ticks we can support it is based on the size of\r\n\t\t// the axis area. For now, we say that the minimum tick spacing in pixels must be 40\r\n\t\t// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on\r\n\t\t// the graph. Make sure we always have at least 2 ticks\r\n\t\tvar maxTicks = me.getTickLimit();\r\n\t\tmaxTicks = Math.max(2, maxTicks);\r\n\r\n\t\tvar numericGeneratorOptions = {\r\n\t\t\tmaxTicks: maxTicks,\r\n\t\t\tmin: tickOpts.min,\r\n\t\t\tmax: tickOpts.max,\r\n\t\t\tprecision: tickOpts.precision,\r\n\t\t\tstepSize: helpers$1.valueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)\r\n\t\t};\r\n\t\tvar ticks = me.ticks = generateTicks(numericGeneratorOptions, me);\r\n\r\n\t\tme.handleDirectionalChanges();\r\n\r\n\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\r\n\t\t// range of the scale\r\n\t\tme.max = helpers$1.max(ticks);\r\n\t\tme.min = helpers$1.min(ticks);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\tticks.reverse();\r\n\r\n\t\t\tme.start = me.max;\r\n\t\t\tme.end = me.min;\r\n\t\t} else {\r\n\t\t\tme.start = me.min;\r\n\t\t\tme.end = me.max;\r\n\t\t}\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\t\tme.ticksAsNumbers = me.ticks.slice();\r\n\t\tme.zeroLineIndex = me.ticks.indexOf(0);\r\n\r\n\t\tcore_scale.prototype.convertTicksToLabels.call(me);\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar ticks = me.getTicks();\r\n\t\tvar start = me.min;\r\n\t\tvar end = me.max;\r\n\t\tvar offset;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (me.options.offset && ticks.length) {\r\n\t\t\toffset = (end - start) / Math.max(ticks.length - 1, 1) / 2;\r\n\t\t\tstart -= offset;\r\n\t\t\tend += offset;\r\n\t\t}\r\n\t\tme._startValue = start;\r\n\t\tme._endValue = end;\r\n\t\tme._valueRange = end - start;\r\n\t}\r\n});\n\nvar defaultConfig$1 = {\r\n\tposition: 'left',\r\n\tticks: {\r\n\t\tcallback: core_ticks.formatters.linear\r\n\t}\r\n};\r\n\r\nvar DEFAULT_MIN = 0;\r\nvar DEFAULT_MAX = 1;\r\n\r\nfunction getOrCreateStack(stacks, stacked, meta) {\r\n\tvar key = [\r\n\t\tmeta.type,\r\n\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\r\n\t\tstacked === undefined && meta.stack === undefined ? meta.index : '',\r\n\t\tmeta.stack\r\n\t].join('.');\r\n\r\n\tif (stacks[key] === undefined) {\r\n\t\tstacks[key] = {\r\n\t\t\tpos: [],\r\n\t\t\tneg: []\r\n\t\t};\r\n\t}\r\n\r\n\treturn stacks[key];\r\n}\r\n\r\nfunction stackData(scale, stacks, meta, data) {\r\n\tvar opts = scale.options;\r\n\tvar stacked = opts.stacked;\r\n\tvar stack = getOrCreateStack(stacks, stacked, meta);\r\n\tvar pos = stack.pos;\r\n\tvar neg = stack.neg;\r\n\tvar ilen = data.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = scale._parseValue(data[i]);\r\n\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tpos[i] = pos[i] || 0;\r\n\t\tneg[i] = neg[i] || 0;\r\n\r\n\t\tif (opts.relativePoints) {\r\n\t\t\tpos[i] = 100;\r\n\t\t} else if (value.min < 0 || value.max < 0) {\r\n\t\t\tneg[i] += value.min;\r\n\t\t} else {\r\n\t\t\tpos[i] += value.max;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction updateMinMax(scale, meta, data) {\r\n\tvar ilen = data.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = scale._parseValue(data[i]);\r\n\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tscale.min = Math.min(scale.min, value.min);\r\n\t\tscale.max = Math.max(scale.max, value.max);\r\n\t}\r\n}\r\n\r\nvar scale_linear = scale_linearbase.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar metasets = me._getMatchingVisibleMetas();\r\n\t\tvar hasStacks = opts.stacked;\r\n\t\tvar stacks = {};\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar i, meta, data, values;\r\n\r\n\t\tme.min = Number.POSITIVE_INFINITY;\r\n\t\tme.max = Number.NEGATIVE_INFINITY;\r\n\r\n\t\tif (hasStacks === undefined) {\r\n\t\t\tfor (i = 0; !hasStacks && i < ilen; ++i) {\r\n\t\t\t\tmeta = metasets[i];\r\n\t\t\t\thasStacks = meta.stack !== undefined;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tmeta = metasets[i];\r\n\t\t\tdata = datasets[meta.index].data;\r\n\t\t\tif (hasStacks) {\r\n\t\t\t\tstackData(me, stacks, meta, data);\r\n\t\t\t} else {\r\n\t\t\t\tupdateMinMax(me, meta, data);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\thelpers$1.each(stacks, function(stackValues) {\r\n\t\t\tvalues = stackValues.pos.concat(stackValues.neg);\r\n\t\t\tme.min = Math.min(me.min, helpers$1.min(values));\r\n\t\t\tme.max = Math.max(me.max, helpers$1.max(values));\r\n\t\t});\r\n\r\n\t\tme.min = helpers$1.isFinite(me.min) && !isNaN(me.min) ? me.min : DEFAULT_MIN;\r\n\t\tme.max = helpers$1.isFinite(me.max) && !isNaN(me.max) ? me.max : DEFAULT_MAX;\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\r\n\t\tme.handleTickRangeOptions();\r\n\t},\r\n\r\n\t// Returns the maximum number of ticks based on the scale dimension\r\n\t_computeTickLimit: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickFont;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\treturn Math.ceil(me.width / 40);\r\n\t\t}\r\n\t\ttickFont = helpers$1.options._parseFont(me.options.ticks);\r\n\t\treturn Math.ceil(me.height / tickFont.lineHeight);\r\n\t},\r\n\r\n\t// Called after the ticks are built. We need\r\n\thandleDirectionalChanges: function() {\r\n\t\tif (!this.isHorizontal()) {\r\n\t\t\t// We are in a vertical orientation. The top value is the highest. So reverse the array\r\n\t\t\tthis.ticks.reverse();\r\n\t\t}\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\t// Utils\r\n\tgetPixelForValue: function(value) {\r\n\t\tvar me = this;\r\n\t\treturn me.getPixelForDecimal((+me.getRightValue(value) - me._startValue) / me._valueRange);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\treturn this._startValue + this.getDecimalForPixel(pixel) * this._valueRange;\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.ticksAsNumbers;\r\n\t\tif (index < 0 || index > ticks.length - 1) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn this.getPixelForValue(ticks[index]);\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$1 = defaultConfig$1;\nscale_linear._defaults = _defaults$1;\n\nvar valueOrDefault$b = helpers$1.valueOrDefault;\r\nvar log10 = helpers$1.math.log10;\r\n\r\n/**\r\n * Generate a set of logarithmic ticks\r\n * @param generationOptions the options used to generate the ticks\r\n * @param dataRange the range of the data\r\n * @returns {number[]} array of tick values\r\n */\r\nfunction generateTicks$1(generationOptions, dataRange) {\r\n\tvar ticks = [];\r\n\r\n\tvar tickVal = valueOrDefault$b(generationOptions.min, Math.pow(10, Math.floor(log10(dataRange.min))));\r\n\r\n\tvar endExp = Math.floor(log10(dataRange.max));\r\n\tvar endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\r\n\tvar exp, significand;\r\n\r\n\tif (tickVal === 0) {\r\n\t\texp = Math.floor(log10(dataRange.minNotZero));\r\n\t\tsignificand = Math.floor(dataRange.minNotZero / Math.pow(10, exp));\r\n\r\n\t\tticks.push(tickVal);\r\n\t\ttickVal = significand * Math.pow(10, exp);\r\n\t} else {\r\n\t\texp = Math.floor(log10(tickVal));\r\n\t\tsignificand = Math.floor(tickVal / Math.pow(10, exp));\r\n\t}\r\n\tvar precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1;\r\n\r\n\tdo {\r\n\t\tticks.push(tickVal);\r\n\r\n\t\t++significand;\r\n\t\tif (significand === 10) {\r\n\t\t\tsignificand = 1;\r\n\t\t\t++exp;\r\n\t\t\tprecision = exp >= 0 ? 1 : precision;\r\n\t\t}\r\n\r\n\t\ttickVal = Math.round(significand * Math.pow(10, exp) * precision) / precision;\r\n\t} while (exp < endExp || (exp === endExp && significand < endSignificand));\r\n\r\n\tvar lastTick = valueOrDefault$b(generationOptions.max, tickVal);\r\n\tticks.push(lastTick);\r\n\r\n\treturn ticks;\r\n}\r\n\r\nvar defaultConfig$2 = {\r\n\tposition: 'left',\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\tcallback: core_ticks.formatters.logarithmic\r\n\t}\r\n};\r\n\r\n// TODO(v3): change this to positiveOrDefault\r\nfunction nonNegativeOrDefault(value, defaultValue) {\r\n\treturn helpers$1.isFinite(value) && value >= 0 ? value : defaultValue;\r\n}\r\n\r\nvar scale_logarithmic = core_scale.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tfunction IDMatches(meta) {\r\n\t\t\treturn isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;\r\n\t\t}\r\n\t\tvar datasetIndex, meta, value, data, i, ilen;\r\n\r\n\t\t// Calculate Range\r\n\t\tme.min = Number.POSITIVE_INFINITY;\r\n\t\tme.max = Number.NEGATIVE_INFINITY;\r\n\t\tme.minNotZero = Number.POSITIVE_INFINITY;\r\n\r\n\t\tvar hasStacks = opts.stacked;\r\n\t\tif (hasStacks === undefined) {\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&\r\n\t\t\t\t\tmeta.stack !== undefined) {\r\n\t\t\t\t\thasStacks = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (opts.stacked || hasStacks) {\r\n\t\t\tvar valuesPerStack = {};\r\n\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tvar key = [\r\n\t\t\t\t\tmeta.type,\r\n\t\t\t\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\r\n\t\t\t\t\t((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),\r\n\t\t\t\t\tmeta.stack\r\n\t\t\t\t].join('.');\r\n\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\r\n\t\t\t\t\tif (valuesPerStack[key] === undefined) {\r\n\t\t\t\t\t\tvaluesPerStack[key] = [];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tdata = datasets[datasetIndex].data;\r\n\t\t\t\t\tfor (i = 0, ilen = data.length; i < ilen; i++) {\r\n\t\t\t\t\t\tvar values = valuesPerStack[key];\r\n\t\t\t\t\t\tvalue = me._parseValue(data[i]);\r\n\t\t\t\t\t\t// invalid, hidden and negative values are ignored\r\n\t\t\t\t\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvalues[i] = values[i] || 0;\r\n\t\t\t\t\t\tvalues[i] += value.max;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\thelpers$1.each(valuesPerStack, function(valuesForType) {\r\n\t\t\t\tif (valuesForType.length > 0) {\r\n\t\t\t\t\tvar minVal = helpers$1.min(valuesForType);\r\n\t\t\t\t\tvar maxVal = helpers$1.max(valuesForType);\r\n\t\t\t\t\tme.min = Math.min(me.min, minVal);\r\n\t\t\t\t\tme.max = Math.max(me.max, maxVal);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t} else {\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\r\n\t\t\t\t\tdata = datasets[datasetIndex].data;\r\n\t\t\t\t\tfor (i = 0, ilen = data.length; i < ilen; i++) {\r\n\t\t\t\t\t\tvalue = me._parseValue(data[i]);\r\n\t\t\t\t\t\t// invalid, hidden and negative values are ignored\r\n\t\t\t\t\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tme.min = Math.min(value.min, me.min);\r\n\t\t\t\t\t\tme.max = Math.max(value.max, me.max);\r\n\r\n\t\t\t\t\t\tif (value.min !== 0) {\r\n\t\t\t\t\t\t\tme.minNotZero = Math.min(value.min, me.minNotZero);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.min = helpers$1.isFinite(me.min) ? me.min : null;\r\n\t\tme.max = helpers$1.isFinite(me.max) ? me.max : null;\r\n\t\tme.minNotZero = helpers$1.isFinite(me.minNotZero) ? me.minNotZero : null;\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max\r\n\t\tthis.handleTickRangeOptions();\r\n\t},\r\n\r\n\thandleTickRangeOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar DEFAULT_MIN = 1;\r\n\t\tvar DEFAULT_MAX = 10;\r\n\r\n\t\tme.min = nonNegativeOrDefault(tickOpts.min, me.min);\r\n\t\tme.max = nonNegativeOrDefault(tickOpts.max, me.max);\r\n\r\n\t\tif (me.min === me.max) {\r\n\t\t\tif (me.min !== 0 && me.min !== null) {\r\n\t\t\t\tme.min = Math.pow(10, Math.floor(log10(me.min)) - 1);\r\n\t\t\t\tme.max = Math.pow(10, Math.floor(log10(me.max)) + 1);\r\n\t\t\t} else {\r\n\t\t\t\tme.min = DEFAULT_MIN;\r\n\t\t\t\tme.max = DEFAULT_MAX;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (me.min === null) {\r\n\t\t\tme.min = Math.pow(10, Math.floor(log10(me.max)) - 1);\r\n\t\t}\r\n\t\tif (me.max === null) {\r\n\t\t\tme.max = me.min !== 0\r\n\t\t\t\t? Math.pow(10, Math.floor(log10(me.min)) + 1)\r\n\t\t\t\t: DEFAULT_MAX;\r\n\t\t}\r\n\t\tif (me.minNotZero === null) {\r\n\t\t\tif (me.min > 0) {\r\n\t\t\t\tme.minNotZero = me.min;\r\n\t\t\t} else if (me.max < 1) {\r\n\t\t\t\tme.minNotZero = Math.pow(10, Math.floor(log10(me.max)));\r\n\t\t\t} else {\r\n\t\t\t\tme.minNotZero = DEFAULT_MIN;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar reverse = !me.isHorizontal();\r\n\r\n\t\tvar generationOptions = {\r\n\t\t\tmin: nonNegativeOrDefault(tickOpts.min),\r\n\t\t\tmax: nonNegativeOrDefault(tickOpts.max)\r\n\t\t};\r\n\t\tvar ticks = me.ticks = generateTicks$1(generationOptions, me);\r\n\r\n\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\r\n\t\t// range of the scale\r\n\t\tme.max = helpers$1.max(ticks);\r\n\t\tme.min = helpers$1.min(ticks);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\treverse = !reverse;\r\n\t\t\tme.start = me.max;\r\n\t\t\tme.end = me.min;\r\n\t\t} else {\r\n\t\t\tme.start = me.min;\r\n\t\t\tme.end = me.max;\r\n\t\t}\r\n\t\tif (reverse) {\r\n\t\t\tticks.reverse();\r\n\t\t}\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tthis.tickValues = this.ticks.slice();\r\n\r\n\t\tcore_scale.prototype.convertTicksToLabels.call(this);\r\n\t},\r\n\r\n\t// Get the correct tooltip label\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.tickValues;\r\n\t\tif (index < 0 || index > ticks.length - 1) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn this.getPixelForValue(ticks[index]);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the value of the first tick.\r\n\t * @param {number} value - The minimum not zero value.\r\n\t * @return {number} The first tick value.\r\n\t * @private\r\n\t */\r\n\t_getFirstTickValue: function(value) {\r\n\t\tvar exp = Math.floor(log10(value));\r\n\t\tvar significand = Math.floor(value / Math.pow(10, exp));\r\n\r\n\t\treturn significand * Math.pow(10, exp);\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar start = me.min;\r\n\t\tvar offset = 0;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (start === 0) {\r\n\t\t\tstart = me._getFirstTickValue(me.minNotZero);\r\n\t\t\toffset = valueOrDefault$b(me.options.ticks.fontSize, core_defaults.global.defaultFontSize) / me._length;\r\n\t\t}\r\n\r\n\t\tme._startValue = log10(start);\r\n\t\tme._valueOffset = offset;\r\n\t\tme._valueRange = (log10(me.max) - log10(start)) / (1 - offset);\r\n\t},\r\n\r\n\tgetPixelForValue: function(value) {\r\n\t\tvar me = this;\r\n\t\tvar decimal = 0;\r\n\r\n\t\tvalue = +me.getRightValue(value);\r\n\r\n\t\tif (value > me.min && value > 0) {\r\n\t\t\tdecimal = (log10(value) - me._startValue) / me._valueRange + me._valueOffset;\r\n\t\t}\r\n\t\treturn me.getPixelForDecimal(decimal);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar decimal = me.getDecimalForPixel(pixel);\r\n\t\treturn decimal === 0 && me.min === 0\r\n\t\t\t? 0\r\n\t\t\t: Math.pow(10, me._startValue + (decimal - me._valueOffset) * me._valueRange);\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$2 = defaultConfig$2;\nscale_logarithmic._defaults = _defaults$2;\n\nvar valueOrDefault$c = helpers$1.valueOrDefault;\r\nvar valueAtIndexOrDefault$1 = helpers$1.valueAtIndexOrDefault;\r\nvar resolve$4 = helpers$1.options.resolve;\r\n\r\nvar defaultConfig$3 = {\r\n\tdisplay: true,\r\n\r\n\t// Boolean - Whether to animate scaling the chart from the centre\r\n\tanimate: true,\r\n\tposition: 'chartArea',\r\n\r\n\tangleLines: {\r\n\t\tdisplay: true,\r\n\t\tcolor: 'rgba(0,0,0,0.1)',\r\n\t\tlineWidth: 1,\r\n\t\tborderDash: [],\r\n\t\tborderDashOffset: 0.0\r\n\t},\r\n\r\n\tgridLines: {\r\n\t\tcircular: false\r\n\t},\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\t// Boolean - Show a backdrop to the scale label\r\n\t\tshowLabelBackdrop: true,\r\n\r\n\t\t// String - The colour of the label backdrop\r\n\t\tbackdropColor: 'rgba(255,255,255,0.75)',\r\n\r\n\t\t// Number - The backdrop padding above & below the label in pixels\r\n\t\tbackdropPaddingY: 2,\r\n\r\n\t\t// Number - The backdrop padding to the side of the label in pixels\r\n\t\tbackdropPaddingX: 2,\r\n\r\n\t\tcallback: core_ticks.formatters.linear\r\n\t},\r\n\r\n\tpointLabels: {\r\n\t\t// Boolean - if true, show point labels\r\n\t\tdisplay: true,\r\n\r\n\t\t// Number - Point label font size in pixels\r\n\t\tfontSize: 10,\r\n\r\n\t\t// Function - Used to convert point labels\r\n\t\tcallback: function(label) {\r\n\t\t\treturn label;\r\n\t\t}\r\n\t}\r\n};\r\n\r\nfunction getTickBackdropHeight(opts) {\r\n\tvar tickOpts = opts.ticks;\r\n\r\n\tif (tickOpts.display && opts.display) {\r\n\t\treturn valueOrDefault$c(tickOpts.fontSize, core_defaults.global.defaultFontSize) + tickOpts.backdropPaddingY * 2;\r\n\t}\r\n\treturn 0;\r\n}\r\n\r\nfunction measureLabelSize(ctx, lineHeight, label) {\r\n\tif (helpers$1.isArray(label)) {\r\n\t\treturn {\r\n\t\t\tw: helpers$1.longestText(ctx, ctx.font, label),\r\n\t\t\th: label.length * lineHeight\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tw: ctx.measureText(label).width,\r\n\t\th: lineHeight\r\n\t};\r\n}\r\n\r\nfunction determineLimits(angle, pos, size, min, max) {\r\n\tif (angle === min || angle === max) {\r\n\t\treturn {\r\n\t\t\tstart: pos - (size / 2),\r\n\t\t\tend: pos + (size / 2)\r\n\t\t};\r\n\t} else if (angle < min || angle > max) {\r\n\t\treturn {\r\n\t\t\tstart: pos - size,\r\n\t\t\tend: pos\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tstart: pos,\r\n\t\tend: pos + size\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper function to fit a radial linear scale with point labels\r\n */\r\nfunction fitWithPointLabels(scale) {\r\n\r\n\t// Right, this is really confusing and there is a lot of maths going on here\r\n\t// The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9\r\n\t//\r\n\t// Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif\r\n\t//\r\n\t// Solution:\r\n\t//\r\n\t// We assume the radius of the polygon is half the size of the canvas at first\r\n\t// at each index we check if the text overlaps.\r\n\t//\r\n\t// Where it does, we store that angle and that index.\r\n\t//\r\n\t// After finding the largest index and angle we calculate how much we need to remove\r\n\t// from the shape radius to move the point inwards by that x.\r\n\t//\r\n\t// We average the left and right distances to get the maximum shape radius that can fit in the box\r\n\t// along with labels.\r\n\t//\r\n\t// Once we have that, we can find the centre point for the chart, by taking the x text protrusion\r\n\t// on each side, removing that from the size, halving it and adding the left x protrusion width.\r\n\t//\r\n\t// This will mean we have a shape fitted to the canvas, as large as it can be with the labels\r\n\t// and position it in the most space efficient manner\r\n\t//\r\n\t// https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif\r\n\r\n\tvar plFont = helpers$1.options._parseFont(scale.options.pointLabels);\r\n\r\n\t// Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.\r\n\t// Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points\r\n\tvar furthestLimits = {\r\n\t\tl: 0,\r\n\t\tr: scale.width,\r\n\t\tt: 0,\r\n\t\tb: scale.height - scale.paddingTop\r\n\t};\r\n\tvar furthestAngles = {};\r\n\tvar i, textSize, pointPosition;\r\n\r\n\tscale.ctx.font = plFont.string;\r\n\tscale._pointLabelSizes = [];\r\n\r\n\tvar valueCount = scale.chart.data.labels.length;\r\n\tfor (i = 0; i < valueCount; i++) {\r\n\t\tpointPosition = scale.getPointPosition(i, scale.drawingArea + 5);\r\n\t\ttextSize = measureLabelSize(scale.ctx, plFont.lineHeight, scale.pointLabels[i]);\r\n\t\tscale._pointLabelSizes[i] = textSize;\r\n\r\n\t\t// Add quarter circle to make degree 0 mean top of circle\r\n\t\tvar angleRadians = scale.getIndexAngle(i);\r\n\t\tvar angle = helpers$1.toDegrees(angleRadians) % 360;\r\n\t\tvar hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\r\n\t\tvar vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\r\n\r\n\t\tif (hLimits.start < furthestLimits.l) {\r\n\t\t\tfurthestLimits.l = hLimits.start;\r\n\t\t\tfurthestAngles.l = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (hLimits.end > furthestLimits.r) {\r\n\t\t\tfurthestLimits.r = hLimits.end;\r\n\t\t\tfurthestAngles.r = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (vLimits.start < furthestLimits.t) {\r\n\t\t\tfurthestLimits.t = vLimits.start;\r\n\t\t\tfurthestAngles.t = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (vLimits.end > furthestLimits.b) {\r\n\t\t\tfurthestLimits.b = vLimits.end;\r\n\t\t\tfurthestAngles.b = angleRadians;\r\n\t\t}\r\n\t}\r\n\r\n\tscale.setReductions(scale.drawingArea, furthestLimits, furthestAngles);\r\n}\r\n\r\nfunction getTextAlignForAngle(angle) {\r\n\tif (angle === 0 || angle === 180) {\r\n\t\treturn 'center';\r\n\t} else if (angle < 180) {\r\n\t\treturn 'left';\r\n\t}\r\n\r\n\treturn 'right';\r\n}\r\n\r\nfunction fillText(ctx, text, position, lineHeight) {\r\n\tvar y = position.y + lineHeight / 2;\r\n\tvar i, ilen;\r\n\r\n\tif (helpers$1.isArray(text)) {\r\n\t\tfor (i = 0, ilen = text.length; i < ilen; ++i) {\r\n\t\t\tctx.fillText(text[i], position.x, y);\r\n\t\t\ty += lineHeight;\r\n\t\t}\r\n\t} else {\r\n\t\tctx.fillText(text, position.x, y);\r\n\t}\r\n}\r\n\r\nfunction adjustPointPositionForLabelHeight(angle, textSize, position) {\r\n\tif (angle === 90 || angle === 270) {\r\n\t\tposition.y -= (textSize.h / 2);\r\n\t} else if (angle > 270 || angle < 90) {\r\n\t\tposition.y -= textSize.h;\r\n\t}\r\n}\r\n\r\nfunction drawPointLabels(scale) {\r\n\tvar ctx = scale.ctx;\r\n\tvar opts = scale.options;\r\n\tvar pointLabelOpts = opts.pointLabels;\r\n\tvar tickBackdropHeight = getTickBackdropHeight(opts);\r\n\tvar outerDistance = scale.getDistanceFromCenterForValue(opts.ticks.reverse ? scale.min : scale.max);\r\n\tvar plFont = helpers$1.options._parseFont(pointLabelOpts);\r\n\r\n\tctx.save();\r\n\r\n\tctx.font = plFont.string;\r\n\tctx.textBaseline = 'middle';\r\n\r\n\tfor (var i = scale.chart.data.labels.length - 1; i >= 0; i--) {\r\n\t\t// Extra pixels out for some label spacing\r\n\t\tvar extra = (i === 0 ? tickBackdropHeight / 2 : 0);\r\n\t\tvar pointLabelPosition = scale.getPointPosition(i, outerDistance + extra + 5);\r\n\r\n\t\t// Keep this in loop since we may support array properties here\r\n\t\tvar pointLabelFontColor = valueAtIndexOrDefault$1(pointLabelOpts.fontColor, i, core_defaults.global.defaultFontColor);\r\n\t\tctx.fillStyle = pointLabelFontColor;\r\n\r\n\t\tvar angleRadians = scale.getIndexAngle(i);\r\n\t\tvar angle = helpers$1.toDegrees(angleRadians);\r\n\t\tctx.textAlign = getTextAlignForAngle(angle);\r\n\t\tadjustPointPositionForLabelHeight(angle, scale._pointLabelSizes[i], pointLabelPosition);\r\n\t\tfillText(ctx, scale.pointLabels[i], pointLabelPosition, plFont.lineHeight);\r\n\t}\r\n\tctx.restore();\r\n}\r\n\r\nfunction drawRadiusLine(scale, gridLineOpts, radius, index) {\r\n\tvar ctx = scale.ctx;\r\n\tvar circular = gridLineOpts.circular;\r\n\tvar valueCount = scale.chart.data.labels.length;\r\n\tvar lineColor = valueAtIndexOrDefault$1(gridLineOpts.color, index - 1);\r\n\tvar lineWidth = valueAtIndexOrDefault$1(gridLineOpts.lineWidth, index - 1);\r\n\tvar pointPosition;\r\n\r\n\tif ((!circular && !valueCount) || !lineColor || !lineWidth) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tctx.save();\r\n\tctx.strokeStyle = lineColor;\r\n\tctx.lineWidth = lineWidth;\r\n\tif (ctx.setLineDash) {\r\n\t\tctx.setLineDash(gridLineOpts.borderDash || []);\r\n\t\tctx.lineDashOffset = gridLineOpts.borderDashOffset || 0.0;\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tif (circular) {\r\n\t\t// Draw circular arcs between the points\r\n\t\tctx.arc(scale.xCenter, scale.yCenter, radius, 0, Math.PI * 2);\r\n\t} else {\r\n\t\t// Draw straight lines connecting each index\r\n\t\tpointPosition = scale.getPointPosition(0, radius);\r\n\t\tctx.moveTo(pointPosition.x, pointPosition.y);\r\n\r\n\t\tfor (var i = 1; i < valueCount; i++) {\r\n\t\t\tpointPosition = scale.getPointPosition(i, radius);\r\n\t\t\tctx.lineTo(pointPosition.x, pointPosition.y);\r\n\t\t}\r\n\t}\r\n\tctx.closePath();\r\n\tctx.stroke();\r\n\tctx.restore();\r\n}\r\n\r\nfunction numberOrZero(param) {\r\n\treturn helpers$1.isNumber(param) ? param : 0;\r\n}\r\n\r\nvar scale_radialLinear = scale_linearbase.extend({\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tme.width = me.maxWidth;\r\n\t\tme.height = me.maxHeight;\r\n\t\tme.paddingTop = getTickBackdropHeight(me.options) / 2;\r\n\t\tme.xCenter = Math.floor(me.width / 2);\r\n\t\tme.yCenter = Math.floor((me.height - me.paddingTop) / 2);\r\n\t\tme.drawingArea = Math.min(me.height - me.paddingTop, me.width) / 2;\r\n\t},\r\n\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar min = Number.POSITIVE_INFINITY;\r\n\t\tvar max = Number.NEGATIVE_INFINITY;\r\n\r\n\t\thelpers$1.each(chart.data.datasets, function(dataset, datasetIndex) {\r\n\t\t\tif (chart.isDatasetVisible(datasetIndex)) {\r\n\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\r\n\r\n\t\t\t\thelpers$1.each(dataset.data, function(rawValue, index) {\r\n\t\t\t\t\tvar value = +me.getRightValue(rawValue);\r\n\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tmin = Math.min(value, min);\r\n\t\t\t\t\tmax = Math.max(value, max);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tme.min = (min === Number.POSITIVE_INFINITY ? 0 : min);\r\n\t\tme.max = (max === Number.NEGATIVE_INFINITY ? 0 : max);\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\r\n\t\tme.handleTickRangeOptions();\r\n\t},\r\n\r\n\t// Returns the maximum number of ticks based on the scale dimension\r\n\t_computeTickLimit: function() {\r\n\t\treturn Math.ceil(this.drawingArea / getTickBackdropHeight(this.options));\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tscale_linearbase.prototype.convertTicksToLabels.call(me);\r\n\r\n\t\t// Point labels\r\n\t\tme.pointLabels = me.chart.data.labels.map(function() {\r\n\t\t\tvar label = helpers$1.callback(me.options.pointLabels.callback, arguments, me);\r\n\t\t\treturn label || label === 0 ? label : '';\r\n\t\t});\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\r\n\t\tif (opts.display && opts.pointLabels.display) {\r\n\t\t\tfitWithPointLabels(me);\r\n\t\t} else {\r\n\t\t\tme.setCenterPoint(0, 0, 0, 0);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Set radius reductions and determine new radius and center point\r\n\t * @private\r\n\t */\r\n\tsetReductions: function(largestPossibleRadius, furthestLimits, furthestAngles) {\r\n\t\tvar me = this;\r\n\t\tvar radiusReductionLeft = furthestLimits.l / Math.sin(furthestAngles.l);\r\n\t\tvar radiusReductionRight = Math.max(furthestLimits.r - me.width, 0) / Math.sin(furthestAngles.r);\r\n\t\tvar radiusReductionTop = -furthestLimits.t / Math.cos(furthestAngles.t);\r\n\t\tvar radiusReductionBottom = -Math.max(furthestLimits.b - (me.height - me.paddingTop), 0) / Math.cos(furthestAngles.b);\r\n\r\n\t\tradiusReductionLeft = numberOrZero(radiusReductionLeft);\r\n\t\tradiusReductionRight = numberOrZero(radiusReductionRight);\r\n\t\tradiusReductionTop = numberOrZero(radiusReductionTop);\r\n\t\tradiusReductionBottom = numberOrZero(radiusReductionBottom);\r\n\r\n\t\tme.drawingArea = Math.min(\r\n\t\t\tMath.floor(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2),\r\n\t\t\tMath.floor(largestPossibleRadius - (radiusReductionTop + radiusReductionBottom) / 2));\r\n\t\tme.setCenterPoint(radiusReductionLeft, radiusReductionRight, radiusReductionTop, radiusReductionBottom);\r\n\t},\r\n\r\n\tsetCenterPoint: function(leftMovement, rightMovement, topMovement, bottomMovement) {\r\n\t\tvar me = this;\r\n\t\tvar maxRight = me.width - rightMovement - me.drawingArea;\r\n\t\tvar maxLeft = leftMovement + me.drawingArea;\r\n\t\tvar maxTop = topMovement + me.drawingArea;\r\n\t\tvar maxBottom = (me.height - me.paddingTop) - bottomMovement - me.drawingArea;\r\n\r\n\t\tme.xCenter = Math.floor(((maxLeft + maxRight) / 2) + me.left);\r\n\t\tme.yCenter = Math.floor(((maxTop + maxBottom) / 2) + me.top + me.paddingTop);\r\n\t},\r\n\r\n\tgetIndexAngle: function(index) {\r\n\t\tvar chart = this.chart;\r\n\t\tvar angleMultiplier = 360 / chart.data.labels.length;\r\n\t\tvar options = chart.options || {};\r\n\t\tvar startAngle = options.startAngle || 0;\r\n\r\n\t\t// Start from the top instead of right, so remove a quarter of the circle\r\n\t\tvar angle = (index * angleMultiplier + startAngle) % 360;\r\n\r\n\t\treturn (angle < 0 ? angle + 360 : angle) * Math.PI * 2 / 360;\r\n\t},\r\n\r\n\tgetDistanceFromCenterForValue: function(value) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (helpers$1.isNullOrUndef(value)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\r\n\t\t// Take into account half font size + the yPadding of the top value\r\n\t\tvar scalingFactor = me.drawingArea / (me.max - me.min);\r\n\t\tif (me.options.ticks.reverse) {\r\n\t\t\treturn (me.max - value) * scalingFactor;\r\n\t\t}\r\n\t\treturn (value - me.min) * scalingFactor;\r\n\t},\r\n\r\n\tgetPointPosition: function(index, distanceFromCenter) {\r\n\t\tvar me = this;\r\n\t\tvar thisAngle = me.getIndexAngle(index) - (Math.PI / 2);\r\n\t\treturn {\r\n\t\t\tx: Math.cos(thisAngle) * distanceFromCenter + me.xCenter,\r\n\t\t\ty: Math.sin(thisAngle) * distanceFromCenter + me.yCenter\r\n\t\t};\r\n\t},\r\n\r\n\tgetPointPositionForValue: function(index, value) {\r\n\t\treturn this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\r\n\t},\r\n\r\n\tgetBasePosition: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\r\n\t\treturn me.getPointPositionForValue(index || 0,\r\n\t\t\tme.beginAtZero ? 0 :\r\n\t\t\tmin < 0 && max < 0 ? max :\r\n\t\t\tmin > 0 && max > 0 ? min :\r\n\t\t\t0);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawGrid: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\t\tvar gridLineOpts = opts.gridLines;\r\n\t\tvar angleLineOpts = opts.angleLines;\r\n\t\tvar lineWidth = valueOrDefault$c(angleLineOpts.lineWidth, gridLineOpts.lineWidth);\r\n\t\tvar lineColor = valueOrDefault$c(angleLineOpts.color, gridLineOpts.color);\r\n\t\tvar i, offset, position;\r\n\r\n\t\tif (opts.pointLabels.display) {\r\n\t\t\tdrawPointLabels(me);\r\n\t\t}\r\n\r\n\t\tif (gridLineOpts.display) {\r\n\t\t\thelpers$1.each(me.ticks, function(label, index) {\r\n\t\t\t\tif (index !== 0) {\r\n\t\t\t\t\toffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\r\n\t\t\t\t\tdrawRadiusLine(me, gridLineOpts, offset, index);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (angleLineOpts.display && lineWidth && lineColor) {\r\n\t\t\tctx.save();\r\n\t\t\tctx.lineWidth = lineWidth;\r\n\t\t\tctx.strokeStyle = lineColor;\r\n\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\tctx.setLineDash(resolve$4([angleLineOpts.borderDash, gridLineOpts.borderDash, []]));\r\n\t\t\t\tctx.lineDashOffset = resolve$4([angleLineOpts.borderDashOffset, gridLineOpts.borderDashOffset, 0.0]);\r\n\t\t\t}\r\n\r\n\t\t\tfor (i = me.chart.data.labels.length - 1; i >= 0; i--) {\r\n\t\t\t\toffset = me.getDistanceFromCenterForValue(opts.ticks.reverse ? me.min : me.max);\r\n\t\t\t\tposition = me.getPointPosition(i, offset);\r\n\t\t\t\tctx.beginPath();\r\n\t\t\t\tctx.moveTo(me.xCenter, me.yCenter);\r\n\t\t\t\tctx.lineTo(position.x, position.y);\r\n\t\t\t\tctx.stroke();\r\n\t\t\t}\r\n\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\tif (!tickOpts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar startAngle = me.getIndexAngle(0);\r\n\t\tvar tickFont = helpers$1.options._parseFont(tickOpts);\r\n\t\tvar tickFontColor = valueOrDefault$c(tickOpts.fontColor, core_defaults.global.defaultFontColor);\r\n\t\tvar offset, width;\r\n\r\n\t\tctx.save();\r\n\t\tctx.font = tickFont.string;\r\n\t\tctx.translate(me.xCenter, me.yCenter);\r\n\t\tctx.rotate(startAngle);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\r\n\t\thelpers$1.each(me.ticks, function(label, index) {\r\n\t\t\tif (index === 0 && !tickOpts.reverse) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\toffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\r\n\r\n\t\t\tif (tickOpts.showLabelBackdrop) {\r\n\t\t\t\twidth = ctx.measureText(label).width;\r\n\t\t\t\tctx.fillStyle = tickOpts.backdropColor;\r\n\r\n\t\t\t\tctx.fillRect(\r\n\t\t\t\t\t-width / 2 - tickOpts.backdropPaddingX,\r\n\t\t\t\t\t-offset - tickFont.size / 2 - tickOpts.backdropPaddingY,\r\n\t\t\t\t\twidth + tickOpts.backdropPaddingX * 2,\r\n\t\t\t\t\ttickFont.size + tickOpts.backdropPaddingY * 2\r\n\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t\tctx.fillStyle = tickFontColor;\r\n\t\t\tctx.fillText(label, 0, -offset);\r\n\t\t});\r\n\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawTitle: helpers$1.noop\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$3 = defaultConfig$3;\nscale_radialLinear._defaults = _defaults$3;\n\nvar deprecated$1 = helpers$1._deprecated;\r\nvar resolve$5 = helpers$1.options.resolve;\r\nvar valueOrDefault$d = helpers$1.valueOrDefault;\r\n\r\n// Integer constants are from the ES6 spec.\r\nvar MIN_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991;\r\nvar MAX_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\r\n\r\nvar INTERVALS = {\r\n\tmillisecond: {\r\n\t\tcommon: true,\r\n\t\tsize: 1,\r\n\t\tsteps: 1000\r\n\t},\r\n\tsecond: {\r\n\t\tcommon: true,\r\n\t\tsize: 1000,\r\n\t\tsteps: 60\r\n\t},\r\n\tminute: {\r\n\t\tcommon: true,\r\n\t\tsize: 60000,\r\n\t\tsteps: 60\r\n\t},\r\n\thour: {\r\n\t\tcommon: true,\r\n\t\tsize: 3600000,\r\n\t\tsteps: 24\r\n\t},\r\n\tday: {\r\n\t\tcommon: true,\r\n\t\tsize: 86400000,\r\n\t\tsteps: 30\r\n\t},\r\n\tweek: {\r\n\t\tcommon: false,\r\n\t\tsize: 604800000,\r\n\t\tsteps: 4\r\n\t},\r\n\tmonth: {\r\n\t\tcommon: true,\r\n\t\tsize: 2.628e9,\r\n\t\tsteps: 12\r\n\t},\r\n\tquarter: {\r\n\t\tcommon: false,\r\n\t\tsize: 7.884e9,\r\n\t\tsteps: 4\r\n\t},\r\n\tyear: {\r\n\t\tcommon: true,\r\n\t\tsize: 3.154e10\r\n\t}\r\n};\r\n\r\nvar UNITS = Object.keys(INTERVALS);\r\n\r\nfunction sorter(a, b) {\r\n\treturn a - b;\r\n}\r\n\r\nfunction arrayUnique(items) {\r\n\tvar hash = {};\r\n\tvar out = [];\r\n\tvar i, ilen, item;\r\n\r\n\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\titem = items[i];\r\n\t\tif (!hash[item]) {\r\n\t\t\thash[item] = true;\r\n\t\t\tout.push(item);\r\n\t\t}\r\n\t}\r\n\r\n\treturn out;\r\n}\r\n\r\nfunction getMin(options) {\r\n\treturn helpers$1.valueOrDefault(options.time.min, options.ticks.min);\r\n}\r\n\r\nfunction getMax(options) {\r\n\treturn helpers$1.valueOrDefault(options.time.max, options.ticks.max);\r\n}\r\n\r\n/**\r\n * Returns an array of {time, pos} objects used to interpolate a specific `time` or position\r\n * (`pos`) on the scale, by searching entries before and after the requested value. `pos` is\r\n * a decimal between 0 and 1: 0 being the start of the scale (left or top) and 1 the other\r\n * extremity (left + width or top + height). Note that it would be more optimized to directly\r\n * store pre-computed pixels, but the scale dimensions are not guaranteed at the time we need\r\n * to create the lookup table. The table ALWAYS contains at least two items: min and max.\r\n *\r\n * @param {number[]} timestamps - timestamps sorted from lowest to highest.\r\n * @param {string} distribution - If 'linear', timestamps will be spread linearly along the min\r\n * and max range, so basically, the table will contains only two items: {min, 0} and {max, 1}.\r\n * If 'series', timestamps will be positioned at the same distance from each other. In this\r\n * case, only timestamps that break the time linearity are registered, meaning that in the\r\n * best case, all timestamps are linear, the table contains only min and max.\r\n */\r\nfunction buildLookupTable(timestamps, min, max, distribution) {\r\n\tif (distribution === 'linear' || !timestamps.length) {\r\n\t\treturn [\r\n\t\t\t{time: min, pos: 0},\r\n\t\t\t{time: max, pos: 1}\r\n\t\t];\r\n\t}\r\n\r\n\tvar table = [];\r\n\tvar items = [min];\r\n\tvar i, ilen, prev, curr, next;\r\n\r\n\tfor (i = 0, ilen = timestamps.length; i < ilen; ++i) {\r\n\t\tcurr = timestamps[i];\r\n\t\tif (curr > min && curr < max) {\r\n\t\t\titems.push(curr);\r\n\t\t}\r\n\t}\r\n\r\n\titems.push(max);\r\n\r\n\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\tnext = items[i + 1];\r\n\t\tprev = items[i - 1];\r\n\t\tcurr = items[i];\r\n\r\n\t\t// only add points that breaks the scale linearity\r\n\t\tif (prev === undefined || next === undefined || Math.round((next + prev) / 2) !== curr) {\r\n\t\t\ttable.push({time: curr, pos: i / (ilen - 1)});\r\n\t\t}\r\n\t}\r\n\r\n\treturn table;\r\n}\r\n\r\n// @see adapted from https://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/\r\nfunction lookup(table, key, value) {\r\n\tvar lo = 0;\r\n\tvar hi = table.length - 1;\r\n\tvar mid, i0, i1;\r\n\r\n\twhile (lo >= 0 && lo <= hi) {\r\n\t\tmid = (lo + hi) >> 1;\r\n\t\ti0 = table[mid - 1] || null;\r\n\t\ti1 = table[mid];\r\n\r\n\t\tif (!i0) {\r\n\t\t\t// given value is outside table (before first item)\r\n\t\t\treturn {lo: null, hi: i1};\r\n\t\t} else if (i1[key] < value) {\r\n\t\t\tlo = mid + 1;\r\n\t\t} else if (i0[key] > value) {\r\n\t\t\thi = mid - 1;\r\n\t\t} else {\r\n\t\t\treturn {lo: i0, hi: i1};\r\n\t\t}\r\n\t}\r\n\r\n\t// given value is outside table (after last item)\r\n\treturn {lo: i1, hi: null};\r\n}\r\n\r\n/**\r\n * Linearly interpolates the given source `value` using the table items `skey` values and\r\n * returns the associated `tkey` value. For example, interpolate(table, 'time', 42, 'pos')\r\n * returns the position for a timestamp equal to 42. If value is out of bounds, values at\r\n * index [0, 1] or [n - 1, n] are used for the interpolation.\r\n */\r\nfunction interpolate$1(table, skey, sval, tkey) {\r\n\tvar range = lookup(table, skey, sval);\r\n\r\n\t// Note: the lookup table ALWAYS contains at least 2 items (min and max)\r\n\tvar prev = !range.lo ? table[0] : !range.hi ? table[table.length - 2] : range.lo;\r\n\tvar next = !range.lo ? table[1] : !range.hi ? table[table.length - 1] : range.hi;\r\n\r\n\tvar span = next[skey] - prev[skey];\r\n\tvar ratio = span ? (sval - prev[skey]) / span : 0;\r\n\tvar offset = (next[tkey] - prev[tkey]) * ratio;\r\n\r\n\treturn prev[tkey] + offset;\r\n}\r\n\r\nfunction toTimestamp(scale, input) {\r\n\tvar adapter = scale._adapter;\r\n\tvar options = scale.options.time;\r\n\tvar parser = options.parser;\r\n\tvar format = parser || options.format;\r\n\tvar value = input;\r\n\r\n\tif (typeof parser === 'function') {\r\n\t\tvalue = parser(value);\r\n\t}\r\n\r\n\t// Only parse if its not a timestamp already\r\n\tif (!helpers$1.isFinite(value)) {\r\n\t\tvalue = typeof format === 'string'\r\n\t\t\t? adapter.parse(value, format)\r\n\t\t\t: adapter.parse(value);\r\n\t}\r\n\r\n\tif (value !== null) {\r\n\t\treturn +value;\r\n\t}\r\n\r\n\t// Labels are in an incompatible format and no `parser` has been provided.\r\n\t// The user might still use the deprecated `format` option for parsing.\r\n\tif (!parser && typeof format === 'function') {\r\n\t\tvalue = format(input);\r\n\r\n\t\t// `format` could return something else than a timestamp, if so, parse it\r\n\t\tif (!helpers$1.isFinite(value)) {\r\n\t\t\tvalue = adapter.parse(value);\r\n\t\t}\r\n\t}\r\n\r\n\treturn value;\r\n}\r\n\r\nfunction parse(scale, input) {\r\n\tif (helpers$1.isNullOrUndef(input)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tvar options = scale.options.time;\r\n\tvar value = toTimestamp(scale, scale.getRightValue(input));\r\n\tif (value === null) {\r\n\t\treturn value;\r\n\t}\r\n\r\n\tif (options.round) {\r\n\t\tvalue = +scale._adapter.startOf(value, options.round);\r\n\t}\r\n\r\n\treturn value;\r\n}\r\n\r\n/**\r\n * Figures out what unit results in an appropriate number of auto-generated ticks\r\n */\r\nfunction determineUnitForAutoTicks(minUnit, min, max, capacity) {\r\n\tvar ilen = UNITS.length;\r\n\tvar i, interval, factor;\r\n\r\n\tfor (i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {\r\n\t\tinterval = INTERVALS[UNITS[i]];\r\n\t\tfactor = interval.steps ? interval.steps : MAX_INTEGER;\r\n\r\n\t\tif (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {\r\n\t\t\treturn UNITS[i];\r\n\t\t}\r\n\t}\r\n\r\n\treturn UNITS[ilen - 1];\r\n}\r\n\r\n/**\r\n * Figures out what unit to format a set of ticks with\r\n */\r\nfunction determineUnitForFormatting(scale, numTicks, minUnit, min, max) {\r\n\tvar i, unit;\r\n\r\n\tfor (i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--) {\r\n\t\tunit = UNITS[i];\r\n\t\tif (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) {\r\n\t\t\treturn unit;\r\n\t\t}\r\n\t}\r\n\r\n\treturn UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];\r\n}\r\n\r\nfunction determineMajorUnit(unit) {\r\n\tfor (var i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {\r\n\t\tif (INTERVALS[UNITS[i]].common) {\r\n\t\t\treturn UNITS[i];\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * Generates a maximum of `capacity` timestamps between min and max, rounded to the\r\n * `minor` unit using the given scale time `options`.\r\n * Important: this method can return ticks outside the min and max range, it's the\r\n * responsibility of the calling code to clamp values if needed.\r\n */\r\nfunction generate(scale, min, max, capacity) {\r\n\tvar adapter = scale._adapter;\r\n\tvar options = scale.options;\r\n\tvar timeOpts = options.time;\r\n\tvar minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, capacity);\r\n\tvar stepSize = resolve$5([timeOpts.stepSize, timeOpts.unitStepSize, 1]);\r\n\tvar weekday = minor === 'week' ? timeOpts.isoWeekday : false;\r\n\tvar first = min;\r\n\tvar ticks = [];\r\n\tvar time;\r\n\r\n\t// For 'week' unit, handle the first day of week option\r\n\tif (weekday) {\r\n\t\tfirst = +adapter.startOf(first, 'isoWeek', weekday);\r\n\t}\r\n\r\n\t// Align first ticks on unit\r\n\tfirst = +adapter.startOf(first, weekday ? 'day' : minor);\r\n\r\n\t// Prevent browser from freezing in case user options request millions of milliseconds\r\n\tif (adapter.diff(max, min, minor) > 100000 * stepSize) {\r\n\t\tthrow min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor;\r\n\t}\r\n\r\n\tfor (time = first; time < max; time = +adapter.add(time, stepSize, minor)) {\r\n\t\tticks.push(time);\r\n\t}\r\n\r\n\tif (time === max || options.bounds === 'ticks') {\r\n\t\tticks.push(time);\r\n\t}\r\n\r\n\treturn ticks;\r\n}\r\n\r\n/**\r\n * Returns the start and end offsets from edges in the form of {start, end}\r\n * where each value is a relative width to the scale and ranges between 0 and 1.\r\n * They add extra margins on the both sides by scaling down the original scale.\r\n * Offsets are added when the `offset` option is true.\r\n */\r\nfunction computeOffsets(table, ticks, min, max, options) {\r\n\tvar start = 0;\r\n\tvar end = 0;\r\n\tvar first, last;\r\n\r\n\tif (options.offset && ticks.length) {\r\n\t\tfirst = interpolate$1(table, 'time', ticks[0], 'pos');\r\n\t\tif (ticks.length === 1) {\r\n\t\t\tstart = 1 - first;\r\n\t\t} else {\r\n\t\t\tstart = (interpolate$1(table, 'time', ticks[1], 'pos') - first) / 2;\r\n\t\t}\r\n\t\tlast = interpolate$1(table, 'time', ticks[ticks.length - 1], 'pos');\r\n\t\tif (ticks.length === 1) {\r\n\t\t\tend = last;\r\n\t\t} else {\r\n\t\t\tend = (last - interpolate$1(table, 'time', ticks[ticks.length - 2], 'pos')) / 2;\r\n\t\t}\r\n\t}\r\n\r\n\treturn {start: start, end: end, factor: 1 / (start + 1 + end)};\r\n}\r\n\r\nfunction setMajorTicks(scale, ticks, map, majorUnit) {\r\n\tvar adapter = scale._adapter;\r\n\tvar first = +adapter.startOf(ticks[0].value, majorUnit);\r\n\tvar last = ticks[ticks.length - 1].value;\r\n\tvar major, index;\r\n\r\n\tfor (major = first; major <= last; major = +adapter.add(major, 1, majorUnit)) {\r\n\t\tindex = map[major];\r\n\t\tif (index >= 0) {\r\n\t\t\tticks[index].major = true;\r\n\t\t}\r\n\t}\r\n\treturn ticks;\r\n}\r\n\r\nfunction ticksFromTimestamps(scale, values, majorUnit) {\r\n\tvar ticks = [];\r\n\tvar map = {};\r\n\tvar ilen = values.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = values[i];\r\n\t\tmap[value] = i;\r\n\r\n\t\tticks.push({\r\n\t\t\tvalue: value,\r\n\t\t\tmajor: false\r\n\t\t});\r\n\t}\r\n\r\n\t// We set the major ticks separately from the above loop because calling startOf for every tick\r\n\t// is expensive when there is a large number of ticks\r\n\treturn (ilen === 0 || !majorUnit) ? ticks : setMajorTicks(scale, ticks, map, majorUnit);\r\n}\r\n\r\nvar defaultConfig$4 = {\r\n\tposition: 'bottom',\r\n\r\n\t/**\r\n\t * Data distribution along the scale:\r\n\t * - 'linear': data are spread according to their time (distances can vary),\r\n\t * - 'series': data are spread at the same distance from each other.\r\n\t * @see https://github.com/chartjs/Chart.js/pull/4507\r\n\t * @since 2.7.0\r\n\t */\r\n\tdistribution: 'linear',\r\n\r\n\t/**\r\n\t * Scale boundary strategy (bypassed by min/max time options)\r\n\t * - `data`: make sure data are fully visible, ticks outside are removed\r\n\t * - `ticks`: make sure ticks are fully visible, data outside are truncated\r\n\t * @see https://github.com/chartjs/Chart.js/pull/4556\r\n\t * @since 2.7.0\r\n\t */\r\n\tbounds: 'data',\r\n\r\n\tadapters: {},\r\n\ttime: {\r\n\t\tparser: false, // false == a pattern string from https://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment\r\n\t\tunit: false, // false == automatic or override with week, month, year, etc.\r\n\t\tround: false, // none, or override with week, month, year, etc.\r\n\t\tdisplayFormat: false, // DEPRECATED\r\n\t\tisoWeekday: false, // override week start day - see https://momentjs.com/docs/#/get-set/iso-weekday/\r\n\t\tminUnit: 'millisecond',\r\n\t\tdisplayFormats: {}\r\n\t},\r\n\tticks: {\r\n\t\tautoSkip: false,\r\n\r\n\t\t/**\r\n\t\t * Ticks generation input values:\r\n\t\t * - 'auto': generates \"optimal\" ticks based on scale size and time options.\r\n\t\t * - 'data': generates ticks from data (including labels from data {t|x|y} objects).\r\n\t\t * - 'labels': generates ticks from user given `data.labels` values ONLY.\r\n\t\t * @see https://github.com/chartjs/Chart.js/pull/4507\r\n\t\t * @since 2.7.0\r\n\t\t */\r\n\t\tsource: 'auto',\r\n\r\n\t\tmajor: {\r\n\t\t\tenabled: false\r\n\t\t}\r\n\t}\r\n};\r\n\r\nvar scale_time = core_scale.extend({\r\n\tinitialize: function() {\r\n\t\tthis.mergeTicksOptions();\r\n\t\tcore_scale.prototype.initialize.call(this);\r\n\t},\r\n\r\n\tupdate: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar time = options.time || (options.time = {});\r\n\t\tvar adapter = me._adapter = new core_adapters._date(options.adapters.date);\r\n\r\n\t\t// DEPRECATIONS: output a message only one time per update\r\n\t\tdeprecated$1('time scale', time.format, 'time.format', 'time.parser');\r\n\t\tdeprecated$1('time scale', time.min, 'time.min', 'ticks.min');\r\n\t\tdeprecated$1('time scale', time.max, 'time.max', 'ticks.max');\r\n\r\n\t\t// Backward compatibility: before introducing adapter, `displayFormats` was\r\n\t\t// supposed to contain *all* unit/string pairs but this can't be resolved\r\n\t\t// when loading the scale (adapters are loaded afterward), so let's populate\r\n\t\t// missing formats on update\r\n\t\thelpers$1.mergeIf(time.displayFormats, adapter.formats());\r\n\r\n\t\treturn core_scale.prototype.update.apply(me, arguments);\r\n\t},\r\n\r\n\t/**\r\n\t * Allows data to be referenced via 't' attribute\r\n\t */\r\n\tgetRightValue: function(rawValue) {\r\n\t\tif (rawValue && rawValue.t !== undefined) {\r\n\t\t\trawValue = rawValue.t;\r\n\t\t}\r\n\t\treturn core_scale.prototype.getRightValue.call(this, rawValue);\r\n\t},\r\n\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar options = me.options;\r\n\t\tvar unit = options.time.unit || 'day';\r\n\t\tvar min = MAX_INTEGER;\r\n\t\tvar max = MIN_INTEGER;\r\n\t\tvar timestamps = [];\r\n\t\tvar datasets = [];\r\n\t\tvar labels = [];\r\n\t\tvar i, j, ilen, jlen, data, timestamp, labelsAdded;\r\n\t\tvar dataLabels = me._getLabels();\r\n\r\n\t\tfor (i = 0, ilen = dataLabels.length; i < ilen; ++i) {\r\n\t\t\tlabels.push(parse(me, dataLabels[i]));\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\tdata = chart.data.datasets[i].data;\r\n\r\n\t\t\t\t// Let's consider that all data have the same format.\r\n\t\t\t\tif (helpers$1.isObject(data[0])) {\r\n\t\t\t\t\tdatasets[i] = [];\r\n\r\n\t\t\t\t\tfor (j = 0, jlen = data.length; j < jlen; ++j) {\r\n\t\t\t\t\t\ttimestamp = parse(me, data[j]);\r\n\t\t\t\t\t\ttimestamps.push(timestamp);\r\n\t\t\t\t\t\tdatasets[i][j] = timestamp;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdatasets[i] = labels.slice(0);\r\n\t\t\t\t\tif (!labelsAdded) {\r\n\t\t\t\t\t\ttimestamps = timestamps.concat(labels);\r\n\t\t\t\t\t\tlabelsAdded = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tdatasets[i] = [];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (labels.length) {\r\n\t\t\tmin = Math.min(min, labels[0]);\r\n\t\t\tmax = Math.max(max, labels[labels.length - 1]);\r\n\t\t}\r\n\r\n\t\tif (timestamps.length) {\r\n\t\t\ttimestamps = ilen > 1 ? arrayUnique(timestamps).sort(sorter) : timestamps.sort(sorter);\r\n\t\t\tmin = Math.min(min, timestamps[0]);\r\n\t\t\tmax = Math.max(max, timestamps[timestamps.length - 1]);\r\n\t\t}\r\n\r\n\t\tmin = parse(me, getMin(options)) || min;\r\n\t\tmax = parse(me, getMax(options)) || max;\r\n\r\n\t\t// In case there is no valid min/max, set limits based on unit time option\r\n\t\tmin = min === MAX_INTEGER ? +adapter.startOf(Date.now(), unit) : min;\r\n\t\tmax = max === MIN_INTEGER ? +adapter.endOf(Date.now(), unit) + 1 : max;\r\n\r\n\t\t// Make sure that max is strictly higher than min (required by the lookup table)\r\n\t\tme.min = Math.min(min, max);\r\n\t\tme.max = Math.max(min + 1, max);\r\n\r\n\t\t// PRIVATE\r\n\t\tme._table = [];\r\n\t\tme._timestamps = {\r\n\t\t\tdata: timestamps,\r\n\t\t\tdatasets: datasets,\r\n\t\t\tlabels: labels\r\n\t\t};\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\t\tvar options = me.options;\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar timeOpts = options.time;\r\n\t\tvar timestamps = me._timestamps;\r\n\t\tvar ticks = [];\r\n\t\tvar capacity = me.getLabelCapacity(min);\r\n\t\tvar source = tickOpts.source;\r\n\t\tvar distribution = options.distribution;\r\n\t\tvar i, ilen, timestamp;\r\n\r\n\t\tif (source === 'data' || (source === 'auto' && distribution === 'series')) {\r\n\t\t\ttimestamps = timestamps.data;\r\n\t\t} else if (source === 'labels') {\r\n\t\t\ttimestamps = timestamps.labels;\r\n\t\t} else {\r\n\t\t\ttimestamps = generate(me, min, max, capacity);\r\n\t\t}\r\n\r\n\t\tif (options.bounds === 'ticks' && timestamps.length) {\r\n\t\t\tmin = timestamps[0];\r\n\t\t\tmax = timestamps[timestamps.length - 1];\r\n\t\t}\r\n\r\n\t\t// Enforce limits with user min/max options\r\n\t\tmin = parse(me, getMin(options)) || min;\r\n\t\tmax = parse(me, getMax(options)) || max;\r\n\r\n\t\t// Remove ticks outside the min/max range\r\n\t\tfor (i = 0, ilen = timestamps.length; i < ilen; ++i) {\r\n\t\t\ttimestamp = timestamps[i];\r\n\t\t\tif (timestamp >= min && timestamp <= max) {\r\n\t\t\t\tticks.push(timestamp);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.min = min;\r\n\t\tme.max = max;\r\n\r\n\t\t// PRIVATE\r\n\t\t// determineUnitForFormatting relies on the number of ticks so we don't use it when\r\n\t\t// autoSkip is enabled because we don't yet know what the final number of ticks will be\r\n\t\tme._unit = timeOpts.unit || (tickOpts.autoSkip\r\n\t\t\t? determineUnitForAutoTicks(timeOpts.minUnit, me.min, me.max, capacity)\r\n\t\t\t: determineUnitForFormatting(me, ticks.length, timeOpts.minUnit, me.min, me.max));\r\n\t\tme._majorUnit = !tickOpts.major.enabled || me._unit === 'year' ? undefined\r\n\t\t\t: determineMajorUnit(me._unit);\r\n\t\tme._table = buildLookupTable(me._timestamps.data, min, max, distribution);\r\n\t\tme._offsets = computeOffsets(me._table, ticks, min, max, options);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\tticks.reverse();\r\n\t\t}\r\n\r\n\t\treturn ticksFromTimestamps(me, ticks, me._majorUnit);\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar data = me.chart.data;\r\n\t\tvar timeOpts = me.options.time;\r\n\t\tvar label = data.labels && index < data.labels.length ? data.labels[index] : '';\r\n\t\tvar value = data.datasets[datasetIndex].data[index];\r\n\r\n\t\tif (helpers$1.isObject(value)) {\r\n\t\t\tlabel = me.getRightValue(value);\r\n\t\t}\r\n\t\tif (timeOpts.tooltipFormat) {\r\n\t\t\treturn adapter.format(toTimestamp(me, label), timeOpts.tooltipFormat);\r\n\t\t}\r\n\t\tif (typeof label === 'string') {\r\n\t\t\treturn label;\r\n\t\t}\r\n\t\treturn adapter.format(toTimestamp(me, label), timeOpts.displayFormats.datetime);\r\n\t},\r\n\r\n\t/**\r\n\t * Function to format an individual tick mark\r\n\t * @private\r\n\t */\r\n\ttickFormatFunction: function(time, index, ticks, format) {\r\n\t\tvar me = this;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar options = me.options;\r\n\t\tvar formats = options.time.displayFormats;\r\n\t\tvar minorFormat = formats[me._unit];\r\n\t\tvar majorUnit = me._majorUnit;\r\n\t\tvar majorFormat = formats[majorUnit];\r\n\t\tvar tick = ticks[index];\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar major = majorUnit && majorFormat && tick && tick.major;\r\n\t\tvar label = adapter.format(time, format ? format : major ? majorFormat : minorFormat);\r\n\t\tvar nestedTickOpts = major ? tickOpts.major : tickOpts.minor;\r\n\t\tvar formatter = resolve$5([\r\n\t\t\tnestedTickOpts.callback,\r\n\t\t\tnestedTickOpts.userCallback,\r\n\t\t\ttickOpts.callback,\r\n\t\t\ttickOpts.userCallback\r\n\t\t]);\r\n\r\n\t\treturn formatter ? formatter(label, index, ticks) : label;\r\n\t},\r\n\r\n\tconvertTicksToLabels: function(ticks) {\r\n\t\tvar labels = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\tlabels.push(this.tickFormatFunction(ticks[i].value, i, ticks));\r\n\t\t}\r\n\r\n\t\treturn labels;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetPixelForOffset: function(time) {\r\n\t\tvar me = this;\r\n\t\tvar offsets = me._offsets;\r\n\t\tvar pos = interpolate$1(me._table, 'time', time, 'pos');\r\n\t\treturn me.getPixelForDecimal((offsets.start + pos) * offsets.factor);\r\n\t},\r\n\r\n\tgetPixelForValue: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar time = null;\r\n\r\n\t\tif (index !== undefined && datasetIndex !== undefined) {\r\n\t\t\ttime = me._timestamps.datasets[datasetIndex][index];\r\n\t\t}\r\n\r\n\t\tif (time === null) {\r\n\t\t\ttime = parse(me, value);\r\n\t\t}\r\n\r\n\t\tif (time !== null) {\r\n\t\t\treturn me.getPixelForOffset(time);\r\n\t\t}\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.getTicks();\r\n\t\treturn index >= 0 && index < ticks.length ?\r\n\t\t\tthis.getPixelForOffset(ticks[index].value) :\r\n\t\t\tnull;\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar offsets = me._offsets;\r\n\t\tvar pos = me.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\r\n\t\tvar time = interpolate$1(me._table, 'pos', pos, 'time');\r\n\r\n\t\t// DEPRECATION, we should return time directly\r\n\t\treturn me._adapter._create(time);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLabelSize: function(label) {\r\n\t\tvar me = this;\r\n\t\tvar ticksOpts = me.options.ticks;\r\n\t\tvar tickLabelWidth = me.ctx.measureText(label).width;\r\n\t\tvar angle = helpers$1.toRadians(me.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation);\r\n\t\tvar cosRotation = Math.cos(angle);\r\n\t\tvar sinRotation = Math.sin(angle);\r\n\t\tvar tickFontSize = valueOrDefault$d(ticksOpts.fontSize, core_defaults.global.defaultFontSize);\r\n\r\n\t\treturn {\r\n\t\t\tw: (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation),\r\n\t\t\th: (tickLabelWidth * sinRotation) + (tickFontSize * cosRotation)\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Crude approximation of what the label width might be\r\n\t * @private\r\n\t */\r\n\tgetLabelWidth: function(label) {\r\n\t\treturn this._getLabelSize(label).w;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetLabelCapacity: function(exampleTime) {\r\n\t\tvar me = this;\r\n\t\tvar timeOpts = me.options.time;\r\n\t\tvar displayFormats = timeOpts.displayFormats;\r\n\r\n\t\t// pick the longest format (milliseconds) for guestimation\r\n\t\tvar format = displayFormats[timeOpts.unit] || displayFormats.millisecond;\r\n\t\tvar exampleLabel = me.tickFormatFunction(exampleTime, 0, ticksFromTimestamps(me, [exampleTime], me._majorUnit), format);\r\n\t\tvar size = me._getLabelSize(exampleLabel);\r\n\t\tvar capacity = Math.floor(me.isHorizontal() ? me.width / size.w : me.height / size.h);\r\n\r\n\t\tif (me.options.offset) {\r\n\t\t\tcapacity--;\r\n\t\t}\r\n\r\n\t\treturn capacity > 0 ? capacity : 1;\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$4 = defaultConfig$4;\nscale_time._defaults = _defaults$4;\n\nvar scales = {\r\n\tcategory: scale_category,\r\n\tlinear: scale_linear,\r\n\tlogarithmic: scale_logarithmic,\r\n\tradialLinear: scale_radialLinear,\r\n\ttime: scale_time\r\n};\n\nvar FORMATS = {\r\n\tdatetime: 'MMM D, YYYY, h:mm:ss a',\r\n\tmillisecond: 'h:mm:ss.SSS a',\r\n\tsecond: 'h:mm:ss a',\r\n\tminute: 'h:mm a',\r\n\thour: 'hA',\r\n\tday: 'MMM D',\r\n\tweek: 'll',\r\n\tmonth: 'MMM YYYY',\r\n\tquarter: '[Q]Q - YYYY',\r\n\tyear: 'YYYY'\r\n};\r\n\r\ncore_adapters._date.override(typeof moment === 'function' ? {\r\n\t_id: 'moment', // DEBUG ONLY\r\n\r\n\tformats: function() {\r\n\t\treturn FORMATS;\r\n\t},\r\n\r\n\tparse: function(value, format) {\r\n\t\tif (typeof value === 'string' && typeof format === 'string') {\r\n\t\t\tvalue = moment(value, format);\r\n\t\t} else if (!(value instanceof moment)) {\r\n\t\t\tvalue = moment(value);\r\n\t\t}\r\n\t\treturn value.isValid() ? value.valueOf() : null;\r\n\t},\r\n\r\n\tformat: function(time, format) {\r\n\t\treturn moment(time).format(format);\r\n\t},\r\n\r\n\tadd: function(time, amount, unit) {\r\n\t\treturn moment(time).add(amount, unit).valueOf();\r\n\t},\r\n\r\n\tdiff: function(max, min, unit) {\r\n\t\treturn moment(max).diff(moment(min), unit);\r\n\t},\r\n\r\n\tstartOf: function(time, unit, weekday) {\r\n\t\ttime = moment(time);\r\n\t\tif (unit === 'isoWeek') {\r\n\t\t\treturn time.isoWeekday(weekday).valueOf();\r\n\t\t}\r\n\t\treturn time.startOf(unit).valueOf();\r\n\t},\r\n\r\n\tendOf: function(time, unit) {\r\n\t\treturn moment(time).endOf(unit).valueOf();\r\n\t},\r\n\r\n\t// DEPRECATIONS\r\n\r\n\t/**\r\n\t * Provided for backward compatibility with scale.getValueForPixel().\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t * @private\r\n\t */\r\n\t_create: function(time) {\r\n\t\treturn moment(time);\r\n\t},\r\n} : {});\n\ncore_defaults._set('global', {\r\n\tplugins: {\r\n\t\tfiller: {\r\n\t\t\tpropagate: true\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar mappers = {\r\n\tdataset: function(source) {\r\n\t\tvar index = source.fill;\r\n\t\tvar chart = source.chart;\r\n\t\tvar meta = chart.getDatasetMeta(index);\r\n\t\tvar visible = meta && chart.isDatasetVisible(index);\r\n\t\tvar points = (visible && meta.dataset._children) || [];\r\n\t\tvar length = points.length || 0;\r\n\r\n\t\treturn !length ? null : function(point, i) {\r\n\t\t\treturn (i < length && points[i]._view) || null;\r\n\t\t};\r\n\t},\r\n\r\n\tboundary: function(source) {\r\n\t\tvar boundary = source.boundary;\r\n\t\tvar x = boundary ? boundary.x : null;\r\n\t\tvar y = boundary ? boundary.y : null;\r\n\r\n\t\tif (helpers$1.isArray(boundary)) {\r\n\t\t\treturn function(point, i) {\r\n\t\t\t\treturn boundary[i];\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn function(point) {\r\n\t\t\treturn {\r\n\t\t\t\tx: x === null ? point.x : x,\r\n\t\t\t\ty: y === null ? point.y : y,\r\n\t\t\t};\r\n\t\t};\r\n\t}\r\n};\r\n\r\n// @todo if (fill[0] === '#')\r\nfunction decodeFill(el, index, count) {\r\n\tvar model = el._model || {};\r\n\tvar fill = model.fill;\r\n\tvar target;\r\n\r\n\tif (fill === undefined) {\r\n\t\tfill = !!model.backgroundColor;\r\n\t}\r\n\r\n\tif (fill === false || fill === null) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tif (fill === true) {\r\n\t\treturn 'origin';\r\n\t}\r\n\r\n\ttarget = parseFloat(fill, 10);\r\n\tif (isFinite(target) && Math.floor(target) === target) {\r\n\t\tif (fill[0] === '-' || fill[0] === '+') {\r\n\t\t\ttarget = index + target;\r\n\t\t}\r\n\r\n\t\tif (target === index || target < 0 || target >= count) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn target;\r\n\t}\r\n\r\n\tswitch (fill) {\r\n\t// compatibility\r\n\tcase 'bottom':\r\n\t\treturn 'start';\r\n\tcase 'top':\r\n\t\treturn 'end';\r\n\tcase 'zero':\r\n\t\treturn 'origin';\r\n\t// supported boundaries\r\n\tcase 'origin':\r\n\tcase 'start':\r\n\tcase 'end':\r\n\t\treturn fill;\r\n\t// invalid fill values\r\n\tdefault:\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction computeLinearBoundary(source) {\r\n\tvar model = source.el._model || {};\r\n\tvar scale = source.el._scale || {};\r\n\tvar fill = source.fill;\r\n\tvar target = null;\r\n\tvar horizontal;\r\n\r\n\tif (isFinite(fill)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\t// Backward compatibility: until v3, we still need to support boundary values set on\r\n\t// the model (scaleTop, scaleBottom and scaleZero) because some external plugins and\r\n\t// controllers might still use it (e.g. the Smith chart).\r\n\r\n\tif (fill === 'start') {\r\n\t\ttarget = model.scaleBottom === undefined ? scale.bottom : model.scaleBottom;\r\n\t} else if (fill === 'end') {\r\n\t\ttarget = model.scaleTop === undefined ? scale.top : model.scaleTop;\r\n\t} else if (model.scaleZero !== undefined) {\r\n\t\ttarget = model.scaleZero;\r\n\t} else if (scale.getBasePixel) {\r\n\t\ttarget = scale.getBasePixel();\r\n\t}\r\n\r\n\tif (target !== undefined && target !== null) {\r\n\t\tif (target.x !== undefined && target.y !== undefined) {\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\tif (helpers$1.isFinite(target)) {\r\n\t\t\thorizontal = scale.isHorizontal();\r\n\t\t\treturn {\r\n\t\t\t\tx: horizontal ? target : null,\r\n\t\t\t\ty: horizontal ? null : target\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\treturn null;\r\n}\r\n\r\nfunction computeCircularBoundary(source) {\r\n\tvar scale = source.el._scale;\r\n\tvar options = scale.options;\r\n\tvar length = scale.chart.data.labels.length;\r\n\tvar fill = source.fill;\r\n\tvar target = [];\r\n\tvar start, end, center, i, point;\r\n\r\n\tif (!length) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tstart = options.ticks.reverse ? scale.max : scale.min;\r\n\tend = options.ticks.reverse ? scale.min : scale.max;\r\n\tcenter = scale.getPointPositionForValue(0, start);\r\n\tfor (i = 0; i < length; ++i) {\r\n\t\tpoint = fill === 'start' || fill === 'end'\r\n\t\t\t? scale.getPointPositionForValue(i, fill === 'start' ? start : end)\r\n\t\t\t: scale.getBasePosition(i);\r\n\t\tif (options.gridLines.circular) {\r\n\t\t\tpoint.cx = center.x;\r\n\t\t\tpoint.cy = center.y;\r\n\t\t\tpoint.angle = scale.getIndexAngle(i) - Math.PI / 2;\r\n\t\t}\r\n\t\ttarget.push(point);\r\n\t}\r\n\treturn target;\r\n}\r\n\r\nfunction computeBoundary(source) {\r\n\tvar scale = source.el._scale || {};\r\n\r\n\tif (scale.getPointPositionForValue) {\r\n\t\treturn computeCircularBoundary(source);\r\n\t}\r\n\treturn computeLinearBoundary(source);\r\n}\r\n\r\nfunction resolveTarget(sources, index, propagate) {\r\n\tvar source = sources[index];\r\n\tvar fill = source.fill;\r\n\tvar visited = [index];\r\n\tvar target;\r\n\r\n\tif (!propagate) {\r\n\t\treturn fill;\r\n\t}\r\n\r\n\twhile (fill !== false && visited.indexOf(fill) === -1) {\r\n\t\tif (!isFinite(fill)) {\r\n\t\t\treturn fill;\r\n\t\t}\r\n\r\n\t\ttarget = sources[fill];\r\n\t\tif (!target) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (target.visible) {\r\n\t\t\treturn fill;\r\n\t\t}\r\n\r\n\t\tvisited.push(fill);\r\n\t\tfill = target.fill;\r\n\t}\r\n\r\n\treturn false;\r\n}\r\n\r\nfunction createMapper(source) {\r\n\tvar fill = source.fill;\r\n\tvar type = 'dataset';\r\n\r\n\tif (fill === false) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tif (!isFinite(fill)) {\r\n\t\ttype = 'boundary';\r\n\t}\r\n\r\n\treturn mappers[type](source);\r\n}\r\n\r\nfunction isDrawable(point) {\r\n\treturn point && !point.skip;\r\n}\r\n\r\nfunction drawArea(ctx, curve0, curve1, len0, len1) {\r\n\tvar i, cx, cy, r;\r\n\r\n\tif (!len0 || !len1) {\r\n\t\treturn;\r\n\t}\r\n\r\n\t// building first area curve (normal)\r\n\tctx.moveTo(curve0[0].x, curve0[0].y);\r\n\tfor (i = 1; i < len0; ++i) {\r\n\t\thelpers$1.canvas.lineTo(ctx, curve0[i - 1], curve0[i]);\r\n\t}\r\n\r\n\tif (curve1[0].angle !== undefined) {\r\n\t\tcx = curve1[0].cx;\r\n\t\tcy = curve1[0].cy;\r\n\t\tr = Math.sqrt(Math.pow(curve1[0].x - cx, 2) + Math.pow(curve1[0].y - cy, 2));\r\n\t\tfor (i = len1 - 1; i > 0; --i) {\r\n\t\t\tctx.arc(cx, cy, r, curve1[i].angle, curve1[i - 1].angle, true);\r\n\t\t}\r\n\t\treturn;\r\n\t}\r\n\r\n\t// joining the two area curves\r\n\tctx.lineTo(curve1[len1 - 1].x, curve1[len1 - 1].y);\r\n\r\n\t// building opposite area curve (reverse)\r\n\tfor (i = len1 - 1; i > 0; --i) {\r\n\t\thelpers$1.canvas.lineTo(ctx, curve1[i], curve1[i - 1], true);\r\n\t}\r\n}\r\n\r\nfunction doFill(ctx, points, mapper, view, color, loop) {\r\n\tvar count = points.length;\r\n\tvar span = view.spanGaps;\r\n\tvar curve0 = [];\r\n\tvar curve1 = [];\r\n\tvar len0 = 0;\r\n\tvar len1 = 0;\r\n\tvar i, ilen, index, p0, p1, d0, d1, loopOffset;\r\n\r\n\tctx.beginPath();\r\n\r\n\tfor (i = 0, ilen = count; i < ilen; ++i) {\r\n\t\tindex = i % count;\r\n\t\tp0 = points[index]._view;\r\n\t\tp1 = mapper(p0, index, view);\r\n\t\td0 = isDrawable(p0);\r\n\t\td1 = isDrawable(p1);\r\n\r\n\t\tif (loop && loopOffset === undefined && d0) {\r\n\t\t\tloopOffset = i + 1;\r\n\t\t\tilen = count + loopOffset;\r\n\t\t}\r\n\r\n\t\tif (d0 && d1) {\r\n\t\t\tlen0 = curve0.push(p0);\r\n\t\t\tlen1 = curve1.push(p1);\r\n\t\t} else if (len0 && len1) {\r\n\t\t\tif (!span) {\r\n\t\t\t\tdrawArea(ctx, curve0, curve1, len0, len1);\r\n\t\t\t\tlen0 = len1 = 0;\r\n\t\t\t\tcurve0 = [];\r\n\t\t\t\tcurve1 = [];\r\n\t\t\t} else {\r\n\t\t\t\tif (d0) {\r\n\t\t\t\t\tcurve0.push(p0);\r\n\t\t\t\t}\r\n\t\t\t\tif (d1) {\r\n\t\t\t\t\tcurve1.push(p1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tdrawArea(ctx, curve0, curve1, len0, len1);\r\n\r\n\tctx.closePath();\r\n\tctx.fillStyle = color;\r\n\tctx.fill();\r\n}\r\n\r\nvar plugin_filler = {\r\n\tid: 'filler',\r\n\r\n\tafterDatasetsUpdate: function(chart, options) {\r\n\t\tvar count = (chart.data.datasets || []).length;\r\n\t\tvar propagate = options.propagate;\r\n\t\tvar sources = [];\r\n\t\tvar meta, i, el, source;\r\n\r\n\t\tfor (i = 0; i < count; ++i) {\r\n\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\tel = meta.dataset;\r\n\t\t\tsource = null;\r\n\r\n\t\t\tif (el && el._model && el instanceof elements.Line) {\r\n\t\t\t\tsource = {\r\n\t\t\t\t\tvisible: chart.isDatasetVisible(i),\r\n\t\t\t\t\tfill: decodeFill(el, i, count),\r\n\t\t\t\t\tchart: chart,\r\n\t\t\t\t\tel: el\r\n\t\t\t\t};\r\n\t\t\t}\r\n\r\n\t\t\tmeta.$filler = source;\r\n\t\t\tsources.push(source);\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < count; ++i) {\r\n\t\t\tsource = sources[i];\r\n\t\t\tif (!source) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tsource.fill = resolveTarget(sources, i, propagate);\r\n\t\t\tsource.boundary = computeBoundary(source);\r\n\t\t\tsource.mapper = createMapper(source);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeDatasetsDraw: function(chart) {\r\n\t\tvar metasets = chart._getSortedVisibleDatasetMetas();\r\n\t\tvar ctx = chart.ctx;\r\n\t\tvar meta, i, el, view, points, mapper, color;\r\n\r\n\t\tfor (i = metasets.length - 1; i >= 0; --i) {\r\n\t\t\tmeta = metasets[i].$filler;\r\n\r\n\t\t\tif (!meta || !meta.visible) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tel = meta.el;\r\n\t\t\tview = el._view;\r\n\t\t\tpoints = el._children || [];\r\n\t\t\tmapper = meta.mapper;\r\n\t\t\tcolor = view.backgroundColor || core_defaults.global.defaultColor;\r\n\r\n\t\t\tif (mapper && color && points.length) {\r\n\t\t\t\thelpers$1.canvas.clipArea(ctx, chart.chartArea);\r\n\t\t\t\tdoFill(ctx, points, mapper, view, color, el._loop);\r\n\t\t\t\thelpers$1.canvas.unclipArea(ctx);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\nvar getRtlHelper$1 = helpers$1.rtl.getRtlAdapter;\r\nvar noop$1 = helpers$1.noop;\r\nvar valueOrDefault$e = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('global', {\r\n\tlegend: {\r\n\t\tdisplay: true,\r\n\t\tposition: 'top',\r\n\t\talign: 'center',\r\n\t\tfullWidth: true,\r\n\t\treverse: false,\r\n\t\tweight: 1000,\r\n\r\n\t\t// a callback that will handle\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.datasetIndex;\r\n\t\t\tvar ci = this.chart;\r\n\t\t\tvar meta = ci.getDatasetMeta(index);\r\n\r\n\t\t\t// See controller.isDatasetVisible comment\r\n\t\t\tmeta.hidden = meta.hidden === null ? !ci.data.datasets[index].hidden : null;\r\n\r\n\t\t\t// We hid a dataset ... rerender the chart\r\n\t\t\tci.update();\r\n\t\t},\r\n\r\n\t\tonHover: null,\r\n\t\tonLeave: null,\r\n\r\n\t\tlabels: {\r\n\t\t\tboxWidth: 40,\r\n\t\t\tpadding: 10,\r\n\t\t\t// Generates labels shown in the legend\r\n\t\t\t// Valid properties to return:\r\n\t\t\t// text : text to display\r\n\t\t\t// fillStyle : fill of coloured box\r\n\t\t\t// strokeStyle: stroke of coloured box\r\n\t\t\t// hidden : if this legend item refers to a hidden item\r\n\t\t\t// lineCap : cap style for line\r\n\t\t\t// lineDash\r\n\t\t\t// lineDashOffset :\r\n\t\t\t// lineJoin :\r\n\t\t\t// lineWidth :\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar datasets = chart.data.datasets;\r\n\t\t\t\tvar options = chart.options.legend || {};\r\n\t\t\t\tvar usePointStyle = options.labels && options.labels.usePointStyle;\r\n\r\n\t\t\t\treturn chart._getSortedDatasetMetas().map(function(meta) {\r\n\t\t\t\t\tvar style = meta.controller.getStyle(usePointStyle ? 0 : undefined);\r\n\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\ttext: datasets[meta.index].label,\r\n\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\thidden: !chart.isDatasetVisible(meta.index),\r\n\t\t\t\t\t\tlineCap: style.borderCapStyle,\r\n\t\t\t\t\t\tlineDash: style.borderDash,\r\n\t\t\t\t\t\tlineDashOffset: style.borderDashOffset,\r\n\t\t\t\t\t\tlineJoin: style.borderJoinStyle,\r\n\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\tpointStyle: style.pointStyle,\r\n\t\t\t\t\t\trotation: style.rotation,\r\n\r\n\t\t\t\t\t\t// Below is extra data used for toggling the datasets\r\n\t\t\t\t\t\tdatasetIndex: meta.index\r\n\t\t\t\t\t};\r\n\t\t\t\t}, this);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; i++) {\r\n\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\tlistItemSpan.style.backgroundColor = datasets[i].backgroundColor;\r\n\t\t\tif (datasets[i].label) {\r\n\t\t\t\tlistItem.appendChild(document.createTextNode(datasets[i].label));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t}\r\n});\r\n\r\n/**\r\n * Helper function to get the box width based on the usePointStyle option\r\n * @param {object} labelopts - the label options on the legend\r\n * @param {number} fontSize - the label font size\r\n * @return {number} width of the color box area\r\n */\r\nfunction getBoxWidth(labelOpts, fontSize) {\r\n\treturn labelOpts.usePointStyle && labelOpts.boxWidth > fontSize ?\r\n\t\tfontSize :\r\n\t\tlabelOpts.boxWidth;\r\n}\r\n\r\n/**\r\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\r\n */\r\nvar Legend = core_element.extend({\r\n\r\n\tinitialize: function(config) {\r\n\t\tvar me = this;\r\n\t\thelpers$1.extend(me, config);\r\n\r\n\t\t// Contains hit boxes for each dataset (in dataset order)\r\n\t\tme.legendHitBoxes = [];\r\n\r\n\t\t/**\r\n \t\t * @private\r\n \t\t */\r\n\t\tme._hoveredItem = null;\r\n\r\n\t\t// Are we in doughnut mode which has a different data type\r\n\t\tme.doughnutMode = false;\r\n\t},\r\n\r\n\t// These methods are ordered by lifecycle. Utilities then follow.\r\n\t// Any function defined here is inherited by all legend types.\r\n\t// Any function can be extended by the legend type\r\n\r\n\tbeforeUpdate: noop$1,\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = margins;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\t\t// Labels\r\n\t\tme.beforeBuildLabels();\r\n\t\tme.buildLabels();\r\n\t\tme.afterBuildLabels();\r\n\r\n\t\t// Fit\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\t\t//\r\n\t\tme.afterUpdate();\r\n\r\n\t\treturn me.minSize;\r\n\t},\r\n\tafterUpdate: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: noop$1,\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\r\n\t\t// Reset minSize\r\n\t\tme.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\t},\r\n\tafterSetDimensions: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeBuildLabels: noop$1,\r\n\tbuildLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar labelOpts = me.options.labels || {};\r\n\t\tvar legendItems = helpers$1.callback(labelOpts.generateLabels, [me.chart], me) || [];\r\n\r\n\t\tif (labelOpts.filter) {\r\n\t\t\tlegendItems = legendItems.filter(function(item) {\r\n\t\t\t\treturn labelOpts.filter(item, me.chart.data);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (me.options.reverse) {\r\n\t\t\tlegendItems.reverse();\r\n\t\t}\r\n\r\n\t\tme.legendItems = legendItems;\r\n\t},\r\n\tafterBuildLabels: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeFit: noop$1,\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar labelOpts = opts.labels;\r\n\t\tvar display = opts.display;\r\n\r\n\t\tvar ctx = me.ctx;\r\n\r\n\t\tvar labelFont = helpers$1.options._parseFont(labelOpts);\r\n\t\tvar fontSize = labelFont.size;\r\n\r\n\t\t// Reset hit boxes\r\n\t\tvar hitboxes = me.legendHitBoxes = [];\r\n\r\n\t\tvar minSize = me.minSize;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\tminSize.width = me.maxWidth; // fill all the width\r\n\t\t\tminSize.height = display ? 10 : 0;\r\n\t\t} else {\r\n\t\t\tminSize.width = display ? 10 : 0;\r\n\t\t\tminSize.height = me.maxHeight; // fill all the height\r\n\t\t}\r\n\r\n\t\t// Increase sizes here\r\n\t\tif (!display) {\r\n\t\t\tme.width = minSize.width = me.height = minSize.height = 0;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tctx.font = labelFont.string;\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\t// Labels\r\n\r\n\t\t\t// Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one\r\n\t\t\tvar lineWidths = me.lineWidths = [0];\r\n\t\t\tvar totalHeight = 0;\r\n\r\n\t\t\tctx.textAlign = 'left';\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\t\t\tvar width = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\r\n\r\n\t\t\t\tif (i === 0 || lineWidths[lineWidths.length - 1] + width + 2 * labelOpts.padding > minSize.width) {\r\n\t\t\t\t\ttotalHeight += fontSize + labelOpts.padding;\r\n\t\t\t\t\tlineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\r\n\t\t\t\thitboxes[i] = {\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\twidth: width,\r\n\t\t\t\t\theight: fontSize\r\n\t\t\t\t};\r\n\r\n\t\t\t\tlineWidths[lineWidths.length - 1] += width + labelOpts.padding;\r\n\t\t\t});\r\n\r\n\t\t\tminSize.height += totalHeight;\r\n\r\n\t\t} else {\r\n\t\t\tvar vPadding = labelOpts.padding;\r\n\t\t\tvar columnWidths = me.columnWidths = [];\r\n\t\t\tvar columnHeights = me.columnHeights = [];\r\n\t\t\tvar totalWidth = labelOpts.padding;\r\n\t\t\tvar currentColWidth = 0;\r\n\t\t\tvar currentColHeight = 0;\r\n\r\n\t\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\t\t\tvar itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\r\n\r\n\t\t\t\t// If too tall, go to new column\r\n\t\t\t\tif (i > 0 && currentColHeight + fontSize + 2 * vPadding > minSize.height) {\r\n\t\t\t\t\ttotalWidth += currentColWidth + labelOpts.padding;\r\n\t\t\t\t\tcolumnWidths.push(currentColWidth); // previous column width\r\n\t\t\t\t\tcolumnHeights.push(currentColHeight);\r\n\t\t\t\t\tcurrentColWidth = 0;\r\n\t\t\t\t\tcurrentColHeight = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Get max width\r\n\t\t\t\tcurrentColWidth = Math.max(currentColWidth, itemWidth);\r\n\t\t\t\tcurrentColHeight += fontSize + vPadding;\r\n\r\n\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\r\n\t\t\t\thitboxes[i] = {\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\twidth: itemWidth,\r\n\t\t\t\t\theight: fontSize\r\n\t\t\t\t};\r\n\t\t\t});\r\n\r\n\t\t\ttotalWidth += currentColWidth;\r\n\t\t\tcolumnWidths.push(currentColWidth);\r\n\t\t\tcolumnHeights.push(currentColHeight);\r\n\t\t\tminSize.width += totalWidth;\r\n\t\t}\r\n\r\n\t\tme.width = minSize.width;\r\n\t\tme.height = minSize.height;\r\n\t},\r\n\tafterFit: noop$1,\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\treturn this.options.position === 'top' || this.options.position === 'bottom';\r\n\t},\r\n\r\n\t// Actually draw the legend on the canvas\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar labelOpts = opts.labels;\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar defaultColor = globalDefaults.defaultColor;\r\n\t\tvar lineDefault = globalDefaults.elements.line;\r\n\t\tvar legendHeight = me.height;\r\n\t\tvar columnHeights = me.columnHeights;\r\n\t\tvar legendWidth = me.width;\r\n\t\tvar lineWidths = me.lineWidths;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar rtlHelper = getRtlHelper$1(opts.rtl, me.left, me.minSize.width);\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar fontColor = valueOrDefault$e(labelOpts.fontColor, globalDefaults.defaultFontColor);\r\n\t\tvar labelFont = helpers$1.options._parseFont(labelOpts);\r\n\t\tvar fontSize = labelFont.size;\r\n\t\tvar cursor;\r\n\r\n\t\t// Canvas setup\r\n\t\tctx.textAlign = rtlHelper.textAlign('left');\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.lineWidth = 0.5;\r\n\t\tctx.strokeStyle = fontColor; // for strikethrough effect\r\n\t\tctx.fillStyle = fontColor; // render in correct colour\r\n\t\tctx.font = labelFont.string;\r\n\r\n\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\tvar hitboxes = me.legendHitBoxes;\r\n\r\n\t\t// current position\r\n\t\tvar drawLegendBox = function(x, y, legendItem) {\r\n\t\t\tif (isNaN(boxWidth) || boxWidth <= 0) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Set the ctx for the box\r\n\t\t\tctx.save();\r\n\r\n\t\t\tvar lineWidth = valueOrDefault$e(legendItem.lineWidth, lineDefault.borderWidth);\r\n\t\t\tctx.fillStyle = valueOrDefault$e(legendItem.fillStyle, defaultColor);\r\n\t\t\tctx.lineCap = valueOrDefault$e(legendItem.lineCap, lineDefault.borderCapStyle);\r\n\t\t\tctx.lineDashOffset = valueOrDefault$e(legendItem.lineDashOffset, lineDefault.borderDashOffset);\r\n\t\t\tctx.lineJoin = valueOrDefault$e(legendItem.lineJoin, lineDefault.borderJoinStyle);\r\n\t\t\tctx.lineWidth = lineWidth;\r\n\t\t\tctx.strokeStyle = valueOrDefault$e(legendItem.strokeStyle, defaultColor);\r\n\r\n\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\t// IE 9 and 10 do not support line dash\r\n\t\t\t\tctx.setLineDash(valueOrDefault$e(legendItem.lineDash, lineDefault.borderDash));\r\n\t\t\t}\r\n\r\n\t\t\tif (labelOpts && labelOpts.usePointStyle) {\r\n\t\t\t\t// Recalculate x and y for drawPoint() because its expecting\r\n\t\t\t\t// x and y to be center of figure (instead of top left)\r\n\t\t\t\tvar radius = boxWidth * Math.SQRT2 / 2;\r\n\t\t\t\tvar centerX = rtlHelper.xPlus(x, boxWidth / 2);\r\n\t\t\t\tvar centerY = y + fontSize / 2;\r\n\r\n\t\t\t\t// Draw pointStyle as legend symbol\r\n\t\t\t\thelpers$1.canvas.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY, legendItem.rotation);\r\n\t\t\t} else {\r\n\t\t\t\t// Draw box as legend symbol\r\n\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\r\n\t\t\t\tif (lineWidth !== 0) {\r\n\t\t\t\t\tctx.strokeRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tctx.restore();\r\n\t\t};\r\n\r\n\t\tvar fillText = function(x, y, legendItem, textWidth) {\r\n\t\t\tvar halfFontSize = fontSize / 2;\r\n\t\t\tvar xLeft = rtlHelper.xPlus(x, boxWidth + halfFontSize);\r\n\t\t\tvar yMiddle = y + halfFontSize;\r\n\r\n\t\t\tctx.fillText(legendItem.text, xLeft, yMiddle);\r\n\r\n\t\t\tif (legendItem.hidden) {\r\n\t\t\t\t// Strikethrough the text if hidden\r\n\t\t\t\tctx.beginPath();\r\n\t\t\t\tctx.lineWidth = 2;\r\n\t\t\t\tctx.moveTo(xLeft, yMiddle);\r\n\t\t\t\tctx.lineTo(rtlHelper.xPlus(xLeft, textWidth), yMiddle);\r\n\t\t\t\tctx.stroke();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tvar alignmentOffset = function(dimension, blockSize) {\r\n\t\t\tswitch (opts.align) {\r\n\t\t\tcase 'start':\r\n\t\t\t\treturn labelOpts.padding;\r\n\t\t\tcase 'end':\r\n\t\t\t\treturn dimension - blockSize;\r\n\t\t\tdefault: // center\r\n\t\t\t\treturn (dimension - blockSize + labelOpts.padding) / 2;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t// Horizontal\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tif (isHorizontal) {\r\n\t\t\tcursor = {\r\n\t\t\t\tx: me.left + alignmentOffset(legendWidth, lineWidths[0]),\r\n\t\t\t\ty: me.top + labelOpts.padding,\r\n\t\t\t\tline: 0\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tcursor = {\r\n\t\t\t\tx: me.left + labelOpts.padding,\r\n\t\t\t\ty: me.top + alignmentOffset(legendHeight, columnHeights[0]),\r\n\t\t\t\tline: 0\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\thelpers$1.rtl.overrideTextDirection(me.ctx, opts.textDirection);\r\n\r\n\t\tvar itemHeight = fontSize + labelOpts.padding;\r\n\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\tvar textWidth = ctx.measureText(legendItem.text).width;\r\n\t\t\tvar width = boxWidth + (fontSize / 2) + textWidth;\r\n\t\t\tvar x = cursor.x;\r\n\t\t\tvar y = cursor.y;\r\n\r\n\t\t\trtlHelper.setWidth(me.minSize.width);\r\n\r\n\t\t\t// Use (me.left + me.minSize.width) and (me.top + me.minSize.height)\r\n\t\t\t// instead of me.right and me.bottom because me.width and me.height\r\n\t\t\t// may have been changed since me.minSize was calculated\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tif (i > 0 && x + width + labelOpts.padding > me.left + me.minSize.width) {\r\n\t\t\t\t\ty = cursor.y += itemHeight;\r\n\t\t\t\t\tcursor.line++;\r\n\t\t\t\t\tx = cursor.x = me.left + alignmentOffset(legendWidth, lineWidths[cursor.line]);\r\n\t\t\t\t}\r\n\t\t\t} else if (i > 0 && y + itemHeight > me.top + me.minSize.height) {\r\n\t\t\t\tx = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;\r\n\t\t\t\tcursor.line++;\r\n\t\t\t\ty = cursor.y = me.top + alignmentOffset(legendHeight, columnHeights[cursor.line]);\r\n\t\t\t}\r\n\r\n\t\t\tvar realX = rtlHelper.x(x);\r\n\r\n\t\t\tdrawLegendBox(realX, y, legendItem);\r\n\r\n\t\t\thitboxes[i].left = rtlHelper.leftForLtr(realX, hitboxes[i].width);\r\n\t\t\thitboxes[i].top = y;\r\n\r\n\t\t\t// Fill the actual label\r\n\t\t\tfillText(realX, y, legendItem, textWidth);\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tcursor.x += width + labelOpts.padding;\r\n\t\t\t} else {\r\n\t\t\t\tcursor.y += itemHeight;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.rtl.restoreTextDirection(me.ctx, opts.textDirection);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLegendItemAt: function(x, y) {\r\n\t\tvar me = this;\r\n\t\tvar i, hitBox, lh;\r\n\r\n\t\tif (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {\r\n\t\t\t// See if we are touching one of the dataset boxes\r\n\t\t\tlh = me.legendHitBoxes;\r\n\t\t\tfor (i = 0; i < lh.length; ++i) {\r\n\t\t\t\thitBox = lh[i];\r\n\r\n\t\t\t\tif (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {\r\n\t\t\t\t\t// Touching an element\r\n\t\t\t\t\treturn me.legendItems[i];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event - The event to handle\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar type = e.type === 'mouseup' ? 'click' : e.type;\r\n\t\tvar hoveredItem;\r\n\r\n\t\tif (type === 'mousemove') {\r\n\t\t\tif (!opts.onHover && !opts.onLeave) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else if (type === 'click') {\r\n\t\t\tif (!opts.onClick) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Chart event already has relative position in it\r\n\t\thoveredItem = me._getLegendItemAt(e.x, e.y);\r\n\r\n\t\tif (type === 'click') {\r\n\t\t\tif (hoveredItem && opts.onClick) {\r\n\t\t\t\t// use e.native for backwards compatibility\r\n\t\t\t\topts.onClick.call(me, e.native, hoveredItem);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (opts.onLeave && hoveredItem !== me._hoveredItem) {\r\n\t\t\t\tif (me._hoveredItem) {\r\n\t\t\t\t\topts.onLeave.call(me, e.native, me._hoveredItem);\r\n\t\t\t\t}\r\n\t\t\t\tme._hoveredItem = hoveredItem;\r\n\t\t\t}\r\n\r\n\t\t\tif (opts.onHover && hoveredItem) {\r\n\t\t\t\t// use e.native for backwards compatibility\r\n\t\t\t\topts.onHover.call(me, e.native, hoveredItem);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction createNewLegendAndAttach(chart, legendOpts) {\r\n\tvar legend = new Legend({\r\n\t\tctx: chart.ctx,\r\n\t\toptions: legendOpts,\r\n\t\tchart: chart\r\n\t});\r\n\r\n\tcore_layouts.configure(chart, legend, legendOpts);\r\n\tcore_layouts.addBox(chart, legend);\r\n\tchart.legend = legend;\r\n}\r\n\r\nvar plugin_legend = {\r\n\tid: 'legend',\r\n\r\n\t/**\r\n\t * Backward compatibility: since 2.1.5, the legend is registered as a plugin, making\r\n\t * Chart.Legend obsolete. To avoid a breaking change, we export the Legend as part of\r\n\t * the plugin, which one will be re-exposed in the chart.js file.\r\n\t * https://github.com/chartjs/Chart.js/pull/2640\r\n\t * @private\r\n\t */\r\n\t_element: Legend,\r\n\r\n\tbeforeInit: function(chart) {\r\n\t\tvar legendOpts = chart.options.legend;\r\n\r\n\t\tif (legendOpts) {\r\n\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeUpdate: function(chart) {\r\n\t\tvar legendOpts = chart.options.legend;\r\n\t\tvar legend = chart.legend;\r\n\r\n\t\tif (legendOpts) {\r\n\t\t\thelpers$1.mergeIf(legendOpts, core_defaults.global.legend);\r\n\r\n\t\t\tif (legend) {\r\n\t\t\t\tcore_layouts.configure(chart, legend, legendOpts);\r\n\t\t\t\tlegend.options = legendOpts;\r\n\t\t\t} else {\r\n\t\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\r\n\t\t\t}\r\n\t\t} else if (legend) {\r\n\t\t\tcore_layouts.removeBox(chart, legend);\r\n\t\t\tdelete chart.legend;\r\n\t\t}\r\n\t},\r\n\r\n\tafterEvent: function(chart, e) {\r\n\t\tvar legend = chart.legend;\r\n\t\tif (legend) {\r\n\t\t\tlegend.handleEvent(e);\r\n\t\t}\r\n\t}\r\n};\n\nvar noop$2 = helpers$1.noop;\r\n\r\ncore_defaults._set('global', {\r\n\ttitle: {\r\n\t\tdisplay: false,\r\n\t\tfontStyle: 'bold',\r\n\t\tfullWidth: true,\r\n\t\tpadding: 10,\r\n\t\tposition: 'top',\r\n\t\ttext: '',\r\n\t\tweight: 2000         // by default greater than legend (1000) to be above\r\n\t}\r\n});\r\n\r\n/**\r\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\r\n */\r\nvar Title = core_element.extend({\r\n\tinitialize: function(config) {\r\n\t\tvar me = this;\r\n\t\thelpers$1.extend(me, config);\r\n\r\n\t\t// Contains hit boxes for each dataset (in dataset order)\r\n\t\tme.legendHitBoxes = [];\r\n\t},\r\n\r\n\t// These methods are ordered by lifecycle. Utilities then follow.\r\n\r\n\tbeforeUpdate: noop$2,\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = margins;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\t\t// Labels\r\n\t\tme.beforeBuildLabels();\r\n\t\tme.buildLabels();\r\n\t\tme.afterBuildLabels();\r\n\r\n\t\t// Fit\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\t\t//\r\n\t\tme.afterUpdate();\r\n\r\n\t\treturn me.minSize;\r\n\r\n\t},\r\n\tafterUpdate: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: noop$2,\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\r\n\t\t// Reset minSize\r\n\t\tme.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\t},\r\n\tafterSetDimensions: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeBuildLabels: noop$2,\r\n\tbuildLabels: noop$2,\r\n\tafterBuildLabels: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeFit: noop$2,\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar minSize = me.minSize = {};\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar lineCount, textSize;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\tme.width = minSize.width = me.height = minSize.height = 0;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlineCount = helpers$1.isArray(opts.text) ? opts.text.length : 1;\r\n\t\ttextSize = lineCount * helpers$1.options._parseFont(opts).lineHeight + opts.padding * 2;\r\n\r\n\t\tme.width = minSize.width = isHorizontal ? me.maxWidth : textSize;\r\n\t\tme.height = minSize.height = isHorizontal ? textSize : me.maxHeight;\r\n\t},\r\n\tafterFit: noop$2,\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\tvar pos = this.options.position;\r\n\t\treturn pos === 'top' || pos === 'bottom';\r\n\t},\r\n\r\n\t// Actually draw the title block on the canvas\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar fontOpts = helpers$1.options._parseFont(opts);\r\n\t\tvar lineHeight = fontOpts.lineHeight;\r\n\t\tvar offset = lineHeight / 2 + opts.padding;\r\n\t\tvar rotation = 0;\r\n\t\tvar top = me.top;\r\n\t\tvar left = me.left;\r\n\t\tvar bottom = me.bottom;\r\n\t\tvar right = me.right;\r\n\t\tvar maxWidth, titleX, titleY;\r\n\r\n\t\tctx.fillStyle = helpers$1.valueOrDefault(opts.fontColor, core_defaults.global.defaultFontColor); // render in correct colour\r\n\t\tctx.font = fontOpts.string;\r\n\r\n\t\t// Horizontal\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\ttitleX = left + ((right - left) / 2); // midpoint of the width\r\n\t\t\ttitleY = top + offset;\r\n\t\t\tmaxWidth = right - left;\r\n\t\t} else {\r\n\t\t\ttitleX = opts.position === 'left' ? left + offset : right - offset;\r\n\t\t\ttitleY = top + ((bottom - top) / 2);\r\n\t\t\tmaxWidth = bottom - top;\r\n\t\t\trotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.translate(titleX, titleY);\r\n\t\tctx.rotate(rotation);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\r\n\t\tvar text = opts.text;\r\n\t\tif (helpers$1.isArray(text)) {\r\n\t\t\tvar y = 0;\r\n\t\t\tfor (var i = 0; i < text.length; ++i) {\r\n\t\t\t\tctx.fillText(text[i], 0, y, maxWidth);\r\n\t\t\t\ty += lineHeight;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tctx.fillText(text, 0, 0, maxWidth);\r\n\t\t}\r\n\r\n\t\tctx.restore();\r\n\t}\r\n});\r\n\r\nfunction createNewTitleBlockAndAttach(chart, titleOpts) {\r\n\tvar title = new Title({\r\n\t\tctx: chart.ctx,\r\n\t\toptions: titleOpts,\r\n\t\tchart: chart\r\n\t});\r\n\r\n\tcore_layouts.configure(chart, title, titleOpts);\r\n\tcore_layouts.addBox(chart, title);\r\n\tchart.titleBlock = title;\r\n}\r\n\r\nvar plugin_title = {\r\n\tid: 'title',\r\n\r\n\t/**\r\n\t * Backward compatibility: since 2.1.5, the title is registered as a plugin, making\r\n\t * Chart.Title obsolete. To avoid a breaking change, we export the Title as part of\r\n\t * the plugin, which one will be re-exposed in the chart.js file.\r\n\t * https://github.com/chartjs/Chart.js/pull/2640\r\n\t * @private\r\n\t */\r\n\t_element: Title,\r\n\r\n\tbeforeInit: function(chart) {\r\n\t\tvar titleOpts = chart.options.title;\r\n\r\n\t\tif (titleOpts) {\r\n\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeUpdate: function(chart) {\r\n\t\tvar titleOpts = chart.options.title;\r\n\t\tvar titleBlock = chart.titleBlock;\r\n\r\n\t\tif (titleOpts) {\r\n\t\t\thelpers$1.mergeIf(titleOpts, core_defaults.global.title);\r\n\r\n\t\t\tif (titleBlock) {\r\n\t\t\t\tcore_layouts.configure(chart, titleBlock, titleOpts);\r\n\t\t\t\ttitleBlock.options = titleOpts;\r\n\t\t\t} else {\r\n\t\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\r\n\t\t\t}\r\n\t\t} else if (titleBlock) {\r\n\t\t\tcore_layouts.removeBox(chart, titleBlock);\r\n\t\t\tdelete chart.titleBlock;\r\n\t\t}\r\n\t}\r\n};\n\nvar plugins = {};\r\nvar filler = plugin_filler;\r\nvar legend = plugin_legend;\r\nvar title = plugin_title;\nplugins.filler = filler;\nplugins.legend = legend;\nplugins.title = title;\n\n/**\r\n * @namespace Chart\r\n */\r\n\r\n\r\ncore_controller.helpers = helpers$1;\r\n\r\n// @todo dispatch these helpers into appropriated helpers/helpers.* file and write unit tests!\r\ncore_helpers();\r\n\r\ncore_controller._adapters = core_adapters;\r\ncore_controller.Animation = core_animation;\r\ncore_controller.animationService = core_animations;\r\ncore_controller.controllers = controllers;\r\ncore_controller.DatasetController = core_datasetController;\r\ncore_controller.defaults = core_defaults;\r\ncore_controller.Element = core_element;\r\ncore_controller.elements = elements;\r\ncore_controller.Interaction = core_interaction;\r\ncore_controller.layouts = core_layouts;\r\ncore_controller.platform = platform;\r\ncore_controller.plugins = core_plugins;\r\ncore_controller.Scale = core_scale;\r\ncore_controller.scaleService = core_scaleService;\r\ncore_controller.Ticks = core_ticks;\r\ncore_controller.Tooltip = core_tooltip;\r\n\r\n// Register built-in scales\r\n\r\ncore_controller.helpers.each(scales, function(scale, type) {\r\n\tcore_controller.scaleService.registerScaleType(type, scale, scale._defaults);\r\n});\r\n\r\n// Load to register built-in adapters (as side effects)\r\n\r\n\r\n// Loading built-in plugins\r\n\r\nfor (var k in plugins) {\r\n\tif (plugins.hasOwnProperty(k)) {\r\n\t\tcore_controller.plugins.register(plugins[k]);\r\n\t}\r\n}\r\n\r\ncore_controller.platform.initialize();\r\n\r\nvar src = core_controller;\r\nif (typeof window !== 'undefined') {\r\n\twindow.Chart = core_controller;\r\n}\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Chart\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Chart = core_controller;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Legend\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Legend = plugins.legend._element;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Title\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Title = plugins.title._element;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.plugins instead\r\n * @namespace Chart.pluginService\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.pluginService = core_controller.plugins;\r\n\r\n/**\r\n * Provided for backward compatibility, inheriting from Chart.PlugingBase has no\r\n * effect, instead simply create/register plugins via plain JavaScript objects.\r\n * @interface Chart.PluginBase\r\n * @deprecated since version 2.5.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.PluginBase = core_controller.Element.extend({});\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas instead.\r\n * @namespace Chart.canvasHelpers\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.canvasHelpers = core_controller.helpers.canvas;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.layouts instead.\r\n * @namespace Chart.layoutService\r\n * @deprecated since version 2.7.3\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.layoutService = core_controller.layouts;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.LinearScaleBase\r\n * @deprecated since version 2.8\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.LinearScaleBase = scale_linearbase;\r\n\r\n/**\r\n * Provided for backward compatibility, instead we should create a new Chart\r\n * by setting the type in the config (`new Chart(id, {type: '{chart-type}'}`).\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n */\r\ncore_controller.helpers.each(\r\n\t[\r\n\t\t'Bar',\r\n\t\t'Bubble',\r\n\t\t'Doughnut',\r\n\t\t'Line',\r\n\t\t'PolarArea',\r\n\t\t'Radar',\r\n\t\t'Scatter'\r\n\t],\r\n\tfunction(klass) {\r\n\t\tcore_controller[klass] = function(ctx, cfg) {\r\n\t\t\treturn new core_controller(ctx, core_controller.helpers.merge(cfg || {}, {\r\n\t\t\t\ttype: klass.charAt(0).toLowerCase() + klass.slice(1)\r\n\t\t\t}));\r\n\t\t};\r\n\t}\r\n);\n\nreturn src;\n\n})));\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"feather\"] = factory();\n\telse\n\t\troot[\"feather\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./dist/icons.json\":\n/*!*************************!*\\\n  !*** ./dist/icons.json ***!\n  \\*************************/\n/*! exports provided: activity, airplay, alert-circle, alert-octagon, alert-triangle, align-center, align-justify, align-left, align-right, anchor, aperture, archive, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, award, bar-chart-2, bar-chart, battery-charging, battery, bell-off, bell, bluetooth, bold, book-open, book, bookmark, box, briefcase, calendar, camera-off, camera, cast, check-circle, check-square, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, chrome, circle, clipboard, clock, cloud-drizzle, cloud-lightning, cloud-off, cloud-rain, cloud-snow, cloud, code, codepen, codesandbox, coffee, columns, command, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, cpu, credit-card, crop, crosshair, database, delete, disc, divide-circle, divide-square, divide, dollar-sign, download-cloud, download, dribbble, droplet, edit-2, edit-3, edit, external-link, eye-off, eye, facebook, fast-forward, feather, figma, file-minus, file-plus, file-text, file, film, filter, flag, folder-minus, folder-plus, folder, framer, frown, gift, git-branch, git-commit, git-merge, git-pull-request, github, gitlab, globe, grid, hard-drive, hash, headphones, heart, help-circle, hexagon, home, image, inbox, info, instagram, italic, key, layers, layout, life-buoy, link-2, link, linkedin, list, loader, lock, log-in, log-out, mail, map-pin, map, maximize-2, maximize, meh, menu, message-circle, message-square, mic-off, mic, minimize-2, minimize, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, mouse-pointer, move, music, navigation-2, navigation, octagon, package, paperclip, pause-circle, pause, pen-tool, percent, phone-call, phone-forwarded, phone-incoming, phone-missed, phone-off, phone-outgoing, phone, pie-chart, play-circle, play, plus-circle, plus-square, plus, pocket, power, printer, radio, refresh-ccw, refresh-cw, repeat, rewind, rotate-ccw, rotate-cw, rss, save, scissors, search, send, server, settings, share-2, share, shield-off, shield, shopping-bag, shopping-cart, shuffle, sidebar, skip-back, skip-forward, slack, slash, sliders, smartphone, smile, speaker, square, star, stop-circle, sun, sunrise, sunset, table, tablet, tag, target, terminal, thermometer, thumbs-down, thumbs-up, toggle-left, toggle-right, tool, trash-2, trash, trello, trending-down, trending-up, triangle, truck, tv, twitch, twitter, type, umbrella, underline, unlock, upload-cloud, upload, user-check, user-minus, user-plus, user-x, user, users, video-off, video, voicemail, volume-1, volume-2, volume-x, volume, watch, wifi-off, wifi, wind, x-circle, x-octagon, x-square, x, youtube, zap-off, zap, zoom-in, zoom-out, default */\n/***/ (function(module) {\n\nmodule.exports = {\"activity\":\"<polyline points=\\\"22 12 18 12 15 21 9 3 6 12 2 12\\\"></polyline>\",\"airplay\":\"<path d=\\\"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1\\\"></path><polygon points=\\\"12 15 17 21 7 21 12 15\\\"></polygon>\",\"alert-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"16\\\" x2=\\\"12.01\\\" y2=\\\"16\\\"></line>\",\"alert-octagon\":\"<polygon points=\\\"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2\\\"></polygon><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"16\\\" x2=\\\"12.01\\\" y2=\\\"16\\\"></line>\",\"alert-triangle\":\"<path d=\\\"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z\\\"></path><line x1=\\\"12\\\" y1=\\\"9\\\" x2=\\\"12\\\" y2=\\\"13\\\"></line><line x1=\\\"12\\\" y1=\\\"17\\\" x2=\\\"12.01\\\" y2=\\\"17\\\"></line>\",\"align-center\":\"<line x1=\\\"18\\\" y1=\\\"10\\\" x2=\\\"6\\\" y2=\\\"10\\\"></line><line x1=\\\"21\\\" y1=\\\"6\\\" x2=\\\"3\\\" y2=\\\"6\\\"></line><line x1=\\\"21\\\" y1=\\\"14\\\" x2=\\\"3\\\" y2=\\\"14\\\"></line><line x1=\\\"18\\\" y1=\\\"18\\\" x2=\\\"6\\\" y2=\\\"18\\\"></line>\",\"align-justify\":\"<line x1=\\\"21\\\" y1=\\\"10\\\" x2=\\\"3\\\" y2=\\\"10\\\"></line><line x1=\\\"21\\\" y1=\\\"6\\\" x2=\\\"3\\\" y2=\\\"6\\\"></line><line x1=\\\"21\\\" y1=\\\"14\\\" x2=\\\"3\\\" y2=\\\"14\\\"></line><line x1=\\\"21\\\" y1=\\\"18\\\" x2=\\\"3\\\" y2=\\\"18\\\"></line>\",\"align-left\":\"<line x1=\\\"17\\\" y1=\\\"10\\\" x2=\\\"3\\\" y2=\\\"10\\\"></line><line x1=\\\"21\\\" y1=\\\"6\\\" x2=\\\"3\\\" y2=\\\"6\\\"></line><line x1=\\\"21\\\" y1=\\\"14\\\" x2=\\\"3\\\" y2=\\\"14\\\"></line><line x1=\\\"17\\\" y1=\\\"18\\\" x2=\\\"3\\\" y2=\\\"18\\\"></line>\",\"align-right\":\"<line x1=\\\"21\\\" y1=\\\"10\\\" x2=\\\"7\\\" y2=\\\"10\\\"></line><line x1=\\\"21\\\" y1=\\\"6\\\" x2=\\\"3\\\" y2=\\\"6\\\"></line><line x1=\\\"21\\\" y1=\\\"14\\\" x2=\\\"3\\\" y2=\\\"14\\\"></line><line x1=\\\"21\\\" y1=\\\"18\\\" x2=\\\"7\\\" y2=\\\"18\\\"></line>\",\"anchor\":\"<circle cx=\\\"12\\\" cy=\\\"5\\\" r=\\\"3\\\"></circle><line x1=\\\"12\\\" y1=\\\"22\\\" x2=\\\"12\\\" y2=\\\"8\\\"></line><path d=\\\"M5 12H2a10 10 0 0 0 20 0h-3\\\"></path>\",\"aperture\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"14.31\\\" y1=\\\"8\\\" x2=\\\"20.05\\\" y2=\\\"17.94\\\"></line><line x1=\\\"9.69\\\" y1=\\\"8\\\" x2=\\\"21.17\\\" y2=\\\"8\\\"></line><line x1=\\\"7.38\\\" y1=\\\"12\\\" x2=\\\"13.12\\\" y2=\\\"2.06\\\"></line><line x1=\\\"9.69\\\" y1=\\\"16\\\" x2=\\\"3.95\\\" y2=\\\"6.06\\\"></line><line x1=\\\"14.31\\\" y1=\\\"16\\\" x2=\\\"2.83\\\" y2=\\\"16\\\"></line><line x1=\\\"16.62\\\" y1=\\\"12\\\" x2=\\\"10.88\\\" y2=\\\"21.94\\\"></line>\",\"archive\":\"<polyline points=\\\"21 8 21 21 3 21 3 8\\\"></polyline><rect x=\\\"1\\\" y=\\\"3\\\" width=\\\"22\\\" height=\\\"5\\\"></rect><line x1=\\\"10\\\" y1=\\\"12\\\" x2=\\\"14\\\" y2=\\\"12\\\"></line>\",\"arrow-down-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polyline points=\\\"8 12 12 16 16 12\\\"></polyline><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"16\\\"></line>\",\"arrow-down-left\":\"<line x1=\\\"17\\\" y1=\\\"7\\\" x2=\\\"7\\\" y2=\\\"17\\\"></line><polyline points=\\\"17 17 7 17 7 7\\\"></polyline>\",\"arrow-down-right\":\"<line x1=\\\"7\\\" y1=\\\"7\\\" x2=\\\"17\\\" y2=\\\"17\\\"></line><polyline points=\\\"17 7 17 17 7 17\\\"></polyline>\",\"arrow-down\":\"<line x1=\\\"12\\\" y1=\\\"5\\\" x2=\\\"12\\\" y2=\\\"19\\\"></line><polyline points=\\\"19 12 12 19 5 12\\\"></polyline>\",\"arrow-left-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polyline points=\\\"12 8 8 12 12 16\\\"></polyline><line x1=\\\"16\\\" y1=\\\"12\\\" x2=\\\"8\\\" y2=\\\"12\\\"></line>\",\"arrow-left\":\"<line x1=\\\"19\\\" y1=\\\"12\\\" x2=\\\"5\\\" y2=\\\"12\\\"></line><polyline points=\\\"12 19 5 12 12 5\\\"></polyline>\",\"arrow-right-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polyline points=\\\"12 16 16 12 12 8\\\"></polyline><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line>\",\"arrow-right\":\"<line x1=\\\"5\\\" y1=\\\"12\\\" x2=\\\"19\\\" y2=\\\"12\\\"></line><polyline points=\\\"12 5 19 12 12 19\\\"></polyline>\",\"arrow-up-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polyline points=\\\"16 12 12 8 8 12\\\"></polyline><line x1=\\\"12\\\" y1=\\\"16\\\" x2=\\\"12\\\" y2=\\\"8\\\"></line>\",\"arrow-up-left\":\"<line x1=\\\"17\\\" y1=\\\"17\\\" x2=\\\"7\\\" y2=\\\"7\\\"></line><polyline points=\\\"7 17 7 7 17 7\\\"></polyline>\",\"arrow-up-right\":\"<line x1=\\\"7\\\" y1=\\\"17\\\" x2=\\\"17\\\" y2=\\\"7\\\"></line><polyline points=\\\"7 7 17 7 17 17\\\"></polyline>\",\"arrow-up\":\"<line x1=\\\"12\\\" y1=\\\"19\\\" x2=\\\"12\\\" y2=\\\"5\\\"></line><polyline points=\\\"5 12 12 5 19 12\\\"></polyline>\",\"at-sign\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"></circle><path d=\\\"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94\\\"></path>\",\"award\":\"<circle cx=\\\"12\\\" cy=\\\"8\\\" r=\\\"7\\\"></circle><polyline points=\\\"8.21 13.89 7 23 12 20 17 23 15.79 13.88\\\"></polyline>\",\"bar-chart-2\":\"<line x1=\\\"18\\\" y1=\\\"20\\\" x2=\\\"18\\\" y2=\\\"10\\\"></line><line x1=\\\"12\\\" y1=\\\"20\\\" x2=\\\"12\\\" y2=\\\"4\\\"></line><line x1=\\\"6\\\" y1=\\\"20\\\" x2=\\\"6\\\" y2=\\\"14\\\"></line>\",\"bar-chart\":\"<line x1=\\\"12\\\" y1=\\\"20\\\" x2=\\\"12\\\" y2=\\\"10\\\"></line><line x1=\\\"18\\\" y1=\\\"20\\\" x2=\\\"18\\\" y2=\\\"4\\\"></line><line x1=\\\"6\\\" y1=\\\"20\\\" x2=\\\"6\\\" y2=\\\"16\\\"></line>\",\"battery-charging\":\"<path d=\\\"M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19\\\"></path><line x1=\\\"23\\\" y1=\\\"13\\\" x2=\\\"23\\\" y2=\\\"11\\\"></line><polyline points=\\\"11 6 7 12 13 12 9 18\\\"></polyline>\",\"battery\":\"<rect x=\\\"1\\\" y=\\\"6\\\" width=\\\"18\\\" height=\\\"12\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"23\\\" y1=\\\"13\\\" x2=\\\"23\\\" y2=\\\"11\\\"></line>\",\"bell-off\":\"<path d=\\\"M13.73 21a2 2 0 0 1-3.46 0\\\"></path><path d=\\\"M18.63 13A17.89 17.89 0 0 1 18 8\\\"></path><path d=\\\"M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14\\\"></path><path d=\\\"M18 8a6 6 0 0 0-9.33-5\\\"></path><line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line>\",\"bell\":\"<path d=\\\"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9\\\"></path><path d=\\\"M13.73 21a2 2 0 0 1-3.46 0\\\"></path>\",\"bluetooth\":\"<polyline points=\\\"6.5 6.5 17.5 17.5 12 23 12 1 17.5 6.5 6.5 17.5\\\"></polyline>\",\"bold\":\"<path d=\\\"M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z\\\"></path><path d=\\\"M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z\\\"></path>\",\"book-open\":\"<path d=\\\"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z\\\"></path><path d=\\\"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z\\\"></path>\",\"book\":\"<path d=\\\"M4 19.5A2.5 2.5 0 0 1 6.5 17H20\\\"></path><path d=\\\"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z\\\"></path>\",\"bookmark\":\"<path d=\\\"M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z\\\"></path>\",\"box\":\"<path d=\\\"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z\\\"></path><polyline points=\\\"3.27 6.96 12 12.01 20.73 6.96\\\"></polyline><line x1=\\\"12\\\" y1=\\\"22.08\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line>\",\"briefcase\":\"<rect x=\\\"2\\\" y=\\\"7\\\" width=\\\"20\\\" height=\\\"14\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><path d=\\\"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16\\\"></path>\",\"calendar\":\"<rect x=\\\"3\\\" y=\\\"4\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"16\\\" y1=\\\"2\\\" x2=\\\"16\\\" y2=\\\"6\\\"></line><line x1=\\\"8\\\" y1=\\\"2\\\" x2=\\\"8\\\" y2=\\\"6\\\"></line><line x1=\\\"3\\\" y1=\\\"10\\\" x2=\\\"21\\\" y2=\\\"10\\\"></line>\",\"camera-off\":\"<line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line><path d=\\\"M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56\\\"></path>\",\"camera\":\"<path d=\\\"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z\\\"></path><circle cx=\\\"12\\\" cy=\\\"13\\\" r=\\\"4\\\"></circle>\",\"cast\":\"<path d=\\\"M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6\\\"></path><line x1=\\\"2\\\" y1=\\\"20\\\" x2=\\\"2.01\\\" y2=\\\"20\\\"></line>\",\"check-circle\":\"<path d=\\\"M22 11.08V12a10 10 0 1 1-5.93-9.14\\\"></path><polyline points=\\\"22 4 12 14.01 9 11.01\\\"></polyline>\",\"check-square\":\"<polyline points=\\\"9 11 12 14 22 4\\\"></polyline><path d=\\\"M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11\\\"></path>\",\"check\":\"<polyline points=\\\"20 6 9 17 4 12\\\"></polyline>\",\"chevron-down\":\"<polyline points=\\\"6 9 12 15 18 9\\\"></polyline>\",\"chevron-left\":\"<polyline points=\\\"15 18 9 12 15 6\\\"></polyline>\",\"chevron-right\":\"<polyline points=\\\"9 18 15 12 9 6\\\"></polyline>\",\"chevron-up\":\"<polyline points=\\\"18 15 12 9 6 15\\\"></polyline>\",\"chevrons-down\":\"<polyline points=\\\"7 13 12 18 17 13\\\"></polyline><polyline points=\\\"7 6 12 11 17 6\\\"></polyline>\",\"chevrons-left\":\"<polyline points=\\\"11 17 6 12 11 7\\\"></polyline><polyline points=\\\"18 17 13 12 18 7\\\"></polyline>\",\"chevrons-right\":\"<polyline points=\\\"13 17 18 12 13 7\\\"></polyline><polyline points=\\\"6 17 11 12 6 7\\\"></polyline>\",\"chevrons-up\":\"<polyline points=\\\"17 11 12 6 7 11\\\"></polyline><polyline points=\\\"17 18 12 13 7 18\\\"></polyline>\",\"chrome\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"></circle><line x1=\\\"21.17\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"8\\\"></line><line x1=\\\"3.95\\\" y1=\\\"6.06\\\" x2=\\\"8.54\\\" y2=\\\"14\\\"></line><line x1=\\\"10.88\\\" y1=\\\"21.94\\\" x2=\\\"15.46\\\" y2=\\\"14\\\"></line>\",\"circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle>\",\"clipboard\":\"<path d=\\\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\\\"></path><rect x=\\\"8\\\" y=\\\"2\\\" width=\\\"8\\\" height=\\\"4\\\" rx=\\\"1\\\" ry=\\\"1\\\"></rect>\",\"clock\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polyline points=\\\"12 6 12 12 16 14\\\"></polyline>\",\"cloud-drizzle\":\"<line x1=\\\"8\\\" y1=\\\"19\\\" x2=\\\"8\\\" y2=\\\"21\\\"></line><line x1=\\\"8\\\" y1=\\\"13\\\" x2=\\\"8\\\" y2=\\\"15\\\"></line><line x1=\\\"16\\\" y1=\\\"19\\\" x2=\\\"16\\\" y2=\\\"21\\\"></line><line x1=\\\"16\\\" y1=\\\"13\\\" x2=\\\"16\\\" y2=\\\"15\\\"></line><line x1=\\\"12\\\" y1=\\\"21\\\" x2=\\\"12\\\" y2=\\\"23\\\"></line><line x1=\\\"12\\\" y1=\\\"15\\\" x2=\\\"12\\\" y2=\\\"17\\\"></line><path d=\\\"M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25\\\"></path>\",\"cloud-lightning\":\"<path d=\\\"M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9\\\"></path><polyline points=\\\"13 11 9 17 15 17 11 23\\\"></polyline>\",\"cloud-off\":\"<path d=\\\"M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3\\\"></path><line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line>\",\"cloud-rain\":\"<line x1=\\\"16\\\" y1=\\\"13\\\" x2=\\\"16\\\" y2=\\\"21\\\"></line><line x1=\\\"8\\\" y1=\\\"13\\\" x2=\\\"8\\\" y2=\\\"21\\\"></line><line x1=\\\"12\\\" y1=\\\"15\\\" x2=\\\"12\\\" y2=\\\"23\\\"></line><path d=\\\"M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25\\\"></path>\",\"cloud-snow\":\"<path d=\\\"M20 17.58A5 5 0 0 0 18 8h-1.26A8 8 0 1 0 4 16.25\\\"></path><line x1=\\\"8\\\" y1=\\\"16\\\" x2=\\\"8.01\\\" y2=\\\"16\\\"></line><line x1=\\\"8\\\" y1=\\\"20\\\" x2=\\\"8.01\\\" y2=\\\"20\\\"></line><line x1=\\\"12\\\" y1=\\\"18\\\" x2=\\\"12.01\\\" y2=\\\"18\\\"></line><line x1=\\\"12\\\" y1=\\\"22\\\" x2=\\\"12.01\\\" y2=\\\"22\\\"></line><line x1=\\\"16\\\" y1=\\\"16\\\" x2=\\\"16.01\\\" y2=\\\"16\\\"></line><line x1=\\\"16\\\" y1=\\\"20\\\" x2=\\\"16.01\\\" y2=\\\"20\\\"></line>\",\"cloud\":\"<path d=\\\"M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z\\\"></path>\",\"code\":\"<polyline points=\\\"16 18 22 12 16 6\\\"></polyline><polyline points=\\\"8 6 2 12 8 18\\\"></polyline>\",\"codepen\":\"<polygon points=\\\"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2\\\"></polygon><line x1=\\\"12\\\" y1=\\\"22\\\" x2=\\\"12\\\" y2=\\\"15.5\\\"></line><polyline points=\\\"22 8.5 12 15.5 2 8.5\\\"></polyline><polyline points=\\\"2 15.5 12 8.5 22 15.5\\\"></polyline><line x1=\\\"12\\\" y1=\\\"2\\\" x2=\\\"12\\\" y2=\\\"8.5\\\"></line>\",\"codesandbox\":\"<path d=\\\"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z\\\"></path><polyline points=\\\"7.5 4.21 12 6.81 16.5 4.21\\\"></polyline><polyline points=\\\"7.5 19.79 7.5 14.6 3 12\\\"></polyline><polyline points=\\\"21 12 16.5 14.6 16.5 19.79\\\"></polyline><polyline points=\\\"3.27 6.96 12 12.01 20.73 6.96\\\"></polyline><line x1=\\\"12\\\" y1=\\\"22.08\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line>\",\"coffee\":\"<path d=\\\"M18 8h1a4 4 0 0 1 0 8h-1\\\"></path><path d=\\\"M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z\\\"></path><line x1=\\\"6\\\" y1=\\\"1\\\" x2=\\\"6\\\" y2=\\\"4\\\"></line><line x1=\\\"10\\\" y1=\\\"1\\\" x2=\\\"10\\\" y2=\\\"4\\\"></line><line x1=\\\"14\\\" y1=\\\"1\\\" x2=\\\"14\\\" y2=\\\"4\\\"></line>\",\"columns\":\"<path d=\\\"M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18\\\"></path>\",\"command\":\"<path d=\\\"M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z\\\"></path>\",\"compass\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polygon points=\\\"16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76\\\"></polygon>\",\"copy\":\"<rect x=\\\"9\\\" y=\\\"9\\\" width=\\\"13\\\" height=\\\"13\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><path d=\\\"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1\\\"></path>\",\"corner-down-left\":\"<polyline points=\\\"9 10 4 15 9 20\\\"></polyline><path d=\\\"M20 4v7a4 4 0 0 1-4 4H4\\\"></path>\",\"corner-down-right\":\"<polyline points=\\\"15 10 20 15 15 20\\\"></polyline><path d=\\\"M4 4v7a4 4 0 0 0 4 4h12\\\"></path>\",\"corner-left-down\":\"<polyline points=\\\"14 15 9 20 4 15\\\"></polyline><path d=\\\"M20 4h-7a4 4 0 0 0-4 4v12\\\"></path>\",\"corner-left-up\":\"<polyline points=\\\"14 9 9 4 4 9\\\"></polyline><path d=\\\"M20 20h-7a4 4 0 0 1-4-4V4\\\"></path>\",\"corner-right-down\":\"<polyline points=\\\"10 15 15 20 20 15\\\"></polyline><path d=\\\"M4 4h7a4 4 0 0 1 4 4v12\\\"></path>\",\"corner-right-up\":\"<polyline points=\\\"10 9 15 4 20 9\\\"></polyline><path d=\\\"M4 20h7a4 4 0 0 0 4-4V4\\\"></path>\",\"corner-up-left\":\"<polyline points=\\\"9 14 4 9 9 4\\\"></polyline><path d=\\\"M20 20v-7a4 4 0 0 0-4-4H4\\\"></path>\",\"corner-up-right\":\"<polyline points=\\\"15 14 20 9 15 4\\\"></polyline><path d=\\\"M4 20v-7a4 4 0 0 1 4-4h12\\\"></path>\",\"cpu\":\"<rect x=\\\"4\\\" y=\\\"4\\\" width=\\\"16\\\" height=\\\"16\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><rect x=\\\"9\\\" y=\\\"9\\\" width=\\\"6\\\" height=\\\"6\\\"></rect><line x1=\\\"9\\\" y1=\\\"1\\\" x2=\\\"9\\\" y2=\\\"4\\\"></line><line x1=\\\"15\\\" y1=\\\"1\\\" x2=\\\"15\\\" y2=\\\"4\\\"></line><line x1=\\\"9\\\" y1=\\\"20\\\" x2=\\\"9\\\" y2=\\\"23\\\"></line><line x1=\\\"15\\\" y1=\\\"20\\\" x2=\\\"15\\\" y2=\\\"23\\\"></line><line x1=\\\"20\\\" y1=\\\"9\\\" x2=\\\"23\\\" y2=\\\"9\\\"></line><line x1=\\\"20\\\" y1=\\\"14\\\" x2=\\\"23\\\" y2=\\\"14\\\"></line><line x1=\\\"1\\\" y1=\\\"9\\\" x2=\\\"4\\\" y2=\\\"9\\\"></line><line x1=\\\"1\\\" y1=\\\"14\\\" x2=\\\"4\\\" y2=\\\"14\\\"></line>\",\"credit-card\":\"<rect x=\\\"1\\\" y=\\\"4\\\" width=\\\"22\\\" height=\\\"16\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"1\\\" y1=\\\"10\\\" x2=\\\"23\\\" y2=\\\"10\\\"></line>\",\"crop\":\"<path d=\\\"M6.13 1L6 16a2 2 0 0 0 2 2h15\\\"></path><path d=\\\"M1 6.13L16 6a2 2 0 0 1 2 2v15\\\"></path>\",\"crosshair\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"22\\\" y1=\\\"12\\\" x2=\\\"18\\\" y2=\\\"12\\\"></line><line x1=\\\"6\\\" y1=\\\"12\\\" x2=\\\"2\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"6\\\" x2=\\\"12\\\" y2=\\\"2\\\"></line><line x1=\\\"12\\\" y1=\\\"22\\\" x2=\\\"12\\\" y2=\\\"18\\\"></line>\",\"database\":\"<ellipse cx=\\\"12\\\" cy=\\\"5\\\" rx=\\\"9\\\" ry=\\\"3\\\"></ellipse><path d=\\\"M21 12c0 1.66-4 3-9 3s-9-1.34-9-3\\\"></path><path d=\\\"M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5\\\"></path>\",\"delete\":\"<path d=\\\"M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z\\\"></path><line x1=\\\"18\\\" y1=\\\"9\\\" x2=\\\"12\\\" y2=\\\"15\\\"></line><line x1=\\\"12\\\" y1=\\\"9\\\" x2=\\\"18\\\" y2=\\\"15\\\"></line>\",\"disc\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"></circle>\",\"divide-circle\":\"<line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"16\\\" x2=\\\"12\\\" y2=\\\"16\\\"></line><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"8\\\"></line><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle>\",\"divide-square\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"16\\\" x2=\\\"12\\\" y2=\\\"16\\\"></line><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"8\\\"></line>\",\"divide\":\"<circle cx=\\\"12\\\" cy=\\\"6\\\" r=\\\"2\\\"></circle><line x1=\\\"5\\\" y1=\\\"12\\\" x2=\\\"19\\\" y2=\\\"12\\\"></line><circle cx=\\\"12\\\" cy=\\\"18\\\" r=\\\"2\\\"></circle>\",\"dollar-sign\":\"<line x1=\\\"12\\\" y1=\\\"1\\\" x2=\\\"12\\\" y2=\\\"23\\\"></line><path d=\\\"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6\\\"></path>\",\"download-cloud\":\"<polyline points=\\\"8 17 12 21 16 17\\\"></polyline><line x1=\\\"12\\\" y1=\\\"12\\\" x2=\\\"12\\\" y2=\\\"21\\\"></line><path d=\\\"M20.88 18.09A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.29\\\"></path>\",\"download\":\"<path d=\\\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"></path><polyline points=\\\"7 10 12 15 17 10\\\"></polyline><line x1=\\\"12\\\" y1=\\\"15\\\" x2=\\\"12\\\" y2=\\\"3\\\"></line>\",\"dribbble\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><path d=\\\"M8.56 2.75c4.37 6.03 6.02 9.42 8.03 17.72m2.54-15.38c-3.72 4.35-8.94 5.66-16.88 5.85m19.5 1.9c-3.5-.93-6.63-.82-8.94 0-2.58.92-5.01 2.86-7.44 6.32\\\"></path>\",\"droplet\":\"<path d=\\\"M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z\\\"></path>\",\"edit-2\":\"<path d=\\\"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z\\\"></path>\",\"edit-3\":\"<path d=\\\"M12 20h9\\\"></path><path d=\\\"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z\\\"></path>\",\"edit\":\"<path d=\\\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\\\"></path><path d=\\\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\\\"></path>\",\"external-link\":\"<path d=\\\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\\\"></path><polyline points=\\\"15 3 21 3 21 9\\\"></polyline><line x1=\\\"10\\\" y1=\\\"14\\\" x2=\\\"21\\\" y2=\\\"3\\\"></line>\",\"eye-off\":\"<path d=\\\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\\\"></path><line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line>\",\"eye\":\"<path d=\\\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\\\"></path><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"></circle>\",\"facebook\":\"<path d=\\\"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z\\\"></path>\",\"fast-forward\":\"<polygon points=\\\"13 19 22 12 13 5 13 19\\\"></polygon><polygon points=\\\"2 19 11 12 2 5 2 19\\\"></polygon>\",\"feather\":\"<path d=\\\"M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z\\\"></path><line x1=\\\"16\\\" y1=\\\"8\\\" x2=\\\"2\\\" y2=\\\"22\\\"></line><line x1=\\\"17.5\\\" y1=\\\"15\\\" x2=\\\"9\\\" y2=\\\"15\\\"></line>\",\"figma\":\"<path d=\\\"M5 5.5A3.5 3.5 0 0 1 8.5 2H12v7H8.5A3.5 3.5 0 0 1 5 5.5z\\\"></path><path d=\\\"M12 2h3.5a3.5 3.5 0 1 1 0 7H12V2z\\\"></path><path d=\\\"M12 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 1 1-7 0z\\\"></path><path d=\\\"M5 19.5A3.5 3.5 0 0 1 8.5 16H12v3.5a3.5 3.5 0 1 1-7 0z\\\"></path><path d=\\\"M5 12.5A3.5 3.5 0 0 1 8.5 9H12v7H8.5A3.5 3.5 0 0 1 5 12.5z\\\"></path>\",\"file-minus\":\"<path d=\\\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\\\"></path><polyline points=\\\"14 2 14 8 20 8\\\"></polyline><line x1=\\\"9\\\" y1=\\\"15\\\" x2=\\\"15\\\" y2=\\\"15\\\"></line>\",\"file-plus\":\"<path d=\\\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\\\"></path><polyline points=\\\"14 2 14 8 20 8\\\"></polyline><line x1=\\\"12\\\" y1=\\\"18\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line><line x1=\\\"9\\\" y1=\\\"15\\\" x2=\\\"15\\\" y2=\\\"15\\\"></line>\",\"file-text\":\"<path d=\\\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\\\"></path><polyline points=\\\"14 2 14 8 20 8\\\"></polyline><line x1=\\\"16\\\" y1=\\\"13\\\" x2=\\\"8\\\" y2=\\\"13\\\"></line><line x1=\\\"16\\\" y1=\\\"17\\\" x2=\\\"8\\\" y2=\\\"17\\\"></line><polyline points=\\\"10 9 9 9 8 9\\\"></polyline>\",\"file\":\"<path d=\\\"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z\\\"></path><polyline points=\\\"13 2 13 9 20 9\\\"></polyline>\",\"film\":\"<rect x=\\\"2\\\" y=\\\"2\\\" width=\\\"20\\\" height=\\\"20\\\" rx=\\\"2.18\\\" ry=\\\"2.18\\\"></rect><line x1=\\\"7\\\" y1=\\\"2\\\" x2=\\\"7\\\" y2=\\\"22\\\"></line><line x1=\\\"17\\\" y1=\\\"2\\\" x2=\\\"17\\\" y2=\\\"22\\\"></line><line x1=\\\"2\\\" y1=\\\"12\\\" x2=\\\"22\\\" y2=\\\"12\\\"></line><line x1=\\\"2\\\" y1=\\\"7\\\" x2=\\\"7\\\" y2=\\\"7\\\"></line><line x1=\\\"2\\\" y1=\\\"17\\\" x2=\\\"7\\\" y2=\\\"17\\\"></line><line x1=\\\"17\\\" y1=\\\"17\\\" x2=\\\"22\\\" y2=\\\"17\\\"></line><line x1=\\\"17\\\" y1=\\\"7\\\" x2=\\\"22\\\" y2=\\\"7\\\"></line>\",\"filter\":\"<polygon points=\\\"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3\\\"></polygon>\",\"flag\":\"<path d=\\\"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z\\\"></path><line x1=\\\"4\\\" y1=\\\"22\\\" x2=\\\"4\\\" y2=\\\"15\\\"></line>\",\"folder-minus\":\"<path d=\\\"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z\\\"></path><line x1=\\\"9\\\" y1=\\\"14\\\" x2=\\\"15\\\" y2=\\\"14\\\"></line>\",\"folder-plus\":\"<path d=\\\"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z\\\"></path><line x1=\\\"12\\\" y1=\\\"11\\\" x2=\\\"12\\\" y2=\\\"17\\\"></line><line x1=\\\"9\\\" y1=\\\"14\\\" x2=\\\"15\\\" y2=\\\"14\\\"></line>\",\"folder\":\"<path d=\\\"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z\\\"></path>\",\"framer\":\"<path d=\\\"M5 16V9h14V2H5l14 14h-7m-7 0l7 7v-7m-7 0h7\\\"></path>\",\"frown\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><path d=\\\"M16 16s-1.5-2-4-2-4 2-4 2\\\"></path><line x1=\\\"9\\\" y1=\\\"9\\\" x2=\\\"9.01\\\" y2=\\\"9\\\"></line><line x1=\\\"15\\\" y1=\\\"9\\\" x2=\\\"15.01\\\" y2=\\\"9\\\"></line>\",\"gift\":\"<polyline points=\\\"20 12 20 22 4 22 4 12\\\"></polyline><rect x=\\\"2\\\" y=\\\"7\\\" width=\\\"20\\\" height=\\\"5\\\"></rect><line x1=\\\"12\\\" y1=\\\"22\\\" x2=\\\"12\\\" y2=\\\"7\\\"></line><path d=\\\"M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z\\\"></path><path d=\\\"M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z\\\"></path>\",\"git-branch\":\"<line x1=\\\"6\\\" y1=\\\"3\\\" x2=\\\"6\\\" y2=\\\"15\\\"></line><circle cx=\\\"18\\\" cy=\\\"6\\\" r=\\\"3\\\"></circle><circle cx=\\\"6\\\" cy=\\\"18\\\" r=\\\"3\\\"></circle><path d=\\\"M18 9a9 9 0 0 1-9 9\\\"></path>\",\"git-commit\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"></circle><line x1=\\\"1.05\\\" y1=\\\"12\\\" x2=\\\"7\\\" y2=\\\"12\\\"></line><line x1=\\\"17.01\\\" y1=\\\"12\\\" x2=\\\"22.96\\\" y2=\\\"12\\\"></line>\",\"git-merge\":\"<circle cx=\\\"18\\\" cy=\\\"18\\\" r=\\\"3\\\"></circle><circle cx=\\\"6\\\" cy=\\\"6\\\" r=\\\"3\\\"></circle><path d=\\\"M6 21V9a9 9 0 0 0 9 9\\\"></path>\",\"git-pull-request\":\"<circle cx=\\\"18\\\" cy=\\\"18\\\" r=\\\"3\\\"></circle><circle cx=\\\"6\\\" cy=\\\"6\\\" r=\\\"3\\\"></circle><path d=\\\"M13 6h3a2 2 0 0 1 2 2v7\\\"></path><line x1=\\\"6\\\" y1=\\\"9\\\" x2=\\\"6\\\" y2=\\\"21\\\"></line>\",\"github\":\"<path d=\\\"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22\\\"></path>\",\"gitlab\":\"<path d=\\\"M22.65 14.39L12 22.13 1.35 14.39a.84.84 0 0 1-.3-.94l1.22-3.78 2.44-7.51A.42.42 0 0 1 4.82 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.49h8.1l2.44-7.51A.42.42 0 0 1 18.6 2a.43.43 0 0 1 .58 0 .42.42 0 0 1 .11.18l2.44 7.51L23 13.45a.84.84 0 0 1-.35.94z\\\"></path>\",\"globe\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"2\\\" y1=\\\"12\\\" x2=\\\"22\\\" y2=\\\"12\\\"></line><path d=\\\"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z\\\"></path>\",\"grid\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"7\\\" height=\\\"7\\\"></rect><rect x=\\\"14\\\" y=\\\"3\\\" width=\\\"7\\\" height=\\\"7\\\"></rect><rect x=\\\"14\\\" y=\\\"14\\\" width=\\\"7\\\" height=\\\"7\\\"></rect><rect x=\\\"3\\\" y=\\\"14\\\" width=\\\"7\\\" height=\\\"7\\\"></rect>\",\"hard-drive\":\"<line x1=\\\"22\\\" y1=\\\"12\\\" x2=\\\"2\\\" y2=\\\"12\\\"></line><path d=\\\"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z\\\"></path><line x1=\\\"6\\\" y1=\\\"16\\\" x2=\\\"6.01\\\" y2=\\\"16\\\"></line><line x1=\\\"10\\\" y1=\\\"16\\\" x2=\\\"10.01\\\" y2=\\\"16\\\"></line>\",\"hash\":\"<line x1=\\\"4\\\" y1=\\\"9\\\" x2=\\\"20\\\" y2=\\\"9\\\"></line><line x1=\\\"4\\\" y1=\\\"15\\\" x2=\\\"20\\\" y2=\\\"15\\\"></line><line x1=\\\"10\\\" y1=\\\"3\\\" x2=\\\"8\\\" y2=\\\"21\\\"></line><line x1=\\\"16\\\" y1=\\\"3\\\" x2=\\\"14\\\" y2=\\\"21\\\"></line>\",\"headphones\":\"<path d=\\\"M3 18v-6a9 9 0 0 1 18 0v6\\\"></path><path d=\\\"M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z\\\"></path>\",\"heart\":\"<path d=\\\"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z\\\"></path>\",\"help-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><path d=\\\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\\\"></path><line x1=\\\"12\\\" y1=\\\"17\\\" x2=\\\"12.01\\\" y2=\\\"17\\\"></line>\",\"hexagon\":\"<path d=\\\"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z\\\"></path>\",\"home\":\"<path d=\\\"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\\\"></path><polyline points=\\\"9 22 9 12 15 12 15 22\\\"></polyline>\",\"image\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><circle cx=\\\"8.5\\\" cy=\\\"8.5\\\" r=\\\"1.5\\\"></circle><polyline points=\\\"21 15 16 10 5 21\\\"></polyline>\",\"inbox\":\"<polyline points=\\\"22 12 16 12 14 15 10 15 8 12 2 12\\\"></polyline><path d=\\\"M5.45 5.11L2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z\\\"></path>\",\"info\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"12\\\" y1=\\\"16\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12.01\\\" y2=\\\"8\\\"></line>\",\"instagram\":\"<rect x=\\\"2\\\" y=\\\"2\\\" width=\\\"20\\\" height=\\\"20\\\" rx=\\\"5\\\" ry=\\\"5\\\"></rect><path d=\\\"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z\\\"></path><line x1=\\\"17.5\\\" y1=\\\"6.5\\\" x2=\\\"17.51\\\" y2=\\\"6.5\\\"></line>\",\"italic\":\"<line x1=\\\"19\\\" y1=\\\"4\\\" x2=\\\"10\\\" y2=\\\"4\\\"></line><line x1=\\\"14\\\" y1=\\\"20\\\" x2=\\\"5\\\" y2=\\\"20\\\"></line><line x1=\\\"15\\\" y1=\\\"4\\\" x2=\\\"9\\\" y2=\\\"20\\\"></line>\",\"key\":\"<path d=\\\"M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4\\\"></path>\",\"layers\":\"<polygon points=\\\"12 2 2 7 12 12 22 7 12 2\\\"></polygon><polyline points=\\\"2 17 12 22 22 17\\\"></polyline><polyline points=\\\"2 12 12 17 22 12\\\"></polyline>\",\"layout\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"3\\\" y1=\\\"9\\\" x2=\\\"21\\\" y2=\\\"9\\\"></line><line x1=\\\"9\\\" y1=\\\"21\\\" x2=\\\"9\\\" y2=\\\"9\\\"></line>\",\"life-buoy\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"4\\\"></circle><line x1=\\\"4.93\\\" y1=\\\"4.93\\\" x2=\\\"9.17\\\" y2=\\\"9.17\\\"></line><line x1=\\\"14.83\\\" y1=\\\"14.83\\\" x2=\\\"19.07\\\" y2=\\\"19.07\\\"></line><line x1=\\\"14.83\\\" y1=\\\"9.17\\\" x2=\\\"19.07\\\" y2=\\\"4.93\\\"></line><line x1=\\\"14.83\\\" y1=\\\"9.17\\\" x2=\\\"18.36\\\" y2=\\\"5.64\\\"></line><line x1=\\\"4.93\\\" y1=\\\"19.07\\\" x2=\\\"9.17\\\" y2=\\\"14.83\\\"></line>\",\"link-2\":\"<path d=\\\"M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3\\\"></path><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line>\",\"link\":\"<path d=\\\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\\\"></path><path d=\\\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\\\"></path>\",\"linkedin\":\"<path d=\\\"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z\\\"></path><rect x=\\\"2\\\" y=\\\"9\\\" width=\\\"4\\\" height=\\\"12\\\"></rect><circle cx=\\\"4\\\" cy=\\\"4\\\" r=\\\"2\\\"></circle>\",\"list\":\"<line x1=\\\"8\\\" y1=\\\"6\\\" x2=\\\"21\\\" y2=\\\"6\\\"></line><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"21\\\" y2=\\\"12\\\"></line><line x1=\\\"8\\\" y1=\\\"18\\\" x2=\\\"21\\\" y2=\\\"18\\\"></line><line x1=\\\"3\\\" y1=\\\"6\\\" x2=\\\"3.01\\\" y2=\\\"6\\\"></line><line x1=\\\"3\\\" y1=\\\"12\\\" x2=\\\"3.01\\\" y2=\\\"12\\\"></line><line x1=\\\"3\\\" y1=\\\"18\\\" x2=\\\"3.01\\\" y2=\\\"18\\\"></line>\",\"loader\":\"<line x1=\\\"12\\\" y1=\\\"2\\\" x2=\\\"12\\\" y2=\\\"6\\\"></line><line x1=\\\"12\\\" y1=\\\"18\\\" x2=\\\"12\\\" y2=\\\"22\\\"></line><line x1=\\\"4.93\\\" y1=\\\"4.93\\\" x2=\\\"7.76\\\" y2=\\\"7.76\\\"></line><line x1=\\\"16.24\\\" y1=\\\"16.24\\\" x2=\\\"19.07\\\" y2=\\\"19.07\\\"></line><line x1=\\\"2\\\" y1=\\\"12\\\" x2=\\\"6\\\" y2=\\\"12\\\"></line><line x1=\\\"18\\\" y1=\\\"12\\\" x2=\\\"22\\\" y2=\\\"12\\\"></line><line x1=\\\"4.93\\\" y1=\\\"19.07\\\" x2=\\\"7.76\\\" y2=\\\"16.24\\\"></line><line x1=\\\"16.24\\\" y1=\\\"7.76\\\" x2=\\\"19.07\\\" y2=\\\"4.93\\\"></line>\",\"lock\":\"<rect x=\\\"3\\\" y=\\\"11\\\" width=\\\"18\\\" height=\\\"11\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><path d=\\\"M7 11V7a5 5 0 0 1 10 0v4\\\"></path>\",\"log-in\":\"<path d=\\\"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4\\\"></path><polyline points=\\\"10 17 15 12 10 7\\\"></polyline><line x1=\\\"15\\\" y1=\\\"12\\\" x2=\\\"3\\\" y2=\\\"12\\\"></line>\",\"log-out\":\"<path d=\\\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\\\"></path><polyline points=\\\"16 17 21 12 16 7\\\"></polyline><line x1=\\\"21\\\" y1=\\\"12\\\" x2=\\\"9\\\" y2=\\\"12\\\"></line>\",\"mail\":\"<path d=\\\"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z\\\"></path><polyline points=\\\"22,6 12,13 2,6\\\"></polyline>\",\"map-pin\":\"<path d=\\\"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z\\\"></path><circle cx=\\\"12\\\" cy=\\\"10\\\" r=\\\"3\\\"></circle>\",\"map\":\"<polygon points=\\\"1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6\\\"></polygon><line x1=\\\"8\\\" y1=\\\"2\\\" x2=\\\"8\\\" y2=\\\"18\\\"></line><line x1=\\\"16\\\" y1=\\\"6\\\" x2=\\\"16\\\" y2=\\\"22\\\"></line>\",\"maximize-2\":\"<polyline points=\\\"15 3 21 3 21 9\\\"></polyline><polyline points=\\\"9 21 3 21 3 15\\\"></polyline><line x1=\\\"21\\\" y1=\\\"3\\\" x2=\\\"14\\\" y2=\\\"10\\\"></line><line x1=\\\"3\\\" y1=\\\"21\\\" x2=\\\"10\\\" y2=\\\"14\\\"></line>\",\"maximize\":\"<path d=\\\"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3\\\"></path>\",\"meh\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"8\\\" y1=\\\"15\\\" x2=\\\"16\\\" y2=\\\"15\\\"></line><line x1=\\\"9\\\" y1=\\\"9\\\" x2=\\\"9.01\\\" y2=\\\"9\\\"></line><line x1=\\\"15\\\" y1=\\\"9\\\" x2=\\\"15.01\\\" y2=\\\"9\\\"></line>\",\"menu\":\"<line x1=\\\"3\\\" y1=\\\"12\\\" x2=\\\"21\\\" y2=\\\"12\\\"></line><line x1=\\\"3\\\" y1=\\\"6\\\" x2=\\\"21\\\" y2=\\\"6\\\"></line><line x1=\\\"3\\\" y1=\\\"18\\\" x2=\\\"21\\\" y2=\\\"18\\\"></line>\",\"message-circle\":\"<path d=\\\"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z\\\"></path>\",\"message-square\":\"<path d=\\\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\\\"></path>\",\"mic-off\":\"<line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line><path d=\\\"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6\\\"></path><path d=\\\"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23\\\"></path><line x1=\\\"12\\\" y1=\\\"19\\\" x2=\\\"12\\\" y2=\\\"23\\\"></line><line x1=\\\"8\\\" y1=\\\"23\\\" x2=\\\"16\\\" y2=\\\"23\\\"></line>\",\"mic\":\"<path d=\\\"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z\\\"></path><path d=\\\"M19 10v2a7 7 0 0 1-14 0v-2\\\"></path><line x1=\\\"12\\\" y1=\\\"19\\\" x2=\\\"12\\\" y2=\\\"23\\\"></line><line x1=\\\"8\\\" y1=\\\"23\\\" x2=\\\"16\\\" y2=\\\"23\\\"></line>\",\"minimize-2\":\"<polyline points=\\\"4 14 10 14 10 20\\\"></polyline><polyline points=\\\"20 10 14 10 14 4\\\"></polyline><line x1=\\\"14\\\" y1=\\\"10\\\" x2=\\\"21\\\" y2=\\\"3\\\"></line><line x1=\\\"3\\\" y1=\\\"21\\\" x2=\\\"10\\\" y2=\\\"14\\\"></line>\",\"minimize\":\"<path d=\\\"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3\\\"></path>\",\"minus-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line>\",\"minus-square\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line>\",\"minus\":\"<line x1=\\\"5\\\" y1=\\\"12\\\" x2=\\\"19\\\" y2=\\\"12\\\"></line>\",\"monitor\":\"<rect x=\\\"2\\\" y=\\\"3\\\" width=\\\"20\\\" height=\\\"14\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"8\\\" y1=\\\"21\\\" x2=\\\"16\\\" y2=\\\"21\\\"></line><line x1=\\\"12\\\" y1=\\\"17\\\" x2=\\\"12\\\" y2=\\\"21\\\"></line>\",\"moon\":\"<path d=\\\"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z\\\"></path>\",\"more-horizontal\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"1\\\"></circle><circle cx=\\\"19\\\" cy=\\\"12\\\" r=\\\"1\\\"></circle><circle cx=\\\"5\\\" cy=\\\"12\\\" r=\\\"1\\\"></circle>\",\"more-vertical\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"1\\\"></circle><circle cx=\\\"12\\\" cy=\\\"5\\\" r=\\\"1\\\"></circle><circle cx=\\\"12\\\" cy=\\\"19\\\" r=\\\"1\\\"></circle>\",\"mouse-pointer\":\"<path d=\\\"M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z\\\"></path><path d=\\\"M13 13l6 6\\\"></path>\",\"move\":\"<polyline points=\\\"5 9 2 12 5 15\\\"></polyline><polyline points=\\\"9 5 12 2 15 5\\\"></polyline><polyline points=\\\"15 19 12 22 9 19\\\"></polyline><polyline points=\\\"19 9 22 12 19 15\\\"></polyline><line x1=\\\"2\\\" y1=\\\"12\\\" x2=\\\"22\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"2\\\" x2=\\\"12\\\" y2=\\\"22\\\"></line>\",\"music\":\"<path d=\\\"M9 18V5l12-2v13\\\"></path><circle cx=\\\"6\\\" cy=\\\"18\\\" r=\\\"3\\\"></circle><circle cx=\\\"18\\\" cy=\\\"16\\\" r=\\\"3\\\"></circle>\",\"navigation-2\":\"<polygon points=\\\"12 2 19 21 12 17 5 21 12 2\\\"></polygon>\",\"navigation\":\"<polygon points=\\\"3 11 22 2 13 21 11 13 3 11\\\"></polygon>\",\"octagon\":\"<polygon points=\\\"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2\\\"></polygon>\",\"package\":\"<line x1=\\\"16.5\\\" y1=\\\"9.4\\\" x2=\\\"7.5\\\" y2=\\\"4.21\\\"></line><path d=\\\"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z\\\"></path><polyline points=\\\"3.27 6.96 12 12.01 20.73 6.96\\\"></polyline><line x1=\\\"12\\\" y1=\\\"22.08\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line>\",\"paperclip\":\"<path d=\\\"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48\\\"></path>\",\"pause-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"10\\\" y1=\\\"15\\\" x2=\\\"10\\\" y2=\\\"9\\\"></line><line x1=\\\"14\\\" y1=\\\"15\\\" x2=\\\"14\\\" y2=\\\"9\\\"></line>\",\"pause\":\"<rect x=\\\"6\\\" y=\\\"4\\\" width=\\\"4\\\" height=\\\"16\\\"></rect><rect x=\\\"14\\\" y=\\\"4\\\" width=\\\"4\\\" height=\\\"16\\\"></rect>\",\"pen-tool\":\"<path d=\\\"M12 19l7-7 3 3-7 7-3-3z\\\"></path><path d=\\\"M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z\\\"></path><path d=\\\"M2 2l7.586 7.586\\\"></path><circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"2\\\"></circle>\",\"percent\":\"<line x1=\\\"19\\\" y1=\\\"5\\\" x2=\\\"5\\\" y2=\\\"19\\\"></line><circle cx=\\\"6.5\\\" cy=\\\"6.5\\\" r=\\\"2.5\\\"></circle><circle cx=\\\"17.5\\\" cy=\\\"17.5\\\" r=\\\"2.5\\\"></circle>\",\"phone-call\":\"<path d=\\\"M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\\\"></path>\",\"phone-forwarded\":\"<polyline points=\\\"19 1 23 5 19 9\\\"></polyline><line x1=\\\"15\\\" y1=\\\"5\\\" x2=\\\"23\\\" y2=\\\"5\\\"></line><path d=\\\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\\\"></path>\",\"phone-incoming\":\"<polyline points=\\\"16 2 16 8 22 8\\\"></polyline><line x1=\\\"23\\\" y1=\\\"1\\\" x2=\\\"16\\\" y2=\\\"8\\\"></line><path d=\\\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\\\"></path>\",\"phone-missed\":\"<line x1=\\\"23\\\" y1=\\\"1\\\" x2=\\\"17\\\" y2=\\\"7\\\"></line><line x1=\\\"17\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"7\\\"></line><path d=\\\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\\\"></path>\",\"phone-off\":\"<path d=\\\"M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91\\\"></path><line x1=\\\"23\\\" y1=\\\"1\\\" x2=\\\"1\\\" y2=\\\"23\\\"></line>\",\"phone-outgoing\":\"<polyline points=\\\"23 7 23 1 17 1\\\"></polyline><line x1=\\\"16\\\" y1=\\\"8\\\" x2=\\\"23\\\" y2=\\\"1\\\"></line><path d=\\\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\\\"></path>\",\"phone\":\"<path d=\\\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\\\"></path>\",\"pie-chart\":\"<path d=\\\"M21.21 15.89A10 10 0 1 1 8 2.83\\\"></path><path d=\\\"M22 12A10 10 0 0 0 12 2v10z\\\"></path>\",\"play-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><polygon points=\\\"10 8 16 12 10 16 10 8\\\"></polygon>\",\"play\":\"<polygon points=\\\"5 3 19 12 5 21 5 3\\\"></polygon>\",\"plus-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"16\\\"></line><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line>\",\"plus-square\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"16\\\"></line><line x1=\\\"8\\\" y1=\\\"12\\\" x2=\\\"16\\\" y2=\\\"12\\\"></line>\",\"plus\":\"<line x1=\\\"12\\\" y1=\\\"5\\\" x2=\\\"12\\\" y2=\\\"19\\\"></line><line x1=\\\"5\\\" y1=\\\"12\\\" x2=\\\"19\\\" y2=\\\"12\\\"></line>\",\"pocket\":\"<path d=\\\"M4 3h16a2 2 0 0 1 2 2v6a10 10 0 0 1-10 10A10 10 0 0 1 2 11V5a2 2 0 0 1 2-2z\\\"></path><polyline points=\\\"8 10 12 14 16 10\\\"></polyline>\",\"power\":\"<path d=\\\"M18.36 6.64a9 9 0 1 1-12.73 0\\\"></path><line x1=\\\"12\\\" y1=\\\"2\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line>\",\"printer\":\"<polyline points=\\\"6 9 6 2 18 2 18 9\\\"></polyline><path d=\\\"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2\\\"></path><rect x=\\\"6\\\" y=\\\"14\\\" width=\\\"12\\\" height=\\\"8\\\"></rect>\",\"radio\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2\\\"></circle><path d=\\\"M16.24 7.76a6 6 0 0 1 0 8.49m-8.48-.01a6 6 0 0 1 0-8.49m11.31-2.82a10 10 0 0 1 0 14.14m-14.14 0a10 10 0 0 1 0-14.14\\\"></path>\",\"refresh-ccw\":\"<polyline points=\\\"1 4 1 10 7 10\\\"></polyline><polyline points=\\\"23 20 23 14 17 14\\\"></polyline><path d=\\\"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15\\\"></path>\",\"refresh-cw\":\"<polyline points=\\\"23 4 23 10 17 10\\\"></polyline><polyline points=\\\"1 20 1 14 7 14\\\"></polyline><path d=\\\"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15\\\"></path>\",\"repeat\":\"<polyline points=\\\"17 1 21 5 17 9\\\"></polyline><path d=\\\"M3 11V9a4 4 0 0 1 4-4h14\\\"></path><polyline points=\\\"7 23 3 19 7 15\\\"></polyline><path d=\\\"M21 13v2a4 4 0 0 1-4 4H3\\\"></path>\",\"rewind\":\"<polygon points=\\\"11 19 2 12 11 5 11 19\\\"></polygon><polygon points=\\\"22 19 13 12 22 5 22 19\\\"></polygon>\",\"rotate-ccw\":\"<polyline points=\\\"1 4 1 10 7 10\\\"></polyline><path d=\\\"M3.51 15a9 9 0 1 0 2.13-9.36L1 10\\\"></path>\",\"rotate-cw\":\"<polyline points=\\\"23 4 23 10 17 10\\\"></polyline><path d=\\\"M20.49 15a9 9 0 1 1-2.12-9.36L23 10\\\"></path>\",\"rss\":\"<path d=\\\"M4 11a9 9 0 0 1 9 9\\\"></path><path d=\\\"M4 4a16 16 0 0 1 16 16\\\"></path><circle cx=\\\"5\\\" cy=\\\"19\\\" r=\\\"1\\\"></circle>\",\"save\":\"<path d=\\\"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z\\\"></path><polyline points=\\\"17 21 17 13 7 13 7 21\\\"></polyline><polyline points=\\\"7 3 7 8 15 8\\\"></polyline>\",\"scissors\":\"<circle cx=\\\"6\\\" cy=\\\"6\\\" r=\\\"3\\\"></circle><circle cx=\\\"6\\\" cy=\\\"18\\\" r=\\\"3\\\"></circle><line x1=\\\"20\\\" y1=\\\"4\\\" x2=\\\"8.12\\\" y2=\\\"15.88\\\"></line><line x1=\\\"14.47\\\" y1=\\\"14.48\\\" x2=\\\"20\\\" y2=\\\"20\\\"></line><line x1=\\\"8.12\\\" y1=\\\"8.12\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line>\",\"search\":\"<circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"></circle><line x1=\\\"21\\\" y1=\\\"21\\\" x2=\\\"16.65\\\" y2=\\\"16.65\\\"></line>\",\"send\":\"<line x1=\\\"22\\\" y1=\\\"2\\\" x2=\\\"11\\\" y2=\\\"13\\\"></line><polygon points=\\\"22 2 15 22 11 13 2 9 22 2\\\"></polygon>\",\"server\":\"<rect x=\\\"2\\\" y=\\\"2\\\" width=\\\"20\\\" height=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><rect x=\\\"2\\\" y=\\\"14\\\" width=\\\"20\\\" height=\\\"8\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"6\\\" y1=\\\"6\\\" x2=\\\"6.01\\\" y2=\\\"6\\\"></line><line x1=\\\"6\\\" y1=\\\"18\\\" x2=\\\"6.01\\\" y2=\\\"18\\\"></line>\",\"settings\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"3\\\"></circle><path d=\\\"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z\\\"></path>\",\"share-2\":\"<circle cx=\\\"18\\\" cy=\\\"5\\\" r=\\\"3\\\"></circle><circle cx=\\\"6\\\" cy=\\\"12\\\" r=\\\"3\\\"></circle><circle cx=\\\"18\\\" cy=\\\"19\\\" r=\\\"3\\\"></circle><line x1=\\\"8.59\\\" y1=\\\"13.51\\\" x2=\\\"15.42\\\" y2=\\\"17.49\\\"></line><line x1=\\\"15.41\\\" y1=\\\"6.51\\\" x2=\\\"8.59\\\" y2=\\\"10.49\\\"></line>\",\"share\":\"<path d=\\\"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\\\"></path><polyline points=\\\"16 6 12 2 8 6\\\"></polyline><line x1=\\\"12\\\" y1=\\\"2\\\" x2=\\\"12\\\" y2=\\\"15\\\"></line>\",\"shield-off\":\"<path d=\\\"M19.69 14a6.9 6.9 0 0 0 .31-2V5l-8-3-3.16 1.18\\\"></path><path d=\\\"M4.73 4.73L4 5v7c0 6 8 10 8 10a20.29 20.29 0 0 0 5.62-4.38\\\"></path><line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line>\",\"shield\":\"<path d=\\\"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z\\\"></path>\",\"shopping-bag\":\"<path d=\\\"M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z\\\"></path><line x1=\\\"3\\\" y1=\\\"6\\\" x2=\\\"21\\\" y2=\\\"6\\\"></line><path d=\\\"M16 10a4 4 0 0 1-8 0\\\"></path>\",\"shopping-cart\":\"<circle cx=\\\"9\\\" cy=\\\"21\\\" r=\\\"1\\\"></circle><circle cx=\\\"20\\\" cy=\\\"21\\\" r=\\\"1\\\"></circle><path d=\\\"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6\\\"></path>\",\"shuffle\":\"<polyline points=\\\"16 3 21 3 21 8\\\"></polyline><line x1=\\\"4\\\" y1=\\\"20\\\" x2=\\\"21\\\" y2=\\\"3\\\"></line><polyline points=\\\"21 16 21 21 16 21\\\"></polyline><line x1=\\\"15\\\" y1=\\\"15\\\" x2=\\\"21\\\" y2=\\\"21\\\"></line><line x1=\\\"4\\\" y1=\\\"4\\\" x2=\\\"9\\\" y2=\\\"9\\\"></line>\",\"sidebar\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"9\\\" y1=\\\"3\\\" x2=\\\"9\\\" y2=\\\"21\\\"></line>\",\"skip-back\":\"<polygon points=\\\"19 20 9 12 19 4 19 20\\\"></polygon><line x1=\\\"5\\\" y1=\\\"19\\\" x2=\\\"5\\\" y2=\\\"5\\\"></line>\",\"skip-forward\":\"<polygon points=\\\"5 4 15 12 5 20 5 4\\\"></polygon><line x1=\\\"19\\\" y1=\\\"5\\\" x2=\\\"19\\\" y2=\\\"19\\\"></line>\",\"slack\":\"<path d=\\\"M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z\\\"></path><path d=\\\"M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z\\\"></path><path d=\\\"M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z\\\"></path><path d=\\\"M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z\\\"></path><path d=\\\"M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z\\\"></path><path d=\\\"M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z\\\"></path><path d=\\\"M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z\\\"></path><path d=\\\"M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z\\\"></path>\",\"slash\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"4.93\\\" y1=\\\"4.93\\\" x2=\\\"19.07\\\" y2=\\\"19.07\\\"></line>\",\"sliders\":\"<line x1=\\\"4\\\" y1=\\\"21\\\" x2=\\\"4\\\" y2=\\\"14\\\"></line><line x1=\\\"4\\\" y1=\\\"10\\\" x2=\\\"4\\\" y2=\\\"3\\\"></line><line x1=\\\"12\\\" y1=\\\"21\\\" x2=\\\"12\\\" y2=\\\"12\\\"></line><line x1=\\\"12\\\" y1=\\\"8\\\" x2=\\\"12\\\" y2=\\\"3\\\"></line><line x1=\\\"20\\\" y1=\\\"21\\\" x2=\\\"20\\\" y2=\\\"16\\\"></line><line x1=\\\"20\\\" y1=\\\"12\\\" x2=\\\"20\\\" y2=\\\"3\\\"></line><line x1=\\\"1\\\" y1=\\\"14\\\" x2=\\\"7\\\" y2=\\\"14\\\"></line><line x1=\\\"9\\\" y1=\\\"8\\\" x2=\\\"15\\\" y2=\\\"8\\\"></line><line x1=\\\"17\\\" y1=\\\"16\\\" x2=\\\"23\\\" y2=\\\"16\\\"></line>\",\"smartphone\":\"<rect x=\\\"5\\\" y=\\\"2\\\" width=\\\"14\\\" height=\\\"20\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"12\\\" y1=\\\"18\\\" x2=\\\"12.01\\\" y2=\\\"18\\\"></line>\",\"smile\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><path d=\\\"M8 14s1.5 2 4 2 4-2 4-2\\\"></path><line x1=\\\"9\\\" y1=\\\"9\\\" x2=\\\"9.01\\\" y2=\\\"9\\\"></line><line x1=\\\"15\\\" y1=\\\"9\\\" x2=\\\"15.01\\\" y2=\\\"9\\\"></line>\",\"speaker\":\"<rect x=\\\"4\\\" y=\\\"2\\\" width=\\\"16\\\" height=\\\"20\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><circle cx=\\\"12\\\" cy=\\\"14\\\" r=\\\"4\\\"></circle><line x1=\\\"12\\\" y1=\\\"6\\\" x2=\\\"12.01\\\" y2=\\\"6\\\"></line>\",\"square\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect>\",\"star\":\"<polygon points=\\\"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2\\\"></polygon>\",\"stop-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><rect x=\\\"9\\\" y=\\\"9\\\" width=\\\"6\\\" height=\\\"6\\\"></rect>\",\"sun\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"5\\\"></circle><line x1=\\\"12\\\" y1=\\\"1\\\" x2=\\\"12\\\" y2=\\\"3\\\"></line><line x1=\\\"12\\\" y1=\\\"21\\\" x2=\\\"12\\\" y2=\\\"23\\\"></line><line x1=\\\"4.22\\\" y1=\\\"4.22\\\" x2=\\\"5.64\\\" y2=\\\"5.64\\\"></line><line x1=\\\"18.36\\\" y1=\\\"18.36\\\" x2=\\\"19.78\\\" y2=\\\"19.78\\\"></line><line x1=\\\"1\\\" y1=\\\"12\\\" x2=\\\"3\\\" y2=\\\"12\\\"></line><line x1=\\\"21\\\" y1=\\\"12\\\" x2=\\\"23\\\" y2=\\\"12\\\"></line><line x1=\\\"4.22\\\" y1=\\\"19.78\\\" x2=\\\"5.64\\\" y2=\\\"18.36\\\"></line><line x1=\\\"18.36\\\" y1=\\\"5.64\\\" x2=\\\"19.78\\\" y2=\\\"4.22\\\"></line>\",\"sunrise\":\"<path d=\\\"M17 18a5 5 0 0 0-10 0\\\"></path><line x1=\\\"12\\\" y1=\\\"2\\\" x2=\\\"12\\\" y2=\\\"9\\\"></line><line x1=\\\"4.22\\\" y1=\\\"10.22\\\" x2=\\\"5.64\\\" y2=\\\"11.64\\\"></line><line x1=\\\"1\\\" y1=\\\"18\\\" x2=\\\"3\\\" y2=\\\"18\\\"></line><line x1=\\\"21\\\" y1=\\\"18\\\" x2=\\\"23\\\" y2=\\\"18\\\"></line><line x1=\\\"18.36\\\" y1=\\\"11.64\\\" x2=\\\"19.78\\\" y2=\\\"10.22\\\"></line><line x1=\\\"23\\\" y1=\\\"22\\\" x2=\\\"1\\\" y2=\\\"22\\\"></line><polyline points=\\\"8 6 12 2 16 6\\\"></polyline>\",\"sunset\":\"<path d=\\\"M17 18a5 5 0 0 0-10 0\\\"></path><line x1=\\\"12\\\" y1=\\\"9\\\" x2=\\\"12\\\" y2=\\\"2\\\"></line><line x1=\\\"4.22\\\" y1=\\\"10.22\\\" x2=\\\"5.64\\\" y2=\\\"11.64\\\"></line><line x1=\\\"1\\\" y1=\\\"18\\\" x2=\\\"3\\\" y2=\\\"18\\\"></line><line x1=\\\"21\\\" y1=\\\"18\\\" x2=\\\"23\\\" y2=\\\"18\\\"></line><line x1=\\\"18.36\\\" y1=\\\"11.64\\\" x2=\\\"19.78\\\" y2=\\\"10.22\\\"></line><line x1=\\\"23\\\" y1=\\\"22\\\" x2=\\\"1\\\" y2=\\\"22\\\"></line><polyline points=\\\"16 5 12 9 8 5\\\"></polyline>\",\"table\":\"<path d=\\\"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18\\\"></path>\",\"tablet\":\"<rect x=\\\"4\\\" y=\\\"2\\\" width=\\\"16\\\" height=\\\"20\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"12\\\" y1=\\\"18\\\" x2=\\\"12.01\\\" y2=\\\"18\\\"></line>\",\"tag\":\"<path d=\\\"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z\\\"></path><line x1=\\\"7\\\" y1=\\\"7\\\" x2=\\\"7.01\\\" y2=\\\"7\\\"></line>\",\"target\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"6\\\"></circle><circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"2\\\"></circle>\",\"terminal\":\"<polyline points=\\\"4 17 10 11 4 5\\\"></polyline><line x1=\\\"12\\\" y1=\\\"19\\\" x2=\\\"20\\\" y2=\\\"19\\\"></line>\",\"thermometer\":\"<path d=\\\"M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z\\\"></path>\",\"thumbs-down\":\"<path d=\\\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\\\"></path>\",\"thumbs-up\":\"<path d=\\\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\\\"></path>\",\"toggle-left\":\"<rect x=\\\"1\\\" y=\\\"5\\\" width=\\\"22\\\" height=\\\"14\\\" rx=\\\"7\\\" ry=\\\"7\\\"></rect><circle cx=\\\"8\\\" cy=\\\"12\\\" r=\\\"3\\\"></circle>\",\"toggle-right\":\"<rect x=\\\"1\\\" y=\\\"5\\\" width=\\\"22\\\" height=\\\"14\\\" rx=\\\"7\\\" ry=\\\"7\\\"></rect><circle cx=\\\"16\\\" cy=\\\"12\\\" r=\\\"3\\\"></circle>\",\"tool\":\"<path d=\\\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z\\\"></path>\",\"trash-2\":\"<polyline points=\\\"3 6 5 6 21 6\\\"></polyline><path d=\\\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\\"></path><line x1=\\\"10\\\" y1=\\\"11\\\" x2=\\\"10\\\" y2=\\\"17\\\"></line><line x1=\\\"14\\\" y1=\\\"11\\\" x2=\\\"14\\\" y2=\\\"17\\\"></line>\",\"trash\":\"<polyline points=\\\"3 6 5 6 21 6\\\"></polyline><path d=\\\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\\"></path>\",\"trello\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><rect x=\\\"7\\\" y=\\\"7\\\" width=\\\"3\\\" height=\\\"9\\\"></rect><rect x=\\\"14\\\" y=\\\"7\\\" width=\\\"3\\\" height=\\\"5\\\"></rect>\",\"trending-down\":\"<polyline points=\\\"23 18 13.5 8.5 8.5 13.5 1 6\\\"></polyline><polyline points=\\\"17 18 23 18 23 12\\\"></polyline>\",\"trending-up\":\"<polyline points=\\\"23 6 13.5 15.5 8.5 10.5 1 18\\\"></polyline><polyline points=\\\"17 6 23 6 23 12\\\"></polyline>\",\"triangle\":\"<path d=\\\"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z\\\"></path>\",\"truck\":\"<rect x=\\\"1\\\" y=\\\"3\\\" width=\\\"15\\\" height=\\\"13\\\"></rect><polygon points=\\\"16 8 20 8 23 11 23 16 16 16 16 8\\\"></polygon><circle cx=\\\"5.5\\\" cy=\\\"18.5\\\" r=\\\"2.5\\\"></circle><circle cx=\\\"18.5\\\" cy=\\\"18.5\\\" r=\\\"2.5\\\"></circle>\",\"tv\":\"<rect x=\\\"2\\\" y=\\\"7\\\" width=\\\"20\\\" height=\\\"15\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><polyline points=\\\"17 2 12 7 7 2\\\"></polyline>\",\"twitch\":\"<path d=\\\"M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7\\\"></path>\",\"twitter\":\"<path d=\\\"M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z\\\"></path>\",\"type\":\"<polyline points=\\\"4 7 4 4 20 4 20 7\\\"></polyline><line x1=\\\"9\\\" y1=\\\"20\\\" x2=\\\"15\\\" y2=\\\"20\\\"></line><line x1=\\\"12\\\" y1=\\\"4\\\" x2=\\\"12\\\" y2=\\\"20\\\"></line>\",\"umbrella\":\"<path d=\\\"M23 12a11.05 11.05 0 0 0-22 0zm-5 7a3 3 0 0 1-6 0v-7\\\"></path>\",\"underline\":\"<path d=\\\"M6 3v7a6 6 0 0 0 6 6 6 6 0 0 0 6-6V3\\\"></path><line x1=\\\"4\\\" y1=\\\"21\\\" x2=\\\"20\\\" y2=\\\"21\\\"></line>\",\"unlock\":\"<rect x=\\\"3\\\" y=\\\"11\\\" width=\\\"18\\\" height=\\\"11\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><path d=\\\"M7 11V7a5 5 0 0 1 9.9-1\\\"></path>\",\"upload-cloud\":\"<polyline points=\\\"16 16 12 12 8 16\\\"></polyline><line x1=\\\"12\\\" y1=\\\"12\\\" x2=\\\"12\\\" y2=\\\"21\\\"></line><path d=\\\"M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3\\\"></path><polyline points=\\\"16 16 12 12 8 16\\\"></polyline>\",\"upload\":\"<path d=\\\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\\"></path><polyline points=\\\"17 8 12 3 7 8\\\"></polyline><line x1=\\\"12\\\" y1=\\\"3\\\" x2=\\\"12\\\" y2=\\\"15\\\"></line>\",\"user-check\":\"<path d=\\\"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\\\"></path><circle cx=\\\"8.5\\\" cy=\\\"7\\\" r=\\\"4\\\"></circle><polyline points=\\\"17 11 19 13 23 9\\\"></polyline>\",\"user-minus\":\"<path d=\\\"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\\\"></path><circle cx=\\\"8.5\\\" cy=\\\"7\\\" r=\\\"4\\\"></circle><line x1=\\\"23\\\" y1=\\\"11\\\" x2=\\\"17\\\" y2=\\\"11\\\"></line>\",\"user-plus\":\"<path d=\\\"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\\\"></path><circle cx=\\\"8.5\\\" cy=\\\"7\\\" r=\\\"4\\\"></circle><line x1=\\\"20\\\" y1=\\\"8\\\" x2=\\\"20\\\" y2=\\\"14\\\"></line><line x1=\\\"23\\\" y1=\\\"11\\\" x2=\\\"17\\\" y2=\\\"11\\\"></line>\",\"user-x\":\"<path d=\\\"M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\\\"></path><circle cx=\\\"8.5\\\" cy=\\\"7\\\" r=\\\"4\\\"></circle><line x1=\\\"18\\\" y1=\\\"8\\\" x2=\\\"23\\\" y2=\\\"13\\\"></line><line x1=\\\"23\\\" y1=\\\"8\\\" x2=\\\"18\\\" y2=\\\"13\\\"></line>\",\"user\":\"<path d=\\\"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2\\\"></path><circle cx=\\\"12\\\" cy=\\\"7\\\" r=\\\"4\\\"></circle>\",\"users\":\"<path d=\\\"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2\\\"></path><circle cx=\\\"9\\\" cy=\\\"7\\\" r=\\\"4\\\"></circle><path d=\\\"M23 21v-2a4 4 0 0 0-3-3.87\\\"></path><path d=\\\"M16 3.13a4 4 0 0 1 0 7.75\\\"></path>\",\"video-off\":\"<path d=\\\"M16 16v1a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2m5.66 0H14a2 2 0 0 1 2 2v3.34l1 1L23 7v10\\\"></path><line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line>\",\"video\":\"<polygon points=\\\"23 7 16 12 23 17 23 7\\\"></polygon><rect x=\\\"1\\\" y=\\\"5\\\" width=\\\"15\\\" height=\\\"14\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect>\",\"voicemail\":\"<circle cx=\\\"5.5\\\" cy=\\\"11.5\\\" r=\\\"4.5\\\"></circle><circle cx=\\\"18.5\\\" cy=\\\"11.5\\\" r=\\\"4.5\\\"></circle><line x1=\\\"5.5\\\" y1=\\\"16\\\" x2=\\\"18.5\\\" y2=\\\"16\\\"></line>\",\"volume-1\":\"<polygon points=\\\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\\\"></polygon><path d=\\\"M15.54 8.46a5 5 0 0 1 0 7.07\\\"></path>\",\"volume-2\":\"<polygon points=\\\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\\\"></polygon><path d=\\\"M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07\\\"></path>\",\"volume-x\":\"<polygon points=\\\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\\\"></polygon><line x1=\\\"23\\\" y1=\\\"9\\\" x2=\\\"17\\\" y2=\\\"15\\\"></line><line x1=\\\"17\\\" y1=\\\"9\\\" x2=\\\"23\\\" y2=\\\"15\\\"></line>\",\"volume\":\"<polygon points=\\\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\\\"></polygon>\",\"watch\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"7\\\"></circle><polyline points=\\\"12 9 12 12 13.5 13.5\\\"></polyline><path d=\\\"M16.51 17.35l-.35 3.83a2 2 0 0 1-2 1.82H9.83a2 2 0 0 1-2-1.82l-.35-3.83m.01-10.7l.35-3.83A2 2 0 0 1 9.83 1h4.35a2 2 0 0 1 2 1.82l.35 3.83\\\"></path>\",\"wifi-off\":\"<line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line><path d=\\\"M16.72 11.06A10.94 10.94 0 0 1 19 12.55\\\"></path><path d=\\\"M5 12.55a10.94 10.94 0 0 1 5.17-2.39\\\"></path><path d=\\\"M10.71 5.05A16 16 0 0 1 22.58 9\\\"></path><path d=\\\"M1.42 9a15.91 15.91 0 0 1 4.7-2.88\\\"></path><path d=\\\"M8.53 16.11a6 6 0 0 1 6.95 0\\\"></path><line x1=\\\"12\\\" y1=\\\"20\\\" x2=\\\"12.01\\\" y2=\\\"20\\\"></line>\",\"wifi\":\"<path d=\\\"M5 12.55a11 11 0 0 1 14.08 0\\\"></path><path d=\\\"M1.42 9a16 16 0 0 1 21.16 0\\\"></path><path d=\\\"M8.53 16.11a6 6 0 0 1 6.95 0\\\"></path><line x1=\\\"12\\\" y1=\\\"20\\\" x2=\\\"12.01\\\" y2=\\\"20\\\"></line>\",\"wind\":\"<path d=\\\"M9.59 4.59A2 2 0 1 1 11 8H2m10.59 11.41A2 2 0 1 0 14 16H2m15.73-8.27A2.5 2.5 0 1 1 19.5 12H2\\\"></path>\",\"x-circle\":\"<circle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"10\\\"></circle><line x1=\\\"15\\\" y1=\\\"9\\\" x2=\\\"9\\\" y2=\\\"15\\\"></line><line x1=\\\"9\\\" y1=\\\"9\\\" x2=\\\"15\\\" y2=\\\"15\\\"></line>\",\"x-octagon\":\"<polygon points=\\\"7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2\\\"></polygon><line x1=\\\"15\\\" y1=\\\"9\\\" x2=\\\"9\\\" y2=\\\"15\\\"></line><line x1=\\\"9\\\" y1=\\\"9\\\" x2=\\\"15\\\" y2=\\\"15\\\"></line>\",\"x-square\":\"<rect x=\\\"3\\\" y=\\\"3\\\" width=\\\"18\\\" height=\\\"18\\\" rx=\\\"2\\\" ry=\\\"2\\\"></rect><line x1=\\\"9\\\" y1=\\\"9\\\" x2=\\\"15\\\" y2=\\\"15\\\"></line><line x1=\\\"15\\\" y1=\\\"9\\\" x2=\\\"9\\\" y2=\\\"15\\\"></line>\",\"x\":\"<line x1=\\\"18\\\" y1=\\\"6\\\" x2=\\\"6\\\" y2=\\\"18\\\"></line><line x1=\\\"6\\\" y1=\\\"6\\\" x2=\\\"18\\\" y2=\\\"18\\\"></line>\",\"youtube\":\"<path d=\\\"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z\\\"></path><polygon points=\\\"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02\\\"></polygon>\",\"zap-off\":\"<polyline points=\\\"12.41 6.75 13 2 10.57 4.92\\\"></polyline><polyline points=\\\"18.57 12.91 21 10 15.66 10\\\"></polyline><polyline points=\\\"8 8 3 14 12 14 11 22 16 16\\\"></polyline><line x1=\\\"1\\\" y1=\\\"1\\\" x2=\\\"23\\\" y2=\\\"23\\\"></line>\",\"zap\":\"<polygon points=\\\"13 2 3 14 12 14 11 22 21 10 12 10 13 2\\\"></polygon>\",\"zoom-in\":\"<circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"></circle><line x1=\\\"21\\\" y1=\\\"21\\\" x2=\\\"16.65\\\" y2=\\\"16.65\\\"></line><line x1=\\\"11\\\" y1=\\\"8\\\" x2=\\\"11\\\" y2=\\\"14\\\"></line><line x1=\\\"8\\\" y1=\\\"11\\\" x2=\\\"14\\\" y2=\\\"11\\\"></line>\",\"zoom-out\":\"<circle cx=\\\"11\\\" cy=\\\"11\\\" r=\\\"8\\\"></circle><line x1=\\\"21\\\" y1=\\\"21\\\" x2=\\\"16.65\\\" y2=\\\"16.65\\\"></line><line x1=\\\"8\\\" y1=\\\"11\\\" x2=\\\"14\\\" y2=\\\"11\\\"></line>\"};\n\n/***/ }),\n\n/***/ \"./node_modules/classnames/dedupe.js\":\n/*!*******************************************!*\\\n  !*** ./node_modules/classnames/dedupe.js ***!\n  \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n  Copyright (c) 2016 Jed Watson.\n  Licensed under the MIT License (MIT), see\n  http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar classNames = (function () {\n\t\t// don't inherit from Object so we can skip hasOwnProperty check later\n\t\t// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232\n\t\tfunction StorageObject() {}\n\t\tStorageObject.prototype = Object.create(null);\n\n\t\tfunction _parseArray (resultSet, array) {\n\t\t\tvar length = array.length;\n\n\t\t\tfor (var i = 0; i < length; ++i) {\n\t\t\t\t_parse(resultSet, array[i]);\n\t\t\t}\n\t\t}\n\n\t\tvar hasOwn = {}.hasOwnProperty;\n\n\t\tfunction _parseNumber (resultSet, num) {\n\t\t\tresultSet[num] = true;\n\t\t}\n\n\t\tfunction _parseObject (resultSet, object) {\n\t\t\tfor (var k in object) {\n\t\t\t\tif (hasOwn.call(object, k)) {\n\t\t\t\t\t// set value to false instead of deleting it to avoid changing object structure\n\t\t\t\t\t// https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/#de-referencing-misconceptions\n\t\t\t\t\tresultSet[k] = !!object[k];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tvar SPACE = /\\s+/;\n\t\tfunction _parseString (resultSet, str) {\n\t\t\tvar array = str.split(SPACE);\n\t\t\tvar length = array.length;\n\n\t\t\tfor (var i = 0; i < length; ++i) {\n\t\t\t\tresultSet[array[i]] = true;\n\t\t\t}\n\t\t}\n\n\t\tfunction _parse (resultSet, arg) {\n\t\t\tif (!arg) return;\n\t\t\tvar argType = typeof arg;\n\n\t\t\t// 'foo bar'\n\t\t\tif (argType === 'string') {\n\t\t\t\t_parseString(resultSet, arg);\n\n\t\t\t// ['foo', 'bar', ...]\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t_parseArray(resultSet, arg);\n\n\t\t\t// { 'foo': true, ... }\n\t\t\t} else if (argType === 'object') {\n\t\t\t\t_parseObject(resultSet, arg);\n\n\t\t\t// '130'\n\t\t\t} else if (argType === 'number') {\n\t\t\t\t_parseNumber(resultSet, arg);\n\t\t\t}\n\t\t}\n\n\t\tfunction _classNames () {\n\t\t\t// don't leak arguments\n\t\t\t// https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments\n\t\t\tvar len = arguments.length;\n\t\t\tvar args = Array(len);\n\t\t\tfor (var i = 0; i < len; i++) {\n\t\t\t\targs[i] = arguments[i];\n\t\t\t}\n\n\t\t\tvar classSet = new StorageObject();\n\t\t\t_parseArray(classSet, args);\n\n\t\t\tvar list = [];\n\n\t\t\tfor (var k in classSet) {\n\t\t\t\tif (classSet[k]) {\n\t\t\t\t\tlist.push(k)\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn list.join(' ');\n\t\t}\n\n\t\treturn _classNames;\n\t})();\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (true) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n\t\t\treturn classNames;\n\t\t}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n}());\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/es/array/from.js\":\n/*!***********************************************!*\\\n  !*** ./node_modules/core-js/es/array/from.js ***!\n  \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es.string.iterator */ \"./node_modules/core-js/modules/es.string.iterator.js\");\n__webpack_require__(/*! ../../modules/es.array.from */ \"./node_modules/core-js/modules/es.array.from.js\");\nvar path = __webpack_require__(/*! ../../internals/path */ \"./node_modules/core-js/internals/path.js\");\n\nmodule.exports = path.Array.from;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/a-function.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/a-function.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n  if (typeof it != 'function') {\n    throw TypeError(String(it) + ' is not a function');\n  } return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/an-object.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/an-object.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nmodule.exports = function (it) {\n  if (!isObject(it)) {\n    throw TypeError(String(it) + ' is not an object');\n  } return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/array-from.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/array-from.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar bind = __webpack_require__(/*! ../internals/bind-context */ \"./node_modules/core-js/internals/bind-context.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\");\nvar isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ \"./node_modules/core-js/internals/is-array-iterator-method.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ \"./node_modules/core-js/internals/create-property.js\");\nvar getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ \"./node_modules/core-js/internals/get-iterator-method.js\");\n\n// `Array.from` method\n// https://tc39.github.io/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n  var O = toObject(arrayLike);\n  var C = typeof this == 'function' ? this : Array;\n  var argumentsLength = arguments.length;\n  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n  var mapping = mapfn !== undefined;\n  var index = 0;\n  var iteratorMethod = getIteratorMethod(O);\n  var length, result, step, iterator;\n  if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2);\n  // if the target is not iterable or it's an array with the default iterator - use a simple case\n  if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) {\n    iterator = iteratorMethod.call(O);\n    result = new C();\n    for (;!(step = iterator.next()).done; index++) {\n      createProperty(result, index, mapping\n        ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true)\n        : step.value\n      );\n    }\n  } else {\n    length = toLength(O.length);\n    result = new C(length);\n    for (;length > index; index++) {\n      createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n    }\n  }\n  result.length = index;\n  return result;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/array-includes.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/array-includes.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar toLength = __webpack_require__(/*! ../internals/to-length */ \"./node_modules/core-js/internals/to-length.js\");\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ \"./node_modules/core-js/internals/to-absolute-index.js\");\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\n// false -> Array#indexOf\n// https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n// true  -> Array#includes\n// https://tc39.github.io/ecma262/#sec-array.prototype.includes\nmodule.exports = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n      if (O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/bind-context.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/core-js/internals/bind-context.js ***!\n  \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar aFunction = __webpack_require__(/*! ../internals/a-function */ \"./node_modules/core-js/internals/a-function.js\");\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 0: return function () {\n      return fn.call(that);\n    };\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/call-with-safe-iteration-closing.js\":\n/*!****************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/call-with-safe-iteration-closing.js ***!\n  \\****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\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  // 7.4.6 IteratorClose(iterator, completion)\n  } catch (error) {\n    var returnMethod = iterator['return'];\n    if (returnMethod !== undefined) anObject(returnMethod.call(iterator));\n    throw error;\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/check-correctness-of-iteration.js\":\n/*!**************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/check-correctness-of-iteration.js ***!\n  \\**************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\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 no-throw-literal\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\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/classof-raw.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/classof-raw.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/classof.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/core-js/internals/classof.js ***!\n  \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classofRaw = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\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 = 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' && typeof O.callee == 'function' ? 'Arguments' : result;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/copy-constructor-properties.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/copy-constructor-properties.js ***!\n  \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar ownKeys = __webpack_require__(/*! ../internals/own-keys */ \"./node_modules/core-js/internals/own-keys.js\");\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\n\nmodule.exports = function (target, source) {\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 (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/correct-prototype-getter.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/correct-prototype-getter.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/create-iterator-constructor.js\":\n/*!***********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/create-iterator-constructor.js ***!\n  \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar IteratorPrototype = __webpack_require__(/*! ../internals/iterators-core */ \"./node_modules/core-js/internals/iterators-core.js\").IteratorPrototype;\nvar create = __webpack_require__(/*! ../internals/object-create */ \"./node_modules/core-js/internals/object-create.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ \"./node_modules/core-js/internals/set-to-string-tag.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next) {\n  var TO_STRING_TAG = NAME + ' Iterator';\n  IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n  setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n  Iterators[TO_STRING_TAG] = returnThis;\n  return IteratorConstructor;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/create-property-descriptor.js\":\n/*!**********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/create-property-descriptor.js ***!\n  \\**********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/create-property.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/create-property.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\n\nmodule.exports = function (object, key, value) {\n  var propertyKey = toPrimitive(key);\n  if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n  else object[propertyKey] = value;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/define-iterator.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/define-iterator.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar createIteratorConstructor = __webpack_require__(/*! ../internals/create-iterator-constructor */ \"./node_modules/core-js/internals/create-iterator-constructor.js\");\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ \"./node_modules/core-js/internals/object-set-prototype-of.js\");\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ \"./node_modules/core-js/internals/set-to-string-tag.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar redefine = __webpack_require__(/*! ../internals/redefine */ \"./node_modules/core-js/internals/redefine.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\nvar IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ \"./node_modules/core-js/internals/iterators-core.js\");\n\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 (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n      if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n        if (setPrototypeOf) {\n          setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n        } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') {\n          hide(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#{values, @@iterator}.name in V8 / FF\n  if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n    INCORRECT_VALUES_NAME = true;\n    defaultIterator = function values() { return nativeIterator.call(this); };\n  }\n\n  // define iterator\n  if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n    hide(IterablePrototype, ITERATOR, defaultIterator);\n  }\n  Iterators[NAME] = defaultIterator;\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  return methods;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/descriptors.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/descriptors.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !fails(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/document-create-element.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/document-create-element.js ***!\n  \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar exist = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return exist ? document.createElement(it) : {};\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/enum-bug-keys.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/core-js/internals/enum-bug-keys.js ***!\n  \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\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\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/export.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/core-js/internals/export.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar getOwnPropertyDescriptor = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\").f;\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar redefine = __webpack_require__(/*! ../internals/redefine */ \"./node_modules/core-js/internals/redefine.js\");\nvar setGlobal = __webpack_require__(/*! ../internals/set-global */ \"./node_modules/core-js/internals/set-global.js\");\nvar copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ \"./node_modules/core-js/internals/copy-constructor-properties.js\");\nvar isForced = __webpack_require__(/*! ../internals/is-forced */ \"./node_modules/core-js/internals/is-forced.js\");\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*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = global;\n  } else if (STATIC) {\n    target = global[TARGET] || setGlobal(TARGET, {});\n  } else {\n    target = (global[TARGET] || {}).prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.noTargetGet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty === typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      hide(sourceProperty, 'sham', true);\n    }\n    // extend global\n    redefine(target, key, sourceProperty, options);\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/fails.js\":\n/*!*************************************************!*\\\n  !*** ./node_modules/core-js/internals/fails.js ***!\n  \\*************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/function-to-string.js\":\n/*!**************************************************************!*\\\n  !*** ./node_modules/core-js/internals/function-to-string.js ***!\n  \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\n\nmodule.exports = shared('native-function-to-string', Function.toString);\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/get-iterator-method.js\":\n/*!***************************************************************!*\\\n  !*** ./node_modules/core-js/internals/get-iterator-method.js ***!\n  \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classof = __webpack_require__(/*! ../internals/classof */ \"./node_modules/core-js/internals/classof.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (it != undefined) return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/global.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/core-js/internals/global.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {var O = 'object';\nvar 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 no-undef\n  check(typeof globalThis == O && globalThis) ||\n  check(typeof window == O && window) ||\n  check(typeof self == O && self) ||\n  check(typeof global == O && global) ||\n  // eslint-disable-next-line no-new-func\n  Function('return this')();\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/has.js\":\n/*!***********************************************!*\\\n  !*** ./node_modules/core-js/internals/has.js ***!\n  \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/hidden-keys.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/hidden-keys.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/hide.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/internals/hide.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\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\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/html.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/internals/html.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\n\nvar document = global.document;\n\nmodule.exports = document && document.documentElement;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/ie8-dom-define.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/ie8-dom-define.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar createElement = __webpack_require__(/*! ../internals/document-create-element */ \"./node_modules/core-js/internals/document-create-element.js\");\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a != 7;\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/indexed-object.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/indexed-object.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ \"./node_modules/core-js/internals/classof-raw.js\");\n\nvar split = ''.split;\n\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\n  return !Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) == 'String' ? split.call(it, '') : Object(it);\n} : Object;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/internal-state.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/internal-state.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/native-weak-map */ \"./node_modules/core-js/internals/native-weak-map.js\");\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar objectHas = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\n\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) {\n  var store = new WeakMap();\n  var wmget = store.get;\n  var wmhas = store.has;\n  var wmset = store.set;\n  set = function (it, metadata) {\n    wmset.call(store, it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return wmget.call(store, it) || {};\n  };\n  has = function (it) {\n    return wmhas.call(store, it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    hide(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return objectHas(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return objectHas(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-array-iterator-method.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-array-iterator-method.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ \"./node_modules/core-js/internals/iterators.js\");\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\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-forced.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-forced.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\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    : typeof detection == 'function' ? 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\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-object.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-object.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/is-pure.js\":\n/*!***************************************************!*\\\n  !*** ./node_modules/core-js/internals/is-pure.js ***!\n  \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = false;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/iterators-core.js\":\n/*!**********************************************************!*\\\n  !*** ./node_modules/core-js/internals/iterators-core.js ***!\n  \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ \"./node_modules/core-js/internals/object-get-prototype-of.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\nvar returnThis = function () { return this; };\n\n// `%IteratorPrototype%` object\n// https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\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\nif (IteratorPrototype == undefined) IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nif (!IS_PURE && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis);\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/iterators.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/iterators.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/native-symbol.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/core-js/internals/native-symbol.js ***!\n  \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar fails = __webpack_require__(/*! ../internals/fails */ \"./node_modules/core-js/internals/fails.js\");\n\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  // Chrome 38 Symbol has incorrect toString conversion\n  // eslint-disable-next-line no-undef\n  return !String(Symbol());\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/native-weak-map.js\":\n/*!***********************************************************!*\\\n  !*** ./node_modules/core-js/internals/native-weak-map.js ***!\n  \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar nativeFunctionToString = __webpack_require__(/*! ../internals/function-to-string */ \"./node_modules/core-js/internals/function-to-string.js\");\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap));\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-create.js\":\n/*!*********************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-create.js ***!\n  \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar defineProperties = __webpack_require__(/*! ../internals/object-define-properties */ \"./node_modules/core-js/internals/object-define-properties.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\nvar html = __webpack_require__(/*! ../internals/html */ \"./node_modules/core-js/internals/html.js\");\nvar documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ \"./node_modules/core-js/internals/document-create-element.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar PROTOTYPE = 'prototype';\nvar Empty = function () { /* empty */ };\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var length = enumBugKeys.length;\n  var lt = '<';\n  var script = 'script';\n  var gt = '>';\n  var js = 'java' + script + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  iframe.src = String(js);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]];\n  return createDict();\n};\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : defineProperties(result, Properties);\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-define-properties.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-define-properties.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar objectKeys = __webpack_require__(/*! ../internals/object-keys */ \"./node_modules/core-js/internals/object-keys.js\");\n\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var i = 0;\n  var key;\n  while (length > i) definePropertyModule.f(O, key = keys[i++], Properties[key]);\n  return O;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-define-property.js\":\n/*!******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-define-property.js ***!\n  \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ \"./node_modules/core-js/internals/ie8-dom-define.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\n\nvar nativeDefineProperty = Object.defineProperty;\n\nexports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return nativeDefineProperty(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\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-own-property-descriptor.js\":\n/*!******************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***!\n  \\******************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ \"./node_modules/core-js/internals/descriptors.js\");\nvar propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ \"./node_modules/core-js/internals/object-property-is-enumerable.js\");\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ \"./node_modules/core-js/internals/create-property-descriptor.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ \"./node_modules/core-js/internals/to-primitive.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ \"./node_modules/core-js/internals/ie8-dom-define.js\");\n\nvar nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\nexports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPrimitive(P, true);\n  if (IE8_DOM_DEFINE) try {\n    return nativeGetOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-own-property-names.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-own-property-names.js ***!\n  \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ \"./node_modules/core-js/internals/object-keys-internal.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-own-property-symbols.js\":\n/*!***************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***!\n  \\***************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nexports.f = Object.getOwnPropertySymbols;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-get-prototype-of.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-get-prototype-of.js ***!\n  \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar toObject = __webpack_require__(/*! ../internals/to-object */ \"./node_modules/core-js/internals/to-object.js\");\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ \"./node_modules/core-js/internals/shared-key.js\");\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ \"./node_modules/core-js/internals/correct-prototype-getter.js\");\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar ObjectPrototype = Object.prototype;\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectPrototype : null;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-keys-internal.js\":\n/*!****************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-keys-internal.js ***!\n  \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ \"./node_modules/core-js/internals/to-indexed-object.js\");\nvar arrayIncludes = __webpack_require__(/*! ../internals/array-includes */ \"./node_modules/core-js/internals/array-includes.js\");\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ \"./node_modules/core-js/internals/hidden-keys.js\");\n\nvar arrayIndexOf = arrayIncludes(false);\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) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~arrayIndexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-keys.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-keys.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ \"./node_modules/core-js/internals/object-keys-internal.js\");\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ \"./node_modules/core-js/internals/enum-bug-keys.js\");\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-property-is-enumerable.js\":\n/*!*************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***!\n  \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar nativePropertyIsEnumerable = {}.propertyIsEnumerable;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1);\n\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : nativePropertyIsEnumerable;\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/object-set-prototype-of.js\":\n/*!*******************************************************************!*\\\n  !*** ./node_modules/core-js/internals/object-set-prototype-of.js ***!\n  \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar validateSetPrototypeOfArguments = __webpack_require__(/*! ../internals/validate-set-prototype-of-arguments */ \"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js\");\n\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n  var correctSetter = false;\n  var test = {};\n  var setter;\n  try {\n    setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n    setter.call(test, []);\n    correctSetter = test instanceof Array;\n  } catch (error) { /* empty */ }\n  return function setPrototypeOf(O, proto) {\n    validateSetPrototypeOfArguments(O, proto);\n    if (correctSetter) setter.call(O, proto);\n    else O.__proto__ = proto;\n    return O;\n  };\n}() : undefined);\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/own-keys.js\":\n/*!****************************************************!*\\\n  !*** ./node_modules/core-js/internals/own-keys.js ***!\n  \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ \"./node_modules/core-js/internals/object-get-own-property-names.js\");\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ \"./node_modules/core-js/internals/object-get-own-property-symbols.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nvar Reflect = global.Reflect;\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/path.js\":\n/*!************************************************!*\\\n  !*** ./node_modules/core-js/internals/path.js ***!\n  \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/redefine.js\":\n/*!****************************************************!*\\\n  !*** ./node_modules/core-js/internals/redefine.js ***!\n  \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar setGlobal = __webpack_require__(/*! ../internals/set-global */ \"./node_modules/core-js/internals/set-global.js\");\nvar nativeFunctionToString = __webpack_require__(/*! ../internals/function-to-string */ \"./node_modules/core-js/internals/function-to-string.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(nativeFunctionToString).split('toString');\n\nshared('inspectSource', function (it) {\n  return nativeFunctionToString.call(it);\n});\n\n(module.exports = function (O, key, value, options) {\n  var unsafe = options ? !!options.unsafe : false;\n  var simple = options ? !!options.enumerable : false;\n  var noTargetGet = options ? !!options.noTargetGet : false;\n  if (typeof value == 'function') {\n    if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key);\n    enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : '');\n  }\n  if (O === global) {\n    if (simple) O[key] = value;\n    else setGlobal(key, value);\n    return;\n  } else if (!unsafe) {\n    delete O[key];\n  } else if (!noTargetGet && O[key]) {\n    simple = true;\n  }\n  if (simple) O[key] = value;\n  else hide(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n  return typeof this == 'function' && getInternalState(this).source || nativeFunctionToString.call(this);\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/require-object-coercible.js\":\n/*!********************************************************************!*\\\n  !*** ./node_modules/core-js/internals/require-object-coercible.js ***!\n  \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.github.io/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n  return it;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/set-global.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/set-global.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar hide = __webpack_require__(/*! ../internals/hide */ \"./node_modules/core-js/internals/hide.js\");\n\nmodule.exports = function (key, value) {\n  try {\n    hide(global, key, value);\n  } catch (error) {\n    global[key] = value;\n  } return value;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/set-to-string-tag.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/set-to-string-tag.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ \"./node_modules/core-js/internals/object-define-property.js\").f;\nvar has = __webpack_require__(/*! ../internals/has */ \"./node_modules/core-js/internals/has.js\");\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ \"./node_modules/core-js/internals/well-known-symbol.js\");\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n  if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n    defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/shared-key.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/shared-key.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/shared.js\":\n/*!**************************************************!*\\\n  !*** ./node_modules/core-js/internals/shared.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar setGlobal = __webpack_require__(/*! ../internals/set-global */ \"./node_modules/core-js/internals/set-global.js\");\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ \"./node_modules/core-js/internals/is-pure.js\");\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || setGlobal(SHARED, {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: '3.1.3',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/string-at.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/string-at.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ../internals/to-integer */ \"./node_modules/core-js/internals/to-integer.js\");\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n// CONVERT_TO_STRING: true  -> String#at\n// CONVERT_TO_STRING: false -> String#codePointAt\nmodule.exports = function (that, pos, CONVERT_TO_STRING) {\n  var S = String(requireObjectCoercible(that));\n  var position = toInteger(pos);\n  var size = S.length;\n  var first, second;\n  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n  first = S.charCodeAt(position);\n  return first < 0xD800 || first > 0xDBFF || position + 1 === size\n    || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n      ? CONVERT_TO_STRING ? S.charAt(position) : first\n      : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-absolute-index.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-absolute-index.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ../internals/to-integer */ \"./node_modules/core-js/internals/to-integer.js\");\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(length, length).\nmodule.exports = function (index, length) {\n  var integer = toInteger(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-indexed-object.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-indexed-object.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ \"./node_modules/core-js/internals/indexed-object.js\");\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-integer.js\":\n/*!******************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-integer.js ***!\n  \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.github.io/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n  return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-length.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-length.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ../internals/to-integer */ \"./node_modules/core-js/internals/to-integer.js\");\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.github.io/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-object.js\":\n/*!*****************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-object.js ***!\n  \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ \"./node_modules/core-js/internals/require-object-coercible.js\");\n\n// `ToObject` abstract operation\n// https://tc39.github.io/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return Object(requireObjectCoercible(argument));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/to-primitive.js\":\n/*!********************************************************!*\\\n  !*** ./node_modules/core-js/internals/to-primitive.js ***!\n  \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n  if (!isObject(it)) return it;\n  var fn, val;\n  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/uid.js\":\n/*!***********************************************!*\\\n  !*** ./node_modules/core-js/internals/uid.js ***!\n  \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + postfix).toString(36));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js\":\n/*!*******************************************************************************!*\\\n  !*** ./node_modules/core-js/internals/validate-set-prototype-of-arguments.js ***!\n  \\*******************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ../internals/is-object */ \"./node_modules/core-js/internals/is-object.js\");\nvar anObject = __webpack_require__(/*! ../internals/an-object */ \"./node_modules/core-js/internals/an-object.js\");\n\nmodule.exports = function (O, proto) {\n  anObject(O);\n  if (!isObject(proto) && proto !== null) {\n    throw TypeError(\"Can't set \" + String(proto) + ' as a prototype');\n  }\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/internals/well-known-symbol.js\":\n/*!*************************************************************!*\\\n  !*** ./node_modules/core-js/internals/well-known-symbol.js ***!\n  \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ../internals/global */ \"./node_modules/core-js/internals/global.js\");\nvar shared = __webpack_require__(/*! ../internals/shared */ \"./node_modules/core-js/internals/shared.js\");\nvar uid = __webpack_require__(/*! ../internals/uid */ \"./node_modules/core-js/internals/uid.js\");\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/native-symbol */ \"./node_modules/core-js/internals/native-symbol.js\");\n\nvar Symbol = global.Symbol;\nvar store = shared('wks');\n\nmodule.exports = function (name) {\n  return store[name] || (store[name] = NATIVE_SYMBOL && Symbol[name]\n    || (NATIVE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/es.array.from.js\":\n/*!*******************************************************!*\\\n  !*** ./node_modules/core-js/modules/es.array.from.js ***!\n  \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $ = __webpack_require__(/*! ../internals/export */ \"./node_modules/core-js/internals/export.js\");\nvar from = __webpack_require__(/*! ../internals/array-from */ \"./node_modules/core-js/internals/array-from.js\");\nvar checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ \"./node_modules/core-js/internals/check-correctness-of-iteration.js\");\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n  Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.github.io/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n  from: from\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/modules/es.string.iterator.js\":\n/*!************************************************************!*\\\n  !*** ./node_modules/core-js/modules/es.string.iterator.js ***!\n  \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar codePointAt = __webpack_require__(/*! ../internals/string-at */ \"./node_modules/core-js/internals/string-at.js\");\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ \"./node_modules/core-js/internals/internal-state.js\");\nvar defineIterator = __webpack_require__(/*! ../internals/define-iterator */ \"./node_modules/core-js/internals/define-iterator.js\");\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.github.io/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n  setInternalState(this, {\n    type: STRING_ITERATOR,\n    string: String(iterated),\n    index: 0\n  });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.github.io/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 = codePointAt(string, index, true);\n  state.index += point.length;\n  return { value: point, done: false };\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/global.js\":\n/*!***********************************!*\\\n  !*** (webpack)/buildin/global.js ***!\n  \\***********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\r\n} catch (e) {\r\n\t// This works if the window reference is available\r\n\tif (typeof window === \"object\") g = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n/***/ }),\n\n/***/ \"./src/default-attrs.json\":\n/*!********************************!*\\\n  !*** ./src/default-attrs.json ***!\n  \\********************************/\n/*! exports provided: xmlns, width, height, viewBox, fill, stroke, stroke-width, stroke-linecap, stroke-linejoin, default */\n/***/ (function(module) {\n\nmodule.exports = {\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"stroke-width\":2,\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\"};\n\n/***/ }),\n\n/***/ \"./src/icon.js\":\n/*!*********************!*\\\n  !*** ./src/icon.js ***!\n  \\*********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dedupe = __webpack_require__(/*! classnames/dedupe */ \"./node_modules/classnames/dedupe.js\");\n\nvar _dedupe2 = _interopRequireDefault(_dedupe);\n\nvar _defaultAttrs = __webpack_require__(/*! ./default-attrs.json */ \"./src/default-attrs.json\");\n\nvar _defaultAttrs2 = _interopRequireDefault(_defaultAttrs);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Icon = function () {\n  function Icon(name, contents) {\n    var tags = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n\n    _classCallCheck(this, Icon);\n\n    this.name = name;\n    this.contents = contents;\n    this.tags = tags;\n    this.attrs = _extends({}, _defaultAttrs2.default, { class: 'feather feather-' + name });\n  }\n\n  /**\n   * Create an SVG string.\n   * @param {Object} attrs\n   * @returns {string}\n   */\n\n\n  _createClass(Icon, [{\n    key: 'toSvg',\n    value: function toSvg() {\n      var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n      var combinedAttrs = _extends({}, this.attrs, attrs, { class: (0, _dedupe2.default)(this.attrs.class, attrs.class) });\n\n      return '<svg ' + attrsToString(combinedAttrs) + '>' + this.contents + '</svg>';\n    }\n\n    /**\n     * Return string representation of an `Icon`.\n     *\n     * Added for backward compatibility. If old code expects `feather.icons.<name>`\n     * to be a string, `toString()` will get implicitly called.\n     *\n     * @returns {string}\n     */\n\n  }, {\n    key: 'toString',\n    value: function toString() {\n      return this.contents;\n    }\n  }]);\n\n  return Icon;\n}();\n\n/**\n * Convert attributes object to string of HTML attributes.\n * @param {Object} attrs\n * @returns {string}\n */\n\n\nfunction attrsToString(attrs) {\n  return Object.keys(attrs).map(function (key) {\n    return key + '=\"' + attrs[key] + '\"';\n  }).join(' ');\n}\n\nexports.default = Icon;\n\n/***/ }),\n\n/***/ \"./src/icons.js\":\n/*!**********************!*\\\n  !*** ./src/icons.js ***!\n  \\**********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _icon = __webpack_require__(/*! ./icon */ \"./src/icon.js\");\n\nvar _icon2 = _interopRequireDefault(_icon);\n\nvar _icons = __webpack_require__(/*! ../dist/icons.json */ \"./dist/icons.json\");\n\nvar _icons2 = _interopRequireDefault(_icons);\n\nvar _tags = __webpack_require__(/*! ./tags.json */ \"./src/tags.json\");\n\nvar _tags2 = _interopRequireDefault(_tags);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = Object.keys(_icons2.default).map(function (key) {\n  return new _icon2.default(key, _icons2.default[key], _tags2.default[key]);\n}).reduce(function (object, icon) {\n  object[icon.name] = icon;\n  return object;\n}, {});\n\n/***/ }),\n\n/***/ \"./src/index.js\":\n/*!**********************!*\\\n  !*** ./src/index.js ***!\n  \\**********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _icons = __webpack_require__(/*! ./icons */ \"./src/icons.js\");\n\nvar _icons2 = _interopRequireDefault(_icons);\n\nvar _toSvg = __webpack_require__(/*! ./to-svg */ \"./src/to-svg.js\");\n\nvar _toSvg2 = _interopRequireDefault(_toSvg);\n\nvar _replace = __webpack_require__(/*! ./replace */ \"./src/replace.js\");\n\nvar _replace2 = _interopRequireDefault(_replace);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nmodule.exports = { icons: _icons2.default, toSvg: _toSvg2.default, replace: _replace2.default };\n\n/***/ }),\n\n/***/ \"./src/replace.js\":\n/*!************************!*\\\n  !*** ./src/replace.js ***!\n  \\************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /* eslint-env browser */\n\n\nvar _dedupe = __webpack_require__(/*! classnames/dedupe */ \"./node_modules/classnames/dedupe.js\");\n\nvar _dedupe2 = _interopRequireDefault(_dedupe);\n\nvar _icons = __webpack_require__(/*! ./icons */ \"./src/icons.js\");\n\nvar _icons2 = _interopRequireDefault(_icons);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Replace all HTML elements that have a `data-feather` attribute with SVG markup\n * corresponding to the element's `data-feather` attribute value.\n * @param {Object} attrs\n */\nfunction replace() {\n  var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n  if (typeof document === 'undefined') {\n    throw new Error('`feather.replace()` only works in a browser environment.');\n  }\n\n  var elementsToReplace = document.querySelectorAll('[data-feather]');\n\n  Array.from(elementsToReplace).forEach(function (element) {\n    return replaceElement(element, attrs);\n  });\n}\n\n/**\n * Replace a single HTML element with SVG markup\n * corresponding to the element's `data-feather` attribute value.\n * @param {HTMLElement} element\n * @param {Object} attrs\n */\nfunction replaceElement(element) {\n  var attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n  var elementAttrs = getAttrs(element);\n  var name = elementAttrs['data-feather'];\n  delete elementAttrs['data-feather'];\n\n  var svgString = _icons2.default[name].toSvg(_extends({}, attrs, elementAttrs, { class: (0, _dedupe2.default)(attrs.class, elementAttrs.class) }));\n  var svgDocument = new DOMParser().parseFromString(svgString, 'image/svg+xml');\n  var svgElement = svgDocument.querySelector('svg');\n\n  element.parentNode.replaceChild(svgElement, element);\n}\n\n/**\n * Get the attributes of an HTML element.\n * @param {HTMLElement} element\n * @returns {Object}\n */\nfunction getAttrs(element) {\n  return Array.from(element.attributes).reduce(function (attrs, attr) {\n    attrs[attr.name] = attr.value;\n    return attrs;\n  }, {});\n}\n\nexports.default = replace;\n\n/***/ }),\n\n/***/ \"./src/tags.json\":\n/*!***********************!*\\\n  !*** ./src/tags.json ***!\n  \\***********************/\n/*! exports provided: activity, airplay, alert-circle, alert-octagon, alert-triangle, align-center, align-justify, align-left, align-right, anchor, archive, at-sign, award, aperture, bar-chart, bar-chart-2, battery, battery-charging, bell, bell-off, bluetooth, book-open, book, bookmark, box, briefcase, calendar, camera, cast, chevron-down, chevron-up, circle, clipboard, clock, cloud-drizzle, cloud-lightning, cloud-rain, cloud-snow, cloud, codepen, codesandbox, code, coffee, columns, command, compass, copy, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, cpu, credit-card, crop, crosshair, database, delete, disc, dollar-sign, droplet, edit, edit-2, edit-3, eye, eye-off, external-link, facebook, fast-forward, figma, file-minus, file-plus, file-text, film, filter, flag, folder-minus, folder-plus, folder, framer, frown, gift, git-branch, git-commit, git-merge, git-pull-request, github, gitlab, globe, hard-drive, hash, headphones, heart, help-circle, hexagon, home, image, inbox, instagram, key, layers, layout, life-bouy, link, link-2, linkedin, list, lock, log-in, log-out, mail, map-pin, map, maximize, maximize-2, meh, menu, message-circle, message-square, mic-off, mic, minimize, minimize-2, minus, monitor, moon, more-horizontal, more-vertical, mouse-pointer, move, music, navigation, navigation-2, octagon, package, paperclip, pause, pause-circle, pen-tool, percent, phone-call, phone-forwarded, phone-incoming, phone-missed, phone-off, phone-outgoing, phone, play, pie-chart, play-circle, plus, plus-circle, plus-square, pocket, power, printer, radio, refresh-cw, refresh-ccw, repeat, rewind, rotate-ccw, rotate-cw, rss, save, scissors, search, send, settings, share-2, shield, shield-off, shopping-bag, shopping-cart, shuffle, skip-back, skip-forward, slack, slash, sliders, smartphone, smile, speaker, star, stop-circle, sun, sunrise, sunset, tablet, tag, target, terminal, thermometer, thumbs-down, thumbs-up, toggle-left, toggle-right, tool, trash, trash-2, triangle, truck, tv, twitch, twitter, type, umbrella, unlock, user-check, user-minus, user-plus, user-x, user, users, video-off, video, voicemail, volume, volume-1, volume-2, volume-x, watch, wifi-off, wifi, wind, x-circle, x-octagon, x-square, x, youtube, zap-off, zap, zoom-in, zoom-out, default */\n/***/ (function(module) {\n\nmodule.exports = {\"activity\":[\"pulse\",\"health\",\"action\",\"motion\"],\"airplay\":[\"stream\",\"cast\",\"mirroring\"],\"alert-circle\":[\"warning\",\"alert\",\"danger\"],\"alert-octagon\":[\"warning\",\"alert\",\"danger\"],\"alert-triangle\":[\"warning\",\"alert\",\"danger\"],\"align-center\":[\"text alignment\",\"center\"],\"align-justify\":[\"text alignment\",\"justified\"],\"align-left\":[\"text alignment\",\"left\"],\"align-right\":[\"text alignment\",\"right\"],\"anchor\":[],\"archive\":[\"index\",\"box\"],\"at-sign\":[\"mention\",\"at\",\"email\",\"message\"],\"award\":[\"achievement\",\"badge\"],\"aperture\":[\"camera\",\"photo\"],\"bar-chart\":[\"statistics\",\"diagram\",\"graph\"],\"bar-chart-2\":[\"statistics\",\"diagram\",\"graph\"],\"battery\":[\"power\",\"electricity\"],\"battery-charging\":[\"power\",\"electricity\"],\"bell\":[\"alarm\",\"notification\",\"sound\"],\"bell-off\":[\"alarm\",\"notification\",\"silent\"],\"bluetooth\":[\"wireless\"],\"book-open\":[\"read\",\"library\"],\"book\":[\"read\",\"dictionary\",\"booklet\",\"magazine\",\"library\"],\"bookmark\":[\"read\",\"clip\",\"marker\",\"tag\"],\"box\":[\"cube\"],\"briefcase\":[\"work\",\"bag\",\"baggage\",\"folder\"],\"calendar\":[\"date\"],\"camera\":[\"photo\"],\"cast\":[\"chromecast\",\"airplay\"],\"chevron-down\":[\"expand\"],\"chevron-up\":[\"collapse\"],\"circle\":[\"off\",\"zero\",\"record\"],\"clipboard\":[\"copy\"],\"clock\":[\"time\",\"watch\",\"alarm\"],\"cloud-drizzle\":[\"weather\",\"shower\"],\"cloud-lightning\":[\"weather\",\"bolt\"],\"cloud-rain\":[\"weather\"],\"cloud-snow\":[\"weather\",\"blizzard\"],\"cloud\":[\"weather\"],\"codepen\":[\"logo\"],\"codesandbox\":[\"logo\"],\"code\":[\"source\",\"programming\"],\"coffee\":[\"drink\",\"cup\",\"mug\",\"tea\",\"cafe\",\"hot\",\"beverage\"],\"columns\":[\"layout\"],\"command\":[\"keyboard\",\"cmd\",\"terminal\",\"prompt\"],\"compass\":[\"navigation\",\"safari\",\"travel\",\"direction\"],\"copy\":[\"clone\",\"duplicate\"],\"corner-down-left\":[\"arrow\",\"return\"],\"corner-down-right\":[\"arrow\"],\"corner-left-down\":[\"arrow\"],\"corner-left-up\":[\"arrow\"],\"corner-right-down\":[\"arrow\"],\"corner-right-up\":[\"arrow\"],\"corner-up-left\":[\"arrow\"],\"corner-up-right\":[\"arrow\"],\"cpu\":[\"processor\",\"technology\"],\"credit-card\":[\"purchase\",\"payment\",\"cc\"],\"crop\":[\"photo\",\"image\"],\"crosshair\":[\"aim\",\"target\"],\"database\":[\"storage\",\"memory\"],\"delete\":[\"remove\"],\"disc\":[\"album\",\"cd\",\"dvd\",\"music\"],\"dollar-sign\":[\"currency\",\"money\",\"payment\"],\"droplet\":[\"water\"],\"edit\":[\"pencil\",\"change\"],\"edit-2\":[\"pencil\",\"change\"],\"edit-3\":[\"pencil\",\"change\"],\"eye\":[\"view\",\"watch\"],\"eye-off\":[\"view\",\"watch\",\"hide\",\"hidden\"],\"external-link\":[\"outbound\"],\"facebook\":[\"logo\",\"social\"],\"fast-forward\":[\"music\"],\"figma\":[\"logo\",\"design\",\"tool\"],\"file-minus\":[\"delete\",\"remove\",\"erase\"],\"file-plus\":[\"add\",\"create\",\"new\"],\"file-text\":[\"data\",\"txt\",\"pdf\"],\"film\":[\"movie\",\"video\"],\"filter\":[\"funnel\",\"hopper\"],\"flag\":[\"report\"],\"folder-minus\":[\"directory\"],\"folder-plus\":[\"directory\"],\"folder\":[\"directory\"],\"framer\":[\"logo\",\"design\",\"tool\"],\"frown\":[\"emoji\",\"face\",\"bad\",\"sad\",\"emotion\"],\"gift\":[\"present\",\"box\",\"birthday\",\"party\"],\"git-branch\":[\"code\",\"version control\"],\"git-commit\":[\"code\",\"version control\"],\"git-merge\":[\"code\",\"version control\"],\"git-pull-request\":[\"code\",\"version control\"],\"github\":[\"logo\",\"version control\"],\"gitlab\":[\"logo\",\"version control\"],\"globe\":[\"world\",\"browser\",\"language\",\"translate\"],\"hard-drive\":[\"computer\",\"server\",\"memory\",\"data\"],\"hash\":[\"hashtag\",\"number\",\"pound\"],\"headphones\":[\"music\",\"audio\",\"sound\"],\"heart\":[\"like\",\"love\",\"emotion\"],\"help-circle\":[\"question mark\"],\"hexagon\":[\"shape\",\"node.js\",\"logo\"],\"home\":[\"house\",\"living\"],\"image\":[\"picture\"],\"inbox\":[\"email\"],\"instagram\":[\"logo\",\"camera\"],\"key\":[\"password\",\"login\",\"authentication\",\"secure\"],\"layers\":[\"stack\"],\"layout\":[\"window\",\"webpage\"],\"life-bouy\":[\"help\",\"life ring\",\"support\"],\"link\":[\"chain\",\"url\"],\"link-2\":[\"chain\",\"url\"],\"linkedin\":[\"logo\",\"social media\"],\"list\":[\"options\"],\"lock\":[\"security\",\"password\",\"secure\"],\"log-in\":[\"sign in\",\"arrow\",\"enter\"],\"log-out\":[\"sign out\",\"arrow\",\"exit\"],\"mail\":[\"email\",\"message\"],\"map-pin\":[\"location\",\"navigation\",\"travel\",\"marker\"],\"map\":[\"location\",\"navigation\",\"travel\"],\"maximize\":[\"fullscreen\"],\"maximize-2\":[\"fullscreen\",\"arrows\",\"expand\"],\"meh\":[\"emoji\",\"face\",\"neutral\",\"emotion\"],\"menu\":[\"bars\",\"navigation\",\"hamburger\"],\"message-circle\":[\"comment\",\"chat\"],\"message-square\":[\"comment\",\"chat\"],\"mic-off\":[\"record\",\"sound\",\"mute\"],\"mic\":[\"record\",\"sound\",\"listen\"],\"minimize\":[\"exit fullscreen\",\"close\"],\"minimize-2\":[\"exit fullscreen\",\"arrows\",\"close\"],\"minus\":[\"subtract\"],\"monitor\":[\"tv\",\"screen\",\"display\"],\"moon\":[\"dark\",\"night\"],\"more-horizontal\":[\"ellipsis\"],\"more-vertical\":[\"ellipsis\"],\"mouse-pointer\":[\"arrow\",\"cursor\"],\"move\":[\"arrows\"],\"music\":[\"note\"],\"navigation\":[\"location\",\"travel\"],\"navigation-2\":[\"location\",\"travel\"],\"octagon\":[\"stop\"],\"package\":[\"box\",\"container\"],\"paperclip\":[\"attachment\"],\"pause\":[\"music\",\"stop\"],\"pause-circle\":[\"music\",\"audio\",\"stop\"],\"pen-tool\":[\"vector\",\"drawing\"],\"percent\":[\"discount\"],\"phone-call\":[\"ring\"],\"phone-forwarded\":[\"call\"],\"phone-incoming\":[\"call\"],\"phone-missed\":[\"call\"],\"phone-off\":[\"call\",\"mute\"],\"phone-outgoing\":[\"call\"],\"phone\":[\"call\"],\"play\":[\"music\",\"start\"],\"pie-chart\":[\"statistics\",\"diagram\"],\"play-circle\":[\"music\",\"start\"],\"plus\":[\"add\",\"new\"],\"plus-circle\":[\"add\",\"new\"],\"plus-square\":[\"add\",\"new\"],\"pocket\":[\"logo\",\"save\"],\"power\":[\"on\",\"off\"],\"printer\":[\"fax\",\"office\",\"device\"],\"radio\":[\"signal\"],\"refresh-cw\":[\"synchronise\",\"arrows\"],\"refresh-ccw\":[\"arrows\"],\"repeat\":[\"loop\",\"arrows\"],\"rewind\":[\"music\"],\"rotate-ccw\":[\"arrow\"],\"rotate-cw\":[\"arrow\"],\"rss\":[\"feed\",\"subscribe\"],\"save\":[\"floppy disk\"],\"scissors\":[\"cut\"],\"search\":[\"find\",\"magnifier\",\"magnifying glass\"],\"send\":[\"message\",\"mail\",\"email\",\"paper airplane\",\"paper aeroplane\"],\"settings\":[\"cog\",\"edit\",\"gear\",\"preferences\"],\"share-2\":[\"network\",\"connections\"],\"shield\":[\"security\",\"secure\"],\"shield-off\":[\"security\",\"insecure\"],\"shopping-bag\":[\"ecommerce\",\"cart\",\"purchase\",\"store\"],\"shopping-cart\":[\"ecommerce\",\"cart\",\"purchase\",\"store\"],\"shuffle\":[\"music\"],\"skip-back\":[\"music\"],\"skip-forward\":[\"music\"],\"slack\":[\"logo\"],\"slash\":[\"ban\",\"no\"],\"sliders\":[\"settings\",\"controls\"],\"smartphone\":[\"cellphone\",\"device\"],\"smile\":[\"emoji\",\"face\",\"happy\",\"good\",\"emotion\"],\"speaker\":[\"audio\",\"music\"],\"star\":[\"bookmark\",\"favorite\",\"like\"],\"stop-circle\":[\"media\",\"music\"],\"sun\":[\"brightness\",\"weather\",\"light\"],\"sunrise\":[\"weather\",\"time\",\"morning\",\"day\"],\"sunset\":[\"weather\",\"time\",\"evening\",\"night\"],\"tablet\":[\"device\"],\"tag\":[\"label\"],\"target\":[\"logo\",\"bullseye\"],\"terminal\":[\"code\",\"command line\",\"prompt\"],\"thermometer\":[\"temperature\",\"celsius\",\"fahrenheit\",\"weather\"],\"thumbs-down\":[\"dislike\",\"bad\",\"emotion\"],\"thumbs-up\":[\"like\",\"good\",\"emotion\"],\"toggle-left\":[\"on\",\"off\",\"switch\"],\"toggle-right\":[\"on\",\"off\",\"switch\"],\"tool\":[\"settings\",\"spanner\"],\"trash\":[\"garbage\",\"delete\",\"remove\",\"bin\"],\"trash-2\":[\"garbage\",\"delete\",\"remove\",\"bin\"],\"triangle\":[\"delta\"],\"truck\":[\"delivery\",\"van\",\"shipping\",\"transport\",\"lorry\"],\"tv\":[\"television\",\"stream\"],\"twitch\":[\"logo\"],\"twitter\":[\"logo\",\"social\"],\"type\":[\"text\"],\"umbrella\":[\"rain\",\"weather\"],\"unlock\":[\"security\"],\"user-check\":[\"followed\",\"subscribed\"],\"user-minus\":[\"delete\",\"remove\",\"unfollow\",\"unsubscribe\"],\"user-plus\":[\"new\",\"add\",\"create\",\"follow\",\"subscribe\"],\"user-x\":[\"delete\",\"remove\",\"unfollow\",\"unsubscribe\",\"unavailable\"],\"user\":[\"person\",\"account\"],\"users\":[\"group\"],\"video-off\":[\"camera\",\"movie\",\"film\"],\"video\":[\"camera\",\"movie\",\"film\"],\"voicemail\":[\"phone\"],\"volume\":[\"music\",\"sound\",\"mute\"],\"volume-1\":[\"music\",\"sound\"],\"volume-2\":[\"music\",\"sound\"],\"volume-x\":[\"music\",\"sound\",\"mute\"],\"watch\":[\"clock\",\"time\"],\"wifi-off\":[\"disabled\"],\"wifi\":[\"connection\",\"signal\",\"wireless\"],\"wind\":[\"weather\",\"air\"],\"x-circle\":[\"cancel\",\"close\",\"delete\",\"remove\",\"times\",\"clear\"],\"x-octagon\":[\"delete\",\"stop\",\"alert\",\"warning\",\"times\",\"clear\"],\"x-square\":[\"cancel\",\"close\",\"delete\",\"remove\",\"times\",\"clear\"],\"x\":[\"cancel\",\"close\",\"delete\",\"remove\",\"times\",\"clear\"],\"youtube\":[\"logo\",\"video\",\"play\"],\"zap-off\":[\"flash\",\"camera\",\"lightning\"],\"zap\":[\"flash\",\"camera\",\"lightning\"],\"zoom-in\":[\"magnifying glass\"],\"zoom-out\":[\"magnifying glass\"]};\n\n/***/ }),\n\n/***/ \"./src/to-svg.js\":\n/*!***********************!*\\\n  !*** ./src/to-svg.js ***!\n  \\***********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _icons = __webpack_require__(/*! ./icons */ \"./src/icons.js\");\n\nvar _icons2 = _interopRequireDefault(_icons);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Create an SVG string.\n * @deprecated\n * @param {string} name\n * @param {Object} attrs\n * @returns {string}\n */\nfunction toSvg(name) {\n  var attrs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n  console.warn('feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead.');\n\n  if (!name) {\n    throw new Error('The required `key` (icon name) parameter is missing.');\n  }\n\n  if (!_icons2.default[name]) {\n    throw new Error('No icon matching \\'' + name + '\\'. See the complete list of icons at https://feathericons.com');\n  }\n\n  return _icons2.default[name].toSvg(attrs);\n}\n\nexports.default = toSvg;\n\n/***/ }),\n\n/***/ 0:\n/*!**************************************************!*\\\n  !*** multi core-js/es/array/from ./src/index.js ***!\n  \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! core-js/es/array/from */\"./node_modules/core-js/es/array/from.js\");\nmodule.exports = __webpack_require__(/*! /home/runner/work/feather/feather/src/index.js */\"./src/index.js\");\n\n\n/***/ })\n\n/******/ });\n});\n//# sourceMappingURL=feather.js.map","\"use strict\";\nif (typeof Object.assign !== \"function\") {\n    Object.assign = function (target) {\n        var args = [];\n        for (var _i = 1; _i < arguments.length; _i++) {\n            args[_i - 1] = arguments[_i];\n        }\n        if (!target) {\n            throw TypeError(\"Cannot convert undefined or null to object\");\n        }\n        var _loop_1 = function (source) {\n            if (source) {\n                Object.keys(source).forEach(function (key) { return (target[key] = source[key]); });\n            }\n        };\n        for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {\n            var source = args_1[_a];\n            _loop_1(source);\n        }\n        return target;\n    };\n}\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).jsVectorMap=e()}(this,(function(){\"use strict\";function t(t,i){t.prototype=Object.create(i.prototype),t.prototype.constructor=t,e(t,i)}function e(t,i){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},e(t,i)}function i(t){if(void 0===t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return t}function s(t){throw new TypeError('\"'+t+'\" is read-only')}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}function n(t,e){var i=\"undefined\"!=typeof Symbol&&t[Symbol.iterator]||t[\"@@iterator\"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,e){if(t){if(\"string\"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return\"Object\"===i&&t.constructor&&(i=t.constructor.name),\"Map\"===i||\"Set\"===i?Array.from(t):\"Arguments\"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}}(t))||e&&t&&\"number\"==typeof t.length){i&&(t=i);var s=0;return function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),i=e.length;s(\"i\")>=0&&e.item(i)!==this;);return i>-1}),Object.assign||Object.defineProperty(Object,\"assign\",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(null==t)throw new TypeError(\"Cannot convert first argument to object\");for(var e=Object(t),i=1;i<arguments.length;i++){var s=arguments[i];if(null!=s){s=Object(s);for(var a=Object.keys(Object(s)),n=0,r=a.length;n<r;n++){var o=a[n],h=Object.getOwnPropertyDescriptor(s,o);void 0!==h&&h.enumerable&&(e[o]=s[o])}}}return e}});var r=function(t){return function(t){return!!t&&\"object\"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return\"[object RegExp]\"===e||\"[object Date]\"===e||function(t){return t instanceof Node}(t)||function(t){return t.$$typeof===o}(t)}(t)};var o=\"function\"==typeof Symbol&&Symbol.for?Symbol.for(\"react.element\"):60103;function h(t,e){return!1!==e.clone&&e.isMergeableObject(t)?d((i=t,Array.isArray(i)?[]:{}),t,e):t;var i}function l(t,e,i){return t.concat(e).map((function(t){return h(t,i)}))}function c(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function u(t,e){try{return e in t}catch(t){return!1}}function p(t,e,i){var s={};return i.isMergeableObject(t)&&c(t).forEach((function(e){s[e]=h(t[e],i)})),c(e).forEach((function(a){(function(t,e){return u(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,a)||(u(t,a)&&i.isMergeableObject(e[a])?s[a]=function(t,e){if(!e.customMerge)return d;var i=e.customMerge(t);return\"function\"==typeof i?i:d}(a,i)(t[a],e[a],i):s[a]=h(e[a],i))})),s}var d=function(t,e,i){(i=i||{}).arrayMerge=i.arrayMerge||l,i.isMergeableObject=i.isMergeableObject||r,i.cloneUnlessOtherwiseSpecified=h;var s=Array.isArray(e);return s===Array.isArray(t)?s?i.arrayMerge(t,e,i):p(t,e,i):h(e,i)},f=function(t){return\"object\"==typeof t&&void 0!==t.nodeType?t:\"string\"==typeof t?document.querySelector(t):null},m=function(t,e,i,s){void 0===s&&(s=!1);var a=document.createElement(t);return i&&(a[s?\"innerHTML\":\"textContent\"]=i),e&&(a.className=e),a},g=function(t){t.parentNode.removeChild(t)},v=function(t,e,i){return void 0===i&&(i=!1),i?d(t,e):Object.assign(t,e)},_=function(t,e){return t.toLowerCase()+\":to:\"+e.toLowerCase()},y=function(t,e){Object.assign(t.prototype,e)},b={},w=1,S={on:function(t,e,i,s){void 0===s&&(s={});var a=\"jvm:\"+e+\"::\"+w++;b[a]={selector:t,handler:i},i._uid=a,t.addEventListener(e,i,s)},delegate:function(t,e,i,s){(e=e.split(\" \")).forEach((function(e){S.on(t,e,(function(t){var e=t.target;e.matches(i)&&s.call(e,t)}))}))},off:function(t,e,i){var s=e.split(\":\")[1];t.removeEventListener(s,i),delete b[i._uid]},flush:function(){Object.keys(b).forEach((function(t){S.off(b[t].selector,t,b[t].handler)}))},getEventRegistry:function(){return b}};var k={onLoaded:\"map:loaded\",onViewportChange:\"viewport:changed\",onRegionClick:\"region:clicked\",onMarkerClick:\"marker:clicked\",onRegionSelected:\"region:selected\",onMarkerSelected:\"marker:selected\",onRegionTooltipShow:\"region.tooltip:show\",onMarkerTooltipShow:\"marker.tooltip:show\",onDestroyed:\"map:destroyed\"},M=function(t,e,i){var s=f(e),a=-1===s.getAttribute(\"class\").indexOf(\"jvm-region\")?\"marker\":\"region\",n=\"region\"===a,r=n?s.getAttribute(\"data-code\"):s.getAttribute(\"data-index\"),o=n?k.onRegionSelected:k.onMarkerSelected;return i&&(o=n?k.onRegionTooltipShow:k.onMarkerTooltipShow),{type:a,code:r,event:o,element:n?t.regions[r].element:t._markers[r].element,tooltipText:n?t._mapData.paths[r].name||\"\":t._markers[r].config.name||\"\"}};var x=function(){function t(){}return t.prototype.dispose=function(){this._tooltip?g(this._tooltip):this.shape.remove();for(var t,e=n(Object.getOwnPropertyNames(this));!(t=e()).done;){this[t.value]=null}},t}(),j={getLabelText:function(t,e){if(e){if(\"function\"==typeof e.render){var i=[];return this.config&&this.config.marker&&i.push(this.config.marker),i.push(t),e.render.apply(this,i)}return t}},getLabelOffsets:function(t,e){return\"function\"==typeof e.offsets?e.offsets(t):Array.isArray(e.offsets)?e.offsets[t]:[0,0]},setStyle:function(t,e){this.shape.setStyle(t,e)},remove:function(){this.shape.remove(),this.label&&this.label.remove()},hover:function(t){this._setStatus(\"isHovered\",t)},select:function(t){this._setStatus(\"isSelected\",t)},_setStatus:function(t,e){this.shape[t]=e,this.shape.updateStyle(),this[t]=e,this.label&&(this.label[t]=e,this.label.updateStyle())}},C=function(e){function i(t){var i,s=t.map,a=t.code,n=t.path,r=t.style,o=t.label,h=t.labelStyle,l=t.labelsGroup;(i=e.call(this)||this)._map=s,i.shape=i._createRegion(n,a,r);var c=i.getLabelText(a,o);if(o&&c){var u=i.shape.getBBox(),p=i.getLabelOffsets(a,o);i.labelX=u.x+u.width/2+p[0],i.labelY=u.y+u.height/2+p[1],i.label=i._map.canvas.createText({text:c,textAnchor:\"middle\",alignmentBaseline:\"central\",dataCode:a,x:i.labelX,y:i.labelY},h,l),i.label.addClass(\"jvm-region jvm-element\")}return i}t(i,e);var s=i.prototype;return s._createRegion=function(t,e,i){return(t=this._map.canvas.createPath({d:t,dataCode:e},i)).addClass(\"jvm-region jvm-element\"),t},s.updateLabelPosition=function(){this.label&&this.label.set({x:this.labelX*this._map.scale+this._map.transX*this._map.scale,y:this.labelY*this._map.scale+this._map.transY*this._map.scale})},i}(x);y(C,j);var L=function(e){function i(t){var i,s=t.index,a=t.map,n=t.style,r=t.x1,o=t.y1,h=t.x2,l=t.y2,c=t.group,u=t.config;return(i=e.call(this)||this).config=u,i.shape=a.canvas.createLine({x1:r,y1:o,x2:h,y2:l,dataIndex:s},n,c),i.shape.addClass(\"jvm-line\"),i}return t(i,e),i.prototype.setStyle=function(t,e){this.shape.setStyle(t,e)},i}(x);var O=function(e){function i(t){var i,s=t.index,a=t.style,n=t.label,r=t.cx,o=t.cy,h=t.map,l=t.group;return(i=e.call(this)||this)._map=h,i._isImage=!!a.initial.image,i.config=arguments[0],i.shape=h.canvas[i._isImage?\"createImage\":\"createCircle\"]({dataIndex:s,cx:r,cy:o},a,l),i.shape.addClass(\"jvm-marker jvm-element\"),i._isImage&&i.updateLabelPosition(),n&&i._createLabel(i.config),i}t(i,e);var s=i.prototype;return s.updateLabelPosition=function(){this.label&&this.label.set({x:this._labelX*this._map.scale+this._offsets[0]+this._map.transX*this._map.scale+5+(this._isImage?(this.shape.width||0)/2:this.shape.node.r.baseVal.value),y:this._labelY*this._map.scale+this._map.transY*this._map.scale+this._offsets[1]})},s._createLabel=function(t){var e=t.index,i=t.map,s=t.label,a=t.labelsGroup,n=t.cx,r=t.cy,o=t.marker,h=t.isRecentlyCreated,l=this.getLabelText(e,s);this._labelX=n/i.scale-i.transX,this._labelY=r/i.scale-i.transY,this._offsets=h&&o.offsets?o.offsets:this.getLabelOffsets(e,s),this.label=i.canvas.createText({text:l,dataIndex:e,x:this._labelX,y:this._labelY,dy:\"0.6ex\"},i.params.markerLabelStyle,a),this.label.addClass(\"jvm-marker jvm-element\"),h&&this.updateLabelPosition()},i}(x);y(O,j);var A=function(){function t(t){void 0===t&&(t={}),this._options=t,this._map=this._options.map,this._series=this._options.series,this._body=m(\"div\",\"jvm-legend\"),this._options.cssClass&&this._body.setAttribute(\"class\",this._options.cssClass),t.vertical?this._map.legendVertical.appendChild(this._body):this._map.legendHorizontal.appendChild(this._body),this.render()}return t.prototype.render=function(){var t,e=this._series.scale.getTicks(),i=m(\"div\",\"jvm-legend-inner\");if(this._body.innderHTML=\"\",this._options.title){var s=m(\"div\",\"jvm-legend-title\",this._options.title);this._body.appendChild(s)}this._body.appendChild(i);for(var a=0;a<e.length;a++){var n=m(\"div\",\"jvm-legend-tick\"),r=m(\"div\",\"jvm-legend-tick-sample\");switch(this._series.config.attribute){case\"fill\":t=e[a].value,/\\.(jpg|gif|png)$/.test(t)?r.style.background=\"url(\"+e[a].value+\")\":r.style.background=e[a].value;break;case\"stroke\":r.style.background=e[a].value;break;case\"image\":r.style.background=\"url(\"+(\"object\"==typeof e[a].value?e[a].value.url:e[a].value)+\") no-repeat center center\",r.style.backgroundSize=\"cover\"}n.appendChild(r);var o=e[a].label;this._options.labelRender&&(o=this._options.labelRender(o));var h=m(\"div\",\"jvm-legend-tick-text\",o);n.appendChild(h),i.appendChild(n)}},t}(),X=function(){function t(t){this._scale=t}var e=t.prototype;return e.getValue=function(t){return this._scale[t]},e.getTicks=function(){var t=[];for(var e in this._scale)t.push({label:e,value:this._scale[e]});return t},t}(),Y=function(){function t(t,e,i){void 0===t&&(t={}),this._map=i,this._elements=e,this._values=t.values||{},this.config=t,this.config.attribute=t.attribute||\"fill\",t.attributes&&this.setAttributes(t.attributes),\"object\"==typeof t.scale&&(this.scale=new X(t.scale)),this.config.legend&&(this.legend=new A(v({map:this._map,series:this},this.config.legend))),this.setValues(this._values)}var e=t.prototype;return e.setValues=function(t){var e={};for(var i in t)t[i]&&(e[i]=this.scale.getValue(t[i]));this.setAttributes(e)},e.setAttributes=function(t){for(var e in t)this._elements[e]&&this._elements[e].element.setStyle(this.config.attribute,t[e])},e.clear=function(){var t,e={};for(t in this._values)this._elements[t]&&(e[t]=this._elements[t].element.shape.style.initial[this.config.attribute]);this.setAttributes(e),this._values={}},t}();var E={mill:function(t,e,i){return{x:this.radius*(e-i)*this.radDeg,y:-this.radius*Math.log(Math.tan((45+.4*t)*this.radDeg))/.8}},merc:function(t,e,i){return{x:this.radius*(e-i)*this.radDeg,y:-this.radius*Math.log(Math.tan(Math.PI/4+t*Math.PI/360))}},aea:function(t,e,i){var s=i*this.radDeg,a=29.5*this.radDeg,n=45.5*this.radDeg,r=t*this.radDeg,o=e*this.radDeg,h=(Math.sin(a)+Math.sin(n))/2,l=Math.cos(a)*Math.cos(a)+2*h*Math.sin(a),c=h*(o-s),u=Math.sqrt(l-2*h*Math.sin(r))/h,p=Math.sqrt(l-2*h*Math.sin(0))/h;return{x:u*Math.sin(c)*this.radius,y:-(p-u*Math.cos(c))*this.radius}},lcc:function(t,e,i){var s=i*this.radDeg,a=e*this.radDeg,n=33*this.radDeg,r=45*this.radDeg,o=t*this.radDeg,h=Math.log(Math.cos(n)*(1/Math.cos(r)))/Math.log(Math.tan(Math.PI/4+r/2)*(1/Math.tan(Math.PI/4+n/2))),l=Math.cos(n)*Math.pow(Math.tan(Math.PI/4+n/2),h)/h,c=l*Math.pow(1/Math.tan(Math.PI/4+o/2),h),u=l*Math.pow(1/Math.tan(Math.PI/4+0),h);return{x:c*Math.sin(h*(a-s))*this.radius,y:-(u-c*Math.cos(h*(a-s)))*this.radius}}};E.degRad=180/Math.PI,E.radDeg=Math.PI/180,E.radius=6381372;var T={_setupContainerEvents:function(){var t,e,i=this,s=this,a=!1;this.params.draggable&&(S.on(this.container,\"mousemove\",(function(i){if(!a)return!1;s.transX-=(t-i.pageX)/s.scale,s.transY-=(e-i.pageY)/s.scale,s._applyTransform(),t=i.pageX,e=i.pageY})),S.on(this.container,\"mousedown\",(function(i){return a=!0,t=i.pageX,e=i.pageY,!1})),S.on(document.body,\"mouseup\",(function(){a=!1}))),this.params.zoomOnScroll&&S.on(this.container,\"wheel\",(function(t){var e=75*((t.deltaY||-t.wheelDelta||t.detail)>>10||1),a=i.container.getBoundingClientRect(),n=t.pageX-a.left-window.pageXOffset,r=t.pageY-a.top-window.pageYOffset,o=Math.pow(1+s.params.zoomOnScrollSpeed/1e3,-1.5*e);s.tooltip&&s._tooltip.hide(),s._setScale(s.scale*o,n,r),t.preventDefault()}))},_setupElementEvents:function(){var t,e,i,s=this,a=this.container;S.on(a,\"mousemove\",(function(s){Math.abs(t-s.pageX)+Math.abs(e-s.pageY)>2&&(i=!0)})),S.delegate(a,\"mousedown\",\".jvm-element\",(function(s){t=s.pageX,e=s.pageY,i=!1})),S.delegate(a,\"mouseover mouseout\",\".jvm-element\",(function(t){var e=M(s,this,!0),i=s.params.showTooltip;\"mouseover\"===t.type?(e.element.hover(!0),i&&(s._tooltip.text(e.tooltipText),s._tooltip.show(),s._emit(e.event,[t,s._tooltip,e.code]))):(e.element.hover(!1),i&&s._tooltip.hide())})),S.delegate(a,\"mouseup\",\".jvm-element\",(function(t){var e=M(s,this);if(!i&&(\"region\"===e.type&&s.params.regionsSelectable||\"marker\"===e.type&&s.params.markersSelectable)){var a=e.element;s.params[e.type+\"sSelectableOne\"]&&s._clearSelected(e.type+\"s\"),e.element.isSelected?a.select(!1):a.select(!0),s._emit(e.event,[e.code,a.isSelected,s._getSelected(e.type+\"s\")])}})),S.delegate(a,\"click\",\".jvm-element\",(function(t){var e=M(s,this),i=e.type,a=e.code;s._emit(\"region\"===i?k.onRegionClick:k.onMarkerClick,[t,a])}))},_setupZoomButtons:function(){var t=this,e=m(\"div\",\"jvm-zoom-btn jvm-zoomin\",\"&#43;\",!0),i=m(\"div\",\"jvm-zoom-btn jvm-zoomout\",\"&#x2212\",!0);this.container.appendChild(e),this.container.appendChild(i);var s=function(e){return void 0===e&&(e=!0),function(){return t._setScale(e?t.scale*t.params.zoomStep:t.scale/t.params.zoomStep,t._width/2,t._height/2,!1,t.params.zoomAnimate)}};S.on(e,\"click\",s()),S.on(i,\"click\",s(!1))},_setupContainerTouchEvents:function(){var t,e,i,s,a,n,r,o=this,h=function(h){var l,c,u,p,d=h.touches;if(\"touchstart\"==h.type&&(r=0),1==d.length)1==r&&(u=o.transX,p=o.transY,o.transX-=(i-d[0].pageX)/o.scale,o.transY-=(s-d[0].pageY)/o.scale,o._tooltip.hide(),o._applyTransform(),u==o.transX&&p==o.transY||h.preventDefault()),i=d[0].pageX,s=d[0].pageY;else if(2==d.length)if(2==r)c=Math.sqrt(Math.pow(d[0].pageX-d[1].pageX,2)+Math.pow(d[0].pageY-d[1].pageY,2))/e,o._setScale(t*c,a,n),o._tooltip.hide(),h.preventDefault();else{var f=o.container.getBoundingClientRect();l={top:f.top+window.scrollY,left:f.left+window.scrollX},a=d[0].pageX>d[1].pageX?d[1].pageX+(d[0].pageX-d[1].pageX)/2:d[0].pageX+(d[1].pageX-d[0].pageX)/2,n=d[0].pageY>d[1].pageY?d[1].pageY+(d[0].pageY-d[1].pageY)/2:d[0].pageY+(d[1].pageY-d[0].pageY)/2,a-=l.left,n-=l.top,t=o.scale,e=Math.sqrt(Math.pow(d[0].pageX-d[1].pageX,2)+Math.pow(d[0].pageY-d[1].pageY,2))}r=d.length};S.on(o.container,\"touchstart\",h),S.on(o.container,\"touchmove\",h)},_createRegions:function(){for(var t in this._regionLabelsGroup=this._regionLabelsGroup||this.canvas.createGroup(\"jvm-regions-labels-group\"),this._mapData.paths){var e=new C({map:this,code:t,path:this._mapData.paths[t].path,style:v({},this.params.regionStyle),labelStyle:this.params.regionLabelStyle,labelsGroup:this._regionLabelsGroup,label:this.params.labels&&this.params.labels.regions});this.regions[t]={config:this._mapData.paths[t],element:e}}},_createLines:function(t,e,i){void 0===i&&(i=!1);var s=!1,a=!1;for(var n in this.linesGroup=this.linesGroup||this.canvas.createGroup(\"jvm-lines-group\"),t){var r=t[n];for(var o in e){var h=i?e[o].config:e[o];h.name===r.from&&(s=this.getMarkerPosition(h)),h.name===r.to&&(a=this.getMarkerPosition(h))}!1!==s&&!1!==a&&(this._lines[_(r.from,r.to)]=new L({index:n,map:this,style:v({initial:this.params.lineStyle},{initial:r.style||{}},!0),x1:s.x,y1:s.y,x2:a.x,y2:a.y,group:this.linesGroup,config:r}))}},_createMarkers:function(t,e){var i=this;void 0===t&&(t={}),void 0===e&&(e=!1),this._markersGroup=this._markersGroup||this.canvas.createGroup(\"jvm-markers-group\"),this._markerLabelsGroup=this._markerLabelsGroup||this.canvas.createGroup(\"jvm-markers-labels-group\");var s=function(){var s=t[a],n=i.getMarkerPosition(s),r=s.coords.join(\":\");if(!n)return\"continue\";if(e){if(Object.keys(i._markers).filter((function(t){return i._markers[t]._uid===r})).length)return\"continue\";a=Object.keys(i._markers).length}var o=new O({index:a,map:i,style:v(i.params.markerStyle,{initial:s.style||{}},!0),label:i.params.labels&&i.params.labels.markers,labelsGroup:i._markerLabelsGroup,cx:n.x,cy:n.y,group:i._markersGroup,marker:s,isRecentlyCreated:e});i._markers[a]&&i.removeMarkers([a]),i._markers[a]={_uid:r,config:s,element:o}};for(var a in t)s()},_createSeries:function(){for(var t in this.series={markers:[],regions:[]},this.params.series)for(var e=0;e<this.params.series[t].length;e++)this.series[t][e]=new Y(this.params.series[t][e],\"markers\"===t?this._markers:this.regions,this)},_applyTransform:function(){var t,e,i,s;this._defaultWidth*this.scale<=this._width?(t=(this._width-this._defaultWidth*this.scale)/(2*this.scale),i=(this._width-this._defaultWidth*this.scale)/(2*this.scale)):(t=0,i=(this._width-this._defaultWidth*this.scale)/this.scale),this._defaultHeight*this.scale<=this._height?(e=(this._height-this._defaultHeight*this.scale)/(2*this.scale),s=(this._height-this._defaultHeight*this.scale)/(2*this.scale)):(e=0,s=(this._height-this._defaultHeight*this.scale)/this.scale),this.transY>e?this.transY=e:this.transY<s&&(this.transY=s),this.transX>t?this.transX=t:this.transX<i&&(this.transX=i),this.canvas.applyTransformParams(this.scale,this.transX,this.transY),this._markers&&this._repositionMarkers(),this._lines&&this._repositionLines(),this._repositionLabels()},_resize:function(){var t=this._baseScale;this._width/this._height>this._defaultWidth/this._defaultHeight?(this._baseScale=this._height/this._defaultHeight,this._baseTransX=Math.abs(this._width-this._defaultWidth*this._baseScale)/(2*this._baseScale)):(this._baseScale=this._width/this._defaultWidth,this._baseTransY=Math.abs(this._height-this._defaultHeight*this._baseScale)/(2*this._baseScale)),this.scale*=this._baseScale/t,this.transX*=this._baseScale/t,this.transY*=this._baseScale/t},_setScale:function(t,e,i,s,a){var n,r,o,h,l,c,u,p,d,f,m=this,g=0,v=Math.abs(Math.round(60*(t-this.scale)/Math.max(t,this.scale)));t>this.params.zoomMax*this._baseScale?t=this.params.zoomMax*this._baseScale:t<this.params.zoomMin*this._baseScale&&(t=this.params.zoomMin*this._baseScale),void 0!==e&&void 0!==i&&(n=t/this.scale,s?(d=e+this._defaultWidth*(this._width/(this._defaultWidth*t))/2,f=i+this._defaultHeight*(this._height/(this._defaultHeight*t))/2):(d=this.transX-(n-1)/t*e,f=this.transY-(n-1)/t*i)),a&&v>0?(o=this.scale,h=(t-o)/v,l=this.transX*this.scale,u=this.transY*this.scale,c=(d*t-l)/v,p=(f*t-u)/v,r=setInterval((function(){g+=1,m.scale=o+h*g,m.transX=(l+c*g)/m.scale,m.transY=(u+p*g)/m.scale,m._applyTransform(),g==v&&(clearInterval(r),m._emit(k.onViewportChange,[m.scale,m.transX,m.transY]))}),10)):(this.transX=d,this.transY=f,this.scale=t,this._applyTransform(),this._emit(k.onViewportChange,[this.scale,this.transX,this.transY]))},setFocus:function(t){var e=this;void 0===t&&(t={});var i,s=[];if(t.region?s.push(t.region):t.regions&&(s=t.regions),s.length)return s.forEach((function(t){if(e.regions[t]){var s=e.regions[t].element.shape.getBBox();s&&(i=void 0===i?s:{x:Math.min(i.x,s.x),y:Math.min(i.y,s.y),width:Math.max(i.x+i.width,s.x+s.width)-Math.min(i.x,s.x),height:Math.max(i.y+i.height,s.y+s.height)-Math.min(i.y,s.y)})}})),this._setScale(Math.min(this._width/i.width,this._height/i.height),-(i.x+i.width/2),-(i.y+i.height/2),!0,t.animate);if(t.coords){var a=this.coordsToPoint(t.coords[0],t.coords[1]),n=this.transX-a.x/this.scale,r=this.transY-a.y/this.scale;return this._setScale(t.scale*this._baseScale,n,r,!0,t.animate)}},updateSize:function(){this._width=this.container.offsetWidth,this._height=this.container.offsetHeight,this._resize(),this.canvas.setSize(this._width,this._height),this._applyTransform()},coordsToPoint:function(t,e){var i=G.maps[this.params.map].projection,s=E[i.type](t,e,i.centralMeridian),a=s.x,n=s.y,r=this.getInsetForPoint(a,n);if(!r)return!1;var o=r.bbox;return a=(a-o[0].x)/(o[1].x-o[0].x)*r.width*this.scale,n=(n-o[0].y)/(o[1].y-o[0].y)*r.height*this.scale,{x:a+this.transX*this.scale+r.left*this.scale,y:n+this.transY*this.scale+r.top*this.scale}},getInsetForPoint:function(t,e){for(var i=G.maps[this.params.map].insets,s=0;s<i.length;s++){var a=i[s].bbox,n=a[0],r=a[1];if(t>n.x&&t<r.x&&e>n.y&&e<r.y)return i[s]}},getMarkerPosition:function(t){var e=t.coords;return G.maps[this.params.map].projection?this.coordsToPoint.apply(this,e):{x:e[0]*this.scale+this.transX*this.scale,y:e[1]*this.scale+this.transY*this.scale}},_repositionLines:function(){var t=!1,e=!1;for(var i in this._lines){for(var s in this._markers){var a=this._markers[s];a.config.name===this._lines[i].config.from&&(t=this.getMarkerPosition(a.config)),a.config.name===this._lines[i].config.to&&(e=this.getMarkerPosition(a.config))}!1!==t&&!1!==e&&this._lines[i].setStyle({x1:t.x,y1:t.y,x2:e.x,y2:e.y})}},_repositionMarkers:function(){for(var t in this._markers){var e=this.getMarkerPosition(this._markers[t].config);!1!==e&&this._markers[t].element.setStyle({cx:e.x,cy:e.y})}},_repositionLabels:function(){var t=this.params.labels;if(t){if(t.regions)for(var e in this.regions)this.regions[e].element.updateLabelPosition();if(t.markers)for(var i in this._markers)this._markers[i].element.updateLabelPosition()}}},z=function(){function t(t,e){this.node=this._createElement(t),e&&this.set(e)}var e=t.prototype;return e._createElement=function(t){return document.createElementNS(\"http://www.w3.org/2000/svg\",t)},e.addClass=function(t){this.node.setAttribute(\"class\",t)},e.getBBox=function(){return this.node.getBBox()},e.set=function(t,e){if(\"object\"==typeof t)for(var i in t)this.applyAttr(i,t[i]);else this.applyAttr(t,e)},e.get=function(t){return this.style.initial[t]},e.applyAttr=function(t,e){this.node.setAttribute(t.replace(/[\\w]([A-Z])/g,(function(t){return t[0]+\"-\"+t[1]})).toLowerCase(),e)},e.remove=function(){g(this.node)},t}(),P=function(e){function i(t,i,s){var a;return void 0===s&&(s={}),(a=e.call(this,t,i)||this).isHovered=!1,a.isSelected=!1,a.style=s,a.style.current={},a.updateStyle(),a}t(i,e);var s=i.prototype;return s.setStyle=function(t,e){var i;\"object\"==typeof t?v(this.style.current,t):v(this.style.current,((i={})[t]=e,i));this.updateStyle()},s.updateStyle=function(){var t={};v(t,this.style.initial),v(t,this.style.current),this.isHovered&&v(t,this.style.hover),this.isSelected&&(v(t,this.style.selected),this.isHovered&&v(t,this.style.selectedHover)),this.set(t)},i}(z),D=function(e){function i(t,i){return e.call(this,\"text\",t,i)||this}return t(i,e),i.prototype.applyAttr=function(t,i){\"text\"===t?this.node.textContent=i:e.prototype.applyAttr.call(this,t,i)},i}(P),I=function(e){function i(t,i){return e.call(this,\"image\",t,i)||this}return t(i,e),i.prototype.applyAttr=function(t,i){var s;\"image\"===t?(\"object\"==typeof i?(s=i.url,this.offset=i.offset||[0,0]):(s=i,this.offset=[0,0]),this.node.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"href\",s),this.width=23,this.height=23,this.applyAttr(\"width\",this.width),this.applyAttr(\"height\",this.height),this.applyAttr(\"x\",this.cx-this.width/2+this.offset[0]),this.applyAttr(\"y\",this.cy-this.height/2+this.offset[1])):\"cx\"==t?(this.cx=i,this.width&&this.applyAttr(\"x\",i-this.width/2+this.offset[0])):\"cy\"==t?(this.cy=i,this.height&&this.applyAttr(\"y\",i-this.height/2+this.offset[1])):e.prototype.applyAttr.apply(this,arguments)},i}(P),R=function(e){function i(t){var i;return(i=e.call(this,\"svg\")||this)._container=t,i._defsElement=new z(\"defs\"),i._rootElement=new z(\"g\",{id:\"jvm-regions-group\"}),i.node.appendChild(i._defsElement.node),i.node.appendChild(i._rootElement.node),i._container.appendChild(i.node),i}t(i,e);var s=i.prototype;return s.setSize=function(t,e){this.node.setAttribute(\"width\",t),this.node.setAttribute(\"height\",e)},s.applyTransformParams=function(t,e,i){this._rootElement.node.setAttribute(\"transform\",\"scale(\"+t+\") translate(\"+e+\", \"+i+\")\")},s.createPath=function(t,e){var i=new P(\"path\",t,e);return i.node.setAttribute(\"fill-rule\",\"evenodd\"),this._add(i)},s.createCircle=function(t,e,i){var s=new P(\"circle\",t,e);return this._add(s,i)},s.createLine=function(t,e,i){var s=new P(\"line\",t,e);return this._add(s,i)},s.createText=function(t,e,i){var s=new D(t,e);return this._add(s,i)},s.createImage=function(t,e,i){var s=new I(t,e);return this._add(s,i)},s.createGroup=function(t){var e=new z(\"g\");return this.node.appendChild(e.node),t&&(e.node.id=t),e.canvas=this,e},s._add=function(t,e){return(e=e||this._rootElement).node.appendChild(t.node),t},i}(z),H=function(e){function s(t){var s;s=e.call(this)||this;var a=m(\"div\",\"jvm-tooltip\");return s._map=t,s._tooltip=document.body.appendChild(a),s._bindEventListeners(),i(s)||i(s)}t(s,e);var a=s.prototype;return a._bindEventListeners=function(){var t=this;S.on(this._map.container,\"mousemove\",(function(e){if(t._tooltip.classList.contains(\"active\")){var i,s,a=(i=t._map.container,s=\"#jvm-regions-group\",Element.prototype.querySelector.call(i,s)).getBoundingClientRect(),n=t._tooltip.getBoundingClientRect(),r=n.height,o=n.width,h=e.clientY<=a.top+r+5,l=e.pageY-r-5,c=e.pageX-o-5;h&&(l+=r+5,c-=10),e.clientX<a.left+o+5&&(c=e.pageX+5+2,h&&(c+=10)),t.css({top:l+\"px\",left:c+\"px\"})}}))},a.getElement=function(){return this._tooltip},a.show=function(){this._tooltip.classList.add(\"active\")},a.hide=function(){this._tooltip.classList.remove(\"active\")},a.text=function(t,e){void 0===e&&(e=!1);var i=e?\"innerHTML\":\"textContent\";if(!t)return this._tooltip[i];this._tooltip[i]=t},a.css=function(t){for(var e in t)this._tooltip.style[e]=t[e];return this},s}(x),V=function(){function t(t,e){var i=t.scale,s=t.values;this._scale=i,this._values=s,this._fromColor=this.hexToRgb(i[0]),this._toColor=this.hexToRgb(i[1]),this._map=e,this.setMinMaxValues(s),this.visualize()}var e=t.prototype;return e.setMinMaxValues=function(t){for(var e in this.min=Number.MAX_VALUE,this.max=0,t)(e=parseFloat(t[e]))>this.max&&(this.max=e),e<this.min&&(this.min=e)},e.visualize=function(){var t,e={};for(var i in this._values)t=parseFloat(this._values[i]),isNaN(t)||(e[i]=this.getValue(t));this.setAttributes(e)},e.setAttributes=function(t){for(var e in t)this._map.regions[e]&&this._map.regions[e].element.setStyle(\"fill\",t[e])},e.getValue=function(t){for(var e,i=\"#\",s=0;s<3;s++)i+=(1===(e=Math.round(this._fromColor[s]+(this._toColor[s]-this._fromColor[s])*((t-this.min)/(this.max-this.min))).toString(16)).length?\"0\":\"\")+e;return i},e.hexToRgb=function(t){var e=0,i=0,s=0;return 4==t.length?(e=\"0x\"+t[1]+t[1],i=\"0x\"+t[2]+t[2],s=\"0x\"+t[3]+t[3]):7==t.length&&(e=\"0x\"+t[1]+t[2],i=\"0x\"+t[3]+t[4],s=\"0x\"+t[5]+t[6]),[parseInt(e),parseInt(i),parseInt(s)]},t}(),G=function(){function t(e){var i=this;if(void 0===e&&(e={}),this.params=v(t.defaults,e,!0),!t.maps[this.params.map])throw new Error(\"Attempt to use map which was not loaded: \"+e.map);this.regions={},this.scale=1,this.transX=0,this.transY=0,this._mapData=t.maps[this.params.map],this._markers={},this._lines={},this._defaultWidth=this._mapData.width,this._defaultHeight=this._mapData.height,this._height=0,this._width=0,this._baseScale=1,this._baseTransX=0,this._baseTransY=0,\"loading\"!==document.readyState?this._init():window.addEventListener(\"DOMContentLoaded\",(function(){return i._init()}))}var e=t.prototype;return e._init=function(){var t=this.params;this.container=f(t.selector),this.container.classList.add(\"jvm-container\"),this.canvas=new R(this.container),this.setBackgroundColor(t.backgroundColor),this._createRegions(),this.updateSize(),this._createLines(t.lines||{},t.markers||{}),this._createMarkers(t.markers),this._repositionLabels(),this._setupContainerEvents(),this._setupElementEvents(),t.zoomButtons&&this._setupZoomButtons(),t.showTooltip&&(this._tooltip=new H(this)),t.selectedRegions&&this._setSelected(\"regions\",t.selectedRegions),t.selectedMarkers&&this._setSelected(\"_markers\",t.selectedMarkers),t.focusOn&&this.setFocus(t.focusOn),t.visualizeData&&(this.dataVisualization=new V(t.visualizeData,this)),t.bindTouchEvents&&(\"ontouchstart\"in window||window.DocumentTouch&&document instanceof DocumentTouch)&&this._setupContainerTouchEvents(),t.series&&(this.container.appendChild(this.legendHorizontal=m(\"div\",\"jvm-series-container jvm-series-h\")),this.container.appendChild(this.legendVertical=m(\"div\",\"jvm-series-container jvm-series-v\")),this._createSeries()),this._emit(k.onLoaded,[this])},e.setBackgroundColor=function(t){this.container.style.backgroundColor=t},e.getSelectedRegions=function(){return this._getSelected(\"regions\")},e.clearSelectedRegions=function(){this._clearSelected(\"regions\")},e.getSelectedMarkers=function(){return this._getSelected(\"_markers\")},e.clearSelectedMarkers=function(){this._clearSelected(\"_markers\")},e.addMarkers=function(t){if(Array.isArray(t))return this._createMarkers(t,!0);this._createMarkers([t],!0)},e.removeMarkers=function(t){var e=this;t||(t=Object.keys(this._markers)),t.forEach((function(t){e._markers[t].element.remove(),delete e._markers[t]}))},e.addLine=function(t,e,i){void 0===i&&(i={}),console.warn(\"`addLine` method is deprecated, please use `addLines` instead.\"),this._createLines([{from:t,to:e,style:i}],this._markers,!0)},e.addLines=function(t){var e=this._getLinesAsUids();Array.isArray(t)||(t=[t]),this._createLines(t.filter((function(t){return!(e.indexOf(_(t.from,t.to))>-1)})),this._markers,!0)},e.removeLines=function(t){var e=this;(t=Array.isArray(t)?t.map((function(t){return _(t.from,t.to)})):this._getLinesAsUids()).forEach((function(t){e._lines[t].dispose(),delete e._lines[t]}))},e.removeLine=function(t,e){console.warn(\"`removeLine` method is deprecated, please use `removeLines` instead.\");var i=_(t,e);this._lines.hasOwnProperty(i)&&(this._lines[i].element.remove(),delete this._lines[i])},e.reset=function(){for(var t in this.series)for(var e=0;e<this.series[t].length;e++)this.series[t][e].clear();this.legendHorizontal&&(g(this.legendHorizontal),this.legendHorizontal=null),this.legendVertical&&(g(this.legendVertical),this.legendVertical=null),this.scale=this._baseScale,this.transX=this._baseTransX,this.transY=this._baseTransY,this._applyTransform(),this.clearSelectedMarkers(),this.clearSelectedRegions(),this.removeMarkers()},e.destroy=function(t){var e=this;void 0===t&&(t=!0),S.flush(),this._tooltip.dispose(),this._emit(k.onDestroyed),t&&Object.keys(this).forEach((function(t){try{delete e[t]}catch(t){}}))},e.extend=function(e,i){if(\"function\"==typeof this[e])throw new Error(\"The method [\"+e+\"] does already exist, please use another name.\");t.prototype[e]=i},e._emit=function(t,e){for(var i in k)k[i]===t&&\"function\"==typeof this.params[i]&&this.params[i].apply(this,e)},e._getSelected=function(t){var e=[];for(var i in this[t])this[t][i].element.isSelected&&e.push(i);return e},e._setSelected=function(t,e){var i=this;e.forEach((function(e){i[t][e]&&i[t][e].element.select(!0)}))},e._clearSelected=function(t){var e=this;this._getSelected(t).forEach((function(i){e[t][i].element.select(!1)}))},e._getLinesAsUids=function(){return Object.keys(this._lines)},t}();G.maps={},G.defaults={map:\"world\",backgroundColor:\"transparent\",draggable:!0,zoomButtons:!0,zoomOnScroll:!0,zoomOnScrollSpeed:3,zoomMax:12,zoomMin:1,zoomAnimate:!0,showTooltip:!0,zoomStep:1.5,bindTouchEvents:!0,lineStyle:{stroke:\"#808080\",strokeWidth:1,strokeLinecap:\"round\"},markersSelectable:!1,markersSelectableOne:!1,markerStyle:{initial:{r:7,fill:\"#374151\",fillOpacity:1,stroke:\"#FFF\",strokeWidth:5,strokeOpacity:.5},hover:{fill:\"#3cc0ff\",cursor:\"pointer\"},selected:{fill:\"blue\"},selectedHover:{}},markerLabelStyle:{initial:{fontFamily:\"Verdana\",fontSize:12,fontWeight:500,cursor:\"default\",fill:\"#374151\"},hover:{cursor:\"pointer\"},selected:{},selectedHover:{}},regionsSelectable:!1,regionsSelectableOne:!1,regionStyle:{initial:{fill:\"#dee2e8\",fillOpacity:1,stroke:\"none\",strokeWidth:0},hover:{fillOpacity:.7,cursor:\"pointer\"},selected:{fill:\"#9ca3af\"},selectedHover:{}},regionLabelStyle:{initial:{fontFamily:\"Verdana\",fontSize:\"12\",fontWeight:\"bold\",cursor:\"default\",fill:\"#35373e\"},hover:{cursor:\"pointer\"}}},Object.assign(G.prototype,T);var B=function(){function t(t){if(void 0===t&&(t={}),!t.selector)throw new Error(\"Selector is not given.\");return new G(t)}return t.addMap=function(t,e){G.maps[t]=e},t}();return window.jsVectorMap=B}));\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        result = wait - timeSinceLastCall;\n\n    return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = value.replace(reTrim, '');\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n    genTag = '[object GeneratorFunction]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n  return object == null ? undefined : object[key];\n}\n\n/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n  // Many host objects are `Object` objects that can coerce to strings\n  // despite having improperly defined `toString` methods.\n  var result = false;\n  if (value != null && typeof value.toString != 'function') {\n    try {\n      result = !!(value + '');\n    } catch (e) {}\n  }\n  return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n    funcProto = Function.prototype,\n    objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n  return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n  funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n  .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map'),\n    nativeCreate = getNative(Object, 'create');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n  var index = -1,\n      length = entries ? entries.length : 0;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n  this.__data__ = nativeCreate ? nativeCreate(null) : {};\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n  return this.has(key) && delete this.__data__[key];\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n  var data = this.__data__;\n  if (nativeCreate) {\n    var result = data[key];\n    return result === HASH_UNDEFINED ? undefined : result;\n  }\n  return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n  var data = this.__data__;\n  return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n  var data = this.__data__;\n  data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n  return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n  var index = -1,\n      length = entries ? entries.length : 0;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n  this.__data__ = [];\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  if (index < 0) {\n    return false;\n  }\n  var lastIndex = data.length - 1;\n  if (index == lastIndex) {\n    data.pop();\n  } else {\n    splice.call(data, index, 1);\n  }\n  return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n  return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  if (index < 0) {\n    data.push([key, value]);\n  } else {\n    data[index][1] = value;\n  }\n  return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n  var index = -1,\n      length = entries ? entries.length : 0;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n  this.__data__ = {\n    'hash': new Hash,\n    'map': new (Map || ListCache),\n    'string': new Hash\n  };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n  return getMapData(this, key)['delete'](key);\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n  return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n  return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n  getMapData(this, key).set(key, value);\n  return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n  var length = array.length;\n  while (length--) {\n    if (eq(array[length][0], key)) {\n      return length;\n    }\n  }\n  return -1;\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n *  else `false`.\n */\nfunction baseIsNative(value) {\n  if (!isObject(value) || isMasked(value)) {\n    return false;\n  }\n  var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n  return pattern.test(toSource(value));\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n  var data = map.__data__;\n  return isKeyable(key)\n    ? data[typeof key == 'string' ? 'string' : 'hash']\n    : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n  var value = getValue(object, key);\n  return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n  var type = typeof value;\n  return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n    ? (value !== '__proto__')\n    : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n  return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n  if (func != null) {\n    try {\n      return funcToString.call(func);\n    } catch (e) {}\n    try {\n      return (func + '');\n    } catch (e) {}\n  }\n  return '';\n}\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n  if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  var memoized = function() {\n    var args = arguments,\n        key = resolver ? resolver.apply(this, args) : args[0],\n        cache = memoized.cache;\n\n    if (cache.has(key)) {\n      return cache.get(key);\n    }\n    var result = func.apply(this, args);\n    memoized.cache = cache.set(key, result);\n    return result;\n  };\n  memoized.cache = new (memoize.Cache || MapCache);\n  return memoized;\n}\n\n// Assign cache to `_.memoize`.\nmemoize.Cache = MapCache;\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n  return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n  // The use of `Object#toString` avoids issues with the `typeof` operator\n  // in Safari 8-9 which returns 'object' for typed array and other constructors.\n  var tag = isObject(value) ? objectToString.call(value) : '';\n  return tag == funcTag || tag == genTag;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return !!value && (type == 'object' || type == 'function');\n}\n\nmodule.exports = memoize;\n","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        result = wait - timeSinceLastCall;\n\n    return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n *  Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n  var leading = true,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  if (isObject(options)) {\n    leading = 'leading' in options ? !!options.leading : leading;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n  return debounce(func, wait, {\n    'leading': leading,\n    'maxWait': wait,\n    'trailing': trailing\n  });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = value.replace(reTrim, '');\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","//! moment.js locale configuration\n//! locale : Afrikaans [af]\n//! author : Werner Mollentze : https://github.com/wernerm\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var af = moment.defineLocale('af', {\n        months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),\n        weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(\n            '_'\n        ),\n        weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),\n        weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),\n        meridiemParse: /vm|nm/i,\n        isPM: function (input) {\n            return /^nm$/i.test(input);\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'vm' : 'VM';\n            } else {\n                return isLower ? 'nm' : 'NM';\n            }\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Vandag om] LT',\n            nextDay: '[Môre om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[Gister om] LT',\n            lastWeek: '[Laas] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'oor %s',\n            past: '%s gelede',\n            s: \"'n paar sekondes\",\n            ss: '%d sekondes',\n            m: \"'n minuut\",\n            mm: '%d minute',\n            h: \"'n uur\",\n            hh: '%d ure',\n            d: \"'n dag\",\n            dd: '%d dae',\n            M: \"'n maand\",\n            MM: '%d maande',\n            y: \"'n jaar\",\n            yy: '%d jaar',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            ); // Thanks to Joris Röling : https://github.com/jjupiter\n        },\n        week: {\n            dow: 1, // Maandag is die eerste dag van die week.\n            doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.\n        },\n    });\n\n    return af;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Algeria) [ar-dz]\n//! author : Amine Roukh: https://github.com/Amine27\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var pluralForm = function (n) {\n            return n === 0\n                ? 0\n                : n === 1\n                ? 1\n                : n === 2\n                ? 2\n                : n % 100 >= 3 && n % 100 <= 10\n                ? 3\n                : n % 100 >= 11\n                ? 4\n                : 5;\n        },\n        plurals = {\n            s: [\n                'أقل من ثانية',\n                'ثانية واحدة',\n                ['ثانيتان', 'ثانيتين'],\n                '%d ثوان',\n                '%d ثانية',\n                '%d ثانية',\n            ],\n            m: [\n                'أقل من دقيقة',\n                'دقيقة واحدة',\n                ['دقيقتان', 'دقيقتين'],\n                '%d دقائق',\n                '%d دقيقة',\n                '%d دقيقة',\n            ],\n            h: [\n                'أقل من ساعة',\n                'ساعة واحدة',\n                ['ساعتان', 'ساعتين'],\n                '%d ساعات',\n                '%d ساعة',\n                '%d ساعة',\n            ],\n            d: [\n                'أقل من يوم',\n                'يوم واحد',\n                ['يومان', 'يومين'],\n                '%d أيام',\n                '%d يومًا',\n                '%d يوم',\n            ],\n            M: [\n                'أقل من شهر',\n                'شهر واحد',\n                ['شهران', 'شهرين'],\n                '%d أشهر',\n                '%d شهرا',\n                '%d شهر',\n            ],\n            y: [\n                'أقل من عام',\n                'عام واحد',\n                ['عامان', 'عامين'],\n                '%d أعوام',\n                '%d عامًا',\n                '%d عام',\n            ],\n        },\n        pluralize = function (u) {\n            return function (number, withoutSuffix, string, isFuture) {\n                var f = pluralForm(number),\n                    str = plurals[u][pluralForm(number)];\n                if (f === 2) {\n                    str = str[withoutSuffix ? 0 : 1];\n                }\n                return str.replace(/%d/i, number);\n            };\n        },\n        months = [\n            'جانفي',\n            'فيفري',\n            'مارس',\n            'أفريل',\n            'ماي',\n            'جوان',\n            'جويلية',\n            'أوت',\n            'سبتمبر',\n            'أكتوبر',\n            'نوفمبر',\n            'ديسمبر',\n        ];\n\n    var arDz = moment.defineLocale('ar-dz', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/\\u200FM/\\u200FYYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم عند الساعة] LT',\n            nextDay: '[غدًا عند الساعة] LT',\n            nextWeek: 'dddd [عند الساعة] LT',\n            lastDay: '[أمس عند الساعة] LT',\n            lastWeek: 'dddd [عند الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'بعد %s',\n            past: 'منذ %s',\n            s: pluralize('s'),\n            ss: pluralize('s'),\n            m: pluralize('m'),\n            mm: pluralize('m'),\n            h: pluralize('h'),\n            hh: pluralize('h'),\n            d: pluralize('d'),\n            dd: pluralize('d'),\n            M: pluralize('M'),\n            MM: pluralize('M'),\n            y: pluralize('y'),\n            yy: pluralize('y'),\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return arDz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Kuwait) [ar-kw]\n//! author : Nusret Parlak: https://github.com/nusretparlak\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var arKw = moment.defineLocale('ar-kw', {\n        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n            '_'\n        ),\n        monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n            '_'\n        ),\n        weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return arKw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Lybia) [ar-ly]\n//! author : Ali Hmer: https://github.com/kikoanis\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '1',\n            2: '2',\n            3: '3',\n            4: '4',\n            5: '5',\n            6: '6',\n            7: '7',\n            8: '8',\n            9: '9',\n            0: '0',\n        },\n        pluralForm = function (n) {\n            return n === 0\n                ? 0\n                : n === 1\n                ? 1\n                : n === 2\n                ? 2\n                : n % 100 >= 3 && n % 100 <= 10\n                ? 3\n                : n % 100 >= 11\n                ? 4\n                : 5;\n        },\n        plurals = {\n            s: [\n                'أقل من ثانية',\n                'ثانية واحدة',\n                ['ثانيتان', 'ثانيتين'],\n                '%d ثوان',\n                '%d ثانية',\n                '%d ثانية',\n            ],\n            m: [\n                'أقل من دقيقة',\n                'دقيقة واحدة',\n                ['دقيقتان', 'دقيقتين'],\n                '%d دقائق',\n                '%d دقيقة',\n                '%d دقيقة',\n            ],\n            h: [\n                'أقل من ساعة',\n                'ساعة واحدة',\n                ['ساعتان', 'ساعتين'],\n                '%d ساعات',\n                '%d ساعة',\n                '%d ساعة',\n            ],\n            d: [\n                'أقل من يوم',\n                'يوم واحد',\n                ['يومان', 'يومين'],\n                '%d أيام',\n                '%d يومًا',\n                '%d يوم',\n            ],\n            M: [\n                'أقل من شهر',\n                'شهر واحد',\n                ['شهران', 'شهرين'],\n                '%d أشهر',\n                '%d شهرا',\n                '%d شهر',\n            ],\n            y: [\n                'أقل من عام',\n                'عام واحد',\n                ['عامان', 'عامين'],\n                '%d أعوام',\n                '%d عامًا',\n                '%d عام',\n            ],\n        },\n        pluralize = function (u) {\n            return function (number, withoutSuffix, string, isFuture) {\n                var f = pluralForm(number),\n                    str = plurals[u][pluralForm(number)];\n                if (f === 2) {\n                    str = str[withoutSuffix ? 0 : 1];\n                }\n                return str.replace(/%d/i, number);\n            };\n        },\n        months = [\n            'يناير',\n            'فبراير',\n            'مارس',\n            'أبريل',\n            'مايو',\n            'يونيو',\n            'يوليو',\n            'أغسطس',\n            'سبتمبر',\n            'أكتوبر',\n            'نوفمبر',\n            'ديسمبر',\n        ];\n\n    var arLy = moment.defineLocale('ar-ly', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/\\u200FM/\\u200FYYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم عند الساعة] LT',\n            nextDay: '[غدًا عند الساعة] LT',\n            nextWeek: 'dddd [عند الساعة] LT',\n            lastDay: '[أمس عند الساعة] LT',\n            lastWeek: 'dddd [عند الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'بعد %s',\n            past: 'منذ %s',\n            s: pluralize('s'),\n            ss: pluralize('s'),\n            m: pluralize('m'),\n            mm: pluralize('m'),\n            h: pluralize('h'),\n            hh: pluralize('h'),\n            d: pluralize('d'),\n            dd: pluralize('d'),\n            M: pluralize('M'),\n            MM: pluralize('M'),\n            y: pluralize('y'),\n            yy: pluralize('y'),\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return arLy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Morocco) [ar-ma]\n//! author : ElFadili Yassine : https://github.com/ElFadiliY\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var arMa = moment.defineLocale('ar-ma', {\n        months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n            '_'\n        ),\n        monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(\n            '_'\n        ),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return arMa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic (Saudi Arabia) [ar-sa]\n//! author : Suhail Alkowaileet : https://github.com/xsoh\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        };\n\n    var arSa = moment.defineLocale('ar-sa', {\n        months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n            '_'\n        ),\n        monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n            '_'\n        ),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return arSa;\n\n})));\n","//! moment.js locale configuration\n//! locale  :  Arabic (Tunisia) [ar-tn]\n//! author : Nader Toukabri : https://github.com/naderio\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var arTn = moment.defineLocale('ar-tn', {\n        months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n            '_'\n        ),\n        monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(\n            '_'\n        ),\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[اليوم على الساعة] LT',\n            nextDay: '[غدا على الساعة] LT',\n            nextWeek: 'dddd [على الساعة] LT',\n            lastDay: '[أمس على الساعة] LT',\n            lastWeek: 'dddd [على الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'في %s',\n            past: 'منذ %s',\n            s: 'ثوان',\n            ss: '%d ثانية',\n            m: 'دقيقة',\n            mm: '%d دقائق',\n            h: 'ساعة',\n            hh: '%d ساعات',\n            d: 'يوم',\n            dd: '%d أيام',\n            M: 'شهر',\n            MM: '%d أشهر',\n            y: 'سنة',\n            yy: '%d سنوات',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return arTn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Arabic [ar]\n//! author : Abdel Said: https://github.com/abdelsaid\n//! author : Ahmed Elkhatib\n//! author : forabi https://github.com/forabi\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        },\n        pluralForm = function (n) {\n            return n === 0\n                ? 0\n                : n === 1\n                ? 1\n                : n === 2\n                ? 2\n                : n % 100 >= 3 && n % 100 <= 10\n                ? 3\n                : n % 100 >= 11\n                ? 4\n                : 5;\n        },\n        plurals = {\n            s: [\n                'أقل من ثانية',\n                'ثانية واحدة',\n                ['ثانيتان', 'ثانيتين'],\n                '%d ثوان',\n                '%d ثانية',\n                '%d ثانية',\n            ],\n            m: [\n                'أقل من دقيقة',\n                'دقيقة واحدة',\n                ['دقيقتان', 'دقيقتين'],\n                '%d دقائق',\n                '%d دقيقة',\n                '%d دقيقة',\n            ],\n            h: [\n                'أقل من ساعة',\n                'ساعة واحدة',\n                ['ساعتان', 'ساعتين'],\n                '%d ساعات',\n                '%d ساعة',\n                '%d ساعة',\n            ],\n            d: [\n                'أقل من يوم',\n                'يوم واحد',\n                ['يومان', 'يومين'],\n                '%d أيام',\n                '%d يومًا',\n                '%d يوم',\n            ],\n            M: [\n                'أقل من شهر',\n                'شهر واحد',\n                ['شهران', 'شهرين'],\n                '%d أشهر',\n                '%d شهرا',\n                '%d شهر',\n            ],\n            y: [\n                'أقل من عام',\n                'عام واحد',\n                ['عامان', 'عامين'],\n                '%d أعوام',\n                '%d عامًا',\n                '%d عام',\n            ],\n        },\n        pluralize = function (u) {\n            return function (number, withoutSuffix, string, isFuture) {\n                var f = pluralForm(number),\n                    str = plurals[u][pluralForm(number)];\n                if (f === 2) {\n                    str = str[withoutSuffix ? 0 : 1];\n                }\n                return str.replace(/%d/i, number);\n            };\n        },\n        months = [\n            'يناير',\n            'فبراير',\n            'مارس',\n            'أبريل',\n            'مايو',\n            'يونيو',\n            'يوليو',\n            'أغسطس',\n            'سبتمبر',\n            'أكتوبر',\n            'نوفمبر',\n            'ديسمبر',\n        ];\n\n    var ar = moment.defineLocale('ar', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),\n        weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),\n        weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/\\u200FM/\\u200FYYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ص|م/,\n        isPM: function (input) {\n            return 'م' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ص';\n            } else {\n                return 'م';\n            }\n        },\n        calendar: {\n            sameDay: '[اليوم عند الساعة] LT',\n            nextDay: '[غدًا عند الساعة] LT',\n            nextWeek: 'dddd [عند الساعة] LT',\n            lastDay: '[أمس عند الساعة] LT',\n            lastWeek: 'dddd [عند الساعة] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'بعد %s',\n            past: 'منذ %s',\n            s: pluralize('s'),\n            ss: pluralize('s'),\n            m: pluralize('m'),\n            mm: pluralize('m'),\n            h: pluralize('h'),\n            hh: pluralize('h'),\n            d: pluralize('d'),\n            dd: pluralize('d'),\n            M: pluralize('M'),\n            MM: pluralize('M'),\n            y: pluralize('y'),\n            yy: pluralize('y'),\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return ar;\n\n})));\n","//! moment.js locale configuration\n//! locale : Azerbaijani [az]\n//! author : topchiyev : https://github.com/topchiyev\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        1: '-inci',\n        5: '-inci',\n        8: '-inci',\n        70: '-inci',\n        80: '-inci',\n        2: '-nci',\n        7: '-nci',\n        20: '-nci',\n        50: '-nci',\n        3: '-üncü',\n        4: '-üncü',\n        100: '-üncü',\n        6: '-ncı',\n        9: '-uncu',\n        10: '-uncu',\n        30: '-uncu',\n        60: '-ıncı',\n        90: '-ıncı',\n    };\n\n    var az = moment.defineLocale('az', {\n        months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(\n            '_'\n        ),\n        monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),\n        weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(\n            '_'\n        ),\n        weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),\n        weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[bugün saat] LT',\n            nextDay: '[sabah saat] LT',\n            nextWeek: '[gələn həftə] dddd [saat] LT',\n            lastDay: '[dünən] LT',\n            lastWeek: '[keçən həftə] dddd [saat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s sonra',\n            past: '%s əvvəl',\n            s: 'bir neçə saniyə',\n            ss: '%d saniyə',\n            m: 'bir dəqiqə',\n            mm: '%d dəqiqə',\n            h: 'bir saat',\n            hh: '%d saat',\n            d: 'bir gün',\n            dd: '%d gün',\n            M: 'bir ay',\n            MM: '%d ay',\n            y: 'bir il',\n            yy: '%d il',\n        },\n        meridiemParse: /gecə|səhər|gündüz|axşam/,\n        isPM: function (input) {\n            return /^(gündüz|axşam)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'gecə';\n            } else if (hour < 12) {\n                return 'səhər';\n            } else if (hour < 17) {\n                return 'gündüz';\n            } else {\n                return 'axşam';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,\n        ordinal: function (number) {\n            if (number === 0) {\n                // special case for zero\n                return number + '-ıncı';\n            }\n            var a = number % 10,\n                b = (number % 100) - a,\n                c = number >= 100 ? 100 : null;\n            return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return az;\n\n})));\n","//! moment.js locale configuration\n//! locale : Belarusian [be]\n//! author : Dmitry Demidov : https://github.com/demidov91\n//! author: Praleska: http://praleska.pro/\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(word, num) {\n        var forms = word.split('_');\n        return num % 10 === 1 && num % 100 !== 11\n            ? forms[0]\n            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n            ? forms[1]\n            : forms[2];\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n            ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n            mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',\n            hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',\n            dd: 'дзень_дні_дзён',\n            MM: 'месяц_месяцы_месяцаў',\n            yy: 'год_гады_гадоў',\n        };\n        if (key === 'm') {\n            return withoutSuffix ? 'хвіліна' : 'хвіліну';\n        } else if (key === 'h') {\n            return withoutSuffix ? 'гадзіна' : 'гадзіну';\n        } else {\n            return number + ' ' + plural(format[key], +number);\n        }\n    }\n\n    var be = moment.defineLocale('be', {\n        months: {\n            format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(\n                '_'\n            ),\n            standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(\n                '_'\n            ),\n        },\n        monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(\n            '_'\n        ),\n        weekdays: {\n            format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(\n                '_'\n            ),\n            standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(\n                '_'\n            ),\n            isFormat: /\\[ ?[Ууў] ?(?:мінулую|наступную)? ?\\] ?dddd/,\n        },\n        weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n        weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY г.',\n            LLL: 'D MMMM YYYY г., HH:mm',\n            LLLL: 'dddd, D MMMM YYYY г., HH:mm',\n        },\n        calendar: {\n            sameDay: '[Сёння ў] LT',\n            nextDay: '[Заўтра ў] LT',\n            lastDay: '[Учора ў] LT',\n            nextWeek: function () {\n                return '[У] dddd [ў] LT';\n            },\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 5:\n                    case 6:\n                        return '[У мінулую] dddd [ў] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                        return '[У мінулы] dddd [ў] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'праз %s',\n            past: '%s таму',\n            s: 'некалькі секунд',\n            m: relativeTimeWithPlural,\n            mm: relativeTimeWithPlural,\n            h: relativeTimeWithPlural,\n            hh: relativeTimeWithPlural,\n            d: 'дзень',\n            dd: relativeTimeWithPlural,\n            M: 'месяц',\n            MM: relativeTimeWithPlural,\n            y: 'год',\n            yy: relativeTimeWithPlural,\n        },\n        meridiemParse: /ночы|раніцы|дня|вечара/,\n        isPM: function (input) {\n            return /^(дня|вечара)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ночы';\n            } else if (hour < 12) {\n                return 'раніцы';\n            } else if (hour < 17) {\n                return 'дня';\n            } else {\n                return 'вечара';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(і|ы|га)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'M':\n                case 'd':\n                case 'DDD':\n                case 'w':\n                case 'W':\n                    return (number % 10 === 2 || number % 10 === 3) &&\n                        number % 100 !== 12 &&\n                        number % 100 !== 13\n                        ? number + '-і'\n                        : number + '-ы';\n                case 'D':\n                    return number + '-га';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return be;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bulgarian [bg]\n//! author : Krasen Borisov : https://github.com/kraz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var bg = moment.defineLocale('bg', {\n        months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(\n            '_'\n        ),\n        monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),\n        weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(\n            '_'\n        ),\n        weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),\n        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd, D MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[Днес в] LT',\n            nextDay: '[Утре в] LT',\n            nextWeek: 'dddd [в] LT',\n            lastDay: '[Вчера в] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 6:\n                        return '[Миналата] dddd [в] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[Миналия] dddd [в] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'след %s',\n            past: 'преди %s',\n            s: 'няколко секунди',\n            ss: '%d секунди',\n            m: 'минута',\n            mm: '%d минути',\n            h: 'час',\n            hh: '%d часа',\n            d: 'ден',\n            dd: '%d дена',\n            w: 'седмица',\n            ww: '%d седмици',\n            M: 'месец',\n            MM: '%d месеца',\n            y: 'година',\n            yy: '%d години',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n        ordinal: function (number) {\n            var lastDigit = number % 10,\n                last2Digits = number % 100;\n            if (number === 0) {\n                return number + '-ев';\n            } else if (last2Digits === 0) {\n                return number + '-ен';\n            } else if (last2Digits > 10 && last2Digits < 20) {\n                return number + '-ти';\n            } else if (lastDigit === 1) {\n                return number + '-ви';\n            } else if (lastDigit === 2) {\n                return number + '-ри';\n            } else if (lastDigit === 7 || lastDigit === 8) {\n                return number + '-ми';\n            } else {\n                return number + '-ти';\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return bg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bambara [bm]\n//! author : Estelle Comment : https://github.com/estellecomment\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var bm = moment.defineLocale('bm', {\n        months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(\n            '_'\n        ),\n        monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),\n        weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),\n        weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),\n        weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'MMMM [tile] D [san] YYYY',\n            LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n            LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',\n        },\n        calendar: {\n            sameDay: '[Bi lɛrɛ] LT',\n            nextDay: '[Sini lɛrɛ] LT',\n            nextWeek: 'dddd [don lɛrɛ] LT',\n            lastDay: '[Kunu lɛrɛ] LT',\n            lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s kɔnɔ',\n            past: 'a bɛ %s bɔ',\n            s: 'sanga dama dama',\n            ss: 'sekondi %d',\n            m: 'miniti kelen',\n            mm: 'miniti %d',\n            h: 'lɛrɛ kelen',\n            hh: 'lɛrɛ %d',\n            d: 'tile kelen',\n            dd: 'tile %d',\n            M: 'kalo kelen',\n            MM: 'kalo %d',\n            y: 'san kelen',\n            yy: 'san %d',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return bm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali (Bangladesh) [bn-bd]\n//! author : Asraf Hossain Patoary : https://github.com/ashwoolford\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '১',\n            2: '২',\n            3: '৩',\n            4: '৪',\n            5: '৫',\n            6: '৬',\n            7: '৭',\n            8: '৮',\n            9: '৯',\n            0: '০',\n        },\n        numberMap = {\n            '১': '1',\n            '২': '2',\n            '৩': '3',\n            '৪': '4',\n            '৫': '5',\n            '৬': '6',\n            '৭': '7',\n            '৮': '8',\n            '৯': '9',\n            '০': '0',\n        };\n\n    var bnBd = moment.defineLocale('bn-bd', {\n        months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n            '_'\n        ),\n        monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n            '_'\n        ),\n        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n            '_'\n        ),\n        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n        weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm সময়',\n            LTS: 'A h:mm:ss সময়',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm সময়',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n        },\n        calendar: {\n            sameDay: '[আজ] LT',\n            nextDay: '[আগামীকাল] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[গতকাল] LT',\n            lastWeek: '[গত] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s পরে',\n            past: '%s আগে',\n            s: 'কয়েক সেকেন্ড',\n            ss: '%d সেকেন্ড',\n            m: 'এক মিনিট',\n            mm: '%d মিনিট',\n            h: 'এক ঘন্টা',\n            hh: '%d ঘন্টা',\n            d: 'এক দিন',\n            dd: '%d দিন',\n            M: 'এক মাস',\n            MM: '%d মাস',\n            y: 'এক বছর',\n            yy: '%d বছর',\n        },\n        preparse: function (string) {\n            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n\n        meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'রাত') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ভোর') {\n                return hour;\n            } else if (meridiem === 'সকাল') {\n                return hour;\n            } else if (meridiem === 'দুপুর') {\n                return hour >= 3 ? hour : hour + 12;\n            } else if (meridiem === 'বিকাল') {\n                return hour + 12;\n            } else if (meridiem === 'সন্ধ্যা') {\n                return hour + 12;\n            }\n        },\n\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'রাত';\n            } else if (hour < 6) {\n                return 'ভোর';\n            } else if (hour < 12) {\n                return 'সকাল';\n            } else if (hour < 15) {\n                return 'দুপুর';\n            } else if (hour < 18) {\n                return 'বিকাল';\n            } else if (hour < 20) {\n                return 'সন্ধ্যা';\n            } else {\n                return 'রাত';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return bnBd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bengali [bn]\n//! author : Kaushik Gandhi : https://github.com/kaushikgandhi\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '১',\n            2: '২',\n            3: '৩',\n            4: '৪',\n            5: '৫',\n            6: '৬',\n            7: '৭',\n            8: '৮',\n            9: '৯',\n            0: '০',\n        },\n        numberMap = {\n            '১': '1',\n            '২': '2',\n            '৩': '3',\n            '৪': '4',\n            '৫': '5',\n            '৬': '6',\n            '৭': '7',\n            '৮': '8',\n            '৯': '9',\n            '০': '0',\n        };\n\n    var bn = moment.defineLocale('bn', {\n        months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(\n            '_'\n        ),\n        monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(\n            '_'\n        ),\n        weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(\n            '_'\n        ),\n        weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),\n        weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm সময়',\n            LTS: 'A h:mm:ss সময়',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm সময়',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',\n        },\n        calendar: {\n            sameDay: '[আজ] LT',\n            nextDay: '[আগামীকাল] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[গতকাল] LT',\n            lastWeek: '[গত] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s পরে',\n            past: '%s আগে',\n            s: 'কয়েক সেকেন্ড',\n            ss: '%d সেকেন্ড',\n            m: 'এক মিনিট',\n            mm: '%d মিনিট',\n            h: 'এক ঘন্টা',\n            hh: '%d ঘন্টা',\n            d: 'এক দিন',\n            dd: '%d দিন',\n            M: 'এক মাস',\n            MM: '%d মাস',\n            y: 'এক বছর',\n            yy: '%d বছর',\n        },\n        preparse: function (string) {\n            return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                (meridiem === 'রাত' && hour >= 4) ||\n                (meridiem === 'দুপুর' && hour < 5) ||\n                meridiem === 'বিকাল'\n            ) {\n                return hour + 12;\n            } else {\n                return hour;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'রাত';\n            } else if (hour < 10) {\n                return 'সকাল';\n            } else if (hour < 17) {\n                return 'দুপুর';\n            } else if (hour < 20) {\n                return 'বিকাল';\n            } else {\n                return 'রাত';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return bn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tibetan [bo]\n//! author : Thupten N. Chakrishar : https://github.com/vajradog\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '༡',\n            2: '༢',\n            3: '༣',\n            4: '༤',\n            5: '༥',\n            6: '༦',\n            7: '༧',\n            8: '༨',\n            9: '༩',\n            0: '༠',\n        },\n        numberMap = {\n            '༡': '1',\n            '༢': '2',\n            '༣': '3',\n            '༤': '4',\n            '༥': '5',\n            '༦': '6',\n            '༧': '7',\n            '༨': '8',\n            '༩': '9',\n            '༠': '0',\n        };\n\n    var bo = moment.defineLocale('bo', {\n        months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(\n            '_'\n        ),\n        monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(\n            '_'\n        ),\n        monthsShortRegex: /^(ཟླ་\\d{1,2})/,\n        monthsParseExact: true,\n        weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(\n            '_'\n        ),\n        weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(\n            '_'\n        ),\n        weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm',\n        },\n        calendar: {\n            sameDay: '[དི་རིང] LT',\n            nextDay: '[སང་ཉིན] LT',\n            nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',\n            lastDay: '[ཁ་སང] LT',\n            lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ལ་',\n            past: '%s སྔན་ལ',\n            s: 'ལམ་སང',\n            ss: '%d སྐར་ཆ།',\n            m: 'སྐར་མ་གཅིག',\n            mm: '%d སྐར་མ',\n            h: 'ཆུ་ཚོད་གཅིག',\n            hh: '%d ཆུ་ཚོད',\n            d: 'ཉིན་གཅིག',\n            dd: '%d ཉིན་',\n            M: 'ཟླ་བ་གཅིག',\n            MM: '%d ཟླ་བ',\n            y: 'ལོ་གཅིག',\n            yy: '%d ལོ',\n        },\n        preparse: function (string) {\n            return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                (meridiem === 'མཚན་མོ' && hour >= 4) ||\n                (meridiem === 'ཉིན་གུང' && hour < 5) ||\n                meridiem === 'དགོང་དག'\n            ) {\n                return hour + 12;\n            } else {\n                return hour;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'མཚན་མོ';\n            } else if (hour < 10) {\n                return 'ཞོགས་ཀས';\n            } else if (hour < 17) {\n                return 'ཉིན་གུང';\n            } else if (hour < 20) {\n                return 'དགོང་དག';\n            } else {\n                return 'མཚན་མོ';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return bo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Breton [br]\n//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function relativeTimeWithMutation(number, withoutSuffix, key) {\n        var format = {\n            mm: 'munutenn',\n            MM: 'miz',\n            dd: 'devezh',\n        };\n        return number + ' ' + mutation(format[key], number);\n    }\n    function specialMutationForYears(number) {\n        switch (lastNumber(number)) {\n            case 1:\n            case 3:\n            case 4:\n            case 5:\n            case 9:\n                return number + ' bloaz';\n            default:\n                return number + ' vloaz';\n        }\n    }\n    function lastNumber(number) {\n        if (number > 9) {\n            return lastNumber(number % 10);\n        }\n        return number;\n    }\n    function mutation(text, number) {\n        if (number === 2) {\n            return softMutation(text);\n        }\n        return text;\n    }\n    function softMutation(text) {\n        var mutationTable = {\n            m: 'v',\n            b: 'v',\n            d: 'z',\n        };\n        if (mutationTable[text.charAt(0)] === undefined) {\n            return text;\n        }\n        return mutationTable[text.charAt(0)] + text.substring(1);\n    }\n\n    var monthsParse = [\n            /^gen/i,\n            /^c[ʼ\\']hwe/i,\n            /^meu/i,\n            /^ebr/i,\n            /^mae/i,\n            /^(mez|eve)/i,\n            /^gou/i,\n            /^eos/i,\n            /^gwe/i,\n            /^her/i,\n            /^du/i,\n            /^ker/i,\n        ],\n        monthsRegex = /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n        monthsStrictRegex = /^(genver|c[ʼ\\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,\n        monthsShortStrictRegex = /^(gen|c[ʼ\\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,\n        fullWeekdaysParse = [\n            /^sul/i,\n            /^lun/i,\n            /^meurzh/i,\n            /^merc[ʼ\\']her/i,\n            /^yaou/i,\n            /^gwener/i,\n            /^sadorn/i,\n        ],\n        shortWeekdaysParse = [\n            /^Sul/i,\n            /^Lun/i,\n            /^Meu/i,\n            /^Mer/i,\n            /^Yao/i,\n            /^Gwe/i,\n            /^Sad/i,\n        ],\n        minWeekdaysParse = [\n            /^Su/i,\n            /^Lu/i,\n            /^Me([^r]|$)/i,\n            /^Mer/i,\n            /^Ya/i,\n            /^Gw/i,\n            /^Sa/i,\n        ];\n\n    var br = moment.defineLocale('br', {\n        months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(\n            '_'\n        ),\n        monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),\n        weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),\n        weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),\n        weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),\n        weekdaysParse: minWeekdaysParse,\n        fullWeekdaysParse: fullWeekdaysParse,\n        shortWeekdaysParse: shortWeekdaysParse,\n        minWeekdaysParse: minWeekdaysParse,\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: monthsStrictRegex,\n        monthsShortStrictRegex: monthsShortStrictRegex,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [a viz] MMMM YYYY',\n            LLL: 'D [a viz] MMMM YYYY HH:mm',\n            LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hiziv da] LT',\n            nextDay: '[Warcʼhoazh da] LT',\n            nextWeek: 'dddd [da] LT',\n            lastDay: '[Decʼh da] LT',\n            lastWeek: 'dddd [paset da] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'a-benn %s',\n            past: '%s ʼzo',\n            s: 'un nebeud segondennoù',\n            ss: '%d eilenn',\n            m: 'ur vunutenn',\n            mm: relativeTimeWithMutation,\n            h: 'un eur',\n            hh: '%d eur',\n            d: 'un devezh',\n            dd: relativeTimeWithMutation,\n            M: 'ur miz',\n            MM: relativeTimeWithMutation,\n            y: 'ur bloaz',\n            yy: specialMutationForYears,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(añ|vet)/,\n        ordinal: function (number) {\n            var output = number === 1 ? 'añ' : 'vet';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n        meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn\n        isPM: function (token) {\n            return token === 'g.m.';\n        },\n        meridiem: function (hour, minute, isLower) {\n            return hour < 12 ? 'a.m.' : 'g.m.';\n        },\n    });\n\n    return br;\n\n})));\n","//! moment.js locale configuration\n//! locale : Bosnian [bs]\n//! author : Nedim Cholich : https://github.com/frontyard\n//! based on (hr) translation by Bojan Marković\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function translate(number, withoutSuffix, key) {\n        var result = number + ' ';\n        switch (key) {\n            case 'ss':\n                if (number === 1) {\n                    result += 'sekunda';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sekunde';\n                } else {\n                    result += 'sekundi';\n                }\n                return result;\n            case 'm':\n                return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n            case 'mm':\n                if (number === 1) {\n                    result += 'minuta';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'minute';\n                } else {\n                    result += 'minuta';\n                }\n                return result;\n            case 'h':\n                return withoutSuffix ? 'jedan sat' : 'jednog sata';\n            case 'hh':\n                if (number === 1) {\n                    result += 'sat';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sata';\n                } else {\n                    result += 'sati';\n                }\n                return result;\n            case 'dd':\n                if (number === 1) {\n                    result += 'dan';\n                } else {\n                    result += 'dana';\n                }\n                return result;\n            case 'MM':\n                if (number === 1) {\n                    result += 'mjesec';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'mjeseca';\n                } else {\n                    result += 'mjeseci';\n                }\n                return result;\n            case 'yy':\n                if (number === 1) {\n                    result += 'godina';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'godine';\n                } else {\n                    result += 'godina';\n                }\n                return result;\n        }\n    }\n\n    var bs = moment.defineLocale('bs', {\n        months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sutra u] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedjelju] [u] LT';\n                    case 3:\n                        return '[u] [srijedu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[jučer u] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                        return '[prošlu] dddd [u] LT';\n                    case 6:\n                        return '[prošle] [subote] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[prošli] dddd [u] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'prije %s',\n            s: 'par sekundi',\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: 'dan',\n            dd: translate,\n            M: 'mjesec',\n            MM: translate,\n            y: 'godinu',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return bs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Catalan [ca]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ca = moment.defineLocale('ca', {\n        months: {\n            standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(\n                '_'\n            ),\n            format: \"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre\".split(\n                '_'\n            ),\n            isFormat: /D[oD]?(\\s)+MMMM/,\n        },\n        monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(\n            '_'\n        ),\n        weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),\n        weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM [de] YYYY',\n            ll: 'D MMM YYYY',\n            LLL: 'D MMMM [de] YYYY [a les] H:mm',\n            lll: 'D MMM YYYY, H:mm',\n            LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',\n            llll: 'ddd D MMM YYYY, H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            nextDay: function () {\n                return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            lastDay: function () {\n                return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [passat a ' +\n                    (this.hours() !== 1 ? 'les' : 'la') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: \"d'aquí %s\",\n            past: 'fa %s',\n            s: 'uns segons',\n            ss: '%d segons',\n            m: 'un minut',\n            mm: '%d minuts',\n            h: 'una hora',\n            hh: '%d hores',\n            d: 'un dia',\n            dd: '%d dies',\n            M: 'un mes',\n            MM: '%d mesos',\n            y: 'un any',\n            yy: '%d anys',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n        ordinal: function (number, period) {\n            var output =\n                number === 1\n                    ? 'r'\n                    : number === 2\n                    ? 'n'\n                    : number === 3\n                    ? 'r'\n                    : number === 4\n                    ? 't'\n                    : 'è';\n            if (period === 'w' || period === 'W') {\n                output = 'a';\n            }\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ca;\n\n})));\n","//! moment.js locale configuration\n//! locale : Czech [cs]\n//! author : petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(\n            '_'\n        ),\n        monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),\n        monthsParse = [\n            /^led/i,\n            /^úno/i,\n            /^bře/i,\n            /^dub/i,\n            /^kvě/i,\n            /^(čvn|červen$|června)/i,\n            /^(čvc|červenec|července)/i,\n            /^srp/i,\n            /^zář/i,\n            /^říj/i,\n            /^lis/i,\n            /^pro/i,\n        ],\n        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n        monthsRegex = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;\n\n    function plural(n) {\n        return n > 1 && n < 5 && ~~(n / 10) !== 1;\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's': // a few seconds / in a few seconds / a few seconds ago\n                return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';\n            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'sekundy' : 'sekund');\n                } else {\n                    return result + 'sekundami';\n                }\n            case 'm': // a minute / in a minute / a minute ago\n                return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';\n            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'minuty' : 'minut');\n                } else {\n                    return result + 'minutami';\n                }\n            case 'h': // an hour / in an hour / an hour ago\n                return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n            case 'hh': // 9 hours / in 9 hours / 9 hours ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'hodiny' : 'hodin');\n                } else {\n                    return result + 'hodinami';\n                }\n            case 'd': // a day / in a day / a day ago\n                return withoutSuffix || isFuture ? 'den' : 'dnem';\n            case 'dd': // 9 days / in 9 days / 9 days ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'dny' : 'dní');\n                } else {\n                    return result + 'dny';\n                }\n            case 'M': // a month / in a month / a month ago\n                return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';\n            case 'MM': // 9 months / in 9 months / 9 months ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'měsíce' : 'měsíců');\n                } else {\n                    return result + 'měsíci';\n                }\n            case 'y': // a year / in a year / a year ago\n                return withoutSuffix || isFuture ? 'rok' : 'rokem';\n            case 'yy': // 9 years / in 9 years / 9 years ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'roky' : 'let');\n                } else {\n                    return result + 'lety';\n                }\n        }\n    }\n\n    var cs = moment.defineLocale('cs', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.\n        // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.\n        monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,\n        monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),\n        weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),\n        weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd D. MMMM YYYY H:mm',\n            l: 'D. M. YYYY',\n        },\n        calendar: {\n            sameDay: '[dnes v] LT',\n            nextDay: '[zítra v] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[v neděli v] LT';\n                    case 1:\n                    case 2:\n                        return '[v] dddd [v] LT';\n                    case 3:\n                        return '[ve středu v] LT';\n                    case 4:\n                        return '[ve čtvrtek v] LT';\n                    case 5:\n                        return '[v pátek v] LT';\n                    case 6:\n                        return '[v sobotu v] LT';\n                }\n            },\n            lastDay: '[včera v] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[minulou neděli v] LT';\n                    case 1:\n                    case 2:\n                        return '[minulé] dddd [v] LT';\n                    case 3:\n                        return '[minulou středu v] LT';\n                    case 4:\n                    case 5:\n                        return '[minulý] dddd [v] LT';\n                    case 6:\n                        return '[minulou sobotu v] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'před %s',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return cs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chuvash [cv]\n//! author : Anatoly Mironov : https://github.com/mirontoli\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var cv = moment.defineLocale('cv', {\n        months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(\n            '_'\n        ),\n        monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),\n        weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(\n            '_'\n        ),\n        weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),\n        weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD-MM-YYYY',\n            LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',\n            LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n            LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',\n        },\n        calendar: {\n            sameDay: '[Паян] LT [сехетре]',\n            nextDay: '[Ыран] LT [сехетре]',\n            lastDay: '[Ӗнер] LT [сехетре]',\n            nextWeek: '[Ҫитес] dddd LT [сехетре]',\n            lastWeek: '[Иртнӗ] dddd LT [сехетре]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (output) {\n                var affix = /сехет$/i.exec(output)\n                    ? 'рен'\n                    : /ҫул$/i.exec(output)\n                    ? 'тан'\n                    : 'ран';\n                return output + affix;\n            },\n            past: '%s каялла',\n            s: 'пӗр-ик ҫеккунт',\n            ss: '%d ҫеккунт',\n            m: 'пӗр минут',\n            mm: '%d минут',\n            h: 'пӗр сехет',\n            hh: '%d сехет',\n            d: 'пӗр кун',\n            dd: '%d кун',\n            M: 'пӗр уйӑх',\n            MM: '%d уйӑх',\n            y: 'пӗр ҫул',\n            yy: '%d ҫул',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-мӗш/,\n        ordinal: '%d-мӗш',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return cv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Welsh [cy]\n//! author : Robert Allen : https://github.com/robgallen\n//! author : https://github.com/ryangreaves\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var cy = moment.defineLocale('cy', {\n        months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(\n            '_'\n        ),\n        monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(\n            '_'\n        ),\n        weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),\n        weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),\n        weekdaysParseExact: true,\n        // time formats are the same as en-gb\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Heddiw am] LT',\n            nextDay: '[Yfory am] LT',\n            nextWeek: 'dddd [am] LT',\n            lastDay: '[Ddoe am] LT',\n            lastWeek: 'dddd [diwethaf am] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'mewn %s',\n            past: '%s yn ôl',\n            s: 'ychydig eiliadau',\n            ss: '%d eiliad',\n            m: 'munud',\n            mm: '%d munud',\n            h: 'awr',\n            hh: '%d awr',\n            d: 'diwrnod',\n            dd: '%d diwrnod',\n            M: 'mis',\n            MM: '%d mis',\n            y: 'blwyddyn',\n            yy: '%d flynedd',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,\n        // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh\n        ordinal: function (number) {\n            var b = number,\n                output = '',\n                lookup = [\n                    '',\n                    'af',\n                    'il',\n                    'ydd',\n                    'ydd',\n                    'ed',\n                    'ed',\n                    'ed',\n                    'fed',\n                    'fed',\n                    'fed', // 1af to 10fed\n                    'eg',\n                    'fed',\n                    'eg',\n                    'eg',\n                    'fed',\n                    'eg',\n                    'eg',\n                    'fed',\n                    'eg',\n                    'fed', // 11eg to 20fed\n                ];\n            if (b > 20) {\n                if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {\n                    output = 'fed'; // not 30ain, 70ain or 90ain\n                } else {\n                    output = 'ain';\n                }\n            } else if (b > 0) {\n                output = lookup[b];\n            }\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return cy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Danish [da]\n//! author : Ulrik Nielsen : https://github.com/mrbase\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var da = moment.defineLocale('da', {\n        months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n        weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),\n        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[i dag kl.] LT',\n            nextDay: '[i morgen kl.] LT',\n            nextWeek: 'på dddd [kl.] LT',\n            lastDay: '[i går kl.] LT',\n            lastWeek: '[i] dddd[s kl.] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: '%s siden',\n            s: 'få sekunder',\n            ss: '%d sekunder',\n            m: 'et minut',\n            mm: '%d minutter',\n            h: 'en time',\n            hh: '%d timer',\n            d: 'en dag',\n            dd: '%d dage',\n            M: 'en måned',\n            MM: '%d måneder',\n            y: 'et år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return da;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Austria) [de-at]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Martin Groller : https://github.com/MadMG\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var deAt = moment.defineLocale('de-at', {\n        months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n            '_'\n        ),\n        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return deAt;\n\n})));\n","//! moment.js locale configuration\n//! locale : German (Switzerland) [de-ch]\n//! author : sschueller : https://github.com/sschueller\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var deCh = moment.defineLocale('de-ch', {\n        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n            '_'\n        ),\n        weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return deCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : German [de]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var de = moment.defineLocale('de', {\n        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n            '_'\n        ),\n        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return de;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maldivian [dv]\n//! author : Jawish Hameed : https://github.com/jawish\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'ޖެނުއަރީ',\n            'ފެބްރުއަރީ',\n            'މާރިޗު',\n            'އޭޕްރީލު',\n            'މޭ',\n            'ޖޫން',\n            'ޖުލައި',\n            'އޯގަސްޓު',\n            'ސެޕްޓެމްބަރު',\n            'އޮކްޓޯބަރު',\n            'ނޮވެމްބަރު',\n            'ޑިސެމްބަރު',\n        ],\n        weekdays = [\n            'އާދިއްތަ',\n            'ހޯމަ',\n            'އަންގާރަ',\n            'ބުދަ',\n            'ބުރާސްފަތި',\n            'ހުކުރު',\n            'ހޮނިހިރު',\n        ];\n\n    var dv = moment.defineLocale('dv', {\n        months: months,\n        monthsShort: months,\n        weekdays: weekdays,\n        weekdaysShort: weekdays,\n        weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'D/M/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /މކ|މފ/,\n        isPM: function (input) {\n            return 'މފ' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'މކ';\n            } else {\n                return 'މފ';\n            }\n        },\n        calendar: {\n            sameDay: '[މިއަދު] LT',\n            nextDay: '[މާދަމާ] LT',\n            nextWeek: 'dddd LT',\n            lastDay: '[އިއްޔެ] LT',\n            lastWeek: '[ފާއިތުވި] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ތެރޭގައި %s',\n            past: 'ކުރިން %s',\n            s: 'ސިކުންތުކޮޅެއް',\n            ss: 'd% ސިކުންތު',\n            m: 'މިނިޓެއް',\n            mm: 'މިނިޓު %d',\n            h: 'ގަޑިއިރެއް',\n            hh: 'ގަޑިއިރު %d',\n            d: 'ދުވަހެއް',\n            dd: 'ދުވަސް %d',\n            M: 'މަހެއް',\n            MM: 'މަސް %d',\n            y: 'އަހަރެއް',\n            yy: 'އަހަރު %d',\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 7, // Sunday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return dv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Greek [el]\n//! author : Aggelos Karalias : https://github.com/mehiel\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    var el = moment.defineLocale('el', {\n        monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(\n            '_'\n        ),\n        monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(\n            '_'\n        ),\n        months: function (momentToFormat, format) {\n            if (!momentToFormat) {\n                return this._monthsNominativeEl;\n            } else if (\n                typeof format === 'string' &&\n                /D/.test(format.substring(0, format.indexOf('MMMM')))\n            ) {\n                // if there is a day number before 'MMMM'\n                return this._monthsGenitiveEl[momentToFormat.month()];\n            } else {\n                return this._monthsNominativeEl[momentToFormat.month()];\n            }\n        },\n        monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),\n        weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(\n            '_'\n        ),\n        weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),\n        weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? 'μμ' : 'ΜΜ';\n            } else {\n                return isLower ? 'πμ' : 'ΠΜ';\n            }\n        },\n        isPM: function (input) {\n            return (input + '').toLowerCase()[0] === 'μ';\n        },\n        meridiemParse: /[ΠΜ]\\.?Μ?\\.?/i,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendarEl: {\n            sameDay: '[Σήμερα {}] LT',\n            nextDay: '[Αύριο {}] LT',\n            nextWeek: 'dddd [{}] LT',\n            lastDay: '[Χθες {}] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 6:\n                        return '[το προηγούμενο] dddd [{}] LT';\n                    default:\n                        return '[την προηγούμενη] dddd [{}] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        calendar: function (key, mom) {\n            var output = this._calendarEl[key],\n                hours = mom && mom.hours();\n            if (isFunction(output)) {\n                output = output.apply(mom);\n            }\n            return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');\n        },\n        relativeTime: {\n            future: 'σε %s',\n            past: '%s πριν',\n            s: 'λίγα δευτερόλεπτα',\n            ss: '%d δευτερόλεπτα',\n            m: 'ένα λεπτό',\n            mm: '%d λεπτά',\n            h: 'μία ώρα',\n            hh: '%d ώρες',\n            d: 'μία μέρα',\n            dd: '%d μέρες',\n            M: 'ένας μήνας',\n            MM: '%d μήνες',\n            y: 'ένας χρόνος',\n            yy: '%d χρόνια',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}η/,\n        ordinal: '%dη',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4st is the first week of the year.\n        },\n    });\n\n    return el;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Australia) [en-au]\n//! author : Jared Morse : https://github.com/jarcoal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enAu = moment.defineLocale('en-au', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enAu;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Canada) [en-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enCa = moment.defineLocale('en-ca', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'YYYY-MM-DD',\n            LL: 'MMMM D, YYYY',\n            LLL: 'MMMM D, YYYY h:mm A',\n            LLLL: 'dddd, MMMM D, YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n    });\n\n    return enCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (United Kingdom) [en-gb]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enGb = moment.defineLocale('en-gb', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enGb;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Ireland) [en-ie]\n//! author : Chris Cartlidge : https://github.com/chriscartlidge\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enIe = moment.defineLocale('en-ie', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enIe;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Israel) [en-il]\n//! author : Chris Gedrim : https://github.com/chrisgedrim\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enIl = moment.defineLocale('en-il', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n    });\n\n    return enIl;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (India) [en-in]\n//! author : Jatin Agrawal : https://github.com/jatinag22\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enIn = moment.defineLocale('en-in', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return enIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (New Zealand) [en-nz]\n//! author : Luke McGregor : https://github.com/lukemcgregor\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enNz = moment.defineLocale('en-nz', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enNz;\n\n})));\n","//! moment.js locale configuration\n//! locale : English (Singapore) [en-sg]\n//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var enSg = moment.defineLocale('en-sg', {\n        months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Today at] LT',\n            nextDay: '[Tomorrow at] LT',\n            nextWeek: 'dddd [at] LT',\n            lastDay: '[Yesterday at] LT',\n            lastWeek: '[Last] dddd [at] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: '%s ago',\n            s: 'a few seconds',\n            ss: '%d seconds',\n            m: 'a minute',\n            mm: '%d minutes',\n            h: 'an hour',\n            hh: '%d hours',\n            d: 'a day',\n            dd: '%d days',\n            M: 'a month',\n            MM: '%d months',\n            y: 'a year',\n            yy: '%d years',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return enSg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Esperanto [eo]\n//! author : Colin Dean : https://github.com/colindean\n//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia\n//! comment : miestasmia corrected the translation by colindean\n//! comment : Vivakvo corrected the translation by colindean and miestasmia\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var eo = moment.defineLocale('eo', {\n        months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),\n        weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),\n        weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: '[la] D[-an de] MMMM, YYYY',\n            LLL: '[la] D[-an de] MMMM, YYYY HH:mm',\n            LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',\n            llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',\n        },\n        meridiemParse: /[ap]\\.t\\.m/i,\n        isPM: function (input) {\n            return input.charAt(0).toLowerCase() === 'p';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? 'p.t.m.' : 'P.T.M.';\n            } else {\n                return isLower ? 'a.t.m.' : 'A.T.M.';\n            }\n        },\n        calendar: {\n            sameDay: '[Hodiaŭ je] LT',\n            nextDay: '[Morgaŭ je] LT',\n            nextWeek: 'dddd[n je] LT',\n            lastDay: '[Hieraŭ je] LT',\n            lastWeek: '[pasintan] dddd[n je] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'post %s',\n            past: 'antaŭ %s',\n            s: 'kelkaj sekundoj',\n            ss: '%d sekundoj',\n            m: 'unu minuto',\n            mm: '%d minutoj',\n            h: 'unu horo',\n            hh: '%d horoj',\n            d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo\n            dd: '%d tagoj',\n            M: 'unu monato',\n            MM: '%d monatoj',\n            y: 'unu jaro',\n            yy: '%d jaroj',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}a/,\n        ordinal: '%da',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return eo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Dominican Republic) [es-do]\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n            '_'\n        ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var esDo = moment.defineLocale('es-do', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY h:mm A',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return esDo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (Mexico) [es-mx]\n//! author : JC Franco : https://github.com/jcfranco\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n            '_'\n        ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var esMx = moment.defineLocale('es-mx', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY H:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n        invalidDate: 'Fecha inválida',\n    });\n\n    return esMx;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish (United States) [es-us]\n//! author : bustta : https://github.com/bustta\n//! author : chrisrodz : https://github.com/chrisrodz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n            '_'\n        ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var esUs = moment.defineLocale('es-us', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'MM/DD/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY h:mm A',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return esUs;\n\n})));\n","//! moment.js locale configuration\n//! locale : Spanish [es]\n//! author : Julio Napurí : https://github.com/julionc\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(\n            '_'\n        ),\n        monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),\n        monthsParse = [\n            /^ene/i,\n            /^feb/i,\n            /^mar/i,\n            /^abr/i,\n            /^may/i,\n            /^jun/i,\n            /^jul/i,\n            /^ago/i,\n            /^sep/i,\n            /^oct/i,\n            /^nov/i,\n            /^dic/i,\n        ],\n        monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i;\n\n    var es = moment.defineLocale('es', {\n        months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortDot;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShort[m.month()];\n            } else {\n                return monthsShortDot[m.month()];\n            }\n        },\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,\n        monthsShortStrictRegex: /^(ene\\.?|feb\\.?|mar\\.?|abr\\.?|may\\.?|jun\\.?|jul\\.?|ago\\.?|sep\\.?|oct\\.?|nov\\.?|dic\\.?)/i,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY H:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastDay: function () {\n                return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[el] dddd [pasado a la' +\n                    (this.hours() !== 1 ? 's' : '') +\n                    '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'en %s',\n            past: 'hace %s',\n            s: 'unos segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'una hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            w: 'una semana',\n            ww: '%d semanas',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un año',\n            yy: '%d años',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n        invalidDate: 'Fecha inválida',\n    });\n\n    return es;\n\n})));\n","//! moment.js locale configuration\n//! locale : Estonian [et]\n//! author : Henry Kehlmann : https://github.com/madhenry\n//! improvements : Illimar Tambek : https://github.com/ragulka\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],\n            ss: [number + 'sekundi', number + 'sekundit'],\n            m: ['ühe minuti', 'üks minut'],\n            mm: [number + ' minuti', number + ' minutit'],\n            h: ['ühe tunni', 'tund aega', 'üks tund'],\n            hh: [number + ' tunni', number + ' tundi'],\n            d: ['ühe päeva', 'üks päev'],\n            M: ['kuu aja', 'kuu aega', 'üks kuu'],\n            MM: [number + ' kuu', number + ' kuud'],\n            y: ['ühe aasta', 'aasta', 'üks aasta'],\n            yy: [number + ' aasta', number + ' aastat'],\n        };\n        if (withoutSuffix) {\n            return format[key][2] ? format[key][2] : format[key][1];\n        }\n        return isFuture ? format[key][0] : format[key][1];\n    }\n\n    var et = moment.defineLocale('et', {\n        months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(\n            '_'\n        ),\n        monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split(\n            '_'\n        ),\n        weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(\n            '_'\n        ),\n        weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),\n        weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[Täna,] LT',\n            nextDay: '[Homme,] LT',\n            nextWeek: '[Järgmine] dddd LT',\n            lastDay: '[Eile,] LT',\n            lastWeek: '[Eelmine] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s pärast',\n            past: '%s tagasi',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: '%d päeva',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return et;\n\n})));\n","//! moment.js locale configuration\n//! locale : Basque [eu]\n//! author : Eneko Illarramendi : https://github.com/eillarra\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var eu = moment.defineLocale('eu', {\n        months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(\n            '_'\n        ),\n        monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(\n            '_'\n        ),\n        weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),\n        weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY[ko] MMMM[ren] D[a]',\n            LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',\n            LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',\n            l: 'YYYY-M-D',\n            ll: 'YYYY[ko] MMM D[a]',\n            lll: 'YYYY[ko] MMM D[a] HH:mm',\n            llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',\n        },\n        calendar: {\n            sameDay: '[gaur] LT[etan]',\n            nextDay: '[bihar] LT[etan]',\n            nextWeek: 'dddd LT[etan]',\n            lastDay: '[atzo] LT[etan]',\n            lastWeek: '[aurreko] dddd LT[etan]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s barru',\n            past: 'duela %s',\n            s: 'segundo batzuk',\n            ss: '%d segundo',\n            m: 'minutu bat',\n            mm: '%d minutu',\n            h: 'ordu bat',\n            hh: '%d ordu',\n            d: 'egun bat',\n            dd: '%d egun',\n            M: 'hilabete bat',\n            MM: '%d hilabete',\n            y: 'urte bat',\n            yy: '%d urte',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return eu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Persian [fa]\n//! author : Ebrahim Byagowi : https://github.com/ebraminio\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '۱',\n            2: '۲',\n            3: '۳',\n            4: '۴',\n            5: '۵',\n            6: '۶',\n            7: '۷',\n            8: '۸',\n            9: '۹',\n            0: '۰',\n        },\n        numberMap = {\n            '۱': '1',\n            '۲': '2',\n            '۳': '3',\n            '۴': '4',\n            '۵': '5',\n            '۶': '6',\n            '۷': '7',\n            '۸': '8',\n            '۹': '9',\n            '۰': '0',\n        };\n\n    var fa = moment.defineLocale('fa', {\n        months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n            '_'\n        ),\n        monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(\n            '_'\n        ),\n        weekdays: 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n            '_'\n        ),\n        weekdaysShort: 'یک\\u200cشنبه_دوشنبه_سه\\u200cشنبه_چهارشنبه_پنج\\u200cشنبه_جمعه_شنبه'.split(\n            '_'\n        ),\n        weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /قبل از ظهر|بعد از ظهر/,\n        isPM: function (input) {\n            return /بعد از ظهر/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'قبل از ظهر';\n            } else {\n                return 'بعد از ظهر';\n            }\n        },\n        calendar: {\n            sameDay: '[امروز ساعت] LT',\n            nextDay: '[فردا ساعت] LT',\n            nextWeek: 'dddd [ساعت] LT',\n            lastDay: '[دیروز ساعت] LT',\n            lastWeek: 'dddd [پیش] [ساعت] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'در %s',\n            past: '%s پیش',\n            s: 'چند ثانیه',\n            ss: '%d ثانیه',\n            m: 'یک دقیقه',\n            mm: '%d دقیقه',\n            h: 'یک ساعت',\n            hh: '%d ساعت',\n            d: 'یک روز',\n            dd: '%d روز',\n            M: 'یک ماه',\n            MM: '%d ماه',\n            y: 'یک سال',\n            yy: '%d سال',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[۰-۹]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}م/,\n        ordinal: '%dم',\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return fa;\n\n})));\n","//! moment.js locale configuration\n//! locale : Finnish [fi]\n//! author : Tarmo Aidantausta : https://github.com/bleadof\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(\n            ' '\n        ),\n        numbersFuture = [\n            'nolla',\n            'yhden',\n            'kahden',\n            'kolmen',\n            'neljän',\n            'viiden',\n            'kuuden',\n            numbersPast[7],\n            numbersPast[8],\n            numbersPast[9],\n        ];\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = '';\n        switch (key) {\n            case 's':\n                return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';\n            case 'ss':\n                result = isFuture ? 'sekunnin' : 'sekuntia';\n                break;\n            case 'm':\n                return isFuture ? 'minuutin' : 'minuutti';\n            case 'mm':\n                result = isFuture ? 'minuutin' : 'minuuttia';\n                break;\n            case 'h':\n                return isFuture ? 'tunnin' : 'tunti';\n            case 'hh':\n                result = isFuture ? 'tunnin' : 'tuntia';\n                break;\n            case 'd':\n                return isFuture ? 'päivän' : 'päivä';\n            case 'dd':\n                result = isFuture ? 'päivän' : 'päivää';\n                break;\n            case 'M':\n                return isFuture ? 'kuukauden' : 'kuukausi';\n            case 'MM':\n                result = isFuture ? 'kuukauden' : 'kuukautta';\n                break;\n            case 'y':\n                return isFuture ? 'vuoden' : 'vuosi';\n            case 'yy':\n                result = isFuture ? 'vuoden' : 'vuotta';\n                break;\n        }\n        result = verbalNumber(number, isFuture) + ' ' + result;\n        return result;\n    }\n    function verbalNumber(number, isFuture) {\n        return number < 10\n            ? isFuture\n                ? numbersFuture[number]\n                : numbersPast[number]\n            : number;\n    }\n\n    var fi = moment.defineLocale('fi', {\n        months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(\n            '_'\n        ),\n        monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(\n            '_'\n        ),\n        weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(\n            '_'\n        ),\n        weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),\n        weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD.MM.YYYY',\n            LL: 'Do MMMM[ta] YYYY',\n            LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',\n            LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',\n            l: 'D.M.YYYY',\n            ll: 'Do MMM YYYY',\n            lll: 'Do MMM YYYY, [klo] HH.mm',\n            llll: 'ddd, Do MMM YYYY, [klo] HH.mm',\n        },\n        calendar: {\n            sameDay: '[tänään] [klo] LT',\n            nextDay: '[huomenna] [klo] LT',\n            nextWeek: 'dddd [klo] LT',\n            lastDay: '[eilen] [klo] LT',\n            lastWeek: '[viime] dddd[na] [klo] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s päästä',\n            past: '%s sitten',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Filipino [fil]\n//! author : Dan Hagman : https://github.com/hagmandan\n//! author : Matthew Co : https://github.com/matthewdeeco\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var fil = moment.defineLocale('fil', {\n        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n            '_'\n        ),\n        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n            '_'\n        ),\n        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'MM/D/YYYY',\n            LL: 'MMMM D, YYYY',\n            LLL: 'MMMM D, YYYY HH:mm',\n            LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: 'LT [ngayong araw]',\n            nextDay: '[Bukas ng] LT',\n            nextWeek: 'LT [sa susunod na] dddd',\n            lastDay: 'LT [kahapon]',\n            lastWeek: 'LT [noong nakaraang] dddd',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'sa loob ng %s',\n            past: '%s ang nakalipas',\n            s: 'ilang segundo',\n            ss: '%d segundo',\n            m: 'isang minuto',\n            mm: '%d minuto',\n            h: 'isang oras',\n            hh: '%d oras',\n            d: 'isang araw',\n            dd: '%d araw',\n            M: 'isang buwan',\n            MM: '%d buwan',\n            y: 'isang taon',\n            yy: '%d taon',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: function (number) {\n            return number;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fil;\n\n})));\n","//! moment.js locale configuration\n//! locale : Faroese [fo]\n//! author : Ragnar Johannesen : https://github.com/ragnar123\n//! author : Kristian Sakarisson : https://github.com/sakarisson\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var fo = moment.defineLocale('fo', {\n        months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),\n        weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(\n            '_'\n        ),\n        weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),\n        weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D. MMMM, YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Í dag kl.] LT',\n            nextDay: '[Í morgin kl.] LT',\n            nextWeek: 'dddd [kl.] LT',\n            lastDay: '[Í gjár kl.] LT',\n            lastWeek: '[síðstu] dddd [kl] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'um %s',\n            past: '%s síðani',\n            s: 'fá sekund',\n            ss: '%d sekundir',\n            m: 'ein minuttur',\n            mm: '%d minuttir',\n            h: 'ein tími',\n            hh: '%d tímar',\n            d: 'ein dagur',\n            dd: '%d dagar',\n            M: 'ein mánaður',\n            MM: '%d mánaðir',\n            y: 'eitt ár',\n            yy: '%d ár',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fo;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Canada) [fr-ca]\n//! author : Jonathan Abourbih : https://github.com/jonbca\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var frCa = moment.defineLocale('fr-ca', {\n        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n            '_'\n        ),\n        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Aujourd’hui à] LT',\n            nextDay: '[Demain à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[Hier à] LT',\n            lastWeek: 'dddd [dernier à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dans %s',\n            past: 'il y a %s',\n            s: 'quelques secondes',\n            ss: '%d secondes',\n            m: 'une minute',\n            mm: '%d minutes',\n            h: 'une heure',\n            hh: '%d heures',\n            d: 'un jour',\n            dd: '%d jours',\n            M: 'un mois',\n            MM: '%d mois',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // Words with masculine grammatical gender: mois, trimestre, jour\n                default:\n                case 'M':\n                case 'Q':\n                case 'D':\n                case 'DDD':\n                case 'd':\n                    return number + (number === 1 ? 'er' : 'e');\n\n                // Words with feminine grammatical gender: semaine\n                case 'w':\n                case 'W':\n                    return number + (number === 1 ? 're' : 'e');\n            }\n        },\n    });\n\n    return frCa;\n\n})));\n","//! moment.js locale configuration\n//! locale : French (Switzerland) [fr-ch]\n//! author : Gaspard Bucher : https://github.com/gaspard\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var frCh = moment.defineLocale('fr-ch', {\n        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n            '_'\n        ),\n        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Aujourd’hui à] LT',\n            nextDay: '[Demain à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[Hier à] LT',\n            lastWeek: 'dddd [dernier à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dans %s',\n            past: 'il y a %s',\n            s: 'quelques secondes',\n            ss: '%d secondes',\n            m: 'une minute',\n            mm: '%d minutes',\n            h: 'une heure',\n            hh: '%d heures',\n            d: 'un jour',\n            dd: '%d jours',\n            M: 'un mois',\n            MM: '%d mois',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er|e)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // Words with masculine grammatical gender: mois, trimestre, jour\n                default:\n                case 'M':\n                case 'Q':\n                case 'D':\n                case 'DDD':\n                case 'd':\n                    return number + (number === 1 ? 'er' : 'e');\n\n                // Words with feminine grammatical gender: semaine\n                case 'w':\n                case 'W':\n                    return number + (number === 1 ? 're' : 'e');\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return frCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : French [fr]\n//! author : John Fischer : https://github.com/jfroffice\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,\n        monthsShortStrictRegex = /(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?)/i,\n        monthsRegex = /(janv\\.?|févr\\.?|mars|avr\\.?|mai|juin|juil\\.?|août|sept\\.?|oct\\.?|nov\\.?|déc\\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,\n        monthsParse = [\n            /^janv/i,\n            /^févr/i,\n            /^mars/i,\n            /^avr/i,\n            /^mai/i,\n            /^juin/i,\n            /^juil/i,\n            /^août/i,\n            /^sept/i,\n            /^oct/i,\n            /^nov/i,\n            /^déc/i,\n        ];\n\n    var fr = moment.defineLocale('fr', {\n        months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(\n            '_'\n        ),\n        monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(\n            '_'\n        ),\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: monthsStrictRegex,\n        monthsShortStrictRegex: monthsShortStrictRegex,\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),\n        weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),\n        weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Aujourd’hui à] LT',\n            nextDay: '[Demain à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[Hier à] LT',\n            lastWeek: 'dddd [dernier à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dans %s',\n            past: 'il y a %s',\n            s: 'quelques secondes',\n            ss: '%d secondes',\n            m: 'une minute',\n            mm: '%d minutes',\n            h: 'une heure',\n            hh: '%d heures',\n            d: 'un jour',\n            dd: '%d jours',\n            w: 'une semaine',\n            ww: '%d semaines',\n            M: 'un mois',\n            MM: '%d mois',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er|)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // TODO: Return 'e' when day of month > 1. Move this case inside\n                // block for masculine words below.\n                // See https://github.com/moment/moment/issues/3375\n                case 'D':\n                    return number + (number === 1 ? 'er' : '');\n\n                // Words with masculine grammatical gender: mois, trimestre, jour\n                default:\n                case 'M':\n                case 'Q':\n                case 'DDD':\n                case 'd':\n                    return number + (number === 1 ? 'er' : 'e');\n\n                // Words with feminine grammatical gender: semaine\n                case 'w':\n                case 'W':\n                    return number + (number === 1 ? 're' : 'e');\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Frisian [fy]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(\n            '_'\n        ),\n        monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(\n            '_'\n        );\n\n    var fy = moment.defineLocale('fy', {\n        months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortWithDots;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShortWithoutDots[m.month()];\n            } else {\n                return monthsShortWithDots[m.month()];\n            }\n        },\n        monthsParseExact: true,\n        weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(\n            '_'\n        ),\n        weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),\n        weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[hjoed om] LT',\n            nextDay: '[moarn om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[juster om] LT',\n            lastWeek: '[ôfrûne] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'oer %s',\n            past: '%s lyn',\n            s: 'in pear sekonden',\n            ss: '%d sekonden',\n            m: 'ien minút',\n            mm: '%d minuten',\n            h: 'ien oere',\n            hh: '%d oeren',\n            d: 'ien dei',\n            dd: '%d dagen',\n            M: 'ien moanne',\n            MM: '%d moannen',\n            y: 'ien jier',\n            yy: '%d jierren',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            );\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return fy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Irish or Irish Gaelic [ga]\n//! author : André Silva : https://github.com/askpt\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'Eanáir',\n            'Feabhra',\n            'Márta',\n            'Aibreán',\n            'Bealtaine',\n            'Meitheamh',\n            'Iúil',\n            'Lúnasa',\n            'Meán Fómhair',\n            'Deireadh Fómhair',\n            'Samhain',\n            'Nollaig',\n        ],\n        monthsShort = [\n            'Ean',\n            'Feabh',\n            'Márt',\n            'Aib',\n            'Beal',\n            'Meith',\n            'Iúil',\n            'Lún',\n            'M.F.',\n            'D.F.',\n            'Samh',\n            'Noll',\n        ],\n        weekdays = [\n            'Dé Domhnaigh',\n            'Dé Luain',\n            'Dé Máirt',\n            'Dé Céadaoin',\n            'Déardaoin',\n            'Dé hAoine',\n            'Dé Sathairn',\n        ],\n        weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],\n        weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];\n\n    var ga = moment.defineLocale('ga', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsParseExact: true,\n        weekdays: weekdays,\n        weekdaysShort: weekdaysShort,\n        weekdaysMin: weekdaysMin,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Inniu ag] LT',\n            nextDay: '[Amárach ag] LT',\n            nextWeek: 'dddd [ag] LT',\n            lastDay: '[Inné ag] LT',\n            lastWeek: 'dddd [seo caite] [ag] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'i %s',\n            past: '%s ó shin',\n            s: 'cúpla soicind',\n            ss: '%d soicind',\n            m: 'nóiméad',\n            mm: '%d nóiméad',\n            h: 'uair an chloig',\n            hh: '%d uair an chloig',\n            d: 'lá',\n            dd: '%d lá',\n            M: 'mí',\n            MM: '%d míonna',\n            y: 'bliain',\n            yy: '%d bliain',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n        ordinal: function (number) {\n            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ga;\n\n})));\n","//! moment.js locale configuration\n//! locale : Scottish Gaelic [gd]\n//! author : Jon Ashdown : https://github.com/jonashdown\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'Am Faoilleach',\n            'An Gearran',\n            'Am Màrt',\n            'An Giblean',\n            'An Cèitean',\n            'An t-Ògmhios',\n            'An t-Iuchar',\n            'An Lùnastal',\n            'An t-Sultain',\n            'An Dàmhair',\n            'An t-Samhain',\n            'An Dùbhlachd',\n        ],\n        monthsShort = [\n            'Faoi',\n            'Gear',\n            'Màrt',\n            'Gibl',\n            'Cèit',\n            'Ògmh',\n            'Iuch',\n            'Lùn',\n            'Sult',\n            'Dàmh',\n            'Samh',\n            'Dùbh',\n        ],\n        weekdays = [\n            'Didòmhnaich',\n            'Diluain',\n            'Dimàirt',\n            'Diciadain',\n            'Diardaoin',\n            'Dihaoine',\n            'Disathairne',\n        ],\n        weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],\n        weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];\n\n    var gd = moment.defineLocale('gd', {\n        months: months,\n        monthsShort: monthsShort,\n        monthsParseExact: true,\n        weekdays: weekdays,\n        weekdaysShort: weekdaysShort,\n        weekdaysMin: weekdaysMin,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[An-diugh aig] LT',\n            nextDay: '[A-màireach aig] LT',\n            nextWeek: 'dddd [aig] LT',\n            lastDay: '[An-dè aig] LT',\n            lastWeek: 'dddd [seo chaidh] [aig] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ann an %s',\n            past: 'bho chionn %s',\n            s: 'beagan diogan',\n            ss: '%d diogan',\n            m: 'mionaid',\n            mm: '%d mionaidean',\n            h: 'uair',\n            hh: '%d uairean',\n            d: 'latha',\n            dd: '%d latha',\n            M: 'mìos',\n            MM: '%d mìosan',\n            y: 'bliadhna',\n            yy: '%d bliadhna',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(d|na|mh)/,\n        ordinal: function (number) {\n            var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return gd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Galician [gl]\n//! author : Juan G. Hurtado : https://github.com/juanghurtado\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var gl = moment.defineLocale('gl', {\n        months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(\n            '_'\n        ),\n        monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),\n        weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),\n        weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY H:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n            },\n            nextDay: function () {\n                return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';\n            },\n            nextWeek: function () {\n                return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';\n            },\n            lastDay: function () {\n                return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';\n            },\n            lastWeek: function () {\n                return (\n                    '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'\n                );\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (str) {\n                if (str.indexOf('un') === 0) {\n                    return 'n' + str;\n                }\n                return 'en ' + str;\n            },\n            past: 'hai %s',\n            s: 'uns segundos',\n            ss: '%d segundos',\n            m: 'un minuto',\n            mm: '%d minutos',\n            h: 'unha hora',\n            hh: '%d horas',\n            d: 'un día',\n            dd: '%d días',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un ano',\n            yy: '%d anos',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return gl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Devanagari script [gom-deva]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],\n            ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],\n            m: ['एका मिणटान', 'एक मिनूट'],\n            mm: [number + ' मिणटांनी', number + ' मिणटां'],\n            h: ['एका वरान', 'एक वर'],\n            hh: [number + ' वरांनी', number + ' वरां'],\n            d: ['एका दिसान', 'एक दीस'],\n            dd: [number + ' दिसांनी', number + ' दीस'],\n            M: ['एका म्हयन्यान', 'एक म्हयनो'],\n            MM: [number + ' म्हयन्यानी', number + ' म्हयने'],\n            y: ['एका वर्सान', 'एक वर्स'],\n            yy: [number + ' वर्सांनी', number + ' वर्सां'],\n        };\n        return isFuture ? format[key][0] : format[key][1];\n    }\n\n    var gomDeva = moment.defineLocale('gom-deva', {\n        months: {\n            standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n                '_'\n            ),\n            format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(\n                '_'\n            ),\n            isFormat: /MMMM(\\s)+D[oD]?/,\n        },\n        monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),\n        weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),\n        weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'A h:mm [वाजतां]',\n            LTS: 'A h:mm:ss [वाजतां]',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY A h:mm [वाजतां]',\n            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',\n            llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',\n        },\n        calendar: {\n            sameDay: '[आयज] LT',\n            nextDay: '[फाल्यां] LT',\n            nextWeek: '[फुडलो] dddd[,] LT',\n            lastDay: '[काल] LT',\n            lastWeek: '[फाटलो] dddd[,] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s',\n            past: '%s आदीं',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(वेर)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // the ordinal 'वेर' only applies to day of the month\n                case 'D':\n                    return number + 'वेर';\n                default:\n                case 'M':\n                case 'Q':\n                case 'DDD':\n                case 'd':\n                case 'w':\n                case 'W':\n                    return number;\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week\n            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)\n        },\n        meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'राती') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'सकाळीं') {\n                return hour;\n            } else if (meridiem === 'दनपारां') {\n                return hour > 12 ? hour : hour + 12;\n            } else if (meridiem === 'सांजे') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'राती';\n            } else if (hour < 12) {\n                return 'सकाळीं';\n            } else if (hour < 16) {\n                return 'दनपारां';\n            } else if (hour < 20) {\n                return 'सांजे';\n            } else {\n                return 'राती';\n            }\n        },\n    });\n\n    return gomDeva;\n\n})));\n","//! moment.js locale configuration\n//! locale : Konkani Latin script [gom-latn]\n//! author : The Discoverer : https://github.com/WikiDiscoverer\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['thoddea sekondamni', 'thodde sekond'],\n            ss: [number + ' sekondamni', number + ' sekond'],\n            m: ['eka mintan', 'ek minut'],\n            mm: [number + ' mintamni', number + ' mintam'],\n            h: ['eka voran', 'ek vor'],\n            hh: [number + ' voramni', number + ' voram'],\n            d: ['eka disan', 'ek dis'],\n            dd: [number + ' disamni', number + ' dis'],\n            M: ['eka mhoinean', 'ek mhoino'],\n            MM: [number + ' mhoineamni', number + ' mhoine'],\n            y: ['eka vorsan', 'ek voros'],\n            yy: [number + ' vorsamni', number + ' vorsam'],\n        };\n        return isFuture ? format[key][0] : format[key][1];\n    }\n\n    var gomLatn = moment.defineLocale('gom-latn', {\n        months: {\n            standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(\n                '_'\n            ),\n            format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(\n                '_'\n            ),\n            isFormat: /MMMM(\\s)+D[oD]?/,\n        },\n        monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: \"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var\".split('_'),\n        weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),\n        weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'A h:mm [vazta]',\n            LTS: 'A h:mm:ss [vazta]',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY A h:mm [vazta]',\n            LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',\n            llll: 'ddd, D MMM YYYY, A h:mm [vazta]',\n        },\n        calendar: {\n            sameDay: '[Aiz] LT',\n            nextDay: '[Faleam] LT',\n            nextWeek: '[Fuddlo] dddd[,] LT',\n            lastDay: '[Kal] LT',\n            lastWeek: '[Fattlo] dddd[,] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s',\n            past: '%s adim',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(er)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                // the ordinal 'er' only applies to day of the month\n                case 'D':\n                    return number + 'er';\n                default:\n                case 'M':\n                case 'Q':\n                case 'DDD':\n                case 'd':\n                case 'w':\n                case 'W':\n                    return number;\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week\n            doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)\n        },\n        meridiemParse: /rati|sokallim|donparam|sanje/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'rati') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'sokallim') {\n                return hour;\n            } else if (meridiem === 'donparam') {\n                return hour > 12 ? hour : hour + 12;\n            } else if (meridiem === 'sanje') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'rati';\n            } else if (hour < 12) {\n                return 'sokallim';\n            } else if (hour < 16) {\n                return 'donparam';\n            } else if (hour < 20) {\n                return 'sanje';\n            } else {\n                return 'rati';\n            }\n        },\n    });\n\n    return gomLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Gujarati [gu]\n//! author : Kaushik Thanki : https://github.com/Kaushik1987\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '૧',\n            2: '૨',\n            3: '૩',\n            4: '૪',\n            5: '૫',\n            6: '૬',\n            7: '૭',\n            8: '૮',\n            9: '૯',\n            0: '૦',\n        },\n        numberMap = {\n            '૧': '1',\n            '૨': '2',\n            '૩': '3',\n            '૪': '4',\n            '૫': '5',\n            '૬': '6',\n            '૭': '7',\n            '૮': '8',\n            '૯': '9',\n            '૦': '0',\n        };\n\n    var gu = moment.defineLocale('gu', {\n        months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(\n            '_'\n        ),\n        monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(\n            '_'\n        ),\n        weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),\n        weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm વાગ્યે',\n            LTS: 'A h:mm:ss વાગ્યે',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm વાગ્યે',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',\n        },\n        calendar: {\n            sameDay: '[આજ] LT',\n            nextDay: '[કાલે] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[ગઇકાલે] LT',\n            lastWeek: '[પાછલા] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s મા',\n            past: '%s પહેલા',\n            s: 'અમુક પળો',\n            ss: '%d સેકંડ',\n            m: 'એક મિનિટ',\n            mm: '%d મિનિટ',\n            h: 'એક કલાક',\n            hh: '%d કલાક',\n            d: 'એક દિવસ',\n            dd: '%d દિવસ',\n            M: 'એક મહિનો',\n            MM: '%d મહિનો',\n            y: 'એક વર્ષ',\n            yy: '%d વર્ષ',\n        },\n        preparse: function (string) {\n            return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // Gujarati notation for meridiems are quite fuzzy in practice. While there exists\n        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.\n        meridiemParse: /રાત|બપોર|સવાર|સાંજ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'રાત') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'સવાર') {\n                return hour;\n            } else if (meridiem === 'બપોર') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'સાંજ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'રાત';\n            } else if (hour < 10) {\n                return 'સવાર';\n            } else if (hour < 17) {\n                return 'બપોર';\n            } else if (hour < 20) {\n                return 'સાંજ';\n            } else {\n                return 'રાત';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return gu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hebrew [he]\n//! author : Tomer Cohen : https://github.com/tomer\n//! author : Moshe Simantov : https://github.com/DevelopmentIL\n//! author : Tal Ater : https://github.com/TalAter\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var he = moment.defineLocale('he', {\n        months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(\n            '_'\n        ),\n        monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split(\n            '_'\n        ),\n        weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),\n        weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),\n        weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [ב]MMMM YYYY',\n            LLL: 'D [ב]MMMM YYYY HH:mm',\n            LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',\n            l: 'D/M/YYYY',\n            ll: 'D MMM YYYY',\n            lll: 'D MMM YYYY HH:mm',\n            llll: 'ddd, D MMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[היום ב־]LT',\n            nextDay: '[מחר ב־]LT',\n            nextWeek: 'dddd [בשעה] LT',\n            lastDay: '[אתמול ב־]LT',\n            lastWeek: '[ביום] dddd [האחרון בשעה] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'בעוד %s',\n            past: 'לפני %s',\n            s: 'מספר שניות',\n            ss: '%d שניות',\n            m: 'דקה',\n            mm: '%d דקות',\n            h: 'שעה',\n            hh: function (number) {\n                if (number === 2) {\n                    return 'שעתיים';\n                }\n                return number + ' שעות';\n            },\n            d: 'יום',\n            dd: function (number) {\n                if (number === 2) {\n                    return 'יומיים';\n                }\n                return number + ' ימים';\n            },\n            M: 'חודש',\n            MM: function (number) {\n                if (number === 2) {\n                    return 'חודשיים';\n                }\n                return number + ' חודשים';\n            },\n            y: 'שנה',\n            yy: function (number) {\n                if (number === 2) {\n                    return 'שנתיים';\n                } else if (number % 10 === 0 && number !== 10) {\n                    return number + ' שנה';\n                }\n                return number + ' שנים';\n            },\n        },\n        meridiemParse: /אחה\"צ|לפנה\"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,\n        isPM: function (input) {\n            return /^(אחה\"צ|אחרי הצהריים|בערב)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 5) {\n                return 'לפנות בוקר';\n            } else if (hour < 10) {\n                return 'בבוקר';\n            } else if (hour < 12) {\n                return isLower ? 'לפנה\"צ' : 'לפני הצהריים';\n            } else if (hour < 18) {\n                return isLower ? 'אחה\"צ' : 'אחרי הצהריים';\n            } else {\n                return 'בערב';\n            }\n        },\n    });\n\n    return he;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hindi [hi]\n//! author : Mayank Singhal : https://github.com/mayanksinghal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '१',\n            2: '२',\n            3: '३',\n            4: '४',\n            5: '५',\n            6: '६',\n            7: '७',\n            8: '८',\n            9: '९',\n            0: '०',\n        },\n        numberMap = {\n            '१': '1',\n            '२': '2',\n            '३': '3',\n            '४': '4',\n            '५': '5',\n            '६': '6',\n            '७': '7',\n            '८': '8',\n            '९': '9',\n            '०': '0',\n        },\n        monthsParse = [\n            /^जन/i,\n            /^फ़र|फर/i,\n            /^मार्च/i,\n            /^अप्रै/i,\n            /^मई/i,\n            /^जून/i,\n            /^जुल/i,\n            /^अग/i,\n            /^सितं|सित/i,\n            /^अक्टू/i,\n            /^नव|नवं/i,\n            /^दिसं|दिस/i,\n        ],\n        shortMonthsParse = [\n            /^जन/i,\n            /^फ़र/i,\n            /^मार्च/i,\n            /^अप्रै/i,\n            /^मई/i,\n            /^जून/i,\n            /^जुल/i,\n            /^अग/i,\n            /^सित/i,\n            /^अक्टू/i,\n            /^नव/i,\n            /^दिस/i,\n        ];\n\n    var hi = moment.defineLocale('hi', {\n        months: {\n            format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(\n                '_'\n            ),\n            standalone: 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(\n                '_'\n            ),\n        },\n        monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split(\n            '_'\n        ),\n        weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n        weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),\n        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm बजे',\n            LTS: 'A h:mm:ss बजे',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm बजे',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',\n        },\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: shortMonthsParse,\n\n        monthsRegex: /^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,\n\n        monthsShortRegex: /^(जनवरी|जन\\.?|फ़रवरी|फरवरी|फ़र\\.?|मार्च?|अप्रैल|अप्रै\\.?|मई?|जून?|जुलाई|जुल\\.?|अगस्त|अग\\.?|सितम्बर|सितंबर|सित\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर|नव\\.?|दिसम्बर|दिसंबर|दिस\\.?)/i,\n\n        monthsStrictRegex: /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\\.?|अक्टूबर|अक्टू\\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,\n\n        monthsShortStrictRegex: /^(जन\\.?|फ़र\\.?|मार्च?|अप्रै\\.?|मई?|जून?|जुल\\.?|अग\\.?|सित\\.?|अक्टू\\.?|नव\\.?|दिस\\.?)/i,\n\n        calendar: {\n            sameDay: '[आज] LT',\n            nextDay: '[कल] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[कल] LT',\n            lastWeek: '[पिछले] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s में',\n            past: '%s पहले',\n            s: 'कुछ ही क्षण',\n            ss: '%d सेकंड',\n            m: 'एक मिनट',\n            mm: '%d मिनट',\n            h: 'एक घंटा',\n            hh: '%d घंटे',\n            d: 'एक दिन',\n            dd: '%d दिन',\n            M: 'एक महीने',\n            MM: '%d महीने',\n            y: 'एक वर्ष',\n            yy: '%d वर्ष',\n        },\n        preparse: function (string) {\n            return string.replace(/[१२३४५६७८९०]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // Hindi notation for meridiems are quite fuzzy in practice. While there exists\n        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.\n        meridiemParse: /रात|सुबह|दोपहर|शाम/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'रात') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'सुबह') {\n                return hour;\n            } else if (meridiem === 'दोपहर') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'शाम') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'रात';\n            } else if (hour < 10) {\n                return 'सुबह';\n            } else if (hour < 17) {\n                return 'दोपहर';\n            } else if (hour < 20) {\n                return 'शाम';\n            } else {\n                return 'रात';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return hi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Croatian [hr]\n//! author : Bojan Marković : https://github.com/bmarkovic\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function translate(number, withoutSuffix, key) {\n        var result = number + ' ';\n        switch (key) {\n            case 'ss':\n                if (number === 1) {\n                    result += 'sekunda';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sekunde';\n                } else {\n                    result += 'sekundi';\n                }\n                return result;\n            case 'm':\n                return withoutSuffix ? 'jedna minuta' : 'jedne minute';\n            case 'mm':\n                if (number === 1) {\n                    result += 'minuta';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'minute';\n                } else {\n                    result += 'minuta';\n                }\n                return result;\n            case 'h':\n                return withoutSuffix ? 'jedan sat' : 'jednog sata';\n            case 'hh':\n                if (number === 1) {\n                    result += 'sat';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'sata';\n                } else {\n                    result += 'sati';\n                }\n                return result;\n            case 'dd':\n                if (number === 1) {\n                    result += 'dan';\n                } else {\n                    result += 'dana';\n                }\n                return result;\n            case 'MM':\n                if (number === 1) {\n                    result += 'mjesec';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'mjeseca';\n                } else {\n                    result += 'mjeseci';\n                }\n                return result;\n            case 'yy':\n                if (number === 1) {\n                    result += 'godina';\n                } else if (number === 2 || number === 3 || number === 4) {\n                    result += 'godine';\n                } else {\n                    result += 'godina';\n                }\n                return result;\n        }\n    }\n\n    var hr = moment.defineLocale('hr', {\n        months: {\n            format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(\n                '_'\n            ),\n            standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(\n                '_'\n            ),\n        },\n        monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'Do MMMM YYYY',\n            LLL: 'Do MMMM YYYY H:mm',\n            LLLL: 'dddd, Do MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sutra u] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedjelju] [u] LT';\n                    case 3:\n                        return '[u] [srijedu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[jučer u] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[prošlu] [nedjelju] [u] LT';\n                    case 3:\n                        return '[prošlu] [srijedu] [u] LT';\n                    case 6:\n                        return '[prošle] [subote] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[prošli] dddd [u] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'prije %s',\n            s: 'par sekundi',\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: 'dan',\n            dd: translate,\n            M: 'mjesec',\n            MM: translate,\n            y: 'godinu',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return hr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Hungarian [hu]\n//! author : Adam Brunner : https://github.com/adambrunner\n//! author : Peter Viszt  : https://github.com/passatgt\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(\n        ' '\n    );\n    function translate(number, withoutSuffix, key, isFuture) {\n        var num = number;\n        switch (key) {\n            case 's':\n                return isFuture || withoutSuffix\n                    ? 'néhány másodperc'\n                    : 'néhány másodperce';\n            case 'ss':\n                return num + (isFuture || withoutSuffix)\n                    ? ' másodperc'\n                    : ' másodperce';\n            case 'm':\n                return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');\n            case 'mm':\n                return num + (isFuture || withoutSuffix ? ' perc' : ' perce');\n            case 'h':\n                return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');\n            case 'hh':\n                return num + (isFuture || withoutSuffix ? ' óra' : ' órája');\n            case 'd':\n                return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');\n            case 'dd':\n                return num + (isFuture || withoutSuffix ? ' nap' : ' napja');\n            case 'M':\n                return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n            case 'MM':\n                return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');\n            case 'y':\n                return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');\n            case 'yy':\n                return num + (isFuture || withoutSuffix ? ' év' : ' éve');\n        }\n        return '';\n    }\n    function week(isFuture) {\n        return (\n            (isFuture ? '' : '[múlt] ') +\n            '[' +\n            weekEndings[this.day()] +\n            '] LT[-kor]'\n        );\n    }\n\n    var hu = moment.defineLocale('hu', {\n        months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),\n        weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),\n        weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'YYYY.MM.DD.',\n            LL: 'YYYY. MMMM D.',\n            LLL: 'YYYY. MMMM D. H:mm',\n            LLLL: 'YYYY. MMMM D., dddd H:mm',\n        },\n        meridiemParse: /de|du/i,\n        isPM: function (input) {\n            return input.charAt(1).toLowerCase() === 'u';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower === true ? 'de' : 'DE';\n            } else {\n                return isLower === true ? 'du' : 'DU';\n            }\n        },\n        calendar: {\n            sameDay: '[ma] LT[-kor]',\n            nextDay: '[holnap] LT[-kor]',\n            nextWeek: function () {\n                return week.call(this, true);\n            },\n            lastDay: '[tegnap] LT[-kor]',\n            lastWeek: function () {\n                return week.call(this, false);\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s múlva',\n            past: '%s',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return hu;\n\n})));\n","//! moment.js locale configuration\n//! locale : Armenian [hy-am]\n//! author : Armendarabyan : https://github.com/armendarabyan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var hyAm = moment.defineLocale('hy-am', {\n        months: {\n            format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(\n                '_'\n            ),\n            standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(\n                '_'\n            ),\n        },\n        monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),\n        weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(\n            '_'\n        ),\n        weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n        weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY թ.',\n            LLL: 'D MMMM YYYY թ., HH:mm',\n            LLLL: 'dddd, D MMMM YYYY թ., HH:mm',\n        },\n        calendar: {\n            sameDay: '[այսօր] LT',\n            nextDay: '[վաղը] LT',\n            lastDay: '[երեկ] LT',\n            nextWeek: function () {\n                return 'dddd [օրը ժամը] LT';\n            },\n            lastWeek: function () {\n                return '[անցած] dddd [օրը ժամը] LT';\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s հետո',\n            past: '%s առաջ',\n            s: 'մի քանի վայրկյան',\n            ss: '%d վայրկյան',\n            m: 'րոպե',\n            mm: '%d րոպե',\n            h: 'ժամ',\n            hh: '%d ժամ',\n            d: 'օր',\n            dd: '%d օր',\n            M: 'ամիս',\n            MM: '%d ամիս',\n            y: 'տարի',\n            yy: '%d տարի',\n        },\n        meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,\n        isPM: function (input) {\n            return /^(ցերեկվա|երեկոյան)$/.test(input);\n        },\n        meridiem: function (hour) {\n            if (hour < 4) {\n                return 'գիշերվա';\n            } else if (hour < 12) {\n                return 'առավոտվա';\n            } else if (hour < 17) {\n                return 'ցերեկվա';\n            } else {\n                return 'երեկոյան';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}|\\d{1,2}-(ին|րդ)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'DDD':\n                case 'w':\n                case 'W':\n                case 'DDDo':\n                    if (number === 1) {\n                        return number + '-ին';\n                    }\n                    return number + '-րդ';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return hyAm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Indonesian [id]\n//! author : Mohammad Satrio Utomo : https://github.com/tyok\n//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var id = moment.defineLocale('id', {\n        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),\n        weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),\n        weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),\n        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /pagi|siang|sore|malam/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'pagi') {\n                return hour;\n            } else if (meridiem === 'siang') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'sore' || meridiem === 'malam') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'pagi';\n            } else if (hours < 15) {\n                return 'siang';\n            } else if (hours < 19) {\n                return 'sore';\n            } else {\n                return 'malam';\n            }\n        },\n        calendar: {\n            sameDay: '[Hari ini pukul] LT',\n            nextDay: '[Besok pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kemarin pukul] LT',\n            lastWeek: 'dddd [lalu pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dalam %s',\n            past: '%s yang lalu',\n            s: 'beberapa detik',\n            ss: '%d detik',\n            m: 'semenit',\n            mm: '%d menit',\n            h: 'sejam',\n            hh: '%d jam',\n            d: 'sehari',\n            dd: '%d hari',\n            M: 'sebulan',\n            MM: '%d bulan',\n            y: 'setahun',\n            yy: '%d tahun',\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return id;\n\n})));\n","//! moment.js locale configuration\n//! locale : Icelandic [is]\n//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(n) {\n        if (n % 100 === 11) {\n            return true;\n        } else if (n % 10 === 1) {\n            return false;\n        }\n        return true;\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's':\n                return withoutSuffix || isFuture\n                    ? 'nokkrar sekúndur'\n                    : 'nokkrum sekúndum';\n            case 'ss':\n                if (plural(number)) {\n                    return (\n                        result +\n                        (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')\n                    );\n                }\n                return result + 'sekúnda';\n            case 'm':\n                return withoutSuffix ? 'mínúta' : 'mínútu';\n            case 'mm':\n                if (plural(number)) {\n                    return (\n                        result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')\n                    );\n                } else if (withoutSuffix) {\n                    return result + 'mínúta';\n                }\n                return result + 'mínútu';\n            case 'hh':\n                if (plural(number)) {\n                    return (\n                        result +\n                        (withoutSuffix || isFuture\n                            ? 'klukkustundir'\n                            : 'klukkustundum')\n                    );\n                }\n                return result + 'klukkustund';\n            case 'd':\n                if (withoutSuffix) {\n                    return 'dagur';\n                }\n                return isFuture ? 'dag' : 'degi';\n            case 'dd':\n                if (plural(number)) {\n                    if (withoutSuffix) {\n                        return result + 'dagar';\n                    }\n                    return result + (isFuture ? 'daga' : 'dögum');\n                } else if (withoutSuffix) {\n                    return result + 'dagur';\n                }\n                return result + (isFuture ? 'dag' : 'degi');\n            case 'M':\n                if (withoutSuffix) {\n                    return 'mánuður';\n                }\n                return isFuture ? 'mánuð' : 'mánuði';\n            case 'MM':\n                if (plural(number)) {\n                    if (withoutSuffix) {\n                        return result + 'mánuðir';\n                    }\n                    return result + (isFuture ? 'mánuði' : 'mánuðum');\n                } else if (withoutSuffix) {\n                    return result + 'mánuður';\n                }\n                return result + (isFuture ? 'mánuð' : 'mánuði');\n            case 'y':\n                return withoutSuffix || isFuture ? 'ár' : 'ári';\n            case 'yy':\n                if (plural(number)) {\n                    return result + (withoutSuffix || isFuture ? 'ár' : 'árum');\n                }\n                return result + (withoutSuffix || isFuture ? 'ár' : 'ári');\n        }\n    }\n\n    var is = moment.defineLocale('is', {\n        months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),\n        weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(\n            '_'\n        ),\n        weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),\n        weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY [kl.] H:mm',\n            LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',\n        },\n        calendar: {\n            sameDay: '[í dag kl.] LT',\n            nextDay: '[á morgun kl.] LT',\n            nextWeek: 'dddd [kl.] LT',\n            lastDay: '[í gær kl.] LT',\n            lastWeek: '[síðasta] dddd [kl.] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'eftir %s',\n            past: 'fyrir %s síðan',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: 'klukkustund',\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return is;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian (Switzerland) [it-ch]\n//! author : xfh : https://github.com/xfh\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var itCh = moment.defineLocale('it-ch', {\n        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n            '_'\n        ),\n        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n            '_'\n        ),\n        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Oggi alle] LT',\n            nextDay: '[Domani alle] LT',\n            nextWeek: 'dddd [alle] LT',\n            lastDay: '[Ieri alle] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[la scorsa] dddd [alle] LT';\n                    default:\n                        return '[lo scorso] dddd [alle] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (s) {\n                return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;\n            },\n            past: '%s fa',\n            s: 'alcuni secondi',\n            ss: '%d secondi',\n            m: 'un minuto',\n            mm: '%d minuti',\n            h: \"un'ora\",\n            hh: '%d ore',\n            d: 'un giorno',\n            dd: '%d giorni',\n            M: 'un mese',\n            MM: '%d mesi',\n            y: 'un anno',\n            yy: '%d anni',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return itCh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Italian [it]\n//! author : Lorenzo : https://github.com/aliem\n//! author: Mattia Larentis: https://github.com/nostalgiaz\n//! author: Marco : https://github.com/Manfre98\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var it = moment.defineLocale('it', {\n        months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(\n            '_'\n        ),\n        monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),\n        weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(\n            '_'\n        ),\n        weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),\n        weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: function () {\n                return (\n                    '[Oggi a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            nextDay: function () {\n                return (\n                    '[Domani a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            nextWeek: function () {\n                return (\n                    'dddd [a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            lastDay: function () {\n                return (\n                    '[Ieri a' +\n                    (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : \"ll'\") +\n                    ']LT'\n                );\n            },\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return (\n                            '[La scorsa] dddd [a' +\n                            (this.hours() > 1\n                                ? 'lle '\n                                : this.hours() === 0\n                                ? ' '\n                                : \"ll'\") +\n                            ']LT'\n                        );\n                    default:\n                        return (\n                            '[Lo scorso] dddd [a' +\n                            (this.hours() > 1\n                                ? 'lle '\n                                : this.hours() === 0\n                                ? ' '\n                                : \"ll'\") +\n                            ']LT'\n                        );\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'tra %s',\n            past: '%s fa',\n            s: 'alcuni secondi',\n            ss: '%d secondi',\n            m: 'un minuto',\n            mm: '%d minuti',\n            h: \"un'ora\",\n            hh: '%d ore',\n            d: 'un giorno',\n            dd: '%d giorni',\n            w: 'una settimana',\n            ww: '%d settimane',\n            M: 'un mese',\n            MM: '%d mesi',\n            y: 'un anno',\n            yy: '%d anni',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return it;\n\n})));\n","//! moment.js locale configuration\n//! locale : Japanese [ja]\n//! author : LI Long : https://github.com/baryon\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ja = moment.defineLocale('ja', {\n        eras: [\n            {\n                since: '2019-05-01',\n                offset: 1,\n                name: '令和',\n                narrow: '㋿',\n                abbr: 'R',\n            },\n            {\n                since: '1989-01-08',\n                until: '2019-04-30',\n                offset: 1,\n                name: '平成',\n                narrow: '㍻',\n                abbr: 'H',\n            },\n            {\n                since: '1926-12-25',\n                until: '1989-01-07',\n                offset: 1,\n                name: '昭和',\n                narrow: '㍼',\n                abbr: 'S',\n            },\n            {\n                since: '1912-07-30',\n                until: '1926-12-24',\n                offset: 1,\n                name: '大正',\n                narrow: '㍽',\n                abbr: 'T',\n            },\n            {\n                since: '1873-01-01',\n                until: '1912-07-29',\n                offset: 6,\n                name: '明治',\n                narrow: '㍾',\n                abbr: 'M',\n            },\n            {\n                since: '0001-01-01',\n                until: '1873-12-31',\n                offset: 1,\n                name: '西暦',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: '紀元前',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        eraYearOrdinalRegex: /(元|\\d+)年/,\n        eraYearOrdinalParse: function (input, match) {\n            return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);\n        },\n        months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),\n        weekdaysShort: '日_月_火_水_木_金_土'.split('_'),\n        weekdaysMin: '日_月_火_水_木_金_土'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日 dddd HH:mm',\n            l: 'YYYY/MM/DD',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日(ddd) HH:mm',\n        },\n        meridiemParse: /午前|午後/i,\n        isPM: function (input) {\n            return input === '午後';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return '午前';\n            } else {\n                return '午後';\n            }\n        },\n        calendar: {\n            sameDay: '[今日] LT',\n            nextDay: '[明日] LT',\n            nextWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    return '[来週]dddd LT';\n                } else {\n                    return 'dddd LT';\n                }\n            },\n            lastDay: '[昨日] LT',\n            lastWeek: function (now) {\n                if (this.week() !== now.week()) {\n                    return '[先週]dddd LT';\n                } else {\n                    return 'dddd LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}日/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'y':\n                    return number === 1 ? '元年' : number + '年';\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s後',\n            past: '%s前',\n            s: '数秒',\n            ss: '%d秒',\n            m: '1分',\n            mm: '%d分',\n            h: '1時間',\n            hh: '%d時間',\n            d: '1日',\n            dd: '%d日',\n            M: '1ヶ月',\n            MM: '%dヶ月',\n            y: '1年',\n            yy: '%d年',\n        },\n    });\n\n    return ja;\n\n})));\n","//! moment.js locale configuration\n//! locale : Javanese [jv]\n//! author : Rony Lantip : https://github.com/lantip\n//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var jv = moment.defineLocale('jv', {\n        months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),\n        weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),\n        weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),\n        weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /enjing|siyang|sonten|ndalu/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'enjing') {\n                return hour;\n            } else if (meridiem === 'siyang') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'sonten' || meridiem === 'ndalu') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'enjing';\n            } else if (hours < 15) {\n                return 'siyang';\n            } else if (hours < 19) {\n                return 'sonten';\n            } else {\n                return 'ndalu';\n            }\n        },\n        calendar: {\n            sameDay: '[Dinten puniko pukul] LT',\n            nextDay: '[Mbenjang pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kala wingi pukul] LT',\n            lastWeek: 'dddd [kepengker pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'wonten ing %s',\n            past: '%s ingkang kepengker',\n            s: 'sawetawis detik',\n            ss: '%d detik',\n            m: 'setunggal menit',\n            mm: '%d menit',\n            h: 'setunggal jam',\n            hh: '%d jam',\n            d: 'sedinten',\n            dd: '%d dinten',\n            M: 'sewulan',\n            MM: '%d wulan',\n            y: 'setaun',\n            yy: '%d taun',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return jv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Georgian [ka]\n//! author : Irakli Janiashvili : https://github.com/IrakliJani\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ka = moment.defineLocale('ka', {\n        months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(\n            '_'\n        ),\n        monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),\n        weekdays: {\n            standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(\n                '_'\n            ),\n            format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(\n                '_'\n            ),\n            isFormat: /(წინა|შემდეგ)/,\n        },\n        weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),\n        weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[დღეს] LT[-ზე]',\n            nextDay: '[ხვალ] LT[-ზე]',\n            lastDay: '[გუშინ] LT[-ზე]',\n            nextWeek: '[შემდეგ] dddd LT[-ზე]',\n            lastWeek: '[წინა] dddd LT-ზე',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: function (s) {\n                return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function (\n                    $0,\n                    $1,\n                    $2\n                ) {\n                    return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';\n                });\n            },\n            past: function (s) {\n                if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {\n                    return s.replace(/(ი|ე)$/, 'ის წინ');\n                }\n                if (/წელი/.test(s)) {\n                    return s.replace(/წელი$/, 'წლის წინ');\n                }\n                return s;\n            },\n            s: 'რამდენიმე წამი',\n            ss: '%d წამი',\n            m: 'წუთი',\n            mm: '%d წუთი',\n            h: 'საათი',\n            hh: '%d საათი',\n            d: 'დღე',\n            dd: '%d დღე',\n            M: 'თვე',\n            MM: '%d თვე',\n            y: 'წელი',\n            yy: '%d წელი',\n        },\n        dayOfMonthOrdinalParse: /0|1-ლი|მე-\\d{1,2}|\\d{1,2}-ე/,\n        ordinal: function (number) {\n            if (number === 0) {\n                return number;\n            }\n            if (number === 1) {\n                return number + '-ლი';\n            }\n            if (\n                number < 20 ||\n                (number <= 100 && number % 20 === 0) ||\n                number % 100 === 0\n            ) {\n                return 'მე-' + number;\n            }\n            return number + '-ე';\n        },\n        week: {\n            dow: 1,\n            doy: 7,\n        },\n    });\n\n    return ka;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kazakh [kk]\n//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        0: '-ші',\n        1: '-ші',\n        2: '-ші',\n        3: '-ші',\n        4: '-ші',\n        5: '-ші',\n        6: '-шы',\n        7: '-ші',\n        8: '-ші',\n        9: '-шы',\n        10: '-шы',\n        20: '-шы',\n        30: '-шы',\n        40: '-шы',\n        50: '-ші',\n        60: '-шы',\n        70: '-ші',\n        80: '-ші',\n        90: '-шы',\n        100: '-ші',\n    };\n\n    var kk = moment.defineLocale('kk', {\n        months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(\n            '_'\n        ),\n        monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),\n        weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(\n            '_'\n        ),\n        weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),\n        weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Бүгін сағат] LT',\n            nextDay: '[Ертең сағат] LT',\n            nextWeek: 'dddd [сағат] LT',\n            lastDay: '[Кеше сағат] LT',\n            lastWeek: '[Өткен аптаның] dddd [сағат] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ішінде',\n            past: '%s бұрын',\n            s: 'бірнеше секунд',\n            ss: '%d секунд',\n            m: 'бір минут',\n            mm: '%d минут',\n            h: 'бір сағат',\n            hh: '%d сағат',\n            d: 'бір күн',\n            dd: '%d күн',\n            M: 'бір ай',\n            MM: '%d ай',\n            y: 'бір жыл',\n            yy: '%d жыл',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ші|шы)/,\n        ordinal: function (number) {\n            var a = number % 10,\n                b = number >= 100 ? 100 : null;\n            return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return kk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Cambodian [km]\n//! author : Kruy Vanna : https://github.com/kruyvanna\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '១',\n            2: '២',\n            3: '៣',\n            4: '៤',\n            5: '៥',\n            6: '៦',\n            7: '៧',\n            8: '៨',\n            9: '៩',\n            0: '០',\n        },\n        numberMap = {\n            '១': '1',\n            '២': '2',\n            '៣': '3',\n            '៤': '4',\n            '៥': '5',\n            '៦': '6',\n            '៧': '7',\n            '៨': '8',\n            '៩': '9',\n            '០': '0',\n        };\n\n    var km = moment.defineLocale('km', {\n        months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n            '_'\n        ),\n        monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(\n            '_'\n        ),\n        weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),\n        weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n        weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ព្រឹក|ល្ងាច/,\n        isPM: function (input) {\n            return input === 'ល្ងាច';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ព្រឹក';\n            } else {\n                return 'ល្ងាច';\n            }\n        },\n        calendar: {\n            sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',\n            nextDay: '[ស្អែក ម៉ោង] LT',\n            nextWeek: 'dddd [ម៉ោង] LT',\n            lastDay: '[ម្សិលមិញ ម៉ោង] LT',\n            lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sទៀត',\n            past: '%sមុន',\n            s: 'ប៉ុន្មានវិនាទី',\n            ss: '%d វិនាទី',\n            m: 'មួយនាទី',\n            mm: '%d នាទី',\n            h: 'មួយម៉ោង',\n            hh: '%d ម៉ោង',\n            d: 'មួយថ្ងៃ',\n            dd: '%d ថ្ងៃ',\n            M: 'មួយខែ',\n            MM: '%d ខែ',\n            y: 'មួយឆ្នាំ',\n            yy: '%d ឆ្នាំ',\n        },\n        dayOfMonthOrdinalParse: /ទី\\d{1,2}/,\n        ordinal: 'ទី%d',\n        preparse: function (string) {\n            return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return km;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kannada [kn]\n//! author : Rajeev Naik : https://github.com/rajeevnaikte\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '೧',\n            2: '೨',\n            3: '೩',\n            4: '೪',\n            5: '೫',\n            6: '೬',\n            7: '೭',\n            8: '೮',\n            9: '೯',\n            0: '೦',\n        },\n        numberMap = {\n            '೧': '1',\n            '೨': '2',\n            '೩': '3',\n            '೪': '4',\n            '೫': '5',\n            '೬': '6',\n            '೭': '7',\n            '೮': '8',\n            '೯': '9',\n            '೦': '0',\n        };\n\n    var kn = moment.defineLocale('kn', {\n        months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(\n            '_'\n        ),\n        monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(\n            '_'\n        ),\n        weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),\n        weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm',\n        },\n        calendar: {\n            sameDay: '[ಇಂದು] LT',\n            nextDay: '[ನಾಳೆ] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[ನಿನ್ನೆ] LT',\n            lastWeek: '[ಕೊನೆಯ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ನಂತರ',\n            past: '%s ಹಿಂದೆ',\n            s: 'ಕೆಲವು ಕ್ಷಣಗಳು',\n            ss: '%d ಸೆಕೆಂಡುಗಳು',\n            m: 'ಒಂದು ನಿಮಿಷ',\n            mm: '%d ನಿಮಿಷ',\n            h: 'ಒಂದು ಗಂಟೆ',\n            hh: '%d ಗಂಟೆ',\n            d: 'ಒಂದು ದಿನ',\n            dd: '%d ದಿನ',\n            M: 'ಒಂದು ತಿಂಗಳು',\n            MM: '%d ತಿಂಗಳು',\n            y: 'ಒಂದು ವರ್ಷ',\n            yy: '%d ವರ್ಷ',\n        },\n        preparse: function (string) {\n            return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'ರಾತ್ರಿ') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {\n                return hour;\n            } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'ಸಂಜೆ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ರಾತ್ರಿ';\n            } else if (hour < 10) {\n                return 'ಬೆಳಿಗ್ಗೆ';\n            } else if (hour < 17) {\n                return 'ಮಧ್ಯಾಹ್ನ';\n            } else if (hour < 20) {\n                return 'ಸಂಜೆ';\n            } else {\n                return 'ರಾತ್ರಿ';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ನೇ)/,\n        ordinal: function (number) {\n            return number + 'ನೇ';\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return kn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Korean [ko]\n//! author : Kyungwook, Park : https://github.com/kyungw00k\n//! author : Jeeeyul Lee <jeeeyul@gmail.com>\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ko = moment.defineLocale('ko', {\n        months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),\n        monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(\n            '_'\n        ),\n        weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),\n        weekdaysShort: '일_월_화_수_목_금_토'.split('_'),\n        weekdaysMin: '일_월_화_수_목_금_토'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'YYYY.MM.DD.',\n            LL: 'YYYY년 MMMM D일',\n            LLL: 'YYYY년 MMMM D일 A h:mm',\n            LLLL: 'YYYY년 MMMM D일 dddd A h:mm',\n            l: 'YYYY.MM.DD.',\n            ll: 'YYYY년 MMMM D일',\n            lll: 'YYYY년 MMMM D일 A h:mm',\n            llll: 'YYYY년 MMMM D일 dddd A h:mm',\n        },\n        calendar: {\n            sameDay: '오늘 LT',\n            nextDay: '내일 LT',\n            nextWeek: 'dddd LT',\n            lastDay: '어제 LT',\n            lastWeek: '지난주 dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s 후',\n            past: '%s 전',\n            s: '몇 초',\n            ss: '%d초',\n            m: '1분',\n            mm: '%d분',\n            h: '한 시간',\n            hh: '%d시간',\n            d: '하루',\n            dd: '%d일',\n            M: '한 달',\n            MM: '%d달',\n            y: '일 년',\n            yy: '%d년',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(일|월|주)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '일';\n                case 'M':\n                    return number + '월';\n                case 'w':\n                case 'W':\n                    return number + '주';\n                default:\n                    return number;\n            }\n        },\n        meridiemParse: /오전|오후/,\n        isPM: function (token) {\n            return token === '오후';\n        },\n        meridiem: function (hour, minute, isUpper) {\n            return hour < 12 ? '오전' : '오후';\n        },\n    });\n\n    return ko;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kurdish [ku]\n//! author : Shahram Mebashar : https://github.com/ShahramMebashar\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '١',\n            2: '٢',\n            3: '٣',\n            4: '٤',\n            5: '٥',\n            6: '٦',\n            7: '٧',\n            8: '٨',\n            9: '٩',\n            0: '٠',\n        },\n        numberMap = {\n            '١': '1',\n            '٢': '2',\n            '٣': '3',\n            '٤': '4',\n            '٥': '5',\n            '٦': '6',\n            '٧': '7',\n            '٨': '8',\n            '٩': '9',\n            '٠': '0',\n        },\n        months = [\n            'کانونی دووەم',\n            'شوبات',\n            'ئازار',\n            'نیسان',\n            'ئایار',\n            'حوزەیران',\n            'تەمموز',\n            'ئاب',\n            'ئەیلوول',\n            'تشرینی یەكەم',\n            'تشرینی دووەم',\n            'كانونی یەکەم',\n        ];\n\n    var ku = moment.defineLocale('ku', {\n        months: months,\n        monthsShort: months,\n        weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(\n            '_'\n        ),\n        weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split(\n            '_'\n        ),\n        weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ئێواره‌|به‌یانی/,\n        isPM: function (input) {\n            return /ئێواره‌/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'به‌یانی';\n            } else {\n                return 'ئێواره‌';\n            }\n        },\n        calendar: {\n            sameDay: '[ئه‌مرۆ كاتژمێر] LT',\n            nextDay: '[به‌یانی كاتژمێر] LT',\n            nextWeek: 'dddd [كاتژمێر] LT',\n            lastDay: '[دوێنێ كاتژمێر] LT',\n            lastWeek: 'dddd [كاتژمێر] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'له‌ %s',\n            past: '%s',\n            s: 'چه‌ند چركه‌یه‌ك',\n            ss: 'چركه‌ %d',\n            m: 'یه‌ك خوله‌ك',\n            mm: '%d خوله‌ك',\n            h: 'یه‌ك كاتژمێر',\n            hh: '%d كاتژمێر',\n            d: 'یه‌ك ڕۆژ',\n            dd: '%d ڕۆژ',\n            M: 'یه‌ك مانگ',\n            MM: '%d مانگ',\n            y: 'یه‌ك ساڵ',\n            yy: '%d ساڵ',\n        },\n        preparse: function (string) {\n            return string\n                .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {\n                    return numberMap[match];\n                })\n                .replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string\n                .replace(/\\d/g, function (match) {\n                    return symbolMap[match];\n                })\n                .replace(/,/g, '،');\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return ku;\n\n})));\n","//! moment.js locale configuration\n//! locale : Kyrgyz [ky]\n//! author : Chyngyz Arystan uulu : https://github.com/chyngyz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        0: '-чү',\n        1: '-чи',\n        2: '-чи',\n        3: '-чү',\n        4: '-чү',\n        5: '-чи',\n        6: '-чы',\n        7: '-чи',\n        8: '-чи',\n        9: '-чу',\n        10: '-чу',\n        20: '-чы',\n        30: '-чу',\n        40: '-чы',\n        50: '-чү',\n        60: '-чы',\n        70: '-чи',\n        80: '-чи',\n        90: '-чу',\n        100: '-чү',\n    };\n\n    var ky = moment.defineLocale('ky', {\n        months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n            '_'\n        ),\n        monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(\n            '_'\n        ),\n        weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(\n            '_'\n        ),\n        weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),\n        weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Бүгүн саат] LT',\n            nextDay: '[Эртең саат] LT',\n            nextWeek: 'dddd [саат] LT',\n            lastDay: '[Кечээ саат] LT',\n            lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ичинде',\n            past: '%s мурун',\n            s: 'бирнече секунд',\n            ss: '%d секунд',\n            m: 'бир мүнөт',\n            mm: '%d мүнөт',\n            h: 'бир саат',\n            hh: '%d саат',\n            d: 'бир күн',\n            dd: '%d күн',\n            M: 'бир ай',\n            MM: '%d ай',\n            y: 'бир жыл',\n            yy: '%d жыл',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(чи|чы|чү|чу)/,\n        ordinal: function (number) {\n            var a = number % 10,\n                b = number >= 100 ? 100 : null;\n            return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return ky;\n\n})));\n","//! moment.js locale configuration\n//! locale : Luxembourgish [lb]\n//! author : mweimerskirch : https://github.com/mweimerskirch\n//! author : David Raison : https://github.com/kwisatz\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eng Minutt', 'enger Minutt'],\n            h: ['eng Stonn', 'enger Stonn'],\n            d: ['een Dag', 'engem Dag'],\n            M: ['ee Mount', 'engem Mount'],\n            y: ['ee Joer', 'engem Joer'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n    function processFutureTime(string) {\n        var number = string.substr(0, string.indexOf(' '));\n        if (eifelerRegelAppliesToNumber(number)) {\n            return 'a ' + string;\n        }\n        return 'an ' + string;\n    }\n    function processPastTime(string) {\n        var number = string.substr(0, string.indexOf(' '));\n        if (eifelerRegelAppliesToNumber(number)) {\n            return 'viru ' + string;\n        }\n        return 'virun ' + string;\n    }\n    /**\n     * Returns true if the word before the given number loses the '-n' ending.\n     * e.g. 'an 10 Deeg' but 'a 5 Deeg'\n     *\n     * @param number {integer}\n     * @returns {boolean}\n     */\n    function eifelerRegelAppliesToNumber(number) {\n        number = parseInt(number, 10);\n        if (isNaN(number)) {\n            return false;\n        }\n        if (number < 0) {\n            // Negative Number --> always true\n            return true;\n        } else if (number < 10) {\n            // Only 1 digit\n            if (4 <= number && number <= 7) {\n                return true;\n            }\n            return false;\n        } else if (number < 100) {\n            // 2 digits\n            var lastDigit = number % 10,\n                firstDigit = number / 10;\n            if (lastDigit === 0) {\n                return eifelerRegelAppliesToNumber(firstDigit);\n            }\n            return eifelerRegelAppliesToNumber(lastDigit);\n        } else if (number < 10000) {\n            // 3 or 4 digits --> recursively check first digit\n            while (number >= 10) {\n                number = number / 10;\n            }\n            return eifelerRegelAppliesToNumber(number);\n        } else {\n            // Anything larger than 4 digits: recursively check first n-3 digits\n            number = number / 1000;\n            return eifelerRegelAppliesToNumber(number);\n        }\n    }\n\n    var lb = moment.defineLocale('lb', {\n        months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(\n            '_'\n        ),\n        weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm [Auer]',\n            LTS: 'H:mm:ss [Auer]',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm [Auer]',\n            LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',\n        },\n        calendar: {\n            sameDay: '[Haut um] LT',\n            sameElse: 'L',\n            nextDay: '[Muer um] LT',\n            nextWeek: 'dddd [um] LT',\n            lastDay: '[Gëschter um] LT',\n            lastWeek: function () {\n                // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule\n                switch (this.day()) {\n                    case 2:\n                    case 4:\n                        return '[Leschten] dddd [um] LT';\n                    default:\n                        return '[Leschte] dddd [um] LT';\n                }\n            },\n        },\n        relativeTime: {\n            future: processFutureTime,\n            past: processPastTime,\n            s: 'e puer Sekonnen',\n            ss: '%d Sekonnen',\n            m: processRelativeTime,\n            mm: '%d Minutten',\n            h: processRelativeTime,\n            hh: '%d Stonnen',\n            d: processRelativeTime,\n            dd: '%d Deeg',\n            M: processRelativeTime,\n            MM: '%d Méint',\n            y: processRelativeTime,\n            yy: '%d Joer',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return lb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lao [lo]\n//! author : Ryan Hart : https://github.com/ryanhart2\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var lo = moment.defineLocale('lo', {\n        months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n            '_'\n        ),\n        monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(\n            '_'\n        ),\n        weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n        weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),\n        weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'ວັນdddd D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,\n        isPM: function (input) {\n            return input === 'ຕອນແລງ';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ຕອນເຊົ້າ';\n            } else {\n                return 'ຕອນແລງ';\n            }\n        },\n        calendar: {\n            sameDay: '[ມື້ນີ້ເວລາ] LT',\n            nextDay: '[ມື້ອື່ນເວລາ] LT',\n            nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',\n            lastDay: '[ມື້ວານນີ້ເວລາ] LT',\n            lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ອີກ %s',\n            past: '%sຜ່ານມາ',\n            s: 'ບໍ່ເທົ່າໃດວິນາທີ',\n            ss: '%d ວິນາທີ',\n            m: '1 ນາທີ',\n            mm: '%d ນາທີ',\n            h: '1 ຊົ່ວໂມງ',\n            hh: '%d ຊົ່ວໂມງ',\n            d: '1 ມື້',\n            dd: '%d ມື້',\n            M: '1 ເດືອນ',\n            MM: '%d ເດືອນ',\n            y: '1 ປີ',\n            yy: '%d ປີ',\n        },\n        dayOfMonthOrdinalParse: /(ທີ່)\\d{1,2}/,\n        ordinal: function (number) {\n            return 'ທີ່' + number;\n        },\n    });\n\n    return lo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Lithuanian [lt]\n//! author : Mindaugas Mozūras : https://github.com/mmozuras\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var units = {\n        ss: 'sekundė_sekundžių_sekundes',\n        m: 'minutė_minutės_minutę',\n        mm: 'minutės_minučių_minutes',\n        h: 'valanda_valandos_valandą',\n        hh: 'valandos_valandų_valandas',\n        d: 'diena_dienos_dieną',\n        dd: 'dienos_dienų_dienas',\n        M: 'mėnuo_mėnesio_mėnesį',\n        MM: 'mėnesiai_mėnesių_mėnesius',\n        y: 'metai_metų_metus',\n        yy: 'metai_metų_metus',\n    };\n    function translateSeconds(number, withoutSuffix, key, isFuture) {\n        if (withoutSuffix) {\n            return 'kelios sekundės';\n        } else {\n            return isFuture ? 'kelių sekundžių' : 'kelias sekundes';\n        }\n    }\n    function translateSingular(number, withoutSuffix, key, isFuture) {\n        return withoutSuffix\n            ? forms(key)[0]\n            : isFuture\n            ? forms(key)[1]\n            : forms(key)[2];\n    }\n    function special(number) {\n        return number % 10 === 0 || (number > 10 && number < 20);\n    }\n    function forms(key) {\n        return units[key].split('_');\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        if (number === 1) {\n            return (\n                result + translateSingular(number, withoutSuffix, key[0], isFuture)\n            );\n        } else if (withoutSuffix) {\n            return result + (special(number) ? forms(key)[1] : forms(key)[0]);\n        } else {\n            if (isFuture) {\n                return result + forms(key)[1];\n            } else {\n                return result + (special(number) ? forms(key)[1] : forms(key)[2]);\n            }\n        }\n    }\n    var lt = moment.defineLocale('lt', {\n        months: {\n            format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(\n                '_'\n            ),\n            standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(\n                '_'\n            ),\n            isFormat: /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?|MMMM?(\\[[^\\[\\]]*\\]|\\s)+D[oD]?/,\n        },\n        monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),\n        weekdays: {\n            format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(\n                '_'\n            ),\n            standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(\n                '_'\n            ),\n            isFormat: /dddd HH:mm/,\n        },\n        weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),\n        weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY [m.] MMMM D [d.]',\n            LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n            LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',\n            l: 'YYYY-MM-DD',\n            ll: 'YYYY [m.] MMMM D [d.]',\n            lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',\n            llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',\n        },\n        calendar: {\n            sameDay: '[Šiandien] LT',\n            nextDay: '[Rytoj] LT',\n            nextWeek: 'dddd LT',\n            lastDay: '[Vakar] LT',\n            lastWeek: '[Praėjusį] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'po %s',\n            past: 'prieš %s',\n            s: translateSeconds,\n            ss: translate,\n            m: translateSingular,\n            mm: translate,\n            h: translateSingular,\n            hh: translate,\n            d: translateSingular,\n            dd: translate,\n            M: translateSingular,\n            MM: translate,\n            y: translateSingular,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-oji/,\n        ordinal: function (number) {\n            return number + '-oji';\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return lt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Latvian [lv]\n//! author : Kristaps Karlsons : https://github.com/skakri\n//! author : Jānis Elmeris : https://github.com/JanisE\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var units = {\n        ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),\n        m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n        mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),\n        h: 'stundas_stundām_stunda_stundas'.split('_'),\n        hh: 'stundas_stundām_stunda_stundas'.split('_'),\n        d: 'dienas_dienām_diena_dienas'.split('_'),\n        dd: 'dienas_dienām_diena_dienas'.split('_'),\n        M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n        MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),\n        y: 'gada_gadiem_gads_gadi'.split('_'),\n        yy: 'gada_gadiem_gads_gadi'.split('_'),\n    };\n    /**\n     * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.\n     */\n    function format(forms, number, withoutSuffix) {\n        if (withoutSuffix) {\n            // E.g. \"21 minūte\", \"3 minūtes\".\n            return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];\n        } else {\n            // E.g. \"21 minūtes\" as in \"pēc 21 minūtes\".\n            // E.g. \"3 minūtēm\" as in \"pēc 3 minūtēm\".\n            return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];\n        }\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        return number + ' ' + format(units[key], number, withoutSuffix);\n    }\n    function relativeTimeWithSingular(number, withoutSuffix, key) {\n        return format(units[key], number, withoutSuffix);\n    }\n    function relativeSeconds(number, withoutSuffix) {\n        return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';\n    }\n\n    var lv = moment.defineLocale('lv', {\n        months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),\n        weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(\n            '_'\n        ),\n        weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),\n        weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY.',\n            LL: 'YYYY. [gada] D. MMMM',\n            LLL: 'YYYY. [gada] D. MMMM, HH:mm',\n            LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',\n        },\n        calendar: {\n            sameDay: '[Šodien pulksten] LT',\n            nextDay: '[Rīt pulksten] LT',\n            nextWeek: 'dddd [pulksten] LT',\n            lastDay: '[Vakar pulksten] LT',\n            lastWeek: '[Pagājušā] dddd [pulksten] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'pēc %s',\n            past: 'pirms %s',\n            s: relativeSeconds,\n            ss: relativeTimeWithPlural,\n            m: relativeTimeWithSingular,\n            mm: relativeTimeWithPlural,\n            h: relativeTimeWithSingular,\n            hh: relativeTimeWithPlural,\n            d: relativeTimeWithSingular,\n            dd: relativeTimeWithPlural,\n            M: relativeTimeWithSingular,\n            MM: relativeTimeWithPlural,\n            y: relativeTimeWithSingular,\n            yy: relativeTimeWithPlural,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return lv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Montenegrin [me]\n//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var translator = {\n        words: {\n            //Different grammatical cases\n            ss: ['sekund', 'sekunda', 'sekundi'],\n            m: ['jedan minut', 'jednog minuta'],\n            mm: ['minut', 'minuta', 'minuta'],\n            h: ['jedan sat', 'jednog sata'],\n            hh: ['sat', 'sata', 'sati'],\n            dd: ['dan', 'dana', 'dana'],\n            MM: ['mjesec', 'mjeseca', 'mjeseci'],\n            yy: ['godina', 'godine', 'godina'],\n        },\n        correctGrammaticalCase: function (number, wordKey) {\n            return number === 1\n                ? wordKey[0]\n                : number >= 2 && number <= 4\n                ? wordKey[1]\n                : wordKey[2];\n        },\n        translate: function (number, withoutSuffix, key) {\n            var wordKey = translator.words[key];\n            if (key.length === 1) {\n                return withoutSuffix ? wordKey[0] : wordKey[1];\n            } else {\n                return (\n                    number +\n                    ' ' +\n                    translator.correctGrammaticalCase(number, wordKey)\n                );\n            }\n        },\n    };\n\n    var me = moment.defineLocale('me', {\n        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sjutra u] LT',\n\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedjelju] [u] LT';\n                    case 3:\n                        return '[u] [srijedu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[juče u] LT',\n            lastWeek: function () {\n                var lastWeekDays = [\n                    '[prošle] [nedjelje] [u] LT',\n                    '[prošlog] [ponedjeljka] [u] LT',\n                    '[prošlog] [utorka] [u] LT',\n                    '[prošle] [srijede] [u] LT',\n                    '[prošlog] [četvrtka] [u] LT',\n                    '[prošlog] [petka] [u] LT',\n                    '[prošle] [subote] [u] LT',\n                ];\n                return lastWeekDays[this.day()];\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'prije %s',\n            s: 'nekoliko sekundi',\n            ss: translator.translate,\n            m: translator.translate,\n            mm: translator.translate,\n            h: translator.translate,\n            hh: translator.translate,\n            d: 'dan',\n            dd: translator.translate,\n            M: 'mjesec',\n            MM: translator.translate,\n            y: 'godinu',\n            yy: translator.translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return me;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maori [mi]\n//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var mi = moment.defineLocale('mi', {\n        months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(\n            '_'\n        ),\n        monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(\n            '_'\n        ),\n        monthsRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n        monthsStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n        monthsShortRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,3}/i,\n        monthsShortStrictRegex: /(?:['a-z\\u0101\\u014D\\u016B]+\\-?){1,2}/i,\n        weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),\n        weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n        weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [i] HH:mm',\n            LLLL: 'dddd, D MMMM YYYY [i] HH:mm',\n        },\n        calendar: {\n            sameDay: '[i teie mahana, i] LT',\n            nextDay: '[apopo i] LT',\n            nextWeek: 'dddd [i] LT',\n            lastDay: '[inanahi i] LT',\n            lastWeek: 'dddd [whakamutunga i] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'i roto i %s',\n            past: '%s i mua',\n            s: 'te hēkona ruarua',\n            ss: '%d hēkona',\n            m: 'he meneti',\n            mm: '%d meneti',\n            h: 'te haora',\n            hh: '%d haora',\n            d: 'he ra',\n            dd: '%d ra',\n            M: 'he marama',\n            MM: '%d marama',\n            y: 'he tau',\n            yy: '%d tau',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return mi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Macedonian [mk]\n//! author : Borislav Mickov : https://github.com/B0k0\n//! author : Sashko Todorov : https://github.com/bkyceh\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var mk = moment.defineLocale('mk', {\n        months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(\n            '_'\n        ),\n        monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),\n        weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(\n            '_'\n        ),\n        weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),\n        weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd, D MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[Денес во] LT',\n            nextDay: '[Утре во] LT',\n            nextWeek: '[Во] dddd [во] LT',\n            lastDay: '[Вчера во] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 6:\n                        return '[Изминатата] dddd [во] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[Изминатиот] dddd [во] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'за %s',\n            past: 'пред %s',\n            s: 'неколку секунди',\n            ss: '%d секунди',\n            m: 'една минута',\n            mm: '%d минути',\n            h: 'еден час',\n            hh: '%d часа',\n            d: 'еден ден',\n            dd: '%d дена',\n            M: 'еден месец',\n            MM: '%d месеци',\n            y: 'една година',\n            yy: '%d години',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ев|ен|ти|ви|ри|ми)/,\n        ordinal: function (number) {\n            var lastDigit = number % 10,\n                last2Digits = number % 100;\n            if (number === 0) {\n                return number + '-ев';\n            } else if (last2Digits === 0) {\n                return number + '-ен';\n            } else if (last2Digits > 10 && last2Digits < 20) {\n                return number + '-ти';\n            } else if (lastDigit === 1) {\n                return number + '-ви';\n            } else if (lastDigit === 2) {\n                return number + '-ри';\n            } else if (lastDigit === 7 || lastDigit === 8) {\n                return number + '-ми';\n            } else {\n                return number + '-ти';\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return mk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malayalam [ml]\n//! author : Floyd Pink : https://github.com/floydpink\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ml = moment.defineLocale('ml', {\n        months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(\n            '_'\n        ),\n        monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(\n            '_'\n        ),\n        weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),\n        weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm -നു',\n            LTS: 'A h:mm:ss -നു',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm -നു',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',\n        },\n        calendar: {\n            sameDay: '[ഇന്ന്] LT',\n            nextDay: '[നാളെ] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[ഇന്നലെ] LT',\n            lastWeek: '[കഴിഞ്ഞ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s കഴിഞ്ഞ്',\n            past: '%s മുൻപ്',\n            s: 'അൽപ നിമിഷങ്ങൾ',\n            ss: '%d സെക്കൻഡ്',\n            m: 'ഒരു മിനിറ്റ്',\n            mm: '%d മിനിറ്റ്',\n            h: 'ഒരു മണിക്കൂർ',\n            hh: '%d മണിക്കൂർ',\n            d: 'ഒരു ദിവസം',\n            dd: '%d ദിവസം',\n            M: 'ഒരു മാസം',\n            MM: '%d മാസം',\n            y: 'ഒരു വർഷം',\n            yy: '%d വർഷം',\n        },\n        meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                (meridiem === 'രാത്രി' && hour >= 4) ||\n                meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||\n                meridiem === 'വൈകുന്നേരം'\n            ) {\n                return hour + 12;\n            } else {\n                return hour;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'രാത്രി';\n            } else if (hour < 12) {\n                return 'രാവിലെ';\n            } else if (hour < 17) {\n                return 'ഉച്ച കഴിഞ്ഞ്';\n            } else if (hour < 20) {\n                return 'വൈകുന്നേരം';\n            } else {\n                return 'രാത്രി';\n            }\n        },\n    });\n\n    return ml;\n\n})));\n","//! moment.js locale configuration\n//! locale : Mongolian [mn]\n//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function translate(number, withoutSuffix, key, isFuture) {\n        switch (key) {\n            case 's':\n                return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';\n            case 'ss':\n                return number + (withoutSuffix ? ' секунд' : ' секундын');\n            case 'm':\n            case 'mm':\n                return number + (withoutSuffix ? ' минут' : ' минутын');\n            case 'h':\n            case 'hh':\n                return number + (withoutSuffix ? ' цаг' : ' цагийн');\n            case 'd':\n            case 'dd':\n                return number + (withoutSuffix ? ' өдөр' : ' өдрийн');\n            case 'M':\n            case 'MM':\n                return number + (withoutSuffix ? ' сар' : ' сарын');\n            case 'y':\n            case 'yy':\n                return number + (withoutSuffix ? ' жил' : ' жилийн');\n            default:\n                return number;\n        }\n    }\n\n    var mn = moment.defineLocale('mn', {\n        months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(\n            '_'\n        ),\n        monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),\n        weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),\n        weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY оны MMMMын D',\n            LLL: 'YYYY оны MMMMын D HH:mm',\n            LLLL: 'dddd, YYYY оны MMMMын D HH:mm',\n        },\n        meridiemParse: /ҮӨ|ҮХ/i,\n        isPM: function (input) {\n            return input === 'ҮХ';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ҮӨ';\n            } else {\n                return 'ҮХ';\n            }\n        },\n        calendar: {\n            sameDay: '[Өнөөдөр] LT',\n            nextDay: '[Маргааш] LT',\n            nextWeek: '[Ирэх] dddd LT',\n            lastDay: '[Өчигдөр] LT',\n            lastWeek: '[Өнгөрсөн] dddd LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s дараа',\n            past: '%s өмнө',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2} өдөр/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + ' өдөр';\n                default:\n                    return number;\n            }\n        },\n    });\n\n    return mn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Marathi [mr]\n//! author : Harshad Kale : https://github.com/kalehv\n//! author : Vivek Athalye : https://github.com/vnathalye\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '१',\n            2: '२',\n            3: '३',\n            4: '४',\n            5: '५',\n            6: '६',\n            7: '७',\n            8: '८',\n            9: '९',\n            0: '०',\n        },\n        numberMap = {\n            '१': '1',\n            '२': '2',\n            '३': '3',\n            '४': '4',\n            '५': '5',\n            '६': '6',\n            '७': '7',\n            '८': '8',\n            '९': '9',\n            '०': '0',\n        };\n\n    function relativeTimeMr(number, withoutSuffix, string, isFuture) {\n        var output = '';\n        if (withoutSuffix) {\n            switch (string) {\n                case 's':\n                    output = 'काही सेकंद';\n                    break;\n                case 'ss':\n                    output = '%d सेकंद';\n                    break;\n                case 'm':\n                    output = 'एक मिनिट';\n                    break;\n                case 'mm':\n                    output = '%d मिनिटे';\n                    break;\n                case 'h':\n                    output = 'एक तास';\n                    break;\n                case 'hh':\n                    output = '%d तास';\n                    break;\n                case 'd':\n                    output = 'एक दिवस';\n                    break;\n                case 'dd':\n                    output = '%d दिवस';\n                    break;\n                case 'M':\n                    output = 'एक महिना';\n                    break;\n                case 'MM':\n                    output = '%d महिने';\n                    break;\n                case 'y':\n                    output = 'एक वर्ष';\n                    break;\n                case 'yy':\n                    output = '%d वर्षे';\n                    break;\n            }\n        } else {\n            switch (string) {\n                case 's':\n                    output = 'काही सेकंदां';\n                    break;\n                case 'ss':\n                    output = '%d सेकंदां';\n                    break;\n                case 'm':\n                    output = 'एका मिनिटा';\n                    break;\n                case 'mm':\n                    output = '%d मिनिटां';\n                    break;\n                case 'h':\n                    output = 'एका तासा';\n                    break;\n                case 'hh':\n                    output = '%d तासां';\n                    break;\n                case 'd':\n                    output = 'एका दिवसा';\n                    break;\n                case 'dd':\n                    output = '%d दिवसां';\n                    break;\n                case 'M':\n                    output = 'एका महिन्या';\n                    break;\n                case 'MM':\n                    output = '%d महिन्यां';\n                    break;\n                case 'y':\n                    output = 'एका वर्षा';\n                    break;\n                case 'yy':\n                    output = '%d वर्षां';\n                    break;\n            }\n        }\n        return output.replace(/%d/i, number);\n    }\n\n    var mr = moment.defineLocale('mr', {\n        months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(\n            '_'\n        ),\n        monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),\n        weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),\n        weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm वाजता',\n            LTS: 'A h:mm:ss वाजता',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm वाजता',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',\n        },\n        calendar: {\n            sameDay: '[आज] LT',\n            nextDay: '[उद्या] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[काल] LT',\n            lastWeek: '[मागील] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sमध्ये',\n            past: '%sपूर्वी',\n            s: relativeTimeMr,\n            ss: relativeTimeMr,\n            m: relativeTimeMr,\n            mm: relativeTimeMr,\n            h: relativeTimeMr,\n            hh: relativeTimeMr,\n            d: relativeTimeMr,\n            dd: relativeTimeMr,\n            M: relativeTimeMr,\n            MM: relativeTimeMr,\n            y: relativeTimeMr,\n            yy: relativeTimeMr,\n        },\n        preparse: function (string) {\n            return string.replace(/[१२३४५६७८९०]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {\n                return hour;\n            } else if (\n                meridiem === 'दुपारी' ||\n                meridiem === 'सायंकाळी' ||\n                meridiem === 'रात्री'\n            ) {\n                return hour >= 12 ? hour : hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour >= 0 && hour < 6) {\n                return 'पहाटे';\n            } else if (hour < 12) {\n                return 'सकाळी';\n            } else if (hour < 17) {\n                return 'दुपारी';\n            } else if (hour < 20) {\n                return 'सायंकाळी';\n            } else {\n                return 'रात्री';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return mr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms-my]\n//! note : DEPRECATED, the correct one is [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var msMy = moment.defineLocale('ms-my', {\n        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /pagi|tengahari|petang|malam/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'pagi') {\n                return hour;\n            } else if (meridiem === 'tengahari') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'petang' || meridiem === 'malam') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'pagi';\n            } else if (hours < 15) {\n                return 'tengahari';\n            } else if (hours < 19) {\n                return 'petang';\n            } else {\n                return 'malam';\n            }\n        },\n        calendar: {\n            sameDay: '[Hari ini pukul] LT',\n            nextDay: '[Esok pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kelmarin pukul] LT',\n            lastWeek: 'dddd [lepas pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dalam %s',\n            past: '%s yang lepas',\n            s: 'beberapa saat',\n            ss: '%d saat',\n            m: 'seminit',\n            mm: '%d minit',\n            h: 'sejam',\n            hh: '%d jam',\n            d: 'sehari',\n            dd: '%d hari',\n            M: 'sebulan',\n            MM: '%d bulan',\n            y: 'setahun',\n            yy: '%d tahun',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return msMy;\n\n})));\n","//! moment.js locale configuration\n//! locale : Malay [ms]\n//! author : Weldan Jamili : https://github.com/weldan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ms = moment.defineLocale('ms', {\n        months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),\n        weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),\n        weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),\n        weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [pukul] HH.mm',\n            LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',\n        },\n        meridiemParse: /pagi|tengahari|petang|malam/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'pagi') {\n                return hour;\n            } else if (meridiem === 'tengahari') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'petang' || meridiem === 'malam') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'pagi';\n            } else if (hours < 15) {\n                return 'tengahari';\n            } else if (hours < 19) {\n                return 'petang';\n            } else {\n                return 'malam';\n            }\n        },\n        calendar: {\n            sameDay: '[Hari ini pukul] LT',\n            nextDay: '[Esok pukul] LT',\n            nextWeek: 'dddd [pukul] LT',\n            lastDay: '[Kelmarin pukul] LT',\n            lastWeek: 'dddd [lepas pukul] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dalam %s',\n            past: '%s yang lepas',\n            s: 'beberapa saat',\n            ss: '%d saat',\n            m: 'seminit',\n            mm: '%d minit',\n            h: 'sejam',\n            hh: '%d jam',\n            d: 'sehari',\n            dd: '%d hari',\n            M: 'sebulan',\n            MM: '%d bulan',\n            y: 'setahun',\n            yy: '%d tahun',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return ms;\n\n})));\n","//! moment.js locale configuration\n//! locale : Maltese (Malta) [mt]\n//! author : Alessandro Maruccia : https://github.com/alesma\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var mt = moment.defineLocale('mt', {\n        months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),\n        weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(\n            '_'\n        ),\n        weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),\n        weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Illum fil-]LT',\n            nextDay: '[Għada fil-]LT',\n            nextWeek: 'dddd [fil-]LT',\n            lastDay: '[Il-bieraħ fil-]LT',\n            lastWeek: 'dddd [li għadda] [fil-]LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'f’ %s',\n            past: '%s ilu',\n            s: 'ftit sekondi',\n            ss: '%d sekondi',\n            m: 'minuta',\n            mm: '%d minuti',\n            h: 'siegħa',\n            hh: '%d siegħat',\n            d: 'ġurnata',\n            dd: '%d ġranet',\n            M: 'xahar',\n            MM: '%d xhur',\n            y: 'sena',\n            yy: '%d sni',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return mt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Burmese [my]\n//! author : Squar team, mysquar.com\n//! author : David Rossellat : https://github.com/gholadr\n//! author : Tin Aung Lin : https://github.com/thanyawzinmin\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '၁',\n            2: '၂',\n            3: '၃',\n            4: '၄',\n            5: '၅',\n            6: '၆',\n            7: '၇',\n            8: '၈',\n            9: '၉',\n            0: '၀',\n        },\n        numberMap = {\n            '၁': '1',\n            '၂': '2',\n            '၃': '3',\n            '၄': '4',\n            '၅': '5',\n            '၆': '6',\n            '၇': '7',\n            '၈': '8',\n            '၉': '9',\n            '၀': '0',\n        };\n\n    var my = moment.defineLocale('my', {\n        months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(\n            '_'\n        ),\n        monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),\n        weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(\n            '_'\n        ),\n        weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n        weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),\n\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[ယနေ.] LT [မှာ]',\n            nextDay: '[မနက်ဖြန်] LT [မှာ]',\n            nextWeek: 'dddd LT [မှာ]',\n            lastDay: '[မနေ.က] LT [မှာ]',\n            lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'လာမည့် %s မှာ',\n            past: 'လွန်ခဲ့သော %s က',\n            s: 'စက္ကန်.အနည်းငယ်',\n            ss: '%d စက္ကန့်',\n            m: 'တစ်မိနစ်',\n            mm: '%d မိနစ်',\n            h: 'တစ်နာရီ',\n            hh: '%d နာရီ',\n            d: 'တစ်ရက်',\n            dd: '%d ရက်',\n            M: 'တစ်လ',\n            MM: '%d လ',\n            y: 'တစ်နှစ်',\n            yy: '%d နှစ်',\n        },\n        preparse: function (string) {\n            return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return my;\n\n})));\n","//! moment.js locale configuration\n//! locale : Norwegian Bokmål [nb]\n//! authors : Espen Hovlandsdal : https://github.com/rexxars\n//!           Sigurd Gartmann : https://github.com/sigurdga\n//!           Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var nb = moment.defineLocale('nb', {\n        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),\n        weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),\n        weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY [kl.] HH:mm',\n            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[i dag kl.] LT',\n            nextDay: '[i morgen kl.] LT',\n            nextWeek: 'dddd [kl.] LT',\n            lastDay: '[i går kl.] LT',\n            lastWeek: '[forrige] dddd [kl.] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: '%s siden',\n            s: 'noen sekunder',\n            ss: '%d sekunder',\n            m: 'ett minutt',\n            mm: '%d minutter',\n            h: 'en time',\n            hh: '%d timer',\n            d: 'en dag',\n            dd: '%d dager',\n            w: 'en uke',\n            ww: '%d uker',\n            M: 'en måned',\n            MM: '%d måneder',\n            y: 'ett år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nb;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nepalese [ne]\n//! author : suvash : https://github.com/suvash\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '१',\n            2: '२',\n            3: '३',\n            4: '४',\n            5: '५',\n            6: '६',\n            7: '७',\n            8: '८',\n            9: '९',\n            0: '०',\n        },\n        numberMap = {\n            '१': '1',\n            '२': '2',\n            '३': '3',\n            '४': '4',\n            '५': '5',\n            '६': '6',\n            '७': '7',\n            '८': '8',\n            '९': '9',\n            '०': '0',\n        };\n\n    var ne = moment.defineLocale('ne', {\n        months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(\n            '_'\n        ),\n        monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(\n            '_'\n        ),\n        weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),\n        weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'Aको h:mm बजे',\n            LTS: 'Aको h:mm:ss बजे',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, Aको h:mm बजे',\n            LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',\n        },\n        preparse: function (string) {\n            return string.replace(/[१२३४५६७८९०]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        meridiemParse: /राति|बिहान|दिउँसो|साँझ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'राति') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'बिहान') {\n                return hour;\n            } else if (meridiem === 'दिउँसो') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'साँझ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 3) {\n                return 'राति';\n            } else if (hour < 12) {\n                return 'बिहान';\n            } else if (hour < 16) {\n                return 'दिउँसो';\n            } else if (hour < 20) {\n                return 'साँझ';\n            } else {\n                return 'राति';\n            }\n        },\n        calendar: {\n            sameDay: '[आज] LT',\n            nextDay: '[भोलि] LT',\n            nextWeek: '[आउँदो] dddd[,] LT',\n            lastDay: '[हिजो] LT',\n            lastWeek: '[गएको] dddd[,] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sमा',\n            past: '%s अगाडि',\n            s: 'केही क्षण',\n            ss: '%d सेकेण्ड',\n            m: 'एक मिनेट',\n            mm: '%d मिनेट',\n            h: 'एक घण्टा',\n            hh: '%d घण्टा',\n            d: 'एक दिन',\n            dd: '%d दिन',\n            M: 'एक महिना',\n            MM: '%d महिना',\n            y: 'एक बर्ष',\n            yy: '%d बर्ष',\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return ne;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch (Belgium) [nl-be]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(\n            '_'\n        ),\n        monthsParse = [\n            /^jan/i,\n            /^feb/i,\n            /^maart|mrt.?$/i,\n            /^apr/i,\n            /^mei$/i,\n            /^jun[i.]?$/i,\n            /^jul[i.]?$/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dec/i,\n        ],\n        monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n    var nlBe = moment.defineLocale('nl-be', {\n        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortWithDots;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShortWithoutDots[m.month()];\n            } else {\n                return monthsShortWithDots[m.month()];\n            }\n        },\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n        monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(\n            '_'\n        ),\n        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[vandaag om] LT',\n            nextDay: '[morgen om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[gisteren om] LT',\n            lastWeek: '[afgelopen] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'over %s',\n            past: '%s geleden',\n            s: 'een paar seconden',\n            ss: '%d seconden',\n            m: 'één minuut',\n            mm: '%d minuten',\n            h: 'één uur',\n            hh: '%d uur',\n            d: 'één dag',\n            dd: '%d dagen',\n            M: 'één maand',\n            MM: '%d maanden',\n            y: 'één jaar',\n            yy: '%d jaar',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            );\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nlBe;\n\n})));\n","//! moment.js locale configuration\n//! locale : Dutch [nl]\n//! author : Joris Röling : https://github.com/jorisroling\n//! author : Jacob Middag : https://github.com/middagj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(\n            '_'\n        ),\n        monthsParse = [\n            /^jan/i,\n            /^feb/i,\n            /^maart|mrt.?$/i,\n            /^apr/i,\n            /^mei$/i,\n            /^jun[i.]?$/i,\n            /^jul[i.]?$/i,\n            /^aug/i,\n            /^sep/i,\n            /^okt/i,\n            /^nov/i,\n            /^dec/i,\n        ],\n        monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\\.?|feb\\.?|mrt\\.?|apr\\.?|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i;\n\n    var nl = moment.defineLocale('nl', {\n        months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: function (m, format) {\n            if (!m) {\n                return monthsShortWithDots;\n            } else if (/-MMM-/.test(format)) {\n                return monthsShortWithoutDots[m.month()];\n            } else {\n                return monthsShortWithDots[m.month()];\n            }\n        },\n\n        monthsRegex: monthsRegex,\n        monthsShortRegex: monthsRegex,\n        monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,\n        monthsShortStrictRegex: /^(jan\\.?|feb\\.?|mrt\\.?|apr\\.?|mei|ju[nl]\\.?|aug\\.?|sep\\.?|okt\\.?|nov\\.?|dec\\.?)/i,\n\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(\n            '_'\n        ),\n        weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),\n        weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD-MM-YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[vandaag om] LT',\n            nextDay: '[morgen om] LT',\n            nextWeek: 'dddd [om] LT',\n            lastDay: '[gisteren om] LT',\n            lastWeek: '[afgelopen] dddd [om] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'over %s',\n            past: '%s geleden',\n            s: 'een paar seconden',\n            ss: '%d seconden',\n            m: 'één minuut',\n            mm: '%d minuten',\n            h: 'één uur',\n            hh: '%d uur',\n            d: 'één dag',\n            dd: '%d dagen',\n            w: 'één week',\n            ww: '%d weken',\n            M: 'één maand',\n            MM: '%d maanden',\n            y: 'één jaar',\n            yy: '%d jaar',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(ste|de)/,\n        ordinal: function (number) {\n            return (\n                number +\n                (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')\n            );\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Nynorsk [nn]\n//! authors : https://github.com/mechuwind\n//!           Stephen Ramthun : https://github.com/stephenramthun\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var nn = moment.defineLocale('nn', {\n        months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),\n        weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),\n        weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY [kl.] H:mm',\n            LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[I dag klokka] LT',\n            nextDay: '[I morgon klokka] LT',\n            nextWeek: 'dddd [klokka] LT',\n            lastDay: '[I går klokka] LT',\n            lastWeek: '[Føregåande] dddd [klokka] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: '%s sidan',\n            s: 'nokre sekund',\n            ss: '%d sekund',\n            m: 'eit minutt',\n            mm: '%d minutt',\n            h: 'ein time',\n            hh: '%d timar',\n            d: 'ein dag',\n            dd: '%d dagar',\n            w: 'ei veke',\n            ww: '%d veker',\n            M: 'ein månad',\n            MM: '%d månader',\n            y: 'eit år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return nn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Occitan, lengadocian dialecte [oc-lnc]\n//! author : Quentin PAGÈS : https://github.com/Quenty31\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ocLnc = moment.defineLocale('oc-lnc', {\n        months: {\n            standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(\n                '_'\n            ),\n            format: \"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre\".split(\n                '_'\n            ),\n            isFormat: /D[oD]?(\\s)+MMMM/,\n        },\n        monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(\n            '_'\n        ),\n        weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),\n        weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM [de] YYYY',\n            ll: 'D MMM YYYY',\n            LLL: 'D MMMM [de] YYYY [a] H:mm',\n            lll: 'D MMM YYYY, H:mm',\n            LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',\n            llll: 'ddd D MMM YYYY, H:mm',\n        },\n        calendar: {\n            sameDay: '[uèi a] LT',\n            nextDay: '[deman a] LT',\n            nextWeek: 'dddd [a] LT',\n            lastDay: '[ièr a] LT',\n            lastWeek: 'dddd [passat a] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: \"d'aquí %s\",\n            past: 'fa %s',\n            s: 'unas segondas',\n            ss: '%d segondas',\n            m: 'una minuta',\n            mm: '%d minutas',\n            h: 'una ora',\n            hh: '%d oras',\n            d: 'un jorn',\n            dd: '%d jorns',\n            M: 'un mes',\n            MM: '%d meses',\n            y: 'un an',\n            yy: '%d ans',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(r|n|t|è|a)/,\n        ordinal: function (number, period) {\n            var output =\n                number === 1\n                    ? 'r'\n                    : number === 2\n                    ? 'n'\n                    : number === 3\n                    ? 'r'\n                    : number === 4\n                    ? 't'\n                    : 'è';\n            if (period === 'w' || period === 'W') {\n                output = 'a';\n            }\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4,\n        },\n    });\n\n    return ocLnc;\n\n})));\n","//! moment.js locale configuration\n//! locale : Punjabi (India) [pa-in]\n//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '੧',\n            2: '੨',\n            3: '੩',\n            4: '੪',\n            5: '੫',\n            6: '੬',\n            7: '੭',\n            8: '੮',\n            9: '੯',\n            0: '੦',\n        },\n        numberMap = {\n            '੧': '1',\n            '੨': '2',\n            '੩': '3',\n            '੪': '4',\n            '੫': '5',\n            '੬': '6',\n            '੭': '7',\n            '੮': '8',\n            '੯': '9',\n            '੦': '0',\n        };\n\n    var paIn = moment.defineLocale('pa-in', {\n        // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.\n        months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n            '_'\n        ),\n        monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(\n            '_'\n        ),\n        weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(\n            '_'\n        ),\n        weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n        weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm ਵਜੇ',\n            LTS: 'A h:mm:ss ਵਜੇ',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',\n        },\n        calendar: {\n            sameDay: '[ਅਜ] LT',\n            nextDay: '[ਕਲ] LT',\n            nextWeek: '[ਅਗਲਾ] dddd, LT',\n            lastDay: '[ਕਲ] LT',\n            lastWeek: '[ਪਿਛਲੇ] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s ਵਿੱਚ',\n            past: '%s ਪਿਛਲੇ',\n            s: 'ਕੁਝ ਸਕਿੰਟ',\n            ss: '%d ਸਕਿੰਟ',\n            m: 'ਇਕ ਮਿੰਟ',\n            mm: '%d ਮਿੰਟ',\n            h: 'ਇੱਕ ਘੰਟਾ',\n            hh: '%d ਘੰਟੇ',\n            d: 'ਇੱਕ ਦਿਨ',\n            dd: '%d ਦਿਨ',\n            M: 'ਇੱਕ ਮਹੀਨਾ',\n            MM: '%d ਮਹੀਨੇ',\n            y: 'ਇੱਕ ਸਾਲ',\n            yy: '%d ਸਾਲ',\n        },\n        preparse: function (string) {\n            return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // Punjabi notation for meridiems are quite fuzzy in practice. While there exists\n        // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.\n        meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'ਰਾਤ') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ਸਵੇਰ') {\n                return hour;\n            } else if (meridiem === 'ਦੁਪਹਿਰ') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'ਸ਼ਾਮ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ਰਾਤ';\n            } else if (hour < 10) {\n                return 'ਸਵੇਰ';\n            } else if (hour < 17) {\n                return 'ਦੁਪਹਿਰ';\n            } else if (hour < 20) {\n                return 'ਸ਼ਾਮ';\n            } else {\n                return 'ਰਾਤ';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return paIn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Polish [pl]\n//! author : Rafal Hirsz : https://github.com/evoL\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(\n            '_'\n        ),\n        monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(\n            '_'\n        ),\n        monthsParse = [\n            /^sty/i,\n            /^lut/i,\n            /^mar/i,\n            /^kwi/i,\n            /^maj/i,\n            /^cze/i,\n            /^lip/i,\n            /^sie/i,\n            /^wrz/i,\n            /^paź/i,\n            /^lis/i,\n            /^gru/i,\n        ];\n    function plural(n) {\n        return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;\n    }\n    function translate(number, withoutSuffix, key) {\n        var result = number + ' ';\n        switch (key) {\n            case 'ss':\n                return result + (plural(number) ? 'sekundy' : 'sekund');\n            case 'm':\n                return withoutSuffix ? 'minuta' : 'minutę';\n            case 'mm':\n                return result + (plural(number) ? 'minuty' : 'minut');\n            case 'h':\n                return withoutSuffix ? 'godzina' : 'godzinę';\n            case 'hh':\n                return result + (plural(number) ? 'godziny' : 'godzin');\n            case 'ww':\n                return result + (plural(number) ? 'tygodnie' : 'tygodni');\n            case 'MM':\n                return result + (plural(number) ? 'miesiące' : 'miesięcy');\n            case 'yy':\n                return result + (plural(number) ? 'lata' : 'lat');\n        }\n    }\n\n    var pl = moment.defineLocale('pl', {\n        months: function (momentToFormat, format) {\n            if (!momentToFormat) {\n                return monthsNominative;\n            } else if (/D MMMM/.test(format)) {\n                return monthsSubjective[momentToFormat.month()];\n            } else {\n                return monthsNominative[momentToFormat.month()];\n            }\n        },\n        monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n        weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),\n        weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Dziś o] LT',\n            nextDay: '[Jutro o] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[W niedzielę o] LT';\n\n                    case 2:\n                        return '[We wtorek o] LT';\n\n                    case 3:\n                        return '[W środę o] LT';\n\n                    case 6:\n                        return '[W sobotę o] LT';\n\n                    default:\n                        return '[W] dddd [o] LT';\n                }\n            },\n            lastDay: '[Wczoraj o] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[W zeszłą niedzielę o] LT';\n                    case 3:\n                        return '[W zeszłą środę o] LT';\n                    case 6:\n                        return '[W zeszłą sobotę o] LT';\n                    default:\n                        return '[W zeszły] dddd [o] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: '%s temu',\n            s: 'kilka sekund',\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: '1 dzień',\n            dd: '%d dni',\n            w: 'tydzień',\n            ww: translate,\n            M: 'miesiąc',\n            MM: translate,\n            y: 'rok',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return pl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese (Brazil) [pt-br]\n//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ptBr = moment.defineLocale('pt-br', {\n        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n            '_'\n        ),\n        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n        weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(\n            '_'\n        ),\n        weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),\n        weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hoje às] LT',\n            nextDay: '[Amanhã às] LT',\n            nextWeek: 'dddd [às] LT',\n            lastDay: '[Ontem às] LT',\n            lastWeek: function () {\n                return this.day() === 0 || this.day() === 6\n                    ? '[Último] dddd [às] LT' // Saturday + Sunday\n                    : '[Última] dddd [às] LT'; // Monday - Friday\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'em %s',\n            past: 'há %s',\n            s: 'poucos segundos',\n            ss: '%d segundos',\n            m: 'um minuto',\n            mm: '%d minutos',\n            h: 'uma hora',\n            hh: '%d horas',\n            d: 'um dia',\n            dd: '%d dias',\n            M: 'um mês',\n            MM: '%d meses',\n            y: 'um ano',\n            yy: '%d anos',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        invalidDate: 'Data inválida',\n    });\n\n    return ptBr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Portuguese [pt]\n//! author : Jefferson : https://github.com/jalex79\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var pt = moment.defineLocale('pt', {\n        months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(\n            '_'\n        ),\n        monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),\n        weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(\n            '_'\n        ),\n        weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),\n        weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D [de] MMMM [de] YYYY',\n            LLL: 'D [de] MMMM [de] YYYY HH:mm',\n            LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hoje às] LT',\n            nextDay: '[Amanhã às] LT',\n            nextWeek: 'dddd [às] LT',\n            lastDay: '[Ontem às] LT',\n            lastWeek: function () {\n                return this.day() === 0 || this.day() === 6\n                    ? '[Último] dddd [às] LT' // Saturday + Sunday\n                    : '[Última] dddd [às] LT'; // Monday - Friday\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'em %s',\n            past: 'há %s',\n            s: 'segundos',\n            ss: '%d segundos',\n            m: 'um minuto',\n            mm: '%d minutos',\n            h: 'uma hora',\n            hh: '%d horas',\n            d: 'um dia',\n            dd: '%d dias',\n            w: 'uma semana',\n            ww: '%d semanas',\n            M: 'um mês',\n            MM: '%d meses',\n            y: 'um ano',\n            yy: '%d anos',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}º/,\n        ordinal: '%dº',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return pt;\n\n})));\n","//! moment.js locale configuration\n//! locale : Romanian [ro]\n//! author : Vlad Gurdiga : https://github.com/gurdiga\n//! author : Valentin Agachi : https://github.com/avaly\n//! author : Emanuel Cepoi : https://github.com/cepem\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n                ss: 'secunde',\n                mm: 'minute',\n                hh: 'ore',\n                dd: 'zile',\n                ww: 'săptămâni',\n                MM: 'luni',\n                yy: 'ani',\n            },\n            separator = ' ';\n        if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {\n            separator = ' de ';\n        }\n        return number + separator + format[key];\n    }\n\n    var ro = moment.defineLocale('ro', {\n        months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(\n            '_'\n        ),\n        monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),\n        weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),\n        weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY H:mm',\n            LLLL: 'dddd, D MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[azi la] LT',\n            nextDay: '[mâine la] LT',\n            nextWeek: 'dddd [la] LT',\n            lastDay: '[ieri la] LT',\n            lastWeek: '[fosta] dddd [la] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'peste %s',\n            past: '%s în urmă',\n            s: 'câteva secunde',\n            ss: relativeTimeWithPlural,\n            m: 'un minut',\n            mm: relativeTimeWithPlural,\n            h: 'o oră',\n            hh: relativeTimeWithPlural,\n            d: 'o zi',\n            dd: relativeTimeWithPlural,\n            w: 'o săptămână',\n            ww: relativeTimeWithPlural,\n            M: 'o lună',\n            MM: relativeTimeWithPlural,\n            y: 'un an',\n            yy: relativeTimeWithPlural,\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return ro;\n\n})));\n","//! moment.js locale configuration\n//! locale : Russian [ru]\n//! author : Viktorminator : https://github.com/Viktorminator\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Коренберг Марк : https://github.com/socketpair\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(word, num) {\n        var forms = word.split('_');\n        return num % 10 === 1 && num % 100 !== 11\n            ? forms[0]\n            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n            ? forms[1]\n            : forms[2];\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n            ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',\n            mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',\n            hh: 'час_часа_часов',\n            dd: 'день_дня_дней',\n            ww: 'неделя_недели_недель',\n            MM: 'месяц_месяца_месяцев',\n            yy: 'год_года_лет',\n        };\n        if (key === 'm') {\n            return withoutSuffix ? 'минута' : 'минуту';\n        } else {\n            return number + ' ' + plural(format[key], +number);\n        }\n    }\n    var monthsParse = [\n        /^янв/i,\n        /^фев/i,\n        /^мар/i,\n        /^апр/i,\n        /^ма[йя]/i,\n        /^июн/i,\n        /^июл/i,\n        /^авг/i,\n        /^сен/i,\n        /^окт/i,\n        /^ноя/i,\n        /^дек/i,\n    ];\n\n    // http://new.gramota.ru/spravka/rules/139-prop : § 103\n    // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637\n    // CLDR data:          http://www.unicode.org/cldr/charts/28/summary/ru.html#1753\n    var ru = moment.defineLocale('ru', {\n        months: {\n            format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(\n                '_'\n            ),\n            standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(\n                '_'\n            ),\n        },\n        monthsShort: {\n            // по CLDR именно \"июл.\" и \"июн.\", но какой смысл менять букву на точку?\n            format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(\n                '_'\n            ),\n            standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(\n                '_'\n            ),\n        },\n        weekdays: {\n            standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(\n                '_'\n            ),\n            format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(\n                '_'\n            ),\n            isFormat: /\\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,\n        },\n        weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n        weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),\n        monthsParse: monthsParse,\n        longMonthsParse: monthsParse,\n        shortMonthsParse: monthsParse,\n\n        // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки\n        monthsRegex: /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n        // копия предыдущего\n        monthsShortRegex: /^(январ[ья]|янв\\.?|феврал[ья]|февр?\\.?|марта?|мар\\.?|апрел[ья]|апр\\.?|ма[йя]|июн[ья]|июн\\.?|июл[ья]|июл\\.?|августа?|авг\\.?|сентябр[ья]|сент?\\.?|октябр[ья]|окт\\.?|ноябр[ья]|нояб?\\.?|декабр[ья]|дек\\.?)/i,\n\n        // полные названия с падежами\n        monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,\n\n        // Выражение, которое соответствует только сокращённым формам\n        monthsShortStrictRegex: /^(янв\\.|февр?\\.|мар[т.]|апр\\.|ма[яй]|июн[ья.]|июл[ья.]|авг\\.|сент?\\.|окт\\.|нояб?\\.|дек\\.)/i,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY г.',\n            LLL: 'D MMMM YYYY г., H:mm',\n            LLLL: 'dddd, D MMMM YYYY г., H:mm',\n        },\n        calendar: {\n            sameDay: '[Сегодня, в] LT',\n            nextDay: '[Завтра, в] LT',\n            lastDay: '[Вчера, в] LT',\n            nextWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    switch (this.day()) {\n                        case 0:\n                            return '[В следующее] dddd, [в] LT';\n                        case 1:\n                        case 2:\n                        case 4:\n                            return '[В следующий] dddd, [в] LT';\n                        case 3:\n                        case 5:\n                        case 6:\n                            return '[В следующую] dddd, [в] LT';\n                    }\n                } else {\n                    if (this.day() === 2) {\n                        return '[Во] dddd, [в] LT';\n                    } else {\n                        return '[В] dddd, [в] LT';\n                    }\n                }\n            },\n            lastWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    switch (this.day()) {\n                        case 0:\n                            return '[В прошлое] dddd, [в] LT';\n                        case 1:\n                        case 2:\n                        case 4:\n                            return '[В прошлый] dddd, [в] LT';\n                        case 3:\n                        case 5:\n                        case 6:\n                            return '[В прошлую] dddd, [в] LT';\n                    }\n                } else {\n                    if (this.day() === 2) {\n                        return '[Во] dddd, [в] LT';\n                    } else {\n                        return '[В] dddd, [в] LT';\n                    }\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'через %s',\n            past: '%s назад',\n            s: 'несколько секунд',\n            ss: relativeTimeWithPlural,\n            m: relativeTimeWithPlural,\n            mm: relativeTimeWithPlural,\n            h: 'час',\n            hh: relativeTimeWithPlural,\n            d: 'день',\n            dd: relativeTimeWithPlural,\n            w: 'неделя',\n            ww: relativeTimeWithPlural,\n            M: 'месяц',\n            MM: relativeTimeWithPlural,\n            y: 'год',\n            yy: relativeTimeWithPlural,\n        },\n        meridiemParse: /ночи|утра|дня|вечера/i,\n        isPM: function (input) {\n            return /^(дня|вечера)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ночи';\n            } else if (hour < 12) {\n                return 'утра';\n            } else if (hour < 17) {\n                return 'дня';\n            } else {\n                return 'вечера';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(й|го|я)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'M':\n                case 'd':\n                case 'DDD':\n                    return number + '-й';\n                case 'D':\n                    return number + '-го';\n                case 'w':\n                case 'W':\n                    return number + '-я';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ru;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sindhi [sd]\n//! author : Narain Sagar : https://github.com/narainsagar\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'جنوري',\n            'فيبروري',\n            'مارچ',\n            'اپريل',\n            'مئي',\n            'جون',\n            'جولاءِ',\n            'آگسٽ',\n            'سيپٽمبر',\n            'آڪٽوبر',\n            'نومبر',\n            'ڊسمبر',\n        ],\n        days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];\n\n    var sd = moment.defineLocale('sd', {\n        months: months,\n        monthsShort: months,\n        weekdays: days,\n        weekdaysShort: days,\n        weekdaysMin: days,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd، D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /صبح|شام/,\n        isPM: function (input) {\n            return 'شام' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'صبح';\n            }\n            return 'شام';\n        },\n        calendar: {\n            sameDay: '[اڄ] LT',\n            nextDay: '[سڀاڻي] LT',\n            nextWeek: 'dddd [اڳين هفتي تي] LT',\n            lastDay: '[ڪالهه] LT',\n            lastWeek: '[گزريل هفتي] dddd [تي] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s پوء',\n            past: '%s اڳ',\n            s: 'چند سيڪنڊ',\n            ss: '%d سيڪنڊ',\n            m: 'هڪ منٽ',\n            mm: '%d منٽ',\n            h: 'هڪ ڪلاڪ',\n            hh: '%d ڪلاڪ',\n            d: 'هڪ ڏينهن',\n            dd: '%d ڏينهن',\n            M: 'هڪ مهينو',\n            MM: '%d مهينا',\n            y: 'هڪ سال',\n            yy: '%d سال',\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sd;\n\n})));\n","//! moment.js locale configuration\n//! locale : Northern Sami [se]\n//! authors : Bård Rolstad Henriksen : https://github.com/karamell\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var se = moment.defineLocale('se', {\n        months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(\n            '_'\n        ),\n        monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split(\n            '_'\n        ),\n        weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(\n            '_'\n        ),\n        weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),\n        weekdaysMin: 's_v_m_g_d_b_L'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'MMMM D. [b.] YYYY',\n            LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',\n            LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',\n        },\n        calendar: {\n            sameDay: '[otne ti] LT',\n            nextDay: '[ihttin ti] LT',\n            nextWeek: 'dddd [ti] LT',\n            lastDay: '[ikte ti] LT',\n            lastWeek: '[ovddit] dddd [ti] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s geažes',\n            past: 'maŋit %s',\n            s: 'moadde sekunddat',\n            ss: '%d sekunddat',\n            m: 'okta minuhta',\n            mm: '%d minuhtat',\n            h: 'okta diimmu',\n            hh: '%d diimmut',\n            d: 'okta beaivi',\n            dd: '%d beaivvit',\n            M: 'okta mánnu',\n            MM: '%d mánut',\n            y: 'okta jahki',\n            yy: '%d jagit',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return se;\n\n})));\n","//! moment.js locale configuration\n//! locale : Sinhalese [si]\n//! author : Sampath Sitinamaluwa : https://github.com/sampathsris\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    /*jshint -W100*/\n    var si = moment.defineLocale('si', {\n        months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(\n            '_'\n        ),\n        monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(\n            '_'\n        ),\n        weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(\n            '_'\n        ),\n        weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),\n        weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'a h:mm',\n            LTS: 'a h:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY MMMM D',\n            LLL: 'YYYY MMMM D, a h:mm',\n            LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',\n        },\n        calendar: {\n            sameDay: '[අද] LT[ට]',\n            nextDay: '[හෙට] LT[ට]',\n            nextWeek: 'dddd LT[ට]',\n            lastDay: '[ඊයේ] LT[ට]',\n            lastWeek: '[පසුගිය] dddd LT[ට]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%sකින්',\n            past: '%sකට පෙර',\n            s: 'තත්පර කිහිපය',\n            ss: 'තත්පර %d',\n            m: 'මිනිත්තුව',\n            mm: 'මිනිත්තු %d',\n            h: 'පැය',\n            hh: 'පැය %d',\n            d: 'දිනය',\n            dd: 'දින %d',\n            M: 'මාසය',\n            MM: 'මාස %d',\n            y: 'වසර',\n            yy: 'වසර %d',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2} වැනි/,\n        ordinal: function (number) {\n            return number + ' වැනි';\n        },\n        meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,\n        isPM: function (input) {\n            return input === 'ප.ව.' || input === 'පස් වරු';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? 'ප.ව.' : 'පස් වරු';\n            } else {\n                return isLower ? 'පෙ.ව.' : 'පෙර වරු';\n            }\n        },\n    });\n\n    return si;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovak [sk]\n//! author : Martin Minka : https://github.com/k2s\n//! based on work of petrbela : https://github.com/petrbela\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(\n            '_'\n        ),\n        monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');\n    function plural(n) {\n        return n > 1 && n < 5;\n    }\n    function translate(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's': // a few seconds / in a few seconds / a few seconds ago\n                return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';\n            case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'sekundy' : 'sekúnd');\n                } else {\n                    return result + 'sekundami';\n                }\n            case 'm': // a minute / in a minute / a minute ago\n                return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';\n            case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'minúty' : 'minút');\n                } else {\n                    return result + 'minútami';\n                }\n            case 'h': // an hour / in an hour / an hour ago\n                return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';\n            case 'hh': // 9 hours / in 9 hours / 9 hours ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'hodiny' : 'hodín');\n                } else {\n                    return result + 'hodinami';\n                }\n            case 'd': // a day / in a day / a day ago\n                return withoutSuffix || isFuture ? 'deň' : 'dňom';\n            case 'dd': // 9 days / in 9 days / 9 days ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'dni' : 'dní');\n                } else {\n                    return result + 'dňami';\n                }\n            case 'M': // a month / in a month / a month ago\n                return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';\n            case 'MM': // 9 months / in 9 months / 9 months ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'mesiace' : 'mesiacov');\n                } else {\n                    return result + 'mesiacmi';\n                }\n            case 'y': // a year / in a year / a year ago\n                return withoutSuffix || isFuture ? 'rok' : 'rokom';\n            case 'yy': // 9 years / in 9 years / 9 years ago\n                if (withoutSuffix || isFuture) {\n                    return result + (plural(number) ? 'roky' : 'rokov');\n                } else {\n                    return result + 'rokmi';\n                }\n        }\n    }\n\n    var sk = moment.defineLocale('sk', {\n        months: months,\n        monthsShort: monthsShort,\n        weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),\n        weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),\n        weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[dnes o] LT',\n            nextDay: '[zajtra o] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[v nedeľu o] LT';\n                    case 1:\n                    case 2:\n                        return '[v] dddd [o] LT';\n                    case 3:\n                        return '[v stredu o] LT';\n                    case 4:\n                        return '[vo štvrtok o] LT';\n                    case 5:\n                        return '[v piatok o] LT';\n                    case 6:\n                        return '[v sobotu o] LT';\n                }\n            },\n            lastDay: '[včera o] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[minulú nedeľu o] LT';\n                    case 1:\n                    case 2:\n                        return '[minulý] dddd [o] LT';\n                    case 3:\n                        return '[minulú stredu o] LT';\n                    case 4:\n                    case 5:\n                        return '[minulý] dddd [o] LT';\n                    case 6:\n                        return '[minulú sobotu o] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'pred %s',\n            s: translate,\n            ss: translate,\n            m: translate,\n            mm: translate,\n            h: translate,\n            hh: translate,\n            d: translate,\n            dd: translate,\n            M: translate,\n            MM: translate,\n            y: translate,\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Slovenian [sl]\n//! author : Robert Sedovšek : https://github.com/sedovsek\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var result = number + ' ';\n        switch (key) {\n            case 's':\n                return withoutSuffix || isFuture\n                    ? 'nekaj sekund'\n                    : 'nekaj sekundami';\n            case 'ss':\n                if (number === 1) {\n                    result += withoutSuffix ? 'sekundo' : 'sekundi';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';\n                } else {\n                    result += 'sekund';\n                }\n                return result;\n            case 'm':\n                return withoutSuffix ? 'ena minuta' : 'eno minuto';\n            case 'mm':\n                if (number === 1) {\n                    result += withoutSuffix ? 'minuta' : 'minuto';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'minuti' : 'minutama';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'minute' : 'minutami';\n                } else {\n                    result += withoutSuffix || isFuture ? 'minut' : 'minutami';\n                }\n                return result;\n            case 'h':\n                return withoutSuffix ? 'ena ura' : 'eno uro';\n            case 'hh':\n                if (number === 1) {\n                    result += withoutSuffix ? 'ura' : 'uro';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'uri' : 'urama';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'ure' : 'urami';\n                } else {\n                    result += withoutSuffix || isFuture ? 'ur' : 'urami';\n                }\n                return result;\n            case 'd':\n                return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';\n            case 'dd':\n                if (number === 1) {\n                    result += withoutSuffix || isFuture ? 'dan' : 'dnem';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';\n                } else {\n                    result += withoutSuffix || isFuture ? 'dni' : 'dnevi';\n                }\n                return result;\n            case 'M':\n                return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';\n            case 'MM':\n                if (number === 1) {\n                    result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'mesece' : 'meseci';\n                } else {\n                    result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';\n                }\n                return result;\n            case 'y':\n                return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';\n            case 'yy':\n                if (number === 1) {\n                    result += withoutSuffix || isFuture ? 'leto' : 'letom';\n                } else if (number === 2) {\n                    result += withoutSuffix || isFuture ? 'leti' : 'letoma';\n                } else if (number < 5) {\n                    result += withoutSuffix || isFuture ? 'leta' : 'leti';\n                } else {\n                    result += withoutSuffix || isFuture ? 'let' : 'leti';\n                }\n                return result;\n        }\n    }\n\n    var sl = moment.defineLocale('sl', {\n        months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),\n        weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),\n        weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD. MM. YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY H:mm',\n            LLLL: 'dddd, D. MMMM YYYY H:mm',\n        },\n        calendar: {\n            sameDay: '[danes ob] LT',\n            nextDay: '[jutri ob] LT',\n\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[v] [nedeljo] [ob] LT';\n                    case 3:\n                        return '[v] [sredo] [ob] LT';\n                    case 6:\n                        return '[v] [soboto] [ob] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[v] dddd [ob] LT';\n                }\n            },\n            lastDay: '[včeraj ob] LT',\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[prejšnjo] [nedeljo] [ob] LT';\n                    case 3:\n                        return '[prejšnjo] [sredo] [ob] LT';\n                    case 6:\n                        return '[prejšnjo] [soboto] [ob] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[prejšnji] dddd [ob] LT';\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'čez %s',\n            past: 'pred %s',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return sl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Albanian [sq]\n//! author : Flakërim Ismani : https://github.com/flakerimi\n//! author : Menelion Elensúle : https://github.com/Oire\n//! author : Oerd Cukalla : https://github.com/oerd\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var sq = moment.defineLocale('sq', {\n        months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),\n        weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(\n            '_'\n        ),\n        weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),\n        weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),\n        weekdaysParseExact: true,\n        meridiemParse: /PD|MD/,\n        isPM: function (input) {\n            return input.charAt(0) === 'M';\n        },\n        meridiem: function (hours, minutes, isLower) {\n            return hours < 12 ? 'PD' : 'MD';\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Sot në] LT',\n            nextDay: '[Nesër në] LT',\n            nextWeek: 'dddd [në] LT',\n            lastDay: '[Dje në] LT',\n            lastWeek: 'dddd [e kaluar në] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'në %s',\n            past: '%s më parë',\n            s: 'disa sekonda',\n            ss: '%d sekonda',\n            m: 'një minutë',\n            mm: '%d minuta',\n            h: 'një orë',\n            hh: '%d orë',\n            d: 'një ditë',\n            dd: '%d ditë',\n            M: 'një muaj',\n            MM: '%d muaj',\n            y: 'një vit',\n            yy: '%d vite',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sq;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian Cyrillic [sr-cyrl]\n//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j\n//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var translator = {\n        words: {\n            //Different grammatical cases\n            ss: ['секунда', 'секунде', 'секунди'],\n            m: ['један минут', 'једне минуте'],\n            mm: ['минут', 'минуте', 'минута'],\n            h: ['један сат', 'једног сата'],\n            hh: ['сат', 'сата', 'сати'],\n            dd: ['дан', 'дана', 'дана'],\n            MM: ['месец', 'месеца', 'месеци'],\n            yy: ['година', 'године', 'година'],\n        },\n        correctGrammaticalCase: function (number, wordKey) {\n            return number === 1\n                ? wordKey[0]\n                : number >= 2 && number <= 4\n                ? wordKey[1]\n                : wordKey[2];\n        },\n        translate: function (number, withoutSuffix, key) {\n            var wordKey = translator.words[key];\n            if (key.length === 1) {\n                return withoutSuffix ? wordKey[0] : wordKey[1];\n            } else {\n                return (\n                    number +\n                    ' ' +\n                    translator.correctGrammaticalCase(number, wordKey)\n                );\n            }\n        },\n    };\n\n    var srCyrl = moment.defineLocale('sr-cyrl', {\n        months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(\n            '_'\n        ),\n        monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),\n        weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),\n        weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D. M. YYYY.',\n            LL: 'D. MMMM YYYY.',\n            LLL: 'D. MMMM YYYY. H:mm',\n            LLLL: 'dddd, D. MMMM YYYY. H:mm',\n        },\n        calendar: {\n            sameDay: '[данас у] LT',\n            nextDay: '[сутра у] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[у] [недељу] [у] LT';\n                    case 3:\n                        return '[у] [среду] [у] LT';\n                    case 6:\n                        return '[у] [суботу] [у] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[у] dddd [у] LT';\n                }\n            },\n            lastDay: '[јуче у] LT',\n            lastWeek: function () {\n                var lastWeekDays = [\n                    '[прошле] [недеље] [у] LT',\n                    '[прошлог] [понедељка] [у] LT',\n                    '[прошлог] [уторка] [у] LT',\n                    '[прошле] [среде] [у] LT',\n                    '[прошлог] [четвртка] [у] LT',\n                    '[прошлог] [петка] [у] LT',\n                    '[прошле] [суботе] [у] LT',\n                ];\n                return lastWeekDays[this.day()];\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'за %s',\n            past: 'пре %s',\n            s: 'неколико секунди',\n            ss: translator.translate,\n            m: translator.translate,\n            mm: translator.translate,\n            h: translator.translate,\n            hh: translator.translate,\n            d: 'дан',\n            dd: translator.translate,\n            M: 'месец',\n            MM: translator.translate,\n            y: 'годину',\n            yy: translator.translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return srCyrl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Serbian [sr]\n//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j\n//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var translator = {\n        words: {\n            //Different grammatical cases\n            ss: ['sekunda', 'sekunde', 'sekundi'],\n            m: ['jedan minut', 'jedne minute'],\n            mm: ['minut', 'minute', 'minuta'],\n            h: ['jedan sat', 'jednog sata'],\n            hh: ['sat', 'sata', 'sati'],\n            dd: ['dan', 'dana', 'dana'],\n            MM: ['mesec', 'meseca', 'meseci'],\n            yy: ['godina', 'godine', 'godina'],\n        },\n        correctGrammaticalCase: function (number, wordKey) {\n            return number === 1\n                ? wordKey[0]\n                : number >= 2 && number <= 4\n                ? wordKey[1]\n                : wordKey[2];\n        },\n        translate: function (number, withoutSuffix, key) {\n            var wordKey = translator.words[key];\n            if (key.length === 1) {\n                return withoutSuffix ? wordKey[0] : wordKey[1];\n            } else {\n                return (\n                    number +\n                    ' ' +\n                    translator.correctGrammaticalCase(number, wordKey)\n                );\n            }\n        },\n    };\n\n    var sr = moment.defineLocale('sr', {\n        months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(\n            '_'\n        ),\n        monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(\n            '_'\n        ),\n        weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),\n        weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'D. M. YYYY.',\n            LL: 'D. MMMM YYYY.',\n            LLL: 'D. MMMM YYYY. H:mm',\n            LLLL: 'dddd, D. MMMM YYYY. H:mm',\n        },\n        calendar: {\n            sameDay: '[danas u] LT',\n            nextDay: '[sutra u] LT',\n            nextWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                        return '[u] [nedelju] [u] LT';\n                    case 3:\n                        return '[u] [sredu] [u] LT';\n                    case 6:\n                        return '[u] [subotu] [u] LT';\n                    case 1:\n                    case 2:\n                    case 4:\n                    case 5:\n                        return '[u] dddd [u] LT';\n                }\n            },\n            lastDay: '[juče u] LT',\n            lastWeek: function () {\n                var lastWeekDays = [\n                    '[prošle] [nedelje] [u] LT',\n                    '[prošlog] [ponedeljka] [u] LT',\n                    '[prošlog] [utorka] [u] LT',\n                    '[prošle] [srede] [u] LT',\n                    '[prošlog] [četvrtka] [u] LT',\n                    '[prošlog] [petka] [u] LT',\n                    '[prošle] [subote] [u] LT',\n                ];\n                return lastWeekDays[this.day()];\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'za %s',\n            past: 'pre %s',\n            s: 'nekoliko sekundi',\n            ss: translator.translate,\n            m: translator.translate,\n            mm: translator.translate,\n            h: translator.translate,\n            hh: translator.translate,\n            d: 'dan',\n            dd: translator.translate,\n            M: 'mesec',\n            MM: translator.translate,\n            y: 'godinu',\n            yy: translator.translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return sr;\n\n})));\n","//! moment.js locale configuration\n//! locale : siSwati [ss]\n//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ss = moment.defineLocale('ss', {\n        months: \"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni\".split(\n            '_'\n        ),\n        monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),\n        weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(\n            '_'\n        ),\n        weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),\n        weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Namuhla nga] LT',\n            nextDay: '[Kusasa nga] LT',\n            nextWeek: 'dddd [nga] LT',\n            lastDay: '[Itolo nga] LT',\n            lastWeek: 'dddd [leliphelile] [nga] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'nga %s',\n            past: 'wenteka nga %s',\n            s: 'emizuzwana lomcane',\n            ss: '%d mzuzwana',\n            m: 'umzuzu',\n            mm: '%d emizuzu',\n            h: 'lihora',\n            hh: '%d emahora',\n            d: 'lilanga',\n            dd: '%d emalanga',\n            M: 'inyanga',\n            MM: '%d tinyanga',\n            y: 'umnyaka',\n            yy: '%d iminyaka',\n        },\n        meridiemParse: /ekuseni|emini|entsambama|ebusuku/,\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 11) {\n                return 'ekuseni';\n            } else if (hours < 15) {\n                return 'emini';\n            } else if (hours < 19) {\n                return 'entsambama';\n            } else {\n                return 'ebusuku';\n            }\n        },\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'ekuseni') {\n                return hour;\n            } else if (meridiem === 'emini') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {\n                if (hour === 0) {\n                    return 0;\n                }\n                return hour + 12;\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: '%d',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ss;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swedish [sv]\n//! author : Jens Alm : https://github.com/ulmus\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var sv = moment.defineLocale('sv', {\n        months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(\n            '_'\n        ),\n        monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),\n        weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),\n        weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),\n        weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY [kl.] HH:mm',\n            LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',\n            lll: 'D MMM YYYY HH:mm',\n            llll: 'ddd D MMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Idag] LT',\n            nextDay: '[Imorgon] LT',\n            lastDay: '[Igår] LT',\n            nextWeek: '[På] dddd LT',\n            lastWeek: '[I] dddd[s] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'om %s',\n            past: 'för %s sedan',\n            s: 'några sekunder',\n            ss: '%d sekunder',\n            m: 'en minut',\n            mm: '%d minuter',\n            h: 'en timme',\n            hh: '%d timmar',\n            d: 'en dag',\n            dd: '%d dagar',\n            M: 'en månad',\n            MM: '%d månader',\n            y: 'ett år',\n            yy: '%d år',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(\\:e|\\:a)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? ':e'\n                        : b === 1\n                        ? ':a'\n                        : b === 2\n                        ? ':a'\n                        : b === 3\n                        ? ':e'\n                        : ':e';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return sv;\n\n})));\n","//! moment.js locale configuration\n//! locale : Swahili [sw]\n//! author : Fahad Kassim : https://github.com/fadsel\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var sw = moment.defineLocale('sw', {\n        months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),\n        weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(\n            '_'\n        ),\n        weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),\n        weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'hh:mm A',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[leo saa] LT',\n            nextDay: '[kesho saa] LT',\n            nextWeek: '[wiki ijayo] dddd [saat] LT',\n            lastDay: '[jana] LT',\n            lastWeek: '[wiki iliyopita] dddd [saat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s baadaye',\n            past: 'tokea %s',\n            s: 'hivi punde',\n            ss: 'sekunde %d',\n            m: 'dakika moja',\n            mm: 'dakika %d',\n            h: 'saa limoja',\n            hh: 'masaa %d',\n            d: 'siku moja',\n            dd: 'siku %d',\n            M: 'mwezi mmoja',\n            MM: 'miezi %d',\n            y: 'mwaka mmoja',\n            yy: 'miaka %d',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return sw;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tamil [ta]\n//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var symbolMap = {\n            1: '௧',\n            2: '௨',\n            3: '௩',\n            4: '௪',\n            5: '௫',\n            6: '௬',\n            7: '௭',\n            8: '௮',\n            9: '௯',\n            0: '௦',\n        },\n        numberMap = {\n            '௧': '1',\n            '௨': '2',\n            '௩': '3',\n            '௪': '4',\n            '௫': '5',\n            '௬': '6',\n            '௭': '7',\n            '௮': '8',\n            '௯': '9',\n            '௦': '0',\n        };\n\n    var ta = moment.defineLocale('ta', {\n        months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n            '_'\n        ),\n        monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(\n            '_'\n        ),\n        weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(\n            '_'\n        ),\n        weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(\n            '_'\n        ),\n        weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, HH:mm',\n            LLLL: 'dddd, D MMMM YYYY, HH:mm',\n        },\n        calendar: {\n            sameDay: '[இன்று] LT',\n            nextDay: '[நாளை] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[நேற்று] LT',\n            lastWeek: '[கடந்த வாரம்] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s இல்',\n            past: '%s முன்',\n            s: 'ஒரு சில விநாடிகள்',\n            ss: '%d விநாடிகள்',\n            m: 'ஒரு நிமிடம்',\n            mm: '%d நிமிடங்கள்',\n            h: 'ஒரு மணி நேரம்',\n            hh: '%d மணி நேரம்',\n            d: 'ஒரு நாள்',\n            dd: '%d நாட்கள்',\n            M: 'ஒரு மாதம்',\n            MM: '%d மாதங்கள்',\n            y: 'ஒரு வருடம்',\n            yy: '%d ஆண்டுகள்',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}வது/,\n        ordinal: function (number) {\n            return number + 'வது';\n        },\n        preparse: function (string) {\n            return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {\n                return numberMap[match];\n            });\n        },\n        postformat: function (string) {\n            return string.replace(/\\d/g, function (match) {\n                return symbolMap[match];\n            });\n        },\n        // refer http://ta.wikipedia.org/s/1er1\n        meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 2) {\n                return ' யாமம்';\n            } else if (hour < 6) {\n                return ' வைகறை'; // வைகறை\n            } else if (hour < 10) {\n                return ' காலை'; // காலை\n            } else if (hour < 14) {\n                return ' நண்பகல்'; // நண்பகல்\n            } else if (hour < 18) {\n                return ' எற்பாடு'; // எற்பாடு\n            } else if (hour < 22) {\n                return ' மாலை'; // மாலை\n            } else {\n                return ' யாமம்';\n            }\n        },\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'யாமம்') {\n                return hour < 2 ? hour : hour + 12;\n            } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {\n                return hour;\n            } else if (meridiem === 'நண்பகல்') {\n                return hour >= 10 ? hour : hour + 12;\n            } else {\n                return hour + 12;\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return ta;\n\n})));\n","//! moment.js locale configuration\n//! locale : Telugu [te]\n//! author : Krishna Chaitanya Thota : https://github.com/kcthota\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var te = moment.defineLocale('te', {\n        months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(\n            '_'\n        ),\n        monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(\n            '_'\n        ),\n        weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),\n        weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),\n        longDateFormat: {\n            LT: 'A h:mm',\n            LTS: 'A h:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY, A h:mm',\n            LLLL: 'dddd, D MMMM YYYY, A h:mm',\n        },\n        calendar: {\n            sameDay: '[నేడు] LT',\n            nextDay: '[రేపు] LT',\n            nextWeek: 'dddd, LT',\n            lastDay: '[నిన్న] LT',\n            lastWeek: '[గత] dddd, LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s లో',\n            past: '%s క్రితం',\n            s: 'కొన్ని క్షణాలు',\n            ss: '%d సెకన్లు',\n            m: 'ఒక నిమిషం',\n            mm: '%d నిమిషాలు',\n            h: 'ఒక గంట',\n            hh: '%d గంటలు',\n            d: 'ఒక రోజు',\n            dd: '%d రోజులు',\n            M: 'ఒక నెల',\n            MM: '%d నెలలు',\n            y: 'ఒక సంవత్సరం',\n            yy: '%d సంవత్సరాలు',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}వ/,\n        ordinal: '%dవ',\n        meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'రాత్రి') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'ఉదయం') {\n                return hour;\n            } else if (meridiem === 'మధ్యాహ్నం') {\n                return hour >= 10 ? hour : hour + 12;\n            } else if (meridiem === 'సాయంత్రం') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'రాత్రి';\n            } else if (hour < 10) {\n                return 'ఉదయం';\n            } else if (hour < 17) {\n                return 'మధ్యాహ్నం';\n            } else if (hour < 20) {\n                return 'సాయంత్రం';\n            } else {\n                return 'రాత్రి';\n            }\n        },\n        week: {\n            dow: 0, // Sunday is the first day of the week.\n            doy: 6, // The week that contains Jan 6th is the first week of the year.\n        },\n    });\n\n    return te;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tetun Dili (East Timor) [tet]\n//! author : Joshua Brooks : https://github.com/joshbrooks\n//! author : Onorio De J. Afonso : https://github.com/marobo\n//! author : Sonia Simoes : https://github.com/soniasimoes\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tet = moment.defineLocale('tet', {\n        months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),\n        weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),\n        weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),\n        weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Ohin iha] LT',\n            nextDay: '[Aban iha] LT',\n            nextWeek: 'dddd [iha] LT',\n            lastDay: '[Horiseik iha] LT',\n            lastWeek: 'dddd [semana kotuk] [iha] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'iha %s',\n            past: '%s liuba',\n            s: 'segundu balun',\n            ss: 'segundu %d',\n            m: 'minutu ida',\n            mm: 'minutu %d',\n            h: 'oras ida',\n            hh: 'oras %d',\n            d: 'loron ida',\n            dd: 'loron %d',\n            M: 'fulan ida',\n            MM: 'fulan %d',\n            y: 'tinan ida',\n            yy: 'tinan %d',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(st|nd|rd|th)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return tet;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tajik [tg]\n//! author : Orif N. Jr. : https://github.com/orif-jr\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        0: '-ум',\n        1: '-ум',\n        2: '-юм',\n        3: '-юм',\n        4: '-ум',\n        5: '-ум',\n        6: '-ум',\n        7: '-ум',\n        8: '-ум',\n        9: '-ум',\n        10: '-ум',\n        12: '-ум',\n        13: '-ум',\n        20: '-ум',\n        30: '-юм',\n        40: '-ум',\n        50: '-ум',\n        60: '-ум',\n        70: '-ум',\n        80: '-ум',\n        90: '-ум',\n        100: '-ум',\n    };\n\n    var tg = moment.defineLocale('tg', {\n        months: {\n            format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(\n                '_'\n            ),\n            standalone: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n                '_'\n            ),\n        },\n        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n        weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(\n            '_'\n        ),\n        weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),\n        weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Имрӯз соати] LT',\n            nextDay: '[Фардо соати] LT',\n            lastDay: '[Дирӯз соати] LT',\n            nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',\n            lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'баъди %s',\n            past: '%s пеш',\n            s: 'якчанд сония',\n            m: 'як дақиқа',\n            mm: '%d дақиқа',\n            h: 'як соат',\n            hh: '%d соат',\n            d: 'як рӯз',\n            dd: '%d рӯз',\n            M: 'як моҳ',\n            MM: '%d моҳ',\n            y: 'як сол',\n            yy: '%d сол',\n        },\n        meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === 'шаб') {\n                return hour < 4 ? hour : hour + 12;\n            } else if (meridiem === 'субҳ') {\n                return hour;\n            } else if (meridiem === 'рӯз') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === 'бегоҳ') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'шаб';\n            } else if (hour < 11) {\n                return 'субҳ';\n            } else if (hour < 16) {\n                return 'рӯз';\n            } else if (hour < 19) {\n                return 'бегоҳ';\n            } else {\n                return 'шаб';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(ум|юм)/,\n        ordinal: function (number) {\n            var a = number % 10,\n                b = number >= 100 ? 100 : null;\n            return number + (suffixes[number] || suffixes[a] || suffixes[b]);\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 1th is the first week of the year.\n        },\n    });\n\n    return tg;\n\n})));\n","//! moment.js locale configuration\n//! locale : Thai [th]\n//! author : Kridsada Thanabulpong : https://github.com/sirn\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var th = moment.defineLocale('th', {\n        months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(\n            '_'\n        ),\n        monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),\n        weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference\n        weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'H:mm',\n            LTS: 'H:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY เวลา H:mm',\n            LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',\n        },\n        meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,\n        isPM: function (input) {\n            return input === 'หลังเที่ยง';\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'ก่อนเที่ยง';\n            } else {\n                return 'หลังเที่ยง';\n            }\n        },\n        calendar: {\n            sameDay: '[วันนี้ เวลา] LT',\n            nextDay: '[พรุ่งนี้ เวลา] LT',\n            nextWeek: 'dddd[หน้า เวลา] LT',\n            lastDay: '[เมื่อวานนี้ เวลา] LT',\n            lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'อีก %s',\n            past: '%sที่แล้ว',\n            s: 'ไม่กี่วินาที',\n            ss: '%d วินาที',\n            m: '1 นาที',\n            mm: '%d นาที',\n            h: '1 ชั่วโมง',\n            hh: '%d ชั่วโมง',\n            d: '1 วัน',\n            dd: '%d วัน',\n            w: '1 สัปดาห์',\n            ww: '%d สัปดาห์',\n            M: '1 เดือน',\n            MM: '%d เดือน',\n            y: '1 ปี',\n            yy: '%d ปี',\n        },\n    });\n\n    return th;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkmen [tk]\n//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        1: \"'inji\",\n        5: \"'inji\",\n        8: \"'inji\",\n        70: \"'inji\",\n        80: \"'inji\",\n        2: \"'nji\",\n        7: \"'nji\",\n        20: \"'nji\",\n        50: \"'nji\",\n        3: \"'ünji\",\n        4: \"'ünji\",\n        100: \"'ünji\",\n        6: \"'njy\",\n        9: \"'unjy\",\n        10: \"'unjy\",\n        30: \"'unjy\",\n        60: \"'ynjy\",\n        90: \"'ynjy\",\n    };\n\n    var tk = moment.defineLocale('tk', {\n        months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(\n            '_'\n        ),\n        monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),\n        weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(\n            '_'\n        ),\n        weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),\n        weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[bugün sagat] LT',\n            nextDay: '[ertir sagat] LT',\n            nextWeek: '[indiki] dddd [sagat] LT',\n            lastDay: '[düýn] LT',\n            lastWeek: '[geçen] dddd [sagat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s soň',\n            past: '%s öň',\n            s: 'birnäçe sekunt',\n            m: 'bir minut',\n            mm: '%d minut',\n            h: 'bir sagat',\n            hh: '%d sagat',\n            d: 'bir gün',\n            dd: '%d gün',\n            M: 'bir aý',\n            MM: '%d aý',\n            y: 'bir ýyl',\n            yy: '%d ýyl',\n        },\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'Do':\n                case 'DD':\n                    return number;\n                default:\n                    if (number === 0) {\n                        // special case for zero\n                        return number + \"'unjy\";\n                    }\n                    var a = number % 10,\n                        b = (number % 100) - a,\n                        c = number >= 100 ? 100 : null;\n                    return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return tk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Tagalog (Philippines) [tl-ph]\n//! author : Dan Hagman : https://github.com/hagmandan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tlPh = moment.defineLocale('tl-ph', {\n        months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(\n            '_'\n        ),\n        monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),\n        weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(\n            '_'\n        ),\n        weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),\n        weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'MM/D/YYYY',\n            LL: 'MMMM D, YYYY',\n            LLL: 'MMMM D, YYYY HH:mm',\n            LLLL: 'dddd, MMMM DD, YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: 'LT [ngayong araw]',\n            nextDay: '[Bukas ng] LT',\n            nextWeek: 'LT [sa susunod na] dddd',\n            lastDay: 'LT [kahapon]',\n            lastWeek: 'LT [noong nakaraang] dddd',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'sa loob ng %s',\n            past: '%s ang nakalipas',\n            s: 'ilang segundo',\n            ss: '%d segundo',\n            m: 'isang minuto',\n            mm: '%d minuto',\n            h: 'isang oras',\n            hh: '%d oras',\n            d: 'isang araw',\n            dd: '%d araw',\n            M: 'isang buwan',\n            MM: '%d buwan',\n            y: 'isang taon',\n            yy: '%d taon',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: function (number) {\n            return number;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return tlPh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Klingon [tlh]\n//! author : Dominika Kruk : https://github.com/amaranthrose\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');\n\n    function translateFuture(output) {\n        var time = output;\n        time =\n            output.indexOf('jaj') !== -1\n                ? time.slice(0, -3) + 'leS'\n                : output.indexOf('jar') !== -1\n                ? time.slice(0, -3) + 'waQ'\n                : output.indexOf('DIS') !== -1\n                ? time.slice(0, -3) + 'nem'\n                : time + ' pIq';\n        return time;\n    }\n\n    function translatePast(output) {\n        var time = output;\n        time =\n            output.indexOf('jaj') !== -1\n                ? time.slice(0, -3) + 'Hu’'\n                : output.indexOf('jar') !== -1\n                ? time.slice(0, -3) + 'wen'\n                : output.indexOf('DIS') !== -1\n                ? time.slice(0, -3) + 'ben'\n                : time + ' ret';\n        return time;\n    }\n\n    function translate(number, withoutSuffix, string, isFuture) {\n        var numberNoun = numberAsNoun(number);\n        switch (string) {\n            case 'ss':\n                return numberNoun + ' lup';\n            case 'mm':\n                return numberNoun + ' tup';\n            case 'hh':\n                return numberNoun + ' rep';\n            case 'dd':\n                return numberNoun + ' jaj';\n            case 'MM':\n                return numberNoun + ' jar';\n            case 'yy':\n                return numberNoun + ' DIS';\n        }\n    }\n\n    function numberAsNoun(number) {\n        var hundred = Math.floor((number % 1000) / 100),\n            ten = Math.floor((number % 100) / 10),\n            one = number % 10,\n            word = '';\n        if (hundred > 0) {\n            word += numbersNouns[hundred] + 'vatlh';\n        }\n        if (ten > 0) {\n            word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';\n        }\n        if (one > 0) {\n            word += (word !== '' ? ' ' : '') + numbersNouns[one];\n        }\n        return word === '' ? 'pagh' : word;\n    }\n\n    var tlh = moment.defineLocale('tlh', {\n        months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(\n            '_'\n        ),\n        monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n            '_'\n        ),\n        weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n            '_'\n        ),\n        weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(\n            '_'\n        ),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[DaHjaj] LT',\n            nextDay: '[wa’leS] LT',\n            nextWeek: 'LLL',\n            lastDay: '[wa’Hu’] LT',\n            lastWeek: 'LLL',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: translateFuture,\n            past: translatePast,\n            s: 'puS lup',\n            ss: translate,\n            m: 'wa’ tup',\n            mm: translate,\n            h: 'wa’ rep',\n            hh: translate,\n            d: 'wa’ jaj',\n            dd: translate,\n            M: 'wa’ jar',\n            MM: translate,\n            y: 'wa’ DIS',\n            yy: translate,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return tlh;\n\n})));\n","//! moment.js locale configuration\n//! locale : Turkish [tr]\n//! authors : Erhan Gundogan : https://github.com/erhangundogan,\n//!           Burak Yiğit Kaya: https://github.com/BYK\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var suffixes = {\n        1: \"'inci\",\n        5: \"'inci\",\n        8: \"'inci\",\n        70: \"'inci\",\n        80: \"'inci\",\n        2: \"'nci\",\n        7: \"'nci\",\n        20: \"'nci\",\n        50: \"'nci\",\n        3: \"'üncü\",\n        4: \"'üncü\",\n        100: \"'üncü\",\n        6: \"'ncı\",\n        9: \"'uncu\",\n        10: \"'uncu\",\n        30: \"'uncu\",\n        60: \"'ıncı\",\n        90: \"'ıncı\",\n    };\n\n    var tr = moment.defineLocale('tr', {\n        months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(\n            '_'\n        ),\n        monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),\n        weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(\n            '_'\n        ),\n        weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),\n        weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'öö' : 'ÖÖ';\n            } else {\n                return isLower ? 'ös' : 'ÖS';\n            }\n        },\n        meridiemParse: /öö|ÖÖ|ös|ÖS/,\n        isPM: function (input) {\n            return input === 'ös' || input === 'ÖS';\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[bugün saat] LT',\n            nextDay: '[yarın saat] LT',\n            nextWeek: '[gelecek] dddd [saat] LT',\n            lastDay: '[dün] LT',\n            lastWeek: '[geçen] dddd [saat] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s sonra',\n            past: '%s önce',\n            s: 'birkaç saniye',\n            ss: '%d saniye',\n            m: 'bir dakika',\n            mm: '%d dakika',\n            h: 'bir saat',\n            hh: '%d saat',\n            d: 'bir gün',\n            dd: '%d gün',\n            w: 'bir hafta',\n            ww: '%d hafta',\n            M: 'bir ay',\n            MM: '%d ay',\n            y: 'bir yıl',\n            yy: '%d yıl',\n        },\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'Do':\n                case 'DD':\n                    return number;\n                default:\n                    if (number === 0) {\n                        // special case for zero\n                        return number + \"'ıncı\";\n                    }\n                    var a = number % 10,\n                        b = (number % 100) - a,\n                        c = number >= 100 ? 100 : null;\n                    return number + (suffixes[a] || suffixes[b] || suffixes[c]);\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return tr;\n\n})));\n","//! moment.js locale configuration\n//! locale : Talossan [tzl]\n//! author : Robin van der Vliet : https://github.com/robin0van0der0v\n//! author : Iustì Canun\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.\n    // This is currently too difficult (maybe even impossible) to add.\n    var tzl = moment.defineLocale('tzl', {\n        months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(\n            '_'\n        ),\n        monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),\n        weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),\n        weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),\n        weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),\n        longDateFormat: {\n            LT: 'HH.mm',\n            LTS: 'HH.mm.ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM [dallas] YYYY',\n            LLL: 'D. MMMM [dallas] YYYY HH.mm',\n            LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',\n        },\n        meridiemParse: /d\\'o|d\\'a/i,\n        isPM: function (input) {\n            return \"d'o\" === input.toLowerCase();\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours > 11) {\n                return isLower ? \"d'o\" : \"D'O\";\n            } else {\n                return isLower ? \"d'a\" : \"D'A\";\n            }\n        },\n        calendar: {\n            sameDay: '[oxhi à] LT',\n            nextDay: '[demà à] LT',\n            nextWeek: 'dddd [à] LT',\n            lastDay: '[ieiri à] LT',\n            lastWeek: '[sür el] dddd [lasteu à] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'osprei %s',\n            past: 'ja%s',\n            s: processRelativeTime,\n            ss: processRelativeTime,\n            m: processRelativeTime,\n            mm: processRelativeTime,\n            h: processRelativeTime,\n            hh: processRelativeTime,\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            s: ['viensas secunds', \"'iensas secunds\"],\n            ss: [number + ' secunds', '' + number + ' secunds'],\n            m: [\"'n míut\", \"'iens míut\"],\n            mm: [number + ' míuts', '' + number + ' míuts'],\n            h: [\"'n þora\", \"'iensa þora\"],\n            hh: [number + ' þoras', '' + number + ' þoras'],\n            d: [\"'n ziua\", \"'iensa ziua\"],\n            dd: [number + ' ziuas', '' + number + ' ziuas'],\n            M: [\"'n mes\", \"'iens mes\"],\n            MM: [number + ' mesen', '' + number + ' mesen'],\n            y: [\"'n ar\", \"'iens ar\"],\n            yy: [number + ' ars', '' + number + ' ars'],\n        };\n        return isFuture\n            ? format[key][0]\n            : withoutSuffix\n            ? format[key][0]\n            : format[key][1];\n    }\n\n    return tzl;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight Latin [tzm-latn]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tzmLatn = moment.defineLocale('tzm-latn', {\n        months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n            '_'\n        ),\n        monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(\n            '_'\n        ),\n        weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n        weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n        weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[asdkh g] LT',\n            nextDay: '[aska g] LT',\n            nextWeek: 'dddd [g] LT',\n            lastDay: '[assant g] LT',\n            lastWeek: 'dddd [g] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'dadkh s yan %s',\n            past: 'yan %s',\n            s: 'imik',\n            ss: '%d imik',\n            m: 'minuḍ',\n            mm: '%d minuḍ',\n            h: 'saɛa',\n            hh: '%d tassaɛin',\n            d: 'ass',\n            dd: '%d ossan',\n            M: 'ayowr',\n            MM: '%d iyyirn',\n            y: 'asgas',\n            yy: '%d isgasn',\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return tzmLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Central Atlas Tamazight [tzm]\n//! author : Abdel Said : https://github.com/abdelsaid\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var tzm = moment.defineLocale('tzm', {\n        months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n            '_'\n        ),\n        monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(\n            '_'\n        ),\n        weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n        weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n        weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',\n            nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',\n            nextWeek: 'dddd [ⴴ] LT',\n            lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',\n            lastWeek: 'dddd [ⴴ] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',\n            past: 'ⵢⴰⵏ %s',\n            s: 'ⵉⵎⵉⴽ',\n            ss: '%d ⵉⵎⵉⴽ',\n            m: 'ⵎⵉⵏⵓⴺ',\n            mm: '%d ⵎⵉⵏⵓⴺ',\n            h: 'ⵙⴰⵄⴰ',\n            hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',\n            d: 'ⴰⵙⵙ',\n            dd: '%d oⵙⵙⴰⵏ',\n            M: 'ⴰⵢoⵓⵔ',\n            MM: '%d ⵉⵢⵢⵉⵔⵏ',\n            y: 'ⴰⵙⴳⴰⵙ',\n            yy: '%d ⵉⵙⴳⴰⵙⵏ',\n        },\n        week: {\n            dow: 6, // Saturday is the first day of the week.\n            doy: 12, // The week that contains Jan 12th is the first week of the year.\n        },\n    });\n\n    return tzm;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uyghur (China) [ug-cn]\n//! author: boyaq : https://github.com/boyaq\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var ugCn = moment.defineLocale('ug-cn', {\n        months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n            '_'\n        ),\n        monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(\n            '_'\n        ),\n        weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(\n            '_'\n        ),\n        weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n        weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY-MM-DD',\n            LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',\n            LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n            LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',\n        },\n        meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (\n                meridiem === 'يېرىم كېچە' ||\n                meridiem === 'سەھەر' ||\n                meridiem === 'چۈشتىن بۇرۇن'\n            ) {\n                return hour;\n            } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {\n                return hour + 12;\n            } else {\n                return hour >= 11 ? hour : hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return 'يېرىم كېچە';\n            } else if (hm < 900) {\n                return 'سەھەر';\n            } else if (hm < 1130) {\n                return 'چۈشتىن بۇرۇن';\n            } else if (hm < 1230) {\n                return 'چۈش';\n            } else if (hm < 1800) {\n                return 'چۈشتىن كېيىن';\n            } else {\n                return 'كەچ';\n            }\n        },\n        calendar: {\n            sameDay: '[بۈگۈن سائەت] LT',\n            nextDay: '[ئەتە سائەت] LT',\n            nextWeek: '[كېلەركى] dddd [سائەت] LT',\n            lastDay: '[تۆنۈگۈن] LT',\n            lastWeek: '[ئالدىنقى] dddd [سائەت] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s كېيىن',\n            past: '%s بۇرۇن',\n            s: 'نەچچە سېكونت',\n            ss: '%d سېكونت',\n            m: 'بىر مىنۇت',\n            mm: '%d مىنۇت',\n            h: 'بىر سائەت',\n            hh: '%d سائەت',\n            d: 'بىر كۈن',\n            dd: '%d كۈن',\n            M: 'بىر ئاي',\n            MM: '%d ئاي',\n            y: 'بىر يىل',\n            yy: '%d يىل',\n        },\n\n        dayOfMonthOrdinalParse: /\\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '-كۈنى';\n                case 'w':\n                case 'W':\n                    return number + '-ھەپتە';\n                default:\n                    return number;\n            }\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 1st is the first week of the year.\n        },\n    });\n\n    return ugCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Ukrainian [uk]\n//! author : zemlanin : https://github.com/zemlanin\n//! Author : Menelion Elensúle : https://github.com/Oire\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function plural(word, num) {\n        var forms = word.split('_');\n        return num % 10 === 1 && num % 100 !== 11\n            ? forms[0]\n            : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)\n            ? forms[1]\n            : forms[2];\n    }\n    function relativeTimeWithPlural(number, withoutSuffix, key) {\n        var format = {\n            ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',\n            mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',\n            hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',\n            dd: 'день_дні_днів',\n            MM: 'місяць_місяці_місяців',\n            yy: 'рік_роки_років',\n        };\n        if (key === 'm') {\n            return withoutSuffix ? 'хвилина' : 'хвилину';\n        } else if (key === 'h') {\n            return withoutSuffix ? 'година' : 'годину';\n        } else {\n            return number + ' ' + plural(format[key], +number);\n        }\n    }\n    function weekdaysCaseReplace(m, format) {\n        var weekdays = {\n                nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(\n                    '_'\n                ),\n                accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(\n                    '_'\n                ),\n                genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(\n                    '_'\n                ),\n            },\n            nounCase;\n\n        if (m === true) {\n            return weekdays['nominative']\n                .slice(1, 7)\n                .concat(weekdays['nominative'].slice(0, 1));\n        }\n        if (!m) {\n            return weekdays['nominative'];\n        }\n\n        nounCase = /(\\[[ВвУу]\\]) ?dddd/.test(format)\n            ? 'accusative'\n            : /\\[?(?:минулої|наступної)? ?\\] ?dddd/.test(format)\n            ? 'genitive'\n            : 'nominative';\n        return weekdays[nounCase][m.day()];\n    }\n    function processHoursFunction(str) {\n        return function () {\n            return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';\n        };\n    }\n\n    var uk = moment.defineLocale('uk', {\n        months: {\n            format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(\n                '_'\n            ),\n            standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(\n                '_'\n            ),\n        },\n        monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(\n            '_'\n        ),\n        weekdays: weekdaysCaseReplace,\n        weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n        weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D MMMM YYYY р.',\n            LLL: 'D MMMM YYYY р., HH:mm',\n            LLLL: 'dddd, D MMMM YYYY р., HH:mm',\n        },\n        calendar: {\n            sameDay: processHoursFunction('[Сьогодні '),\n            nextDay: processHoursFunction('[Завтра '),\n            lastDay: processHoursFunction('[Вчора '),\n            nextWeek: processHoursFunction('[У] dddd ['),\n            lastWeek: function () {\n                switch (this.day()) {\n                    case 0:\n                    case 3:\n                    case 5:\n                    case 6:\n                        return processHoursFunction('[Минулої] dddd [').call(this);\n                    case 1:\n                    case 2:\n                    case 4:\n                        return processHoursFunction('[Минулого] dddd [').call(this);\n                }\n            },\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'за %s',\n            past: '%s тому',\n            s: 'декілька секунд',\n            ss: relativeTimeWithPlural,\n            m: relativeTimeWithPlural,\n            mm: relativeTimeWithPlural,\n            h: 'годину',\n            hh: relativeTimeWithPlural,\n            d: 'день',\n            dd: relativeTimeWithPlural,\n            M: 'місяць',\n            MM: relativeTimeWithPlural,\n            y: 'рік',\n            yy: relativeTimeWithPlural,\n        },\n        // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason\n        meridiemParse: /ночі|ранку|дня|вечора/,\n        isPM: function (input) {\n            return /^(дня|вечора)$/.test(input);\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 4) {\n                return 'ночі';\n            } else if (hour < 12) {\n                return 'ранку';\n            } else if (hour < 17) {\n                return 'дня';\n            } else {\n                return 'вечора';\n            }\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}-(й|го)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'M':\n                case 'd':\n                case 'DDD':\n                case 'w':\n                case 'W':\n                    return number + '-й';\n                case 'D':\n                    return number + '-го';\n                default:\n                    return number;\n            }\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return uk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Urdu [ur]\n//! author : Sawood Alam : https://github.com/ibnesayeed\n//! author : Zack : https://github.com/ZackVision\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var months = [\n            'جنوری',\n            'فروری',\n            'مارچ',\n            'اپریل',\n            'مئی',\n            'جون',\n            'جولائی',\n            'اگست',\n            'ستمبر',\n            'اکتوبر',\n            'نومبر',\n            'دسمبر',\n        ],\n        days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];\n\n    var ur = moment.defineLocale('ur', {\n        months: months,\n        monthsShort: months,\n        weekdays: days,\n        weekdaysShort: days,\n        weekdaysMin: days,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd، D MMMM YYYY HH:mm',\n        },\n        meridiemParse: /صبح|شام/,\n        isPM: function (input) {\n            return 'شام' === input;\n        },\n        meridiem: function (hour, minute, isLower) {\n            if (hour < 12) {\n                return 'صبح';\n            }\n            return 'شام';\n        },\n        calendar: {\n            sameDay: '[آج بوقت] LT',\n            nextDay: '[کل بوقت] LT',\n            nextWeek: 'dddd [بوقت] LT',\n            lastDay: '[گذشتہ روز بوقت] LT',\n            lastWeek: '[گذشتہ] dddd [بوقت] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s بعد',\n            past: '%s قبل',\n            s: 'چند سیکنڈ',\n            ss: '%d سیکنڈ',\n            m: 'ایک منٹ',\n            mm: '%d منٹ',\n            h: 'ایک گھنٹہ',\n            hh: '%d گھنٹے',\n            d: 'ایک دن',\n            dd: '%d دن',\n            M: 'ایک ماہ',\n            MM: '%d ماہ',\n            y: 'ایک سال',\n            yy: '%d سال',\n        },\n        preparse: function (string) {\n            return string.replace(/،/g, ',');\n        },\n        postformat: function (string) {\n            return string.replace(/,/g, '،');\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return ur;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek Latin [uz-latn]\n//! author : Rasulbek Mirzayev : github.com/Rasulbeeek\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var uzLatn = moment.defineLocale('uz-latn', {\n        months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(\n            '_'\n        ),\n        monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),\n        weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(\n            '_'\n        ),\n        weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),\n        weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'D MMMM YYYY, dddd HH:mm',\n        },\n        calendar: {\n            sameDay: '[Bugun soat] LT [da]',\n            nextDay: '[Ertaga] LT [da]',\n            nextWeek: 'dddd [kuni soat] LT [da]',\n            lastDay: '[Kecha soat] LT [da]',\n            lastWeek: \"[O'tgan] dddd [kuni soat] LT [da]\",\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'Yaqin %s ichida',\n            past: 'Bir necha %s oldin',\n            s: 'soniya',\n            ss: '%d soniya',\n            m: 'bir daqiqa',\n            mm: '%d daqiqa',\n            h: 'bir soat',\n            hh: '%d soat',\n            d: 'bir kun',\n            dd: '%d kun',\n            M: 'bir oy',\n            MM: '%d oy',\n            y: 'bir yil',\n            yy: '%d yil',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 7th is the first week of the year.\n        },\n    });\n\n    return uzLatn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Uzbek [uz]\n//! author : Sardor Muminov : https://github.com/muminoff\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var uz = moment.defineLocale('uz', {\n        months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(\n            '_'\n        ),\n        monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),\n        weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),\n        weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),\n        weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'D MMMM YYYY, dddd HH:mm',\n        },\n        calendar: {\n            sameDay: '[Бугун соат] LT [да]',\n            nextDay: '[Эртага] LT [да]',\n            nextWeek: 'dddd [куни соат] LT [да]',\n            lastDay: '[Кеча соат] LT [да]',\n            lastWeek: '[Утган] dddd [куни соат] LT [да]',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'Якин %s ичида',\n            past: 'Бир неча %s олдин',\n            s: 'фурсат',\n            ss: '%d фурсат',\n            m: 'бир дакика',\n            mm: '%d дакика',\n            h: 'бир соат',\n            hh: '%d соат',\n            d: 'бир кун',\n            dd: '%d кун',\n            M: 'бир ой',\n            MM: '%d ой',\n            y: 'бир йил',\n            yy: '%d йил',\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 7, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return uz;\n\n})));\n","//! moment.js locale configuration\n//! locale : Vietnamese [vi]\n//! author : Bang Nguyen : https://github.com/bangnk\n//! author : Chien Kira : https://github.com/chienkira\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var vi = moment.defineLocale('vi', {\n        months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(\n            '_'\n        ),\n        monthsShort: 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(\n            '_'\n        ),\n        weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n        weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),\n        weekdaysParseExact: true,\n        meridiemParse: /sa|ch/i,\n        isPM: function (input) {\n            return /^ch$/i.test(input);\n        },\n        meridiem: function (hours, minutes, isLower) {\n            if (hours < 12) {\n                return isLower ? 'sa' : 'SA';\n            } else {\n                return isLower ? 'ch' : 'CH';\n            }\n        },\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM [năm] YYYY',\n            LLL: 'D MMMM [năm] YYYY HH:mm',\n            LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',\n            l: 'DD/M/YYYY',\n            ll: 'D MMM YYYY',\n            lll: 'D MMM YYYY HH:mm',\n            llll: 'ddd, D MMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[Hôm nay lúc] LT',\n            nextDay: '[Ngày mai lúc] LT',\n            nextWeek: 'dddd [tuần tới lúc] LT',\n            lastDay: '[Hôm qua lúc] LT',\n            lastWeek: 'dddd [tuần trước lúc] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: '%s tới',\n            past: '%s trước',\n            s: 'vài giây',\n            ss: '%d giây',\n            m: 'một phút',\n            mm: '%d phút',\n            h: 'một giờ',\n            hh: '%d giờ',\n            d: 'một ngày',\n            dd: '%d ngày',\n            w: 'một tuần',\n            ww: '%d tuần',\n            M: 'một tháng',\n            MM: '%d tháng',\n            y: 'một năm',\n            yy: '%d năm',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}/,\n        ordinal: function (number) {\n            return number;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return vi;\n\n})));\n","//! moment.js locale configuration\n//! locale : Pseudo [x-pseudo]\n//! author : Andrew Hood : https://github.com/andrewhood125\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var xPseudo = moment.defineLocale('x-pseudo', {\n        months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(\n            '_'\n        ),\n        monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(\n            '_'\n        ),\n        weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),\n        weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY HH:mm',\n            LLLL: 'dddd, D MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[T~ódá~ý át] LT',\n            nextDay: '[T~ómó~rró~w át] LT',\n            nextWeek: 'dddd [át] LT',\n            lastDay: '[Ý~ést~érdá~ý át] LT',\n            lastWeek: '[L~ást] dddd [át] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'í~ñ %s',\n            past: '%s á~gó',\n            s: 'á ~féw ~sécó~ñds',\n            ss: '%d s~écóñ~ds',\n            m: 'á ~míñ~úté',\n            mm: '%d m~íñú~tés',\n            h: 'á~ñ hó~úr',\n            hh: '%d h~óúrs',\n            d: 'á ~dáý',\n            dd: '%d d~áýs',\n            M: 'á ~móñ~th',\n            MM: '%d m~óñt~hs',\n            y: 'á ~ýéár',\n            yy: '%d ý~éárs',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    ~~((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return xPseudo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Yoruba Nigeria [yo]\n//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var yo = moment.defineLocale('yo', {\n        months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(\n            '_'\n        ),\n        monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),\n        weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),\n        weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),\n        weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),\n        longDateFormat: {\n            LT: 'h:mm A',\n            LTS: 'h:mm:ss A',\n            L: 'DD/MM/YYYY',\n            LL: 'D MMMM YYYY',\n            LLL: 'D MMMM YYYY h:mm A',\n            LLLL: 'dddd, D MMMM YYYY h:mm A',\n        },\n        calendar: {\n            sameDay: '[Ònì ni] LT',\n            nextDay: '[Ọ̀la ni] LT',\n            nextWeek: \"dddd [Ọsẹ̀ tón'bọ] [ni] LT\",\n            lastDay: '[Àna ni] LT',\n            lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',\n            sameElse: 'L',\n        },\n        relativeTime: {\n            future: 'ní %s',\n            past: '%s kọjá',\n            s: 'ìsẹjú aayá die',\n            ss: 'aayá %d',\n            m: 'ìsẹjú kan',\n            mm: 'ìsẹjú %d',\n            h: 'wákati kan',\n            hh: 'wákati %d',\n            d: 'ọjọ́ kan',\n            dd: 'ọjọ́ %d',\n            M: 'osù kan',\n            MM: 'osù %d',\n            y: 'ọdún kan',\n            yy: 'ọdún %d',\n        },\n        dayOfMonthOrdinalParse: /ọjọ́\\s\\d{1,2}/,\n        ordinal: 'ọjọ́ %d',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return yo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (China) [zh-cn]\n//! author : suupic : https://github.com/suupic\n//! author : Zeno Zeng : https://github.com/zenozeng\n//! author : uu109 : https://github.com/uu109\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhCn = moment.defineLocale('zh-cn', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日Ah点mm分',\n            LLLL: 'YYYY年M月D日ddddAh点mm分',\n            l: 'YYYY/M/D',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            } else {\n                // '中午'\n                return hour >= 11 ? hour : hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1130) {\n                return '上午';\n            } else if (hm < 1230) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天]LT',\n            nextDay: '[明天]LT',\n            nextWeek: function (now) {\n                if (now.week() !== this.week()) {\n                    return '[下]dddLT';\n                } else {\n                    return '[本]dddLT';\n                }\n            },\n            lastDay: '[昨天]LT',\n            lastWeek: function (now) {\n                if (this.week() !== now.week()) {\n                    return '[上]dddLT';\n                } else {\n                    return '[本]dddLT';\n                }\n            },\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|周)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '周';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s后',\n            past: '%s前',\n            s: '几秒',\n            ss: '%d 秒',\n            m: '1 分钟',\n            mm: '%d 分钟',\n            h: '1 小时',\n            hh: '%d 小时',\n            d: '1 天',\n            dd: '%d 天',\n            w: '1 周',\n            ww: '%d 周',\n            M: '1 个月',\n            MM: '%d 个月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n        week: {\n            // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return zhCn;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Hong Kong) [zh-hk]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Konstantin : https://github.com/skfd\n//! author : Anthony : https://github.com/anthonylau\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhHk = moment.defineLocale('zh-hk', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日dddd HH:mm',\n            l: 'YYYY/M/D',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '中午') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1200) {\n                return '上午';\n            } else if (hm === 1200) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天]LT',\n            nextDay: '[明天]LT',\n            nextWeek: '[下]ddddLT',\n            lastDay: '[昨天]LT',\n            lastWeek: '[上]ddddLT',\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '週';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s後',\n            past: '%s前',\n            s: '幾秒',\n            ss: '%d 秒',\n            m: '1 分鐘',\n            mm: '%d 分鐘',\n            h: '1 小時',\n            hh: '%d 小時',\n            d: '1 天',\n            dd: '%d 天',\n            M: '1 個月',\n            MM: '%d 個月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n    });\n\n    return zhHk;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Macau) [zh-mo]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n//! author : Tan Yuanhong : https://github.com/le0tan\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhMo = moment.defineLocale('zh-mo', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD/MM/YYYY',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日dddd HH:mm',\n            l: 'D/M/YYYY',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '中午') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1130) {\n                return '上午';\n            } else if (hm < 1230) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天] LT',\n            nextDay: '[明天] LT',\n            nextWeek: '[下]dddd LT',\n            lastDay: '[昨天] LT',\n            lastWeek: '[上]dddd LT',\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '週';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s內',\n            past: '%s前',\n            s: '幾秒',\n            ss: '%d 秒',\n            m: '1 分鐘',\n            mm: '%d 分鐘',\n            h: '1 小時',\n            hh: '%d 小時',\n            d: '1 天',\n            dd: '%d 天',\n            M: '1 個月',\n            MM: '%d 個月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n    });\n\n    return zhMo;\n\n})));\n","//! moment.js locale configuration\n//! locale : Chinese (Taiwan) [zh-tw]\n//! author : Ben : https://github.com/ben-lin\n//! author : Chris Lam : https://github.com/hehachris\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    var zhTw = moment.defineLocale('zh-tw', {\n        months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(\n            '_'\n        ),\n        monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(\n            '_'\n        ),\n        weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n        weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),\n        weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'YYYY/MM/DD',\n            LL: 'YYYY年M月D日',\n            LLL: 'YYYY年M月D日 HH:mm',\n            LLLL: 'YYYY年M月D日dddd HH:mm',\n            l: 'YYYY/M/D',\n            ll: 'YYYY年M月D日',\n            lll: 'YYYY年M月D日 HH:mm',\n            llll: 'YYYY年M月D日dddd HH:mm',\n        },\n        meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n        meridiemHour: function (hour, meridiem) {\n            if (hour === 12) {\n                hour = 0;\n            }\n            if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {\n                return hour;\n            } else if (meridiem === '中午') {\n                return hour >= 11 ? hour : hour + 12;\n            } else if (meridiem === '下午' || meridiem === '晚上') {\n                return hour + 12;\n            }\n        },\n        meridiem: function (hour, minute, isLower) {\n            var hm = hour * 100 + minute;\n            if (hm < 600) {\n                return '凌晨';\n            } else if (hm < 900) {\n                return '早上';\n            } else if (hm < 1130) {\n                return '上午';\n            } else if (hm < 1230) {\n                return '中午';\n            } else if (hm < 1800) {\n                return '下午';\n            } else {\n                return '晚上';\n            }\n        },\n        calendar: {\n            sameDay: '[今天] LT',\n            nextDay: '[明天] LT',\n            nextWeek: '[下]dddd LT',\n            lastDay: '[昨天] LT',\n            lastWeek: '[上]dddd LT',\n            sameElse: 'L',\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}(日|月|週)/,\n        ordinal: function (number, period) {\n            switch (period) {\n                case 'd':\n                case 'D':\n                case 'DDD':\n                    return number + '日';\n                case 'M':\n                    return number + '月';\n                case 'w':\n                case 'W':\n                    return number + '週';\n                default:\n                    return number;\n            }\n        },\n        relativeTime: {\n            future: '%s後',\n            past: '%s前',\n            s: '幾秒',\n            ss: '%d 秒',\n            m: '1 分鐘',\n            mm: '%d 分鐘',\n            h: '1 小時',\n            hh: '%d 小時',\n            d: '1 天',\n            dd: '%d 天',\n            M: '1 個月',\n            MM: '%d 個月',\n            y: '1 年',\n            yy: '%d 年',\n        },\n    });\n\n    return zhTw;\n\n})));\n","var map = {\n\t\"./af\": 2786,\n\t\"./af.js\": 2786,\n\t\"./ar\": 867,\n\t\"./ar-dz\": 4130,\n\t\"./ar-dz.js\": 4130,\n\t\"./ar-kw\": 6135,\n\t\"./ar-kw.js\": 6135,\n\t\"./ar-ly\": 6440,\n\t\"./ar-ly.js\": 6440,\n\t\"./ar-ma\": 7702,\n\t\"./ar-ma.js\": 7702,\n\t\"./ar-sa\": 6040,\n\t\"./ar-sa.js\": 6040,\n\t\"./ar-tn\": 7100,\n\t\"./ar-tn.js\": 7100,\n\t\"./ar.js\": 867,\n\t\"./az\": 1083,\n\t\"./az.js\": 1083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 8338,\n\t\"./bg.js\": 8338,\n\t\"./bm\": 7438,\n\t\"./bm.js\": 7438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 6225,\n\t\"./bn-bd.js\": 6225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 1560,\n\t\"./bo.js\": 1560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 622,\n\t\"./bs.js\": 622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 877,\n\t\"./cv.js\": 877,\n\t\"./cy\": 7373,\n\t\"./cy.js\": 7373,\n\t\"./da\": 4780,\n\t\"./da.js\": 4780,\n\t\"./de\": 9740,\n\t\"./de-at\": 217,\n\t\"./de-at.js\": 217,\n\t\"./de-ch\": 894,\n\t\"./de-ch.js\": 894,\n\t\"./de.js\": 9740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 837,\n\t\"./el.js\": 837,\n\t\"./en-au\": 8348,\n\t\"./en-au.js\": 8348,\n\t\"./en-ca\": 7925,\n\t\"./en-ca.js\": 7925,\n\t\"./en-gb\": 2243,\n\t\"./en-gb.js\": 2243,\n\t\"./en-ie\": 6436,\n\t\"./en-ie.js\": 6436,\n\t\"./en-il\": 7207,\n\t\"./en-il.js\": 7207,\n\t\"./en-in\": 4175,\n\t\"./en-in.js\": 4175,\n\t\"./en-nz\": 6319,\n\t\"./en-nz.js\": 6319,\n\t\"./en-sg\": 1662,\n\t\"./en-sg.js\": 1662,\n\t\"./eo\": 2915,\n\t\"./eo.js\": 2915,\n\t\"./es\": 5655,\n\t\"./es-do\": 5251,\n\t\"./es-do.js\": 5251,\n\t\"./es-mx\": 6112,\n\t\"./es-mx.js\": 6112,\n\t\"./es-us\": 1146,\n\t\"./es-us.js\": 1146,\n\t\"./es.js\": 5655,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 7763,\n\t\"./eu.js\": 7763,\n\t\"./fa\": 6959,\n\t\"./fa.js\": 6959,\n\t\"./fi\": 1897,\n\t\"./fi.js\": 1897,\n\t\"./fil\": 2549,\n\t\"./fil.js\": 2549,\n\t\"./fo\": 4694,\n\t\"./fo.js\": 4694,\n\t\"./fr\": 4470,\n\t\"./fr-ca\": 3049,\n\t\"./fr-ca.js\": 3049,\n\t\"./fr-ch\": 2330,\n\t\"./fr-ch.js\": 2330,\n\t\"./fr.js\": 4470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 9295,\n\t\"./ga.js\": 9295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 8794,\n\t\"./gl.js\": 8794,\n\t\"./gom-deva\": 7884,\n\t\"./gom-deva.js\": 7884,\n\t\"./gom-latn\": 3168,\n\t\"./gom-latn.js\": 3168,\n\t\"./gu\": 5349,\n\t\"./gu.js\": 5349,\n\t\"./he\": 4206,\n\t\"./he.js\": 4206,\n\t\"./hi\": 94,\n\t\"./hi.js\": 94,\n\t\"./hr\": 316,\n\t\"./hr.js\": 316,\n\t\"./hu\": 2138,\n\t\"./hu.js\": 2138,\n\t\"./hy-am\": 1423,\n\t\"./hy-am.js\": 1423,\n\t\"./id\": 9218,\n\t\"./id.js\": 9218,\n\t\"./is\": 135,\n\t\"./is.js\": 135,\n\t\"./it\": 626,\n\t\"./it-ch\": 150,\n\t\"./it-ch.js\": 150,\n\t\"./it.js\": 626,\n\t\"./ja\": 9183,\n\t\"./ja.js\": 9183,\n\t\"./jv\": 4286,\n\t\"./jv.js\": 4286,\n\t\"./ka\": 2105,\n\t\"./ka.js\": 2105,\n\t\"./kk\": 7772,\n\t\"./kk.js\": 7772,\n\t\"./km\": 8758,\n\t\"./km.js\": 8758,\n\t\"./kn\": 9282,\n\t\"./kn.js\": 9282,\n\t\"./ko\": 3730,\n\t\"./ko.js\": 3730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 3291,\n\t\"./ky.js\": 3291,\n\t\"./lb\": 6841,\n\t\"./lb.js\": 6841,\n\t\"./lo\": 5466,\n\t\"./lo.js\": 5466,\n\t\"./lt\": 7010,\n\t\"./lt.js\": 7010,\n\t\"./lv\": 7595,\n\t\"./lv.js\": 7595,\n\t\"./me\": 9861,\n\t\"./me.js\": 9861,\n\t\"./mi\": 5493,\n\t\"./mi.js\": 5493,\n\t\"./mk\": 5966,\n\t\"./mk.js\": 5966,\n\t\"./ml\": 7341,\n\t\"./ml.js\": 7341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 370,\n\t\"./mr.js\": 370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 1237,\n\t\"./ms-my.js\": 1237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 2126,\n\t\"./mt.js\": 2126,\n\t\"./my\": 6165,\n\t\"./my.js\": 6165,\n\t\"./nb\": 4924,\n\t\"./nb.js\": 4924,\n\t\"./ne\": 6744,\n\t\"./ne.js\": 6744,\n\t\"./nl\": 3901,\n\t\"./nl-be\": 9814,\n\t\"./nl-be.js\": 9814,\n\t\"./nl.js\": 3901,\n\t\"./nn\": 3877,\n\t\"./nn.js\": 3877,\n\t\"./oc-lnc\": 2135,\n\t\"./oc-lnc.js\": 2135,\n\t\"./pa-in\": 5858,\n\t\"./pa-in.js\": 5858,\n\t\"./pl\": 4495,\n\t\"./pl.js\": 4495,\n\t\"./pt\": 9520,\n\t\"./pt-br\": 7971,\n\t\"./pt-br.js\": 7971,\n\t\"./pt.js\": 9520,\n\t\"./ro\": 6459,\n\t\"./ro.js\": 6459,\n\t\"./ru\": 1793,\n\t\"./ru.js\": 1793,\n\t\"./sd\": 950,\n\t\"./sd.js\": 950,\n\t\"./se\": 490,\n\t\"./se.js\": 490,\n\t\"./si\": 124,\n\t\"./si.js\": 124,\n\t\"./sk\": 1111,\n\t\"./sk.js\": 1111,\n\t\"./sl\": 4082,\n\t\"./sl.js\": 4082,\n\t\"./sq\": 1104,\n\t\"./sq.js\": 1104,\n\t\"./sr\": 9131,\n\t\"./sr-cyrl\": 9915,\n\t\"./sr-cyrl.js\": 9915,\n\t\"./sr.js\": 9131,\n\t\"./ss\": 5893,\n\t\"./ss.js\": 5893,\n\t\"./sv\": 8760,\n\t\"./sv.js\": 8760,\n\t\"./sw\": 1172,\n\t\"./sw.js\": 1172,\n\t\"./ta\": 7333,\n\t\"./ta.js\": 7333,\n\t\"./te\": 3110,\n\t\"./te.js\": 3110,\n\t\"./tet\": 2095,\n\t\"./tet.js\": 2095,\n\t\"./tg\": 4257,\n\t\"./tg.js\": 4257,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 9005,\n\t\"./tk.js\": 9005,\n\t\"./tl-ph\": 5768,\n\t\"./tl-ph.js\": 5768,\n\t\"./tlh\": 9444,\n\t\"./tlh.js\": 9444,\n\t\"./tr\": 2397,\n\t\"./tr.js\": 2397,\n\t\"./tzl\": 8254,\n\t\"./tzl.js\": 8254,\n\t\"./tzm\": 1106,\n\t\"./tzm-latn\": 699,\n\t\"./tzm-latn.js\": 699,\n\t\"./tzm.js\": 1106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 7691,\n\t\"./uk.js\": 7691,\n\t\"./ur\": 3795,\n\t\"./ur.js\": 3795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 588,\n\t\"./uz-latn.js\": 588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 5666,\n\t\"./vi.js\": 5666,\n\t\"./x-pseudo\": 4378,\n\t\"./x-pseudo.js\": 4378,\n\t\"./yo\": 5805,\n\t\"./yo.js\": 5805,\n\t\"./zh-cn\": 3839,\n\t\"./zh-cn.js\": 3839,\n\t\"./zh-hk\": 5726,\n\t\"./zh-hk.js\": 5726,\n\t\"./zh-mo\": 9807,\n\t\"./zh-mo.js\": 9807,\n\t\"./zh-tw\": 4152,\n\t\"./zh-tw.js\": 4152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 6700;","//! moment.js\n//! version : 2.29.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    global.moment = factory()\n}(this, (function () { 'use strict';\n\n    var hookCallback;\n\n    function hooks() {\n        return hookCallback.apply(null, arguments);\n    }\n\n    // This is done to register the method called with moment()\n    // without creating circular dependencies.\n    function setHookCallback(callback) {\n        hookCallback = callback;\n    }\n\n    function isArray(input) {\n        return (\n            input instanceof Array ||\n            Object.prototype.toString.call(input) === '[object Array]'\n        );\n    }\n\n    function isObject(input) {\n        // IE8 will treat undefined and null as object if it wasn't for\n        // input != null\n        return (\n            input != null &&\n            Object.prototype.toString.call(input) === '[object Object]'\n        );\n    }\n\n    function hasOwnProp(a, b) {\n        return Object.prototype.hasOwnProperty.call(a, b);\n    }\n\n    function isObjectEmpty(obj) {\n        if (Object.getOwnPropertyNames) {\n            return Object.getOwnPropertyNames(obj).length === 0;\n        } else {\n            var k;\n            for (k in obj) {\n                if (hasOwnProp(obj, k)) {\n                    return false;\n                }\n            }\n            return true;\n        }\n    }\n\n    function isUndefined(input) {\n        return input === void 0;\n    }\n\n    function isNumber(input) {\n        return (\n            typeof input === 'number' ||\n            Object.prototype.toString.call(input) === '[object Number]'\n        );\n    }\n\n    function isDate(input) {\n        return (\n            input instanceof Date ||\n            Object.prototype.toString.call(input) === '[object Date]'\n        );\n    }\n\n    function map(arr, fn) {\n        var res = [],\n            i;\n        for (i = 0; i < arr.length; ++i) {\n            res.push(fn(arr[i], i));\n        }\n        return res;\n    }\n\n    function extend(a, b) {\n        for (var i in b) {\n            if (hasOwnProp(b, i)) {\n                a[i] = b[i];\n            }\n        }\n\n        if (hasOwnProp(b, 'toString')) {\n            a.toString = b.toString;\n        }\n\n        if (hasOwnProp(b, 'valueOf')) {\n            a.valueOf = b.valueOf;\n        }\n\n        return a;\n    }\n\n    function createUTC(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, true).utc();\n    }\n\n    function defaultParsingFlags() {\n        // We need to deep clone this object.\n        return {\n            empty: false,\n            unusedTokens: [],\n            unusedInput: [],\n            overflow: -2,\n            charsLeftOver: 0,\n            nullInput: false,\n            invalidEra: null,\n            invalidMonth: null,\n            invalidFormat: false,\n            userInvalidated: false,\n            iso: false,\n            parsedDateParts: [],\n            era: null,\n            meridiem: null,\n            rfc2822: false,\n            weekdayMismatch: false,\n        };\n    }\n\n    function getParsingFlags(m) {\n        if (m._pf == null) {\n            m._pf = defaultParsingFlags();\n        }\n        return m._pf;\n    }\n\n    var some;\n    if (Array.prototype.some) {\n        some = Array.prototype.some;\n    } else {\n        some = function (fun) {\n            var t = Object(this),\n                len = t.length >>> 0,\n                i;\n\n            for (i = 0; i < len; i++) {\n                if (i in t && fun.call(this, t[i], i, t)) {\n                    return true;\n                }\n            }\n\n            return false;\n        };\n    }\n\n    function isValid(m) {\n        if (m._isValid == null) {\n            var flags = getParsingFlags(m),\n                parsedParts = some.call(flags.parsedDateParts, function (i) {\n                    return i != null;\n                }),\n                isNowValid =\n                    !isNaN(m._d.getTime()) &&\n                    flags.overflow < 0 &&\n                    !flags.empty &&\n                    !flags.invalidEra &&\n                    !flags.invalidMonth &&\n                    !flags.invalidWeekday &&\n                    !flags.weekdayMismatch &&\n                    !flags.nullInput &&\n                    !flags.invalidFormat &&\n                    !flags.userInvalidated &&\n                    (!flags.meridiem || (flags.meridiem && parsedParts));\n\n            if (m._strict) {\n                isNowValid =\n                    isNowValid &&\n                    flags.charsLeftOver === 0 &&\n                    flags.unusedTokens.length === 0 &&\n                    flags.bigHour === undefined;\n            }\n\n            if (Object.isFrozen == null || !Object.isFrozen(m)) {\n                m._isValid = isNowValid;\n            } else {\n                return isNowValid;\n            }\n        }\n        return m._isValid;\n    }\n\n    function createInvalid(flags) {\n        var m = createUTC(NaN);\n        if (flags != null) {\n            extend(getParsingFlags(m), flags);\n        } else {\n            getParsingFlags(m).userInvalidated = true;\n        }\n\n        return m;\n    }\n\n    // Plugins that add properties should also add the key here (null value),\n    // so we can properly clone ourselves.\n    var momentProperties = (hooks.momentProperties = []),\n        updateInProgress = false;\n\n    function copyConfig(to, from) {\n        var i, prop, val;\n\n        if (!isUndefined(from._isAMomentObject)) {\n            to._isAMomentObject = from._isAMomentObject;\n        }\n        if (!isUndefined(from._i)) {\n            to._i = from._i;\n        }\n        if (!isUndefined(from._f)) {\n            to._f = from._f;\n        }\n        if (!isUndefined(from._l)) {\n            to._l = from._l;\n        }\n        if (!isUndefined(from._strict)) {\n            to._strict = from._strict;\n        }\n        if (!isUndefined(from._tzm)) {\n            to._tzm = from._tzm;\n        }\n        if (!isUndefined(from._isUTC)) {\n            to._isUTC = from._isUTC;\n        }\n        if (!isUndefined(from._offset)) {\n            to._offset = from._offset;\n        }\n        if (!isUndefined(from._pf)) {\n            to._pf = getParsingFlags(from);\n        }\n        if (!isUndefined(from._locale)) {\n            to._locale = from._locale;\n        }\n\n        if (momentProperties.length > 0) {\n            for (i = 0; i < momentProperties.length; i++) {\n                prop = momentProperties[i];\n                val = from[prop];\n                if (!isUndefined(val)) {\n                    to[prop] = val;\n                }\n            }\n        }\n\n        return to;\n    }\n\n    // Moment prototype object\n    function Moment(config) {\n        copyConfig(this, config);\n        this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n        if (!this.isValid()) {\n            this._d = new Date(NaN);\n        }\n        // Prevent infinite loop in case updateOffset creates new moment\n        // objects.\n        if (updateInProgress === false) {\n            updateInProgress = true;\n            hooks.updateOffset(this);\n            updateInProgress = false;\n        }\n    }\n\n    function isMoment(obj) {\n        return (\n            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n        );\n    }\n\n    function warn(msg) {\n        if (\n            hooks.suppressDeprecationWarnings === false &&\n            typeof console !== 'undefined' &&\n            console.warn\n        ) {\n            console.warn('Deprecation warning: ' + msg);\n        }\n    }\n\n    function deprecate(msg, fn) {\n        var firstTime = true;\n\n        return extend(function () {\n            if (hooks.deprecationHandler != null) {\n                hooks.deprecationHandler(null, msg);\n            }\n            if (firstTime) {\n                var args = [],\n                    arg,\n                    i,\n                    key;\n                for (i = 0; i < arguments.length; i++) {\n                    arg = '';\n                    if (typeof arguments[i] === 'object') {\n                        arg += '\\n[' + i + '] ';\n                        for (key in arguments[0]) {\n                            if (hasOwnProp(arguments[0], key)) {\n                                arg += key + ': ' + arguments[0][key] + ', ';\n                            }\n                        }\n                        arg = arg.slice(0, -2); // Remove trailing comma and space\n                    } else {\n                        arg = arguments[i];\n                    }\n                    args.push(arg);\n                }\n                warn(\n                    msg +\n                        '\\nArguments: ' +\n                        Array.prototype.slice.call(args).join('') +\n                        '\\n' +\n                        new Error().stack\n                );\n                firstTime = false;\n            }\n            return fn.apply(this, arguments);\n        }, fn);\n    }\n\n    var deprecations = {};\n\n    function deprecateSimple(name, msg) {\n        if (hooks.deprecationHandler != null) {\n            hooks.deprecationHandler(name, msg);\n        }\n        if (!deprecations[name]) {\n            warn(msg);\n            deprecations[name] = true;\n        }\n    }\n\n    hooks.suppressDeprecationWarnings = false;\n    hooks.deprecationHandler = null;\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    function set(config) {\n        var prop, i;\n        for (i in config) {\n            if (hasOwnProp(config, i)) {\n                prop = config[i];\n                if (isFunction(prop)) {\n                    this[i] = prop;\n                } else {\n                    this['_' + i] = prop;\n                }\n            }\n        }\n        this._config = config;\n        // Lenient ordinal parsing accepts just a number in addition to\n        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        this._dayOfMonthOrdinalParseLenient = new RegExp(\n            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n                '|' +\n                /\\d{1,2}/.source\n        );\n    }\n\n    function mergeConfigs(parentConfig, childConfig) {\n        var res = extend({}, parentConfig),\n            prop;\n        for (prop in childConfig) {\n            if (hasOwnProp(childConfig, prop)) {\n                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n                    res[prop] = {};\n                    extend(res[prop], parentConfig[prop]);\n                    extend(res[prop], childConfig[prop]);\n                } else if (childConfig[prop] != null) {\n                    res[prop] = childConfig[prop];\n                } else {\n                    delete res[prop];\n                }\n            }\n        }\n        for (prop in parentConfig) {\n            if (\n                hasOwnProp(parentConfig, prop) &&\n                !hasOwnProp(childConfig, prop) &&\n                isObject(parentConfig[prop])\n            ) {\n                // make sure changes to properties don't modify parent config\n                res[prop] = extend({}, res[prop]);\n            }\n        }\n        return res;\n    }\n\n    function Locale(config) {\n        if (config != null) {\n            this.set(config);\n        }\n    }\n\n    var keys;\n\n    if (Object.keys) {\n        keys = Object.keys;\n    } else {\n        keys = function (obj) {\n            var i,\n                res = [];\n            for (i in obj) {\n                if (hasOwnProp(obj, i)) {\n                    res.push(i);\n                }\n            }\n            return res;\n        };\n    }\n\n    var defaultCalendar = {\n        sameDay: '[Today at] LT',\n        nextDay: '[Tomorrow at] LT',\n        nextWeek: 'dddd [at] LT',\n        lastDay: '[Yesterday at] LT',\n        lastWeek: '[Last] dddd [at] LT',\n        sameElse: 'L',\n    };\n\n    function calendar(key, mom, now) {\n        var output = this._calendar[key] || this._calendar['sameElse'];\n        return isFunction(output) ? output.call(mom, now) : output;\n    }\n\n    function zeroFill(number, targetLength, forceSign) {\n        var absNumber = '' + Math.abs(number),\n            zerosToFill = targetLength - absNumber.length,\n            sign = number >= 0;\n        return (\n            (sign ? (forceSign ? '+' : '') : '-') +\n            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n            absNumber\n        );\n    }\n\n    var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n        localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n        formatFunctions = {},\n        formatTokenFunctions = {};\n\n    // token:    'M'\n    // padded:   ['MM', 2]\n    // ordinal:  'Mo'\n    // callback: function () { this.month() + 1 }\n    function addFormatToken(token, padded, ordinal, callback) {\n        var func = callback;\n        if (typeof callback === 'string') {\n            func = function () {\n                return this[callback]();\n            };\n        }\n        if (token) {\n            formatTokenFunctions[token] = func;\n        }\n        if (padded) {\n            formatTokenFunctions[padded[0]] = function () {\n                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n            };\n        }\n        if (ordinal) {\n            formatTokenFunctions[ordinal] = function () {\n                return this.localeData().ordinal(\n                    func.apply(this, arguments),\n                    token\n                );\n            };\n        }\n    }\n\n    function removeFormattingTokens(input) {\n        if (input.match(/\\[[\\s\\S]/)) {\n            return input.replace(/^\\[|\\]$/g, '');\n        }\n        return input.replace(/\\\\/g, '');\n    }\n\n    function makeFormatFunction(format) {\n        var array = format.match(formattingTokens),\n            i,\n            length;\n\n        for (i = 0, length = array.length; i < length; i++) {\n            if (formatTokenFunctions[array[i]]) {\n                array[i] = formatTokenFunctions[array[i]];\n            } else {\n                array[i] = removeFormattingTokens(array[i]);\n            }\n        }\n\n        return function (mom) {\n            var output = '',\n                i;\n            for (i = 0; i < length; i++) {\n                output += isFunction(array[i])\n                    ? array[i].call(mom, format)\n                    : array[i];\n            }\n            return output;\n        };\n    }\n\n    // format date using native date object\n    function formatMoment(m, format) {\n        if (!m.isValid()) {\n            return m.localeData().invalidDate();\n        }\n\n        format = expandFormat(format, m.localeData());\n        formatFunctions[format] =\n            formatFunctions[format] || makeFormatFunction(format);\n\n        return formatFunctions[format](m);\n    }\n\n    function expandFormat(format, locale) {\n        var i = 5;\n\n        function replaceLongDateFormatTokens(input) {\n            return locale.longDateFormat(input) || input;\n        }\n\n        localFormattingTokens.lastIndex = 0;\n        while (i >= 0 && localFormattingTokens.test(format)) {\n            format = format.replace(\n                localFormattingTokens,\n                replaceLongDateFormatTokens\n            );\n            localFormattingTokens.lastIndex = 0;\n            i -= 1;\n        }\n\n        return format;\n    }\n\n    var defaultLongDateFormat = {\n        LTS: 'h:mm:ss A',\n        LT: 'h:mm A',\n        L: 'MM/DD/YYYY',\n        LL: 'MMMM D, YYYY',\n        LLL: 'MMMM D, YYYY h:mm A',\n        LLLL: 'dddd, MMMM D, YYYY h:mm A',\n    };\n\n    function longDateFormat(key) {\n        var format = this._longDateFormat[key],\n            formatUpper = this._longDateFormat[key.toUpperCase()];\n\n        if (format || !formatUpper) {\n            return format;\n        }\n\n        this._longDateFormat[key] = formatUpper\n            .match(formattingTokens)\n            .map(function (tok) {\n                if (\n                    tok === 'MMMM' ||\n                    tok === 'MM' ||\n                    tok === 'DD' ||\n                    tok === 'dddd'\n                ) {\n                    return tok.slice(1);\n                }\n                return tok;\n            })\n            .join('');\n\n        return this._longDateFormat[key];\n    }\n\n    var defaultInvalidDate = 'Invalid date';\n\n    function invalidDate() {\n        return this._invalidDate;\n    }\n\n    var defaultOrdinal = '%d',\n        defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n    function ordinal(number) {\n        return this._ordinal.replace('%d', number);\n    }\n\n    var defaultRelativeTime = {\n        future: 'in %s',\n        past: '%s ago',\n        s: 'a few seconds',\n        ss: '%d seconds',\n        m: 'a minute',\n        mm: '%d minutes',\n        h: 'an hour',\n        hh: '%d hours',\n        d: 'a day',\n        dd: '%d days',\n        w: 'a week',\n        ww: '%d weeks',\n        M: 'a month',\n        MM: '%d months',\n        y: 'a year',\n        yy: '%d years',\n    };\n\n    function relativeTime(number, withoutSuffix, string, isFuture) {\n        var output = this._relativeTime[string];\n        return isFunction(output)\n            ? output(number, withoutSuffix, string, isFuture)\n            : output.replace(/%d/i, number);\n    }\n\n    function pastFuture(diff, output) {\n        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n        return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n    }\n\n    var aliases = {};\n\n    function addUnitAlias(unit, shorthand) {\n        var lowerCase = unit.toLowerCase();\n        aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n    }\n\n    function normalizeUnits(units) {\n        return typeof units === 'string'\n            ? aliases[units] || aliases[units.toLowerCase()]\n            : undefined;\n    }\n\n    function normalizeObjectUnits(inputObject) {\n        var normalizedInput = {},\n            normalizedProp,\n            prop;\n\n        for (prop in inputObject) {\n            if (hasOwnProp(inputObject, prop)) {\n                normalizedProp = normalizeUnits(prop);\n                if (normalizedProp) {\n                    normalizedInput[normalizedProp] = inputObject[prop];\n                }\n            }\n        }\n\n        return normalizedInput;\n    }\n\n    var priorities = {};\n\n    function addUnitPriority(unit, priority) {\n        priorities[unit] = priority;\n    }\n\n    function getPrioritizedUnits(unitsObj) {\n        var units = [],\n            u;\n        for (u in unitsObj) {\n            if (hasOwnProp(unitsObj, u)) {\n                units.push({ unit: u, priority: priorities[u] });\n            }\n        }\n        units.sort(function (a, b) {\n            return a.priority - b.priority;\n        });\n        return units;\n    }\n\n    function isLeapYear(year) {\n        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n    }\n\n    function absFloor(number) {\n        if (number < 0) {\n            // -0 -> 0\n            return Math.ceil(number) || 0;\n        } else {\n            return Math.floor(number);\n        }\n    }\n\n    function toInt(argumentForCoercion) {\n        var coercedNumber = +argumentForCoercion,\n            value = 0;\n\n        if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n            value = absFloor(coercedNumber);\n        }\n\n        return value;\n    }\n\n    function makeGetSet(unit, keepTime) {\n        return function (value) {\n            if (value != null) {\n                set$1(this, unit, value);\n                hooks.updateOffset(this, keepTime);\n                return this;\n            } else {\n                return get(this, unit);\n            }\n        };\n    }\n\n    function get(mom, unit) {\n        return mom.isValid()\n            ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]()\n            : NaN;\n    }\n\n    function set$1(mom, unit, value) {\n        if (mom.isValid() && !isNaN(value)) {\n            if (\n                unit === 'FullYear' &&\n                isLeapYear(mom.year()) &&\n                mom.month() === 1 &&\n                mom.date() === 29\n            ) {\n                value = toInt(value);\n                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](\n                    value,\n                    mom.month(),\n                    daysInMonth(value, mom.month())\n                );\n            } else {\n                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function stringGet(units) {\n        units = normalizeUnits(units);\n        if (isFunction(this[units])) {\n            return this[units]();\n        }\n        return this;\n    }\n\n    function stringSet(units, value) {\n        if (typeof units === 'object') {\n            units = normalizeObjectUnits(units);\n            var prioritized = getPrioritizedUnits(units),\n                i;\n            for (i = 0; i < prioritized.length; i++) {\n                this[prioritized[i].unit](units[prioritized[i].unit]);\n            }\n        } else {\n            units = normalizeUnits(units);\n            if (isFunction(this[units])) {\n                return this[units](value);\n            }\n        }\n        return this;\n    }\n\n    var match1 = /\\d/, //       0 - 9\n        match2 = /\\d\\d/, //      00 - 99\n        match3 = /\\d{3}/, //     000 - 999\n        match4 = /\\d{4}/, //    0000 - 9999\n        match6 = /[+-]?\\d{6}/, // -999999 - 999999\n        match1to2 = /\\d\\d?/, //       0 - 99\n        match3to4 = /\\d\\d\\d\\d?/, //     999 - 9999\n        match5to6 = /\\d\\d\\d\\d\\d\\d?/, //   99999 - 999999\n        match1to3 = /\\d{1,3}/, //       0 - 999\n        match1to4 = /\\d{1,4}/, //       0 - 9999\n        match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n        matchUnsigned = /\\d+/, //       0 - inf\n        matchSigned = /[+-]?\\d+/, //    -inf - inf\n        matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n        matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n        matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n        // any word (or two) characters or numbers including two/three word month in arabic.\n        // includes scottish gaelic two word and hyphenated months\n        matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n        regexes;\n\n    regexes = {};\n\n    function addRegexToken(token, regex, strictRegex) {\n        regexes[token] = isFunction(regex)\n            ? regex\n            : function (isStrict, localeData) {\n                  return isStrict && strictRegex ? strictRegex : regex;\n              };\n    }\n\n    function getParseRegexForToken(token, config) {\n        if (!hasOwnProp(regexes, token)) {\n            return new RegExp(unescapeFormat(token));\n        }\n\n        return regexes[token](config._strict, config._locale);\n    }\n\n    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n    function unescapeFormat(s) {\n        return regexEscape(\n            s\n                .replace('\\\\', '')\n                .replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (\n                    matched,\n                    p1,\n                    p2,\n                    p3,\n                    p4\n                ) {\n                    return p1 || p2 || p3 || p4;\n                })\n        );\n    }\n\n    function regexEscape(s) {\n        return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n    }\n\n    var tokens = {};\n\n    function addParseToken(token, callback) {\n        var i,\n            func = callback;\n        if (typeof token === 'string') {\n            token = [token];\n        }\n        if (isNumber(callback)) {\n            func = function (input, array) {\n                array[callback] = toInt(input);\n            };\n        }\n        for (i = 0; i < token.length; i++) {\n            tokens[token[i]] = func;\n        }\n    }\n\n    function addWeekParseToken(token, callback) {\n        addParseToken(token, function (input, array, config, token) {\n            config._w = config._w || {};\n            callback(input, config._w, config, token);\n        });\n    }\n\n    function addTimeToArrayFromToken(token, input, config) {\n        if (input != null && hasOwnProp(tokens, token)) {\n            tokens[token](input, config._a, config, token);\n        }\n    }\n\n    var YEAR = 0,\n        MONTH = 1,\n        DATE = 2,\n        HOUR = 3,\n        MINUTE = 4,\n        SECOND = 5,\n        MILLISECOND = 6,\n        WEEK = 7,\n        WEEKDAY = 8;\n\n    function mod(n, x) {\n        return ((n % x) + x) % x;\n    }\n\n    var indexOf;\n\n    if (Array.prototype.indexOf) {\n        indexOf = Array.prototype.indexOf;\n    } else {\n        indexOf = function (o) {\n            // I know\n            var i;\n            for (i = 0; i < this.length; ++i) {\n                if (this[i] === o) {\n                    return i;\n                }\n            }\n            return -1;\n        };\n    }\n\n    function daysInMonth(year, month) {\n        if (isNaN(year) || isNaN(month)) {\n            return NaN;\n        }\n        var modMonth = mod(month, 12);\n        year += (month - modMonth) / 12;\n        return modMonth === 1\n            ? isLeapYear(year)\n                ? 29\n                : 28\n            : 31 - ((modMonth % 7) % 2);\n    }\n\n    // FORMATTING\n\n    addFormatToken('M', ['MM', 2], 'Mo', function () {\n        return this.month() + 1;\n    });\n\n    addFormatToken('MMM', 0, 0, function (format) {\n        return this.localeData().monthsShort(this, format);\n    });\n\n    addFormatToken('MMMM', 0, 0, function (format) {\n        return this.localeData().months(this, format);\n    });\n\n    // ALIASES\n\n    addUnitAlias('month', 'M');\n\n    // PRIORITY\n\n    addUnitPriority('month', 8);\n\n    // PARSING\n\n    addRegexToken('M', match1to2);\n    addRegexToken('MM', match1to2, match2);\n    addRegexToken('MMM', function (isStrict, locale) {\n        return locale.monthsShortRegex(isStrict);\n    });\n    addRegexToken('MMMM', function (isStrict, locale) {\n        return locale.monthsRegex(isStrict);\n    });\n\n    addParseToken(['M', 'MM'], function (input, array) {\n        array[MONTH] = toInt(input) - 1;\n    });\n\n    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n        var month = config._locale.monthsParse(input, token, config._strict);\n        // if we didn't find a month name, mark the date as invalid.\n        if (month != null) {\n            array[MONTH] = month;\n        } else {\n            getParsingFlags(config).invalidMonth = input;\n        }\n    });\n\n    // LOCALES\n\n    var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split(\n            '_'\n        ),\n        MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n        defaultMonthsShortRegex = matchWord,\n        defaultMonthsRegex = matchWord;\n\n    function localeMonths(m, format) {\n        if (!m) {\n            return isArray(this._months)\n                ? this._months\n                : this._months['standalone'];\n        }\n        return isArray(this._months)\n            ? this._months[m.month()]\n            : this._months[\n                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n                      ? 'format'\n                      : 'standalone'\n              ][m.month()];\n    }\n\n    function localeMonthsShort(m, format) {\n        if (!m) {\n            return isArray(this._monthsShort)\n                ? this._monthsShort\n                : this._monthsShort['standalone'];\n        }\n        return isArray(this._monthsShort)\n            ? this._monthsShort[m.month()]\n            : this._monthsShort[\n                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n              ][m.month()];\n    }\n\n    function handleStrictParse(monthName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = monthName.toLocaleLowerCase();\n        if (!this._monthsParse) {\n            // this is not used\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n            for (i = 0; i < 12; ++i) {\n                mom = createUTC([2000, i]);\n                this._shortMonthsParse[i] = this.monthsShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeMonthsParse(monthName, format, strict) {\n        var i, mom, regex;\n\n        if (this._monthsParseExact) {\n            return handleStrictParse.call(this, monthName, format, strict);\n        }\n\n        if (!this._monthsParse) {\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n        }\n\n        // TODO: add sorting\n        // Sorting makes sure if one month (or abbr) is a prefix of another\n        // see sorting in computeMonthsParse\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            if (strict && !this._longMonthsParse[i]) {\n                this._longMonthsParse[i] = new RegExp(\n                    '^' + this.months(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n                this._shortMonthsParse[i] = new RegExp(\n                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n            }\n            if (!strict && !this._monthsParse[i]) {\n                regex =\n                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'MMMM' &&\n                this._longMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'MMM' &&\n                this._shortMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (!strict && this._monthsParse[i].test(monthName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function setMonth(mom, value) {\n        var dayOfMonth;\n\n        if (!mom.isValid()) {\n            // No op\n            return mom;\n        }\n\n        if (typeof value === 'string') {\n            if (/^\\d+$/.test(value)) {\n                value = toInt(value);\n            } else {\n                value = mom.localeData().monthsParse(value);\n                // TODO: Another silent failure?\n                if (!isNumber(value)) {\n                    return mom;\n                }\n            }\n        }\n\n        dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n        mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n        return mom;\n    }\n\n    function getSetMonth(value) {\n        if (value != null) {\n            setMonth(this, value);\n            hooks.updateOffset(this, true);\n            return this;\n        } else {\n            return get(this, 'Month');\n        }\n    }\n\n    function getDaysInMonth() {\n        return daysInMonth(this.year(), this.month());\n    }\n\n    function monthsShortRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsShortStrictRegex;\n            } else {\n                return this._monthsShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsShortRegex')) {\n                this._monthsShortRegex = defaultMonthsShortRegex;\n            }\n            return this._monthsShortStrictRegex && isStrict\n                ? this._monthsShortStrictRegex\n                : this._monthsShortRegex;\n        }\n    }\n\n    function monthsRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsStrictRegex;\n            } else {\n                return this._monthsRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                this._monthsRegex = defaultMonthsRegex;\n            }\n            return this._monthsStrictRegex && isStrict\n                ? this._monthsStrictRegex\n                : this._monthsRegex;\n        }\n    }\n\n    function computeMonthsParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom;\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            shortPieces.push(this.monthsShort(mom, ''));\n            longPieces.push(this.months(mom, ''));\n            mixedPieces.push(this.months(mom, ''));\n            mixedPieces.push(this.monthsShort(mom, ''));\n        }\n        // Sorting makes sure if one month (or abbr) is a prefix of another it\n        // will match the longer piece.\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n        for (i = 0; i < 12; i++) {\n            shortPieces[i] = regexEscape(shortPieces[i]);\n            longPieces[i] = regexEscape(longPieces[i]);\n        }\n        for (i = 0; i < 24; i++) {\n            mixedPieces[i] = regexEscape(mixedPieces[i]);\n        }\n\n        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._monthsShortRegex = this._monthsRegex;\n        this._monthsStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._monthsShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken('Y', 0, 0, function () {\n        var y = this.year();\n        return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n    });\n\n    addFormatToken(0, ['YY', 2], 0, function () {\n        return this.year() % 100;\n    });\n\n    addFormatToken(0, ['YYYY', 4], 0, 'year');\n    addFormatToken(0, ['YYYYY', 5], 0, 'year');\n    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n    // ALIASES\n\n    addUnitAlias('year', 'y');\n\n    // PRIORITIES\n\n    addUnitPriority('year', 1);\n\n    // PARSING\n\n    addRegexToken('Y', matchSigned);\n    addRegexToken('YY', match1to2, match2);\n    addRegexToken('YYYY', match1to4, match4);\n    addRegexToken('YYYYY', match1to6, match6);\n    addRegexToken('YYYYYY', match1to6, match6);\n\n    addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n    addParseToken('YYYY', function (input, array) {\n        array[YEAR] =\n            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n    });\n    addParseToken('YY', function (input, array) {\n        array[YEAR] = hooks.parseTwoDigitYear(input);\n    });\n    addParseToken('Y', function (input, array) {\n        array[YEAR] = parseInt(input, 10);\n    });\n\n    // HELPERS\n\n    function daysInYear(year) {\n        return isLeapYear(year) ? 366 : 365;\n    }\n\n    // HOOKS\n\n    hooks.parseTwoDigitYear = function (input) {\n        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n    };\n\n    // MOMENTS\n\n    var getSetYear = makeGetSet('FullYear', true);\n\n    function getIsLeapYear() {\n        return isLeapYear(this.year());\n    }\n\n    function createDate(y, m, d, h, M, s, ms) {\n        // can't just apply() to create a date:\n        // https://stackoverflow.com/q/181348\n        var date;\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            date = new Date(y + 400, m, d, h, M, s, ms);\n            if (isFinite(date.getFullYear())) {\n                date.setFullYear(y);\n            }\n        } else {\n            date = new Date(y, m, d, h, M, s, ms);\n        }\n\n        return date;\n    }\n\n    function createUTCDate(y) {\n        var date, args;\n        // the Date.UTC function remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            args = Array.prototype.slice.call(arguments);\n            // preserve leap years using a full 400 year cycle, then reset\n            args[0] = y + 400;\n            date = new Date(Date.UTC.apply(null, args));\n            if (isFinite(date.getUTCFullYear())) {\n                date.setUTCFullYear(y);\n            }\n        } else {\n            date = new Date(Date.UTC.apply(null, arguments));\n        }\n\n        return date;\n    }\n\n    // start-of-first-week - start-of-year\n    function firstWeekOffset(year, dow, doy) {\n        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n            fwd = 7 + dow - doy,\n            // first-week day local weekday -- which local weekday is fwd\n            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n        return -fwdlw + fwd - 1;\n    }\n\n    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n        var localWeekday = (7 + weekday - dow) % 7,\n            weekOffset = firstWeekOffset(year, dow, doy),\n            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n            resYear,\n            resDayOfYear;\n\n        if (dayOfYear <= 0) {\n            resYear = year - 1;\n            resDayOfYear = daysInYear(resYear) + dayOfYear;\n        } else if (dayOfYear > daysInYear(year)) {\n            resYear = year + 1;\n            resDayOfYear = dayOfYear - daysInYear(year);\n        } else {\n            resYear = year;\n            resDayOfYear = dayOfYear;\n        }\n\n        return {\n            year: resYear,\n            dayOfYear: resDayOfYear,\n        };\n    }\n\n    function weekOfYear(mom, dow, doy) {\n        var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n            resWeek,\n            resYear;\n\n        if (week < 1) {\n            resYear = mom.year() - 1;\n            resWeek = week + weeksInYear(resYear, dow, doy);\n        } else if (week > weeksInYear(mom.year(), dow, doy)) {\n            resWeek = week - weeksInYear(mom.year(), dow, doy);\n            resYear = mom.year() + 1;\n        } else {\n            resYear = mom.year();\n            resWeek = week;\n        }\n\n        return {\n            week: resWeek,\n            year: resYear,\n        };\n    }\n\n    function weeksInYear(year, dow, doy) {\n        var weekOffset = firstWeekOffset(year, dow, doy),\n            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n    }\n\n    // FORMATTING\n\n    addFormatToken('w', ['ww', 2], 'wo', 'week');\n    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n    // ALIASES\n\n    addUnitAlias('week', 'w');\n    addUnitAlias('isoWeek', 'W');\n\n    // PRIORITIES\n\n    addUnitPriority('week', 5);\n    addUnitPriority('isoWeek', 5);\n\n    // PARSING\n\n    addRegexToken('w', match1to2);\n    addRegexToken('ww', match1to2, match2);\n    addRegexToken('W', match1to2);\n    addRegexToken('WW', match1to2, match2);\n\n    addWeekParseToken(['w', 'ww', 'W', 'WW'], function (\n        input,\n        week,\n        config,\n        token\n    ) {\n        week[token.substr(0, 1)] = toInt(input);\n    });\n\n    // HELPERS\n\n    // LOCALES\n\n    function localeWeek(mom) {\n        return weekOfYear(mom, this._week.dow, this._week.doy).week;\n    }\n\n    var defaultLocaleWeek = {\n        dow: 0, // Sunday is the first day of the week.\n        doy: 6, // The week that contains Jan 6th is the first week of the year.\n    };\n\n    function localeFirstDayOfWeek() {\n        return this._week.dow;\n    }\n\n    function localeFirstDayOfYear() {\n        return this._week.doy;\n    }\n\n    // MOMENTS\n\n    function getSetWeek(input) {\n        var week = this.localeData().week(this);\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    function getSetISOWeek(input) {\n        var week = weekOfYear(this, 1, 4).week;\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('d', 0, 'do', 'day');\n\n    addFormatToken('dd', 0, 0, function (format) {\n        return this.localeData().weekdaysMin(this, format);\n    });\n\n    addFormatToken('ddd', 0, 0, function (format) {\n        return this.localeData().weekdaysShort(this, format);\n    });\n\n    addFormatToken('dddd', 0, 0, function (format) {\n        return this.localeData().weekdays(this, format);\n    });\n\n    addFormatToken('e', 0, 0, 'weekday');\n    addFormatToken('E', 0, 0, 'isoWeekday');\n\n    // ALIASES\n\n    addUnitAlias('day', 'd');\n    addUnitAlias('weekday', 'e');\n    addUnitAlias('isoWeekday', 'E');\n\n    // PRIORITY\n    addUnitPriority('day', 11);\n    addUnitPriority('weekday', 11);\n    addUnitPriority('isoWeekday', 11);\n\n    // PARSING\n\n    addRegexToken('d', match1to2);\n    addRegexToken('e', match1to2);\n    addRegexToken('E', match1to2);\n    addRegexToken('dd', function (isStrict, locale) {\n        return locale.weekdaysMinRegex(isStrict);\n    });\n    addRegexToken('ddd', function (isStrict, locale) {\n        return locale.weekdaysShortRegex(isStrict);\n    });\n    addRegexToken('dddd', function (isStrict, locale) {\n        return locale.weekdaysRegex(isStrict);\n    });\n\n    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n        var weekday = config._locale.weekdaysParse(input, token, config._strict);\n        // if we didn't get a weekday name, mark the date as invalid\n        if (weekday != null) {\n            week.d = weekday;\n        } else {\n            getParsingFlags(config).invalidWeekday = input;\n        }\n    });\n\n    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n        week[token] = toInt(input);\n    });\n\n    // HELPERS\n\n    function parseWeekday(input, locale) {\n        if (typeof input !== 'string') {\n            return input;\n        }\n\n        if (!isNaN(input)) {\n            return parseInt(input, 10);\n        }\n\n        input = locale.weekdaysParse(input);\n        if (typeof input === 'number') {\n            return input;\n        }\n\n        return null;\n    }\n\n    function parseIsoWeekday(input, locale) {\n        if (typeof input === 'string') {\n            return locale.weekdaysParse(input) % 7 || 7;\n        }\n        return isNaN(input) ? null : input;\n    }\n\n    // LOCALES\n    function shiftWeekdays(ws, n) {\n        return ws.slice(n, 7).concat(ws.slice(0, n));\n    }\n\n    var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        defaultWeekdaysRegex = matchWord,\n        defaultWeekdaysShortRegex = matchWord,\n        defaultWeekdaysMinRegex = matchWord;\n\n    function localeWeekdays(m, format) {\n        var weekdays = isArray(this._weekdays)\n            ? this._weekdays\n            : this._weekdays[\n                  m && m !== true && this._weekdays.isFormat.test(format)\n                      ? 'format'\n                      : 'standalone'\n              ];\n        return m === true\n            ? shiftWeekdays(weekdays, this._week.dow)\n            : m\n            ? weekdays[m.day()]\n            : weekdays;\n    }\n\n    function localeWeekdaysShort(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n            : m\n            ? this._weekdaysShort[m.day()]\n            : this._weekdaysShort;\n    }\n\n    function localeWeekdaysMin(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n            : m\n            ? this._weekdaysMin[m.day()]\n            : this._weekdaysMin;\n    }\n\n    function handleStrictParse$1(weekdayName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = weekdayName.toLocaleLowerCase();\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._minWeekdaysParse = [];\n\n            for (i = 0; i < 7; ++i) {\n                mom = createUTC([2000, 1]).day(i);\n                this._minWeekdaysParse[i] = this.weekdaysMin(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._shortWeekdaysParse[i] = this.weekdaysShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeWeekdaysParse(weekdayName, format, strict) {\n        var i, mom, regex;\n\n        if (this._weekdaysParseExact) {\n            return handleStrictParse$1.call(this, weekdayName, format, strict);\n        }\n\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._minWeekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._fullWeekdaysParse = [];\n        }\n\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n\n            mom = createUTC([2000, 1]).day(i);\n            if (strict && !this._fullWeekdaysParse[i]) {\n                this._fullWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._shortWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._minWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n            }\n            if (!this._weekdaysParse[i]) {\n                regex =\n                    '^' +\n                    this.weekdays(mom, '') +\n                    '|^' +\n                    this.weekdaysShort(mom, '') +\n                    '|^' +\n                    this.weekdaysMin(mom, '');\n                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'dddd' &&\n                this._fullWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'ddd' &&\n                this._shortWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'dd' &&\n                this._minWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function getSetDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n        if (input != null) {\n            input = parseWeekday(input, this.localeData());\n            return this.add(input - day, 'd');\n        } else {\n            return day;\n        }\n    }\n\n    function getSetLocaleDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n        return input == null ? weekday : this.add(input - weekday, 'd');\n    }\n\n    function getSetISODayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        // behaves the same as moment#day except\n        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n        // as a setter, sunday should belong to the previous week.\n\n        if (input != null) {\n            var weekday = parseIsoWeekday(input, this.localeData());\n            return this.day(this.day() % 7 ? weekday : weekday - 7);\n        } else {\n            return this.day() || 7;\n        }\n    }\n\n    function weekdaysRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysStrictRegex;\n            } else {\n                return this._weekdaysRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                this._weekdaysRegex = defaultWeekdaysRegex;\n            }\n            return this._weekdaysStrictRegex && isStrict\n                ? this._weekdaysStrictRegex\n                : this._weekdaysRegex;\n        }\n    }\n\n    function weekdaysShortRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysShortStrictRegex;\n            } else {\n                return this._weekdaysShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n                this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n            }\n            return this._weekdaysShortStrictRegex && isStrict\n                ? this._weekdaysShortStrictRegex\n                : this._weekdaysShortRegex;\n        }\n    }\n\n    function weekdaysMinRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysMinStrictRegex;\n            } else {\n                return this._weekdaysMinRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n                this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n            }\n            return this._weekdaysMinStrictRegex && isStrict\n                ? this._weekdaysMinStrictRegex\n                : this._weekdaysMinRegex;\n        }\n    }\n\n    function computeWeekdaysParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var minPieces = [],\n            shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            minp,\n            shortp,\n            longp;\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, 1]).day(i);\n            minp = regexEscape(this.weekdaysMin(mom, ''));\n            shortp = regexEscape(this.weekdaysShort(mom, ''));\n            longp = regexEscape(this.weekdays(mom, ''));\n            minPieces.push(minp);\n            shortPieces.push(shortp);\n            longPieces.push(longp);\n            mixedPieces.push(minp);\n            mixedPieces.push(shortp);\n            mixedPieces.push(longp);\n        }\n        // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n        // will match the longer piece.\n        minPieces.sort(cmpLenRev);\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._weekdaysShortRegex = this._weekdaysRegex;\n        this._weekdaysMinRegex = this._weekdaysRegex;\n\n        this._weekdaysStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysMinStrictRegex = new RegExp(\n            '^(' + minPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    function hFormat() {\n        return this.hours() % 12 || 12;\n    }\n\n    function kFormat() {\n        return this.hours() || 24;\n    }\n\n    addFormatToken('H', ['HH', 2], 0, 'hour');\n    addFormatToken('h', ['hh', 2], 0, hFormat);\n    addFormatToken('k', ['kk', 2], 0, kFormat);\n\n    addFormatToken('hmm', 0, 0, function () {\n        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('hmmss', 0, 0, function () {\n        return (\n            '' +\n            hFormat.apply(this) +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    addFormatToken('Hmm', 0, 0, function () {\n        return '' + this.hours() + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('Hmmss', 0, 0, function () {\n        return (\n            '' +\n            this.hours() +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    function meridiem(token, lowercase) {\n        addFormatToken(token, 0, 0, function () {\n            return this.localeData().meridiem(\n                this.hours(),\n                this.minutes(),\n                lowercase\n            );\n        });\n    }\n\n    meridiem('a', true);\n    meridiem('A', false);\n\n    // ALIASES\n\n    addUnitAlias('hour', 'h');\n\n    // PRIORITY\n    addUnitPriority('hour', 13);\n\n    // PARSING\n\n    function matchMeridiem(isStrict, locale) {\n        return locale._meridiemParse;\n    }\n\n    addRegexToken('a', matchMeridiem);\n    addRegexToken('A', matchMeridiem);\n    addRegexToken('H', match1to2);\n    addRegexToken('h', match1to2);\n    addRegexToken('k', match1to2);\n    addRegexToken('HH', match1to2, match2);\n    addRegexToken('hh', match1to2, match2);\n    addRegexToken('kk', match1to2, match2);\n\n    addRegexToken('hmm', match3to4);\n    addRegexToken('hmmss', match5to6);\n    addRegexToken('Hmm', match3to4);\n    addRegexToken('Hmmss', match5to6);\n\n    addParseToken(['H', 'HH'], HOUR);\n    addParseToken(['k', 'kk'], function (input, array, config) {\n        var kInput = toInt(input);\n        array[HOUR] = kInput === 24 ? 0 : kInput;\n    });\n    addParseToken(['a', 'A'], function (input, array, config) {\n        config._isPm = config._locale.isPM(input);\n        config._meridiem = input;\n    });\n    addParseToken(['h', 'hh'], function (input, array, config) {\n        array[HOUR] = toInt(input);\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('Hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n    });\n    addParseToken('Hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n    });\n\n    // LOCALES\n\n    function localeIsPM(input) {\n        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n        // Using charAt should be more compatible.\n        return (input + '').toLowerCase().charAt(0) === 'p';\n    }\n\n    var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n        // Setting the hour should keep the time, because the user explicitly\n        // specified which hour they want. So trying to maintain the same hour (in\n        // a new timezone) makes sense. Adding/subtracting hours does not follow\n        // this rule.\n        getSetHour = makeGetSet('Hours', true);\n\n    function localeMeridiem(hours, minutes, isLower) {\n        if (hours > 11) {\n            return isLower ? 'pm' : 'PM';\n        } else {\n            return isLower ? 'am' : 'AM';\n        }\n    }\n\n    var baseConfig = {\n        calendar: defaultCalendar,\n        longDateFormat: defaultLongDateFormat,\n        invalidDate: defaultInvalidDate,\n        ordinal: defaultOrdinal,\n        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n        relativeTime: defaultRelativeTime,\n\n        months: defaultLocaleMonths,\n        monthsShort: defaultLocaleMonthsShort,\n\n        week: defaultLocaleWeek,\n\n        weekdays: defaultLocaleWeekdays,\n        weekdaysMin: defaultLocaleWeekdaysMin,\n        weekdaysShort: defaultLocaleWeekdaysShort,\n\n        meridiemParse: defaultLocaleMeridiemParse,\n    };\n\n    // internal storage for locale config files\n    var locales = {},\n        localeFamilies = {},\n        globalLocale;\n\n    function commonPrefix(arr1, arr2) {\n        var i,\n            minl = Math.min(arr1.length, arr2.length);\n        for (i = 0; i < minl; i += 1) {\n            if (arr1[i] !== arr2[i]) {\n                return i;\n            }\n        }\n        return minl;\n    }\n\n    function normalizeLocale(key) {\n        return key ? key.toLowerCase().replace('_', '-') : key;\n    }\n\n    // pick the locale from the array\n    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n    function chooseLocale(names) {\n        var i = 0,\n            j,\n            next,\n            locale,\n            split;\n\n        while (i < names.length) {\n            split = normalizeLocale(names[i]).split('-');\n            j = split.length;\n            next = normalizeLocale(names[i + 1]);\n            next = next ? next.split('-') : null;\n            while (j > 0) {\n                locale = loadLocale(split.slice(0, j).join('-'));\n                if (locale) {\n                    return locale;\n                }\n                if (\n                    next &&\n                    next.length >= j &&\n                    commonPrefix(split, next) >= j - 1\n                ) {\n                    //the next array item is better than a shallower substring of this one\n                    break;\n                }\n                j--;\n            }\n            i++;\n        }\n        return globalLocale;\n    }\n\n    function loadLocale(name) {\n        var oldLocale = null,\n            aliasedRequire;\n        // TODO: Find a better way to register and load all the locales in Node\n        if (\n            locales[name] === undefined &&\n            typeof module !== 'undefined' &&\n            module &&\n            module.exports\n        ) {\n            try {\n                oldLocale = globalLocale._abbr;\n                aliasedRequire = require;\n                aliasedRequire('./locale/' + name);\n                getSetGlobalLocale(oldLocale);\n            } catch (e) {\n                // mark as not found to avoid repeating expensive file require call causing high CPU\n                // when trying to find en-US, en_US, en-us for every format call\n                locales[name] = null; // null means not found\n            }\n        }\n        return locales[name];\n    }\n\n    // This function will load locale and then set the global locale.  If\n    // no arguments are passed in, it will simply return the current global\n    // locale key.\n    function getSetGlobalLocale(key, values) {\n        var data;\n        if (key) {\n            if (isUndefined(values)) {\n                data = getLocale(key);\n            } else {\n                data = defineLocale(key, values);\n            }\n\n            if (data) {\n                // moment.duration._locale = moment._locale = data;\n                globalLocale = data;\n            } else {\n                if (typeof console !== 'undefined' && console.warn) {\n                    //warn user if arguments are passed but the locale could not be set\n                    console.warn(\n                        'Locale ' + key + ' not found. Did you forget to load it?'\n                    );\n                }\n            }\n        }\n\n        return globalLocale._abbr;\n    }\n\n    function defineLocale(name, config) {\n        if (config !== null) {\n            var locale,\n                parentConfig = baseConfig;\n            config.abbr = name;\n            if (locales[name] != null) {\n                deprecateSimple(\n                    'defineLocaleOverride',\n                    'use moment.updateLocale(localeName, config) to change ' +\n                        'an existing locale. moment.defineLocale(localeName, ' +\n                        'config) should only be used for creating a new locale ' +\n                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n                );\n                parentConfig = locales[name]._config;\n            } else if (config.parentLocale != null) {\n                if (locales[config.parentLocale] != null) {\n                    parentConfig = locales[config.parentLocale]._config;\n                } else {\n                    locale = loadLocale(config.parentLocale);\n                    if (locale != null) {\n                        parentConfig = locale._config;\n                    } else {\n                        if (!localeFamilies[config.parentLocale]) {\n                            localeFamilies[config.parentLocale] = [];\n                        }\n                        localeFamilies[config.parentLocale].push({\n                            name: name,\n                            config: config,\n                        });\n                        return null;\n                    }\n                }\n            }\n            locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n            if (localeFamilies[name]) {\n                localeFamilies[name].forEach(function (x) {\n                    defineLocale(x.name, x.config);\n                });\n            }\n\n            // backwards compat for now: also set the locale\n            // make sure we set the locale AFTER all child locales have been\n            // created, so we won't end up with the child locale set.\n            getSetGlobalLocale(name);\n\n            return locales[name];\n        } else {\n            // useful for testing\n            delete locales[name];\n            return null;\n        }\n    }\n\n    function updateLocale(name, config) {\n        if (config != null) {\n            var locale,\n                tmpLocale,\n                parentConfig = baseConfig;\n\n            if (locales[name] != null && locales[name].parentLocale != null) {\n                // Update existing child locale in-place to avoid memory-leaks\n                locales[name].set(mergeConfigs(locales[name]._config, config));\n            } else {\n                // MERGE\n                tmpLocale = loadLocale(name);\n                if (tmpLocale != null) {\n                    parentConfig = tmpLocale._config;\n                }\n                config = mergeConfigs(parentConfig, config);\n                if (tmpLocale == null) {\n                    // updateLocale is called for creating a new locale\n                    // Set abbr so it will have a name (getters return\n                    // undefined otherwise).\n                    config.abbr = name;\n                }\n                locale = new Locale(config);\n                locale.parentLocale = locales[name];\n                locales[name] = locale;\n            }\n\n            // backwards compat for now: also set the locale\n            getSetGlobalLocale(name);\n        } else {\n            // pass null for config to unupdate, useful for tests\n            if (locales[name] != null) {\n                if (locales[name].parentLocale != null) {\n                    locales[name] = locales[name].parentLocale;\n                    if (name === getSetGlobalLocale()) {\n                        getSetGlobalLocale(name);\n                    }\n                } else if (locales[name] != null) {\n                    delete locales[name];\n                }\n            }\n        }\n        return locales[name];\n    }\n\n    // returns locale data\n    function getLocale(key) {\n        var locale;\n\n        if (key && key._locale && key._locale._abbr) {\n            key = key._locale._abbr;\n        }\n\n        if (!key) {\n            return globalLocale;\n        }\n\n        if (!isArray(key)) {\n            //short-circuit everything else\n            locale = loadLocale(key);\n            if (locale) {\n                return locale;\n            }\n            key = [key];\n        }\n\n        return chooseLocale(key);\n    }\n\n    function listLocales() {\n        return keys(locales);\n    }\n\n    function checkOverflow(m) {\n        var overflow,\n            a = m._a;\n\n        if (a && getParsingFlags(m).overflow === -2) {\n            overflow =\n                a[MONTH] < 0 || a[MONTH] > 11\n                    ? MONTH\n                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n                    ? DATE\n                    : a[HOUR] < 0 ||\n                      a[HOUR] > 24 ||\n                      (a[HOUR] === 24 &&\n                          (a[MINUTE] !== 0 ||\n                              a[SECOND] !== 0 ||\n                              a[MILLISECOND] !== 0))\n                    ? HOUR\n                    : a[MINUTE] < 0 || a[MINUTE] > 59\n                    ? MINUTE\n                    : a[SECOND] < 0 || a[SECOND] > 59\n                    ? SECOND\n                    : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n                    ? MILLISECOND\n                    : -1;\n\n            if (\n                getParsingFlags(m)._overflowDayOfYear &&\n                (overflow < YEAR || overflow > DATE)\n            ) {\n                overflow = DATE;\n            }\n            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n                overflow = WEEK;\n            }\n            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n                overflow = WEEKDAY;\n            }\n\n            getParsingFlags(m).overflow = overflow;\n        }\n\n        return m;\n    }\n\n    // iso 8601 regex\n    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n    var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n        isoDates = [\n            ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n            ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n            ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n            ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n            ['YYYY-DDD', /\\d{4}-\\d{3}/],\n            ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n            ['YYYYYYMMDD', /[+-]\\d{10}/],\n            ['YYYYMMDD', /\\d{8}/],\n            ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n            ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n            ['YYYYDDD', /\\d{7}/],\n            ['YYYYMM', /\\d{6}/, false],\n            ['YYYY', /\\d{4}/, false],\n        ],\n        // iso time formats and regexes\n        isoTimes = [\n            ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n            ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n            ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n            ['HH:mm', /\\d\\d:\\d\\d/],\n            ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n            ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n            ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n            ['HHmm', /\\d\\d\\d\\d/],\n            ['HH', /\\d\\d/],\n        ],\n        aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n        rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n        obsOffsets = {\n            UT: 0,\n            GMT: 0,\n            EDT: -4 * 60,\n            EST: -5 * 60,\n            CDT: -5 * 60,\n            CST: -6 * 60,\n            MDT: -6 * 60,\n            MST: -7 * 60,\n            PDT: -7 * 60,\n            PST: -8 * 60,\n        };\n\n    // date from iso format\n    function configFromISO(config) {\n        var i,\n            l,\n            string = config._i,\n            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n            allowTime,\n            dateFormat,\n            timeFormat,\n            tzFormat;\n\n        if (match) {\n            getParsingFlags(config).iso = true;\n\n            for (i = 0, l = isoDates.length; i < l; i++) {\n                if (isoDates[i][1].exec(match[1])) {\n                    dateFormat = isoDates[i][0];\n                    allowTime = isoDates[i][2] !== false;\n                    break;\n                }\n            }\n            if (dateFormat == null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[3]) {\n                for (i = 0, l = isoTimes.length; i < l; i++) {\n                    if (isoTimes[i][1].exec(match[3])) {\n                        // match[2] should be 'T' or space\n                        timeFormat = (match[2] || ' ') + isoTimes[i][0];\n                        break;\n                    }\n                }\n                if (timeFormat == null) {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            if (!allowTime && timeFormat != null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[4]) {\n                if (tzRegex.exec(match[4])) {\n                    tzFormat = 'Z';\n                } else {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n            configFromStringAndFormat(config);\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    function extractFromRFC2822Strings(\n        yearStr,\n        monthStr,\n        dayStr,\n        hourStr,\n        minuteStr,\n        secondStr\n    ) {\n        var result = [\n            untruncateYear(yearStr),\n            defaultLocaleMonthsShort.indexOf(monthStr),\n            parseInt(dayStr, 10),\n            parseInt(hourStr, 10),\n            parseInt(minuteStr, 10),\n        ];\n\n        if (secondStr) {\n            result.push(parseInt(secondStr, 10));\n        }\n\n        return result;\n    }\n\n    function untruncateYear(yearStr) {\n        var year = parseInt(yearStr, 10);\n        if (year <= 49) {\n            return 2000 + year;\n        } else if (year <= 999) {\n            return 1900 + year;\n        }\n        return year;\n    }\n\n    function preprocessRFC2822(s) {\n        // Remove comments and folding whitespace and replace multiple-spaces with a single space\n        return s\n            .replace(/\\([^)]*\\)|[\\n\\t]/g, ' ')\n            .replace(/(\\s\\s+)/g, ' ')\n            .replace(/^\\s\\s*/, '')\n            .replace(/\\s\\s*$/, '');\n    }\n\n    function checkWeekday(weekdayStr, parsedInput, config) {\n        if (weekdayStr) {\n            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n                weekdayActual = new Date(\n                    parsedInput[0],\n                    parsedInput[1],\n                    parsedInput[2]\n                ).getDay();\n            if (weekdayProvided !== weekdayActual) {\n                getParsingFlags(config).weekdayMismatch = true;\n                config._isValid = false;\n                return false;\n            }\n        }\n        return true;\n    }\n\n    function calculateOffset(obsOffset, militaryOffset, numOffset) {\n        if (obsOffset) {\n            return obsOffsets[obsOffset];\n        } else if (militaryOffset) {\n            // the only allowed military tz is Z\n            return 0;\n        } else {\n            var hm = parseInt(numOffset, 10),\n                m = hm % 100,\n                h = (hm - m) / 100;\n            return h * 60 + m;\n        }\n    }\n\n    // date and time from ref 2822 format\n    function configFromRFC2822(config) {\n        var match = rfc2822.exec(preprocessRFC2822(config._i)),\n            parsedArray;\n        if (match) {\n            parsedArray = extractFromRFC2822Strings(\n                match[4],\n                match[3],\n                match[2],\n                match[5],\n                match[6],\n                match[7]\n            );\n            if (!checkWeekday(match[1], parsedArray, config)) {\n                return;\n            }\n\n            config._a = parsedArray;\n            config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n            config._d = createUTCDate.apply(null, config._a);\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n            getParsingFlags(config).rfc2822 = true;\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n    function configFromString(config) {\n        var matched = aspNetJsonRegex.exec(config._i);\n        if (matched !== null) {\n            config._d = new Date(+matched[1]);\n            return;\n        }\n\n        configFromISO(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        configFromRFC2822(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        if (config._strict) {\n            config._isValid = false;\n        } else {\n            // Final attempt, use Input Fallback\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    hooks.createFromInputFallback = deprecate(\n        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n        function (config) {\n            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n        }\n    );\n\n    // Pick the first defined of two or three arguments.\n    function defaults(a, b, c) {\n        if (a != null) {\n            return a;\n        }\n        if (b != null) {\n            return b;\n        }\n        return c;\n    }\n\n    function currentDateArray(config) {\n        // hooks is actually the exported moment object\n        var nowValue = new Date(hooks.now());\n        if (config._useUTC) {\n            return [\n                nowValue.getUTCFullYear(),\n                nowValue.getUTCMonth(),\n                nowValue.getUTCDate(),\n            ];\n        }\n        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n    }\n\n    // convert an array to a date.\n    // the array should mirror the parameters below\n    // note: all values past the year are optional and will default to the lowest possible value.\n    // [year, month, day , hour, minute, second, millisecond]\n    function configFromArray(config) {\n        var i,\n            date,\n            input = [],\n            currentDate,\n            expectedWeekday,\n            yearToUse;\n\n        if (config._d) {\n            return;\n        }\n\n        currentDate = currentDateArray(config);\n\n        //compute day of the year from weeks and weekdays\n        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n            dayOfYearFromWeekInfo(config);\n        }\n\n        //if the day of the year is set, figure out what it is\n        if (config._dayOfYear != null) {\n            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n            if (\n                config._dayOfYear > daysInYear(yearToUse) ||\n                config._dayOfYear === 0\n            ) {\n                getParsingFlags(config)._overflowDayOfYear = true;\n            }\n\n            date = createUTCDate(yearToUse, 0, config._dayOfYear);\n            config._a[MONTH] = date.getUTCMonth();\n            config._a[DATE] = date.getUTCDate();\n        }\n\n        // Default to current date.\n        // * if no year, month, day of month are given, default to today\n        // * if day of month is given, default month and year\n        // * if month is given, default only year\n        // * if year is given, don't default anything\n        for (i = 0; i < 3 && config._a[i] == null; ++i) {\n            config._a[i] = input[i] = currentDate[i];\n        }\n\n        // Zero out whatever was not defaulted, including time\n        for (; i < 7; i++) {\n            config._a[i] = input[i] =\n                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n        }\n\n        // Check for 24:00:00.000\n        if (\n            config._a[HOUR] === 24 &&\n            config._a[MINUTE] === 0 &&\n            config._a[SECOND] === 0 &&\n            config._a[MILLISECOND] === 0\n        ) {\n            config._nextDay = true;\n            config._a[HOUR] = 0;\n        }\n\n        config._d = (config._useUTC ? createUTCDate : createDate).apply(\n            null,\n            input\n        );\n        expectedWeekday = config._useUTC\n            ? config._d.getUTCDay()\n            : config._d.getDay();\n\n        // Apply timezone offset from input. The actual utcOffset can be changed\n        // with parseZone.\n        if (config._tzm != null) {\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n        }\n\n        if (config._nextDay) {\n            config._a[HOUR] = 24;\n        }\n\n        // check for mismatching day of week\n        if (\n            config._w &&\n            typeof config._w.d !== 'undefined' &&\n            config._w.d !== expectedWeekday\n        ) {\n            getParsingFlags(config).weekdayMismatch = true;\n        }\n    }\n\n    function dayOfYearFromWeekInfo(config) {\n        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n        w = config._w;\n        if (w.GG != null || w.W != null || w.E != null) {\n            dow = 1;\n            doy = 4;\n\n            // TODO: We need to take the current isoWeekYear, but that depends on\n            // how we interpret now (local, utc, fixed offset). So create\n            // a now version of current config (take local/utc/offset flags, and\n            // create now).\n            weekYear = defaults(\n                w.GG,\n                config._a[YEAR],\n                weekOfYear(createLocal(), 1, 4).year\n            );\n            week = defaults(w.W, 1);\n            weekday = defaults(w.E, 1);\n            if (weekday < 1 || weekday > 7) {\n                weekdayOverflow = true;\n            }\n        } else {\n            dow = config._locale._week.dow;\n            doy = config._locale._week.doy;\n\n            curWeek = weekOfYear(createLocal(), dow, doy);\n\n            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n            // Default to current week.\n            week = defaults(w.w, curWeek.week);\n\n            if (w.d != null) {\n                // weekday -- low day numbers are considered next week\n                weekday = w.d;\n                if (weekday < 0 || weekday > 6) {\n                    weekdayOverflow = true;\n                }\n            } else if (w.e != null) {\n                // local weekday -- counting starts from beginning of week\n                weekday = w.e + dow;\n                if (w.e < 0 || w.e > 6) {\n                    weekdayOverflow = true;\n                }\n            } else {\n                // default to beginning of week\n                weekday = dow;\n            }\n        }\n        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n            getParsingFlags(config)._overflowWeeks = true;\n        } else if (weekdayOverflow != null) {\n            getParsingFlags(config)._overflowWeekday = true;\n        } else {\n            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n            config._a[YEAR] = temp.year;\n            config._dayOfYear = temp.dayOfYear;\n        }\n    }\n\n    // constant that refers to the ISO standard\n    hooks.ISO_8601 = function () {};\n\n    // constant that refers to the RFC 2822 form\n    hooks.RFC_2822 = function () {};\n\n    // date from string and format string\n    function configFromStringAndFormat(config) {\n        // TODO: Move this to another part of the creation flow to prevent circular deps\n        if (config._f === hooks.ISO_8601) {\n            configFromISO(config);\n            return;\n        }\n        if (config._f === hooks.RFC_2822) {\n            configFromRFC2822(config);\n            return;\n        }\n        config._a = [];\n        getParsingFlags(config).empty = true;\n\n        // This array is used to make a Date, either with `new Date` or `Date.UTC`\n        var string = '' + config._i,\n            i,\n            parsedInput,\n            tokens,\n            token,\n            skipped,\n            stringLength = string.length,\n            totalParsedInputLength = 0,\n            era;\n\n        tokens =\n            expandFormat(config._f, config._locale).match(formattingTokens) || [];\n\n        for (i = 0; i < tokens.length; i++) {\n            token = tokens[i];\n            parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n                [])[0];\n            if (parsedInput) {\n                skipped = string.substr(0, string.indexOf(parsedInput));\n                if (skipped.length > 0) {\n                    getParsingFlags(config).unusedInput.push(skipped);\n                }\n                string = string.slice(\n                    string.indexOf(parsedInput) + parsedInput.length\n                );\n                totalParsedInputLength += parsedInput.length;\n            }\n            // don't parse if it's not a known token\n            if (formatTokenFunctions[token]) {\n                if (parsedInput) {\n                    getParsingFlags(config).empty = false;\n                } else {\n                    getParsingFlags(config).unusedTokens.push(token);\n                }\n                addTimeToArrayFromToken(token, parsedInput, config);\n            } else if (config._strict && !parsedInput) {\n                getParsingFlags(config).unusedTokens.push(token);\n            }\n        }\n\n        // add remaining unparsed input length to the string\n        getParsingFlags(config).charsLeftOver =\n            stringLength - totalParsedInputLength;\n        if (string.length > 0) {\n            getParsingFlags(config).unusedInput.push(string);\n        }\n\n        // clear _12h flag if hour is <= 12\n        if (\n            config._a[HOUR] <= 12 &&\n            getParsingFlags(config).bigHour === true &&\n            config._a[HOUR] > 0\n        ) {\n            getParsingFlags(config).bigHour = undefined;\n        }\n\n        getParsingFlags(config).parsedDateParts = config._a.slice(0);\n        getParsingFlags(config).meridiem = config._meridiem;\n        // handle meridiem\n        config._a[HOUR] = meridiemFixWrap(\n            config._locale,\n            config._a[HOUR],\n            config._meridiem\n        );\n\n        // handle era\n        era = getParsingFlags(config).era;\n        if (era !== null) {\n            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n        }\n\n        configFromArray(config);\n        checkOverflow(config);\n    }\n\n    function meridiemFixWrap(locale, hour, meridiem) {\n        var isPm;\n\n        if (meridiem == null) {\n            // nothing to do\n            return hour;\n        }\n        if (locale.meridiemHour != null) {\n            return locale.meridiemHour(hour, meridiem);\n        } else if (locale.isPM != null) {\n            // Fallback\n            isPm = locale.isPM(meridiem);\n            if (isPm && hour < 12) {\n                hour += 12;\n            }\n            if (!isPm && hour === 12) {\n                hour = 0;\n            }\n            return hour;\n        } else {\n            // this is not supposed to happen\n            return hour;\n        }\n    }\n\n    // date from string and array of format strings\n    function configFromStringAndArray(config) {\n        var tempConfig,\n            bestMoment,\n            scoreToBeat,\n            i,\n            currentScore,\n            validFormatFound,\n            bestFormatIsValid = false;\n\n        if (config._f.length === 0) {\n            getParsingFlags(config).invalidFormat = true;\n            config._d = new Date(NaN);\n            return;\n        }\n\n        for (i = 0; i < config._f.length; i++) {\n            currentScore = 0;\n            validFormatFound = false;\n            tempConfig = copyConfig({}, config);\n            if (config._useUTC != null) {\n                tempConfig._useUTC = config._useUTC;\n            }\n            tempConfig._f = config._f[i];\n            configFromStringAndFormat(tempConfig);\n\n            if (isValid(tempConfig)) {\n                validFormatFound = true;\n            }\n\n            // if there is any input that was not parsed add a penalty for that format\n            currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n            //or tokens\n            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n            getParsingFlags(tempConfig).score = currentScore;\n\n            if (!bestFormatIsValid) {\n                if (\n                    scoreToBeat == null ||\n                    currentScore < scoreToBeat ||\n                    validFormatFound\n                ) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                    if (validFormatFound) {\n                        bestFormatIsValid = true;\n                    }\n                }\n            } else {\n                if (currentScore < scoreToBeat) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                }\n            }\n        }\n\n        extend(config, bestMoment || tempConfig);\n    }\n\n    function configFromObject(config) {\n        if (config._d) {\n            return;\n        }\n\n        var i = normalizeObjectUnits(config._i),\n            dayOrDate = i.day === undefined ? i.date : i.day;\n        config._a = map(\n            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n            function (obj) {\n                return obj && parseInt(obj, 10);\n            }\n        );\n\n        configFromArray(config);\n    }\n\n    function createFromConfig(config) {\n        var res = new Moment(checkOverflow(prepareConfig(config)));\n        if (res._nextDay) {\n            // Adding is smart enough around DST\n            res.add(1, 'd');\n            res._nextDay = undefined;\n        }\n\n        return res;\n    }\n\n    function prepareConfig(config) {\n        var input = config._i,\n            format = config._f;\n\n        config._locale = config._locale || getLocale(config._l);\n\n        if (input === null || (format === undefined && input === '')) {\n            return createInvalid({ nullInput: true });\n        }\n\n        if (typeof input === 'string') {\n            config._i = input = config._locale.preparse(input);\n        }\n\n        if (isMoment(input)) {\n            return new Moment(checkOverflow(input));\n        } else if (isDate(input)) {\n            config._d = input;\n        } else if (isArray(format)) {\n            configFromStringAndArray(config);\n        } else if (format) {\n            configFromStringAndFormat(config);\n        } else {\n            configFromInput(config);\n        }\n\n        if (!isValid(config)) {\n            config._d = null;\n        }\n\n        return config;\n    }\n\n    function configFromInput(config) {\n        var input = config._i;\n        if (isUndefined(input)) {\n            config._d = new Date(hooks.now());\n        } else if (isDate(input)) {\n            config._d = new Date(input.valueOf());\n        } else if (typeof input === 'string') {\n            configFromString(config);\n        } else if (isArray(input)) {\n            config._a = map(input.slice(0), function (obj) {\n                return parseInt(obj, 10);\n            });\n            configFromArray(config);\n        } else if (isObject(input)) {\n            configFromObject(config);\n        } else if (isNumber(input)) {\n            // from milliseconds\n            config._d = new Date(input);\n        } else {\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    function createLocalOrUTC(input, format, locale, strict, isUTC) {\n        var c = {};\n\n        if (format === true || format === false) {\n            strict = format;\n            format = undefined;\n        }\n\n        if (locale === true || locale === false) {\n            strict = locale;\n            locale = undefined;\n        }\n\n        if (\n            (isObject(input) && isObjectEmpty(input)) ||\n            (isArray(input) && input.length === 0)\n        ) {\n            input = undefined;\n        }\n        // object construction must be done this way.\n        // https://github.com/moment/moment/issues/1423\n        c._isAMomentObject = true;\n        c._useUTC = c._isUTC = isUTC;\n        c._l = locale;\n        c._i = input;\n        c._f = format;\n        c._strict = strict;\n\n        return createFromConfig(c);\n    }\n\n    function createLocal(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, false);\n    }\n\n    var prototypeMin = deprecate(\n            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other < this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        ),\n        prototypeMax = deprecate(\n            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other > this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        );\n\n    // Pick a moment m from moments so that m[fn](other) is true for all\n    // other. This relies on the function fn to be transitive.\n    //\n    // moments should either be an array of moment objects or an array, whose\n    // first element is an array of moment objects.\n    function pickBy(fn, moments) {\n        var res, i;\n        if (moments.length === 1 && isArray(moments[0])) {\n            moments = moments[0];\n        }\n        if (!moments.length) {\n            return createLocal();\n        }\n        res = moments[0];\n        for (i = 1; i < moments.length; ++i) {\n            if (!moments[i].isValid() || moments[i][fn](res)) {\n                res = moments[i];\n            }\n        }\n        return res;\n    }\n\n    // TODO: Use [].sort instead?\n    function min() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isBefore', args);\n    }\n\n    function max() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isAfter', args);\n    }\n\n    var now = function () {\n        return Date.now ? Date.now() : +new Date();\n    };\n\n    var ordering = [\n        'year',\n        'quarter',\n        'month',\n        'week',\n        'day',\n        'hour',\n        'minute',\n        'second',\n        'millisecond',\n    ];\n\n    function isDurationValid(m) {\n        var key,\n            unitHasDecimal = false,\n            i;\n        for (key in m) {\n            if (\n                hasOwnProp(m, key) &&\n                !(\n                    indexOf.call(ordering, key) !== -1 &&\n                    (m[key] == null || !isNaN(m[key]))\n                )\n            ) {\n                return false;\n            }\n        }\n\n        for (i = 0; i < ordering.length; ++i) {\n            if (m[ordering[i]]) {\n                if (unitHasDecimal) {\n                    return false; // only allow non-integers for smallest unit\n                }\n                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n                    unitHasDecimal = true;\n                }\n            }\n        }\n\n        return true;\n    }\n\n    function isValid$1() {\n        return this._isValid;\n    }\n\n    function createInvalid$1() {\n        return createDuration(NaN);\n    }\n\n    function Duration(duration) {\n        var normalizedInput = normalizeObjectUnits(duration),\n            years = normalizedInput.year || 0,\n            quarters = normalizedInput.quarter || 0,\n            months = normalizedInput.month || 0,\n            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n            days = normalizedInput.day || 0,\n            hours = normalizedInput.hour || 0,\n            minutes = normalizedInput.minute || 0,\n            seconds = normalizedInput.second || 0,\n            milliseconds = normalizedInput.millisecond || 0;\n\n        this._isValid = isDurationValid(normalizedInput);\n\n        // representation for dateAddRemove\n        this._milliseconds =\n            +milliseconds +\n            seconds * 1e3 + // 1000\n            minutes * 6e4 + // 1000 * 60\n            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n        // Because of dateAddRemove treats 24 hours as different from a\n        // day when working around DST, we need to store them separately\n        this._days = +days + weeks * 7;\n        // It is impossible to translate months into days without knowing\n        // which months you are are talking about, so we have to store\n        // it separately.\n        this._months = +months + quarters * 3 + years * 12;\n\n        this._data = {};\n\n        this._locale = getLocale();\n\n        this._bubble();\n    }\n\n    function isDuration(obj) {\n        return obj instanceof Duration;\n    }\n\n    function absRound(number) {\n        if (number < 0) {\n            return Math.round(-1 * number) * -1;\n        } else {\n            return Math.round(number);\n        }\n    }\n\n    // compare two arrays, return the number of differences\n    function compareArrays(array1, array2, dontConvert) {\n        var len = Math.min(array1.length, array2.length),\n            lengthDiff = Math.abs(array1.length - array2.length),\n            diffs = 0,\n            i;\n        for (i = 0; i < len; i++) {\n            if (\n                (dontConvert && array1[i] !== array2[i]) ||\n                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n            ) {\n                diffs++;\n            }\n        }\n        return diffs + lengthDiff;\n    }\n\n    // FORMATTING\n\n    function offset(token, separator) {\n        addFormatToken(token, 0, 0, function () {\n            var offset = this.utcOffset(),\n                sign = '+';\n            if (offset < 0) {\n                offset = -offset;\n                sign = '-';\n            }\n            return (\n                sign +\n                zeroFill(~~(offset / 60), 2) +\n                separator +\n                zeroFill(~~offset % 60, 2)\n            );\n        });\n    }\n\n    offset('Z', ':');\n    offset('ZZ', '');\n\n    // PARSING\n\n    addRegexToken('Z', matchShortOffset);\n    addRegexToken('ZZ', matchShortOffset);\n    addParseToken(['Z', 'ZZ'], function (input, array, config) {\n        config._useUTC = true;\n        config._tzm = offsetFromString(matchShortOffset, input);\n    });\n\n    // HELPERS\n\n    // timezone chunker\n    // '+10:00' > ['10',  '00']\n    // '-1530'  > ['-15', '30']\n    var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n    function offsetFromString(matcher, string) {\n        var matches = (string || '').match(matcher),\n            chunk,\n            parts,\n            minutes;\n\n        if (matches === null) {\n            return null;\n        }\n\n        chunk = matches[matches.length - 1] || [];\n        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n        minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n    }\n\n    // Return a moment from input, that is local/utc/zone equivalent to model.\n    function cloneWithOffset(input, model) {\n        var res, diff;\n        if (model._isUTC) {\n            res = model.clone();\n            diff =\n                (isMoment(input) || isDate(input)\n                    ? input.valueOf()\n                    : createLocal(input).valueOf()) - res.valueOf();\n            // Use low-level api, because this fn is low-level api.\n            res._d.setTime(res._d.valueOf() + diff);\n            hooks.updateOffset(res, false);\n            return res;\n        } else {\n            return createLocal(input).local();\n        }\n    }\n\n    function getDateOffset(m) {\n        // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n        // https://github.com/moment/moment/pull/1871\n        return -Math.round(m._d.getTimezoneOffset());\n    }\n\n    // HOOKS\n\n    // This function will be called whenever a moment is mutated.\n    // It is intended to keep the offset in sync with the timezone.\n    hooks.updateOffset = function () {};\n\n    // MOMENTS\n\n    // keepLocalTime = true means only change the timezone, without\n    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n    // +0200, so we adjust the time as needed, to be valid.\n    //\n    // Keeping the time actually adds/subtracts (one hour)\n    // from the actual represented time. That is why we call updateOffset\n    // a second time. In case it wants us to change the offset again\n    // _changeInProgress == true case, then we have to adjust, because\n    // there is no such time in the given timezone.\n    function getSetOffset(input, keepLocalTime, keepMinutes) {\n        var offset = this._offset || 0,\n            localAdjust;\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        if (input != null) {\n            if (typeof input === 'string') {\n                input = offsetFromString(matchShortOffset, input);\n                if (input === null) {\n                    return this;\n                }\n            } else if (Math.abs(input) < 16 && !keepMinutes) {\n                input = input * 60;\n            }\n            if (!this._isUTC && keepLocalTime) {\n                localAdjust = getDateOffset(this);\n            }\n            this._offset = input;\n            this._isUTC = true;\n            if (localAdjust != null) {\n                this.add(localAdjust, 'm');\n            }\n            if (offset !== input) {\n                if (!keepLocalTime || this._changeInProgress) {\n                    addSubtract(\n                        this,\n                        createDuration(input - offset, 'm'),\n                        1,\n                        false\n                    );\n                } else if (!this._changeInProgress) {\n                    this._changeInProgress = true;\n                    hooks.updateOffset(this, true);\n                    this._changeInProgress = null;\n                }\n            }\n            return this;\n        } else {\n            return this._isUTC ? offset : getDateOffset(this);\n        }\n    }\n\n    function getSetZone(input, keepLocalTime) {\n        if (input != null) {\n            if (typeof input !== 'string') {\n                input = -input;\n            }\n\n            this.utcOffset(input, keepLocalTime);\n\n            return this;\n        } else {\n            return -this.utcOffset();\n        }\n    }\n\n    function setOffsetToUTC(keepLocalTime) {\n        return this.utcOffset(0, keepLocalTime);\n    }\n\n    function setOffsetToLocal(keepLocalTime) {\n        if (this._isUTC) {\n            this.utcOffset(0, keepLocalTime);\n            this._isUTC = false;\n\n            if (keepLocalTime) {\n                this.subtract(getDateOffset(this), 'm');\n            }\n        }\n        return this;\n    }\n\n    function setOffsetToParsedOffset() {\n        if (this._tzm != null) {\n            this.utcOffset(this._tzm, false, true);\n        } else if (typeof this._i === 'string') {\n            var tZone = offsetFromString(matchOffset, this._i);\n            if (tZone != null) {\n                this.utcOffset(tZone);\n            } else {\n                this.utcOffset(0, true);\n            }\n        }\n        return this;\n    }\n\n    function hasAlignedHourOffset(input) {\n        if (!this.isValid()) {\n            return false;\n        }\n        input = input ? createLocal(input).utcOffset() : 0;\n\n        return (this.utcOffset() - input) % 60 === 0;\n    }\n\n    function isDaylightSavingTime() {\n        return (\n            this.utcOffset() > this.clone().month(0).utcOffset() ||\n            this.utcOffset() > this.clone().month(5).utcOffset()\n        );\n    }\n\n    function isDaylightSavingTimeShifted() {\n        if (!isUndefined(this._isDSTShifted)) {\n            return this._isDSTShifted;\n        }\n\n        var c = {},\n            other;\n\n        copyConfig(c, this);\n        c = prepareConfig(c);\n\n        if (c._a) {\n            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n            this._isDSTShifted =\n                this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n        } else {\n            this._isDSTShifted = false;\n        }\n\n        return this._isDSTShifted;\n    }\n\n    function isLocal() {\n        return this.isValid() ? !this._isUTC : false;\n    }\n\n    function isUtcOffset() {\n        return this.isValid() ? this._isUTC : false;\n    }\n\n    function isUtc() {\n        return this.isValid() ? this._isUTC && this._offset === 0 : false;\n    }\n\n    // ASP.NET json date format regex\n    var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n        // and further modified to allow for strings containing both week and day\n        isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n    function createDuration(input, key) {\n        var duration = input,\n            // matching against regexp is expensive, do it on demand\n            match = null,\n            sign,\n            ret,\n            diffRes;\n\n        if (isDuration(input)) {\n            duration = {\n                ms: input._milliseconds,\n                d: input._days,\n                M: input._months,\n            };\n        } else if (isNumber(input) || !isNaN(+input)) {\n            duration = {};\n            if (key) {\n                duration[key] = +input;\n            } else {\n                duration.milliseconds = +input;\n            }\n        } else if ((match = aspNetRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: 0,\n                d: toInt(match[DATE]) * sign,\n                h: toInt(match[HOUR]) * sign,\n                m: toInt(match[MINUTE]) * sign,\n                s: toInt(match[SECOND]) * sign,\n                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n            };\n        } else if ((match = isoRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: parseIso(match[2], sign),\n                M: parseIso(match[3], sign),\n                w: parseIso(match[4], sign),\n                d: parseIso(match[5], sign),\n                h: parseIso(match[6], sign),\n                m: parseIso(match[7], sign),\n                s: parseIso(match[8], sign),\n            };\n        } else if (duration == null) {\n            // checks for null or undefined\n            duration = {};\n        } else if (\n            typeof duration === 'object' &&\n            ('from' in duration || 'to' in duration)\n        ) {\n            diffRes = momentsDifference(\n                createLocal(duration.from),\n                createLocal(duration.to)\n            );\n\n            duration = {};\n            duration.ms = diffRes.milliseconds;\n            duration.M = diffRes.months;\n        }\n\n        ret = new Duration(duration);\n\n        if (isDuration(input) && hasOwnProp(input, '_locale')) {\n            ret._locale = input._locale;\n        }\n\n        if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n            ret._isValid = input._isValid;\n        }\n\n        return ret;\n    }\n\n    createDuration.fn = Duration.prototype;\n    createDuration.invalid = createInvalid$1;\n\n    function parseIso(inp, sign) {\n        // We'd normally use ~~inp for this, but unfortunately it also\n        // converts floats to ints.\n        // inp may be undefined, so careful calling replace on it.\n        var res = inp && parseFloat(inp.replace(',', '.'));\n        // apply sign while we're at it\n        return (isNaN(res) ? 0 : res) * sign;\n    }\n\n    function positiveMomentsDifference(base, other) {\n        var res = {};\n\n        res.months =\n            other.month() - base.month() + (other.year() - base.year()) * 12;\n        if (base.clone().add(res.months, 'M').isAfter(other)) {\n            --res.months;\n        }\n\n        res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n        return res;\n    }\n\n    function momentsDifference(base, other) {\n        var res;\n        if (!(base.isValid() && other.isValid())) {\n            return { milliseconds: 0, months: 0 };\n        }\n\n        other = cloneWithOffset(other, base);\n        if (base.isBefore(other)) {\n            res = positiveMomentsDifference(base, other);\n        } else {\n            res = positiveMomentsDifference(other, base);\n            res.milliseconds = -res.milliseconds;\n            res.months = -res.months;\n        }\n\n        return res;\n    }\n\n    // TODO: remove 'name' arg after deprecation is removed\n    function createAdder(direction, name) {\n        return function (val, period) {\n            var dur, tmp;\n            //invert the arguments, but complain about it\n            if (period !== null && !isNaN(+period)) {\n                deprecateSimple(\n                    name,\n                    'moment().' +\n                        name +\n                        '(period, number) is deprecated. Please use moment().' +\n                        name +\n                        '(number, period). ' +\n                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n                );\n                tmp = val;\n                val = period;\n                period = tmp;\n            }\n\n            dur = createDuration(val, period);\n            addSubtract(this, dur, direction);\n            return this;\n        };\n    }\n\n    function addSubtract(mom, duration, isAdding, updateOffset) {\n        var milliseconds = duration._milliseconds,\n            days = absRound(duration._days),\n            months = absRound(duration._months);\n\n        if (!mom.isValid()) {\n            // No op\n            return;\n        }\n\n        updateOffset = updateOffset == null ? true : updateOffset;\n\n        if (months) {\n            setMonth(mom, get(mom, 'Month') + months * isAdding);\n        }\n        if (days) {\n            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n        }\n        if (milliseconds) {\n            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n        }\n        if (updateOffset) {\n            hooks.updateOffset(mom, days || months);\n        }\n    }\n\n    var add = createAdder(1, 'add'),\n        subtract = createAdder(-1, 'subtract');\n\n    function isString(input) {\n        return typeof input === 'string' || input instanceof String;\n    }\n\n    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n    function isMomentInput(input) {\n        return (\n            isMoment(input) ||\n            isDate(input) ||\n            isString(input) ||\n            isNumber(input) ||\n            isNumberOrStringArray(input) ||\n            isMomentInputObject(input) ||\n            input === null ||\n            input === undefined\n        );\n    }\n\n    function isMomentInputObject(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'years',\n                'year',\n                'y',\n                'months',\n                'month',\n                'M',\n                'days',\n                'day',\n                'd',\n                'dates',\n                'date',\n                'D',\n                'hours',\n                'hour',\n                'h',\n                'minutes',\n                'minute',\n                'm',\n                'seconds',\n                'second',\n                's',\n                'milliseconds',\n                'millisecond',\n                'ms',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function isNumberOrStringArray(input) {\n        var arrayTest = isArray(input),\n            dataTypeTest = false;\n        if (arrayTest) {\n            dataTypeTest =\n                input.filter(function (item) {\n                    return !isNumber(item) && isString(input);\n                }).length === 0;\n        }\n        return arrayTest && dataTypeTest;\n    }\n\n    function isCalendarSpec(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'sameDay',\n                'nextDay',\n                'lastDay',\n                'nextWeek',\n                'lastWeek',\n                'sameElse',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function getCalendarFormat(myMoment, now) {\n        var diff = myMoment.diff(now, 'days', true);\n        return diff < -6\n            ? 'sameElse'\n            : diff < -1\n            ? 'lastWeek'\n            : diff < 0\n            ? 'lastDay'\n            : diff < 1\n            ? 'sameDay'\n            : diff < 2\n            ? 'nextDay'\n            : diff < 7\n            ? 'nextWeek'\n            : 'sameElse';\n    }\n\n    function calendar$1(time, formats) {\n        // Support for single parameter, formats only overload to the calendar function\n        if (arguments.length === 1) {\n            if (!arguments[0]) {\n                time = undefined;\n                formats = undefined;\n            } else if (isMomentInput(arguments[0])) {\n                time = arguments[0];\n                formats = undefined;\n            } else if (isCalendarSpec(arguments[0])) {\n                formats = arguments[0];\n                time = undefined;\n            }\n        }\n        // We want to compare the start of today, vs this.\n        // Getting start-of-today depends on whether we're local/utc/offset or not.\n        var now = time || createLocal(),\n            sod = cloneWithOffset(now, this).startOf('day'),\n            format = hooks.calendarFormat(this, sod) || 'sameElse',\n            output =\n                formats &&\n                (isFunction(formats[format])\n                    ? formats[format].call(this, now)\n                    : formats[format]);\n\n        return this.format(\n            output || this.localeData().calendar(format, this, createLocal(now))\n        );\n    }\n\n    function clone() {\n        return new Moment(this);\n    }\n\n    function isAfter(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() > localInput.valueOf();\n        } else {\n            return localInput.valueOf() < this.clone().startOf(units).valueOf();\n        }\n    }\n\n    function isBefore(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() < localInput.valueOf();\n        } else {\n            return this.clone().endOf(units).valueOf() < localInput.valueOf();\n        }\n    }\n\n    function isBetween(from, to, units, inclusivity) {\n        var localFrom = isMoment(from) ? from : createLocal(from),\n            localTo = isMoment(to) ? to : createLocal(to);\n        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n            return false;\n        }\n        inclusivity = inclusivity || '()';\n        return (\n            (inclusivity[0] === '('\n                ? this.isAfter(localFrom, units)\n                : !this.isBefore(localFrom, units)) &&\n            (inclusivity[1] === ')'\n                ? this.isBefore(localTo, units)\n                : !this.isAfter(localTo, units))\n        );\n    }\n\n    function isSame(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input),\n            inputMs;\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() === localInput.valueOf();\n        } else {\n            inputMs = localInput.valueOf();\n            return (\n                this.clone().startOf(units).valueOf() <= inputMs &&\n                inputMs <= this.clone().endOf(units).valueOf()\n            );\n        }\n    }\n\n    function isSameOrAfter(input, units) {\n        return this.isSame(input, units) || this.isAfter(input, units);\n    }\n\n    function isSameOrBefore(input, units) {\n        return this.isSame(input, units) || this.isBefore(input, units);\n    }\n\n    function diff(input, units, asFloat) {\n        var that, zoneDelta, output;\n\n        if (!this.isValid()) {\n            return NaN;\n        }\n\n        that = cloneWithOffset(input, this);\n\n        if (!that.isValid()) {\n            return NaN;\n        }\n\n        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n        units = normalizeUnits(units);\n\n        switch (units) {\n            case 'year':\n                output = monthDiff(this, that) / 12;\n                break;\n            case 'month':\n                output = monthDiff(this, that);\n                break;\n            case 'quarter':\n                output = monthDiff(this, that) / 3;\n                break;\n            case 'second':\n                output = (this - that) / 1e3;\n                break; // 1000\n            case 'minute':\n                output = (this - that) / 6e4;\n                break; // 1000 * 60\n            case 'hour':\n                output = (this - that) / 36e5;\n                break; // 1000 * 60 * 60\n            case 'day':\n                output = (this - that - zoneDelta) / 864e5;\n                break; // 1000 * 60 * 60 * 24, negate dst\n            case 'week':\n                output = (this - that - zoneDelta) / 6048e5;\n                break; // 1000 * 60 * 60 * 24 * 7, negate dst\n            default:\n                output = this - that;\n        }\n\n        return asFloat ? output : absFloor(output);\n    }\n\n    function monthDiff(a, b) {\n        if (a.date() < b.date()) {\n            // end-of-month calculations work correct when the start month has more\n            // days than the end month.\n            return -monthDiff(b, a);\n        }\n        // difference in months\n        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n            // b is in (anchor - 1 month, anchor + 1 month)\n            anchor = a.clone().add(wholeMonthDiff, 'months'),\n            anchor2,\n            adjust;\n\n        if (b - anchor < 0) {\n            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor - anchor2);\n        } else {\n            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor2 - anchor);\n        }\n\n        //check for negative zero, return zero if negative zero\n        return -(wholeMonthDiff + adjust) || 0;\n    }\n\n    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n    function toString() {\n        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n    }\n\n    function toISOString(keepOffset) {\n        if (!this.isValid()) {\n            return null;\n        }\n        var utc = keepOffset !== true,\n            m = utc ? this.clone().utc() : this;\n        if (m.year() < 0 || m.year() > 9999) {\n            return formatMoment(\n                m,\n                utc\n                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n            );\n        }\n        if (isFunction(Date.prototype.toISOString)) {\n            // native implementation is ~50x faster, use it when we can\n            if (utc) {\n                return this.toDate().toISOString();\n            } else {\n                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n                    .toISOString()\n                    .replace('Z', formatMoment(m, 'Z'));\n            }\n        }\n        return formatMoment(\n            m,\n            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n        );\n    }\n\n    /**\n     * Return a human readable representation of a moment that can\n     * also be evaluated to get a new moment which is the same\n     *\n     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n     */\n    function inspect() {\n        if (!this.isValid()) {\n            return 'moment.invalid(/* ' + this._i + ' */)';\n        }\n        var func = 'moment',\n            zone = '',\n            prefix,\n            year,\n            datetime,\n            suffix;\n        if (!this.isLocal()) {\n            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n            zone = 'Z';\n        }\n        prefix = '[' + func + '(\"]';\n        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n        datetime = '-MM-DD[T]HH:mm:ss.SSS';\n        suffix = zone + '[\")]';\n\n        return this.format(prefix + year + datetime + suffix);\n    }\n\n    function format(inputString) {\n        if (!inputString) {\n            inputString = this.isUtc()\n                ? hooks.defaultFormatUtc\n                : hooks.defaultFormat;\n        }\n        var output = formatMoment(this, inputString);\n        return this.localeData().postformat(output);\n    }\n\n    function from(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ to: this, from: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function fromNow(withoutSuffix) {\n        return this.from(createLocal(), withoutSuffix);\n    }\n\n    function to(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ from: this, to: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function toNow(withoutSuffix) {\n        return this.to(createLocal(), withoutSuffix);\n    }\n\n    // If passed a locale key, it will set the locale for this\n    // instance.  Otherwise, it will return the locale configuration\n    // variables for this instance.\n    function locale(key) {\n        var newLocaleData;\n\n        if (key === undefined) {\n            return this._locale._abbr;\n        } else {\n            newLocaleData = getLocale(key);\n            if (newLocaleData != null) {\n                this._locale = newLocaleData;\n            }\n            return this;\n        }\n    }\n\n    var lang = deprecate(\n        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n        function (key) {\n            if (key === undefined) {\n                return this.localeData();\n            } else {\n                return this.locale(key);\n            }\n        }\n    );\n\n    function localeData() {\n        return this._locale;\n    }\n\n    var MS_PER_SECOND = 1000,\n        MS_PER_MINUTE = 60 * MS_PER_SECOND,\n        MS_PER_HOUR = 60 * MS_PER_MINUTE,\n        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n    // actual modulo - handles negative numbers (for dates before 1970):\n    function mod$1(dividend, divisor) {\n        return ((dividend % divisor) + divisor) % divisor;\n    }\n\n    function localStartOfDate(y, m, d) {\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return new Date(y, m, d).valueOf();\n        }\n    }\n\n    function utcStartOfDate(y, m, d) {\n        // Date.UTC remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return Date.UTC(y, m, d);\n        }\n    }\n\n    function startOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year(), 0, 1);\n                break;\n            case 'quarter':\n                time = startOfDate(\n                    this.year(),\n                    this.month() - (this.month() % 3),\n                    1\n                );\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month(), 1);\n                break;\n            case 'week':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - this.weekday()\n                );\n                break;\n            case 'isoWeek':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - (this.isoWeekday() - 1)\n                );\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date());\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time -= mod$1(\n                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                    MS_PER_HOUR\n                );\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_MINUTE);\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_SECOND);\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function endOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year() + 1, 0, 1) - 1;\n                break;\n            case 'quarter':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month() - (this.month() % 3) + 3,\n                        1\n                    ) - 1;\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n                break;\n            case 'week':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - this.weekday() + 7\n                    ) - 1;\n                break;\n            case 'isoWeek':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - (this.isoWeekday() - 1) + 7\n                    ) - 1;\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time +=\n                    MS_PER_HOUR -\n                    mod$1(\n                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                        MS_PER_HOUR\n                    ) -\n                    1;\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function valueOf() {\n        return this._d.valueOf() - (this._offset || 0) * 60000;\n    }\n\n    function unix() {\n        return Math.floor(this.valueOf() / 1000);\n    }\n\n    function toDate() {\n        return new Date(this.valueOf());\n    }\n\n    function toArray() {\n        var m = this;\n        return [\n            m.year(),\n            m.month(),\n            m.date(),\n            m.hour(),\n            m.minute(),\n            m.second(),\n            m.millisecond(),\n        ];\n    }\n\n    function toObject() {\n        var m = this;\n        return {\n            years: m.year(),\n            months: m.month(),\n            date: m.date(),\n            hours: m.hours(),\n            minutes: m.minutes(),\n            seconds: m.seconds(),\n            milliseconds: m.milliseconds(),\n        };\n    }\n\n    function toJSON() {\n        // new Date(NaN).toJSON() === null\n        return this.isValid() ? this.toISOString() : null;\n    }\n\n    function isValid$2() {\n        return isValid(this);\n    }\n\n    function parsingFlags() {\n        return extend({}, getParsingFlags(this));\n    }\n\n    function invalidAt() {\n        return getParsingFlags(this).overflow;\n    }\n\n    function creationData() {\n        return {\n            input: this._i,\n            format: this._f,\n            locale: this._locale,\n            isUTC: this._isUTC,\n            strict: this._strict,\n        };\n    }\n\n    addFormatToken('N', 0, 0, 'eraAbbr');\n    addFormatToken('NN', 0, 0, 'eraAbbr');\n    addFormatToken('NNN', 0, 0, 'eraAbbr');\n    addFormatToken('NNNN', 0, 0, 'eraName');\n    addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n    addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n    addFormatToken('y', ['yy', 2], 0, 'eraYear');\n    addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n    addRegexToken('N', matchEraAbbr);\n    addRegexToken('NN', matchEraAbbr);\n    addRegexToken('NNN', matchEraAbbr);\n    addRegexToken('NNNN', matchEraName);\n    addRegexToken('NNNNN', matchEraNarrow);\n\n    addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (\n        input,\n        array,\n        config,\n        token\n    ) {\n        var era = config._locale.erasParse(input, token, config._strict);\n        if (era) {\n            getParsingFlags(config).era = era;\n        } else {\n            getParsingFlags(config).invalidEra = input;\n        }\n    });\n\n    addRegexToken('y', matchUnsigned);\n    addRegexToken('yy', matchUnsigned);\n    addRegexToken('yyy', matchUnsigned);\n    addRegexToken('yyyy', matchUnsigned);\n    addRegexToken('yo', matchEraYearOrdinal);\n\n    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n    addParseToken(['yo'], function (input, array, config, token) {\n        var match;\n        if (config._locale._eraYearOrdinalRegex) {\n            match = input.match(config._locale._eraYearOrdinalRegex);\n        }\n\n        if (config._locale.eraYearOrdinalParse) {\n            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n        } else {\n            array[YEAR] = parseInt(input, 10);\n        }\n    });\n\n    function localeEras(m, format) {\n        var i,\n            l,\n            date,\n            eras = this._eras || getLocale('en')._eras;\n        for (i = 0, l = eras.length; i < l; ++i) {\n            switch (typeof eras[i].since) {\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].since).startOf('day');\n                    eras[i].since = date.valueOf();\n                    break;\n            }\n\n            switch (typeof eras[i].until) {\n                case 'undefined':\n                    eras[i].until = +Infinity;\n                    break;\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].until).startOf('day').valueOf();\n                    eras[i].until = date.valueOf();\n                    break;\n            }\n        }\n        return eras;\n    }\n\n    function localeErasParse(eraName, format, strict) {\n        var i,\n            l,\n            eras = this.eras(),\n            name,\n            abbr,\n            narrow;\n        eraName = eraName.toUpperCase();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            name = eras[i].name.toUpperCase();\n            abbr = eras[i].abbr.toUpperCase();\n            narrow = eras[i].narrow.toUpperCase();\n\n            if (strict) {\n                switch (format) {\n                    case 'N':\n                    case 'NN':\n                    case 'NNN':\n                        if (abbr === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNN':\n                        if (name === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNNN':\n                        if (narrow === eraName) {\n                            return eras[i];\n                        }\n                        break;\n                }\n            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n                return eras[i];\n            }\n        }\n    }\n\n    function localeErasConvertYear(era, year) {\n        var dir = era.since <= era.until ? +1 : -1;\n        if (year === undefined) {\n            return hooks(era.since).year();\n        } else {\n            return hooks(era.since).year() + (year - era.offset) * dir;\n        }\n    }\n\n    function getEraName() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].name;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].name;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraNarrow() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].narrow;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].narrow;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraAbbr() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].abbr;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].abbr;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraYear() {\n        var i,\n            l,\n            dir,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (\n                (eras[i].since <= val && val <= eras[i].until) ||\n                (eras[i].until <= val && val <= eras[i].since)\n            ) {\n                return (\n                    (this.year() - hooks(eras[i].since).year()) * dir +\n                    eras[i].offset\n                );\n            }\n        }\n\n        return this.year();\n    }\n\n    function erasNameRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNameRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNameRegex : this._erasRegex;\n    }\n\n    function erasAbbrRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasAbbrRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasAbbrRegex : this._erasRegex;\n    }\n\n    function erasNarrowRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNarrowRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNarrowRegex : this._erasRegex;\n    }\n\n    function matchEraAbbr(isStrict, locale) {\n        return locale.erasAbbrRegex(isStrict);\n    }\n\n    function matchEraName(isStrict, locale) {\n        return locale.erasNameRegex(isStrict);\n    }\n\n    function matchEraNarrow(isStrict, locale) {\n        return locale.erasNarrowRegex(isStrict);\n    }\n\n    function matchEraYearOrdinal(isStrict, locale) {\n        return locale._eraYearOrdinalRegex || matchUnsigned;\n    }\n\n    function computeErasParse() {\n        var abbrPieces = [],\n            namePieces = [],\n            narrowPieces = [],\n            mixedPieces = [],\n            i,\n            l,\n            eras = this.eras();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            namePieces.push(regexEscape(eras[i].name));\n            abbrPieces.push(regexEscape(eras[i].abbr));\n            narrowPieces.push(regexEscape(eras[i].narrow));\n\n            mixedPieces.push(regexEscape(eras[i].name));\n            mixedPieces.push(regexEscape(eras[i].abbr));\n            mixedPieces.push(regexEscape(eras[i].narrow));\n        }\n\n        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n        this._erasNarrowRegex = new RegExp(\n            '^(' + narrowPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken(0, ['gg', 2], 0, function () {\n        return this.weekYear() % 100;\n    });\n\n    addFormatToken(0, ['GG', 2], 0, function () {\n        return this.isoWeekYear() % 100;\n    });\n\n    function addWeekYearFormatToken(token, getter) {\n        addFormatToken(0, [token, token.length], 0, getter);\n    }\n\n    addWeekYearFormatToken('gggg', 'weekYear');\n    addWeekYearFormatToken('ggggg', 'weekYear');\n    addWeekYearFormatToken('GGGG', 'isoWeekYear');\n    addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n    // ALIASES\n\n    addUnitAlias('weekYear', 'gg');\n    addUnitAlias('isoWeekYear', 'GG');\n\n    // PRIORITY\n\n    addUnitPriority('weekYear', 1);\n    addUnitPriority('isoWeekYear', 1);\n\n    // PARSING\n\n    addRegexToken('G', matchSigned);\n    addRegexToken('g', matchSigned);\n    addRegexToken('GG', match1to2, match2);\n    addRegexToken('gg', match1to2, match2);\n    addRegexToken('GGGG', match1to4, match4);\n    addRegexToken('gggg', match1to4, match4);\n    addRegexToken('GGGGG', match1to6, match6);\n    addRegexToken('ggggg', match1to6, match6);\n\n    addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (\n        input,\n        week,\n        config,\n        token\n    ) {\n        week[token.substr(0, 2)] = toInt(input);\n    });\n\n    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n        week[token] = hooks.parseTwoDigitYear(input);\n    });\n\n    // MOMENTS\n\n    function getSetWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.week(),\n            this.weekday(),\n            this.localeData()._week.dow,\n            this.localeData()._week.doy\n        );\n    }\n\n    function getSetISOWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.isoWeek(),\n            this.isoWeekday(),\n            1,\n            4\n        );\n    }\n\n    function getISOWeeksInYear() {\n        return weeksInYear(this.year(), 1, 4);\n    }\n\n    function getISOWeeksInISOWeekYear() {\n        return weeksInYear(this.isoWeekYear(), 1, 4);\n    }\n\n    function getWeeksInYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getWeeksInWeekYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n        var weeksTarget;\n        if (input == null) {\n            return weekOfYear(this, dow, doy).year;\n        } else {\n            weeksTarget = weeksInYear(input, dow, doy);\n            if (week > weeksTarget) {\n                week = weeksTarget;\n            }\n            return setWeekAll.call(this, input, week, weekday, dow, doy);\n        }\n    }\n\n    function setWeekAll(weekYear, week, weekday, dow, doy) {\n        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n        this.year(date.getUTCFullYear());\n        this.month(date.getUTCMonth());\n        this.date(date.getUTCDate());\n        return this;\n    }\n\n    // FORMATTING\n\n    addFormatToken('Q', 0, 'Qo', 'quarter');\n\n    // ALIASES\n\n    addUnitAlias('quarter', 'Q');\n\n    // PRIORITY\n\n    addUnitPriority('quarter', 7);\n\n    // PARSING\n\n    addRegexToken('Q', match1);\n    addParseToken('Q', function (input, array) {\n        array[MONTH] = (toInt(input) - 1) * 3;\n    });\n\n    // MOMENTS\n\n    function getSetQuarter(input) {\n        return input == null\n            ? Math.ceil((this.month() + 1) / 3)\n            : this.month((input - 1) * 3 + (this.month() % 3));\n    }\n\n    // FORMATTING\n\n    addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n    // ALIASES\n\n    addUnitAlias('date', 'D');\n\n    // PRIORITY\n    addUnitPriority('date', 9);\n\n    // PARSING\n\n    addRegexToken('D', match1to2);\n    addRegexToken('DD', match1to2, match2);\n    addRegexToken('Do', function (isStrict, locale) {\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        return isStrict\n            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n            : locale._dayOfMonthOrdinalParseLenient;\n    });\n\n    addParseToken(['D', 'DD'], DATE);\n    addParseToken('Do', function (input, array) {\n        array[DATE] = toInt(input.match(match1to2)[0]);\n    });\n\n    // MOMENTS\n\n    var getSetDayOfMonth = makeGetSet('Date', true);\n\n    // FORMATTING\n\n    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n    // ALIASES\n\n    addUnitAlias('dayOfYear', 'DDD');\n\n    // PRIORITY\n    addUnitPriority('dayOfYear', 4);\n\n    // PARSING\n\n    addRegexToken('DDD', match1to3);\n    addRegexToken('DDDD', match3);\n    addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n        config._dayOfYear = toInt(input);\n    });\n\n    // HELPERS\n\n    // MOMENTS\n\n    function getSetDayOfYear(input) {\n        var dayOfYear =\n            Math.round(\n                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n            ) + 1;\n        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('m', ['mm', 2], 0, 'minute');\n\n    // ALIASES\n\n    addUnitAlias('minute', 'm');\n\n    // PRIORITY\n\n    addUnitPriority('minute', 14);\n\n    // PARSING\n\n    addRegexToken('m', match1to2);\n    addRegexToken('mm', match1to2, match2);\n    addParseToken(['m', 'mm'], MINUTE);\n\n    // MOMENTS\n\n    var getSetMinute = makeGetSet('Minutes', false);\n\n    // FORMATTING\n\n    addFormatToken('s', ['ss', 2], 0, 'second');\n\n    // ALIASES\n\n    addUnitAlias('second', 's');\n\n    // PRIORITY\n\n    addUnitPriority('second', 15);\n\n    // PARSING\n\n    addRegexToken('s', match1to2);\n    addRegexToken('ss', match1to2, match2);\n    addParseToken(['s', 'ss'], SECOND);\n\n    // MOMENTS\n\n    var getSetSecond = makeGetSet('Seconds', false);\n\n    // FORMATTING\n\n    addFormatToken('S', 0, 0, function () {\n        return ~~(this.millisecond() / 100);\n    });\n\n    addFormatToken(0, ['SS', 2], 0, function () {\n        return ~~(this.millisecond() / 10);\n    });\n\n    addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n    addFormatToken(0, ['SSSS', 4], 0, function () {\n        return this.millisecond() * 10;\n    });\n    addFormatToken(0, ['SSSSS', 5], 0, function () {\n        return this.millisecond() * 100;\n    });\n    addFormatToken(0, ['SSSSSS', 6], 0, function () {\n        return this.millisecond() * 1000;\n    });\n    addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n        return this.millisecond() * 10000;\n    });\n    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n        return this.millisecond() * 100000;\n    });\n    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n        return this.millisecond() * 1000000;\n    });\n\n    // ALIASES\n\n    addUnitAlias('millisecond', 'ms');\n\n    // PRIORITY\n\n    addUnitPriority('millisecond', 16);\n\n    // PARSING\n\n    addRegexToken('S', match1to3, match1);\n    addRegexToken('SS', match1to3, match2);\n    addRegexToken('SSS', match1to3, match3);\n\n    var token, getSetMillisecond;\n    for (token = 'SSSS'; token.length <= 9; token += 'S') {\n        addRegexToken(token, matchUnsigned);\n    }\n\n    function parseMs(input, array) {\n        array[MILLISECOND] = toInt(('0.' + input) * 1000);\n    }\n\n    for (token = 'S'; token.length <= 9; token += 'S') {\n        addParseToken(token, parseMs);\n    }\n\n    getSetMillisecond = makeGetSet('Milliseconds', false);\n\n    // FORMATTING\n\n    addFormatToken('z', 0, 0, 'zoneAbbr');\n    addFormatToken('zz', 0, 0, 'zoneName');\n\n    // MOMENTS\n\n    function getZoneAbbr() {\n        return this._isUTC ? 'UTC' : '';\n    }\n\n    function getZoneName() {\n        return this._isUTC ? 'Coordinated Universal Time' : '';\n    }\n\n    var proto = Moment.prototype;\n\n    proto.add = add;\n    proto.calendar = calendar$1;\n    proto.clone = clone;\n    proto.diff = diff;\n    proto.endOf = endOf;\n    proto.format = format;\n    proto.from = from;\n    proto.fromNow = fromNow;\n    proto.to = to;\n    proto.toNow = toNow;\n    proto.get = stringGet;\n    proto.invalidAt = invalidAt;\n    proto.isAfter = isAfter;\n    proto.isBefore = isBefore;\n    proto.isBetween = isBetween;\n    proto.isSame = isSame;\n    proto.isSameOrAfter = isSameOrAfter;\n    proto.isSameOrBefore = isSameOrBefore;\n    proto.isValid = isValid$2;\n    proto.lang = lang;\n    proto.locale = locale;\n    proto.localeData = localeData;\n    proto.max = prototypeMax;\n    proto.min = prototypeMin;\n    proto.parsingFlags = parsingFlags;\n    proto.set = stringSet;\n    proto.startOf = startOf;\n    proto.subtract = subtract;\n    proto.toArray = toArray;\n    proto.toObject = toObject;\n    proto.toDate = toDate;\n    proto.toISOString = toISOString;\n    proto.inspect = inspect;\n    if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n        proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n            return 'Moment<' + this.format() + '>';\n        };\n    }\n    proto.toJSON = toJSON;\n    proto.toString = toString;\n    proto.unix = unix;\n    proto.valueOf = valueOf;\n    proto.creationData = creationData;\n    proto.eraName = getEraName;\n    proto.eraNarrow = getEraNarrow;\n    proto.eraAbbr = getEraAbbr;\n    proto.eraYear = getEraYear;\n    proto.year = getSetYear;\n    proto.isLeapYear = getIsLeapYear;\n    proto.weekYear = getSetWeekYear;\n    proto.isoWeekYear = getSetISOWeekYear;\n    proto.quarter = proto.quarters = getSetQuarter;\n    proto.month = getSetMonth;\n    proto.daysInMonth = getDaysInMonth;\n    proto.week = proto.weeks = getSetWeek;\n    proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n    proto.weeksInYear = getWeeksInYear;\n    proto.weeksInWeekYear = getWeeksInWeekYear;\n    proto.isoWeeksInYear = getISOWeeksInYear;\n    proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n    proto.date = getSetDayOfMonth;\n    proto.day = proto.days = getSetDayOfWeek;\n    proto.weekday = getSetLocaleDayOfWeek;\n    proto.isoWeekday = getSetISODayOfWeek;\n    proto.dayOfYear = getSetDayOfYear;\n    proto.hour = proto.hours = getSetHour;\n    proto.minute = proto.minutes = getSetMinute;\n    proto.second = proto.seconds = getSetSecond;\n    proto.millisecond = proto.milliseconds = getSetMillisecond;\n    proto.utcOffset = getSetOffset;\n    proto.utc = setOffsetToUTC;\n    proto.local = setOffsetToLocal;\n    proto.parseZone = setOffsetToParsedOffset;\n    proto.hasAlignedHourOffset = hasAlignedHourOffset;\n    proto.isDST = isDaylightSavingTime;\n    proto.isLocal = isLocal;\n    proto.isUtcOffset = isUtcOffset;\n    proto.isUtc = isUtc;\n    proto.isUTC = isUtc;\n    proto.zoneAbbr = getZoneAbbr;\n    proto.zoneName = getZoneName;\n    proto.dates = deprecate(\n        'dates accessor is deprecated. Use date instead.',\n        getSetDayOfMonth\n    );\n    proto.months = deprecate(\n        'months accessor is deprecated. Use month instead',\n        getSetMonth\n    );\n    proto.years = deprecate(\n        'years accessor is deprecated. Use year instead',\n        getSetYear\n    );\n    proto.zone = deprecate(\n        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n        getSetZone\n    );\n    proto.isDSTShifted = deprecate(\n        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n        isDaylightSavingTimeShifted\n    );\n\n    function createUnix(input) {\n        return createLocal(input * 1000);\n    }\n\n    function createInZone() {\n        return createLocal.apply(null, arguments).parseZone();\n    }\n\n    function preParsePostFormat(string) {\n        return string;\n    }\n\n    var proto$1 = Locale.prototype;\n\n    proto$1.calendar = calendar;\n    proto$1.longDateFormat = longDateFormat;\n    proto$1.invalidDate = invalidDate;\n    proto$1.ordinal = ordinal;\n    proto$1.preparse = preParsePostFormat;\n    proto$1.postformat = preParsePostFormat;\n    proto$1.relativeTime = relativeTime;\n    proto$1.pastFuture = pastFuture;\n    proto$1.set = set;\n    proto$1.eras = localeEras;\n    proto$1.erasParse = localeErasParse;\n    proto$1.erasConvertYear = localeErasConvertYear;\n    proto$1.erasAbbrRegex = erasAbbrRegex;\n    proto$1.erasNameRegex = erasNameRegex;\n    proto$1.erasNarrowRegex = erasNarrowRegex;\n\n    proto$1.months = localeMonths;\n    proto$1.monthsShort = localeMonthsShort;\n    proto$1.monthsParse = localeMonthsParse;\n    proto$1.monthsRegex = monthsRegex;\n    proto$1.monthsShortRegex = monthsShortRegex;\n    proto$1.week = localeWeek;\n    proto$1.firstDayOfYear = localeFirstDayOfYear;\n    proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n    proto$1.weekdays = localeWeekdays;\n    proto$1.weekdaysMin = localeWeekdaysMin;\n    proto$1.weekdaysShort = localeWeekdaysShort;\n    proto$1.weekdaysParse = localeWeekdaysParse;\n\n    proto$1.weekdaysRegex = weekdaysRegex;\n    proto$1.weekdaysShortRegex = weekdaysShortRegex;\n    proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n    proto$1.isPM = localeIsPM;\n    proto$1.meridiem = localeMeridiem;\n\n    function get$1(format, index, field, setter) {\n        var locale = getLocale(),\n            utc = createUTC().set(setter, index);\n        return locale[field](utc, format);\n    }\n\n    function listMonthsImpl(format, index, field) {\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n\n        if (index != null) {\n            return get$1(format, index, field, 'month');\n        }\n\n        var i,\n            out = [];\n        for (i = 0; i < 12; i++) {\n            out[i] = get$1(format, i, field, 'month');\n        }\n        return out;\n    }\n\n    // ()\n    // (5)\n    // (fmt, 5)\n    // (fmt)\n    // (true)\n    // (true, 5)\n    // (true, fmt, 5)\n    // (true, fmt)\n    function listWeekdaysImpl(localeSorted, format, index, field) {\n        if (typeof localeSorted === 'boolean') {\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        } else {\n            format = localeSorted;\n            index = format;\n            localeSorted = false;\n\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        }\n\n        var locale = getLocale(),\n            shift = localeSorted ? locale._week.dow : 0,\n            i,\n            out = [];\n\n        if (index != null) {\n            return get$1(format, (index + shift) % 7, field, 'day');\n        }\n\n        for (i = 0; i < 7; i++) {\n            out[i] = get$1(format, (i + shift) % 7, field, 'day');\n        }\n        return out;\n    }\n\n    function listMonths(format, index) {\n        return listMonthsImpl(format, index, 'months');\n    }\n\n    function listMonthsShort(format, index) {\n        return listMonthsImpl(format, index, 'monthsShort');\n    }\n\n    function listWeekdays(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n    }\n\n    function listWeekdaysShort(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n    }\n\n    function listWeekdaysMin(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n    }\n\n    getSetGlobalLocale('en', {\n        eras: [\n            {\n                since: '0001-01-01',\n                until: +Infinity,\n                offset: 1,\n                name: 'Anno Domini',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: 'Before Christ',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    toInt((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n    });\n\n    // Side effect imports\n\n    hooks.lang = deprecate(\n        'moment.lang is deprecated. Use moment.locale instead.',\n        getSetGlobalLocale\n    );\n    hooks.langData = deprecate(\n        'moment.langData is deprecated. Use moment.localeData instead.',\n        getLocale\n    );\n\n    var mathAbs = Math.abs;\n\n    function abs() {\n        var data = this._data;\n\n        this._milliseconds = mathAbs(this._milliseconds);\n        this._days = mathAbs(this._days);\n        this._months = mathAbs(this._months);\n\n        data.milliseconds = mathAbs(data.milliseconds);\n        data.seconds = mathAbs(data.seconds);\n        data.minutes = mathAbs(data.minutes);\n        data.hours = mathAbs(data.hours);\n        data.months = mathAbs(data.months);\n        data.years = mathAbs(data.years);\n\n        return this;\n    }\n\n    function addSubtract$1(duration, input, value, direction) {\n        var other = createDuration(input, value);\n\n        duration._milliseconds += direction * other._milliseconds;\n        duration._days += direction * other._days;\n        duration._months += direction * other._months;\n\n        return duration._bubble();\n    }\n\n    // supports only 2.0-style add(1, 's') or add(duration)\n    function add$1(input, value) {\n        return addSubtract$1(this, input, value, 1);\n    }\n\n    // supports only 2.0-style subtract(1, 's') or subtract(duration)\n    function subtract$1(input, value) {\n        return addSubtract$1(this, input, value, -1);\n    }\n\n    function absCeil(number) {\n        if (number < 0) {\n            return Math.floor(number);\n        } else {\n            return Math.ceil(number);\n        }\n    }\n\n    function bubble() {\n        var milliseconds = this._milliseconds,\n            days = this._days,\n            months = this._months,\n            data = this._data,\n            seconds,\n            minutes,\n            hours,\n            years,\n            monthsFromDays;\n\n        // if we have a mix of positive and negative values, bubble down first\n        // check: https://github.com/moment/moment/issues/2166\n        if (\n            !(\n                (milliseconds >= 0 && days >= 0 && months >= 0) ||\n                (milliseconds <= 0 && days <= 0 && months <= 0)\n            )\n        ) {\n            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n            days = 0;\n            months = 0;\n        }\n\n        // The following code bubbles up values, see the tests for\n        // examples of what that means.\n        data.milliseconds = milliseconds % 1000;\n\n        seconds = absFloor(milliseconds / 1000);\n        data.seconds = seconds % 60;\n\n        minutes = absFloor(seconds / 60);\n        data.minutes = minutes % 60;\n\n        hours = absFloor(minutes / 60);\n        data.hours = hours % 24;\n\n        days += absFloor(hours / 24);\n\n        // convert days to months\n        monthsFromDays = absFloor(daysToMonths(days));\n        months += monthsFromDays;\n        days -= absCeil(monthsToDays(monthsFromDays));\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        data.days = days;\n        data.months = months;\n        data.years = years;\n\n        return this;\n    }\n\n    function daysToMonths(days) {\n        // 400 years have 146097 days (taking into account leap year rules)\n        // 400 years have 12 months === 4800\n        return (days * 4800) / 146097;\n    }\n\n    function monthsToDays(months) {\n        // the reverse of daysToMonths\n        return (months * 146097) / 4800;\n    }\n\n    function as(units) {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        var days,\n            months,\n            milliseconds = this._milliseconds;\n\n        units = normalizeUnits(units);\n\n        if (units === 'month' || units === 'quarter' || units === 'year') {\n            days = this._days + milliseconds / 864e5;\n            months = this._months + daysToMonths(days);\n            switch (units) {\n                case 'month':\n                    return months;\n                case 'quarter':\n                    return months / 3;\n                case 'year':\n                    return months / 12;\n            }\n        } else {\n            // handle milliseconds separately because of floating point math errors (issue #1867)\n            days = this._days + Math.round(monthsToDays(this._months));\n            switch (units) {\n                case 'week':\n                    return days / 7 + milliseconds / 6048e5;\n                case 'day':\n                    return days + milliseconds / 864e5;\n                case 'hour':\n                    return days * 24 + milliseconds / 36e5;\n                case 'minute':\n                    return days * 1440 + milliseconds / 6e4;\n                case 'second':\n                    return days * 86400 + milliseconds / 1000;\n                // Math.floor prevents floating point math errors here\n                case 'millisecond':\n                    return Math.floor(days * 864e5) + milliseconds;\n                default:\n                    throw new Error('Unknown unit ' + units);\n            }\n        }\n    }\n\n    // TODO: Use this.as('ms')?\n    function valueOf$1() {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        return (\n            this._milliseconds +\n            this._days * 864e5 +\n            (this._months % 12) * 2592e6 +\n            toInt(this._months / 12) * 31536e6\n        );\n    }\n\n    function makeAs(alias) {\n        return function () {\n            return this.as(alias);\n        };\n    }\n\n    var asMilliseconds = makeAs('ms'),\n        asSeconds = makeAs('s'),\n        asMinutes = makeAs('m'),\n        asHours = makeAs('h'),\n        asDays = makeAs('d'),\n        asWeeks = makeAs('w'),\n        asMonths = makeAs('M'),\n        asQuarters = makeAs('Q'),\n        asYears = makeAs('y');\n\n    function clone$1() {\n        return createDuration(this);\n    }\n\n    function get$2(units) {\n        units = normalizeUnits(units);\n        return this.isValid() ? this[units + 's']() : NaN;\n    }\n\n    function makeGetter(name) {\n        return function () {\n            return this.isValid() ? this._data[name] : NaN;\n        };\n    }\n\n    var milliseconds = makeGetter('milliseconds'),\n        seconds = makeGetter('seconds'),\n        minutes = makeGetter('minutes'),\n        hours = makeGetter('hours'),\n        days = makeGetter('days'),\n        months = makeGetter('months'),\n        years = makeGetter('years');\n\n    function weeks() {\n        return absFloor(this.days() / 7);\n    }\n\n    var round = Math.round,\n        thresholds = {\n            ss: 44, // a few seconds to seconds\n            s: 45, // seconds to minute\n            m: 45, // minutes to hour\n            h: 22, // hours to day\n            d: 26, // days to month/week\n            w: null, // weeks to month\n            M: 11, // months to year\n        };\n\n    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n    }\n\n    function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n        var duration = createDuration(posNegDuration).abs(),\n            seconds = round(duration.as('s')),\n            minutes = round(duration.as('m')),\n            hours = round(duration.as('h')),\n            days = round(duration.as('d')),\n            months = round(duration.as('M')),\n            weeks = round(duration.as('w')),\n            years = round(duration.as('y')),\n            a =\n                (seconds <= thresholds.ss && ['s', seconds]) ||\n                (seconds < thresholds.s && ['ss', seconds]) ||\n                (minutes <= 1 && ['m']) ||\n                (minutes < thresholds.m && ['mm', minutes]) ||\n                (hours <= 1 && ['h']) ||\n                (hours < thresholds.h && ['hh', hours]) ||\n                (days <= 1 && ['d']) ||\n                (days < thresholds.d && ['dd', days]);\n\n        if (thresholds.w != null) {\n            a =\n                a ||\n                (weeks <= 1 && ['w']) ||\n                (weeks < thresholds.w && ['ww', weeks]);\n        }\n        a = a ||\n            (months <= 1 && ['M']) ||\n            (months < thresholds.M && ['MM', months]) ||\n            (years <= 1 && ['y']) || ['yy', years];\n\n        a[2] = withoutSuffix;\n        a[3] = +posNegDuration > 0;\n        a[4] = locale;\n        return substituteTimeAgo.apply(null, a);\n    }\n\n    // This function allows you to set the rounding function for relative time strings\n    function getSetRelativeTimeRounding(roundingFunction) {\n        if (roundingFunction === undefined) {\n            return round;\n        }\n        if (typeof roundingFunction === 'function') {\n            round = roundingFunction;\n            return true;\n        }\n        return false;\n    }\n\n    // This function allows you to set a threshold for relative time strings\n    function getSetRelativeTimeThreshold(threshold, limit) {\n        if (thresholds[threshold] === undefined) {\n            return false;\n        }\n        if (limit === undefined) {\n            return thresholds[threshold];\n        }\n        thresholds[threshold] = limit;\n        if (threshold === 's') {\n            thresholds.ss = limit - 1;\n        }\n        return true;\n    }\n\n    function humanize(argWithSuffix, argThresholds) {\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var withSuffix = false,\n            th = thresholds,\n            locale,\n            output;\n\n        if (typeof argWithSuffix === 'object') {\n            argThresholds = argWithSuffix;\n            argWithSuffix = false;\n        }\n        if (typeof argWithSuffix === 'boolean') {\n            withSuffix = argWithSuffix;\n        }\n        if (typeof argThresholds === 'object') {\n            th = Object.assign({}, thresholds, argThresholds);\n            if (argThresholds.s != null && argThresholds.ss == null) {\n                th.ss = argThresholds.s - 1;\n            }\n        }\n\n        locale = this.localeData();\n        output = relativeTime$1(this, !withSuffix, th, locale);\n\n        if (withSuffix) {\n            output = locale.pastFuture(+this, output);\n        }\n\n        return locale.postformat(output);\n    }\n\n    var abs$1 = Math.abs;\n\n    function sign(x) {\n        return (x > 0) - (x < 0) || +x;\n    }\n\n    function toISOString$1() {\n        // for ISO strings we do not use the normal bubbling rules:\n        //  * milliseconds bubble up until they become hours\n        //  * days do not bubble at all\n        //  * months bubble up until they become years\n        // This is because there is no context-free conversion between hours and days\n        // (think of clock changes)\n        // and also not between days and months (28-31 days per month)\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var seconds = abs$1(this._milliseconds) / 1000,\n            days = abs$1(this._days),\n            months = abs$1(this._months),\n            minutes,\n            hours,\n            years,\n            s,\n            total = this.asSeconds(),\n            totalSign,\n            ymSign,\n            daysSign,\n            hmsSign;\n\n        if (!total) {\n            // this is the same as C#'s (Noda) and python (isodate)...\n            // but not other JS (goog.date)\n            return 'P0D';\n        }\n\n        // 3600 seconds -> 60 minutes -> 1 hour\n        minutes = absFloor(seconds / 60);\n        hours = absFloor(minutes / 60);\n        seconds %= 60;\n        minutes %= 60;\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n        s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n        totalSign = total < 0 ? '-' : '';\n        ymSign = sign(this._months) !== sign(total) ? '-' : '';\n        daysSign = sign(this._days) !== sign(total) ? '-' : '';\n        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n        return (\n            totalSign +\n            'P' +\n            (years ? ymSign + years + 'Y' : '') +\n            (months ? ymSign + months + 'M' : '') +\n            (days ? daysSign + days + 'D' : '') +\n            (hours || minutes || seconds ? 'T' : '') +\n            (hours ? hmsSign + hours + 'H' : '') +\n            (minutes ? hmsSign + minutes + 'M' : '') +\n            (seconds ? hmsSign + s + 'S' : '')\n        );\n    }\n\n    var proto$2 = Duration.prototype;\n\n    proto$2.isValid = isValid$1;\n    proto$2.abs = abs;\n    proto$2.add = add$1;\n    proto$2.subtract = subtract$1;\n    proto$2.as = as;\n    proto$2.asMilliseconds = asMilliseconds;\n    proto$2.asSeconds = asSeconds;\n    proto$2.asMinutes = asMinutes;\n    proto$2.asHours = asHours;\n    proto$2.asDays = asDays;\n    proto$2.asWeeks = asWeeks;\n    proto$2.asMonths = asMonths;\n    proto$2.asQuarters = asQuarters;\n    proto$2.asYears = asYears;\n    proto$2.valueOf = valueOf$1;\n    proto$2._bubble = bubble;\n    proto$2.clone = clone$1;\n    proto$2.get = get$2;\n    proto$2.milliseconds = milliseconds;\n    proto$2.seconds = seconds;\n    proto$2.minutes = minutes;\n    proto$2.hours = hours;\n    proto$2.days = days;\n    proto$2.weeks = weeks;\n    proto$2.months = months;\n    proto$2.years = years;\n    proto$2.humanize = humanize;\n    proto$2.toISOString = toISOString$1;\n    proto$2.toString = toISOString$1;\n    proto$2.toJSON = toISOString$1;\n    proto$2.locale = locale;\n    proto$2.localeData = localeData;\n\n    proto$2.toIsoString = deprecate(\n        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n        toISOString$1\n    );\n    proto$2.lang = lang;\n\n    // FORMATTING\n\n    addFormatToken('X', 0, 0, 'unix');\n    addFormatToken('x', 0, 0, 'valueOf');\n\n    // PARSING\n\n    addRegexToken('x', matchSigned);\n    addRegexToken('X', matchTimestamp);\n    addParseToken('X', function (input, array, config) {\n        config._d = new Date(parseFloat(input) * 1000);\n    });\n    addParseToken('x', function (input, array, config) {\n        config._d = new Date(toInt(input));\n    });\n\n    //! moment.js\n\n    hooks.version = '2.29.1';\n\n    setHookCallback(createLocal);\n\n    hooks.fn = proto;\n    hooks.min = min;\n    hooks.max = max;\n    hooks.now = now;\n    hooks.utc = createUTC;\n    hooks.unix = createUnix;\n    hooks.months = listMonths;\n    hooks.isDate = isDate;\n    hooks.locale = getSetGlobalLocale;\n    hooks.invalid = createInvalid;\n    hooks.duration = createDuration;\n    hooks.isMoment = isMoment;\n    hooks.weekdays = listWeekdays;\n    hooks.parseZone = createInZone;\n    hooks.localeData = getLocale;\n    hooks.isDuration = isDuration;\n    hooks.monthsShort = listMonthsShort;\n    hooks.weekdaysMin = listWeekdaysMin;\n    hooks.defineLocale = defineLocale;\n    hooks.updateLocale = updateLocale;\n    hooks.locales = listLocales;\n    hooks.weekdaysShort = listWeekdaysShort;\n    hooks.normalizeUnits = normalizeUnits;\n    hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n    hooks.calendarFormat = getCalendarFormat;\n    hooks.prototype = proto;\n\n    // currently HTML5 input type only supports 24-hour formats\n    hooks.HTML5_FMT = {\n        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type=\"datetime-local\" />\n        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type=\"datetime-local\" step=\"1\" />\n        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type=\"datetime-local\" step=\"0.001\" />\n        DATE: 'YYYY-MM-DD', // <input type=\"date\" />\n        TIME: 'HH:mm', // <input type=\"time\" />\n        TIME_SECONDS: 'HH:mm:ss', // <input type=\"time\" step=\"1\" />\n        TIME_MS: 'HH:mm:ss.SSS', // <input type=\"time\" step=\"0.001\" />\n        WEEK: 'GGGG-[W]WW', // <input type=\"week\" />\n        MONTH: 'YYYY-MM', // <input type=\"month\" />\n    };\n\n    return hooks;\n\n})));\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\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 isCallable = require('../internals/is-callable');\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","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n  definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {\n    configurable: true,\n    value: create(null)\n  });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n  ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n  return index + (unicode ? charAt(S, index).length : 1);\n};\n","module.exports = function (it, Constructor, name) {\n  if (it instanceof Constructor) return it;\n  throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation');\n};\n","var isObject = require('../internals/is-object');\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","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\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 = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- 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 bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toLength = require('../internals/to-length');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = [].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, 3);\n    var length = toLength(self.length);\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.call(target, value); // filter\n        } else switch (TYPE) {\n          case 4: return false;             // every\n          case 7: push.call(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","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 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 aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar toLength = require('../internals/to-length');\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n  return function (that, callbackfn, argumentsLength, memo) {\n    aCallable(callbackfn);\n    var O = toObject(that);\n    var self = IndexedObject(O);\n    var length = toLength(O.length);\n    var index = IS_RIGHT ? length - 1 : 0;\n    var i = IS_RIGHT ? -1 : 1;\n    if (argumentsLength < 2) while (true) {\n      if (index in self) {\n        memo = self[index];\n        index += i;\n        break;\n      }\n      index += i;\n      if (IS_RIGHT ? index < 0 : length <= index) {\n        throw TypeError('Reduce of empty array with no initial value');\n      }\n    }\n    for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n      memo = callbackfn(memo, self[index], index, O);\n    }\n    return memo;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.reduce` method\n  // https://tc39.es/ecma262/#sec-array.prototype.reduce\n  left: createMethod(false),\n  // `Array.prototype.reduceRight` method\n  // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n  right: createMethod(true)\n};\n","var 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');\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 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 toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n","var 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');\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 redefineAll = require('../internals/redefine-all');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar $has = require('../internals/has');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (store) {\n  return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n  this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n  return find(store.entries, function (it) {\n    return it[0] === key;\n  });\n};\n\nUncaughtFrozenStore.prototype = {\n  get: function (key) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) return entry[1];\n  },\n  has: function (key) {\n    return !!findUncaughtFrozen(this, key);\n  },\n  set: function (key, value) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) entry[1] = value;\n    else this.entries.push([key, value]);\n  },\n  'delete': function (key) {\n    var index = findIndex(this.entries, function (it) {\n      return it[0] === key;\n    });\n    if (~index) this.entries.splice(index, 1);\n    return !!~index;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, CONSTRUCTOR_NAME);\n      setInternalState(that, {\n        type: CONSTRUCTOR_NAME,\n        id: id++,\n        frozen: undefined\n      });\n      if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n    });\n\n    var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n    var define = function (that, key, value) {\n      var state = getInternalState(that);\n      var data = getWeakData(anObject(key), true);\n      if (data === true) uncaughtFrozenStore(state).set(key, value);\n      else data[state.id] = value;\n      return that;\n    };\n\n    redefineAll(C.prototype, {\n      // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n      // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n      // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n      'delete': function (key) {\n        var state = getInternalState(this);\n        if (!isObject(key)) return false;\n        var data = getWeakData(key);\n        if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n        return data && $has(data, state.id) && delete data[state.id];\n      },\n      // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n      // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n      // https://tc39.es/ecma262/#sec-weakset.prototype.has\n      has: function has(key) {\n        var state = getInternalState(this);\n        if (!isObject(key)) return false;\n        var data = getWeakData(key);\n        if (data === true) return uncaughtFrozenStore(state).has(key);\n        return data && $has(data, state.id);\n      }\n    });\n\n    redefineAll(C.prototype, IS_MAP ? {\n      // `WeakMap.prototype.get(key)` method\n      // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n      get: function get(key) {\n        var state = getInternalState(this);\n        if (isObject(key)) {\n          var data = getWeakData(key);\n          if (data === true) return uncaughtFrozenStore(state).get(key);\n          return data ? data[state.id] : undefined;\n        }\n      },\n      // `WeakMap.prototype.set(key, value)` method\n      // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n      set: function set(key, value) {\n        return define(this, key, value);\n      }\n    } : {\n      // `WeakSet.prototype.add(value)` method\n      // https://tc39.es/ecma262/#sec-weakset.prototype.add\n      add: function add(value) {\n        return define(this, value, true);\n      }\n    });\n\n    return C;\n  }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar isForced = require('../internals/is-forced');\nvar redefine = require('../internals/redefine');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\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 Constructor = NativeConstructor;\n  var exported = {};\n\n  var fixMethod = function (KEY) {\n    var nativeMethod = NativePrototype[KEY];\n    redefine(NativePrototype, KEY,\n      KEY == 'add' ? function add(value) {\n        nativeMethod.call(this, value === 0 ? 0 : value);\n        return this;\n      } : KEY == 'delete' ? function (key) {\n        return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n      } : KEY == 'get' ? function get(key) {\n        return IS_WEAK && !isObject(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key);\n      } : KEY == 'has' ? function has(key) {\n        return IS_WEAK && !isObject(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key);\n      } : function set(key, value) {\n        nativeMethod.call(this, key === 0 ? 0 : key, value);\n        return this;\n      }\n    );\n  };\n\n  var REPLACE = isForced(\n    CONSTRUCTOR_NAME,\n    !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n      new NativeConstructor().entries().next();\n    }))\n  );\n\n  if (REPLACE) {\n    // create collection constructor\n    Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n    InternalMetadataModule.enable();\n  } else if (isForced(CONSTRUCTOR_NAME, true)) {\n    var instance = new Constructor();\n    // early implementations not supports chaining\n    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n    // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n    // most early implementations doesn't supports iterables, most modern - not close it correctly\n    // eslint-disable-next-line no-new -- required for testing\n    var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n    // for early implementations -0 and +0 not the same\n    var BUGGY_ZERO = !IS_WEAK && fails(function () {\n      // V8 ~ Chromium 42- fails only with 5+ elements\n      var $instance = new NativeConstructor();\n      var index = 5;\n      while (index--) $instance[ADDER](index, index);\n      return !$instance.has(-0);\n    });\n\n    if (!ACCEPT_ITERABLES) {\n      Constructor = wrapper(function (dummy, iterable) {\n        anInstance(dummy, Constructor, CONSTRUCTOR_NAME);\n        var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n        if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n        return that;\n      });\n      Constructor.prototype = NativePrototype;\n      NativePrototype.constructor = Constructor;\n    }\n\n    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n      fixMethod('delete');\n      fixMethod('has');\n      IS_MAP && fixMethod('get');\n    }\n\n    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n    // weak collections should not contains .clear method\n    if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n  }\n\n  exported[CONSTRUCTOR_NAME] = Constructor;\n  $({ global: true, forced: Constructor != NativeConstructor }, exported);\n\n  setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n  if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n  return Constructor;\n};\n","var has = require('../internals/has');\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) {\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 (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n  }\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","'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) {\n  var TO_STRING_TAG = NAME + ' Iterator';\n  IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });\n  setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n  Iterators[TO_STRING_TAG] = returnThis;\n  return IteratorConstructor;\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","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","'use strict';\nvar $ = require('../internals/export');\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 nativeIterator.call(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","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","// 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","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\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  version = match[0] < 4 ? 1 : match[0] + match[1];\n} else if (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 && +version;\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 global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar redefine = require('../internals/redefine');\nvar setGlobal = require('../internals/set-global');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\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 FORCED, target, key, targetProperty, sourceProperty, descriptor;\n  if (GLOBAL) {\n    target = global;\n  } else if (STATIC) {\n    target = global[TARGET] || setGlobal(TARGET, {});\n  } else {\n    target = (global[TARGET] || {}).prototype;\n  }\n  if (target) for (key in source) {\n    sourceProperty = source[key];\n    if (options.noTargetGet) {\n      descriptor = getOwnPropertyDescriptor(target, key);\n      targetProperty = descriptor && descriptor.value;\n    } else targetProperty = target[key];\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contained in target\n    if (!FORCED && targetProperty !== undefined) {\n      if (typeof sourceProperty === typeof targetProperty) continue;\n      copyConstructorProperties(sourceProperty, targetProperty);\n    }\n    // add a flag to not completely full polyfills\n    if (options.sham || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(sourceProperty, 'sham', true);\n    }\n    // extend global\n    redefine(target, key, sourceProperty, options);\n  }\n};\n","module.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar redefine = require('../internals/redefine');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n  var SYMBOL = wellKnownSymbol(KEY);\n\n  var DELEGATES_TO_SYMBOL = !fails(function () {\n    // String methods call symbol-named RegEp methods\n    var O = {};\n    O[SYMBOL] = function () { return 7; };\n    return ''[KEY](O) != 7;\n  });\n\n  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n    // Symbol-named RegExp methods call .exec\n    var execCalled = false;\n    var re = /a/;\n\n    if (KEY === 'split') {\n      // We can't use real regex here since it causes deoptimization\n      // and serious performance degradation in V8\n      // https://github.com/zloirock/core-js/issues/306\n      re = {};\n      // RegExp[@@split] doesn't call the regex's exec method, but first creates\n      // a new one. We need to return the patched regex when creating the new one.\n      re.constructor = {};\n      re.constructor[SPECIES] = function () { return re; };\n      re.flags = '';\n      re[SYMBOL] = /./[SYMBOL];\n    }\n\n    re.exec = function () { execCalled = true; return null; };\n\n    re[SYMBOL]('');\n    return !execCalled;\n  });\n\n  if (\n    !DELEGATES_TO_SYMBOL ||\n    !DELEGATES_TO_EXEC ||\n    FORCED\n  ) {\n    var nativeRegExpMethod = /./[SYMBOL];\n    var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n      var $exec = regexp.exec;\n      if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n        if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n          // The native String method already delegates to @@method (this\n          // polyfilled function), leasing to infinite recursion.\n          // We avoid it by directly calling the native @@method method.\n          return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n        }\n        return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n      }\n      return { done: false };\n    });\n\n    redefine(String.prototype, KEY, methods[0]);\n    redefine(RegExpPrototype, SYMBOL, methods[1]);\n  }\n\n  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\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 aCallable = require('../internals/a-callable');\n\n// optional / simple context binding\nmodule.exports = function (fn, that, length) {\n  aCallable(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 0: return function () {\n      return fn.call(that);\n    };\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar has = require('../internals/has');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = has(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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n  return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\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 aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(iteratorMethod.call(argument));\n  throw TypeError(String(argument) + ' is not iterable');\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 toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar replace = ''.replace;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n  var tailPos = position + matched.length;\n  var m = captures.length;\n  var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n  if (namedCaptures !== undefined) {\n    namedCaptures = toObject(namedCaptures);\n    symbols = SUBSTITUTION_SYMBOLS;\n  }\n  return replace.call(replacement, symbols, function (match, ch) {\n    var capture;\n    switch (ch.charAt(0)) {\n      case '$': return '$';\n      case '&': return matched;\n      case '`': return str.slice(0, position);\n      case \"'\": return str.slice(tailPos);\n      case '<':\n        capture = namedCaptures[ch.slice(1, -1)];\n        break;\n      default: // \\d\\d?\n        var n = +ch;\n        if (n === 0) return match;\n        if (n > m) {\n          var f = floor(n / 10);\n          if (f === 0) return match;\n          if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n          return match;\n        }\n        capture = captures[n - 1];\n    }\n    return capture === undefined ? '' : capture;\n  });\n};\n","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","var toObject = require('../internals/to-object');\n\nvar hasOwnProperty = {}.hasOwnProperty;\n\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty.call(toObject(it), key);\n};\n","module.exports = {};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a != 7;\n});\n","var fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar split = ''.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.call(it, '') : Object(it);\n} : Object;\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n  var NewTarget, NewTargetPrototype;\n  if (\n    // it can work only with native `setPrototypeOf`\n    setPrototypeOf &&\n    // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n    isCallable(NewTarget = dummy.constructor) &&\n    NewTarget !== Wrapper &&\n    isObject(NewTargetPrototype = NewTarget.prototype) &&\n    NewTargetPrototype !== Wrapper.prototype\n  ) setPrototypeOf($this, NewTargetPrototype);\n  return $this;\n};\n","var isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = 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.call(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n","var $ = require('../internals/export');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar has = require('../internals/has');\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 uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar isExtensible = Object.isExtensible || function () {\n  return true;\n};\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 (!has(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 (!has(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) && !has(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 = [].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.call(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 NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar objectHas = require('../internals/has');\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 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 = store.get;\n  var wmhas = store.has;\n  var wmset = store.set;\n  set = function (it, metadata) {\n    if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    wmset.call(store, it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return wmget.call(store, it) || {};\n  };\n  has = function (it) {\n    return wmhas.call(store, it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (objectHas(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 objectHas(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return objectHas(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 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-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","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n  return typeof argument === 'function';\n};\n","var 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 empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = constructorRegExp.exec;\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ });\n\nvar isConstructorModern = function (argument) {\n  if (!isCallable(argument)) return false;\n  try {\n    construct(Object, empty, argument);\n    return true;\n  } catch (error) {\n    return false;\n  }\n};\n\nvar isConstructorLegacy = function (argument) {\n  if (!isCallable(argument)) return false;\n  switch (classof(argument)) {\n    case 'AsyncFunction':\n    case 'GeneratorFunction':\n    case 'AsyncGeneratorFunction': return false;\n    // we can't check .prototype since constructors produced by .bind haven't it\n  } return INCORRECT_TO_STRING || !!exec.call(constructorRegExp, inspectSource(argument));\n};\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 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 isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n  return typeof it === 'object' ? it !== null : isCallable(it);\n};\n","module.exports = false;\n","var isCallable = require('../internals/is-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\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) && Object(it) instanceof $Symbol;\n};\n","var anObject = require('../internals/an-object');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar toLength = require('../internals/to-length');\nvar bind = require('../internals/function-bind-context');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\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, 1 + AS_ENTRIES + INTERRUPTED);\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(String(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = toLength(iterable.length); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && result instanceof Result) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = iterator.next;\n  while (!(step = next.call(iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && result instanceof Result) return result;\n  } return new Result(false);\n};\n","var 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 = innerResult.call(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","'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","module.exports = {};\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","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 global = require('../internals/global');\nvar fails = require('../internals/fails');\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 = /^[+-]?0[Xx]/;\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) || (hex.test(S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\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;\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 ? objectKeys(S).concat(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 || propertyIsEnumerable.call(S, key)) T[key] = S[key];\n    }\n  } return T;\n} : $assign;\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar defineProperties = 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 : defineProperties(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-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\nmodule.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\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++], Properties[key]);\n  return O;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? $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","var DESCRIPTORS = require('../internals/descriptors');\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 has = require('../internals/has');\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 (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);\n};\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n  ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n  try {\n    return $getOwnPropertyNames(it);\n  } catch (error) {\n    return windowNames.slice();\n  }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n  return windowNames && toString.call(it) == '[object Window]'\n    ? getWindowNames(it)\n    : $getOwnPropertyNames(toIndexedObject(it));\n};\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","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var has = require('../internals/has');\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 ObjectPrototype = Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (has(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 has = require('../internals/has');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\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) !has(hiddenKeys, key) && has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~indexOf(result, key) || result.push(key);\n  }\n  return result;\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","'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","/* eslint-disable no-proto -- safe */\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 = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set;\n    setter.call(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.call(O, proto);\n    else O.__proto__ = proto;\n    return O;\n  };\n}() : undefined);\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 isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\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 = fn.call(input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = fn.call(input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = fn.call(input))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n","var getBuiltIn = require('../internals/get-built-in');\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\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 ? keys.concat(getOwnPropertySymbols(it)) : keys;\n};\n","var redefine = require('../internals/redefine');\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) redefine(target, key, src[key], options);\n  return target;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar has = require('../internals/has');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setGlobal = require('../internals/set-global');\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\n\nvar getInternalState = InternalStateModule.get;\nvar enforceInternalState = InternalStateModule.enforce;\nvar TEMPLATE = String(String).split('String');\n\n(module.exports = function (O, key, value, options) {\n  var unsafe = options ? !!options.unsafe : false;\n  var simple = options ? !!options.enumerable : false;\n  var noTargetGet = options ? !!options.noTargetGet : false;\n  var name = options && options.name !== undefined ? options.name : key;\n  var state;\n  if (isCallable(value)) {\n    if (String(name).slice(0, 7) === 'Symbol(') {\n      name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n    }\n    if (!has(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n      createNonEnumerableProperty(value, 'name', name);\n    }\n    state = enforceInternalState(value);\n    if (!state.source) {\n      state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n    }\n  }\n  if (O === global) {\n    if (simple) O[key] = value;\n    else setGlobal(key, value);\n    return;\n  } else if (!unsafe) {\n    delete O[key];\n  } else if (!noTargetGet && O[key]) {\n    simple = true;\n  }\n  if (simple) O[key] = value;\n  else createNonEnumerableProperty(O, key, value);\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, 'toString', function toString() {\n  return isCallable(this) && getInternalState(this).source || inspectSource(this);\n});\n","var anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n  var exec = R.exec;\n  if (isCallable(exec)) {\n    var result = exec.call(R, S);\n    if (result !== null) anObject(result);\n    return result;\n  }\n  if (classof(R) === 'RegExp') return regexpExec.call(R, S);\n  throw TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeExec = RegExp.prototype.exec;\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\n\nvar patchedExec = nativeExec;\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n  var re1 = /a/;\n  var re2 = /b*/g;\n  nativeExec.call(re1, 'a');\n  nativeExec.call(re2, 'a');\n  return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y || stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n  // eslint-disable-next-line max-statements -- TODO\n  patchedExec = function exec(string) {\n    var re = this;\n    var state = getInternalState(re);\n    var str = toString(string);\n    var raw = state.raw;\n    var result, reCopy, lastIndex, match, i, object, group;\n\n    if (raw) {\n      raw.lastIndex = re.lastIndex;\n      result = patchedExec.call(raw, str);\n      re.lastIndex = raw.lastIndex;\n      return result;\n    }\n\n    var groups = state.groups;\n    var sticky = UNSUPPORTED_Y && re.sticky;\n    var flags = regexpFlags.call(re);\n    var source = re.source;\n    var charsAdded = 0;\n    var strCopy = str;\n\n    if (sticky) {\n      flags = flags.replace('y', '');\n      if (flags.indexOf('g') === -1) {\n        flags += 'g';\n      }\n\n      strCopy = str.slice(re.lastIndex);\n      // Support anchored sticky behavior.\n      if (re.lastIndex > 0 && (!re.multiline || re.multiline && str.charAt(re.lastIndex - 1) !== '\\n')) {\n        source = '(?: ' + source + ')';\n        strCopy = ' ' + strCopy;\n        charsAdded++;\n      }\n      // ^(? + rx + ) is needed, in combination with some str slicing, to\n      // simulate the 'y' flag.\n      reCopy = new RegExp('^(?:' + source + ')', flags);\n    }\n\n    if (NPCG_INCLUDED) {\n      reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n    }\n    if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n    match = nativeExec.call(sticky ? reCopy : re, strCopy);\n\n    if (sticky) {\n      if (match) {\n        match.input = match.input.slice(charsAdded);\n        match[0] = match[0].slice(charsAdded);\n        match.index = re.lastIndex;\n        re.lastIndex += match[0].length;\n      } else re.lastIndex = 0;\n    } else if (UPDATES_LAST_INDEX_WRONG && match) {\n      re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n    }\n    if (NPCG_INCLUDED && match && match.length > 1) {\n      // Fix browsers whose `exec` methods don't consistently return `undefined`\n      // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n      nativeReplace.call(match[0], reCopy, function () {\n        for (i = 1; i < arguments.length - 2; i++) {\n          if (arguments[i] === undefined) match[i] = undefined;\n        }\n      });\n    }\n\n    if (match && groups) {\n      match.groups = object = create(null);\n      for (i = 0; i < groups.length; i++) {\n        group = groups[i];\n        object[group[0]] = match[group[1]];\n      }\n    }\n\n    return match;\n  };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n  var that = anObject(this);\n  var result = '';\n  if (that.global) result += 'g';\n  if (that.ignoreCase) result += 'i';\n  if (that.multiline) result += 'm';\n  if (that.dotAll) result += 's';\n  if (that.unicode) result += 'u';\n  if (that.sticky) result += 'y';\n  return result;\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nexports.UNSUPPORTED_Y = fails(function () {\n  var re = $RegExp('a', 'y');\n  re.lastIndex = 2;\n  return re.exec('abcd') != null;\n});\n\nexports.BROKEN_CARET = fails(function () {\n  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n  var re = $RegExp('^r', 'gy');\n  re.lastIndex = 2;\n  return re.exec('str') != null;\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n  var re = $RegExp('.', 's');\n  return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n  var re = $RegExp('(?<a>b)', 'g');\n  return re.exec('b').groups.a !== 'b' ||\n    'b'.replace(re, '$<a>c') !== 'bc';\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","var global = require('../internals/global');\n\nmodule.exports = function (key, value) {\n  try {\n    // eslint-disable-next-line es/no-object-defineproperty -- safe\n    Object.defineProperty(global, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    global[key] = value;\n  } return value;\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar has = require('../internals/has');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC) {\n  if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {\n    defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG });\n  }\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","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 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.18.1',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('../internals/to-integer');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `String.prototype.codePointAt` methods implementation\nvar createMethod = function (CONVERT_TO_STRING) {\n  return function ($this, pos) {\n    var S = toString(requireObjectCoercible($this));\n    var position = toInteger(pos);\n    var size = S.length;\n    var first, second;\n    if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n    first = S.charCodeAt(position);\n    return first < 0xD800 || first > 0xDBFF || position + 1 === size\n      || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF\n        ? CONVERT_TO_STRING ? S.charAt(position) : first\n        : CONVERT_TO_STRING ? S.slice(position, position + 2) : (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","var requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\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 = string.replace(ltrim, '');\n    if (TYPE & 2) string = string.replace(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 toInteger = require('../internals/to-integer');\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 = toInteger(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\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","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `ToInteger` abstract operation\n// https://tc39.es/ecma262/#sec-tointeger\nmodule.exports = function (argument) {\n  return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);\n};\n","var toInteger = require('../internals/to-integer');\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(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return Object(requireObjectCoercible(argument));\n};\n","var 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 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 = exoticToPrim.call(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 : String(key);\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 classof = require('../internals/classof');\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","module.exports = function (argument) {\n  try {\n    return String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n","var id = 0;\nvar postfix = Math.random();\n\nmodule.exports = function (key) {\n  return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);\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 shared = require('../internals/shared');\nvar has = require('../internals/has');\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 createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n    if (NATIVE_SYMBOL && has(Symbol, name)) {\n      WellKnownSymbolsStore[name] = Symbol[name];\n    } else {\n      WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);\n    }\n  } return WellKnownSymbolsStore[name];\n};\n","// 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","'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","'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 defineIterator = require('../internals/define-iterator');\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\nIterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/engine-v8-version');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar STRICT_METHOD = arrayMethodIsStrict('reduce');\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {\n  reduce: function reduce(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar FunctionPrototypeToString = FunctionPrototype.toString;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n  defineProperty(FunctionPrototype, NAME, {\n    configurable: true,\n    get: function () {\n      try {\n        return FunctionPrototypeToString.call(this).match(nameRE)[1];\n      } catch (error) {\n        return '';\n      }\n    }\n  });\n}\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","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar redefine = require('../internals/redefine');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n  redefine(Object.prototype, 'toString', toString, { unsafe: true });\n}\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","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n  exec: exec\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","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n  return [\n    // `String.prototype.match` method\n    // https://tc39.es/ecma262/#sec-string.prototype.match\n    function match(regexp) {\n      var O = requireObjectCoercible(this);\n      var matcher = regexp == undefined ? undefined : getMethod(regexp, MATCH);\n      return matcher ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n    },\n    // `RegExp.prototype[@@match]` method\n    // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n    function (string) {\n      var rx = anObject(this);\n      var S = toString(string);\n      var res = maybeCallNative(nativeMatch, rx, S);\n\n      if (res.done) return res.value;\n\n      if (!rx.global) return regExpExec(rx, S);\n\n      var fullUnicode = rx.unicode;\n      rx.lastIndex = 0;\n      var A = [];\n      var n = 0;\n      var result;\n      while ((result = regExpExec(rx, S)) !== null) {\n        var matchStr = toString(result[0]);\n        A[n] = matchStr;\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n        n++;\n      }\n      return n === 0 ? null : A;\n    }\n  ];\n});\n","'use strict';\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\n\nvar maybeToString = function (it) {\n  return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n  // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n  return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n  if (/./[REPLACE]) {\n    return /./[REPLACE]('a', '$0') === '';\n  }\n  return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n  var re = /./;\n  re.exec = function () {\n    var result = [];\n    result.groups = { a: '7' };\n    return result;\n  };\n  // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n  return ''.replace(re, '$<a>') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n  var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n  return [\n    // `String.prototype.replace` method\n    // https://tc39.es/ecma262/#sec-string.prototype.replace\n    function replace(searchValue, replaceValue) {\n      var O = requireObjectCoercible(this);\n      var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n      return replacer\n        ? replacer.call(searchValue, O, replaceValue)\n        : nativeReplace.call(toString(O), searchValue, replaceValue);\n    },\n    // `RegExp.prototype[@@replace]` method\n    // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n    function (string, replaceValue) {\n      var rx = anObject(this);\n      var S = toString(string);\n\n      if (\n        typeof replaceValue === 'string' &&\n        replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 &&\n        replaceValue.indexOf('$<') === -1\n      ) {\n        var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n        if (res.done) return res.value;\n      }\n\n      var functionalReplace = isCallable(replaceValue);\n      if (!functionalReplace) replaceValue = toString(replaceValue);\n\n      var global = rx.global;\n      if (global) {\n        var fullUnicode = rx.unicode;\n        rx.lastIndex = 0;\n      }\n      var results = [];\n      while (true) {\n        var result = regExpExec(rx, S);\n        if (result === null) break;\n\n        results.push(result);\n        if (!global) break;\n\n        var matchStr = toString(result[0]);\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n      }\n\n      var accumulatedResult = '';\n      var nextSourcePosition = 0;\n      for (var i = 0; i < results.length; i++) {\n        result = results[i];\n\n        var matched = toString(result[0]);\n        var position = max(min(toInteger(result.index), S.length), 0);\n        var captures = [];\n        // NOTE: This is equivalent to\n        //   captures = result.slice(1).map(maybeToString)\n        // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n        // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n        // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n        for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n        var namedCaptures = result.groups;\n        if (functionalReplace) {\n          var replacerArgs = [matched].concat(captures, position, S);\n          if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n          var replacement = toString(replaceValue.apply(undefined, replacerArgs));\n        } else {\n          replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n        }\n        if (position >= nextSourcePosition) {\n          accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n          nextSourcePosition = position + matched.length;\n        }\n      }\n      return accumulatedResult + S.slice(nextSourcePosition);\n    }\n  ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","'use strict';\nvar global = require('../internals/global');\nvar redefineAll = require('../internals/redefine-all');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceIternalState = require('../internals/internal-state').enforce;\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar isExtensible = Object.isExtensible;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n  return function WeakMap() {\n    return init(this, arguments.length ? arguments[0] : undefined);\n  };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = module.exports = collection('WeakMap', wrapper, collectionWeak);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n  InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n  InternalMetadataModule.enable();\n  var WeakMapPrototype = $WeakMap.prototype;\n  var nativeDelete = WeakMapPrototype['delete'];\n  var nativeHas = WeakMapPrototype.has;\n  var nativeGet = WeakMapPrototype.get;\n  var nativeSet = WeakMapPrototype.set;\n  redefineAll(WeakMapPrototype, {\n    'delete': function (key) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        return nativeDelete.call(this, key) || state.frozen['delete'](key);\n      } return nativeDelete.call(this, key);\n    },\n    has: function has(key) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        return nativeHas.call(this, key) || state.frozen.has(key);\n      } return nativeHas.call(this, key);\n    },\n    get: function get(key) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\n      } return nativeGet.call(this, key);\n    },\n    set: function set(key, value) {\n      if (isObject(key) && !isExtensible(key)) {\n        var state = enforceIternalState(this);\n        if (!state.frozen) state.frozen = new InternalWeakMap();\n        nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\n      } else nativeSet.call(this, key, value);\n      return this;\n    }\n  });\n}\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n  // some Chrome versions have non-configurable methods on DOMTokenList\n  if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n    createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n  } catch (error) {\n    CollectionPrototype.forEach = forEach;\n  }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n  if (DOMIterables[COLLECTION_NAME]) {\n    handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n  }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n  if (CollectionPrototype) {\n    // some Chrome versions have non-configurable methods on DOMTokenList\n    if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n      createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n    } catch (error) {\n      CollectionPrototype[ITERATOR] = ArrayValues;\n    }\n    if (!CollectionPrototype[TO_STRING_TAG]) {\n      createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n    }\n    if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n      // some Chrome versions have non-configurable methods on DOMTokenList\n      if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n        createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n      } catch (error) {\n        CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n      }\n    }\n  }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n  handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","export var top = 'top';\nexport var bottom = 'bottom';\nexport var right = 'right';\nexport var left = 'left';\nexport var auto = 'auto';\nexport var basePlacements = [top, bottom, right, left];\nexport var start = 'start';\nexport var end = 'end';\nexport var clippingParents = 'clippingParents';\nexport var viewport = 'viewport';\nexport var popper = 'popper';\nexport var reference = 'reference';\nexport var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {\n  return acc.concat([placement + \"-\" + start, placement + \"-\" + end]);\n}, []);\nexport var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {\n  return acc.concat([placement, placement + \"-\" + start, placement + \"-\" + end]);\n}, []); // modifiers that need to read the DOM\n\nexport var beforeRead = 'beforeRead';\nexport var read = 'read';\nexport var afterRead = 'afterRead'; // pure-logic modifiers\n\nexport var beforeMain = 'beforeMain';\nexport var main = 'main';\nexport var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)\n\nexport var beforeWrite = 'beforeWrite';\nexport var write = 'write';\nexport var afterWrite = 'afterWrite';\nexport var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];","export default function getNodeName(element) {\n  return element ? (element.nodeName || '').toLowerCase() : null;\n}","export default function getWindow(node) {\n  if (node == null) {\n    return window;\n  }\n\n  if (node.toString() !== '[object Window]') {\n    var ownerDocument = node.ownerDocument;\n    return ownerDocument ? ownerDocument.defaultView || window : window;\n  }\n\n  return node;\n}","import getWindow from \"./getWindow.js\";\n\nfunction isElement(node) {\n  var OwnElement = getWindow(node).Element;\n  return node instanceof OwnElement || node instanceof Element;\n}\n\nfunction isHTMLElement(node) {\n  var OwnElement = getWindow(node).HTMLElement;\n  return node instanceof OwnElement || node instanceof HTMLElement;\n}\n\nfunction isShadowRoot(node) {\n  // IE 11 has no ShadowRoot\n  if (typeof ShadowRoot === 'undefined') {\n    return false;\n  }\n\n  var OwnElement = getWindow(node).ShadowRoot;\n  return node instanceof OwnElement || node instanceof ShadowRoot;\n}\n\nexport { isElement, isHTMLElement, isShadowRoot };","import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n  var state = _ref.state;\n  Object.keys(state.elements).forEach(function (name) {\n    var style = state.styles[name] || {};\n    var attributes = state.attributes[name] || {};\n    var element = state.elements[name]; // arrow is optional + virtual elements\n\n    if (!isHTMLElement(element) || !getNodeName(element)) {\n      return;\n    } // Flow doesn't support to extend this property, but it's the most\n    // effective way to apply styles to an HTMLElement\n    // $FlowFixMe[cannot-write]\n\n\n    Object.assign(element.style, style);\n    Object.keys(attributes).forEach(function (name) {\n      var value = attributes[name];\n\n      if (value === false) {\n        element.removeAttribute(name);\n      } else {\n        element.setAttribute(name, value === true ? '' : value);\n      }\n    });\n  });\n}\n\nfunction effect(_ref2) {\n  var state = _ref2.state;\n  var initialStyles = {\n    popper: {\n      position: state.options.strategy,\n      left: '0',\n      top: '0',\n      margin: '0'\n    },\n    arrow: {\n      position: 'absolute'\n    },\n    reference: {}\n  };\n  Object.assign(state.elements.popper.style, initialStyles.popper);\n  state.styles = initialStyles;\n\n  if (state.elements.arrow) {\n    Object.assign(state.elements.arrow.style, initialStyles.arrow);\n  }\n\n  return function () {\n    Object.keys(state.elements).forEach(function (name) {\n      var element = state.elements[name];\n      var attributes = state.attributes[name] || {};\n      var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n      var style = styleProperties.reduce(function (style, property) {\n        style[property] = '';\n        return style;\n      }, {}); // arrow is optional + virtual elements\n\n      if (!isHTMLElement(element) || !getNodeName(element)) {\n        return;\n      }\n\n      Object.assign(element.style, style);\n      Object.keys(attributes).forEach(function (attribute) {\n        element.removeAttribute(attribute);\n      });\n    });\n  };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'applyStyles',\n  enabled: true,\n  phase: 'write',\n  fn: applyStyles,\n  effect: effect,\n  requires: ['computeStyles']\n};","import { auto } from \"../enums.js\";\nexport default function getBasePlacement(placement) {\n  return placement.split('-')[0];\n}","export var max = Math.max;\nexport var min = Math.min;\nexport var round = Math.round;","export default function getUAString() {\n  var uaData = navigator.userAgentData;\n\n  if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {\n    return uaData.brands.map(function (item) {\n      return item.brand + \"/\" + item.version;\n    }).join(' ');\n  }\n\n  return navigator.userAgent;\n}","import getUAString from \"../utils/userAgent.js\";\nexport default function isLayoutViewport() {\n  return !/^((?!chrome|android).)*safari/i.test(getUAString());\n}","import { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport { round } from \"../utils/math.js\";\nimport getWindow from \"./getWindow.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getBoundingClientRect(element, includeScale, isFixedStrategy) {\n  if (includeScale === void 0) {\n    includeScale = false;\n  }\n\n  if (isFixedStrategy === void 0) {\n    isFixedStrategy = false;\n  }\n\n  var clientRect = element.getBoundingClientRect();\n  var scaleX = 1;\n  var scaleY = 1;\n\n  if (includeScale && isHTMLElement(element)) {\n    scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;\n    scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;\n  }\n\n  var _ref = isElement(element) ? getWindow(element) : window,\n      visualViewport = _ref.visualViewport;\n\n  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;\n  var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;\n  var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;\n  var width = clientRect.width / scaleX;\n  var height = clientRect.height / scaleY;\n  return {\n    width: width,\n    height: height,\n    top: y,\n    right: x + width,\n    bottom: y + height,\n    left: x,\n    x: x,\n    y: y\n  };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\"; // Returns the layout rect of an element relative to its offsetParent. Layout\n// means it doesn't take into account transforms.\n\nexport default function getLayoutRect(element) {\n  var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.\n  // Fixes https://github.com/popperjs/popper-core/issues/1223\n\n  var width = element.offsetWidth;\n  var height = element.offsetHeight;\n\n  if (Math.abs(clientRect.width - width) <= 1) {\n    width = clientRect.width;\n  }\n\n  if (Math.abs(clientRect.height - height) <= 1) {\n    height = clientRect.height;\n  }\n\n  return {\n    x: element.offsetLeft,\n    y: element.offsetTop,\n    width: width,\n    height: height\n  };\n}","import { isShadowRoot } from \"./instanceOf.js\";\nexport default function contains(parent, child) {\n  var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method\n\n  if (parent.contains(child)) {\n    return true;\n  } // then fallback to custom implementation with Shadow DOM support\n  else if (rootNode && isShadowRoot(rootNode)) {\n      var next = child;\n\n      do {\n        if (next && parent.isSameNode(next)) {\n          return true;\n        } // $FlowFixMe[prop-missing]: need a better way to handle this...\n\n\n        next = next.parentNode || next.host;\n      } while (next);\n    } // Give up, the result is false\n\n\n  return false;\n}","import getWindow from \"./getWindow.js\";\nexport default function getComputedStyle(element) {\n  return getWindow(element).getComputedStyle(element);\n}","import getNodeName from \"./getNodeName.js\";\nexport default function isTableElement(element) {\n  return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;\n}","import { isElement } from \"./instanceOf.js\";\nexport default function getDocumentElement(element) {\n  // $FlowFixMe[incompatible-return]: assume body is always available\n  return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]\n  element.document) || window.document).documentElement;\n}","import getNodeName from \"./getNodeName.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport { isShadowRoot } from \"./instanceOf.js\";\nexport default function getParentNode(element) {\n  if (getNodeName(element) === 'html') {\n    return element;\n  }\n\n  return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle\n    // $FlowFixMe[incompatible-return]\n    // $FlowFixMe[prop-missing]\n    element.assignedSlot || // step into the shadow DOM of the parent of a slotted node\n    element.parentNode || ( // DOM Element detected\n    isShadowRoot(element) ? element.host : null) || // ShadowRoot detected\n    // $FlowFixMe[incompatible-call]: HTMLElement is a Node\n    getDocumentElement(element) // fallback\n\n  );\n}","import getWindow from \"./getWindow.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isHTMLElement, isShadowRoot } from \"./instanceOf.js\";\nimport isTableElement from \"./isTableElement.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getUAString from \"../utils/userAgent.js\";\n\nfunction getTrueOffsetParent(element) {\n  if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837\n  getComputedStyle(element).position === 'fixed') {\n    return null;\n  }\n\n  return element.offsetParent;\n} // `.offsetParent` reports `null` for fixed elements, while absolute elements\n// return the containing block\n\n\nfunction getContainingBlock(element) {\n  var isFirefox = /firefox/i.test(getUAString());\n  var isIE = /Trident/i.test(getUAString());\n\n  if (isIE && isHTMLElement(element)) {\n    // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport\n    var elementCss = getComputedStyle(element);\n\n    if (elementCss.position === 'fixed') {\n      return null;\n    }\n  }\n\n  var currentNode = getParentNode(element);\n\n  if (isShadowRoot(currentNode)) {\n    currentNode = currentNode.host;\n  }\n\n  while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {\n    var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that\n    // create a containing block.\n    // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n\n    if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {\n      return currentNode;\n    } else {\n      currentNode = currentNode.parentNode;\n    }\n  }\n\n  return null;\n} // Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\n\n\nexport default function getOffsetParent(element) {\n  var window = getWindow(element);\n  var offsetParent = getTrueOffsetParent(element);\n\n  while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {\n    offsetParent = getTrueOffsetParent(offsetParent);\n  }\n\n  if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {\n    return window;\n  }\n\n  return offsetParent || getContainingBlock(element) || window;\n}","export default function getMainAxisFromPlacement(placement) {\n  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';\n}","import { max as mathMax, min as mathMin } from \"./math.js\";\nexport function within(min, value, max) {\n  return mathMax(min, mathMin(value, max));\n}\nexport function withinMaxClamp(min, value, max) {\n  var v = within(min, value, max);\n  return v > max ? max : v;\n}","import getFreshSideObject from \"./getFreshSideObject.js\";\nexport default function mergePaddingObject(paddingObject) {\n  return Object.assign({}, getFreshSideObject(), paddingObject);\n}","export default function getFreshSideObject() {\n  return {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0\n  };\n}","export default function expandToHashMap(value, keys) {\n  return keys.reduce(function (hashMap, key) {\n    hashMap[key] = value;\n    return hashMap;\n  }, {});\n}","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n  padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n    placement: state.placement\n  })) : padding;\n  return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n  var _state$modifiersData$;\n\n  var state = _ref.state,\n      name = _ref.name,\n      options = _ref.options;\n  var arrowElement = state.elements.arrow;\n  var popperOffsets = state.modifiersData.popperOffsets;\n  var basePlacement = getBasePlacement(state.placement);\n  var axis = getMainAxisFromPlacement(basePlacement);\n  var isVertical = [left, right].indexOf(basePlacement) >= 0;\n  var len = isVertical ? 'height' : 'width';\n\n  if (!arrowElement || !popperOffsets) {\n    return;\n  }\n\n  var paddingObject = toPaddingObject(options.padding, state);\n  var arrowRect = getLayoutRect(arrowElement);\n  var minProp = axis === 'y' ? top : left;\n  var maxProp = axis === 'y' ? bottom : right;\n  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n  var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n  var arrowOffsetParent = getOffsetParent(arrowElement);\n  var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n  // outside of the popper bounds\n\n  var min = paddingObject[minProp];\n  var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n  var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n  var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n  var axisProp = axis;\n  state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n  var state = _ref2.state,\n      options = _ref2.options;\n  var _options$element = options.element,\n      arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n  if (arrowElement == null) {\n    return;\n  } // CSS selector\n\n\n  if (typeof arrowElement === 'string') {\n    arrowElement = state.elements.popper.querySelector(arrowElement);\n\n    if (!arrowElement) {\n      return;\n    }\n  }\n\n  if (!contains(state.elements.popper, arrowElement)) {\n    return;\n  }\n\n  state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'arrow',\n  enabled: true,\n  phase: 'main',\n  fn: arrow,\n  effect: effect,\n  requires: ['popperOffsets'],\n  requiresIfExists: ['preventOverflow']\n};","export default function getVariation(placement) {\n  return placement.split('-')[1];\n}","import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n  top: 'auto',\n  right: 'auto',\n  bottom: 'auto',\n  left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n  var x = _ref.x,\n      y = _ref.y;\n  var dpr = win.devicePixelRatio || 1;\n  return {\n    x: round(x * dpr) / dpr || 0,\n    y: round(y * dpr) / dpr || 0\n  };\n}\n\nexport function mapToStyles(_ref2) {\n  var _Object$assign2;\n\n  var popper = _ref2.popper,\n      popperRect = _ref2.popperRect,\n      placement = _ref2.placement,\n      variation = _ref2.variation,\n      offsets = _ref2.offsets,\n      position = _ref2.position,\n      gpuAcceleration = _ref2.gpuAcceleration,\n      adaptive = _ref2.adaptive,\n      roundOffsets = _ref2.roundOffsets,\n      isFixed = _ref2.isFixed;\n  var _offsets$x = offsets.x,\n      x = _offsets$x === void 0 ? 0 : _offsets$x,\n      _offsets$y = offsets.y,\n      y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n  var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n    x: x,\n    y: y\n  }) : {\n    x: x,\n    y: y\n  };\n\n  x = _ref3.x;\n  y = _ref3.y;\n  var hasX = offsets.hasOwnProperty('x');\n  var hasY = offsets.hasOwnProperty('y');\n  var sideX = left;\n  var sideY = top;\n  var win = window;\n\n  if (adaptive) {\n    var offsetParent = getOffsetParent(popper);\n    var heightProp = 'clientHeight';\n    var widthProp = 'clientWidth';\n\n    if (offsetParent === getWindow(popper)) {\n      offsetParent = getDocumentElement(popper);\n\n      if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n        heightProp = 'scrollHeight';\n        widthProp = 'scrollWidth';\n      }\n    } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n    offsetParent = offsetParent;\n\n    if (placement === top || (placement === left || placement === right) && variation === end) {\n      sideY = bottom;\n      var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n      offsetParent[heightProp];\n      y -= offsetY - popperRect.height;\n      y *= gpuAcceleration ? 1 : -1;\n    }\n\n    if (placement === left || (placement === top || placement === bottom) && variation === end) {\n      sideX = right;\n      var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n      offsetParent[widthProp];\n      x -= offsetX - popperRect.width;\n      x *= gpuAcceleration ? 1 : -1;\n    }\n  }\n\n  var commonStyles = Object.assign({\n    position: position\n  }, adaptive && unsetSides);\n\n  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n    x: x,\n    y: y\n  }, getWindow(popper)) : {\n    x: x,\n    y: y\n  };\n\n  x = _ref4.x;\n  y = _ref4.y;\n\n  if (gpuAcceleration) {\n    var _Object$assign;\n\n    return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n  }\n\n  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n  var state = _ref5.state,\n      options = _ref5.options;\n  var _options$gpuAccelerat = options.gpuAcceleration,\n      gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n      _options$adaptive = options.adaptive,\n      adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n      _options$roundOffsets = options.roundOffsets,\n      roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n  var commonStyles = {\n    placement: getBasePlacement(state.placement),\n    variation: getVariation(state.placement),\n    popper: state.elements.popper,\n    popperRect: state.rects.popper,\n    gpuAcceleration: gpuAcceleration,\n    isFixed: state.options.strategy === 'fixed'\n  };\n\n  if (state.modifiersData.popperOffsets != null) {\n    state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n      offsets: state.modifiersData.popperOffsets,\n      position: state.options.strategy,\n      adaptive: adaptive,\n      roundOffsets: roundOffsets\n    })));\n  }\n\n  if (state.modifiersData.arrow != null) {\n    state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n      offsets: state.modifiersData.arrow,\n      position: 'absolute',\n      adaptive: false,\n      roundOffsets: roundOffsets\n    })));\n  }\n\n  state.attributes.popper = Object.assign({}, state.attributes.popper, {\n    'data-popper-placement': state.placement\n  });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'computeStyles',\n  enabled: true,\n  phase: 'beforeWrite',\n  fn: computeStyles,\n  data: {}\n};","import getWindow from \"../dom-utils/getWindow.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar passive = {\n  passive: true\n};\n\nfunction effect(_ref) {\n  var state = _ref.state,\n      instance = _ref.instance,\n      options = _ref.options;\n  var _options$scroll = options.scroll,\n      scroll = _options$scroll === void 0 ? true : _options$scroll,\n      _options$resize = options.resize,\n      resize = _options$resize === void 0 ? true : _options$resize;\n  var window = getWindow(state.elements.popper);\n  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);\n\n  if (scroll) {\n    scrollParents.forEach(function (scrollParent) {\n      scrollParent.addEventListener('scroll', instance.update, passive);\n    });\n  }\n\n  if (resize) {\n    window.addEventListener('resize', instance.update, passive);\n  }\n\n  return function () {\n    if (scroll) {\n      scrollParents.forEach(function (scrollParent) {\n        scrollParent.removeEventListener('scroll', instance.update, passive);\n      });\n    }\n\n    if (resize) {\n      window.removeEventListener('resize', instance.update, passive);\n    }\n  };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'eventListeners',\n  enabled: true,\n  phase: 'write',\n  fn: function fn() {},\n  effect: effect,\n  data: {}\n};","var hash = {\n  left: 'right',\n  right: 'left',\n  bottom: 'top',\n  top: 'bottom'\n};\nexport default function getOppositePlacement(placement) {\n  return placement.replace(/left|right|bottom|top/g, function (matched) {\n    return hash[matched];\n  });\n}","var hash = {\n  start: 'end',\n  end: 'start'\n};\nexport default function getOppositeVariationPlacement(placement) {\n  return placement.replace(/start|end/g, function (matched) {\n    return hash[matched];\n  });\n}","import getWindow from \"./getWindow.js\";\nexport default function getWindowScroll(node) {\n  var win = getWindow(node);\n  var scrollLeft = win.pageXOffset;\n  var scrollTop = win.pageYOffset;\n  return {\n    scrollLeft: scrollLeft,\n    scrollTop: scrollTop\n  };\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nexport default function getWindowScrollBarX(element) {\n  // If <html> has a CSS width greater than the viewport, then this will be\n  // incorrect for RTL.\n  // Popper 1 is broken in this case and never had a bug report so let's assume\n  // it's not an issue. I don't think anyone ever specifies width on <html>\n  // anyway.\n  // Browsers where the left scrollbar doesn't cause an issue report `0` for\n  // this (e.g. Edge 2019, IE11, Safari)\n  return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;\n}","import getComputedStyle from \"./getComputedStyle.js\";\nexport default function isScrollParent(element) {\n  // Firefox wants us to check `-x` and `-y` variations as well\n  var _getComputedStyle = getComputedStyle(element),\n      overflow = _getComputedStyle.overflow,\n      overflowX = _getComputedStyle.overflowX,\n      overflowY = _getComputedStyle.overflowY;\n\n  return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);\n}","import getParentNode from \"./getParentNode.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nexport default function getScrollParent(node) {\n  if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {\n    // $FlowFixMe[incompatible-return]: assume body is always available\n    return node.ownerDocument.body;\n  }\n\n  if (isHTMLElement(node) && isScrollParent(node)) {\n    return node;\n  }\n\n  return getScrollParent(getParentNode(node));\n}","import getScrollParent from \"./getScrollParent.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport getWindow from \"./getWindow.js\";\nimport isScrollParent from \"./isScrollParent.js\";\n/*\ngiven a DOM element, return the list of all scroll parents, up the list of ancesors\nuntil we get to the top window object. This list is what we attach scroll listeners\nto, because if any of these parent elements scroll, we'll need to re-calculate the\nreference element's position.\n*/\n\nexport default function listScrollParents(element, list) {\n  var _element$ownerDocumen;\n\n  if (list === void 0) {\n    list = [];\n  }\n\n  var scrollParent = getScrollParent(element);\n  var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);\n  var win = getWindow(scrollParent);\n  var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;\n  var updatedList = list.concat(target);\n  return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here\n  updatedList.concat(listScrollParents(getParentNode(target)));\n}","export default function rectToClientRect(rect) {\n  return Object.assign({}, rect, {\n    left: rect.x,\n    top: rect.y,\n    right: rect.x + rect.width,\n    bottom: rect.y + rect.height\n  });\n}","import { viewport } from \"../enums.js\";\nimport getViewportRect from \"./getViewportRect.js\";\nimport getDocumentRect from \"./getDocumentRect.js\";\nimport listScrollParents from \"./listScrollParents.js\";\nimport getOffsetParent from \"./getOffsetParent.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport { isElement, isHTMLElement } from \"./instanceOf.js\";\nimport getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getParentNode from \"./getParentNode.js\";\nimport contains from \"./contains.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport rectToClientRect from \"../utils/rectToClientRect.js\";\nimport { max, min } from \"../utils/math.js\";\n\nfunction getInnerBoundingClientRect(element, strategy) {\n  var rect = getBoundingClientRect(element, false, strategy === 'fixed');\n  rect.top = rect.top + element.clientTop;\n  rect.left = rect.left + element.clientLeft;\n  rect.bottom = rect.top + element.clientHeight;\n  rect.right = rect.left + element.clientWidth;\n  rect.width = element.clientWidth;\n  rect.height = element.clientHeight;\n  rect.x = rect.left;\n  rect.y = rect.top;\n  return rect;\n}\n\nfunction getClientRectFromMixedType(element, clippingParent, strategy) {\n  return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));\n} // A \"clipping parent\" is an overflowable container with the characteristic of\n// clipping (or hiding) overflowing elements with a position different from\n// `initial`\n\n\nfunction getClippingParents(element) {\n  var clippingParents = listScrollParents(getParentNode(element));\n  var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;\n  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;\n\n  if (!isElement(clipperElement)) {\n    return [];\n  } // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414\n\n\n  return clippingParents.filter(function (clippingParent) {\n    return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';\n  });\n} // Gets the maximum area that the element is visible in due to any number of\n// clipping parents\n\n\nexport default function getClippingRect(element, boundary, rootBoundary, strategy) {\n  var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);\n  var clippingParents = [].concat(mainClippingParents, [rootBoundary]);\n  var firstClippingParent = clippingParents[0];\n  var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {\n    var rect = getClientRectFromMixedType(element, clippingParent, strategy);\n    accRect.top = max(rect.top, accRect.top);\n    accRect.right = min(rect.right, accRect.right);\n    accRect.bottom = min(rect.bottom, accRect.bottom);\n    accRect.left = max(rect.left, accRect.left);\n    return accRect;\n  }, getClientRectFromMixedType(element, firstClippingParent, strategy));\n  clippingRect.width = clippingRect.right - clippingRect.left;\n  clippingRect.height = clippingRect.bottom - clippingRect.top;\n  clippingRect.x = clippingRect.left;\n  clippingRect.y = clippingRect.top;\n  return clippingRect;\n}","import getWindow from \"./getWindow.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport isLayoutViewport from \"./isLayoutViewport.js\";\nexport default function getViewportRect(element, strategy) {\n  var win = getWindow(element);\n  var html = getDocumentElement(element);\n  var visualViewport = win.visualViewport;\n  var width = html.clientWidth;\n  var height = html.clientHeight;\n  var x = 0;\n  var y = 0;\n\n  if (visualViewport) {\n    width = visualViewport.width;\n    height = visualViewport.height;\n    var layoutViewport = isLayoutViewport();\n\n    if (layoutViewport || !layoutViewport && strategy === 'fixed') {\n      x = visualViewport.offsetLeft;\n      y = visualViewport.offsetTop;\n    }\n  }\n\n  return {\n    width: width,\n    height: height,\n    x: x + getWindowScrollBarX(element),\n    y: y\n  };\n}","import getDocumentElement from \"./getDocumentElement.js\";\nimport getComputedStyle from \"./getComputedStyle.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getWindowScroll from \"./getWindowScroll.js\";\nimport { max } from \"../utils/math.js\"; // Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable\n\nexport default function getDocumentRect(element) {\n  var _element$ownerDocumen;\n\n  var html = getDocumentElement(element);\n  var winScroll = getWindowScroll(element);\n  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;\n  var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);\n  var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);\n  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);\n  var y = -winScroll.scrollTop;\n\n  if (getComputedStyle(body || html).direction === 'rtl') {\n    x += max(html.clientWidth, body ? body.clientWidth : 0) - width;\n  }\n\n  return {\n    width: width,\n    height: height,\n    x: x,\n    y: y\n  };\n}","import getBasePlacement from \"./getBasePlacement.js\";\nimport getVariation from \"./getVariation.js\";\nimport getMainAxisFromPlacement from \"./getMainAxisFromPlacement.js\";\nimport { top, right, bottom, left, start, end } from \"../enums.js\";\nexport default function computeOffsets(_ref) {\n  var reference = _ref.reference,\n      element = _ref.element,\n      placement = _ref.placement;\n  var basePlacement = placement ? getBasePlacement(placement) : null;\n  var variation = placement ? getVariation(placement) : null;\n  var commonX = reference.x + reference.width / 2 - element.width / 2;\n  var commonY = reference.y + reference.height / 2 - element.height / 2;\n  var offsets;\n\n  switch (basePlacement) {\n    case top:\n      offsets = {\n        x: commonX,\n        y: reference.y - element.height\n      };\n      break;\n\n    case bottom:\n      offsets = {\n        x: commonX,\n        y: reference.y + reference.height\n      };\n      break;\n\n    case right:\n      offsets = {\n        x: reference.x + reference.width,\n        y: commonY\n      };\n      break;\n\n    case left:\n      offsets = {\n        x: reference.x - element.width,\n        y: commonY\n      };\n      break;\n\n    default:\n      offsets = {\n        x: reference.x,\n        y: reference.y\n      };\n  }\n\n  var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;\n\n  if (mainAxis != null) {\n    var len = mainAxis === 'y' ? 'height' : 'width';\n\n    switch (variation) {\n      case start:\n        offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);\n        break;\n\n      case end:\n        offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);\n        break;\n\n      default:\n    }\n  }\n\n  return offsets;\n}","import getClippingRect from \"../dom-utils/getClippingRect.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getBoundingClientRect from \"../dom-utils/getBoundingClientRect.js\";\nimport computeOffsets from \"./computeOffsets.js\";\nimport rectToClientRect from \"./rectToClientRect.js\";\nimport { clippingParents, reference, popper, bottom, top, right, basePlacements, viewport } from \"../enums.js\";\nimport { isElement } from \"../dom-utils/instanceOf.js\";\nimport mergePaddingObject from \"./mergePaddingObject.js\";\nimport expandToHashMap from \"./expandToHashMap.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport default function detectOverflow(state, options) {\n  if (options === void 0) {\n    options = {};\n  }\n\n  var _options = options,\n      _options$placement = _options.placement,\n      placement = _options$placement === void 0 ? state.placement : _options$placement,\n      _options$strategy = _options.strategy,\n      strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,\n      _options$boundary = _options.boundary,\n      boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,\n      _options$rootBoundary = _options.rootBoundary,\n      rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,\n      _options$elementConte = _options.elementContext,\n      elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,\n      _options$altBoundary = _options.altBoundary,\n      altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,\n      _options$padding = _options.padding,\n      padding = _options$padding === void 0 ? 0 : _options$padding;\n  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n  var altContext = elementContext === popper ? reference : popper;\n  var popperRect = state.rects.popper;\n  var element = state.elements[altBoundary ? altContext : elementContext];\n  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);\n  var referenceClientRect = getBoundingClientRect(state.elements.reference);\n  var popperOffsets = computeOffsets({\n    reference: referenceClientRect,\n    element: popperRect,\n    strategy: 'absolute',\n    placement: placement\n  });\n  var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));\n  var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect\n  // 0 or negative = within the clipping rect\n\n  var overflowOffsets = {\n    top: clippingClientRect.top - elementClientRect.top + paddingObject.top,\n    bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,\n    left: clippingClientRect.left - elementClientRect.left + paddingObject.left,\n    right: elementClientRect.right - clippingClientRect.right + paddingObject.right\n  };\n  var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element\n\n  if (elementContext === popper && offsetData) {\n    var offset = offsetData[placement];\n    Object.keys(overflowOffsets).forEach(function (key) {\n      var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;\n      var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';\n      overflowOffsets[key] += offset[axis] * multiply;\n    });\n  }\n\n  return overflowOffsets;\n}","import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n  if (getBasePlacement(placement) === auto) {\n    return [];\n  }\n\n  var oppositePlacement = getOppositePlacement(placement);\n  return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n  var state = _ref.state,\n      options = _ref.options,\n      name = _ref.name;\n\n  if (state.modifiersData[name]._skip) {\n    return;\n  }\n\n  var _options$mainAxis = options.mainAxis,\n      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n      _options$altAxis = options.altAxis,\n      checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n      specifiedFallbackPlacements = options.fallbackPlacements,\n      padding = options.padding,\n      boundary = options.boundary,\n      rootBoundary = options.rootBoundary,\n      altBoundary = options.altBoundary,\n      _options$flipVariatio = options.flipVariations,\n      flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n      allowedAutoPlacements = options.allowedAutoPlacements;\n  var preferredPlacement = state.options.placement;\n  var basePlacement = getBasePlacement(preferredPlacement);\n  var isBasePlacement = basePlacement === preferredPlacement;\n  var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n  var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n    return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n      placement: placement,\n      boundary: boundary,\n      rootBoundary: rootBoundary,\n      padding: padding,\n      flipVariations: flipVariations,\n      allowedAutoPlacements: allowedAutoPlacements\n    }) : placement);\n  }, []);\n  var referenceRect = state.rects.reference;\n  var popperRect = state.rects.popper;\n  var checksMap = new Map();\n  var makeFallbackChecks = true;\n  var firstFittingPlacement = placements[0];\n\n  for (var i = 0; i < placements.length; i++) {\n    var placement = placements[i];\n\n    var _basePlacement = getBasePlacement(placement);\n\n    var isStartVariation = getVariation(placement) === start;\n    var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n    var len = isVertical ? 'width' : 'height';\n    var overflow = detectOverflow(state, {\n      placement: placement,\n      boundary: boundary,\n      rootBoundary: rootBoundary,\n      altBoundary: altBoundary,\n      padding: padding\n    });\n    var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n    if (referenceRect[len] > popperRect[len]) {\n      mainVariationSide = getOppositePlacement(mainVariationSide);\n    }\n\n    var altVariationSide = getOppositePlacement(mainVariationSide);\n    var checks = [];\n\n    if (checkMainAxis) {\n      checks.push(overflow[_basePlacement] <= 0);\n    }\n\n    if (checkAltAxis) {\n      checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n    }\n\n    if (checks.every(function (check) {\n      return check;\n    })) {\n      firstFittingPlacement = placement;\n      makeFallbackChecks = false;\n      break;\n    }\n\n    checksMap.set(placement, checks);\n  }\n\n  if (makeFallbackChecks) {\n    // `2` may be desired in some cases – research later\n    var numberOfChecks = flipVariations ? 3 : 1;\n\n    var _loop = function _loop(_i) {\n      var fittingPlacement = placements.find(function (placement) {\n        var checks = checksMap.get(placement);\n\n        if (checks) {\n          return checks.slice(0, _i).every(function (check) {\n            return check;\n          });\n        }\n      });\n\n      if (fittingPlacement) {\n        firstFittingPlacement = fittingPlacement;\n        return \"break\";\n      }\n    };\n\n    for (var _i = numberOfChecks; _i > 0; _i--) {\n      var _ret = _loop(_i);\n\n      if (_ret === \"break\") break;\n    }\n  }\n\n  if (state.placement !== firstFittingPlacement) {\n    state.modifiersData[name]._skip = true;\n    state.placement = firstFittingPlacement;\n    state.reset = true;\n  }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'flip',\n  enabled: true,\n  phase: 'main',\n  fn: flip,\n  requiresIfExists: ['offset'],\n  data: {\n    _skip: false\n  }\n};","import getVariation from \"./getVariation.js\";\nimport { variationPlacements, basePlacements, placements as allPlacements } from \"../enums.js\";\nimport detectOverflow from \"./detectOverflow.js\";\nimport getBasePlacement from \"./getBasePlacement.js\";\nexport default function computeAutoPlacement(state, options) {\n  if (options === void 0) {\n    options = {};\n  }\n\n  var _options = options,\n      placement = _options.placement,\n      boundary = _options.boundary,\n      rootBoundary = _options.rootBoundary,\n      padding = _options.padding,\n      flipVariations = _options.flipVariations,\n      _options$allowedAutoP = _options.allowedAutoPlacements,\n      allowedAutoPlacements = _options$allowedAutoP === void 0 ? allPlacements : _options$allowedAutoP;\n  var variation = getVariation(placement);\n  var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {\n    return getVariation(placement) === variation;\n  }) : basePlacements;\n  var allowedPlacements = placements.filter(function (placement) {\n    return allowedAutoPlacements.indexOf(placement) >= 0;\n  });\n\n  if (allowedPlacements.length === 0) {\n    allowedPlacements = placements;\n  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...\n\n\n  var overflows = allowedPlacements.reduce(function (acc, placement) {\n    acc[placement] = detectOverflow(state, {\n      placement: placement,\n      boundary: boundary,\n      rootBoundary: rootBoundary,\n      padding: padding\n    })[getBasePlacement(placement)];\n    return acc;\n  }, {});\n  return Object.keys(overflows).sort(function (a, b) {\n    return overflows[a] - overflows[b];\n  });\n}","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n  if (preventedOffsets === void 0) {\n    preventedOffsets = {\n      x: 0,\n      y: 0\n    };\n  }\n\n  return {\n    top: overflow.top - rect.height - preventedOffsets.y,\n    right: overflow.right - rect.width + preventedOffsets.x,\n    bottom: overflow.bottom - rect.height + preventedOffsets.y,\n    left: overflow.left - rect.width - preventedOffsets.x\n  };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n  return [top, right, bottom, left].some(function (side) {\n    return overflow[side] >= 0;\n  });\n}\n\nfunction hide(_ref) {\n  var state = _ref.state,\n      name = _ref.name;\n  var referenceRect = state.rects.reference;\n  var popperRect = state.rects.popper;\n  var preventedOffsets = state.modifiersData.preventOverflow;\n  var referenceOverflow = detectOverflow(state, {\n    elementContext: 'reference'\n  });\n  var popperAltOverflow = detectOverflow(state, {\n    altBoundary: true\n  });\n  var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n  var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n  var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n  var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n  state.modifiersData[name] = {\n    referenceClippingOffsets: referenceClippingOffsets,\n    popperEscapeOffsets: popperEscapeOffsets,\n    isReferenceHidden: isReferenceHidden,\n    hasPopperEscaped: hasPopperEscaped\n  };\n  state.attributes.popper = Object.assign({}, state.attributes.popper, {\n    'data-popper-reference-hidden': isReferenceHidden,\n    'data-popper-escaped': hasPopperEscaped\n  });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'hide',\n  enabled: true,\n  phase: 'main',\n  requiresIfExists: ['preventOverflow'],\n  fn: hide\n};","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n  var basePlacement = getBasePlacement(placement);\n  var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n  var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n    placement: placement\n  })) : offset,\n      skidding = _ref[0],\n      distance = _ref[1];\n\n  skidding = skidding || 0;\n  distance = (distance || 0) * invertDistance;\n  return [left, right].indexOf(basePlacement) >= 0 ? {\n    x: distance,\n    y: skidding\n  } : {\n    x: skidding,\n    y: distance\n  };\n}\n\nfunction offset(_ref2) {\n  var state = _ref2.state,\n      options = _ref2.options,\n      name = _ref2.name;\n  var _options$offset = options.offset,\n      offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n  var data = placements.reduce(function (acc, placement) {\n    acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n    return acc;\n  }, {});\n  var _data$state$placement = data[state.placement],\n      x = _data$state$placement.x,\n      y = _data$state$placement.y;\n\n  if (state.modifiersData.popperOffsets != null) {\n    state.modifiersData.popperOffsets.x += x;\n    state.modifiersData.popperOffsets.y += y;\n  }\n\n  state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'offset',\n  enabled: true,\n  phase: 'main',\n  requires: ['popperOffsets'],\n  fn: offset\n};","import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n  var state = _ref.state,\n      name = _ref.name;\n  // Offsets are the actual position the popper needs to have to be\n  // properly positioned near its reference element\n  // This is the most basic placement, and will be adjusted by\n  // the modifiers in the next step\n  state.modifiersData[name] = computeOffsets({\n    reference: state.rects.reference,\n    element: state.rects.popper,\n    strategy: 'absolute',\n    placement: state.placement\n  });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'popperOffsets',\n  enabled: true,\n  phase: 'read',\n  fn: popperOffsets,\n  data: {}\n};","import { top, left, right, bottom, start } from \"../enums.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport getAltAxis from \"../utils/getAltAxis.js\";\nimport { within, withinMaxClamp } from \"../utils/within.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport getFreshSideObject from \"../utils/getFreshSideObject.js\";\nimport { min as mathMin, max as mathMax } from \"../utils/math.js\";\n\nfunction preventOverflow(_ref) {\n  var state = _ref.state,\n      options = _ref.options,\n      name = _ref.name;\n  var _options$mainAxis = options.mainAxis,\n      checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n      _options$altAxis = options.altAxis,\n      checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,\n      boundary = options.boundary,\n      rootBoundary = options.rootBoundary,\n      altBoundary = options.altBoundary,\n      padding = options.padding,\n      _options$tether = options.tether,\n      tether = _options$tether === void 0 ? true : _options$tether,\n      _options$tetherOffset = options.tetherOffset,\n      tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;\n  var overflow = detectOverflow(state, {\n    boundary: boundary,\n    rootBoundary: rootBoundary,\n    padding: padding,\n    altBoundary: altBoundary\n  });\n  var basePlacement = getBasePlacement(state.placement);\n  var variation = getVariation(state.placement);\n  var isBasePlacement = !variation;\n  var mainAxis = getMainAxisFromPlacement(basePlacement);\n  var altAxis = getAltAxis(mainAxis);\n  var popperOffsets = state.modifiersData.popperOffsets;\n  var referenceRect = state.rects.reference;\n  var popperRect = state.rects.popper;\n  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {\n    placement: state.placement\n  })) : tetherOffset;\n  var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {\n    mainAxis: tetherOffsetValue,\n    altAxis: tetherOffsetValue\n  } : Object.assign({\n    mainAxis: 0,\n    altAxis: 0\n  }, tetherOffsetValue);\n  var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;\n  var data = {\n    x: 0,\n    y: 0\n  };\n\n  if (!popperOffsets) {\n    return;\n  }\n\n  if (checkMainAxis) {\n    var _offsetModifierState$;\n\n    var mainSide = mainAxis === 'y' ? top : left;\n    var altSide = mainAxis === 'y' ? bottom : right;\n    var len = mainAxis === 'y' ? 'height' : 'width';\n    var offset = popperOffsets[mainAxis];\n    var min = offset + overflow[mainSide];\n    var max = offset - overflow[altSide];\n    var additive = tether ? -popperRect[len] / 2 : 0;\n    var minLen = variation === start ? referenceRect[len] : popperRect[len];\n    var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go\n    // outside the reference bounds\n\n    var arrowElement = state.elements.arrow;\n    var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {\n      width: 0,\n      height: 0\n    };\n    var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();\n    var arrowPaddingMin = arrowPaddingObject[mainSide];\n    var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want\n    // to include its full size in the calculation. If the reference is small\n    // and near the edge of a boundary, the popper can overflow even if the\n    // reference is not overflowing as well (e.g. virtual elements with no\n    // width or height)\n\n    var arrowLen = within(0, referenceRect[len], arrowRect[len]);\n    var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;\n    var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;\n    var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);\n    var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;\n    var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;\n    var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;\n    var tetherMax = offset + maxOffset - offsetModifierValue;\n    var preventedOffset = within(tether ? mathMin(min, tetherMin) : min, offset, tether ? mathMax(max, tetherMax) : max);\n    popperOffsets[mainAxis] = preventedOffset;\n    data[mainAxis] = preventedOffset - offset;\n  }\n\n  if (checkAltAxis) {\n    var _offsetModifierState$2;\n\n    var _mainSide = mainAxis === 'x' ? top : left;\n\n    var _altSide = mainAxis === 'x' ? bottom : right;\n\n    var _offset = popperOffsets[altAxis];\n\n    var _len = altAxis === 'y' ? 'height' : 'width';\n\n    var _min = _offset + overflow[_mainSide];\n\n    var _max = _offset - overflow[_altSide];\n\n    var isOriginSide = [top, left].indexOf(basePlacement) !== -1;\n\n    var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;\n\n    var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;\n\n    var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;\n\n    var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);\n\n    popperOffsets[altAxis] = _preventedOffset;\n    data[altAxis] = _preventedOffset - _offset;\n  }\n\n  state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n  name: 'preventOverflow',\n  enabled: true,\n  phase: 'main',\n  fn: preventOverflow,\n  requiresIfExists: ['offset']\n};","export default function getAltAxis(axis) {\n  return axis === 'x' ? 'y' : 'x';\n}","import getBoundingClientRect from \"./getBoundingClientRect.js\";\nimport getNodeScroll from \"./getNodeScroll.js\";\nimport getNodeName from \"./getNodeName.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getWindowScrollBarX from \"./getWindowScrollBarX.js\";\nimport getDocumentElement from \"./getDocumentElement.js\";\nimport isScrollParent from \"./isScrollParent.js\";\nimport { round } from \"../utils/math.js\";\n\nfunction isElementScaled(element) {\n  var rect = element.getBoundingClientRect();\n  var scaleX = round(rect.width) / element.offsetWidth || 1;\n  var scaleY = round(rect.height) / element.offsetHeight || 1;\n  return scaleX !== 1 || scaleY !== 1;\n} // Returns the composite rect of an element relative to its offsetParent.\n// Composite means it takes into account transforms as well as layout.\n\n\nexport default function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {\n  if (isFixed === void 0) {\n    isFixed = false;\n  }\n\n  var isOffsetParentAnElement = isHTMLElement(offsetParent);\n  var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);\n  var documentElement = getDocumentElement(offsetParent);\n  var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);\n  var scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  var offsets = {\n    x: 0,\n    y: 0\n  };\n\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078\n    isScrollParent(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n\n    if (isHTMLElement(offsetParent)) {\n      offsets = getBoundingClientRect(offsetParent, true);\n      offsets.x += offsetParent.clientLeft;\n      offsets.y += offsetParent.clientTop;\n    } else if (documentElement) {\n      offsets.x = getWindowScrollBarX(documentElement);\n    }\n  }\n\n  return {\n    x: rect.left + scroll.scrollLeft - offsets.x,\n    y: rect.top + scroll.scrollTop - offsets.y,\n    width: rect.width,\n    height: rect.height\n  };\n}","import getWindowScroll from \"./getWindowScroll.js\";\nimport getWindow from \"./getWindow.js\";\nimport { isHTMLElement } from \"./instanceOf.js\";\nimport getHTMLElementScroll from \"./getHTMLElementScroll.js\";\nexport default function getNodeScroll(node) {\n  if (node === getWindow(node) || !isHTMLElement(node)) {\n    return getWindowScroll(node);\n  } else {\n    return getHTMLElementScroll(node);\n  }\n}","export default function getHTMLElementScroll(element) {\n  return {\n    scrollLeft: element.scrollLeft,\n    scrollTop: element.scrollTop\n  };\n}","import { modifierPhases } from \"../enums.js\"; // source: https://stackoverflow.com/questions/49875255\n\nfunction order(modifiers) {\n  var map = new Map();\n  var visited = new Set();\n  var result = [];\n  modifiers.forEach(function (modifier) {\n    map.set(modifier.name, modifier);\n  }); // On visiting object, check for its dependencies and visit them recursively\n\n  function sort(modifier) {\n    visited.add(modifier.name);\n    var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);\n    requires.forEach(function (dep) {\n      if (!visited.has(dep)) {\n        var depModifier = map.get(dep);\n\n        if (depModifier) {\n          sort(depModifier);\n        }\n      }\n    });\n    result.push(modifier);\n  }\n\n  modifiers.forEach(function (modifier) {\n    if (!visited.has(modifier.name)) {\n      // check for visited object\n      sort(modifier);\n    }\n  });\n  return result;\n}\n\nexport default function orderModifiers(modifiers) {\n  // order based on dependencies\n  var orderedModifiers = order(modifiers); // order based on phase\n\n  return modifierPhases.reduce(function (acc, phase) {\n    return acc.concat(orderedModifiers.filter(function (modifier) {\n      return modifier.phase === phase;\n    }));\n  }, []);\n}","import getCompositeRect from \"./dom-utils/getCompositeRect.js\";\nimport getLayoutRect from \"./dom-utils/getLayoutRect.js\";\nimport listScrollParents from \"./dom-utils/listScrollParents.js\";\nimport getOffsetParent from \"./dom-utils/getOffsetParent.js\";\nimport orderModifiers from \"./utils/orderModifiers.js\";\nimport debounce from \"./utils/debounce.js\";\nimport mergeByName from \"./utils/mergeByName.js\";\nimport detectOverflow from \"./utils/detectOverflow.js\";\nimport { isElement } from \"./dom-utils/instanceOf.js\";\nvar DEFAULT_OPTIONS = {\n  placement: 'bottom',\n  modifiers: [],\n  strategy: 'absolute'\n};\n\nfunction areValidElements() {\n  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n    args[_key] = arguments[_key];\n  }\n\n  return !args.some(function (element) {\n    return !(element && typeof element.getBoundingClientRect === 'function');\n  });\n}\n\nexport function popperGenerator(generatorOptions) {\n  if (generatorOptions === void 0) {\n    generatorOptions = {};\n  }\n\n  var _generatorOptions = generatorOptions,\n      _generatorOptions$def = _generatorOptions.defaultModifiers,\n      defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,\n      _generatorOptions$def2 = _generatorOptions.defaultOptions,\n      defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;\n  return function createPopper(reference, popper, options) {\n    if (options === void 0) {\n      options = defaultOptions;\n    }\n\n    var state = {\n      placement: 'bottom',\n      orderedModifiers: [],\n      options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),\n      modifiersData: {},\n      elements: {\n        reference: reference,\n        popper: popper\n      },\n      attributes: {},\n      styles: {}\n    };\n    var effectCleanupFns = [];\n    var isDestroyed = false;\n    var instance = {\n      state: state,\n      setOptions: function setOptions(setOptionsAction) {\n        var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;\n        cleanupModifierEffects();\n        state.options = Object.assign({}, defaultOptions, state.options, options);\n        state.scrollParents = {\n          reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],\n          popper: listScrollParents(popper)\n        }; // Orders the modifiers based on their dependencies and `phase`\n        // properties\n\n        var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers\n\n        state.orderedModifiers = orderedModifiers.filter(function (m) {\n          return m.enabled;\n        });\n        runModifierEffects();\n        return instance.update();\n      },\n      // Sync update – it will always be executed, even if not necessary. This\n      // is useful for low frequency updates where sync behavior simplifies the\n      // logic.\n      // For high frequency updates (e.g. `resize` and `scroll` events), always\n      // prefer the async Popper#update method\n      forceUpdate: function forceUpdate() {\n        if (isDestroyed) {\n          return;\n        }\n\n        var _state$elements = state.elements,\n            reference = _state$elements.reference,\n            popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements\n        // anymore\n\n        if (!areValidElements(reference, popper)) {\n          return;\n        } // Store the reference and popper rects to be read by modifiers\n\n\n        state.rects = {\n          reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),\n          popper: getLayoutRect(popper)\n        }; // Modifiers have the ability to reset the current update cycle. The\n        // most common use case for this is the `flip` modifier changing the\n        // placement, which then needs to re-run all the modifiers, because the\n        // logic was previously ran for the previous placement and is therefore\n        // stale/incorrect\n\n        state.reset = false;\n        state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier\n        // is filled with the initial data specified by the modifier. This means\n        // it doesn't persist and is fresh on each update.\n        // To ensure persistent data, use `${name}#persistent`\n\n        state.orderedModifiers.forEach(function (modifier) {\n          return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);\n        });\n\n        for (var index = 0; index < state.orderedModifiers.length; index++) {\n          if (state.reset === true) {\n            state.reset = false;\n            index = -1;\n            continue;\n          }\n\n          var _state$orderedModifie = state.orderedModifiers[index],\n              fn = _state$orderedModifie.fn,\n              _state$orderedModifie2 = _state$orderedModifie.options,\n              _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,\n              name = _state$orderedModifie.name;\n\n          if (typeof fn === 'function') {\n            state = fn({\n              state: state,\n              options: _options,\n              name: name,\n              instance: instance\n            }) || state;\n          }\n        }\n      },\n      // Async and optimistically optimized update – it will not be executed if\n      // not necessary (debounced to run at most once-per-tick)\n      update: debounce(function () {\n        return new Promise(function (resolve) {\n          instance.forceUpdate();\n          resolve(state);\n        });\n      }),\n      destroy: function destroy() {\n        cleanupModifierEffects();\n        isDestroyed = true;\n      }\n    };\n\n    if (!areValidElements(reference, popper)) {\n      return instance;\n    }\n\n    instance.setOptions(options).then(function (state) {\n      if (!isDestroyed && options.onFirstUpdate) {\n        options.onFirstUpdate(state);\n      }\n    }); // Modifiers have the ability to execute arbitrary code before the first\n    // update cycle runs. They will be executed in the same order as the update\n    // cycle. This is useful when a modifier adds some persistent data that\n    // other modifiers need to use, but the modifier is run after the dependent\n    // one.\n\n    function runModifierEffects() {\n      state.orderedModifiers.forEach(function (_ref) {\n        var name = _ref.name,\n            _ref$options = _ref.options,\n            options = _ref$options === void 0 ? {} : _ref$options,\n            effect = _ref.effect;\n\n        if (typeof effect === 'function') {\n          var cleanupFn = effect({\n            state: state,\n            name: name,\n            instance: instance,\n            options: options\n          });\n\n          var noopFn = function noopFn() {};\n\n          effectCleanupFns.push(cleanupFn || noopFn);\n        }\n      });\n    }\n\n    function cleanupModifierEffects() {\n      effectCleanupFns.forEach(function (fn) {\n        return fn();\n      });\n      effectCleanupFns = [];\n    }\n\n    return instance;\n  };\n}\nexport var createPopper = /*#__PURE__*/popperGenerator(); // eslint-disable-next-line import/no-unused-modules\n\nexport { detectOverflow };","export default function debounce(fn) {\n  var pending;\n  return function () {\n    if (!pending) {\n      pending = new Promise(function (resolve) {\n        Promise.resolve().then(function () {\n          pending = undefined;\n          resolve(fn());\n        });\n      });\n    }\n\n    return pending;\n  };\n}","export default function mergeByName(modifiers) {\n  var merged = modifiers.reduce(function (merged, current) {\n    var existing = merged[current.name];\n    merged[current.name] = existing ? Object.assign({}, existing, current, {\n      options: Object.assign({}, existing.options, current.options),\n      data: Object.assign({}, existing.data, current.data)\n    }) : current;\n    return merged;\n  }, {}); // IE11 does not support Object.values\n\n  return Object.keys(merged).map(function (key) {\n    return merged[key];\n  });\n}","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n  defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles];\nvar createPopper = /*#__PURE__*/popperGenerator({\n  defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow };","/*!\n  * Bootstrap v5.3.0 (https://getbootstrap.com/)\n  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n  */\nimport * as Popper from '@popperjs/core';\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/data.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n/**\n * Constants\n */\n\nconst elementMap = new Map();\nconst Data = {\n  set(element, key, instance) {\n    if (!elementMap.has(element)) {\n      elementMap.set(element, new Map());\n    }\n    const instanceMap = elementMap.get(element);\n\n    // make it clear we only want one instance per element\n    // can be removed later when multiple key/instances are fine to be used\n    if (!instanceMap.has(key) && instanceMap.size !== 0) {\n      // eslint-disable-next-line no-console\n      console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`);\n      return;\n    }\n    instanceMap.set(key, instance);\n  },\n  get(element, key) {\n    if (elementMap.has(element)) {\n      return elementMap.get(element).get(key) || null;\n    }\n    return null;\n  },\n  remove(element, key) {\n    if (!elementMap.has(element)) {\n      return;\n    }\n    const instanceMap = elementMap.get(element);\n    instanceMap.delete(key);\n\n    // free up element references if there are no instances left for an element\n    if (instanceMap.size === 0) {\n      elementMap.delete(element);\n    }\n  }\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/index.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst MAX_UID = 1000000;\nconst MILLISECONDS_MULTIPLIER = 1000;\nconst TRANSITION_END = 'transitionend';\n\n/**\n * Properly escape IDs selectors to handle weird IDs\n * @param {string} selector\n * @returns {string}\n */\nconst parseSelector = selector => {\n  if (selector && window.CSS && window.CSS.escape) {\n    // document.querySelector needs escaping to handle IDs (html5+) containing for instance /\n    selector = selector.replace(/#([^\\s\"#']+)/g, (match, id) => `#${CSS.escape(id)}`);\n  }\n  return selector;\n};\n\n// Shout-out Angus Croll (https://goo.gl/pxwQGp)\nconst toType = object => {\n  if (object === null || object === undefined) {\n    return `${object}`;\n  }\n  return Object.prototype.toString.call(object).match(/\\s([a-z]+)/i)[1].toLowerCase();\n};\n\n/**\n * Public Util API\n */\n\nconst getUID = prefix => {\n  do {\n    prefix += Math.floor(Math.random() * MAX_UID);\n  } while (document.getElementById(prefix));\n  return prefix;\n};\nconst getTransitionDurationFromElement = element => {\n  if (!element) {\n    return 0;\n  }\n\n  // Get transition-duration of the element\n  let {\n    transitionDuration,\n    transitionDelay\n  } = window.getComputedStyle(element);\n  const floatTransitionDuration = Number.parseFloat(transitionDuration);\n  const floatTransitionDelay = Number.parseFloat(transitionDelay);\n\n  // Return 0 if element or transition duration is not found\n  if (!floatTransitionDuration && !floatTransitionDelay) {\n    return 0;\n  }\n\n  // If multiple durations are defined, take the first\n  transitionDuration = transitionDuration.split(',')[0];\n  transitionDelay = transitionDelay.split(',')[0];\n  return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER;\n};\nconst triggerTransitionEnd = element => {\n  element.dispatchEvent(new Event(TRANSITION_END));\n};\nconst isElement = object => {\n  if (!object || typeof object !== 'object') {\n    return false;\n  }\n  if (typeof object.jquery !== 'undefined') {\n    object = object[0];\n  }\n  return typeof object.nodeType !== 'undefined';\n};\nconst getElement = object => {\n  // it's a jQuery object or a node element\n  if (isElement(object)) {\n    return object.jquery ? object[0] : object;\n  }\n  if (typeof object === 'string' && object.length > 0) {\n    return document.querySelector(parseSelector(object));\n  }\n  return null;\n};\nconst isVisible = element => {\n  if (!isElement(element) || element.getClientRects().length === 0) {\n    return false;\n  }\n  const elementIsVisible = getComputedStyle(element).getPropertyValue('visibility') === 'visible';\n  // Handle `details` element as its content may falsie appear visible when it is closed\n  const closedDetails = element.closest('details:not([open])');\n  if (!closedDetails) {\n    return elementIsVisible;\n  }\n  if (closedDetails !== element) {\n    const summary = element.closest('summary');\n    if (summary && summary.parentNode !== closedDetails) {\n      return false;\n    }\n    if (summary === null) {\n      return false;\n    }\n  }\n  return elementIsVisible;\n};\nconst isDisabled = element => {\n  if (!element || element.nodeType !== Node.ELEMENT_NODE) {\n    return true;\n  }\n  if (element.classList.contains('disabled')) {\n    return true;\n  }\n  if (typeof element.disabled !== 'undefined') {\n    return element.disabled;\n  }\n  return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false';\n};\nconst findShadowRoot = element => {\n  if (!document.documentElement.attachShadow) {\n    return null;\n  }\n\n  // Can find the shadow root otherwise it'll return the document\n  if (typeof element.getRootNode === 'function') {\n    const root = element.getRootNode();\n    return root instanceof ShadowRoot ? root : null;\n  }\n  if (element instanceof ShadowRoot) {\n    return element;\n  }\n\n  // when we don't find a shadow root\n  if (!element.parentNode) {\n    return null;\n  }\n  return findShadowRoot(element.parentNode);\n};\nconst noop = () => {};\n\n/**\n * Trick to restart an element's animation\n *\n * @param {HTMLElement} element\n * @return void\n *\n * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation\n */\nconst reflow = element => {\n  element.offsetHeight; // eslint-disable-line no-unused-expressions\n};\n\nconst getjQuery = () => {\n  if (window.jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {\n    return window.jQuery;\n  }\n  return null;\n};\nconst DOMContentLoadedCallbacks = [];\nconst onDOMContentLoaded = callback => {\n  if (document.readyState === 'loading') {\n    // add listener on the first call when the document is in loading state\n    if (!DOMContentLoadedCallbacks.length) {\n      document.addEventListener('DOMContentLoaded', () => {\n        for (const callback of DOMContentLoadedCallbacks) {\n          callback();\n        }\n      });\n    }\n    DOMContentLoadedCallbacks.push(callback);\n  } else {\n    callback();\n  }\n};\nconst isRTL = () => document.documentElement.dir === 'rtl';\nconst defineJQueryPlugin = plugin => {\n  onDOMContentLoaded(() => {\n    const $ = getjQuery();\n    /* istanbul ignore if */\n    if ($) {\n      const name = plugin.NAME;\n      const JQUERY_NO_CONFLICT = $.fn[name];\n      $.fn[name] = plugin.jQueryInterface;\n      $.fn[name].Constructor = plugin;\n      $.fn[name].noConflict = () => {\n        $.fn[name] = JQUERY_NO_CONFLICT;\n        return plugin.jQueryInterface;\n      };\n    }\n  });\n};\nconst execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {\n  return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;\n};\nconst executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {\n  if (!waitForTransition) {\n    execute(callback);\n    return;\n  }\n  const durationPadding = 5;\n  const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding;\n  let called = false;\n  const handler = ({\n    target\n  }) => {\n    if (target !== transitionElement) {\n      return;\n    }\n    called = true;\n    transitionElement.removeEventListener(TRANSITION_END, handler);\n    execute(callback);\n  };\n  transitionElement.addEventListener(TRANSITION_END, handler);\n  setTimeout(() => {\n    if (!called) {\n      triggerTransitionEnd(transitionElement);\n    }\n  }, emulatedDuration);\n};\n\n/**\n * Return the previous/next element of a list.\n *\n * @param {array} list    The list of elements\n * @param activeElement   The active element\n * @param shouldGetNext   Choose to get next or previous element\n * @param isCycleAllowed\n * @return {Element|elem} The proper element\n */\nconst getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {\n  const listLength = list.length;\n  let index = list.indexOf(activeElement);\n\n  // if the element does not exist in the list return an element\n  // depending on the direction and if cycle is allowed\n  if (index === -1) {\n    return !shouldGetNext && isCycleAllowed ? list[listLength - 1] : list[0];\n  }\n  index += shouldGetNext ? 1 : -1;\n  if (isCycleAllowed) {\n    index = (index + listLength) % listLength;\n  }\n  return list[Math.max(0, Math.min(index, listLength - 1))];\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/event-handler.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst namespaceRegex = /[^.]*(?=\\..*)\\.|.*/;\nconst stripNameRegex = /\\..*/;\nconst stripUidRegex = /::\\d+$/;\nconst eventRegistry = {}; // Events storage\nlet uidEvent = 1;\nconst customEvents = {\n  mouseenter: 'mouseover',\n  mouseleave: 'mouseout'\n};\nconst nativeEvents = new Set(['click', 'dblclick', 'mouseup', 'mousedown', 'contextmenu', 'mousewheel', 'DOMMouseScroll', 'mouseover', 'mouseout', 'mousemove', 'selectstart', 'selectend', 'keydown', 'keypress', 'keyup', 'orientationchange', 'touchstart', 'touchmove', 'touchend', 'touchcancel', 'pointerdown', 'pointermove', 'pointerup', 'pointerleave', 'pointercancel', 'gesturestart', 'gesturechange', 'gestureend', 'focus', 'blur', 'change', 'reset', 'select', 'submit', 'focusin', 'focusout', 'load', 'unload', 'beforeunload', 'resize', 'move', 'DOMContentLoaded', 'readystatechange', 'error', 'abort', 'scroll']);\n\n/**\n * Private methods\n */\n\nfunction makeEventUid(element, uid) {\n  return uid && `${uid}::${uidEvent++}` || element.uidEvent || uidEvent++;\n}\nfunction getElementEvents(element) {\n  const uid = makeEventUid(element);\n  element.uidEvent = uid;\n  eventRegistry[uid] = eventRegistry[uid] || {};\n  return eventRegistry[uid];\n}\nfunction bootstrapHandler(element, fn) {\n  return function handler(event) {\n    hydrateObj(event, {\n      delegateTarget: element\n    });\n    if (handler.oneOff) {\n      EventHandler.off(element, event.type, fn);\n    }\n    return fn.apply(element, [event]);\n  };\n}\nfunction bootstrapDelegationHandler(element, selector, fn) {\n  return function handler(event) {\n    const domElements = element.querySelectorAll(selector);\n    for (let {\n      target\n    } = event; target && target !== this; target = target.parentNode) {\n      for (const domElement of domElements) {\n        if (domElement !== target) {\n          continue;\n        }\n        hydrateObj(event, {\n          delegateTarget: target\n        });\n        if (handler.oneOff) {\n          EventHandler.off(element, event.type, selector, fn);\n        }\n        return fn.apply(target, [event]);\n      }\n    }\n  };\n}\nfunction findHandler(events, callable, delegationSelector = null) {\n  return Object.values(events).find(event => event.callable === callable && event.delegationSelector === delegationSelector);\n}\nfunction normalizeParameters(originalTypeEvent, handler, delegationFunction) {\n  const isDelegated = typeof handler === 'string';\n  // TODO: tooltip passes `false` instead of selector, so we need to check\n  const callable = isDelegated ? delegationFunction : handler || delegationFunction;\n  let typeEvent = getTypeEvent(originalTypeEvent);\n  if (!nativeEvents.has(typeEvent)) {\n    typeEvent = originalTypeEvent;\n  }\n  return [isDelegated, callable, typeEvent];\n}\nfunction addHandler(element, originalTypeEvent, handler, delegationFunction, oneOff) {\n  if (typeof originalTypeEvent !== 'string' || !element) {\n    return;\n  }\n  let [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction);\n\n  // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position\n  // this prevents the handler from being dispatched the same way as mouseover or mouseout does\n  if (originalTypeEvent in customEvents) {\n    const wrapFunction = fn => {\n      return function (event) {\n        if (!event.relatedTarget || event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget)) {\n          return fn.call(this, event);\n        }\n      };\n    };\n    callable = wrapFunction(callable);\n  }\n  const events = getElementEvents(element);\n  const handlers = events[typeEvent] || (events[typeEvent] = {});\n  const previousFunction = findHandler(handlers, callable, isDelegated ? handler : null);\n  if (previousFunction) {\n    previousFunction.oneOff = previousFunction.oneOff && oneOff;\n    return;\n  }\n  const uid = makeEventUid(callable, originalTypeEvent.replace(namespaceRegex, ''));\n  const fn = isDelegated ? bootstrapDelegationHandler(element, handler, callable) : bootstrapHandler(element, callable);\n  fn.delegationSelector = isDelegated ? handler : null;\n  fn.callable = callable;\n  fn.oneOff = oneOff;\n  fn.uidEvent = uid;\n  handlers[uid] = fn;\n  element.addEventListener(typeEvent, fn, isDelegated);\n}\nfunction removeHandler(element, events, typeEvent, handler, delegationSelector) {\n  const fn = findHandler(events[typeEvent], handler, delegationSelector);\n  if (!fn) {\n    return;\n  }\n  element.removeEventListener(typeEvent, fn, Boolean(delegationSelector));\n  delete events[typeEvent][fn.uidEvent];\n}\nfunction removeNamespacedHandlers(element, events, typeEvent, namespace) {\n  const storeElementEvent = events[typeEvent] || {};\n  for (const [handlerKey, event] of Object.entries(storeElementEvent)) {\n    if (handlerKey.includes(namespace)) {\n      removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);\n    }\n  }\n}\nfunction getTypeEvent(event) {\n  // allow to get the native events from namespaced events ('click.bs.button' --> 'click')\n  event = event.replace(stripNameRegex, '');\n  return customEvents[event] || event;\n}\nconst EventHandler = {\n  on(element, event, handler, delegationFunction) {\n    addHandler(element, event, handler, delegationFunction, false);\n  },\n  one(element, event, handler, delegationFunction) {\n    addHandler(element, event, handler, delegationFunction, true);\n  },\n  off(element, originalTypeEvent, handler, delegationFunction) {\n    if (typeof originalTypeEvent !== 'string' || !element) {\n      return;\n    }\n    const [isDelegated, callable, typeEvent] = normalizeParameters(originalTypeEvent, handler, delegationFunction);\n    const inNamespace = typeEvent !== originalTypeEvent;\n    const events = getElementEvents(element);\n    const storeElementEvent = events[typeEvent] || {};\n    const isNamespace = originalTypeEvent.startsWith('.');\n    if (typeof callable !== 'undefined') {\n      // Simplest case: handler is passed, remove that listener ONLY.\n      if (!Object.keys(storeElementEvent).length) {\n        return;\n      }\n      removeHandler(element, events, typeEvent, callable, isDelegated ? handler : null);\n      return;\n    }\n    if (isNamespace) {\n      for (const elementEvent of Object.keys(events)) {\n        removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));\n      }\n    }\n    for (const [keyHandlers, event] of Object.entries(storeElementEvent)) {\n      const handlerKey = keyHandlers.replace(stripUidRegex, '');\n      if (!inNamespace || originalTypeEvent.includes(handlerKey)) {\n        removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);\n      }\n    }\n  },\n  trigger(element, event, args) {\n    if (typeof event !== 'string' || !element) {\n      return null;\n    }\n    const $ = getjQuery();\n    const typeEvent = getTypeEvent(event);\n    const inNamespace = event !== typeEvent;\n    let jQueryEvent = null;\n    let bubbles = true;\n    let nativeDispatch = true;\n    let defaultPrevented = false;\n    if (inNamespace && $) {\n      jQueryEvent = $.Event(event, args);\n      $(element).trigger(jQueryEvent);\n      bubbles = !jQueryEvent.isPropagationStopped();\n      nativeDispatch = !jQueryEvent.isImmediatePropagationStopped();\n      defaultPrevented = jQueryEvent.isDefaultPrevented();\n    }\n    const evt = hydrateObj(new Event(event, {\n      bubbles,\n      cancelable: true\n    }), args);\n    if (defaultPrevented) {\n      evt.preventDefault();\n    }\n    if (nativeDispatch) {\n      element.dispatchEvent(evt);\n    }\n    if (evt.defaultPrevented && jQueryEvent) {\n      jQueryEvent.preventDefault();\n    }\n    return evt;\n  }\n};\nfunction hydrateObj(obj, meta = {}) {\n  for (const [key, value] of Object.entries(meta)) {\n    try {\n      obj[key] = value;\n    } catch (_unused) {\n      Object.defineProperty(obj, key, {\n        configurable: true,\n        get() {\n          return value;\n        }\n      });\n    }\n  }\n  return obj;\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/manipulator.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nfunction normalizeData(value) {\n  if (value === 'true') {\n    return true;\n  }\n  if (value === 'false') {\n    return false;\n  }\n  if (value === Number(value).toString()) {\n    return Number(value);\n  }\n  if (value === '' || value === 'null') {\n    return null;\n  }\n  if (typeof value !== 'string') {\n    return value;\n  }\n  try {\n    return JSON.parse(decodeURIComponent(value));\n  } catch (_unused) {\n    return value;\n  }\n}\nfunction normalizeDataKey(key) {\n  return key.replace(/[A-Z]/g, chr => `-${chr.toLowerCase()}`);\n}\nconst Manipulator = {\n  setDataAttribute(element, key, value) {\n    element.setAttribute(`data-bs-${normalizeDataKey(key)}`, value);\n  },\n  removeDataAttribute(element, key) {\n    element.removeAttribute(`data-bs-${normalizeDataKey(key)}`);\n  },\n  getDataAttributes(element) {\n    if (!element) {\n      return {};\n    }\n    const attributes = {};\n    const bsKeys = Object.keys(element.dataset).filter(key => key.startsWith('bs') && !key.startsWith('bsConfig'));\n    for (const key of bsKeys) {\n      let pureKey = key.replace(/^bs/, '');\n      pureKey = pureKey.charAt(0).toLowerCase() + pureKey.slice(1, pureKey.length);\n      attributes[pureKey] = normalizeData(element.dataset[key]);\n    }\n    return attributes;\n  },\n  getDataAttribute(element, key) {\n    return normalizeData(element.getAttribute(`data-bs-${normalizeDataKey(key)}`));\n  }\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/config.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Class definition\n */\n\nclass Config {\n  // Getters\n  static get Default() {\n    return {};\n  }\n  static get DefaultType() {\n    return {};\n  }\n  static get NAME() {\n    throw new Error('You have to implement the static method \"NAME\", for each component!');\n  }\n  _getConfig(config) {\n    config = this._mergeConfigObj(config);\n    config = this._configAfterMerge(config);\n    this._typeCheckConfig(config);\n    return config;\n  }\n  _configAfterMerge(config) {\n    return config;\n  }\n  _mergeConfigObj(config, element) {\n    const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {}; // try to parse\n\n    return {\n      ...this.constructor.Default,\n      ...(typeof jsonConfig === 'object' ? jsonConfig : {}),\n      ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),\n      ...(typeof config === 'object' ? config : {})\n    };\n  }\n  _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {\n    for (const [property, expectedTypes] of Object.entries(configTypes)) {\n      const value = config[property];\n      const valueType = isElement(value) ? 'element' : toType(value);\n      if (!new RegExp(expectedTypes).test(valueType)) {\n        throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option \"${property}\" provided type \"${valueType}\" but expected type \"${expectedTypes}\".`);\n      }\n    }\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap base-component.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst VERSION = '5.3.0';\n\n/**\n * Class definition\n */\n\nclass BaseComponent extends Config {\n  constructor(element, config) {\n    super();\n    element = getElement(element);\n    if (!element) {\n      return;\n    }\n    this._element = element;\n    this._config = this._getConfig(config);\n    Data.set(this._element, this.constructor.DATA_KEY, this);\n  }\n\n  // Public\n  dispose() {\n    Data.remove(this._element, this.constructor.DATA_KEY);\n    EventHandler.off(this._element, this.constructor.EVENT_KEY);\n    for (const propertyName of Object.getOwnPropertyNames(this)) {\n      this[propertyName] = null;\n    }\n  }\n  _queueCallback(callback, element, isAnimated = true) {\n    executeAfterTransition(callback, element, isAnimated);\n  }\n  _getConfig(config) {\n    config = this._mergeConfigObj(config, this._element);\n    config = this._configAfterMerge(config);\n    this._typeCheckConfig(config);\n    return config;\n  }\n\n  // Static\n  static getInstance(element) {\n    return Data.get(getElement(element), this.DATA_KEY);\n  }\n  static getOrCreateInstance(element, config = {}) {\n    return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null);\n  }\n  static get VERSION() {\n    return VERSION;\n  }\n  static get DATA_KEY() {\n    return `bs.${this.NAME}`;\n  }\n  static get EVENT_KEY() {\n    return `.${this.DATA_KEY}`;\n  }\n  static eventName(name) {\n    return `${name}${this.EVENT_KEY}`;\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap dom/selector-engine.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst getSelector = element => {\n  let selector = element.getAttribute('data-bs-target');\n  if (!selector || selector === '#') {\n    let hrefAttribute = element.getAttribute('href');\n\n    // The only valid content that could double as a selector are IDs or classes,\n    // so everything starting with `#` or `.`. If a \"real\" URL is used as the selector,\n    // `document.querySelector` will rightfully complain it is invalid.\n    // See https://github.com/twbs/bootstrap/issues/32273\n    if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) {\n      return null;\n    }\n\n    // Just in case some CMS puts out a full URL with the anchor appended\n    if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {\n      hrefAttribute = `#${hrefAttribute.split('#')[1]}`;\n    }\n    selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;\n  }\n  return parseSelector(selector);\n};\nconst SelectorEngine = {\n  find(selector, element = document.documentElement) {\n    return [].concat(...Element.prototype.querySelectorAll.call(element, selector));\n  },\n  findOne(selector, element = document.documentElement) {\n    return Element.prototype.querySelector.call(element, selector);\n  },\n  children(element, selector) {\n    return [].concat(...element.children).filter(child => child.matches(selector));\n  },\n  parents(element, selector) {\n    const parents = [];\n    let ancestor = element.parentNode.closest(selector);\n    while (ancestor) {\n      parents.push(ancestor);\n      ancestor = ancestor.parentNode.closest(selector);\n    }\n    return parents;\n  },\n  prev(element, selector) {\n    let previous = element.previousElementSibling;\n    while (previous) {\n      if (previous.matches(selector)) {\n        return [previous];\n      }\n      previous = previous.previousElementSibling;\n    }\n    return [];\n  },\n  // TODO: this is now unused; remove later along with prev()\n  next(element, selector) {\n    let next = element.nextElementSibling;\n    while (next) {\n      if (next.matches(selector)) {\n        return [next];\n      }\n      next = next.nextElementSibling;\n    }\n    return [];\n  },\n  focusableChildren(element) {\n    const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable=\"true\"]'].map(selector => `${selector}:not([tabindex^=\"-\"])`).join(',');\n    return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el));\n  },\n  getSelectorFromElement(element) {\n    const selector = getSelector(element);\n    if (selector) {\n      return SelectorEngine.findOne(selector) ? selector : null;\n    }\n    return null;\n  },\n  getElementFromSelector(element) {\n    const selector = getSelector(element);\n    return selector ? SelectorEngine.findOne(selector) : null;\n  },\n  getMultipleElementsFromSelector(element) {\n    const selector = getSelector(element);\n    return selector ? SelectorEngine.find(selector) : [];\n  }\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/component-functions.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst enableDismissTrigger = (component, method = 'hide') => {\n  const clickEvent = `click.dismiss${component.EVENT_KEY}`;\n  const name = component.NAME;\n  EventHandler.on(document, clickEvent, `[data-bs-dismiss=\"${name}\"]`, function (event) {\n    if (['A', 'AREA'].includes(this.tagName)) {\n      event.preventDefault();\n    }\n    if (isDisabled(this)) {\n      return;\n    }\n    const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`);\n    const instance = component.getOrCreateInstance(target);\n\n    // Method argument is left, for Alert and only, as it doesn't implement the 'hide' method\n    instance[method]();\n  });\n};\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap alert.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$f = 'alert';\nconst DATA_KEY$a = 'bs.alert';\nconst EVENT_KEY$b = `.${DATA_KEY$a}`;\nconst EVENT_CLOSE = `close${EVENT_KEY$b}`;\nconst EVENT_CLOSED = `closed${EVENT_KEY$b}`;\nconst CLASS_NAME_FADE$5 = 'fade';\nconst CLASS_NAME_SHOW$8 = 'show';\n\n/**\n * Class definition\n */\n\nclass Alert extends BaseComponent {\n  // Getters\n  static get NAME() {\n    return NAME$f;\n  }\n\n  // Public\n  close() {\n    const closeEvent = EventHandler.trigger(this._element, EVENT_CLOSE);\n    if (closeEvent.defaultPrevented) {\n      return;\n    }\n    this._element.classList.remove(CLASS_NAME_SHOW$8);\n    const isAnimated = this._element.classList.contains(CLASS_NAME_FADE$5);\n    this._queueCallback(() => this._destroyElement(), this._element, isAnimated);\n  }\n\n  // Private\n  _destroyElement() {\n    this._element.remove();\n    EventHandler.trigger(this._element, EVENT_CLOSED);\n    this.dispose();\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Alert.getOrCreateInstance(this);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config](this);\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nenableDismissTrigger(Alert, 'close');\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Alert);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap button.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$e = 'button';\nconst DATA_KEY$9 = 'bs.button';\nconst EVENT_KEY$a = `.${DATA_KEY$9}`;\nconst DATA_API_KEY$6 = '.data-api';\nconst CLASS_NAME_ACTIVE$3 = 'active';\nconst SELECTOR_DATA_TOGGLE$5 = '[data-bs-toggle=\"button\"]';\nconst EVENT_CLICK_DATA_API$6 = `click${EVENT_KEY$a}${DATA_API_KEY$6}`;\n\n/**\n * Class definition\n */\n\nclass Button extends BaseComponent {\n  // Getters\n  static get NAME() {\n    return NAME$e;\n  }\n\n  // Public\n  toggle() {\n    // Toggle class and sync the `aria-pressed` attribute with the return value of the `.toggle()` method\n    this._element.setAttribute('aria-pressed', this._element.classList.toggle(CLASS_NAME_ACTIVE$3));\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Button.getOrCreateInstance(this);\n      if (config === 'toggle') {\n        data[config]();\n      }\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$5, event => {\n  event.preventDefault();\n  const button = event.target.closest(SELECTOR_DATA_TOGGLE$5);\n  const data = Button.getOrCreateInstance(button);\n  data.toggle();\n});\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Button);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/swipe.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$d = 'swipe';\nconst EVENT_KEY$9 = '.bs.swipe';\nconst EVENT_TOUCHSTART = `touchstart${EVENT_KEY$9}`;\nconst EVENT_TOUCHMOVE = `touchmove${EVENT_KEY$9}`;\nconst EVENT_TOUCHEND = `touchend${EVENT_KEY$9}`;\nconst EVENT_POINTERDOWN = `pointerdown${EVENT_KEY$9}`;\nconst EVENT_POINTERUP = `pointerup${EVENT_KEY$9}`;\nconst POINTER_TYPE_TOUCH = 'touch';\nconst POINTER_TYPE_PEN = 'pen';\nconst CLASS_NAME_POINTER_EVENT = 'pointer-event';\nconst SWIPE_THRESHOLD = 40;\nconst Default$c = {\n  endCallback: null,\n  leftCallback: null,\n  rightCallback: null\n};\nconst DefaultType$c = {\n  endCallback: '(function|null)',\n  leftCallback: '(function|null)',\n  rightCallback: '(function|null)'\n};\n\n/**\n * Class definition\n */\n\nclass Swipe extends Config {\n  constructor(element, config) {\n    super();\n    this._element = element;\n    if (!element || !Swipe.isSupported()) {\n      return;\n    }\n    this._config = this._getConfig(config);\n    this._deltaX = 0;\n    this._supportPointerEvents = Boolean(window.PointerEvent);\n    this._initEvents();\n  }\n\n  // Getters\n  static get Default() {\n    return Default$c;\n  }\n  static get DefaultType() {\n    return DefaultType$c;\n  }\n  static get NAME() {\n    return NAME$d;\n  }\n\n  // Public\n  dispose() {\n    EventHandler.off(this._element, EVENT_KEY$9);\n  }\n\n  // Private\n  _start(event) {\n    if (!this._supportPointerEvents) {\n      this._deltaX = event.touches[0].clientX;\n      return;\n    }\n    if (this._eventIsPointerPenTouch(event)) {\n      this._deltaX = event.clientX;\n    }\n  }\n  _end(event) {\n    if (this._eventIsPointerPenTouch(event)) {\n      this._deltaX = event.clientX - this._deltaX;\n    }\n    this._handleSwipe();\n    execute(this._config.endCallback);\n  }\n  _move(event) {\n    this._deltaX = event.touches && event.touches.length > 1 ? 0 : event.touches[0].clientX - this._deltaX;\n  }\n  _handleSwipe() {\n    const absDeltaX = Math.abs(this._deltaX);\n    if (absDeltaX <= SWIPE_THRESHOLD) {\n      return;\n    }\n    const direction = absDeltaX / this._deltaX;\n    this._deltaX = 0;\n    if (!direction) {\n      return;\n    }\n    execute(direction > 0 ? this._config.rightCallback : this._config.leftCallback);\n  }\n  _initEvents() {\n    if (this._supportPointerEvents) {\n      EventHandler.on(this._element, EVENT_POINTERDOWN, event => this._start(event));\n      EventHandler.on(this._element, EVENT_POINTERUP, event => this._end(event));\n      this._element.classList.add(CLASS_NAME_POINTER_EVENT);\n    } else {\n      EventHandler.on(this._element, EVENT_TOUCHSTART, event => this._start(event));\n      EventHandler.on(this._element, EVENT_TOUCHMOVE, event => this._move(event));\n      EventHandler.on(this._element, EVENT_TOUCHEND, event => this._end(event));\n    }\n  }\n  _eventIsPointerPenTouch(event) {\n    return this._supportPointerEvents && (event.pointerType === POINTER_TYPE_PEN || event.pointerType === POINTER_TYPE_TOUCH);\n  }\n\n  // Static\n  static isSupported() {\n    return 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0;\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap carousel.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$c = 'carousel';\nconst DATA_KEY$8 = 'bs.carousel';\nconst EVENT_KEY$8 = `.${DATA_KEY$8}`;\nconst DATA_API_KEY$5 = '.data-api';\nconst ARROW_LEFT_KEY$1 = 'ArrowLeft';\nconst ARROW_RIGHT_KEY$1 = 'ArrowRight';\nconst TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch\n\nconst ORDER_NEXT = 'next';\nconst ORDER_PREV = 'prev';\nconst DIRECTION_LEFT = 'left';\nconst DIRECTION_RIGHT = 'right';\nconst EVENT_SLIDE = `slide${EVENT_KEY$8}`;\nconst EVENT_SLID = `slid${EVENT_KEY$8}`;\nconst EVENT_KEYDOWN$1 = `keydown${EVENT_KEY$8}`;\nconst EVENT_MOUSEENTER$1 = `mouseenter${EVENT_KEY$8}`;\nconst EVENT_MOUSELEAVE$1 = `mouseleave${EVENT_KEY$8}`;\nconst EVENT_DRAG_START = `dragstart${EVENT_KEY$8}`;\nconst EVENT_LOAD_DATA_API$3 = `load${EVENT_KEY$8}${DATA_API_KEY$5}`;\nconst EVENT_CLICK_DATA_API$5 = `click${EVENT_KEY$8}${DATA_API_KEY$5}`;\nconst CLASS_NAME_CAROUSEL = 'carousel';\nconst CLASS_NAME_ACTIVE$2 = 'active';\nconst CLASS_NAME_SLIDE = 'slide';\nconst CLASS_NAME_END = 'carousel-item-end';\nconst CLASS_NAME_START = 'carousel-item-start';\nconst CLASS_NAME_NEXT = 'carousel-item-next';\nconst CLASS_NAME_PREV = 'carousel-item-prev';\nconst SELECTOR_ACTIVE = '.active';\nconst SELECTOR_ITEM = '.carousel-item';\nconst SELECTOR_ACTIVE_ITEM = SELECTOR_ACTIVE + SELECTOR_ITEM;\nconst SELECTOR_ITEM_IMG = '.carousel-item img';\nconst SELECTOR_INDICATORS = '.carousel-indicators';\nconst SELECTOR_DATA_SLIDE = '[data-bs-slide], [data-bs-slide-to]';\nconst SELECTOR_DATA_RIDE = '[data-bs-ride=\"carousel\"]';\nconst KEY_TO_DIRECTION = {\n  [ARROW_LEFT_KEY$1]: DIRECTION_RIGHT,\n  [ARROW_RIGHT_KEY$1]: DIRECTION_LEFT\n};\nconst Default$b = {\n  interval: 5000,\n  keyboard: true,\n  pause: 'hover',\n  ride: false,\n  touch: true,\n  wrap: true\n};\nconst DefaultType$b = {\n  interval: '(number|boolean)',\n  // TODO:v6 remove boolean support\n  keyboard: 'boolean',\n  pause: '(string|boolean)',\n  ride: '(boolean|string)',\n  touch: 'boolean',\n  wrap: 'boolean'\n};\n\n/**\n * Class definition\n */\n\nclass Carousel extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n    this._interval = null;\n    this._activeElement = null;\n    this._isSliding = false;\n    this.touchTimeout = null;\n    this._swipeHelper = null;\n    this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element);\n    this._addEventListeners();\n    if (this._config.ride === CLASS_NAME_CAROUSEL) {\n      this.cycle();\n    }\n  }\n\n  // Getters\n  static get Default() {\n    return Default$b;\n  }\n  static get DefaultType() {\n    return DefaultType$b;\n  }\n  static get NAME() {\n    return NAME$c;\n  }\n\n  // Public\n  next() {\n    this._slide(ORDER_NEXT);\n  }\n  nextWhenVisible() {\n    // FIXME TODO use `document.visibilityState`\n    // Don't call next when the page isn't visible\n    // or the carousel or its parent isn't visible\n    if (!document.hidden && isVisible(this._element)) {\n      this.next();\n    }\n  }\n  prev() {\n    this._slide(ORDER_PREV);\n  }\n  pause() {\n    if (this._isSliding) {\n      triggerTransitionEnd(this._element);\n    }\n    this._clearInterval();\n  }\n  cycle() {\n    this._clearInterval();\n    this._updateInterval();\n    this._interval = setInterval(() => this.nextWhenVisible(), this._config.interval);\n  }\n  _maybeEnableCycle() {\n    if (!this._config.ride) {\n      return;\n    }\n    if (this._isSliding) {\n      EventHandler.one(this._element, EVENT_SLID, () => this.cycle());\n      return;\n    }\n    this.cycle();\n  }\n  to(index) {\n    const items = this._getItems();\n    if (index > items.length - 1 || index < 0) {\n      return;\n    }\n    if (this._isSliding) {\n      EventHandler.one(this._element, EVENT_SLID, () => this.to(index));\n      return;\n    }\n    const activeIndex = this._getItemIndex(this._getActive());\n    if (activeIndex === index) {\n      return;\n    }\n    const order = index > activeIndex ? ORDER_NEXT : ORDER_PREV;\n    this._slide(order, items[index]);\n  }\n  dispose() {\n    if (this._swipeHelper) {\n      this._swipeHelper.dispose();\n    }\n    super.dispose();\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    config.defaultInterval = config.interval;\n    return config;\n  }\n  _addEventListeners() {\n    if (this._config.keyboard) {\n      EventHandler.on(this._element, EVENT_KEYDOWN$1, event => this._keydown(event));\n    }\n    if (this._config.pause === 'hover') {\n      EventHandler.on(this._element, EVENT_MOUSEENTER$1, () => this.pause());\n      EventHandler.on(this._element, EVENT_MOUSELEAVE$1, () => this._maybeEnableCycle());\n    }\n    if (this._config.touch && Swipe.isSupported()) {\n      this._addTouchEventListeners();\n    }\n  }\n  _addTouchEventListeners() {\n    for (const img of SelectorEngine.find(SELECTOR_ITEM_IMG, this._element)) {\n      EventHandler.on(img, EVENT_DRAG_START, event => event.preventDefault());\n    }\n    const endCallBack = () => {\n      if (this._config.pause !== 'hover') {\n        return;\n      }\n\n      // If it's a touch-enabled device, mouseenter/leave are fired as\n      // part of the mouse compatibility events on first tap - the carousel\n      // would stop cycling until user tapped out of it;\n      // here, we listen for touchend, explicitly pause the carousel\n      // (as if it's the second time we tap on it, mouseenter compat event\n      // is NOT fired) and after a timeout (to allow for mouse compatibility\n      // events to fire) we explicitly restart cycling\n\n      this.pause();\n      if (this.touchTimeout) {\n        clearTimeout(this.touchTimeout);\n      }\n      this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), TOUCHEVENT_COMPAT_WAIT + this._config.interval);\n    };\n    const swipeConfig = {\n      leftCallback: () => this._slide(this._directionToOrder(DIRECTION_LEFT)),\n      rightCallback: () => this._slide(this._directionToOrder(DIRECTION_RIGHT)),\n      endCallback: endCallBack\n    };\n    this._swipeHelper = new Swipe(this._element, swipeConfig);\n  }\n  _keydown(event) {\n    if (/input|textarea/i.test(event.target.tagName)) {\n      return;\n    }\n    const direction = KEY_TO_DIRECTION[event.key];\n    if (direction) {\n      event.preventDefault();\n      this._slide(this._directionToOrder(direction));\n    }\n  }\n  _getItemIndex(element) {\n    return this._getItems().indexOf(element);\n  }\n  _setActiveIndicatorElement(index) {\n    if (!this._indicatorsElement) {\n      return;\n    }\n    const activeIndicator = SelectorEngine.findOne(SELECTOR_ACTIVE, this._indicatorsElement);\n    activeIndicator.classList.remove(CLASS_NAME_ACTIVE$2);\n    activeIndicator.removeAttribute('aria-current');\n    const newActiveIndicator = SelectorEngine.findOne(`[data-bs-slide-to=\"${index}\"]`, this._indicatorsElement);\n    if (newActiveIndicator) {\n      newActiveIndicator.classList.add(CLASS_NAME_ACTIVE$2);\n      newActiveIndicator.setAttribute('aria-current', 'true');\n    }\n  }\n  _updateInterval() {\n    const element = this._activeElement || this._getActive();\n    if (!element) {\n      return;\n    }\n    const elementInterval = Number.parseInt(element.getAttribute('data-bs-interval'), 10);\n    this._config.interval = elementInterval || this._config.defaultInterval;\n  }\n  _slide(order, element = null) {\n    if (this._isSliding) {\n      return;\n    }\n    const activeElement = this._getActive();\n    const isNext = order === ORDER_NEXT;\n    const nextElement = element || getNextActiveElement(this._getItems(), activeElement, isNext, this._config.wrap);\n    if (nextElement === activeElement) {\n      return;\n    }\n    const nextElementIndex = this._getItemIndex(nextElement);\n    const triggerEvent = eventName => {\n      return EventHandler.trigger(this._element, eventName, {\n        relatedTarget: nextElement,\n        direction: this._orderToDirection(order),\n        from: this._getItemIndex(activeElement),\n        to: nextElementIndex\n      });\n    };\n    const slideEvent = triggerEvent(EVENT_SLIDE);\n    if (slideEvent.defaultPrevented) {\n      return;\n    }\n    if (!activeElement || !nextElement) {\n      // Some weirdness is happening, so we bail\n      // TODO: change tests that use empty divs to avoid this check\n      return;\n    }\n    const isCycling = Boolean(this._interval);\n    this.pause();\n    this._isSliding = true;\n    this._setActiveIndicatorElement(nextElementIndex);\n    this._activeElement = nextElement;\n    const directionalClassName = isNext ? CLASS_NAME_START : CLASS_NAME_END;\n    const orderClassName = isNext ? CLASS_NAME_NEXT : CLASS_NAME_PREV;\n    nextElement.classList.add(orderClassName);\n    reflow(nextElement);\n    activeElement.classList.add(directionalClassName);\n    nextElement.classList.add(directionalClassName);\n    const completeCallBack = () => {\n      nextElement.classList.remove(directionalClassName, orderClassName);\n      nextElement.classList.add(CLASS_NAME_ACTIVE$2);\n      activeElement.classList.remove(CLASS_NAME_ACTIVE$2, orderClassName, directionalClassName);\n      this._isSliding = false;\n      triggerEvent(EVENT_SLID);\n    };\n    this._queueCallback(completeCallBack, activeElement, this._isAnimated());\n    if (isCycling) {\n      this.cycle();\n    }\n  }\n  _isAnimated() {\n    return this._element.classList.contains(CLASS_NAME_SLIDE);\n  }\n  _getActive() {\n    return SelectorEngine.findOne(SELECTOR_ACTIVE_ITEM, this._element);\n  }\n  _getItems() {\n    return SelectorEngine.find(SELECTOR_ITEM, this._element);\n  }\n  _clearInterval() {\n    if (this._interval) {\n      clearInterval(this._interval);\n      this._interval = null;\n    }\n  }\n  _directionToOrder(direction) {\n    if (isRTL()) {\n      return direction === DIRECTION_LEFT ? ORDER_PREV : ORDER_NEXT;\n    }\n    return direction === DIRECTION_LEFT ? ORDER_NEXT : ORDER_PREV;\n  }\n  _orderToDirection(order) {\n    if (isRTL()) {\n      return order === ORDER_PREV ? DIRECTION_LEFT : DIRECTION_RIGHT;\n    }\n    return order === ORDER_PREV ? DIRECTION_RIGHT : DIRECTION_LEFT;\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Carousel.getOrCreateInstance(this, config);\n      if (typeof config === 'number') {\n        data.to(config);\n        return;\n      }\n      if (typeof config === 'string') {\n        if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      }\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, function (event) {\n  const target = SelectorEngine.getElementFromSelector(this);\n  if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {\n    return;\n  }\n  event.preventDefault();\n  const carousel = Carousel.getOrCreateInstance(target);\n  const slideIndex = this.getAttribute('data-bs-slide-to');\n  if (slideIndex) {\n    carousel.to(slideIndex);\n    carousel._maybeEnableCycle();\n    return;\n  }\n  if (Manipulator.getDataAttribute(this, 'slide') === 'next') {\n    carousel.next();\n    carousel._maybeEnableCycle();\n    return;\n  }\n  carousel.prev();\n  carousel._maybeEnableCycle();\n});\nEventHandler.on(window, EVENT_LOAD_DATA_API$3, () => {\n  const carousels = SelectorEngine.find(SELECTOR_DATA_RIDE);\n  for (const carousel of carousels) {\n    Carousel.getOrCreateInstance(carousel);\n  }\n});\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Carousel);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap collapse.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$b = 'collapse';\nconst DATA_KEY$7 = 'bs.collapse';\nconst EVENT_KEY$7 = `.${DATA_KEY$7}`;\nconst DATA_API_KEY$4 = '.data-api';\nconst EVENT_SHOW$6 = `show${EVENT_KEY$7}`;\nconst EVENT_SHOWN$6 = `shown${EVENT_KEY$7}`;\nconst EVENT_HIDE$6 = `hide${EVENT_KEY$7}`;\nconst EVENT_HIDDEN$6 = `hidden${EVENT_KEY$7}`;\nconst EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$7}${DATA_API_KEY$4}`;\nconst CLASS_NAME_SHOW$7 = 'show';\nconst CLASS_NAME_COLLAPSE = 'collapse';\nconst CLASS_NAME_COLLAPSING = 'collapsing';\nconst CLASS_NAME_COLLAPSED = 'collapsed';\nconst CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`;\nconst CLASS_NAME_HORIZONTAL = 'collapse-horizontal';\nconst WIDTH = 'width';\nconst HEIGHT = 'height';\nconst SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing';\nconst SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle=\"collapse\"]';\nconst Default$a = {\n  parent: null,\n  toggle: true\n};\nconst DefaultType$a = {\n  parent: '(null|element)',\n  toggle: 'boolean'\n};\n\n/**\n * Class definition\n */\n\nclass Collapse extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n    this._isTransitioning = false;\n    this._triggerArray = [];\n    const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4);\n    for (const elem of toggleList) {\n      const selector = SelectorEngine.getSelectorFromElement(elem);\n      const filterElement = SelectorEngine.find(selector).filter(foundElement => foundElement === this._element);\n      if (selector !== null && filterElement.length) {\n        this._triggerArray.push(elem);\n      }\n    }\n    this._initializeChildren();\n    if (!this._config.parent) {\n      this._addAriaAndCollapsedClass(this._triggerArray, this._isShown());\n    }\n    if (this._config.toggle) {\n      this.toggle();\n    }\n  }\n\n  // Getters\n  static get Default() {\n    return Default$a;\n  }\n  static get DefaultType() {\n    return DefaultType$a;\n  }\n  static get NAME() {\n    return NAME$b;\n  }\n\n  // Public\n  toggle() {\n    if (this._isShown()) {\n      this.hide();\n    } else {\n      this.show();\n    }\n  }\n  show() {\n    if (this._isTransitioning || this._isShown()) {\n      return;\n    }\n    let activeChildren = [];\n\n    // find active children\n    if (this._config.parent) {\n      activeChildren = this._getFirstLevelChildren(SELECTOR_ACTIVES).filter(element => element !== this._element).map(element => Collapse.getOrCreateInstance(element, {\n        toggle: false\n      }));\n    }\n    if (activeChildren.length && activeChildren[0]._isTransitioning) {\n      return;\n    }\n    const startEvent = EventHandler.trigger(this._element, EVENT_SHOW$6);\n    if (startEvent.defaultPrevented) {\n      return;\n    }\n    for (const activeInstance of activeChildren) {\n      activeInstance.hide();\n    }\n    const dimension = this._getDimension();\n    this._element.classList.remove(CLASS_NAME_COLLAPSE);\n    this._element.classList.add(CLASS_NAME_COLLAPSING);\n    this._element.style[dimension] = 0;\n    this._addAriaAndCollapsedClass(this._triggerArray, true);\n    this._isTransitioning = true;\n    const complete = () => {\n      this._isTransitioning = false;\n      this._element.classList.remove(CLASS_NAME_COLLAPSING);\n      this._element.classList.add(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);\n      this._element.style[dimension] = '';\n      EventHandler.trigger(this._element, EVENT_SHOWN$6);\n    };\n    const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1);\n    const scrollSize = `scroll${capitalizedDimension}`;\n    this._queueCallback(complete, this._element, true);\n    this._element.style[dimension] = `${this._element[scrollSize]}px`;\n  }\n  hide() {\n    if (this._isTransitioning || !this._isShown()) {\n      return;\n    }\n    const startEvent = EventHandler.trigger(this._element, EVENT_HIDE$6);\n    if (startEvent.defaultPrevented) {\n      return;\n    }\n    const dimension = this._getDimension();\n    this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`;\n    reflow(this._element);\n    this._element.classList.add(CLASS_NAME_COLLAPSING);\n    this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);\n    for (const trigger of this._triggerArray) {\n      const element = SelectorEngine.getElementFromSelector(trigger);\n      if (element && !this._isShown(element)) {\n        this._addAriaAndCollapsedClass([trigger], false);\n      }\n    }\n    this._isTransitioning = true;\n    const complete = () => {\n      this._isTransitioning = false;\n      this._element.classList.remove(CLASS_NAME_COLLAPSING);\n      this._element.classList.add(CLASS_NAME_COLLAPSE);\n      EventHandler.trigger(this._element, EVENT_HIDDEN$6);\n    };\n    this._element.style[dimension] = '';\n    this._queueCallback(complete, this._element, true);\n  }\n  _isShown(element = this._element) {\n    return element.classList.contains(CLASS_NAME_SHOW$7);\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    config.toggle = Boolean(config.toggle); // Coerce string values\n    config.parent = getElement(config.parent);\n    return config;\n  }\n  _getDimension() {\n    return this._element.classList.contains(CLASS_NAME_HORIZONTAL) ? WIDTH : HEIGHT;\n  }\n  _initializeChildren() {\n    if (!this._config.parent) {\n      return;\n    }\n    const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE$4);\n    for (const element of children) {\n      const selected = SelectorEngine.getElementFromSelector(element);\n      if (selected) {\n        this._addAriaAndCollapsedClass([element], this._isShown(selected));\n      }\n    }\n  }\n  _getFirstLevelChildren(selector) {\n    const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent);\n    // remove children if greater depth\n    return SelectorEngine.find(selector, this._config.parent).filter(element => !children.includes(element));\n  }\n  _addAriaAndCollapsedClass(triggerArray, isOpen) {\n    if (!triggerArray.length) {\n      return;\n    }\n    for (const element of triggerArray) {\n      element.classList.toggle(CLASS_NAME_COLLAPSED, !isOpen);\n      element.setAttribute('aria-expanded', isOpen);\n    }\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    const _config = {};\n    if (typeof config === 'string' && /show|hide/.test(config)) {\n      _config.toggle = false;\n    }\n    return this.each(function () {\n      const data = Collapse.getOrCreateInstance(this, _config);\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config]();\n      }\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$4, function (event) {\n  // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\n  if (event.target.tagName === 'A' || event.delegateTarget && event.delegateTarget.tagName === 'A') {\n    event.preventDefault();\n  }\n  for (const element of SelectorEngine.getMultipleElementsFromSelector(this)) {\n    Collapse.getOrCreateInstance(element, {\n      toggle: false\n    }).toggle();\n  }\n});\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Collapse);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap dropdown.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$a = 'dropdown';\nconst DATA_KEY$6 = 'bs.dropdown';\nconst EVENT_KEY$6 = `.${DATA_KEY$6}`;\nconst DATA_API_KEY$3 = '.data-api';\nconst ESCAPE_KEY$2 = 'Escape';\nconst TAB_KEY$1 = 'Tab';\nconst ARROW_UP_KEY$1 = 'ArrowUp';\nconst ARROW_DOWN_KEY$1 = 'ArrowDown';\nconst RIGHT_MOUSE_BUTTON = 2; // MouseEvent.button value for the secondary button, usually the right button\n\nconst EVENT_HIDE$5 = `hide${EVENT_KEY$6}`;\nconst EVENT_HIDDEN$5 = `hidden${EVENT_KEY$6}`;\nconst EVENT_SHOW$5 = `show${EVENT_KEY$6}`;\nconst EVENT_SHOWN$5 = `shown${EVENT_KEY$6}`;\nconst EVENT_CLICK_DATA_API$3 = `click${EVENT_KEY$6}${DATA_API_KEY$3}`;\nconst EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY$6}${DATA_API_KEY$3}`;\nconst EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY$6}${DATA_API_KEY$3}`;\nconst CLASS_NAME_SHOW$6 = 'show';\nconst CLASS_NAME_DROPUP = 'dropup';\nconst CLASS_NAME_DROPEND = 'dropend';\nconst CLASS_NAME_DROPSTART = 'dropstart';\nconst CLASS_NAME_DROPUP_CENTER = 'dropup-center';\nconst CLASS_NAME_DROPDOWN_CENTER = 'dropdown-center';\nconst SELECTOR_DATA_TOGGLE$3 = '[data-bs-toggle=\"dropdown\"]:not(.disabled):not(:disabled)';\nconst SELECTOR_DATA_TOGGLE_SHOWN = `${SELECTOR_DATA_TOGGLE$3}.${CLASS_NAME_SHOW$6}`;\nconst SELECTOR_MENU = '.dropdown-menu';\nconst SELECTOR_NAVBAR = '.navbar';\nconst SELECTOR_NAVBAR_NAV = '.navbar-nav';\nconst SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)';\nconst PLACEMENT_TOP = isRTL() ? 'top-end' : 'top-start';\nconst PLACEMENT_TOPEND = isRTL() ? 'top-start' : 'top-end';\nconst PLACEMENT_BOTTOM = isRTL() ? 'bottom-end' : 'bottom-start';\nconst PLACEMENT_BOTTOMEND = isRTL() ? 'bottom-start' : 'bottom-end';\nconst PLACEMENT_RIGHT = isRTL() ? 'left-start' : 'right-start';\nconst PLACEMENT_LEFT = isRTL() ? 'right-start' : 'left-start';\nconst PLACEMENT_TOPCENTER = 'top';\nconst PLACEMENT_BOTTOMCENTER = 'bottom';\nconst Default$9 = {\n  autoClose: true,\n  boundary: 'clippingParents',\n  display: 'dynamic',\n  offset: [0, 2],\n  popperConfig: null,\n  reference: 'toggle'\n};\nconst DefaultType$9 = {\n  autoClose: '(boolean|string)',\n  boundary: '(string|element)',\n  display: 'string',\n  offset: '(array|string|function)',\n  popperConfig: '(null|object|function)',\n  reference: '(string|element|object)'\n};\n\n/**\n * Class definition\n */\n\nclass Dropdown extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n    this._popper = null;\n    this._parent = this._element.parentNode; // dropdown wrapper\n    // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n    this._menu = SelectorEngine.next(this._element, SELECTOR_MENU)[0] || SelectorEngine.prev(this._element, SELECTOR_MENU)[0] || SelectorEngine.findOne(SELECTOR_MENU, this._parent);\n    this._inNavbar = this._detectNavbar();\n  }\n\n  // Getters\n  static get Default() {\n    return Default$9;\n  }\n  static get DefaultType() {\n    return DefaultType$9;\n  }\n  static get NAME() {\n    return NAME$a;\n  }\n\n  // Public\n  toggle() {\n    return this._isShown() ? this.hide() : this.show();\n  }\n  show() {\n    if (isDisabled(this._element) || this._isShown()) {\n      return;\n    }\n    const relatedTarget = {\n      relatedTarget: this._element\n    };\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$5, relatedTarget);\n    if (showEvent.defaultPrevented) {\n      return;\n    }\n    this._createPopper();\n\n    // If this is a touch-enabled device we add extra\n    // empty mouseover listeners to the body's immediate children;\n    // only needed because of broken event delegation on iOS\n    // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n    if ('ontouchstart' in document.documentElement && !this._parent.closest(SELECTOR_NAVBAR_NAV)) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.on(element, 'mouseover', noop);\n      }\n    }\n    this._element.focus();\n    this._element.setAttribute('aria-expanded', true);\n    this._menu.classList.add(CLASS_NAME_SHOW$6);\n    this._element.classList.add(CLASS_NAME_SHOW$6);\n    EventHandler.trigger(this._element, EVENT_SHOWN$5, relatedTarget);\n  }\n  hide() {\n    if (isDisabled(this._element) || !this._isShown()) {\n      return;\n    }\n    const relatedTarget = {\n      relatedTarget: this._element\n    };\n    this._completeHide(relatedTarget);\n  }\n  dispose() {\n    if (this._popper) {\n      this._popper.destroy();\n    }\n    super.dispose();\n  }\n  update() {\n    this._inNavbar = this._detectNavbar();\n    if (this._popper) {\n      this._popper.update();\n    }\n  }\n\n  // Private\n  _completeHide(relatedTarget) {\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$5, relatedTarget);\n    if (hideEvent.defaultPrevented) {\n      return;\n    }\n\n    // If this is a touch-enabled device we remove the extra\n    // empty mouseover listeners we added for iOS support\n    if ('ontouchstart' in document.documentElement) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.off(element, 'mouseover', noop);\n      }\n    }\n    if (this._popper) {\n      this._popper.destroy();\n    }\n    this._menu.classList.remove(CLASS_NAME_SHOW$6);\n    this._element.classList.remove(CLASS_NAME_SHOW$6);\n    this._element.setAttribute('aria-expanded', 'false');\n    Manipulator.removeDataAttribute(this._menu, 'popper');\n    EventHandler.trigger(this._element, EVENT_HIDDEN$5, relatedTarget);\n  }\n  _getConfig(config) {\n    config = super._getConfig(config);\n    if (typeof config.reference === 'object' && !isElement(config.reference) && typeof config.reference.getBoundingClientRect !== 'function') {\n      // Popper virtual elements require a getBoundingClientRect method\n      throw new TypeError(`${NAME$a.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`);\n    }\n    return config;\n  }\n  _createPopper() {\n    if (typeof Popper === 'undefined') {\n      throw new TypeError('Bootstrap\\'s dropdowns require Popper (https://popper.js.org)');\n    }\n    let referenceElement = this._element;\n    if (this._config.reference === 'parent') {\n      referenceElement = this._parent;\n    } else if (isElement(this._config.reference)) {\n      referenceElement = getElement(this._config.reference);\n    } else if (typeof this._config.reference === 'object') {\n      referenceElement = this._config.reference;\n    }\n    const popperConfig = this._getPopperConfig();\n    this._popper = Popper.createPopper(referenceElement, this._menu, popperConfig);\n  }\n  _isShown() {\n    return this._menu.classList.contains(CLASS_NAME_SHOW$6);\n  }\n  _getPlacement() {\n    const parentDropdown = this._parent;\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPEND)) {\n      return PLACEMENT_RIGHT;\n    }\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPSTART)) {\n      return PLACEMENT_LEFT;\n    }\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPUP_CENTER)) {\n      return PLACEMENT_TOPCENTER;\n    }\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPDOWN_CENTER)) {\n      return PLACEMENT_BOTTOMCENTER;\n    }\n\n    // We need to trim the value because custom properties can also include spaces\n    const isEnd = getComputedStyle(this._menu).getPropertyValue('--bs-position').trim() === 'end';\n    if (parentDropdown.classList.contains(CLASS_NAME_DROPUP)) {\n      return isEnd ? PLACEMENT_TOPEND : PLACEMENT_TOP;\n    }\n    return isEnd ? PLACEMENT_BOTTOMEND : PLACEMENT_BOTTOM;\n  }\n  _detectNavbar() {\n    return this._element.closest(SELECTOR_NAVBAR) !== null;\n  }\n  _getOffset() {\n    const {\n      offset\n    } = this._config;\n    if (typeof offset === 'string') {\n      return offset.split(',').map(value => Number.parseInt(value, 10));\n    }\n    if (typeof offset === 'function') {\n      return popperData => offset(popperData, this._element);\n    }\n    return offset;\n  }\n  _getPopperConfig() {\n    const defaultBsPopperConfig = {\n      placement: this._getPlacement(),\n      modifiers: [{\n        name: 'preventOverflow',\n        options: {\n          boundary: this._config.boundary\n        }\n      }, {\n        name: 'offset',\n        options: {\n          offset: this._getOffset()\n        }\n      }]\n    };\n\n    // Disable Popper if we have a static display or Dropdown is in Navbar\n    if (this._inNavbar || this._config.display === 'static') {\n      Manipulator.setDataAttribute(this._menu, 'popper', 'static'); // TODO: v6 remove\n      defaultBsPopperConfig.modifiers = [{\n        name: 'applyStyles',\n        enabled: false\n      }];\n    }\n    return {\n      ...defaultBsPopperConfig,\n      ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n    };\n  }\n  _selectMenuItem({\n    key,\n    target\n  }) {\n    const items = SelectorEngine.find(SELECTOR_VISIBLE_ITEMS, this._menu).filter(element => isVisible(element));\n    if (!items.length) {\n      return;\n    }\n\n    // if target isn't included in items (e.g. when expanding the dropdown)\n    // allow cycling to get the last item in case key equals ARROW_UP_KEY\n    getNextActiveElement(items, target, key === ARROW_DOWN_KEY$1, !items.includes(target)).focus();\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Dropdown.getOrCreateInstance(this, config);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config]();\n    });\n  }\n  static clearMenus(event) {\n    if (event.button === RIGHT_MOUSE_BUTTON || event.type === 'keyup' && event.key !== TAB_KEY$1) {\n      return;\n    }\n    const openToggles = SelectorEngine.find(SELECTOR_DATA_TOGGLE_SHOWN);\n    for (const toggle of openToggles) {\n      const context = Dropdown.getInstance(toggle);\n      if (!context || context._config.autoClose === false) {\n        continue;\n      }\n      const composedPath = event.composedPath();\n      const isMenuTarget = composedPath.includes(context._menu);\n      if (composedPath.includes(context._element) || context._config.autoClose === 'inside' && !isMenuTarget || context._config.autoClose === 'outside' && isMenuTarget) {\n        continue;\n      }\n\n      // Tab navigation through the dropdown menu or events from contained inputs shouldn't close the menu\n      if (context._menu.contains(event.target) && (event.type === 'keyup' && event.key === TAB_KEY$1 || /input|select|option|textarea|form/i.test(event.target.tagName))) {\n        continue;\n      }\n      const relatedTarget = {\n        relatedTarget: context._element\n      };\n      if (event.type === 'click') {\n        relatedTarget.clickEvent = event;\n      }\n      context._completeHide(relatedTarget);\n    }\n  }\n  static dataApiKeydownHandler(event) {\n    // If not an UP | DOWN | ESCAPE key => not a dropdown command\n    // If input/textarea && if key is other than ESCAPE => not a dropdown command\n\n    const isInput = /input|textarea/i.test(event.target.tagName);\n    const isEscapeEvent = event.key === ESCAPE_KEY$2;\n    const isUpOrDownEvent = [ARROW_UP_KEY$1, ARROW_DOWN_KEY$1].includes(event.key);\n    if (!isUpOrDownEvent && !isEscapeEvent) {\n      return;\n    }\n    if (isInput && !isEscapeEvent) {\n      return;\n    }\n    event.preventDefault();\n\n    // TODO: v6 revert #37011 & change markup https://getbootstrap.com/docs/5.3/forms/input-group/\n    const getToggleButton = this.matches(SELECTOR_DATA_TOGGLE$3) ? this : SelectorEngine.prev(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.next(this, SELECTOR_DATA_TOGGLE$3)[0] || SelectorEngine.findOne(SELECTOR_DATA_TOGGLE$3, event.delegateTarget.parentNode);\n    const instance = Dropdown.getOrCreateInstance(getToggleButton);\n    if (isUpOrDownEvent) {\n      event.stopPropagation();\n      instance.show();\n      instance._selectMenuItem(event);\n      return;\n    }\n    if (instance._isShown()) {\n      // else is escape and we check if it is shown\n      event.stopPropagation();\n      instance.hide();\n      getToggleButton.focus();\n    }\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE$3, Dropdown.dataApiKeydownHandler);\nEventHandler.on(document, EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown.dataApiKeydownHandler);\nEventHandler.on(document, EVENT_CLICK_DATA_API$3, Dropdown.clearMenus);\nEventHandler.on(document, EVENT_KEYUP_DATA_API, Dropdown.clearMenus);\nEventHandler.on(document, EVENT_CLICK_DATA_API$3, SELECTOR_DATA_TOGGLE$3, function (event) {\n  event.preventDefault();\n  Dropdown.getOrCreateInstance(this).toggle();\n});\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Dropdown);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/backdrop.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$9 = 'backdrop';\nconst CLASS_NAME_FADE$4 = 'fade';\nconst CLASS_NAME_SHOW$5 = 'show';\nconst EVENT_MOUSEDOWN = `mousedown.bs.${NAME$9}`;\nconst Default$8 = {\n  className: 'modal-backdrop',\n  clickCallback: null,\n  isAnimated: false,\n  isVisible: true,\n  // if false, we use the backdrop helper without adding any element to the dom\n  rootElement: 'body' // give the choice to place backdrop under different elements\n};\n\nconst DefaultType$8 = {\n  className: 'string',\n  clickCallback: '(function|null)',\n  isAnimated: 'boolean',\n  isVisible: 'boolean',\n  rootElement: '(element|string)'\n};\n\n/**\n * Class definition\n */\n\nclass Backdrop extends Config {\n  constructor(config) {\n    super();\n    this._config = this._getConfig(config);\n    this._isAppended = false;\n    this._element = null;\n  }\n\n  // Getters\n  static get Default() {\n    return Default$8;\n  }\n  static get DefaultType() {\n    return DefaultType$8;\n  }\n  static get NAME() {\n    return NAME$9;\n  }\n\n  // Public\n  show(callback) {\n    if (!this._config.isVisible) {\n      execute(callback);\n      return;\n    }\n    this._append();\n    const element = this._getElement();\n    if (this._config.isAnimated) {\n      reflow(element);\n    }\n    element.classList.add(CLASS_NAME_SHOW$5);\n    this._emulateAnimation(() => {\n      execute(callback);\n    });\n  }\n  hide(callback) {\n    if (!this._config.isVisible) {\n      execute(callback);\n      return;\n    }\n    this._getElement().classList.remove(CLASS_NAME_SHOW$5);\n    this._emulateAnimation(() => {\n      this.dispose();\n      execute(callback);\n    });\n  }\n  dispose() {\n    if (!this._isAppended) {\n      return;\n    }\n    EventHandler.off(this._element, EVENT_MOUSEDOWN);\n    this._element.remove();\n    this._isAppended = false;\n  }\n\n  // Private\n  _getElement() {\n    if (!this._element) {\n      const backdrop = document.createElement('div');\n      backdrop.className = this._config.className;\n      if (this._config.isAnimated) {\n        backdrop.classList.add(CLASS_NAME_FADE$4);\n      }\n      this._element = backdrop;\n    }\n    return this._element;\n  }\n  _configAfterMerge(config) {\n    // use getElement() with the default \"body\" to get a fresh Element on each instantiation\n    config.rootElement = getElement(config.rootElement);\n    return config;\n  }\n  _append() {\n    if (this._isAppended) {\n      return;\n    }\n    const element = this._getElement();\n    this._config.rootElement.append(element);\n    EventHandler.on(element, EVENT_MOUSEDOWN, () => {\n      execute(this._config.clickCallback);\n    });\n    this._isAppended = true;\n  }\n  _emulateAnimation(callback) {\n    executeAfterTransition(callback, this._getElement(), this._config.isAnimated);\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/focustrap.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$8 = 'focustrap';\nconst DATA_KEY$5 = 'bs.focustrap';\nconst EVENT_KEY$5 = `.${DATA_KEY$5}`;\nconst EVENT_FOCUSIN$2 = `focusin${EVENT_KEY$5}`;\nconst EVENT_KEYDOWN_TAB = `keydown.tab${EVENT_KEY$5}`;\nconst TAB_KEY = 'Tab';\nconst TAB_NAV_FORWARD = 'forward';\nconst TAB_NAV_BACKWARD = 'backward';\nconst Default$7 = {\n  autofocus: true,\n  trapElement: null // The element to trap focus inside of\n};\n\nconst DefaultType$7 = {\n  autofocus: 'boolean',\n  trapElement: 'element'\n};\n\n/**\n * Class definition\n */\n\nclass FocusTrap extends Config {\n  constructor(config) {\n    super();\n    this._config = this._getConfig(config);\n    this._isActive = false;\n    this._lastTabNavDirection = null;\n  }\n\n  // Getters\n  static get Default() {\n    return Default$7;\n  }\n  static get DefaultType() {\n    return DefaultType$7;\n  }\n  static get NAME() {\n    return NAME$8;\n  }\n\n  // Public\n  activate() {\n    if (this._isActive) {\n      return;\n    }\n    if (this._config.autofocus) {\n      this._config.trapElement.focus();\n    }\n    EventHandler.off(document, EVENT_KEY$5); // guard against infinite focus loop\n    EventHandler.on(document, EVENT_FOCUSIN$2, event => this._handleFocusin(event));\n    EventHandler.on(document, EVENT_KEYDOWN_TAB, event => this._handleKeydown(event));\n    this._isActive = true;\n  }\n  deactivate() {\n    if (!this._isActive) {\n      return;\n    }\n    this._isActive = false;\n    EventHandler.off(document, EVENT_KEY$5);\n  }\n\n  // Private\n  _handleFocusin(event) {\n    const {\n      trapElement\n    } = this._config;\n    if (event.target === document || event.target === trapElement || trapElement.contains(event.target)) {\n      return;\n    }\n    const elements = SelectorEngine.focusableChildren(trapElement);\n    if (elements.length === 0) {\n      trapElement.focus();\n    } else if (this._lastTabNavDirection === TAB_NAV_BACKWARD) {\n      elements[elements.length - 1].focus();\n    } else {\n      elements[0].focus();\n    }\n  }\n  _handleKeydown(event) {\n    if (event.key !== TAB_KEY) {\n      return;\n    }\n    this._lastTabNavDirection = event.shiftKey ? TAB_NAV_BACKWARD : TAB_NAV_FORWARD;\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/scrollBar.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top';\nconst SELECTOR_STICKY_CONTENT = '.sticky-top';\nconst PROPERTY_PADDING = 'padding-right';\nconst PROPERTY_MARGIN = 'margin-right';\n\n/**\n * Class definition\n */\n\nclass ScrollBarHelper {\n  constructor() {\n    this._element = document.body;\n  }\n\n  // Public\n  getWidth() {\n    // https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes\n    const documentWidth = document.documentElement.clientWidth;\n    return Math.abs(window.innerWidth - documentWidth);\n  }\n  hide() {\n    const width = this.getWidth();\n    this._disableOverFlow();\n    // give padding to element to balance the hidden scrollbar width\n    this._setElementAttributes(this._element, PROPERTY_PADDING, calculatedValue => calculatedValue + width);\n    // trick: We adjust positive paddingRight and negative marginRight to sticky-top elements to keep showing fullwidth\n    this._setElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING, calculatedValue => calculatedValue + width);\n    this._setElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN, calculatedValue => calculatedValue - width);\n  }\n  reset() {\n    this._resetElementAttributes(this._element, 'overflow');\n    this._resetElementAttributes(this._element, PROPERTY_PADDING);\n    this._resetElementAttributes(SELECTOR_FIXED_CONTENT, PROPERTY_PADDING);\n    this._resetElementAttributes(SELECTOR_STICKY_CONTENT, PROPERTY_MARGIN);\n  }\n  isOverflowing() {\n    return this.getWidth() > 0;\n  }\n\n  // Private\n  _disableOverFlow() {\n    this._saveInitialAttribute(this._element, 'overflow');\n    this._element.style.overflow = 'hidden';\n  }\n  _setElementAttributes(selector, styleProperty, callback) {\n    const scrollbarWidth = this.getWidth();\n    const manipulationCallBack = element => {\n      if (element !== this._element && window.innerWidth > element.clientWidth + scrollbarWidth) {\n        return;\n      }\n      this._saveInitialAttribute(element, styleProperty);\n      const calculatedValue = window.getComputedStyle(element).getPropertyValue(styleProperty);\n      element.style.setProperty(styleProperty, `${callback(Number.parseFloat(calculatedValue))}px`);\n    };\n    this._applyManipulationCallback(selector, manipulationCallBack);\n  }\n  _saveInitialAttribute(element, styleProperty) {\n    const actualValue = element.style.getPropertyValue(styleProperty);\n    if (actualValue) {\n      Manipulator.setDataAttribute(element, styleProperty, actualValue);\n    }\n  }\n  _resetElementAttributes(selector, styleProperty) {\n    const manipulationCallBack = element => {\n      const value = Manipulator.getDataAttribute(element, styleProperty);\n      // We only want to remove the property if the value is `null`; the value can also be zero\n      if (value === null) {\n        element.style.removeProperty(styleProperty);\n        return;\n      }\n      Manipulator.removeDataAttribute(element, styleProperty);\n      element.style.setProperty(styleProperty, value);\n    };\n    this._applyManipulationCallback(selector, manipulationCallBack);\n  }\n  _applyManipulationCallback(selector, callBack) {\n    if (isElement(selector)) {\n      callBack(selector);\n      return;\n    }\n    for (const sel of SelectorEngine.find(selector, this._element)) {\n      callBack(sel);\n    }\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap modal.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$7 = 'modal';\nconst DATA_KEY$4 = 'bs.modal';\nconst EVENT_KEY$4 = `.${DATA_KEY$4}`;\nconst DATA_API_KEY$2 = '.data-api';\nconst ESCAPE_KEY$1 = 'Escape';\nconst EVENT_HIDE$4 = `hide${EVENT_KEY$4}`;\nconst EVENT_HIDE_PREVENTED$1 = `hidePrevented${EVENT_KEY$4}`;\nconst EVENT_HIDDEN$4 = `hidden${EVENT_KEY$4}`;\nconst EVENT_SHOW$4 = `show${EVENT_KEY$4}`;\nconst EVENT_SHOWN$4 = `shown${EVENT_KEY$4}`;\nconst EVENT_RESIZE$1 = `resize${EVENT_KEY$4}`;\nconst EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY$4}`;\nconst EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY$4}`;\nconst EVENT_KEYDOWN_DISMISS$1 = `keydown.dismiss${EVENT_KEY$4}`;\nconst EVENT_CLICK_DATA_API$2 = `click${EVENT_KEY$4}${DATA_API_KEY$2}`;\nconst CLASS_NAME_OPEN = 'modal-open';\nconst CLASS_NAME_FADE$3 = 'fade';\nconst CLASS_NAME_SHOW$4 = 'show';\nconst CLASS_NAME_STATIC = 'modal-static';\nconst OPEN_SELECTOR$1 = '.modal.show';\nconst SELECTOR_DIALOG = '.modal-dialog';\nconst SELECTOR_MODAL_BODY = '.modal-body';\nconst SELECTOR_DATA_TOGGLE$2 = '[data-bs-toggle=\"modal\"]';\nconst Default$6 = {\n  backdrop: true,\n  focus: true,\n  keyboard: true\n};\nconst DefaultType$6 = {\n  backdrop: '(boolean|string)',\n  focus: 'boolean',\n  keyboard: 'boolean'\n};\n\n/**\n * Class definition\n */\n\nclass Modal extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n    this._dialog = SelectorEngine.findOne(SELECTOR_DIALOG, this._element);\n    this._backdrop = this._initializeBackDrop();\n    this._focustrap = this._initializeFocusTrap();\n    this._isShown = false;\n    this._isTransitioning = false;\n    this._scrollBar = new ScrollBarHelper();\n    this._addEventListeners();\n  }\n\n  // Getters\n  static get Default() {\n    return Default$6;\n  }\n  static get DefaultType() {\n    return DefaultType$6;\n  }\n  static get NAME() {\n    return NAME$7;\n  }\n\n  // Public\n  toggle(relatedTarget) {\n    return this._isShown ? this.hide() : this.show(relatedTarget);\n  }\n  show(relatedTarget) {\n    if (this._isShown || this._isTransitioning) {\n      return;\n    }\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$4, {\n      relatedTarget\n    });\n    if (showEvent.defaultPrevented) {\n      return;\n    }\n    this._isShown = true;\n    this._isTransitioning = true;\n    this._scrollBar.hide();\n    document.body.classList.add(CLASS_NAME_OPEN);\n    this._adjustDialog();\n    this._backdrop.show(() => this._showElement(relatedTarget));\n  }\n  hide() {\n    if (!this._isShown || this._isTransitioning) {\n      return;\n    }\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$4);\n    if (hideEvent.defaultPrevented) {\n      return;\n    }\n    this._isShown = false;\n    this._isTransitioning = true;\n    this._focustrap.deactivate();\n    this._element.classList.remove(CLASS_NAME_SHOW$4);\n    this._queueCallback(() => this._hideModal(), this._element, this._isAnimated());\n  }\n  dispose() {\n    EventHandler.off(window, EVENT_KEY$4);\n    EventHandler.off(this._dialog, EVENT_KEY$4);\n    this._backdrop.dispose();\n    this._focustrap.deactivate();\n    super.dispose();\n  }\n  handleUpdate() {\n    this._adjustDialog();\n  }\n\n  // Private\n  _initializeBackDrop() {\n    return new Backdrop({\n      isVisible: Boolean(this._config.backdrop),\n      // 'static' option will be translated to true, and booleans will keep their value,\n      isAnimated: this._isAnimated()\n    });\n  }\n  _initializeFocusTrap() {\n    return new FocusTrap({\n      trapElement: this._element\n    });\n  }\n  _showElement(relatedTarget) {\n    // try to append dynamic modal\n    if (!document.body.contains(this._element)) {\n      document.body.append(this._element);\n    }\n    this._element.style.display = 'block';\n    this._element.removeAttribute('aria-hidden');\n    this._element.setAttribute('aria-modal', true);\n    this._element.setAttribute('role', 'dialog');\n    this._element.scrollTop = 0;\n    const modalBody = SelectorEngine.findOne(SELECTOR_MODAL_BODY, this._dialog);\n    if (modalBody) {\n      modalBody.scrollTop = 0;\n    }\n    reflow(this._element);\n    this._element.classList.add(CLASS_NAME_SHOW$4);\n    const transitionComplete = () => {\n      if (this._config.focus) {\n        this._focustrap.activate();\n      }\n      this._isTransitioning = false;\n      EventHandler.trigger(this._element, EVENT_SHOWN$4, {\n        relatedTarget\n      });\n    };\n    this._queueCallback(transitionComplete, this._dialog, this._isAnimated());\n  }\n  _addEventListeners() {\n    EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS$1, event => {\n      if (event.key !== ESCAPE_KEY$1) {\n        return;\n      }\n      if (this._config.keyboard) {\n        this.hide();\n        return;\n      }\n      this._triggerBackdropTransition();\n    });\n    EventHandler.on(window, EVENT_RESIZE$1, () => {\n      if (this._isShown && !this._isTransitioning) {\n        this._adjustDialog();\n      }\n    });\n    EventHandler.on(this._element, EVENT_MOUSEDOWN_DISMISS, event => {\n      // a bad trick to segregate clicks that may start inside dialog but end outside, and avoid listen to scrollbar clicks\n      EventHandler.one(this._element, EVENT_CLICK_DISMISS, event2 => {\n        if (this._element !== event.target || this._element !== event2.target) {\n          return;\n        }\n        if (this._config.backdrop === 'static') {\n          this._triggerBackdropTransition();\n          return;\n        }\n        if (this._config.backdrop) {\n          this.hide();\n        }\n      });\n    });\n  }\n  _hideModal() {\n    this._element.style.display = 'none';\n    this._element.setAttribute('aria-hidden', true);\n    this._element.removeAttribute('aria-modal');\n    this._element.removeAttribute('role');\n    this._isTransitioning = false;\n    this._backdrop.hide(() => {\n      document.body.classList.remove(CLASS_NAME_OPEN);\n      this._resetAdjustments();\n      this._scrollBar.reset();\n      EventHandler.trigger(this._element, EVENT_HIDDEN$4);\n    });\n  }\n  _isAnimated() {\n    return this._element.classList.contains(CLASS_NAME_FADE$3);\n  }\n  _triggerBackdropTransition() {\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED$1);\n    if (hideEvent.defaultPrevented) {\n      return;\n    }\n    const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n    const initialOverflowY = this._element.style.overflowY;\n    // return if the following background transition hasn't yet completed\n    if (initialOverflowY === 'hidden' || this._element.classList.contains(CLASS_NAME_STATIC)) {\n      return;\n    }\n    if (!isModalOverflowing) {\n      this._element.style.overflowY = 'hidden';\n    }\n    this._element.classList.add(CLASS_NAME_STATIC);\n    this._queueCallback(() => {\n      this._element.classList.remove(CLASS_NAME_STATIC);\n      this._queueCallback(() => {\n        this._element.style.overflowY = initialOverflowY;\n      }, this._dialog);\n    }, this._dialog);\n    this._element.focus();\n  }\n\n  /**\n   * The following methods are used to handle overflowing modals\n   */\n\n  _adjustDialog() {\n    const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight;\n    const scrollbarWidth = this._scrollBar.getWidth();\n    const isBodyOverflowing = scrollbarWidth > 0;\n    if (isBodyOverflowing && !isModalOverflowing) {\n      const property = isRTL() ? 'paddingLeft' : 'paddingRight';\n      this._element.style[property] = `${scrollbarWidth}px`;\n    }\n    if (!isBodyOverflowing && isModalOverflowing) {\n      const property = isRTL() ? 'paddingRight' : 'paddingLeft';\n      this._element.style[property] = `${scrollbarWidth}px`;\n    }\n  }\n  _resetAdjustments() {\n    this._element.style.paddingLeft = '';\n    this._element.style.paddingRight = '';\n  }\n\n  // Static\n  static jQueryInterface(config, relatedTarget) {\n    return this.each(function () {\n      const data = Modal.getOrCreateInstance(this, config);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config](relatedTarget);\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function (event) {\n  const target = SelectorEngine.getElementFromSelector(this);\n  if (['A', 'AREA'].includes(this.tagName)) {\n    event.preventDefault();\n  }\n  EventHandler.one(target, EVENT_SHOW$4, showEvent => {\n    if (showEvent.defaultPrevented) {\n      // only register focus restorer if modal will actually get shown\n      return;\n    }\n    EventHandler.one(target, EVENT_HIDDEN$4, () => {\n      if (isVisible(this)) {\n        this.focus();\n      }\n    });\n  });\n\n  // avoid conflict when clicking modal toggler while another one is open\n  const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR$1);\n  if (alreadyOpen) {\n    Modal.getInstance(alreadyOpen).hide();\n  }\n  const data = Modal.getOrCreateInstance(target);\n  data.toggle(this);\n});\nenableDismissTrigger(Modal);\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Modal);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap offcanvas.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$6 = 'offcanvas';\nconst DATA_KEY$3 = 'bs.offcanvas';\nconst EVENT_KEY$3 = `.${DATA_KEY$3}`;\nconst DATA_API_KEY$1 = '.data-api';\nconst EVENT_LOAD_DATA_API$2 = `load${EVENT_KEY$3}${DATA_API_KEY$1}`;\nconst ESCAPE_KEY = 'Escape';\nconst CLASS_NAME_SHOW$3 = 'show';\nconst CLASS_NAME_SHOWING$1 = 'showing';\nconst CLASS_NAME_HIDING = 'hiding';\nconst CLASS_NAME_BACKDROP = 'offcanvas-backdrop';\nconst OPEN_SELECTOR = '.offcanvas.show';\nconst EVENT_SHOW$3 = `show${EVENT_KEY$3}`;\nconst EVENT_SHOWN$3 = `shown${EVENT_KEY$3}`;\nconst EVENT_HIDE$3 = `hide${EVENT_KEY$3}`;\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY$3}`;\nconst EVENT_HIDDEN$3 = `hidden${EVENT_KEY$3}`;\nconst EVENT_RESIZE = `resize${EVENT_KEY$3}`;\nconst EVENT_CLICK_DATA_API$1 = `click${EVENT_KEY$3}${DATA_API_KEY$1}`;\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY$3}`;\nconst SELECTOR_DATA_TOGGLE$1 = '[data-bs-toggle=\"offcanvas\"]';\nconst Default$5 = {\n  backdrop: true,\n  keyboard: true,\n  scroll: false\n};\nconst DefaultType$5 = {\n  backdrop: '(boolean|string)',\n  keyboard: 'boolean',\n  scroll: 'boolean'\n};\n\n/**\n * Class definition\n */\n\nclass Offcanvas extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n    this._isShown = false;\n    this._backdrop = this._initializeBackDrop();\n    this._focustrap = this._initializeFocusTrap();\n    this._addEventListeners();\n  }\n\n  // Getters\n  static get Default() {\n    return Default$5;\n  }\n  static get DefaultType() {\n    return DefaultType$5;\n  }\n  static get NAME() {\n    return NAME$6;\n  }\n\n  // Public\n  toggle(relatedTarget) {\n    return this._isShown ? this.hide() : this.show(relatedTarget);\n  }\n  show(relatedTarget) {\n    if (this._isShown) {\n      return;\n    }\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW$3, {\n      relatedTarget\n    });\n    if (showEvent.defaultPrevented) {\n      return;\n    }\n    this._isShown = true;\n    this._backdrop.show();\n    if (!this._config.scroll) {\n      new ScrollBarHelper().hide();\n    }\n    this._element.setAttribute('aria-modal', true);\n    this._element.setAttribute('role', 'dialog');\n    this._element.classList.add(CLASS_NAME_SHOWING$1);\n    const completeCallBack = () => {\n      if (!this._config.scroll || this._config.backdrop) {\n        this._focustrap.activate();\n      }\n      this._element.classList.add(CLASS_NAME_SHOW$3);\n      this._element.classList.remove(CLASS_NAME_SHOWING$1);\n      EventHandler.trigger(this._element, EVENT_SHOWN$3, {\n        relatedTarget\n      });\n    };\n    this._queueCallback(completeCallBack, this._element, true);\n  }\n  hide() {\n    if (!this._isShown) {\n      return;\n    }\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE$3);\n    if (hideEvent.defaultPrevented) {\n      return;\n    }\n    this._focustrap.deactivate();\n    this._element.blur();\n    this._isShown = false;\n    this._element.classList.add(CLASS_NAME_HIDING);\n    this._backdrop.hide();\n    const completeCallback = () => {\n      this._element.classList.remove(CLASS_NAME_SHOW$3, CLASS_NAME_HIDING);\n      this._element.removeAttribute('aria-modal');\n      this._element.removeAttribute('role');\n      if (!this._config.scroll) {\n        new ScrollBarHelper().reset();\n      }\n      EventHandler.trigger(this._element, EVENT_HIDDEN$3);\n    };\n    this._queueCallback(completeCallback, this._element, true);\n  }\n  dispose() {\n    this._backdrop.dispose();\n    this._focustrap.deactivate();\n    super.dispose();\n  }\n\n  // Private\n  _initializeBackDrop() {\n    const clickCallback = () => {\n      if (this._config.backdrop === 'static') {\n        EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\n        return;\n      }\n      this.hide();\n    };\n\n    // 'static' option will be translated to true, and booleans will keep their value\n    const isVisible = Boolean(this._config.backdrop);\n    return new Backdrop({\n      className: CLASS_NAME_BACKDROP,\n      isVisible,\n      isAnimated: true,\n      rootElement: this._element.parentNode,\n      clickCallback: isVisible ? clickCallback : null\n    });\n  }\n  _initializeFocusTrap() {\n    return new FocusTrap({\n      trapElement: this._element\n    });\n  }\n  _addEventListeners() {\n    EventHandler.on(this._element, EVENT_KEYDOWN_DISMISS, event => {\n      if (event.key !== ESCAPE_KEY) {\n        return;\n      }\n      if (this._config.keyboard) {\n        this.hide();\n        return;\n      }\n      EventHandler.trigger(this._element, EVENT_HIDE_PREVENTED);\n    });\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Offcanvas.getOrCreateInstance(this, config);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config](this);\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function (event) {\n  const target = SelectorEngine.getElementFromSelector(this);\n  if (['A', 'AREA'].includes(this.tagName)) {\n    event.preventDefault();\n  }\n  if (isDisabled(this)) {\n    return;\n  }\n  EventHandler.one(target, EVENT_HIDDEN$3, () => {\n    // focus on trigger when it is closed\n    if (isVisible(this)) {\n      this.focus();\n    }\n  });\n\n  // avoid conflict when clicking a toggler of an offcanvas, while another is open\n  const alreadyOpen = SelectorEngine.findOne(OPEN_SELECTOR);\n  if (alreadyOpen && alreadyOpen !== target) {\n    Offcanvas.getInstance(alreadyOpen).hide();\n  }\n  const data = Offcanvas.getOrCreateInstance(target);\n  data.toggle(this);\n});\nEventHandler.on(window, EVENT_LOAD_DATA_API$2, () => {\n  for (const selector of SelectorEngine.find(OPEN_SELECTOR)) {\n    Offcanvas.getOrCreateInstance(selector).show();\n  }\n});\nEventHandler.on(window, EVENT_RESIZE, () => {\n  for (const element of SelectorEngine.find('[aria-modal][class*=show][class*=offcanvas-]')) {\n    if (getComputedStyle(element).position !== 'fixed') {\n      Offcanvas.getOrCreateInstance(element).hide();\n    }\n  }\n});\nenableDismissTrigger(Offcanvas);\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Offcanvas);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/sanitizer.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n// js-docs-start allow-list\nconst ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i;\nconst DefaultAllowlist = {\n  // Global attributes allowed on any supplied element below.\n  '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n  a: ['target', 'href', 'title', 'rel'],\n  area: [],\n  b: [],\n  br: [],\n  col: [],\n  code: [],\n  div: [],\n  em: [],\n  hr: [],\n  h1: [],\n  h2: [],\n  h3: [],\n  h4: [],\n  h5: [],\n  h6: [],\n  i: [],\n  img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\n  li: [],\n  ol: [],\n  p: [],\n  pre: [],\n  s: [],\n  small: [],\n  span: [],\n  sub: [],\n  sup: [],\n  strong: [],\n  u: [],\n  ul: []\n};\n// js-docs-end allow-list\n\nconst uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']);\n\n/**\n * A pattern that recognizes URLs that are safe wrt. XSS in URL navigation\n * contexts.\n *\n * Shout-out to Angular https://github.com/angular/angular/blob/15.2.8/packages/core/src/sanitization/url_sanitizer.ts#L38\n */\n// eslint-disable-next-line unicorn/better-regex\nconst SAFE_URL_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i;\nconst allowedAttribute = (attribute, allowedAttributeList) => {\n  const attributeName = attribute.nodeName.toLowerCase();\n  if (allowedAttributeList.includes(attributeName)) {\n    if (uriAttributes.has(attributeName)) {\n      return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue));\n    }\n    return true;\n  }\n\n  // Check if a regular expression validates the attribute.\n  return allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp).some(regex => regex.test(attributeName));\n};\nfunction sanitizeHtml(unsafeHtml, allowList, sanitizeFunction) {\n  if (!unsafeHtml.length) {\n    return unsafeHtml;\n  }\n  if (sanitizeFunction && typeof sanitizeFunction === 'function') {\n    return sanitizeFunction(unsafeHtml);\n  }\n  const domParser = new window.DOMParser();\n  const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html');\n  const elements = [].concat(...createdDocument.body.querySelectorAll('*'));\n  for (const element of elements) {\n    const elementName = element.nodeName.toLowerCase();\n    if (!Object.keys(allowList).includes(elementName)) {\n      element.remove();\n      continue;\n    }\n    const attributeList = [].concat(...element.attributes);\n    const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || []);\n    for (const attribute of attributeList) {\n      if (!allowedAttribute(attribute, allowedAttributes)) {\n        element.removeAttribute(attribute.nodeName);\n      }\n    }\n  }\n  return createdDocument.body.innerHTML;\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap util/template-factory.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$5 = 'TemplateFactory';\nconst Default$4 = {\n  allowList: DefaultAllowlist,\n  content: {},\n  // { selector : text ,  selector2 : text2 , }\n  extraClass: '',\n  html: false,\n  sanitize: true,\n  sanitizeFn: null,\n  template: '<div></div>'\n};\nconst DefaultType$4 = {\n  allowList: 'object',\n  content: 'object',\n  extraClass: '(string|function)',\n  html: 'boolean',\n  sanitize: 'boolean',\n  sanitizeFn: '(null|function)',\n  template: 'string'\n};\nconst DefaultContentType = {\n  entry: '(string|element|function|null)',\n  selector: '(string|element)'\n};\n\n/**\n * Class definition\n */\n\nclass TemplateFactory extends Config {\n  constructor(config) {\n    super();\n    this._config = this._getConfig(config);\n  }\n\n  // Getters\n  static get Default() {\n    return Default$4;\n  }\n  static get DefaultType() {\n    return DefaultType$4;\n  }\n  static get NAME() {\n    return NAME$5;\n  }\n\n  // Public\n  getContent() {\n    return Object.values(this._config.content).map(config => this._resolvePossibleFunction(config)).filter(Boolean);\n  }\n  hasContent() {\n    return this.getContent().length > 0;\n  }\n  changeContent(content) {\n    this._checkContent(content);\n    this._config.content = {\n      ...this._config.content,\n      ...content\n    };\n    return this;\n  }\n  toHtml() {\n    const templateWrapper = document.createElement('div');\n    templateWrapper.innerHTML = this._maybeSanitize(this._config.template);\n    for (const [selector, text] of Object.entries(this._config.content)) {\n      this._setContent(templateWrapper, text, selector);\n    }\n    const template = templateWrapper.children[0];\n    const extraClass = this._resolvePossibleFunction(this._config.extraClass);\n    if (extraClass) {\n      template.classList.add(...extraClass.split(' '));\n    }\n    return template;\n  }\n\n  // Private\n  _typeCheckConfig(config) {\n    super._typeCheckConfig(config);\n    this._checkContent(config.content);\n  }\n  _checkContent(arg) {\n    for (const [selector, content] of Object.entries(arg)) {\n      super._typeCheckConfig({\n        selector,\n        entry: content\n      }, DefaultContentType);\n    }\n  }\n  _setContent(template, content, selector) {\n    const templateElement = SelectorEngine.findOne(selector, template);\n    if (!templateElement) {\n      return;\n    }\n    content = this._resolvePossibleFunction(content);\n    if (!content) {\n      templateElement.remove();\n      return;\n    }\n    if (isElement(content)) {\n      this._putElementInTemplate(getElement(content), templateElement);\n      return;\n    }\n    if (this._config.html) {\n      templateElement.innerHTML = this._maybeSanitize(content);\n      return;\n    }\n    templateElement.textContent = content;\n  }\n  _maybeSanitize(arg) {\n    return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;\n  }\n  _resolvePossibleFunction(arg) {\n    return execute(arg, [this]);\n  }\n  _putElementInTemplate(element, templateElement) {\n    if (this._config.html) {\n      templateElement.innerHTML = '';\n      templateElement.append(element);\n      return;\n    }\n    templateElement.textContent = element.textContent;\n  }\n}\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap tooltip.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$4 = 'tooltip';\nconst DISALLOWED_ATTRIBUTES = new Set(['sanitize', 'allowList', 'sanitizeFn']);\nconst CLASS_NAME_FADE$2 = 'fade';\nconst CLASS_NAME_MODAL = 'modal';\nconst CLASS_NAME_SHOW$2 = 'show';\nconst SELECTOR_TOOLTIP_INNER = '.tooltip-inner';\nconst SELECTOR_MODAL = `.${CLASS_NAME_MODAL}`;\nconst EVENT_MODAL_HIDE = 'hide.bs.modal';\nconst TRIGGER_HOVER = 'hover';\nconst TRIGGER_FOCUS = 'focus';\nconst TRIGGER_CLICK = 'click';\nconst TRIGGER_MANUAL = 'manual';\nconst EVENT_HIDE$2 = 'hide';\nconst EVENT_HIDDEN$2 = 'hidden';\nconst EVENT_SHOW$2 = 'show';\nconst EVENT_SHOWN$2 = 'shown';\nconst EVENT_INSERTED = 'inserted';\nconst EVENT_CLICK$1 = 'click';\nconst EVENT_FOCUSIN$1 = 'focusin';\nconst EVENT_FOCUSOUT$1 = 'focusout';\nconst EVENT_MOUSEENTER = 'mouseenter';\nconst EVENT_MOUSELEAVE = 'mouseleave';\nconst AttachmentMap = {\n  AUTO: 'auto',\n  TOP: 'top',\n  RIGHT: isRTL() ? 'left' : 'right',\n  BOTTOM: 'bottom',\n  LEFT: isRTL() ? 'right' : 'left'\n};\nconst Default$3 = {\n  allowList: DefaultAllowlist,\n  animation: true,\n  boundary: 'clippingParents',\n  container: false,\n  customClass: '',\n  delay: 0,\n  fallbackPlacements: ['top', 'right', 'bottom', 'left'],\n  html: false,\n  offset: [0, 6],\n  placement: 'top',\n  popperConfig: null,\n  sanitize: true,\n  sanitizeFn: null,\n  selector: false,\n  template: '<div class=\"tooltip\" role=\"tooltip\">' + '<div class=\"tooltip-arrow\"></div>' + '<div class=\"tooltip-inner\"></div>' + '</div>',\n  title: '',\n  trigger: 'hover focus'\n};\nconst DefaultType$3 = {\n  allowList: 'object',\n  animation: 'boolean',\n  boundary: '(string|element)',\n  container: '(string|element|boolean)',\n  customClass: '(string|function)',\n  delay: '(number|object)',\n  fallbackPlacements: 'array',\n  html: 'boolean',\n  offset: '(array|string|function)',\n  placement: '(string|function)',\n  popperConfig: '(null|object|function)',\n  sanitize: 'boolean',\n  sanitizeFn: '(null|function)',\n  selector: '(string|boolean)',\n  template: 'string',\n  title: '(string|element|function)',\n  trigger: 'string'\n};\n\n/**\n * Class definition\n */\n\nclass Tooltip extends BaseComponent {\n  constructor(element, config) {\n    if (typeof Popper === 'undefined') {\n      throw new TypeError('Bootstrap\\'s tooltips require Popper (https://popper.js.org)');\n    }\n    super(element, config);\n\n    // Private\n    this._isEnabled = true;\n    this._timeout = 0;\n    this._isHovered = null;\n    this._activeTrigger = {};\n    this._popper = null;\n    this._templateFactory = null;\n    this._newContent = null;\n\n    // Protected\n    this.tip = null;\n    this._setListeners();\n    if (!this._config.selector) {\n      this._fixTitle();\n    }\n  }\n\n  // Getters\n  static get Default() {\n    return Default$3;\n  }\n  static get DefaultType() {\n    return DefaultType$3;\n  }\n  static get NAME() {\n    return NAME$4;\n  }\n\n  // Public\n  enable() {\n    this._isEnabled = true;\n  }\n  disable() {\n    this._isEnabled = false;\n  }\n  toggleEnabled() {\n    this._isEnabled = !this._isEnabled;\n  }\n  toggle() {\n    if (!this._isEnabled) {\n      return;\n    }\n    this._activeTrigger.click = !this._activeTrigger.click;\n    if (this._isShown()) {\n      this._leave();\n      return;\n    }\n    this._enter();\n  }\n  dispose() {\n    clearTimeout(this._timeout);\n    EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);\n    if (this._element.getAttribute('data-bs-original-title')) {\n      this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));\n    }\n    this._disposePopper();\n    super.dispose();\n  }\n  show() {\n    if (this._element.style.display === 'none') {\n      throw new Error('Please use show on visible elements');\n    }\n    if (!(this._isWithContent() && this._isEnabled)) {\n      return;\n    }\n    const showEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOW$2));\n    const shadowRoot = findShadowRoot(this._element);\n    const isInTheDom = (shadowRoot || this._element.ownerDocument.documentElement).contains(this._element);\n    if (showEvent.defaultPrevented || !isInTheDom) {\n      return;\n    }\n\n    // TODO: v6 remove this or make it optional\n    this._disposePopper();\n    const tip = this._getTipElement();\n    this._element.setAttribute('aria-describedby', tip.getAttribute('id'));\n    const {\n      container\n    } = this._config;\n    if (!this._element.ownerDocument.documentElement.contains(this.tip)) {\n      container.append(tip);\n      EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));\n    }\n    this._popper = this._createPopper(tip);\n    tip.classList.add(CLASS_NAME_SHOW$2);\n\n    // If this is a touch-enabled device we add extra\n    // empty mouseover listeners to the body's immediate children;\n    // only needed because of broken event delegation on iOS\n    // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n    if ('ontouchstart' in document.documentElement) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.on(element, 'mouseover', noop);\n      }\n    }\n    const complete = () => {\n      EventHandler.trigger(this._element, this.constructor.eventName(EVENT_SHOWN$2));\n      if (this._isHovered === false) {\n        this._leave();\n      }\n      this._isHovered = false;\n    };\n    this._queueCallback(complete, this.tip, this._isAnimated());\n  }\n  hide() {\n    if (!this._isShown()) {\n      return;\n    }\n    const hideEvent = EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDE$2));\n    if (hideEvent.defaultPrevented) {\n      return;\n    }\n    const tip = this._getTipElement();\n    tip.classList.remove(CLASS_NAME_SHOW$2);\n\n    // If this is a touch-enabled device we remove the extra\n    // empty mouseover listeners we added for iOS support\n    if ('ontouchstart' in document.documentElement) {\n      for (const element of [].concat(...document.body.children)) {\n        EventHandler.off(element, 'mouseover', noop);\n      }\n    }\n    this._activeTrigger[TRIGGER_CLICK] = false;\n    this._activeTrigger[TRIGGER_FOCUS] = false;\n    this._activeTrigger[TRIGGER_HOVER] = false;\n    this._isHovered = null; // it is a trick to support manual triggering\n\n    const complete = () => {\n      if (this._isWithActiveTrigger()) {\n        return;\n      }\n      if (!this._isHovered) {\n        this._disposePopper();\n      }\n      this._element.removeAttribute('aria-describedby');\n      EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2));\n    };\n    this._queueCallback(complete, this.tip, this._isAnimated());\n  }\n  update() {\n    if (this._popper) {\n      this._popper.update();\n    }\n  }\n\n  // Protected\n  _isWithContent() {\n    return Boolean(this._getTitle());\n  }\n  _getTipElement() {\n    if (!this.tip) {\n      this.tip = this._createTipElement(this._newContent || this._getContentForTemplate());\n    }\n    return this.tip;\n  }\n  _createTipElement(content) {\n    const tip = this._getTemplateFactory(content).toHtml();\n\n    // TODO: remove this check in v6\n    if (!tip) {\n      return null;\n    }\n    tip.classList.remove(CLASS_NAME_FADE$2, CLASS_NAME_SHOW$2);\n    // TODO: v6 the following can be achieved with CSS only\n    tip.classList.add(`bs-${this.constructor.NAME}-auto`);\n    const tipId = getUID(this.constructor.NAME).toString();\n    tip.setAttribute('id', tipId);\n    if (this._isAnimated()) {\n      tip.classList.add(CLASS_NAME_FADE$2);\n    }\n    return tip;\n  }\n  setContent(content) {\n    this._newContent = content;\n    if (this._isShown()) {\n      this._disposePopper();\n      this.show();\n    }\n  }\n  _getTemplateFactory(content) {\n    if (this._templateFactory) {\n      this._templateFactory.changeContent(content);\n    } else {\n      this._templateFactory = new TemplateFactory({\n        ...this._config,\n        // the `content` var has to be after `this._config`\n        // to override config.content in case of popover\n        content,\n        extraClass: this._resolvePossibleFunction(this._config.customClass)\n      });\n    }\n    return this._templateFactory;\n  }\n  _getContentForTemplate() {\n    return {\n      [SELECTOR_TOOLTIP_INNER]: this._getTitle()\n    };\n  }\n  _getTitle() {\n    return this._resolvePossibleFunction(this._config.title) || this._element.getAttribute('data-bs-original-title');\n  }\n\n  // Private\n  _initializeOnDelegatedTarget(event) {\n    return this.constructor.getOrCreateInstance(event.delegateTarget, this._getDelegateConfig());\n  }\n  _isAnimated() {\n    return this._config.animation || this.tip && this.tip.classList.contains(CLASS_NAME_FADE$2);\n  }\n  _isShown() {\n    return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW$2);\n  }\n  _createPopper(tip) {\n    const placement = execute(this._config.placement, [this, tip, this._element]);\n    const attachment = AttachmentMap[placement.toUpperCase()];\n    return Popper.createPopper(this._element, tip, this._getPopperConfig(attachment));\n  }\n  _getOffset() {\n    const {\n      offset\n    } = this._config;\n    if (typeof offset === 'string') {\n      return offset.split(',').map(value => Number.parseInt(value, 10));\n    }\n    if (typeof offset === 'function') {\n      return popperData => offset(popperData, this._element);\n    }\n    return offset;\n  }\n  _resolvePossibleFunction(arg) {\n    return execute(arg, [this._element]);\n  }\n  _getPopperConfig(attachment) {\n    const defaultBsPopperConfig = {\n      placement: attachment,\n      modifiers: [{\n        name: 'flip',\n        options: {\n          fallbackPlacements: this._config.fallbackPlacements\n        }\n      }, {\n        name: 'offset',\n        options: {\n          offset: this._getOffset()\n        }\n      }, {\n        name: 'preventOverflow',\n        options: {\n          boundary: this._config.boundary\n        }\n      }, {\n        name: 'arrow',\n        options: {\n          element: `.${this.constructor.NAME}-arrow`\n        }\n      }, {\n        name: 'preSetPlacement',\n        enabled: true,\n        phase: 'beforeMain',\n        fn: data => {\n          // Pre-set Popper's placement attribute in order to read the arrow sizes properly.\n          // Otherwise, Popper mixes up the width and height dimensions since the initial arrow style is for top placement\n          this._getTipElement().setAttribute('data-popper-placement', data.state.placement);\n        }\n      }]\n    };\n    return {\n      ...defaultBsPopperConfig,\n      ...execute(this._config.popperConfig, [defaultBsPopperConfig])\n    };\n  }\n  _setListeners() {\n    const triggers = this._config.trigger.split(' ');\n    for (const trigger of triggers) {\n      if (trigger === 'click') {\n        EventHandler.on(this._element, this.constructor.eventName(EVENT_CLICK$1), this._config.selector, event => {\n          const context = this._initializeOnDelegatedTarget(event);\n          context.toggle();\n        });\n      } else if (trigger !== TRIGGER_MANUAL) {\n        const eventIn = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSEENTER) : this.constructor.eventName(EVENT_FOCUSIN$1);\n        const eventOut = trigger === TRIGGER_HOVER ? this.constructor.eventName(EVENT_MOUSELEAVE) : this.constructor.eventName(EVENT_FOCUSOUT$1);\n        EventHandler.on(this._element, eventIn, this._config.selector, event => {\n          const context = this._initializeOnDelegatedTarget(event);\n          context._activeTrigger[event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER] = true;\n          context._enter();\n        });\n        EventHandler.on(this._element, eventOut, this._config.selector, event => {\n          const context = this._initializeOnDelegatedTarget(event);\n          context._activeTrigger[event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER] = context._element.contains(event.relatedTarget);\n          context._leave();\n        });\n      }\n    }\n    this._hideModalHandler = () => {\n      if (this._element) {\n        this.hide();\n      }\n    };\n    EventHandler.on(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);\n  }\n  _fixTitle() {\n    const title = this._element.getAttribute('title');\n    if (!title) {\n      return;\n    }\n    if (!this._element.getAttribute('aria-label') && !this._element.textContent.trim()) {\n      this._element.setAttribute('aria-label', title);\n    }\n    this._element.setAttribute('data-bs-original-title', title); // DO NOT USE IT. Is only for backwards compatibility\n    this._element.removeAttribute('title');\n  }\n  _enter() {\n    if (this._isShown() || this._isHovered) {\n      this._isHovered = true;\n      return;\n    }\n    this._isHovered = true;\n    this._setTimeout(() => {\n      if (this._isHovered) {\n        this.show();\n      }\n    }, this._config.delay.show);\n  }\n  _leave() {\n    if (this._isWithActiveTrigger()) {\n      return;\n    }\n    this._isHovered = false;\n    this._setTimeout(() => {\n      if (!this._isHovered) {\n        this.hide();\n      }\n    }, this._config.delay.hide);\n  }\n  _setTimeout(handler, timeout) {\n    clearTimeout(this._timeout);\n    this._timeout = setTimeout(handler, timeout);\n  }\n  _isWithActiveTrigger() {\n    return Object.values(this._activeTrigger).includes(true);\n  }\n  _getConfig(config) {\n    const dataAttributes = Manipulator.getDataAttributes(this._element);\n    for (const dataAttribute of Object.keys(dataAttributes)) {\n      if (DISALLOWED_ATTRIBUTES.has(dataAttribute)) {\n        delete dataAttributes[dataAttribute];\n      }\n    }\n    config = {\n      ...dataAttributes,\n      ...(typeof config === 'object' && config ? config : {})\n    };\n    config = this._mergeConfigObj(config);\n    config = this._configAfterMerge(config);\n    this._typeCheckConfig(config);\n    return config;\n  }\n  _configAfterMerge(config) {\n    config.container = config.container === false ? document.body : getElement(config.container);\n    if (typeof config.delay === 'number') {\n      config.delay = {\n        show: config.delay,\n        hide: config.delay\n      };\n    }\n    if (typeof config.title === 'number') {\n      config.title = config.title.toString();\n    }\n    if (typeof config.content === 'number') {\n      config.content = config.content.toString();\n    }\n    return config;\n  }\n  _getDelegateConfig() {\n    const config = {};\n    for (const [key, value] of Object.entries(this._config)) {\n      if (this.constructor.Default[key] !== value) {\n        config[key] = value;\n      }\n    }\n    config.selector = false;\n    config.trigger = 'manual';\n\n    // In the future can be replaced with:\n    // const keysWithDifferentValues = Object.entries(this._config).filter(entry => this.constructor.Default[entry[0]] !== this._config[entry[0]])\n    // `Object.fromEntries(keysWithDifferentValues)`\n    return config;\n  }\n  _disposePopper() {\n    if (this._popper) {\n      this._popper.destroy();\n      this._popper = null;\n    }\n    if (this.tip) {\n      this.tip.remove();\n      this.tip = null;\n    }\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Tooltip.getOrCreateInstance(this, config);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config]();\n    });\n  }\n}\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Tooltip);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap popover.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$3 = 'popover';\nconst SELECTOR_TITLE = '.popover-header';\nconst SELECTOR_CONTENT = '.popover-body';\nconst Default$2 = {\n  ...Tooltip.Default,\n  content: '',\n  offset: [0, 8],\n  placement: 'right',\n  template: '<div class=\"popover\" role=\"tooltip\">' + '<div class=\"popover-arrow\"></div>' + '<h3 class=\"popover-header\"></h3>' + '<div class=\"popover-body\"></div>' + '</div>',\n  trigger: 'click'\n};\nconst DefaultType$2 = {\n  ...Tooltip.DefaultType,\n  content: '(null|string|element|function)'\n};\n\n/**\n * Class definition\n */\n\nclass Popover extends Tooltip {\n  // Getters\n  static get Default() {\n    return Default$2;\n  }\n  static get DefaultType() {\n    return DefaultType$2;\n  }\n  static get NAME() {\n    return NAME$3;\n  }\n\n  // Overrides\n  _isWithContent() {\n    return this._getTitle() || this._getContent();\n  }\n\n  // Private\n  _getContentForTemplate() {\n    return {\n      [SELECTOR_TITLE]: this._getTitle(),\n      [SELECTOR_CONTENT]: this._getContent()\n    };\n  }\n  _getContent() {\n    return this._resolvePossibleFunction(this._config.content);\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Popover.getOrCreateInstance(this, config);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (typeof data[config] === 'undefined') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config]();\n    });\n  }\n}\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Popover);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap scrollspy.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$2 = 'scrollspy';\nconst DATA_KEY$2 = 'bs.scrollspy';\nconst EVENT_KEY$2 = `.${DATA_KEY$2}`;\nconst DATA_API_KEY = '.data-api';\nconst EVENT_ACTIVATE = `activate${EVENT_KEY$2}`;\nconst EVENT_CLICK = `click${EVENT_KEY$2}`;\nconst EVENT_LOAD_DATA_API$1 = `load${EVENT_KEY$2}${DATA_API_KEY}`;\nconst CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item';\nconst CLASS_NAME_ACTIVE$1 = 'active';\nconst SELECTOR_DATA_SPY = '[data-bs-spy=\"scroll\"]';\nconst SELECTOR_TARGET_LINKS = '[href]';\nconst SELECTOR_NAV_LIST_GROUP = '.nav, .list-group';\nconst SELECTOR_NAV_LINKS = '.nav-link';\nconst SELECTOR_NAV_ITEMS = '.nav-item';\nconst SELECTOR_LIST_ITEMS = '.list-group-item';\nconst SELECTOR_LINK_ITEMS = `${SELECTOR_NAV_LINKS}, ${SELECTOR_NAV_ITEMS} > ${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`;\nconst SELECTOR_DROPDOWN = '.dropdown';\nconst SELECTOR_DROPDOWN_TOGGLE$1 = '.dropdown-toggle';\nconst Default$1 = {\n  offset: null,\n  // TODO: v6 @deprecated, keep it for backwards compatibility reasons\n  rootMargin: '0px 0px -25%',\n  smoothScroll: false,\n  target: null,\n  threshold: [0.1, 0.5, 1]\n};\nconst DefaultType$1 = {\n  offset: '(number|null)',\n  // TODO v6 @deprecated, keep it for backwards compatibility reasons\n  rootMargin: 'string',\n  smoothScroll: 'boolean',\n  target: 'element',\n  threshold: 'array'\n};\n\n/**\n * Class definition\n */\n\nclass ScrollSpy extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n\n    // this._element is the observablesContainer and config.target the menu links wrapper\n    this._targetLinks = new Map();\n    this._observableSections = new Map();\n    this._rootElement = getComputedStyle(this._element).overflowY === 'visible' ? null : this._element;\n    this._activeTarget = null;\n    this._observer = null;\n    this._previousScrollData = {\n      visibleEntryTop: 0,\n      parentScrollTop: 0\n    };\n    this.refresh(); // initialize\n  }\n\n  // Getters\n  static get Default() {\n    return Default$1;\n  }\n  static get DefaultType() {\n    return DefaultType$1;\n  }\n  static get NAME() {\n    return NAME$2;\n  }\n\n  // Public\n  refresh() {\n    this._initializeTargetsAndObservables();\n    this._maybeEnableSmoothScroll();\n    if (this._observer) {\n      this._observer.disconnect();\n    } else {\n      this._observer = this._getNewObserver();\n    }\n    for (const section of this._observableSections.values()) {\n      this._observer.observe(section);\n    }\n  }\n  dispose() {\n    this._observer.disconnect();\n    super.dispose();\n  }\n\n  // Private\n  _configAfterMerge(config) {\n    // TODO: on v6 target should be given explicitly & remove the {target: 'ss-target'} case\n    config.target = getElement(config.target) || document.body;\n\n    // TODO: v6 Only for backwards compatibility reasons. Use rootMargin only\n    config.rootMargin = config.offset ? `${config.offset}px 0px -30%` : config.rootMargin;\n    if (typeof config.threshold === 'string') {\n      config.threshold = config.threshold.split(',').map(value => Number.parseFloat(value));\n    }\n    return config;\n  }\n  _maybeEnableSmoothScroll() {\n    if (!this._config.smoothScroll) {\n      return;\n    }\n\n    // unregister any previous listeners\n    EventHandler.off(this._config.target, EVENT_CLICK);\n    EventHandler.on(this._config.target, EVENT_CLICK, SELECTOR_TARGET_LINKS, event => {\n      const observableSection = this._observableSections.get(event.target.hash);\n      if (observableSection) {\n        event.preventDefault();\n        const root = this._rootElement || window;\n        const height = observableSection.offsetTop - this._element.offsetTop;\n        if (root.scrollTo) {\n          root.scrollTo({\n            top: height,\n            behavior: 'smooth'\n          });\n          return;\n        }\n\n        // Chrome 60 doesn't support `scrollTo`\n        root.scrollTop = height;\n      }\n    });\n  }\n  _getNewObserver() {\n    const options = {\n      root: this._rootElement,\n      threshold: this._config.threshold,\n      rootMargin: this._config.rootMargin\n    };\n    return new IntersectionObserver(entries => this._observerCallback(entries), options);\n  }\n\n  // The logic of selection\n  _observerCallback(entries) {\n    const targetElement = entry => this._targetLinks.get(`#${entry.target.id}`);\n    const activate = entry => {\n      this._previousScrollData.visibleEntryTop = entry.target.offsetTop;\n      this._process(targetElement(entry));\n    };\n    const parentScrollTop = (this._rootElement || document.documentElement).scrollTop;\n    const userScrollsDown = parentScrollTop >= this._previousScrollData.parentScrollTop;\n    this._previousScrollData.parentScrollTop = parentScrollTop;\n    for (const entry of entries) {\n      if (!entry.isIntersecting) {\n        this._activeTarget = null;\n        this._clearActiveClass(targetElement(entry));\n        continue;\n      }\n      const entryIsLowerThanPrevious = entry.target.offsetTop >= this._previousScrollData.visibleEntryTop;\n      // if we are scrolling down, pick the bigger offsetTop\n      if (userScrollsDown && entryIsLowerThanPrevious) {\n        activate(entry);\n        // if parent isn't scrolled, let's keep the first visible item, breaking the iteration\n        if (!parentScrollTop) {\n          return;\n        }\n        continue;\n      }\n\n      // if we are scrolling up, pick the smallest offsetTop\n      if (!userScrollsDown && !entryIsLowerThanPrevious) {\n        activate(entry);\n      }\n    }\n  }\n  _initializeTargetsAndObservables() {\n    this._targetLinks = new Map();\n    this._observableSections = new Map();\n    const targetLinks = SelectorEngine.find(SELECTOR_TARGET_LINKS, this._config.target);\n    for (const anchor of targetLinks) {\n      // ensure that the anchor has an id and is not disabled\n      if (!anchor.hash || isDisabled(anchor)) {\n        continue;\n      }\n      const observableSection = SelectorEngine.findOne(decodeURI(anchor.hash), this._element);\n\n      // ensure that the observableSection exists & is visible\n      if (isVisible(observableSection)) {\n        this._targetLinks.set(decodeURI(anchor.hash), anchor);\n        this._observableSections.set(anchor.hash, observableSection);\n      }\n    }\n  }\n  _process(target) {\n    if (this._activeTarget === target) {\n      return;\n    }\n    this._clearActiveClass(this._config.target);\n    this._activeTarget = target;\n    target.classList.add(CLASS_NAME_ACTIVE$1);\n    this._activateParents(target);\n    EventHandler.trigger(this._element, EVENT_ACTIVATE, {\n      relatedTarget: target\n    });\n  }\n  _activateParents(target) {\n    // Activate dropdown parents\n    if (target.classList.contains(CLASS_NAME_DROPDOWN_ITEM)) {\n      SelectorEngine.findOne(SELECTOR_DROPDOWN_TOGGLE$1, target.closest(SELECTOR_DROPDOWN)).classList.add(CLASS_NAME_ACTIVE$1);\n      return;\n    }\n    for (const listGroup of SelectorEngine.parents(target, SELECTOR_NAV_LIST_GROUP)) {\n      // Set triggered links parents as active\n      // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor\n      for (const item of SelectorEngine.prev(listGroup, SELECTOR_LINK_ITEMS)) {\n        item.classList.add(CLASS_NAME_ACTIVE$1);\n      }\n    }\n  }\n  _clearActiveClass(parent) {\n    parent.classList.remove(CLASS_NAME_ACTIVE$1);\n    const activeNodes = SelectorEngine.find(`${SELECTOR_TARGET_LINKS}.${CLASS_NAME_ACTIVE$1}`, parent);\n    for (const node of activeNodes) {\n      node.classList.remove(CLASS_NAME_ACTIVE$1);\n    }\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = ScrollSpy.getOrCreateInstance(this, config);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config]();\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(window, EVENT_LOAD_DATA_API$1, () => {\n  for (const spy of SelectorEngine.find(SELECTOR_DATA_SPY)) {\n    ScrollSpy.getOrCreateInstance(spy);\n  }\n});\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(ScrollSpy);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME$1 = 'tab';\nconst DATA_KEY$1 = 'bs.tab';\nconst EVENT_KEY$1 = `.${DATA_KEY$1}`;\nconst EVENT_HIDE$1 = `hide${EVENT_KEY$1}`;\nconst EVENT_HIDDEN$1 = `hidden${EVENT_KEY$1}`;\nconst EVENT_SHOW$1 = `show${EVENT_KEY$1}`;\nconst EVENT_SHOWN$1 = `shown${EVENT_KEY$1}`;\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY$1}`;\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY$1}`;\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY$1}`;\nconst ARROW_LEFT_KEY = 'ArrowLeft';\nconst ARROW_RIGHT_KEY = 'ArrowRight';\nconst ARROW_UP_KEY = 'ArrowUp';\nconst ARROW_DOWN_KEY = 'ArrowDown';\nconst CLASS_NAME_ACTIVE = 'active';\nconst CLASS_NAME_FADE$1 = 'fade';\nconst CLASS_NAME_SHOW$1 = 'show';\nconst CLASS_DROPDOWN = 'dropdown';\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle';\nconst SELECTOR_DROPDOWN_MENU = '.dropdown-menu';\nconst NOT_SELECTOR_DROPDOWN_TOGGLE = ':not(.dropdown-toggle)';\nconst SELECTOR_TAB_PANEL = '.list-group, .nav, [role=\"tablist\"]';\nconst SELECTOR_OUTER = '.nav-item, .list-group-item';\nconst SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role=\"tab\"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`;\nconst SELECTOR_DATA_TOGGLE = '[data-bs-toggle=\"tab\"], [data-bs-toggle=\"pill\"], [data-bs-toggle=\"list\"]'; // TODO: could only be `tab` in v6\nconst SELECTOR_INNER_ELEM = `${SELECTOR_INNER}, ${SELECTOR_DATA_TOGGLE}`;\nconst SELECTOR_DATA_TOGGLE_ACTIVE = `.${CLASS_NAME_ACTIVE}[data-bs-toggle=\"tab\"], .${CLASS_NAME_ACTIVE}[data-bs-toggle=\"pill\"], .${CLASS_NAME_ACTIVE}[data-bs-toggle=\"list\"]`;\n\n/**\n * Class definition\n */\n\nclass Tab extends BaseComponent {\n  constructor(element) {\n    super(element);\n    this._parent = this._element.closest(SELECTOR_TAB_PANEL);\n    if (!this._parent) {\n      return;\n      // TODO: should throw exception in v6\n      // throw new TypeError(`${element.outerHTML} has not a valid parent ${SELECTOR_INNER_ELEM}`)\n    }\n\n    // Set up initial aria attributes\n    this._setInitialAttributes(this._parent, this._getChildren());\n    EventHandler.on(this._element, EVENT_KEYDOWN, event => this._keydown(event));\n  }\n\n  // Getters\n  static get NAME() {\n    return NAME$1;\n  }\n\n  // Public\n  show() {\n    // Shows this elem and deactivate the active sibling if exists\n    const innerElem = this._element;\n    if (this._elemIsActive(innerElem)) {\n      return;\n    }\n\n    // Search for active tab on same parent to deactivate it\n    const active = this._getActiveElem();\n    const hideEvent = active ? EventHandler.trigger(active, EVENT_HIDE$1, {\n      relatedTarget: innerElem\n    }) : null;\n    const showEvent = EventHandler.trigger(innerElem, EVENT_SHOW$1, {\n      relatedTarget: active\n    });\n    if (showEvent.defaultPrevented || hideEvent && hideEvent.defaultPrevented) {\n      return;\n    }\n    this._deactivate(active, innerElem);\n    this._activate(innerElem, active);\n  }\n\n  // Private\n  _activate(element, relatedElem) {\n    if (!element) {\n      return;\n    }\n    element.classList.add(CLASS_NAME_ACTIVE);\n    this._activate(SelectorEngine.getElementFromSelector(element)); // Search and activate/show the proper section\n\n    const complete = () => {\n      if (element.getAttribute('role') !== 'tab') {\n        element.classList.add(CLASS_NAME_SHOW$1);\n        return;\n      }\n      element.removeAttribute('tabindex');\n      element.setAttribute('aria-selected', true);\n      this._toggleDropDown(element, true);\n      EventHandler.trigger(element, EVENT_SHOWN$1, {\n        relatedTarget: relatedElem\n      });\n    };\n    this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE$1));\n  }\n  _deactivate(element, relatedElem) {\n    if (!element) {\n      return;\n    }\n    element.classList.remove(CLASS_NAME_ACTIVE);\n    element.blur();\n    this._deactivate(SelectorEngine.getElementFromSelector(element)); // Search and deactivate the shown section too\n\n    const complete = () => {\n      if (element.getAttribute('role') !== 'tab') {\n        element.classList.remove(CLASS_NAME_SHOW$1);\n        return;\n      }\n      element.setAttribute('aria-selected', false);\n      element.setAttribute('tabindex', '-1');\n      this._toggleDropDown(element, false);\n      EventHandler.trigger(element, EVENT_HIDDEN$1, {\n        relatedTarget: relatedElem\n      });\n    };\n    this._queueCallback(complete, element, element.classList.contains(CLASS_NAME_FADE$1));\n  }\n  _keydown(event) {\n    if (![ARROW_LEFT_KEY, ARROW_RIGHT_KEY, ARROW_UP_KEY, ARROW_DOWN_KEY].includes(event.key)) {\n      return;\n    }\n    event.stopPropagation(); // stopPropagation/preventDefault both added to support up/down keys without scrolling the page\n    event.preventDefault();\n    const isNext = [ARROW_RIGHT_KEY, ARROW_DOWN_KEY].includes(event.key);\n    const nextActiveElement = getNextActiveElement(this._getChildren().filter(element => !isDisabled(element)), event.target, isNext, true);\n    if (nextActiveElement) {\n      nextActiveElement.focus({\n        preventScroll: true\n      });\n      Tab.getOrCreateInstance(nextActiveElement).show();\n    }\n  }\n  _getChildren() {\n    // collection of inner elements\n    return SelectorEngine.find(SELECTOR_INNER_ELEM, this._parent);\n  }\n  _getActiveElem() {\n    return this._getChildren().find(child => this._elemIsActive(child)) || null;\n  }\n  _setInitialAttributes(parent, children) {\n    this._setAttributeIfNotExists(parent, 'role', 'tablist');\n    for (const child of children) {\n      this._setInitialAttributesOnChild(child);\n    }\n  }\n  _setInitialAttributesOnChild(child) {\n    child = this._getInnerElement(child);\n    const isActive = this._elemIsActive(child);\n    const outerElem = this._getOuterElement(child);\n    child.setAttribute('aria-selected', isActive);\n    if (outerElem !== child) {\n      this._setAttributeIfNotExists(outerElem, 'role', 'presentation');\n    }\n    if (!isActive) {\n      child.setAttribute('tabindex', '-1');\n    }\n    this._setAttributeIfNotExists(child, 'role', 'tab');\n\n    // set attributes to the related panel too\n    this._setInitialAttributesOnTargetPanel(child);\n  }\n  _setInitialAttributesOnTargetPanel(child) {\n    const target = SelectorEngine.getElementFromSelector(child);\n    if (!target) {\n      return;\n    }\n    this._setAttributeIfNotExists(target, 'role', 'tabpanel');\n    if (child.id) {\n      this._setAttributeIfNotExists(target, 'aria-labelledby', `${child.id}`);\n    }\n  }\n  _toggleDropDown(element, open) {\n    const outerElem = this._getOuterElement(element);\n    if (!outerElem.classList.contains(CLASS_DROPDOWN)) {\n      return;\n    }\n    const toggle = (selector, className) => {\n      const element = SelectorEngine.findOne(selector, outerElem);\n      if (element) {\n        element.classList.toggle(className, open);\n      }\n    };\n    toggle(SELECTOR_DROPDOWN_TOGGLE, CLASS_NAME_ACTIVE);\n    toggle(SELECTOR_DROPDOWN_MENU, CLASS_NAME_SHOW$1);\n    outerElem.setAttribute('aria-expanded', open);\n  }\n  _setAttributeIfNotExists(element, attribute, value) {\n    if (!element.hasAttribute(attribute)) {\n      element.setAttribute(attribute, value);\n    }\n  }\n  _elemIsActive(elem) {\n    return elem.classList.contains(CLASS_NAME_ACTIVE);\n  }\n\n  // Try to get the inner element (usually the .nav-link)\n  _getInnerElement(elem) {\n    return elem.matches(SELECTOR_INNER_ELEM) ? elem : SelectorEngine.findOne(SELECTOR_INNER_ELEM, elem);\n  }\n\n  // Try to get the outer element (usually the .nav-item)\n  _getOuterElement(elem) {\n    return elem.closest(SELECTOR_OUTER) || elem;\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Tab.getOrCreateInstance(this);\n      if (typeof config !== 'string') {\n        return;\n      }\n      if (data[config] === undefined || config.startsWith('_') || config === 'constructor') {\n        throw new TypeError(`No method named \"${config}\"`);\n      }\n      data[config]();\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nEventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  if (['A', 'AREA'].includes(this.tagName)) {\n    event.preventDefault();\n  }\n  if (isDisabled(this)) {\n    return;\n  }\n  Tab.getOrCreateInstance(this).show();\n});\n\n/**\n * Initialize on focus\n */\nEventHandler.on(window, EVENT_LOAD_DATA_API, () => {\n  for (const element of SelectorEngine.find(SELECTOR_DATA_TOGGLE_ACTIVE)) {\n    Tab.getOrCreateInstance(element);\n  }\n});\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Tab);\n\n/**\n * --------------------------------------------------------------------------\n * Bootstrap toast.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\n\n/**\n * Constants\n */\n\nconst NAME = 'toast';\nconst DATA_KEY = 'bs.toast';\nconst EVENT_KEY = `.${DATA_KEY}`;\nconst EVENT_MOUSEOVER = `mouseover${EVENT_KEY}`;\nconst EVENT_MOUSEOUT = `mouseout${EVENT_KEY}`;\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`;\nconst EVENT_FOCUSOUT = `focusout${EVENT_KEY}`;\nconst EVENT_HIDE = `hide${EVENT_KEY}`;\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`;\nconst EVENT_SHOW = `show${EVENT_KEY}`;\nconst EVENT_SHOWN = `shown${EVENT_KEY}`;\nconst CLASS_NAME_FADE = 'fade';\nconst CLASS_NAME_HIDE = 'hide'; // @deprecated - kept here only for backwards compatibility\nconst CLASS_NAME_SHOW = 'show';\nconst CLASS_NAME_SHOWING = 'showing';\nconst DefaultType = {\n  animation: 'boolean',\n  autohide: 'boolean',\n  delay: 'number'\n};\nconst Default = {\n  animation: true,\n  autohide: true,\n  delay: 5000\n};\n\n/**\n * Class definition\n */\n\nclass Toast extends BaseComponent {\n  constructor(element, config) {\n    super(element, config);\n    this._timeout = null;\n    this._hasMouseInteraction = false;\n    this._hasKeyboardInteraction = false;\n    this._setListeners();\n  }\n\n  // Getters\n  static get Default() {\n    return Default;\n  }\n  static get DefaultType() {\n    return DefaultType;\n  }\n  static get NAME() {\n    return NAME;\n  }\n\n  // Public\n  show() {\n    const showEvent = EventHandler.trigger(this._element, EVENT_SHOW);\n    if (showEvent.defaultPrevented) {\n      return;\n    }\n    this._clearTimeout();\n    if (this._config.animation) {\n      this._element.classList.add(CLASS_NAME_FADE);\n    }\n    const complete = () => {\n      this._element.classList.remove(CLASS_NAME_SHOWING);\n      EventHandler.trigger(this._element, EVENT_SHOWN);\n      this._maybeScheduleHide();\n    };\n    this._element.classList.remove(CLASS_NAME_HIDE); // @deprecated\n    reflow(this._element);\n    this._element.classList.add(CLASS_NAME_SHOW, CLASS_NAME_SHOWING);\n    this._queueCallback(complete, this._element, this._config.animation);\n  }\n  hide() {\n    if (!this.isShown()) {\n      return;\n    }\n    const hideEvent = EventHandler.trigger(this._element, EVENT_HIDE);\n    if (hideEvent.defaultPrevented) {\n      return;\n    }\n    const complete = () => {\n      this._element.classList.add(CLASS_NAME_HIDE); // @deprecated\n      this._element.classList.remove(CLASS_NAME_SHOWING, CLASS_NAME_SHOW);\n      EventHandler.trigger(this._element, EVENT_HIDDEN);\n    };\n    this._element.classList.add(CLASS_NAME_SHOWING);\n    this._queueCallback(complete, this._element, this._config.animation);\n  }\n  dispose() {\n    this._clearTimeout();\n    if (this.isShown()) {\n      this._element.classList.remove(CLASS_NAME_SHOW);\n    }\n    super.dispose();\n  }\n  isShown() {\n    return this._element.classList.contains(CLASS_NAME_SHOW);\n  }\n\n  // Private\n\n  _maybeScheduleHide() {\n    if (!this._config.autohide) {\n      return;\n    }\n    if (this._hasMouseInteraction || this._hasKeyboardInteraction) {\n      return;\n    }\n    this._timeout = setTimeout(() => {\n      this.hide();\n    }, this._config.delay);\n  }\n  _onInteraction(event, isInteracting) {\n    switch (event.type) {\n      case 'mouseover':\n      case 'mouseout':\n        {\n          this._hasMouseInteraction = isInteracting;\n          break;\n        }\n      case 'focusin':\n      case 'focusout':\n        {\n          this._hasKeyboardInteraction = isInteracting;\n          break;\n        }\n    }\n    if (isInteracting) {\n      this._clearTimeout();\n      return;\n    }\n    const nextElement = event.relatedTarget;\n    if (this._element === nextElement || this._element.contains(nextElement)) {\n      return;\n    }\n    this._maybeScheduleHide();\n  }\n  _setListeners() {\n    EventHandler.on(this._element, EVENT_MOUSEOVER, event => this._onInteraction(event, true));\n    EventHandler.on(this._element, EVENT_MOUSEOUT, event => this._onInteraction(event, false));\n    EventHandler.on(this._element, EVENT_FOCUSIN, event => this._onInteraction(event, true));\n    EventHandler.on(this._element, EVENT_FOCUSOUT, event => this._onInteraction(event, false));\n  }\n  _clearTimeout() {\n    clearTimeout(this._timeout);\n    this._timeout = null;\n  }\n\n  // Static\n  static jQueryInterface(config) {\n    return this.each(function () {\n      const data = Toast.getOrCreateInstance(this, config);\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`);\n        }\n        data[config](this);\n      }\n    });\n  }\n}\n\n/**\n * Data API implementation\n */\n\nenableDismissTrigger(Toast);\n\n/**\n * jQuery\n */\n\ndefineJQueryPlugin(Toast);\n\nexport { Alert, Button, Carousel, Collapse, Dropdown, Modal, Offcanvas, Popover, ScrollSpy, Tab, Toast, Tooltip };\n//# sourceMappingURL=bootstrap.esm.js.map\n","import * as bootstrap from \"bootstrap\";\r\n\r\n// Bootstrap\r\n// Note: If you want to make bootstrap globally available, e.g. for using `bootstrap.modal`\r\nwindow.bootstrap = bootstrap;","var ResizeObserverBoxOptions;\n(function (ResizeObserverBoxOptions) {\n    ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n    ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n    ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nexport { ResizeObserverBoxOptions };\n","var resizeObservers = [];\nexport { resizeObservers };\n","var msg = 'ResizeObserver loop completed with undelivered notifications.';\nvar deliverResizeLoopError = function () {\n    var event;\n    if (typeof ErrorEvent === 'function') {\n        event = new ErrorEvent('error', {\n            message: msg\n        });\n    }\n    else {\n        event = document.createEvent('Event');\n        event.initEvent('error', false, false);\n        event.message = msg;\n    }\n    window.dispatchEvent(event);\n};\nexport { deliverResizeLoopError };\n","export var freeze = function (obj) { return Object.freeze(obj); };\n","var trigger;\nvar callbacks = [];\nvar notify = function () { return callbacks.splice(0).forEach(function (cb) { return cb(); }); };\nvar queueMicroTask = function (callback) {\n    if (!trigger) {\n        var toggle_1 = 0;\n        var el_1 = document.createTextNode('');\n        var config = { characterData: true };\n        new MutationObserver(function () { return notify(); }).observe(el_1, config);\n        trigger = function () { el_1.textContent = \"\" + (toggle_1 ? toggle_1-- : toggle_1++); };\n    }\n    callbacks.push(callback);\n    trigger();\n};\nexport { queueMicroTask };\n","import { freeze } from './utils/freeze';\nvar ResizeObserverSize = (function () {\n    function ResizeObserverSize(inlineSize, blockSize) {\n        this.inlineSize = inlineSize;\n        this.blockSize = blockSize;\n        freeze(this);\n    }\n    return ResizeObserverSize;\n}());\nexport { ResizeObserverSize };\n","import { freeze } from './utils/freeze';\nvar DOMRectReadOnly = (function () {\n    function DOMRectReadOnly(x, y, width, height) {\n        this.x = x;\n        this.y = y;\n        this.width = width;\n        this.height = height;\n        this.top = this.y;\n        this.left = this.x;\n        this.bottom = this.top + this.height;\n        this.right = this.left + this.width;\n        return freeze(this);\n    }\n    DOMRectReadOnly.prototype.toJSON = function () {\n        var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n        return { x: x, y: y, top: top, right: right, bottom: bottom, left: left, width: width, height: height };\n    };\n    DOMRectReadOnly.fromRect = function (rectangle) {\n        return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n    };\n    return DOMRectReadOnly;\n}());\nexport { DOMRectReadOnly };\n","var isSVG = function (target) { return target instanceof SVGElement && 'getBBox' in target; };\nvar isHidden = function (target) {\n    if (isSVG(target)) {\n        var _a = target.getBBox(), width = _a.width, height = _a.height;\n        return !width && !height;\n    }\n    var _b = target, offsetWidth = _b.offsetWidth, offsetHeight = _b.offsetHeight;\n    return !(offsetWidth || offsetHeight || target.getClientRects().length);\n};\nvar isElement = function (obj) {\n    var _a, _b;\n    if (obj instanceof Element) {\n        return true;\n    }\n    var scope = (_b = (_a = obj) === null || _a === void 0 ? void 0 : _a.ownerDocument) === null || _b === void 0 ? void 0 : _b.defaultView;\n    return !!(scope && obj instanceof scope.Element);\n};\nvar isReplacedElement = function (target) {\n    switch (target.tagName) {\n        case 'INPUT':\n            if (target.type !== 'image') {\n                break;\n            }\n        case 'VIDEO':\n        case 'AUDIO':\n        case 'EMBED':\n        case 'OBJECT':\n        case 'CANVAS':\n        case 'IFRAME':\n        case 'IMG':\n            return true;\n    }\n    return false;\n};\nexport { isSVG, isHidden, isElement, isReplacedElement };\n","export var global = typeof window !== 'undefined' ? window : {};\n","import { ResizeObserverBoxOptions } from '../ResizeObserverBoxOptions';\nimport { ResizeObserverSize } from '../ResizeObserverSize';\nimport { DOMRectReadOnly } from '../DOMRectReadOnly';\nimport { isSVG, isHidden } from '../utils/element';\nimport { freeze } from '../utils/freeze';\nimport { global } from '../utils/global';\nvar cache = new WeakMap();\nvar scrollRegexp = /auto|scroll/;\nvar verticalRegexp = /^tb|vertical/;\nvar IE = (/msie|trident/i).test(global.navigator && global.navigator.userAgent);\nvar parseDimension = function (pixel) { return parseFloat(pixel || '0'); };\nvar size = function (inlineSize, blockSize, switchSizes) {\n    if (inlineSize === void 0) { inlineSize = 0; }\n    if (blockSize === void 0) { blockSize = 0; }\n    if (switchSizes === void 0) { switchSizes = false; }\n    return new ResizeObserverSize((switchSizes ? blockSize : inlineSize) || 0, (switchSizes ? inlineSize : blockSize) || 0);\n};\nvar zeroBoxes = freeze({\n    devicePixelContentBoxSize: size(),\n    borderBoxSize: size(),\n    contentBoxSize: size(),\n    contentRect: new DOMRectReadOnly(0, 0, 0, 0)\n});\nvar calculateBoxSizes = function (target, forceRecalculation) {\n    if (forceRecalculation === void 0) { forceRecalculation = false; }\n    if (cache.has(target) && !forceRecalculation) {\n        return cache.get(target);\n    }\n    if (isHidden(target)) {\n        cache.set(target, zeroBoxes);\n        return zeroBoxes;\n    }\n    var cs = getComputedStyle(target);\n    var svg = isSVG(target) && target.ownerSVGElement && target.getBBox();\n    var removePadding = !IE && cs.boxSizing === 'border-box';\n    var switchSizes = verticalRegexp.test(cs.writingMode || '');\n    var canScrollVertically = !svg && scrollRegexp.test(cs.overflowY || '');\n    var canScrollHorizontally = !svg && scrollRegexp.test(cs.overflowX || '');\n    var paddingTop = svg ? 0 : parseDimension(cs.paddingTop);\n    var paddingRight = svg ? 0 : parseDimension(cs.paddingRight);\n    var paddingBottom = svg ? 0 : parseDimension(cs.paddingBottom);\n    var paddingLeft = svg ? 0 : parseDimension(cs.paddingLeft);\n    var borderTop = svg ? 0 : parseDimension(cs.borderTopWidth);\n    var borderRight = svg ? 0 : parseDimension(cs.borderRightWidth);\n    var borderBottom = svg ? 0 : parseDimension(cs.borderBottomWidth);\n    var borderLeft = svg ? 0 : parseDimension(cs.borderLeftWidth);\n    var horizontalPadding = paddingLeft + paddingRight;\n    var verticalPadding = paddingTop + paddingBottom;\n    var horizontalBorderArea = borderLeft + borderRight;\n    var verticalBorderArea = borderTop + borderBottom;\n    var horizontalScrollbarThickness = !canScrollHorizontally ? 0 : target.offsetHeight - verticalBorderArea - target.clientHeight;\n    var verticalScrollbarThickness = !canScrollVertically ? 0 : target.offsetWidth - horizontalBorderArea - target.clientWidth;\n    var widthReduction = removePadding ? horizontalPadding + horizontalBorderArea : 0;\n    var heightReduction = removePadding ? verticalPadding + verticalBorderArea : 0;\n    var contentWidth = svg ? svg.width : parseDimension(cs.width) - widthReduction - verticalScrollbarThickness;\n    var contentHeight = svg ? svg.height : parseDimension(cs.height) - heightReduction - horizontalScrollbarThickness;\n    var borderBoxWidth = contentWidth + horizontalPadding + verticalScrollbarThickness + horizontalBorderArea;\n    var borderBoxHeight = contentHeight + verticalPadding + horizontalScrollbarThickness + verticalBorderArea;\n    var boxes = freeze({\n        devicePixelContentBoxSize: size(Math.round(contentWidth * devicePixelRatio), Math.round(contentHeight * devicePixelRatio), switchSizes),\n        borderBoxSize: size(borderBoxWidth, borderBoxHeight, switchSizes),\n        contentBoxSize: size(contentWidth, contentHeight, switchSizes),\n        contentRect: new DOMRectReadOnly(paddingLeft, paddingTop, contentWidth, contentHeight)\n    });\n    cache.set(target, boxes);\n    return boxes;\n};\nvar calculateBoxSize = function (target, observedBox, forceRecalculation) {\n    var _a = calculateBoxSizes(target, forceRecalculation), borderBoxSize = _a.borderBoxSize, contentBoxSize = _a.contentBoxSize, devicePixelContentBoxSize = _a.devicePixelContentBoxSize;\n    switch (observedBox) {\n        case ResizeObserverBoxOptions.DEVICE_PIXEL_CONTENT_BOX:\n            return devicePixelContentBoxSize;\n        case ResizeObserverBoxOptions.BORDER_BOX:\n            return borderBoxSize;\n        default:\n            return contentBoxSize;\n    }\n};\nexport { calculateBoxSize, calculateBoxSizes };\n","import { calculateBoxSizes } from './algorithms/calculateBoxSize';\nimport { freeze } from './utils/freeze';\nvar ResizeObserverEntry = (function () {\n    function ResizeObserverEntry(target) {\n        var boxes = calculateBoxSizes(target);\n        this.target = target;\n        this.contentRect = boxes.contentRect;\n        this.borderBoxSize = freeze([boxes.borderBoxSize]);\n        this.contentBoxSize = freeze([boxes.contentBoxSize]);\n        this.devicePixelContentBoxSize = freeze([boxes.devicePixelContentBoxSize]);\n    }\n    return ResizeObserverEntry;\n}());\nexport { ResizeObserverEntry };\n","import { isHidden } from '../utils/element';\nvar calculateDepthForNode = function (node) {\n    if (isHidden(node)) {\n        return Infinity;\n    }\n    var depth = 0;\n    var parent = node.parentNode;\n    while (parent) {\n        depth += 1;\n        parent = parent.parentNode;\n    }\n    return depth;\n};\nexport { calculateDepthForNode };\n","import { resizeObservers } from '../utils/resizeObservers';\nimport { ResizeObserverEntry } from '../ResizeObserverEntry';\nimport { calculateDepthForNode } from './calculateDepthForNode';\nimport { calculateBoxSize } from './calculateBoxSize';\nvar broadcastActiveObservations = function () {\n    var shallowestDepth = Infinity;\n    var callbacks = [];\n    resizeObservers.forEach(function processObserver(ro) {\n        if (ro.activeTargets.length === 0) {\n            return;\n        }\n        var entries = [];\n        ro.activeTargets.forEach(function processTarget(ot) {\n            var entry = new ResizeObserverEntry(ot.target);\n            var targetDepth = calculateDepthForNode(ot.target);\n            entries.push(entry);\n            ot.lastReportedSize = calculateBoxSize(ot.target, ot.observedBox);\n            if (targetDepth < shallowestDepth) {\n                shallowestDepth = targetDepth;\n            }\n        });\n        callbacks.push(function resizeObserverCallback() {\n            ro.callback.call(ro.observer, entries, ro.observer);\n        });\n        ro.activeTargets.splice(0, ro.activeTargets.length);\n    });\n    for (var _i = 0, callbacks_1 = callbacks; _i < callbacks_1.length; _i++) {\n        var callback = callbacks_1[_i];\n        callback();\n    }\n    return shallowestDepth;\n};\nexport { broadcastActiveObservations };\n","import { resizeObservers } from '../utils/resizeObservers';\nimport { calculateDepthForNode } from './calculateDepthForNode';\nvar gatherActiveObservationsAtDepth = function (depth) {\n    resizeObservers.forEach(function processObserver(ro) {\n        ro.activeTargets.splice(0, ro.activeTargets.length);\n        ro.skippedTargets.splice(0, ro.skippedTargets.length);\n        ro.observationTargets.forEach(function processTarget(ot) {\n            if (ot.isActive()) {\n                if (calculateDepthForNode(ot.target) > depth) {\n                    ro.activeTargets.push(ot);\n                }\n                else {\n                    ro.skippedTargets.push(ot);\n                }\n            }\n        });\n    });\n};\nexport { gatherActiveObservationsAtDepth };\n","import { hasActiveObservations } from '../algorithms/hasActiveObservations';\nimport { hasSkippedObservations } from '../algorithms/hasSkippedObservations';\nimport { deliverResizeLoopError } from '../algorithms/deliverResizeLoopError';\nimport { broadcastActiveObservations } from '../algorithms/broadcastActiveObservations';\nimport { gatherActiveObservationsAtDepth } from '../algorithms/gatherActiveObservationsAtDepth';\nvar process = function () {\n    var depth = 0;\n    gatherActiveObservationsAtDepth(depth);\n    while (hasActiveObservations()) {\n        depth = broadcastActiveObservations();\n        gatherActiveObservationsAtDepth(depth);\n    }\n    if (hasSkippedObservations()) {\n        deliverResizeLoopError();\n    }\n    return depth > 0;\n};\nexport { process };\n","import { resizeObservers } from '../utils/resizeObservers';\nvar hasActiveObservations = function () {\n    return resizeObservers.some(function (ro) { return ro.activeTargets.length > 0; });\n};\nexport { hasActiveObservations };\n","import { resizeObservers } from '../utils/resizeObservers';\nvar hasSkippedObservations = function () {\n    return resizeObservers.some(function (ro) { return ro.skippedTargets.length > 0; });\n};\nexport { hasSkippedObservations };\n","import { process } from './process';\nimport { global } from './global';\nimport { queueResizeObserver } from './queueResizeObserver';\nvar watching = 0;\nvar isWatching = function () { return !!watching; };\nvar CATCH_PERIOD = 250;\nvar observerConfig = { attributes: true, characterData: true, childList: true, subtree: true };\nvar events = [\n    'resize',\n    'load',\n    'transitionend',\n    'animationend',\n    'animationstart',\n    'animationiteration',\n    'keyup',\n    'keydown',\n    'mouseup',\n    'mousedown',\n    'mouseover',\n    'mouseout',\n    'blur',\n    'focus'\n];\nvar time = function (timeout) {\n    if (timeout === void 0) { timeout = 0; }\n    return Date.now() + timeout;\n};\nvar scheduled = false;\nvar Scheduler = (function () {\n    function Scheduler() {\n        var _this = this;\n        this.stopped = true;\n        this.listener = function () { return _this.schedule(); };\n    }\n    Scheduler.prototype.run = function (timeout) {\n        var _this = this;\n        if (timeout === void 0) { timeout = CATCH_PERIOD; }\n        if (scheduled) {\n            return;\n        }\n        scheduled = true;\n        var until = time(timeout);\n        queueResizeObserver(function () {\n            var elementsHaveResized = false;\n            try {\n                elementsHaveResized = process();\n            }\n            finally {\n                scheduled = false;\n                timeout = until - time();\n                if (!isWatching()) {\n                    return;\n                }\n                if (elementsHaveResized) {\n                    _this.run(1000);\n                }\n                else if (timeout > 0) {\n                    _this.run(timeout);\n                }\n                else {\n                    _this.start();\n                }\n            }\n        });\n    };\n    Scheduler.prototype.schedule = function () {\n        this.stop();\n        this.run();\n    };\n    Scheduler.prototype.observe = function () {\n        var _this = this;\n        var cb = function () { return _this.observer && _this.observer.observe(document.body, observerConfig); };\n        document.body ? cb() : global.addEventListener('DOMContentLoaded', cb);\n    };\n    Scheduler.prototype.start = function () {\n        var _this = this;\n        if (this.stopped) {\n            this.stopped = false;\n            this.observer = new MutationObserver(this.listener);\n            this.observe();\n            events.forEach(function (name) { return global.addEventListener(name, _this.listener, true); });\n        }\n    };\n    Scheduler.prototype.stop = function () {\n        var _this = this;\n        if (!this.stopped) {\n            this.observer && this.observer.disconnect();\n            events.forEach(function (name) { return global.removeEventListener(name, _this.listener, true); });\n            this.stopped = true;\n        }\n    };\n    return Scheduler;\n}());\nvar scheduler = new Scheduler();\nvar updateCount = function (n) {\n    !watching && n > 0 && scheduler.start();\n    watching += n;\n    !watching && scheduler.stop();\n};\nexport { scheduler, updateCount };\n","import { queueMicroTask } from './queueMicroTask';\nvar queueResizeObserver = function (cb) {\n    queueMicroTask(function ResizeObserver() {\n        requestAnimationFrame(cb);\n    });\n};\nexport { queueResizeObserver };\n","import { ResizeObserverBoxOptions } from './ResizeObserverBoxOptions';\nimport { calculateBoxSize } from './algorithms/calculateBoxSize';\nimport { isSVG, isReplacedElement } from './utils/element';\nvar skipNotifyOnElement = function (target) {\n    return !isSVG(target)\n        && !isReplacedElement(target)\n        && getComputedStyle(target).display === 'inline';\n};\nvar ResizeObservation = (function () {\n    function ResizeObservation(target, observedBox) {\n        this.target = target;\n        this.observedBox = observedBox || ResizeObserverBoxOptions.CONTENT_BOX;\n        this.lastReportedSize = {\n            inlineSize: 0,\n            blockSize: 0\n        };\n    }\n    ResizeObservation.prototype.isActive = function () {\n        var size = calculateBoxSize(this.target, this.observedBox, true);\n        if (skipNotifyOnElement(this.target)) {\n            this.lastReportedSize = size;\n        }\n        if (this.lastReportedSize.inlineSize !== size.inlineSize\n            || this.lastReportedSize.blockSize !== size.blockSize) {\n            return true;\n        }\n        return false;\n    };\n    return ResizeObservation;\n}());\nexport { ResizeObservation };\n","var ResizeObserverDetail = (function () {\n    function ResizeObserverDetail(resizeObserver, callback) {\n        this.activeTargets = [];\n        this.skippedTargets = [];\n        this.observationTargets = [];\n        this.observer = resizeObserver;\n        this.callback = callback;\n    }\n    return ResizeObserverDetail;\n}());\nexport { ResizeObserverDetail };\n","import { scheduler, updateCount } from './utils/scheduler';\nimport { ResizeObservation } from './ResizeObservation';\nimport { ResizeObserverDetail } from './ResizeObserverDetail';\nimport { resizeObservers } from './utils/resizeObservers';\nvar observerMap = new WeakMap();\nvar getObservationIndex = function (observationTargets, target) {\n    for (var i = 0; i < observationTargets.length; i += 1) {\n        if (observationTargets[i].target === target) {\n            return i;\n        }\n    }\n    return -1;\n};\nvar ResizeObserverController = (function () {\n    function ResizeObserverController() {\n    }\n    ResizeObserverController.connect = function (resizeObserver, callback) {\n        var detail = new ResizeObserverDetail(resizeObserver, callback);\n        observerMap.set(resizeObserver, detail);\n    };\n    ResizeObserverController.observe = function (resizeObserver, target, options) {\n        var detail = observerMap.get(resizeObserver);\n        var firstObservation = detail.observationTargets.length === 0;\n        if (getObservationIndex(detail.observationTargets, target) < 0) {\n            firstObservation && resizeObservers.push(detail);\n            detail.observationTargets.push(new ResizeObservation(target, options && options.box));\n            updateCount(1);\n            scheduler.schedule();\n        }\n    };\n    ResizeObserverController.unobserve = function (resizeObserver, target) {\n        var detail = observerMap.get(resizeObserver);\n        var index = getObservationIndex(detail.observationTargets, target);\n        var lastObservation = detail.observationTargets.length === 1;\n        if (index >= 0) {\n            lastObservation && resizeObservers.splice(resizeObservers.indexOf(detail), 1);\n            detail.observationTargets.splice(index, 1);\n            updateCount(-1);\n        }\n    };\n    ResizeObserverController.disconnect = function (resizeObserver) {\n        var _this = this;\n        var detail = observerMap.get(resizeObserver);\n        detail.observationTargets.slice().forEach(function (ot) { return _this.unobserve(resizeObserver, ot.target); });\n        detail.activeTargets.splice(0, detail.activeTargets.length);\n    };\n    return ResizeObserverController;\n}());\nexport { ResizeObserverController };\n","import { ResizeObserverController } from './ResizeObserverController';\nimport { isElement } from './utils/element';\nvar ResizeObserver = (function () {\n    function ResizeObserver(callback) {\n        if (arguments.length === 0) {\n            throw new TypeError(\"Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.\");\n        }\n        if (typeof callback !== 'function') {\n            throw new TypeError(\"Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.\");\n        }\n        ResizeObserverController.connect(this, callback);\n    }\n    ResizeObserver.prototype.observe = function (target, options) {\n        if (arguments.length === 0) {\n            throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n        }\n        if (!isElement(target)) {\n            throw new TypeError(\"Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n        }\n        ResizeObserverController.observe(this, target, options);\n    };\n    ResizeObserver.prototype.unobserve = function (target) {\n        if (arguments.length === 0) {\n            throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.\");\n        }\n        if (!isElement(target)) {\n            throw new TypeError(\"Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element\");\n        }\n        ResizeObserverController.unobserve(this, target);\n    };\n    ResizeObserver.prototype.disconnect = function () {\n        ResizeObserverController.disconnect(this);\n    };\n    ResizeObserver.toString = function () {\n        return 'function ResizeObserver () { [polyfill code] }';\n    };\n    return ResizeObserver;\n}());\nexport { ResizeObserver };\n","/**\n * SimpleBar.js - v5.3.9\n * Scrollbars, simpler.\n * https://grsmto.github.io/simplebar/\n *\n * Made by Adrien Denat from a fork by Jonathan Nicol\n * Under MIT License\n */\n\nimport 'core-js/modules/es.object.to-string.js';\nimport 'core-js/modules/web.dom-collections.for-each.js';\nimport canUseDOM from 'can-use-dom';\nimport 'core-js/modules/es.parse-int.js';\nimport 'core-js/modules/es.object.assign.js';\nimport 'core-js/modules/es.array.filter.js';\nimport 'core-js/modules/es.array.iterator.js';\nimport 'core-js/modules/es.string.iterator.js';\nimport 'core-js/modules/es.weak-map.js';\nimport 'core-js/modules/web.dom-collections.iterator.js';\nimport throttle from 'lodash.throttle';\nimport debounce from 'lodash.debounce';\nimport memoize from 'lodash.memoize';\nimport { ResizeObserver } from '@juggle/resize-observer';\nimport 'core-js/modules/es.array.reduce.js';\nimport 'core-js/modules/es.regexp.exec.js';\nimport 'core-js/modules/es.string.match.js';\nimport 'core-js/modules/es.function.name.js';\nimport 'core-js/modules/es.string.replace.js';\n\n// Helper function to retrieve options from element attributes\nvar getOptions = function getOptions(obj) {\n  var options = Array.prototype.reduce.call(obj, function (acc, attribute) {\n    var option = attribute.name.match(/data-simplebar-(.+)/);\n\n    if (option) {\n      var key = option[1].replace(/\\W+(.)/g, function (x, chr) {\n        return chr.toUpperCase();\n      });\n\n      switch (attribute.value) {\n        case 'true':\n          acc[key] = true;\n          break;\n\n        case 'false':\n          acc[key] = false;\n          break;\n\n        case undefined:\n          acc[key] = true;\n          break;\n\n        default:\n          acc[key] = attribute.value;\n      }\n    }\n\n    return acc;\n  }, {});\n  return options;\n};\nfunction getElementWindow(element) {\n  if (!element || !element.ownerDocument || !element.ownerDocument.defaultView) {\n    return window;\n  }\n\n  return element.ownerDocument.defaultView;\n}\nfunction getElementDocument(element) {\n  if (!element || !element.ownerDocument) {\n    return document;\n  }\n\n  return element.ownerDocument;\n}\n\nvar cachedScrollbarWidth = null;\nvar cachedDevicePixelRatio = null;\n\nif (canUseDOM) {\n  window.addEventListener('resize', function () {\n    if (cachedDevicePixelRatio !== window.devicePixelRatio) {\n      cachedDevicePixelRatio = window.devicePixelRatio;\n      cachedScrollbarWidth = null;\n    }\n  });\n}\n\nfunction scrollbarWidth(el) {\n  if (cachedScrollbarWidth === null) {\n    var document = getElementDocument(el);\n\n    if (typeof document === 'undefined') {\n      cachedScrollbarWidth = 0;\n      return cachedScrollbarWidth;\n    }\n\n    var body = document.body;\n    var box = document.createElement('div');\n    box.classList.add('simplebar-hide-scrollbar');\n    body.appendChild(box);\n    var width = box.getBoundingClientRect().right;\n    body.removeChild(box);\n    cachedScrollbarWidth = width;\n  }\n\n  return cachedScrollbarWidth;\n}\n\nvar SimpleBar = /*#__PURE__*/function () {\n  function SimpleBar(element, options) {\n    var _this = this;\n\n    this.onScroll = function () {\n      var elWindow = getElementWindow(_this.el);\n\n      if (!_this.scrollXTicking) {\n        elWindow.requestAnimationFrame(_this.scrollX);\n        _this.scrollXTicking = true;\n      }\n\n      if (!_this.scrollYTicking) {\n        elWindow.requestAnimationFrame(_this.scrollY);\n        _this.scrollYTicking = true;\n      }\n    };\n\n    this.scrollX = function () {\n      if (_this.axis.x.isOverflowing) {\n        _this.showScrollbar('x');\n\n        _this.positionScrollbar('x');\n      }\n\n      _this.scrollXTicking = false;\n    };\n\n    this.scrollY = function () {\n      if (_this.axis.y.isOverflowing) {\n        _this.showScrollbar('y');\n\n        _this.positionScrollbar('y');\n      }\n\n      _this.scrollYTicking = false;\n    };\n\n    this.onMouseEnter = function () {\n      _this.showScrollbar('x');\n\n      _this.showScrollbar('y');\n    };\n\n    this.onMouseMove = function (e) {\n      _this.mouseX = e.clientX;\n      _this.mouseY = e.clientY;\n\n      if (_this.axis.x.isOverflowing || _this.axis.x.forceVisible) {\n        _this.onMouseMoveForAxis('x');\n      }\n\n      if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {\n        _this.onMouseMoveForAxis('y');\n      }\n    };\n\n    this.onMouseLeave = function () {\n      _this.onMouseMove.cancel();\n\n      if (_this.axis.x.isOverflowing || _this.axis.x.forceVisible) {\n        _this.onMouseLeaveForAxis('x');\n      }\n\n      if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {\n        _this.onMouseLeaveForAxis('y');\n      }\n\n      _this.mouseX = -1;\n      _this.mouseY = -1;\n    };\n\n    this.onWindowResize = function () {\n      // Recalculate scrollbarWidth in case it's a zoom\n      _this.scrollbarWidth = _this.getScrollbarWidth();\n\n      _this.hideNativeScrollbar();\n    };\n\n    this.hideScrollbars = function () {\n      _this.axis.x.track.rect = _this.axis.x.track.el.getBoundingClientRect();\n      _this.axis.y.track.rect = _this.axis.y.track.el.getBoundingClientRect();\n\n      if (!_this.isWithinBounds(_this.axis.y.track.rect)) {\n        _this.axis.y.scrollbar.el.classList.remove(_this.classNames.visible);\n\n        _this.axis.y.isVisible = false;\n      }\n\n      if (!_this.isWithinBounds(_this.axis.x.track.rect)) {\n        _this.axis.x.scrollbar.el.classList.remove(_this.classNames.visible);\n\n        _this.axis.x.isVisible = false;\n      }\n    };\n\n    this.onPointerEvent = function (e) {\n      var isWithinTrackXBounds, isWithinTrackYBounds;\n      _this.axis.x.track.rect = _this.axis.x.track.el.getBoundingClientRect();\n      _this.axis.y.track.rect = _this.axis.y.track.el.getBoundingClientRect();\n\n      if (_this.axis.x.isOverflowing || _this.axis.x.forceVisible) {\n        isWithinTrackXBounds = _this.isWithinBounds(_this.axis.x.track.rect);\n      }\n\n      if (_this.axis.y.isOverflowing || _this.axis.y.forceVisible) {\n        isWithinTrackYBounds = _this.isWithinBounds(_this.axis.y.track.rect);\n      } // If any pointer event is called on the scrollbar\n\n\n      if (isWithinTrackXBounds || isWithinTrackYBounds) {\n        // Preventing the event's default action stops text being\n        // selectable during the drag.\n        e.preventDefault(); // Prevent event leaking\n\n        e.stopPropagation();\n\n        if (e.type === 'mousedown') {\n          if (isWithinTrackXBounds) {\n            _this.axis.x.scrollbar.rect = _this.axis.x.scrollbar.el.getBoundingClientRect();\n\n            if (_this.isWithinBounds(_this.axis.x.scrollbar.rect)) {\n              _this.onDragStart(e, 'x');\n            } else {\n              _this.onTrackClick(e, 'x');\n            }\n          }\n\n          if (isWithinTrackYBounds) {\n            _this.axis.y.scrollbar.rect = _this.axis.y.scrollbar.el.getBoundingClientRect();\n\n            if (_this.isWithinBounds(_this.axis.y.scrollbar.rect)) {\n              _this.onDragStart(e, 'y');\n            } else {\n              _this.onTrackClick(e, 'y');\n            }\n          }\n        }\n      }\n    };\n\n    this.drag = function (e) {\n      var eventOffset;\n      var track = _this.axis[_this.draggedAxis].track;\n      var trackSize = track.rect[_this.axis[_this.draggedAxis].sizeAttr];\n      var scrollbar = _this.axis[_this.draggedAxis].scrollbar;\n      var contentSize = _this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollSizeAttr];\n      var hostSize = parseInt(_this.elStyles[_this.axis[_this.draggedAxis].sizeAttr], 10);\n      e.preventDefault();\n      e.stopPropagation();\n\n      if (_this.draggedAxis === 'y') {\n        eventOffset = e.pageY;\n      } else {\n        eventOffset = e.pageX;\n      } // Calculate how far the user's mouse is from the top/left of the scrollbar (minus the dragOffset).\n\n\n      var dragPos = eventOffset - track.rect[_this.axis[_this.draggedAxis].offsetAttr] - _this.axis[_this.draggedAxis].dragOffset; // Convert the mouse position into a percentage of the scrollbar height/width.\n\n      var dragPerc = dragPos / (trackSize - scrollbar.size); // Scroll the content by the same percentage.\n\n      var scrollPos = dragPerc * (contentSize - hostSize); // Fix browsers inconsistency on RTL\n\n      if (_this.draggedAxis === 'x') {\n        scrollPos = _this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollbarInverted ? scrollPos - (trackSize + scrollbar.size) : scrollPos;\n        scrollPos = _this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollingInverted ? -scrollPos : scrollPos;\n      }\n\n      _this.contentWrapperEl[_this.axis[_this.draggedAxis].scrollOffsetAttr] = scrollPos;\n    };\n\n    this.onEndDrag = function (e) {\n      var elDocument = getElementDocument(_this.el);\n      var elWindow = getElementWindow(_this.el);\n      e.preventDefault();\n      e.stopPropagation();\n\n      _this.el.classList.remove(_this.classNames.dragging);\n\n      elDocument.removeEventListener('mousemove', _this.drag, true);\n      elDocument.removeEventListener('mouseup', _this.onEndDrag, true);\n      _this.removePreventClickId = elWindow.setTimeout(function () {\n        // Remove these asynchronously so we still suppress click events\n        // generated simultaneously with mouseup.\n        elDocument.removeEventListener('click', _this.preventClick, true);\n        elDocument.removeEventListener('dblclick', _this.preventClick, true);\n        _this.removePreventClickId = null;\n      });\n    };\n\n    this.preventClick = function (e) {\n      e.preventDefault();\n      e.stopPropagation();\n    };\n\n    this.el = element;\n    this.minScrollbarWidth = 20;\n    this.options = Object.assign({}, SimpleBar.defaultOptions, options);\n    this.classNames = Object.assign({}, SimpleBar.defaultOptions.classNames, this.options.classNames);\n    this.axis = {\n      x: {\n        scrollOffsetAttr: 'scrollLeft',\n        sizeAttr: 'width',\n        scrollSizeAttr: 'scrollWidth',\n        offsetSizeAttr: 'offsetWidth',\n        offsetAttr: 'left',\n        overflowAttr: 'overflowX',\n        dragOffset: 0,\n        isOverflowing: true,\n        isVisible: false,\n        forceVisible: false,\n        track: {},\n        scrollbar: {}\n      },\n      y: {\n        scrollOffsetAttr: 'scrollTop',\n        sizeAttr: 'height',\n        scrollSizeAttr: 'scrollHeight',\n        offsetSizeAttr: 'offsetHeight',\n        offsetAttr: 'top',\n        overflowAttr: 'overflowY',\n        dragOffset: 0,\n        isOverflowing: true,\n        isVisible: false,\n        forceVisible: false,\n        track: {},\n        scrollbar: {}\n      }\n    };\n    this.removePreventClickId = null; // Don't re-instantiate over an existing one\n\n    if (SimpleBar.instances.has(this.el)) {\n      return;\n    }\n\n    this.recalculate = throttle(this.recalculate.bind(this), 64);\n    this.onMouseMove = throttle(this.onMouseMove.bind(this), 64);\n    this.hideScrollbars = debounce(this.hideScrollbars.bind(this), this.options.timeout);\n    this.onWindowResize = debounce(this.onWindowResize.bind(this), 64, {\n      leading: true\n    });\n    SimpleBar.getRtlHelpers = memoize(SimpleBar.getRtlHelpers);\n    this.init();\n  }\n  /**\n   * Static properties\n   */\n\n  /**\n   * Helper to fix browsers inconsistency on RTL:\n   *  - Firefox inverts the scrollbar initial position\n   *  - IE11 inverts both scrollbar position and scrolling offset\n   * Directly inspired by @KingSora's OverlayScrollbars https://github.com/KingSora/OverlayScrollbars/blob/master/js/OverlayScrollbars.js#L1634\n   */\n\n\n  SimpleBar.getRtlHelpers = function getRtlHelpers() {\n    var dummyDiv = document.createElement('div');\n    dummyDiv.innerHTML = '<div class=\"hs-dummy-scrollbar-size\"><div style=\"height: 200%; width: 200%; margin: 10px 0;\"></div></div>';\n    var scrollbarDummyEl = dummyDiv.firstElementChild;\n    document.body.appendChild(scrollbarDummyEl);\n    var dummyContainerChild = scrollbarDummyEl.firstElementChild;\n    scrollbarDummyEl.scrollLeft = 0;\n    var dummyContainerOffset = SimpleBar.getOffset(scrollbarDummyEl);\n    var dummyContainerChildOffset = SimpleBar.getOffset(dummyContainerChild);\n    scrollbarDummyEl.scrollLeft = 999;\n    var dummyContainerScrollOffsetAfterScroll = SimpleBar.getOffset(dummyContainerChild);\n    return {\n      // determines if the scrolling is responding with negative values\n      isRtlScrollingInverted: dummyContainerOffset.left !== dummyContainerChildOffset.left && dummyContainerChildOffset.left - dummyContainerScrollOffsetAfterScroll.left !== 0,\n      // determines if the origin scrollbar position is inverted or not (positioned on left or right)\n      isRtlScrollbarInverted: dummyContainerOffset.left !== dummyContainerChildOffset.left\n    };\n  };\n\n  SimpleBar.getOffset = function getOffset(el) {\n    var rect = el.getBoundingClientRect();\n    var elDocument = getElementDocument(el);\n    var elWindow = getElementWindow(el);\n    return {\n      top: rect.top + (elWindow.pageYOffset || elDocument.documentElement.scrollTop),\n      left: rect.left + (elWindow.pageXOffset || elDocument.documentElement.scrollLeft)\n    };\n  };\n\n  var _proto = SimpleBar.prototype;\n\n  _proto.init = function init() {\n    // Save a reference to the instance, so we know this DOM node has already been instancied\n    SimpleBar.instances.set(this.el, this); // We stop here on server-side\n\n    if (canUseDOM) {\n      this.initDOM();\n      this.setAccessibilityAttributes();\n      this.scrollbarWidth = this.getScrollbarWidth();\n      this.recalculate();\n      this.initListeners();\n    }\n  };\n\n  _proto.initDOM = function initDOM() {\n    var _this2 = this;\n\n    // make sure this element doesn't have the elements yet\n    if (Array.prototype.filter.call(this.el.children, function (child) {\n      return child.classList.contains(_this2.classNames.wrapper);\n    }).length) {\n      // assume that element has his DOM already initiated\n      this.wrapperEl = this.el.querySelector(\".\" + this.classNames.wrapper);\n      this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(\".\" + this.classNames.contentWrapper);\n      this.contentEl = this.options.contentNode || this.el.querySelector(\".\" + this.classNames.contentEl);\n      this.offsetEl = this.el.querySelector(\".\" + this.classNames.offset);\n      this.maskEl = this.el.querySelector(\".\" + this.classNames.mask);\n      this.placeholderEl = this.findChild(this.wrapperEl, \".\" + this.classNames.placeholder);\n      this.heightAutoObserverWrapperEl = this.el.querySelector(\".\" + this.classNames.heightAutoObserverWrapperEl);\n      this.heightAutoObserverEl = this.el.querySelector(\".\" + this.classNames.heightAutoObserverEl);\n      this.axis.x.track.el = this.findChild(this.el, \".\" + this.classNames.track + \".\" + this.classNames.horizontal);\n      this.axis.y.track.el = this.findChild(this.el, \".\" + this.classNames.track + \".\" + this.classNames.vertical);\n    } else {\n      // Prepare DOM\n      this.wrapperEl = document.createElement('div');\n      this.contentWrapperEl = document.createElement('div');\n      this.offsetEl = document.createElement('div');\n      this.maskEl = document.createElement('div');\n      this.contentEl = document.createElement('div');\n      this.placeholderEl = document.createElement('div');\n      this.heightAutoObserverWrapperEl = document.createElement('div');\n      this.heightAutoObserverEl = document.createElement('div');\n      this.wrapperEl.classList.add(this.classNames.wrapper);\n      this.contentWrapperEl.classList.add(this.classNames.contentWrapper);\n      this.offsetEl.classList.add(this.classNames.offset);\n      this.maskEl.classList.add(this.classNames.mask);\n      this.contentEl.classList.add(this.classNames.contentEl);\n      this.placeholderEl.classList.add(this.classNames.placeholder);\n      this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl);\n      this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);\n\n      while (this.el.firstChild) {\n        this.contentEl.appendChild(this.el.firstChild);\n      }\n\n      this.contentWrapperEl.appendChild(this.contentEl);\n      this.offsetEl.appendChild(this.contentWrapperEl);\n      this.maskEl.appendChild(this.offsetEl);\n      this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl);\n      this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl);\n      this.wrapperEl.appendChild(this.maskEl);\n      this.wrapperEl.appendChild(this.placeholderEl);\n      this.el.appendChild(this.wrapperEl);\n    }\n\n    if (!this.axis.x.track.el || !this.axis.y.track.el) {\n      var track = document.createElement('div');\n      var scrollbar = document.createElement('div');\n      track.classList.add(this.classNames.track);\n      scrollbar.classList.add(this.classNames.scrollbar);\n      track.appendChild(scrollbar);\n      this.axis.x.track.el = track.cloneNode(true);\n      this.axis.x.track.el.classList.add(this.classNames.horizontal);\n      this.axis.y.track.el = track.cloneNode(true);\n      this.axis.y.track.el.classList.add(this.classNames.vertical);\n      this.el.appendChild(this.axis.x.track.el);\n      this.el.appendChild(this.axis.y.track.el);\n    }\n\n    this.axis.x.scrollbar.el = this.axis.x.track.el.querySelector(\".\" + this.classNames.scrollbar);\n    this.axis.y.scrollbar.el = this.axis.y.track.el.querySelector(\".\" + this.classNames.scrollbar);\n\n    if (!this.options.autoHide) {\n      this.axis.x.scrollbar.el.classList.add(this.classNames.visible);\n      this.axis.y.scrollbar.el.classList.add(this.classNames.visible);\n    }\n\n    this.el.setAttribute('data-simplebar', 'init');\n  };\n\n  _proto.setAccessibilityAttributes = function setAccessibilityAttributes() {\n    var ariaLabel = this.options.ariaLabel || 'scrollable content';\n    this.contentWrapperEl.setAttribute('tabindex', '0');\n    this.contentWrapperEl.setAttribute('role', 'region');\n    this.contentWrapperEl.setAttribute('aria-label', ariaLabel);\n  };\n\n  _proto.initListeners = function initListeners() {\n    var _this3 = this;\n\n    var elWindow = getElementWindow(this.el); // Event listeners\n\n    if (this.options.autoHide) {\n      this.el.addEventListener('mouseenter', this.onMouseEnter);\n    }\n\n    ['mousedown', 'click', 'dblclick'].forEach(function (e) {\n      _this3.el.addEventListener(e, _this3.onPointerEvent, true);\n    });\n    ['touchstart', 'touchend', 'touchmove'].forEach(function (e) {\n      _this3.el.addEventListener(e, _this3.onPointerEvent, {\n        capture: true,\n        passive: true\n      });\n    });\n    this.el.addEventListener('mousemove', this.onMouseMove);\n    this.el.addEventListener('mouseleave', this.onMouseLeave);\n    this.contentWrapperEl.addEventListener('scroll', this.onScroll); // Browser zoom triggers a window resize\n\n    elWindow.addEventListener('resize', this.onWindowResize); // Hack for https://github.com/WICG/ResizeObserver/issues/38\n\n    var resizeObserverStarted = false;\n    var resizeAnimationFrameId = null;\n    var resizeObserver = elWindow.ResizeObserver || ResizeObserver;\n    this.resizeObserver = new resizeObserver(function () {\n      if (!resizeObserverStarted || resizeAnimationFrameId !== null) return;\n      resizeAnimationFrameId = elWindow.requestAnimationFrame(function () {\n        _this3.recalculate();\n\n        resizeAnimationFrameId = null;\n      });\n    });\n    this.resizeObserver.observe(this.el);\n    this.resizeObserver.observe(this.contentEl);\n    elWindow.requestAnimationFrame(function () {\n      resizeObserverStarted = true;\n    }); // This is required to detect horizontal scroll. Vertical scroll only needs the resizeObserver.\n\n    this.mutationObserver = new elWindow.MutationObserver(this.recalculate);\n    this.mutationObserver.observe(this.contentEl, {\n      childList: true,\n      subtree: true,\n      characterData: true\n    });\n  };\n\n  _proto.recalculate = function recalculate() {\n    var elWindow = getElementWindow(this.el);\n    this.elStyles = elWindow.getComputedStyle(this.el);\n    this.isRtl = this.elStyles.direction === 'rtl';\n    var isHeightAuto = this.heightAutoObserverEl.offsetHeight <= 1;\n    var isWidthAuto = this.heightAutoObserverEl.offsetWidth <= 1;\n    var contentElOffsetWidth = this.contentEl.offsetWidth;\n    var contentWrapperElOffsetWidth = this.contentWrapperEl.offsetWidth;\n    var elOverflowX = this.elStyles.overflowX;\n    var elOverflowY = this.elStyles.overflowY;\n    this.contentEl.style.padding = this.elStyles.paddingTop + \" \" + this.elStyles.paddingRight + \" \" + this.elStyles.paddingBottom + \" \" + this.elStyles.paddingLeft;\n    this.wrapperEl.style.margin = \"-\" + this.elStyles.paddingTop + \" -\" + this.elStyles.paddingRight + \" -\" + this.elStyles.paddingBottom + \" -\" + this.elStyles.paddingLeft;\n    var contentElScrollHeight = this.contentEl.scrollHeight;\n    var contentElScrollWidth = this.contentEl.scrollWidth;\n    this.contentWrapperEl.style.height = isHeightAuto ? 'auto' : '100%'; // Determine placeholder size\n\n    this.placeholderEl.style.width = isWidthAuto ? contentElOffsetWidth + \"px\" : 'auto';\n    this.placeholderEl.style.height = contentElScrollHeight + \"px\";\n    var contentWrapperElOffsetHeight = this.contentWrapperEl.offsetHeight;\n    this.axis.x.isOverflowing = contentElScrollWidth > contentElOffsetWidth;\n    this.axis.y.isOverflowing = contentElScrollHeight > contentWrapperElOffsetHeight; // Set isOverflowing to false if user explicitely set hidden overflow\n\n    this.axis.x.isOverflowing = elOverflowX === 'hidden' ? false : this.axis.x.isOverflowing;\n    this.axis.y.isOverflowing = elOverflowY === 'hidden' ? false : this.axis.y.isOverflowing;\n    this.axis.x.forceVisible = this.options.forceVisible === 'x' || this.options.forceVisible === true;\n    this.axis.y.forceVisible = this.options.forceVisible === 'y' || this.options.forceVisible === true;\n    this.hideNativeScrollbar(); // Set isOverflowing to false if scrollbar is not necessary (content is shorter than offset)\n\n    var offsetForXScrollbar = this.axis.x.isOverflowing ? this.scrollbarWidth : 0;\n    var offsetForYScrollbar = this.axis.y.isOverflowing ? this.scrollbarWidth : 0;\n    this.axis.x.isOverflowing = this.axis.x.isOverflowing && contentElScrollWidth > contentWrapperElOffsetWidth - offsetForYScrollbar;\n    this.axis.y.isOverflowing = this.axis.y.isOverflowing && contentElScrollHeight > contentWrapperElOffsetHeight - offsetForXScrollbar;\n    this.axis.x.scrollbar.size = this.getScrollbarSize('x');\n    this.axis.y.scrollbar.size = this.getScrollbarSize('y');\n    this.axis.x.scrollbar.el.style.width = this.axis.x.scrollbar.size + \"px\";\n    this.axis.y.scrollbar.el.style.height = this.axis.y.scrollbar.size + \"px\";\n    this.positionScrollbar('x');\n    this.positionScrollbar('y');\n    this.toggleTrackVisibility('x');\n    this.toggleTrackVisibility('y');\n  }\n  /**\n   * Calculate scrollbar size\n   */\n  ;\n\n  _proto.getScrollbarSize = function getScrollbarSize(axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    if (!this.axis[axis].isOverflowing) {\n      return 0;\n    }\n\n    var contentSize = this.contentEl[this.axis[axis].scrollSizeAttr];\n    var trackSize = this.axis[axis].track.el[this.axis[axis].offsetSizeAttr];\n    var scrollbarSize;\n    var scrollbarRatio = trackSize / contentSize; // Calculate new height/position of drag handle.\n\n    scrollbarSize = Math.max(~~(scrollbarRatio * trackSize), this.options.scrollbarMinSize);\n\n    if (this.options.scrollbarMaxSize) {\n      scrollbarSize = Math.min(scrollbarSize, this.options.scrollbarMaxSize);\n    }\n\n    return scrollbarSize;\n  };\n\n  _proto.positionScrollbar = function positionScrollbar(axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    if (!this.axis[axis].isOverflowing) {\n      return;\n    }\n\n    var contentSize = this.contentWrapperEl[this.axis[axis].scrollSizeAttr];\n    var trackSize = this.axis[axis].track.el[this.axis[axis].offsetSizeAttr];\n    var hostSize = parseInt(this.elStyles[this.axis[axis].sizeAttr], 10);\n    var scrollbar = this.axis[axis].scrollbar;\n    var scrollOffset = this.contentWrapperEl[this.axis[axis].scrollOffsetAttr];\n    scrollOffset = axis === 'x' && this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollingInverted ? -scrollOffset : scrollOffset;\n    var scrollPourcent = scrollOffset / (contentSize - hostSize);\n    var handleOffset = ~~((trackSize - scrollbar.size) * scrollPourcent);\n    handleOffset = axis === 'x' && this.isRtl && SimpleBar.getRtlHelpers().isRtlScrollbarInverted ? handleOffset + (trackSize - scrollbar.size) : handleOffset;\n    scrollbar.el.style.transform = axis === 'x' ? \"translate3d(\" + handleOffset + \"px, 0, 0)\" : \"translate3d(0, \" + handleOffset + \"px, 0)\";\n  };\n\n  _proto.toggleTrackVisibility = function toggleTrackVisibility(axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    var track = this.axis[axis].track.el;\n    var scrollbar = this.axis[axis].scrollbar.el;\n\n    if (this.axis[axis].isOverflowing || this.axis[axis].forceVisible) {\n      track.style.visibility = 'visible';\n      this.contentWrapperEl.style[this.axis[axis].overflowAttr] = 'scroll';\n    } else {\n      track.style.visibility = 'hidden';\n      this.contentWrapperEl.style[this.axis[axis].overflowAttr] = 'hidden';\n    } // Even if forceVisible is enabled, scrollbar itself should be hidden\n\n\n    if (this.axis[axis].isOverflowing) {\n      scrollbar.style.display = 'block';\n    } else {\n      scrollbar.style.display = 'none';\n    }\n  };\n\n  _proto.hideNativeScrollbar = function hideNativeScrollbar() {\n    this.offsetEl.style[this.isRtl ? 'left' : 'right'] = this.axis.y.isOverflowing || this.axis.y.forceVisible ? \"-\" + this.scrollbarWidth + \"px\" : 0;\n    this.offsetEl.style.bottom = this.axis.x.isOverflowing || this.axis.x.forceVisible ? \"-\" + this.scrollbarWidth + \"px\" : 0;\n  }\n  /**\n   * On scroll event handling\n   */\n  ;\n\n  _proto.onMouseMoveForAxis = function onMouseMoveForAxis(axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    this.axis[axis].track.rect = this.axis[axis].track.el.getBoundingClientRect();\n    this.axis[axis].scrollbar.rect = this.axis[axis].scrollbar.el.getBoundingClientRect();\n    var isWithinScrollbarBoundsX = this.isWithinBounds(this.axis[axis].scrollbar.rect);\n\n    if (isWithinScrollbarBoundsX) {\n      this.axis[axis].scrollbar.el.classList.add(this.classNames.hover);\n    } else {\n      this.axis[axis].scrollbar.el.classList.remove(this.classNames.hover);\n    }\n\n    if (this.isWithinBounds(this.axis[axis].track.rect)) {\n      this.showScrollbar(axis);\n      this.axis[axis].track.el.classList.add(this.classNames.hover);\n    } else {\n      this.axis[axis].track.el.classList.remove(this.classNames.hover);\n    }\n  };\n\n  _proto.onMouseLeaveForAxis = function onMouseLeaveForAxis(axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    this.axis[axis].track.el.classList.remove(this.classNames.hover);\n    this.axis[axis].scrollbar.el.classList.remove(this.classNames.hover);\n  };\n\n  /**\n   * Show scrollbar\n   */\n  _proto.showScrollbar = function showScrollbar(axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    var scrollbar = this.axis[axis].scrollbar.el;\n\n    if (!this.axis[axis].isVisible) {\n      scrollbar.classList.add(this.classNames.visible);\n      this.axis[axis].isVisible = true;\n    }\n\n    if (this.options.autoHide) {\n      this.hideScrollbars();\n    }\n  }\n  /**\n   * Hide Scrollbar\n   */\n  ;\n\n  /**\n   * on scrollbar handle drag movement starts\n   */\n  _proto.onDragStart = function onDragStart(e, axis) {\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    var elDocument = getElementDocument(this.el);\n    var elWindow = getElementWindow(this.el);\n    var scrollbar = this.axis[axis].scrollbar; // Measure how far the user's mouse is from the top of the scrollbar drag handle.\n\n    var eventOffset = axis === 'y' ? e.pageY : e.pageX;\n    this.axis[axis].dragOffset = eventOffset - scrollbar.rect[this.axis[axis].offsetAttr];\n    this.draggedAxis = axis;\n    this.el.classList.add(this.classNames.dragging);\n    elDocument.addEventListener('mousemove', this.drag, true);\n    elDocument.addEventListener('mouseup', this.onEndDrag, true);\n\n    if (this.removePreventClickId === null) {\n      elDocument.addEventListener('click', this.preventClick, true);\n      elDocument.addEventListener('dblclick', this.preventClick, true);\n    } else {\n      elWindow.clearTimeout(this.removePreventClickId);\n      this.removePreventClickId = null;\n    }\n  }\n  /**\n   * Drag scrollbar handle\n   */\n  ;\n\n  _proto.onTrackClick = function onTrackClick(e, axis) {\n    var _this4 = this;\n\n    if (axis === void 0) {\n      axis = 'y';\n    }\n\n    if (!this.options.clickOnTrack) return;\n    var elWindow = getElementWindow(this.el);\n    this.axis[axis].scrollbar.rect = this.axis[axis].scrollbar.el.getBoundingClientRect();\n    var scrollbar = this.axis[axis].scrollbar;\n    var scrollbarOffset = scrollbar.rect[this.axis[axis].offsetAttr];\n    var hostSize = parseInt(this.elStyles[this.axis[axis].sizeAttr], 10);\n    var scrolled = this.contentWrapperEl[this.axis[axis].scrollOffsetAttr];\n    var t = axis === 'y' ? this.mouseY - scrollbarOffset : this.mouseX - scrollbarOffset;\n    var dir = t < 0 ? -1 : 1;\n    var scrollSize = dir === -1 ? scrolled - hostSize : scrolled + hostSize;\n\n    var scrollTo = function scrollTo() {\n      if (dir === -1) {\n        if (scrolled > scrollSize) {\n          var _this4$contentWrapper;\n\n          scrolled -= _this4.options.clickOnTrackSpeed;\n\n          _this4.contentWrapperEl.scrollTo((_this4$contentWrapper = {}, _this4$contentWrapper[_this4.axis[axis].offsetAttr] = scrolled, _this4$contentWrapper));\n\n          elWindow.requestAnimationFrame(scrollTo);\n        }\n      } else {\n        if (scrolled < scrollSize) {\n          var _this4$contentWrapper2;\n\n          scrolled += _this4.options.clickOnTrackSpeed;\n\n          _this4.contentWrapperEl.scrollTo((_this4$contentWrapper2 = {}, _this4$contentWrapper2[_this4.axis[axis].offsetAttr] = scrolled, _this4$contentWrapper2));\n\n          elWindow.requestAnimationFrame(scrollTo);\n        }\n      }\n    };\n\n    scrollTo();\n  }\n  /**\n   * Getter for content element\n   */\n  ;\n\n  _proto.getContentElement = function getContentElement() {\n    return this.contentEl;\n  }\n  /**\n   * Getter for original scrolling element\n   */\n  ;\n\n  _proto.getScrollElement = function getScrollElement() {\n    return this.contentWrapperEl;\n  };\n\n  _proto.getScrollbarWidth = function getScrollbarWidth() {\n    // Try/catch for FF 56 throwing on undefined computedStyles\n    try {\n      // Detect browsers supporting CSS scrollbar styling and do not calculate\n      if (getComputedStyle(this.contentWrapperEl, '::-webkit-scrollbar').display === 'none' || 'scrollbarWidth' in document.documentElement.style || '-ms-overflow-style' in document.documentElement.style) {\n        return 0;\n      } else {\n        return scrollbarWidth(this.el);\n      }\n    } catch (e) {\n      return scrollbarWidth(this.el);\n    }\n  };\n\n  _proto.removeListeners = function removeListeners() {\n    var _this5 = this;\n\n    var elWindow = getElementWindow(this.el); // Event listeners\n\n    if (this.options.autoHide) {\n      this.el.removeEventListener('mouseenter', this.onMouseEnter);\n    }\n\n    ['mousedown', 'click', 'dblclick'].forEach(function (e) {\n      _this5.el.removeEventListener(e, _this5.onPointerEvent, true);\n    });\n    ['touchstart', 'touchend', 'touchmove'].forEach(function (e) {\n      _this5.el.removeEventListener(e, _this5.onPointerEvent, {\n        capture: true,\n        passive: true\n      });\n    });\n    this.el.removeEventListener('mousemove', this.onMouseMove);\n    this.el.removeEventListener('mouseleave', this.onMouseLeave);\n\n    if (this.contentWrapperEl) {\n      this.contentWrapperEl.removeEventListener('scroll', this.onScroll);\n    }\n\n    elWindow.removeEventListener('resize', this.onWindowResize);\n\n    if (this.mutationObserver) {\n      this.mutationObserver.disconnect();\n    }\n\n    if (this.resizeObserver) {\n      this.resizeObserver.disconnect();\n    } // Cancel all debounced functions\n\n\n    this.recalculate.cancel();\n    this.onMouseMove.cancel();\n    this.hideScrollbars.cancel();\n    this.onWindowResize.cancel();\n  }\n  /**\n   * UnMount mutation observer and delete SimpleBar instance from DOM element\n   */\n  ;\n\n  _proto.unMount = function unMount() {\n    this.removeListeners();\n    SimpleBar.instances.delete(this.el);\n  }\n  /**\n   * Check if mouse is within bounds\n   */\n  ;\n\n  _proto.isWithinBounds = function isWithinBounds(bbox) {\n    return this.mouseX >= bbox.left && this.mouseX <= bbox.left + bbox.width && this.mouseY >= bbox.top && this.mouseY <= bbox.top + bbox.height;\n  }\n  /**\n   * Find element children matches query\n   */\n  ;\n\n  _proto.findChild = function findChild(el, query) {\n    var matches = el.matches || el.webkitMatchesSelector || el.mozMatchesSelector || el.msMatchesSelector;\n    return Array.prototype.filter.call(el.children, function (child) {\n      return matches.call(child, query);\n    })[0];\n  };\n\n  return SimpleBar;\n}();\n\nSimpleBar.defaultOptions = {\n  autoHide: true,\n  forceVisible: false,\n  clickOnTrack: true,\n  clickOnTrackSpeed: 40,\n  classNames: {\n    contentEl: 'simplebar-content',\n    contentWrapper: 'simplebar-content-wrapper',\n    offset: 'simplebar-offset',\n    mask: 'simplebar-mask',\n    wrapper: 'simplebar-wrapper',\n    placeholder: 'simplebar-placeholder',\n    scrollbar: 'simplebar-scrollbar',\n    track: 'simplebar-track',\n    heightAutoObserverWrapperEl: 'simplebar-height-auto-observer-wrapper',\n    heightAutoObserverEl: 'simplebar-height-auto-observer',\n    visible: 'simplebar-visible',\n    horizontal: 'simplebar-horizontal',\n    vertical: 'simplebar-vertical',\n    hover: 'simplebar-hover',\n    dragging: 'simplebar-dragging'\n  },\n  scrollbarMinSize: 25,\n  scrollbarMaxSize: 0,\n  timeout: 1000\n};\nSimpleBar.instances = new WeakMap();\n\nSimpleBar.initDOMLoadedElements = function () {\n  document.removeEventListener('DOMContentLoaded', this.initDOMLoadedElements);\n  window.removeEventListener('load', this.initDOMLoadedElements);\n  Array.prototype.forEach.call(document.querySelectorAll('[data-simplebar]'), function (el) {\n    if (el.getAttribute('data-simplebar') !== 'init' && !SimpleBar.instances.has(el)) new SimpleBar(el, getOptions(el.attributes));\n  });\n};\n\nSimpleBar.removeObserver = function () {\n  this.globalObserver.disconnect();\n};\n\nSimpleBar.initHtmlApi = function () {\n  this.initDOMLoadedElements = this.initDOMLoadedElements.bind(this); // MutationObserver is IE11+\n\n  if (typeof MutationObserver !== 'undefined') {\n    // Mutation observer to observe dynamically added elements\n    this.globalObserver = new MutationObserver(SimpleBar.handleMutations);\n    this.globalObserver.observe(document, {\n      childList: true,\n      subtree: true\n    });\n  } // Taken from jQuery `ready` function\n  // Instantiate elements already present on the page\n\n\n  if (document.readyState === 'complete' || document.readyState !== 'loading' && !document.documentElement.doScroll) {\n    // Handle it asynchronously to allow scripts the opportunity to delay init\n    window.setTimeout(this.initDOMLoadedElements);\n  } else {\n    document.addEventListener('DOMContentLoaded', this.initDOMLoadedElements);\n    window.addEventListener('load', this.initDOMLoadedElements);\n  }\n};\n\nSimpleBar.handleMutations = function (mutations) {\n  mutations.forEach(function (mutation) {\n    Array.prototype.forEach.call(mutation.addedNodes, function (addedNode) {\n      if (addedNode.nodeType === 1) {\n        if (addedNode.hasAttribute('data-simplebar')) {\n          !SimpleBar.instances.has(addedNode) && document.documentElement.contains(addedNode) && new SimpleBar(addedNode, getOptions(addedNode.attributes));\n        } else {\n          Array.prototype.forEach.call(addedNode.querySelectorAll('[data-simplebar]'), function (el) {\n            if (el.getAttribute('data-simplebar') !== 'init' && !SimpleBar.instances.has(el) && document.documentElement.contains(el)) new SimpleBar(el, getOptions(el.attributes));\n          });\n        }\n      }\n    });\n    Array.prototype.forEach.call(mutation.removedNodes, function (removedNode) {\n      if (removedNode.nodeType === 1) {\n        if (removedNode.getAttribute('data-simplebar') === 'init') {\n          SimpleBar.instances.has(removedNode) && !document.documentElement.contains(removedNode) && SimpleBar.instances.get(removedNode).unMount();\n        } else {\n          Array.prototype.forEach.call(removedNode.querySelectorAll('[data-simplebar=\"init\"]'), function (el) {\n            SimpleBar.instances.has(el) && !document.documentElement.contains(el) && SimpleBar.instances.get(el).unMount();\n          });\n        }\n      }\n    });\n  });\n};\n\nSimpleBar.getOptions = getOptions;\n/**\n * HTML API\n * Called only in a browser env.\n */\n\nif (canUseDOM) {\n  SimpleBar.initHtmlApi();\n}\n\nexport default SimpleBar;\n//# sourceMappingURL=simplebar.esm.js.map\n","// Usage: https://github.com/Grsmto/simplebar\r\nimport SimpleBar from \"simplebar\";\r\n\r\nconst initialize = () => {\r\n  initializeSimplebar();\r\n  initializeSidebarCollapse();\r\n}\r\n\r\nconst initializeSimplebar = () => {\r\n  const simplebarElement = document.getElementsByClassName(\"js-simplebar\")[0];\r\n\r\n  if(simplebarElement){\r\n    const simplebarInstance = new SimpleBar(document.getElementsByClassName(\"js-simplebar\")[0]);\r\n\r\n    /* Recalculate simplebar on sidebar dropdown toggle */\r\n    const sidebarDropdowns = document.querySelectorAll(\".js-sidebar [data-bs-parent]\");\r\n    \r\n    sidebarDropdowns.forEach(link => {\r\n      link.addEventListener(\"shown.bs.collapse\", () => {\r\n        simplebarInstance.recalculate();\r\n      });\r\n      link.addEventListener(\"hidden.bs.collapse\", () => {\r\n        simplebarInstance.recalculate();\r\n      });\r\n    });\r\n  }\r\n}\r\n\r\nconst initializeSidebarCollapse = () => {\r\n  const sidebarElement = document.getElementsByClassName(\"js-sidebar\")[0];\r\n  const sidebarToggleElement = document.getElementsByClassName(\"js-sidebar-toggle\")[0];\r\n\r\n  if(sidebarElement && sidebarToggleElement) {\r\n    sidebarToggleElement.addEventListener(\"click\", () => {\r\n      sidebarElement.classList.toggle(\"collapsed\");\r\n\r\n      sidebarElement.addEventListener(\"transitionend\", () => {\r\n        window.dispatchEvent(new Event(\"resize\"));\r\n      });\r\n    });\r\n  }\r\n}\r\n\r\n// Wait until page is loaded\r\ndocument.addEventListener(\"DOMContentLoaded\", () => initialize());","// Usage: https://feathericons.com/\r\nimport feather from \"feather-icons\";\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", () => {\r\n  try {\r\n    feather.replace();\r\n  }\r\n  catch(e) {\r\n    console.log('You might have made a typo with one of the feather icons');\r\n    console.log(e);\r\n  }\r\n});\r\n\r\nwindow.feather = feather;","// Usage: https://www.chartjs.org/\r\nimport Chart from \"chart.js\";\r\n\r\nChart.defaults.global.defaultFontColor = window.theme[\"gray-600\"];\r\nChart.defaults.global.defaultFontFamily = \"'Inter', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\";\r\nwindow.Chart = Chart;","export var HOOKS = [\n    \"onChange\",\n    \"onClose\",\n    \"onDayCreate\",\n    \"onDestroy\",\n    \"onKeyDown\",\n    \"onMonthChange\",\n    \"onOpen\",\n    \"onParseConfig\",\n    \"onReady\",\n    \"onValueUpdate\",\n    \"onYearChange\",\n    \"onPreCalendarPosition\",\n];\nexport var defaults = {\n    _disable: [],\n    allowInput: false,\n    allowInvalidPreload: false,\n    altFormat: \"F j, Y\",\n    altInput: false,\n    altInputClass: \"form-control input\",\n    animate: typeof window === \"object\" &&\n        window.navigator.userAgent.indexOf(\"MSIE\") === -1,\n    ariaDateFormat: \"F j, Y\",\n    autoFillDefaultTime: true,\n    clickOpens: true,\n    closeOnSelect: true,\n    conjunction: \", \",\n    dateFormat: \"Y-m-d\",\n    defaultHour: 12,\n    defaultMinute: 0,\n    defaultSeconds: 0,\n    disable: [],\n    disableMobile: false,\n    enableSeconds: false,\n    enableTime: false,\n    errorHandler: function (err) {\n        return typeof console !== \"undefined\" && console.warn(err);\n    },\n    getWeek: function (givenDate) {\n        var date = new Date(givenDate.getTime());\n        date.setHours(0, 0, 0, 0);\n        date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));\n        var week1 = new Date(date.getFullYear(), 0, 4);\n        return (1 +\n            Math.round(((date.getTime() - week1.getTime()) / 86400000 -\n                3 +\n                ((week1.getDay() + 6) % 7)) /\n                7));\n    },\n    hourIncrement: 1,\n    ignoredFocusElements: [],\n    inline: false,\n    locale: \"default\",\n    minuteIncrement: 5,\n    mode: \"single\",\n    monthSelectorType: \"dropdown\",\n    nextArrow: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>\",\n    noCalendar: false,\n    now: new Date(),\n    onChange: [],\n    onClose: [],\n    onDayCreate: [],\n    onDestroy: [],\n    onKeyDown: [],\n    onMonthChange: [],\n    onOpen: [],\n    onParseConfig: [],\n    onReady: [],\n    onValueUpdate: [],\n    onYearChange: [],\n    onPreCalendarPosition: [],\n    plugins: [],\n    position: \"auto\",\n    positionElement: undefined,\n    prevArrow: \"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>\",\n    shorthandCurrentMonth: false,\n    showMonths: 1,\n    static: false,\n    time_24hr: false,\n    weekNumbers: false,\n    wrap: false,\n};\n","export var english = {\n    weekdays: {\n        shorthand: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n        longhand: [\n            \"Sunday\",\n            \"Monday\",\n            \"Tuesday\",\n            \"Wednesday\",\n            \"Thursday\",\n            \"Friday\",\n            \"Saturday\",\n        ],\n    },\n    months: {\n        shorthand: [\n            \"Jan\",\n            \"Feb\",\n            \"Mar\",\n            \"Apr\",\n            \"May\",\n            \"Jun\",\n            \"Jul\",\n            \"Aug\",\n            \"Sep\",\n            \"Oct\",\n            \"Nov\",\n            \"Dec\",\n        ],\n        longhand: [\n            \"January\",\n            \"February\",\n            \"March\",\n            \"April\",\n            \"May\",\n            \"June\",\n            \"July\",\n            \"August\",\n            \"September\",\n            \"October\",\n            \"November\",\n            \"December\",\n        ],\n    },\n    daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],\n    firstDayOfWeek: 0,\n    ordinal: function (nth) {\n        var s = nth % 100;\n        if (s > 3 && s < 21)\n            return \"th\";\n        switch (s % 10) {\n            case 1:\n                return \"st\";\n            case 2:\n                return \"nd\";\n            case 3:\n                return \"rd\";\n            default:\n                return \"th\";\n        }\n    },\n    rangeSeparator: \" to \",\n    weekAbbreviation: \"Wk\",\n    scrollTitle: \"Scroll to increment\",\n    toggleTitle: \"Click to toggle\",\n    amPM: [\"AM\", \"PM\"],\n    yearAriaLabel: \"Year\",\n    monthAriaLabel: \"Month\",\n    hourAriaLabel: \"Hour\",\n    minuteAriaLabel: \"Minute\",\n    time_24hr: false,\n};\nexport default english;\n","export var pad = function (number, length) {\n    if (length === void 0) { length = 2; }\n    return (\"000\" + number).slice(length * -1);\n};\nexport var int = function (bool) { return (bool === true ? 1 : 0); };\nexport function debounce(fn, wait) {\n    var t;\n    return function () {\n        var _this = this;\n        var args = arguments;\n        clearTimeout(t);\n        t = setTimeout(function () { return fn.apply(_this, args); }, wait);\n    };\n}\nexport var arrayify = function (obj) {\n    return obj instanceof Array ? obj : [obj];\n};\n","export function toggleClass(elem, className, bool) {\n    if (bool === true)\n        return elem.classList.add(className);\n    elem.classList.remove(className);\n}\nexport function createElement(tag, className, content) {\n    var e = window.document.createElement(tag);\n    className = className || \"\";\n    content = content || \"\";\n    e.className = className;\n    if (content !== undefined)\n        e.textContent = content;\n    return e;\n}\nexport function clearNode(node) {\n    while (node.firstChild)\n        node.removeChild(node.firstChild);\n}\nexport function findParent(node, condition) {\n    if (condition(node))\n        return node;\n    else if (node.parentNode)\n        return findParent(node.parentNode, condition);\n    return undefined;\n}\nexport function createNumberInput(inputClassName, opts) {\n    var wrapper = createElement(\"div\", \"numInputWrapper\"), numInput = createElement(\"input\", \"numInput \" + inputClassName), arrowUp = createElement(\"span\", \"arrowUp\"), arrowDown = createElement(\"span\", \"arrowDown\");\n    if (navigator.userAgent.indexOf(\"MSIE 9.0\") === -1) {\n        numInput.type = \"number\";\n    }\n    else {\n        numInput.type = \"text\";\n        numInput.pattern = \"\\\\d*\";\n    }\n    if (opts !== undefined)\n        for (var key in opts)\n            numInput.setAttribute(key, opts[key]);\n    wrapper.appendChild(numInput);\n    wrapper.appendChild(arrowUp);\n    wrapper.appendChild(arrowDown);\n    return wrapper;\n}\nexport function getEventTarget(event) {\n    try {\n        if (typeof event.composedPath === \"function\") {\n            var path = event.composedPath();\n            return path[0];\n        }\n        return event.target;\n    }\n    catch (error) {\n        return event.target;\n    }\n}\n","import { int, pad } from \"../utils\";\nvar doNothing = function () { return undefined; };\nexport var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? \"shorthand\" : \"longhand\"][monthNumber]; };\nexport var revFormat = {\n    D: doNothing,\n    F: function (dateObj, monthName, locale) {\n        dateObj.setMonth(locale.months.longhand.indexOf(monthName));\n    },\n    G: function (dateObj, hour) {\n        dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));\n    },\n    H: function (dateObj, hour) {\n        dateObj.setHours(parseFloat(hour));\n    },\n    J: function (dateObj, day) {\n        dateObj.setDate(parseFloat(day));\n    },\n    K: function (dateObj, amPM, locale) {\n        dateObj.setHours((dateObj.getHours() % 12) +\n            12 * int(new RegExp(locale.amPM[1], \"i\").test(amPM)));\n    },\n    M: function (dateObj, shortMonth, locale) {\n        dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));\n    },\n    S: function (dateObj, seconds) {\n        dateObj.setSeconds(parseFloat(seconds));\n    },\n    U: function (_, unixSeconds) { return new Date(parseFloat(unixSeconds) * 1000); },\n    W: function (dateObj, weekNum, locale) {\n        var weekNumber = parseInt(weekNum);\n        var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);\n        date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);\n        return date;\n    },\n    Y: function (dateObj, year) {\n        dateObj.setFullYear(parseFloat(year));\n    },\n    Z: function (_, ISODate) { return new Date(ISODate); },\n    d: function (dateObj, day) {\n        dateObj.setDate(parseFloat(day));\n    },\n    h: function (dateObj, hour) {\n        dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));\n    },\n    i: function (dateObj, minutes) {\n        dateObj.setMinutes(parseFloat(minutes));\n    },\n    j: function (dateObj, day) {\n        dateObj.setDate(parseFloat(day));\n    },\n    l: doNothing,\n    m: function (dateObj, month) {\n        dateObj.setMonth(parseFloat(month) - 1);\n    },\n    n: function (dateObj, month) {\n        dateObj.setMonth(parseFloat(month) - 1);\n    },\n    s: function (dateObj, seconds) {\n        dateObj.setSeconds(parseFloat(seconds));\n    },\n    u: function (_, unixMillSeconds) {\n        return new Date(parseFloat(unixMillSeconds));\n    },\n    w: doNothing,\n    y: function (dateObj, year) {\n        dateObj.setFullYear(2000 + parseFloat(year));\n    },\n};\nexport var tokenRegex = {\n    D: \"\",\n    F: \"\",\n    G: \"(\\\\d\\\\d|\\\\d)\",\n    H: \"(\\\\d\\\\d|\\\\d)\",\n    J: \"(\\\\d\\\\d|\\\\d)\\\\w+\",\n    K: \"\",\n    M: \"\",\n    S: \"(\\\\d\\\\d|\\\\d)\",\n    U: \"(.+)\",\n    W: \"(\\\\d\\\\d|\\\\d)\",\n    Y: \"(\\\\d{4})\",\n    Z: \"(.+)\",\n    d: \"(\\\\d\\\\d|\\\\d)\",\n    h: \"(\\\\d\\\\d|\\\\d)\",\n    i: \"(\\\\d\\\\d|\\\\d)\",\n    j: \"(\\\\d\\\\d|\\\\d)\",\n    l: \"\",\n    m: \"(\\\\d\\\\d|\\\\d)\",\n    n: \"(\\\\d\\\\d|\\\\d)\",\n    s: \"(\\\\d\\\\d|\\\\d)\",\n    u: \"(.+)\",\n    w: \"(\\\\d\\\\d|\\\\d)\",\n    y: \"(\\\\d{2})\",\n};\nexport var formats = {\n    Z: function (date) { return date.toISOString(); },\n    D: function (date, locale, options) {\n        return locale.weekdays.shorthand[formats.w(date, locale, options)];\n    },\n    F: function (date, locale, options) {\n        return monthToStr(formats.n(date, locale, options) - 1, false, locale);\n    },\n    G: function (date, locale, options) {\n        return pad(formats.h(date, locale, options));\n    },\n    H: function (date) { return pad(date.getHours()); },\n    J: function (date, locale) {\n        return locale.ordinal !== undefined\n            ? date.getDate() + locale.ordinal(date.getDate())\n            : date.getDate();\n    },\n    K: function (date, locale) { return locale.amPM[int(date.getHours() > 11)]; },\n    M: function (date, locale) {\n        return monthToStr(date.getMonth(), true, locale);\n    },\n    S: function (date) { return pad(date.getSeconds()); },\n    U: function (date) { return date.getTime() / 1000; },\n    W: function (date, _, options) {\n        return options.getWeek(date);\n    },\n    Y: function (date) { return pad(date.getFullYear(), 4); },\n    d: function (date) { return pad(date.getDate()); },\n    h: function (date) { return (date.getHours() % 12 ? date.getHours() % 12 : 12); },\n    i: function (date) { return pad(date.getMinutes()); },\n    j: function (date) { return date.getDate(); },\n    l: function (date, locale) {\n        return locale.weekdays.longhand[date.getDay()];\n    },\n    m: function (date) { return pad(date.getMonth() + 1); },\n    n: function (date) { return date.getMonth() + 1; },\n    s: function (date) { return date.getSeconds(); },\n    u: function (date) { return date.getTime(); },\n    w: function (date) { return date.getDay(); },\n    y: function (date) { return String(date.getFullYear()).substring(2); },\n};\n","import { tokenRegex, revFormat, formats, } from \"./formatting\";\nimport { defaults } from \"../types/options\";\nimport { english } from \"../l10n/default\";\nexport var createDateFormatter = function (_a) {\n    var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d;\n    return function (dateObj, frmt, overrideLocale) {\n        var locale = overrideLocale || l10n;\n        if (config.formatDate !== undefined && !isMobile) {\n            return config.formatDate(dateObj, frmt, locale);\n        }\n        return frmt\n            .split(\"\")\n            .map(function (c, i, arr) {\n            return formats[c] && arr[i - 1] !== \"\\\\\"\n                ? formats[c](dateObj, locale, config)\n                : c !== \"\\\\\"\n                    ? c\n                    : \"\";\n        })\n            .join(\"\");\n    };\n};\nexport var createDateParser = function (_a) {\n    var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;\n    return function (date, givenFormat, timeless, customLocale) {\n        if (date !== 0 && !date)\n            return undefined;\n        var locale = customLocale || l10n;\n        var parsedDate;\n        var dateOrig = date;\n        if (date instanceof Date)\n            parsedDate = new Date(date.getTime());\n        else if (typeof date !== \"string\" &&\n            date.toFixed !== undefined)\n            parsedDate = new Date(date);\n        else if (typeof date === \"string\") {\n            var format = givenFormat || (config || defaults).dateFormat;\n            var datestr = String(date).trim();\n            if (datestr === \"today\") {\n                parsedDate = new Date();\n                timeless = true;\n            }\n            else if (config && config.parseDate) {\n                parsedDate = config.parseDate(date, format);\n            }\n            else if (/Z$/.test(datestr) ||\n                /GMT$/.test(datestr)) {\n                parsedDate = new Date(date);\n            }\n            else {\n                var matched = void 0, ops = [];\n                for (var i = 0, matchIndex = 0, regexStr = \"\"; i < format.length; i++) {\n                    var token = format[i];\n                    var isBackSlash = token === \"\\\\\";\n                    var escaped = format[i - 1] === \"\\\\\" || isBackSlash;\n                    if (tokenRegex[token] && !escaped) {\n                        regexStr += tokenRegex[token];\n                        var match = new RegExp(regexStr).exec(date);\n                        if (match && (matched = true)) {\n                            ops[token !== \"Y\" ? \"push\" : \"unshift\"]({\n                                fn: revFormat[token],\n                                val: match[++matchIndex],\n                            });\n                        }\n                    }\n                    else if (!isBackSlash)\n                        regexStr += \".\";\n                }\n                parsedDate =\n                    !config || !config.noCalendar\n                        ? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0)\n                        : new Date(new Date().setHours(0, 0, 0, 0));\n                ops.forEach(function (_a) {\n                    var fn = _a.fn, val = _a.val;\n                    return (parsedDate = fn(parsedDate, val, locale) || parsedDate);\n                });\n                parsedDate = matched ? parsedDate : undefined;\n            }\n        }\n        if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) {\n            config.errorHandler(new Error(\"Invalid date provided: \" + dateOrig));\n            return undefined;\n        }\n        if (timeless === true)\n            parsedDate.setHours(0, 0, 0, 0);\n        return parsedDate;\n    };\n};\nexport function compareDates(date1, date2, timeless) {\n    if (timeless === void 0) { timeless = true; }\n    if (timeless !== false) {\n        return (new Date(date1.getTime()).setHours(0, 0, 0, 0) -\n            new Date(date2.getTime()).setHours(0, 0, 0, 0));\n    }\n    return date1.getTime() - date2.getTime();\n}\nexport function compareTimes(date1, date2) {\n    return (3600 * (date1.getHours() - date2.getHours()) +\n        60 * (date1.getMinutes() - date2.getMinutes()) +\n        date1.getSeconds() -\n        date2.getSeconds());\n}\nexport var isBetween = function (ts, ts1, ts2) {\n    return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);\n};\nexport var calculateSecondsSinceMidnight = function (hours, minutes, seconds) {\n    return hours * 3600 + minutes * 60 + seconds;\n};\nexport var parseSeconds = function (secondsSinceMidnight) {\n    var hours = Math.floor(secondsSinceMidnight / 3600), minutes = (secondsSinceMidnight - hours * 3600) / 60;\n    return [hours, minutes, secondsSinceMidnight - hours * 3600 - minutes * 60];\n};\nexport var duration = {\n    DAY: 86400000,\n};\nexport function getDefaultHours(config) {\n    var hours = config.defaultHour;\n    var minutes = config.defaultMinute;\n    var seconds = config.defaultSeconds;\n    if (config.minDate !== undefined) {\n        var minHour = config.minDate.getHours();\n        var minMinutes = config.minDate.getMinutes();\n        var minSeconds = config.minDate.getSeconds();\n        if (hours < minHour) {\n            hours = minHour;\n        }\n        if (hours === minHour && minutes < minMinutes) {\n            minutes = minMinutes;\n        }\n        if (hours === minHour && minutes === minMinutes && seconds < minSeconds)\n            seconds = config.minDate.getSeconds();\n    }\n    if (config.maxDate !== undefined) {\n        var maxHr = config.maxDate.getHours();\n        var maxMinutes = config.maxDate.getMinutes();\n        hours = Math.min(hours, maxHr);\n        if (hours === maxHr)\n            minutes = Math.min(maxMinutes, minutes);\n        if (hours === maxHr && minutes === maxMinutes)\n            seconds = config.maxDate.getSeconds();\n    }\n    return { hours: hours, minutes: minutes, seconds: seconds };\n}\n","var __assign = (this && this.__assign) || function () {\n    __assign = Object.assign || function(t) {\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\n            s = arguments[i];\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                t[p] = s[p];\n        }\n        return t;\n    };\n    return __assign.apply(this, arguments);\n};\nvar __spreadArrays = (this && this.__spreadArrays) || function () {\n    for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n    for (var r = Array(s), k = 0, i = 0; i < il; i++)\n        for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n            r[k] = a[j];\n    return r;\n};\nimport { defaults as defaultOptions, HOOKS, } from \"./types/options\";\nimport English from \"./l10n/default\";\nimport { arrayify, debounce, int, pad } from \"./utils\";\nimport { clearNode, createElement, createNumberInput, findParent, toggleClass, getEventTarget, } from \"./utils/dom\";\nimport { compareDates, createDateParser, createDateFormatter, duration, isBetween, getDefaultHours, calculateSecondsSinceMidnight, parseSeconds, } from \"./utils/dates\";\nimport { tokenRegex, monthToStr } from \"./utils/formatting\";\nimport \"./utils/polyfills\";\nvar DEBOUNCED_CHANGE_MS = 300;\nfunction FlatpickrInstance(element, instanceConfig) {\n    var self = {\n        config: __assign(__assign({}, defaultOptions), flatpickr.defaultConfig),\n        l10n: English,\n    };\n    self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });\n    self._handlers = [];\n    self.pluginElements = [];\n    self.loadedPlugins = [];\n    self._bind = bind;\n    self._setHoursFromDate = setHoursFromDate;\n    self._positionCalendar = positionCalendar;\n    self.changeMonth = changeMonth;\n    self.changeYear = changeYear;\n    self.clear = clear;\n    self.close = close;\n    self.onMouseOver = onMouseOver;\n    self._createElement = createElement;\n    self.createDay = createDay;\n    self.destroy = destroy;\n    self.isEnabled = isEnabled;\n    self.jumpToDate = jumpToDate;\n    self.updateValue = updateValue;\n    self.open = open;\n    self.redraw = redraw;\n    self.set = set;\n    self.setDate = setDate;\n    self.toggle = toggle;\n    function setupHelperFunctions() {\n        self.utils = {\n            getDaysInMonth: function (month, yr) {\n                if (month === void 0) { month = self.currentMonth; }\n                if (yr === void 0) { yr = self.currentYear; }\n                if (month === 1 && ((yr % 4 === 0 && yr % 100 !== 0) || yr % 400 === 0))\n                    return 29;\n                return self.l10n.daysInMonth[month];\n            },\n        };\n    }\n    function init() {\n        self.element = self.input = element;\n        self.isOpen = false;\n        parseConfig();\n        setupLocale();\n        setupInputs();\n        setupDates();\n        setupHelperFunctions();\n        if (!self.isMobile)\n            build();\n        bindEvents();\n        if (self.selectedDates.length || self.config.noCalendar) {\n            if (self.config.enableTime) {\n                setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj : undefined);\n            }\n            updateValue(false);\n        }\n        setCalendarWidth();\n        var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);\n        if (!self.isMobile && isSafari) {\n            positionCalendar();\n        }\n        triggerEvent(\"onReady\");\n    }\n    function getClosestActiveElement() {\n        var _a;\n        return (((_a = self.calendarContainer) === null || _a === void 0 ? void 0 : _a.getRootNode())\n            .activeElement || document.activeElement);\n    }\n    function bindToInstance(fn) {\n        return fn.bind(self);\n    }\n    function setCalendarWidth() {\n        var config = self.config;\n        if (config.weekNumbers === false && config.showMonths === 1) {\n            return;\n        }\n        else if (config.noCalendar !== true) {\n            window.requestAnimationFrame(function () {\n                if (self.calendarContainer !== undefined) {\n                    self.calendarContainer.style.visibility = \"hidden\";\n                    self.calendarContainer.style.display = \"block\";\n                }\n                if (self.daysContainer !== undefined) {\n                    var daysWidth = (self.days.offsetWidth + 1) * config.showMonths;\n                    self.daysContainer.style.width = daysWidth + \"px\";\n                    self.calendarContainer.style.width =\n                        daysWidth +\n                            (self.weekWrapper !== undefined\n                                ? self.weekWrapper.offsetWidth\n                                : 0) +\n                            \"px\";\n                    self.calendarContainer.style.removeProperty(\"visibility\");\n                    self.calendarContainer.style.removeProperty(\"display\");\n                }\n            });\n        }\n    }\n    function updateTime(e) {\n        if (self.selectedDates.length === 0) {\n            var defaultDate = self.config.minDate === undefined ||\n                compareDates(new Date(), self.config.minDate) >= 0\n                ? new Date()\n                : new Date(self.config.minDate.getTime());\n            var defaults = getDefaultHours(self.config);\n            defaultDate.setHours(defaults.hours, defaults.minutes, defaults.seconds, defaultDate.getMilliseconds());\n            self.selectedDates = [defaultDate];\n            self.latestSelectedDateObj = defaultDate;\n        }\n        if (e !== undefined && e.type !== \"blur\") {\n            timeWrapper(e);\n        }\n        var prevValue = self._input.value;\n        setHoursFromInputs();\n        updateValue();\n        if (self._input.value !== prevValue) {\n            self._debouncedChange();\n        }\n    }\n    function ampm2military(hour, amPM) {\n        return (hour % 12) + 12 * int(amPM === self.l10n.amPM[1]);\n    }\n    function military2ampm(hour) {\n        switch (hour % 24) {\n            case 0:\n            case 12:\n                return 12;\n            default:\n                return hour % 12;\n        }\n    }\n    function setHoursFromInputs() {\n        if (self.hourElement === undefined || self.minuteElement === undefined)\n            return;\n        var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24, minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, seconds = self.secondElement !== undefined\n            ? (parseInt(self.secondElement.value, 10) || 0) % 60\n            : 0;\n        if (self.amPM !== undefined) {\n            hours = ampm2military(hours, self.amPM.textContent);\n        }\n        var limitMinHours = self.config.minTime !== undefined ||\n            (self.config.minDate &&\n                self.minDateHasTime &&\n                self.latestSelectedDateObj &&\n                compareDates(self.latestSelectedDateObj, self.config.minDate, true) ===\n                    0);\n        var limitMaxHours = self.config.maxTime !== undefined ||\n            (self.config.maxDate &&\n                self.maxDateHasTime &&\n                self.latestSelectedDateObj &&\n                compareDates(self.latestSelectedDateObj, self.config.maxDate, true) ===\n                    0);\n        if (self.config.maxTime !== undefined &&\n            self.config.minTime !== undefined &&\n            self.config.minTime > self.config.maxTime) {\n            var minBound = calculateSecondsSinceMidnight(self.config.minTime.getHours(), self.config.minTime.getMinutes(), self.config.minTime.getSeconds());\n            var maxBound = calculateSecondsSinceMidnight(self.config.maxTime.getHours(), self.config.maxTime.getMinutes(), self.config.maxTime.getSeconds());\n            var currentTime = calculateSecondsSinceMidnight(hours, minutes, seconds);\n            if (currentTime > maxBound && currentTime < minBound) {\n                var result = parseSeconds(minBound);\n                hours = result[0];\n                minutes = result[1];\n                seconds = result[2];\n            }\n        }\n        else {\n            if (limitMaxHours) {\n                var maxTime = self.config.maxTime !== undefined\n                    ? self.config.maxTime\n                    : self.config.maxDate;\n                hours = Math.min(hours, maxTime.getHours());\n                if (hours === maxTime.getHours())\n                    minutes = Math.min(minutes, maxTime.getMinutes());\n                if (minutes === maxTime.getMinutes())\n                    seconds = Math.min(seconds, maxTime.getSeconds());\n            }\n            if (limitMinHours) {\n                var minTime = self.config.minTime !== undefined\n                    ? self.config.minTime\n                    : self.config.minDate;\n                hours = Math.max(hours, minTime.getHours());\n                if (hours === minTime.getHours() && minutes < minTime.getMinutes())\n                    minutes = minTime.getMinutes();\n                if (minutes === minTime.getMinutes())\n                    seconds = Math.max(seconds, minTime.getSeconds());\n            }\n        }\n        setHours(hours, minutes, seconds);\n    }\n    function setHoursFromDate(dateObj) {\n        var date = dateObj || self.latestSelectedDateObj;\n        if (date && date instanceof Date) {\n            setHours(date.getHours(), date.getMinutes(), date.getSeconds());\n        }\n    }\n    function setHours(hours, minutes, seconds) {\n        if (self.latestSelectedDateObj !== undefined) {\n            self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);\n        }\n        if (!self.hourElement || !self.minuteElement || self.isMobile)\n            return;\n        self.hourElement.value = pad(!self.config.time_24hr\n            ? ((12 + hours) % 12) + 12 * int(hours % 12 === 0)\n            : hours);\n        self.minuteElement.value = pad(minutes);\n        if (self.amPM !== undefined)\n            self.amPM.textContent = self.l10n.amPM[int(hours >= 12)];\n        if (self.secondElement !== undefined)\n            self.secondElement.value = pad(seconds);\n    }\n    function onYearInput(event) {\n        var eventTarget = getEventTarget(event);\n        var year = parseInt(eventTarget.value) + (event.delta || 0);\n        if (year / 1000 > 1 ||\n            (event.key === \"Enter\" && !/[^\\d]/.test(year.toString()))) {\n            changeYear(year);\n        }\n    }\n    function bind(element, event, handler, options) {\n        if (event instanceof Array)\n            return event.forEach(function (ev) { return bind(element, ev, handler, options); });\n        if (element instanceof Array)\n            return element.forEach(function (el) { return bind(el, event, handler, options); });\n        element.addEventListener(event, handler, options);\n        self._handlers.push({\n            remove: function () { return element.removeEventListener(event, handler, options); },\n        });\n    }\n    function triggerChange() {\n        triggerEvent(\"onChange\");\n    }\n    function bindEvents() {\n        if (self.config.wrap) {\n            [\"open\", \"close\", \"toggle\", \"clear\"].forEach(function (evt) {\n                Array.prototype.forEach.call(self.element.querySelectorAll(\"[data-\" + evt + \"]\"), function (el) {\n                    return bind(el, \"click\", self[evt]);\n                });\n            });\n        }\n        if (self.isMobile) {\n            setupMobile();\n            return;\n        }\n        var debouncedResize = debounce(onResize, 50);\n        self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);\n        if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent))\n            bind(self.daysContainer, \"mouseover\", function (e) {\n                if (self.config.mode === \"range\")\n                    onMouseOver(getEventTarget(e));\n            });\n        bind(self._input, \"keydown\", onKeyDown);\n        if (self.calendarContainer !== undefined) {\n            bind(self.calendarContainer, \"keydown\", onKeyDown);\n        }\n        if (!self.config.inline && !self.config.static)\n            bind(window, \"resize\", debouncedResize);\n        if (window.ontouchstart !== undefined)\n            bind(window.document, \"touchstart\", documentClick);\n        else\n            bind(window.document, \"mousedown\", documentClick);\n        bind(window.document, \"focus\", documentClick, { capture: true });\n        if (self.config.clickOpens === true) {\n            bind(self._input, \"focus\", self.open);\n            bind(self._input, \"click\", self.open);\n        }\n        if (self.daysContainer !== undefined) {\n            bind(self.monthNav, \"click\", onMonthNavClick);\n            bind(self.monthNav, [\"keyup\", \"increment\"], onYearInput);\n            bind(self.daysContainer, \"click\", selectDate);\n        }\n        if (self.timeContainer !== undefined &&\n            self.minuteElement !== undefined &&\n            self.hourElement !== undefined) {\n            var selText = function (e) {\n                return getEventTarget(e).select();\n            };\n            bind(self.timeContainer, [\"increment\"], updateTime);\n            bind(self.timeContainer, \"blur\", updateTime, { capture: true });\n            bind(self.timeContainer, \"click\", timeIncrement);\n            bind([self.hourElement, self.minuteElement], [\"focus\", \"click\"], selText);\n            if (self.secondElement !== undefined)\n                bind(self.secondElement, \"focus\", function () { return self.secondElement && self.secondElement.select(); });\n            if (self.amPM !== undefined) {\n                bind(self.amPM, \"click\", function (e) {\n                    updateTime(e);\n                });\n            }\n        }\n        if (self.config.allowInput) {\n            bind(self._input, \"blur\", onBlur);\n        }\n    }\n    function jumpToDate(jumpDate, triggerChange) {\n        var jumpTo = jumpDate !== undefined\n            ? self.parseDate(jumpDate)\n            : self.latestSelectedDateObj ||\n                (self.config.minDate && self.config.minDate > self.now\n                    ? self.config.minDate\n                    : self.config.maxDate && self.config.maxDate < self.now\n                        ? self.config.maxDate\n                        : self.now);\n        var oldYear = self.currentYear;\n        var oldMonth = self.currentMonth;\n        try {\n            if (jumpTo !== undefined) {\n                self.currentYear = jumpTo.getFullYear();\n                self.currentMonth = jumpTo.getMonth();\n            }\n        }\n        catch (e) {\n            e.message = \"Invalid date supplied: \" + jumpTo;\n            self.config.errorHandler(e);\n        }\n        if (triggerChange && self.currentYear !== oldYear) {\n            triggerEvent(\"onYearChange\");\n            buildMonthSwitch();\n        }\n        if (triggerChange &&\n            (self.currentYear !== oldYear || self.currentMonth !== oldMonth)) {\n            triggerEvent(\"onMonthChange\");\n        }\n        self.redraw();\n    }\n    function timeIncrement(e) {\n        var eventTarget = getEventTarget(e);\n        if (~eventTarget.className.indexOf(\"arrow\"))\n            incrementNumInput(e, eventTarget.classList.contains(\"arrowUp\") ? 1 : -1);\n    }\n    function incrementNumInput(e, delta, inputElem) {\n        var target = e && getEventTarget(e);\n        var input = inputElem ||\n            (target && target.parentNode && target.parentNode.firstChild);\n        var event = createEvent(\"increment\");\n        event.delta = delta;\n        input && input.dispatchEvent(event);\n    }\n    function build() {\n        var fragment = window.document.createDocumentFragment();\n        self.calendarContainer = createElement(\"div\", \"flatpickr-calendar\");\n        self.calendarContainer.tabIndex = -1;\n        if (!self.config.noCalendar) {\n            fragment.appendChild(buildMonthNav());\n            self.innerContainer = createElement(\"div\", \"flatpickr-innerContainer\");\n            if (self.config.weekNumbers) {\n                var _a = buildWeeks(), weekWrapper = _a.weekWrapper, weekNumbers = _a.weekNumbers;\n                self.innerContainer.appendChild(weekWrapper);\n                self.weekNumbers = weekNumbers;\n                self.weekWrapper = weekWrapper;\n            }\n            self.rContainer = createElement(\"div\", \"flatpickr-rContainer\");\n            self.rContainer.appendChild(buildWeekdays());\n            if (!self.daysContainer) {\n                self.daysContainer = createElement(\"div\", \"flatpickr-days\");\n                self.daysContainer.tabIndex = -1;\n            }\n            buildDays();\n            self.rContainer.appendChild(self.daysContainer);\n            self.innerContainer.appendChild(self.rContainer);\n            fragment.appendChild(self.innerContainer);\n        }\n        if (self.config.enableTime) {\n            fragment.appendChild(buildTime());\n        }\n        toggleClass(self.calendarContainer, \"rangeMode\", self.config.mode === \"range\");\n        toggleClass(self.calendarContainer, \"animate\", self.config.animate === true);\n        toggleClass(self.calendarContainer, \"multiMonth\", self.config.showMonths > 1);\n        self.calendarContainer.appendChild(fragment);\n        var customAppend = self.config.appendTo !== undefined &&\n            self.config.appendTo.nodeType !== undefined;\n        if (self.config.inline || self.config.static) {\n            self.calendarContainer.classList.add(self.config.inline ? \"inline\" : \"static\");\n            if (self.config.inline) {\n                if (!customAppend && self.element.parentNode)\n                    self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);\n                else if (self.config.appendTo !== undefined)\n                    self.config.appendTo.appendChild(self.calendarContainer);\n            }\n            if (self.config.static) {\n                var wrapper = createElement(\"div\", \"flatpickr-wrapper\");\n                if (self.element.parentNode)\n                    self.element.parentNode.insertBefore(wrapper, self.element);\n                wrapper.appendChild(self.element);\n                if (self.altInput)\n                    wrapper.appendChild(self.altInput);\n                wrapper.appendChild(self.calendarContainer);\n            }\n        }\n        if (!self.config.static && !self.config.inline)\n            (self.config.appendTo !== undefined\n                ? self.config.appendTo\n                : window.document.body).appendChild(self.calendarContainer);\n    }\n    function createDay(className, date, _dayNumber, i) {\n        var dateIsEnabled = isEnabled(date, true), dayElement = createElement(\"span\", className, date.getDate().toString());\n        dayElement.dateObj = date;\n        dayElement.$i = i;\n        dayElement.setAttribute(\"aria-label\", self.formatDate(date, self.config.ariaDateFormat));\n        if (className.indexOf(\"hidden\") === -1 &&\n            compareDates(date, self.now) === 0) {\n            self.todayDateElem = dayElement;\n            dayElement.classList.add(\"today\");\n            dayElement.setAttribute(\"aria-current\", \"date\");\n        }\n        if (dateIsEnabled) {\n            dayElement.tabIndex = -1;\n            if (isDateSelected(date)) {\n                dayElement.classList.add(\"selected\");\n                self.selectedDateElem = dayElement;\n                if (self.config.mode === \"range\") {\n                    toggleClass(dayElement, \"startRange\", self.selectedDates[0] &&\n                        compareDates(date, self.selectedDates[0], true) === 0);\n                    toggleClass(dayElement, \"endRange\", self.selectedDates[1] &&\n                        compareDates(date, self.selectedDates[1], true) === 0);\n                    if (className === \"nextMonthDay\")\n                        dayElement.classList.add(\"inRange\");\n                }\n            }\n        }\n        else {\n            dayElement.classList.add(\"flatpickr-disabled\");\n        }\n        if (self.config.mode === \"range\") {\n            if (isDateInRange(date) && !isDateSelected(date))\n                dayElement.classList.add(\"inRange\");\n        }\n        if (self.weekNumbers &&\n            self.config.showMonths === 1 &&\n            className !== \"prevMonthDay\" &&\n            i % 7 === 6) {\n            self.weekNumbers.insertAdjacentHTML(\"beforeend\", \"<span class='flatpickr-day'>\" + self.config.getWeek(date) + \"</span>\");\n        }\n        triggerEvent(\"onDayCreate\", dayElement);\n        return dayElement;\n    }\n    function focusOnDayElem(targetNode) {\n        targetNode.focus();\n        if (self.config.mode === \"range\")\n            onMouseOver(targetNode);\n    }\n    function getFirstAvailableDay(delta) {\n        var startMonth = delta > 0 ? 0 : self.config.showMonths - 1;\n        var endMonth = delta > 0 ? self.config.showMonths : -1;\n        for (var m = startMonth; m != endMonth; m += delta) {\n            var month = self.daysContainer.children[m];\n            var startIndex = delta > 0 ? 0 : month.children.length - 1;\n            var endIndex = delta > 0 ? month.children.length : -1;\n            for (var i = startIndex; i != endIndex; i += delta) {\n                var c = month.children[i];\n                if (c.className.indexOf(\"hidden\") === -1 && isEnabled(c.dateObj))\n                    return c;\n            }\n        }\n        return undefined;\n    }\n    function getNextAvailableDay(current, delta) {\n        var givenMonth = current.className.indexOf(\"Month\") === -1\n            ? current.dateObj.getMonth()\n            : self.currentMonth;\n        var endMonth = delta > 0 ? self.config.showMonths : -1;\n        var loopDelta = delta > 0 ? 1 : -1;\n        for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) {\n            var month = self.daysContainer.children[m];\n            var startIndex = givenMonth - self.currentMonth === m\n                ? current.$i + delta\n                : delta < 0\n                    ? month.children.length - 1\n                    : 0;\n            var numMonthDays = month.children.length;\n            for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) {\n                var c = month.children[i];\n                if (c.className.indexOf(\"hidden\") === -1 &&\n                    isEnabled(c.dateObj) &&\n                    Math.abs(current.$i - i) >= Math.abs(delta))\n                    return focusOnDayElem(c);\n            }\n        }\n        self.changeMonth(loopDelta);\n        focusOnDay(getFirstAvailableDay(loopDelta), 0);\n        return undefined;\n    }\n    function focusOnDay(current, offset) {\n        var activeElement = getClosestActiveElement();\n        var dayFocused = isInView(activeElement || document.body);\n        var startElem = current !== undefined\n            ? current\n            : dayFocused\n                ? activeElement\n                : self.selectedDateElem !== undefined && isInView(self.selectedDateElem)\n                    ? self.selectedDateElem\n                    : self.todayDateElem !== undefined && isInView(self.todayDateElem)\n                        ? self.todayDateElem\n                        : getFirstAvailableDay(offset > 0 ? 1 : -1);\n        if (startElem === undefined) {\n            self._input.focus();\n        }\n        else if (!dayFocused) {\n            focusOnDayElem(startElem);\n        }\n        else {\n            getNextAvailableDay(startElem, offset);\n        }\n    }\n    function buildMonthDays(year, month) {\n        var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7;\n        var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12, year);\n        var daysInMonth = self.utils.getDaysInMonth(month, year), days = window.document.createDocumentFragment(), isMultiMonth = self.config.showMonths > 1, prevMonthDayClass = isMultiMonth ? \"prevMonthDay hidden\" : \"prevMonthDay\", nextMonthDayClass = isMultiMonth ? \"nextMonthDay hidden\" : \"nextMonthDay\";\n        var dayNumber = prevMonthDays + 1 - firstOfMonth, dayIndex = 0;\n        for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) {\n            days.appendChild(createDay(\"flatpickr-day \" + prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex));\n        }\n        for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) {\n            days.appendChild(createDay(\"flatpickr-day\", new Date(year, month, dayNumber), dayNumber, dayIndex));\n        }\n        for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth &&\n            (self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) {\n            days.appendChild(createDay(\"flatpickr-day \" + nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex));\n        }\n        var dayContainer = createElement(\"div\", \"dayContainer\");\n        dayContainer.appendChild(days);\n        return dayContainer;\n    }\n    function buildDays() {\n        if (self.daysContainer === undefined) {\n            return;\n        }\n        clearNode(self.daysContainer);\n        if (self.weekNumbers)\n            clearNode(self.weekNumbers);\n        var frag = document.createDocumentFragment();\n        for (var i = 0; i < self.config.showMonths; i++) {\n            var d = new Date(self.currentYear, self.currentMonth, 1);\n            d.setMonth(self.currentMonth + i);\n            frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth()));\n        }\n        self.daysContainer.appendChild(frag);\n        self.days = self.daysContainer.firstChild;\n        if (self.config.mode === \"range\" && self.selectedDates.length === 1) {\n            onMouseOver();\n        }\n    }\n    function buildMonthSwitch() {\n        if (self.config.showMonths > 1 ||\n            self.config.monthSelectorType !== \"dropdown\")\n            return;\n        var shouldBuildMonth = function (month) {\n            if (self.config.minDate !== undefined &&\n                self.currentYear === self.config.minDate.getFullYear() &&\n                month < self.config.minDate.getMonth()) {\n                return false;\n            }\n            return !(self.config.maxDate !== undefined &&\n                self.currentYear === self.config.maxDate.getFullYear() &&\n                month > self.config.maxDate.getMonth());\n        };\n        self.monthsDropdownContainer.tabIndex = -1;\n        self.monthsDropdownContainer.innerHTML = \"\";\n        for (var i = 0; i < 12; i++) {\n            if (!shouldBuildMonth(i))\n                continue;\n            var month = createElement(\"option\", \"flatpickr-monthDropdown-month\");\n            month.value = new Date(self.currentYear, i).getMonth().toString();\n            month.textContent = monthToStr(i, self.config.shorthandCurrentMonth, self.l10n);\n            month.tabIndex = -1;\n            if (self.currentMonth === i) {\n                month.selected = true;\n            }\n            self.monthsDropdownContainer.appendChild(month);\n        }\n    }\n    function buildMonth() {\n        var container = createElement(\"div\", \"flatpickr-month\");\n        var monthNavFragment = window.document.createDocumentFragment();\n        var monthElement;\n        if (self.config.showMonths > 1 ||\n            self.config.monthSelectorType === \"static\") {\n            monthElement = createElement(\"span\", \"cur-month\");\n        }\n        else {\n            self.monthsDropdownContainer = createElement(\"select\", \"flatpickr-monthDropdown-months\");\n            self.monthsDropdownContainer.setAttribute(\"aria-label\", self.l10n.monthAriaLabel);\n            bind(self.monthsDropdownContainer, \"change\", function (e) {\n                var target = getEventTarget(e);\n                var selectedMonth = parseInt(target.value, 10);\n                self.changeMonth(selectedMonth - self.currentMonth);\n                triggerEvent(\"onMonthChange\");\n            });\n            buildMonthSwitch();\n            monthElement = self.monthsDropdownContainer;\n        }\n        var yearInput = createNumberInput(\"cur-year\", { tabindex: \"-1\" });\n        var yearElement = yearInput.getElementsByTagName(\"input\")[0];\n        yearElement.setAttribute(\"aria-label\", self.l10n.yearAriaLabel);\n        if (self.config.minDate) {\n            yearElement.setAttribute(\"min\", self.config.minDate.getFullYear().toString());\n        }\n        if (self.config.maxDate) {\n            yearElement.setAttribute(\"max\", self.config.maxDate.getFullYear().toString());\n            yearElement.disabled =\n                !!self.config.minDate &&\n                    self.config.minDate.getFullYear() === self.config.maxDate.getFullYear();\n        }\n        var currentMonth = createElement(\"div\", \"flatpickr-current-month\");\n        currentMonth.appendChild(monthElement);\n        currentMonth.appendChild(yearInput);\n        monthNavFragment.appendChild(currentMonth);\n        container.appendChild(monthNavFragment);\n        return {\n            container: container,\n            yearElement: yearElement,\n            monthElement: monthElement,\n        };\n    }\n    function buildMonths() {\n        clearNode(self.monthNav);\n        self.monthNav.appendChild(self.prevMonthNav);\n        if (self.config.showMonths) {\n            self.yearElements = [];\n            self.monthElements = [];\n        }\n        for (var m = self.config.showMonths; m--;) {\n            var month = buildMonth();\n            self.yearElements.push(month.yearElement);\n            self.monthElements.push(month.monthElement);\n            self.monthNav.appendChild(month.container);\n        }\n        self.monthNav.appendChild(self.nextMonthNav);\n    }\n    function buildMonthNav() {\n        self.monthNav = createElement(\"div\", \"flatpickr-months\");\n        self.yearElements = [];\n        self.monthElements = [];\n        self.prevMonthNav = createElement(\"span\", \"flatpickr-prev-month\");\n        self.prevMonthNav.innerHTML = self.config.prevArrow;\n        self.nextMonthNav = createElement(\"span\", \"flatpickr-next-month\");\n        self.nextMonthNav.innerHTML = self.config.nextArrow;\n        buildMonths();\n        Object.defineProperty(self, \"_hidePrevMonthArrow\", {\n            get: function () { return self.__hidePrevMonthArrow; },\n            set: function (bool) {\n                if (self.__hidePrevMonthArrow !== bool) {\n                    toggleClass(self.prevMonthNav, \"flatpickr-disabled\", bool);\n                    self.__hidePrevMonthArrow = bool;\n                }\n            },\n        });\n        Object.defineProperty(self, \"_hideNextMonthArrow\", {\n            get: function () { return self.__hideNextMonthArrow; },\n            set: function (bool) {\n                if (self.__hideNextMonthArrow !== bool) {\n                    toggleClass(self.nextMonthNav, \"flatpickr-disabled\", bool);\n                    self.__hideNextMonthArrow = bool;\n                }\n            },\n        });\n        self.currentYearElement = self.yearElements[0];\n        updateNavigationCurrentMonth();\n        return self.monthNav;\n    }\n    function buildTime() {\n        self.calendarContainer.classList.add(\"hasTime\");\n        if (self.config.noCalendar)\n            self.calendarContainer.classList.add(\"noCalendar\");\n        var defaults = getDefaultHours(self.config);\n        self.timeContainer = createElement(\"div\", \"flatpickr-time\");\n        self.timeContainer.tabIndex = -1;\n        var separator = createElement(\"span\", \"flatpickr-time-separator\", \":\");\n        var hourInput = createNumberInput(\"flatpickr-hour\", {\n            \"aria-label\": self.l10n.hourAriaLabel,\n        });\n        self.hourElement = hourInput.getElementsByTagName(\"input\")[0];\n        var minuteInput = createNumberInput(\"flatpickr-minute\", {\n            \"aria-label\": self.l10n.minuteAriaLabel,\n        });\n        self.minuteElement = minuteInput.getElementsByTagName(\"input\")[0];\n        self.hourElement.tabIndex = self.minuteElement.tabIndex = -1;\n        self.hourElement.value = pad(self.latestSelectedDateObj\n            ? self.latestSelectedDateObj.getHours()\n            : self.config.time_24hr\n                ? defaults.hours\n                : military2ampm(defaults.hours));\n        self.minuteElement.value = pad(self.latestSelectedDateObj\n            ? self.latestSelectedDateObj.getMinutes()\n            : defaults.minutes);\n        self.hourElement.setAttribute(\"step\", self.config.hourIncrement.toString());\n        self.minuteElement.setAttribute(\"step\", self.config.minuteIncrement.toString());\n        self.hourElement.setAttribute(\"min\", self.config.time_24hr ? \"0\" : \"1\");\n        self.hourElement.setAttribute(\"max\", self.config.time_24hr ? \"23\" : \"12\");\n        self.hourElement.setAttribute(\"maxlength\", \"2\");\n        self.minuteElement.setAttribute(\"min\", \"0\");\n        self.minuteElement.setAttribute(\"max\", \"59\");\n        self.minuteElement.setAttribute(\"maxlength\", \"2\");\n        self.timeContainer.appendChild(hourInput);\n        self.timeContainer.appendChild(separator);\n        self.timeContainer.appendChild(minuteInput);\n        if (self.config.time_24hr)\n            self.timeContainer.classList.add(\"time24hr\");\n        if (self.config.enableSeconds) {\n            self.timeContainer.classList.add(\"hasSeconds\");\n            var secondInput = createNumberInput(\"flatpickr-second\");\n            self.secondElement = secondInput.getElementsByTagName(\"input\")[0];\n            self.secondElement.value = pad(self.latestSelectedDateObj\n                ? self.latestSelectedDateObj.getSeconds()\n                : defaults.seconds);\n            self.secondElement.setAttribute(\"step\", self.minuteElement.getAttribute(\"step\"));\n            self.secondElement.setAttribute(\"min\", \"0\");\n            self.secondElement.setAttribute(\"max\", \"59\");\n            self.secondElement.setAttribute(\"maxlength\", \"2\");\n            self.timeContainer.appendChild(createElement(\"span\", \"flatpickr-time-separator\", \":\"));\n            self.timeContainer.appendChild(secondInput);\n        }\n        if (!self.config.time_24hr) {\n            self.amPM = createElement(\"span\", \"flatpickr-am-pm\", self.l10n.amPM[int((self.latestSelectedDateObj\n                ? self.hourElement.value\n                : self.config.defaultHour) > 11)]);\n            self.amPM.title = self.l10n.toggleTitle;\n            self.amPM.tabIndex = -1;\n            self.timeContainer.appendChild(self.amPM);\n        }\n        return self.timeContainer;\n    }\n    function buildWeekdays() {\n        if (!self.weekdayContainer)\n            self.weekdayContainer = createElement(\"div\", \"flatpickr-weekdays\");\n        else\n            clearNode(self.weekdayContainer);\n        for (var i = self.config.showMonths; i--;) {\n            var container = createElement(\"div\", \"flatpickr-weekdaycontainer\");\n            self.weekdayContainer.appendChild(container);\n        }\n        updateWeekdays();\n        return self.weekdayContainer;\n    }\n    function updateWeekdays() {\n        if (!self.weekdayContainer) {\n            return;\n        }\n        var firstDayOfWeek = self.l10n.firstDayOfWeek;\n        var weekdays = __spreadArrays(self.l10n.weekdays.shorthand);\n        if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) {\n            weekdays = __spreadArrays(weekdays.splice(firstDayOfWeek, weekdays.length), weekdays.splice(0, firstDayOfWeek));\n        }\n        for (var i = self.config.showMonths; i--;) {\n            self.weekdayContainer.children[i].innerHTML = \"\\n      <span class='flatpickr-weekday'>\\n        \" + weekdays.join(\"</span><span class='flatpickr-weekday'>\") + \"\\n      </span>\\n      \";\n        }\n    }\n    function buildWeeks() {\n        self.calendarContainer.classList.add(\"hasWeeks\");\n        var weekWrapper = createElement(\"div\", \"flatpickr-weekwrapper\");\n        weekWrapper.appendChild(createElement(\"span\", \"flatpickr-weekday\", self.l10n.weekAbbreviation));\n        var weekNumbers = createElement(\"div\", \"flatpickr-weeks\");\n        weekWrapper.appendChild(weekNumbers);\n        return {\n            weekWrapper: weekWrapper,\n            weekNumbers: weekNumbers,\n        };\n    }\n    function changeMonth(value, isOffset) {\n        if (isOffset === void 0) { isOffset = true; }\n        var delta = isOffset ? value : value - self.currentMonth;\n        if ((delta < 0 && self._hidePrevMonthArrow === true) ||\n            (delta > 0 && self._hideNextMonthArrow === true))\n            return;\n        self.currentMonth += delta;\n        if (self.currentMonth < 0 || self.currentMonth > 11) {\n            self.currentYear += self.currentMonth > 11 ? 1 : -1;\n            self.currentMonth = (self.currentMonth + 12) % 12;\n            triggerEvent(\"onYearChange\");\n            buildMonthSwitch();\n        }\n        buildDays();\n        triggerEvent(\"onMonthChange\");\n        updateNavigationCurrentMonth();\n    }\n    function clear(triggerChangeEvent, toInitial) {\n        if (triggerChangeEvent === void 0) { triggerChangeEvent = true; }\n        if (toInitial === void 0) { toInitial = true; }\n        self.input.value = \"\";\n        if (self.altInput !== undefined)\n            self.altInput.value = \"\";\n        if (self.mobileInput !== undefined)\n            self.mobileInput.value = \"\";\n        self.selectedDates = [];\n        self.latestSelectedDateObj = undefined;\n        if (toInitial === true) {\n            self.currentYear = self._initialDate.getFullYear();\n            self.currentMonth = self._initialDate.getMonth();\n        }\n        if (self.config.enableTime === true) {\n            var _a = getDefaultHours(self.config), hours = _a.hours, minutes = _a.minutes, seconds = _a.seconds;\n            setHours(hours, minutes, seconds);\n        }\n        self.redraw();\n        if (triggerChangeEvent)\n            triggerEvent(\"onChange\");\n    }\n    function close() {\n        self.isOpen = false;\n        if (!self.isMobile) {\n            if (self.calendarContainer !== undefined) {\n                self.calendarContainer.classList.remove(\"open\");\n            }\n            if (self._input !== undefined) {\n                self._input.classList.remove(\"active\");\n            }\n        }\n        triggerEvent(\"onClose\");\n    }\n    function destroy() {\n        if (self.config !== undefined)\n            triggerEvent(\"onDestroy\");\n        for (var i = self._handlers.length; i--;) {\n            self._handlers[i].remove();\n        }\n        self._handlers = [];\n        if (self.mobileInput) {\n            if (self.mobileInput.parentNode)\n                self.mobileInput.parentNode.removeChild(self.mobileInput);\n            self.mobileInput = undefined;\n        }\n        else if (self.calendarContainer && self.calendarContainer.parentNode) {\n            if (self.config.static && self.calendarContainer.parentNode) {\n                var wrapper = self.calendarContainer.parentNode;\n                wrapper.lastChild && wrapper.removeChild(wrapper.lastChild);\n                if (wrapper.parentNode) {\n                    while (wrapper.firstChild)\n                        wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);\n                    wrapper.parentNode.removeChild(wrapper);\n                }\n            }\n            else\n                self.calendarContainer.parentNode.removeChild(self.calendarContainer);\n        }\n        if (self.altInput) {\n            self.input.type = \"text\";\n            if (self.altInput.parentNode)\n                self.altInput.parentNode.removeChild(self.altInput);\n            delete self.altInput;\n        }\n        if (self.input) {\n            self.input.type = self.input._type;\n            self.input.classList.remove(\"flatpickr-input\");\n            self.input.removeAttribute(\"readonly\");\n        }\n        [\n            \"_showTimeInput\",\n            \"latestSelectedDateObj\",\n            \"_hideNextMonthArrow\",\n            \"_hidePrevMonthArrow\",\n            \"__hideNextMonthArrow\",\n            \"__hidePrevMonthArrow\",\n            \"isMobile\",\n            \"isOpen\",\n            \"selectedDateElem\",\n            \"minDateHasTime\",\n            \"maxDateHasTime\",\n            \"days\",\n            \"daysContainer\",\n            \"_input\",\n            \"_positionElement\",\n            \"innerContainer\",\n            \"rContainer\",\n            \"monthNav\",\n            \"todayDateElem\",\n            \"calendarContainer\",\n            \"weekdayContainer\",\n            \"prevMonthNav\",\n            \"nextMonthNav\",\n            \"monthsDropdownContainer\",\n            \"currentMonthElement\",\n            \"currentYearElement\",\n            \"navigationCurrentMonth\",\n            \"selectedDateElem\",\n            \"config\",\n        ].forEach(function (k) {\n            try {\n                delete self[k];\n            }\n            catch (_) { }\n        });\n    }\n    function isCalendarElem(elem) {\n        return self.calendarContainer.contains(elem);\n    }\n    function documentClick(e) {\n        if (self.isOpen && !self.config.inline) {\n            var eventTarget_1 = getEventTarget(e);\n            var isCalendarElement = isCalendarElem(eventTarget_1);\n            var isInput = eventTarget_1 === self.input ||\n                eventTarget_1 === self.altInput ||\n                self.element.contains(eventTarget_1) ||\n                (e.path &&\n                    e.path.indexOf &&\n                    (~e.path.indexOf(self.input) ||\n                        ~e.path.indexOf(self.altInput)));\n            var lostFocus = !isInput &&\n                !isCalendarElement &&\n                !isCalendarElem(e.relatedTarget);\n            var isIgnored = !self.config.ignoredFocusElements.some(function (elem) {\n                return elem.contains(eventTarget_1);\n            });\n            if (lostFocus && isIgnored) {\n                if (self.config.allowInput) {\n                    self.setDate(self._input.value, false, self.config.altInput\n                        ? self.config.altFormat\n                        : self.config.dateFormat);\n                }\n                if (self.timeContainer !== undefined &&\n                    self.minuteElement !== undefined &&\n                    self.hourElement !== undefined &&\n                    self.input.value !== \"\" &&\n                    self.input.value !== undefined) {\n                    updateTime();\n                }\n                self.close();\n                if (self.config &&\n                    self.config.mode === \"range\" &&\n                    self.selectedDates.length === 1)\n                    self.clear(false);\n            }\n        }\n    }\n    function changeYear(newYear) {\n        if (!newYear ||\n            (self.config.minDate && newYear < self.config.minDate.getFullYear()) ||\n            (self.config.maxDate && newYear > self.config.maxDate.getFullYear()))\n            return;\n        var newYearNum = newYear, isNewYear = self.currentYear !== newYearNum;\n        self.currentYear = newYearNum || self.currentYear;\n        if (self.config.maxDate &&\n            self.currentYear === self.config.maxDate.getFullYear()) {\n            self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth);\n        }\n        else if (self.config.minDate &&\n            self.currentYear === self.config.minDate.getFullYear()) {\n            self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth);\n        }\n        if (isNewYear) {\n            self.redraw();\n            triggerEvent(\"onYearChange\");\n            buildMonthSwitch();\n        }\n    }\n    function isEnabled(date, timeless) {\n        var _a;\n        if (timeless === void 0) { timeless = true; }\n        var dateToCheck = self.parseDate(date, undefined, timeless);\n        if ((self.config.minDate &&\n            dateToCheck &&\n            compareDates(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0) ||\n            (self.config.maxDate &&\n                dateToCheck &&\n                compareDates(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0))\n            return false;\n        if (!self.config.enable && self.config.disable.length === 0)\n            return true;\n        if (dateToCheck === undefined)\n            return false;\n        var bool = !!self.config.enable, array = (_a = self.config.enable) !== null && _a !== void 0 ? _a : self.config.disable;\n        for (var i = 0, d = void 0; i < array.length; i++) {\n            d = array[i];\n            if (typeof d === \"function\" &&\n                d(dateToCheck))\n                return bool;\n            else if (d instanceof Date &&\n                dateToCheck !== undefined &&\n                d.getTime() === dateToCheck.getTime())\n                return bool;\n            else if (typeof d === \"string\") {\n                var parsed = self.parseDate(d, undefined, true);\n                return parsed && parsed.getTime() === dateToCheck.getTime()\n                    ? bool\n                    : !bool;\n            }\n            else if (typeof d === \"object\" &&\n                dateToCheck !== undefined &&\n                d.from &&\n                d.to &&\n                dateToCheck.getTime() >= d.from.getTime() &&\n                dateToCheck.getTime() <= d.to.getTime())\n                return bool;\n        }\n        return !bool;\n    }\n    function isInView(elem) {\n        if (self.daysContainer !== undefined)\n            return (elem.className.indexOf(\"hidden\") === -1 &&\n                elem.className.indexOf(\"flatpickr-disabled\") === -1 &&\n                self.daysContainer.contains(elem));\n        return false;\n    }\n    function onBlur(e) {\n        var isInput = e.target === self._input;\n        var valueChanged = self._input.value.trimEnd() !== getDateStr();\n        if (isInput &&\n            valueChanged &&\n            !(e.relatedTarget && isCalendarElem(e.relatedTarget))) {\n            self.setDate(self._input.value, true, e.target === self.altInput\n                ? self.config.altFormat\n                : self.config.dateFormat);\n        }\n    }\n    function onKeyDown(e) {\n        var eventTarget = getEventTarget(e);\n        var isInput = self.config.wrap\n            ? element.contains(eventTarget)\n            : eventTarget === self._input;\n        var allowInput = self.config.allowInput;\n        var allowKeydown = self.isOpen && (!allowInput || !isInput);\n        var allowInlineKeydown = self.config.inline && isInput && !allowInput;\n        if (e.keyCode === 13 && isInput) {\n            if (allowInput) {\n                self.setDate(self._input.value, true, eventTarget === self.altInput\n                    ? self.config.altFormat\n                    : self.config.dateFormat);\n                self.close();\n                return eventTarget.blur();\n            }\n            else {\n                self.open();\n            }\n        }\n        else if (isCalendarElem(eventTarget) ||\n            allowKeydown ||\n            allowInlineKeydown) {\n            var isTimeObj = !!self.timeContainer &&\n                self.timeContainer.contains(eventTarget);\n            switch (e.keyCode) {\n                case 13:\n                    if (isTimeObj) {\n                        e.preventDefault();\n                        updateTime();\n                        focusAndClose();\n                    }\n                    else\n                        selectDate(e);\n                    break;\n                case 27:\n                    e.preventDefault();\n                    focusAndClose();\n                    break;\n                case 8:\n                case 46:\n                    if (isInput && !self.config.allowInput) {\n                        e.preventDefault();\n                        self.clear();\n                    }\n                    break;\n                case 37:\n                case 39:\n                    if (!isTimeObj && !isInput) {\n                        e.preventDefault();\n                        var activeElement = getClosestActiveElement();\n                        if (self.daysContainer !== undefined &&\n                            (allowInput === false ||\n                                (activeElement && isInView(activeElement)))) {\n                            var delta_1 = e.keyCode === 39 ? 1 : -1;\n                            if (!e.ctrlKey)\n                                focusOnDay(undefined, delta_1);\n                            else {\n                                e.stopPropagation();\n                                changeMonth(delta_1);\n                                focusOnDay(getFirstAvailableDay(1), 0);\n                            }\n                        }\n                    }\n                    else if (self.hourElement)\n                        self.hourElement.focus();\n                    break;\n                case 38:\n                case 40:\n                    e.preventDefault();\n                    var delta = e.keyCode === 40 ? 1 : -1;\n                    if ((self.daysContainer &&\n                        eventTarget.$i !== undefined) ||\n                        eventTarget === self.input ||\n                        eventTarget === self.altInput) {\n                        if (e.ctrlKey) {\n                            e.stopPropagation();\n                            changeYear(self.currentYear - delta);\n                            focusOnDay(getFirstAvailableDay(1), 0);\n                        }\n                        else if (!isTimeObj)\n                            focusOnDay(undefined, delta * 7);\n                    }\n                    else if (eventTarget === self.currentYearElement) {\n                        changeYear(self.currentYear - delta);\n                    }\n                    else if (self.config.enableTime) {\n                        if (!isTimeObj && self.hourElement)\n                            self.hourElement.focus();\n                        updateTime(e);\n                        self._debouncedChange();\n                    }\n                    break;\n                case 9:\n                    if (isTimeObj) {\n                        var elems = [\n                            self.hourElement,\n                            self.minuteElement,\n                            self.secondElement,\n                            self.amPM,\n                        ]\n                            .concat(self.pluginElements)\n                            .filter(function (x) { return x; });\n                        var i = elems.indexOf(eventTarget);\n                        if (i !== -1) {\n                            var target = elems[i + (e.shiftKey ? -1 : 1)];\n                            e.preventDefault();\n                            (target || self._input).focus();\n                        }\n                    }\n                    else if (!self.config.noCalendar &&\n                        self.daysContainer &&\n                        self.daysContainer.contains(eventTarget) &&\n                        e.shiftKey) {\n                        e.preventDefault();\n                        self._input.focus();\n                    }\n                    break;\n                default:\n                    break;\n            }\n        }\n        if (self.amPM !== undefined && eventTarget === self.amPM) {\n            switch (e.key) {\n                case self.l10n.amPM[0].charAt(0):\n                case self.l10n.amPM[0].charAt(0).toLowerCase():\n                    self.amPM.textContent = self.l10n.amPM[0];\n                    setHoursFromInputs();\n                    updateValue();\n                    break;\n                case self.l10n.amPM[1].charAt(0):\n                case self.l10n.amPM[1].charAt(0).toLowerCase():\n                    self.amPM.textContent = self.l10n.amPM[1];\n                    setHoursFromInputs();\n                    updateValue();\n                    break;\n            }\n        }\n        if (isInput || isCalendarElem(eventTarget)) {\n            triggerEvent(\"onKeyDown\", e);\n        }\n    }\n    function onMouseOver(elem, cellClass) {\n        if (cellClass === void 0) { cellClass = \"flatpickr-day\"; }\n        if (self.selectedDates.length !== 1 ||\n            (elem &&\n                (!elem.classList.contains(cellClass) ||\n                    elem.classList.contains(\"flatpickr-disabled\"))))\n            return;\n        var hoverDate = elem\n            ? elem.dateObj.getTime()\n            : self.days.firstElementChild.dateObj.getTime(), initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(), rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()), rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime());\n        var containsDisabled = false;\n        var minRange = 0, maxRange = 0;\n        for (var t = rangeStartDate; t < rangeEndDate; t += duration.DAY) {\n            if (!isEnabled(new Date(t), true)) {\n                containsDisabled =\n                    containsDisabled || (t > rangeStartDate && t < rangeEndDate);\n                if (t < initialDate && (!minRange || t > minRange))\n                    minRange = t;\n                else if (t > initialDate && (!maxRange || t < maxRange))\n                    maxRange = t;\n            }\n        }\n        var hoverableCells = Array.from(self.rContainer.querySelectorAll(\"*:nth-child(-n+\" + self.config.showMonths + \") > .\" + cellClass));\n        hoverableCells.forEach(function (dayElem) {\n            var date = dayElem.dateObj;\n            var timestamp = date.getTime();\n            var outOfRange = (minRange > 0 && timestamp < minRange) ||\n                (maxRange > 0 && timestamp > maxRange);\n            if (outOfRange) {\n                dayElem.classList.add(\"notAllowed\");\n                [\"inRange\", \"startRange\", \"endRange\"].forEach(function (c) {\n                    dayElem.classList.remove(c);\n                });\n                return;\n            }\n            else if (containsDisabled && !outOfRange)\n                return;\n            [\"startRange\", \"inRange\", \"endRange\", \"notAllowed\"].forEach(function (c) {\n                dayElem.classList.remove(c);\n            });\n            if (elem !== undefined) {\n                elem.classList.add(hoverDate <= self.selectedDates[0].getTime()\n                    ? \"startRange\"\n                    : \"endRange\");\n                if (initialDate < hoverDate && timestamp === initialDate)\n                    dayElem.classList.add(\"startRange\");\n                else if (initialDate > hoverDate && timestamp === initialDate)\n                    dayElem.classList.add(\"endRange\");\n                if (timestamp >= minRange &&\n                    (maxRange === 0 || timestamp <= maxRange) &&\n                    isBetween(timestamp, initialDate, hoverDate))\n                    dayElem.classList.add(\"inRange\");\n            }\n        });\n    }\n    function onResize() {\n        if (self.isOpen && !self.config.static && !self.config.inline)\n            positionCalendar();\n    }\n    function open(e, positionElement) {\n        if (positionElement === void 0) { positionElement = self._positionElement; }\n        if (self.isMobile === true) {\n            if (e) {\n                e.preventDefault();\n                var eventTarget = getEventTarget(e);\n                if (eventTarget) {\n                    eventTarget.blur();\n                }\n            }\n            if (self.mobileInput !== undefined) {\n                self.mobileInput.focus();\n                self.mobileInput.click();\n            }\n            triggerEvent(\"onOpen\");\n            return;\n        }\n        else if (self._input.disabled || self.config.inline) {\n            return;\n        }\n        var wasOpen = self.isOpen;\n        self.isOpen = true;\n        if (!wasOpen) {\n            self.calendarContainer.classList.add(\"open\");\n            self._input.classList.add(\"active\");\n            triggerEvent(\"onOpen\");\n            positionCalendar(positionElement);\n        }\n        if (self.config.enableTime === true && self.config.noCalendar === true) {\n            if (self.config.allowInput === false &&\n                (e === undefined ||\n                    !self.timeContainer.contains(e.relatedTarget))) {\n                setTimeout(function () { return self.hourElement.select(); }, 50);\n            }\n        }\n    }\n    function minMaxDateSetter(type) {\n        return function (date) {\n            var dateObj = (self.config[\"_\" + type + \"Date\"] = self.parseDate(date, self.config.dateFormat));\n            var inverseDateObj = self.config[\"_\" + (type === \"min\" ? \"max\" : \"min\") + \"Date\"];\n            if (dateObj !== undefined) {\n                self[type === \"min\" ? \"minDateHasTime\" : \"maxDateHasTime\"] =\n                    dateObj.getHours() > 0 ||\n                        dateObj.getMinutes() > 0 ||\n                        dateObj.getSeconds() > 0;\n            }\n            if (self.selectedDates) {\n                self.selectedDates = self.selectedDates.filter(function (d) { return isEnabled(d); });\n                if (!self.selectedDates.length && type === \"min\")\n                    setHoursFromDate(dateObj);\n                updateValue();\n            }\n            if (self.daysContainer) {\n                redraw();\n                if (dateObj !== undefined)\n                    self.currentYearElement[type] = dateObj.getFullYear().toString();\n                else\n                    self.currentYearElement.removeAttribute(type);\n                self.currentYearElement.disabled =\n                    !!inverseDateObj &&\n                        dateObj !== undefined &&\n                        inverseDateObj.getFullYear() === dateObj.getFullYear();\n            }\n        };\n    }\n    function parseConfig() {\n        var boolOpts = [\n            \"wrap\",\n            \"weekNumbers\",\n            \"allowInput\",\n            \"allowInvalidPreload\",\n            \"clickOpens\",\n            \"time_24hr\",\n            \"enableTime\",\n            \"noCalendar\",\n            \"altInput\",\n            \"shorthandCurrentMonth\",\n            \"inline\",\n            \"static\",\n            \"enableSeconds\",\n            \"disableMobile\",\n        ];\n        var userConfig = __assign(__assign({}, JSON.parse(JSON.stringify(element.dataset || {}))), instanceConfig);\n        var formats = {};\n        self.config.parseDate = userConfig.parseDate;\n        self.config.formatDate = userConfig.formatDate;\n        Object.defineProperty(self.config, \"enable\", {\n            get: function () { return self.config._enable; },\n            set: function (dates) {\n                self.config._enable = parseDateRules(dates);\n            },\n        });\n        Object.defineProperty(self.config, \"disable\", {\n            get: function () { return self.config._disable; },\n            set: function (dates) {\n                self.config._disable = parseDateRules(dates);\n            },\n        });\n        var timeMode = userConfig.mode === \"time\";\n        if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) {\n            var defaultDateFormat = flatpickr.defaultConfig.dateFormat || defaultOptions.dateFormat;\n            formats.dateFormat =\n                userConfig.noCalendar || timeMode\n                    ? \"H:i\" + (userConfig.enableSeconds ? \":S\" : \"\")\n                    : defaultDateFormat + \" H:i\" + (userConfig.enableSeconds ? \":S\" : \"\");\n        }\n        if (userConfig.altInput &&\n            (userConfig.enableTime || timeMode) &&\n            !userConfig.altFormat) {\n            var defaultAltFormat = flatpickr.defaultConfig.altFormat || defaultOptions.altFormat;\n            formats.altFormat =\n                userConfig.noCalendar || timeMode\n                    ? \"h:i\" + (userConfig.enableSeconds ? \":S K\" : \" K\")\n                    : defaultAltFormat + (\" h:i\" + (userConfig.enableSeconds ? \":S\" : \"\") + \" K\");\n        }\n        Object.defineProperty(self.config, \"minDate\", {\n            get: function () { return self.config._minDate; },\n            set: minMaxDateSetter(\"min\"),\n        });\n        Object.defineProperty(self.config, \"maxDate\", {\n            get: function () { return self.config._maxDate; },\n            set: minMaxDateSetter(\"max\"),\n        });\n        var minMaxTimeSetter = function (type) { return function (val) {\n            self.config[type === \"min\" ? \"_minTime\" : \"_maxTime\"] = self.parseDate(val, \"H:i:S\");\n        }; };\n        Object.defineProperty(self.config, \"minTime\", {\n            get: function () { return self.config._minTime; },\n            set: minMaxTimeSetter(\"min\"),\n        });\n        Object.defineProperty(self.config, \"maxTime\", {\n            get: function () { return self.config._maxTime; },\n            set: minMaxTimeSetter(\"max\"),\n        });\n        if (userConfig.mode === \"time\") {\n            self.config.noCalendar = true;\n            self.config.enableTime = true;\n        }\n        Object.assign(self.config, formats, userConfig);\n        for (var i = 0; i < boolOpts.length; i++)\n            self.config[boolOpts[i]] =\n                self.config[boolOpts[i]] === true ||\n                    self.config[boolOpts[i]] === \"true\";\n        HOOKS.filter(function (hook) { return self.config[hook] !== undefined; }).forEach(function (hook) {\n            self.config[hook] = arrayify(self.config[hook] || []).map(bindToInstance);\n        });\n        self.isMobile =\n            !self.config.disableMobile &&\n                !self.config.inline &&\n                self.config.mode === \"single\" &&\n                !self.config.disable.length &&\n                !self.config.enable &&\n                !self.config.weekNumbers &&\n                /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n        for (var i = 0; i < self.config.plugins.length; i++) {\n            var pluginConf = self.config.plugins[i](self) || {};\n            for (var key in pluginConf) {\n                if (HOOKS.indexOf(key) > -1) {\n                    self.config[key] = arrayify(pluginConf[key])\n                        .map(bindToInstance)\n                        .concat(self.config[key]);\n                }\n                else if (typeof userConfig[key] === \"undefined\")\n                    self.config[key] = pluginConf[key];\n            }\n        }\n        if (!userConfig.altInputClass) {\n            self.config.altInputClass =\n                getInputElem().className + \" \" + self.config.altInputClass;\n        }\n        triggerEvent(\"onParseConfig\");\n    }\n    function getInputElem() {\n        return self.config.wrap\n            ? element.querySelector(\"[data-input]\")\n            : element;\n    }\n    function setupLocale() {\n        if (typeof self.config.locale !== \"object\" &&\n            typeof flatpickr.l10ns[self.config.locale] === \"undefined\")\n            self.config.errorHandler(new Error(\"flatpickr: invalid locale \" + self.config.locale));\n        self.l10n = __assign(__assign({}, flatpickr.l10ns.default), (typeof self.config.locale === \"object\"\n            ? self.config.locale\n            : self.config.locale !== \"default\"\n                ? flatpickr.l10ns[self.config.locale]\n                : undefined));\n        tokenRegex.D = \"(\" + self.l10n.weekdays.shorthand.join(\"|\") + \")\";\n        tokenRegex.l = \"(\" + self.l10n.weekdays.longhand.join(\"|\") + \")\";\n        tokenRegex.M = \"(\" + self.l10n.months.shorthand.join(\"|\") + \")\";\n        tokenRegex.F = \"(\" + self.l10n.months.longhand.join(\"|\") + \")\";\n        tokenRegex.K = \"(\" + self.l10n.amPM[0] + \"|\" + self.l10n.amPM[1] + \"|\" + self.l10n.amPM[0].toLowerCase() + \"|\" + self.l10n.amPM[1].toLowerCase() + \")\";\n        var userConfig = __assign(__assign({}, instanceConfig), JSON.parse(JSON.stringify(element.dataset || {})));\n        if (userConfig.time_24hr === undefined &&\n            flatpickr.defaultConfig.time_24hr === undefined) {\n            self.config.time_24hr = self.l10n.time_24hr;\n        }\n        self.formatDate = createDateFormatter(self);\n        self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });\n    }\n    function positionCalendar(customPositionElement) {\n        if (typeof self.config.position === \"function\") {\n            return void self.config.position(self, customPositionElement);\n        }\n        if (self.calendarContainer === undefined)\n            return;\n        triggerEvent(\"onPreCalendarPosition\");\n        var positionElement = customPositionElement || self._positionElement;\n        var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, (function (acc, child) { return acc + child.offsetHeight; }), 0), calendarWidth = self.calendarContainer.offsetWidth, configPos = self.config.position.split(\" \"), configPosVertical = configPos[0], configPosHorizontal = configPos.length > 1 ? configPos[1] : null, inputBounds = positionElement.getBoundingClientRect(), distanceFromBottom = window.innerHeight - inputBounds.bottom, showOnTop = configPosVertical === \"above\" ||\n            (configPosVertical !== \"below\" &&\n                distanceFromBottom < calendarHeight &&\n                inputBounds.top > calendarHeight);\n        var top = window.pageYOffset +\n            inputBounds.top +\n            (!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2);\n        toggleClass(self.calendarContainer, \"arrowTop\", !showOnTop);\n        toggleClass(self.calendarContainer, \"arrowBottom\", showOnTop);\n        if (self.config.inline)\n            return;\n        var left = window.pageXOffset + inputBounds.left;\n        var isCenter = false;\n        var isRight = false;\n        if (configPosHorizontal === \"center\") {\n            left -= (calendarWidth - inputBounds.width) / 2;\n            isCenter = true;\n        }\n        else if (configPosHorizontal === \"right\") {\n            left -= calendarWidth - inputBounds.width;\n            isRight = true;\n        }\n        toggleClass(self.calendarContainer, \"arrowLeft\", !isCenter && !isRight);\n        toggleClass(self.calendarContainer, \"arrowCenter\", isCenter);\n        toggleClass(self.calendarContainer, \"arrowRight\", isRight);\n        var right = window.document.body.offsetWidth -\n            (window.pageXOffset + inputBounds.right);\n        var rightMost = left + calendarWidth > window.document.body.offsetWidth;\n        var centerMost = right + calendarWidth > window.document.body.offsetWidth;\n        toggleClass(self.calendarContainer, \"rightMost\", rightMost);\n        if (self.config.static)\n            return;\n        self.calendarContainer.style.top = top + \"px\";\n        if (!rightMost) {\n            self.calendarContainer.style.left = left + \"px\";\n            self.calendarContainer.style.right = \"auto\";\n        }\n        else if (!centerMost) {\n            self.calendarContainer.style.left = \"auto\";\n            self.calendarContainer.style.right = right + \"px\";\n        }\n        else {\n            var doc = getDocumentStyleSheet();\n            if (doc === undefined)\n                return;\n            var bodyWidth = window.document.body.offsetWidth;\n            var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2);\n            var centerBefore = \".flatpickr-calendar.centerMost:before\";\n            var centerAfter = \".flatpickr-calendar.centerMost:after\";\n            var centerIndex = doc.cssRules.length;\n            var centerStyle = \"{left:\" + inputBounds.left + \"px;right:auto;}\";\n            toggleClass(self.calendarContainer, \"rightMost\", false);\n            toggleClass(self.calendarContainer, \"centerMost\", true);\n            doc.insertRule(centerBefore + \",\" + centerAfter + centerStyle, centerIndex);\n            self.calendarContainer.style.left = centerLeft + \"px\";\n            self.calendarContainer.style.right = \"auto\";\n        }\n    }\n    function getDocumentStyleSheet() {\n        var editableSheet = null;\n        for (var i = 0; i < document.styleSheets.length; i++) {\n            var sheet = document.styleSheets[i];\n            if (!sheet.cssRules)\n                continue;\n            try {\n                sheet.cssRules;\n            }\n            catch (err) {\n                continue;\n            }\n            editableSheet = sheet;\n            break;\n        }\n        return editableSheet != null ? editableSheet : createStyleSheet();\n    }\n    function createStyleSheet() {\n        var style = document.createElement(\"style\");\n        document.head.appendChild(style);\n        return style.sheet;\n    }\n    function redraw() {\n        if (self.config.noCalendar || self.isMobile)\n            return;\n        buildMonthSwitch();\n        updateNavigationCurrentMonth();\n        buildDays();\n    }\n    function focusAndClose() {\n        self._input.focus();\n        if (window.navigator.userAgent.indexOf(\"MSIE\") !== -1 ||\n            navigator.msMaxTouchPoints !== undefined) {\n            setTimeout(self.close, 0);\n        }\n        else {\n            self.close();\n        }\n    }\n    function selectDate(e) {\n        e.preventDefault();\n        e.stopPropagation();\n        var isSelectable = function (day) {\n            return day.classList &&\n                day.classList.contains(\"flatpickr-day\") &&\n                !day.classList.contains(\"flatpickr-disabled\") &&\n                !day.classList.contains(\"notAllowed\");\n        };\n        var t = findParent(getEventTarget(e), isSelectable);\n        if (t === undefined)\n            return;\n        var target = t;\n        var selectedDate = (self.latestSelectedDateObj = new Date(target.dateObj.getTime()));\n        var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth ||\n            selectedDate.getMonth() >\n                self.currentMonth + self.config.showMonths - 1) &&\n            self.config.mode !== \"range\";\n        self.selectedDateElem = target;\n        if (self.config.mode === \"single\")\n            self.selectedDates = [selectedDate];\n        else if (self.config.mode === \"multiple\") {\n            var selectedIndex = isDateSelected(selectedDate);\n            if (selectedIndex)\n                self.selectedDates.splice(parseInt(selectedIndex), 1);\n            else\n                self.selectedDates.push(selectedDate);\n        }\n        else if (self.config.mode === \"range\") {\n            if (self.selectedDates.length === 2) {\n                self.clear(false, false);\n            }\n            self.latestSelectedDateObj = selectedDate;\n            self.selectedDates.push(selectedDate);\n            if (compareDates(selectedDate, self.selectedDates[0], true) !== 0)\n                self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n        }\n        setHoursFromInputs();\n        if (shouldChangeMonth) {\n            var isNewYear = self.currentYear !== selectedDate.getFullYear();\n            self.currentYear = selectedDate.getFullYear();\n            self.currentMonth = selectedDate.getMonth();\n            if (isNewYear) {\n                triggerEvent(\"onYearChange\");\n                buildMonthSwitch();\n            }\n            triggerEvent(\"onMonthChange\");\n        }\n        updateNavigationCurrentMonth();\n        buildDays();\n        updateValue();\n        if (!shouldChangeMonth &&\n            self.config.mode !== \"range\" &&\n            self.config.showMonths === 1)\n            focusOnDayElem(target);\n        else if (self.selectedDateElem !== undefined &&\n            self.hourElement === undefined) {\n            self.selectedDateElem && self.selectedDateElem.focus();\n        }\n        if (self.hourElement !== undefined)\n            self.hourElement !== undefined && self.hourElement.focus();\n        if (self.config.closeOnSelect) {\n            var single = self.config.mode === \"single\" && !self.config.enableTime;\n            var range = self.config.mode === \"range\" &&\n                self.selectedDates.length === 2 &&\n                !self.config.enableTime;\n            if (single || range) {\n                focusAndClose();\n            }\n        }\n        triggerChange();\n    }\n    var CALLBACKS = {\n        locale: [setupLocale, updateWeekdays],\n        showMonths: [buildMonths, setCalendarWidth, buildWeekdays],\n        minDate: [jumpToDate],\n        maxDate: [jumpToDate],\n        positionElement: [updatePositionElement],\n        clickOpens: [\n            function () {\n                if (self.config.clickOpens === true) {\n                    bind(self._input, \"focus\", self.open);\n                    bind(self._input, \"click\", self.open);\n                }\n                else {\n                    self._input.removeEventListener(\"focus\", self.open);\n                    self._input.removeEventListener(\"click\", self.open);\n                }\n            },\n        ],\n    };\n    function set(option, value) {\n        if (option !== null && typeof option === \"object\") {\n            Object.assign(self.config, option);\n            for (var key in option) {\n                if (CALLBACKS[key] !== undefined)\n                    CALLBACKS[key].forEach(function (x) { return x(); });\n            }\n        }\n        else {\n            self.config[option] = value;\n            if (CALLBACKS[option] !== undefined)\n                CALLBACKS[option].forEach(function (x) { return x(); });\n            else if (HOOKS.indexOf(option) > -1)\n                self.config[option] = arrayify(value);\n        }\n        self.redraw();\n        updateValue(true);\n    }\n    function setSelectedDate(inputDate, format) {\n        var dates = [];\n        if (inputDate instanceof Array)\n            dates = inputDate.map(function (d) { return self.parseDate(d, format); });\n        else if (inputDate instanceof Date || typeof inputDate === \"number\")\n            dates = [self.parseDate(inputDate, format)];\n        else if (typeof inputDate === \"string\") {\n            switch (self.config.mode) {\n                case \"single\":\n                case \"time\":\n                    dates = [self.parseDate(inputDate, format)];\n                    break;\n                case \"multiple\":\n                    dates = inputDate\n                        .split(self.config.conjunction)\n                        .map(function (date) { return self.parseDate(date, format); });\n                    break;\n                case \"range\":\n                    dates = inputDate\n                        .split(self.l10n.rangeSeparator)\n                        .map(function (date) { return self.parseDate(date, format); });\n                    break;\n                default:\n                    break;\n            }\n        }\n        else\n            self.config.errorHandler(new Error(\"Invalid date supplied: \" + JSON.stringify(inputDate)));\n        self.selectedDates = (self.config.allowInvalidPreload\n            ? dates\n            : dates.filter(function (d) { return d instanceof Date && isEnabled(d, false); }));\n        if (self.config.mode === \"range\")\n            self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });\n    }\n    function setDate(date, triggerChange, format) {\n        if (triggerChange === void 0) { triggerChange = false; }\n        if (format === void 0) { format = self.config.dateFormat; }\n        if ((date !== 0 && !date) || (date instanceof Array && date.length === 0))\n            return self.clear(triggerChange);\n        setSelectedDate(date, format);\n        self.latestSelectedDateObj =\n            self.selectedDates[self.selectedDates.length - 1];\n        self.redraw();\n        jumpToDate(undefined, triggerChange);\n        setHoursFromDate();\n        if (self.selectedDates.length === 0) {\n            self.clear(false);\n        }\n        updateValue(triggerChange);\n        if (triggerChange)\n            triggerEvent(\"onChange\");\n    }\n    function parseDateRules(arr) {\n        return arr\n            .slice()\n            .map(function (rule) {\n            if (typeof rule === \"string\" ||\n                typeof rule === \"number\" ||\n                rule instanceof Date) {\n                return self.parseDate(rule, undefined, true);\n            }\n            else if (rule &&\n                typeof rule === \"object\" &&\n                rule.from &&\n                rule.to)\n                return {\n                    from: self.parseDate(rule.from, undefined),\n                    to: self.parseDate(rule.to, undefined),\n                };\n            return rule;\n        })\n            .filter(function (x) { return x; });\n    }\n    function setupDates() {\n        self.selectedDates = [];\n        self.now = self.parseDate(self.config.now) || new Date();\n        var preloadedDate = self.config.defaultDate ||\n            ((self.input.nodeName === \"INPUT\" ||\n                self.input.nodeName === \"TEXTAREA\") &&\n                self.input.placeholder &&\n                self.input.value === self.input.placeholder\n                ? null\n                : self.input.value);\n        if (preloadedDate)\n            setSelectedDate(preloadedDate, self.config.dateFormat);\n        self._initialDate =\n            self.selectedDates.length > 0\n                ? self.selectedDates[0]\n                : self.config.minDate &&\n                    self.config.minDate.getTime() > self.now.getTime()\n                    ? self.config.minDate\n                    : self.config.maxDate &&\n                        self.config.maxDate.getTime() < self.now.getTime()\n                        ? self.config.maxDate\n                        : self.now;\n        self.currentYear = self._initialDate.getFullYear();\n        self.currentMonth = self._initialDate.getMonth();\n        if (self.selectedDates.length > 0)\n            self.latestSelectedDateObj = self.selectedDates[0];\n        if (self.config.minTime !== undefined)\n            self.config.minTime = self.parseDate(self.config.minTime, \"H:i\");\n        if (self.config.maxTime !== undefined)\n            self.config.maxTime = self.parseDate(self.config.maxTime, \"H:i\");\n        self.minDateHasTime =\n            !!self.config.minDate &&\n                (self.config.minDate.getHours() > 0 ||\n                    self.config.minDate.getMinutes() > 0 ||\n                    self.config.minDate.getSeconds() > 0);\n        self.maxDateHasTime =\n            !!self.config.maxDate &&\n                (self.config.maxDate.getHours() > 0 ||\n                    self.config.maxDate.getMinutes() > 0 ||\n                    self.config.maxDate.getSeconds() > 0);\n    }\n    function setupInputs() {\n        self.input = getInputElem();\n        if (!self.input) {\n            self.config.errorHandler(new Error(\"Invalid input element specified\"));\n            return;\n        }\n        self.input._type = self.input.type;\n        self.input.type = \"text\";\n        self.input.classList.add(\"flatpickr-input\");\n        self._input = self.input;\n        if (self.config.altInput) {\n            self.altInput = createElement(self.input.nodeName, self.config.altInputClass);\n            self._input = self.altInput;\n            self.altInput.placeholder = self.input.placeholder;\n            self.altInput.disabled = self.input.disabled;\n            self.altInput.required = self.input.required;\n            self.altInput.tabIndex = self.input.tabIndex;\n            self.altInput.type = \"text\";\n            self.input.setAttribute(\"type\", \"hidden\");\n            if (!self.config.static && self.input.parentNode)\n                self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling);\n        }\n        if (!self.config.allowInput)\n            self._input.setAttribute(\"readonly\", \"readonly\");\n        updatePositionElement();\n    }\n    function updatePositionElement() {\n        self._positionElement = self.config.positionElement || self._input;\n    }\n    function setupMobile() {\n        var inputType = self.config.enableTime\n            ? self.config.noCalendar\n                ? \"time\"\n                : \"datetime-local\"\n            : \"date\";\n        self.mobileInput = createElement(\"input\", self.input.className + \" flatpickr-mobile\");\n        self.mobileInput.tabIndex = 1;\n        self.mobileInput.type = inputType;\n        self.mobileInput.disabled = self.input.disabled;\n        self.mobileInput.required = self.input.required;\n        self.mobileInput.placeholder = self.input.placeholder;\n        self.mobileFormatStr =\n            inputType === \"datetime-local\"\n                ? \"Y-m-d\\\\TH:i:S\"\n                : inputType === \"date\"\n                    ? \"Y-m-d\"\n                    : \"H:i:S\";\n        if (self.selectedDates.length > 0) {\n            self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr);\n        }\n        if (self.config.minDate)\n            self.mobileInput.min = self.formatDate(self.config.minDate, \"Y-m-d\");\n        if (self.config.maxDate)\n            self.mobileInput.max = self.formatDate(self.config.maxDate, \"Y-m-d\");\n        if (self.input.getAttribute(\"step\"))\n            self.mobileInput.step = String(self.input.getAttribute(\"step\"));\n        self.input.type = \"hidden\";\n        if (self.altInput !== undefined)\n            self.altInput.type = \"hidden\";\n        try {\n            if (self.input.parentNode)\n                self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling);\n        }\n        catch (_a) { }\n        bind(self.mobileInput, \"change\", function (e) {\n            self.setDate(getEventTarget(e).value, false, self.mobileFormatStr);\n            triggerEvent(\"onChange\");\n            triggerEvent(\"onClose\");\n        });\n    }\n    function toggle(e) {\n        if (self.isOpen === true)\n            return self.close();\n        self.open(e);\n    }\n    function triggerEvent(event, data) {\n        if (self.config === undefined)\n            return;\n        var hooks = self.config[event];\n        if (hooks !== undefined && hooks.length > 0) {\n            for (var i = 0; hooks[i] && i < hooks.length; i++)\n                hooks[i](self.selectedDates, self.input.value, self, data);\n        }\n        if (event === \"onChange\") {\n            self.input.dispatchEvent(createEvent(\"change\"));\n            self.input.dispatchEvent(createEvent(\"input\"));\n        }\n    }\n    function createEvent(name) {\n        var e = document.createEvent(\"Event\");\n        e.initEvent(name, true, true);\n        return e;\n    }\n    function isDateSelected(date) {\n        for (var i = 0; i < self.selectedDates.length; i++) {\n            var selectedDate = self.selectedDates[i];\n            if (selectedDate instanceof Date &&\n                compareDates(selectedDate, date) === 0)\n                return \"\" + i;\n        }\n        return false;\n    }\n    function isDateInRange(date) {\n        if (self.config.mode !== \"range\" || self.selectedDates.length < 2)\n            return false;\n        return (compareDates(date, self.selectedDates[0]) >= 0 &&\n            compareDates(date, self.selectedDates[1]) <= 0);\n    }\n    function updateNavigationCurrentMonth() {\n        if (self.config.noCalendar || self.isMobile || !self.monthNav)\n            return;\n        self.yearElements.forEach(function (yearElement, i) {\n            var d = new Date(self.currentYear, self.currentMonth, 1);\n            d.setMonth(self.currentMonth + i);\n            if (self.config.showMonths > 1 ||\n                self.config.monthSelectorType === \"static\") {\n                self.monthElements[i].textContent =\n                    monthToStr(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + \" \";\n            }\n            else {\n                self.monthsDropdownContainer.value = d.getMonth().toString();\n            }\n            yearElement.value = d.getFullYear().toString();\n        });\n        self._hidePrevMonthArrow =\n            self.config.minDate !== undefined &&\n                (self.currentYear === self.config.minDate.getFullYear()\n                    ? self.currentMonth <= self.config.minDate.getMonth()\n                    : self.currentYear < self.config.minDate.getFullYear());\n        self._hideNextMonthArrow =\n            self.config.maxDate !== undefined &&\n                (self.currentYear === self.config.maxDate.getFullYear()\n                    ? self.currentMonth + 1 > self.config.maxDate.getMonth()\n                    : self.currentYear > self.config.maxDate.getFullYear());\n    }\n    function getDateStr(specificFormat) {\n        var format = specificFormat ||\n            (self.config.altInput ? self.config.altFormat : self.config.dateFormat);\n        return self.selectedDates\n            .map(function (dObj) { return self.formatDate(dObj, format); })\n            .filter(function (d, i, arr) {\n            return self.config.mode !== \"range\" ||\n                self.config.enableTime ||\n                arr.indexOf(d) === i;\n        })\n            .join(self.config.mode !== \"range\"\n            ? self.config.conjunction\n            : self.l10n.rangeSeparator);\n    }\n    function updateValue(triggerChange) {\n        if (triggerChange === void 0) { triggerChange = true; }\n        if (self.mobileInput !== undefined && self.mobileFormatStr) {\n            self.mobileInput.value =\n                self.latestSelectedDateObj !== undefined\n                    ? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr)\n                    : \"\";\n        }\n        self.input.value = getDateStr(self.config.dateFormat);\n        if (self.altInput !== undefined) {\n            self.altInput.value = getDateStr(self.config.altFormat);\n        }\n        if (triggerChange !== false)\n            triggerEvent(\"onValueUpdate\");\n    }\n    function onMonthNavClick(e) {\n        var eventTarget = getEventTarget(e);\n        var isPrevMonth = self.prevMonthNav.contains(eventTarget);\n        var isNextMonth = self.nextMonthNav.contains(eventTarget);\n        if (isPrevMonth || isNextMonth) {\n            changeMonth(isPrevMonth ? -1 : 1);\n        }\n        else if (self.yearElements.indexOf(eventTarget) >= 0) {\n            eventTarget.select();\n        }\n        else if (eventTarget.classList.contains(\"arrowUp\")) {\n            self.changeYear(self.currentYear + 1);\n        }\n        else if (eventTarget.classList.contains(\"arrowDown\")) {\n            self.changeYear(self.currentYear - 1);\n        }\n    }\n    function timeWrapper(e) {\n        e.preventDefault();\n        var isKeyDown = e.type === \"keydown\", eventTarget = getEventTarget(e), input = eventTarget;\n        if (self.amPM !== undefined && eventTarget === self.amPM) {\n            self.amPM.textContent =\n                self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];\n        }\n        var min = parseFloat(input.getAttribute(\"min\")), max = parseFloat(input.getAttribute(\"max\")), step = parseFloat(input.getAttribute(\"step\")), curValue = parseInt(input.value, 10), delta = e.delta ||\n            (isKeyDown ? (e.which === 38 ? 1 : -1) : 0);\n        var newValue = curValue + step * delta;\n        if (typeof input.value !== \"undefined\" && input.value.length === 2) {\n            var isHourElem = input === self.hourElement, isMinuteElem = input === self.minuteElement;\n            if (newValue < min) {\n                newValue =\n                    max +\n                        newValue +\n                        int(!isHourElem) +\n                        (int(isHourElem) && int(!self.amPM));\n                if (isMinuteElem)\n                    incrementNumInput(undefined, -1, self.hourElement);\n            }\n            else if (newValue > max) {\n                newValue =\n                    input === self.hourElement ? newValue - max - int(!self.amPM) : min;\n                if (isMinuteElem)\n                    incrementNumInput(undefined, 1, self.hourElement);\n            }\n            if (self.amPM &&\n                isHourElem &&\n                (step === 1\n                    ? newValue + curValue === 23\n                    : Math.abs(newValue - curValue) > step)) {\n                self.amPM.textContent =\n                    self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];\n            }\n            input.value = pad(newValue);\n        }\n    }\n    init();\n    return self;\n}\nfunction _flatpickr(nodeList, config) {\n    var nodes = Array.prototype.slice\n        .call(nodeList)\n        .filter(function (x) { return x instanceof HTMLElement; });\n    var instances = [];\n    for (var i = 0; i < nodes.length; i++) {\n        var node = nodes[i];\n        try {\n            if (node.getAttribute(\"data-fp-omit\") !== null)\n                continue;\n            if (node._flatpickr !== undefined) {\n                node._flatpickr.destroy();\n                node._flatpickr = undefined;\n            }\n            node._flatpickr = FlatpickrInstance(node, config || {});\n            instances.push(node._flatpickr);\n        }\n        catch (e) {\n            console.error(e);\n        }\n    }\n    return instances.length === 1 ? instances[0] : instances;\n}\nif (typeof HTMLElement !== \"undefined\" &&\n    typeof HTMLCollection !== \"undefined\" &&\n    typeof NodeList !== \"undefined\") {\n    HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) {\n        return _flatpickr(this, config);\n    };\n    HTMLElement.prototype.flatpickr = function (config) {\n        return _flatpickr([this], config);\n    };\n}\nvar flatpickr = function (selector, config) {\n    if (typeof selector === \"string\") {\n        return _flatpickr(window.document.querySelectorAll(selector), config);\n    }\n    else if (selector instanceof Node) {\n        return _flatpickr([selector], config);\n    }\n    else {\n        return _flatpickr(selector, config);\n    }\n};\nflatpickr.defaultConfig = {};\nflatpickr.l10ns = {\n    en: __assign({}, English),\n    default: __assign({}, English),\n};\nflatpickr.localize = function (l10n) {\n    flatpickr.l10ns.default = __assign(__assign({}, flatpickr.l10ns.default), l10n);\n};\nflatpickr.setDefaults = function (config) {\n    flatpickr.defaultConfig = __assign(__assign({}, flatpickr.defaultConfig), config);\n};\nflatpickr.parseDate = createDateParser({});\nflatpickr.formatDate = createDateFormatter({});\nflatpickr.compareDates = compareDates;\nif (typeof jQuery !== \"undefined\" && typeof jQuery.fn !== \"undefined\") {\n    jQuery.fn.flatpickr = function (config) {\n        return _flatpickr(this, config);\n    };\n}\nDate.prototype.fp_incr = function (days) {\n    return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === \"string\" ? parseInt(days, 10) : days));\n};\nif (typeof window !== \"undefined\") {\n    window.flatpickr = flatpickr;\n}\nexport default flatpickr;\n","// Usage: https://flatpickr.js.org/\r\nimport flatpickr from \"flatpickr\";\r\n\r\nwindow.flatpickr = flatpickr;","define(\"@embroider/macros/es-compat2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = esCompat;\n  function esCompat(m) {\n    return m?.__esModule ? m : {\n      default: m,\n      ...m\n    };\n  }\n});","define(\"@embroider/macros/runtime\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.config = config;\n  _exports.each = each;\n  _exports.getGlobalConfig = getGlobalConfig;\n  _exports.isTesting = isTesting;\n  _exports.macroCondition = macroCondition;\n  /*\n    These are the runtime implementations for the javascript macros that have\n    runtime implementations.\n  \n    Not every macro has a runtime implementation, some only make sense in the\n    build and always run there.\n  \n    Even when we have runtime implementations, we are still careful to emit static\n    errors during the build wherever possible, and runtime errors when necessary,\n    so that you're not surprised when you switch from runtime-mode to compile-time\n    mode.\n  */\n\n  /*\n    CAUTION: in classic builds, this file gets shared by all present copies of\n    @embroider/macros. If you want to change its public API, you need to rename it\n    and update `pathToRuntime` in ../babel/state.ts to point at it, so that your\n    babel plugin and runtime will match.\n  */\n\n  function each(array) {\n    if (!Array.isArray(array)) {\n      throw new Error(`the argument to the each() macro must be an array`);\n    }\n    return array;\n  }\n  function macroCondition(predicate) {\n    return predicate;\n  }\n\n  // This is here as a compile target for `getConfig` and `getOwnConfig` when\n  // we're in runtime mode. This is not public API to call from your own code.\n  function config(packageRoot) {\n    return runtimeConfig.packages[packageRoot];\n  }\n  function getGlobalConfig() {\n    return runtimeConfig.global;\n  }\n  function isTesting() {\n    let g = runtimeConfig.global;\n    let e = g && g['@embroider/macros'];\n    return Boolean(e && e.isTesting);\n  }\n  const runtimeConfig = initializeRuntimeMacrosConfig();\n\n  // this exists to be targeted by our babel plugin\n  function initializeRuntimeMacrosConfig() {\n    return {\n      \"packages\": {},\n      \"global\": {\n        \"@embroider/macros\": {\n          \"isTesting\": false\n        },\n        \"WarpDrive\": {\n          \"debug\": {\n            \"DEBUG_RELATIONSHIP_NOTIFICATIONS\": false,\n            \"LOG_CACHE\": false,\n            \"LOG_GRAPH\": false,\n            \"LOG_IDENTIFIERS\": false,\n            \"LOG_INSTANCE_CACHE\": false,\n            \"LOG_METRIC_COUNTS\": false,\n            \"LOG_NOTIFICATIONS\": false,\n            \"LOG_REQUESTS\": false,\n            \"LOG_REQUEST_STATUS\": false,\n            \"__INTERNAL_LOG_NATIVE_MAP_SET_COUNTS\": false\n          },\n          \"polyfillUUID\": false,\n          \"includeDataAdapter\": true,\n          \"compatWith\": null,\n          \"deprecations\": {\n            \"DEPRECATE_CATCH_ALL\": true,\n            \"DEPRECATE_COMPUTED_CHAINS\": true,\n            \"DEPRECATE_EMBER_INFLECTOR\": true,\n            \"DEPRECATE_LEGACY_IMPORTS\": true,\n            \"DEPRECATE_MANY_ARRAY_DUPLICATES\": true,\n            \"DEPRECATE_NON_STRICT_ID\": true,\n            \"DEPRECATE_NON_STRICT_TYPES\": true,\n            \"DEPRECATE_NON_UNIQUE_PAYLOADS\": true,\n            \"DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE\": true,\n            \"DEPRECATE_STORE_EXTENDS_EMBER_OBJECT\": false,\n            \"DISABLE_7X_DEPRECATIONS\": true,\n            \"ENABLE_LEGACY_SCHEMA_SERVICE\": true\n          },\n          \"features\": {\n            \"JSON_API_CACHE_VALIDATION_ERRORS\": false,\n            \"SAMPLE_FEATURE_FLAG\": false\n          },\n          \"activeLogging\": {\n            \"DEBUG_RELATIONSHIP_NOTIFICATIONS\": true,\n            \"LOG_CACHE\": true,\n            \"LOG_GRAPH\": true,\n            \"LOG_IDENTIFIERS\": true,\n            \"LOG_INSTANCE_CACHE\": true,\n            \"LOG_METRIC_COUNTS\": true,\n            \"LOG_NOTIFICATIONS\": true,\n            \"LOG_REQUESTS\": true,\n            \"LOG_REQUEST_STATUS\": true,\n            \"__INTERNAL_LOG_NATIVE_MAP_SET_COUNTS\": true\n          },\n          \"env\": {\n            \"TESTING\": true,\n            \"PRODUCTION\": false,\n            \"DEBUG\": true,\n            \"IS_RECORDING\": false,\n            \"IS_CI\": false,\n            \"SHOULD_RECORD\": true\n          }\n        }\n      }\n    };\n  }\n  function updaterMethods() {\n    return {\n      config,\n      getGlobalConfig,\n      setConfig(packageRoot, value) {\n        runtimeConfig.packages[packageRoot] = value;\n      },\n      setGlobalConfig(key, value) {\n        runtimeConfig.global[key] = value;\n      }\n    };\n  }\n\n  // this is how runtime config can get injected at boot. I'm not sure yet if this\n  // should be public API, but we certainly need it internally to set things like\n  // the global fastboot.isRunning.\n  //\n  // consumers of this API push a function onto\n  // window._embroider_macros_runtime_config. The function is given four methods\n  // which allow it to read and write the per-package and global configs. The\n  // reason for allowing both read & write is that merging strategies are up to\n  // each consumers -- read first, then merge, then write.\n  //\n  // For an example user of this API, see where we generate\n  // embroider_macros_fastboot_init.js' in @embroider/core.\n  let updaters = typeof window !== 'undefined' ? window._embroider_macros_runtime_config : undefined;\n  if (updaters) {\n    let methods = updaterMethods();\n    for (let updater of updaters) {\n      updater(methods);\n    }\n  }\n});","define(\"ember-cli-app-version/initializer-factory\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initializerFactory;\n  function initializerFactory(name, version) {\n    let registered = false;\n    return function () {\n      if (!registered && name && version) {\n        _metal.libraries.register(name, version);\n        registered = true;\n      }\n    };\n  }\n});","define(\"ember-cli-app-version/utils/regexp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.versionRegExp = _exports.versionExtendedRegExp = _exports.shaRegExp = void 0;\n  const versionRegExp = _exports.versionRegExp = /\\d+[.]\\d+[.]\\d+/; // Match any number of 3 sections of digits separated by .\n  const versionExtendedRegExp = _exports.versionExtendedRegExp = /\\d+[.]\\d+[.]\\d+-[a-z]*([.]\\d+)?/; // Match the above but also hyphen followed by any number of lowercase letters, then optionally period and digits\n  const shaRegExp = _exports.shaRegExp = /[a-z\\d]{8}$/; // Match 8 lowercase letters and digits, at the end of the string only (to avoid matching with version extended part)\n});","define(\"ember-cli-deprecation-workflow/index\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupDeprecationWorkflow;\n  _exports.deprecationCollector = deprecationCollector;\n  _exports.detectWorkflow = detectWorkflow;\n  _exports.flushDeprecations = flushDeprecations;\n  _exports.handleDeprecationWorkflow = handleDeprecationWorkflow;\n  const LOG_LIMIT = 100;\n  function setupDeprecationWorkflow(config) {\n    self.deprecationWorkflow = self.deprecationWorkflow || {};\n    self.deprecationWorkflow.deprecationLog = {\n      messages: new Set()\n    };\n    (0, _debug.registerDeprecationHandler)((message, options, next) => handleDeprecationWorkflow(config, message, options, next));\n    (0, _debug.registerDeprecationHandler)(deprecationCollector);\n    self.deprecationWorkflow.flushDeprecations = options => flushDeprecations({\n      config,\n      ...options\n    });\n  }\n  function matchesWorkflow(matcher, value) {\n    return typeof matcher === 'string' && matcher === value || matcher instanceof RegExp && matcher.exec(value);\n  }\n  function detectWorkflow(config, message, options) {\n    if (!config || !config.workflow) {\n      return;\n    }\n    let i, workflow, matcher, idMatcher;\n    for (i = 0; i < config.workflow.length; i++) {\n      workflow = config.workflow[i];\n      matcher = workflow.matchMessage;\n      idMatcher = workflow.matchId;\n      if (matchesWorkflow(idMatcher, options?.id) || matchesWorkflow(matcher, message)) {\n        return workflow;\n      }\n    }\n  }\n  function flushDeprecations({\n    handler = 'silence',\n    config = {}\n  } = {}) {\n    let messages = self.deprecationWorkflow.deprecationLog.messages;\n    let existing = config.workflow ?? [];\n    let collected = messages.values().filter(matchId => !existing.some(entry => entry.matchId === matchId)).map(matchId => ({\n      handler,\n      matchId\n    }));\n    let mergedConfig = {\n      ...config,\n      workflow: [...existing, ...collected]\n    };\n    return `import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';\n\nsetupDeprecationWorkflow(${JSON.stringify(mergedConfig, undefined, 2)});`;\n  }\n  function handleDeprecationWorkflow(config, message, options, next) {\n    let matchingWorkflow = detectWorkflow(config, message, options);\n    if (!matchingWorkflow) {\n      if (config && config.throwOnUnhandled) {\n        throw new Error(message);\n      } else {\n        next(message, options);\n      }\n    } else {\n      switch (matchingWorkflow.handler) {\n        case 'silence':\n          // no-op\n          break;\n        case 'log':\n          {\n            let key = options && options.id || message;\n            if (!self.deprecationWorkflow.logCounts) {\n              self.deprecationWorkflow.logCounts = {};\n            }\n            let count = self.deprecationWorkflow.logCounts[key] || 0;\n            self.deprecationWorkflow.logCounts[key] = ++count;\n            if (count <= LOG_LIMIT) {\n              console.warn('DEPRECATION: ' + message);\n              if (count === LOG_LIMIT) {\n                console.warn('To avoid console overflow, this deprecation will not be logged any more in this run.');\n              }\n            }\n            break;\n          }\n        case 'throw':\n          throw new Error(message);\n        default:\n          next(message, options);\n          break;\n      }\n    }\n  }\n  function deprecationCollector(message, options, next) {\n    self.deprecationWorkflow.deprecationLog.messages.add(options.id);\n    next(message, options);\n  }\n});","define(\"ember-fetch/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isAbortError = isAbortError;\n  _exports.isBadRequestResponse = isBadRequestResponse;\n  _exports.isConflictResponse = isConflictResponse;\n  _exports.isForbiddenResponse = isForbiddenResponse;\n  _exports.isGoneResponse = isGoneResponse;\n  _exports.isInvalidResponse = isInvalidResponse;\n  _exports.isNotFoundResponse = isNotFoundResponse;\n  _exports.isServerErrorResponse = isServerErrorResponse;\n  _exports.isUnauthorizedResponse = isUnauthorizedResponse;\n  /**\n   * Checks if the given response represents an unauthorized request error\n   */\n  function isUnauthorizedResponse(response) {\n    return response.status === 401;\n  }\n\n  /**\n   * Checks if the given response represents a forbidden request error\n   */\n  function isForbiddenResponse(response) {\n    return response.status === 403;\n  }\n\n  /**\n   * Checks if the given response represents an invalid request error\n   */\n  function isInvalidResponse(response) {\n    return response.status === 422;\n  }\n\n  /**\n   * Checks if the given response represents a bad request error\n   */\n  function isBadRequestResponse(response) {\n    return response.status === 400;\n  }\n\n  /**\n   * Checks if the given response represents a \"not found\" error\n   */\n  function isNotFoundResponse(response) {\n    return response.status === 404;\n  }\n\n  /**\n   * Checks if the given response represents a \"gone\" error\n   */\n  function isGoneResponse(response) {\n    return response.status === 410;\n  }\n\n  /**\n   * Checks if the given error is an \"abort\" error\n   */\n  function isAbortError(error) {\n    return error.name == 'AbortError';\n  }\n\n  /**\n   * Checks if the given response represents a conflict error\n   */\n  function isConflictResponse(response) {\n    return response.status === 409;\n  }\n\n  /**\n   * Checks if the given response represents a server error\n   */\n  function isServerErrorResponse(response) {\n    return response.status >= 500 && response.status < 600;\n  }\n});","define(\"ember-fetch/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isPlainObject = isPlainObject;\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n});","define(\"ember-fetch/utils/determine-body-promise\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = determineBodyPromise;\n  /**\n   * Function that always attempts to parse the response as json, and if an error is thrown,\n   * returns `undefined` if the response is successful and has a status code of 204 (No Content),\n   * or 205 (Reset Content) or if the request method was 'HEAD', and the plain payload otherwise.\n   */\n  function determineBodyPromise(response, requestData) {\n    return response.text().then(function (payload) {\n      let ret = payload;\n      try {\n        ret = JSON.parse(payload);\n      } catch (error) {\n        if (!(error instanceof SyntaxError)) {\n          throw error;\n        }\n        const status = response.status;\n        if (response.ok && (status === 204 || status === 205 || requestData.method === 'HEAD')) {\n          ret = undefined;\n        } else {\n          (0, _debug.debug)(`This response was unable to be parsed as json: ${payload}`);\n        }\n      }\n      return ret;\n    });\n  }\n});","define(\"ember-fetch/utils/mung-options-for-fetch\", [\"exports\", \"@ember/polyfills\", \"ember-fetch/utils/serialize-query-params\", \"ember-fetch/types\"], function (_exports, _polyfills, _serializeQueryParams, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = mungOptionsForFetch;\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   */\n  function mungOptionsForFetch(options) {\n    const hash = (0, _polyfills.assign)({\n      credentials: 'same-origin'\n    }, options);\n\n    // Default to 'GET' in case `type` is not passed in (mimics jQuery.ajax).\n    hash.method = (hash.method || hash.type || 'GET').toUpperCase();\n    if (hash.data) {\n      // GET and HEAD requests can't have a `body`\n      if (hash.method === 'GET' || hash.method === 'HEAD') {\n        // If no options are passed, Ember Data sets `data` to an empty object, which we test for.\n        if (Object.keys(hash.data).length) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          const queryParamDelimiter = hash.url.indexOf('?') > -1 ? '&' : '?';\n          hash.url += `${queryParamDelimiter}${(0, _serializeQueryParams.serializeQueryParams)(hash.data)}`;\n        }\n      } else {\n        // NOTE: a request's body cannot be a POJO, so we stringify it if it is.\n        // JSON.stringify removes keys with values of `undefined` (mimics jQuery.ajax).\n        // If the data is not a POJO (it's a String, FormData, etc), we just set it.\n        // If the data is a string, we assume it's a stringified object.\n        if ((0, _types.isPlainObject)(hash.data)) {\n          hash.body = JSON.stringify(hash.data);\n        } else {\n          hash.body = hash.data;\n        }\n      }\n    }\n    return hash;\n  }\n});","define(\"ember-fetch/utils/serialize-query-params\", [\"exports\", \"ember-fetch/types\"], function (_exports, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.serializeQueryParams = serializeQueryParams;\n  const RBRACKET = /\\[\\]$/;\n\n  /**\n   * Helper function that turns the data/body of a request into a query param string.\n   * This is directly copied from jQuery.param.\n   */\n  function serializeQueryParams(queryParamsObject) {\n    var s = [];\n    function buildParams(prefix, obj) {\n      var i, len, key;\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (typeof obj[i] === 'object' ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if ((0, _types.isPlainObject)(obj)) {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n      return s;\n    }\n    return buildParams('', queryParamsObject).join('&').replace(/%20/g, '+');\n  }\n\n  /**\n   * Part of the `serializeQueryParams` helper function.\n   */\n  function add(s, k, v) {\n    // Strip out keys with undefined value and replace null values with\n    // empty strings (mimics jQuery.ajax)\n    if (v === undefined) {\n      return;\n    } else if (v === null) {\n      v = '';\n    }\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n  var _default = _exports.default = serializeQueryParams;\n});","define(\"ember-tracked-storage-polyfill/index\", [\"exports\", \"@glimmer/tracking\", \"@ember/debug\"], function (_exports, _tracking, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createStorage = createStorage;\n  _exports.getValue = getValue;\n  _exports.setValue = setValue;\n  var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  class TrackedStorageImpl {\n    constructor(initialValue, isEqual) {\n      this._value = this._lastValue = initialValue;\n      this._isEqual = isEqual;\n    }\n  }\n  __decorate([_tracking.tracked], TrackedStorageImpl.prototype, \"_value\", void 0);\n  function tripleEq(a, b) {\n    return a === b;\n  }\n  function createStorage(initialValue, isEqual = tripleEq) {\n    (true && !(typeof isEqual === 'function') && (0, _debug.assert)('the second parameter to `createStorage` must be an equality function or undefined', typeof isEqual === 'function'));\n    return new TrackedStorageImpl(initialValue, isEqual);\n  }\n  function getValue(storage) {\n    (true && !(storage instanceof TrackedStorageImpl) && (0, _debug.assert)('getValue must be passed a tracked store created with `createStorage`.', storage instanceof TrackedStorageImpl));\n    return storage._value;\n  }\n  function setValue(storage, value) {\n    (true && !(storage instanceof TrackedStorageImpl) && (0, _debug.assert)('setValue must be passed a tracked store created with `createStorage`.', storage instanceof TrackedStorageImpl));\n    const {\n      _isEqual: isEqual,\n      _lastValue: lastValue\n    } = storage;\n    if (!isEqual(value, lastValue)) {\n      storage._value = storage._lastValue = value;\n    }\n  }\n});","\n"],"names":["window","theme","jsVectorMap","addMap","insets","width","top","left","height","bbox","y","x","paths","BD","path","name","BE","BF","BG","BA","BN","BO","JP","BI","BJ","BT","JM","BW","BR","BS","BY","BZ","RU","RW","RS","LT","LU","LR","RO","GW","GT","GR","GQ","GY","GE","GB","GA","GN","GM","GL","KW","GH","OM","_2","_1","_0","JO","HR","HT","HU","HN","PR","PS","PT","PY","PA","PG","PE","PK","PH","PL","ZM","EH","EE","EG","ZA","EC","AL","AO","KZ","ET","ZW","ES","ER","ME","MD","MG","MA","UZ","MM","ML","MN","MK","MW","MR","UG","MY","MX","VU","FR","FI","FJ","FK","NI","NL","NO","NA","NC","NE","NG","NZ","NP","CI","CH","CO","CN","CM","CL","CA","CG","CF","CD","CZ","CY","CR","CU","SZ","SY","KG","KE","SS","SR","KH","SV","SK","KR","SI","KP","SO","SN","SL","SB","SA","SE","SD","DO","DJ","DK","DE","YE","AT","DZ","US","LV","UY","LB","LA","TW","TT","TR","LK","TN","TL","TM","TJ","LS","TH","TF","TG","TD","LY","AE","VE","AF","IQ","IS","IR","AM","IT","VN","AR","AU","IL","IN","TZ","AZ","IE","ID","UA","QA","MZ","projection","type","centralMeridian","canUseDOM","document","createElement","module","exports","moment","createCommonjsModule","fn","getCjsExportFromNamespace","n","hasOwnProperty","colorName","conversions","reverseKeywords","key","convert","rgb","channels","labels","hsl","hsv","hwb","cmyk","xyz","lab","lch","hex","keyword","ansi16","ansi256","hcg","apple","gray","model","Error","length","Object","defineProperty","value","comparativeDistance","Math","pow","h","l","r","g","b","min","max","delta","rdif","gdif","bdif","s","v","diff","diffc","c","k","reversed","currentClosestKeyword","currentClosestDistance","Infinity","distance","z","t1","t2","t3","val","i","smin","lmin","hi","floor","f","p","q","t","sl","vmin","wh","bl","ratio","m","y2","x2","z2","a","atan2","PI","sqrt","hr","cos","sin","args","arguments","round","ansi","color","mult","rem","string","toString","toUpperCase","substring","match","colorString","split","map","char","join","integer","parseInt","hue","chroma","pure","w","mg","buildGraph","graph","models","keys","len","parent","deriveBFS","fromModel","queue","current","pop","adjacents","adjacent","node","unshift","link","from","to","wrapConversion","toModel","cur","conversion","route","wrapRaw","wrappedFn","Array","prototype","slice","call","wrapRounded","result","forEach","routes","raw","colorConvert","colorName$1","getRgba","getHsla","getRgb","getHsl","getHwb","getAlpha","hexString","rgbString","rgbaString","percentString","percentaString","hslString","hslaString","hwbString","abbr","rgba","per","hexAlpha","parseFloat","scale","alpha","isNaN","hsla","vals","undefined","hexDouble","reverseNames","num","str","Color","obj","this","valid","values","setValues","red","lightness","whiteness","cyan","isValid","setSpace","rgbArray","hslArray","hsvArray","hwbArray","concat","cmykArray","rgbaArray","hslaArray","setChannel","green","blue","saturation","saturationv","blackness","magenta","yellow","black","rgbNumber","luminosity","lum","chan","contrast","color2","lum1","lum2","level","contrastRatio","dark","light","negate","lighten","darken","saturate","desaturate","whiten","blacken","greyscale","clearer","opaquer","rotate","degrees","mix","mixinColor","weight","color1","w1","w2","toJSON","clone","source","target","prop","console","error","spaces","maxes","getValues","space","charAt","capped","chans","sname","index","svalues","chartjsColor","isValidKey","indexOf","id","helpers","noop","uid","isNullOrUndef","isArray","substr","isObject","isFinite","Number","valueOrDefault","defaultValue","valueAtIndexOrDefault","callback","thisArg","apply","each","loopable","reverse","arrayEquals","a0","a1","ilen","v0","v1","create","klen","_merger","options","tval","sval","merge","_mergerIf","mergeIf","sources","merger","extend","assign","dst","src","inherits","extensions","me","ChartElement","constructor","Surrogate","__super__","_deprecated","scope","previous","warn","helpers_core","callCallback","array","item","fromIndex","getValueOrDefault","getValueAtIndexOrDefault","effects","linear","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","easeOutCirc","easeInOutCirc","easeInElastic","asin","easeOutElastic","easeInOutElastic","easeInBack","easeOutBack","easeInOutBack","easeInBounce","easeOutBounce","easeInOutBounce","helpers_easing","easingEffects","RAD_PER_DEG","DOUBLE_PI","HALF_PI","QUARTER_PI","TWO_THIRDS_PI","exports$1","clear","chart","ctx","clearRect","roundedRect","radius","right","bottom","moveTo","arc","closePath","rect","drawPoint","style","rotation","xOffset","yOffset","size","cornerRadius","rad","save","translate","drawImage","restore","beginPath","lineTo","SQRT1_2","fill","stroke","_isPointInArea","point","area","epsilon","clipArea","clip","unclipArea","flip","stepped","steppedLine","midpoint","tension","bezierCurveTo","controlPointPreviousX","controlPointNextX","controlPointPreviousY","controlPointNextY","helpers_canvas","drawRoundedRectangle","defaults","_set","defaultColor","defaultFontColor","defaultFontFamily","defaultFontSize","defaultFontStyle","defaultLineHeight","showLines","core_defaults","toFontString","font","family","helpers_options","toLineHeight","matches","toPadding","_parseFont","globalDefaults","global","fontSize","fontFamily","lineHeight","fontStyle","resolve","inputs","context","info","cacheable","exports$2","_factorize","push","sort","log10","exponent","log","LOG10E","powerOf10","helpers_math","getRtlAdapter","rectX","setWidth","textAlign","align","xPlus","leftForLtr","itemWidth","getLtrAdapter","_itemWidth","helpers$1","easing","canvas","math","rtl","overrideTextDirection","direction","original","getPropertyValue","getPropertyPriority","setProperty","prevTextDirection","restoreTextDirection","interpolate","start","view","ease","actual","origin","c0","c1","Element","configuration","initialize","_type","hidden","pivot","_view","_model","_start","transition","tooltipPosition","hasValue","isNumber","core_element","exports$3","currentStep","numSteps","render","onAnimationProgress","onAnimationComplete","core_animation","get","set","animation","duration","onProgress","onComplete","core_animations","animations","request","addAnimation","lazy","startTime","Date","now","animating","requestAnimationFrame","cancelAnimation","findIndex","splice","requestAnimFrame","startDigest","advance","nextStep","arrayEvents","listenArrayEvents","listener","_chartjs","listeners","configurable","enumerable","method","base","res","object","unlistenArrayEvents","stub","DatasetController","datasetIndex","datasetElementType","dataElementType","_datasetElementOptions","_dataElementOptions","linkScales","addElements","getMeta","updateIndex","meta","scales","dataset","getDataset","scalesOpts","xAxisID","xAxes","yAxisID","yAxes","data","datasets","getDatasetMeta","getScaleForId","scaleID","_getValueScaleId","_getIndexScaleId","_getValueScale","_getIndexScale","reset","_update","destroy","_data","createMetaDataset","_chart","_datasetIndex","createMetaData","_index","metaData","addElementAndReset","element","updateElement","buildOrUpdateElements","isExtensible","resyncElements","_configure","_config","_cachedDataOpts","update","easingValue","elements","draw","getStyle","_resolveDatasetElementOptions","_resolveDataElementOptions","backgroundColor","borderColor","hover","readKey","datasetOpts","custom","elementOptions","cached","dataIndex","freeze","removeHoverStyle","$previousStyle","setHoverStyle","getHoverColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","_removeDatasetHoverStyle","_setDatasetHoverStyle","hoverOptions","prev","numMeta","numData","insertElements","count","onDataPush","onDataPop","onDataShift","shift","onDataSplice","onDataUnshift","core_datasetController","TAU","clipArc","startAngle","endAngle","pixelMargin","angleMargin","outerRadius","innerRadius","drawFullCircleBorders","vm","inner","fullCircles","drawBorder","borderAlign","lineWidth","lineJoin","element_arc","inLabelRange","mouseX","hoverRadius","inRange","chartX","chartY","pointRelativePosition","getAngleFromPoint","angle","betweenAngles","withinRadius","getCenterPoint","halfAngle","halfRadius","getArea","centreAngle","rangeFromCentre","circumference","fillStyle","strokeStyle","valueOrDefault$1","line","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","capBezierPoints","element_line","currentVM","spanGaps","points","_children","globalOptionLineElements","lastDrawnIndex","_loop","previousItem","skip","lineCap","setLineDash","lineDashOffset","valueOrDefault$2","defaultColor$1","xRange","abs","hitRadius","yRange","mouseY","pointStyle","element_point","inXRange","inYRange","padding","chartArea","defaultColor$2","isVertical","getBarBounds","x1","y1","half","swap","orig","v2","parseBorderSkipped","edge","borderSkipped","horizontal","parseBorderWidth","maxW","maxH","boundingRects","bounds","border","outer","skipX","skipY","rectangle","element_rectangle","rects","fillRect","Arc","Line","Point","Rectangle","deprecated","valueOrDefault$3","computeMinSampleSize","pixels","curr","_length","getTicks","getPixelForTick","computeFitCategoryTraits","ruler","thickness","barThickness","stackCount","categoryPercentage","barPercentage","chunk","computeFlexCategoryTraits","next","percent","end","mode","offset","gridLines","offsetGridLines","bar","controller_bar","scaleOpts","stack","minBarLength","maxBarThickness","_ruler","getRuler","_xScale","_yScale","datasetLabel","label","_updateElementGeometry","vscale","getBasePixel","isHorizontal","vpixels","calculateBarValuePixels","ipixels","calculateBarIndexPixels","head","center","_getStacks","last","metasets","_getMatchingVisibleMetas","stacked","stacks","getStackCount","getStackIndex","getPixelForValue","_startPixel","_endPixel","imeta","ivalue","stackLength","_parseValue","range","stackIndex","indexOpts","valueOpts","valueOrDefault$4","resolve$1","position","tooltips","callbacks","title","dataPoint","xLabel","yLabel","controller_bubble","xScale","yScale","dsIndex","getPixelForDecimal","NaN","_options","valueOrDefault$5","PI$1","DOUBLE_PI$1","HALF_PI$1","animateRotate","animateScale","legendCallback","listItem","list","setAttribute","appendChild","createTextNode","outerHTML","legend","generateLabels","controller","text","onClick","e","legendItem","cutoutPercentage","tooltipItem","dataLabel","controller_doughnut","getRingIndex","ringIndex","j","isDatasetVisible","maxWidth","maxHeight","opts","ratioX","ratioY","offsetX","offsetY","arcs","cutout","chartWeight","_getRingWeight","startX","startY","endX","endY","contains0","contains90","contains270","minX","minY","maxX","maxY","getMaxBorderWidth","radiusLength","_getVisibleDatasetWeightTotal","total","calculateTotal","_getRingWeightOffset","animationOpts","centerX","centerY","calculateCircumference","hoverWidth","ringWeightOffset","dataSetIndex","axis","horizontalBar","controller_horizontalBar","valueOrDefault$6","resolve$2","isPointInArea","scaleClip","halfBorderWidth","tickOpts","ticks","defaultClip","toClip","controller_line","config","showLine","_showLine","lineTension","_scale","updateBezierControlPoints","lineModel","calculatePointY","lineOptions","ds","dsMeta","stackedRightValue","rightValue","sumPos","sumNeg","getRightValue","_getSortedVisibleDatasetMetas","controlPoints","capControlPoint","pt","filter","cubicInterpolationMode","splineCurveMonotone","splineCurve","nextItem","resolve$3","angleLines","display","circular","pointLabels","beginAtZero","controller_polarArea","starts","_starts","angles","_angles","_updateRadius","countVisibleElements","_computeAngle","minSize","getVisibleDatasetCount","xCenter","yCenter","datasetStartAngle","getDistanceFromCenterForValue","resetRadius","doughnut","controller_pie","valueOrDefault$7","controller_radar","pointPosition","getPointPositionForValue","scatter","controllers","bubble","polarArea","pie","radar","getRelativePosition","native","parseVisibleItems","handler","metadata","jlen","getIntersectItems","getNearestItems","intersect","distanceMetric","minDistance","POSITIVE_INFINITY","nearestItems","getDistanceMetricForAxis","useX","useY","pt1","pt2","deltaX","deltaY","indexMode","items","core_interaction","modes","single","nearest","intersectsItem","filterByPosition","where","pos","sortByWeight","wrapBoxes","boxes","box","layoutBoxes","setLayoutDims","layouts","params","layout","fullWidth","availableWidth","vBoxMaxWidth","hBoxMaxHeight","buildLayoutBoxes","leftAndTop","rightAndBottom","vertical","getCombinedMax","maxPadding","updateDims","newWidth","newHeight","getPadding","boxPadding","outerWidth","outerHeight","sizes","handleMaxPadding","updatePos","change","getMargins","marginForPositions","positions","margin","fitBoxes","refit","changed","refitBoxes","placeBoxes","userPadding","core_layouts","addBox","_layers","removeBox","layoutItem","configure","props","layoutOptions","availableHeight","verticalBoxes","horizontalBoxes","platform_basic","acquireContext","getContext","platform_dom","stylesheet","__proto__","EXPANDO_KEY","CSS_PREFIX","CSS_SIZE_MONITOR","CSS_RENDER_MONITOR","CSS_RENDER_ANIMATION","ANIMATION_START_EVENTS","EVENT_TYPES","touchstart","touchmove","touchend","pointerenter","pointerdown","pointermove","pointerup","pointerleave","pointerout","readUsedSize","property","initCanvas","renderHeight","getAttribute","renderWidth","initial","displayWidth","aspectRatio","displayHeight","eventListenerOptions","supports","addEventListener","passive","addListener","removeListener","removeEventListener","createEvent","nativeEvent","fromNativeEvent","event","throttled","ticking","createDiv","cls","el","className","createResizer","maxSize","resizer","expand","shrink","_reset","scrollLeft","scrollTop","onScroll","bind","watchForRender","expando","proxy","renderProxy","animationName","reflow","offsetParent","classList","add","unwatchForRender","remove","addResizeListener","container","maintainAspectRatio","parentNode","clientWidth","insertBefore","firstChild","removeResizeListener","removeChild","injectCSS","rootNode","css","containsStyles","platform_dom$2","disableCSSInjection","_enabled","_ensureLoaded","root","getRootNode","host","getElementById","releaseContext","removeAttribute","proxies","addEvent","removeEvent","implementation","platform","plugins","core_plugins","_plugins","_cacheId","register","plugin","unregister","idx","getAll","notify","hook","descriptor","descriptors","cache","$plugins","_invalidate","core_scaleService","constructors","registerScaleType","scaleConstructor","scaleDefaults","getScaleConstructor","getScaleDefaults","updateScaleDefaults","additions","addScalesToLayout","valueOrDefault$8","getRtlHelper","enabled","titleFontStyle","titleSpacing","titleMarginBottom","titleFontColor","titleAlign","bodySpacing","bodyFontColor","bodyAlign","footerFontStyle","footerSpacing","footerMarginTop","footerFontColor","footerAlign","yPadding","xPadding","caretPadding","caretSize","multiKeyBackground","displayColors","beforeTitle","tooltipItems","labelCount","afterTitle","beforeBody","beforeLabel","labelColor","labelTextColor","afterLabel","afterBody","beforeFooter","footer","afterFooter","positioners","average","eventPosition","nearestElement","d","distanceBetweenPoints","tp","pushOrConcat","toPush","splitNewlines","String","createTooltipItem","indexScale","valueScale","getLabelForIndex","getBaseModel","tooltipOpts","xAlign","yAlign","textDirection","_bodyFontFamily","bodyFontFamily","_bodyFontStyle","bodyFontStyle","_bodyAlign","bodyFontSize","_titleFontFamily","titleFontFamily","_titleFontStyle","titleFontSize","_titleAlign","_footerFontFamily","footerFontFamily","_footerFontStyle","footerFontSize","_footerAlign","opacity","legendColorBackground","getTooltipSize","tooltip","body","combinedBodyLength","reduce","bodyItem","before","lines","after","titleLineCount","footerLineCount","widthPadding","maxLineWidth","measureText","fontString","determineAlignment","lf","rf","olf","orf","yf","midX","midY","getBackgroundPoint","alignment","paddingAndSize","radiusAndPadding","getAlignedX","getBeforeAfterBodyLines","exports$4","_lastActive","getTitle","getBeforeBody","getBody","bodyItems","getAfterBody","getFooter","existingModel","active","_active","backgroundPoint","tooltipSize","caretX","caretY","labelColors","labelTextColors","_eventPosition","itemSort","dataPoints","drawCaret","tooltipPoint","caretPosition","getCaretPosition","x3","y3","ptX","ptY","tmp","drawTitle","rtlHelper","textBaseline","fillText","drawBody","textColor","drawColorBoxes","xLinePadding","colorX","fillLineOfText","bodyAlignForCalculation","rtlColorX","strokeRect","drawFooter","drawBackground","quadraticCurveTo","hasTooltipContent","globalAlpha","handleEvent","getElementsAtEventForMode","positioners_1","core_tooltip","valueOrDefault$9","mergeScaleConfig","slen","mergeConfig","initConfig","updateConfig","newOptions","ensureScalesHaveIDs","buildOrUpdateScales","nextAvailableScaleId","axesOpts","prefix","hasId","positionIsHorizontal","compare2Level","l1","l2","events","onHover","animationDuration","responsive","responsiveAnimationDuration","Chart","construct","_bufferedRender","instances","retinaScale","devicePixelRatio","bindEvents","resize","initToolTip","stop","silent","getMaximumWidth","getMaximumHeight","newSize","onResize","scalesOptions","scaleOptions","xAxisOptions","yAxisOptions","updated","dtype","dposition","isDefault","scaleType","scaleClass","mergeTicksOptions","hasUpdated","buildOrUpdateControllers","newControllers","destroyDatasetMeta","order","ControllerClass","resetElements","updateLayout","updateDatasets","lastActive","_bufferedRequest","_idx","updateDataset","animationOptions","animationObject","easingFunction","stepDecimal","layers","drawDatasets","_drawTooltip","_getSortedDatasetMetas","filterVisible","drawDataset","getElementAtEvent","getElementsAtEvent","getElementsAtXAxis","getDatasetAtEvent","_meta","generateLegend","unbindEvents","toBase64Image","toDataURL","_chartInstance","_listeners","eventHandler","updateHoverStyle","bufferedRequest","core_controller","Controller","types","configMerge","scaleMerge","core_helpers","parseMaxStyle","styleValue","parentProperty","valueInPixels","isConstrainedValue","getConstraintDimension","domNode","maxStyle","percentageProperty","defaultView","_getParentNode","constrainedNode","getComputedStyle","constrainedContainer","hasCNode","hasCContainer","infinity","collection","filterCallback","filtered","findNextWhere","arrayToSearch","startIndex","currentItem","findPreviousWhere","almostEquals","almostWhole","rounded","NEGATIVE_INFINITY","sign","toRadians","toDegrees","radians","_decimalPlaces","centrePoint","anglePoint","distanceFromXCenter","distanceFromYCenter","radialDistanceFromCenter","aliasPixel","pixelWidth","_alignPixel","pixel","currentDevicePixelRatio","halfWidth","firstPoint","middlePoint","afterPoint","d01","d12","s01","s12","fa","fb","EPSILON","pointBefore","pointCurrent","pointAfter","alphaK","betaK","tauK","squaredMagnitude","pointsWithTangents","deltaK","mK","pointsLen","slopeDeltaX","loop","niceNum","fraction","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","setTimeout","evt","originalEvent","srcElement","boundingRect","getBoundingClientRect","touches","clientX","clientY","paddingLeft","paddingTop","paddingRight","paddingBottom","getConstraintWidth","getConstraintHeight","_calculatePadding","parentDimension","cw","clientHeight","ch","currentStyle","forceRatio","pixelRatio","pixelSize","longestText","arrayOfThings","gc","garbageCollect","thing","nestedThing","longest","gcLen","textWidth","numberOfLabelLines","numberOfLines","CanvasGradient","colorValue","CanvasPattern","abstract","DateAdapter","formats","parse","format","startOf","endOf","_create","override","members","core_adapters","_date","core_ticks","formatters","tickValue","logDelta","tickString","logTick","numExponential","toExponential","numDecimal","toFixed","logarithmic","remain","valueOrDefault$a","sample","arr","numItems","increment","getPixelForGridLine","validIndex","lineValue","caches","computeLabelSizes","tickFonts","tickFont","nestedLabel","widest","highest","widths","heights","offsets","widestLabelSize","highestLabelSize","major","minor","valueAt","first","getTickMarkLength","drawTicks","tickMarkLength","getScaleLabelHeight","parseFontOptions","nestedOpts","fontColor","parseTickFontOptions","nonSkipped","ticksToFilter","getEvenSpacing","calculateSpacing","majorIndices","axisLength","ticksLimit","factors","factor","evenMajorSpacing","spacing","getMajorIndices","skipMajors","tick","ceil","majorStart","majorEnd","drawOnChartArea","zeroLineWidth","zeroLineColor","zeroLineBorderDash","zeroLineBorderDashOffset","scaleLabel","labelString","minRotation","maxRotation","mirror","autoSkip","autoSkipPadding","labelOffset","Scale","zeroLineIndex","_ticks","_getLabels","xLabels","yLabels","beforeUpdate","margins","samplingEnabled","sampleSize","_labelSizes","_maxLabelLines","longestLabelWidth","longestTextCache","_gridLineItems","_labelItems","beforeSetDimensions","setDimensions","afterSetDimensions","beforeDataLimits","determineDataLimits","afterDataLimits","beforeBuildTicks","buildTicks","afterBuildTicks","_convertTicksToLabels","beforeCalculateTickRotation","calculateTickRotation","afterCalculateTickRotation","beforeFit","fit","afterFit","_ticksToDraw","_autoSkip","afterUpdate","startPixel","endPixel","reversePixels","_reversePixels","beforeTickToLabelConversion","convertTicksToLabels","userCallback","afterTickToLabelConversion","labelSizes","maxLabelWidth","maxLabelHeight","tickWidth","maxLabelDiagonal","numTicks","labelRotation","_isVisible","_getLabelSizes","scaleLabelOpts","gridLineOpts","isBottom","firstLabelSize","lastLabelSize","lineSpace","tickPadding","isRotated","angleRadians","cosRotation","sinRotation","labelHeight","offsetLeft","offsetRight","labelWidth","handleMargins","isFullWidth","rawValue","_getScaleLabel","getValueForPixel","decimal","getDecimalForPixel","getBaseValue","avgMajorSpacing","maxTicksLimit","_tickSize","numMajorIndices","optionTicks","rot","_computeGridLineItems","borderValue","alignedLineValue","tx1","ty1","tx2","ty2","lineColor","ticksLength","tl","axisWidth","axisHalfWidth","alignPixel","alignBorderValue","_computeLabelItems","lineCount","textOffset","isMirrored","fonts","_drawGrid","firstLineWidth","lastLineWidth","_drawLabels","_drawTitle","scaleLabelX","scaleLabelY","scaleLabelFontColor","scaleLabelFont","scaleLabelPadding","halfLineHeight","isLeft","tz","gz","_draw","core_scale","isNullOrUndef$1","defaultConfig","scale_category","ticksOpts","minIndex","maxIndex","_startValue","_valueRange","valueCategory","_defaults","isNullOrUndef$2","generateTicks","generationOptions","dataRange","niceMin","niceMax","numSpaces","MIN_SPACING","stepSize","unit","maxNumSpaces","maxTicks","precision","rmin","rmax","scale_linearbase","handleTickRangeOptions","minSign","maxSign","setMin","suggestedMin","setMax","suggestedMax","getTickLimit","_computeTickLimit","handleDirectionalChanges","numericGeneratorOptions","fixedStepSize","ticksAsNumbers","_endValue","defaultConfig$1","DEFAULT_MIN","DEFAULT_MAX","getOrCreateStack","neg","stackData","relativePoints","updateMinMax","scale_linear","hasStacks","stackValues","_defaults$1","valueOrDefault$b","generateTicks$1","exp","significand","tickVal","endExp","endSignificand","minNotZero","lastTick","defaultConfig$2","nonNegativeOrDefault","scale_logarithmic","IDMatches","valuesPerStack","valuesForType","minVal","maxVal","tickValues","_getFirstTickValue","_valueOffset","_defaults$2","valueOrDefault$c","valueAtIndexOrDefault$1","resolve$4","defaultConfig$3","animate","showLabelBackdrop","backdropColor","backdropPaddingY","backdropPaddingX","getTickBackdropHeight","measureLabelSize","determineLimits","fitWithPointLabels","textSize","plFont","furthestLimits","furthestAngles","_pointLabelSizes","valueCount","getPointPosition","drawingArea","getIndexAngle","hLimits","vLimits","setReductions","getTextAlignForAngle","adjustPointPositionForLabelHeight","drawPointLabels","pointLabelOpts","tickBackdropHeight","outerDistance","extra","pointLabelPosition","pointLabelFontColor","drawRadiusLine","numberOrZero","param","scale_radialLinear","setCenterPoint","largestPossibleRadius","radiusReductionLeft","radiusReductionRight","radiusReductionTop","radiusReductionBottom","leftMovement","rightMovement","topMovement","bottomMovement","maxRight","maxLeft","maxTop","maxBottom","scalingFactor","distanceFromCenter","thisAngle","getBasePosition","angleLineOpts","tickFontColor","_defaults$3","deprecated$1","resolve$5","valueOrDefault$d","MIN_INTEGER","MIN_SAFE_INTEGER","MAX_INTEGER","MAX_SAFE_INTEGER","INTERVALS","millisecond","common","steps","second","minute","hour","day","week","month","quarter","year","UNITS","sorter","arrayUnique","hash","out","getMin","time","getMax","buildLookupTable","timestamps","distribution","table","lookup","mid","i0","i1","lo","interpolate$1","skey","tkey","span","toTimestamp","input","adapter","_adapter","parser","determineUnitForAutoTicks","minUnit","capacity","interval","determineUnitForFormatting","determineMajorUnit","generate","timeOpts","unitStepSize","weekday","isoWeekday","computeOffsets","setMajorTicks","majorUnit","ticksFromTimestamps","defaultConfig$4","adapters","displayFormat","displayFormats","scale_time","date","timestamp","labelsAdded","dataLabels","_table","_timestamps","getLabelCapacity","_unit","_majorUnit","_offsets","tooltipFormat","datetime","tickFormatFunction","minorFormat","majorFormat","nestedTickOpts","formatter","getPixelForOffset","_getLabelSize","tickLabelWidth","tickFontSize","getLabelWidth","exampleTime","exampleLabel","_defaults$4","category","radialLinear","FORMATS","_id","valueOf","amount","filler","propagate","mappers","boundary","decodeFill","computeLinearBoundary","scaleBottom","scaleTop","scaleZero","computeCircularBoundary","cx","cy","computeBoundary","resolveTarget","visited","visible","createMapper","isDrawable","drawArea","curve0","curve1","len0","len1","doFill","mapper","p0","p1","d0","d1","loopOffset","plugin_filler","afterDatasetsUpdate","$filler","beforeDatasetsDraw","getRtlHelper$1","noop$1","valueOrDefault$e","getBoxWidth","labelOpts","usePointStyle","boxWidth","ci","onLeave","lineDash","Legend","legendHitBoxes","_hoveredItem","doughnutMode","beforeBuildLabels","buildLabels","afterBuildLabels","legendItems","labelFont","hitboxes","lineWidths","totalHeight","vPadding","columnWidths","columnHeights","totalWidth","currentColWidth","currentColHeight","lineDefault","legendHeight","legendWidth","cursor","drawLegendBox","SQRT2","halfFontSize","xLeft","yMiddle","alignmentOffset","dimension","blockSize","itemHeight","realX","_getLegendItemAt","hitBox","lh","hoveredItem","createNewLegendAndAttach","legendOpts","plugin_legend","_element","beforeInit","afterEvent","noop$2","Title","titleX","titleY","fontOpts","createNewTitleBlockAndAttach","titleOpts","titleBlock","_adapters","Animation","animationService","Interaction","scaleService","Ticks","Tooltip","pluginService","PluginBase","canvasHelpers","layoutService","LinearScaleBase","klass","cfg","toLowerCase","factory","self","modules","installedModules","moduleId","getter","o","__esModule","__webpack_require__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","StorageObject","_parseArray","resultSet","_parse","hasOwn","SPACE","arg","argType","_parseString","_parseObject","_parseNumber","classSet","it","TypeError","toObject","callWithSafeIterationClosing","isArrayIteratorMethod","toLength","createProperty","getIteratorMethod","arrayLike","step","iterator","O","C","argumentsLength","mapfn","mapping","iteratorMethod","done","toIndexedObject","toAbsoluteIndex","IS_INCLUDES","$this","aFunction","that","anObject","ENTRIES","returnMethod","ITERATOR","wellKnownSymbol","SAFE_CLOSING","called","iteratorWithReturn","exec","SKIP_CLOSING","ITERATION_SUPPORT","classofRaw","TO_STRING_TAG","CORRECT_ARGUMENTS","tag","tryGet","callee","has","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","getOwnPropertyDescriptor","fails","F","getPrototypeOf","IteratorPrototype","createPropertyDescriptor","setToStringTag","Iterators","returnThis","IteratorConstructor","NAME","bitmap","writable","toPrimitive","propertyKey","$","createIteratorConstructor","setPrototypeOf","hide","redefine","IS_PURE","IteratorsCore","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","Iterable","DEFAULT","IS_SET","FORCED","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","proto","forced","exist","setGlobal","copyConstructorProperties","isForced","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","noTargetGet","sham","shared","Function","classof","check","globalThis","DESCRIPTORS","documentElement","propertyIsEnumerable","NATIVE_WEAK_MAP","objectHas","sharedKey","hiddenKeys","WeakMap","store","wmget","wmhas","wmset","STATE","enforce","getterFor","TYPE","state","ArrayPrototype","replacement","feature","detection","normalize","POLYFILL","NATIVE","replace","PrototypeOfArrayIteratorPrototype","arrayIterator","getOwnPropertySymbols","Symbol","nativeFunctionToString","test","defineProperties","enumBugKeys","html","documentCreateElement","IE_PROTO","PROTOTYPE","Empty","createDict","iframeDocument","iframe","script","js","contentWindow","open","write","lt","close","Properties","objectKeys","IE8_DOM_DEFINE","nativeDefineProperty","P","Attributes","propertyIsEnumerableModule","nativeGetOwnPropertyDescriptor","internalObjectKeys","getOwnPropertyNames","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","arrayIncludes","arrayIndexOf","names","nativePropertyIsEnumerable","NASHORN_BUG","V","validateSetPrototypeOfArguments","setter","correctSetter","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","Reflect","InternalStateModule","getInternalState","enforceInternalState","TEMPLATE","unsafe","simple","TAG","SHARED","version","copyright","toInteger","requireObjectCoercible","CONVERT_TO_STRING","S","charCodeAt","IndexedObject","argument","postfix","random","NATIVE_SYMBOL","checkCorrectnessOfIteration","iterable","codePointAt","defineIterator","STRING_ITERATOR","setInternalState","iterated","eval","_extends","_createClass","Constructor","protoProps","staticProps","_dedupe2","_interopRequireDefault","_defaultAttrs2","default","Icon","contents","tags","instance","_classCallCheck","attrs","class","attrsToString","_icon2","_icons2","_tags2","icon","_toSvg2","_replace2","icons","toSvg","elementsToReplace","querySelectorAll","elementAttrs","attributes","attr","getAttrs","svgString","svgElement","DOMParser","parseFromString","querySelector","replaceChild","replaceElement","_icons","_i","_loop_1","_a","args_1","ReferenceError","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","ownerDocument","Node","$$typeof","for","isMergeableObject","u","customMerge","arrayMerge","cloneUnlessOtherwiseSpecified","nodeType","_","on","selector","_uid","delegate","off","flush","getEventRegistry","onLoaded","onViewportChange","onRegionClick","onMarkerClick","onRegionSelected","onMarkerSelected","onRegionTooltipShow","onMarkerTooltipShow","onDestroyed","M","code","regions","_markers","tooltipText","_mapData","dispose","_tooltip","shape","getLabelText","marker","getLabelOffsets","setStyle","_setStatus","select","updateStyle","labelStyle","labelsGroup","_map","_createRegion","getBBox","labelX","labelY","createText","textAnchor","alignmentBaseline","dataCode","addClass","createPath","updateLabelPosition","transX","transY","L","group","createLine","_isImage","image","_createLabel","_labelX","baseVal","_labelY","isRecentlyCreated","dy","markerLabelStyle","A","_series","series","_body","cssClass","legendVertical","legendHorizontal","innderHTML","attribute","background","url","backgroundSize","labelRender","X","getValue","Y","_elements","_values","setAttributes","E","mill","radDeg","tan","merc","aea","lcc","degRad","T","_setupContainerEvents","draggable","pageX","pageY","_applyTransform","zoomOnScroll","wheelDelta","detail","pageXOffset","pageYOffset","zoomOnScrollSpeed","_setScale","preventDefault","_setupElementEvents","showTooltip","show","_emit","regionsSelectable","markersSelectable","_clearSelected","isSelected","_getSelected","_setupZoomButtons","zoomStep","_width","_height","zoomAnimate","_setupContainerTouchEvents","scrollY","scrollX","_createRegions","_regionLabelsGroup","createGroup","regionStyle","regionLabelStyle","_createLines","linesGroup","getMarkerPosition","_lines","lineStyle","_createMarkers","_markersGroup","_markerLabelsGroup","coords","markerStyle","markers","removeMarkers","_createSeries","_defaultWidth","_defaultHeight","applyTransformParams","_repositionMarkers","_repositionLines","_repositionLabels","_resize","_baseScale","_baseTransX","_baseTransY","zoomMax","zoomMin","setInterval","clearInterval","setFocus","region","coordsToPoint","updateSize","offsetWidth","offsetHeight","setSize","G","maps","getInsetForPoint","_createElement","createElementNS","applyAttr","isHovered","selected","selectedHover","D","textContent","I","setAttributeNS","R","_container","_defsElement","_rootElement","_add","createCircle","createImage","H","_bindEventListeners","contains","getElement","_fromColor","hexToRgb","_toColor","setMinMaxValues","visualize","MAX_VALUE","readyState","_init","setBackgroundColor","zoomButtons","selectedRegions","_setSelected","selectedMarkers","focusOn","visualizeData","dataVisualization","bindTouchEvents","DocumentTouch","getSelectedRegions","clearSelectedRegions","getSelectedMarkers","clearSelectedMarkers","addMarkers","addLine","addLines","_getLinesAsUids","removeLines","removeLine","strokeWidth","strokeLinecap","markersSelectableOne","fillOpacity","strokeOpacity","fontWeight","regionsSelectableOne","B","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","freeSelf","objectToString","nativeMax","nativeMin","toNumber","isObjectLike","isSymbol","other","isBinary","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","remainingWait","debounced","isInvoking","leadingEdge","cancel","clearTimeout","HASH_UNDEFINED","funcTag","genTag","reIsHostCtor","arrayProto","funcProto","objectProto","coreJsData","maskSrcKey","funcToString","reIsNative","RegExp","Map","getNative","nativeCreate","Hash","entry","ListCache","MapCache","assocIndexOf","baseIsNative","pattern","isFunction","isHostObject","toSource","getMapData","__data__","memoize","resolver","memoized","Cache","FUNC_ERROR_TEXT","debounce","defineLocale","months","monthsShort","weekdays","weekdaysShort","weekdaysMin","meridiemParse","isPM","meridiem","hours","minutes","isLower","longDateFormat","LTS","LL","LLL","LLLL","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","ss","mm","hh","dd","yy","dayOfMonthOrdinalParse","ordinal","number","dow","doy","pluralForm","plurals","pluralize","withoutSuffix","isFuture","weekdaysParseExact","postformat","symbolMap","preparse","numberMap","suffixes","plural","word","forms","relativeTimeWithPlural","standalone","isFormat","period","ww","lastDigit","last2Digits","meridiemHour","monthsShortRegex","monthsParseExact","relativeTimeWithMutation","mutation","specialMutationForYears","lastNumber","softMutation","mutationTable","monthsParse","monthsRegex","monthsStrictRegex","monthsShortStrictRegex","fullWeekdaysParse","shortWeekdaysParse","minWeekdaysParse","weekdaysParse","longMonthsParse","shortMonthsParse","token","ll","lll","llll","output","processRelativeTime","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","mom","_calendarEl","monthsShortDot","invalidDate","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eras","since","narrow","until","eraYearOrdinalRegex","eraYearOrdinalParse","$0","$1","$2","isUpper","processFutureTime","eifelerRegelAppliesToNumber","processPastTime","units","translateSeconds","translateSingular","special","relativeTimeWithSingular","relativeSeconds","translator","words","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","separator","days","numbersNouns","translateFuture","translatePast","numberNoun","numberAsNoun","hundred","ten","one","hm","weekdaysCaseReplace","nominative","accusative","genitive","processHoursFunction","webpackContext","req","webpackContextResolve","hookCallback","some","hooks","setHookCallback","hasOwnProp","isObjectEmpty","isUndefined","isDate","createUTC","locale","strict","createLocalOrUTC","utc","defaultParsingFlags","empty","unusedTokens","unusedInput","overflow","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","rfc2822","weekdayMismatch","getParsingFlags","_pf","_isValid","flags","parsedParts","isNowValid","_d","getTime","invalidWeekday","_strict","bigHour","isFrozen","createInvalid","fun","momentProperties","updateInProgress","copyConfig","_isAMomentObject","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","updateOffset","isMoment","msg","suppressDeprecationWarnings","deprecate","firstTime","deprecationHandler","deprecations","deprecateSimple","_dayOfMonthOrdinalParseLenient","_dayOfMonthOrdinalParse","_ordinalParse","mergeConfigs","parentConfig","childConfig","Locale","defaultCalendar","_calendar","zeroFill","targetLength","forceSign","absNumber","zerosToFill","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","localeData","removeFormattingTokens","makeFormatFunction","formatMoment","expandFormat","replaceLongDateFormatTokens","lastIndex","defaultLongDateFormat","_longDateFormat","formatUpper","tok","defaultInvalidDate","_invalidDate","defaultOrdinal","defaultDayOfMonthOrdinalParse","_ordinal","defaultRelativeTime","_relativeTime","pastFuture","aliases","addUnitAlias","shorthand","lowerCase","normalizeUnits","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","addUnitPriority","priority","getPrioritizedUnits","unitsObj","isLeapYear","absFloor","toInt","argumentForCoercion","coercedNumber","makeGetSet","keepTime","set$1","daysInMonth","stringGet","stringSet","prioritized","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchTimestamp","matchWord","addRegexToken","regex","strictRegex","isStrict","getParseRegexForToken","unescapeFormat","regexEscape","matched","p2","p3","p4","tokens","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","YEAR","MONTH","DATE","HOUR","MINUTE","SECOND","MILLISECOND","WEEK","WEEKDAY","mod","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","localeMonths","_months","localeMonthsShort","_monthsShort","handleStrictParse","monthName","ii","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","localeMonthsParse","_monthsParseExact","setMonth","dayOfMonth","getSetMonth","getDaysInMonth","computeMonthsParse","_monthsShortStrictRegex","_monthsShortRegex","_monthsStrictRegex","_monthsRegex","cmpLenRev","shortPieces","longPieces","mixedPieces","daysInYear","parseTwoDigitYear","getSetYear","getIsLeapYear","createDate","ms","getFullYear","setFullYear","createUTCDate","UTC","getUTCFullYear","setUTCFullYear","firstWeekOffset","fwd","getUTCDay","dayOfYearFromWeeks","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","localeWeek","_week","defaultLocaleWeek","localeFirstDayOfWeek","localeFirstDayOfYear","getSetWeek","getSetISOWeek","parseWeekday","parseIsoWeekday","shiftWeekdays","ws","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","localeWeekdays","_weekdays","localeWeekdaysShort","_weekdaysShort","localeWeekdaysMin","_weekdaysMin","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","localeWeekdaysParse","_weekdaysParseExact","_fullWeekdaysParse","getSetDayOfWeek","getDay","getSetLocaleDayOfWeek","getSetISODayOfWeek","computeWeekdaysParse","_weekdaysStrictRegex","_weekdaysRegex","_weekdaysShortStrictRegex","_weekdaysShortRegex","_weekdaysMinStrictRegex","_weekdaysMinRegex","minp","shortp","longp","minPieces","hFormat","kFormat","lowercase","matchMeridiem","_meridiemParse","localeIsPM","seconds","kInput","_isPm","_meridiem","pos1","pos2","defaultLocaleMeridiemParse","getSetHour","localeMeridiem","globalLocale","baseConfig","locales","localeFamilies","commonPrefix","arr1","arr2","minl","normalizeLocale","chooseLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","getLocale","parentLocale","updateLocale","tmpLocale","listLocales","checkOverflow","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","dateFormat","timeFormat","tzFormat","configFromStringAndFormat","extractFromRFC2822Strings","yearStr","monthStr","dayStr","hourStr","minuteStr","secondStr","untruncateYear","preprocessRFC2822","checkWeekday","weekdayStr","parsedInput","calculateOffset","obsOffset","militaryOffset","numOffset","configFromRFC2822","parsedArray","setUTCMinutes","getUTCMinutes","configFromString","createFromInputFallback","currentDateArray","nowValue","_useUTC","getUTCMonth","getUTCDate","getMonth","getDate","configFromArray","currentDate","expectedWeekday","yearToUse","dayOfYearFromWeekInfo","_dayOfYear","_nextDay","weekYear","temp","weekdayOverflow","curWeek","GG","W","createLocal","gg","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","meridiemFixWrap","erasConvertYear","isPm","configFromStringAndArray","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","score","configFromObject","dayOrDate","createFromConfig","prepareConfig","configFromInput","isUTC","prototypeMin","prototypeMax","pickBy","moments","ordering","isDurationValid","unitHasDecimal","isValid$1","createInvalid$1","createDuration","Duration","years","quarters","weeks","isoWeek","milliseconds","_milliseconds","_days","_bubble","isDuration","absRound","compareArrays","array1","array2","dontConvert","lengthDiff","diffs","utcOffset","offsetFromString","chunkOffset","matcher","parts","cloneWithOffset","setTime","local","getDateOffset","getTimezoneOffset","getSetOffset","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","addSubtract","getSetZone","setOffsetToUTC","setOffsetToLocal","subtract","setOffsetToParsedOffset","tZone","hasAlignedHourOffset","isDaylightSavingTime","isDaylightSavingTimeShifted","_isDSTShifted","toArray","isLocal","isUtcOffset","isUtc","aspNetRegex","isoRegex","ret","diffRes","parseIso","momentsDifference","inp","positiveMomentsDifference","isAfter","isBefore","createAdder","isAdding","invalid","isString","isMomentInput","isNumberOrStringArray","isMomentInputObject","objectTest","propertyTest","properties","arrayTest","dataTypeTest","isCalendarSpec","getCalendarFormat","myMoment","calendar$1","sod","calendarFormat","localInput","isBetween","inclusivity","localFrom","localTo","isSame","inputMs","isSameOrAfter","isSameOrBefore","asFloat","zoneDelta","monthDiff","wholeMonthDiff","anchor","toISOString","keepOffset","toDate","inspect","suffix","zone","inputString","defaultFormatUtc","defaultFormat","humanize","fromNow","toNow","newLocaleData","lang","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","dividend","divisor","localStartOfDate","utcStartOfDate","startOfDate","unix","isValid$2","parsingFlags","invalidAt","creationData","localeEras","_eras","localeErasParse","eraName","localeErasConvertYear","dir","getEraName","getEraNarrow","getEraAbbr","getEraYear","erasNameRegex","computeErasParse","_erasNameRegex","_erasRegex","erasAbbrRegex","_erasAbbrRegex","erasNarrowRegex","_erasNarrowRegex","matchEraAbbr","matchEraName","matchEraNarrow","matchEraYearOrdinal","_eraYearOrdinalRegex","abbrPieces","namePieces","narrowPieces","addWeekYearFormatToken","getSetWeekYear","getSetWeekYearHelper","getSetISOWeekYear","getISOWeeksInYear","getISOWeeksInISOWeekYear","isoWeekYear","getWeeksInYear","weekInfo","getWeeksInWeekYear","weeksTarget","setWeekAll","dayOfYearData","getSetQuarter","erasParse","getSetDayOfMonth","getSetDayOfYear","getSetMinute","getSetMillisecond","getSetSecond","parseMs","getZoneAbbr","getZoneName","createUnix","createInZone","parseZone","preParsePostFormat","eraNarrow","eraAbbr","eraYear","isoWeeks","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","isDST","zoneAbbr","zoneName","dates","isDSTShifted","proto$1","get$1","field","listMonthsImpl","listWeekdaysImpl","localeSorted","listMonths","listMonthsShort","listWeekdays","listWeekdaysShort","listWeekdaysMin","firstDayOfYear","firstDayOfWeek","langData","mathAbs","addSubtract$1","add$1","subtract$1","absCeil","monthsFromDays","monthsToDays","daysToMonths","as","valueOf$1","makeAs","alias","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","clone$1","get$2","makeGetter","thresholds","substituteTimeAgo","relativeTime$1","posNegDuration","getSetRelativeTimeRounding","roundingFunction","getSetRelativeTimeThreshold","threshold","limit","argWithSuffix","argThresholds","withSuffix","th","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","proto$2","toIsoString","relativeTimeRounding","relativeTimeThreshold","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","TIME","TIME_SECONDS","TIME_MS","isCallable","tryToString","UNSCOPABLES","unicode","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","createMethod","includes","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","specificCreate","boundFunction","every","find","filterReject","V8_VERSION","SPECIES","METHOD_NAME","foo","Boolean","aCallable","IS_RIGHT","memo","isConstructor","originalArray","arraySpeciesConstructor","TO_STRING_TAG_SUPPORT","redefineAll","getWeakData","anInstance","iterate","ArrayIterationModule","$has","internalStateGetterFor","uncaughtFrozenStore","frozen","UncaughtFrozenStore","findUncaughtFrozen","getConstructor","wrapper","CONSTRUCTOR_NAME","ADDER","AS_ENTRIES","define","InternalMetadataModule","inheritIfRequired","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","nativeMethod","enable","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","setStrong","FunctionName","createNonEnumerableProperty","PROPER_FUNCTION_NAME","PROPER","CONFIGURABLE_FUNCTION_NAME","CONFIGURABLE","EXISTS","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","DOMTokenListPrototype","process","getBuiltIn","userAgent","Deno","versions","v8","regexpExec","RegExpPrototype","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","re","nativeRegExpMethod","regexp","arg2","forceStringMethod","$exec","preventExtensions","FunctionPrototype","getDescriptor","namespace","getMethod","usingIterator","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","captures","namedCaptures","tailPos","symbols","capture","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","getOwnPropertyNamesExternalModule","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","fastKey","onFreeze","OBJECT_ALREADY_INITIALIZED","facade","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","USE_SYMBOL_AS_UID","$Symbol","getIterator","iteratorClose","Result","stopped","unboundFunction","iterFn","IS_ITERATOR","INTERRUPTED","condition","callFn","kind","innerResult","innerError","symbol","trim","whitespaces","$parseInt","radix","$assign","alphabet","chr","activeXDocument","SCRIPT","EmptyConstructor","scriptTag","content","NullProtoObjectViaActiveX","parentWindow","NullProtoObject","ActiveXObject","JS","domain","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","$getOwnPropertyNames","windowNames","getWindowNames","$propertyIsEnumerable","aPossiblePrototype","CORRECT_SETTER","pref","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeExec","nativeReplace","patchedExec","UPDATES_LAST_INDEX_WRONG","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","groups","sticky","charsAdded","strCopy","multiline","ignoreCase","dotAll","$RegExp","codeAt","whitespace","ltrim","rtrim","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$filter","arrayMethodHasSpeciesSupport","addToUnscopables","ARRAY_ITERATOR","Arguments","$reduce","CHROME_VERSION","IS_NODE","FUNCTION_NAME_EXISTS","FunctionPrototypeToString","nameRE","fixRegExpWellKnownSymbolLogic","advanceStringIndex","regExpExec","MATCH","nativeMatch","maybeCallNative","rx","fullUnicode","matchStr","getSubstitution","REPLACE","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","functionalReplace","results","accumulatedResult","nextSourcePosition","replacerArgs","InternalWeakMap","collectionWeak","enforceIternalState","IS_IE11","init","$WeakMap","WeakMapPrototype","nativeDelete","nativeHas","nativeGet","nativeSet","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","__webpack_module_cache__","cachedModule","loaded","__webpack_modules__","definition","toStringTag","nmd","children","auto","basePlacements","clippingParents","viewport","popper","reference","variationPlacements","acc","placement","beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","afterWrite","modifierPhases","getNodeName","nodeName","getWindow","isElement","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","phase","_ref","styles","effect","_ref2","initialStyles","strategy","arrow","requires","getBasePlacement","getUAString","uaData","navigator","userAgentData","brands","brand","isLayoutViewport","includeScale","isFixedStrategy","clientRect","scaleX","scaleY","visualViewport","addVisualOffsets","offsetTop","getLayoutRect","child","isSameNode","isTableElement","getDocumentElement","getParentNode","assignedSlot","getTrueOffsetParent","getOffsetParent","isFirefox","currentNode","transform","perspective","contain","willChange","getContainingBlock","getMainAxisFromPlacement","within","mergePaddingObject","paddingObject","expandToHashMap","hashMap","_state$modifiersData$","arrowElement","popperOffsets","modifiersData","basePlacement","toPaddingObject","arrowRect","minProp","maxProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","axisProp","centerOffset","_options$element","requiresIfExists","getVariation","unsetSides","mapToStyles","_Object$assign2","popperRect","variation","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","_offsets$y","_ref3","hasX","hasY","sideX","sideY","win","heightProp","widthProp","_Object$assign","commonStyles","_ref4","dpr","roundOffsetsByDPR","_ref5","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","_options$scroll","scroll","_options$resize","scrollParents","scrollParent","getOppositePlacement","getOppositeVariationPlacement","getWindowScroll","getWindowScrollBarX","isScrollParent","_getComputedStyle","overflowX","overflowY","getScrollParent","listScrollParents","_element$ownerDocumen","isBody","updatedList","rectToClientRect","getClientRectFromMixedType","clippingParent","layoutViewport","getViewportRect","clientTop","clientLeft","getInnerBoundingClientRect","winScroll","scrollWidth","scrollHeight","getDocumentRect","getClippingRect","rootBoundary","mainClippingParents","clipperElement","getClippingParents","firstClippingParent","clippingRect","accRect","commonX","commonY","mainAxis","detectOverflow","_options$placement","_options$strategy","_options$boundary","_options$rootBoundary","_options$elementConte","elementContext","_options$altBoundary","altBoundary","_options$padding","altContext","clippingClientRect","contextElement","referenceClientRect","popperClientRect","elementClientRect","overflowOffsets","offsetData","multiply","_skip","_options$mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","oppositePlacement","getExpandedFallbackPlacements","placements","_options$allowedAutoP","allowedPlacements","overflows","computeAutoPlacement","referenceRect","checksMap","makeFallbackChecks","firstFittingPlacement","_basePlacement","isStartVariation","mainVariationSide","altVariationSide","checks","fittingPlacement","getSideOffsets","preventedOffsets","isAnySideFullyClipped","side","preventOverflow","referenceOverflow","popperAltOverflow","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","_options$offset","invertDistance","skidding","distanceAndSkiddingToXY","_data$state$placement","_options$tether","tether","_options$tetherOffset","tetherOffset","isBasePlacement","tetherOffsetValue","normalizedTetherOffsetValue","offsetModifierState","_offsetModifierState$","mainSide","altSide","additive","minLen","maxLen","arrowPaddingObject","arrowPaddingMin","arrowPaddingMax","arrowLen","minOffset","maxOffset","clientOffset","offsetModifierValue","tetherMax","preventedOffset","_offsetModifierState$2","_mainSide","_altSide","_len","_min","_max","isOriginSide","_offsetModifierValue","_tetherMin","_tetherMax","_preventedOffset","withinMaxClamp","getCompositeRect","elementOrVirtualElement","isOffsetParentAnElement","offsetParentIsScaled","isElementScaled","modifiers","Set","modifier","dep","depModifier","DEFAULT_OPTIONS","areValidElements","_key","popperGenerator","generatorOptions","_generatorOptions","_generatorOptions$def","defaultModifiers","_generatorOptions$def2","defaultOptions","pending","orderedModifiers","effectCleanupFns","isDestroyed","setOptions","setOptionsAction","cleanupModifierEffects","merged","orderModifiers","existing","_ref$options","cleanupFn","noopFn","forceUpdate","_state$elements","_state$orderedModifie","_state$orderedModifie2","Promise","then","onFirstUpdate","createPopper","eventListeners","elementMap","Data","instanceMap","delete","TRANSITION_END","parseSelector","CSS","escape","triggerTransitionEnd","dispatchEvent","Event","jquery","isVisible","getClientRects","elementIsVisible","closedDetails","closest","summary","isDisabled","ELEMENT_NODE","disabled","hasAttribute","findShadowRoot","attachShadow","getjQuery","jQuery","DOMContentLoadedCallbacks","isRTL","defineJQueryPlugin","JQUERY_NO_CONFLICT","jQueryInterface","noConflict","execute","possibleCallback","executeAfterTransition","transitionElement","waitForTransition","emulatedDuration","transitionDuration","transitionDelay","floatTransitionDuration","floatTransitionDelay","getTransitionDurationFromElement","getNextActiveElement","activeElement","shouldGetNext","isCycleAllowed","listLength","namespaceRegex","stripNameRegex","stripUidRegex","eventRegistry","uidEvent","customEvents","mouseenter","mouseleave","nativeEvents","makeEventUid","getElementEvents","findHandler","callable","delegationSelector","normalizeParameters","originalTypeEvent","delegationFunction","isDelegated","typeEvent","getTypeEvent","addHandler","oneOff","wrapFunction","relatedTarget","delegateTarget","handlers","previousFunction","domElements","domElement","hydrateObj","EventHandler","bootstrapDelegationHandler","bootstrapHandler","removeHandler","removeNamespacedHandlers","storeElementEvent","handlerKey","inNamespace","isNamespace","startsWith","elementEvent","keyHandlers","trigger","jQueryEvent","bubbles","nativeDispatch","defaultPrevented","isPropagationStopped","isImmediatePropagationStopped","isDefaultPrevented","cancelable","_unused","normalizeData","JSON","decodeURIComponent","normalizeDataKey","Manipulator","setDataAttribute","removeDataAttribute","getDataAttributes","bsKeys","pureKey","getDataAttribute","Config","Default","DefaultType","_getConfig","_mergeConfigObj","_configAfterMerge","_typeCheckConfig","jsonConfig","configTypes","expectedTypes","valueType","BaseComponent","super","DATA_KEY","EVENT_KEY","propertyName","_queueCallback","isAnimated","static","getInstance","VERSION","getSelector","hrefAttribute","SelectorEngine","findOne","parents","ancestor","previousElementSibling","nextElementSibling","focusableChildren","focusables","getSelectorFromElement","getElementFromSelector","getMultipleElementsFromSelector","enableDismissTrigger","component","clickEvent","tagName","getOrCreateInstance","EVENT_KEY$b","EVENT_CLOSE","EVENT_CLOSED","Alert","_destroyElement","SELECTOR_DATA_TOGGLE$5","Button","toggle","button","EVENT_KEY$9","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","Default$c","endCallback","leftCallback","rightCallback","DefaultType$c","Swipe","isSupported","_deltaX","_supportPointerEvents","PointerEvent","_initEvents","_eventIsPointerPenTouch","_end","_handleSwipe","_move","absDeltaX","pointerType","maxTouchPoints","EVENT_KEY$8","DATA_API_KEY$5","ORDER_NEXT","ORDER_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN$1","EVENT_MOUSEENTER$1","EVENT_MOUSELEAVE$1","EVENT_DRAG_START","EVENT_LOAD_DATA_API$3","EVENT_CLICK_DATA_API$5","CLASS_NAME_CAROUSEL","CLASS_NAME_ACTIVE$2","SELECTOR_ACTIVE","SELECTOR_ITEM","SELECTOR_ACTIVE_ITEM","KEY_TO_DIRECTION","Default$b","keyboard","pause","ride","touch","wrap","DefaultType$b","Carousel","_interval","_activeElement","_isSliding","touchTimeout","_swipeHelper","_indicatorsElement","_addEventListeners","cycle","_slide","nextWhenVisible","_clearInterval","_updateInterval","_maybeEnableCycle","_getItems","activeIndex","_getItemIndex","_getActive","defaultInterval","_keydown","_addTouchEventListeners","img","swipeConfig","_directionToOrder","_setActiveIndicatorElement","activeIndicator","newActiveIndicator","elementInterval","isNext","nextElement","nextElementIndex","triggerEvent","eventName","_orderToDirection","isCycling","directionalClassName","orderClassName","_isAnimated","carousel","slideIndex","carousels","EVENT_KEY$7","EVENT_SHOW$6","EVENT_SHOWN$6","EVENT_HIDE$6","EVENT_HIDDEN$6","EVENT_CLICK_DATA_API$4","CLASS_NAME_SHOW$7","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_DEEPER_CHILDREN","SELECTOR_DATA_TOGGLE$4","Default$a","DefaultType$a","Collapse","_isTransitioning","_triggerArray","toggleList","elem","filterElement","foundElement","_initializeChildren","_addAriaAndCollapsedClass","_isShown","activeChildren","_getFirstLevelChildren","activeInstance","_getDimension","scrollSize","triggerArray","isOpen","NAME$a","EVENT_KEY$6","DATA_API_KEY$3","ARROW_UP_KEY$1","ARROW_DOWN_KEY$1","EVENT_HIDE$5","EVENT_HIDDEN$5","EVENT_SHOW$5","EVENT_SHOWN$5","EVENT_CLICK_DATA_API$3","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","CLASS_NAME_SHOW$6","SELECTOR_DATA_TOGGLE$3","SELECTOR_DATA_TOGGLE_SHOWN","SELECTOR_MENU","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","Default$9","autoClose","popperConfig","DefaultType$9","Dropdown","_popper","_parent","_menu","_inNavbar","_detectNavbar","_createPopper","focus","_completeHide","referenceElement","_getPopperConfig","_getPlacement","parentDropdown","isEnd","_getOffset","popperData","defaultBsPopperConfig","_selectMenuItem","openToggles","composedPath","isMenuTarget","isInput","isEscapeEvent","isUpOrDownEvent","getToggleButton","stopPropagation","dataApiKeydownHandler","clearMenus","NAME$9","CLASS_NAME_SHOW$5","EVENT_MOUSEDOWN","Default$8","clickCallback","rootElement","DefaultType$8","Backdrop","_isAppended","_append","_getElement","_emulateAnimation","backdrop","append","EVENT_KEY$5","EVENT_FOCUSIN$2","EVENT_KEYDOWN_TAB","TAB_NAV_BACKWARD","Default$7","autofocus","trapElement","DefaultType$7","FocusTrap","_isActive","_lastTabNavDirection","activate","_handleFocusin","_handleKeydown","deactivate","shiftKey","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","PROPERTY_PADDING","PROPERTY_MARGIN","ScrollBarHelper","getWidth","documentWidth","innerWidth","_disableOverFlow","_setElementAttributes","calculatedValue","_resetElementAttributes","isOverflowing","_saveInitialAttribute","styleProperty","scrollbarWidth","_applyManipulationCallback","actualValue","removeProperty","callBack","sel","EVENT_KEY$4","EVENT_HIDE$4","EVENT_HIDE_PREVENTED$1","EVENT_HIDDEN$4","EVENT_SHOW$4","EVENT_SHOWN$4","EVENT_RESIZE$1","EVENT_CLICK_DISMISS","EVENT_MOUSEDOWN_DISMISS","EVENT_KEYDOWN_DISMISS$1","EVENT_CLICK_DATA_API$2","CLASS_NAME_OPEN","CLASS_NAME_SHOW$4","CLASS_NAME_STATIC","Default$6","DefaultType$6","Modal","_dialog","_backdrop","_initializeBackDrop","_focustrap","_initializeFocusTrap","_scrollBar","_adjustDialog","_showElement","_hideModal","handleUpdate","modalBody","_triggerBackdropTransition","event2","_resetAdjustments","isModalOverflowing","initialOverflowY","isBodyOverflowing","showEvent","alreadyOpen","EVENT_KEY$3","DATA_API_KEY$1","EVENT_LOAD_DATA_API$2","CLASS_NAME_SHOW$3","CLASS_NAME_SHOWING$1","CLASS_NAME_HIDING","OPEN_SELECTOR","EVENT_SHOW$3","EVENT_SHOWN$3","EVENT_HIDE$3","EVENT_HIDE_PREVENTED","EVENT_HIDDEN$3","EVENT_RESIZE","EVENT_CLICK_DATA_API$1","EVENT_KEYDOWN_DISMISS","Default$5","DefaultType$5","Offcanvas","blur","DefaultAllowlist","br","col","div","em","h1","h2","h3","h4","h5","h6","li","ol","pre","small","sub","sup","strong","ul","uriAttributes","SAFE_URL_PATTERN","allowedAttribute","allowedAttributeList","attributeName","nodeValue","attributeRegex","Default$4","allowList","extraClass","sanitize","sanitizeFn","template","DefaultType$4","DefaultContentType","TemplateFactory","getContent","_resolvePossibleFunction","hasContent","changeContent","_checkContent","toHtml","templateWrapper","innerHTML","_maybeSanitize","_setContent","templateElement","_putElementInTemplate","unsafeHtml","sanitizeFunction","createdDocument","elementName","attributeList","allowedAttributes","sanitizeHtml","DISALLOWED_ATTRIBUTES","CLASS_NAME_FADE$2","CLASS_NAME_SHOW$2","SELECTOR_MODAL","EVENT_MODAL_HIDE","TRIGGER_HOVER","TRIGGER_FOCUS","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","Default$3","customClass","delay","DefaultType$3","_isEnabled","_timeout","_isHovered","_activeTrigger","_templateFactory","_newContent","tip","_setListeners","_fixTitle","disable","toggleEnabled","click","_leave","_enter","_hideModalHandler","_disposePopper","_isWithContent","isInTheDom","_getTipElement","_isWithActiveTrigger","_getTitle","_createTipElement","_getContentForTemplate","_getTemplateFactory","tipId","getUID","setContent","_initializeOnDelegatedTarget","_getDelegateConfig","attachment","triggers","eventIn","eventOut","_setTimeout","timeout","dataAttributes","dataAttribute","Default$2","DefaultType$2","Popover","_getContent","EVENT_KEY$2","EVENT_ACTIVATE","EVENT_CLICK","EVENT_LOAD_DATA_API$1","CLASS_NAME_ACTIVE$1","SELECTOR_TARGET_LINKS","SELECTOR_NAV_LINKS","SELECTOR_LINK_ITEMS","Default$1","rootMargin","smoothScroll","DefaultType$1","ScrollSpy","_targetLinks","_observableSections","_activeTarget","_observer","_previousScrollData","visibleEntryTop","parentScrollTop","refresh","_initializeTargetsAndObservables","_maybeEnableSmoothScroll","disconnect","_getNewObserver","section","observe","observableSection","scrollTo","behavior","IntersectionObserver","_observerCallback","targetElement","_process","userScrollsDown","isIntersecting","_clearActiveClass","entryIsLowerThanPrevious","targetLinks","decodeURI","_activateParents","listGroup","activeNodes","spy","EVENT_KEY$1","EVENT_HIDE$1","EVENT_HIDDEN$1","EVENT_SHOW$1","EVENT_SHOWN$1","EVENT_CLICK_DATA_API","EVENT_KEYDOWN","EVENT_LOAD_DATA_API","ARROW_LEFT_KEY","ARROW_RIGHT_KEY","ARROW_UP_KEY","ARROW_DOWN_KEY","CLASS_NAME_ACTIVE","CLASS_NAME_FADE$1","CLASS_NAME_SHOW$1","NOT_SELECTOR_DROPDOWN_TOGGLE","SELECTOR_DATA_TOGGLE","SELECTOR_INNER_ELEM","SELECTOR_DATA_TOGGLE_ACTIVE","Tab","_setInitialAttributes","_getChildren","innerElem","_elemIsActive","_getActiveElem","hideEvent","_deactivate","_activate","relatedElem","_toggleDropDown","nextActiveElement","preventScroll","_setAttributeIfNotExists","_setInitialAttributesOnChild","_getInnerElement","isActive","outerElem","_getOuterElement","_setInitialAttributesOnTargetPanel","EVENT_MOUSEOVER","EVENT_MOUSEOUT","EVENT_FOCUSIN","EVENT_FOCUSOUT","EVENT_HIDE","EVENT_HIDDEN","EVENT_SHOW","EVENT_SHOWN","CLASS_NAME_HIDE","CLASS_NAME_SHOW","CLASS_NAME_SHOWING","autohide","Toast","_hasMouseInteraction","_hasKeyboardInteraction","_clearTimeout","_maybeScheduleHide","isShown","_onInteraction","isInteracting","bootstrap","ResizeObserverBoxOptions","resizeObservers","ResizeObserverSize","inlineSize","DOMRectReadOnly","fromRect","isSVG","SVGElement","isHidden","_b","scrollRegexp","verticalRegexp","parseDimension","switchSizes","zeroBoxes","devicePixelContentBoxSize","borderBoxSize","contentBoxSize","contentRect","calculateBoxSizes","forceRecalculation","cs","svg","ownerSVGElement","removePadding","boxSizing","writingMode","canScrollVertically","canScrollHorizontally","borderTop","borderTopWidth","borderRight","borderRightWidth","borderBottom","borderBottomWidth","horizontalPadding","verticalPadding","horizontalBorderArea","borderLeftWidth","verticalBorderArea","horizontalScrollbarThickness","verticalScrollbarThickness","widthReduction","heightReduction","contentWidth","contentHeight","borderBoxWidth","borderBoxHeight","calculateBoxSize","observedBox","DEVICE_PIXEL_CONTENT_BOX","BORDER_BOX","ResizeObserverEntry","calculateDepthForNode","depth","broadcastActiveObservations","shallowestDepth","ro","activeTargets","ot","targetDepth","lastReportedSize","observer","callbacks_1","gatherActiveObservationsAtDepth","skippedTargets","observationTargets","ErrorEvent","message","initEvent","queueMicroTask","toggle_1","el_1","MutationObserver","cb","characterData","watching","observerConfig","childList","subtree","scheduled","scheduler","Scheduler","_this","schedule","run","elementsHaveResized","updateCount","ResizeObservation","CONTENT_BOX","isReplacedElement","ResizeObserverDetail","resizeObserver","observerMap","getObservationIndex","ResizeObserverController","connect","firstObservation","unobserve","lastObservation","ResizeObserver","getOptions","option","getElementWindow","getElementDocument","cachedScrollbarWidth","cachedDevicePixelRatio","SimpleBar","elWindow","scrollXTicking","scrollYTicking","showScrollbar","positionScrollbar","onMouseEnter","onMouseMove","forceVisible","onMouseMoveForAxis","onMouseLeave","onMouseLeaveForAxis","onWindowResize","getScrollbarWidth","hideNativeScrollbar","hideScrollbars","track","isWithinBounds","scrollbar","onPointerEvent","isWithinTrackXBounds","isWithinTrackYBounds","onDragStart","onTrackClick","drag","draggedAxis","trackSize","sizeAttr","contentSize","contentWrapperEl","scrollSizeAttr","hostSize","elStyles","scrollPos","offsetAttr","dragOffset","isRtl","getRtlHelpers","isRtlScrollbarInverted","isRtlScrollingInverted","scrollOffsetAttr","onEndDrag","elDocument","dragging","removePreventClickId","preventClick","minScrollbarWidth","offsetSizeAttr","overflowAttr","recalculate","dummyDiv","scrollbarDummyEl","firstElementChild","dummyContainerChild","dummyContainerOffset","getOffset","dummyContainerChildOffset","dummyContainerScrollOffsetAfterScroll","_proto","initDOM","setAccessibilityAttributes","initListeners","_this2","wrapperEl","scrollableNode","contentWrapper","contentEl","contentNode","offsetEl","maskEl","mask","placeholderEl","findChild","placeholder","heightAutoObserverWrapperEl","heightAutoObserverEl","cloneNode","autoHide","ariaLabel","_this3","resizeObserverStarted","resizeAnimationFrameId","mutationObserver","isHeightAuto","isWidthAuto","contentElOffsetWidth","contentWrapperElOffsetWidth","elOverflowX","elOverflowY","contentElScrollHeight","contentElScrollWidth","contentWrapperElOffsetHeight","offsetForXScrollbar","offsetForYScrollbar","getScrollbarSize","toggleTrackVisibility","scrollbarSize","scrollbarRatio","scrollbarMinSize","scrollbarMaxSize","scrollOffset","scrollPourcent","handleOffset","visibility","eventOffset","_this4","clickOnTrack","scrollbarOffset","scrolled","_this4$contentWrapper","_this4$contentWrapper2","clickOnTrackSpeed","getContentElement","getScrollElement","removeListeners","_this5","unMount","query","initDOMLoadedElements","removeObserver","globalObserver","initHtmlApi","handleMutations","doScroll","mutations","addedNodes","addedNode","removedNodes","removedNode","initializeSimplebar","getElementsByClassName","simplebarInstance","initializeSidebarCollapse","sidebarElement","sidebarToggleElement","feather","HOOKS","_disable","allowInput","allowInvalidPreload","altFormat","altInput","altInputClass","ariaDateFormat","autoFillDefaultTime","clickOpens","closeOnSelect","conjunction","defaultHour","defaultMinute","defaultSeconds","disableMobile","enableSeconds","enableTime","errorHandler","err","getWeek","givenDate","setHours","setDate","week1","hourIncrement","ignoredFocusElements","inline","minuteIncrement","monthSelectorType","nextArrow","noCalendar","onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition","positionElement","prevArrow","shorthandCurrentMonth","showMonths","time_24hr","weekNumbers","english","longhand","nth","rangeSeparator","weekAbbreviation","scrollTitle","toggleTitle","amPM","yearAriaLabel","monthAriaLabel","hourAriaLabel","minuteAriaLabel","pad","bool","arrayify","toggleClass","clearNode","findParent","createNumberInput","inputClassName","numInput","arrowUp","arrowDown","getEventTarget","doNothing","monthToStr","monthNumber","revFormat","dateObj","getHours","J","K","shortMonth","setSeconds","U","unixSeconds","weekNum","weekNumber","Z","ISODate","setMinutes","unixMillSeconds","tokenRegex","getSeconds","getMinutes","createDateFormatter","_c","l10n","isMobile","frmt","overrideLocale","formatDate","createDateParser","givenFormat","timeless","customLocale","parsedDate","dateOrig","datestr","parseDate","ops","matchIndex","regexStr","isBackSlash","escaped","compareDates","date1","date2","ts","ts1","ts2","calculateSecondsSinceMidnight","parseSeconds","secondsSinceMidnight","DAY","getDefaultHours","minDate","minHour","minMinutes","minSeconds","maxDate","maxHr","maxMinutes","__assign","__spreadArrays","il","jl","DEBOUNCED_CHANGE_MS","FlatpickrInstance","instanceConfig","flatpickr","getClosestActiveElement","calendarContainer","bindToInstance","setCalendarWidth","daysContainer","daysWidth","weekWrapper","updateTime","selectedDates","defaultDate","getMilliseconds","latestSelectedDateObj","isKeyDown","eventTarget","curValue","which","newValue","isHourElem","hourElement","isMinuteElem","minuteElement","incrementNumInput","timeWrapper","prevValue","_input","setHoursFromInputs","updateValue","_debouncedChange","secondElement","limitMinHours","minTime","minDateHasTime","limitMaxHours","maxTime","maxDateHasTime","minBound","maxBound","currentTime","setHoursFromDate","onYearInput","changeYear","ev","_handlers","triggerChange","jumpToDate","jumpDate","jumpTo","oldYear","currentYear","oldMonth","currentMonth","buildMonthSwitch","redraw","timeIncrement","inputElem","createDay","_dayNumber","dateIsEnabled","isEnabled","dayElement","$i","todayDateElem","tabIndex","isDateSelected","selectedDateElem","isDateInRange","insertAdjacentHTML","focusOnDayElem","targetNode","onMouseOver","getFirstAvailableDay","startMonth","endMonth","endIndex","focusOnDay","dayFocused","isInView","startElem","givenMonth","loopDelta","numMonthDays","changeMonth","getNextAvailableDay","buildMonthDays","firstOfMonth","prevMonthDays","utils","createDocumentFragment","isMultiMonth","prevMonthDayClass","nextMonthDayClass","dayNumber","dayIndex","dayNum","dayContainer","buildDays","frag","shouldBuildMonth","monthsDropdownContainer","buildMonth","monthElement","monthNavFragment","selectedMonth","yearInput","tabindex","yearElement","getElementsByTagName","buildMonths","monthNav","prevMonthNav","yearElements","monthElements","nextMonthNav","buildWeekdays","weekdayContainer","updateWeekdays","isOffset","_hidePrevMonthArrow","_hideNextMonthArrow","updateNavigationCurrentMonth","isCalendarElem","documentClick","eventTarget_1","isCalendarElement","lostFocus","isIgnored","timeContainer","newYear","newYearNum","isNewYear","dateToCheck","parsed","onBlur","valueChanged","trimEnd","getDateStr","allowKeydown","allowInlineKeydown","keyCode","isTimeObj","focusAndClose","selectDate","delta_1","ctrlKey","currentYearElement","elems","pluginElements","cellClass","hoverDate","initialDate","rangeStartDate","rangeEndDate","containsDisabled","minRange","maxRange","rContainer","dayElem","outOfRange","positionCalendar","minMaxDateSetter","inverseDateObj","getInputElem","setupLocale","l10ns","stringify","customPositionElement","_positionElement","calendarHeight","calendarWidth","configPos","configPosVertical","configPosHorizontal","inputBounds","distanceFromBottom","innerHeight","showOnTop","isCenter","isRight","rightMost","centerMost","doc","editableSheet","styleSheets","sheet","cssRules","getDocumentStyleSheet","bodyWidth","centerLeft","centerIndex","centerStyle","insertRule","centerBefore","msMaxTouchPoints","selectedDate","shouldChangeMonth","selectedIndex","loadedPlugins","_bind","_setHoursFromDate","_positionCalendar","triggerChangeEvent","toInitial","mobileInput","_initialDate","lastChild","wasOpen","CALLBACKS","setSelectedDate","updatePositionElement","inputDate","parseDateRules","rule","specificFormat","dObj","mobileFormatStr","onMonthNavClick","isPrevMonth","isNextMonth","boolOpts","userConfig","_enable","timeMode","defaultDateFormat","defaultAltFormat","_minDate","_maxDate","minMaxTimeSetter","_minTime","_maxTime","pluginConf","parseConfig","required","nextSibling","setupInputs","preloadedDate","setupDates","yr","fragment","__hidePrevMonthArrow","__hideNextMonthArrow","innerContainer","buildWeeks","hourInput","minuteInput","military2ampm","secondInput","buildTime","customAppend","appendTo","build","inputType","setupMobile","debouncedResize","ontouchstart","selText","isSafari","_flatpickr","nodeList","nodes","en","localize","setDefaults","fp_incr"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5mkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;","file":"vendor.js"}